protected __construct ( $table_name, $data = [], $connection_name = self::DEFAULT_CONNECTION ) |
protected function __construct($table_name, $data = array(), $connection_name = self::DEFAULT_CONNECTION)
{
$this->_table_name = $table_name;
$this->_data = $data;
$this->_connection_name = $connection_name;
self::_setup_db_config($connection_name);
}
function __construct($id = NULL) { parent::__construct($id); // if($this->id!=true) { // $this->where("web_type_id",1); // } }