ILIAS
release_8 Revision v8.19
|
Class ilObjStyleSheetGUI. More...
Public Member Functions | |
__construct ( $a_data, int $a_id, bool $a_call_by_reference) | |
enableWrite (bool $a_write) | |
Enable writing. More... | |
executeCommand () | |
viewObject () | |
createObject () | |
includeCSS () | |
editObject () | |
Edit -> List characteristics. More... | |
propertiesObject () | |
getPropertiesValues () | |
Get current values for properties from. More... | |
initPropertiesForm (string $a_mode="edit") | |
FORM: Init properties form. More... | |
updateObject () | |
exportStyleObject () | |
deleteObject ($a_error=false) | |
display deletion confirmation screen More... | |
cancelDeleteObject () | |
confirmedDeleteObject () | |
delete selected style objects More... | |
saveObject () | |
copyStyleObject () | |
importStyleObject () | |
Import style sheet. More... | |
cancelObject () | |
getAdminTabs () | |
setTemplatesSubTabs () | |
listColorsObject () | |
List colors of style. More... | |
addColorObject () | |
editColorObject () | |
initColorForm (string $a_mode="create") | |
getColorFormValues () | |
Set values for color editing. More... | |
cancelColorSavingObject () | |
Cancel color saving. More... | |
saveColorObject () | |
Save color. More... | |
updateColorObject () | |
Update color. More... | |
deleteColorConfirmationObject () | |
Delete color confirmation. More... | |
cancelColorDeletionObject () | |
Cancel color deletion. More... | |
deleteColorObject () | |
listMediaQueriesObject () | |
addMediaQueryObject () | |
editMediaQueryObject () | |
initMediaQueryForm (string $a_mode="create") | |
Init media query form. More... | |
getMediaQueryFormValues () | |
Set values for media query editing. More... | |
saveMediaQueryObject () | |
Save media query. More... | |
updateMediaQueryObject () | |
deleteMediaQueryConfirmationObject () | |
deleteMediaQueriesObject () | |
saveMediaQueryOrderObject () | |
listTemplatesObject () | |
List templates. More... | |
addTemplateObject () | |
editTemplateObject () | |
getTemplatePreview (string $a_type, int $a_t_id, bool $a_small_mode=false) | |
initTemplateForm (string $a_mode="create") | |
Init table template form. More... | |
cancelTemplateSavingObject () | |
Cancel color saving. More... | |
saveTemplateObject () | |
Save table template. More... | |
updateTemplateObject (bool $a_refresh=false) | |
displayTemplateEditForm () | |
refreshTemplateObject () | |
Refresh table template. More... | |
getTemplateFormValues () | |
Set values for table template editing. More... | |
deleteTemplateConfirmationObject () | |
Delete table template confirmation. More... | |
cancelTemplateDeletionObject () | |
Cancel table template deletion. More... | |
deleteTemplateKeepClassesObject () | |
deleteTemplateObject () | |
Delete template. More... | |
generateTemplateObject () | |
initTemplateGenerationForm () | |
Init table template generation form. More... | |
templateGenerationObject () | |
Table template generation. More... | |
returnToUpperContextObject () | |
![]() | |
__construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | getStyleExampleHTML (string $a_type, string $a_class) |
Get style example HTML. More... | |
static | _getTemplatePreview (ilObjStyleSheet $a_style, string $a_type, int $a_t_id, bool $a_small_mode=false) |
Get table template preview. More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Data Fields | |
string | $cmd_update |
string | $cmd_new_par |
string | $cmd_delete |
![]() | |
const | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
getCreateForm () | |
getImportForm () | |
getCloneForm () | |
getTabs () | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms (string $new_type) | |
Init creation forms. More... | |
getCreationFormsHTML (array $forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm (string $new_type) | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm (string $new_type) | |
importFileObject (int $parent_id=null) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More... | |
fillCloneTemplate (?string $tpl_name, string $type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true) | |
show edit section of custom icons for container More... | |
Class ilObjStyleSheetGUI.
Definition at line 30 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::__construct | ( | $a_data, | |
int | $a_id, | ||
bool | $a_call_by_reference | ||
) |
Definition at line 50 of file class.ilObjStyleSheetGUI.php.
References $DIC, ilObjectGUI\$ref_id, ILIAS\GlobalScreen\Provider\__construct(), ilObjStyleSheet\_getStyleSuperTypeForType(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
static |
Get table template preview.
Definition at line 1198 of file class.ilObjStyleSheetGUI.php.
References $c, $DIC, $i, ilObjectGUI\$lng, ilPCTableGUI\_renderTable(), ilAccordionGUI\addCss(), ilObjStyleSheet\getTemplate(), ilObjStyleSheet\getTemplateXML(), ilObjStyleSheet\lookupTemplateName(), and ilLanguage\txt().
Referenced by ilObjStyleSheet\addTemplate(), and getTemplatePreview().
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Definition at line 653 of file class.ilObjStyleSheetGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Definition at line 746 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, initColorForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::addMediaQueryObject | ( | ) |
Definition at line 955 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, initMediaQueryForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Definition at line 1159 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, initTemplateForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 911 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 816 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
Definition at line 395 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
Definition at line 546 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, ILIAS\Repository\ctrl(), and ilLanguage\txt().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 1540 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 1361 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Definition at line 403 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::copyStyleObject | ( | ) |
Definition at line 463 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjStyleSheet\_writeStandard(), ilPropertyFormGUI\checkInput(), getCloneForm(), ilPropertyFormGUI\getInput(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), and ilCtrl\returnToParent().
ilObjStyleSheetGUI::createObject | ( | ) |
Definition at line 178 of file class.ilObjStyleSheetGUI.php.
References $help, ilObjectGUI\$tpl, getCloneForm(), getCreateForm(), ilObjectGUI\getCreationFormsHTML(), getImportForm(), ilHelpGUI\ID_PART_SCREEN, and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 883 of file class.ilObjStyleSheetGUI.php.
References $c, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilLegacyFormElementsUtil\prepareFormOutput(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::deleteColorObject | ( | ) |
Definition at line 917 of file class.ilObjStyleSheetGUI.php.
References $c, ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::deleteMediaQueriesObject | ( | ) |
Definition at line 1084 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$id, and ilCtrl\redirect().
ilObjStyleSheetGUI::deleteMediaQueryConfirmationObject | ( | ) |
Definition at line 1058 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $i, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::deleteObject | ( | $a_error = false | ) |
display deletion confirmation screen
Definition at line 376 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, ilObject\_lookupTitle(), ilCtrl\getFormAction(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 1496 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::deleteTemplateKeepClassesObject | ( | ) |
Definition at line 1547 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::deleteTemplateObject | ( | ) |
Delete template.
Content |
Definition at line 1565 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Definition at line 1446 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, getTemplatePreview(), includeCSS(), and ilGlobalTemplateInterface\setContent().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Definition at line 754 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, getColorFormValues(), initColorForm(), ilGlobalTemplateInterface\setContent(), and ilCtrl\setParameter().
ilObjStyleSheetGUI::editMediaQueryObject | ( | ) |
Definition at line 963 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, getMediaQueryFormValues(), initMediaQueryForm(), ilGlobalTemplateInterface\setContent(), and ilCtrl\setParameter().
ilObjStyleSheetGUI::editObject | ( | ) |
Edit -> List characteristics.
Definition at line 267 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirectByClass().
Referenced by viewObject().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Definition at line 1167 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, displayTemplateEditForm(), getTemplateFormValues(), initTemplateForm(), and ilCtrl\setParameter().
ilObjStyleSheetGUI::enableWrite | ( | bool | $a_write | ) |
Enable writing.
Definition at line 106 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::executeCommand | ( | ) |
Definition at line 111 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$object, ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), includeCSS(), ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
Definition at line 365 of file class.ilObjStyleSheetGUI.php.
References ilFileDelivery\deliverFileLegacy(), and ILIAS\Repository\object().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Definition at line 1585 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, initTemplateGenerationForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::getAdminTabs | ( | ) |
Definition at line 554 of file class.ilObjStyleSheetGUI.php.
References getTabs().
|
protected |
Definition at line 239 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $form, ilObjStyleSheet\_getClonableContentStyles(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilCtrl\getFormAction(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by copyStyleObject(), and createObject().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 803 of file class.ilObjStyleSheetGUI.php.
Referenced by editColorObject().
|
protected |
Definition at line 197 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilCtrl\getFormAction(), ILIAS\Repository\lng(), ilTextAreaInputGUI\setCols(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by createObject(), and saveObject().
|
protected |
Definition at line 222 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilCtrl\getFormAction(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormPropertyGUI\setRequired(), and ilPropertyFormGUI\setTitle().
Referenced by createObject().
ilObjStyleSheetGUI::getMediaQueryFormValues | ( | ) |
Set values for media query editing.
Definition at line 1007 of file class.ilObjStyleSheetGUI.php.
References ILIAS\Repository\object().
Referenced by editMediaQueryObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 286 of file class.ilObjStyleSheetGUI.php.
References ILIAS\Repository\form(), ILIAS\Repository\int(), and ILIAS\Repository\object().
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 682 of file class.ilObjStyleSheetGUI.php.
References $c, $DIC, ilObjectGUI\$lng, and ilLanguage\txt().
Referenced by ILIAS\Style\Content\CharacteristicTableGUI\fillRow(), and ilStyleCharacteristicGUI\outputTagStyleEditScreen().
|
protected |
Definition at line 559 of file class.ilObjStyleSheetGUI.php.
References $help, ilObjectGUI\$lng, ILIAS\Repository\ctrl(), ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().
Referenced by getAdminTabs().
ilObjStyleSheetGUI::getTemplateFormValues | ( | ) |
Set values for table template editing.
Definition at line 1476 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$type, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by editTemplateObject().
ilObjStyleSheetGUI::getTemplatePreview | ( | string | $a_type, |
int | $a_t_id, | ||
bool | $a_small_mode = false |
||
) |
Definition at line 1182 of file class.ilObjStyleSheetGUI.php.
References _getTemplatePreview().
Referenced by displayTemplateEditForm(), saveTemplateObject(), templateGenerationObject(), and updateTemplateObject().
ilObjStyleSheetGUI::importStyleObject | ( | ) |
Import style sheet.
Definition at line 496 of file class.ilObjStyleSheetGUI.php.
References $source, ilObjStyleSheet\_writeStandard(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::includeCSS | ( | ) |
Definition at line 257 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, ilGlobalTemplateInterface\addCss(), ilObjStyleSheet\getContentStylePath(), and ILIAS\Repository\object().
Referenced by displayTemplateEditForm(), executeCommand(), and listTemplatesObject().
ilObjStyleSheetGUI::initColorForm | ( | string | $a_mode = "create" | ) |
Definition at line 766 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilRegExpInputGUI\setPattern(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by addColorObject(), editColorObject(), saveColorObject(), and updateColorObject().
ilObjStyleSheetGUI::initMediaQueryForm | ( | string | $a_mode = "create" | ) |
Init media query form.
Definition at line 978 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, and ilLanguage\txt().
Referenced by addMediaQueryObject(), editMediaQueryObject(), saveMediaQueryObject(), and updateMediaQueryObject().
ilObjStyleSheetGUI::initPropertiesForm | ( | string | $a_mode = "edit" | ) |
FORM: Init properties form.
Definition at line 300 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ILIAS\Repository\form(), ilCtrl\getFormAction(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), and ilLanguage\txt().
Referenced by propertiesObject(), and updateObject().
ilObjStyleSheetGUI::initTemplateForm | ( | string | $a_mode = "create" | ) |
Init table template form.
Definition at line 1310 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjStyleSheet\_getTemplateClassTypes(), ilRegExpInputGUI\setPattern(), and ilLanguage\txt().
Referenced by addTemplateObject(), editTemplateObject(), saveTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::initTemplateGenerationForm | ( | ) |
Init table template generation form.
Definition at line 1596 of file class.ilObjStyleSheetGUI.php.
References $c, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilNumericStyleValueInputGUI\setAllowPercentage(), ilNumberInputGUI\setMaxValue(), ilSelectInputGUI\setOptions(), ilRegExpInputGUI\setPattern(), and ilLanguage\txt().
Referenced by generateTemplateObject(), and templateGenerationObject().
ilObjStyleSheetGUI::listColorsObject | ( | ) |
List colors of style.
Definition at line 724 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::listMediaQueriesObject | ( | ) |
Definition at line 933 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 1116 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, includeCSS(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Definition at line 273 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, ilGlobalTemplateInterface\addCss(), ILIAS\Repository\form(), ilObjStyleSheet\getContentStylePath(), getPropertiesValues(), initPropertiesForm(), ILIAS\Repository\object(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 1468 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
Definition at line 1897 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\returnToParent().
ilObjStyleSheetGUI::saveColorObject | ( | ) |
Save color.
Definition at line 826 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initColorForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::saveMediaQueryObject | ( | ) |
Save media query.
Definition at line 1023 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initMediaQueryForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::saveMediaQueryOrderObject | ( | ) |
Definition at line 1097 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and ilCtrl\redirect().
ilObjStyleSheetGUI::saveObject | ( | ) |
Definition at line 409 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjStyleSheet\_addMissingStyleClassesToStyle(), ilObject\_lookupType(), ilObjStyleSheet\_writeStandard(), ilPropertyFormGUI\checkInput(), ilObjStyleSheet\getBasicZipPath(), getCreateForm(), ilPropertyFormGUI\getInput(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilCtrl\redirect(), ilCtrl\returnToParent(), and ILIAS\Repository\settings().
ilObjStyleSheetGUI::saveTemplateObject | ( | ) |
Save table template.
Definition at line 1371 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), getTemplatePreview(), initTemplateForm(), ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::setTemplatesSubTabs | ( | ) |
Definition at line 629 of file class.ilObjStyleSheetGUI.php.
References $c, ilObjectGUI\$ctrl, ilObjStyleSheet\_getTemplateClassTypes(), and ILIAS\Repository\ctrl().
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 1667 of file class.ilObjStyleSheetGUI.php.
References Vendor\Package\$b, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, getTemplatePreview(), initTemplateGenerationForm(), ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 852 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initColorForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::updateMediaQueryObject | ( | ) |
Definition at line 1039 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tpl, initMediaQueryForm(), and ilGlobalTemplateInterface\setContent().
ilObjStyleSheetGUI::updateObject | ( | ) |
Definition at line 341 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ILIAS\Repository\form(), initPropertiesForm(), ilCtrl\redirect(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjStyleSheetGUI::updateTemplateObject | ( | bool | $a_refresh = false | ) |
Definition at line 1405 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjStyleSheet\_getTemplateClassTypes(), ilObjStyleSheet\_lookupTemplateName(), displayTemplateEditForm(), getTemplatePreview(), initTemplateForm(), ILIAS\Repository\object(), and ilLanguage\txt().
Referenced by refreshTemplateObject().
ilObjStyleSheetGUI::viewObject | ( | ) |
Definition at line 173 of file class.ilObjStyleSheetGUI.php.
References editObject().
|
protected |
Definition at line 43 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 44 of file class.ilObjStyleSheetGUI.php.
string ilObjStyleSheetGUI::$cmd_delete |
Definition at line 40 of file class.ilObjStyleSheetGUI.php.
string ilObjStyleSheetGUI::$cmd_new_par |
Definition at line 39 of file class.ilObjStyleSheetGUI.php.
string ilObjStyleSheetGUI::$cmd_update |
Definition at line 38 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 45 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 41 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 33 of file class.ilObjStyleSheetGUI.php.
Referenced by getCloneForm(), getCreateForm(), and getImportForm().
|
protected |
Definition at line 32 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 47 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 36 of file class.ilObjStyleSheetGUI.php.
Referenced by createObject(), and getTabs().
|
protected |
Definition at line 46 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 37 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 35 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 34 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 42 of file class.ilObjStyleSheetGUI.php.