PHP Classes
elePHPant
Icontem

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:
Date: 2 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 ?> }
    );
};