ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjStyleSheetGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference, $a_prep=true) | |
Constructor public. More... | |
executeCommand () | |
execute command More... | |
viewObject () | |
createObject () | |
create More... | |
includeCSS () | |
Include CSS in output. More... | |
checkWrite () | |
Check write. More... | |
editObject () | |
edit style sheet More... | |
propertiesObject () | |
Properties. More... | |
getPropertiesValues () | |
Get current values for properties from. More... | |
initPropertiesForm ($a_mode="edit") | |
FORM: Init properties form. More... | |
updateObject () | |
Update properties. More... | |
refreshTagStyleObject () | |
save and refresh tag editing More... | |
updateTagStyleObject () | |
save and refresh tag editing More... | |
saveTagStyle () | |
Save tag style. More... | |
writeStylePar ($cur_tag, $cur_class, $par, $value, $a_type, $a_mq_id, $a_custom=false) | |
editTagStyleObject () | |
Edit tag style. More... | |
switchMQueryObject () | |
Switch media query. More... | |
outputTagStyleEditScreen () | |
Output tag style edit screen. More... | |
initTagStyleForm ($a_mode, $a_cur_tag) | |
Init tag style editing form. More... | |
getValues () | |
FORM: Get current values from persistent object. More... | |
exportStyleObject () | |
export style More... | |
extractParametersOfTag ($a_tag, $a_class, $a_style, $a_type, $a_mq_id=0, $a_custom=false) | |
newStyleParameterObject () | |
add style parameter More... | |
refreshObject () | |
refresh style sheet More... | |
deleteObject ($a_error=false) | |
display deletion confirmation screen More... | |
cancelDeleteObject () | |
cancel oobject deletion More... | |
confirmedDeleteObject () | |
delete selected style objects More... | |
deleteStyleParameterObject () | |
delete style parameters More... | |
saveObject () | |
save style sheet More... | |
copyStyleObject () | |
save style sheet More... | |
importStyleObject () | |
import style sheet More... | |
afterImport (ilObject $a_new_obj) | |
After import. More... | |
cancelObject () | |
update style sheet More... | |
getAdminTabs () | |
admin and normal tabs are equal for roles More... | |
setTabs () | |
output tabs More... | |
getTabs () | |
adds tabs to tab gui object More... | |
setSubTabs () | |
adds tabs to tab gui object More... | |
setTemplatesSubTabs () | |
adds tabs to tab gui object More... | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
showUpperIcon () | |
listImagesObject () | |
List images of style. More... | |
addImageObject () | |
Add an image. More... | |
cancelUploadObject () | |
Cancel Upload. More... | |
uploadImageObject () | |
Upload image. More... | |
initImageForm () | |
Init image form. More... | |
deleteImageObject () | |
Delete images. More... | |
deleteCharacteristicConfirmationObject () | |
Characteristic deletion confirmation screen. More... | |
deleteCoreCharMessage () | |
Message that appears, when user tries to delete core characteristics. More... | |
cancelCharacteristicDeletionObject () | |
Cancel characteristic deletion. More... | |
deleteCharacteristicObject () | |
Delete one or multiple style characteristic. More... | |
addCharacteristicFormObject () | |
Add characteristic. More... | |
saveCharacteristicObject () | |
Save Characteristic. More... | |
initCharacteristicForm ($a_mode) | |
Init tag style editing form. More... | |
saveHideStatusObject () | |
Save hide status for characteristics. More... | |
copyCharacteristicsObject () | |
Copy style classes. More... | |
pasteCharacteristicsOverviewObject () | |
Paste characteristics overview. More... | |
pasteCharacteristicsObject () | |
Paste characteristics. More... | |
listColorsObject () | |
List colors of style. More... | |
addColorObject () | |
Add a color. More... | |
editColorObject () | |
Edit color. More... | |
initColorForm ($a_mode="create") | |
Init color form. More... | |
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 () | |
Delete colors. More... | |
listMediaQueriesObject () | |
List media queries of style. More... | |
addMediaQueryObject () | |
Add a media query. More... | |
editMediaQueryObject () | |
Edit media query. More... | |
initMediaQueryForm ($a_mode="create") | |
Init media query form. More... | |
getMediaQueryFormValues () | |
Set values for media query editing. More... | |
saveMediaQueryObject () | |
Save media query. More... | |
updateMediaQueryObject () | |
Update media query. More... | |
deleteMediaQueryConfirmationObject () | |
Confirm media query deletion. More... | |
deleteMediaQueriesObject () | |
Delete Media Queries. More... | |
saveMediaQueryOrderObject () | |
Save media query order. More... | |
listTemplatesObject () | |
List templates. More... | |
addTemplateObject () | |
Add template. More... | |
editTemplateObject () | |
Edit table template. More... | |
getTemplatePreview ($a_type, $a_t_id, $a_small_mode=false) | |
Get table template preview. More... | |
initTemplateForm ($a_mode="create") | |
Init table template form. More... | |
cancelTemplateSavingObject () | |
Cancel color saving. More... | |
saveTemplateObject () | |
Save table template. More... | |
updateTemplateObject ($a_refresh=false) | |
Update table template. More... | |
displayTemplateEditForm () | |
Display table tempalte edit form. More... | |
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 () | |
Delete table template. More... | |
deleteTemplateObject () | |
Delete table template. More... | |
generateTemplateObject () | |
Generate table template. More... | |
initTemplateGenerationForm () | |
Init table template generation form. More... | |
templateGenerationObject () | |
Table template generation. More... | |
accordiontestObject () | |
returnToUpperContextObject () | |
return to upper context More... | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
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 public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
Static Public Member Functions | |
static | getStyleExampleHTML ($a_type, $a_class) |
Get style example HTML. More... | |
static | _getTemplatePreview ($a_style, $a_type, $a_t_id, $a_small_mode=false) |
Get table template preview. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$cmd_update | |
$cmd_new_par | |
$cmd_refresh | |
$cmd_delete | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Attributes | |
$rbacsystem | |
$help | |
$tabs | |
$obj_definition | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
getObjectService () | |
Get object service. More... | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
redirectToRefId ($a_ref_id, $a_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 $_GET["ref_id"] value More... | |
fillCloneTemplate ($a_tpl_varname, $a_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... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Class ilObjStyleSheetGUI.
Definition at line 16 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prep = true |
|||
) |
Constructor public.
Definition at line 47 of file class.ilObjStyleSheetGUI.php.
References $_GET, $DIC, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjStyleSheet\_getStyleSuperTypeForType().
|
static |
Get table template preview.
Definition at line 2351 of file class.ilObjStyleSheetGUI.php.
References $a_type, $c, $DIC, $h, $i, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilPCTableGUI\_renderTable(), and ilAccordionGUI\addCss().
Referenced by ilObjStyleSheet\addTemplate(), and getTemplatePreview().
ilObjStyleSheetGUI::accordiontestObject | ( | ) |
Definition at line 3045 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, ilAccordionGUI\HORIZONTAL, and ilAccordionGUI\VERTICAL.
ilObjStyleSheetGUI::addAdminLocatorItems | ( | $a_do_not_add_object = false | ) |
should be overwritten to add object specific items (repository items are preloaded)
Definition at line 1340 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$locator, ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjStyleSheetGUI::addCharacteristicFormObject | ( | ) |
Add characteristic.
Definition at line 1609 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initCharacteristicForm().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Add a color.
Definition at line 1859 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::addImageObject | ( | ) |
Add an image.
Definition at line 1413 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::addMediaQueryObject | ( | ) |
Add a media query.
Definition at line 2086 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Add template.
Definition at line 2312 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateForm().
ilObjStyleSheetGUI::afterImport | ( | ilObject | $a_new_obj | ) |
ilObjStyleSheetGUI::cancelCharacteristicDeletionObject | ( | ) |
Cancel characteristic deletion.
Definition at line 1576 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 2030 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 1935 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
cancel oobject deletion
Definition at line 958 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
update style sheet
Definition at line 1136 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 2682 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 2509 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::cancelUploadObject | ( | ) |
Cancel Upload.
Definition at line 1424 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::checkWrite | ( | ) |
Check write.
Definition at line 207 of file class.ilObjStyleSheetGUI.php.
References $_GET, and $rbacsystem.
Referenced by deleteMediaQueriesObject(), editObject(), initPropertiesForm(), listColorsObject(), listImagesObject(), listMediaQueriesObject(), and listTemplatesObject().
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Definition at line 966 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::copyCharacteristicsObject | ( | ) |
Copy style classes.
Definition at line 1758 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendFailure().
ilObjStyleSheetGUI::copyStyleObject | ( | ) |
save style sheet
Definition at line 1045 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::createObject | ( | ) |
create
Definition at line 107 of file class.ilObjStyleSheetGUI.php.
References $form, $help, ilObjectGUI\$lng, $rbacsystem, ilObjectGUI\$tpl, ilObjStyleSheet\_getClonableContentStyles(), ilObjectGUI\getCreationFormsHTML(), ilHelpGUI\ID_PART_SCREEN, ilTextAreaInputGUI\setCols(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setRequired().
ilObjStyleSheetGUI::deleteCharacteristicConfirmationObject | ( | ) |
Characteristic deletion confirmation screen.
Definition at line 1492 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getCoreStyles(), deleteCoreCharMessage(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteCharacteristicObject | ( | ) |
Delete one or multiple style characteristic.
Definition at line 1588 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, $tag, and $type.
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 2002 of file class.ilObjStyleSheetGUI.php.
References $_POST, $c, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteColorObject | ( | ) |
Delete colors.
Definition at line 2040 of file class.ilObjStyleSheetGUI.php.
References $_POST, $c, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::deleteCoreCharMessage | ( | ) |
Message that appears, when user tries to delete core characteristics.
Definition at line 1535 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjStyleSheet\_getCoreStyles().
Referenced by deleteCharacteristicConfirmationObject().
ilObjStyleSheetGUI::deleteImageObject | ( | ) |
Delete images.
Definition at line 1475 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::deleteMediaQueriesObject | ( | ) |
Delete Media Queries.
Definition at line 2228 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $id, $ilCtrl, $rbacsystem, and checkWrite().
ilObjStyleSheetGUI::deleteMediaQueryConfirmationObject | ( | ) |
Confirm media query deletion.
Definition at line 2196 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $i, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteObject | ( | $a_error = false | ) |
display deletion confirmation screen
public
Definition at line 934 of file class.ilObjStyleSheetGUI.php.
References ilObject\_lookupTitle(), and ilUtil\getImageTagByType().
ilObjStyleSheetGUI::deleteStyleParameterObject | ( | ) |
delete style parameters
Definition at line 976 of file class.ilObjStyleSheetGUI.php.
References $_POST, $id, and editObject().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 2638 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteTemplateKeepClassesObject | ( | ) |
Delete table template.
Definition at line 2692 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::deleteTemplateObject | ( | ) |
Delete table template.
Definition at line 2708 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, and ilObjStyleSheet\_determineTag().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Display table tempalte edit form.
Definition at line 2594 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getTemplatePreview(), and includeCSS().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Edit color.
Definition at line 1870 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$tpl, getColorFormValues(), and initColorForm().
ilObjStyleSheetGUI::editMediaQueryObject | ( | ) |
Edit media query.
Definition at line 2097 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$tpl, getMediaQueryFormValues(), and initMediaQueryForm().
ilObjStyleSheetGUI::editObject | ( | ) |
edit style sheet
Definition at line 219 of file class.ilObjStyleSheetGUI.php.
References $_SESSION, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $rbacsystem, $t, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilObjStyleSheet\_getStyleSuperTypes(), ilObjStyleSheet\_isExpandable(), checkWrite(), includeCSS(), and setSubTabs().
Referenced by deleteStyleParameterObject(), newStyleParameterObject(), refreshObject(), and viewObject().
ilObjStyleSheetGUI::editTagStyleObject | ( | ) |
Edit tag style.
Definition at line 559 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, $si, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, getValues(), initTagStyleForm(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Edit table template.
Definition at line 2323 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$tpl, displayTemplateEditForm(), getTemplateFormValues(), and initTemplateForm().
ilObjStyleSheetGUI::executeCommand | ( | ) |
execute command
Definition at line 78 of file class.ilObjStyleSheetGUI.php.
References $ret, ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
export style
Definition at line 881 of file class.ilObjStyleSheetGUI.php.
References $r, and ilUtil\deliverFile().
ilObjStyleSheetGUI::extractParametersOfTag | ( | $a_tag, | |
$a_class, | |||
$a_style, | |||
$a_type, | |||
$a_mq_id = 0 , |
|||
$a_custom = false |
|||
) |
Definition at line 890 of file class.ilObjStyleSheetGUI.php.
Referenced by getValues().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Generate table template.
Definition at line 2730 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateGenerationForm().
ilObjStyleSheetGUI::getAdminTabs | ( | ) |
admin and normal tabs are equal for roles
Definition at line 1147 of file class.ilObjStyleSheetGUI.php.
References getTabs().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 1923 of file class.ilObjStyleSheetGUI.php.
References $_GET, and $values.
Referenced by editColorObject().
ilObjStyleSheetGUI::getMediaQueryFormValues | ( | ) |
Set values for media query editing.
Definition at line 2142 of file class.ilObjStyleSheetGUI.php.
References $_GET, and $values.
Referenced by editMediaQueryObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 327 of file class.ilObjStyleSheetGUI.php.
References $values.
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 1697 of file class.ilObjStyleSheetGUI.php.
References $a_type, $c, $DIC, and ilObjectGUI\$lng.
Referenced by ilStyleTableGUI\fillRow(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::getTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1173 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $help, $ilCtrl, ilObjectGUI\$lng, $t, and $tabs.
Referenced by getAdminTabs(), and setTabs().
ilObjStyleSheetGUI::getTemplateFormValues | ( | ) |
Set values for table template editing.
Definition at line 2621 of file class.ilObjStyleSheetGUI.php.
References $_GET, $t, $type, $values, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by editTemplateObject().
ilObjStyleSheetGUI::getTemplatePreview | ( | $a_type, | |
$a_t_id, | |||
$a_small_mode = false |
|||
) |
Get table template preview.
Definition at line 2338 of file class.ilObjStyleSheetGUI.php.
References $a_type, and _getTemplatePreview().
Referenced by displayTemplateEditForm(), saveTemplateObject(), templateGenerationObject(), and updateTemplateObject().
ilObjStyleSheetGUI::getValues | ( | ) |
FORM: Get current values from persistent object.
Definition at line 818 of file class.ilObjStyleSheetGUI.php.
References $_GET, $c, $input, $style, ilObjStyleSheet\_getFilteredGroups(), ilObjStyleSheet\_getStyleParameters(), and extractParametersOfTag().
Referenced by editTagStyleObject().
ilObjStyleSheetGUI::importStyleObject | ( | ) |
import style sheet
Definition at line 1072 of file class.ilObjStyleSheetGUI.php.
References $_GET, $info, $source, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::includeCSS | ( | ) |
Include CSS in output.
Definition at line 189 of file class.ilObjStyleSheetGUI.php.
References ilObjStyleSheet\getContentStylePath().
Referenced by displayTemplateEditForm(), editObject(), and listTemplatesObject().
ilObjStyleSheetGUI::initCharacteristicForm | ( | $a_mode | ) |
Init tag style editing form.
int | $a_mode | Form Edit Mode (IL_FORM_EDIT | IL_FORM_CREATE) |
Definition at line 1653 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $t, ilObjStyleSheet\_getStyleSuperTypes(), ilObjStyleSheet\_isExpandable(), ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by addCharacteristicFormObject(), and saveCharacteristicObject().
ilObjStyleSheetGUI::initColorForm | ( | $a_mode = "create" | ) |
Init color form.
Definition at line 1885 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilRegExpInputGUI\setPattern(), and ilFormPropertyGUI\setRequired().
Referenced by addColorObject(), editColorObject(), saveColorObject(), and updateColorObject().
ilObjStyleSheetGUI::initImageForm | ( | ) |
Init image form.
Definition at line 1453 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilFormPropertyGUI\setRequired().
Referenced by addImageObject(), and uploadImageObject().
ilObjStyleSheetGUI::initMediaQueryForm | ( | $a_mode = "create" | ) |
Init media query form.
Definition at line 2112 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, and ilObjectGUI\$lng.
Referenced by addMediaQueryObject(), editMediaQueryObject(), saveMediaQueryObject(), and updateMediaQueryObject().
ilObjStyleSheetGUI::initPropertiesForm | ( | $a_mode = "edit" | ) |
FORM: Init properties form.
int | $a_mode | Edit Mode |
Definition at line 343 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, $rbacsystem, checkWrite(), ilFormPropertyGUI\setInfo(), and ilTextInputGUI\setMaxLength().
Referenced by propertiesObject(), and updateObject().
ilObjStyleSheetGUI::initTagStyleForm | ( | $a_mode, | |
$a_cur_tag | |||
) |
Init tag style editing form.
int | $a_mode | Form Edit Mode (IL_FORM_EDIT | IL_FORM_CREATE) |
Definition at line 660 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, ilObjStyleSheet\_getFilteredGroups(), ilObjStyleSheet\_getStyleParameterInputType(), ilTRBLColorPickerInputGUI\setAcceptNamedColors(), ilNumericStyleValueInputGUI\setAllowPercentage(), ilTRBLNumericStyleValueInputGUI\setAllowPercentage(), ilColorPickerInputGUI\setDefaultColor(), ilBackgroundImageInputGUI\setImages(), ilTextInputGUI\setMaxLength(), ilNumberInputGUI\setMinValue(), and ilSelectInputGUI\setOptions().
Referenced by editTagStyleObject(), refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::initTemplateForm | ( | $a_mode = "create" | ) |
Init table template form.
Definition at line 2459 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, $sc, ilObjStyleSheet\_getTemplateClassTypes(), and ilRegExpInputGUI\setPattern().
Referenced by addTemplateObject(), editTemplateObject(), saveTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::initTemplateGenerationForm | ( | ) |
Init table template generation form.
Definition at line 2741 of file class.ilObjStyleSheetGUI.php.
References $c, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, ilNumericStyleValueInputGUI\setAllowPercentage(), ilNumberInputGUI\setMaxValue(), ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by generateTemplateObject(), and templateGenerationObject().
ilObjStyleSheetGUI::listColorsObject | ( | ) |
List colors of style.
Definition at line 1833 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $rbacsystem, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listImagesObject | ( | ) |
List images of style.
Definition at line 1386 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $rbacsystem, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listMediaQueriesObject | ( | ) |
List media queries of style.
Definition at line 2060 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, $rbacsystem, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 2265 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, checkWrite(), includeCSS(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::newStyleParameterObject | ( | ) |
add style parameter
Definition at line 908 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::outputTagStyleEditScreen | ( | ) |
Output tag style edit screen.
Definition at line 620 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\getContentStylePath(), and getStyleExampleHTML().
Referenced by editTagStyleObject(), refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::pasteCharacteristicsObject | ( | ) |
Paste characteristics.
Definition at line 1799 of file class.ilObjStyleSheetGUI.php.
References $_POST, $_SESSION, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilObjStyleSheet\_writeUpToDate().
ilObjStyleSheetGUI::pasteCharacteristicsOverviewObject | ( | ) |
Paste characteristics overview.
Definition at line 1780 of file class.ilObjStyleSheetGUI.php.
References $table, $tabs, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Properties.
Definition at line 298 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, $rbacsystem, ilObjectGUI\$toolbar, ilObjStyleSheet\getContentStylePath(), getPropertiesValues(), and initPropertiesForm().
ilObjStyleSheetGUI::refreshObject | ( | ) |
refresh style sheet
Definition at line 917 of file class.ilObjStyleSheetGUI.php.
References $_POST, $id, and editObject().
ilObjStyleSheetGUI::refreshTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 413 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 2613 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
return to upper context
Definition at line 3067 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::saveCharacteristicObject | ( | ) |
Save Characteristic.
Definition at line 1620 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_determineTag(), initCharacteristicForm(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveColorObject | ( | ) |
Save color.
Definition at line 1945 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::saveHideStatusObject | ( | ) |
Save hide status for characteristics.
Definition at line 1732 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveMediaQueryObject | ( | ) |
Save media query.
Definition at line 2157 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::saveMediaQueryOrderObject | ( | ) |
Save media query order.
Definition at line 2247 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::saveObject | ( | ) |
save style sheet
Definition at line 991 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_addMissingStyleClassesToStyle(), ilObject\_lookupType(), ilObjStyleSheet\_writeStandard(), ilObjStyleSheet\getBasicZipPath(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), settings(), and ilUtil\stripSlashes().
ilObjStyleSheetGUI::saveTagStyle | ( | ) |
Save tag style.
Definition at line 456 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $in, ilObjStyleSheet\_getStyleParameters(), and writeStylePar().
Referenced by refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::saveTemplateObject | ( | ) |
Save table template.
Definition at line 2520 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), getTemplatePreview(), and initTemplateForm().
ilObjStyleSheetGUI::setSubTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1288 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $tabs, and ilObjStyleSheet\_getStyleSuperTypes().
Referenced by editObject().
ilObjStyleSheetGUI::setTabs | ( | ) |
output tabs
Definition at line 1155 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and getTabs().
ilObjStyleSheetGUI::setTemplatesSubTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1315 of file class.ilObjStyleSheetGUI.php.
References $_GET, $c, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $t, $tabs, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::showUpperIcon | ( | ) |
Definition at line 1365 of file class.ilObjStyleSheetGUI.php.
References $_GET, $obj_definition, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
ilObjStyleSheetGUI::switchMQueryObject | ( | ) |
Switch media query.
Definition at line 608 of file class.ilObjStyleSheetGUI.php.
References $_POST, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 2814 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, getTemplatePreview(), and initTemplateGenerationForm().
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 1972 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::updateMediaQueryObject | ( | ) |
Update media query.
Definition at line 2176 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::updateObject | ( | ) |
Update properties.
Definition at line 387 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initPropertiesForm(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::updateTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 435 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::updateTemplateObject | ( | $a_refresh = false | ) |
Update table template.
Definition at line 2552 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), ilObjStyleSheet\_lookupTemplateName(), displayTemplateEditForm(), getTemplatePreview(), and initTemplateForm().
Referenced by refreshTemplateObject().
ilObjStyleSheetGUI::uploadImageObject | ( | ) |
Upload image.
Definition at line 1434 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::viewObject | ( | ) |
Definition at line 99 of file class.ilObjStyleSheetGUI.php.
References editObject().
ilObjStyleSheetGUI::writeStylePar | ( | $cur_tag, | |
$cur_class, | |||
$par, | |||
$value, | |||
$a_type, | |||
$a_mq_id, | |||
$a_custom = false |
|||
) |
Definition at line 540 of file class.ilObjStyleSheetGUI.php.
References $a_type.
Referenced by saveTagStyle().
ilObjStyleSheetGUI::$cmd_delete |
Definition at line 41 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_new_par |
Definition at line 39 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_refresh |
Definition at line 40 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_update |
Definition at line 38 of file class.ilObjStyleSheetGUI.php.
|
protected |
Definition at line 26 of file class.ilObjStyleSheetGUI.php.
Referenced by createObject(), and getTabs().
|
protected |
Definition at line 36 of file class.ilObjStyleSheetGUI.php.
Referenced by showUpperIcon().
|
protected |
Definition at line 21 of file class.ilObjStyleSheetGUI.php.
Referenced by checkWrite(), createObject(), deleteMediaQueriesObject(), editObject(), initPropertiesForm(), listColorsObject(), listImagesObject(), listMediaQueriesObject(), and propertiesObject().
|
protected |
Definition at line 31 of file class.ilObjStyleSheetGUI.php.
Referenced by editObject(), getTabs(), listTemplatesObject(), pasteCharacteristicsOverviewObject(), setSubTabs(), and setTemplatesSubTabs().