/** * __construct function. * * @access public * @return void */ function __construct() { parent::__construct(); $this->address = 'http://profiles.wordpress.org/users/dave.ligthart/profile/public/'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * __construct function. * * @access public * @param string $domain. (default: '') * @return void */ function __construct($domain = '') { parent::__construct(); if ('' != $domain) { $domain = $this->getNormalizedUrl($domain); $this->address = "http://www.blogpulse.com/search?query=" . $domain; $this->domain = $domain; if ($this->isOutdated() && '' != $domain) { $this->xml = $this->fetchDataRemote($this->address, false, 1, true); $this->set(); } else { $this->set_cached(); } } }
/** * __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(); } } }
/** * __construct function. * * @access public * @return void */ function __construct() { parent::__construct(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdMyspaceUn()); if ('' != $this->un) { $this->address = 'http://www.myspace.com/' . $this->un; if ($this->isOutdated()) { $this->xml = str_replace(',', '', $this->fetchDataRemote($this->address, false, 1, true)); $this->set(); } else { $this->set_cached(); } } }
/** * __construct function. * * @access public * @param mixed $user_id * @return void */ function __construct($user_id) { parent::__construct(); $this->_user_id = $user_id; $this->loadData(); }