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:

version:  $Id: active_record_helper.php 277 2007-01-22 11:55:57Z john $
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.

filesource:  Source Code for this file








error_messages_for [line 652]

void error_messages_for( )

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



Tags:



[ Top ]



error_message_on [line 642]

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 662]

void form( )

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



Tags:



[ Top ]



input [line 675]

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 685]

void input_scaffolding( )



Tags:



[ Top ]



pagination_limit_select [line 695]

void pagination_limit_select( )



Tags:



[ Top ]



pagination_links [line 705]

void pagination_links( )



Tags:



[ Top ]



pagination_range_text [line 715]

void pagination_range_text( )



Tags:



[ Top ]



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