Class: papaya_page

Quellcode Position: Program_Root/papaya_page.php

Class papaya_page

Class Overview
Properties Summary
boolean   $accept_gz   Accept .gz compressed files
boolean   $access   Access ?
?   $layout   Layout
string   $mode   Output modus
boolean   $printview   Show printversion
mixed   $session_name  
string   $topic   Topic
integer   $topic_id   ID of Topic
string   $xslfile   Name XSL-file

Method Summary
papaya_page   papaya_page()   Constructor
boolean   checkAlias()   Check alias
array   checkMediaPerm()   Check media permissions
void   createTopic()   Create topic
void   filenameToMimeType()  
string   generatePage()   Generate page
void   get()   Get
string   getBox()   Get box
boolean   getCache()   Get cache
mixed   getCacheId()   Get chache ID
mixed   getDownload()   Get download
void   getError()   Get error
void   getErrorHTML()   Get error HTML
void   getMediaFile()   Get media file
void   getMediaPopup()  
void   getMediaThumbFile()   Get media tumbnail file
string   getNumber()   Get number
string   getPage()   Get page
void   getRDF()   Get RDF
void   getUrls()   Get URLs
string   getUserAgent()   Get user agent
void   initializeParams()   Initialize parameters
void   initPageMode()   Initialize page mode
void   invalidateCache()   Invalid date cache
mixed   loadMediaFileData()   Load media file data
void   loadOptions()   Load options
void   outputFile()   Output file
void   sendHTTPStatus()   Send HTTP status
boolean   setCache()   Set cache
integer   showDebug()   Show debug
void   startSession()   Start new seassion
void   startTimer()   Start timer
void   stopTimer()   Stop timer
boolean   validateAccess()   Is access valid

Properties
boolean   $accept_gz = false [Zeile 63]

Accept .gz compressed files


boolean   $access = true [Zeile 33]

Access ?


?   $layout [Zeile 51]

Layout


string   $mode = view [Zeile 57]

Output modus


boolean   $printview = false [Zeile 39]

Show printversion


mixed   $session_name [Zeile 65]

string   $topic [Zeile 27]

Topic


integer   $topic_id [Zeile 21]

ID of Topic


string   $xslfile [Zeile 45]

Name XSL-file


Methods
Constructor papaya_page  [Zeile 70]

  papaya_page papaya_page( )

Constructor



checkAlias  [Zeile 163]

  boolean checkAlias( )

Check alias



checkMediaPerm  [Zeile 777]

  array checkMediaPerm( integer $mid  )

Check media permissions

Parameters:
integer   $mid: 

API Tags:
Access:  public


createTopic  [Zeile 225]

  void createTopic( )

Create topic



filenameToMimeType  [Zeile 729]

  void filenameToMimeType( mixed $filename  )



generatePage  [Zeile 545]

  string generatePage( )

Generate page


API Tags:
Access:  public


get  [Zeile 416]

  void get( )

Get


API Tags:
Access:  public


getBox  [Zeile 592]

  string getBox( )

Get box


API Tags:
Access:  public


getCache  [Zeile 255]

  boolean getCache( integer $cache_id  )

Get cache

Parameters:
integer   $cache_id: 

API Tags:
Access:  public


getCacheId  [Zeile 238]

  mixed getCacheId( )

Get chache ID



getDownload  [Zeile 608]

  mixed getDownload( )

Get download


API Tags:
Access:  public


getError  [Zeile 869]

  void getError( integer $error, string $errstr, [boolean $verbose = FALSE]  )

Get error

Parameters:
integer   $error: 
string   $errstr: 
boolean   $verbose:  optional, default value FALSE

API Tags:
Access:  public


getErrorHTML  [Zeile 902]

  void getErrorHTML( integer $error, string $errstr  )

Get error HTML

Parameters:
integer   $error: 
string   $errstr: 

API Tags:
Access:  public


getMediaFile  [Zeile 699]

  void getMediaFile( )

Get media file


API Tags:
Access:  public


getMediaPopup  [Zeile 677]

  void getMediaPopup( )



getMediaThumbFile  [Zeile 710]

  void getMediaThumbFile( )

Get media tumbnail file


API Tags:
Access:  public


getNumber  [Zeile 948]

  string getNumber( interger $error  )

Get number

Parameters:
interger   $error: 

API Tags:
Access:  public


getPage  [Zeile 520]

  string getPage( )

Get page


API Tags:
Access:  public


getRDF  [Zeile 482]

  void getRDF( )

Get RDF


API Tags:
Access:  public


getUrls  [Zeile 505]

  void getUrls( )

Get URLs


API Tags:
Access:  public


getUserAgent  [Zeile 811]

  string getUserAgent( )

Get user agent


API Tags:
Access:  public


initializeParams  [Zeile 137]

  void initializeParams( )

Initialize parameters


API Tags:
Access:  public


initPageMode  [Zeile 373]

  void initPageMode( )

Initialize page mode


API Tags:
Access:  public


invalidateCache  [Zeile 347]

  void invalidateCache( integer $cache_id  )

Invalid date cache

Parameters:
integer   $cache_id: 

API Tags:
Access:  public


loadMediaFileData  [Zeile 657]

  mixed loadMediaFileData( integer $id  )

Load media file data

Parameters:
integer   $id: 

API Tags:
Return:  array or boolean
Access:  public


loadOptions  [Zeile 180]

  void loadOptions( )

Load options



outputFile  [Zeile 753]

  void outputFile( string $filename, array &$data  )

Output file

Parameters:
string   $filename: 
array   &$data: 

API Tags:
Access:  public


sendHTTPStatus  [Zeile 960]

  void sendHTTPStatus( integer $status  )

Send HTTP status

Parameters:
integer   $status: 

API Tags:
Access:  public


setCache  [Zeile 323]

  boolean setCache( integer $cache_id, string $page  )

Set cache

Parameters:
integer   $cache_id: 
string   $page: 

API Tags:
Access:  public


showDebug  [Zeile 852]

  integer showDebug( array $msg  )

Show debug

Parameters:
array   $msg: 

API Tags:
Access:  public


startSession  [Zeile 189]

  void startSession( )

Start new seassion



startTimer  [Zeile 827]

  void startTimer( )

Start timer


API Tags:
Access:  public


stopTimer  [Zeile 837]

  void stopTimer( [integer $digits = 4]  )

Stop timer

Parameters:
integer   $digits:  optional, default value 4

API Tags:
Access:  public


validateAccess  [Zeile 204]

  boolean validateAccess( mixed $topic_id  )

Is access valid