public function getFile()
    {
        if ($this->hasRequestParameter('file')) {
            $file = urldecode($this->getRequestParameter('file'));
            $filePathTokens = explode('/', $file);
            $typeIdentifier = array_shift($filePathTokens);
            $relPath = implode(DIRECTORY_SEPARATOR, $filePathTokens);
            $this->renderFile($typeIdentifier, $relPath);
        }
    }
public function getFile()
    {
        if ($this->hasRequestParameter('file')) {
            $file = urldecode($this->getRequestParameter('file'));
            $filePathTokens = explode('/', $file);
            $typeIdentifier = array_shift($filePathTokens);
            $relPath = implode(DIRECTORY_SEPARATOR, $filePathTokens);
            $this->renderFile($typeIdentifier, $relPath);
        }
    }
public function getFile ( ) { if ( $ this -> hasRequestParameter ( 'file' ) ) { $ file = urldecode ( $ this -> getRequestParameter ( 'file' ) ) ; $ filePathTokens = explode ( '/' , $ file ) ; $ typeIdentifier = array_shift ( $ filePathTokens ) ; $ relPath = implode ( DIRECTORY_SEPARATOR , $ filePathTokens ) ; $ this -> renderFile ( $ typeIdentifier , $ relPath ) ; } }
Get a file of a custom interaction
Get a file of a custom interaction