public function __construct() { parent::__construct('sessions', array('id' => 'number', 'user' => 'string', 'created' => 'timestamp', 'secret' => 'string', 'remote_ip' => 'number')); $this->perPage = null; }
public function __construct() { parent::__construct('users', array('id' => 'number', 'email' => 'string', 'password' => 'hex', 'fullname' => 'string', 'role' => 'string')); $this->perPage = null; }