User Tools

Site Tools


0.9:docs:services:extern

Table of Contents

extern

init

Initilizes the extern service.

getContent

Sends applicable headers and outputs passed content.

array($content, [$extension, $filename])

$content ⇒ content

$extension ⇒ file extension (leave empty or one of css, gif, html, ico, jpg, js, mp3, png, swf, txt and xml)

$filename ⇒ file name

return false on failure and exists php processing on success.

getFile

Sends applicable headers and outputs content of passed file path.

array($path, $type)

$path ⇒ file path

$type ⇒ type (leave empty or one of dynamic and download)

return true on success and false on failure.

Attention

$_REQUEST['theme'] ⇒ If unset the default theme path is estimated. If is 0 the extern path is estimated. Else the default theme path is estimated.

$_GET['params'] ⇒ In case type is dynamic this is the first argument of the get_dynamic_content function call.

0.9/docs/services/extern.txt · Last modified: 2016/03/07 22:59 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki