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

search for in the

HaruDoc::setPermission> <HaruDoc::setPagesConfiguration
[edit] Last updated: Fri, 24 Jun 2011

view this page in

HaruDoc::setPassword

(PECL haru >= 0.0.1)

HaruDoc::setPasswordتنظیم رمز کاربر و مالک سند

Description

bool HaruDoc::setPassword ( string $owner_password , string $user_password )

تنظیم رمز کاربر و مالک سند. تنظیم رمز برای محتوای سند رمزگذاری شده.

Parameters

owner_password

رمز مالک که اجازه‌های سند را تغییر می‌دهد. رمز خالی پذیرفتنی نیست. رمز مالک و رمز کاربر نمی‌تواند یکی باشد.

user_password

رمز کاربر. می‌تواند خالی باشد.

Return Values

بازگرداندن TRUE در صورت موفقیت.

Errors/Exceptions

Throws a HaruException on error.

See Also



add a note add a note User Contributed Notes HaruDoc::setPassword - [0 notes]
There are no user contributed notes for this page.

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