Exemplo n.º 1
0
 /**
  * Format attribute group model
  *
  * @param \XLite\Model\AttributeGroup $group Attribute group
  *
  * @return string
  */
 protected function formatAttributeGroupModel(\XLite\Model\AttributeGroup $group = null)
 {
     return $group ? $group->getName() : '';
 }
 /**
  * {@inheritDoc}
  */
 public function prepareEntityBeforeCommit($type)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'prepareEntityBeforeCommit', array($type));
     return parent::prepareEntityBeforeCommit($type);
 }