|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjStyleSheet. More...
Inheritance diagram for ilObjStyleSheet:
Collaboration diagram for ilObjStyleSheet:Public Member Functions | |
| __construct ($a_id=0, $a_call_by_reference=false) | |
| Constructor @access public. More... | |
| setRefId ($a_ref_id) | |
| Set ref id (show error message, since styles do not use ref ids) More... | |
| getRefId () | |
| Get ref id (show error message, since styles do not use ref ids) More... | |
| putInTree ($a_parent_ref) | |
| Put in tree (show error message, since styles do not use ref ids) More... | |
| createReference () | |
| Create a reference (show error message, since styles do not use ref ids) More... | |
| setUpToDate ($a_up_to_date=true) | |
| Set style up to date (false + update will trigger css generation next time) More... | |
| getUpToDate () | |
| Get up to date. More... | |
| setScope ($a_scope) | |
| Set scope. More... | |
| getScope () | |
| Get scope. More... | |
| assignMetaData (&$a_meta_data) | |
| assign meta data object More... | |
| & | getMetaData () |
| get meta data object More... | |
| create ($a_from_style=0, $a_import_mode=false) | |
| Create a new style. More... | |
| deleteCharacteristic ($a_type, $a_tag, $a_class) | |
| Delete Characteristic. More... | |
| characteristicExists ($a_char, $a_style_type) | |
| Check whether characteristic exists. More... | |
| addCharacteristic ($a_type, $a_char, $a_hidden=false) | |
| Add characteristic. More... | |
| copyCharacteristic ( $a_from_style_id, $a_from_type, $a_from_char, $a_to_char) | |
| Copy characteristic. More... | |
| getCharacteristics ($a_type="", $a_no_hidden=false, $a_include_core=true) | |
| Get characteristics. More... | |
| setCharacteristics ($a_chars) | |
| Set characteristics. More... | |
| saveHideStatus ($a_type, $a_char, $a_hide) | |
| Save characteristic hide status. More... | |
| getHideStatus ($a_type, $a_char) | |
| Get characteristic hide status. More... | |
| ilClone () | |
| clone style sheet (note: styles have no ref ids and return an object id) More... | |
| copyImagesToDir ($a_target) | |
| Copy images to directory. More... | |
| addParameter ($a_tag, $a_par, $a_type, $a_mq_id=0, $a_custom=false) | |
| write style parameter to db More... | |
| createImagesDirectory () | |
| Create images directory <data_dir>/sty/sty_<id>/images. More... | |
| getImagesDirectory () | |
| Get images directory. More... | |
| getThumbnailsDirectory () | |
| Get thumbnails directory. More... | |
| getImages () | |
| Get images of style. More... | |
| uploadImage ($a_file) | |
| Upload image. More... | |
| deleteImage ($a_file) | |
| Delete an image. More... | |
| deleteParameter ($a_id) | |
| delete style parameter More... | |
| deleteStylePar ($a_tag, $a_class, $a_par, $a_type, $a_mq_id=0, $a_custom=false) | |
| Delete style parameter by tag/class/parameter. More... | |
| deleteCustomStylePars ($a_tag, $a_class, $a_type, $a_mq_id=0) | |
| Delete style parameter by tag/class/parameter. More... | |
| deleteStyleParOfChar ($a_type, $a_class) | |
| Delete style parameters of characteristic. More... | |
| delete () | |
| delete style object More... | |
| read () | |
| read style properties More... | |
| writeCSSFile ($a_target_file="", $a_image_dir="") | |
| write css file to webspace directory More... | |
| getParametersOfClass ($a_type, $a_class, $a_mq_id=0) | |
| Get parameters of class. More... | |
| update () | |
| update object in db More... | |
| updateStyleParameter ($a_id, $a_value) | |
| update style parameter per id More... | |
| replaceStylePar ($a_tag, $a_class, $a_par, $a_val, $a_type, $a_mq_id=0, $a_custom=false) | |
| Set style parameter per tag/class/parameter. More... | |
| getStyle () | |
| todo: bad style! should return array of objects, not multi-dim-arrays More... | |
| setStyle ($a_style) | |
| set styles More... | |
| handleXmlString ($a_str) | |
| Handle xml strin. More... | |
| getXML () | |
| get xml representation of style object todo: add mq_id More... | |
| createExportDirectory () | |
| Create export directory. More... | |
| cleanExportDirectory () | |
| Clear export directory. More... | |
| createExportSubDirectory () | |
| Create export directory. More... | |
| setExportSubDir ($a_dir) | |
| Set local directory, that will be included within the zip file. More... | |
| getExportSubDir () | |
| The local directory, that will be included within the zip file. More... | |
| export () | |
| Create export file. More... | |
| exportXML ($a_dir) | |
| export style xml file to directory More... | |
| createImportDirectory () | |
| Create import directory. More... | |
| import ($a_file) | |
| Import. More... | |
| createFromXMLFile ($a_file, $a_skip_parent_create=false) | |
| create style from xml file todo: add mq_id and custom More... | |
| getStyleParameterGroups () | |
| Get grouped parameter. More... | |
| determineTemplateStyleClassType ($t, $k) | |
| do_3_10_Migration () | |
| Migrates 3.10 style to 3.11 style. More... | |
| do_3_10_CharMigration ($a_id="") | |
| This is more or less a copy of Services/Migration/DBUpdate_1385/classes ilStyleMigration->addMissingStyleCharacteristics() More... | |
| do_3_9_Migration ($a_id) | |
| Migrate old 3.9 styles. More... | |
| getColors () | |
| Get colors of style. More... | |
| addColor ($a_name, $a_code) | |
| Add color. More... | |
| updateColor ($a_name, $a_new_name, $a_code) | |
| Update color. More... | |
| removeColor ($a_name) | |
| Remove a color. More... | |
| colorExists ($a_color_name) | |
| Check whether color exists. More... | |
| getColorCodeForName ($a_name) | |
| Remove a color. More... | |
| getMediaQueries () | |
| Get colors of style. More... | |
| addMediaQuery ($a_mquery, $order_nr=0) | |
| Add media query. More... | |
| getMaxMQueryOrderNr () | |
| Get maximum media query order nr. More... | |
| updateMediaQuery ($a_id, $a_mquery) | |
| Update media query. More... | |
| getMediaQueryForId ($a_id) | |
| Get media query for id. More... | |
| deleteMediaQuery ($a_id) | |
| Delete media query. More... | |
| saveMediaQueryOrder ($a_order_nr=null) | |
| Save media query order. More... | |
| getTemplates ($a_type) | |
| Get table templates of style. More... | |
| getTemplateClasses ($a_tid) | |
| Get template classes. More... | |
| addTemplate ($a_type, $a_name, $a_classes) | |
| Add table template. More... | |
| updateTemplate ($a_t_id, $a_name, $a_classes) | |
| Update table template. More... | |
| addTemplateClass ($a_t_id, $a_type, $a_class) | |
| Update table template. More... | |
| templateExists ($a_template_name) | |
| Check whether template exists. More... | |
| getTemplate ($a_t_id) | |
| Get template. More... | |
| lookupTemplateName ($a_t_id) | |
| Lookup table template name for template ID. More... | |
| getTemplateXML () | |
| Get table template xml. More... | |
| writeTemplatePreview ($a_t_id, $a_preview_html) | |
| Write table template preview. More... | |
| lookupTemplatePreview ($a_t_id) | |
| Lookup table template preview. More... | |
| removeTemplate ($a_t_id) | |
| Remove table template. More... | |
| writeStyleSetting ($a_name, $a_value) | |
| Write Style Setting. More... | |
| lookupStyleSetting ($a_name) | |
| Lookup style setting. More... | |
Public Member Functions inherited from ilObject | |
| __construct ($a_id=0, $a_reference=true) | |
| Constructor @access public. More... | |
| withReferences () | |
| determines wehter objects are referenced or not (got ref ids or not) More... | |
| read () | |
| read object data from db into object More... | |
| getId () | |
| get object id @access public More... | |
| setId ($a_id) | |
| set object id @access public More... | |
| setRefId ($a_id) | |
| set reference id @access public More... | |
| getRefId () | |
| get reference id @access public More... | |
| getType () | |
| get object type @access public More... | |
| setType ($a_type) | |
| set object type @access public More... | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| get object title @access public More... | |
| getUntranslatedTitle () | |
| get untranslated object title @access public More... | |
| setTitle ($a_title) | |
| set object title More... | |
| getDescription () | |
| get object description More... | |
| setDescription ($a_desc) | |
| set object description More... | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| get import id More... | |
| setImportId ($a_import_id) | |
| set import id More... | |
| setOfflineStatus ($a_status) | |
| Set offline status. More... | |
| getOfflineStatus () | |
| Get offline status. More... | |
| supportsOfflineHandling () | |
| Check whether object supports offline handling. More... | |
| getOwner () | |
| get object owner More... | |
| getOwnerName () | |
| setOwner ($a_owner) | |
| set object owner More... | |
| getCreateDate () | |
| get create date @access public More... | |
| getLastUpdateDate () | |
| get last update date @access public More... | |
| getDiskUsage () | |
| Gets the disk usage of the object in bytes. More... | |
| create () | |
| create More... | |
| update () | |
| update object in db More... | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree ($a_parent_ref) | |
| maybe this method should be in tree object!? More... | |
| setPermissions ($a_parent_ref) | |
| set permissions of object More... | |
| setParentRolePermissions ($a_parent_ref) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| count references of object More... | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | |
| applyDidacticTemplate ($a_tpl_id) | |
| Apply template. More... | |
| setRegisterMode ($a_bool) | |
| isUserRegistered ($a_user_id=0) | |
| requireRegistration () | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo ($a_target_id, $a_copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData ($target_obj) | |
| Copy meta data. More... | |
| getPossibleSubObjects ($a_filter=true) | |
| get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | getBasicZipPath () |
| Get basic zip path. More... | |
| static | _writeUpToDate ($a_id, $a_up_to_date) |
| Write up to date. More... | |
| static | _lookupUpToDate ($a_id) |
| Looup up to date. More... | |
| static | _writeStandard ($a_id, $a_std) |
| Write standard flag. More... | |
| static | _writeScope ($a_id, $a_scope) |
| Write scope. More... | |
| static | _lookupStandard ($a_id) |
| Lookup standard flag. More... | |
| static | _writeActive ($a_id, $a_active) |
| Write active flag. More... | |
| static | _lookupActive ($a_id) |
| Lookup active flag. More... | |
| static | _getStandardStyles ( $a_exclude_default_style=false, $a_include_deactivated=false, $a_scope=0) |
| Get standard styles. More... | |
| static | _getClonableContentStyles () |
| Get all clonable styles (active standard styles and individual learning module styles with write permission). More... | |
| static | _getBasicStyleDom () |
| Get basic style dom. More... | |
| static | getBasicImageDir () |
| Get basic image dir. More... | |
| static | _createImagesDirectory ($a_style_id) |
| Create images directory <data_dir>/sty/sty_<id>/images. More... | |
| static | _getImagesDirectory ($a_style_id) |
| Get images directory. More... | |
| static | getEffectiveContentStyleId ($a_style_id, $a_type="") |
| Get effective Style Id. More... | |
| static | getContentStylePath ($a_style_id, $add_random=true, $add_token=true) |
| get content style path More... | |
| static | getContentPrintStyle () |
| get content print style More... | |
| static | getSyntaxStylePath () |
| get syntax style path More... | |
| static | getPlaceHolderStylePath () |
| get placeholder style path (for Page Layouts) More... | |
| static | _replaceStylePar ($style_id, $a_tag, $a_class, $a_par, $a_val, $a_type, $a_mq_id=0, $a_custom=false) |
| static | _getStyleParameterInputType ($par) |
| static | _getStyleParameterSubPar ($par) |
| static | _getStyleParameters ($a_tag="") |
| static | _getFilteredGroups () |
| static | _getStyleParameterNumericUnits ($a_no_percentage=false) |
| static | _getStyleParameterValues ($par) |
| static | _getStyleSuperTypes () |
| static | _isExpandable ($a_type) |
| static | _isHideable ($a_type) |
| static | _getStyleSuperTypeForType ($a_type) |
| static | _getCoreStyles () |
| Get core styles. More... | |
| static | isCoreStyle ($a_type, $a_class) |
| Is core style. More... | |
| static | _getTemplateClassTypes ($a_template_type="") |
| Get template class types. More... | |
| static | _getPseudoClasses ($tag) |
| static | _determineTag ($a_type) |
| static | getAvailableParameters () |
| Get available parameters. More... | |
| static | _addMissingStyleClassesToStyle ($a_id) |
| Add missing style classes to all styles. More... | |
| static | _addMissingStyleClassesToAllStyles ($a_styles="") |
| Add missing style classes to all styles todo: add mq_id and custom handling. More... | |
| static | _getColorFlavor ($a_rgb, $a_i) |
| Get color flavor. More... | |
| static | _explodeRGB ($a_rgb, $as_dec=false) |
| Explode an RGB string into an array. More... | |
| static | _RGBToHLS ($a_rgb) |
| RGB to HLS (both arrays, 0..255) More... | |
| static | _HLSToRGB ($a_hls) |
| HLS to RGB (both arrays, 0..255) More... | |
| static | _lookupTemplateName ($a_t_id) |
| Lookup table template name for template ID. More... | |
| static | _lookupTemplateIdByName ($a_style_id, $a_name) |
| Lookup table template preview. More... | |
| static | writeStyleUsage ($a_obj_id, $a_style_id) |
| Write style usage. More... | |
| static | lookupObjectStyle ($a_obj_id) |
| Lookup object style. More... | |
| static | lookupObjectForStyle ($a_style_id) |
| Lookup object style. More... | |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId ($a_import_id) |
| static | _lookupImportId ($a_obj_id) |
| static | _lookupOwnerName ($a_owner_id) |
| lookup owner name for owner id More... | |
| static | _getIdForImportId ($a_import_id) |
| get current object id for import id (static) More... | |
| static | _getAllReferences ($a_id) |
| get all reference ids of object More... | |
| static | _lookupTitle ($a_id) |
| lookup object title More... | |
| static | lookupOfflineStatus ($a_obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner ($a_id) |
| lookup object owner More... | |
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
| static | _lookupDescription ($a_id) |
| lookup object description More... | |
| static | _lookupLastUpdate ($a_id, $a_as_string=false) |
| lookup last update More... | |
| static | _getLastUpdateOfObjects ($a_objs) |
| Get last update for a set of media objects. More... | |
| static | _lookupObjId ($a_id) |
| static | _setDeletedDate ($a_ref_id, $a_deleted_by) |
| static | setDeletedDates ($a_ref_ids, $a_user_id) |
| Set deleted date. More... | |
| static | _resetDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _lookupDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _writeTitle ($a_obj_id, $a_title) |
| write title to db (static) More... | |
| static | _writeDescription ($a_obj_id, $a_desc) |
| write description to db (static) More... | |
| static | _writeImportId ($a_obj_id, $a_import_id) |
| write import id to db (static) More... | |
| static | _lookupType ($a_id, $a_reference=false) |
| lookup object type More... | |
| static | _isInTrash ($a_ref_id) |
| checks wether object is in trash More... | |
| static | _hasUntrashedReference ($a_obj_id) |
| checks wether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId ($a_ref_id) |
| lookup object id More... | |
| static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) |
| checks if an object exists in object_data@access public More... | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") |
| Get objects by type. More... | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon ( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies ($a_obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $a_obj_ids) |
| Get long description data. More... | |
| static | getAllOwnedRepositoryObjects ($a_user_id) |
| Get all ids of objects user owns. More... | |
| static | fixMissingTitles ($a_type, array &$a_obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate ($a_id) |
| Lookup creation date. More... | |
| static | hasAutoRating ($a_type, $a_ref_id) |
| Check if auto rating is active for parent group/course. More... | |
Data Fields | |
| $style | |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| max length of object title More... | |
| const | DESC_LENGTH = 128 |
| $lng | |
| $id | |
| $ref_id | |
| $type | |
| $title | |
| $untranslatedTitle | |
| $desc | |
| $long_desc | |
| $owner | |
| $create_date | |
| $last_update | |
| $import_id | |
| $register = false | |
| $referenced | |
| $objectList | |
| $max_title | |
| $max_desc | |
| $add_dots | |
Static Public Attributes | |
| static | $num_unit = array("px", "em", "ex", "%", "pt", "pc", "in", "mm", "cm") |
| static | $num_unit_no_perc = array("px", "em", "ex", "pt", "pc", "in", "mm", "cm") |
| static | $parameter |
| static | $filtered_groups |
| static | $style_super_types |
| static | $expandable_types |
| static | $hideable_types |
| static | $assigned_tags |
| static | $pseudo_classes |
| static | $core_styles |
| static | $templates |
Static Protected Attributes | |
| static | $basic_style_file = "./libs/ilias/Style/basic_style/style.xml" |
| static | $basic_style_zip = "./libs/ilias/Style/basic_style/style.zip" |
| static | $basic_style_image_dir = "./libs/ilias/Style/basic_style/images" |
| static | $basic_style_dom |
Additional Inherited Members | |
Protected Attributes inherited from ilObject | |
| $objDefinition | |
| $db | |
| $log | |
| $error | |
| $tree | |
| $app_event_handler | |
| $rbacadmin | |
| $rbacreview | |
Class ilObjStyleSheet.
Definition at line 15 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::__construct | ( | $a_id = 0, |
|
$a_call_by_reference = false |
|||
| ) |
Constructor @access public.
| integer | reference_id or object_id |
| boolean | treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilObject.
Definition at line 559 of file class.ilObjStyleSheet.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
Add missing style classes to all styles todo: add mq_id and custom handling.
Definition at line 2539 of file class.ilObjStyleSheet.php.
References $basic_style_image_dir, $core_styles, $DIC, ilObject\$id, $ilDB, $style, _createImagesDirectory(), _getBasicStyleDom(), _getCoreStyles(), _getImagesDirectory(), and ilObject\_getObjectsDataForType().
Referenced by _addMissingStyleClassesToStyle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add missing style classes to all styles.
Definition at line 2529 of file class.ilObjStyleSheet.php.
References _addMissingStyleClassesToAllStyles().
Referenced by import(), and ilObjStyleSheetGUI\saveObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Create images directory <data_dir>/sty/sty_<id>/images.
Definition at line 1279 of file class.ilObjStyleSheet.php.
References $DIC, $ilErr, ilUtil\getWebspaceDir(), and ilUtil\makeDir().
Referenced by _addMissingStyleClassesToAllStyles(), create(), and createImagesDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2507 of file class.ilObjStyleSheet.php.
Referenced by _getCoreStyles(), copyCharacteristic(), ilObjStyleSheetGUI\deleteTemplateObject(), ilStyleTableGUI\fillRow(), getXML(), and ilObjStyleSheetGUI\saveCharacteristicObject().
Here is the caller graph for this function:
|
static |
Explode an RGB string into an array.
Definition at line 3043 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Get basic style dom.
Definition at line 863 of file class.ilObjStyleSheet.php.
References $basic_style_dom.
Referenced by _addMissingStyleClassesToAllStyles().
Here is the caller graph for this function:
|
static |
Get all clonable styles (active standard styles and individual learning module styles with write permission).
Definition at line 809 of file class.ilObjStyleSheet.php.
References $DIC, ilObject\$id, $ilDB, ilObject\$ref_id, ilObject\_getAllReferences(), ilObjContentObject\_lookupContObjIdByStyleId(), ilObject\_lookupTitle(), and lookupObjectForStyle().
Referenced by ilObjStyleSheetGUI\createObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get color flavor.
Definition at line 3019 of file class.ilObjStyleSheet.php.
References _explodeRGB(), _HLSToRGB(), and _RGBToHLS().
Referenced by ilStyleColorTableGUI\fillRow(), and getColorCodeForName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get core styles.
Definition at line 2455 of file class.ilObjStyleSheet.php.
References _determineTag().
Referenced by ilStyleTableGUI\__construct(), _addMissingStyleClassesToAllStyles(), deleteCharacteristic(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), and ilObjStyleSheetGUI\deleteCoreCharMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2402 of file class.ilObjStyleSheet.php.
References $filtered_groups.
Referenced by ilObjStyleSheetGUI\getValues(), and ilObjStyleSheetGUI\initTagStyleForm().
Here is the caller graph for this function:
|
static |
Get images directory.
Definition at line 1327 of file class.ilObjStyleSheet.php.
References ilUtil\getWebspaceDir().
Referenced by _addMissingStyleClassesToAllStyles(), getImagesDirectory(), ilStyleDataSet\getXmlRecord(), and ilStyleDataSet\importRecord().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2497 of file class.ilObjStyleSheet.php.
|
static |
Get standard styles.
Definition at line 763 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, $ilSetting, $res, ilObject\$tree, and ilObject\_lookupTitle().
Referenced by ilObjContentPageGUI\buildStylePropertiesForm(), ilPageLayoutGUI\initForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjBlogGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjPortfolioBaseGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), and ilObjSCORM2004LearningModuleGUI\properties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2374 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\initTagStyleForm().
Here is the caller graph for this function:
|
static |
Definition at line 2407 of file class.ilObjStyleSheet.php.
References $num_unit, and $num_unit_no_perc.
Referenced by ilBackgroundPositionInputGUI\insert(), ilFontSizeInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), and ilTRBLNumericStyleValueInputGUI\insert().
Here is the caller graph for this function:
|
static |
Definition at line 2386 of file class.ilObjStyleSheet.php.
References $parameter.
Referenced by ilObjStyleSheetGUI\getValues(), and ilObjStyleSheetGUI\saveTagStyle().
Here is the caller graph for this function:
|
static |
Definition at line 2380 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 2415 of file class.ilObjStyleSheet.php.
Referenced by ilBackgroundPositionInputGUI\insert(), ilFontSizeInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), and ilTRBLBorderWidthInputGUI\insert().
Here is the caller graph for this function:
|
static |
Definition at line 2440 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\__construct().
Here is the caller graph for this function:
|
static |
Definition at line 2425 of file class.ilObjStyleSheet.php.
References $style_super_types.
Referenced by ilStyleTableGUI\__construct(), ilObjStyleSheetGUI\editObject(), ilStyleTableGUI\fillRow(), ilObjStyleSheetGUI\initCharacteristicForm(), and ilObjStyleSheetGUI\setSubTabs().
Here is the caller graph for this function:
|
static |
Get template class types.
Definition at line 2487 of file class.ilObjStyleSheet.php.
References $templates.
Referenced by create(), ilObjStyleSheetGUI\getTemplateFormValues(), getTemplateXML(), getXML(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjStyleSheetGUI\setTemplatesSubTabs(), and ilObjStyleSheetGUI\updateTemplateObject().
Here is the caller graph for this function:
|
static |
HLS to RGB (both arrays, 0..255)
Definition at line 3103 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Definition at line 2430 of file class.ilObjStyleSheet.php.
Referenced by ilStyleTableGUI\__construct(), ilObjStyleSheetGUI\editObject(), and ilObjStyleSheetGUI\initCharacteristicForm().
Here is the caller graph for this function:
|
static |
Definition at line 2435 of file class.ilObjStyleSheet.php.
Referenced by ilStyleTableGUI\__construct(), and ilStyleTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Lookup active flag.
Definition at line 746 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $res.
Referenced by ilContentStyleSettingsGUI\edit().
Here is the caller graph for this function:
|
static |
Lookup standard flag.
Definition at line 714 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjCategoryGUI\afterSave(), ilObjContentPageGUI\buildStylePropertiesForm(), ilObjPortfolioBase\cloneBasics(), ilObjGlossary\cloneObject(), ilObjContentObject\cloneObject(), ilObjWiki\cloneObject(), ilObjSCORM2004LearningModule\copyAuthoredContent(), ilObjBlog\doCloneObject(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjBlogGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjPortfolioBaseGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORM2004LearningModuleGUI\saveProperties(), ilObjBlogGUI\saveStyleSettings(), ilObjContentPageGUI\saveStyleSettings(), ilObjGlossaryGUI\saveStyleSettings(), ilObjContentObjectGUI\saveStyleSettings(), ilObjPortfolioBaseGUI\saveStyleSettings(), ilObjSCORM2004LearningModuleGUI\saveStyleSettings(), ilObjWikiGUI\saveStyleSettingsObject(), and ilContainerGUI\saveStyleSettingsObject().
Here is the caller graph for this function:
|
static |
Lookup table template preview.
Definition at line 3583 of file class.ilObjStyleSheet.php.
Referenced by ilPCTabsGUI\getFormValues(), and ilPCTableGUI\getPropertiesFormValues().
Here is the caller graph for this function:
|
static |
Lookup table template name for template ID.
Definition at line 3482 of file class.ilObjStyleSheet.php.
Referenced by lookupTemplateName(), and ilObjStyleSheetGUI\updateTemplateObject().
Here is the caller graph for this function:
|
static |
Looup up to date.
Definition at line 667 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $res.
Referenced by getContentStylePath().
Here is the caller graph for this function:
|
static |
Definition at line 1923 of file class.ilObjStyleSheet.php.
References $DIC, ilObject\$id, and $ilDB.
Referenced by replaceStylePar().
Here is the caller graph for this function:
|
static |
RGB to HLS (both arrays, 0..255)
Definition at line 3061 of file class.ilObjStyleSheet.php.
References Vendor\Package\$b.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Write active flag.
Definition at line 731 of file class.ilObjStyleSheet.php.
Referenced by ilContentStyleSettingsGUI\saveActiveStyles().
Here is the caller graph for this function:
|
static |
Write scope.
Definition at line 699 of file class.ilObjStyleSheet.php.
Referenced by ilContentStyleSettingsGUI\saveScope().
Here is the caller graph for this function:
|
static |
Write standard flag.
Definition at line 684 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\copyStyleObject(), ilObjStyleSheetGUI\importStyleObject(), and ilObjStyleSheetGUI\saveObject().
Here is the caller graph for this function:
|
static |
Write up to date.
Definition at line 652 of file class.ilObjStyleSheet.php.
Referenced by addCharacteristic(), deleteCharacteristic(), ilObjStyleSheetGUI\pasteCharacteristicsObject(), updateColor(), and writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::addCharacteristic | ( | $a_type, | |
| $a_char, | |||
$a_hidden = false |
|||
| ) |
Add characteristic.
Definition at line 1062 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, _writeUpToDate(), ilObject\getId(), and setUpToDate().
Referenced by copyCharacteristic().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::addColor | ( | $a_name, | |
| $a_code | |||
| ) |
Add color.
Definition at line 2900 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by copyCharacteristic(), and create().
Here is the caller graph for this function:| ilObjStyleSheet::addMediaQuery | ( | $a_mquery, | |
$order_nr = 0 |
|||
| ) |
Add media query.
| string | $a_mquery | media query |
Definition at line 3196 of file class.ilObjStyleSheet.php.
References ilObject\$db, ilObject\$id, $ilDB, and getMaxMQueryOrderNr().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::addParameter | ( | $a_tag, | |
| $a_par, | |||
| $a_type, | |||
$a_mq_id = 0, |
|||
$a_custom = false |
|||
| ) |
write style parameter to db
todo check usages add mq_id
| string | $a_tag | tag name (tag.class, e.g. "div.Mnemonic") |
| string | $a_par | tag parameter (e.g. "margin-left") |
| string | $a_type | style type (e.g. "section") |
Definition at line 1241 of file class.ilObjStyleSheet.php.
References ilObject\$db, ilObject\$id, $ilDB, getAvailableParameters(), ilObject\getId(), read(), and writeCSSFile().
Here is the call graph for this function:| ilObjStyleSheet::addTemplate | ( | $a_type, | |
| $a_name, | |||
| $a_classes | |||
| ) |
Add table template.
Definition at line 3359 of file class.ilObjStyleSheet.php.
References $c, ilObject\$db, $ilDB, ilObjStyleSheetGUI\_getTemplatePreview(), and writeTemplatePreview().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::addTemplateClass | ( | $a_t_id, | |
| $a_type, | |||
| $a_class | |||
| ) |
Update table template.
Definition at line 3421 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::assignMetaData | ( | & | $a_meta_data | ) |
assign meta data object
Definition at line 855 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::characteristicExists | ( | $a_char, | |
| $a_style_type | |||
| ) |
Check whether characteristic exists.
Definition at line 1044 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Referenced by copyCharacteristic().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::cleanExportDirectory | ( | ) |
Clear export directory.
Definition at line 2087 of file class.ilObjStyleSheet.php.
References ilUtil\delDir(), ilUtil\getDataDir(), and ilObject\getId().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::colorExists | ( | $a_color_name | ) |
Check whether color exists.
Definition at line 2974 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by copyCharacteristic().
Here is the caller graph for this function:| ilObjStyleSheet::copyCharacteristic | ( | $a_from_style_id, | |
| $a_from_type, | |||
| $a_from_char, | |||
| $a_to_char | |||
| ) |
Copy characteristic.
return
Definition at line 1084 of file class.ilObjStyleSheet.php.
References $c, ilObject\$db, $ilDB, _determineTag(), addCharacteristic(), addColor(), characteristicExists(), colorExists(), deleteStyleParOfChar(), and replaceStylePar().
Here is the call graph for this function:| ilObjStyleSheet::copyImagesToDir | ( | $a_target | ) |
Copy images to directory.
Definition at line 1227 of file class.ilObjStyleSheet.php.
References getImagesDirectory(), and ilUtil\rCopy().
Here is the call graph for this function:| ilObjStyleSheet::create | ( | $a_from_style = 0, |
|
$a_import_mode = false |
|||
| ) |
Create a new style.
Definition at line 894 of file class.ilObjStyleSheet.php.
References $c, ilObject\$db, ilObject\$id, $ilDB, $templates, _createImagesDirectory(), _getTemplateClassTypes(), addColor(), addMediaQuery(), addTemplate(), createFromXMLFile(), createImagesDirectory(), ilObject\getId(), getImagesDirectory(), getScope(), ilUtil\rCopy(), read(), and writeCSSFile().
Here is the call graph for this function:| ilObjStyleSheet::createExportDirectory | ( | ) |
Create export directory.
Definition at line 2057 of file class.ilObjStyleSheet.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
Referenced by createExportSubDirectory(), and export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createExportSubDirectory | ( | ) |
Create export directory.
Definition at line 2103 of file class.ilObjStyleSheet.php.
References createExportDirectory(), getExportSubDir(), and ilUtil\makeDir().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createFromXMLFile | ( | $a_file, | |
$a_skip_parent_create = false |
|||
| ) |
create style from xml file todo: add mq_id and custom
Definition at line 2278 of file class.ilObjStyleSheet.php.
References ilObject\$db, ilObject\$id, $ilDB, $style, do_3_10_Migration(), ilObject\getId(), read(), and update().
Referenced by create(), and import().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createImagesDirectory | ( | ) |
Create images directory <data_dir>/sty/sty_<id>/images.
Definition at line 1270 of file class.ilObjStyleSheet.php.
References _createImagesDirectory(), and ilObject\getId().
Referenced by create(), import(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createImportDirectory | ( | ) |
Create import directory.
Definition at line 2193 of file class.ilObjStyleSheet.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
Referenced by import().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createReference | ( | ) |
Create a reference (show error message, since styles do not use ref ids)
Reimplemented from ilObject.
Definition at line 612 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::delete | ( | ) |
delete style object
Reimplemented from ilObject.
Definition at line 1483 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, ilObjContentObject\_deleteStyleAssignments(), ilObject\getId(), and ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilObjStyleSheet::deleteCharacteristic | ( | $a_type, | |
| $a_tag, | |||
| $a_class | |||
| ) |
Delete Characteristic.
Definition at line 1015 of file class.ilObjStyleSheet.php.
References $core_styles, ilObject\$db, $ilDB, _getCoreStyles(), _writeUpToDate(), ilObject\getId(), and setUpToDate().
Here is the call graph for this function:| ilObjStyleSheet::deleteCustomStylePars | ( | $a_tag, | |
| $a_class, | |||
| $a_type, | |||
$a_mq_id = 0 |
|||
| ) |
Delete style parameter by tag/class/parameter.
| string | $a_tag | tag |
| string | $a_class | class |
| string | $a_par | parameter |
| string | $a_type | type |
| string | $a_mq_id | media query id |
Definition at line 1444 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::deleteImage | ( | $a_file | ) |
Delete an image.
Definition at line 1386 of file class.ilObjStyleSheet.php.
References getImagesDirectory(), and getThumbnailsDirectory().
Here is the call graph for this function:| ilObjStyleSheet::deleteMediaQuery | ( | $a_id | ) |
Delete media query.
| int | $a_id | media query id |
Definition at line 3272 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and saveMediaQueryOrder().
Here is the call graph for this function:| ilObjStyleSheet::deleteParameter | ( | $a_id | ) |
delete style parameter
| int | $a_id | style parameter id |
Definition at line 1401 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::deleteStylePar | ( | $a_tag, | |
| $a_class, | |||
| $a_par, | |||
| $a_type, | |||
$a_mq_id = 0, |
|||
$a_custom = false |
|||
| ) |
Delete style parameter by tag/class/parameter.
| string | $a_tag | tag |
| string | $a_class | class |
| string | $a_par | parameter |
| string | $a_type | type |
| string | $a_mq_id | media query id |
Definition at line 1419 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::deleteStyleParOfChar | ( | $a_type, | |
| $a_class | |||
| ) |
Delete style parameters of characteristic.
| string | tag |
| string | class |
| string | parameter |
| string | type |
Definition at line 1467 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Referenced by copyCharacteristic().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::determineTemplateStyleClassType | ( | $t, | |
| $k | |||
| ) |
Definition at line 2502 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::do_3_10_CharMigration | ( | $a_id = "" | ) |
This is more or less a copy of Services/Migration/DBUpdate_1385/classes ilStyleMigration->addMissingStyleCharacteristics()
Any changes here may also be interesting there.
Definition at line 2695 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by do_3_10_Migration().
Here is the caller graph for this function:| ilObjStyleSheet::do_3_10_Migration | ( | ) |
Migrates 3.10 style to 3.11 style.
Definition at line 2633 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, do_3_10_CharMigration(), do_3_9_Migration(), and ilObject\getId().
Referenced by createFromXMLFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::do_3_9_Migration | ( | $a_id | ) |
Migrate old 3.9 styles.
Definition at line 2831 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by do_3_10_Migration().
Here is the caller graph for this function:| ilObjStyleSheet::export | ( | ) |
Create export file.
Definition at line 2145 of file class.ilObjStyleSheet.php.
References cleanExportDirectory(), createExportDirectory(), createExportSubDirectory(), exportXML(), getExportSubDir(), getImagesDirectory(), ilUtil\rCopy(), and ilUtil\zip().
Here is the call graph for this function:| ilObjStyleSheet::exportXML | ( | $a_dir | ) |
export style xml file to directory
Definition at line 2170 of file class.ilObjStyleSheet.php.
References getXML().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get available parameters.
Definition at line 2515 of file class.ilObjStyleSheet.php.
Referenced by addParameter().
Here is the caller graph for this function:
|
static |
Get basic image dir.
Definition at line 885 of file class.ilObjStyleSheet.php.
References $basic_style_image_dir.
Referenced by ilCOPageHTMLExport\exportStyles().
Here is the caller graph for this function:
|
static |
Get basic zip path.
Definition at line 579 of file class.ilObjStyleSheet.php.
References $basic_style_zip.
Referenced by ilObjStyleSheetGUI\saveObject().
Here is the caller graph for this function:| ilObjStyleSheet::getCharacteristics | ( | $a_type = "", |
|
$a_no_hidden = false, |
|||
$a_include_core = true |
|||
| ) |
Get characteristics.
Definition at line 1127 of file class.ilObjStyleSheet.php.
References $c.
| ilObjStyleSheet::getColorCodeForName | ( | $a_name | ) |
Remove a color.
Definition at line 2990 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and _getColorFlavor().
Referenced by writeCSSFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getColors | ( | ) |
Get colors of style.
Definition at line 2878 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by getXML().
Here is the caller graph for this function:
|
static |
get content print style
static
Definition at line 1858 of file class.ilObjStyleSheet.php.
Referenced by ilObjPortfolioGUI\printView().
Here is the caller graph for this function:
|
static |
get content style path
static (to avoid full reading)
Definition at line 1810 of file class.ilObjStyleSheet.php.
References $DIC, $ilSetting, $style, ilObject\_exists(), _lookupUpToDate(), ilUtil\getWebspaceDir(), and ilWACSignedPath\signFile().
Referenced by ilBlogPostingGUI\__construct(), ilPageLayoutGUI\__construct(), ilPortfolioPageGUI\__construct(), ilImprintGUI\__construct(), ilAssQuestionPreviewGUI\__construct(), ilDclDetailedViewGUI\__construct(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilPageObjectGUI\displayMedia(), assOrderingQuestionGUI\editNesting(), ilObjCategoryGUI\executeCommand(), ilObjContentPageGUI\executeCommand(), ilLOEditorGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilAssQuestionHintsGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilContainerStartObjectsGUI\executeCommand(), ilScormExportUtil\exportContentCSS(), ilCOPageHTMLExport\exportStyles(), ilAssQuestionPageCommandForwarder\forward(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getConfig(), ilContainerGUI\getContainerPageHTML(), ILIAS\Blog\Export\BlogHtmlExport\getInitialisedTemplate(), ILIAS\Portfolio\Export\PortfolioHtmlExport\getInitialisedTemplate(), ilContainerStartObjectsContentGUI\getPageHTML(), ilCOPageHTMLExport\getPreparedMainTemplate(), ilObjStyleSheetGUI\includeCSS(), ilCOPageHTMLExport\initResourceTemplate(), ILIAS\Glossary\Export\GlossaryHtmlExport\initScreen(), ilObjContentPageGUI\initStyleSheets(), ilAssQuestionPreviewGUI\initStyleSheets(), ilGlossaryTermGUI\listDefinitions(), ilLMEditorGUI\main_header(), ilGlossaryPresentationGUI\media(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestServiceGUI\outCorrectSolution(), ilObjStyleSheetGUI\outputTagStyleEditScreen(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilObjPortfolioGUI\printView(), ilObjStyleSheetGUI\propertiesObject(), ilContentPageKioskModeView\renderContentStyle(), ilLearningModuleKioskModeView\renderContentStyle(), ilSCORM2004ScoGUI\sco_preview(), ilSCORM2004NodeGUI\setContentStyle(), ilAssQuestionFeedbackEditingGUI\setContentStyle(), ilGlossaryPresentationGUI\setContentStyles(), ilLMPresentationGUI\setContentStyles(), ilObjBlogGUI\setContentStyleSheet(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjPortfolioBaseGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), ilPCParagraphGUI\setStyle(), ilAssQuestionFeedbackEditingGUI\showFeedbackFormCmd(), ilStartUpGUI\showLoginPage(), ilObjMediaPoolGUI\showMedia(), ilContainerObjectiveGUI\showObjectives(), ilMediaPoolPageGUI\showPage(), ilObjMediaPoolGUI\showPage(), ilTestCorrectionsGUI\showSolution(), and ilContObjectManifestBuilder\writeResources().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get effective Style Id.
| integer | style id that may be set in object |
| string | object type |
Definition at line 1767 of file class.ilObjStyleSheet.php.
References $DIC, $ilSetting, and ilObject\_lookupType().
Referenced by ilMediaPoolPageGUI\__construct(), ilPageLayoutGUI\__construct(), ILIAS\LearningModule\Export\LMHtmlExport\__construct(), ilLMPresentationGUI\basicPageGuiInit(), ilGlossaryPresentationGUI\basicPageGuiInit(), ilContentPagePageCommandForwarder\buildEmbeddedPresentationPageObjectGUI(), ILIAS\Wiki\Export\WikiHtmlExport\buildExportFile(), ilContentPagePageCommandForwarder\buildPresentationPageObjectGUI(), ilContentPagePageCommandForwarder\buildPreviewPageObjectGUI(), ilObjBlogGUI\executeCommand(), ilLOEditorGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilSCORM2004PageNodeGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilContainerStartObjectsGUI\executeCommand(), ILIAS\Services\Export\HTML\Util\exportCOPageFiles(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilContainerStartObjectsContentGUI\getPageHTML(), ilContentPagePageCommandForwarder\getPageObjectGUI(), ilContainerExporter\getXmlExportTailDependencies(), ilObjPortfolioBaseGUI\handlePageCall(), ilObjSCORM2004LearningModule\prepareHTMLExporter(), ilContainerObjectiveGUI\renderObjective(), ilDclDetailedViewGUI\renderRecord(), ilGlossaryPresentationGUI\setContentStyles(), ilObjWikiGUI\setContentStyleSheet(), ilLMPresentationGUI\showPrintView(), and ilObjWikiGUI\viewPageObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getExportSubDir | ( | ) |
The local directory, that will be included within the zip file.
Definition at line 2131 of file class.ilObjStyleSheet.php.
References ilObject\getId().
Referenced by createExportSubDirectory(), and export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getHideStatus | ( | $a_type, | |
| $a_char | |||
| ) |
Get characteristic hide status.
Definition at line 1183 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::getImages | ( | ) |
Get images of style.
Definition at line 1345 of file class.ilObjStyleSheet.php.
References ilUtil\getDir(), and getImagesDirectory().
Here is the call graph for this function:| ilObjStyleSheet::getImagesDirectory | ( | ) |
Get images directory.
Definition at line 1319 of file class.ilObjStyleSheet.php.
References _getImagesDirectory(), and ilObject\getId().
Referenced by copyImagesToDir(), create(), deleteImage(), export(), getImages(), getThumbnailsDirectory(), import(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getMaxMQueryOrderNr | ( | ) |
Get maximum media query order nr.
Definition at line 3220 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by addMediaQuery().
Here is the caller graph for this function:| ilObjStyleSheet::getMediaQueries | ( | ) |
Get colors of style.
Definition at line 3176 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by saveMediaQueryOrder(), and writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::getMediaQueryForId | ( | $a_id | ) |
Get media query for id.
return
Definition at line 3256 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| & ilObjStyleSheet::getMetaData | ( | ) |
get meta data object
Definition at line 876 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getParametersOfClass | ( | $a_type, | |
| $a_class, | |||
$a_mq_id = 0 |
|||
| ) |
Get parameters of class.
return
Definition at line 1797 of file class.ilObjStyleSheet.php.
|
static |
get placeholder style path (for Page Layouts)
static
Definition at line 1878 of file class.ilObjStyleSheet.php.
Referenced by ilPageLayoutGUI\__construct(), ilPortfolioPageGUI\__construct(), ilPCPlaceHolder\getCssFiles(), ilSCORM2004NodeGUI\setContentStyle(), ilPortfolioTemplatePageGUI\showPage(), and ilPageObjectGUI\showPage().
Here is the caller graph for this function:| ilObjStyleSheet::getRefId | ( | ) |
Get ref id (show error message, since styles do not use ref ids)
Reimplemented from ilObject.
Definition at line 595 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getScope | ( | ) |
Get scope.
Definition at line 644 of file class.ilObjStyleSheet.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjStyleSheet::getStyle | ( | ) |
todo: bad style! should return array of objects, not multi-dim-arrays
Definition at line 1975 of file class.ilObjStyleSheet.php.
References $style.
Referenced by writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::getStyleParameterGroups | ( | ) |
Get grouped parameter.
Definition at line 2364 of file class.ilObjStyleSheet.php.
References $parameter.
|
static |
get syntax style path
static
Definition at line 1868 of file class.ilObjStyleSheet.php.
Referenced by ilWikiPageGUI\__construct(), ilBlogPostingGUI\__construct(), ilPageLayoutGUI\__construct(), ilPortfolioPageGUI\__construct(), ilImprintGUI\__construct(), ilAssQuestionPreviewGUI\__construct(), ilDclDetailedViewGUI\__construct(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmDefinitionDeletion(), assOrderingQuestionGUI\editNesting(), ilObjContentPageGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilCOPageHTMLExport\exportStyles(), ilAssQuestionPageCommandForwarder\forward(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilContainerStartObjectsContentGUI\getPageHTML(), ilCOPageHTMLExport\getPreparedMainTemplate(), ilCOPageHTMLExport\initResourceTemplate(), ilObjContentPageGUI\initStyleSheets(), ilAssQuestionPreviewGUI\initStyleSheets(), ilGlossaryTermGUI\listDefinitions(), ilLMEditorGUI\main_header(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestServiceGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), ilObjPortfolioGUI\printView(), ilContentPageKioskModeView\renderContentStyle(), ilLearningModuleKioskModeView\renderContentStyle(), ilSCORM2004NodeGUI\setContentStyle(), ilGlossaryPresentationGUI\setContentStyles(), ilLMPresentationGUI\setContentStyles(), ilObjWikiGUI\setContentStyleSheet(), ilStartUpGUI\showLoginPage(), ilContainerObjectiveGUI\showObjectives(), ilObjMediaPoolGUI\showPage(), and ilTestCorrectionsGUI\showSolution().
Here is the caller graph for this function:| ilObjStyleSheet::getTemplate | ( | $a_t_id | ) |
Get template.
Definition at line 3454 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and getTemplateClasses().
Here is the call graph for this function:| ilObjStyleSheet::getTemplateClasses | ( | $a_tid | ) |
Get template classes.
Definition at line 3340 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by getTemplate(), and getTemplates().
Here is the caller graph for this function:| ilObjStyleSheet::getTemplates | ( | $a_type | ) |
Get table templates of style.
Definition at line 3319 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $templates, and getTemplateClasses().
Referenced by getTemplateXML(), and getXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getTemplateXML | ( | ) |
Get table template xml.
Definition at line 3501 of file class.ilObjStyleSheet.php.
References $c, ilObject\$db, $ilDB, ilObject\$type, _getTemplateClassTypes(), and getTemplates().
Here is the call graph for this function:| ilObjStyleSheet::getThumbnailsDirectory | ( | ) |
Get thumbnails directory.
Definition at line 1336 of file class.ilObjStyleSheet.php.
References getImagesDirectory().
Referenced by deleteImage(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getUpToDate | ( | ) |
Get up to date.
Definition at line 628 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getXML | ( | ) |
get xml representation of style object todo: add mq_id
Definition at line 2004 of file class.ilObjStyleSheet.php.
References $c, $style, $xml, _determineTag(), _getTemplateClassTypes(), getColors(), ilObject\getDescription(), getTemplates(), ilObject\getTitle(), and handleXmlString().
Referenced by exportXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::handleXmlString | ( | $a_str | ) |
Handle xml strin.
return
Definition at line 1995 of file class.ilObjStyleSheet.php.
Referenced by getXML().
Here is the caller graph for this function:| ilObjStyleSheet::ilClone | ( | ) |
clone style sheet (note: styles have no ref ids and return an object id)
@access public
Definition at line 1204 of file class.ilObjStyleSheet.php.
References ilObject\$lng, ilObject\getDescription(), ilObject\getId(), ilObject\getTitle(), ilObject\getType(), and lookupStyleSetting().
Here is the call graph for this function:| ilObjStyleSheet::import | ( | $a_file | ) |
Import.
Definition at line 2223 of file class.ilObjStyleSheet.php.
References _addMissingStyleClassesToStyle(), createFromXMLFile(), createImagesDirectory(), createImportDirectory(), ilObject\getId(), getImagesDirectory(), ilUtil\moveUploadedFile(), ilUtil\rCopy(), read(), ilUtil\unzip(), and writeCSSFile().
Here is the call graph for this function:
|
static |
Is core style.
return
Definition at line 2473 of file class.ilObjStyleSheet.php.
|
static |
Lookup object style.
Definition at line 3697 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Referenced by _getClonableContentStyles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup object style.
Definition at line 3675 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Referenced by ilObjCategoryGUI\afterSave(), ilObjBlog\doRead(), ilObjPortfolioBase\doRead(), ilStyleDataSet\getDependencies(), ilBlogExporter\getXmlExportTailDependencies(), ilContainerExporter\getXmlExportTailDependencies(), ilBlogDataSet\getXmlRecord(), ilObjGlossary\read(), ilObjWiki\read(), ilContainer\read(), and ilContainerXmlWriter\writeSubitems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::lookupStyleSetting | ( | $a_name | ) |
Lookup style setting.
Definition at line 3640 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by ilClone().
Here is the caller graph for this function:| ilObjStyleSheet::lookupTemplateName | ( | $a_t_id | ) |
Lookup table template name for template ID.
Definition at line 3474 of file class.ilObjStyleSheet.php.
References _lookupTemplateName().
Here is the call graph for this function:| ilObjStyleSheet::lookupTemplatePreview | ( | $a_t_id | ) |
Lookup table template preview.
Definition at line 3567 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::putInTree | ( | $a_parent_ref | ) |
Put in tree (show error message, since styles do not use ref ids)
Reimplemented from ilObject.
Definition at line 604 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::read | ( | ) |
read style properties
Reimplemented from ilObject.
Definition at line 1533 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $res, ilObject\getId(), setScope(), and setUpToDate().
Referenced by addParameter(), create(), createFromXMLFile(), import(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::removeColor | ( | $a_name | ) |
Remove a color.
Definition at line 2962 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::removeTemplate | ( | $a_t_id | ) |
Remove table template.
Definition at line 3602 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::replaceStylePar | ( | $a_tag, | |
| $a_class, | |||
| $a_par, | |||
| $a_val, | |||
| $a_type, | |||
$a_mq_id = 0, |
|||
$a_custom = false |
|||
| ) |
Set style parameter per tag/class/parameter.
Definition at line 1918 of file class.ilObjStyleSheet.php.
References _replaceStylePar(), and ilObject\getId().
Referenced by copyCharacteristic(), and updateColor().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::saveHideStatus | ( | $a_type, | |
| $a_char, | |||
| $a_hide | |||
| ) |
Save characteristic hide status.
Definition at line 1167 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::saveMediaQueryOrder | ( | $a_order_nr = null | ) |
Save media query order.
| int | $a_order_nr | order nr |
Definition at line 3289 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, getMediaQueries(), and ilUtil\sortArray().
Referenced by deleteMediaQuery().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::setCharacteristics | ( | $a_chars | ) |
Set characteristics.
Definition at line 1158 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setExportSubDir | ( | $a_dir | ) |
Set local directory, that will be included within the zip file.
Definition at line 2123 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setRefId | ( | $a_ref_id | ) |
Set ref id (show error message, since styles do not use ref ids)
Reimplemented from ilObject.
Definition at line 587 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setScope | ( | $a_scope | ) |
Set scope.
Definition at line 636 of file class.ilObjStyleSheet.php.
Referenced by read().
Here is the caller graph for this function:| ilObjStyleSheet::setStyle | ( | $a_style | ) |
set styles
Definition at line 1983 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setUpToDate | ( | $a_up_to_date = true | ) |
Set style up to date (false + update will trigger css generation next time)
Definition at line 620 of file class.ilObjStyleSheet.php.
Referenced by addCharacteristic(), deleteCharacteristic(), read(), and writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::templateExists | ( | $a_template_name | ) |
Check whether template exists.
Definition at line 3438 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::update | ( | ) |
update object in db
@access public
Reimplemented from ilObject.
Definition at line 1883 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, ilObject\getId(), getScope(), read(), and writeCSSFile().
Referenced by createFromXMLFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::updateColor | ( | $a_name, | |
| $a_new_name, | |||
| $a_code | |||
| ) |
Update color.
Definition at line 2915 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, _writeUpToDate(), ilObject\getId(), and replaceStylePar().
Here is the call graph for this function:| ilObjStyleSheet::updateMediaQuery | ( | $a_id, | |
| $a_mquery | |||
| ) |
Update media query.
| int | $a_id | id |
| string | $a_mquery | media query |
Definition at line 3239 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::updateStyleParameter | ( | $a_id, | |
| $a_value | |||
| ) |
update style parameter per id
| int | $a_id | style parameter id |
| int | $a_id | style parameter value |
Definition at line 1903 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::updateTemplate | ( | $a_t_id, | |
| $a_name, | |||
| $a_classes | |||
| ) |
Update table template.
Definition at line 3395 of file class.ilObjStyleSheet.php.
References $c, ilObject\$db, and $ilDB.
| ilObjStyleSheet::uploadImage | ( | $a_file | ) |
Upload image.
Definition at line 1367 of file class.ilObjStyleSheet.php.
References createImagesDirectory(), getImagesDirectory(), getThumbnailsDirectory(), ilUtil\moveUploadedFile(), and ilUtil\resizeImage().
Here is the call graph for this function:| ilObjStyleSheet::writeCSSFile | ( | $a_target_file = "", |
|
$a_image_dir = "" |
|||
| ) |
write css file to webspace directory
Definition at line 1606 of file class.ilObjStyleSheet.php.
References $style, _writeUpToDate(), getColorCodeForName(), ilObject\getId(), getMediaQueries(), getStyle(), ilUtil\getWebspaceDir(), ilUtil\makeDirParents(), and setUpToDate().
Referenced by addParameter(), create(), import(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::writeStyleSetting | ( | $a_name, | |
| $a_value | |||
| ) |
Write Style Setting.
Definition at line 3619 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
|
static |
Write style usage.
Definition at line 3657 of file class.ilObjStyleSheet.php.
Referenced by ilObjCategoryGUI\afterSave(), ilObjWiki\create(), ilObjGlossary\create(), ilContainer\create(), ilObjBlog\doUpdate(), ilObjPortfolioBase\doUpdate(), ilBlogImporter\finalProcessing(), ilContainerImporter\finalProcessing(), ilStyleDataSet\importRecord(), ilObjWiki\update(), ilObjGlossary\update(), and ilContainer\update().
Here is the caller graph for this function:| ilObjStyleSheet::writeTemplatePreview | ( | $a_t_id, | |
| $a_preview_html | |||
| ) |
Write table template preview.
Definition at line 3547 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by addTemplate().
Here is the caller graph for this function:
|
static |
Definition at line 284 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 551 of file class.ilObjStyleSheet.php.
Referenced by _getBasicStyleDom().
|
staticprotected |
Definition at line 548 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 550 of file class.ilObjStyleSheet.php.
Referenced by _addMissingStyleClassesToAllStyles(), and getBasicImageDir().
|
staticprotected |
Definition at line 549 of file class.ilObjStyleSheet.php.
Referenced by getBasicZipPath().
|
static |
Definition at line 385 of file class.ilObjStyleSheet.php.
Referenced by _addMissingStyleClassesToAllStyles(), and deleteCharacteristic().
|
static |
Definition at line 270 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 242 of file class.ilObjStyleSheet.php.
Referenced by _getFilteredGroups().
|
static |
Definition at line 279 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 19 of file class.ilObjStyleSheet.php.
Referenced by _getStyleParameterNumericUnits().
|
static |
Definition at line 20 of file class.ilObjStyleSheet.php.
Referenced by _getStyleParameterNumericUnits().
|
static |
Definition at line 23 of file class.ilObjStyleSheet.php.
Referenced by _getStyleParameters(), and getStyleParameterGroups().
|
static |
Definition at line 381 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::$style |
Definition at line 17 of file class.ilObjStyleSheet.php.
Referenced by _addMissingStyleClassesToAllStyles(), createFromXMLFile(), getContentStylePath(), getStyle(), getXML(), and writeCSSFile().
|
static |
Definition at line 247 of file class.ilObjStyleSheet.php.
Referenced by _getStyleSuperTypes().
|
static |
Definition at line 511 of file class.ilObjStyleSheet.php.
Referenced by _getTemplateClassTypes(), create(), and getTemplates().