Skip to content
Snippets Groups Projects
Commit df203e1d authored by Demian Katz's avatar Demian Katz
Browse files

Renamed method for clarity.

parent 63ea83e9
No related merge requests found
......@@ -128,7 +128,7 @@ class HierarchyTree extends AbstractBase
*
* @return bool
*/
public function getFullHierarchySetting()
public function isFullHierarchyVisible()
{
// Get hierarchy driver:
$recordDriver = $this->getRecordDriver();
......
......@@ -8,7 +8,7 @@
\Zend\View\Helper\HeadScript::SCRIPT,
"var hierarchySettings = {\n"
. " lightboxMode: " . ($this->layout()->getTemplate() == 'layout/lightbox' ? 'true' : 'false') . ",\n"
. " fullHierarchy: " . ($this->tab->getFullHierarchySetting() ? 'true' : 'false') . "\n"
. " fullHierarchy: " . ($this->tab->isFullHierarchyVisible() ? 'true' : 'false') . "\n"
. "};\n"
. "vufindString.showTree = \"" . $this->transEsc('hierarchy_show_tree') . "\";\n"
. "vufindString.hideTree = \"" . $this->transEsc('hierarchy_hide_tree') . "\";\n"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment