@@ -29,6 +29,9 @@ |
||
29 | 29 | |
30 | 30 | private $project_id; |
31 | 31 | |
32 | + /** |
|
33 | + * @param integer $project_id |
|
34 | + */ |
|
32 | 35 | public function __construct(Docman_ItemFactory $item_factory, $project_id) { |
33 | 36 | $this->item_factory = $item_factory; |
34 | 37 | $this->project_id = $project_id; |
@@ -76,6 +76,9 @@ |
||
76 | 76 | return $this->title; |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @param integer $g |
|
81 | + */ |
|
79 | 82 | function setGroupId($g) { |
80 | 83 | $this->groupId = $g; |
81 | 84 | } |
@@ -29,6 +29,9 @@ |
||
29 | 29 | $this->sort = null; |
30 | 30 | } |
31 | 31 | |
32 | + /** |
|
33 | + * @param integer $s |
|
34 | + */ |
|
32 | 35 | function setSort($s) { |
33 | 36 | $this->sort = $s; |
34 | 37 | } |
@@ -31,6 +31,9 @@ |
||
31 | 31 | $this->groupId = $groupId; |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $colLabel |
|
36 | + */ |
|
34 | 37 | function getColumnFromLabel($colLabel) { |
35 | 38 | $col = null; |
36 | 39 | $mdFactory = $this->_getMetadataFactory(); |
@@ -127,6 +127,9 @@ |
||
127 | 127 | $this->update($sql); |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param string $sql |
|
132 | + */ |
|
130 | 133 | function createAndReturnId($sql) { |
131 | 134 | $inserted = $this->update($sql); |
132 | 135 | if ($inserted) { |
@@ -36,6 +36,8 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Create a report for table view based on URL |
39 | + * @param integer|null $reportId |
|
40 | + * @param boolean $feedback |
|
39 | 41 | */ |
40 | 42 | function &get($reportId, $request, $item, &$feedback) { |
41 | 43 | $report = null; |
@@ -263,6 +265,9 @@ discard block |
||
263 | 265 | return $rai; |
264 | 266 | } |
265 | 267 | |
268 | + /** |
|
269 | + * @param PFUser $user |
|
270 | + */ |
|
266 | 271 | function getPersonalReportsForUser($user) { |
267 | 272 | $ra = array(); |
268 | 273 | $dao =& $this->getDao(); |
@@ -336,6 +341,9 @@ discard block |
||
336 | 341 | return false; |
337 | 342 | } |
338 | 343 | |
344 | + /** |
|
345 | + * @param Docman_Report $report |
|
346 | + */ |
|
339 | 347 | function deleteReport($report) { |
340 | 348 | $dao =& $this->getDao(); |
341 | 349 | $filterFactory = new Docman_FilterFactory($this->groupId); |
@@ -49,6 +49,9 @@ |
||
49 | 49 | return $html; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param ArrayIterator $reportIter |
|
54 | + */ |
|
52 | 55 | function getSelectOptionFromReportIterator($reportIter, $current=null) { |
53 | 56 | $html = ''; |
54 | 57 | $reportIter->rewind(); |
@@ -108,6 +108,9 @@ discard block |
||
108 | 108 | return $dao->updateMetadataUsageForGroupId($this->groupId, $label, $useIt); |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param integer $targetGroupId |
|
113 | + */ |
|
111 | 114 | function cloneMetadataSettings($targetGroupId) { |
112 | 115 | if($this->settingsExist()) { |
113 | 116 | $dao =& $this->getDao(); |
@@ -136,6 +139,8 @@ discard block |
||
136 | 139 | |
137 | 140 | /** |
138 | 141 | * @access: private |
142 | + * @param Docman_SettingsBo $srcBo |
|
143 | + * @param string $label |
|
139 | 144 | */ |
140 | 145 | function _importMetadataUsage($srcBo, $label) { |
141 | 146 | if($srcBo->getMetadataUsage($label) == true && |
@@ -31,6 +31,9 @@ |
||
31 | 31 | var $docCounter; |
32 | 32 | var $fldCounter; |
33 | 33 | |
34 | + /** |
|
35 | + * @param integer $groupId |
|
36 | + */ |
|
34 | 37 | function Docman_SubItemsWritableVisitor($groupId, $user) { |
35 | 38 | $this->dpm =& Docman_PermissionsManager::instance($groupId); |
36 | 39 | $this->user = $user; |