当前位置: 首页>>代码示例>>PHP>>正文


PHP DataHandler::getValueByStdObjectIndex方法代码示例

本文整理汇总了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");
 }
开发者ID:reytuty,项目名称:facil,代码行数:13,代码来源:CategoryVO.class.php

示例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"));
 }
开发者ID:reytuty,项目名称:facil,代码行数:19,代码来源:ParametherVO.class.php

示例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");
 }
开发者ID:reytuty,项目名称:facil,代码行数:16,代码来源:FileVO.class.php

示例4: setFetchObject

 /**
  * @param (object) $obj_dados
  * @return void
  */
 function setFetchObject($obj_dados)
 {
     $this->setDescription(DataHandler::getValueByStdObjectIndex($obj_dados, "description"));
     parent::setFetchObject($obj_dados);
 }
开发者ID:reytuty,项目名称:facil,代码行数:9,代码来源:CategoryEncVO.class.php

示例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"));
 }
开发者ID:reytuty,项目名称:facil,代码行数:24,代码来源:ContentVO.class.php

示例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");
 }
开发者ID:reytuty,项目名称:facil,代码行数:17,代码来源:HighLightsVO.class.php

示例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);
 }
开发者ID:reytuty,项目名称:facil,代码行数:14,代码来源:ItemCommentVO.class.php

示例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");
 }
开发者ID:reytuty,项目名称:facil,代码行数:16,代码来源:CommentVO.class.php


注:本文中的DataHandler::getValueByStdObjectIndex方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。