|
Zookeeper::getAclGets the acl associated with a node synchronously. Description
public
array Zookeeper::getAcl
( string
$path
)Parameters
Return ValuesReturn acl array on success and false on failure. Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to get ACL of a node. ExamplesExample #1 Zookeeper::getAcl example Get ACL of a node.
<?php The above example will output: array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } See Also
|