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.