ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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... | |
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 |
$ilias | |
$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 |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
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... | |
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... | |
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... | |
Protected Attributes inherited from ilObjectGUI | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
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 27 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getStyleSuperTypeForType(), and array.
|
static |
Get table template preview.
Definition at line 2271 of file class.ilObjStyleSheetGUI.php.
References $a_type, $h, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilPCTableGUI\_renderTable(), and ilAccordionGUI\addCss().
Referenced by ilObjStyleSheet\addTemplate(), and getTemplatePreview().
ilObjStyleSheetGUI::accordiontestObject | ( | ) |
Definition at line 2913 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 1281 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObject\_lookupObjId(), ilObject\_lookupTitle(), and object.
ilObjStyleSheetGUI::addCharacteristicFormObject | ( | ) |
Add characteristic.
Definition at line 1555 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initCharacteristicForm().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Add a color.
Definition at line 1802 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::addImageObject | ( | ) |
Add an image.
Definition at line 1345 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::addMediaQueryObject | ( | ) |
Add a media query.
Definition at line 2027 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Add template.
Definition at line 2237 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateForm().
ilObjStyleSheetGUI::afterImport | ( | ilObject | $a_new_obj | ) |
ilObjStyleSheetGUI::cancelCharacteristicDeletionObject | ( | ) |
Cancel characteristic deletion.
Definition at line 1521 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 1976 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 1880 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
cancel oobject deletion
Definition at line 927 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
update style sheet
Definition at line 1105 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 2636 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 2460 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelUploadObject | ( | ) |
ilObjStyleSheetGUI::checkWrite | ( | ) |
Check write.
Definition at line 173 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by deleteMediaQueriesObject(), editObject(), initPropertiesForm(), listColorsObject(), listImagesObject(), and listMediaQueriesObject().
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Definition at line 935 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ilias.
ilObjStyleSheetGUI::copyCharacteristicsObject | ( | ) |
Copy style classes.
Definition at line 1708 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjStyleSheetGUI::copyStyleObject | ( | ) |
save style sheet
Definition at line 1005 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ilias, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::createObject | ( | ) |
create
Definition at line 78 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getClonableContentStyles(), array, ilObjectGUI\getCreationFormsHTML(), ilHelpGUI\ID_PART_SCREEN, ilTextAreaInputGUI\setCols(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setRequired().
ilObjStyleSheetGUI::deleteCharacteristicConfirmationObject | ( | ) |
Characteristic deletion confirmation screen.
Definition at line 1428 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getCoreStyles(), deleteCoreCharMessage(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteCharacteristicObject | ( | ) |
Delete one or multiple style characteristic.
Definition at line 1532 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 1946 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteColorObject | ( | ) |
Delete colors.
Definition at line 1986 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteCoreCharMessage | ( | ) |
Message that appears, when user tries to delete core characteristics.
Definition at line 1475 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjStyleSheet\_getCoreStyles().
Referenced by deleteCharacteristicConfirmationObject().
ilObjStyleSheetGUI::deleteImageObject | ( | ) |
Delete images.
Definition at line 1409 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteMediaQueriesObject | ( | ) |
Delete Media Queries.
Definition at line 2172 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, and checkWrite().
ilObjStyleSheetGUI::deleteMediaQueryConfirmationObject | ( | ) |
Confirm media query deletion.
Definition at line 2138 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteObject | ( | $a_error = false | ) |
display deletion confirmation screen
public
Definition at line 903 of file class.ilObjStyleSheetGUI.php.
References ilUtil\getImageTagByType(), and object.
ilObjStyleSheetGUI::deleteStyleParameterObject | ( | ) |
delete style parameters
Definition at line 947 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 2587 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, array, object, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteTemplateKeepClassesObject | ( | ) |
Delete table template.
Definition at line 2646 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteTemplateObject | ( | ) |
Delete table template.
Definition at line 2664 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, and ilObjStyleSheet\_determineTag().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Display table tempalte edit form.
Definition at line 2545 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getTemplatePreview(), and includeCSS().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Edit color.
Definition at line 1813 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getColorFormValues(), and initColorForm().
ilObjStyleSheetGUI::editMediaQueryObject | ( | ) |
Edit media query.
Definition at line 2038 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getMediaQueryFormValues(), and initMediaQueryForm().
ilObjStyleSheetGUI::editObject | ( | ) |
edit style sheet
Definition at line 185 of file class.ilObjStyleSheetGUI.php.
References $_SESSION, $ilCtrl, ilObjectGUI\$lng, $t, 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 533 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $options, $si, ilObjectGUI\$tpl, array, getValues(), initTagStyleForm(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Edit table template.
Definition at line 2248 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, displayTemplateEditForm(), getTemplateFormValues(), and initTemplateForm().
ilObjStyleSheetGUI::executeCommand | ( | ) |
execute command
Definition at line 47 of file class.ilObjStyleSheetGUI.php.
References $cmd, $ret, ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
export style
Definition at line 846 of file class.ilObjStyleSheetGUI.php.
References $r, ilUtil\deliverFile(), and object.
ilObjStyleSheetGUI::extractParametersOfTag | ( | $a_tag, | |
$a_class, | |||
$a_style, | |||
$a_type, | |||
$a_mq_id = 0 , |
|||
$a_custom = false |
|||
) |
Definition at line 855 of file class.ilObjStyleSheetGUI.php.
References $a_type, and array.
Referenced by getValues().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Generate table template.
Definition at line 2689 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateGenerationForm().
ilObjStyleSheetGUI::getAdminTabs | ( | ) |
admin and normal tabs are equal for roles
Definition at line 1116 of file class.ilObjStyleSheetGUI.php.
References getTabs().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 1867 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by editColorObject().
ilObjStyleSheetGUI::getMediaQueryFormValues | ( | ) |
Set values for media query editing.
Definition at line 2083 of file class.ilObjStyleSheetGUI.php.
Referenced by editMediaQueryObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 280 of file class.ilObjStyleSheetGUI.php.
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 1646 of file class.ilObjStyleSheetGUI.php.
References $a_type, ilObjectGUI\$lng, and array.
Referenced by ilStyleTableGUI\fillRow(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::getTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1145 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $t, and array.
Referenced by getAdminTabs(), and setTabs().
ilObjStyleSheetGUI::getTemplateFormValues | ( | ) |
Set values for table template editing.
Definition at line 2568 of file class.ilObjStyleSheetGUI.php.
References $_GET, $t, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by editTemplateObject().
ilObjStyleSheetGUI::getTemplatePreview | ( | $a_type, | |
$a_t_id, | |||
$a_small_mode = false |
|||
) |
Get table template preview.
Definition at line 2262 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 791 of file class.ilObjStyleSheetGUI.php.
References $_GET, $style, ilObjStyleSheet\_getFilteredGroups(), ilObjStyleSheet\_getStyleParameters(), array, and extractParametersOfTag().
Referenced by editTagStyleObject().
ilObjStyleSheetGUI::importStyleObject | ( | ) |
import style sheet
Definition at line 1036 of file class.ilObjStyleSheetGUI.php.
References $_GET, $info, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::includeCSS | ( | ) |
Include CSS in output.
Definition at line 157 of file class.ilObjStyleSheetGUI.php.
References ilObjStyleSheet\getContentStylePath(), and object.
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 1598 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjStyleSheet\_getStyleSuperTypes(), ilObjStyleSheet\_isExpandable(), array, ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by addCharacteristicFormObject(), and saveCharacteristicObject().
ilObjStyleSheetGUI::initColorForm | ( | $a_mode = "create" | ) |
Init color form.
Definition at line 1827 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilRegExpInputGUI\setPattern(), and ilFormPropertyGUI\setRequired().
Referenced by addColorObject(), editColorObject(), saveColorObject(), and updateColorObject().
ilObjStyleSheetGUI::initImageForm | ( | ) |
Init image form.
Definition at line 1388 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFormPropertyGUI\setRequired().
Referenced by addImageObject(), and uploadImageObject().
ilObjStyleSheetGUI::initMediaQueryForm | ( | $a_mode = "create" | ) |
Init media query form.
Definition at line 2052 of file class.ilObjStyleSheetGUI.php.
References $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 296 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, 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 626 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $options, ilObjStyleSheet\_getFilteredGroups(), ilObjStyleSheet\_getStyleParameterInputType(), array, object, 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 2403 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $options, ilObjStyleSheet\_getTemplateClassTypes(), array, and ilRegExpInputGUI\setPattern().
Referenced by addTemplateObject(), editTemplateObject(), saveTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::initTemplateGenerationForm | ( | ) |
Init table template generation form.
Definition at line 2700 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $options, array, ilNumericStyleValueInputGUI\setAllowPercentage(), ilNumberInputGUI\setMaxValue(), ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by generateTemplateObject(), and templateGenerationObject().
ilObjStyleSheetGUI::listColorsObject | ( | ) |
List colors of style.
Definition at line 1782 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listImagesObject | ( | ) |
List images of style.
Definition at line 1325 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listMediaQueriesObject | ( | ) |
List media queries of style.
Definition at line 2008 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, and checkWrite().
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 2211 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, includeCSS(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::newStyleParameterObject | ( | ) |
add style parameter
Definition at line 876 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::outputTagStyleEditScreen | ( | ) |
Output tag style edit screen.
Definition at line 594 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\getContentStylePath(), getStyleExampleHTML(), and object.
Referenced by editTagStyleObject(), refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::pasteCharacteristicsObject | ( | ) |
Paste characteristics.
Definition at line 1750 of file class.ilObjStyleSheetGUI.php.
References $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilObjStyleSheet\_writeUpToDate(), object, and ilUtil\sendSuccess().
ilObjStyleSheetGUI::pasteCharacteristicsOverviewObject | ( | ) |
Paste characteristics overview.
Definition at line 1732 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl.
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Properties.
Definition at line 257 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, ilObjStyleSheet\getContentStylePath(), getPropertiesValues(), initPropertiesForm(), and object.
ilObjStyleSheetGUI::refreshObject | ( | ) |
refresh style sheet
Definition at line 885 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::refreshTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 369 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 2560 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
return to upper context
Definition at line 2935 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::saveCharacteristicObject | ( | ) |
Save Characteristic.
Definition at line 1566 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_determineTag(), initCharacteristicForm(), object, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveColorObject | ( | ) |
Save color.
Definition at line 1890 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initColorForm(), and object.
ilObjStyleSheetGUI::saveHideStatusObject | ( | ) |
Save hide status for characteristics.
Definition at line 1685 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveMediaQueryObject | ( | ) |
Save media query.
Definition at line 2101 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::saveMediaQueryOrderObject | ( | ) |
Save media query order.
Definition at line 2192 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::saveObject | ( | ) |
save style sheet
Definition at line 964 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjStyleSheetGUI::saveTagStyle | ( | ) |
Save tag style.
Definition at line 418 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $in, ilObjStyleSheet\_getStyleParameters(), array, and writeStylePar().
Referenced by refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::saveTemplateObject | ( | ) |
Save table template.
Definition at line 2471 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), array, getTemplatePreview(), initTemplateForm(), and object.
ilObjStyleSheetGUI::setSubTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1237 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjStyleSheet\_getStyleSuperTypes(), and array.
Referenced by editObject().
ilObjStyleSheetGUI::setTabs | ( | ) |
output tabs
Definition at line 1124 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, getTabs(), and object.
ilObjStyleSheetGUI::setTemplatesSubTabs | ( | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1260 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $t, ilObjStyleSheet\_getTemplateClassTypes(), and array.
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::showUpperIcon | ( | ) |
Definition at line 1306 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
ilObjStyleSheetGUI::switchMQueryObject | ( | ) |
Switch media query.
Definition at line 582 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 2774 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, array, getTemplatePreview(), initTemplateGenerationForm(), and object.
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 1917 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initColorForm(), and object.
ilObjStyleSheetGUI::updateMediaQueryObject | ( | ) |
Update media query.
Definition at line 2119 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::updateObject | ( | ) |
Update properties.
Definition at line 344 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initPropertiesForm(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::updateTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 394 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::updateTemplateObject | ( | $a_refresh = false | ) |
Update table template.
Definition at line 2504 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), ilObjStyleSheet\_lookupTemplateName(), array, displayTemplateEditForm(), getTemplatePreview(), initTemplateForm(), and object.
Referenced by refreshTemplateObject().
ilObjStyleSheetGUI::uploadImageObject | ( | ) |
Upload image.
Definition at line 1366 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::viewObject | ( | ) |
Definition at line 70 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 510 of file class.ilObjStyleSheetGUI.php.
References $a_type.
Referenced by saveTagStyle().
ilObjStyleSheetGUI::$cmd_delete |
Definition at line 21 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_new_par |
Definition at line 19 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_refresh |
Definition at line 20 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_update |
Definition at line 18 of file class.ilObjStyleSheetGUI.php.