|
ultimix
|
Public Member Functions | |
| __construct () | |
| set_add_limitations ($theAddLimitation) | |
| unsafe_select ($Condition) | |
| select ($Start=false, $Limit=false, $Field=false, $Order=false, $Condition= '1=1') | |
| delete ($id, $Options= '1=1') | |
| create ($Record) | |
| update ($id, $Record) | |
| select_list ($id) | |
| subscribe_user ($UserId, $SubscriptionId) | |
| unsubscribe_user ($UserId, $SubscriptionId) | |
| get_subscriptions_for_user ($UserId) | |
Data Fields | |
| $NativeTable = '`umx_subscription`' | |
| $Database = false | |
| $DatabaseAlgorithms = false | |
| $Link = false | |
| $Security = false | |
| $SecurityParser = false | |
| $AddLimitations = '1 = 1' | |
Class provides records access routine.
Definition at line 26 of file subscription_access.php.
| __construct | ( | ) |
Constructor.
Definition at line 66 of file subscription_access.php.
| create | ( | $Record | ) |
Creating record.
| $Record | Example for creation. |
| Exception | An exception of this type is thrown. |
Definition at line 287 of file subscription_access.php.
| delete | ( | $id, | |
$Options = ' 1 = 1' |
|||
| ) |
Deleting records.
| $id | - Record's identificator. |
| $Options | - Additional options. |
| Exception | An exception of this type is thrown. |
Definition at line 249 of file subscription_access.php.
| get_subscriptions_for_user | ( | $UserId | ) |
Function unsubscribes user.
| $UserId | - User's id. |
| Exception | An exception of this type is thrown. |
Definition at line 501 of file subscription_access.php.
| select | ( | $Start = false, |
|
$Limit = false, |
|||
$Field = false, |
|||
$Order = false, |
|||
$Condition = '1 = 1' |
|||
| ) |
Function returns list of records.
| $Start | - Number of the first record. |
| $Limit | - Count of records limitation. |
| $Field | - Field to sort by. |
| $Order | - Sorting order. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 210 of file subscription_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 379 of file subscription_access.php.
| set_add_limitations | ( | $theAddLimitation | ) |
Function sets additional limitations.
| $theAddLimitation | - Additional limitations. |
| Exception | An exception of this type is thrown. |
Definition at line 112 of file subscription_access.php.
| subscribe_user | ( | $UserId, | |
| $SubscriptionId | |||
| ) |
Function subscribes user.
| $UserId | - Comma separated list of users's id. |
| $SubscriptionId | - Comma separated list of record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 415 of file subscription_access.php.
| unsafe_select | ( | $Condition | ) |
Selecting records.
| $Condition | - Records selection condition. |
| Exception | An exception of this type is thrown. |
Definition at line 153 of file subscription_access.php.
| unsubscribe_user | ( | $UserId, | |
| $SubscriptionId | |||
| ) |
Function unsubscribes user.
| $UserId | - Comma separated list of users's id. |
| $SubscriptionId | - Comma separated list of record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 458 of file subscription_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 332 of file subscription_access.php.
| $AddLimitations = '1 = 1' |
Definition at line 92 of file subscription_access.php.
| $Database = false |
Cached objects.
Definition at line 50 of file subscription_access.php.
| $DatabaseAlgorithms = false |
Definition at line 51 of file subscription_access.php.
| $Link = false |
Definition at line 52 of file subscription_access.php.
| $NativeTable = '`umx_subscription`' |
Table name in wich objects of this entity are stored.
Definition at line 38 of file subscription_access.php.
| $Security = false |
Definition at line 53 of file subscription_access.php.
| $SecurityParser = false |
Definition at line 54 of file subscription_access.php.