2017 © Pedro Peláez
 

symfony-bundle al-pagetree-bundle

Describes a web page.

image

alphalemon/al-pagetree-bundle

Describes a web page.

  • Tuesday, August 28, 2012
  • by alphalemon
  • Repository
  • 1 Watchers
  • 1 Stars
  • 195 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PageTreeBundle

The PageTreeBundle implements the properties and methods to describe a website's page., (*1)

Get the PageTreeBundle

Clone this bundle in the vendor/bundles/AlphaLemon directory:, (*2)

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:, (*3)

public function registerBundles()
{
    $bundles = array(
        ...
        new AlphaLemon\PageTreeBundle\AlphaLemonPageTreeBundle(),
    )
}

Register the PageTreeBundle namespaces in app/autoload.php:, (*4)

$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:, (*5)

$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, (*6)

The Versions