Translation2_Admin::getAdminDecorator() – Return an instance of an admin decorator


require_once 'Translation2/Admin.php';

object Decorator& Translation2_Admin::getAdminDecorator ( string $decorator , object [optional] 1 )


This method is used to get a decorator instance. A decorator can be seen as a filter, i.e. something that can change or handle the values of the objects/vars that pass through.


string $decorator

Name of the decorator

object $obj [optional]

Object to decorate (the default object being $this)

Return value

returns object Reference of a Translation2_Admin_Decorator subclass


This function can not be called statically.

Get a list of all the pageIDs in any table. (Previous) Decorates a Translation2 class. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.