Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

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

Copyright: 2008-2017 Horde LLC
License: http://www.horde.org/licenses/bsd BSD
File Size: 140 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