Skip to content

Instantly share code, notes, and snippets.

<?php
class BaseForm extends sfFormSymfony
{
static protected $user = null;
static public function getUser()
{
return self::$user;
}
*/
class OrdinativiHealthStateForm extends BaseOrdinativiHealthStateForm
{
public function configure()
{
$this->useFields(array('name'));
$this->widgetSchema->setLabels(array(
'name' => 'Nome',
));
<?php
class BaseForm extends sfFormSymfony
{
static protected $user = null;
static public function getUser()
{
return self::$user;
}