示例#1
0
 public function getAddress()
 {
     $address = $this->bootstrap->route['address'];
     $limit = $this->getLimit();
     $paycoinDb = new PaycoinDb();
     $addressInformation = $paycoinDb->getAddressInformation($address, $limit);
     $this->outputJsonResponse($addressInformation);
 }
示例#2
0
 public function address()
 {
     $this->addJs('/js/address.js');
     $this->addJs('/js/jquery.qrcode-0.12.0.min.js');
     $this->addJs('/js/jquery.qrcode-0.12.0.min.js');
     $this->addJs('/js/stupidtable.min.js');
     $address = $this->bootstrap->route['address'];
     $limit = $this->getLimit(100);
     $this->setData('limit', $limit);
     $paycoinDb = new PaycoinDb();
     $addressInformation = $paycoinDb->getAddressInformation($address, $limit);
     $this->setData('address', $address);
     $this->setData('addressInformation', $addressInformation);
     $this->setData('pageTitle', 'Paycoin Address - ' . $address);
     $this->setData('cacheTime', 60);
     $this->render('header');
     $this->render('address');
     $this->render('footer');
 }