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

Class: JavaScriptHelper

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

Class Overview

Helpers
   |
   --JavaScriptHelper



Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Helpers

Helpers::__construct()
Construct a Helpers object
Helpers::boolean_attribute()
Convert an attribute to proper XML boolean form
Helpers::cdata_section()
Wrap CDATA begin and end tags around argument
Helpers::content_tag()
Generate an open/close pair of tags with optional attributes and content between
Helpers::convert_options()
Convert selected attributes to proper XML boolean form
Helpers::object()
Given the name of an ActiveRecord subclass, find an instance
Helpers::tag()
Generate an HTML or XML tag with optional attributes and self-ending
Helpers::tag_options()
Convert array of tag attribute names and values to string
Helpers::to_content_tag()
Helpers::value()
Get value of current attribute in the current ActiveRecord object

Class Details

[line 35]


Tags:

todo:  Document this class


[ Top ]


Class Methods


constructor __construct [line 41]

JavaScriptHelper __construct( )



Overrides Helpers::__construct() (Construct a Helpers object)

[ Top ]

method array_or_string_for_javascript [line 58]

void array_or_string_for_javascript( mixed $option)



Tags:

access:  private


[ Top ]

method build_callbacks [line 108]

void build_callbacks( mixed $options)



Tags:

access:  private


[ Top ]

method build_observer [line 92]

void build_observer( mixed $klass, mixed $name, [mixed $options = array()])



Tags:

access:  private


[ Top ]

method define_javascript_functions [line 411]

void define_javascript_functions( )



[ Top ]

method draggable_element [line 545]

void draggable_element( mixed $element_id, [mixed $options = array()])



[ Top ]

method drop_receiving_element [line 561]

void drop_receiving_element( mixed $element_id, [mixed $options = array()])



[ Top ]

method escape_javascript [line 579]

void escape_javascript( mixed $javascript)



[ Top ]

method evaluate_remote_response [line 352]

void evaluate_remote_response( )



[ Top ]

method form_remote_tag [line 254]

void form_remote_tag( [mixed $options = array()])



[ Top ]

method javascript_cdata_section [line 591]

void javascript_cdata_section( mixed $content)



[ Top ]

method javascript_tag [line 587]

void javascript_tag( mixed $content)



[ Top ]

method link_to_function [line 140]

void link_to_function( mixed $name, mixed $function, [mixed $html_options = array()])



[ Top ]

method link_to_remote [line 230]

void link_to_remote( mixed $name, [mixed $options = array()], [mixed $html_options = array()])



[ Top ]

method method_option_to_s [line 88]

void method_option_to_s( mixed $method)



Tags:

access:  private


[ Top ]

method observe_field [line 449]

void observe_field( mixed $field_id, [mixed $options = array()])



[ Top ]

method observe_form [line 461]

void observe_form( mixed $form_id, [mixed $options = array()])



[ Top ]

method options_for_ajax [line 67]

void options_for_ajax( mixed $options)



Tags:

access:  private


[ Top ]

method options_for_javascript [line 49]

void options_for_javascript( mixed $options)



Tags:

access:  protected


[ Top ]

method periodically_call_remote [line 237]

void periodically_call_remote( [mixed $options = array()])



[ Top ]

method remote_function [line 367]

void remote_function( mixed $options)



[ Top ]

method remove_ajax_options [line 119]

void remove_ajax_options( mixed $options)



Tags:

access:  private


[ Top ]

method sortable_element [line 513]

void sortable_element( mixed $element_id, [mixed $options = array()])



[ Top ]

method submit_to_remote [line 273]

void submit_to_remote( mixed $name, mixed $value, [mixed $options = array()])



[ Top ]

method update_element_function [line 324]

void update_element_function( mixed $element_id, [mixed $options = array()], [mixed $block = null])



[ Top ]

method visual_effect [line 489]

void visual_effect( mixed $name, [mixed $element_id = false], [mixed $js_options = array()])



[ Top ]


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