/** * Constructor */ public function __construct($table = '') { if ($table !== '') { $this->_table = $table; } $this->_dbAdapter = Mnl_Db_Connection::getConnection(); }
public static function setConnection($connection = NULL) { if (!self::$_db) { self::$_db = $connection; } }