public function execute($id = null) { if ($id) { $prep = $this->_prep_single($id); } else { $prep = $this->_prep_all(); } //end else return parent::execute($prep['sql'], $prep['in'], $prep['out'], $id); }
public function execute() { $prep = $this->prep(); return parent::execute($prep['sql'], $prep['in'], $prep['out'], $this->id); }