Nofooter.php 294 Bytes
<?php
class QLib_Actions_Nofooter extends QLib_Action
{
    public function init()
    {
        parent::init();
        $isXmlHttpRequest = $this->getRequest()->isXmlHttpRequest();
        if ($isXmlHttpRequest == false) {
            $this->getView()->setLayout('nofooter');
        }
    }
}