Library/Documentation/Theme.php
public function getThemePath($path)
    {
        $path = pathinfo($this->themeDir.'/'.$path);
        $pathDirname = $path['dirname'];
        $pathBasename = $path['basename'];
        $pathFilename = $pathDirname.'/'.$pathBasename;

        if (!file_exists($pathFilename)) {
            return null;
        }

        return $pathFilename;
    }
public function getThemePath($path)
    {
        $path = pathinfo($this->themeDir.'/'.$path);
        $pathDirname = $path['dirname'];
        $pathBasename = $path['basename'];
        $pathFilename = $pathDirname.'/'.$pathBasename;

        if (!file_exists($pathFilename)) {
            return null;
        }

        return $pathFilename;
    }
public function getThemePath ( $ path ) { $ path = pathinfo ( $ this -> themeDir . '/' . $ path ) ; $ pathDirname = $ path [ 'dirname' ] ; $ pathBasename = $ path [ 'basename' ] ; $ pathFilename = $ pathDirname . '/' . $ pathBasename ; if ( ! file_exists ( $ pathFilename ) ) { return null ; } return $ pathFilename ; }
find the path to a file in the theme.

@param $path

@return string
find the path to a file in the theme .