ChannelController.php
394 Bytes
<?php
class ChannelController extends QLib_Controller_Default_Action {
public function init() {
}
public function indexAction() {
$id = intval($this->helpGparam('id'));
if($id < 1)
{
return $this->helpError();
}
$this->view->info = $info = QModels_Operations_Mint_Client::getByIdInfo($id);
$this->setMetaInfo($info['title'], $info['keywords'], $info['description']);
}
}