ILIAS
eassessment Revision 61809
|
Class ilPCListGUI. More...
Public Member Functions | |
ilPCFileListGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
Constructor public. | |
& | executeCommand () |
execute command | |
insert () | |
insert new file list form | |
selectFile () | |
Select file. | |
insertFromRepository ($a_cmd="insert") | |
Insert file from repository. | |
create () | |
create new file list in dom and update page in db | |
edit () | |
edit properties form | |
saveProperties () | |
save table properties in db and return to page edit screen | |
editFiles () | |
Edit Files. | |
setTabs ($a_create=true) | |
Set Tabs. | |
addFileItem () | |
Add file item. | |
deleteFileItem () | |
Delete file items from list. | |
savePositions () | |
Save positions of file items. | |
savePositionsAndClasses () | |
Save positions of file items and style classes. | |
checkStyleSelection () | |
Checks whether style selection shoudl be available or not. | |
newFileItem () | |
New file item (called, if there is no file item in an existing. | |
insertNewFileItem ($a_file_ref_id=0) | |
insert new file item after another item | |
createFileItem () | |
insert new file item | |
setItemTabs ($a_cmd="") | |
output tabs | |
Public Member Functions inherited from ilPageContentGUI | |
ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. | |
setStyleId ($a_styleid) | |
Set Style Id. | |
getStyleId () | |
Get Style Id. | |
setEnableInternalLinks ($a_val) | |
Set enable internal links. | |
getEnableInternalLinks () | |
Get enable internal links. | |
setEnableKeywords ($a_val) | |
Set enable keywords handling. | |
getEnableKeywords () | |
Get enable keywords handling. | |
setEnableAnchors ($a_val) | |
Set enable anchors. | |
getEnableAnchors () | |
Get enable anchors. | |
getStyle () | |
Get style object. | |
setCharacteristics ($a_chars) | |
Set Characteristics. | |
getCharacteristics () | |
Get characteristics. | |
getHierId () | |
get hierarchical id in dom object | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object | |
getBBMenu ($a_ta_name="par_content") | |
Get the bb menu incl. | |
delete () | |
delete content element | |
moveAfter () | |
move content element after another element | |
moveBefore () | |
move content element before another element | |
splitPage () | |
split page to new page at specified position | |
splitPageNext () | |
split page to next page at specified position | |
displayValidationError () | |
display validation errors | |
cancelCreate () | |
cancel creating page content | |
cancelUpdate () | |
cancel update | |
deactivate () | |
gui function set enabled if is not enabled and vice versa | |
getTemplateOptions ($a_type) | |
Get table templates. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
static | _getCommonBBButtons () |
Get common bb buttons. | |
Data Fields inherited from ilPageContentGUI | |
$content_obj | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$pg_obj | |
$hier_id | |
$dom | |
$updated | |
$target_script | |
$return_location | |
Protected Member Functions inherited from ilPageContentGUI | |
getCharacteristicsOfCurrentStyle ($a_type) | |
Get characteristics of current style. | |
Static Protected Attributes inherited from ilPageContentGUI | |
static | $common_bb_buttons |
Class ilPCListGUI.
User Interface for LM List Editing
Definition at line 17 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::addFileItem | ( | ) |
Add file item.
This function is called from file list table and calls newItemAfter function.
Definition at line 412 of file class.ilPCFileListGUI.php.
References $files, and $ilCtrl.
ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 489 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\getCharacteristics().
ilPCFileListGUI::create | ( | ) |
create new file list in dom and update page in db
Definition at line 253 of file class.ilPCFileListGUI.php.
References $_POST, $_SESSION, insert(), and ilUtil\stripSlashes().
ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 605 of file class.ilPCFileListGUI.php.
References $_GET, ilPageContentGUI\$lng, and ilUtil\sendFailure().
Referenced by insertNewFileItem().
ilPCFileListGUI::deleteFileItem | ( | ) |
Delete file items from list.
Definition at line 435 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 301 of file class.ilPCFileListGUI.php.
References $lang, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), and setTabs().
Referenced by saveProperties().
ilPCFileListGUI::editFiles | ( | ) |
Edit Files.
Definition at line 363 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$tpl, and setTabs().
& ilPCFileListGUI::executeCommand | ( | ) |
execute command
Definition at line 33 of file class.ilPCFileListGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
ilPCFileListGUI::ilPCFileListGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Constructor public.
Definition at line 24 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\ilPageContentGUI(), and ilPageContentGUI\setCharacteristics().
ilPCFileListGUI::insert | ( | ) |
insert new file list form
Definition at line 56 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $lang, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), insertFromRepository(), selectFile(), and setTabs().
Referenced by create().
ilPCFileListGUI::insertFromRepository | ( | $a_cmd = "insert" | ) |
Insert file from repository.
Definition at line 198 of file class.ilPCFileListGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, IL_FM_POSITIVE, setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
ilPCFileListGUI::insertNewFileItem | ( | $a_file_ref_id = 0 | ) |
insert new file item after another item
Definition at line 576 of file class.ilPCFileListGUI.php.
References $_GET, createFileItem(), and newFileItem().
Referenced by newFileItem().
ilPCFileListGUI::newFileItem | ( | ) |
New file item (called, if there is no file item in an existing.
@return |
Definition at line 521 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\displayValidationError(), insertFromRepository(), insertNewFileItem(), and setItemTabs().
Referenced by insertNewFileItem().
ilPCFileListGUI::savePositions | ( | ) |
Save positions of file items.
Definition at line 455 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 470 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 344 of file class.ilPCFileListGUI.php.
References $_POST, edit(), and ilUtil\stripSlashes().
ilPCFileListGUI::selectFile | ( | ) |
Select file.
Definition at line 138 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $lang, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), and setTabs().
Referenced by insert().
ilPCFileListGUI::setItemTabs | ( | $a_cmd = "" | ) |
output tabs
Definition at line 638 of file class.ilPCFileListGUI.php.
References $ilCtrl.
Referenced by insertFromRepository(), and newFileItem().
ilPCFileListGUI::setTabs | ( | $a_create = true | ) |
Set Tabs.
Definition at line 376 of file class.ilPCFileListGUI.php.
References $cmd, $ilCtrl, and ilPageContentGUI\$lng.
Referenced by edit(), editFiles(), insert(), insertFromRepository(), and selectFile().