コード例 #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
ファイル: UniqueConstraint.php プロジェクト: pscheit/psc-cms
 /**
  * @return string[]
  */
 public function getKeys()
 {
     return array_keys($this->meta->getTypes());
 }