SpellCheckAdminExtension
class SpellCheckAdminExtension extends Extension (View source)
Update html editor to enable spellcheck
Traits
Provides extensions to this object to integrate it with standard config API methods.
Config options
| allowed_actions | This is used by extensions designed to be applied to controllers.  | 
                from Extension | |
| editor | string | HTMLEditorConfig name to use  | 
                
Properties
| protected | object | $owner | The object this extension is applied to.  | 
                from Extension | 
Methods
Called when this extension is added to a particular class
Temporarily modify the owner. The original owner is ensured to be restored
Clear the current owner, and restore extension to the state prior to the last setOwner()
Helper method to strip eval'ed arguments from a string that's passed to DataObject::$extensions or Object::add_extension().
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
Returns the default locale for TinyMCE. Either via configuration or the first in the list of locales.
Details
        
                            
    __construct()
        
    
    No description
        
                static            
    add_to_class(string $class, string $extensionClass, mixed $args = null)
        
    
    Called when this extension is added to a particular class
        
                            
    setOwner(object $owner)
        
    
    Set the owner of this extension.
        
                            mixed
    withOwner(mixed $owner, callable $callback, array $args = [])
        
    
    Temporarily modify the owner. The original owner is ensured to be restored
        
                            
    clearOwner()
        
    
    Clear the current owner, and restore extension to the state prior to the last setOwner()
        
                            object
    getOwner()
        
    
    Returns the owner of this extension.
        
                static            string
    get_classname_without_arguments(string $extensionStr)
        
    
    Helper method to strip eval'ed arguments from a string that's passed to DataObject::$extensions or Object::add_extension().
        
                static            Config_ForClass
    config()
        
    
    Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
        
                            mixed
    stat(string $name)
        deprecated
    
    deprecated
Get inherited config value
        
                            mixed
    uninherited(string $name)
        
    
    Gets the uninherited value for the given config option
        
                            $this
    set_stat(string $name, mixed $value)
        deprecated
    
    deprecated
Update the config value for a given property
        
                            
    init()
        
    
    No description
        
                            string[]
    getLanguages()
        
    
    Check languages to set
        
                            string|false
    getDefaultLocale()
        
    
    Returns the default locale for TinyMCE. Either via configuration or the first in the list of locales.