PHP Classes

File: templates/plugins/config.js.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   templates/plugins/config.js.php   Download  
File: templates/plugins/config.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: More info in error messages in request plugins.
Renamed an HTML custom attribute.
Merge commit 'ad2bbee761f90bd5be9ed7cafe1099856dc7827b' as 'jaxon-core'
Date: 4 months ago
Size: 959 bytes
 

Contents

Class file image Download
jaxon.config.requestURI = "<?php echo $this->sRequestURI ?>";
jaxon.config.statusMessages = <?php echo $this->sStatusMessages ?>;
jaxon.config.waitCursor = <?php echo $this->sWaitCursor ?>;
jaxon.config.version = "<?php echo $this->sVersion ?>";
jaxon.config.defaultMode = "<?php echo $this->sDefaultMode ?>";
jaxon.config.defaultMethod = "<?php echo $this->sDefaultMethod ?>";
jaxon.config.responseType = "<?php echo $this->sResponseType ?>";

<?php if($this->nResponseQueueSize > 0): ?>
jaxon.config.responseQueueSize = <?php echo $this->nResponseQueueSize ?>;
<?php endif ?>

<?php if(($this->bDebug)): ?>
jaxon.debug.active = true;
<?php if(($this->sDebugOutputID)): ?>
jaxon.debug.outputID = "<?php echo $this->sDebugOutputID ?>";
<?php endif ?>
<?php
if(($this->bVerboseDebug)): ?>
jaxon.debug.verbose.active = true;
<?php endif ?>
<?php
endif ?>

<?php if(($this->sCsrfMetaName)): ?>
jaxon.setCsrf('<?php echo $this->sCsrfMetaName ?>');
<?php endif ?>