PHP Classes

File: templates/support/function.js.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Jaxon  >  templates/support/function.js.php  >  Download  
File: templates/support/function.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: Update of templates/support/function.js.php
Date: 2 years ago
Size: 311 bytes


Class file image Download
<?php echo $this->sPrefix ?><?php echo $this->sAlias ?> = function() {
    return jaxon.request(
        { jxnfun: '<?php echo $this->sFunction ?>' },
        { parameters: arguments<?php foreach($this->aConfig as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> }