\Wysiwyg\AspectWysiwygAspect

Main Hook Listener for Wysiwyg plugin.

Summary

Methods
Properties
Constants
alterTextarea()
getProperty()
setProperty()
No public properties found
No constants found
_includeLinksToContents()
$_scriptsLoaded
$_counter
N/A
No private methods found
No private properties found
N/A

Properties

$_scriptsLoaded

$_scriptsLoaded : boolean

Indicates if CKEditor's JS files were already included.

Type

boolean

$_counter

$_counter : boolean

Counts how many CK instances has been created.

Type

boolean

Methods

alterTextarea()

alterTextarea(\Go\Aop\Intercept\MethodInvocation $invocation) : boolean

Converts the given text area into a WYSIWYG editor.

Parameters

\Go\Aop\Intercept\MethodInvocation $invocation

Invocation

Returns

boolean —

Whether object invocation should proceed or not

getProperty()

getProperty(object $object, string $name) : mixed

Get property value from the given object, regardless its visibility.

Parameters

object $object

The object

string $name

Name of the property to get

Returns

mixed —

Property value

setProperty()

setProperty(object $object, string $propertyName, mixed $value) : void

Sets property value of the given object, regardless its visibility.

Parameters

object $object

The object

string $propertyName

Name of the property to set

mixed $value

The new value

_includeLinksToContents()

_includeLinksToContents(\Cake\View\View $view) : void

Alters CKEditor's link plugin.

Allows to link to QuickAppsCMS's contents, adds to layout header some JS code and files.

Parameters

\Cake\View\View $view

Instance of view class