Library/Documentation/Theme.php
public function getThemePathExtendsAware($path)
    {
        $newPath = $this->getThemePath($path);
        if (!$newPath) {
            if ($this->extendedTheme) {
                return $this->extendedTheme->getThemePathExtendsAware($path);
            }
        }

        return $newPath;
    }
public function getThemePathExtendsAware($path)
    {
        $newPath = $this->getThemePath($path);
        if (!$newPath) {
            if ($this->extendedTheme) {
                return $this->extendedTheme->getThemePathExtendsAware($path);
            }
        }

        return $newPath;
    }
public function getThemePathExtendsAware ( $ path ) { $ newPath = $ this -> getThemePath ( $ path ) ; if ( ! $ newPath ) { if ( $ this -> extendedTheme ) { return $ this -> extendedTheme -> getThemePathExtendsAware ( $ path ) ; } } return $ newPath ; }
find the path to a file in the theme or from the extended theme.

@param $path

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