phpDocumentor Projax
[ class tree: Projax ] [ index: Projax ] [ all elements ]

Class: Prototype

Source Location: /core/projax/classes/Prototype.php

Class Prototype

Inherited Properties, Constants, and Methods
Property Summary
mixed   $AJAX_OPTIONS  
mixed   $CALLBACKS  

[ Top ]
Method Summary
void   alert()  
void   assign()  
void   call()  
void   delay()  
void   dump()  
void   evaluate_remote_response()  
void   form_remote_tag()  
void   hide()  
void   ID()  
void   insert_html()  
void   link_to_remote()  
void   observe_field()  
void   observe_form()  
void   periodically_call_remote()  
void   redirect_to()  
void   remote_function()  
void   remove()  
void   replace()  
void   replace_html()  
void   select()  
void   show()  
void   submit_to_remote()  
void   toggle()  
void   update_element_function()  
void   update_page()  
void   update_page_tag()  
void   _build_callbacks()  
void   _build_observer()  
void   _method_option_to_s()  
void   _options_for_ajax()  

[ Top ]
Properties
mixed   $AJAX_OPTIONS = array('before',
'after',
'condition',
'url',
'asynchronous',
'method',
'insertion',
'position',
'form',
'with',
'update',
'script',
'uninitialized',
'loading',
'loaded',
'interactive',
'complete',
'failure',
'success')
[line 30]

[ Top ]
mixed   $CALLBACKS = array('uninitialized',
'loading',
'loaded',
'interactive',
'complete',
'failure',
'success')
[line 21]

[ Top ]
Methods
alert  [line 237]

  void alert( $message  )

Parameters:
   $message: 


[ Top ]
assign  [line 242]

  void assign( $variable, $value  )

Parameters:
   $variable: 
   $value: 


[ Top ]
call  [line 247]

  void call( $function, [ $args = null]  )

Parameters:
   $function: 
   $args: 


[ Top ]
delay  [line 270]

  void delay( [ $seconds = 1], [ $script = '']  )

Parameters:
   $seconds: 
   $script: 


[ Top ]
dump  [line 227]

  void dump( $javascript  )

Parameters:
   $javascript: 


[ Top ]
evaluate_remote_response  [line 50]

  void evaluate_remote_response( )



[ Top ]
form_remote_tag  [line 54]

  void form_remote_tag( $options  )

Parameters:
   $options: 


[ Top ]
hide  [line 275]

  void hide( $id  )

Parameters:
   $id: 


[ Top ]
ID  [line 232]

  void ID( $id, [ $extend = null]  )

Parameters:
   $id: 
   $extend: 


[ Top ]
insert_html  [line 280]

  void insert_html( $position, $id, [ $options_for_render = null]  )

Parameters:
   $position: 
   $id: 
   $options_for_render: 


[ Top ]
link_to_remote  [line 61]

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

Parameters:
   $name: 
   $options: 
   $html_options: 


[ Top ]
observe_field  [line 66]

  void observe_field( $field_id, [ $options = null]  )

Parameters:
   $field_id: 
   $options: 


[ Top ]
observe_form  [line 76]

  void observe_form( $form_id, [ $options = null]  )

Parameters:
   $form_id: 
   $options: 


[ Top ]
periodically_call_remote  [line 86]

  void periodically_call_remote( [ $options = null]  )

Parameters:
   $options: 


[ Top ]
redirect_to  [line 286]

  void redirect_to( $location  )

Parameters:
   $location: 


[ Top ]
remote_function  [line 93]

  void remote_function( $options  )

Parameters:
   $options: 


[ Top ]
remove  [line 291]

  void remove( $id  )

Parameters:
   $id: 


[ Top ]
replace  [line 306]

  void replace( $id, $options_for_render  )

Parameters:
   $id: 
   $options_for_render: 


[ Top ]
replace_html  [line 312]

  void replace_html( $id, $options_for_render  )

Parameters:
   $id: 
   $options_for_render: 


[ Top ]
select  [line 318]

  void select( $pattern, [ $extend = null]  )

Parameters:
   $pattern: 
   $extend: 


[ Top ]
show  [line 323]

  void show( $id  )

Parameters:
   $id: 


[ Top ]
submit_to_remote  [line 123]

  void submit_to_remote( $name, $value, $options  )

Parameters:
   $name: 
   $value: 
   $options: 


[ Top ]
toggle  [line 328]

  void toggle( $id  )

Parameters:
   $id: 


[ Top ]
update_element_function  [line 133]

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

Parameters:
   $element_id: 
   $options: 
   $block: 


[ Top ]
update_page  [line 141]

  void update_page( $block  )

Parameters:
   $block: 


[ Top ]
update_page_tag  [line 146]

  void update_page_tag( &$block  )

Parameters:
   &$block: 


[ Top ]
_build_callbacks  [line 157]

  void _build_callbacks( $options  )

Parameters:
   $options: 


[ Top ]
_build_observer  [line 171]

  void _build_observer( $klass, $name, [ $options = null]  )

Parameters:
   $klass: 
   $name: 
   $options: 


[ Top ]
_method_option_to_s  [line 193]

  void _method_option_to_s( $method  )

Parameters:
   $method: 


[ Top ]
_options_for_ajax  [line 198]

  void _options_for_ajax( $options  )

Parameters:
   $options: 


[ Top ]

Documentation generated on Sun, 05 Apr 2009 23:01:30 +0100 by phpDocumentor 1.4.1