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 | webPreOpen () |
static | webPreClose () |
static | cliPre ($text) |
static | webDump ($var) |
static | cliDump ($var) |
Detailed Description
Display helpers for test scripts.
Constructor & Destructor Documentation
CinisisDisplayHelper::__construct |
( |
$ |
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::cliDump |
( |
$ |
var |
) |
[static, protected] |
static CinisisDisplayHelper::cliH2 |
( |
$ |
text |
) |
[static, protected] |
Draws a h2 element, CLI version.
- Parameters:
-
static CinisisDisplayHelper::cliH3 |
( |
$ |
text |
) |
[static, protected] |
Draws a h3 element, CLI version.
- Parameters:
-
static CinisisDisplayHelper::cliPre |
( |
$ |
text |
) |
[static, protected] |
Draws a pre format block element.
- Parameters:
-
static CinisisDisplayHelper::cliTitle |
( |
$ |
title |
) |
[static, protected] |
Draws title, CLI version.
- Parameters:
-
static CinisisDisplayHelper::methodName |
( |
$ |
method |
) |
[static] |
Determine internal method names.
- Parameters:
-
- 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::webDump |
( |
$ |
var |
) |
[static, protected] |
static CinisisDisplayHelper::webEntryLink |
( |
$ |
entry |
) |
[static, protected] |
Format an entry link.
- Parameters:
-
- Returns:
- Formatted link.
static CinisisDisplayHelper::webFooter |
( |
|
) |
[static, protected] |
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:
-
static CinisisDisplayHelper::webH3 |
( |
$ |
text |
) |
[static, protected] |
Draws a h3 element.
- Parameters:
-
static CinisisDisplayHelper::webHeader |
( |
$ |
title |
) |
[static, protected] |
Draws the page header.
- Parameters:
-
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:
-
static CinisisDisplayHelper::webPreClose |
( |
|
) |
[static, protected] |
Draws a pre open element.
static CinisisDisplayHelper::webPreOpen |
( |
|
) |
[static, protected] |
Draws a pre open element.
static CinisisDisplayHelper::webTitle |
( |
$ |
title |
) |
[static, protected] |
Draws a page title.
- Parameters:
-
The documentation for this class was generated from the following file:
- classes/helpers/CinisisDisplayHelper.php