示例#1
0
 /**
  * Delete blocks by their associated id
  * 
  * @param array $ids
  * @return boolean
  */
 public function deleteByIds(array $ids)
 {
     foreach ($ids as $id) {
         if (!$this->blockMapper->deleteById($id)) {
             return false;
         }
     }
     $this->track('Batch removal of %s blocks', count($ids));
     return true;
 }