Source for file AliaFront.php

Documentation is available at AliaFront.php

  1. <?php
  2. require_once 'Alia.php';
  3.  
  4. if(isset($_GET['jscript'])&&count($_GET['jscript'])){
  5.     header('Cache-Control: public, max-age=9000');
  6.     foreach($_GET['jscript'as $script){
  7.         readfileALoader::instance()->getFilePath("jscript/$script"));
  8.     }
  9.     exit;
  10. }
  11.  
  12.  
  13. if(isset($_REQUEST['triggeredConnections']&& is_array($_REQUEST['triggeredConnections']))
  14. foreach ($_REQUEST['triggeredConnections'as $conn){
  15.     $params explode('-|-',$conn);
  16.     $conn $params[0];
  17.     //shift the name of the connection out of the params
  18.     array_shift($params);
  19.     $connection AConnectionRegistry::instance()->getConnectionByID($conn);
  20.     if(is_object($connection)){
  21.         call_user_func_array(array(&$connection->targetObject,$connection->getSlotMethod()),$params);
  22.     }else{
  23.         throw new Exception("Connection of ID '{$conn}' not found!");
  24.     }
  25. }
  26.  
  27. $buffer AJScriptBuffer::instance()->getJScript();
  28. if($buffer != ''){
  29.     echo $buffer;
  30. }
  31.  
  32. //file_put_contents('/tmp/session',serialize($_SESSION['alia']));
  33.  
  34. ?>

Documentation generated on Fri, 11 Jul 2008 13:28:41 -0400 by phpDocumentor 1.4.2