phpci = $phpci; $this->queries = $options; } public function execute() { $rtn = true; foreach($this->queries as $query) { $rtn = !$this->phpci->executeCommand('mysql -uroot -e "'.$query.'"') ? false : $rtn; } return $rtn; } }