function __construct() { parent::__construct(); $owningType = substr(get_class($this), 19); $this->so = CreateObject(sprintf('booking.sodocument_%s', $owningType)); $this->owner_bo = CreateObject(sprintf('booking.bo%s', $owningType)); }
function __construct() { parent::__construct(); $object_type = substr(get_class($this), 21); $this->so = CreateObject(sprintf('booking.sopermission_%s', $object_type)); $this->object_bo = CreateObject(sprintf('booking.bo%s', $object_type)); }
function __construct() { parent::__construct(); $this->so = CreateObject('booking.soseason'); $this->building_bo = CreateObject('booking.bobuilding'); $this->bo_allocation = CreateObject('booking.boallocation'); $this->so_boundary = new booking_soseason_boundary(); $this->so_resource = CreateObject('booking.soresource'); $this->so_wtemplate_alloc = new booking_sowtemplate_alloc(); }
function update($entity) { return parent::update($this->trim_contacts($entity)); }
public static function enable_authorization() { self::$auth_enabled = true; }
protected function initializeContext() { phpgw::import_class('booking.bocommon_authorized'); booking_bocommon_authorized::disable_authorization(); $this->db =& $GLOBALS['phpgw']->db; }
function __construct() { parent::__construct(); $this->so = CreateObject('booking.sobuilding'); }
function __construct() { parent::__construct(); $this->so = CreateObject('booking.sogroup'); $this->org_bo = CreateObject('booking.boorganization'); }
function validate(&$entry) { $entry['allocation_id'] = $this->so->calculate_allocation_id($entry); return parent::validate($entry); }
public function get_permissions(array $entity) { return parent::get_permissions($entity); }
function __construct() { parent::__construct(); $this->so = CreateObject('booking.soresource'); $this->building_bo = CreateObject('booking.bobuilding'); }
function __construct() { parent::__construct(); $this->so = CreateObject('booking.soallocation'); }