protected function getCollapseStatus($group, $default = true)
    {
        $statuses = $this->getCollapseStatuses();

        if (array_key_exists($group, $statuses)) {
            return $statuses[$group];
        }

        return $default;
    }
protected function getCollapseStatus($group, $default = true)
    {
        $statuses = $this->getCollapseStatuses();

        if (array_key_exists($group, $statuses)) {
            return $statuses[$group];
        }

        return $default;
    }
protected function getCollapseStatus ( $ group , $ default = true ) { $ statuses = $ this -> getCollapseStatuses ( ) ; if ( array_key_exists ( $ group , $ statuses ) ) { return $ statuses [ $ group ] ; } return $ default ; }
Gets a collapsed state.

@param string $group
@param bool $default
@return bool|string
Gets a collapsed state .