public function retrieveGroup($group)
    {
        $result = array();

        foreach (Profiler::$_samples as $record) {
            if ($record[3] == $group) {
                $result[] = $record;
            }
        }

        return $result;
    }
public function retrieveGroup($group)
    {
        $result = array();

        foreach (Profiler::$_samples as $record) {
            if ($record[3] == $group) {
                $result[] = $record;
            }
        }

        return $result;
    }
public function retrieveGroup ( $ group ) { $ result = array ( ) ; foreach ( Profiler :: $ _samples as $ record ) { if ( $ record [ 3 ] == $ group ) { $ result [ ] = $ record ; } } return $ result ; }
Returns all the samples that belong to a particular group.

@param string $group
@return array
Returns all the samples that belong to a particular group .