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::error_wrapping()
If this tag has an error, wrap it with a visual indicator
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 39]
Extend Helpers class to test protected methods



[ Top ]


Class Methods


constructor __construct [line 41]

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



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

Parameters:

   $object_name  
   $attribute_name  

[ Top ]

method boolean_attribute [line 45]

void boolean_attribute( &$options, $attribute)



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

Parameters:

   &$options  
   $attribute  

[ Top ]

method convert_options [line 49]

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



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

Parameters:

   $options  

[ Top ]

method object [line 53]

void object( [ $object_name = null])



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

Parameters:

   $object_name  

[ Top ]


Documentation generated on Mon, 21 May 2007 22:28:36 -0600 by phpDocumentor 1.3.2