Jarves\Configuration\Object::getFields PHP Méthode

getFields() public méthode

public getFields ( ) : Field[]
Résultat Field[] underscored fieldNames as index
    public function getFields()
    {
        return $this->fields;
    }

Usage Example

Exemple #1
0
 /**
  * Important call directly after the creation of this class.
  *
  * @param string $objectKey
  * @param Object $definition
  */
 public function configure($objectKey, $definition)
 {
     $this->objectKey = \Jarves\Objects::normalizeObjectKey($objectKey);
     $this->definition = $definition;
     foreach ($this->definition->getFields() as $field) {
         if ($field->isPrimaryKey()) {
             $this->primaryKeys[] = $field->getId();
         }
     }
 }
All Usage Examples Of Jarves\Configuration\Object::getFields
Object