protected function setCollapseStatus($group, $status)
    {
        $statuses = $this->getCollapseStatuses();

        $statuses[$group] = $status;

        $this->collapseGroupStatusCache = $statuses;

        $this->putSession($this->collapseSessionKey, $statuses);
    }
protected function setCollapseStatus($group, $status)
    {
        $statuses = $this->getCollapseStatuses();

        $statuses[$group] = $status;

        $this->collapseGroupStatusCache = $statuses;

        $this->putSession($this->collapseSessionKey, $statuses);
    }
protected function setCollapseStatus ( $ group , $ status ) { $ statuses = $ this -> getCollapseStatuses ( ) ; $ statuses [ $ group ] = $ status ; $ this -> collapseGroupStatusCache = $ statuses ; $ this -> putSession ( $ this -> collapseSessionKey , $ statuses ) ; }
Sets a collapsed state.

@param string $group
@param string $status
Sets a collapsed state .