@@ -35,7 +35,7 @@ |
||
35 | 35 | * @param string $imgext Image extension |
36 | 36 | * |
37 | 37 | * @return int ID of the newly created scan |
38 | - */ |
|
38 | + */ |
|
39 | 39 | public function addScanToRelease($game_release_id, $type, $imgext, $notes) { |
40 | 40 | $stmt = \AL\Db\execute_query( |
41 | 41 | "GameReleaseScanDAO: addScanToRelease", |
@@ -132,11 +132,11 @@ discard block |
||
132 | 132 | return $submissions; |
133 | 133 | } |
134 | 134 | |
135 | - /** |
|
136 | - * Get the total count of submissions |
|
137 | - * |
|
138 | - * @param integer $user_id Optional ID of a user to count comments for |
|
139 | - * @return integer Number of comments */ |
|
135 | + /** |
|
136 | + * Get the total count of submissions |
|
137 | + * |
|
138 | + * @param integer $user_id Optional ID of a user to count comments for |
|
139 | + * @return integer Number of comments */ |
|
140 | 140 | public function getGameSubmissionCount($user_id = null) { |
141 | 141 | if (isset($user_id)) { |
142 | 142 | $stmt = \AL\Db\execute_query( |
@@ -170,10 +170,10 @@ discard block |
||
170 | 170 | |
171 | 171 | |
172 | 172 | /** |
173 | - * Get the submission screenshots |
|
174 | - * |
|
175 | - * @param integer $submission_id |
|
176 | - * @return screenshots links */ |
|
173 | + * Get the submission screenshots |
|
174 | + * |
|
175 | + * @param integer $submission_id |
|
176 | + * @return screenshots links */ |
|
177 | 177 | /*public function getGameSubmissionScreenshots($submission_id = null) { |
178 | 178 | $stmt = \AL\Db\execute_query( |
179 | 179 | "GameSubmissionDAO: Get the screenshots of the submission", |
@@ -137,12 +137,12 @@ |
||
137 | 137 | return $distributors; |
138 | 138 | } |
139 | 139 | |
140 | - /** |
|
141 | - * add a distributor to a release |
|
142 | - * |
|
143 | - * @param integer release ID |
|
144 | - * @param integer pub_Dev ID |
|
145 | - */ |
|
140 | + /** |
|
141 | + * add a distributor to a release |
|
142 | + * |
|
143 | + * @param integer release ID |
|
144 | + * @param integer pub_Dev ID |
|
145 | + */ |
|
146 | 146 | public function addDistributorToRelease($release_id, $pub_dev_id) { |
147 | 147 | $stmt = \AL\Db\execute_query( |
148 | 148 | "PubDevDAO: addDistributorToRelease", |
@@ -232,7 +232,7 @@ |
||
232 | 232 | LEFT JOIN users ON ( website.user_id = users.user_id ) |
233 | 233 | WHERE website.website_imgext <> ' ' and website.inactive = 0 |
234 | 234 | ORDER BY RAND() LIMIT 1". |
235 | - null, null |
|
235 | + null, null |
|
236 | 236 | ); |
237 | 237 | } |
238 | 238 |
@@ -45,11 +45,11 @@ discard block |
||
45 | 45 | return $media_scan_types; |
46 | 46 | } |
47 | 47 | |
48 | - /** |
|
49 | - * add a media scan type to the database |
|
50 | - * |
|
51 | - * @param varchar media_type |
|
52 | - */ |
|
48 | + /** |
|
49 | + * add a media scan type to the database |
|
50 | + * |
|
51 | + * @param varchar media_type |
|
52 | + */ |
|
53 | 53 | public function addMediaScanType($media_scan_type) { |
54 | 54 | $stmt = \AL\Db\execute_query( |
55 | 55 | "MediaScanTypeDAO: addMediaScanType", |
@@ -78,11 +78,11 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * update a media_scan_type |
|
82 | - * |
|
83 | - * @param int media_scan_type_id |
|
84 | - * @param varchar media_scan_type |
|
85 | - */ |
|
81 | + * update a media_scan_type |
|
82 | + * |
|
83 | + * @param int media_scan_type_id |
|
84 | + * @param varchar media_scan_type |
|
85 | + */ |
|
86 | 86 | public function updateMediaScanType($media_scan_type_id, $media_scan_type_name) { |
87 | 87 | $stmt = \AL\Db\execute_query( |
88 | 88 | "MediaScanTypeDAO: updateMediaScanType", |
@@ -79,13 +79,13 @@ discard block |
||
79 | 79 | return $copy_protection_types; |
80 | 80 | } |
81 | 81 | |
82 | - /** |
|
83 | - * Add copy Protection for release |
|
84 | - * |
|
85 | - * @param integer Game Release ID |
|
86 | - * @param integer protection ID |
|
87 | - * $param text note |
|
88 | - */ |
|
82 | + /** |
|
83 | + * Add copy Protection for release |
|
84 | + * |
|
85 | + * @param integer Game Release ID |
|
86 | + * @param integer protection ID |
|
87 | + * $param text note |
|
88 | + */ |
|
89 | 89 | public function addCopyProtectionForRelease($game_release_id, $protection_id, $note) { |
90 | 90 | |
91 | 91 | $stmt = \AL\Db\execute_query( |
@@ -98,12 +98,12 @@ discard block |
||
98 | 98 | $stmt->close(); |
99 | 99 | } |
100 | 100 | |
101 | - /** |
|
102 | - * Delete copy Protection for release |
|
103 | - * |
|
104 | - * @param integer Game Release ID |
|
105 | - * @param integer protection ID |
|
106 | - */ |
|
101 | + /** |
|
102 | + * Delete copy Protection for release |
|
103 | + * |
|
104 | + * @param integer Game Release ID |
|
105 | + * @param integer protection ID |
|
106 | + */ |
|
107 | 107 | public function deleteCopyProtectionForRelease($game_release_id, $protection_id) { |
108 | 108 | $stmt = \AL\Db\execute_query( |
109 | 109 | "copyProtectionDAO: deleteCopyProtectionForRelease", |
@@ -116,11 +116,11 @@ discard block |
||
116 | 116 | $stmt->close(); |
117 | 117 | } |
118 | 118 | |
119 | - /** |
|
120 | - * add a copy protection to the database |
|
121 | - * |
|
122 | - * @param varchar copy_protection |
|
123 | - */ |
|
119 | + /** |
|
120 | + * add a copy protection to the database |
|
121 | + * |
|
122 | + * @param varchar copy_protection |
|
123 | + */ |
|
124 | 124 | public function addCopyProtection($copy_protection) { |
125 | 125 | $stmt = \AL\Db\execute_query( |
126 | 126 | "CopyProtectionDAO: addCopyProtection", |
@@ -149,11 +149,11 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * update a copy_protection |
|
153 | - * |
|
154 | - * @param int copy_protection_id |
|
155 | - * @param varchar copy_protection |
|
156 | - */ |
|
152 | + * update a copy_protection |
|
153 | + * |
|
154 | + * @param int copy_protection_id |
|
155 | + * @param varchar copy_protection |
|
156 | + */ |
|
157 | 157 | public function updateCopyProtection($copy_protection_id, $copy_protection_name) { |
158 | 158 | $stmt = \AL\Db\execute_query( |
159 | 159 | "CopyProtectionDAO: updateCopyProtection", |
@@ -111,11 +111,11 @@ |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
114 | - * update a role |
|
115 | - * |
|
116 | - * @param int role_id |
|
117 | - * @param varchar role_name |
|
118 | - */ |
|
114 | + * update a role |
|
115 | + * |
|
116 | + * @param int role_id |
|
117 | + * @param varchar role_name |
|
118 | + */ |
|
119 | 119 | public function updateDeveloperRole($role_id, $role_name) { |
120 | 120 | $stmt = \AL\Db\execute_query( |
121 | 121 | "DeveloperRoleDAO: updateDeveloperRole", |
@@ -79,13 +79,13 @@ discard block |
||
79 | 79 | return $disk_protection_types; |
80 | 80 | } |
81 | 81 | |
82 | - /** |
|
83 | - * Add diskProtection for release |
|
84 | - * |
|
85 | - * @param integer Game Release ID |
|
86 | - * @param integer protection ID |
|
87 | - * $param text note |
|
88 | - */ |
|
82 | + /** |
|
83 | + * Add diskProtection for release |
|
84 | + * |
|
85 | + * @param integer Game Release ID |
|
86 | + * @param integer protection ID |
|
87 | + * $param text note |
|
88 | + */ |
|
89 | 89 | public function addDiskProtectionForRelease($game_release_id, $protection_id, $note) { |
90 | 90 | |
91 | 91 | $stmt = \AL\Db\execute_query( |
@@ -98,12 +98,12 @@ discard block |
||
98 | 98 | $stmt->close(); |
99 | 99 | } |
100 | 100 | |
101 | - /** |
|
102 | - * Delete diskProtection for release |
|
103 | - * |
|
104 | - * @param integer Game Release ID |
|
105 | - * @param integer protection ID |
|
106 | - */ |
|
101 | + /** |
|
102 | + * Delete diskProtection for release |
|
103 | + * |
|
104 | + * @param integer Game Release ID |
|
105 | + * @param integer protection ID |
|
106 | + */ |
|
107 | 107 | public function deleteDiskProtectionForRelease($game_release_id, $protection_id) { |
108 | 108 | $stmt = \AL\Db\execute_query( |
109 | 109 | "diskProtectionDAO: deleteDiskProtectionForRelease", |
@@ -116,11 +116,11 @@ discard block |
||
116 | 116 | $stmt->close(); |
117 | 117 | } |
118 | 118 | |
119 | - /** |
|
120 | - * add a disk protection to the database |
|
121 | - * |
|
122 | - * @param varchar Disk_protection |
|
123 | - */ |
|
119 | + /** |
|
120 | + * add a disk protection to the database |
|
121 | + * |
|
122 | + * @param varchar Disk_protection |
|
123 | + */ |
|
124 | 124 | public function addDiskProtection($disk_protection) { |
125 | 125 | $stmt = \AL\Db\execute_query( |
126 | 126 | "diskProtectionDAO: addDiskProtection", |
@@ -149,11 +149,11 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * update a disk_protection |
|
153 | - * |
|
154 | - * @param int disk_protection_id |
|
155 | - * @param varchar disk_protection |
|
156 | - */ |
|
152 | + * update a disk_protection |
|
153 | + * |
|
154 | + * @param int disk_protection_id |
|
155 | + * @param varchar disk_protection |
|
156 | + */ |
|
157 | 157 | public function updateDiskProtection($disk_protection_id, $disk_protection_name) { |
158 | 158 | $stmt = \AL\Db\execute_query( |
159 | 159 | "diskProtectionDAO: updateDiskProtection", |
@@ -105,11 +105,11 @@ discard block |
||
105 | 105 | $stmt->close(); |
106 | 106 | } |
107 | 107 | |
108 | - /** |
|
109 | - * add a trainer_option to the database |
|
110 | - * |
|
111 | - * @param varchar trainer_option |
|
112 | - */ |
|
108 | + /** |
|
109 | + * add a trainer_option to the database |
|
110 | + * |
|
111 | + * @param varchar trainer_option |
|
112 | + */ |
|
113 | 113 | public function addTrainerOption($trainer_option) { |
114 | 114 | $stmt = \AL\Db\execute_query( |
115 | 115 | "TrainerOptionDAO: addTrainerOption", |
@@ -138,11 +138,11 @@ discard block |
||
138 | 138 | } |
139 | 139 | |
140 | 140 | /** |
141 | - * update a trainer_option |
|
142 | - * |
|
143 | - * @param int trainer_option_id |
|
144 | - * @param varchar trainer_option_name |
|
145 | - */ |
|
141 | + * update a trainer_option |
|
142 | + * |
|
143 | + * @param int trainer_option_id |
|
144 | + * @param varchar trainer_option_name |
|
145 | + */ |
|
146 | 146 | public function updateTrainerOption($trainer_option_id, $trainer_option_name) { |
147 | 147 | $stmt = \AL\Db\execute_query( |
148 | 148 | "TrainerOptionDAO: updateTrainerOption", |