Commit | Line | Data |
---|---|---|
8659eb86 | 1 | # Core Object Package Installation Plugin |
0b768461 | 2 | |
a5e61e48 MS |
3 | Registers `wcf\system\SingletonFactory` objects to be accessible in templates. |
4 | ||
5 | ## Components | |
6 | ||
7 | Each item is described as a `<coreobject>` element with the mandatory element `objectname`. | |
8 | ||
9 | ### `<objectname>` | |
10 | ||
11 | The fully qualified class name of the class. | |
12 | ||
13 | ## Example | |
14 | ||
9a3f5fa3 | 15 | {jinja{ codebox( |
f778fce2 MS |
16 | title="coreObject.xml", |
17 | language="xml", | |
18 | filepath="package/pip/coreObject.xml" | |
9a3f5fa3 | 19 | ) }} |
a5e61e48 MS |
20 | |
21 | This object can be accessed in templates via `$__wcf->getExampleHandler()` (in general: the method name begins with `get` and ends with the unqualified class name). |