|
ultimix
|
Public Member Functions | |
| __construct () | |
| get_dependent_objects ($MasterId, $MasterType, $ObjectType, &$Access=false) | |
| dependent_objects_exist ($MasterId, $MasterType, $ObjectType) | |
| get_master_objects ($ObjectId, $MasterType, $ObjectType, $Access=false) | |
| master_objects_exists ($ObjectId, $MasterType, $ObjectType) | |
| trasform_master_parameters ($MasterId, $MasterType) | |
| get_sub_records ($Object1Type, $Object2Type, &$Records, $FieldName1, $JoiningTableName, $FieldName2, $Fields= '*') | |
| get_joining_records (&$Records, $FieldName1, $FieldName2, $JoiningTableName, $ExtendingFields, $Condition= '1=1') | |
| join_data (&$Records, $Object1Type, $Object2Type, $FieldName1, $FieldName2, $JoiningTableName, $JoinName, $Fields= '*') | |
| join_single_to_single_data (&$Records, $FieldName1, $FieldName2, $JoiningTableName, $JoinName, $Fields= '*', $Condition= '1=1') | |
| join_single_to_many_data (&$Records, $FieldName1, $FieldName2, $JoiningTableName, $JoinName, $Fields= '*', $Condition= '1=1') | |
| extend_records (&$Records, $FieldName1, $FieldName2, $JoiningTableName, $ExtendingFields, $Condition= '1=1') | |
Data Fields | |
| $Database = false | |
| $Link = false | |
| $Security = false | |
| $String = false | |
| $UserAlgorithms = false | |
Link utilities.
Definition at line 26 of file link_utilities.php.
| __construct | ( | ) |
Constructor.
| Exception | An exception of this type is thrown. |
Definition at line 58 of file link_utilities.php.
| dependent_objects_exist | ( | $MasterId, | |
| $MasterType, | |||
| $ObjectType | |||
| ) |
Do dependent objects exist.
| $MasterId | - Id of the master-object. |
| $MasterType | - Type of the master-object. |
| $ObjectType | - Type of the dependent object. |
| Exception | An exception of this type is thrown. |
Definition at line 169 of file link_utilities.php.
| extend_records | ( | & | $Records, |
| $FieldName1, | |||
| $FieldName2, | |||
| $JoiningTableName, | |||
| $ExtendingFields, | |||
$Condition = '1 = 1' |
|||
| ) |
Function joins data.
| $Records | - Array of records to be extended. |
| $FieldName1 | - First field name. |
| $FieldName2 | - Second field name. |
| $JoiningTableName | - Joining table. |
| $ExtendingFields | - Fields to add. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 756 of file link_utilities.php.
| get_dependent_objects | ( | $MasterId, | |
| $MasterType, | |||
| $ObjectType, | |||
| & | $Access = false |
||
| ) |
Function returns dependent objects.
| $MasterId | - Id of the master-object. |
| $MasterType | - Type of the master-object. |
| $ObjectType | - Type of the dependent object. |
| $Access | - Data acces object. |
| Exception | An exception of this type is thrown. |
Definition at line 112 of file link_utilities.php.
| get_joining_records | ( | & | $Records, |
| $FieldName1, | |||
| $FieldName2, | |||
| $JoiningTableName, | |||
| $ExtendingFields, | |||
$Condition = '1 = 1' |
|||
| ) |
Function fetches additional data.
| $Records | - Array of records to be extended. |
| $FieldName1 | - First field name. |
| $FieldName2 | - Second field name. |
| $JoiningTableName | - Joining table. |
| $ExtendingFields | - Fields to add. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 462 of file link_utilities.php.
| get_master_objects | ( | $ObjectId, | |
| $MasterType, | |||
| $ObjectType, | |||
$Access = false |
|||
| ) |
Function returns parent objects.
| $ObjectId | - Id of the dependent object. |
| $MasterType | - Type of the master-object. |
| $ObjectType | - Type of the dependent object. |
| $Access | - Data acces object. |
| Exception | An exception of this type is thrown. |
Definition at line 224 of file link_utilities.php.
| get_sub_records | ( | $Object1Type, | |
| $Object2Type, | |||
| & | $Records, | ||
| $FieldName1, | |||
| $JoiningTableName, | |||
| $FieldName2, | |||
$Fields = '*' |
|||
| ) |
Function returns joind data.
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| $Records | - Array of records. |
| $FieldName1 | - Field's name. |
| $JoiningTableName | - Joining table name. |
| $FieldName2 | - Field's name. |
| $Fields | - List of the joining fields. |
| Exception | An exception of this type is thrown. |
Definition at line 394 of file link_utilities.php.
| join_data | ( | & | $Records, |
| $Object1Type, | |||
| $Object2Type, | |||
| $FieldName1, | |||
| $FieldName2, | |||
| $JoiningTableName, | |||
| $JoinName, | |||
$Fields = '*' |
|||
| ) |
Function joins data.
| $Records | - Array of records. |
| $Object1Type | - Type of the first object. |
| $Object2Type | - Type of the second object. |
| $FieldName1 | - Field's name. |
| $FieldName2 | - Field's name. |
| $JoiningTableName | - Joining table name. |
| $JoinName | - Name of he join. |
| $Fields | - List of the joining fields. |
| Exception | An exception of this type is thrown. |
Definition at line 535 of file link_utilities.php.
| join_single_to_many_data | ( | & | $Records, |
| $FieldName1, | |||
| $FieldName2, | |||
| $JoiningTableName, | |||
| $JoinName, | |||
$Fields = '*', |
|||
$Condition = '1 = 1' |
|||
| ) |
Function joins data.
| $Records | - Array of records to be extended. |
| $FieldName1 | - First field name. |
| $FieldName2 | - Second field name. |
| $JoiningTableName | - Joining table. |
| $JoinName | - Name of he join. |
| $Fields | - List of the joining fields. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 685 of file link_utilities.php.
| join_single_to_single_data | ( | & | $Records, |
| $FieldName1, | |||
| $FieldName2, | |||
| $JoiningTableName, | |||
| $JoinName, | |||
$Fields = '*', |
|||
$Condition = '1 = 1' |
|||
| ) |
Function joins data.
| $Records | - Array of records to be extended. |
| $FieldName1 | - First field name. |
| $FieldName2 | - Second field name. |
| $JoiningTableName | - Joining table. |
| $JoinName | - Name of he join. |
| $Fields | - List of the joining fields. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 609 of file link_utilities.php.
| master_objects_exists | ( | $ObjectId, | |
| $MasterType, | |||
| $ObjectType | |||
| ) |
Do dependent objects exist.
| $ObjectId | - Id of the dependent-object. |
| $MasterType | - Type of the master-object. |
| $ObjectType | - Type of the dependent object. |
| Exception | An exception of this type is thrown. |
Definition at line 284 of file link_utilities.php.
| trasform_master_parameters | ( | $MasterId, | |
| $MasterType | |||
| ) |
Function transforms master object's parameters.
| $MasterId | - Master object's id. |
| $MasterType | - Master object's type. |
| Exception | An exception of this type is thrown. |
Definition at line 327 of file link_utilities.php.
| $Database = false |
Cached objects.
Definition at line 38 of file link_utilities.php.
| $Link = false |
Definition at line 39 of file link_utilities.php.
| $Security = false |
Definition at line 40 of file link_utilities.php.
| $String = false |
Definition at line 41 of file link_utilities.php.
| $UserAlgorithms = false |
Definition at line 42 of file link_utilities.php.