Hello,
sorry for the cryptic thread subject :)
I'm examining some code at the moment and have come across the following:
Normally, if I were to init an array I would simply do:
So what's with the "__" and the boolean after the strings? This is part of a CakePHP app, if that is of importance.
Thanks in advance!
sorry for the cryptic thread subject :)
I'm examining some code at the moment and have come across the following:
Code:
$genders = array(
'F' => __('Female', true),
'M' => __('Male', true),
);
Code:
$genders = array(
'F' => 'Female',
'M' => 'Male'
);
Thanks in advance!
Comment