downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HaruAnnotation::setOpened> <HaruAnnotation::setHighlightMode
[edit] Last updated: Fri, 25 May 2012

view this page in

HaruAnnotation::setIcon

(PECL haru >= 0.0.1)

HaruAnnotation::setIconアノテーションのアイコンの形式を設定する

説明

bool HaruAnnotation::setIcon ( int $icon )

アノテーションアイコンの形式を定義します。 この関数は、テキストアノテーションに対してのみ使用します。

パラメータ

icon

アイコンの形式。以下のいずれかの値となります。

  • HaruAnnotation::ICON_COMMENT
  • HaruAnnotation::ICON_KEY
  • HaruAnnotation::ICON_NOTE
  • HaruAnnotation::ICON_HELP
  • HaruAnnotation::ICON_NEW_PARAGRAPH
  • HaruAnnotation::ICON_PARAGRAPH
  • HaruAnnotation::ICON_INSERT

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に HaruException をスローします。



add a note add a note User Contributed Notes HaruAnnotation::setIcon
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites