本文整理汇总了PHP中DataHandler::getValueByStdObjectIndex方法的典型用法代码示例。如果您正苦于以下问题:PHP DataHandler::getValueByStdObjectIndex方法的具体用法?PHP DataHandler::getValueByStdObjectIndex怎么用?PHP DataHandler::getValueByStdObjectIndex使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataHandler
的用法示例。
在下文中一共展示了DataHandler::getValueByStdObjectIndex方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->category_id = DataHandler::getValueByStdObjectIndex($obj_dados, "category_id");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->name = DataHandler::getValueByStdObjectIndex($obj_dados, "name");
$this->slug = DataHandler::getValueByStdObjectIndex($obj_dados, "slug");
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
}
示例2: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->table_id = DataHandler::getValueByStdObjectIndex($obj_dados, "table_id");
$this->table = DataHandler::getValueByStdObjectIndex($obj_dados, "table");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->name = DataHandler::getValueByStdObjectIndex($obj_dados, "name");
$this->type = DataHandler::getValueByStdObjectIndex($obj_dados, "type");
$this->locale = DataHandler::getValueByStdObjectIndex($obj_dados, "locale");
$this->varchar = DataHandler::getValueByStdObjectIndex($obj_dados, "varchar");
$this->text = DataHandler::getValueByStdObjectIndex($obj_dados, "text");
$this->number = DataHandler::getValueByStdObjectIndex($obj_dados, "number");
$this->int = DataHandler::getValueByStdObjectIndex($obj_dados, "int");
$this->date = DataHandler::convertDateToDB(DataHandler::getValueByStdObjectIndex($obj_dados, "date"));
}
示例3: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->name = DataHandler::getValueByStdObjectIndex($obj_dados, "name");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->description = DataHandler::getValueByStdObjectIndex($obj_dados, "description");
$this->type = DataHandler::getValueByStdObjectIndex($obj_dados, "type");
$this->url = DataHandler::getValueByStdObjectIndex($obj_dados, "url");
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
$this->author = DataHandler::getValueByStdObjectIndex($obj_dados, "author");
$this->locale = DataHandler::getValueByStdObjectIndex($obj_dados, "locale");
}
示例4: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->setDescription(DataHandler::getValueByStdObjectIndex($obj_dados, "description"));
parent::setFetchObject($obj_dados);
}
示例5: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->name = DataHandler::getValueByStdObjectIndex($obj_dados, "name");
$this->title = DataHandler::getValueByStdObjectIndex($obj_dados, "title");
$this->hat = DataHandler::getValueByStdObjectIndex($obj_dados, "hat");
$this->description = DataHandler::getValueByStdObjectIndex($obj_dados, "description");
$this->content = DataHandler::getValueByStdObjectIndex($obj_dados, "content");
$this->author = DataHandler::getValueByStdObjectIndex($obj_dados, "author");
$this->template_url = DataHandler::getValueByStdObjectIndex($obj_dados, "template_url");
$this->slug = DataHandler::getValueByStdObjectIndex($obj_dados, "slug");
$this->key_words = DataHandler::getValueByStdObjectIndex($obj_dados, "key_words");
$this->date = DataHandler::getValueByStdObjectIndex($obj_dados, "date");
$this->date_in = DataHandler::getValueByStdObjectIndex($obj_dados, "date_in");
$this->date_out = DataHandler::getValueByStdObjectIndex($obj_dados, "date_out");
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
$this->setImageURL(DataHandler::getValueByStdObjectIndex($obj_dados, "image_url"), DataHandler::getValueByStdObjectIndex($obj_dados, "locale"));
$this->setLink(DataHandler::getValueByStdObjectIndex($obj_dados, "link"), DataHandler::getValueByStdObjectIndex($obj_dados, "locale"));
}
示例6: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->name = DataHandler::getValueByStdObjectIndex($obj_dados, "name");
$this->link = DataHandler::getValueByStdObjectIndex($obj_dados, "link");
$this->content = DataHandler::getValueByStdObjectIndex($obj_dados, "content");
$this->image_url = DataHandler::getValueByStdObjectIndex($obj_dados, "image_url");
$this->date = DataHandler::getValueByStdObjectIndex($obj_dados, "date");
$this->date_in = DataHandler::getValueByStdObjectIndex($obj_dados, "date_in");
$this->date_out = DataHandler::getValueByStdObjectIndex($obj_dados, "date_out");
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
}
示例7: setFetchObject
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
//pega o id tb
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->table = DataHandler::getValueByStdObjectIndex($obj_dados, "table");
$this->table_id = DataHandler::getValueByStdObjectIndex($obj_dados, "table_id");
$this->user_id = DataHandler::getValueByStdObjectIndex($obj_dados, "user_id");
$this->title = DataHandler::getValueByStdObjectIndex($obj_dados, "title");
$this->description = DataHandler::getValueByStdObjectIndex($obj_dados, "description");
$this->date = DataHandler::getValueByStdObjectIndex($obj_dados, "date");
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
$this->setStatus(CommentDAO::STATUS_OK);
}
示例8: setFetchObject
/**
* @param (object) $obj_dados
* @return void
*/
function setFetchObject($obj_dados)
{
$this->id = DataHandler::getValueByStdObjectIndex($obj_dados, "id");
$this->user_id = DataHandler::getValueByStdObjectIndex($obj_dados, "user_id");
$this->table_id = DataHandler::getValueByStdObjectIndex($obj_dados, "table_id");
$this->table = DataHandler::getValueByStdObjectIndex($obj_dados, "table");
$this->active = DataHandler::getValueByStdObjectIndex($obj_dados, "active");
$this->title = DataHandler::getValueByStdObjectIndex($obj_dados, "title");
$this->description = DataHandler::getValueByStdObjectIndex($obj_dados, "description");
$this->date = DataHandler::convertDateToDB(DataHandler::getValueByStdObjectIndex($obj_dados, "date"));
$this->order = DataHandler::getValueByStdObjectIndex($obj_dados, "order");
}