ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
insertFromWorkspace ($a_cmd="insert") | |
Insert file from personal workspace. | |
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 | |
cancel () | |
Cancel. | |
deactivate () | |
gui function set enabled if is not enabled and vice versa | |
cut () | |
Cut single element. | |
copy () | |
Copy single element. | |
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 519 of file class.ilPCFileListGUI.php.
References $files, and $ilCtrl.
ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 596 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\getCharacteristics().
ilPCFileListGUI::create | ( | ) |
create new file list in dom and update page in db
Definition at line 344 of file class.ilPCFileListGUI.php.
References $_POST, $_SESSION, insert(), and ilUtil\stripSlashes().
ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 735 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 542 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 399 of file class.ilPCFileListGUI.php.
References $lang, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), and setTabs().
Referenced by saveProperties().
ilPCFileListGUI::editFiles | ( | ) |
Edit Files.
Definition at line 461 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(), insertFromWorkspace(), selectFile(), and setTabs().
Referenced by create().
ilPCFileListGUI::insertFromRepository | ( | $a_cmd = "insert" | ) |
Insert file from repository.
Definition at line 226 of file class.ilPCFileListGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, IL_FM_POSITIVE, setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
ilPCFileListGUI::insertFromWorkspace | ( | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 280 of file class.ilPCFileListGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, IL_FM_POSITIVE, ilWorkspaceExplorer\SEL_TYPE_RADIO, 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 691 of file class.ilPCFileListGUI.php.
References $_GET, createFileItem(), ilTree\getNodeData(), and newFileItem().
Referenced by newFileItem().
ilPCFileListGUI::newFileItem | ( | ) |
New file item (called, if there is no file item in an existing.
@return |
Definition at line 628 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\displayValidationError(), insertFromRepository(), insertFromWorkspace(), insertNewFileItem(), and setItemTabs().
Referenced by insertNewFileItem().
ilPCFileListGUI::savePositions | ( | ) |
Save positions of file items.
Definition at line 562 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 577 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 442 of file class.ilPCFileListGUI.php.
References $_POST, edit(), and ilUtil\stripSlashes().
ilPCFileListGUI::selectFile | ( | ) |
Select file.
Definition at line 146 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $lang, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), ilTree\getNodeData(), and setTabs().
Referenced by insert().
ilPCFileListGUI::setItemTabs | ( | $a_cmd = "" | ) |
output tabs
Definition at line 768 of file class.ilPCFileListGUI.php.
References $ilCtrl, and $ilSetting.
Referenced by insertFromRepository(), insertFromWorkspace(), and newFileItem().
ilPCFileListGUI::setTabs | ( | $a_create = true | ) |
Set Tabs.
Definition at line 474 of file class.ilPCFileListGUI.php.
References $cmd, $ilCtrl, $ilSetting, and ilPageContentGUI\$lng.
Referenced by edit(), editFiles(), insert(), insertFromRepository(), insertFromWorkspace(), and selectFile().