AbstractController.class.php 817 Bytes
<?php
/**
 * Open/Abstract
 * 外部对接接口抽象类
 * @author Deepseath
 * @version $Id$
 */
namespace Open\Controller;

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

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

        return true;
    }

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

        return true;
    }

}