function __construct($enableExtendFields = false) { xNameSpaceHolder::addMethodsToNS('TMS', array('_each'), $this); $this->enableExtendFields($enableExtendFields); }