Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402]

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

Copyright: 2008-2017 Horde LLC
License: http://www.horde.org/licenses/bsd BSD
File Size: 146 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Support_Stub:: (13 methods):
  __toString()
  __set()
  __get()
  __isset()
  __unset()
  __call()
  __callStatic()
  offsetGet()
  offsetSet()
  offsetExists()
  offsetUnset()
  count()
  getIterator()


Class: Horde_Support_Stub  - X-Ref

Class that can substitute for any object and safely do nothing.

__toString()   X-Ref
Cooerce to an empty string.

return: string

__set($key, $val)   X-Ref
Ignore setting the requested property.

param: string $key  The property.
param: mixed $val   The property's value.

__get($key)   X-Ref
Return null for any requested property.

param: string $key  The requested object property.
return: null  Null.

__isset($key)   X-Ref
Property existence.

param: string $key  The requested object property.
return: boolean  False.

__unset($key)   X-Ref
Ignore unsetting a property.

param: string $key  The requested object property.

__call($method, $args)   X-Ref
Gracefully accept any method call and do nothing.

param: string $method  The method that was called.
param: array $args     The method's arguments.

__callStatic($method, $args)   X-Ref
Gracefully accept any static method call and do nothing.

param: string $method  The method that was called.
param: array $args     The method's arguments.

offsetGet($offset)   X-Ref
No description

offsetSet($offset, $value)   X-Ref
No description

offsetExists($offset)   X-Ref
No description

offsetUnset($offset)   X-Ref
No description

count()   X-Ref
No description

getIterator()   X-Ref
No description