/** * * @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"); }
function invalid($request) { if ($request->isVariable($this->serverVarName)) { $openid = new OpenIDAuth($request->getVariable($this->serverVarName)); $openid->request(); $endPointURL = $openid->getEndPointURL(); if (empty($endPointURL)) { return false; } $openid->addParameter('openid.sreg.required', Rhaco::constant('openid.sreg.required', 'nickname')); $openid->addParameter('openid.sreg.optional', Rhaco::constant('openid.sreg.optional', 'email')); $openid->addParameter('openid.identity', Rhaco::constant('openid.identity', 'http://specs.openid.net/auth/2.0/identifier_select')); $openid->addParameter('openid.claimed_id', Rhaco::constant('openid.claimed_id', 'http://specs.openid.net/auth/2.0/identifier_select')); if (Rhaco::isVariable('openid.extraParameter')) { $params = Rhaco::getVariable('openid.extraParameter'); foreach ($params as $name => $value) { $openid->addParameter($name, $value); } } $this->_redirectForm($endPointURL, $openid->getEndPointHeaders($this->url, $this->endPointURL)); } }
/** * * @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"); }