public getAttributes ( boolean $includeInheritanceAttributes = false, boolean $requiredFirst = false ) : |
||
$includeInheritanceAttributes | boolean | include the attributes of parent class, default parent attributes are not included. If true, then the array is an associative array containing and index "attribute" for the StructAttribute object and an index "model" for the Struct object. |
$requiredFirst | boolean | places the required attributes first, then the not required in order to have the _contrust method with the required attribute at first |
return |