예제 #1
0
 /**
  * Remove the given frame from the tag.
  *
  * @param HausDesign_Media_Id3_Frame $frame The frame to remove.
  */
 public function removeFrame($frame)
 {
     if (!$this->hasFrame($frame->getIdentifier())) {
         return;
     }
     foreach ($this->_frames[$frame->getIdentifier()] as $key => $value) {
         if ($frame === $value) {
             unset($this->_frames[$frame->getIdentifier()][$key]);
         }
     }
 }