public function getLogEntriesRoot($entity, $rootVersion = null)
    {
        $q = $this->getLogEntriesQueryRoot($entity, $rootVersion);

        return $q->getResult();
    }
public function getLogEntriesRoot($entity, $rootVersion = null)
    {
        $q = $this->getLogEntriesQueryRoot($entity, $rootVersion);

        return $q->getResult();
    }
public function getLogEntriesRoot ( $ entity , $ rootVersion = null ) { $ q = $ this -> getLogEntriesQueryRoot ( $ entity , $ rootVersion ) ; return $ q -> getResult ( ) ; }
Loads all log entries for the given entity

@param object  $entity
@param integer $rootVersion

@return array
Loads all log entries for the given entity