Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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