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

Class: ExtHelpers

Source Location: /test/HelpersTest.php

Class Overview

Helpers
   |
   --ExtHelpers

Extend Helpers class to test protected methods


Methods


Inherited Variables

Inherited Methods

Class: Helpers

Helpers::__construct()
Construct a Helpers object
Helpers::boolean_attribute()
Convert an attribute to proper XML boolean form
Helpers::cdata_section()
Wrap CDATA begin and end tags around argument
Helpers::content_tag()
Generate an open/close pair of tags with optional attributes and content between
Helpers::convert_options()
Convert selected attributes to proper XML boolean form
Helpers::object()
Given the name of an ActiveRecord subclass, find an instance
Helpers::tag()
Generate an HTML or XML tag with optional attributes and self-ending
Helpers::tag_options()
Convert array of tag attribute names and values to string
Helpers::to_content_tag()
Helpers::value()
Get value of current attribute in the current ActiveRecord object

Class Details

[line 46]
Extend Helpers class to test protected methods



[ Top ]


Class Methods


constructor __construct [line 48]

ExtHelpers __construct( [mixed $object_name = null], [mixed $attribute_name = null])



Overrides Helpers::__construct() (Construct a Helpers object)

[ Top ]

method boolean_attribute [line 52]

void boolean_attribute( mixed &$options, mixed $attribute)



Overrides Helpers::boolean_attribute() (Convert an attribute to proper XML boolean form)

[ Top ]

method convert_options [line 56]

void convert_options( [mixed $options = array()])



Overrides Helpers::convert_options() (Convert selected attributes to proper XML boolean form)

[ Top ]

method object [line 60]

void object( [mixed $object_name = null])



Overrides Helpers::object() (Given the name of an ActiveRecord subclass, find an instance)

[ Top ]


Documentation generated on Thu, 04 May 2006 19:47:45 -0600 by phpDocumentor 1.3.0RC4