ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.

References array.

299  {
300  self::$called = array('__toString' => 0, 'foo' => 0, 'getFooBar' => 0);
301  }
302 
Create styles array
The data for the language used.

◆ 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

Definition at line 292 of file SandboxTest.php.

References array.

Referenced by Twig_Tests_Extension_SandboxTest\testSandboxAllowFunctionsCaseInsensitive(), Twig_Tests_Extension_SandboxTest\testSandboxAllowMethodFoo(), Twig_Tests_Extension_SandboxTest\testSandboxAllowMethodToString(), and Twig_Tests_Extension_SandboxTest\testSandboxAllowMethodToStringDisabled().

293 {
294  public static $called = array('__toString' => 0, 'foo' => 0, 'getFooBar' => 0);
295 
static $called
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

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: