/** * * @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"); }
/** * * @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"); }
/** * * @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"); }
/** * * @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"); }
/** * * @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"); }