/** * @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"); }
/** * @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")); }
/** * @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"); }
/** * @param (object) $obj_dados * @return void */ function setFetchObject($obj_dados) { $this->setDescription(DataHandler::getValueByStdObjectIndex($obj_dados, "description")); parent::setFetchObject($obj_dados); }
/** * @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")); }
/** * @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"); }
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); }
/** * @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"); }