Gets the path to the layout
@return array
435407
protected function getLayout()
    {
        $this->setData('homeUrl', $this->getServiceManager()->get(DefaultUrlService::SERVICE_ID)->getUrl('ProctoringHome'));
        $this->setData('logout', $this->getServiceManager()->get(DefaultUrlService::SERVICE_ID)->getUrl('ProctoringLogout'));
        return ['layout.tpl', 'taoProctoring'];
    }
566742
public static function getLayoutClassName()
    {
        if (is_callable(self::$layoutClassName)) {
            $func = self::$layoutClassName;
            return $func();
        }

        return self::$layoutClassName;
    }
593168
public function getViewPath()
    {
        // Cache mechanism
        if (self::$_viewPath) {
            return self::$_viewPath;
        }
        
        // Called widget filepath
        $reflectionClass = new ReflectionClass($this);
        $widgetPath = dirname($reflectionClass->getFileName());
        // For Codeigniter view which doesn't support absolute path
        $relativePath = str_replace(APPPATH, '', $widgetPath);

        // Real relative view path for Codeigniter
        return self::$_viewPath = "../{$relativePath}/views/";
    }
1345998
public function getModulesPath()
    {
        $paths = array();
        foreach ($this->getLoadedModules(true) as $module) {
            $paths[$module->getName()] = $module->getPath();
        }

        return $paths;
    }
1219084
public function getModuleLayoutViewPath()
    {
        if ($this->module->useAppViewPath) {
            return '@app/views/'.$this->module->id.'/';
        }
        
        return '@'.$this->module->id.'/views/';
    }
690395
public function getTemplate()
    {
        if (null === $this->template) {
            $this->template = $this->getTemplatePathDefault('layout');
        }

        return $this->template;
    }
725982
function getPath()
    {
        $path = $this->getName();
        
        if ($this->__nestLeft)
            $path = $this->__nestLeft->getPath().self::SEPARATOR.$path;
        
        return $path;
    }
1133686
public function getViewPath()
    {
        return is_null($this->_nsedModuleViewPath) ?
        parent::getViewPath()
        . DIRECTORY_SEPARATOR
        . array_pop(explode('\\', $this->controllerNamespace)) :
        parent::getViewPath();
    }
729859
private function getPath()
    {
        $path = "";
        if(strlen($this->path) > 0) {
            $path = $this->path;    
        } else {
            $path = $this->route;
        }

        if(substr($path, -1) !== "/") {
            $path .= "/";
        }

        $this->path = $path;
    }
901477
public function getRuntimePath()
    {
        $paths = [];
        foreach ($this->getRuntime() as $key => $value) {
            if (in_array($key, ['hook', 'libraries', 'stylesheets', 'mediaFiles', 'icon', 'src'])) {
                $paths[$key] = preg_replace('/^' . $this->getTypeIdentifier() . '/', '.', $value);
            }
        }
        return $paths;
    }
1132272
protected function get_script_path()
    {
        if( null == $this->script_path )
        {
            $class_name =  substr( get_called_class() , strrpos( get_called_class(), '\\') + 1);
            $this->script_path = $this->get_dir() . '/' . $class_name . '.phtml';
        }
        return $this->script_path;
    }
893464
public function getViewPath()
	{
		if($this->_viewPath===null)
		{
			$class=new ReflectionClass(get_class($this));
			$this->_viewPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.'views';
		}
		return $this->_viewPath;
	}
704131
public function getCreatorPath()
    {
        $paths = [];
        foreach ($this->getCreator() as $key => $value) {
            if (in_array($key, ['hook', 'libraries', 'stylesheets', 'mediaFiles', 'icon', 'src'])) {
                $paths[$key] = preg_replace('/^' . $this->getTypeIdentifier() . '/', '.', $value);
            }
        }
        return $paths;
    }
857583
public static function getTemplatePath()
    {
        $path = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR;
        return realpath($path);
    }
730028
public function getLayout()
    {
        $page = $this->CurrentPage;
        $customTemplate = $this->Style ? '_'.$this->Style : '';
        $pageType = $page->ClassName ? '_'.$page->ClassName : '';
        $className = $this->ClassName;
        $templates = array(
            $className.$pageType.$customTemplate,
            $className.$customTemplate,
            $className.$pageType,
            $className,
            'DefaultPlacement'
        );
        $this->extend('updateLayout', $templates);
        return $this->renderWith($templates, $this->getController());
    }
1101887
private function getPathForView()
    {
        $methodName = lcfirst($this->method);
        $className = lcfirst($this->class);

        $package = $this->app->getPackage($this->package);
        $pathPieces = array($package['package_path'], 'res', 'view', $className, $methodName);
        $path = implode(self::DS, $pathPieces) . '.phtml';
        if (file_exists($path)) {
            return $path;
        }
        $e = new ViewFileNotFoundException('Invalid view file path, expected: "' . $path . '"');
        $e->setAdditionalData('View Path Checked: ', $path);
        throw $e;
    }
76710
public function getPath(): array {

        return array_column(
            array_map(function($key, $archive) {
                return [ "key" => $key, "path" => $archive->getPath() ];
            }, array_keys($this->zip_archives), $this->zip_archives),
        "path", "key");

    }