News Feed
Jobs Feed
Sections




News Archive
Felix Geisendorfer's Blog:
Quick dessert List all controllers of a CakePHP application
July 12, 2007 @ 10:15:00

Felix Geisendorfer has posted a quick code snippet for the CakePHP framework that returns an array of the controller names in your application.

It's something I've heard people asking for in IRC quite some times by now and since I just needed it again I thought I might as well publish it here. I hope somebody out there finds it useful.

The code uses a Folder instance to grab all of the controller paths and push them into a $controllers array.

0 comments voice your opinion now!
controller cakephp application list controller cakephp application list


blog comments powered by Disqus

Similar Posts

DC PHP Conference: Speaker List/Schedule Announced

Community News: The "Go PHP5" Effort Officially Launched

Alexander Netkachev's Blog: Installing Propel object persistence layer for Web application

DevShed: Implementing Internet Protocols with PHP

NETTUTS.com: 5 Amazing New WordPress 2.7 Features


Community Events









Don't see your event here?
Let us know!


podcast language api framework code tool conference community composer zendframework2 example introduction development testing opinion functional release event object interview

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework