WorkBench
[ class tree: WorkBench ] [ index: WorkBench ] [ all elements ]

Class: WBview

Source Location: /WBview.php

Class Overview


This class manages WBview objects. These objects are used to render informations.


Author(s):

Version:

  • 1.0

Variables

Methods



Class Details

[line 30]
This class manages WBview objects. These objects are used to render informations.

Created on 15 jul 09

Changes:




Tags:

author:  Pierre-Dominique Vienne <pvienne@me.com>
version:  1.0
license:  GNU Public License


[ Top ]


Class Variables

$wbViewContent =

[line 41]

Variable that contains view content



Tags:

access:  protected

Type:   string


[ Top ]

$wbViewName =

[line 36]

Variable that contains view name



Tags:

access:  protected

Type:   string


[ Top ]

$wbViewResult =

[line 46]

Variable that contains result



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


method renderWBview [line 79]

string renderWBview( string $viewName, string $viewContent, [string $renderMode = "HTML"])

WBview object creation function

This function is used to render a WBview object Default mode is xHTML Result is stored in $this and object is returned

  1.  <?php
  2.  $oWBview new WBview();
  3.  echo $oWBview->renderWBview("foo","bar");
  4.  // <div id="foo">bar</div>
  5.  ?>




Tags:

since:  Version 1.0
uses:  HTMLdivs::HTMLDivConstruct()


Parameters:

string   $viewName   name of the view (required)
string   $viewContent   content of the view (required)
string   $renderMode   lastname of the user

[ Top ]


Documentation generated on Wed, 26 Aug 2009 12:31:15 +0200 by phpDocumentor 1.4.1