Exemplo n.º 1
0
 public function __construct($id = 0)
 {
     parent::__construct();
     if (is_numeric($id) && $id > 0) {
         $rowset = $this->find($id);
         $this->row = $rowset[0];
         if (method_exists($this, 'loadParent')) {
             $this->loadParent();
         }
     }
 }
Exemplo n.º 2
0
 /**
  *
  * Enter description here ...
  */
 public function __construct($id = 0)
 {
     parent::__construct();
     if (is_numeric($id) && $id > 0) {
         $this->load($id);
     }
 }
Exemplo n.º 3
0
 public function init()
 {
     parent::init();
 }