root/trunk/lib/form/CompanyPersonForm.class.php

Revision 75, 458 bytes (checked in by nperriault, 5 months ago)

[1.1]:

  • Companies and people modules migrated, with according form classes and templates, and functional test suite
  • Enhanced SymfoniansTestBrowser?
Line 
1 <?php
2 /**
3  * CompanyPerson form.
4  *
5  * @package    form
6  * @subpackage company_people
7  */
8 class CompanyPersonForm extends BaseCompanyPersonForm
9 {
10   /**
11    * Form configuration
12    *
13    */
14   public function configure()
15   {
16     unset($this['started_at'],
17           $this['ended_at'],
18           $this['created_at'],
19           $this['updated_at']);
20
21     $this->mergeForm(new BaseConnectionForm());
22
23     $this->widgetSchema->setNameFormat('connection[%s]');
24   }
25 }
26
Note: See TracBrowser for help on using the browser.