what does this construct mean in PHP ? It is storing a variable called "function" with his String value in an array ?
array('function' => 'theme_select_as_checkboxes')
thanks
what does this construct mean in PHP ? It is storing a variable called "function" with his String value in an array ?
array('function' => 'theme_select_as_checkboxes')
thanks
Seems like declaring an associative array. With sucha an array, you can retrieve the content of the array this way :
$myArray = array('function' => 'theme_select_as_checkboxes');
echo $myArray['function']; // Prints 'theme_select_as_checkboxes
No magic in here ! ;)