PHP Classes

File: templates/support/event.js.php

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

Contents

Class file image Download
<?php echo $this->sPrefix ?><?php echo $this->sEvent ?> = function() {
    return jaxon.request(
        { jxnevt: '<?php echo $this->sEvent ?>' },
        { parameters: arguments<?php if(($this->sMode)): ?>, mode: '<?php echo $this->sMode ?>'<?php endif ?><?php if(($this->sMethod)): ?>, method: '<?php echo $this->sMethod ?>'<?php endif ?> }
    );
};