Class XCube_Ref
Package: XCube
Copyright: Copyright 2005-2007 XOOPS Cube Project <https://github.com/xoopscube/legacy>
License: Modified BSD license
Brief: [Final] This class is an expression of reference in delegation mechanism for PHP4. This class is adapt reference pointer for XCube_Delegate. Because XCube_Delegate is virtual function pointers, it's impossible to hand variables as references to XCube_Delegate::call(). In a such case, use this class as an adapter. \code $object = new Object; $delegate->call($object); // In PHP4, functions will receive the copied value of $object. $object = new Object; $delegate->call(new XCube_Delegate($object)); // In PHP4, functions will receive the object. \endcode
Public
Located at html/core/XCube_Delegate.class.php
Copyright: Copyright 2005-2007 XOOPS Cube Project <https://github.com/xoopscube/legacy>
License: Modified BSD license
Brief: [Final] This class is an expression of reference in delegation mechanism for PHP4. This class is adapt reference pointer for XCube_Delegate. Because XCube_Delegate is virtual function pointers, it's impossible to hand variables as references to XCube_Delegate::call(). In a such case, use this class as an adapter. \code $object = new Object; $delegate->call($object); // In PHP4, functions will receive the copied value of $object. $object = new Object; $delegate->call(new XCube_Delegate($object)); // In PHP4, functions will receive the object. \endcode
Public
Located at html/core/XCube_Delegate.class.php
public
|
public
|
$_mObject | null |