Login   Register  
PHP Classes
elePHPant
Icontem

File: Examples/demo3c.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thomas Björk  >  LOCO  >  Examples/demo3c.php  >  Download  
File: Examples/demo3c.php
Role: Example script
Content type: text/plain
Description: Example 3
Class: LOCO
Queue actions on objects to be performed later
Author: By
Last change:
Date: 4 years ago
Size: 265 bytes
 

Contents

Class file image Download
<?php
// demo3.php
include_once('../loco.php');
class 
Test {
  var 
$value;
  
  public function 
ShowValue() {
    echo 
$this->value;
  }
  
}

$gl = new xLOCO('Test');
$gl->value 42;
$actions $gl->__lococall('ShowValue');
xLOCO::Execute($actions);
echo 
"\n";
?>