AbstractController.class.php 844 Bytes
<?php
/**
 * AbstractController.class.php
 * 对运营中心开放的对接接口
 * @author Deepseath
 * @version $Id$
 */
namespace Apicp\Controller\Operate;

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

        return true;
    }

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

        return true;
    }
}