|
static | GetHelpbarTourData () |
|
static | GetToursByRoute ($route='') |
|
static | GetToursByFilter ($term='') |
|
static | GetConflicts () |
|
static | GetTourObjects ($tour_result) |
|
static | tableScheme ($db_table) |
|
static | expireTableScheme () |
|
static | exists ($id) |
|
static | countBySql ($sql='1', $params=[]) |
|
static | create ($data) |
|
static | build ($data, $is_new=true) |
|
static | buildExisting ($data) |
|
static | import ($data) |
|
static | findBySQL ($sql, $params=[]) |
|
static | findOneBySQL ($where, $params=[]) |
|
static | findThru ($foreign_key_value, $options) |
|
static | findEachBySQL ($callable, $sql, $params=[]) |
|
static | findMany ($pks=[], $order='', $order_params=[]) |
|
static | findEachMany ($callable, $pks=[], $order='', $order_params=[]) |
|
static | findAndMapBySQL ($callable, $where, $params=[]) |
|
static | findAndMapMany ($callable, $pks=[], $order='', $order_params=[]) |
|
static | deleteBySQL ($where, $params=[]) |
|
static | toObject ($id_or_object) |
|
static | __callStatic (string $name, array $arguments) |
|
|
const | ID_SEPARATOR = '_' |
|
static | $schemes = null |
|
| _getId ($field) |
|
| _setId ($field, $value) |
|
| _getAdditionalValueFromRelation ($field) |
|
| _setAdditionalValueFromRelation ($field, $value) |
|
| _getAdditionalValue ($field) |
|
| _setAdditionalValue ($field, $value) |
|
| parseRelationOptions ($type, $name, $options) |
|
| storeRelations ($only_these=null) |
|
| deleteRelations () |
|
| initializeContent () |
|
| applyCallbacks ($type) |
|
| cbNotificationMapper ($cb_type) |
|
| cbAfterInitialize ($cb_type) |
|
| setSerializedValue ($field, $value) |
|
| setI18nValue ($field, $value) |
|
| $content = [] |
|
| $content_db = [] |
|
| $is_new = true |
|
| $is_deleted = false |
|
| $relations = [] |
|
| $additional_data = [] |
|
static | $config = [] |
|
static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] |
|
static | $performs_batch_operation = false |
|
◆ addStep()
addStep |
( |
|
$data, |
|
|
|
$position = 0 |
|
) |
| |
adds step to the tour and rearranges existing steps
◆ cbUpdateStudipVersion()
cbUpdateStudipVersion |
( |
| ) |
|
◆ configure()
static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
◆ deleteStep()
deleteStep |
( |
|
$position = 0 | ) |
|
deletes step and rearranges existing steps
◆ GetConflicts()
fetches tour conflicts
- Returns
- array set of tour objects
◆ GetHelpbarTourData()
static GetHelpbarTourData |
( |
| ) |
|
|
static |
get visible tours for helpbar
- Returns
- array set of tours
◆ GetTourObjects()
static GetTourObjects |
( |
|
$tour_result | ) |
|
|
static |
builds tour objects for given set of tour data
- Parameters
-
array | $tour_result | tour set |
- Returns
- array set of tour objects
◆ GetToursByFilter()
static GetToursByFilter |
( |
|
$term = '' | ) |
|
|
static |
fetches set of tours from database filtered by parameters
- Parameters
-
string | $term | search term for tour name |
boolean | $as_objects | include HelpTour objects in result array |
- Returns
- array set of tours
◆ GetToursByRoute()
static GetToursByRoute |
( |
|
$route = '' | ) |
|
|
static |
fetches set of tours from database for given route
- Parameters
-
string | $route | route for tours to begin |
boolean | $as_objects | include HelpTour objects in result array |
- Returns
- array set of tours
◆ isVisible()
checks if tour is visible for current user
◆ validate()
checks, if basic tour data is complete
- Returns
- boolean true or false
The documentation for this class was generated from the following file: