| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilObjStyleSheet. More...
 Inheritance diagram for ilObjStyleSheet:
 Inheritance diagram for ilObjStyleSheet: Collaboration diagram for ilObjStyleSheet:
 Collaboration diagram for ilObjStyleSheet:| Public Member Functions | |
| ilObjStyleSheet ($a_id=0, $a_call_by_reference=false) | |
| Constructor  public. | |
| setRefId () | |
| Set ref id (show error message, since styles do not use ref ids) | |
| getRefId () | |
| Get ref id (show error message, since styles do not use ref ids) | |
| putInTree () | |
| Put in tree (show error message, since styles do not use ref ids) | |
| createReference () | |
| Create a reference (show error message, since styles do not use ref ids) | |
| setUpToDate ($a_up_to_date=true) | |
| Set style up to date (false + update will trigger css generation next time) | |
| getUpToDate () | |
| Get up to date. | |
| setScope ($a_scope) | |
| Set scope. | |
| getScope () | |
| Get scope. | |
| _writeUpToDate ($a_id, $a_up_to_date) | |
| Write up to date. | |
| _lookupUpToDate ($a_id) | |
| Looup up to date. | |
| _writeStandard ($a_id, $a_std) | |
| Write standard flag. | |
| _writeScope ($a_id, $a_scope) | |
| Write scope. | |
| _lookupStandard ($a_id) | |
| Lookup standard flag. | |
| _writeActive ($a_id, $a_active) | |
| Write active flag. | |
| _lookupActive ($a_id) | |
| Lookup active flag. | |
| _getStandardStyles ($a_exclude_default_style=false, $a_include_deactivated=false, $a_scope=0) | |
| Get standard styles. | |
| _getClonableContentStyles () | |
| Get all clonable styles (active standard styles and individual learning module styles with write permission). | |
| assignMetaData (&$a_meta_data) | |
| assign meta data object | |
| & | getMetaData () | 
| get meta data object | |
| create ($a_from_style=0, $a_import_mode=false) | |
| Create a new style. | |
| deleteCharacteristic ($a_type, $a_tag, $a_class) | |
| Delete Characteristic. | |
| characteristicExists ($a_char, $a_style_type) | |
| Check whether characteristic exists. | |
| addCharacteristic ($a_type, $a_char, $a_hidden=false) | |
| Add characteristic. | |
| copyCharacteristic ($a_from_style_id, $a_from_type, $a_from_char, $a_to_char) | |
| Copy characteristic. | |
| getCharacteristics ($a_type="", $a_no_hidden=false) | |
| Get characteristics. | |
| setCharacteristics ($a_chars) | |
| Set characteristics. | |
| saveHideStatus ($a_type, $a_char, $a_hide) | |
| Save characteristic hide status. | |
| getHideStatus ($a_type, $a_char) | |
| Get characteristic hide status. | |
| ilClone () | |
| clone style sheet (note: styles have no ref ids and return an object id) | |
| copyImagesToDir ($a_target) | |
| Copy images to directory. | |
| addParameter ($a_tag, $a_par, $a_type) | |
| write style parameter to db | |
| createImagesDirectory () | |
| Create images directory <data_dir>/sty/sty_<id>/images. | |
| getImagesDirectory () | |
| Get images directory. | |
| getThumbnailsDirectory () | |
| Get thumbnails directory. | |
| getImages () | |
| Get images of style. | |
| uploadImage ($a_file) | |
| Upload image. | |
| deleteImage ($a_file) | |
| Delete an image. | |
| deleteParameter ($a_id) | |
| delete style parameter | |
| deleteStylePar ($a_tag, $a_class, $a_par, $a_type) | |
| Delete style parameter by tag/class/parameter. | |
| deleteStyleParOfChar ($a_type, $a_class) | |
| Delete style parameters of characteristic. | |
| delete () | |
| delete style object | |
| read () | |
| read style properties | |
| writeCSSFile ($a_target_file="", $a_image_dir="") | |
| write css file to webspace directory | |
| getParametersOfClass ($a_type, $a_class) | |
| Get parameters of class. | |
| getContentStylePath ($a_style_id) | |
| get content style path | |
| getContentPrintStyle () | |
| get content print style | |
| getSyntaxStylePath () | |
| get syntax style path | |
| getPlaceHolderStylePath () | |
| get placeholder style path (for Page Layouts) | |
| update () | |
| update object in db | |
| updateStyleParameter ($a_id, $a_value) | |
| update style parameter per id | |
| replaceStylePar ($a_tag, $a_class, $a_par, $a_val, $a_type) | |
| Set style parameter per tag/class/parameter. | |
| _replaceStylePar ($style_id, $a_tag, $a_class, $a_par, $a_val, $a_type) | |
| getStyle () | |
| todo: bad style! should return array of objects, not multi-dim-arrays | |
| setStyle ($a_style) | |
| set styles | |
| handleXmlString ($a_str) | |
| Handle xml strin. | |
| getXML () | |
| get xml representation of style object | |
| createExportDirectory () | |
| Create export directory. | |
| cleanExportDirectory () | |
| Clear export directory. | |
| createExportSubDirectory () | |
| Create export directory. | |
| setExportSubDir ($a_dir) | |
| Set local directory, that will be included within the zip file. | |
| getExportSubDir () | |
| The local directory, that will be included within the zip file. | |
| export () | |
| Create export file. | |
| exportXML ($a_dir) | |
| export style xml file to directory | |
| createImportDirectory () | |
| Create import directory. | |
| import ($a_file) | |
| Import. | |
| createFromXMLFile ($a_file, $a_skip_parent_create=false) | |
| create style from xml file | |
| getStyleParameterGroups () | |
| Get grouped parameter. | |
| _getPseudoClasses ($tag) | |
| determineTemplateStyleClassType ($t, $k) | |
| do_3_10_Migration () | |
| Migrates 3.10 style to 3.11 style. | |
| do_3_10_CharMigration ($a_id="") | |
| This is more or less a copy of Services/Migration/DBUpdate_1385/classes ilStyleMigration->addMissingStyleCharacteristics() | |
| do_3_9_Migration ($a_id) | |
| Migrate old 3.9 styles. | |
| getColors () | |
| Get colors of style. | |
| addColor ($a_name, $a_code) | |
| Add color. | |
| updateColor ($a_name, $a_new_name, $a_code) | |
| Update color. | |
| removeColor ($a_name) | |
| Remove a color. | |
| colorExists ($a_color_name) | |
| Check whether color exists. | |
| getColorCodeForName ($a_name) | |
| Remove a color. | |
| getTemplates ($a_type) | |
| Get table templates of style. | |
| getTemplateClasses ($a_tid) | |
| Get template classes. | |
| addTemplate ($a_type, $a_name, $a_classes) | |
| Add table template. | |
| updateTemplate ($a_t_id, $a_name, $a_classes) | |
| Update table template. | |
| templateExists ($a_template_name) | |
| Check whether template exists. | |
| getTemplate ($a_t_id) | |
| Get template. | |
| lookupTemplateName ($a_t_id) | |
| Lookup table template name for template ID. | |
| getTemplateXML () | |
| Get table template xml. | |
| writeTemplatePreview ($a_t_id, $a_preview_html) | |
| Write table template preview. | |
| lookupTemplatePreview ($a_t_id) | |
| Lookup table template preview. | |
| removeTemplate ($a_t_id) | |
| Remove table template. | |
| writeStyleSetting ($a_name, $a_value) | |
| Write Style Setting. | |
| lookupStyleSetting ($a_name) | |
| Lookup style setting. | |
|  Public Member Functions inherited from ilObject | |
| ilObject ($a_id=0, $a_reference=true) | |
| Constructor  public. | |
| withReferences () | |
| determines wehter objects are referenced or not (got ref ids or not) | |
| read ($a_force_db=false) | |
| read object data from db into object | |
| getId () | |
| get object id  public | |
| setId ($a_id) | |
| set object id  public | |
| setRefId ($a_id) | |
| set reference id  public | |
| getType () | |
| get object type  public | |
| setType ($a_type) | |
| set object type  public | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions | |
| getTitle () | |
| get object title  public | |
| getUntranslatedTitle () | |
| get untranslated object title  public | |
| setTitle ($a_title) | |
| set object title | |
| getDescription () | |
| get object description | |
| setDescription ($a_desc) | |
| set object description | |
| getLongDescription () | |
| get object long description (stored in object_description) | |
| getImportId () | |
| get import id | |
| setImportId ($a_import_id) | |
| set import id | |
| getOwner () | |
| get object owner | |
| getOwnerName () | |
| _lookupOwnerName ($a_owner_id) | |
| lookup owner name for owner id | |
| setOwner ($a_owner) | |
| set object owner | |
| getCreateDate () | |
| get create date  public | |
| getLastUpdateDate () | |
| get last update date  public | |
| getDiskUsage () | |
| Gets the disk usage of the object in bytes. | |
| setObjDataRecord ($a_record) | |
| set object_data record (note: this method should only be called from the ilObjectFactory class) | |
| create () | |
| create | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. | |
| createMetaData () | |
| create meta data entry | |
| updateMetaData () | |
| update meta data entry | |
| deleteMetaData () | |
| delete meta data entry | |
| updateOwner () | |
| update owner of object in db | |
| _getIdForImportId ($a_import_id) | |
| get current object id for import id (static) | |
| _lookupOwner ($a_id) | |
| lookup object owner | |
| _lookupLastUpdate ($a_id, $a_as_string=false) | |
| lookup last update | |
| _getLastUpdateOfObjects ($a_objs) | |
| Get last update for a set of media objects. | |
| _setDeletedDate ($a_ref_id) | |
| only called in ilTree::saveSubTree | |
| _resetDeletedDate ($a_ref_id) | |
| only called in ilObjectGUI::insertSavedNodes | |
| _lookupDeletedDate ($a_ref_id) | |
| only called in ilObjectGUI::insertSavedNodes | |
| _writeTitle ($a_obj_id, $a_title) | |
| write title to db (static) | |
| _writeDescription ($a_obj_id, $a_desc) | |
| write description to db (static) | |
| _writeImportId ($a_obj_id, $a_import_id) | |
| write import id to db (static) | |
| _isInTrash ($a_ref_id) | |
| checks wether object is in trash | |
| _hasUntrashedReference ($a_obj_id) | |
| checks wether an object has at least one reference that is not in trash | |
| _getObjectsDataForType ($a_type, $a_omit_trash=false) | |
| get all objects of a certain type | |
| putInTree ($a_parent_ref) | |
| maybe this method should be in tree object!? | |
| setPermissions ($a_parent_ref) | |
| set permissions of object | |
| countReferences () | |
| count references of object | |
| 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)  public | |
| createRoleFolder () | |
| creates a local role folder | |
| applyDidacticTemplate ($a_tpl_id) | |
| Apply template. | |
| notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
| notifys an object about an event occured Based on the event passed, each object may decide how it reacts. | |
| setRegisterMode ($a_bool) | |
| isUserRegistered ($a_user_id=0) | |
| requireRegistration () | |
| getXMLZip () | |
| getHTMLDirectory () | |
| cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
| Clone object permissions, put in tree ... | |
| appendCopyInfo ($a_target_id, $a_copy_id) | |
| Prepend Copy info if object with same name exists in that container. | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone object dependencies. | |
| cloneMetaData ($target_obj) | |
| Copy meta data. | |
| _lookupCreationDate ($a_id) | |
| Lookup creation date. | |
| Static Public Member Functions | |
| static | _getBasicStyleDom () | 
| Get basic style dom. | |
| static | _createImagesDirectory ($a_style_id) | 
| Create images directory <data_dir>/sty/sty_<id>/images. | |
| static | _getImagesDirectory ($a_style_id) | 
| Get images directory. | |
| static | getEffectiveContentStyleId ($a_style_id, $a_type="") | 
| Get effective Style Id. | |
| 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. | |
| static | _getTemplateClassTypes ($a_template_type="") | 
| Get template class types. | |
| static | _determineTag ($a_type) | 
| static | getAvailableParameters () | 
| Get available parameters. | |
| static | _addMissingStyleClassesToStyle ($a_id) | 
| Add missing style classes to all styles. | |
| static | _addMissingStyleClassesToAllStyles ($a_styles="") | 
| Add missing style classes to all styles. | |
| static | _getColorFlavor ($a_rgb, $a_i) | 
| Get color flavor. | |
| static | _explodeRGB ($a_rgb, $as_dec=false) | 
| Explode an RGB string into an array. | |
| static | _RGBToHLS ($a_rgb) | 
| RGB to HLS (both arrays, 0..255) | |
| static | _HLSToRGB ($a_hls) | 
| HLS to RGB (both arrays, 0..255) | |
| static | _lookupTemplateIdByName ($a_style_id, $a_name) | 
| Lookup table template preview. | |
| static | writeStyleUsage ($a_obj_id, $a_style_id) | 
| Write style usage. | |
| static | lookupObjectStyle ($a_obj_id) | 
| Lookup object style. | |
|  Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId ($a_import_id) | 
| static | _getAllReferences ($a_id) | 
| get all reference ids of object | |
| static | _lookupTitle ($a_id) | 
| lookup object title | |
| static | _getIdsForTitle ($title, $type= '', $partialmatch=false) | 
| static | _lookupDescription ($a_id) | 
| lookup object description | |
| static | _lookupObjId ($a_id) | 
| static | setDeletedDates ($a_ref_ids) | 
| Set deleted date  type $ilDB. | |
| static | _lookupType ($a_id, $a_reference=false) | 
| lookup object type | |
| static | _lookupObjectId ($a_ref_id) | 
| lookup object id | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) | 
| checks if an object exists in object_data | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") | 
| Get objects by type. | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) | 
| Prepare copy wizard object selection. | |
| static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) | 
| Get icon for repository item. | |
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) | 
| Collect deletion dependencies. | |
| static | getDeletionDependencies ($a_obj_id) | 
| Get deletion dependencies. | |
| static | getLongDescriptions (array $a_obj_ids) | 
| Get long description data. | |
| static | getAllOwnedRepositoryObjects ($a_user_id) | 
| Get all ids of objects user owns. | |
| static | hasAutoRating ($a_type, $a_ref_id) | 
| Check if auto rating is active for parent group/course. | |
| Data Fields | |
| $style | |
|  Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 | 
| max length of object title | |
| const | DESC_LENGTH = 128 | 
| $ilias | |
| $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 | |
| $obj_data_record | |
| object_data record | |
| 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 = "./Services/Style/basic_style/style.xml" | 
| static | $basic_style_image_dir = "./Services/Style/basic_style/images" | 
| static | $basic_style_dom | 
Class ilObjStyleSheet.
Definition at line 15 of file class.ilObjStyleSheet.php.
| 
 | static | 
Add missing style classes to all styles.
Definition at line 2390 of file class.ilObjStyleSheet.php.
References $basic_style_image_dir, $core_styles, $file, ilObject\$id, $style, _createImagesDirectory(), _getBasicStyleDom(), _getCoreStyles(), _getImagesDirectory(), and ilObject\_getObjectsDataForType().
Referenced by _addMissingStyleClassesToStyle().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Add missing style classes to all styles.
Definition at line 2381 of file class.ilObjStyleSheet.php.
References _addMissingStyleClassesToAllStyles().
Referenced by import().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 1183 of file class.ilObjStyleSheet.php.
References $ilErr, ilUtil\getWebspaceDir(), and ilUtil\makeDir().
Referenced by _addMissingStyleClassesToAllStyles(), and createImagesDirectory().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2358 of file class.ilObjStyleSheet.php.
Referenced by _getCoreStyles(), copyCharacteristic(), ilObjStyleSheetGUI\deleteTemplateObject(), ilStyleTableGUI\fillRow(), and ilObjStyleSheetGUI\saveCharacteristicObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Explode an RGB string into an array.
Definition at line 2903 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get basic style dom.
Definition at line 798 of file class.ilObjStyleSheet.php.
References $basic_style_dom, and $ilBench.
Referenced by _addMissingStyleClassesToAllStyles().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_getClonableContentStyles | ( | ) | 
Get all clonable styles (active standard styles and individual learning module styles with write permission).
Definition at line 744 of file class.ilObjStyleSheet.php.
References ilObject\$id, ilObject\$ref_id, ilObject\_getAllReferences(), ilObjContentObject\_lookupContObjIdByStyleId(), and ilObject\_lookupTitle().
Referenced by ilObjStyleSheetGUI\createObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get color flavor.
Definition at line 2876 of file class.ilObjStyleSheet.php.
References _explodeRGB(), _HLSToRGB(), and _RGBToHLS().
Referenced by ilStyleColorTableGUI\fillRow().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get core styles.
Definition at line 2321 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2264 of file class.ilObjStyleSheet.php.
References $filtered_groups.
Referenced by ilObjStyleSheetGUI\getValues(), and ilObjStyleSheetGUI\initTagStyleForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get images directory.
Definition at line 1233 of file class.ilObjStyleSheet.php.
References ilUtil\getWebspaceDir().
Referenced by _addMissingStyleClassesToAllStyles(), and getImagesDirectory().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_getPseudoClasses | ( | $tag | ) | 
Definition at line 2348 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::_getStandardStyles | ( | $a_exclude_default_style = false, | |
| $a_include_deactivated = false, | |||
| $a_scope = 0 | |||
| ) | 
Get standard styles.
Definition at line 698 of file class.ilObjStyleSheet.php.
References ilObject\$ilias, $path, $res, and ilObject\_lookupTitle().
Referenced by ilPageLayoutGUI\initForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjPortfolioBaseGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilObjBlogGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), and ilObjSCORM2004LearningModuleGUI\properties().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2233 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\initTagStyleForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2269 of file class.ilObjStyleSheet.php.
References $num_unit, and $num_unit_no_perc.
Referenced by ilFontSizeInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), and ilTRBLNumericStyleValueInputGUI\insert().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2245 of file class.ilObjStyleSheet.php.
References $parameter.
Referenced by ilObjStyleSheetGUI\getValues(), and ilObjStyleSheetGUI\saveTagStyle().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2239 of file class.ilObjStyleSheet.php.
| 
 | static | 
