File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,13 @@ public function isVariantBase();
111111 */
112112 public function getVariants ($ objFilter );
113113
114+ /**
115+ * Fetch the meta model variant base for this item. For a non-variant item the variant base is the item itself.
116+ *
117+ * @return \MetaModels\IItem The variant base.
118+ */
119+ public function getVariantBase ();
120+
114121 /**
115122 * Save the current data for every attribute to the data sink.
116123 *
Original file line number Diff line number Diff line change @@ -294,6 +294,16 @@ public function getVariants($objFilter)
294294 return null ;
295295 }
296296
297+ /**
298+ * Fetch the meta model variant base for this item. For a non-variant item the variant base is the item itself.
299+ *
300+ * @return \MetaModels\IItem The variant base.
301+ */
302+ public function getVariantBase ()
303+ {
304+ // TODO: Implement getVariantBase() method.
305+ }
306+
297307 /**
298308 * Find all Variants including the variant base.
299309 *
You can’t perform that action at this time.
0 commit comments