<?php /** * Opn/Test/Abstract * 对外接口 TEST 抽象类 * @author Deepseath * @version $Id$ */ namespace Open\Controller\Test; /** * 外开放接口 test(用于本地开发调试之用) */ abstract class AbstractController extends \Open\Controller\AbstractController { /** * 执行前置动作 * {@inheritDoc} * @see \Common\Controller\Frontend\AbstractController::before_action() */ public function before_action($action = '') { if (!parent::before_action($action)) { return false; } return true; } /** * 执行后置动作 * {@inheritDoc} * @see \Common\Controller\Frontend\AbstractController::after_action() */ public function after_action($action = '') { if (!parent::after_action($action)) { return false; } return true; } }