Data Bindings

Binding data to methods

You can bin data manipulation events to methods. That means, that a method you bound to the type, gets
called whenever the type is manipulated.

function con_out {
      echo ($1);
}

$stdout bind con_out;
$stdout = "Hello, World!";

Last edited Mar 31, 2009 at 7:56 PM by brianmayclone, version 1

Comments

No comments yet.