本文整理汇总了PHP中Column::label方法的典型用法代码示例。如果您正苦于以下问题:PHP Column::label方法的具体用法?PHP Column::label怎么用?PHP Column::label使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Column
的用法示例。
在下文中一共展示了Column::label方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: columnName
/**
*
* @return database.model.Column
*/
function columnName()
{
if (!Rhaco::isVariable("_R_D_C_", "Category::Name")) {
$column = new Column("column=name,variable=name,type=string,size=30,require=true,", __CLASS__);
$column->label(Message::_("name"));
Rhaco::addVariable("_R_D_C_", $column, "Category::Name");
}
return Rhaco::getVariable("_R_D_C_", null, "Category::Name");
}
示例2: columnCtime
/**
*
* @return database.model.Column
*/
function columnCtime()
{
if (!Rhaco::isVariable("_R_D_C_", "Comment::Ctime")) {
$column = new Column("column=ctime,variable=ctime,type=timestamp,", __CLASS__);
$column->label(Message::_("ctime"));
Rhaco::addVariable("_R_D_C_", $column, "Comment::Ctime");
}
return Rhaco::getVariable("_R_D_C_", null, "Comment::Ctime");
}
示例3: columnUpdated
/**
*
* @return database.model.Column
*/
function columnUpdated()
{
if (!Rhaco::isVariable("_R_D_C_", "Event::Updated")) {
$column = new Column("column=updated,variable=updated,type=timestamp,", __CLASS__);
$column->label(Message::_("updated"));
Rhaco::addVariable("_R_D_C_", $column, "Event::Updated");
}
return Rhaco::getVariable("_R_D_C_", null, "Event::Updated");
}
示例4: columnCategoryId
/**
*
* @return database.model.Column
*/
function columnCategoryId()
{
if (!Rhaco::isVariable("_R_D_C_", "StageCategory::CategoryId")) {
$column = new Column("column=category_id,variable=categoryId,type=integer,size=22,require=true,reference=Category::Id,", __CLASS__);
$column->label(Message::_("category_id"));
Rhaco::addVariable("_R_D_C_", $column, "StageCategory::CategoryId");
}
return Rhaco::getVariable("_R_D_C_", null, "StageCategory::CategoryId");
}
示例5: columnDate
/**
*
* @return database.model.Column
*/
function columnDate()
{
if (!Rhaco::isVariable("_R_D_C_", "Participant::Date")) {
$column = new Column("column=date,variable=date,type=timestamp,", __CLASS__);
$column->label(Message::_("date"));
Rhaco::addVariable("_R_D_C_", $column, "Participant::Date");
}
return Rhaco::getVariable("_R_D_C_", null, "Participant::Date");
}