예제 #1
0
 /**
  * __construct function.
  * 
  * @access public
  * @return void
  */
 function __construct()
 {
     parent::__construct();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdAmplifyUn());
     if ('' != $this->un) {
         $this->address = 'http://' . $this->un . '.amplify.com';
         if ($this->isOutdated()) {
             $this->xml = $this->fetchDataRemote($this->address, false, 3, false);
             $this->set();
         } else {
             $this->set_cached();
         }
     }
 }