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

search for in the

HaruDoc::useCNSEncodings> <HaruDoc::setPassword
Last updated: Sun, 25 Nov 2007

view this page in

HaruDoc::setPermission

(PECL haru:0.0.1)

HaruDoc::setPermission — Set permissions for the document

Popis

bool HaruDoc::setPermission ( int $permission )

Defines permissions for the document.

Parametre

permission

The values is a combination of these flags:

  • HaruDoc::ENABLE_READ - user can read the document.
  • HaruDoc::ENABLE_PRINT - user can print the document.
  • HaruDoc::ENABLE_EDIT_ALL - user can edit the contents of the document other than annotations and form fields.
  • HaruDoc::ENABLE_COPY - user can copy the text and the graphics of the document.
  • HaruDoc::ENABLE_EDIT - user can add or modify the annotations and form fields of the document.

Vrátené hodnoty

Returns TRUE on success.

Errors/Exceptions

Throws HaruException on error.



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

HaruDoc::useCNSEncodings> <HaruDoc::setPassword
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites