|
ultimix
|
Public Member Functions | |
| __construct () | |
| set_add_limitations ($theAddLimitation) | |
| create ($Record) | |
| update ($id, $Record) | |
| select_list ($id) | |
| delete ($cid) | |
| move_up_children_categories ($cid, $NewRootId) | |
| unsafe_select ($Condition= '1=1') | |
| select ($Start, $Limit, $Field=false, $Order=false, $Condition= '1=1') | |
| get_category_id ($Name) | |
| get_children ($id) | |
| get_children_count ($id) | |
| get_siblings ($id) | |
| get_siblings_ids ($id) | |
| select_categories_list ($id) | |
Data Fields | |
| $NativeTable = '`umx_category`' | |
| $Database = false | |
| $DatabaseAlgorithms = false | |
| $Security = false | |
| $SecurityParser = false | |
| $Dictionary = false | |
| $AddLimitations = '1 = 1' | |
Working with categories.
Definition at line 26 of file category_access.php.
| __construct | ( | ) |
Constructor.
Definition at line 77 of file category_access.php.
| create | ( | $Record | ) |
Creating record.
| $Record | Example for creation. |
| Exception | An exception of this type is thrown. |
Definition at line 163 of file category_access.php.
| delete | ( | $cid | ) |
Delete records.
| $cid | - Record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 289 of file category_access.php.
| get_category_id | ( | $Name | ) |
Definition at line 507 of file category_access.php.
| get_children | ( | $id | ) |
Function returns subcategories.
| $Name | - Name of the category. |
| Exception | An exception of this type is thrown. |
Definition at line 554 of file category_access.php.
| get_children_count | ( | $id | ) |
Function returns subcategories.
| $Name | - Name of the category. |
| Exception | An exception of this type is thrown. |
Definition at line 590 of file category_access.php.
| get_siblings | ( | $id | ) |
Function returns siblings of the element.
| $id | - Id of the category. |
| Exception | An exception of this type is thrown. |
Definition at line 626 of file category_access.php.
| get_siblings_ids | ( | $id | ) |
Function returns ids of all siblings.
| $id | - Id of the category. |
| Exception | An exception of this type is thrown. |
Definition at line 680 of file category_access.php.
| move_up_children_categories | ( | $cid, | |
| $NewRootId | |||
| ) |
Moving children categories.
| $cid | - Record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 328 of file category_access.php.
| select | ( | $Start, | |
| $Limit, | |||
$Field = false, |
|||
$Order = false, |
|||
$Condition = '1 = 1' |
|||
| ) |
Selecting all records.
| $Start | - Cursor of the first record. |
| $Limit | - Count of the selecting records. |
| $Field | - Field to sort by. |
| $Order | - Sorting order. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 465 of file category_access.php.
| select_categories_list | ( | $id | ) |
Function returns all subcategories.
| $id | - id of the category. |
| Exception | An exception of this type is thrown. |
Definition at line 734 of file category_access.php.
| select_list | ( | $id | ) |
Function selects list of objects.
| $id | - Comma separated list of record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 257 of file category_access.php.
| set_add_limitations | ( | $theAddLimitation | ) |
Function sets additional limitations.
| $theAddLimitation | - Additional limitations. |
| Exception | An exception of this type is thrown. |
Definition at line 122 of file category_access.php.
| unsafe_select | ( | $Condition = '1 = 1' | ) |
Selecting records.
| $Condition | - Selection condition. |
| Exception | An exception of this type is thrown. |
Definition at line 370 of file category_access.php.
| update | ( | $id, | |
| $Record | |||
| ) |
Updating record.
| $id | - Comma separated list of record's id. |
| $Record | - Example for update. |
| Exception | An exception of this type is thrown. |
Definition at line 208 of file category_access.php.
| $AddLimitations = '1 = 1' |
Definition at line 102 of file category_access.php.
| $Database = false |
Cached objects.
Definition at line 50 of file category_access.php.
| $DatabaseAlgorithms = false |
Definition at line 51 of file category_access.php.
| $Dictionary = false |
Categories dictionary.
Definition at line 65 of file category_access.php.
| $NativeTable = '`umx_category`' |
Table name in wich objects of this entity are stored.
Definition at line 38 of file category_access.php.
| $Security = false |
Definition at line 52 of file category_access.php.
| $SecurityParser = false |
Definition at line 53 of file category_access.php.