Example #1
0
 /**
  * Get the root path
  *
  * @return string
  */
 protected function getRootPath()
 {
     // If there is no root item, the root is the content dir
     if (null === $this->_rootItem) {
         return $this->_contentDir;
     }
     return $this->_contentDir . DIRECTORY_SEPARATOR . $this->_rootItem->getRawHref();
 }