本文整理汇总了PHP中CStoredObject::getProps方法的典型用法代码示例。如果您正苦于以下问题:PHP CStoredObject::getProps方法的具体用法?PHP CStoredObject::getProps怎么用?PHP CStoredObject::getProps使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CStoredObject
的用法示例。
在下文中一共展示了CStoredObject::getProps方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getProps
/**
* @see parent::getProps()
*/
function getProps()
{
$props = parent::getProps();
$props["module"] = "str notNull";
$props["action"] = "str notNull";
return $props;
}
示例2: getProps
/**
* @see parent::getSpec()
*/
function getProps()
{
$props = parent::getProps();
$props["salle_id"] = "ref class|CSalle notNull";
$props["date"] = "date notNull";
$props["status"] = "enum list|mined|remined|postmined";
return $props;
}
示例3: getProps
/**
* Get the properties of our class as strings
*
* @return array
*/
function getProps()
{
$props = parent::getProps();
$props["object_class"] = "str notNull maxLength|50";
$props["object_id"] = "ref class|CMbObject meta|object_class notNull unlink";
$props["type"] = "enum list|create|store|delete|merge default|create";
$props["date"] = "dateTime notNull";
return $props;
}
示例4: getProps
/**
* @see parent::getSpec()
*/
function getProps()
{
$props = parent::getProps();
$props["operation_id"] = "ref class|COperation notNull";
$props["date"] = "date notNull";
$props["remined"] = "bool notNull default|0";
$props["postmined"] = "bool notNull default|0";
return $props;
}
示例5: getProps
/**
* @see parent::getProps()
*/
function getProps()
{
$specs = parent::getProps();
foreach (CMbFieldSpecFact::$classes as $spec => $class) {
$specs[$spec] = $spec;
}
$specs['enum'] .= ' list|1|2|3|4';
$specs['set'] .= ' list|1|2|3|4';
$specs['ref'] .= ' class|CMbObject';
return $specs;
}
示例6: getProps
/**
* @see parent::getProps()
*/
function getProps()
{
$props = parent::getProps();
$props["user_id"] = "ref class|CUser unlink";
$props["server_ip"] = "str";
$props["datetime"] = "dateTime notNull";
$props["request_uid"] = "str";
$props["error_type"] = "enum list|" . implode("|", CError::$_types);
$props["text"] = "text";
$props["file_name"] = "str";
$props["line_number"] = "num";
$props["stacktrace_id"] = "ref class|CErrorLogData";
$props["param_GET_id"] = "ref class|CErrorLogData";
$props["param_POST_id"] = "ref class|CErrorLogData";
$props["session_data_id"] = "ref class|CErrorLogData";
$props["signature_hash"] = "str";
$props["debug"] = "bool default|0";
$props["_datetime_min"] = "dateTime";
$props["_datetime_max"] = "dateTime";
$props["_similar_count"] = "num";
return $props;
}