|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilObjStyleSheet. More...
Inheritance diagram for ilObjStyleSheet:
Collaboration diagram for ilObjStyleSheet:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=false) | |
| setUpToDate (bool $a_up_to_date=true) | |
| Set style up to date (false + update will trigger css generation next time) More... | |
| getUpToDate () | |
| setScope (int $a_scope) | |
| getScope () | |
| create (int $a_from_style=0, bool $a_import_mode=false) | |
| Create a new style. More... | |
| characteristicExists (string $a_char, string $a_style_type) | |
| Check whether characteristic exists. More... | |
| addCharacteristic (string $a_type, string $a_char, bool $a_hidden=false, int $order_nr=0, bool $outdated=false) | |
| getCharacteristics (string $a_type="", bool $a_no_hidden=false, bool $a_include_core=true) | |
| Get characteristics. More... | |
| setCharacteristics (array $a_chars) | |
| saveHideStatus (string $a_type, string $a_char, bool $a_hide) | |
| Save characteristic hidden status. More... | |
| getHideStatus (string $a_type, string $a_char) | |
| Get characteristic hidden status. More... | |
| ilClone () | |
| clone style sheet (note: styles have no ref ids and return an object id) More... | |
| copyImagesToDir (string $a_target) | |
| Copy images to directory. More... | |
| addParameter (string $a_tag, string $a_par, string $a_type, int $a_mq_id=0, bool $a_custom=false) | |
| write style parameter to db More... | |
| createImagesDirectory () | |
| Create images directory <data_dir>/sty/sty_<id>/images. More... | |
| getImagesDirectory () | |
| getThumbnailsDirectory () | |
| deleteParameter (int $a_id) | |
| delete style parameter More... | |
| deleteCustomStylePars (string $a_tag, string $a_class, string $a_type, int $a_mq_id=0) | |
| Delete style parameter by tag/class/parameter. More... | |
| deleteStyleParOfChar (string $a_type, string $a_class) | |
| Delete style parameters of characteristic. More... | |
| delete () | |
| read () | |
| read style properties More... | |
| writeCSSFile (string $a_target_file="", string $a_image_dir="") | |
| write css file to webspace directory More... | |
| getParametersOfClass (string $a_type, string $a_class, int $a_mq_id=0) | |
| update () | |
| updateStyleParameter (int $a_id, string $a_value) | |
| update style parameter per id More... | |
| getStyle () | |
| setStyle (array $a_style) | |
| handleXmlString (string $a_str) | |
| getXML () | |
| get xml representation of style object todo: add mq_id More... | |
| createExportDirectory () | |
| cleanExportDirectory () | |
| createExportSubDirectory () | |
| setExportSubDir (string $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 () | |
| exportXML (string $a_dir) | |
| export style xml file to directory More... | |
| createImportDirectory () | |
| import ($a_file) | |
| createFromXMLFile (string $a_file, bool $a_skip_parent_create=false) | |
| create style from xml file todo: add mq_id and custom More... | |
| getStyleParameterGroups () | |
| Get grouped parameter. More... | |
| determineTemplateStyleClassType (string $t, string $k) | |
| do_3_10_Migration () | |
| Migrates 3.10 style to 3.11 style. More... | |
| do_3_10_CharMigration (int $a_id=0) | |
| This is more or less a copy of Services/Migration/DBUpdate_1385/classes ilStyleMigration->addMissingStyleCharacteristics() Any changes here may also be interesting there. More... | |
| do_3_9_Migration (int $a_id) | |
| Migrate old 3.9 styles. More... | |
| getColors () | |
| Get colors of style. More... | |
| removeColor (string $a_name) | |
| Remove a color. More... | |
| getColorCodeForName (string $a_name) | |
| getMediaQueries () | |
| addMediaQuery (string $a_mquery, int $order_nr=0) | |
| getMaxMQueryOrderNr () | |
| Get maximum media query order nr. More... | |
| updateMediaQuery (int $a_id, string $a_mquery) | |
| getMediaQueryForId (int $a_id) | |
| Get media query for id. More... | |
| deleteMediaQuery (int $a_id) | |
| Delete media query. More... | |
| saveMediaQueryOrder (array $a_order_nr=null) | |
| Save media query order. More... | |
| getTemplates (string $a_type) | |
| Get table templates of style. More... | |
| getTemplateClasses (int $a_tid) | |
| Get template classes. More... | |
| addTemplate (string $a_type, string $a_name, array $a_classes) | |
| Add table template. More... | |
| updateTemplate (int $a_t_id, string $a_name, array $a_classes) | |
| Update table template. More... | |
| addTemplateClass (int $a_t_id, string $a_type, string $a_class) | |
| templateExists (string $a_template_name) | |
| Check whether template exists. More... | |
| getTemplate (int $a_t_id) | |
| lookupTemplateName (int $a_t_id) | |
| Lookup table template name for template ID. More... | |
| getTemplateXML () | |
| Get table template xml. More... | |
| writeTemplatePreview (int $a_t_id, string $a_preview_html) | |
| Write table template preview. More... | |
| lookupTemplatePreview (int $a_t_id) | |
| Lookup table template preview. More... | |
| removeTemplate (int $a_t_id) | |
| Remove table template. More... | |
| writeStyleSetting (string $a_name, string $a_value) | |
| lookupStyleSetting (string $a_name) | |
| Lookup style setting. More... | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| 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. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | getBasicZipPath () |
| static | _writeUpToDate (int $a_id, bool $a_up_to_date) |
| static | writeOwner ($obj_id, $style_id) |
| static | _lookupUpToDate (int $a_id) |
| static | _writeStandard (int $a_id, bool $a_std) |
| Write standard flag. More... | |
| static | _writeScope (int $a_id, int $a_scope) |
| static | _lookupStandard (int $a_id) |
| Lookup standard flag. More... | |
| static | _writeActive (int $a_id, bool $a_active) |
| static | _lookupActive (int $a_id) |
| Lookup active flag. More... | |
| static | _getStandardStyles (bool $a_exclude_default_style=false, bool $a_include_deactivated=false, int $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 () |
| static | getBasicImageDir () |
| static | _createImagesDirectory (int $a_style_id) |
| Create images directory <data_dir>/sty/sty_<id>/images. More... | |
| static | _getImagesDirectory (int $a_style_id) |
| static | getEffectiveContentStyleId (int $a_style_id) |
| Get effective Style Id. More... | |
| static | getContentStylePath (int $a_style_id, bool $add_random=true, bool $add_token=true) |
| get content style path static (to avoid full reading) More... | |
| static | getContentPrintStyle () |
| static | getSyntaxStylePath () |
| static | getBaseContentStylePath () |
| static | _getStyleParameterInputType (string $par) |
| static | _getStyleParameterSubPar (string $par) |
| static | _getStyleParameters (string $a_tag="") |
| static | _getFilteredGroups () |
| static | _getStyleParameterNumericUnits (bool $a_no_percentage=false) |
| static | _getStyleParameterValues (string $par) |
| static | _getStyleSuperTypes () |
| static | _isExpandable (string $a_type) |
| static | _isHideable (string $a_type) |
| static | _getStyleSuperTypeForType (string $a_type) |
| static | _getCoreStyles () |
| static | isCoreStyle (string $a_type, string $a_class) |
| static | _getTemplateClassTypes (string $a_template_type="") |
| Get template class types. More... | |
| static | _getPseudoClasses (string $tag) |
| static | _determineTag (string $a_type) |
| static | getAvailableParameters () |
| static | _addMissingStyleClassesToStyle (int $a_id) |
| Add missing style classes to all styles. More... | |
| static | _addMissingStyleClassesToAllStyles (?array $a_styles=null) |
| Add missing style classes to all styles todo: add mq_id and custom handling. More... | |
| static | _getColorFlavor (string $a_rgb, int $a_i) |
| Get color flavor. More... | |
| static | _explodeRGB (string $a_rgb, bool $as_dec=false) |
| Explode an RGB string into an array. More... | |
| static | _RGBToHLS (array $a_rgb) |
| RGB to HLS (both arrays, 0..255) More... | |
| static | _HLSToRGB (array $a_hls) |
| HLS to RGB (both arrays, 0..255) More... | |
| static | _lookupTemplateName (int $a_t_id) |
| Lookup table template name for template ID. More... | |
| static | _lookupTemplateIdByName (int $a_style_id, string $a_name) |
| Lookup table template preview. More... | |
| static | writeStyleUsage (int $a_obj_id, int $a_style_id) |
| Write style usage. More... | |
| static | lookupObjectStyle (int $a_obj_id) |
| Lookup object style. More... | |
| static | lookupObjectForStyle (int $a_style_id) |
| Lookup objects for style. More... | |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
Data Fields | |
| array | $style = [] |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Static Public Attributes | |
| static array | $num_unit = array("px", "em", "rem", "ex", "%", "pt", "pc", "in", "mm", "cm") |
| static array | $num_unit_no_perc = array("px", "em", "rem", "ex", "pt", "pc", "in", "mm", "cm") |
| static array | $parameter |
| static array | $filtered_groups |
| static array | $style_super_types |
| static array | $expandable_types |
| static array | $hideable_types |
| static array | $assigned_tags |
| static array | $pseudo_classes |
| static array | div => ["hover" |
| static array | before |
| static array | img |
| static array | $core_styles |
| static array | $templates |
Static Protected Member Functions | |
| static | hexdec (string $hex) |
Protected Attributes | |
| InternalDomainService | $domain |
| ILIAS Style Content InternalRepoService | $repo |
| bool | $is_3_10_skin = false |
| string | $export_sub_dir = "" |
| array | $chars_by_type = [] |
| array | $end_styles = [] |
| array | $chars = [] |
| bool | $up_to_date = false |
| array | $hidden_chars = [] |
| array | $style_class = [] |
| int | $scope = 0 |
Protected Attributes inherited from ilObject | |
| ilLogger | $obj_log |
| ILIAS | $ilias |
| ilObjectDefinition | $obj_definition |
| ilDBInterface | $db |
| ilLogger | $log |
| ilErrorHandling | $error |
| ilTree | $tree |
| ilAppEventHandler | $app_event_handler |
| ilRbacAdmin | $rbac_admin |
| ilRbacReview | $rbac_review |
| ilObjUser | $user |
| ilLanguage | $lng |
| bool | $call_by_reference |
| int | $max_title = self::TITLE_LENGTH |
| int | $max_desc = self::DESC_LENGTH |
| bool | $add_dots = true |
| int | $ref_id = null |
| string | $type = "" |
| string | $title = "" |
| string | $desc = "" |
| string | $long_desc = "" |
| int | $owner = 0 |
| string | $create_date = "" |
| string | $last_update = "" |
| string | $import_id = "" |
| bool | $register = false |
Static Protected Attributes | |
| static string | $basic_style_file = "./libs/ilias/Style/basic_style/style.xml" |
| static string | $basic_style_zip = "./libs/ilias/Style/basic_style/style.zip" |
| static string | $basic_style_image_dir = "./libs/ilias/Style/basic_style/images" |
| static DOMDocument | $basic_style_dom = null |
Additional Inherited Members | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Class ilObjStyleSheet.
Definition at line 28 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = false |
||
| ) |
Definition at line 495 of file class.ilObjStyleSheet.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Repository\lng().
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 2194 of file class.ilObjStyleSheet.php.
References $DIC, $id, $ilDB, _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 2183 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 1093 of file class.ilObjStyleSheet.php.
References $DIC, $ilErr, ilFileUtils\getWebspaceDir(), and ilFileUtils\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 2165 of file class.ilObjStyleSheet.php.
Referenced by _getCoreStyles(), ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource(), ILIAS\Style\Content\CharacteristicManager\deleteCharacteristic(), ILIAS\Style\Content\CharacteristicTableGUI\fillRow(), getXML(), and ilStyleCharacteristicGUI\saveCharacteristic().
Here is the caller graph for this function:
|
static |
Explode an RGB string into an array.
Definition at line 2616 of file class.ilObjStyleSheet.php.
References $r.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Definition at line 750 of file class.ilObjStyleSheet.php.
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 708 of file class.ilObjStyleSheet.php.
References $DIC, $id, $ilDB, $q, ilObject\$ref_id, ilObject\_getAllReferences(), ilObjContentObject\_lookupContObjIdByStyleId(), ilObject\_lookupTitle(), and ILIAS\Repository\int().
Referenced by ilObjStyleSheetGUI\getCloneForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get color flavor.
Definition at line 2590 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 |
Definition at line 2116 of file class.ilObjStyleSheet.php.
References _determineTag().
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\__construct(), _addMissingStyleClassesToAllStyles(), ILIAS\Style\Content\CharacteristicManager\deleteCharacteristic(), ilStyleCharacteristicGUI\deleteCharacteristicConfirmation(), and ilStyleCharacteristicGUI\deleteCoreCharMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2067 of file class.ilObjStyleSheet.php.
Referenced by ilStyleCharacteristicGUI\getValues(), and ilStyleCharacteristicGUI\initTagStyleForm().
Here is the caller graph for this function:
|
static |
Definition at line 1142 of file class.ilObjStyleSheet.php.
References ilFileUtils\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 2152 of file class.ilObjStyleSheet.php.
|
static |
Get standard styles.
Definition at line 661 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, $ilSetting, $path, $q, $res, ilObject\$tree, ilObject\_lookupTitle(), ilTree\getPathId(), ILIAS\Repository\int(), and ilTree\isInTree().
Referenced by ILIAS\Style\Content\Object\ObjectManager\getSelectableStyles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2038 of file class.ilObjStyleSheet.php.
Referenced by ilStyleCharacteristicGUI\initTagStyleForm().
Here is the caller graph for this function:
|
static |
Definition at line 2072 of file class.ilObjStyleSheet.php.
Referenced by ilFontSizeInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), and ilTRBLNumericStyleValueInputGUI\insert().
Here is the caller graph for this function:
|
static |
Definition at line 2050 of file class.ilObjStyleSheet.php.
Referenced by ilStyleCharacteristicGUI\getValues(), and ilStyleCharacteristicGUI\saveTagStyle().
Here is the caller graph for this function:
|
static |
Definition at line 2044 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 2081 of file class.ilObjStyleSheet.php.
Referenced by ilFontSizeInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), and ilTRBLBorderWidthInputGUI\insert().
Here is the caller graph for this function:
|
static |
Definition at line 2102 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\__construct().
Here is the caller graph for this function:
|
static |
Definition at line 2087 of file class.ilObjStyleSheet.php.
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ILIAS\Style\Content\CharacteristicDBRepo\getBySuperType(), ilStyleCharacteristicGUI\initCharacteristicForm(), ilStyleCharacteristicGUI\listCharacteristics(), and ilStyleCharacteristicGUI\setListSubTabs().
Here is the caller graph for this function:
|
static |
Get template class types.
Definition at line 2143 of file class.ilObjStyleSheet.php.
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 2686 of file class.ilObjStyleSheet.php.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Definition at line 2092 of file class.ilObjStyleSheet.php.
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilStyleCharacteristicGUI\copyCharacteristics(), ilStyleCharacteristicGUI\initCharacteristicForm(), and ilStyleCharacteristicGUI\listCharacteristics().
Here is the caller graph for this function:
|
static |
Definition at line 2097 of file class.ilObjStyleSheet.php.
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\__construct(), and ILIAS\Style\Content\CharacteristicTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Lookup active flag.
Definition at line 643 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, $q, and $res.
Referenced by ilContentStyleSettingsGUI\edit().
Here is the caller graph for this function:
|
static |
Lookup standard flag.
Definition at line 614 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, $q, and $res.
Referenced by ILIAS\Style\Content\Object\ObjectManager\cloneTo(), ilObjectCopyGUI\copyParentPage(), and ILIAS\Style\Content\Object\ObjectManager\inheritFromParent().
Here is the caller graph for this function:
|
static |
Lookup table template preview.
Definition at line 3167 of file class.ilObjStyleSheet.php.
Referenced by ilPCTableGUI\editData(), ilPCTabsGUI\getFormValues(), ilPCTableGUI\getPropertiesFormValues(), and ilPCDataTableGUI\initEditingForm().
Here is the caller graph for this function:
|
static |
Lookup table template name for template ID.
Definition at line 3064 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\updateTemplateObject().
Here is the caller graph for this function:
|
static |
Definition at line 568 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, $q, and $res.
Referenced by getContentStylePath().
Here is the caller graph for this function:
|
static |
RGB to HLS (both arrays, 0..255)
Definition at line 2644 of file class.ilObjStyleSheet.php.
References Vendor\Package\$b, and $r.
Referenced by _getColorFlavor().
Here is the caller graph for this function:
|
static |
Definition at line 628 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $q.
Referenced by ilContentStyleSettingsGUI\saveActiveStyles().
Here is the caller graph for this function:
|
static |
Definition at line 599 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $q.
Referenced by ilContentStyleSettingsGUI\saveScope().
Here is the caller graph for this function:
|
static |
Write standard flag.
Definition at line 585 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $q.
Referenced by ilObjStyleSheetGUI\copyStyleObject(), ilObjStyleSheetGUI\importStyleObject(), and ilObjStyleSheetGUI\saveObject().
Here is the caller graph for this function:
|
static |
Definition at line 543 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $q.
Referenced by ILIAS\Style\Content\CharacteristicManager\addCharacteristic(), addCharacteristic(), ILIAS\Style\Content\CharacteristicManager\deleteCharacteristic(), ilStyleCharacteristicGUI\pasteCharacteristics(), ILIAS\Style\Content\ColorManager\updateColor(), and writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::addCharacteristic | ( | string | $a_type, |
| string | $a_char, | ||
| bool | $a_hidden = false, |
||
| int | $order_nr = 0, |
||
| bool | $outdated = false |
||
| ) |
Definition at line 909 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, _writeUpToDate(), ilObject\getId(), and setUpToDate().
Here is the call graph for this function:| ilObjStyleSheet::addMediaQuery | ( | string | $a_mquery, |
| int | $order_nr = 0 |
||
| ) |
Definition at line 2773 of file class.ilObjStyleSheet.php.
References ilObject\$db, $id, $ilDB, ilObject\getId(), and getMaxMQueryOrderNr().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::addParameter | ( | string | $a_tag, |
| string | $a_par, | ||
| string | $a_type, | ||
| int | $a_mq_id = 0, |
||
| bool | $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 1050 of file class.ilObjStyleSheet.php.
References ilObject\$db, $id, $ilDB, $q, getAvailableParameters(), ilObject\getId(), read(), and writeCSSFile().
Here is the call graph for this function:| ilObjStyleSheet::addTemplate | ( | string | $a_type, |
| string | $a_name, | ||
| array | $a_classes | ||
| ) |
Add table template.
Definition at line 2936 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, ilObject\$db, $ilDB, ilObjStyleSheetGUI\_getTemplatePreview(), ilObject\getId(), and writeTemplatePreview().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::addTemplateClass | ( | int | $a_t_id, |
| string | $a_type, | ||
| string | $a_class | ||
| ) |
| ilObjStyleSheet::characteristicExists | ( | string | $a_char, |
| string | $a_style_type | ||
| ) |
Check whether characteristic exists.
Definition at line 892 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::cleanExportDirectory | ( | ) |
Definition at line 1755 of file class.ilObjStyleSheet.php.
References ilFileUtils\delDir(), ilFileUtils\getDataDir(), and ilObject\getId().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::copyImagesToDir | ( | string | $a_target | ) |
Copy images to directory.
Definition at line 1036 of file class.ilObjStyleSheet.php.
References getImagesDirectory(), and ilFileUtils\rCopy().
Here is the call graph for this function:| ilObjStyleSheet::create | ( | int | $a_from_style = 0, |
| bool | $a_import_mode = false |
||
| ) |
Create a new style.
Definition at line 769 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, ilObject\$db, $DIC, $id, $ilDB, $q, $service, _createImagesDirectory(), _getTemplateClassTypes(), addMediaQuery(), addTemplate(), createFromXMLFile(), createImagesDirectory(), ilObject\getId(), getImagesDirectory(), getScope(), ilFileUtils\rCopy(), read(), and writeCSSFile().
Here is the call graph for this function:| ilObjStyleSheet::createExportDirectory | ( | ) |
Definition at line 1728 of file class.ilObjStyleSheet.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
Referenced by createExportSubDirectory(), and export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createExportSubDirectory | ( | ) |
Definition at line 1767 of file class.ilObjStyleSheet.php.
References createExportDirectory(), getExportSubDir(), and ilFileUtils\makeDir().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createFromXMLFile | ( | string | $a_file, |
| bool | $a_skip_parent_create = false |
||
| ) |
create style from xml file todo: add mq_id and custom
Definition at line 1945 of file class.ilObjStyleSheet.php.
References ilObject\$db, $id, $ilDB, $q, do_3_10_Migration(), ilObject\getId(), read(), ilStr\subStr(), 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 1084 of file class.ilObjStyleSheet.php.
References _createImagesDirectory(), and ilObject\getId().
Referenced by create(), and import().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::createImportDirectory | ( | ) |
Definition at line 1855 of file class.ilObjStyleSheet.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
Referenced by import().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::delete | ( | ) |
Definition at line 1211 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $q, ilObjContentObject\_deleteStyleAssignments(), ilObject\getId(), and ilFileUtils\getWebspaceDir().
Here is the call graph for this function:| ilObjStyleSheet::deleteCustomStylePars | ( | string | $a_tag, |
| string | $a_class, | ||
| string | $a_type, | ||
| int | $a_mq_id = 0 |
||
| ) |
Delete style parameter by tag/class/parameter.
| string | $a_tag | tag |
| string | $a_class | class |
| string | $a_type | type |
| int | $a_mq_id | media query id |
Definition at line 1174 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $q, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::deleteMediaQuery | ( | int | $a_id | ) |
Delete media query.
| int | $a_id | media query id |
Definition at line 2847 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and saveMediaQueryOrder().
Here is the call graph for this function:| ilObjStyleSheet::deleteParameter | ( | int | $a_id | ) |
delete style parameter
Definition at line 1157 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and $q.
| ilObjStyleSheet::deleteStyleParOfChar | ( | string | $a_type, |
| string | $a_class | ||
| ) |
Delete style parameters of characteristic.
Definition at line 1196 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $q, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::determineTemplateStyleClassType | ( | string | $t, |
| string | $k | ||
| ) |
Definition at line 2158 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::do_3_10_CharMigration | ( | int | $a_id = 0 | ) |
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 2346 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and $q.
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 2288 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 | ( | int | $a_id | ) |
Migrate old 3.9 styles.
Definition at line 2482 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 | ( | ) |
Definition at line 1810 of file class.ilObjStyleSheet.php.
References cleanExportDirectory(), createExportDirectory(), createExportSubDirectory(), exportXML(), getExportSubDir(), getImagesDirectory(), ilFileUtils\rCopy(), and ilFileUtils\zip().
Here is the call graph for this function:| ilObjStyleSheet::exportXML | ( | string | $a_dir | ) |
export style xml file to directory
Definition at line 1835 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 |
Definition at line 2170 of file class.ilObjStyleSheet.php.
Referenced by addParameter().
Here is the caller graph for this function:
|
static |
Definition at line 1624 of file class.ilObjStyleSheet.php.
Referenced by ilPCTableGUI\editData(), ilPCInteractiveImageGUI\editor(), and ilPageObjectGUI\showPage().
Here is the caller graph for this function:
|
static |
Definition at line 760 of file class.ilObjStyleSheet.php.
Referenced by ilCOPageHTMLExport\exportStyles().
Here is the caller graph for this function:
|
static |
Definition at line 515 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\saveObject().
Here is the caller graph for this function:| ilObjStyleSheet::getCharacteristics | ( | string | $a_type = "", |
| bool | $a_no_hidden = false, |
||
| bool | $a_include_core = true |
||
| ) |
Get characteristics.
Definition at line 935 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, and $chars.
Referenced by ilPCSectionGUI\_getCharacteristics(), ilPCMediaObjectGUI\_getCharacteristics(), and ilPCListGUI\_getListCharacteristics().
Here is the caller graph for this function:| ilObjStyleSheet::getColorCodeForName | ( | string | $a_name | ) |
Definition at line 2560 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 2529 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by getXML().
Here is the caller graph for this function:
|
static |
Definition at line 1614 of file class.ilObjStyleSheet.php.
Referenced by ilCOPageHTMLExport\exportStyles(), ilTestEvaluationGUI\prepareContentForPrint(), ILIAS\Export\PrintProcessGUI\renderPrintView(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:
|
static |
get content style path static (to avoid full reading)
Definition at line 1569 of file class.ilObjStyleSheet.php.
References $DIC, $ilSetting, $path, ilObject\_exists(), _lookupUpToDate(), ilFileUtils\getWebspaceDir(), ILIAS\Repository\int(), and ilWACSignedPath\signFile().
Referenced by ilDclDetailedViewDefinitionGUI\__construct(), ilPageLayoutGUI\__construct(), ilImprintGUI\__construct(), ilPortfolioPageGUI\__construct(), ilDclDetailedViewGUI\__construct(), ilBlogPostingGUI\__construct(), ilAssQuestionPreviewGUI\__construct(), ILIAS\Style\Content\GUIService\addCss(), ilPageObjectGUI\displayMedia(), assOrderingQuestionGUI\editNesting(), ilLOEditorGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilAssQuestionHintsGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilCOPageHTMLExport\exportStyles(), ilAssQuestionPageCommandForwarder\forward(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ILIAS\COPage\Page\PageQueryActionHandler\getConfig(), ILIAS\Portfolio\Export\PortfolioHtmlExport\getInitialisedTemplate(), ILIAS\Blog\Export\BlogHtmlExport\getInitialisedTemplate(), ilCOPageHTMLExport\getPreparedMainTemplate(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjStyleSheetGUI\includeCSS(), ilCOPageHTMLExport\initResourceTemplate(), ILIAS\Glossary\Export\GlossaryHtmlExport\initScreen(), ilAssQuestionPreviewGUI\initStyleSheets(), ilGlossaryPresentationGUI\media(), ilTestServiceGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilStyleCharacteristicGUI\outputTagStyleEditScreen(), ilTestEvaluationGUI\outUserPassDetails(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilObjStyleSheetGUI\propertiesObject(), ILIAS\Export\PrintProcessGUI\renderPrintView(), ilTestEvaluationGUI\setCss(), ilPCParagraphGUI\setStyle(), ilStartUpGUI\showLoginPage(), ilObjMediaPoolGUI\showMedia(), ilObjMediaPoolGUI\showPage(), and ilTestCorrectionsGUI\showSolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get effective Style Id.
| int | style id that may be set in object |
| string | object type |
Definition at line 1529 of file class.ilObjStyleSheet.php.
References $DIC, $ilSetting, ilObject\_lookupType(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjStyleSheet::getExportSubDir | ( | ) |
The local directory, that will be included within the zip file.
Definition at line 1795 of file class.ilObjStyleSheet.php.
References $export_sub_dir, and 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 | ( | string | $a_type, |
| string | $a_char | ||
| ) |
Get characteristic hidden status.
Definition at line 993 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::getImagesDirectory | ( | ) |
Definition at line 1137 of file class.ilObjStyleSheet.php.
References _getImagesDirectory(), and ilObject\getId().
Referenced by copyImagesToDir(), create(), export(), getThumbnailsDirectory(), and import().
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 2798 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by addMediaQuery().
Here is the caller graph for this function:| ilObjStyleSheet::getMediaQueries | ( | ) |
Definition at line 2757 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 | ( | int | $a_id | ) |
Get media query for id.
Definition at line 2830 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::getParametersOfClass | ( | string | $a_type, |
| string | $a_class, | ||
| int | $a_mq_id = 0 |
||
| ) |
Definition at line 1554 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::getScope | ( | ) |
Definition at line 538 of file class.ilObjStyleSheet.php.
References $scope.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjStyleSheet::getStyle | ( | ) |
Definition at line 1660 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 2028 of file class.ilObjStyleSheet.php.
References $parameter.
|
static |
Definition at line 1619 of file class.ilObjStyleSheet.php.
Referenced by ilDclDetailedViewDefinitionGUI\__construct(), ilPageLayoutGUI\__construct(), ilImprintGUI\__construct(), ilTermDefinitionEditorGUI\__construct(), ilPortfolioPageGUI\__construct(), ilWikiPageGUI\__construct(), ilDclDetailedViewGUI\__construct(), ilBlogPostingGUI\__construct(), ilAssQuestionPreviewGUI\__construct(), assOrderingQuestionGUI\editNesting(), ilObjTestGUI\executeCommand(), ilCOPageHTMLExport\exportStyles(), ilAssQuestionPageCommandForwarder\forward(), ilAuthLoginPageEditorGUI\forwardToPageObject(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\getContainerPageHTML(), ilContainerStartObjectsContentGUI\getPageHTML(), ilCOPageHTMLExport\getPreparedMainTemplate(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjForumGUI\getSafePostCommands(), ilCOPageHTMLExport\initResourceTemplate(), ilAssQuestionPreviewGUI\initStyleSheets(), ilObjContentPageGUI\initStyleSheets(), ilObjForumGUI\initStyleSheets(), ilLMEditorGUI\main_header(), ilTestServiceGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), ilTestEvaluationGUI\prepareContentForPrint(), ilContentPageKioskModeView\renderContentStyle(), ILIAS\Export\PrintProcessGUI\renderPrintView(), ilGlossaryPresentationGUI\setContentStyles(), ilLMPresentationGUI\setContentStyles(), ilObjWikiGUI\setContentStyleSheet(), ilObjContentPageGUI\setTabs(), ilStartUpGUI\showLoginPage(), ilObjMediaPoolGUI\showPage(), and ilTestCorrectionsGUI\showSolution().
Here is the caller graph for this function:| ilObjStyleSheet::getTemplate | ( | int | $a_t_id | ) |
| int | $a_t_id | template id |
Definition at line 3036 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and getTemplateClasses().
Referenced by ilObjStyleSheetGUI\_getTemplatePreview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getTemplateClasses | ( | int | $a_tid | ) |
Get template classes.
Definition at line 2916 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ILIAS\LTI\ToolProvider\$key.
Referenced by getTemplate(), and getTemplates().
Here is the caller graph for this function:| ilObjStyleSheet::getTemplates | ( | string | $a_type | ) |
Get table templates of style.
Definition at line 2894 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $templates, and getTemplateClasses().
Referenced by ilPageContentGUI\getTemplateOptions(), 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 3083 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, ilObject\$db, $ilDB, ilObject\$type, _getTemplateClassTypes(), and getTemplates().
Referenced by ilObjStyleSheetGUI\_getTemplatePreview(), ilPCTableGUI\getCellContent(), and ilPCTableGUI\getPropertiesFormValues().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::getThumbnailsDirectory | ( | ) |
Definition at line 1148 of file class.ilObjStyleSheet.php.
References getImagesDirectory().
Here is the call graph for this function:| ilObjStyleSheet::getUpToDate | ( | ) |
| ilObjStyleSheet::getXML | ( | ) |
get xml representation of style object todo: add mq_id
Definition at line 1679 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, _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 | ( | string | $a_str | ) |
Definition at line 1670 of file class.ilObjStyleSheet.php.
Referenced by getXML().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 2632 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::ilClone | ( | ) |
clone style sheet (note: styles have no ref ids and return an object id)
Definition at line 1013 of file class.ilObjStyleSheet.php.
References ilObject\$lng, ilObject\getDescription(), ilObject\getId(), ilObject\getTitle(), ilObject\getType(), ilLanguage\loadLanguageModule(), lookupStyleSetting(), and ilLanguage\txt().
Here is the call graph for this function:| ilObjStyleSheet::import | ( | $a_file | ) |
| array | string | $a_file |
Definition at line 1889 of file class.ilObjStyleSheet.php.
References _addMissingStyleClassesToStyle(), createFromXMLFile(), createImagesDirectory(), createImportDirectory(), ilObject\getId(), getImagesDirectory(), ilFileUtils\moveUploadedFile(), ilFileUtils\rCopy(), read(), and writeCSSFile().
Here is the call graph for this function:
|
static |
Definition at line 2128 of file class.ilObjStyleSheet.php.
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\fillRow(), ilStyleCharacteristicGUI\removeOutdated(), and ilStyleCharacteristicGUI\setOutdated().
Here is the caller graph for this function:
|
static |
Lookup objects for style.
Definition at line 3289 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, ilObject\_lookupType(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Lookup object style.
Definition at line 3262 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Referenced by ilObjectCopyGUI\copyParentPage(), ilStyleDataSet\getDependencies(), ILIAS\Style\Content\Object\ObjectManager\getStyleId(), ILIAS\Style\Content\Object\ObjectManager\inheritFromParent(), and ilContainerXmlWriter\writeSubitems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::lookupStyleSetting | ( | string | $a_name | ) |
Lookup style setting.
Definition at line 3225 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
Referenced by ilClone().
Here is the caller graph for this function:| ilObjStyleSheet::lookupTemplateName | ( | int | $a_t_id | ) |
Lookup table template name for template ID.
Definition at line 3056 of file class.ilObjStyleSheet.php.
Referenced by ilObjStyleSheetGUI\_getTemplatePreview().
Here is the caller graph for this function:| ilObjStyleSheet::lookupTemplatePreview | ( | int | $a_t_id | ) |
Lookup table template preview.
Definition at line 3151 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::read | ( | ) |
read style properties
Definition at line 1262 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $q, $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 | ( | string | $a_name | ) |
Remove a color.
Definition at line 2551 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::removeTemplate | ( | int | $a_t_id | ) |
Remove table template.
Definition at line 3188 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::saveHideStatus | ( | string | $a_type, |
| string | $a_char, | ||
| bool | $a_hide | ||
| ) |
Save characteristic hidden status.
Definition at line 974 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjStyleSheet::saveMediaQueryOrder | ( | array | $a_order_nr = null | ) |
Save media query order.
Definition at line 2863 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, getMediaQueries(), and ilArrayUtil\sortArray().
Referenced by deleteMediaQuery().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStyleSheet::setCharacteristics | ( | array | $a_chars | ) |
Definition at line 966 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setExportSubDir | ( | string | $a_dir | ) |
Set local directory, that will be included within the zip file.
Definition at line 1787 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setScope | ( | int | $a_scope | ) |
Definition at line 533 of file class.ilObjStyleSheet.php.
Referenced by read().
Here is the caller graph for this function:| ilObjStyleSheet::setStyle | ( | array | $a_style | ) |
Definition at line 1665 of file class.ilObjStyleSheet.php.
| ilObjStyleSheet::setUpToDate | ( | bool | $a_up_to_date = true | ) |
Set style up to date (false + update will trigger css generation next time)
Definition at line 523 of file class.ilObjStyleSheet.php.
Referenced by addCharacteristic(), read(), and writeCSSFile().
Here is the caller graph for this function:| ilObjStyleSheet::templateExists | ( | string | $a_template_name | ) |
Check whether template exists.
Definition at line 3019 of file class.ilObjStyleSheet.php.
References ilObject\$db, and $ilDB.
| ilObjStyleSheet::update | ( | ) |
Definition at line 1629 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, $q, 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::updateMediaQuery | ( | int | $a_id, |
| string | $a_mquery | ||
| ) |
| ilObjStyleSheet::updateStyleParameter | ( | int | $a_id, |
| string | $a_value | ||
| ) |
update style parameter per id
Definition at line 1648 of file class.ilObjStyleSheet.php.
References ilObject\$db, $ilDB, and $q.
| ilObjStyleSheet::updateTemplate | ( | int | $a_t_id, |
| string | $a_name, | ||
| array | $a_classes | ||
| ) |
Update table template.
Definition at line 2974 of file class.ilObjStyleSheet.php.
References Vendor\Package\$c, ilObject\$db, and $ilDB.
| ilObjStyleSheet::writeCSSFile | ( | string | $a_target_file = "", |
| string | $a_image_dir = "" |
||
| ) |
write css file to webspace directory
Definition at line 1336 of file class.ilObjStyleSheet.php.
References _writeUpToDate(), getColorCodeForName(), ilObject\getId(), getMediaQueries(), getStyle(), ilFileUtils\getWebspaceDir(), ILIAS\Repository\int(), ilFileUtils\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:
|
static |
Definition at line 557 of file class.ilObjStyleSheet.php.
References $DIC, $ilDB, and $q.
Referenced by ILIAS\Style\Content\Object\ObjectManager\cloneTo(), ilObjectCopyGUI\copyParentPage(), ilStyleDataSet\importRecord(), and ILIAS\Style\Content\Object\ObjectManager\setOwnerOfStyle().
Here is the caller graph for this function:| ilObjStyleSheet::writeStyleSetting | ( | string | $a_name, |
| string | $a_value | ||
| ) |
|
static |
Write style usage.
Definition at line 3242 of file class.ilObjStyleSheet.php.
Referenced by ILIAS\Style\Content\Object\ObjectManager\cloneTo(), ilObjectCopyGUI\copyParentPage(), ilContainerImporter\finalProcessing(), ilStyleDataSet\importRecord(), ILIAS\Style\Content\Object\ObjectManager\inheritFromParent(), and ILIAS\Style\Content\Object\ObjectManager\updateStyleId().
Here is the caller graph for this function:| ilObjStyleSheet::writeTemplatePreview | ( | int | $a_t_id, |
| string | $a_preview_html | ||
| ) |
Write table template preview.
Definition at line 3129 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 304 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 493 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 490 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 492 of file class.ilObjStyleSheet.php.
|
staticprotected |
Definition at line 491 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 36 of file class.ilObjStyleSheet.php.
Referenced by getCharacteristics().
|
protected |
Definition at line 34 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 380 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 30 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 35 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 289 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 33 of file class.ilObjStyleSheet.php.
Referenced by getExportSubDir().
|
static |
Definition at line 267 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 39 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 299 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 32 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 44 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 45 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 48 of file class.ilObjStyleSheet.php.
Referenced by getStyleParameterGroups().
|
static |
Definition at line 371 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 31 of file class.ilObjStyleSheet.php.
|
protected |
Definition at line 42 of file class.ilObjStyleSheet.php.
Referenced by getScope().
| array ilObjStyleSheet::$style = [] |
Definition at line 38 of file class.ilObjStyleSheet.php.
Referenced by getStyle().
|
protected |
Definition at line 40 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 272 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 453 of file class.ilObjStyleSheet.php.
Referenced by getTemplates().
|
protected |
Definition at line 37 of file class.ilObjStyleSheet.php.
Referenced by getUpToDate().
|
static |
Definition at line 374 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 374 of file class.ilObjStyleSheet.php.
|
static |
Definition at line 375 of file class.ilObjStyleSheet.php.