當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。