protected function getGroupInfo()
    {
        $rtn = array();
        $groups = $this->groupStore->getWhere(array(), 100, 0, array(), array('title' => 'ASC'));

        foreach ($groups['items'] as $group) {
            $thisGroup = array('title' => $group->getTitle());
            $projects = $this->projectStore->getByGroupId($group->getId());
            $thisGroup['projects'] = $projects['items'];
            $thisGroup['summary'] = $this->getSummaryHtml($thisGroup['projects']);
            $rtn[] = $thisGroup;
        }

        return $rtn;
    }
protected function getGroupInfo()
    {
        $rtn = array();
        $groups = $this->groupStore->getWhere(array(), 100, 0, array(), array('title' => 'ASC'));

        foreach ($groups['items'] as $group) {
            $thisGroup = array('title' => $group->getTitle());
            $projects = $this->projectStore->getByGroupId($group->getId());
            $thisGroup['projects'] = $projects['items'];
            $thisGroup['summary'] = $this->getSummaryHtml($thisGroup['projects']);
            $rtn[] = $thisGroup;
        }

        return $rtn;
    }
protected function getGroupInfo ( ) { $ rtn = array ( ) ; $ groups = $ this -> groupStore -> getWhere ( array ( ) , 100 , 0 , array ( ) , array ( 'title' => 'ASC' ) ) ; foreach ( $ groups [ 'items' ] as $ group ) { $ thisGroup = array ( 'title' => $ group -> getTitle ( ) ) ; $ projects = $ this -> projectStore -> getByGroupId ( $ group -> getId ( ) ) ; $ thisGroup [ 'projects' ] = $ projects [ 'items' ] ; $ thisGroup [ 'summary' ] = $ this -> getSummaryHtml ( $ thisGroup [ 'projects' ] ) ; $ rtn [ ] = $ thisGroup ; } return $ rtn ; }
Get a summary of the project groups we have, and what projects they have in them.
@return array
Get a summary of the project groups we have and what projects they have in them .