예제 #1
0
 /**
  *
  * @return string
  */
 public function showComponents()
 {
     $html = '';
     foreach (KitComponent::getAllByCriteria('kitId=?', array($this->kit->getId())) as $index => $kitComponent) {
         $html .= $this->getRow($kitComponent->getQty(), $kitComponent->getComponent()->getSku(), $kitComponent->getComponent()->getName(), 'itemRow');
     }
     return $html;
 }