function __construct(ObjectDescriptor $descriptor) { parent::__construct($descriptor); $this->tplmodule = 'shop'; $this->template = 'creditcard'; $this->filepath = 'modules/shop/xarproperties'; }
function __construct(ObjectDescriptor $descriptor) { parent::__construct($descriptor); // Set for runtime $this->tplmodule = 'calendar'; $this->filepath = 'modules/calendar/xarproperties'; $this->owner = xarSession::getVar('role_id'); }