« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 63 for attributes (0.001 sec.)
mqseries_set — MQSeries MQSET | PHP 8.3 11523
mqseries_set (PECL mqseries >= 0.10.0) mqseries_set — MQSeries MQSET 説明 function mqseries_set ( resource $hConn , resource $hObj , int $selectorCount , array $selectors , int $intAttrCount , array $intAttrs , int $charAttrLength , array $ ... charAttrs , resource &$compCode , resource &$reason ): void The mqseries_set() (MQSET) call is used to change the attributes of an object represented by a handle. The object must be a queue. パラメータ hConn Connection handle. This handle represen ... er. hObj Object handle. This handle represents the object to be used. selectorCount Count of selectors. selectors Array of attribute selectors. intAttrCount Count of integer attributes. intAttrs Array of integer attributes. charAttrLength Length of charact ... er attributes buffer. charAttrs Character attributes. compCode Completion code. reason Reason code qualifying the compCode. 戻り値 値を返 ...
https://man.mtool.work/php/8.3/function.mqseries-set.html
ReflectionFunctionAbstract::getAttributes — アトリビュートを取得する | PHP 8.3 11249
ReflectionFunctionAbstract::getAttributes (PHP 8) ReflectionFunctionAbstract::getAttributes — アトリビュートを取得する 説明 public function ReflectionFunctionAbstract::getAttributes ( ? string $name = null , int $flags = 0 ): array この関数 ... ] public function makeApple (): string { return 'apple' ; } } $method = new ReflectionMethod ( 'Factory' , 'makeApple' ); $attributes = $method -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ?> 上の例 ... [ Fruit ] #[ Red ] function makeApple (): string { return 'apple' ; } $function = new ReflectionFunction ( 'makeApple' ); $attributes = $function -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ?> 上の ... [ Fruit ] #[ Red ] function makeApple (): string { return 'apple' ; } $function = new ReflectionFunction ( 'makeApple' ); $attributes = $function -> getAttributes ( 'Fruit' ); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes ) ...
https://man.mtool.work/php/8.3/reflectionfunctionabstract.getattributes.html
ReflectionClass::getAttributes — アトリビュートを取得する | PHP 8.3 10226
ReflectionClass::getAttributes (PHP 8) ReflectionClass::getAttributes — アトリビュートを取得する 説明 public function ReflectionClass::getAttributes ( ? string $name = null , int $flags = 0 ): array このクラスで宣言されている全てのアトリビュ ... lass Fruit { } #[ Attribute ] class Red { } #[ Fruit ] #[ Red ] class Apple { } $class = new ReflectionClass ( 'Apple' ); $attributes = $class -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ?> 上の例 ... lass Fruit { } #[ Attribute ] class Red { } #[ Fruit ] #[ Red ] class Apple { } $class = new ReflectionClass ( 'Apple' ); $attributes = $class -> getAttributes ( 'Fruit' ); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ... Attribute ] class Red implements Color { } #[ Fruit ] #[ Red ] class Apple { } $class = new ReflectionClass ( 'Apple' ); $attributes = $class -> getAttributes ( Color ::class, ReflectionAttribute :: IS_INSTANCEOF ); print_r ( array_map (fn( $attribute ) = ...
https://man.mtool.work/php/8.3/reflectionclass.getattributes.html
ReflectionClassConstant::getAttributes — アトリビュートを取得する | PHP 8.3 10039
ReflectionClassConstant::getAttributes (PHP 8) ReflectionClassConstant::getAttributes — アトリビュートを取得する 説明 public function ReflectionClassConstant::getAttributes ( ? string $name = null , int $flags = 0 ): array このクラス定数上で ... #[ Fruit ] #[ Red ] public const APPLE = 'apple' ; } $classConstant = new ReflectionClassConstant ( 'Basket' , 'APPLE' ); $attributes = $classConstant -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ? ... #[ Fruit ] #[ Red ] public const APPLE = 'apple' ; } $classConstant = new ReflectionClassConstant ( 'Basket' , 'APPLE' ); $attributes = $classConstant -> getAttributes ( 'Fruit' ); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attribu ... #[ Fruit ] #[ Red ] public const APPLE = 'apple' ; } $classConstant = new ReflectionClassConstant ( 'Basket' , 'APPLE' ); $attributes = $classConstant -> getAttributes ( 'Color' , ReflectionAttribute :: IS_INSTANCEOF ); print_r ( array_map (fn( $attribute ...
https://man.mtool.work/php/8.3/reflectionclassconstant.getattributes.html
ReflectionParameter::getAttributes — アトリビュートを取得する | PHP 8.3 10039
ReflectionParameter::getAttributes (PHP 8) ReflectionParameter::getAttributes — アトリビュートを取得する 説明 public function ReflectionParameter::getAttributes ( ? string $name = null , int $flags = 0 ): array この引数上で宣言されている全て ... g $apple ) { } $reflection = new ReflectionFunction ( 'fruitBasket' ); $parameter = $reflection -> getParameters ()[ 0 ]; $attributes = $parameter -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ?> 上 ... g $apple ) { } $reflection = new ReflectionFunction ( 'fruitBasket' ); $parameter = $reflection -> getParameters ()[ 0 ]; $attributes = $parameter -> getAttributes ( 'Fruit' ); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes ... g $apple ) { } $reflection = new ReflectionFunction ( 'fruitBasket' ); $parameter = $reflection -> getParameters ()[ 0 ]; $attributes = $parameter -> getAttributes ( 'Color' , ReflectionAttribute :: IS_INSTANCEOF ); print_r ( array_map (fn( $attribute ) => ...
https://man.mtool.work/php/8.3/reflectionparameter.getattributes.html
ReflectionProperty::getAttributes — アトリビュートを取得する | PHP 8.3 10039
ReflectionProperty::getAttributes (PHP 8) ReflectionProperty::getAttributes — アトリビュートを取得する 説明 public function ReflectionProperty::getAttributes ( ? string $name = null , int $flags = 0 ): array このクラスプロパティで宣言されて ... asket { #[ Fruit ] #[ Red ] public string $apple = 'apple' ; } $property = new ReflectionProperty ( 'Basket' , 'apple' ); $attributes = $property -> getAttributes (); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes )); ?> 上の ... asket { #[ Fruit ] #[ Red ] public string $apple = 'apple' ; } $property = new ReflectionProperty ( 'Basket' , 'apple' ); $attributes = $property -> getAttributes ( 'Fruit' ); print_r ( array_map (fn( $attribute ) => $attribute -> getName (), $attributes ) ... asket { #[ Fruit ] #[ Red ] public string $apple = 'apple' ; } $property = new ReflectionProperty ( 'Basket' , 'apple' ); $attributes = $property -> getAttributes ( 'Color' , ReflectionAttribute :: IS_INSTANCEOF ); print_r ( array_map (fn( $attribute ) => ...
https://man.mtool.work/php/8.3/reflectionproperty.getattributes.html
tidy::getConfig — 現在の Tidy の設定を取得する | PHP 8.3 9852
tidy::getConfig tidy_get_config (PHP 5, PHP 7, PHP 8, PECL tidy >= 0.7.0) tidy::getConfig -- tidy_get_config — 現在の Tidy の設定を取得する 説明 オブジェクト指向型 public function tidy::getConfig (): array 手続き型 function tidy_get_config ... char-encoding] => 1 [input-encoding] => 3 [output-encoding] => 1 [newline] => 1 [doctype-mode] => 1 [doctype] => [repeated-attributes] => 1 [alt-text] => [slide-style] => [error-file] => [output-file] => [write-back] => [markup] => 1 [show-warnings] => 1 [ ... => [input-xml] => [output-xml] => 1 [output-xhtml] => 1 [output-html] => [add-xml-decl] => [uppercase-tags] => [uppercase-attributes] => [bare] => [clean] => [logical-emphasis] => [drop-proprietary-attributes] => [drop-font-tags] => [drop-empty-paras] => ... => 1 [break-before-br] => [split] => [numeric-entities] => [quote-marks] => [quote-nbsp] => 1 [quote-ampersand] => 1 [wrap-attributes] => [wrap-script-literals] => [wrap-sections] => 1 [wrap-asp] => 1 [wrap-jste] => 1 [wrap-php] => 1 [fix-backslash] => 1 [ ...
https://man.mtool.work/php/8.3/tidy.getconfig.html
SimpleXMLElement::attributes — 要素の属性を定義する | PHP 8.3 9290
SimpleXMLElement::attributes (PHP 5, PHP 7, PHP 8) SimpleXMLElement::attributes — 要素の属性を定義する 説明 public function SimpleXMLElement::attributes ( ? string $namespaceOrPrefix = null , bool $isPrefix = false ): ? SimpleXMLElement この ... <a> <foo name="one" game="lonely">1</foo> </a> XML; $xml = simplexml_load_string ( $string ); foreach( $xml -> foo [ 0 ]-> attributes () as $a => $b ) { echo $a , '="' , $b , "\"\n" ; } ?> 上の例の出力は以下となります。 name="one" game="lonely" 参考 基本的 ...
https://man.mtool.work/php/8.3/simplexmlelement.attributes.html
ldap_get_attributes — 検索結果エントリから属性を得る | PHP 8.3 9103
ldap_get_attributes (PHP 4, PHP 5, PHP 7, PHP 8) ldap_get_attributes — 検索結果エントリから属性を得る 説明 function ldap_get_attributes ( LDAP\Connection $ldap , LDAP\ResultEntry $entry ): array 検索結果エントリから属性と値を読み込みます。 ... タンス // $sr は事前の LDAP のディレクトリ検索コールの有効な結果 $entry = ldap_first_entry ( $ds , $sr ); $attrs = ldap_get_attributes ( $ds , $entry ); echo $attrs [ "count" ] . " attributes held for this entry:<p>" ; for ( $i = 0 ; $i < $attrs [ "count" ] ...
https://man.mtool.work/php/8.3/function.ldap-get-attributes.html
xattr_list — 拡張属性の一覧を取得する | PHP 8.3 9016
xattr_list (PECL xattr >= 0.9.0) xattr_list — 拡張属性の一覧を取得する 説明 function xattr_list ( string $filename , int $flags = 0 ): array この関数は、ファイルの拡張属性の名前の一覧を取得します。 拡張属性には二種類の異なる名前空間、つまり ... 関数は、拡張属性の名前を配列で返します。 例 例1 ファイルのすべての拡張属性の名前を表示する <?php $file = 'some_file' ; $root_attributes = xattr_list ( $file , XATTR_ROOT ); $user_attributes = xattr_list ( $file ); echo "Root 属性: \n" ; foreach ( $root_attri ... butes as $attr_name ) { printf ( "%s\n" , $attr_name ); } echo "\n User 属性: \n" ; foreach ( $user_attributes as $attr_name ) { printf ( "%s\n" , $attr_name ); } ?> 参考 xattr_get() - 拡張属性を取得する 他のマニュアルの関連ページ Li ...
https://man.mtool.work/php/8.3/function.xattr-list.html
PREV 1 2 3 4 5 6 7 NEXT