src/Core/Animation.php 1 location
|
@@ 195-201 (lines=7) @@
|
192 |
|
} |
193 |
|
} |
194 |
|
|
195 |
|
private function setAttribute(&$a_entity, $attribute, $val) |
196 |
|
{ |
197 |
|
if ($attribute === 'id' && ($val === 'untitled' || is_numeric($val))) |
198 |
|
return; |
199 |
|
|
200 |
|
$a_entity->setAttribute($attribute, $val); |
201 |
|
} |
202 |
|
|
203 |
|
} |
204 |
|
|
src/Core/Entity.php 1 location
|
@@ 284-290 (lines=7) @@
|
281 |
|
} |
282 |
|
} |
283 |
|
|
284 |
|
private function setAttribute(&$a_entity, $attr, $val) |
285 |
|
{ |
286 |
|
if ($attr === 'id' && ($val === 'untitled' || is_numeric($val))) |
287 |
|
return; |
288 |
|
|
289 |
|
$a_entity->setAttribute($attr, $val); |
290 |
|
} |
291 |
|
|
292 |
|
/** |
293 |
|
* Append childern to entities DOM element |
src/Core/Helpers/AssetsAbstract.php 1 location
|
@@ 114-120 (lines=7) @@
|
111 |
|
} |
112 |
|
} |
113 |
|
|
114 |
|
private function setAttribute(&$a_entity, $attr, $val) |
115 |
|
{ |
116 |
|
if ($attr === 'id' && ($val === 'untitled' || is_numeric($val))) |
117 |
|
return; |
118 |
|
|
119 |
|
$a_entity->setAttribute($attr, $val); |
120 |
|
} |
121 |
|
} |
122 |
|
|