ClaroBody Class Reference

Inheritance diagram for ClaroBody:
CoreTemplate PhpTemplate Display

Public Member Functions

 __construct ()
 hideClaroBody ()
 showClaroBody ()
 popupMode ()
 setContent ($content)
 appendContent ($str)
 clearContent ()
 getContent ()
 render ()

Static Public Member Functions

static getInstance ()

Protected Attributes

 $content = ''
 $claroBodyHidden = false
 $inPopup = false

Static Protected Attributes

static $instance = false

Detailed Description

Definition at line 22 of file body.lib.php.


Constructor & Destructor Documentation

__construct (  ) 

Definition at line 28 of file body.lib.php.


Member Function Documentation

appendContent ( str  ) 

Append a string to the content of the page

Parameters:
string str

Definition at line 70 of file body.lib.php.

clearContent (  ) 

Clear the content of the paget

Definition at line 78 of file body.lib.php.

getContent (  ) 

Return the content of the page

Returns:
string pagecontent

Definition at line 87 of file body.lib.php.

static getInstance (  )  [static]

Definition at line 124 of file body.lib.php.

hideClaroBody (  ) 

Hide the claroBody div in the body

Definition at line 36 of file body.lib.php.

popupMode (  ) 

Show 'Close window' buttons

Definition at line 52 of file body.lib.php.

render (  ) 

Render the page body

Returns:
string

Reimplemented from PhpTemplate.

Definition at line 96 of file body.lib.php.

setContent ( content  ) 

Set the content of the page

Parameters:
string content

Definition at line 61 of file body.lib.php.

showClaroBody (  ) 

Display the claroBody div in the body

Definition at line 44 of file body.lib.php.


Field Documentation

$claroBodyHidden = false [protected]

Definition at line 25 of file body.lib.php.

$content = '' [protected]

Definition at line 24 of file body.lib.php.

$inPopup = false [protected]

Definition at line 26 of file body.lib.php.

$instance = false [static, protected]

Definition at line 122 of file body.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3