PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

HaruPage::setDash

(PECL haru >= 0.0.1)

HaruPage::setDashSet the dash pattern for the page

Description

bool HaruPage::setDash ( array $pattern , int $phase )

Defines the dash pattern for the page.

Parameters

pattern

An array (8 elements max) which contains a pattern of dashes and gaps used for lines on the page.

phase

The phase on which the pattern begins.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.

See Also

PHP Manual