SpecialController.php
629 Bytes
<?php
class SpecialController extends QLib_Controller_Adaption_Action {
public function init() {
}
public function indexAction()
{
$id = intval($this->helpGparam('id'));
if($id < 1)
{
return $this->helpError();
}
$this->view->info = $info = QINOperations_Models_Minit_Client::getOneMinit($id);
$this->QLayoutScript()->offsetSetFile(2, $this->_js('jquery_183'));
$this->setMetaInfo($info['title'], $info['keywords'], $info['description']);
}
/**
* yohoshow的地址
***/
public function yohoshowAction(){
$this->QLayoutTitle()->headTitle('有货show,够潮你就show出来 | YOHO!有货');
}
}