Results of 1 - 3 of about 3 for anyone (0.001 sec.)
- Zookeeper::getAcl — Gets the acl associated with a node synchronously | PHP 8.3 10770
- Zookeeper::getAcl (PECL zookeeper >= 0.1.0) Zookeeper::getAcl — Gets the acl associated with a node synchronously 説明 public function Zookeeper::getAcl ( string $path ): array パラメータ path The name of the node. Expressed as a file name
... ookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAcl ( $path , $aclArray ); $r = $zookeeper -> getAcl ( $path ); if ( ... の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchronously Zookeeper::setAcl() - Sets the acl associated with a node sync ...
-
https://man.mtool.work/php/8.3/zookeeper.getacl.html
- Zookeeper::setAcl — Sets the acl associated with a node synchronously | PHP 8.3 10454
- Zookeeper::setAcl (PECL zookeeper >= 0.1.0) Zookeeper::setAcl — Sets the acl associated with a node synchronously 説明 public function Zookeeper::setAcl ( string $path , int $version , array $acl ): bool パラメータ path The name of the node
... ookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAcl ( $path , $aclArray ); $r = $zookeeper -> getAcl ( $path ); if ( ... の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchronously Zookeeper::getAcl() - Gets the acl associated with a node sync ...
-
https://man.mtool.work/php/8.3/zookeeper.setacl.html
- Zookeeper::create — Create a node synchronously | PHP 8.3 6659
- Zookeeper::create (PECL zookeeper >= 0.1.0) Zookeeper::create — Create a node synchronously 説明 public function Zookeeper::create ( string $path , string $value , array $acls , int $flags = null ): string This method will create a node in
... ookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $realPath = $zookeeper -> create ( $path , null , $aclArray ); if ( $realPath ) echo ...
-
https://man.mtool.work/php/8.3/zookeeper.create.html
PREV
1
NEXT