Pluf Framework

Pluf Framework Commit Details


Date:2009-10-12 14:38:24 (15 years 2 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:647b63fd4df959ce9f501cc6ecffd996e0b6fcc6
Parents: af5a111ff0ae34682af3714d96d1eff4a22fe44a
Message:Fixed to support PHP 5.3.0.

Changes:

File differences

src/Pluf/Template.php
228228
229229
230230
231
231
232232
233233
234234
235
235
236236
237237
238238
function Pluf_Template_safeEcho($mixed, $echo=true)
{
if ($echo) {
echo ('Pluf_Template_SafeString' !== get_class($mixed)) ?
echo (!is_object($mixed) or 'Pluf_Template_SafeString' != get_class($mixed)) ?
htmlspecialchars($mixed, ENT_COMPAT, 'UTF-8') :
$mixed->value;
} else {
return ('Pluf_Template_SafeString' !== get_class($mixed)) ?
return (!is_object($mixed) or 'Pluf_Template_SafeString' != get_class($mixed)) ?
htmlspecialchars($mixed, ENT_COMPAT, 'UTF-8') :
$mixed->value;
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05152s using 13 queries.