\FAA\Obj\GenericExtension

Summary

Methods
Properties
Constants
__construct()
GetFolder()
Move()
Delete()
SearchFields()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $root,string  $id = null,string  $language = null)

Construct a new template object

Parameters

string $root

The name or the path to the extension

string $id

The object name/id or null for new one

string $language

The object language or null for raw one

GetFolder()

GetFolder()

Move()

Move(string  $target,string  $position = null,integer  $order = -1): \FAA\Obj\Result

Move to other folder

Parameters

string $target

Path to the target folder

string $position

The target position

integer $order

The new order offset

Returns

\FAA\Obj\Result

Delete()

Delete(boolean  $skip = false): \FAA\Obj\Result

Delete relation

Delete the relation and clear the content tree

Parameters

boolean $skip

Skip hooks on demand

Returns

\FAA\Obj\Result —

A system result object

SearchFields()

SearchFields(): array

Return search indexer fields Convert instance to search indexer values

Returns

array —

The search indexer fields