KWeb  6.4
KWebBox Class Reference

Additional params: css. More...

Inheritance diagram for KWebBox:
KWebBoxContent KWebBoxContentBlock KWebBoxInc KWebBoxTemplateBody KWebBoxView KWebMenu_Box KWebBoxGroup

Public Member Functions

 __construct ($id, $data=array())
 printContent ()
 Prints box contents.
 printItem ()
 getContent ()
 Returns box contents.
 printBox ($inc=false, $group=null)
 Prints the whole box, using provided template.
 getId ()
 hide ()

Data Fields

const BOX_EDITBAR = 'editbar'
 $title
 $id
 $boxInc = null
 Template for printing the box.
 $boxVar = null
 $css = null
 $bufferOutput = false
 If TRUE box contents will be printed first, allowing to modify the box.
 $show = true
 FALSE will prevent this box from printing.

Detailed Description

Additional params: css.


Constructor & Destructor Documentation

KWebBox::__construct ( id,
data = array() 
)

Member Function Documentation

KWebBox::getContent ( )

Returns box contents.

KWebBox::getId ( )
KWebBox::hide ( )
KWebBox::printBox ( inc = false,
group = null 
)

Prints the whole box, using provided template.

KWebBox::printContent ( )
KWebBox::printItem ( )

Field Documentation

KWebBox::$boxInc = null

Template for printing the box.

Params passed are $box, $group and $content. If $content is not set, then $box->printContent(), or $box->getContent() should be used KWebSetting::$inst->tmpl_box_default_box (_box/box)

KWebBox::$boxVar = null
KWebBox::$bufferOutput = false

If TRUE box contents will be printed first, allowing to modify the box.

KWebBox::$css = null
KWebBox::$id
KWebBox::$show = true

FALSE will prevent this box from printing.

KWebBox::$title
const KWebBox::BOX_EDITBAR = 'editbar'

The documentation for this class was generated from the following file: