コード例 #1
0
    }
}
$exclude = array("confidential", "mask", "format", "reported", "perm", "seekable", "pattern", "autocomplete", "cascade", "delimiter", "canonical", "protected", "class", "alphaAndNum", "byteUnit", "length", "loggable");
$boolean = array("notNull", "vertical", "progressive", "cascade");
$options = $spec->_options;
foreach ($exclude as $_exclude) {
    unset($options[$_exclude]);
}
function order_items($a, $b)
{
    $order = $GLOBALS["items"];
    $key_a = array_search($a, $order);
    $key_b = array_search($b, $order);
    return ($key_a === false ? 1000 : $key_a) - ($key_b === false ? 1000 : $key_b);
}
CExConcept::orderSpecs($options);
$items_sub = array();
$items_all = array();
if ($spec instanceof CEnumSpec) {
    if ($list_owner->_id) {
        $list_owner->updateEnumSpec($spec);
        $prop .= " " . implode("|", $spec->_list);
    }
    $items_sub = $spec->_list;
    $items_all = $spec->_list;
}
// to get the right locales
/*
if ($spec instanceof CEnumSpec) {
  $ex_field = new CExClassField;
  $ex_field->load($ex_field_id);