HaruOutline::setDestination
(PECL haru:0.0.1)
HaruOutline::setDestination — Set the destination for the outline
說明
bool HaruOutline::setDestination
( object $destination
)
Sets a destination object which becomes a target to jump to when the outline is clicked.
參數
- destination
-
A valid HaruDestination instance.
Return值
Returns TRUE on success.
錯誤/例外
Throws HaruException on error.