ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilObjStyleSheetGUI. More...
Public Member Functions | |
ilObjStyleSheetGUI ($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... | |
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... | |
cancelObject () | |
update style sheet More... | |
getAdminTabs (&$tabs_gui) | |
admin and normal tabs are equal for roles More... | |
setTabs () | |
output tabs More... | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object More... | |
setSubTabs () | |
adds tabs to tab gui object More... | |
setTemplatesSubTabs () | |
adds tabs to tab gui object More... | |
addAdminLocatorItems () | |
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... | |
_getTemplatePreview ($a_style, $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... | |
![]() | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. More... | |
& | 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... | |
getAdminTabs (&$tabs_gui) | |
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 ($in_rep=false) | |
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... | |
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 | _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 | |
![]() | |
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 | |
![]() | |
assignObject () | |
prepareOutput () | |
prepare output More... | |
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) | |
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... | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste More... | |
getTabs (&$tabs_gui) | |
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 ($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 19 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::_getTemplatePreview | ( | $a_style, | |
$a_type, | |||
$a_t_id, | |||
$a_small_mode = false |
|||
) |
Get table template preview.
Definition at line 2222 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilPCTableGUI\_renderTable(), and ilAccordionGUI\addCss().
Referenced by ilObjStyleSheet\addTemplate(), and getTemplatePreview().
ilObjStyleSheetGUI::accordiontestObject | ( | ) |
Definition at line 2847 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, ilAccordionGUI\HORIZONTAL, and ilAccordionGUI\VERTICAL.
ilObjStyleSheetGUI::addAdminLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Definition at line 1239 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjStyleSheetGUI::addCharacteristicFormObject | ( | ) |
Add characteristic.
Definition at line 1513 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initCharacteristicForm().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Add a color.
Definition at line 1753 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::addImageObject | ( | ) |
Add an image.
Definition at line 1303 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::addMediaQueryObject | ( | ) |
Add a media query.
Definition at line 1978 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Add template.
Definition at line 2188 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateForm().
ilObjStyleSheetGUI::cancelCharacteristicDeletionObject | ( | ) |
Cancel characteristic deletion.
Definition at line 1479 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 1927 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 1831 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
cancel oobject deletion
Definition at line 914 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
update style sheet
Definition at line 1063 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 2570 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 2394 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelUploadObject | ( | ) |
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Definition at line 922 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ilias.
ilObjStyleSheetGUI::copyCharacteristicsObject | ( | ) |
Copy style classes.
Definition at line 1659 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 989 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ilias, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::createObject | ( | ) |
create
Definition at line 81 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, 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 1386 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 1490 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 1897 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteColorObject | ( | ) |
Delete colors.
Definition at line 1937 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteCoreCharMessage | ( | ) |
Message that appears, when user tries to delete core characteristics.
Definition at line 1433 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 1367 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteMediaQueriesObject | ( | ) |
Delete Media Queries.
Definition at line 2123 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteMediaQueryConfirmationObject | ( | ) |
Confirm media query deletion.
Definition at line 2089 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 890 of file class.ilObjStyleSheetGUI.php.
References ilUtil\getImageTagByType().
ilObjStyleSheetGUI::deleteStyleParameterObject | ( | ) |
delete style parameters
Definition at line 934 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 2521 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteTemplateKeepClassesObject | ( | ) |
Delete table template.
Definition at line 2580 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::deleteTemplateObject | ( | ) |
Delete table template.
Definition at line 2598 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, and ilObjStyleSheet\_determineTag().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Display table tempalte edit form.
Definition at line 2479 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getTemplatePreview(), and includeCSS().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Edit color.
Definition at line 1764 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getColorFormValues(), and initColorForm().
ilObjStyleSheetGUI::editMediaQueryObject | ( | ) |
Edit media query.
Definition at line 1989 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getMediaQueryFormValues(), and initMediaQueryForm().
ilObjStyleSheetGUI::editObject | ( | ) |
edit style sheet
Definition at line 172 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilObjStyleSheet\_getStyleSuperTypes(), ilObjStyleSheet\_isExpandable(), includeCSS(), and setSubTabs().
Referenced by deleteStyleParameterObject(), newStyleParameterObject(), refreshObject(), and viewObject().
ilObjStyleSheetGUI::editTagStyleObject | ( | ) |
Edit tag style.
Definition at line 522 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $options, $si, ilObjectGUI\$tpl, getValues(), initTagStyleForm(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Edit table template.
Definition at line 2199 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, displayTemplateEditForm(), getTemplateFormValues(), and initTemplateForm().
& ilObjStyleSheetGUI::executeCommand | ( | ) |
execute command
Definition at line 50 of file class.ilObjStyleSheetGUI.php.
References $cmd, $ret, ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
export style
Definition at line 835 of file class.ilObjStyleSheetGUI.php.
References $file, and ilUtil\deliverFile().
ilObjStyleSheetGUI::extractParametersOfTag | ( | $a_tag, | |
$a_class, | |||
$a_style, | |||
$a_type, | |||
$a_mq_id = 0 , |
|||
$a_custom = false |
|||
) |
Definition at line 842 of file class.ilObjStyleSheetGUI.php.
Referenced by getValues().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Generate table template.
Definition at line 2623 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateGenerationForm().
ilObjStyleSheetGUI::getAdminTabs | ( | & | $tabs_gui | ) |
admin and normal tabs are equal for roles
Definition at line 1074 of file class.ilObjStyleSheetGUI.php.
References getTabs().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 1818 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by editColorObject().
ilObjStyleSheetGUI::getMediaQueryFormValues | ( | ) |
Set values for media query editing.
Definition at line 2034 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by editMediaQueryObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 269 of file class.ilObjStyleSheetGUI.php.
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 1604 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng.
Referenced by ilStyleTableGUI\fillRow(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1103 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and $t.
Referenced by getAdminTabs(), and setTabs().
ilObjStyleSheetGUI::getTemplateFormValues | ( | ) |
Set values for table template editing.
Definition at line 2502 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 2213 of file class.ilObjStyleSheetGUI.php.
References _getTemplatePreview().
Referenced by displayTemplateEditForm(), saveTemplateObject(), templateGenerationObject(), and updateTemplateObject().
ilObjStyleSheetGUI::getValues | ( | ) |
FORM: Get current values from persistent object.
Definition at line 780 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjStyleSheet\_getFilteredGroups(), ilObjStyleSheet\_getStyleParameters(), and extractParametersOfTag().
Referenced by editTagStyleObject().
ilObjStyleSheetGUI::ilObjStyleSheetGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prep = true |
|||
) |
Constructor public.
Definition at line 30 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getStyleSuperTypeForType(), and ilObjectGUI\ilObjectGUI().
ilObjStyleSheetGUI::importStyleObject | ( | ) |
import style sheet
Definition at line 1018 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::includeCSS | ( | ) |
Include CSS in output.
Definition at line 160 of file class.ilObjStyleSheetGUI.php.
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 1556 of file class.ilObjStyleSheetGUI.php.
References $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 1778 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 1346 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 2003 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 285 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$lng, 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 615 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $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 2337 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $options, ilObjStyleSheet\_getTemplateClassTypes(), and ilRegExpInputGUI\setPattern().
Referenced by addTemplateObject(), editTemplateObject(), saveTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::initTemplateGenerationForm | ( | ) |
Init table template generation form.
Definition at line 2634 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $options, ilNumericStyleValueInputGUI\setAllowPercentage(), ilNumberInputGUI\setMaxValue(), ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by generateTemplateObject(), and templateGenerationObject().
ilObjStyleSheetGUI::listColorsObject | ( | ) |
List colors of style.
Definition at line 1733 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listImagesObject | ( | ) |
List images of style.
Definition at line 1283 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listMediaQueriesObject | ( | ) |
List media queries of style.
Definition at line 1959 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 2162 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, includeCSS(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::newStyleParameterObject | ( | ) |
add style parameter
Definition at line 863 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::outputTagStyleEditScreen | ( | ) |
Output tag style edit screen.
Definition at line 583 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and getStyleExampleHTML().
Referenced by editTagStyleObject(), refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::pasteCharacteristicsObject | ( | ) |
Paste characteristics.
Definition at line 1701 of file class.ilObjStyleSheetGUI.php.
References $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilObjStyleSheet\_writeUpToDate(), and ilUtil\sendSuccess().
ilObjStyleSheetGUI::pasteCharacteristicsOverviewObject | ( | ) |
Paste characteristics overview.
Definition at line 1683 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl.
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Properties.
Definition at line 246 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, getPropertiesValues(), and initPropertiesForm().
ilObjStyleSheetGUI::refreshObject | ( | ) |
refresh style sheet
Definition at line 872 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::refreshTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 358 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 2494 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
return to upper context
Definition at line 2869 of file class.ilObjStyleSheetGUI.php.
References $_GET, and $ilCtrl.
ilObjStyleSheetGUI::saveCharacteristicObject | ( | ) |
Save Characteristic.
Definition at line 1524 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_determineTag(), initCharacteristicForm(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveColorObject | ( | ) |
Save color.
Definition at line 1841 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::saveHideStatusObject | ( | ) |
Save hide status for characteristics.
Definition at line 1636 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveMediaQueryObject | ( | ) |
Save media query.
Definition at line 2052 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::saveMediaQueryOrderObject | ( | ) |
Save media query order.
Definition at line 2143 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::saveObject | ( | ) |
save style sheet
Definition at line 951 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjStyleSheetGUI::saveTagStyle | ( | ) |
Save tag style.
Definition at line 407 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 2405 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $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 1195 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjStyleSheet\_getStyleSuperTypes().
Referenced by editObject().
ilObjStyleSheetGUI::setTabs | ( | ) |
output tabs
Definition at line 1082 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 1218 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $t, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::showUpperIcon | ( | ) |
Definition at line 1264 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
ilObjStyleSheetGUI::switchMQueryObject | ( | ) |
Switch media query.
Definition at line 571 of file class.ilObjStyleSheetGUI.php.
References $_POST, and $ilCtrl.
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 2708 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, getTemplatePreview(), and initTemplateGenerationForm().
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 1868 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::updateMediaQueryObject | ( | ) |
Update media query.
Definition at line 2070 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initMediaQueryForm().
ilObjStyleSheetGUI::updateObject | ( | ) |
Update properties.
Definition at line 333 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 383 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::updateTemplateObject | ( | $a_refresh = false | ) |
Update table template.
Definition at line 2438 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getTemplateClassTypes(), displayTemplateEditForm(), getTemplatePreview(), initTemplateForm(), and ilObjStyleSheet\lookupTemplateName().
Referenced by refreshTemplateObject().
ilObjStyleSheetGUI::uploadImageObject | ( | ) |
Upload image.
Definition at line 1324 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::viewObject | ( | ) |
Definition at line 73 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 499 of file class.ilObjStyleSheetGUI.php.
Referenced by saveTagStyle().
ilObjStyleSheetGUI::$cmd_delete |
Definition at line 24 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_new_par |
Definition at line 22 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_refresh |
Definition at line 23 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::$cmd_update |
Definition at line 21 of file class.ilObjStyleSheetGUI.php.