Advertising
advertising
related pastes to tag 'symfony'
- 1350863 - DateHelper: symfony
-
- <?php
- function format_daterange($start_date, $end_date, $format = 'd', $full_text, $start_text, $end_text, $culture = null, $charset = null)
- {
- if ($start_date != '' && $end_date != '')
- {
- return sprintf($full_text, format_date($start_date, $format, $culture, $charset), format_date($end_date, $format, $culture, $charset));
- }
- 1266639 - CrossAppUrlHelper for sf 1.1: cross app symfony linker
-
- <?php
- /**
- * @author Olivier Mansour
- * @source http://www.glagla.org/weblog/2008/07/24/liens-inter-applications-avec-symfony-11/
- */
- /**
- * return an url for a given symfony application and an internal url
- 1082525 - Untitled: link app symfony helper
-
- function cross_app_link_to($app, $route, $args=null)
- {
- /**
- * Don't try to generate routes for the current app
- */
- $currentApp = sfConfig::get('sf_app') ;
- sfConfig::set('foo', 'bar') ;
- $currentConfig = sfConfig::getAll() ;