Revision a4420618
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
| SL/DB/VariantProperty.pm | ||
|---|---|---|
| use SL::DB::Manager::VariantProperty;
 | ||
| use SL::DB::Helper::ActsAsList;
 | ||
| use SL::DB::Helper::TranslatedAttributes;
 | ||
| use SL::DB::Helper::AttrSorted;
 | ||
|  | ||
| __PACKAGE__->meta->add_relationships(
 | ||
|   parent_variants => {
 | ||
| ... | ... | |
|   }
 | ||
| );
 | ||
|  | ||
| __PACKAGE__->attr_sorted({ unsorted => 'property_values', position => 'sortkey'});
 | ||
|  | ||
| __PACKAGE__->meta->initialize;
 | ||
|  | ||
| sub validate {
 | ||
Auch abrufbar als: Unified diff
Varianten: Bearbeiten von Varianten Eigenschaften und Ausprägungen