public function delete($hostParentId) { $model = new Ot_Model_DbTable_CustomAttributeValue(); $where = $model->getAdapter()->quoteInto('hostParentId = ?', $hostParentId) . ' AND ' . $model->getAdapter()->quoteInto('hostKey = ?', $this->getKey()); $model->delete($where); }