ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
FooObject Class Reference
+ Collaboration diagram for FooObject:

Public Member Functions

 __toString ()
 
 foo ()
 
 getFooBar ()
 

Static Public Member Functions

static reset ()
 

Data Fields

 $bar = 'bar'
 

Static Public Attributes

static $called = array('__toString' => 0, 'foo' => 0, 'getFooBar' => 0)
 

Detailed Description

Definition at line 286 of file SandboxTest.php.

Member Function Documentation

◆ __toString()

FooObject::__toString ( )

Definition at line 297 of file SandboxTest.php.

299  {
300  self::$called = array('__toString' => 0, 'foo' => 0, 'getFooBar' => 0);
301  }
302 

◆ foo()

FooObject::foo ( )

Definition at line 304 of file SandboxTest.php.

304  {
305  ++self::$called['__toString'];
306 
307  return 'foo';
308  }
309 

◆ getFooBar()

FooObject::getFooBar ( )

Definition at line 311 of file SandboxTest.php.

311  {
312  ++self::$called['foo'];
313 
314  return 'foo';
315  }
316 

◆ reset()

static FooObject::reset ( )
static

Field Documentation

◆ $bar

FooObject::$bar = 'bar'

Definition at line 290 of file SandboxTest.php.

◆ $called


The documentation for this class was generated from the following file: