As a beginner to OOP and PEAR I can create a checkbox using this code
Code PHP:
$fieldset->addElement('checkbox', 'boxname', array('id' => 'test', 'value' => 'value'))
but how do I create the same checkbox so that the default is already checked?