AbstractController.class.php 674 Bytes
<?php
/**
 * RPC/Abstract
 * 缓存处理 RPC 抽象类
 * @author Deepseath
 * @version $Id$
 */
namespace Rpc\Controller\Cache;

abstract class AbstractController extends \Common\Controller\Rpc\AbstractController
{

    /**
     * 执行前置动作
     * {@inheritDoc}
     */
    public function before_action($action = '')
    {
        if (!parent::before_action($action)) {
            return false;
        }
        return true;
    }

    /**
     * 执行后置动作
     * {@inheritDoc}
     */
    public function after_action($action = '')
    {
        if (!parent::after_action($action)) {
            return false;
        }

        return true;
    }
}