public function getBrokerInfo($broker_id, $is_verify = -1) { $data = array(); $base = new DAO_Goodbroker_BrokerBase(); $data['base'] = $base->getBrokerInfo($broker_id, $is_verify); if (isset($data['base']) && !empty($data['base'])) { $resource = new DAO_Goodbroker_Resource(); $data['resource'] = $resource->getResource($broker_id); return $data; } else { return false; } }
public function __construct() { parent::__construct(); $this->_masterPdoName = "user_activity_master"; $this->_slavePdoName = "user_activity_slave"; self::$pdo = APF_DB_Factory::get_instance()->get_pdo($this->_masterPdoName); }