<html>
<head>
<title>Docs For Class ActiveRecordHelper</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: ActiveRecordHelper</h1>
Source Location: /vendor/trax/action_view/helpers/active_record_helper.php<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../PHPonTrax/Helpers.html">Helpers</a>
|
--ActiveRecordHelper</pre><br />
<div class="description"></div><br /><br />
<h4>Author(s):</h4>
<ul>
</ul>
</td>
<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#var$scaffolding">$scaffolding</a></li>
</ul>
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodall_input_tags">all_input_tags</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodcolumn_type">column_type</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">content_tag</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag_without_error_wrapping">content_tag_without_error_wrapping</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methoddefault_input_block">default_input_block</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message">error_message</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_messages_for">error_messages_for</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message_on">error_message_on</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">error_wrapping</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodform">form</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodinput">input</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodinput_scaffolding">input_scaffolding</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">tag</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag_without_error_wrapping">tag_without_error_wrapping</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">to_datetime_select_tag</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag_without_error_wrapping">to_datetime_select_tag_without_error_wrapping</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_date_select_tag">to_date_select_tag</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_date_select_tag_without_error_wrapping">to_date_select_tag_without_error_wrapping</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">to_scaffold_tag</a></li>
<li><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">to_tag</a></li>
</ul>
</td>
</tr></table>
<hr />
<table width="100%" border="0"><tr>
<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../PHPonTrax/Helpers.html">Helpers</a></h4>
<dl>
<dt>
<a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#var$auto_index">Helpers::$auto_index</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#var$controller_name">Helpers::$controller_name</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#var$controller_object">Helpers::$controller_object</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#var$controller_path">Helpers::$controller_path</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a>
</dt>
<dd>
</dd>
</dl>
</div>
</td>
<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../PHPonTrax/Helpers.html">Helpers</a></h4>
<dl>
<dt>
<a href="../PHPonTrax/Helpers.html#method__construct">Helpers::__construct()</a>
</dt>
<dd>
Construct a Helpers object
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodboolean_attribute">Helpers::boolean_attribute()</a>
</dt>
<dd>
Convert an attribute to proper XML boolean form
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodcdata_section">Helpers::cdata_section()</a>
</dt>
<dd>
Wrap CDATA begin and end tags around argument
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodcontent_tag">Helpers::content_tag()</a>
</dt>
<dd>
Generate an open/close pair of tags with optional attributes and content between
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodconvert_options">Helpers::convert_options()</a>
</dt>
<dd>
Convert selected attributes to proper XML boolean form
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a>
</dt>
<dd>
Given the name of an ActiveRecord subclass, find an instance
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodtag">Helpers::tag()</a>
</dt>
<dd>
Generate an HTML or XML tag with optional attributes and self-ending
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodtag_options">Helpers::tag_options()</a>
</dt>
<dd>
Convert array of tag attribute names and values to string
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodto_content_tag">Helpers::to_content_tag()</a>
</dt>
<dd>
</dd>
<dt>
<a href="../PHPonTrax/Helpers.html#methodvalue">Helpers::value()</a>
</dt>
<dd>
Get value of current attribute in the current ActiveRecord object
</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_viewhelpersactive_record_helper.php.html#a36">36</a>]<br />
<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>todo:</b> </td><td>Document this class</td>
</tr>
</table>
</div>
</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$scaffolding"></a>
<p></p>
<h4>$scaffolding = <span class="value"> false</span></h4>
<p>[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a45">45</a>]</p>
Whether to generate scaffolding HTML<br /><br /><p>Set to true in <a href="../PHPonTrax/_vendor_trax_templates_scaffolds_generator_templates_form_scaffolding_phtml.html">form_scaffolding.phtml</a>. If true generate HTML scaffold otherwise generate final HTML</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoddefault_input_block">ActiveRecordHelper::default_input_block()</a></td>
</tr>
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b> </td>
<td>boolean</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="methodall_input_tags"></a>
<h3>method all_input_tags <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a186">186</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 all_input_tags(
mixed
$record, mixed
$record_name, mixed
$options)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodform">ActiveRecordHelper::form()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoddefault_input_block">ActiveRecordHelper::default_input_block()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodcolumn_type"></a>
<h3>method column_type <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a480">480</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 column_type(
)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecord.html#methodcolumn_for_attribute">ActiveRecord::column_for_attribute()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><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_viewhelpersactive_record_helper.php.html#a387">387</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 content_tag(
mixed
$name, mixed
$value, [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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_message_on">ActiveRecordHelper::error_message_on()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_messages_for">ActiveRecordHelper::error_messages_for()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag_without_error_wrapping">ActiveRecordHelper::content_tag_without_error_wrapping()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodform">ActiveRecordHelper::form()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag_without_error_wrapping">ActiveRecordHelper::content_tag_without_error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">ActiveRecordHelper::error_wrapping()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
Overrides <a href="../PHPonTrax/Helpers.html#methodcontent_tag">Helpers::content_tag()</a> (Generate an open/close pair of tags with optional attributes and content between)<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodcontent_tag_without_error_wrapping"></a>
<h3>method content_tag_without_error_wrapping <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a375">375</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 content_tag_without_error_wrapping(
)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddefault_input_block"></a>
<h3>method default_input_block <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a208">208</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 default_input_block(
)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodall_input_tags">ActiveRecordHelper::all_input_tags()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodinput_scaffolding">ActiveRecordHelper::input_scaffolding()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#var$scaffolding">ActiveRecordHelper::$scaffolding</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoderror_message"></a>
<h3>method error_message <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a469">469</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 error_message(
)</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> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoderror_messages_for"></a>
<h3>method error_messages_for <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a160">160</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 error_messages_for(
mixed
$object_name, [string[]
$options = array()])</code>
</td></tr></table>
</td></tr></table><br />
Returns a string with a div containing all the error messages for the object located as an instance variable by the name of <tt>object_name</tt>. This div can be tailored by the following options:<br /><br /><p><tt>header_tag</tt> - Used for the header of the error div (default: h2) <tt>id</tt> - The id of the error div (default: errorExplanation) <tt>class</tt> - The class of the error div (default: errorExplanation)</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html#functionerror_messages_for">error_messages_for()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Inflector.html#methodhumanize">Inflector::humanize()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">mixed </td>
<td><b>$object_name</b> </td>
<td>object_name The name of a PHP class, or an object instance of that class</td>
</tr>
<tr>
<td class="type">string[] </td>
<td><b>$options</b> </td>
<td>options Set of options: 'header_tag', 'id', 'class'</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoderror_message_on"></a>
<h3>method error_message_on <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.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 error_message_on(
mixed
$object_name, mixed
$attribute_name, [mixed
$prepend_text = ""], [mixed
$append_text = ""], [mixed
$css_class = "formError"])</code>
</td></tr></table>
</td></tr></table><br />
Returns a string containing the error message attached to the +method+ on the +object+, if one exists.<br /><br /><p>This error message is wrapped in a DIV tag, which can be specialized to include both a +prepend_text+ and +append_text+ to properly introduce the error and a +css_class+ to style it accordingly. Examples (post has an error message "can't be empty" on the title attribute):</p><p><?= error_message_on("post", "title") ?> => <div class="formError">can't be empty</div></p><p><?= error_message_on "post", "title", "Title simply ", " (or it won't work)", "inputError" ?> => <div class="inputError">Title simply can't be empty (or it won't work)</div></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html#functionerror_message_on">error_message_on()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$controller_object">Helpers::$controller_object</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoderror_wrapping"></a>
<h3>method error_wrapping <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a459">459</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 error_wrapping(
string
$html_tag, boolean
$has_error)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">ActiveRecordHelper::to_datetime_select_tag()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">ActiveRecordHelper::tag()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string </td>
<td><b>$html_tag</b> </td>
<td></td>
</tr>
<tr>
<td class="type">boolean </td>
<td><b>$has_error</b> </td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodform"></a>
<h3>method form <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a106">106</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 form(
mixed
$record_name, [mixed
$options = array()])</code>
</td></tr></table>
</td></tr></table><br />
Returns an entire form with input tags and everything for a specified Active Record object. Example<br /><br /><p>(post is a new record that has a title using VARCHAR and a body using TEXT): form("post") => <form action='/post/create' method='post'> <p>
<label for="post_title">Title</label><br /> <input id="post_title" name="post[title]" size="30" type="text" value="Hello World" /> </p> <p>
<label for="post_body">Body</label><br /> <textarea cols="40" id="post_body" name="post[body]" rows="20"> Back to the hill and over it again! </textarea> </p> <input type='submit' value='Create' /> </form></p><p>It's possible to specialize the form builder by using a different action name and by supplying another block renderer. Example (entry is a new record that has a message attribute using VARCHAR):</p><p>form("entry", array('action' => "sign", 'input_block' => 'foreach($record->content_columns() as $column_name => $column) $contents .= Inflector::humanize($column_name) . ": " . input($record, $column) . "<br />"')) =></p><p><form action='/post/sign' method='post'> Message: <input id="post_title" name="post[title]" size="30" type="text" value="Hello World" /><br /> <input type='submit' value='Sign' /> </form></p><p>It's also possible to add additional content to the form by giving it a block, such as:</p><p>form("entry", array('action' => "sign", 'block' => content_tag("b", "Department") . collection_select("department", "id", $departments, "id", "name")) )</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html#functionform">form()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcontent_tag">ActiveRecordHelper::content_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodall_input_tags">ActiveRecordHelper::all_input_tags()</a></td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodinput"></a>
<h3>method input <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a54">54</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 input(
mixed
$object_name, mixed
$attribute_name, [mixed
$options = array()])</code>
</td></tr></table>
</td></tr></table><br />
Returns a default input tag for the type of object returned by the method. Example<br /><br /><p>(title is a VARCHAR column and holds "Hello World"): input("post", "title") => <input id="post_title" name="post[title]" size="30" type="text" value="Hello World" /></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html#functioninput">input()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodinput_scaffolding"></a>
<h3>method input_scaffolding <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a62">62</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 input_scaffolding(
mixed
$object_name, mixed
$attribute_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>usedby:</b> </td><td><a href="../PHPonTrax/_vendor_trax_action_view_helpers_active_record_helper_php.html#functioninput_scaffolding">input_scaffolding()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoddefault_input_block">ActiveRecordHelper::default_input_block()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_scaffold_tag">ActiveRecordHelper::to_scaffold_tag()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><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_viewhelpersactive_record_helper.php.html#a362">362</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 tag(
mixed
$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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag_without_error_wrapping">ActiveRecordHelper::tag_without_error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag_without_error_wrapping">ActiveRecordHelper::tag_without_error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">ActiveRecordHelper::error_wrapping()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
Overrides <a href="../PHPonTrax/Helpers.html#methodtag">Helpers::tag()</a> (Generate an HTML or XML tag with optional attributes and self-ending)<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtag_without_error_wrapping"></a>
<h3>method tag_without_error_wrapping <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a350">350</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 tag_without_error_wrapping(
)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">ActiveRecordHelper::tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodtag">ActiveRecordHelper::tag()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_datetime_select_tag"></a>
<h3>method to_datetime_select_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a445">445</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_datetime_select_tag(
[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> </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> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_tag">ActiveRecordHelper::to_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">ActiveRecordHelper::error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_datetime_select_tag_without_error_wrapping"></a>
<h3>method to_datetime_select_tag_without_error_wrapping <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a430">430</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_datetime_select_tag_without_error_wrapping(
)</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>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">ActiveRecordHelper::to_datetime_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/DateHelper.html#methodto_datetime_select_tag">DateHelper::to_datetime_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_date_select_tag"></a>
<h3>method to_date_select_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a415">415</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_date_select_tag(
[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>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_date_select_tag_without_error_wrapping"></a>
<h3>method to_date_select_tag_without_error_wrapping <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a406">406</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_date_select_tag_without_error_wrapping(
)</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> </td><td><a href="../PHPonTrax/DateHelper.html#methodto_date_select_tag">DateHelper::to_date_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_scaffold_tag"></a>
<h3>method to_scaffold_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a289">289</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_scaffold_tag(
mixed
$object_name, mixed
$attribute_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> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodinput_scaffolding">ActiveRecordHelper::input_scaffolding()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">ActiveRecordHelper::error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcolumn_type">ActiveRecordHelper::column_type()</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodto_tag"></a>
<h3>method to_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTrax__vendortraxaction_viewhelpersactive_record_helper.php.html#a233">233</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_tag(
string
$object_name, string
$attribute_name, [string[]
$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> </td><td><a href="../PHPonTrax/FormHelper.html#methodto_text_area_tag">FormHelper::to_text_area_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/FormHelper.html#methodto_input_field_tag">FormHelper::to_input_field_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodto_datetime_select_tag">ActiveRecordHelper::to_datetime_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#methodobject">Helpers::object()</a></td>
</tr>
<tr>
<td><b>usedby:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodinput">ActiveRecordHelper::input()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/FormHelper.html#methodto_boolean_select_tag">FormHelper::to_boolean_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/DateHelper.html#methodto_date_select_tag">DateHelper::to_date_select_tag()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$attribute_name">Helpers::$attribute_name</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methodcolumn_type">ActiveRecordHelper::column_type()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/ActiveRecordHelper.html#methoderror_wrapping">ActiveRecordHelper::error_wrapping()</a></td>
</tr>
<tr>
<td><b>uses:</b> </td><td><a href="../PHPonTrax/Helpers.html#var$object_name">Helpers::$object_name</a></td>
</tr>
<tr>
<td><b>todo:</b> </td><td>Document this method</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string </td>
<td><b>$object_name</b> </td>
<td>object_name Name of an ActiveRecord subclass</td>
</tr>
<tr>
<td class="type">string </td>
<td><b>$attribute_name</b> </td>
<td>attribute_name Name of an attribute of $object_name</td>
</tr>
<tr>
<td class="type">string[] </td>
<td><b>$options</b> </td>
<td>options</td>
</tr>
</table>
</div><br />
<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:15 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>