function getSchedulePolicyObject() { if (is_object($this->schedule_policy_obj)) { return $this->schedule_policy_obj; } else { $splf = new SchedulePolicyListFactory(); $splf->getById($this->getSchedulePolicyID()); if ($splf->getRecordCount() > 0) { $this->schedule_policy_obj = $splf->getCurrent(); return $this->schedule_policy_obj; } return FALSE; } }