コード例 #1
0
ファイル: GuitarPro3Writer.php プロジェクト: stdtabs/phptabs
 private function writeInformations(Song $song)
 {
     $this->writeStringByteSizeOfInteger($song->getName());
     $this->writeStringByteSizeOfInteger("");
     $this->writeStringByteSizeOfInteger($song->getArtist());
     $this->writeStringByteSizeOfInteger($song->getAlbum());
     $this->writeStringByteSizeOfInteger($song->getAuthor());
     $this->writeStringByteSizeOfInteger($song->getCopyright());
     $this->writeStringByteSizeOfInteger($song->getWriter());
     $this->writeStringByteSizeOfInteger("");
     $comments = $this->toCommentLines($song->getComments());
     $this->writeInt(count($comments));
     for ($i = 0; $i < count($comments); $i++) {
         $this->writeStringByteSizeOfInteger($comments[$i]);
     }
 }