Author: mcantelon
Date: Mon Jan 2 17:22:19 2012
New Revision: 10526
Log:
Added ability to specify culture when creating access point.
Modified:
trunk/lib/QubitFlatfileImport.class.php
Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php Mon Jan 2 17:10:43 2012
(r10525)
+++ trunk/lib/QubitFlatfileImport.class.php Mon Jan 2 17:22:19 2012
(r10526)
@@ -317,11 +317,12 @@
return $actor;
}
- public function createAccessPoint($taxonomyId, $name)
+ public function createAccessPoint($taxonomyId, $name, $culture = 'en')
{
$term = new QubitTerm();
$term->taxonomyId = $taxonomyId;
$term->name = $name;
+ $term->culture = $culture;
$term->save();
$relation = new QubitObjectTermRelation;
--
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.