public function __construct() { parent::__construct(); self::$table = "users"; $this->fields = ['_id' => 0, 'username' => null, 'email' => null, 'password' => null]; }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); self::$table = "photos"; $this->fields = ['_id' => 0, 'title' => null, 'autor' => null, 'autorUser' => null, 'tryb' => 'public', 'photoPath' => null, 'smallPath' => null, 'bigPath' => null]; }
public function __construct() { parent::__construct(); $this->setTable('NameTable'); }