public function set_expandable($expandable) {
        foreach ($expandable as $node) {
            $this->expandable[$node['key'].':'.$node['type']] = $node;
        }
    }
public function set_expandable($expandable) {
        foreach ($expandable as $node) {
            $this->expandable[$node['key'].':'.$node['type']] = $node;
        }
    }
public function set_expandable ( $ expandable ) { foreach ( $ expandable as $ node ) { $ this -> expandable [ $ node [ 'key' ] . ':' . $ node [ 'type' ] ] = $ node ; } }
Set the expandable items in the array so that we have enough information
to attach AJAX events
@param array $expandable
Set the expandable items in the array so that we have enough information to attach AJAX events