@@ -15,17 +15,17 @@ |
||
| 15 | 15 | class calendar_wizard_import_ical |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | - * List of steps. Key is the function, value is the translated title. |
|
| 19 | - */ |
|
| 18 | + * List of steps. Key is the function, value is the translated title. |
|
| 19 | + */ |
|
| 20 | 20 | public $steps; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * List of eTemplates to use for each step. You can override this with your own etemplates steps. |
|
| 24 | - */ |
|
| 23 | + * List of eTemplates to use for each step. You can override this with your own etemplates steps. |
|
| 24 | + */ |
|
| 25 | 25 | protected $step_templates = array( |
| 26 | 26 | 'wizard_step55' => 'calendar.import.conditions' |
| 27 | 27 | ); |
| 28 | - /** |
|
| 28 | + /** |
|
| 29 | 29 | * constructor |
| 30 | 30 | */ |
| 31 | 31 | function __construct() |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class calendar_wizard_import_csv extends importexport_wizard_basic_import_csv |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 18 | + /** |
|
| 19 | 19 | * constructor |
| 20 | 20 | */ |
| 21 | 21 | function __construct() |
@@ -64,8 +64,8 @@ discard block |
||
| 64 | 64 | private $bo; |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * For figuring out if an entry has changed |
|
| 68 | - */ |
|
| 67 | + * For figuring out if an entry has changed |
|
| 68 | + */ |
|
| 69 | 69 | protected $tracking; |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -94,8 +94,8 @@ discard block |
||
| 94 | 94 | protected $errors = array(); |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * List of actions, and how many times that action was taken |
|
| 98 | - */ |
|
| 97 | + * List of actions, and how many times that action was taken |
|
| 98 | + */ |
|
| 99 | 99 | protected $results = array(); |
| 100 | 100 | |
| 101 | 101 | /** |
@@ -228,39 +228,39 @@ discard block |
||
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | - * Returns warnings that were encountered during importing |
|
| 232 | - * Maximum of one warning message per record, but you can append if you need to |
|
| 233 | - * |
|
| 234 | - * @return Array ( |
|
| 235 | - * record_# => warning message |
|
| 236 | - * ) |
|
| 237 | - */ |
|
| 238 | - public function get_warnings() { |
|
| 231 | + * Returns warnings that were encountered during importing |
|
| 232 | + * Maximum of one warning message per record, but you can append if you need to |
|
| 233 | + * |
|
| 234 | + * @return Array ( |
|
| 235 | + * record_# => warning message |
|
| 236 | + * ) |
|
| 237 | + */ |
|
| 238 | + public function get_warnings() { |
|
| 239 | 239 | return $this->warnings; |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** |
| 243 | - * Returns errors that were encountered during importing |
|
| 244 | - * Maximum of one error message per record, but you can append if you need to |
|
| 245 | - * |
|
| 246 | - * @return Array ( |
|
| 247 | - * record_# => error message |
|
| 248 | - * ) |
|
| 249 | - */ |
|
| 250 | - public function get_errors() { |
|
| 243 | + * Returns errors that were encountered during importing |
|
| 244 | + * Maximum of one error message per record, but you can append if you need to |
|
| 245 | + * |
|
| 246 | + * @return Array ( |
|
| 247 | + * record_# => error message |
|
| 248 | + * ) |
|
| 249 | + */ |
|
| 250 | + public function get_errors() { |
|
| 251 | 251 | return $this->errors; |
| 252 | 252 | } |
| 253 | 253 | |
| 254 | 254 | /** |
| 255 | - * Returns a list of actions taken, and the number of records for that action. |
|
| 256 | - * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin. |
|
| 257 | - * |
|
| 258 | - * @return Array ( |
|
| 259 | - * action => record count |
|
| 260 | - * ) |
|
| 261 | - */ |
|
| 262 | - public function get_results() { |
|
| 263 | - return $this->results; |
|
| 264 | - } |
|
| 255 | + * Returns a list of actions taken, and the number of records for that action. |
|
| 256 | + * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin. |
|
| 257 | + * |
|
| 258 | + * @return Array ( |
|
| 259 | + * action => record count |
|
| 260 | + * ) |
|
| 261 | + */ |
|
| 262 | + public function get_results() { |
|
| 263 | + return $this->results; |
|
| 264 | + } |
|
| 265 | 265 | } // end of iface_export_plugin |
| 266 | 266 | ?> |