コード例 #1
0
ファイル: Field.php プロジェクト: iHunt101/phlite
 static function allTypes()
 {
     if (static::$more_types) {
         foreach (static::$more_types as $group => $c) {
             static::$types[$group] = call_user_func($c);
         }
         static::$more_types = array();
     }
     return static::$types;
 }
コード例 #2
0
ファイル: class.forms.php プロジェクト: gizur/osticket
 static function allTypes()
 {
     if (static::$more_types) {
         foreach (static::$more_types as $group => $entries) {
             foreach ($entries as $c) {
                 static::$types[$group] = array_merge(static::$types[$group] ?: array(), call_user_func($c));
             }
         }
         static::$more_types = array();
     }
     return static::$types;
 }