Table::__construct PHP Method

__construct() public method

public __construct ( $connection, $model )
    public function __construct($connection, $model)
    {
        $this->connection = $connection;
        $this->model = $model;
    }

Usage Example

Esempio n. 1
0
 function __construct()
 {
     $this->table = 'usuario';
     $this->fields = array('nombre', 'password', 'nivel');
     $this->level = 10;
     parent::__construct();
 }
All Usage Examples Of Table::__construct