Class BeTreeHelper
BEdita tree of contents helper
- Helper
- AppHelper
- BeTreeHelper
Version:
$Revision$
Modifiedby: $LastChangedBy$
Lastmodified:
Located at views/helpers/be_tree.php
Modifiedby: $LastChangedBy$
Lastmodified:
$LastChangedDate$
$Id$
Located at views/helpers/be_tree.php
Methods summary
public
|
|
public
|
#
setTreeParams( array $params )
Merge BeTree::treeParams with array of params you can use it to override some params used to build url in the rel attribute inside tree items. For example: url is build using $treeParams['controller'] and treeParams['action']. If you want tree items go to another controller you have to call BeTree::setTreeParams() before building the tree. From view file call {$beTree->setTreeParams(['controller' => 'myController'])} |
public
|
|
public
string
|
#
optionsMobile( array $tree, integer $options = array() , string $indentation,… )
build option for select |
private
string
|
|
public
string
|
#
designBranchMobile( array $branch, string $inputType = null, array $parent_ids = array() )
get html section |
public
string
|
|
public
string
|
|
private
|
|
public
string
|
|
private
string
|
#
designBranch( array $branch, string $inputType, array $parent_ids, string $parent_id )
get html section |
private
string
|
Methods inherited from AppHelper
Properties summary
public
array
|
$helpers
Included helpers. |
#
array("Html", "SessionFilter")
|
public
array
|
$tags
|
#
array(
'option' => "<option value=\"%s\"%s>%s</option>",
'checkbox' => "<input type=\"checkbox\" name=\"data[destination][]\" value=\"%s\" %s/>",
'radio' => "<input type=\"radio\" name=\"data[destination]\" value=\"%s\" %s/>",
)
|
protected
array
|
$treeParams
|
#
array()
|