[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Traits/ -> Configurable.php (summary)

(no description)

Copyright: Copyright (c) 2010-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 183 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __get()
  __set()
  __isset()
  __unset()

Functions
Functions that are not part of a class:

__get($propName)   X-Ref
Magic getter

Will return $this->foo if it exists, then $this->getFoo() or will throw an exception if
neither exists

param: string $propName
return: mixed

__set($propName, $propValue)   X-Ref
Magic setter

Will call $this->setFoo($propValue) if it exists, otherwise it will set $this->foo.
If $this->foo is a NormalizedCollection, we do not replace it, instead we clear() it then
fill it back up. It will not overwrite an object with a different incompatible object (of a
different, non-extending class) and it will throw an exception if the PHP type cannot match
without incurring data loss.

param: string $propName
param: mixed  $propValue
return: void

__isset($propName)   X-Ref
Test whether a property is set

param: string $propName
return: bool

__unset($propName)   X-Ref
Unset a property, if the class supports it

param: string $propName
return: void



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1