From: mjollnir_ Date: Tue, 19 Aug 2008 14:30:49 +0000 (+0000) Subject: MDL-14591 - adding my name next to todos so I can find them later X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=313f21cef0e470cd643159a672f994abc6a7e806;p=moodle.git MDL-14591 - adding my name next to todos so I can find them later --- diff --git a/mod/data/lib.php b/mod/data/lib.php index 4ad04dd590..d23af02cc1 100755 --- a/mod/data/lib.php +++ b/mod/data/lib.php @@ -2475,13 +2475,13 @@ class data_portfolio_caller extends portfolio_module_caller_base { } } $this->delimiter = array_key_exists('delimiter_name', $callbackargs) ? $callbackargs['delimiter_name'] : null; - $this->exporttype = array_key_exists('exporttype', $callbackargs) ? $callbackargs['exporttype'] : 'csv'; //@todo later support more + $this->exporttype = array_key_exists('exporttype', $callbackargs) ? $callbackargs['exporttype'] : 'csv'; //@todo penny later support more $this->exportdata = data_get_exportdata($this->cm->instance, $this->fields, $this->selectedfields); } } public function has_export_config() { - // @todo later when we suport exporting to more than just csv, we may need to ask the user here + // @todo penny later when we suport exporting to more than just csv, we may need to ask the user here // if we have not already passed it return false; } @@ -2490,7 +2490,7 @@ class data_portfolio_caller extends portfolio_module_caller_base { if ($this->exporttype == 'single') { return PORTFOLIO_TIME_LOW; } - //@todo check number of records maybe + //@todo penny check number of records maybe return PORTFOLIO_TIME_MODERATE; } @@ -2575,7 +2575,7 @@ class data_portfolio_caller extends portfolio_module_caller_base { $patterns[]='[['.$field->field->name.']]'; if ($field instanceof data_field_file) { // meh, do something special - // @todo extract the file and put it in the working directory + // @todo penny extract the file and put it in the working directory // and write out the filename here. (files api) $replacement[] = $field->display_browse_field($this->singlerecord->id, 'singletemplate'); } else { diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f4c476e0c1..b5c57f10fc 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -7133,7 +7133,7 @@ class forum_portfolio_caller extends portfolio_module_caller_base { // a single post, with or without attachment // or just an attachment with no post if (!$this->post) { // whole discussion - throw new portfolio_caller_exception('TODO: exporting whole discussion not implemented - see MDL-15758'); + throw new portfolio_caller_exception('TODO PENNY: exporting whole discussion not implemented - see MDL-15758'); } else { $status = true; if ($this->files) { @@ -7228,16 +7228,16 @@ class forum_portfolio_caller extends portfolio_module_caller_base { } return sha1($attachsha1 . ',' . $this->post->subject . ',' . $this->post->message); } - throw new portfolio_caller_exception('TODO: exporting whole discussion not implemented - see MDL-15758'); + throw new portfolio_caller_exception('TODO PENNY: exporting whole discussion not implemented - see MDL-15758'); } function expected_time() { - // @todo check for attachment size + // @todo penny check for attachment size return PORTFOLIO_TIME_LOW; } function check_permissions() { - //@todo + //@todo penny return true; } diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index af21ac05f4..a594603016 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -2397,7 +2397,7 @@ class glossary_csv_portfolio_caller extends portfolio_module_caller_base { } public function expected_time() { - //@todo check number of records maybe + //@todo penny check number of records maybe return PORTFOLIO_TIME_MODERATE; }