mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-508_acl-cache
- refactor : acl strings changed to ACL class constants - code cleanup - wip but try to merge for bc break test
This commit is contained in:
@@ -14,7 +14,7 @@ use Alchemy\Phrasea\Model\Entities\User;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Alchemy\Phrasea\Utilities\Countries;
|
||||
|
||||
class User_Query implements User_QueryInterface
|
||||
class User_Query
|
||||
{
|
||||
const ORD_ASC = 'ASC';
|
||||
const ORD_DESC = 'DESC';
|
||||
|
@@ -1,47 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2016 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
interface User_QueryInterface
|
||||
{
|
||||
public function __construct(Application $app);
|
||||
|
||||
public function get_results();
|
||||
|
||||
public function who_have_right(Array $rights);
|
||||
|
||||
public function who_have_not_right(Array $rights);
|
||||
|
||||
public function execute();
|
||||
|
||||
public function get_total();
|
||||
|
||||
public function get_page();
|
||||
|
||||
public function on_bases_where_i_am(ACL $ACL, Array $rights);
|
||||
|
||||
public function on_sbas_where_i_am(ACL $ACL, Array $rights);
|
||||
|
||||
public function limit($offset_start, $results_quantity);
|
||||
|
||||
public function like($like_field, $like_value);
|
||||
|
||||
public function like_match($like_match);
|
||||
|
||||
public function on_sbas_ids(Array $sbas_ids);
|
||||
|
||||
public function on_base_ids(Array $base_ids);
|
||||
|
||||
public function sort_by($sort, $ord = 'asc');
|
||||
|
||||
public function get_inactives($boolean = true);
|
||||
}
|
Reference in New Issue
Block a user