Definition at line 2278 of file class.ilObjStyleSheet.php.
Referenced by ilFontSizeInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), and ilTRBLBorderWidthInputGUI\insert().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2303 of file class.ilObjStyleSheet.php.
References $t.
Referenced by ilObjStyleSheetGUI\ilObjStyleSheetGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2288 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:
 Here is the caller graph for this function:| 
 | static | 
Get template class types.
Definition at line 2337 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:
 Here is the caller graph for this function:| 
 | static | 
HLS to RGB (both arrays, 0..255)
Definition at line 2975 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2293 of file class.ilObjStyleSheet.php.
Referenced by ilStyleTableGUI\__construct(), ilObjStyleSheetGUI\editObject(), and ilObjStyleSheetGUI\initCharacteristicForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 2298 of file class.ilObjStyleSheet.php.
Referenced by ilStyleTableGUI\__construct(), and ilStyleTableGUI\fillRow().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_lookupActive | ( | $a_id | ) | 
Lookup active flag.
Definition at line 683 of file class.ilObjStyleSheet.php.
References $res.
Referenced by ilObjStyleSettingsGUI\editContentStylesObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_lookupStandard | ( | $a_id | ) | 
Lookup standard flag.
Definition at line 655 of file class.ilObjStyleSheet.php.
References $res.
Referenced by ilObjCategoryGUI\afterSave(), ilObjPortfolioBase\cloneBasics(), ilObjWiki\cloneObject(), ilObjGlossary\cloneObject(), ilObjContentObject\cloneObject(), ilObjSCORM2004LearningModule\copyAuthoredContent(), ilObjBlog\doCloneObject(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjPortfolioBaseGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilObjBlogGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORM2004LearningModuleGUI\saveProperties(), ilObjContentObjectGUI\saveStyleSettings(), ilObjPortfolioBaseGUI\saveStyleSettings(), ilObjSCORM2004LearningModuleGUI\saveStyleSettings(), ilObjGlossaryGUI\saveStyleSettings(), ilObjBlogGUI\saveStyleSettings(), ilObjWikiGUI\saveStyleSettingsObject(), and ilContainerGUI\saveStyleSettingsObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup table template preview.
Definition at line 3310 of file class.ilObjStyleSheet.php.
Referenced by ilPCTabsGUI\getFormValues(), and ilPCTableGUI\getPropertiesFormValues().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_lookupUpToDate | ( | $a_id | ) | 
Looup up to date.
Definition at line 614 of file class.ilObjStyleSheet.php.
References $res.
Referenced by getContentStylePath().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_replaceStylePar | ( | $style_id, | |
| $a_tag, | |||
| $a_class, | |||
| $a_par, | |||
| $a_val, | |||
| $a_type | |||
| ) | 
Definition at line 1766 of file class.ilObjStyleSheet.php.
References ilObject\$id, and ilObject\getId().
Referenced by replaceStylePar().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
RGB to HLS (both arrays, 0..255)
Definition at line 2922 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_writeActive | ( | $a_id, | |
| $a_active | |||
| ) | 
Write active flag.
Definition at line 670 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSettingsGUI\saveActiveStylesObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_writeScope | ( | $a_id, | |
| $a_scope | |||
| ) | 
Write scope.
Definition at line 642 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSettingsGUI\saveScopeObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_writeStandard | ( | $a_id, | |
| $a_std | |||
| ) | 
Write standard flag.
Definition at line 629 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\copyStyleObject(), ilObjStyleSheetGUI\importStyleObject(), and ilObjStyleSheetGUI\saveObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::_writeUpToDate | ( | $a_id, | |
| $a_up_to_date | |||
| ) | 
Write up to date.
Definition at line 601 of file class.ilObjStyleSheet.php.
Referenced by addCharacteristic(), deleteCharacteristic(), ilObjStyleSheetGUI\pasteCharacteristicsObject(), updateColor(), and writeCSSFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::addCharacteristic | ( | $a_type, | |
| $a_char, | |||
| $a_hidden = false | |||
| ) | 
Add characteristic.
Definition at line 978 of file class.ilObjStyleSheet.php.
References _writeUpToDate(), ilObject\getId(), and setUpToDate().
Referenced by copyCharacteristic().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::addColor | ( | $a_name, | |
| $a_code | |||
| ) | 
Add color.
Definition at line 2757 of file class.ilObjStyleSheet.php.
Referenced by copyCharacteristic(), and create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::addParameter | ( | $a_tag, | |
| $a_par, | |||
| $a_type | |||
| ) | 
write style parameter to db
| 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 1148 of file class.ilObjStyleSheet.php.
References ilObject\$id, getAvailableParameters(), ilObject\getId(), read(), and writeCSSFile().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::addTemplate | ( | $a_type, | |
| $a_name, | |||
| $a_classes | |||
| ) | 
Add table template.
Definition at line 3104 of file class.ilObjStyleSheet.php.
References $t, ilObjStyleSheetGUI\_getTemplatePreview(), ilObject\getId(), and writeTemplatePreview().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::assignMetaData | ( | & | $a_meta_data | ) | 
assign meta data object
Definition at line 790 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::characteristicExists | ( | $a_char, | |
| $a_style_type | |||
| ) | 
Check whether characteristic exists.
Definition at line 960 of file class.ilObjStyleSheet.php.
References ilObject\getId().
Referenced by copyCharacteristic().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::cleanExportDirectory | ( | ) | 
Clear export directory.
Definition at line 1935 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::colorExists | ( | $a_color_name | ) | 
Check whether color exists.
Definition at line 2827 of file class.ilObjStyleSheet.php.
Referenced by copyCharacteristic().
 Here is the caller graph for this function:
 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 998 of file class.ilObjStyleSheet.php.
References _determineTag(), addCharacteristic(), addColor(), characteristicExists(), colorExists(), deleteStyleParOfChar(), ilObjStyleSheet(), and replaceStylePar().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::copyImagesToDir | ( | $a_target | ) | 
Copy images to directory.
Definition at line 1136 of file class.ilObjStyleSheet.php.
References getImagesDirectory(), and ilUtil\rCopy().
 Here is the call graph for this function:
 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 822 of file class.ilObjStyleSheet.php.
References ilObject\$id, $t, $templates, _getTemplateClassTypes(), addColor(), addTemplate(), ilObject\create(), createFromXMLFile(), createImagesDirectory(), ilObject\getId(), getImagesDirectory(), getScope(), ilObjStyleSheet(), ilUtil\rCopy(), read(), and writeCSSFile().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::createExportDirectory | ( | ) | 
Create export directory.
Definition at line 1902 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::createExportSubDirectory | ( | ) | 
Create export directory.
Definition at line 1952 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 call graph for this function: Here is the caller 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
Definition at line 2136 of file class.ilObjStyleSheet.php.
References ilObject\$id, $style, ilObject\create(), 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 call graph for this function: Here is the caller 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 1174 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::createImportDirectory | ( | ) | 
Create import directory.
Definition at line 2046 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 call graph for this function: Here is the caller 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 561 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::delete | ( | ) | 
delete style object
Reimplemented from ilObject.
Definition at line 1361 of file class.ilObjStyleSheet.php.
References ilObjContentObject\_deleteStyleAssignments(), ilObject\getId(), and ilUtil\getWebspaceDir().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::deleteCharacteristic | ( | $a_type, | |
| $a_tag, | |||
| $a_class | |||
| ) | 
Delete Characteristic.
Definition at line 933 of file class.ilObjStyleSheet.php.
References $core_styles, _getCoreStyles(), _writeUpToDate(), ilObject\getId(), and setUpToDate().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::deleteImage | ( | $a_file | ) | 
Delete an image.
Definition at line 1289 of file class.ilObjStyleSheet.php.
References getImagesDirectory(), and getThumbnailsDirectory().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::deleteParameter | ( | $a_id | ) | 
delete style parameter
| int | $a_id | style parameter id | 
Definition at line 1306 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::deleteStylePar | ( | $a_tag, | |
| $a_class, | |||
| $a_par, | |||
| $a_type | |||
| ) | 
Delete style parameter by tag/class/parameter.
| string | tag | 
| string | class | 
| string | parameter | 
| string | type | 
Definition at line 1323 of file class.ilObjStyleSheet.php.
References ilObject\getId().
 Here is the call graph for this function:
 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 1345 of file class.ilObjStyleSheet.php.
References ilObject\getId().
Referenced by copyCharacteristic().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::determineTemplateStyleClassType | ( | $t, | |
| $k | |||
| ) | 
Definition at line 2353 of file class.ilObjStyleSheet.php.
References $t.
| 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 2551 of file class.ilObjStyleSheet.php.
References $t.
Referenced by do_3_10_Migration().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::do_3_10_Migration | ( | ) | 
Migrates 3.10 style to 3.11 style.
Definition at line 2488 of file class.ilObjStyleSheet.php.
References 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 call graph for this function: Here is the caller 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 2692 of file class.ilObjStyleSheet.php.
Referenced by do_3_10_Migration().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::export | ( | ) | 
Create export file.
Definition at line 1999 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:
 Here is the call graph for this function:| ilObjStyleSheet::exportXML | ( | $a_dir | ) | 
export style xml file to directory
Definition at line 2021 of file class.ilObjStyleSheet.php.
References $file, and getXML().
Referenced by export().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get available parameters.
Definition at line 2366 of file class.ilObjStyleSheet.php.
Referenced by addParameter().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getCharacteristics | ( | $a_type = "", | |
| $a_no_hidden = false | |||
| ) | 
Get characteristics.
Definition at line 1037 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getColorCodeForName | ( | $a_name | ) | 
Remove a color.
Definition at line 2844 of file class.ilObjStyleSheet.php.
Referenced by writeCSSFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getColors | ( | ) | 
Get colors of style.
Definition at line 2734 of file class.ilObjStyleSheet.php.
Referenced by getXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getContentPrintStyle | ( | ) | 
get content print style
static
Definition at line 1702 of file class.ilObjStyleSheet.php.
Referenced by ilGlossaryPresentationGUI\printView(), ilObjWikiGUI\printViewObject(), and ilLMPresentationGUI\showPrintView().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getContentStylePath | ( | $a_style_id | ) | 
get content style path
static (to avoid full reading)
Definition at line 1659 of file class.ilObjStyleSheet.php.
References ilObject\$ilias, $style, ilObject\_exists(), _lookupUpToDate(), ilUtil\getWebspaceDir(), and ilObjStyleSheet().
Referenced by ilImprintGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilPageLayoutGUI\__construct(), ilPortfolioPageGUI\__construct(), ilDataCollectionRecordViewViewdefinitionGUI\__construct(), ilDataCollectionRecordViewGUI\__construct(), ilBlogPostingGUI\__construct(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilPageObjectGUI\displayMedia(), ilPCDataTableGUI\editData(), ilObjGroupGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilLMPresentationGUI\exportbibinfo(), ilScormExportUtil\exportContentCSS(), ilObjPaymentSettingsGUI\forwardToDocumentsPageObject(), ilTermsConditionsGUI\forwardToPageObject(), ilShopInfoGUI\forwardToPageObject(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilShopGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilObjPaymentSettingsGUI\getDocumentsPageHTML(), ilStartUpGUI\getLoginPageEditorHTML(), ilTermsConditionsGUI\getPageHTML(), ilShopInfoGUI\getPageHTML(), ilShopGUI\getPageHTML(), ilLMPresentationGUI\ilGlossary(), ilLMPresentationGUI\ilMedia(), ilLMPresentationGUI\ilPage(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryPresentationGUI\listTermByGiven(), ilLMEditorGUI\main_header(), ilGlossaryPresentationGUI\media(), ilTestEvaluationGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilSCORM2004ScoGUI\sco_preview(), ilSCORM2004NodeGUI\setContentStyle(), ilObjPortfolioBaseGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjBlogGUI\setContentStyleSheet(), ilPCParagraphGUI\setStyle(), ilObjDlBookGUI\showAbstract(), ilObjDlBookGUI\showCitation(), ilLMPresentationGUI\showDownloadList(), ilObjMediaPoolGUI\showMedia(), ilLMPresentationGUI\showNoPublicAccess(), ilPageObjectGUI\showPage(), ilLMPresentationGUI\showPreconditionsOfPage(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), ilLMPresentationGUI\showTableOfContents(), and ilContObjectManifestBuilder\writeResources().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 1614 of file class.ilObjStyleSheet.php.
References $ilSetting, and ilObject\_lookupType().
Referenced by ilLMPresentationGUI\basicPageGuiInit(), ilObjSystemFolderGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilSCORM2004PageNodeGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilObjPortfolioBaseGUI\handlePageCall(), ilDataCollectionRecordViewGUI\renderRecord(), ilLMPresentationGUI\showPrintView(), and ilObjWikiGUI\viewPageObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 1982 of file class.ilObjStyleSheet.php.
Referenced by createExportSubDirectory(), and export().
 Here is the caller 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 1095 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getImages | ( | ) | 
Get images of style.
Definition at line 1251 of file class.ilObjStyleSheet.php.
References ilUtil\getDir(), and getImagesDirectory().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::getImagesDirectory | ( | ) | 
Get images directory.
Definition at line 1225 of file class.ilObjStyleSheet.php.
References _getImagesDirectory(), and ilObject\getId().
Referenced by copyImagesToDir(), create(), deleteImage(), export(), getImages(), getThumbnailsDirectory(), and uploadImage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| & ilObjStyleSheet::getMetaData | ( | ) | 
get meta data object
Definition at line 814 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getParametersOfClass | ( | $a_type, | |
| $a_class | |||
| ) | 
Get parameters of class.
| @return | 
Definition at line 1645 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getPlaceHolderStylePath | ( | ) | 
get placeholder style path (for Page Layouts)
static
Definition at line 1722 of file class.ilObjStyleSheet.php.
Referenced by ilPageLayoutGUI\__construct(), ilSCORM2004NodeGUI\setContentStyle(), and ilPortfolioTemplatePageGUI\showPage().
 Here is the caller graph for this function:
 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 544 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getScope | ( | ) | 
Get scope.
Definition at line 593 of file class.ilObjStyleSheet.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 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 1812 of file class.ilObjStyleSheet.php.
References $style.
Referenced by writeCSSFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getStyleParameterGroups | ( | ) | 
Get grouped parameter.
Definition at line 2222 of file class.ilObjStyleSheet.php.
References $parameter.
| ilObjStyleSheet::getSyntaxStylePath | ( | ) | 
get syntax style path
static
Definition at line 1712 of file class.ilObjStyleSheet.php.
Referenced by ilImprintGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilWikiPageGUI\__construct(), ilPageLayoutGUI\__construct(), ilPortfolioPageGUI\__construct(), ilDataCollectionRecordViewGUI\__construct(), ilDataCollectionRecordViewViewdefinitionGUI\__construct(), ilBlogPostingGUI\__construct(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmDefinitionDeletion(), ilTermDefinitionEditorGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilLMPresentationGUI\exportbibinfo(), ilObjGlossary\exportHTML(), ilObjContentObject\exportHTML(), ilCOPageHTMLExport\exportStyles(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilStartUpGUI\getLoginPageEditorHTML(), ilLMPresentationGUI\ilGlossary(), ilLMPresentationGUI\ilPage(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryPresentationGUI\listTermByGiven(), ilLMEditorGUI\main_header(), ilTestEvaluationGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), ilObjWikiGUI\printViewObject(), ilSCORM2004NodeGUI\setContentStyle(), ilObjDlBookGUI\showAbstract(), ilObjDlBookGUI\showCitation(), and ilLMPresentationGUI\showPrintView().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getTemplate | ( | $a_t_id | ) | 
Get template.
Definition at line 3183 of file class.ilObjStyleSheet.php.
References getTemplateClasses().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::getTemplateClasses | ( | $a_tid | ) | 
Get template classes.
Definition at line 3084 of file class.ilObjStyleSheet.php.
Referenced by getTemplate(), and getTemplates().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getTemplates | ( | $a_type | ) | 
Get table templates of style.
Definition at line 3062 of file class.ilObjStyleSheet.php.
References $templates, and getTemplateClasses().
Referenced by getTemplateXML(), and getXML().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getTemplateXML | ( | ) | 
Get table template xml.
Definition at line 3222 of file class.ilObjStyleSheet.php.
References $t, ilObject\$type, _getTemplateClassTypes(), and getTemplates().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::getThumbnailsDirectory | ( | ) | 
Get thumbnails directory.
Definition at line 1242 of file class.ilObjStyleSheet.php.
References getImagesDirectory().
Referenced by deleteImage(), and uploadImage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::getUpToDate | ( | ) | 
Get up to date.
Definition at line 577 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getXML | ( | ) | 
get xml representation of style object
Definition at line 1840 of file class.ilObjStyleSheet.php.
References $style, $t, _getTemplateClassTypes(), getColors(), ilObject\getDescription(), getTemplates(), and ilObject\getTitle().
Referenced by exportXML().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::handleXmlString | ( | $a_str | ) | 
Handle xml strin.
| @return | 
Definition at line 1832 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::ilClone | ( | ) | 
clone style sheet (note: styles have no ref ids and return an object id)
public
Definition at line 1115 of file class.ilObjStyleSheet.php.
References ilObject\$lng, $log, ilObject\getDescription(), ilObject\getId(), ilObject\getTitle(), ilObject\getType(), ilObjStyleSheet(), and lookupStyleSetting().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::ilObjStyleSheet | ( | $a_id = 0, | |
| $a_call_by_reference = false | |||
| ) | 
Constructor public.
| integer | reference_id or object_id | 
| boolean | treat the id as reference_id (true) or object_id (false) | 
Definition at line 521 of file class.ilObjStyleSheet.php.
References ilObject\ilObject().
Referenced by copyCharacteristic(), create(), getContentStylePath(), and ilClone().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::import | ( | $a_file | ) | 
Import.
Definition at line 2079 of file class.ilObjStyleSheet.php.
References $file, _addMissingStyleClassesToStyle(), ilObject\create(), createFromXMLFile(), createImagesDirectory(), createImportDirectory(), ilObject\getId(), ilUtil\moveUploadedFile(), ilUtil\rCopy(), read(), ilUtil\unzip(), and writeCSSFile().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Lookup object style.
Definition at line 3395 of file class.ilObjStyleSheet.php.
References ilObject\_lookupType().
Referenced by ilObjCategoryGUI\afterSave(), ilObjBlog\doRead(), ilObjPortfolioBase\doRead(), ilObjGlossary\read(), ilObjWiki\read(), and ilContainer\read().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::lookupStyleSetting | ( | $a_name | ) | 
Lookup style setting.
Definition at line 3365 of file class.ilObjStyleSheet.php.
Referenced by ilClone().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::lookupTemplateName | ( | $a_t_id | ) | 
Lookup table template name for template ID.
Definition at line 3204 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\updateTemplateObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::lookupTemplatePreview | ( | $a_t_id | ) | 
Lookup table template preview.
Definition at line 3293 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::putInTree | ( | ) | 
Put in tree (show error message, since styles do not use ref ids)
Definition at line 553 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::read | ( | ) | 
read style properties
Definition at line 1409 of file class.ilObjStyleSheet.php.
References $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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::removeColor | ( | $a_name | ) | 
Remove a color.
Definition at line 2815 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::removeTemplate | ( | $a_t_id | ) | 
Remove table template.
Definition at line 3328 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::replaceStylePar | ( | $a_tag, | |
| $a_class, | |||
| $a_par, | |||
| $a_val, | |||
| $a_type | |||
| ) | 
Set style parameter per tag/class/parameter.
Definition at line 1761 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 call graph for this function: Here is the caller 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 1080 of file class.ilObjStyleSheet.php.
References ilObject\getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjStyleSheet::setCharacteristics | ( | $a_chars | ) | 
Set characteristics.
Definition at line 1071 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setExportSubDir | ( | $a_dir | ) | 
Set local directory, that will be included within the zip file.
Definition at line 1974 of file class.ilObjStyleSheet.php.
Referenced by ilContObjectExport\buildExportFileXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::setRefId | ( | ) | 
Set ref id (show error message, since styles do not use ref ids)
Definition at line 536 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setScope | ( | $a_scope | ) | 
Set scope.
Definition at line 585 of file class.ilObjStyleSheet.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::setStyle | ( | $a_style | ) | 
| ilObjStyleSheet::setUpToDate | ( | $a_up_to_date = true | ) | 
Set style up to date (false + update will trigger css generation next time)
Definition at line 569 of file class.ilObjStyleSheet.php.
Referenced by addCharacteristic(), deleteCharacteristic(), read(), and writeCSSFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::templateExists | ( | $a_template_name | ) | 
Check whether template exists.
Definition at line 3166 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::update | ( | ) | 
update object in db
public
Reimplemented from ilObject.
Definition at line 1727 of file class.ilObjStyleSheet.php.
References ilObject\getId(), getScope(), read(), and writeCSSFile().
Referenced by createFromXMLFile().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 2772 of file class.ilObjStyleSheet.php.
References _writeUpToDate(), ilObject\getId(), and replaceStylePar().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 1747 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::updateTemplate | ( | $a_t_id, | |
| $a_name, | |||
| $a_classes | |||
| ) | 
Update table template.
Definition at line 3139 of file class.ilObjStyleSheet.php.
References $t.
| ilObjStyleSheet::uploadImage | ( | $a_file | ) | 
Upload image.
Definition at line 1277 of file class.ilObjStyleSheet.php.
References createImagesDirectory(), getImagesDirectory(), getThumbnailsDirectory(), ilUtil\moveUploadedFile(), and ilUtil\resizeImage().
 Here is the call graph for this function:
 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 1473 of file class.ilObjStyleSheet.php.
References $style, _writeUpToDate(), getColorCodeForName(), ilObject\getId(), getStyle(), ilUtil\getWebspaceDir(), and setUpToDate().
Referenced by addParameter(), create(), import(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::writeStyleSetting | ( | $a_name, | |
| $a_value | |||
| ) | 
Write Style Setting.
Definition at line 3345 of file class.ilObjStyleSheet.php.
| 
 | static | 
Write style usage.
Definition at line 3381 of file class.ilObjStyleSheet.php.
Referenced by ilObjCategoryGUI\afterSave(), ilObjGlossary\create(), ilObjWiki\create(), ilContainer\create(), ilObjBlog\doUpdate(), ilObjPortfolioBase\doUpdate(), ilObjGlossary\update(), ilObjWiki\update(), and ilContainer\update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjStyleSheet::writeTemplatePreview | ( | $a_t_id, | |
| $a_preview_html | |||
| ) | 
Write table template preview.
Definition at line 3272 of file class.ilObjStyleSheet.php.
Referenced by addTemplate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 275 of file class.ilObjStyleSheet.php.
| 
 | staticprotected | 
Definition at line 513 of file class.ilObjStyleSheet.php.
Referenced by _getBasicStyleDom().
| 
 | staticprotected | 
Definition at line 511 of file class.ilObjStyleSheet.php.
| 
 | staticprotected | 
Definition at line 512 of file class.ilObjStyleSheet.php.
Referenced by _addMissingStyleClassesToAllStyles().
| 
 | static | 
Definition at line 364 of file class.ilObjStyleSheet.php.
Referenced by _addMissingStyleClassesToAllStyles(), and deleteCharacteristic().
| 
 | static | 
Definition at line 262 of file class.ilObjStyleSheet.php.
| 
 | static | 
Definition at line 234 of file class.ilObjStyleSheet.php.
Referenced by _getFilteredGroups().
| 
 | static | 
Definition at line 270 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 360 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 239 of file class.ilObjStyleSheet.php.
Referenced by _getStyleSuperTypes().
| 
 | static | 
Definition at line 484 of file class.ilObjStyleSheet.php.
Referenced by _getTemplateClassTypes(), create(), and getTemplates().