Collaboration diagram for SearchAccount:Public Member Functions | |
| __construct () | |
| addRoleFilter ($role) | |
| addGroupFilter ($group) | |
| setTypeFilter ($type) | |
| addFilter ($filter, $arg=null) | |
| setOrder ($order) | |
| setSlice ($slice) | |
| setStart ($start) | |
| useViewControl ($control=true) | |
| overrideViewControl ($override=true) | |
| setObjectReturn ($type) | |
| setReturnType ($type) | |
| filterFamily ($family) | |
| search () | |
| getQuery () | |
Static Public Member Functions | |
| static | docName2login ($name) |
| static | getLoginFromDocName ($name) |
Data Fields | |
| const | userType = 0x01 |
| const | groupType = 0x02 |
| const | roleType = 0x04 |
| const | returnAccount = 1 |
| const | returnDocument = 2 |
Definition at line 27 of file Class.SearchAccount.php.
| __construct | ( | ) |
| addFilter | ( | $filter, | |
$arg = null |
|||
| ) |
| addGroupFilter | ( | $group | ) |
add group filter appartenance
| string | $group | group name (login) |
| Dcp\Sacc\Exception |
Definition at line 97 of file Class.SearchAccount.php.
Here is the call graph for this function:| addRoleFilter | ( | $role | ) |
add role filter appartenance
| string | $role | role reference (login) |
| Dcp\Sacc\Exception |
Definition at line 76 of file Class.SearchAccount.php.
Here is the call graph for this function:
|
static |
convert logical name document to login account
| string | $name | lolgical name |
Definition at line 254 of file Class.SearchAccount.php.
Here is the call graph for this function:| filterFamily | ( | $family | ) |
| string | $family |
| Dcp\Sacc\Exception | if $family is not a valid family name |
Definition at line 279 of file Class.SearchAccount.php.
Here is the call graph for this function:
|
static |
get login account from logical name document
| string | $name | logical name |
Definition at line 268 of file Class.SearchAccount.php.
Here is the call graph for this function:| getQuery | ( | ) |
get final query to search accounts
Definition at line 329 of file Class.SearchAccount.php.
Here is the call graph for this function:| overrideViewControl | ( | $override = true | ) |
include accounts the user cannot view
| bool | $override |
Definition at line 207 of file Class.SearchAccount.php.
| search | ( | ) |
send search of account's object
Definition at line 294 of file Class.SearchAccount.php.
Here is the call graph for this function:| setObjectReturn | ( | $type | ) |
set object type return by search method
| string | $type | self::returnDocument or self::returnAccount |
| Dcp\Sacc\Exception |
Definition at line 221 of file Class.SearchAccount.php.
Here is the call graph for this function:| setOrder | ( | $order | ) |
set order can be login, mail, id, firstname,… each Account properties
Definition at line 156 of file Class.SearchAccount.php.
| setReturnType | ( | $type | ) |
set object type return by search method
| string | $type | self::returnDocument or self::returnAccount |
| Dcp\Sacc\Exception |
Definition at line 236 of file Class.SearchAccount.php.
Here is the call graph for this function:| setSlice | ( | $slice | ) |
set slice limit / "all" for no limit
| int | string | $slice |
| Dcp\Sacc\Exception |
Definition at line 166 of file Class.SearchAccount.php.
Here is the call graph for this function:| setStart | ( | $start | ) |
set start offset
| int | $start |
| Dcp\Sacc\Exception |
Definition at line 180 of file Class.SearchAccount.php.
Here is the call graph for this function:| setTypeFilter | ( | $type | ) |
set account type filter (only matching accounts will be returned)
| int | $type | can be bitmask of SearchAccount::userType, SearchAccount::groupType,SearchAccount::roleType |
Definition at line 120 of file Class.SearchAccount.php.
| useViewControl | ( | $control = true | ) |
set if use view control document's privilege to filter account
| bool | $control |
Definition at line 196 of file Class.SearchAccount.php.
Here is the call graph for this function:| const groupType = 0x02 |
group type filter
Definition at line 36 of file Class.SearchAccount.php.
| const returnAccount = 1 |
AccountList type return
Definition at line 44 of file Class.SearchAccount.php.
| const returnDocument = 2 |
DocumentList type return
Definition at line 48 of file Class.SearchAccount.php.
| const roleType = 0x04 |
role type filter
Definition at line 40 of file Class.SearchAccount.php.
| const userType = 0x01 |
user type filter
Definition at line 32 of file Class.SearchAccount.php.