« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for aclArray (0.002 sec.)
Gets the acl associated with a node synchronously 10382
« Zookeeper::get Zookeeper::getChildren » PHP Manual Zookeeper Gets the acl associated with a node synchronously 検索 Zookeeper::getAcl (PECL zookeeper >= 0.1.0) Zookeeper::getAcl — Gets the acl associated with a node synchronously 説明 pub ... パラメータ path The name of the node. Expressed as a file name with slashes separating ancestors of the node. 戻り値 Return acl array on success and false on failure. エラー / 例外 This method emits PHP error/warning when parameters count or types are wro ... derivatives. 例 例1 Zookeeper::getAcl() example Get ACL of a node. <?php $zookeeper = new Zookeeper ( '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 ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 arr ...
https://man.mtool.work/php/8.3/zookeeper.getacl.html
Gets the acl associated with a node synchronously 10382
« Zookeeper::get Zookeeper::getChildren » PHP Manual Zookeeper Gets the acl associated with a node synchronously 検索 Zookeeper::getAcl (PECL zookeeper >= 0.1.0) Zookeeper::getAcl — Gets the acl associated with a node synchronously 説明 pub ... パラメータ path The name of the node. Expressed as a file name with slashes separating ancestors of the node. 戻り値 Return acl array on success and false on failure. エラー / 例外 This method emits PHP error/warning when parameters count or types are wro ... derivatives. 例 例1 Zookeeper::getAcl() example Get ACL of a node. <?php $zookeeper = new Zookeeper ( '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 ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 arr ...
https://man.mtool.work/php/8.3/zookeeper.getacl.html
Sets the acl associated with a node synchronously 9998
« Zookeeper::set Zookeeper::setDebugLevel » PHP Manual Zookeeper Sets the acl associated with a node synchronously 検索 Zookeeper::setAcl (PECL zookeeper >= 0.1.0) Zookeeper::setAcl — Sets the acl associated with a node synchronously 説明 p ... erivatives. 例 例1 Zookeeper::setAcl() example Set ACL for a node. <?php $zookeeper = new Zookeeper ( '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 ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 arr ... ith a node synchronously ZooKeeper Permissions ZookeeperException 関連キーワード: Zookeeper node path acl synchronously setAcl array associated zookeeper Sets set string int name 場合 method emits ZookeeperException aclArray perms ...
https://man.mtool.work/php/8.3/zookeeper.setacl.html
Sets the acl associated with a node synchronously 9633
« Zookeeper::set Zookeeper::setDebugLevel » PHP Manual Zookeeper Sets the acl associated with a node synchronously 検索 Zookeeper::setAcl (PECL zookeeper >= 0.1.0) Zookeeper::setAcl — Sets the acl associated with a node synchronously 説明 p ... erivatives. 例 例1 Zookeeper::setAcl() example Set ACL for a node. <?php $zookeeper = new Zookeeper ( '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 ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 arr ... ception 関連キーワード: Zookeeper node path synchronously setAcl associated zookeeper Sets method emits ZookeeperException aclArray perms scheme world anyone getAcl setDebugLevel Expressed slashes separating ancestors expected 成功 warning ...
https://man.mtool.work/php/8.3/zookeeper.setacl.html
Create a node synchronously 9249
« Zookeeper::__construct Zookeeper::delete » PHP Manual Zookeeper Create a node synchronously 検索 Zookeeper::create (PECL zookeeper >= 0.1.0) Zookeeper::create — Create a node synchronously 説明 public function Zookeeper::create ( string $ ... derivatives. 例 例1 Zookeeper::create() example Create a new node. <?php $zookeeper = new Zookeeper ( '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 $realPath ; else echo 'ERR' ; ?> 上の例の出力は以下となります。 /path/to/newnode 参考 Zookeeper:: ... path create Create synchronously zookeeper method flag realPath delete acls flags ZooKeeper Flags emits ZookeeperException aclArray newnode construct created already exists affect creation ...
https://man.mtool.work/php/8.3/zookeeper.create.html
Create a node synchronously 5136
« Zookeeper::__construct Zookeeper::delete » PHP Manual Zookeeper Create a node synchronously 検索 Zookeeper::create (PECL zookeeper >= 0.1.0) Zookeeper::create — Create a node synchronously 説明 public function Zookeeper::create ( string $ ... derivatives. 例 例1 Zookeeper::create() example Create a new node. <?php $zookeeper = new Zookeeper ( '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 $realPath ; else echo 'ERR' ; ?> 上の例の出力は以下となります。 /path/to/newnode 参考 Zookeeper:: ...
https://man.mtool.work/php/8.3/zookeeper.create.html
PREV 1 NEXT