/** * Retrieve new select object * * @param string $table * @param string $alias * @param string $cols * @return Mzax_Emarketing_Db_Select */ protected function _select($table = null, $alias = null, $cols = null) { $select = new Mzax_Emarketing_Db_Select($this->_getWriteAdapter()); if ($table) { $select->from($this->_getTable($table, $alias), $cols); } return $select; }