fix
This commit is contained in:
parent
7d35a8f3f0
commit
a09fc396d8
9 changed files with 30 additions and 32 deletions
|
|
@ -30,6 +30,11 @@ class User implements UserInterface
|
|||
return $this->name;
|
||||
}
|
||||
|
||||
function isLogged() {
|
||||
return \ctiso\Filter\Authorization::isLogged();
|
||||
}
|
||||
|
||||
|
||||
public function getUserByQuery(Statement $stmt)
|
||||
{
|
||||
$result = $stmt->executeQuery();
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace ctiso\Role;
|
||||
use ctiso\Database\Statement;
|
||||
|
||||
interface UserInterface {
|
||||
function getUserByQuery(Statement $stmt);
|
||||
function getUserByLogin($login);
|
||||
function getUserById($id);
|
||||
function getName();
|
||||
function setSID();
|
||||
function setSID($random, $result);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue