Author: mcantelon
Date: Thu Dec 29 12:29:31 2011
New Revision: 10464
Log:
Renamed class methods according to coding standard.
Modified:
trunk/lib/task/csvImportTask.class.php
Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php Thu Dec 29 11:17:38 2011
(r10463)
+++ trunk/lib/task/csvImportTask.class.php Thu Dec 29 12:29:31 2011
(r10464)
@@ -117,14 +117,14 @@
if (isset($self->rowStatusVars['conservation_note'])) {
# NOTE: This creates the note in the DB, but it doesn't show up
# on the user side yet
- $self->create_note(231, $self->rowStatusVars['conservation_note']);
+ $self->createNote(231, $self->rowStatusVars['conservation_note']);
}
// add alpha-numeric designation if specified
if (isset($self->rowStatusVars['alphanumeric_designation'])) {
# NOTE: This creates the note in the DB, but it doesn't show up
# on the user side yet
- $self->create_note(247,
$self->rowStatusVars['alphanumeric_designation']);
+ $self->createNote(247,
$self->rowStatusVars['alphanumeric_designation']);
}
// add create event if specified
@@ -233,7 +233,7 @@
return $ignored;
}
- public function ignored_render()
+ public function ignoredRender()
{
$output = '';
@@ -252,7 +252,7 @@
public function csv($fh)
{
// inform user of any columns not included in import
- print $this->ignored_render();
+ print $this->ignoredRender();
// import each row
while ($item = fgetcsv($fh, 60000))
@@ -316,7 +316,7 @@
}
}
- public function create_note($type_id, $text)
+ public function createNote($type_id, $text)
{
$note = new QubitNote;
$note->objectId = $this->information_object->id;
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.