Image
class Image extends Base
Special image group, that supports additional parameters inside of the params array.
Constants
RELATIONS_KEY_NAME |
|
Properties
protected string | $_name | from Base | |
protected | $_classes | from Base | |
protected array | $_children | from Base | |
protected array | $_relation_types |
Methods
__construct(array $params)
Creates the instance, parses the params and will look for relation types.
array
getRelations()
Returns the relations.
Details
in Base at line 30
final string
getName()
Returns the name.
in Base at line 41
final boolean
setName(string $name)
Sets the name.
in Base at line 57
array
getClasses()
Returns all declared classes.
We need this way, because the autoloader will try to include the class file if we use "class_exists" or similar functions.
in Base at line 31
addChildren(mixed $children)
Adds a children to the group.
in Base at line 41
array
getChildrens()
Returns all children as array.
in Base at line 52
boolean
hasChildren()
Returns if the Group has children.
at line 37
__construct(array $params)
Creates the instance, parses the params and will look for relation types.
If there is the entry with the key "relationTypes" inside of this array, all relations will be extracted and saved in the relationtypes array.
at line 51
array
getRelations()
Returns the relations.