protected function _expandTheme($file)
    {
        $file = preg_replace(self::THEME_PATTERN, '', $file);

        return CorePlugin::path($this->theme) . 'webroot' . DS . $file;
    }
protected function _expandTheme($file)
    {
        $file = preg_replace(self::THEME_PATTERN, '', $file);

        return CorePlugin::path($this->theme) . 'webroot' . DS . $file;
    }
protected function _expandTheme ( $ file ) { $ file = preg_replace ( self :: THEME_PATTERN , '' , $ file ) ; return CorePlugin :: path ( $ this -> theme ) . 'webroot' . DS . $ file ; }
Resolve a themed file to its full path. The file will be found on the
current theme's path.

@param string $file The theme file to find.
@return string The expanded path
Resolve a themed file to its full path . The file will be found on the current theme s path .