Example #1
0
 /**
  * Load member data from an array
  *
  * @param array $data Data to load
  */
 public function load($data)
 {
     // Load the record data
     parent::load($data);
     // Load pricing
     try {
         $this->prices = load_array_AddOnPriceDBO("addonid=" . $this->getID());
     } catch (DBNoRowsFoundException $e) {
         $this->prices = array();
     }
 }
 /**
  * Load member data from an array
  *
  * @param array $data Data to load
  */
 public function load($data)
 {
     // Load the record date
     parent::load($data);
     // Load service pricing
     try {
         $this->prices = load_array_DomainServicePriceDBO(sprintf("tld='%s'", $this->getTLD()));
     } catch (DBNoRowsFoundException $e) {
         $this->prices = array();
     }
 }
 /**
  * Load member data from an array
  *
  * @param array $data Data to load
  */
 public function load($data)
 {
     // Load the record data
     parent::load($data);
     // Load service pricing
     try {
         $this->prices = load_array_HostingServicePriceDBO("serviceid=" . $this->getID());
     } catch (DBNoRowsFoundException $e) {
         $this->prices = array();
     }
 }