Trait TfMagicMethods
Allows for non-write access to protected properties and prevents non-whitelisted properties from being set.
Only to be used in classes that have a TfValidator instance as a property.
Direct Known Users
TfContentObject,
TfCriteria,
TfCriteriaItem,
TfMetadata,
TfPreference,
TfRss,
TfUser
Indirect Known Users
TfArticle,
TfAudio,
TfBlock,
TfCollection,
TfDownload,
TfImage,
TfStatic,
TfTag,
TfVideo
Package: core
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Used by:
Located at trust_path/libraries/tuskfish/class/TfMagicMethods.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Used by:
TfRss Implementation of magic methods to restrict direct property access.Located at trust_path/libraries/tuskfish/class/TfMagicMethods.php
Methods summary
public
mixed|null
|
|
public
boolean
|
|
public
|
|
public
boolean
|