예제 #1
0
파일: Set.php 프로젝트: pscheit/psc-cms
 public function getWalkableFields()
 {
     $fields = array();
     // hier so umständlich, weil meta->getTypes() uns die fields "geflattet" zurückgibt (und das wollen wir)
     foreach ($this->meta->getTypes() as $field => $type) {
         $fields[$field] = $this->get($field);
     }
     return $fields;
 }
예제 #2
0
 /**
  * @return string[]
  */
 public function getKeys()
 {
     return array_keys($this->meta->getTypes());
 }