zend framework 初识

1. 请求顺序 : index.php --> Bootstrap.php --> IndexController.php

2. 验证顺序 : 

Bootstrap.php
function __contruct($app) {
    parent:: __construct($app);
    file_put_contents('d:/mylog.txt', __FILE__.date('Y-m-d H:i:s' . '\r\n', FILE_APPEND));        
}

IndexController.php
function init() {
     .......   
}

 

posted @ 2016-03-25 15:45  yanying12138  阅读(93)  评论(0编辑  收藏  举报