I created a routing.yml in the base config dir with all the routing rules I
need site wide. It works perfectly as objects should!

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Andrew von Hoesslin
Sent: Wednesday, December 12, 2007 2:06 PM
To: [email protected]
Subject: [symfony-users] rounting rules question


Hello All

How would I retrieve the routing rules of another app while still in your
first app? 

The array is stored in the (cache\{app2}\dev\config\config_routing.yml.php)

Something Like:


   $routes = sfRouting::getInstance(); // then set to app 2 and retreive the
result?
   $routes->getCurrentRouteName() ; 
   
   print_r($routes) ; 
 
I would really appreciate any ideas...

Thank you
Andrew


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007
5:05 PM
 



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007
5:05 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007
5:05 PM
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to