Function Summary
-
objects_for_select()
Accepts a container of objects, the method name to use for the value,
-
string
object_checkbox_tag(, , , )
Returns a checkbox html tag.
-
string
object_input_date_tag(, , , )
Returns a html date control.
-
string
object_input_hidden_tag(, , , )
Returns a hidden input html tag.
-
string
object_input_tag(, , , )
Returns a input html tag.
-
object_select_country_tag()
-
object_select_language_tag()
-
string
object_select_tag(, , , )
Returns a list html tag.
-
string
object_textarea_tag(, , , )
Returns a textarea html tag.
-
_convert_method_to_name()
-
string
_get_class_decorated()
Returns the name of the class of an decorated object
-
_get_object_value()
-
_get_options_from_objects()
Function Details
-
Accepts a container of objects, the method name to use for the value,
and the method name to use for the display.
It returns a string of option tags. NOTE: Only the option tags are returned, you have to wrap this call in a regular HTML select tag.
-
(string) object_checkbox_tag (, , , )
Browse code
Returns a checkbox html tag.
returns An html string which represents a checkbox tag.
-
(string) object_input_date_tag (, , , )
Browse code
Returns a html date control.
returns An html string which represents a date control.
-
(string) object_input_hidden_tag (, , , )
Browse code
Returns a hidden input html tag.
returns An html string which represents a hidden input tag.
-
(string) object_input_tag (, , , )
Browse code
Returns a input html tag.
returns An html string which represents an input tag.
-
object_select_country_tag ()
Browse code
-
object_select_language_tag ()
Browse code
-
(string) object_select_tag (, , , )
Browse code
Returns a list html tag.
returns A list string which represents an input tag.
-
(string) object_textarea_tag (, , , )
Browse code
Returns a textarea html tag.
returns An html string which represents a textarea tag.
-
_convert_method_to_name ()
Browse code
-
(string) _get_class_decorated ()
Browse code
Returns the name of the class of an decorated object
returns The name of the class of the object being decorated for escaping, or the class of the object if it isn't decorated
-
-
_get_options_from_objects ()
Browse code
|