AbstractController.class.php 853 Bytes
<?php
/**
 * RPC/Kboxing/Abstract
 * 通讯录相关 RPC 与外部系统同步基类
 * @author Deepseath
 * @version $Id$
 */
namespace Rpc\Controller\Kboxing;

use \Common\Controller\Rpc;

abstract class AbstractController extends AbstractController
{

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

        return true;
    }

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

        return true;
    }
}