function data()
 {
     if (!$this->data) {
         $url = parent::base_url() . $this->dispatcher . '?cmp_ID=' . $this->cmp_ID;
         $xml_string = $this->get_xml($url);
         $data = $this->parse($xml_string);
         $this->data = $data;
     }
     return $this->data;
 }
 function data()
 {
     if (!$this->data) {
         $url = parent::base_url() . $this->dispatcher . '?org_ID=' . parent::org_id();
         $url .= $this->filter;
         $xml_string = $this->get_xml($url);
         $data = $this->parse($xml_string);
         $this->data = $data;
     }
     return $this->data;
 }
Esempio n. 3
0
 function data()
 {
     if (!$this->data) {
         $url = parent::base_url() . $this->dispatcher . '?';
         $url .= $this->filter;
         if ($this->clb_ID > 0) {
             $url .= "&clb_ID=" . $this->clb_ID;
         }
         $xml_string = $this->get_xml($url);
         $data = $this->parse($xml_string);
         $this->data = $data;
     }
     return $this->data;
 }
 function data()
 {
     if (!$this->data) {
         $url = parent::base_url() . $this->dispatcher . '?';
         if ($this->cmp_ID > 0) {
             $url .= '&cmp_ID=' . $this->cmp_ID;
         }
         if (parent::org_id() > 0) {
             $url .= '&org_ID=' . parent::org_id();
         }
         /* sortering */
         $url .= '&Sorteer=' . $this->sortering;
         $url .= $this->filter;
         $xml_string = $this->get_xml($url);
         $data = $this->parse($xml_string);
         $this->data = $data;
     }
     return $this->data;
 }