CinisisDisplayHelper Class Reference

List of all members.

Public Member Functions

 __construct ($title)
 __call ($method, $arguments)

Static Public Member Functions

static methodName ($method)
static __callStatic ($method, $arguments)

Static Protected Member Functions

static webTitle ($title)
static cliTitle ($title)
static webHeader ($title)
static webFooter ()
static webForm ($content, $action= 'index.php', $method= 'get')
static webFormInputText ($name, $default=null)
static webNavbar ($entry, $entries, $action= 'index.php', $extra=NULL)
static webLink ($action, $args, $title)
static webEntryLink ($entry)
static webOpenTable ()
static webCloseTable ()
static webH2 ($text)
static cliH2 ($text)
static webH3 ($text)
static cliH3 ($text)
static webBr ()
static cliBr ()
static webPre ($text)
static cliPre ($text)

Detailed Description

Display helpers for test scripts.


Constructor & Destructor Documentation

CinisisDisplayHelper::__construct ( title  ) 

Constructor.

Parameters:
$title Page title;

Member Function Documentation

CinisisDisplayHelper::__call ( method,
arguments 
)

Dispatcher, dynamic version.

Parameters:
$method Method name.
$arguments Argument list.
Returns:
Callback result.
static CinisisDisplayHelper::__callStatic ( method,
arguments 
) [static]

Dispatcher, static version.

Parameters:
$method Method name.
$arguments Argument list.
Returns:
Callback result.
static CinisisDisplayHelper::cliBr (  )  [static, protected]

Draws a line break element, CLI version.

static CinisisDisplayHelper::cliH2 ( text  )  [static, protected]

Draws a h2 element, CLI version.

Parameters:
$text Inner text.
static CinisisDisplayHelper::cliH3 ( text  )  [static, protected]

Draws a h3 element, CLI version.

Parameters:
$text Inner text.
static CinisisDisplayHelper::cliPre ( text  )  [static, protected]

Draws a pre format block element.

Parameters:
$text Inner text.
static CinisisDisplayHelper::cliTitle ( title  )  [static, protected]

Draws title, CLI version.

Parameters:
$title Page title;
static CinisisDisplayHelper::methodName ( method  )  [static]

Determine internal method names.

Parameters:
$method Method name.
Returns:
Method name.
static CinisisDisplayHelper::webBr (  )  [static, protected]

Draws a line break element.

static CinisisDisplayHelper::webCloseTable (  )  [static, protected]

Draws tags for closing a table.

static CinisisDisplayHelper::webEntryLink ( entry  )  [static, protected]

Format an entry link.

Parameters:
$entry Entry number.
Returns:
Formatted link.
static CinisisDisplayHelper::webFooter (  )  [static, protected]

Draws the page footer.

static CinisisDisplayHelper::webForm ( content,
action = 'index.php',
method = 'get' 
) [static, protected]

Draws a form.

Parameters:
$content Form inner content.
$action Form action.
$method Form method.
static CinisisDisplayHelper::webFormInputText ( name,
default = null 
) [static, protected]

Draws a form text input.

Parameters:
$name Input name.
$default Default value.
Returns:
Rendered text input.
static CinisisDisplayHelper::webH2 ( text  )  [static, protected]

Draws a h2 element.

Parameters:
$text Inner text.
static CinisisDisplayHelper::webH3 ( text  )  [static, protected]

Draws a h3 element.

Parameters:
$text Inner text.
static CinisisDisplayHelper::webHeader ( title  )  [static, protected]

Draws the page header.

Parameters:
$title Page title;
static CinisisDisplayHelper::webLink ( action,
args,
title 
) [static, protected]

Format a link.

Parameters:
$action Link action.
$args Action arguments.
$title Link title.
Returns:
Formatted link.
static CinisisDisplayHelper::webNavbar ( entry,
entries,
action = 'index.php',
extra = NULL 
) [static, protected]

Draws a navigation bar.

Parameters:
$entry Current entry.
$entries Total number of entries.
$action Page action.
$extra Extra parameters.
static CinisisDisplayHelper::webOpenTable (  )  [static, protected]

Draws tags for opening a table.

static CinisisDisplayHelper::webPre ( text  )  [static, protected]

Draws a pre format block element.

Parameters:
$text Inner text.
static CinisisDisplayHelper::webTitle ( title  )  [static, protected]

Draws a page title.

Parameters:
$title Page title;

The documentation for this class was generated from the following file:
 All Classes Functions Variables
Generated on Fri Aug 20 15:45:55 2010 for Cinisis Database Reader by  doxygen 1.6.3