App class 如何在cakePHP中自动加载
How App class is autmatically loaded in cakePHP
cakephp 中的任何 class 如何能够访问应用程序 class 而不包括它的 class 定义?
还有根文件夹中的build.xml文件有什么用?
App
class 正在被包含在 CakePHP core bootstrap, which in turn is included in your apps /webroot/index.php
中。
build.xml
文件,嗯,看一下its contents:
Build.xml file for CakePHP
Uses phing to create releases, and pear packages.
Based off of build.xml in doctrine.
Requires the cakephp/d51PearPkg2 to be installed:
pear channel-discover pear.domain51.com
pear install cakephp/Phing_d51PearPkg2Task
Use the release
task to update VERSION.txt, and create a new tag.
Use the build
task to create a pear package based on the current working copy.
Use the clean
task to clean up packaging artifacts.
cakephp 中的任何 class 如何能够访问应用程序 class 而不包括它的 class 定义?
还有根文件夹中的build.xml文件有什么用?
App
class 正在被包含在 CakePHP core bootstrap, which in turn is included in your apps /webroot/index.php
中。
build.xml
文件,嗯,看一下its contents:
Build.xml file for CakePHP
Uses phing to create releases, and pear packages. Based off of build.xml in doctrine.
Requires the cakephp/d51PearPkg2 to be installed:
pear channel-discover pear.domain51.com
pear install cakephp/Phing_d51PearPkg2TaskUse the
release
task to update VERSION.txt, and create a new tag.
Use thebuild
task to create a pear package based on the current working copy.
Use theclean
task to clean up packaging artifacts.