Location: PHPKode > projects > PHP on Trax > johnpipi-trax-f599562/trax/doc/PHPonTrax/Helpers.html
<html>
<head>
<title>Docs For Class Helpers</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">PHPonTrax</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_PHPonTrax.html" class="menu">class tree: PHPonTrax</a> ]
		  [ <a href="../elementindex_PHPonTrax.html" class="menu">index: PHPonTrax</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
      <b>Packages:</b><br />
              <a href="../li_PHPonTrax.html">PHPonTrax</a><br />
              <a href="../li_PHPonTraxTest.html">PHPonTraxTest</a><br />
            <br /><br />
		<b>Tutorials/Manuals:</b><br />
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_PHPonTrax.pkg.html">PHP On Trax</a>
<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_rails_examples.pkg.html">Examples From The Rails Book</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_simpleapp.pkg.html">Build A Simple Trax Application</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_database.pkg.html">Create A Database and User</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_advbuild.pkg.html">Advanced Application Build Topics</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_naming.pkg.html">The Trax Naming Convention</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_troubleshoot.pkg.html">Troubleshooting</a>
</ul>

<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_reference.pkg.html">Reference</a>
</ul>

</li></ul>


										<strong>Class-level:</strong>
							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActiveRecordHelper.cls.html">ActiveRecordHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_FormTagHelper.cls.html">FormTagHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_Helpers.cls.html">Helpers</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_UrlHelper.cls.html">UrlHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_FormHelper.cls.html">FormHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_InputFilter.cls.html">InputFilter</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActionMailer.cls.html">ActionMailer</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ApplicationController.cls.html">ApplicationController</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActionController.cls.html">ActionController</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActiveRecord.cls.html">ActiveRecord</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_DateHelper.cls.html">DateHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_Router.cls.html">Router</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_FormOptionsHelper.cls.html">FormOptionsHelper</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_TraxGenerator.cls.html">TraxGenerator</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_Session.cls.html">Session</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_Inflector.cls.html">Inflector</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActiveRecordError.cls.html">ActiveRecordError</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ActionControllerError.cls.html">ActionControllerError</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ScaffoldController.cls.html">ScaffoldController</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_Dispatcher.cls.html">Dispatcher</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_TraxError.cls.html">TraxError</a>
</ul>


							<ul>
	<li type="square"><a href="../PHPonTrax/tutorial_ApplicationMailer.cls.html">ApplicationMailer</a>
</ul>


							                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../PHPonTrax/_vendor_trax_action_controller_php.html">		action_controller.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_mailer_php.html">		action_mailer.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_php.html">		action_view.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_active_record_php.html">		active_record.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html">		active_record_helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_add_phtml.html">		add.phtml
		</a><br>
			<a href="../PHPonTrax/_data_app_controllers_application_php.html">		application.php
		</a><br>
			<a href="../PHPonTrax/_data_app_views_layouts_application_phtml.html">		application.phtml
		</a><br>
			<a href="../PHPonTrax/_data_app_helpers_application_helper_php.html">		application_helper.php
		</a><br>
			<a href="../PHPonTrax/_data_app_application_mailer_php.html">		application_mailer.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_asset_tag_helper_php.html">		asset_tag_helper.php
		</a><br>
			<a href="../PHPonTrax/_test_layouts_catalog_phtml.html">		catalog.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_controller_php.html">		controller.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_controller_php.html">		controller.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_date_helper_php.html">		date_helper.php
		</a><br>
			<a href="../PHPonTrax/_data_config_environments_development_php.html">		development.php
		</a><br>
			<a href="../PHPonTrax/_data_public_dispatch_php.html">		dispatch.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_dispatcher_php.html">		dispatcher.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_edit_phtml.html">		edit.phtml
		</a><br>
			<a href="../PHPonTrax/_data_config_environment_php.html">		environment.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_error_phtml.html">		error.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_form_helper_php.html">		form_helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_form_options_helper_php.html">		form_options_helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_form_scaffolding_phtml.html">		form_scaffolding.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_form_tag_helper_php.html">		form_tag_helper.php
		</a><br>
			<a href="../PHPonTrax/_data_script_generate_php.html">		generate.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_helper_php.html">		helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_php.html">		helpers.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_index_phtml.html">		index.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_inflector_php.html">		inflector.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_input_filter_php.html">		input_filter.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_javascript_helper_php.html">		javascript_helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_layout_phtml.html">		layout.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_layout_phtml.html">		layout.phtml
		</a><br>
			<a href="../PHPonTrax/_makepkg_php.html">		makepkg.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_model_php.html">		model.php
		</a><br>
			<a href="../PHPonTrax/_data_config_environments_production_php.html">		production.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_router_php.html">		router.php
		</a><br>
			<a href="../PHPonTrax/_data_config_routes_php.html">		routes.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_scaffold_controller_php.html">		scaffold_controller.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_session_php.html">		session.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_show_phtml.html">		show.phtml
		</a><br>
			<a href="../PHPonTrax/_data_config_environments_test_php.html">		test.php
		</a><br>
			<a href="../PHPonTrax/_trax_php.html">		trax.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_trax_exceptions_php.html">		trax_exceptions.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_trax_generator_php.html">		trax_generator.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_action_view_helpers_url_helper_php.html">		url_helper.php
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_view_phtml.html">		view.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_view_add_phtml.html">		view_add.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_view_edit_phtml.html">		view_edit.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_view_index_phtml.html">		view_index.phtml
		</a><br>
			<a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_view_show_phtml.html">		view_show.phtml
		</a><br>
	  </div><br />

      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../PHPonTrax/.html"></a><br />
	    		<a href="../PHPonTrax/ActionController.html">ActionController</a><br />
	    		<a href="../PHPonTrax/ActionControllerError.html">ActionControllerError</a><br />
	    		<a href="../PHPonTrax/ActionMailer.html">ActionMailer</a><br />
	    		<a href="../PHPonTrax/ActiveRecord.html">ActiveRecord</a><br />
	    		<a href="../PHPonTrax/ActiveRecordError.html">ActiveRecordError</a><br />
	    		<a href="../PHPonTrax/ActiveRecordHelper.html">ActiveRecordHelper</a><br />
	    		<a href="../PHPonTrax/ApplicationController.html">ApplicationController</a><br />
	    		<a href="../PHPonTrax/ApplicationMailer.html">ApplicationMailer</a><br />
	    		<a href="../PHPonTrax/AssetTagHelper.html">AssetTagHelper</a><br />
	    		<a href="../PHPonTrax/DateHelper.html">DateHelper</a><br />
	    		<a href="../PHPonTrax/Dispatcher.html">Dispatcher</a><br />
	    		<a href="../PHPonTrax/FormHelper.html">FormHelper</a><br />
	    		<a href="../PHPonTrax/FormOptionsHelper.html">FormOptionsHelper</a><br />
	    		<a href="../PHPonTrax/FormTagHelper.html">FormTagHelper</a><br />
	    		<a href="../PHPonTrax/Helpers.html">Helpers</a><br />
	    		<a href="../PHPonTrax/Inflector.html">Inflector</a><br />
	    		<a href="../PHPonTrax/InputFilter.html">InputFilter</a><br />
	    		<a href="../PHPonTrax/JavaScriptHelper.html">JavaScriptHelper</a><br />
	    		<a href="../PHPonTrax/Router.html">Router</a><br />
	    		<a href="../PHPonTrax/ScaffoldController.html">ScaffoldController</a><br />
	    		<a href="../PHPonTrax/Session.html">Session</a><br />
	    		<a href="../PHPonTrax/TraxError.html">TraxError</a><br />
	    		<a href="../PHPonTrax/TraxGenerator.html">TraxGenerator</a><br />
	    		<a href="../PHPonTrax/UrlHelper.html">UrlHelper</a><br />
	  </div>

                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: Helpers</h1>
Source Location: /vendor/trax/action_view/helpers.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Basic helper functions</div><br /><br />







</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../PHPonTrax/Helpers.html#var$attribute_name">$attribute_name</a></li>
    <li><a href="../PHPonTrax/Helpers.html#var$auto_index">$auto_index</a></li>
    <li><a href="../PHPonTrax/Helpers.html#var$controller_name">$controller_name</a></li>
    <li><a href="../PHPonTrax/Helpers.html#var$controller_object">$controller_object</a></li>
    <li><a href="../PHPonTrax/Helpers.html#var$controller_path">$controller_path</a></li>
    <li><a href="../PHPonTrax/Helpers.html#var$object_name">$object_name</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../PHPonTrax/Helpers.html#method__construct">__construct</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodboolean_attribute">boolean_attribute</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodcdata_section">cdata_section</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodcontent_tag">content_tag</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodconvert_options">convert_options</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodobject">object</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodtag">tag</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodtag_options">tag_options</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodto_content_tag">to_content_tag</a></li>
    <li><a href="../PHPonTrax/Helpers.html#methodvalue">value</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>


<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
<dl>
<dt><a href="../PHPonTraxTest/ExtHelpers.html">ExtHelpers</a></dt>
	<dd>Extend Helpers class to test protected methods</dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/AssetTagHelper.html">AssetTagHelper</a></dt>
	<dd>Utility to help build HTML/XML link tags for public assets</dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/DateHelper.html">DateHelper</a></dt>
	<dd>Utility to help build HTML pulldown menus for date and time</dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/JavaScriptHelper.html">JavaScriptHelper</a></dt>
	<dd></dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/FormTagHelper.html">FormTagHelper</a></dt>
	<dd></dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/UrlHelper.html">UrlHelper</a></dt>
	<dd></dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/FormHelper.html">FormHelper</a></dt>
	<dd></dd>
</dl>
<dl>
<dt><a href="../PHPonTrax/ActiveRecordHelper.html">ActiveRecordHelper</a></dt>
	<dd></dd>
</dl>
</div>
</td>




</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a36">36</a>]<br />
Basic helper functions<br /><br /><p>A collection of methods used to generate basic HTML/XML.</p><br /></div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$attribute_name"></a>
	<p></p>
	<h4>$attribute_name = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a54">54</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message_on">ActiveRecordHelper::error_message_on()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormHelper.html#methodto_input_field_tag">FormHelper::to_input_field_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_date_select_tag_without_error_wrapping">ActiveRecordHelper::to_date_select_tag_without_error_wrapping()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag_without_error_wrapping">ActiveRecordHelper::to_datetime_select_tag_without_error_wrapping()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcolumn_type">ActiveRecordHelper::column_type()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message">ActiveRecordHelper::error_message()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">ActiveRecordHelper::to_datetime_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_year">DateHelper::select_year()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_month">DateHelper::select_month()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodcheck_request_for_value">DateHelper::check_request_for_value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodvalue">Helpers::value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodvalue">DateHelper::value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_second">DateHelper::select_second()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_day">DateHelper::select_day()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_hour">DateHelper::select_hour()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodselect_minute">DateHelper::select_minute()</a></td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Document this variable</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$auto_index"></a>
	<p></p>
	<h4>$auto_index = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a42">42</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormHelper.html#methodadd_default_name_and_id">FormHelper::add_default_name_and_id()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Document this variable</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$controller_name"></a>
	<p></p>
	<h4>$controller_name = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a72">72</a>]</p>
  Current controller name<br /><br /><p>Local copy of $GLOBALS['current_controller_name']</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$controller_object"></a>
	<p></p>
	<h4>$controller_object = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a64">64</a>]</p>
  Current controller object<br /><br /><p>Local copy of $GLOBALS['current_controller_object']<br />   <strong>NB:</strong> <a href="../PHPonTrax/Helpers.html#methodobject">object()</a> faults if this does not contain a   valid instance of ActionController.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message_on">ActiveRecordHelper::error_message_on()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/AssetTagHelper.html#methodcompute_public_path">AssetTagHelper::compute_public_path()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td><a href="../PHPonTrax/ActionController.html">ActionController</a></td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$controller_path"></a>
	<p></p>
	<h4>$controller_path = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a80">80</a>]</p>
  Current controller path<br /><br /><p>Local copy of $GLOBALS['current_controller_path']</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/UrlHelper.html#methodurl_for">UrlHelper::url_for()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$object_name"></a>
	<p></p>
	<h4>$object_name = <span class="value"></span></h4>
	<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a49">49</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_messages_for">ActiveRecordHelper::error_messages_for()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_date_select_tag_without_error_wrapping">ActiveRecordHelper::to_date_select_tag_without_error_wrapping()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag_without_error_wrapping">ActiveRecordHelper::to_datetime_select_tag_without_error_wrapping()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message_on">ActiveRecordHelper::error_message_on()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodcheck_request_for_value">DateHelper::check_request_for_value()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodvalue">Helpers::value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Document this variable   Name of a PHP class(?)</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a95">95</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>Helpers __construct(
[string
$object_name = null], [string
$attribute_name = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Construct a Helpers object<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$controller_path">Helpers::$controller_path</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$controller_object">Helpers::$controller_object</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$controller_name">Helpers::$controller_name</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$auto_index">Helpers::$auto_index</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTraxTest/ExtHelpers.html#method__construct">ExtHelpers::__construct()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../PHPonTrax/AssetTagHelper.html#method__construct">AssetTagHelper::__construct()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../PHPonTrax/DateHelper.html#method__construct">DateHelper::__construct()</a></dt>
		<dd>Constructor</dd>
	</dl>
		<dl>
	<dt><a href="../PHPonTrax/JavaScriptHelper.html#method__construct">JavaScriptHelper::__construct()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../PHPonTrax/FormHelper.html#method__construct">FormHelper::__construct()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$object_name</b>&nbsp;&nbsp;</td>
        <td>Name of ActiveRecord subclass</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$attribute_name</b>&nbsp;&nbsp;</td>
        <td>Attribute of ActiveRecord subclass</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodboolean_attribute"></a>
	<h3>method boolean_attribute <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a221">221</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void boolean_attribute(
string[]
&$options, string
$attribute)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Convert an attribute to proper XML boolean form<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>Contents of $options have been converted</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodconvert_options">Helpers::convert_options()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTraxTest/ExtHelpers.html#methodboolean_attribute">ExtHelpers::boolean_attribute()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string[]&nbsp;&nbsp;</td>
        <td><b>$options</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$attribute</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcdata_section"></a>
	<h3>method cdata_section <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a241">241</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string cdata_section(
string
$content)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Wrap CDATA begin and end tags around argument<br /><br /><p>Returns a CDATA section for the given content.  CDATA sections   are used to escape blocks of text containing characters which would   otherwise be recognized as markup. CDATA sections begin with the string   <samp>&lt;![CDATA[</samp> and end with (and may not contain) the string   <samp>]]&gt;</samp>.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>Wrapped argument</td>
  </tr>
</table>
</div>
<br /><br />


        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$content</b>&nbsp;&nbsp;</td>
        <td>Content to wrap</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcontent_tag"></a>
	<h3>method content_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a293">293</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string content_tag(
string
$name, string
$content, [string[]
$options = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Generate an open/close pair of tags with optional attributes and content between<br /><br /><p><ul><li>Example: <samp>content_tag(&quot;p&quot;, &quot;Hello world!&quot;);</samp><br />
       Returns: <samp>&lt;p&gt;Hello world!&lt;/p&gt;\n</samp></li><li></li><li>Example:
     <samp>content_tag(&quot;div&quot;,
                       content_tag(&quot;p&quot;, &quot;Hello world!&quot;),
                       array(&quot;class&quot; =&gt; &quot;strong&quot;));</samp><br />
     Returns:
     <samp>&lt;div class=&quot;strong&quot;&gt;&lt;p&gt;Hello world!&lt;/p&gt;&lt;/div&gt;\n</samp></li></ul></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>Text wrapped with tag and attributes,                  followed by &quot;\n&quot;</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_collection_select_tag">FormOptionsHelper::to_collection_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_country_select_tag">FormOptionsHelper::to_country_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_select_tag">FormOptionsHelper::to_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/UrlHelper.html#methodlink_to">UrlHelper::link_to()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodto_content_tag">Helpers::to_content_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/AssetTagHelper.html#methodjavascript_include_tag">AssetTagHelper::javascript_include_tag()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodtag_options">Helpers::tag_options()</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td>Tag to wrap around $content</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$content</b>&nbsp;&nbsp;</td>
        <td>Text to put between tags</td>
      </tr>
          <tr>
        <td class="type">string[]&nbsp;&nbsp;</td>
        <td><b>$options</b>&nbsp;&nbsp;</td>
        <td>Tag attributes to apply, specified as                   array('attr1' =&gt; 'value1'[, 'attr2' =&gt; 'value2']...)</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodconvert_options"></a>
	<h3>method convert_options <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a207">207</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string[] convert_options(
[string[]
$options = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Convert selected attributes to proper XML boolean form<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>Input argument with selected attributes converted                    to proper XML boolean form</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodboolean_attribute">Helpers::boolean_attribute()</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTraxTest/ExtHelpers.html#methodconvert_options">ExtHelpers::convert_options()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string[]&nbsp;&nbsp;</td>
        <td><b>$options</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodobject"></a>
	<h3>method object <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a169">169</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>mixed object(
[string
$object_name = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Given the name of an ActiveRecord subclass, find an instance<br /><br /><p>Finds the AR instance from the ActionController instance.   Assumes that if a $object_name is defined either as the   argument or an instance variable, then there must be   a controller object instance which points to a single instance   of the ActiveRecord.   <strong>FIXME:</strong> Handle errors better.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>Instance of the subclass, or null if                 object not available.</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">ActiveRecordHelper::tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">ActiveRecordHelper::to_datetime_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message">ActiveRecordHelper::error_message()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodform">ActiveRecordHelper::form()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcolumn_type">ActiveRecordHelper::column_type()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodvalue">Helpers::value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/DateHelper.html#methodvalue">DateHelper::value()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormHelper.html#methodto_input_field_tag">FormHelper::to_input_field_tag()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$controller_object">Helpers::$controller_object</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTraxTest/ExtHelpers.html#methodobject">ExtHelpers::object()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$object_name</b>&nbsp;&nbsp;</td>
        <td>Name of an ActiveRecord subclass or null</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtag"></a>
	<h3>method tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a265">265</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string tag(
string
$name, [string[]
$options = array()], [mixed
$open = false], boolean
$open
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Generate an HTML or XML tag with optional attributes and self-ending<br /><br /><p><ul><li>Example: <samp>tag(&quot;br&quot;);</samp><br />
       Returns: <samp>&lt;br  /&gt;\n</samp></li><li>Example: <samp>tag(&quot;div&quot;, array(&quot;class&quot; =&gt; &quot;warning&quot;), true);</samp><br />
       Returns: <samp>&lt;div class=&quot;warning&quot;&gt;\n</samp></li></ul></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>The generated tag, followed by &quot;\n&quot;</td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormTagHelper.html#methodimage_submit_tag">FormTagHelper::image_submit_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormHelper.html#methodto_input_field_tag">FormHelper::to_input_field_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/AssetTagHelper.html#methodauto_discovery_link_tag">AssetTagHelper::auto_discovery_link_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/AssetTagHelper.html#methodimage_tag">AssetTagHelper::image_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/AssetTagHelper.html#methodstylesheet_link_tag">AssetTagHelper::stylesheet_link_tag()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodtag_options">Helpers::tag_options()</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">ActiveRecordHelper::tag()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td>Tag name</td>
      </tr>
          <tr>
        <td class="type">string[]&nbsp;&nbsp;</td>
        <td><b>$options</b>&nbsp;&nbsp;</td>
        <td>Tag attributes to apply, specified as                   array('attr1' =&gt; 'value1'[, 'attr2' =&gt; 'value2']...)</td>
      </tr>
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$open
</b>&nbsp;&nbsp;</td>
        <td><ul><li>true =&gt;  make opening tag (end with '&gt;')</li><li>false =&gt; make self-terminating tag (end with ' \&gt;')</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtag_options"></a>
	<h3>method tag_options <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a185">185</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string tag_options(
string[]
$options)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Convert array of tag attribute names and values to string<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodcontent_tag">Helpers::content_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodtag">Helpers::tag()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />


        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string[]&nbsp;&nbsp;</td>
        <td><b>$options</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodto_content_tag"></a>
	<h3>method to_content_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a305">305</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void to_content_tag(
mixed
$tag_name, [mixed
$options = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodvalue">Helpers::value()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodcontent_tag">Helpers::content_tag()</a></td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodvalue"></a>
	<h3>method value <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpers.php.html#a137">137</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void value(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Get value of current attribute in the current ActiveRecord object<br /><br /><p>If there is a value in $_REQUEST[][], return it.   Otherwise fetch the value from the database.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_select_tag">FormOptionsHelper::to_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_collection_select_tag">FormOptionsHelper::to_collection_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodadd_options">FormOptionsHelper::add_options()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormOptionsHelper.html#methodto_country_select_tag">FormOptionsHelper::to_country_select_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/FormHelper.html#methodto_input_field_tag">FormHelper::to_input_field_tag()</a></td>
  </tr>
  <tr>
    <td><b>usedby:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodto_content_tag">Helpers::to_content_tag()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/ActiveRecord.html#methodsend">ActiveRecord::send()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
  <tr>
    <td><b>uses:</b>&nbsp;&nbsp;</td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../PHPonTrax/DateHelper.html#methodvalue">DateHelper::value()</a></dt>
		<dd>Get attribute value from $_REQUEST if there, otherwise from database</dd>
	</dl>
		<dl>
	<dt><a href="../PHPonTraxTest/ExDateHelper.html#methodvalue">ExDateHelper::value()</a></dt>
		<dd></dd>
	</dl>
	</p>

        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 04 May 2006 19:47:44 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>
Return current item: PHP on Trax