ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilObjStyleSheetGUI. More...
Public Member Functions | |
ilObjStyleSheetGUI ($a_data, $a_id, $a_call_by_reference, $a_prep=true) | |
Constructor public. | |
& | executeCommand () |
execute command | |
viewObject () | |
list childs of current object | |
createObject () | |
create | |
includeCSS () | |
Include CSS in output. | |
editObject () | |
edit style sheet | |
propertiesObject () | |
Properties. | |
getPropertiesValues () | |
Get current values for properties from. | |
initPropertiesForm ($a_mode="edit") | |
FORM: Init properties form. | |
updateObject () | |
Update properties. | |
refreshTagStyleObject () | |
save and refresh tag editing | |
updateTagStyleObject () | |
save and refresh tag editing | |
saveTagStyle () | |
Save tag style. | |
writeStylePar ($cur_tag, $cur_class, $par, $value, $a_type) | |
editTagStyleObject () | |
Edit tag style. | |
outputTagStyleEditScreen () | |
Output tag style edit screen. | |
initTagStyleForm ($a_mode, $a_cur_tag) | |
Init tag style editing form. | |
getValues () | |
FORM: Get current values from persistent object. | |
exportStyleObject () | |
export style | |
extractParametersOfTag ($a_tag, $a_class, $a_style, $a_type) | |
newStyleParameterObject () | |
add style parameter | |
refreshObject () | |
refresh style sheet | |
deleteObject ($a_error=false) | |
display deletion confirmation screen | |
cancelDeleteObject () | |
cancel oobject deletion | |
confirmedDeleteObject () | |
delete selected style objects | |
deleteStyleParameterObject () | |
delete style parameters | |
saveObject () | |
save style sheet | |
copyStyleObject () | |
save style sheet | |
importStyleObject () | |
import style sheet | |
cancelObject () | |
update style sheet | |
getAdminTabs (&$tabs_gui) | |
admin and normal tabs are equal for roles | |
setTabs () | |
output tabs | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
setSubTabs () | |
adds tabs to tab gui object | |
setTemplatesSubTabs () | |
adds tabs to tab gui object | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
showUpperIcon () | |
listImagesObject () | |
List images of style. | |
addImageObject () | |
Add an image. | |
cancelUploadObject () | |
Cancel Upload. | |
uploadImageObject () | |
Upload image. | |
initImageForm () | |
Init image form. | |
deleteImageObject () | |
Delete images. | |
deleteCharacteristicConfirmationObject () | |
Characteristic deletion confirmation screen. | |
deleteCoreCharMessage () | |
Message that appears, when user tries to delete core characteristics. | |
cancelCharacteristicDeletionObject () | |
Cancel characteristic deletion. | |
deleteCharacteristicObject () | |
Delete one or multiple style characteristic. | |
addCharacteristicFormObject () | |
Add characteristic. | |
saveCharacteristicObject () | |
Save Characteristic. | |
initCharacteristicForm ($a_mode) | |
Init tag style editing form. | |
saveHideStatusObject () | |
Save hide status for characteristics. | |
copyCharacteristicsObject () | |
Copy style classes. | |
pasteCharacteristicsOverviewObject () | |
Paste characteristics overview. | |
pasteCharacteristicsObject () | |
Paste characteristics. | |
listColorsObject () | |
List colors of style. | |
addColorObject () | |
Add a color. | |
editColorObject () | |
Edit color. | |
initColorForm ($a_mode="create") | |
Init color form. | |
getColorFormValues () | |
Set values for color editing. | |
cancelColorSavingObject () | |
Cancel color saving. | |
saveColorObject () | |
Save color. | |
updateColorObject () | |
Update color. | |
deleteColorConfirmationObject () | |
Delete color confirmation. | |
cancelColorDeletionObject () | |
Cancel color deletion. | |
deleteColorObject () | |
Delete colors. | |
listTemplatesObject () | |
List templates. | |
addTemplateObject () | |
Add template. | |
editTemplateObject () | |
Edit table template. | |
getTemplatePreview ($a_type, $a_t_id, $a_small_mode=false) | |
Get table template preview. | |
_getTemplatePreview ($a_style, $a_type, $a_t_id, $a_small_mode=false) | |
Get table template preview. | |
initTemplateForm ($a_mode="create") | |
Init table template form. | |
cancelTemplateSavingObject () | |
Cancel color saving. | |
saveTemplateObject () | |
Save table template. | |
updateTemplateObject ($a_refresh=false) | |
Update table template. | |
displayTemplateEditForm () | |
Display table tempalte edit form. | |
refreshTemplateObject () | |
Refresh table template. | |
getTemplateFormValues () | |
Set values for table template editing. | |
deleteTemplateConfirmationObject () | |
Delete table template confirmation. | |
cancelTemplateDeletionObject () | |
Cancel table template deletion. | |
deleteTemplateKeepClassesObject () | |
Delete table template. | |
deleteTemplateObject () | |
Delete table template. | |
generateTemplateObject () | |
Generate table template. | |
initTemplateGenerationForm () | |
Init table template generation form. | |
templateGenerationObject () | |
Table template generation. | |
accordiontestObject () | |
returnToUpperContextObject () | |
return to upper context | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
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 | |
getCreationMode () | |
get creation mode | |
getHTML () | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
cancelCreation () | |
cancel create action and go back to repository parent | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Static Public Member Functions | |
static | getStyleExampleHTML ($a_type, $a_class) |
Get style example HTML. | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
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 () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormValues () | |
Get values for edit form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterUpdate () | |
Post (successful) object update hook. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__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 | |
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 | |
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. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. |
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 1942 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 2567 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 1162 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjStyleSheetGUI::addCharacteristicFormObject | ( | ) |
Add characteristic.
Definition at line 1436 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initCharacteristicForm().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Add a color.
Definition at line 1676 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::addImageObject | ( | ) |
Add an image.
Definition at line 1226 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Add template.
Definition at line 1908 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateForm().
ilObjStyleSheetGUI::cancelCharacteristicDeletionObject | ( | ) |
Cancel characteristic deletion.
Definition at line 1402 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 1850 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 1754 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
cancel oobject deletion
Reimplemented from ilObjectGUI.
Definition at line 842 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
update style sheet
Definition at line 991 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 2290 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 2114 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelUploadObject | ( | ) |
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Reimplemented from ilObjectGUI.
Definition at line 850 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ilias.
ilObjStyleSheetGUI::copyCharacteristicsObject | ( | ) |
Copy style classes.
@return |
Definition at line 1582 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 917 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ilias, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::createObject | ( | ) |
create
Reimplemented from ilObjectGUI.
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 1309 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 1413 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 1820 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteColorObject | ( | ) |
ilObjStyleSheetGUI::deleteCoreCharMessage | ( | ) |
Message that appears, when user tries to delete core characteristics.
@return |
Definition at line 1356 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 1290 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::deleteObject | ( | $a_error = false | ) |
display deletion confirmation screen
public
Reimplemented from ilObjectGUI.
Definition at line 818 of file class.ilObjStyleSheetGUI.php.
References ilUtil\getImageTagByType().
ilObjStyleSheetGUI::deleteStyleParameterObject | ( | ) |
delete style parameters
Definition at line 862 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 2241 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjStyleSheetGUI::deleteTemplateKeepClassesObject | ( | ) |
ilObjStyleSheetGUI::deleteTemplateObject | ( | ) |
Delete table template.
Definition at line 2318 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, and ilObjStyleSheet\_determineTag().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Display table tempalte edit form.
Definition at line 2199 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getTemplatePreview(), and includeCSS().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Edit color.
Definition at line 1687 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getColorFormValues(), and initColorForm().
ilObjStyleSheetGUI::editObject | ( | ) |
edit style sheet
Reimplemented from ilObjectGUI.
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 513 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getValues(), initTagStyleForm(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Edit table template.
Definition at line 1919 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, displayTemplateEditForm(), getTemplateFormValues(), and initTemplateForm().
& ilObjStyleSheetGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 50 of file class.ilObjStyleSheetGUI.php.
References $cmd, $ret, ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
export style
Definition at line 764 of file class.ilObjStyleSheetGUI.php.
References $file, and ilUtil\deliverFile().
ilObjStyleSheetGUI::extractParametersOfTag | ( | $a_tag, | |
$a_class, | |||
$a_style, | |||
$a_type | |||
) |
Definition at line 771 of file class.ilObjStyleSheetGUI.php.
Referenced by getValues().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Generate table template.
Definition at line 2343 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateGenerationForm().
ilObjStyleSheetGUI::getAdminTabs | ( | & | $tabs_gui | ) |
admin and normal tabs are equal for roles
Reimplemented from ilObjectGUI.
Definition at line 1002 of file class.ilObjStyleSheetGUI.php.
References getTabs().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 1741 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by editColorObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 267 of file class.ilObjStyleSheetGUI.php.
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 1527 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\getImagePath().
Referenced by ilStyleTableGUI\fillRow(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 1031 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 2222 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 1933 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 719 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 946 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 1479 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 1701 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 1269 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFormPropertyGUI\setRequired().
Referenced by addImageObject(), and uploadImageObject().
ilObjStyleSheetGUI::initPropertiesForm | ( | $a_mode = "edit" | ) |
FORM: Init properties form.
int | $a_mode | Edit Mode |
Definition at line 283 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 570 of file class.ilObjStyleSheetGUI.php.
References 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 2057 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 2354 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 1656 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listImagesObject | ( | ) |
List images of style.
Definition at line 1206 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 1882 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, includeCSS(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::newStyleParameterObject | ( | ) |
add style parameter
Definition at line 791 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::outputTagStyleEditScreen | ( | ) |
Output tag style edit screen.
Definition at line 538 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and getStyleExampleHTML().
Referenced by editTagStyleObject(), refreshTagStyleObject(), and updateTagStyleObject().
ilObjStyleSheetGUI::pasteCharacteristicsObject | ( | ) |
Paste characteristics.
@return |
Definition at line 1624 of file class.ilObjStyleSheetGUI.php.
References $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilObjStyleSheet\_writeUpToDate(), and ilUtil\sendSuccess().
ilObjStyleSheetGUI::pasteCharacteristicsOverviewObject | ( | ) |
Paste characteristics overview.
@return |
Definition at line 1606 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl.
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Properties.
Definition at line 244 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, getPropertiesValues(), and initPropertiesForm().
ilObjStyleSheetGUI::refreshObject | ( | ) |
refresh style sheet
Definition at line 800 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::refreshTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 356 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 2214 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
ilObjStyleSheetGUI::saveCharacteristicObject | ( | ) |
Save Characteristic.
Definition at line 1447 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 1764 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::saveHideStatusObject | ( | ) |
Save hide status for characteristics.
Definition at line 1559 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveObject | ( | ) |
save style sheet
Reimplemented from ilObjectGUI.
Definition at line 879 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjStyleSheetGUI::saveTagStyle | ( | ) |
Save tag style.
Definition at line 405 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 2125 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 1118 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjStyleSheet\_getStyleSuperTypes().
Referenced by editObject().
ilObjStyleSheetGUI::setTabs | ( | ) |
output tabs
Reimplemented from ilObjectGUI.
Definition at line 1010 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 1141 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $t, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::showUpperIcon | ( | ) |
Definition at line 1187 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 2428 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, getTemplatePreview(), and initTemplateGenerationForm().
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 1791 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::updateObject | ( | ) |
Update properties.
Reimplemented from ilObjectGUI.
Definition at line 331 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 381 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::updateTemplateObject | ( | $a_refresh = false | ) |
Update table template.
Definition at line 2158 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 1247 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 73 of file class.ilObjStyleSheetGUI.php.
References editObject().
ilObjStyleSheetGUI::writeStylePar | ( | $cur_tag, | |
$cur_class, | |||
$par, | |||
$value, | |||
$a_type | |||
) |
Definition at line 492 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.