Inheritance diagram for ilCopyWizardExplorer:
Collaboration diagram for ilCopyWizardExplorer:Public Member Functions | |
| __construct ($a_target) | |
| getImage ($a_name, $a_type="", $a_obj_id="") | |
| get image path (may be overwritten by derived classes) | |
| isClickable ($a_type, $a_ref_id=0) | |
| check if links for certain object type are activated | |
| forceExpanded () | |
| Force all nodes expanded. | |
| buildSelect ($a_node_id, $a_type) | |
| Build option select. | |
Private Attributes | |
| $lng | |
Definition at line 33 of file class.ilCopyWizardExplorer.php.
| ilCopyWizardExplorer::__construct | ( | $ | a_target | ) |
Definition at line 37 of file class.ilCopyWizardExplorer.php.
References $lng, ilExplorer::ilExplorer(), and ilExplorer::initItemCounter().
{
global $lng,$objDefinition;
$this->lng = $lng;
$this->objDefinition = $objDefinition;
parent::ilExplorer($a_target);
$this->initItemCounter(1);
}
Here is the call graph for this function:| ilCopyWizardExplorer::buildSelect | ( | $ | a_node_id, | |
| $ | a_type | |||
| ) |
Build option select.
public
| int | node_ref_id |
Reimplemented from ilExplorer.
Definition at line 88 of file class.ilCopyWizardExplorer.php.
References ilCopyWizardOptions::COPY_WIZARD_COPY, ilCopyWizardOptions::COPY_WIZARD_LINK, ilCopyWizardOptions::COPY_WIZARD_OMIT, and formSelect().
{
$selected = isset($_POST['cp_options'][$a_node_id]['type']) ?
$_POST['cp_options'][$a_node_id]['type'] :
ilCopyWizardOptions::COPY_WIZARD_COPY;
if($this->objDefinition->allowCopy($a_type))
{
$options[ilCopyWizardOptions::COPY_WIZARD_COPY] = $this->lng->txt('copy');
}
if($this->objDefinition->allowLink($a_type))
{
$options[ilCopyWizardOptions::COPY_WIZARD_LINK] = $this->lng->txt('link');
}
$options[ilCopyWizardOptions::COPY_WIZARD_OMIT] = $this->lng->txt('omit');
return ilUtil::formSelect($selected,'cp_options['.$a_node_id.'][type]',
$options,
false,true);
}
Here is the call graph for this function:| ilCopyWizardExplorer::forceExpanded | ( | ) |
Force all nodes expanded.
public
| int | node_id |
Definition at line 75 of file class.ilCopyWizardExplorer.php.
{
return true;
}
| ilCopyWizardExplorer::getImage | ( | $ | a_name, | |
| $ | a_type = "", |
|||
| $ | a_obj_id = "" | |||
| ) |
get image path (may be overwritten by derived classes)
Reimplemented from ilExplorer.
Definition at line 50 of file class.ilCopyWizardExplorer.php.
References ilUtil::getImagePath().
{
return ilUtil::getImagePath('icon_'.$a_type.'_s.gif');
}
Here is the call graph for this function:| ilCopyWizardExplorer::isClickable | ( | $ | a_type, | |
| $ | a_ref_id = 0 | |||
| ) |
check if links for certain object type are activated
| string | $a_type object type |
Reimplemented from ilExplorer.
Definition at line 62 of file class.ilCopyWizardExplorer.php.
{
// always return false
return false;
}
ilCopyWizardExplorer::$lng [private] |
Definition at line 35 of file class.ilCopyWizardExplorer.php.
Referenced by __construct().
1.7.1