예제 #1
0
파일: AStep.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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);
 }