This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// some geo locations | |
$brandenburgerTor = array( | |
'lat' => 52.516455903398, | |
'lon' => 13.380317687988 | |
); | |
$friedrichstrasse = array( | |
'lat' => 52.519772437396, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class myI18N extends sfI18N | |
{ | |
public function __($string, $args = array(), $catalogue = 'messages') | |
{ | |
$string = (string) $string; | |
if ($this->cache) | |
{ | |
// the arguments stuff should probably be removed as this will cause | |
// a lot of cache entries |