Changeset 1084 for plugins/apostropheFormBuilderPlugin/trunk/lib/model/doctrine/PluginaForm.class.php
- Timestamp:
- 04/28/10 11:48:44 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheFormBuilderPlugin/trunk/lib/model/doctrine/PluginaForm.class.php
r936 r1084 46 46 } 47 47 48 public function getSubform($rank = 0, $aFormSubmission = null )48 public function getSubform($rank = 0, $aFormSubmission = null, $options = array()) 49 49 { 50 50 $i = 0; … … 64 64 $form = new aFormBuilder( 65 65 $aFormSubmission, 66 array('a_form' => $this, 'a_form_fieldsets' => $subFieldset)); 66 array_merge( 67 $options, 68 array('a_form' => $this, 'a_form_fieldsets' => $subFieldset) 69 )); 67 70 68 71 return $form; … … 82 85 } 83 86 87 public function getUserSubmissions($user_id, $q = null, $hydrationMode = null) 88 { 89 return Doctrine::getTable('aFormSubmission') 90 ->getUserSubmissionsQuery($this['id'], $user_id, $q) 91 ->execute(array(), $hydrationMode); 92 } 93 84 94 }

