Exemple #1
0
 public function read($id)
 {
     $this->_bind = parent::read($id);
     $modelcontent = zotop::model('content.modelcontent');
     $modelcontent->modelid = $this->modelid;
     $modelcontent->read($this->id);
     $this->bind($modelcontent->_bind);
     return $this->bind();
 }
Exemple #2
0
 public function read($id = '')
 {
     $this->_bind = parent::read($id);
     if (!$this->error()) {
         $this->_bind['settings'] = $this->settings();
         return $this->_bind;
     }
     return false;
 }