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

Procedural File: active_record_helper.php

Source Location: /vendor/trax/action_view/helpers/active_record_helper.php





Page Details:

File containing ActiveRecordHelper class and support functions

(PHP 5)




Tags:

filesource:  Source Code for this file
copyright:  

(c) 2005 John Peterson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

version:  $Id$








error_messages_for [line 502]

void error_messages_for( )

error_messages_for($object_name, $options = array())



Tags:



[ Top ]



error_message_on [line 492]

void error_message_on( )

Avialble functions for use in views

error_message_on($object, $attribute_name, $prepend_text = "", $append_text = "", $css_class = "formError")




Tags:



[ Top ]



form [line 512]

void form( )

form($record_name, $options = array())



Tags:



[ Top ]



input [line 525]

void input( )

Returns a default input tag for the type of object returned by the method. Example

(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" />




Tags:



[ Top ]



input_scaffolding [line 535]

void input_scaffolding( )



Tags:



[ Top ]



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