protected function getDocumentationDirectory($rootRelative = false)
    {
        $reflectionObject = new \ReflectionObject($this);
        $componentFile    = $reflectionObject->getFileName();
        $docDirectory     = dirname($componentFile).DIRECTORY_SEPARATOR.$this->basename;

        return $rootRelative ? substr($docDirectory, strlen(PATH_site) - 1) : $docDirectory;
    }
protected function getDocumentationDirectory($rootRelative = false)
    {
        $reflectionObject = new \ReflectionObject($this);
        $componentFile    = $reflectionObject->getFileName();
        $docDirectory     = dirname($componentFile).DIRECTORY_SEPARATOR.$this->basename;

        return $rootRelative ? substr($docDirectory, strlen(PATH_site) - 1) : $docDirectory;
    }
protected function getDocumentationDirectory ( $ rootRelative = false ) { $ reflectionObject = new \ ReflectionObject ( $ this ) ; $ componentFile = $ reflectionObject -> getFileName ( ) ; $ docDirectory = dirname ( $ componentFile ) . DIRECTORY_SEPARATOR . $ this -> basename ; return $ rootRelative ? substr ( $ docDirectory , strlen ( PATH_site ) - 1 ) : $ docDirectory ; }
Return the documentation directory for this component

@param bool $rootRelative Return a root relative path

@return string Documentation directory
Return the documentation directory for this component