alphalemon/al-pagetree-bundle
Composer 安装命令:
composer require alphalemon/al-pagetree-bundle
包简介
Describes a web page.
关键字:
README 文档
README
#PageTreeBundle The PageTreeBundle implements the properties and methods to describe a website's page.
Get the PageTreeBundle
Clone this bundle in the vendor/bundles/AlphaLemon directory:
git clone git://github.com/alphalemon/PageTreeBundle.git vendor/bundles/AlphaLemon/PageTreeBundle
Configure the ThemeEngineBundle
Open the AppKernel configuration file and add the bundle to the registerBundles() method:
public function registerBundles()
{
$bundles = array(
...
new AlphaLemon\PageTreeBundle\AlphaLemonPageTreeBundle(),
)
}
Register the PageTreeBundle namespaces in app/autoload.php:
$loader->registerNamespaces(array(
...
'AlphaLemon' => __DIR__.'/../vendor/bundles',
));
Using the object
The page tree object is loaded and injected into the Dependency Injector Container and can be retrieved as follows:
$pageTree = $this->container->get('al_page_tree');
Info and help
To get extra information or help you may write an email to info [at] alphalemon [DoT] com
统计信息
- 总下载量: 199
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-01-14