__construct Function

Creates a new plugin object.

Summary

ElementFunction
ReturnsObject

Arguments

nameStringThe name of the plugin.
cmsObjectReference to the main CMS object.
serviceObjectReference to the plugin XML object.

Example

$this->example = new PageTypePlugin('example',$this,$plugin);
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php