public function deletetshirtsizeAction() { $this->_helper->layout()->disableLayout(); global $mySession; $db = new Db(); $sizeModel = new Size(); $ids = $this->getRequest()->getParam('ids'); $idArray = explode("|", $ids); if ($ids != "" && count($idArray)) { foreach ($idArray as $key => $id) { $sizeModel->removeSize((int) $id); } echo "true"; } else { echo "false"; } exit; }