model/modx/modlexiconentry.class.php
- package
- modx
- Classes
- modLexiconEntry
Description
\modLexiconEntry
- Extends from
- \xPDOSimpleObject
- package
- modx
- Methods
- clearCache
- save
Description
Extend to define a class with a native integer primary key field named id.
This is the basis for the entire xPDO object model, and can also be used by a class generator {@link xPDOGenerator}, ultimately allowing custom classes to be user-defined in a web interface and framework-generated at runtime.
Methods
clearCache
clearCache(
)
:
boolean
Clears the cache for the entry
Output
- boolean
- True if successful
Details
- visibility
- public
- final
- false
- static
- false
- access
- public
save
save(
boolean $cacheFlag
=
null
)
:
boolean
Overrides xPDOObject::save to clear lexicon cache on saving.
{@inheritdoc}
Arguments
- $cacheFlag
- boolean
Output
- boolean
- True if the save was successful
Details
- visibility
- public
- final
- false
- static
- false