protected function parseHistory($data)
    {
        $this->history = [];
        $html = HtmlDomParser::str_get_html($data);
        foreach ($html->find('li.history') as $e) {
            $item = array();
            $item['date'] =  $e->date;
            $item['user'] =  $e->user;
            $item['actas'] =  $e->actas;
            $item['activity'] =  $e->activity;
            $item['description'] = $e->description;
            array_push($this->history, $item);
        }
    }
protected function parseHistory($data)
    {
        $this->history = [];
        $html = HtmlDomParser::str_get_html($data);
        foreach ($html->find('li.history') as $e) {
            $item = array();
            $item['date'] =  $e->date;
            $item['user'] =  $e->user;
            $item['actas'] =  $e->actas;
            $item['activity'] =  $e->activity;
            $item['description'] = $e->description;
            array_push($this->history, $item);
        }
    }
protected function parseHistory ( $ data ) { $ this -> history = [ ] ; $ html = HtmlDomParser :: str_get_html ( $ data ) ; foreach ( $ html -> find ( 'li.history' ) as $ e ) { $ item = array ( ) ; $ item [ 'date' ] = $ e -> date ; $ item [ 'user' ] = $ e -> user ; $ item [ 'actas' ] = $ e -> actas ; $ item [ 'activity' ] = $ e -> activity ; $ item [ 'description' ] = $ e -> description ; array_push ( $ this -> history , $ item ) ; } }
parses History data and saves it to the Group object

@param string $data
@return void
parses History data and saves it to the Group object