PHP Classes

File: Examples/demo3c.php

Recommend this page to a friend!
  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: Update of Examples/demo3c.php
Date: 5 months 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";
?>