ILIAS
Release_4_2_x_branch Revision 61807
|
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 () | |
undeleteObject () | |
Get objects back from trash. | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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) | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
Static Public Member Functions | |
static | getStyleExampleHTML ($a_type, $a_class) |
Get style example HTML. |
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. | |
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) | |
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) | |
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 | |
__showClipboardTable ($a_result_set, $a_from="") | |
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. |
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 1915 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 2540 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)
Reimplemented from ilObjectGUI.
Definition at line 1133 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjStyleSheetGUI::addCharacteristicFormObject | ( | ) |
Add characteristic.
Definition at line 1409 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initCharacteristicForm().
ilObjStyleSheetGUI::addColorObject | ( | ) |
Add a color.
Definition at line 1649 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::addImageObject | ( | ) |
Add an image.
Definition at line 1199 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initImageForm().
ilObjStyleSheetGUI::addTemplateObject | ( | ) |
Add template.
Definition at line 1881 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl, and initTemplateForm().
ilObjStyleSheetGUI::cancelCharacteristicDeletionObject | ( | ) |
Cancel characteristic deletion.
Definition at line 1375 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelColorDeletionObject | ( | ) |
Cancel color deletion.
Definition at line 1823 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelColorSavingObject | ( | ) |
Cancel color saving.
Definition at line 1727 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelDeleteObject | ( | ) |
cancel oobject deletion
Reimplemented from ilObjectGUI.
Definition at line 820 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::cancelObject | ( | ) |
update style sheet
Definition at line 964 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::cancelTemplateDeletionObject | ( | ) |
Cancel table template deletion.
Definition at line 2263 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelTemplateSavingObject | ( | ) |
Cancel color saving.
Definition at line 2087 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl.
ilObjStyleSheetGUI::cancelUploadObject | ( | ) |
ilObjStyleSheetGUI::confirmedDeleteObject | ( | ) |
delete selected style objects
Reimplemented from ilObjectGUI.
Definition at line 828 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$ilias.
ilObjStyleSheetGUI::copyCharacteristicsObject | ( | ) |
Copy style classes.
@return |
Definition at line 1555 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 890 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjectGUI\$ilias, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::createObject | ( | ) |
create
Reimplemented from ilObjectGUI.
Definition at line 75 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getClonableContentStyles(), formSelect(), and ilObjectGUI\getTemplateFile().
ilObjStyleSheetGUI::deleteCharacteristicConfirmationObject | ( | ) |
Characteristic deletion confirmation screen.
Definition at line 1282 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 1386 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::deleteColorConfirmationObject | ( | ) |
Delete color confirmation.
Definition at line 1793 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 1329 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 1263 of file class.ilObjStyleSheetGUI.php.
ilObjStyleSheetGUI::deleteObject | ( | $a_error = false | ) |
display deletion confirmation screen
public
Reimplemented from ilObjectGUI.
Definition at line 772 of file class.ilObjStyleSheetGUI.php.
References ilObject\_lookupTitle(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjStyleSheetGUI::deleteStyleParameterObject | ( | ) |
delete style parameters
Definition at line 840 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::deleteTemplateConfirmationObject | ( | ) |
Delete table template confirmation.
Definition at line 2214 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 2291 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, and ilObjStyleSheet\_determineTag().
ilObjStyleSheetGUI::displayTemplateEditForm | ( | ) |
Display table tempalte edit form.
Definition at line 2172 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getTemplatePreview(), and includeCSS().
Referenced by editTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::editColorObject | ( | ) |
Edit color.
Definition at line 1660 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, getColorFormValues(), and initColorForm().
ilObjStyleSheetGUI::editObject | ( | ) |
edit style sheet
Reimplemented from ilObjectGUI.
Definition at line 123 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 465 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$tpl, getValues(), initTagStyleForm(), and outputTagStyleEditScreen().
ilObjStyleSheetGUI::editTemplateObject | ( | ) |
Edit table template.
Definition at line 1892 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, and ilObjectGUI\prepareOutput().
ilObjStyleSheetGUI::exportStyleObject | ( | ) |
export style
Definition at line 716 of file class.ilObjStyleSheetGUI.php.
References $file, and ilUtil\deliverFile().
ilObjStyleSheetGUI::extractParametersOfTag | ( | $a_tag, | |
$a_class, | |||
$a_style, | |||
$a_type | |||
) |
Definition at line 723 of file class.ilObjStyleSheetGUI.php.
Referenced by getValues().
ilObjStyleSheetGUI::generateTemplateObject | ( | ) |
Generate table template.
Definition at line 2316 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 975 of file class.ilObjStyleSheetGUI.php.
References getTabs().
ilObjStyleSheetGUI::getColorFormValues | ( | ) |
Set values for color editing.
Definition at line 1714 of file class.ilObjStyleSheetGUI.php.
References $_GET.
Referenced by editColorObject().
ilObjStyleSheetGUI::getPropertiesValues | ( | ) |
Get current values for properties from.
Definition at line 219 of file class.ilObjStyleSheetGUI.php.
Referenced by propertiesObject().
|
static |
Get style example HTML.
Definition at line 1500 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 1004 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 2195 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 1906 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 671 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 919 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjStyleSheet\_writeStandard(), and ilObjectFactory\getInstanceByRefId().
ilObjStyleSheetGUI::includeCSS | ( | ) |
Include CSS in output.
Definition at line 111 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 1452 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 1674 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 1242 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 235 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 522 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, 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 2030 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjStyleSheet\_getTemplateClassTypes(), and ilRegExpInputGUI\setPattern().
Referenced by addTemplateObject(), editTemplateObject(), saveTemplateObject(), and updateTemplateObject().
ilObjStyleSheetGUI::initTemplateGenerationForm | ( | ) |
Init table template generation form.
Definition at line 2327 of file class.ilObjStyleSheetGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilNumericStyleValueInputGUI\setAllowPercentage(), ilNumberInputGUI\setMaxValue(), ilSelectInputGUI\setOptions(), and ilRegExpInputGUI\setPattern().
Referenced by generateTemplateObject(), and templateGenerationObject().
ilObjStyleSheetGUI::listColorsObject | ( | ) |
List colors of style.
Definition at line 1629 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listImagesObject | ( | ) |
List images of style.
Definition at line 1179 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
ilObjStyleSheetGUI::listTemplatesObject | ( | ) |
List templates.
Definition at line 1855 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, includeCSS(), and setTemplatesSubTabs().
ilObjStyleSheetGUI::newStyleParameterObject | ( | ) |
add style parameter
Definition at line 743 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::outputTagStyleEditScreen | ( | ) |
Output tag style edit screen.
Definition at line 490 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 1597 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 1579 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$tpl.
ilObjStyleSheetGUI::propertiesObject | ( | ) |
Properties.
Definition at line 195 of file class.ilObjStyleSheetGUI.php.
References ilObjectGUI\$lng, getPropertiesValues(), and initPropertiesForm().
ilObjStyleSheetGUI::refreshObject | ( | ) |
refresh style sheet
Definition at line 752 of file class.ilObjStyleSheetGUI.php.
References $_POST, and editObject().
ilObjStyleSheetGUI::refreshTagStyleObject | ( | ) |
save and refresh tag editing
Definition at line 308 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::refreshTemplateObject | ( | ) |
Refresh table template.
Definition at line 2187 of file class.ilObjStyleSheetGUI.php.
References updateTemplateObject().
ilObjStyleSheetGUI::returnToUpperContextObject | ( | ) |
ilObjStyleSheetGUI::saveCharacteristicObject | ( | ) |
Save Characteristic.
Definition at line 1420 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 1737 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and initColorForm().
ilObjStyleSheetGUI::saveHideStatusObject | ( | ) |
Save hide status for characteristics.
Definition at line 1532 of file class.ilObjStyleSheetGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendInfo().
ilObjStyleSheetGUI::saveObject | ( | ) |
save style sheet
Reimplemented from ilObjectGUI.
Definition at line 857 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, ilObjStyleSheet\_writeStandard(), ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjStyleSheetGUI::saveTagStyle | ( | ) |
Save tag style.
Definition at line 357 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 2098 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 1089 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 983 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 1112 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $t, and ilObjStyleSheet\_getTemplateClassTypes().
Referenced by listTemplatesObject().
ilObjStyleSheetGUI::showUpperIcon | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 1160 of file class.ilObjStyleSheetGUI.php.
References $_GET, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, and ilObjectGUI\$tree.
ilObjStyleSheetGUI::templateGenerationObject | ( | ) |
Table template generation.
Definition at line 2401 of file class.ilObjStyleSheetGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, getTemplatePreview(), and initTemplateGenerationForm().
ilObjStyleSheetGUI::updateColorObject | ( | ) |
Update color.
Definition at line 1764 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 283 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 333 of file class.ilObjStyleSheetGUI.php.
References $_GET, $ilCtrl, initTagStyleForm(), outputTagStyleEditScreen(), and saveTagStyle().
ilObjStyleSheetGUI::updateTemplateObject | ( | $a_refresh = false | ) |
Update table template.
Definition at line 2131 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 1220 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 67 of file class.ilObjStyleSheetGUI.php.
References editObject().
ilObjStyleSheetGUI::writeStylePar | ( | $cur_tag, | |
$cur_class, | |||
$par, | |||
$value, | |||
$a_type | |||
) |
Definition at line 444 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.