Hello,
I just try to upgrade my knowledge of Symfony 1.0 forms to Sf1.1 method.
For this, i read official documentation on forms (http://www.symfony-project.org/book/forms/1_1/fr/)
To explain how to use select checkbox, a static attribute is added to the ContactForm? class in Listing 1-9
class ContactForm extends sfForm
{
protected $subjects = array('Subject A', 'Subject B', 'Subject C');
Later in class, this attribut is use statically
new sfWidgetFormSelect(array('choices' => self::$subjects))
Execution of this class give an error :
Fatal error: Access to undeclared static property: ContactForm::$subjects in ...
Correct code for static declaration is
protected static $subjects = array('Subject A', 'Subject B', 'Subject C');