PHP Classes

File: templates/callables/method.js.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   templates/callables/method.js.php   Download  
File: templates/callables/method.js.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 4 months ago
Size: 352 bytes
 

Contents

Class file image Download
<?php echo $this->aMethod['name'] ?>: function() { return jaxon.request({ type: 'class', name: '<?php
   
echo $this->sJsClass ?>', method: '<?php echo $this->aMethod['name']
   
?>' }, { parameters: arguments<?php foreach($this->aMethod['options'] as $sKey => $sValue):
       
?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> }); },