new MVC.View.Helpers(data) -> mvc.view.helpers
Creates a view helper. This function is called internally. You should never call it.
{Object} - The data passed to the view. Helpers have access to it through this.data
check_box_tag(name, value, options, checked) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
date_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
file_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
time_tag(name, value, html_options, interval) -> undefined
{Object} -
{Object} -
{Object} -
{Object} - - specified in minutes
link_to_unless(condition, name, url, html_options) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
form_tag(url_for_options, html_options) -> undefined
{Object} -
{Object} -
form_tag_end() -> undefined
hidden_field_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
img_tag(image_location, options) -> undefined
{Object} -
{Object} -
text_area_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
text_field_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
link_to_if(condition, name, url, html_options) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
input_field_tag(name, value, inputType, html_options) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
label_tag(text, html_options) -> undefined
{Object} -
{Object} -
link_to(name, url, html_options) -> undefined
{Object} -
{Object} -
{Object} -
partial(options, data) -> String
{Object} - standard options passed to a new view.
{Object} -
{String} -
password_field_tag(name, value, html_options) -> undefined
{Object} -
{Object} -
{Object} -
select_tag(name, value, choices, html_options) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
set_confirm(html_options) -> undefined
{Object} -
single_tag_for(tag, html_options) -> undefined
{Object} -
{Object} -
start_tag_for(tag, html_options) -> undefined
{Object} -
{Object} -
tag_end(tag) -> undefined
{Object} -
submit_link_to(name, options, html_options, post) -> undefined
{Object} -
{Object} -
{Object} -
{Object} -
submit_tag(name, html_options) -> undefined
{Object} -
{Object} -
tag(tag, html_options, end) -> undefined
{Object} -
{Object} -
{Object} -
to_text(input, null_text) -> String
{Object} - the value being converted.
{Object} - what text should be present if input == null or undefined, defaults to ''
{String} -