« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 55 for author (0.001 sec.)
seaslog_get_author — Get SeasLog author. | PHP 8.3 12743
seaslog_get_author (PECL seaslog >=1.0.0) seaslog_get_author — Get SeasLog author. 説明 function seaslog_get_author (): string パラメータ この関数にはパラメータはありません。 戻り値 Return SeasLog author as string. 例 例1 seaslog_get_author ... () example <?php var_dump ( seaslog_get_author ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(29) "Chitao.Gao [ neeke@php.net ]" 他のマニュアルの関連ペー ...
https://man.mtool.work/php/8.3/function.seaslog-get-author.html
DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する | PHP 8.... 12625
DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する 説明 public function DOMXPath::registerPhpFunctions ( string | array | null $restrict = null ): void このメ ... な内容の book.xml を使います。 例1 book.xml <?xml version="1.0" encoding="UTF-8"?> <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> <author>Jane Smith</author> </book> <book> <title>PHP Secrets</title> <author>Jenny Smythe</author> </b ... ook> <book> <title>XML basics</title> <author>Joe Black</author> </book> </books> 例2 DOMXPath::registerPHPFunctions() と php:functionString の例 <?php $doc = new DOMDo ... h 'PHP':\n" ; foreach ( $nodes as $node ) { $title = $node -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue ; $author = $node -> getElementsByTagName ( "author" )-> item ( 0 )-> nodeValue ; echo " $title by $author \n" ; } ?> 上の例の出力は ...
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html
DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として... 11723
DOMXPath::registerPhpFunctionNS (PHP >= 8.4.0) DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として登録する 説明 public function DOMXPath::registerPhpFunctionNS ( string $namespaceURI , string $name , callable $ca ... 空間付きの XPath 関数を登録し、XPath 式からそれをコールする例 <?php $xml = <<<EOB <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> <author>Jane Smith</author> </book> <book> <title>PHP Secrets</title> <author>Jenny Smythe</author> </b ... ook> <book> <title>XML basics</title> <author>Joe Black</author> </book> </books> EOB; $doc = new DOMDocument (); $doc -> loadXML ( $xml ); $xpath = new DOMXPath ( $doc ... h 'PHP':\n" ; foreach ( $nodes as $node ) { $title = $node -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue ; $author = $node -> getElementsByTagName ( "author" )-> item ( 0 )-> nodeValue ; echo " $title by $author \n" ; } ?> 上の例の出力は ...
https://man.mtool.work/php/8.3/domxpath.registerphpfunctionns.html
DOMDocument::getElementById — id に対応する要素を検索する | PHP 8.3 11146
DOMDocument::getElementById (PHP 5, PHP 7, PHP 8) DOMDocument::getElementById — id に対応する要素を検索する 説明 public function DOMDocument::getElementById ( string $elementId ): ? DOMElement この関数は、 DOMDocument::getElementsByTagName ... .xml を使います。 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE books [ <!ELEMENT books (book+)> <!ELEMENT book (title, author+, xhtml:blurb?)> <!ELEMENT title (#PCDATA)> <!ELEMENT blurb (#PCDATA)> <!ELEMENT author (#PCDATA)> <!ATTLIST books xmlns C ... DATA #IMPLIED> <!ATTLIST books xmlns:xhtml CDATA #IMPLIED> <!ATTLIST book id ID #IMPLIED> <!ATTLIST author email CDATA #IMPLIED> ]> <?xml-stylesheet type="text/xsl" href="style.xsl"?> <books xmlns="http://books.php/" xmlns:xhtml= ... "http://www.w3.org/1999/xhtml"> <book id="php-basics"> <title>PHP Basics</title> <author email="jim.smith@basics.php">Jim Smith</author> <author email="jane.smith@basics.php">Jane Smith</author> <xhtml:blurb><![ ...
https://man.mtool.work/php/8.3/domdocument.getelementbyid.html
pg_query — クエリを実行する | PHP 8.3 9091
pg_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_query — クエリを実行する 説明 function pg_query ( PgSql\Connection $connection = ? , string $query ): PgSql\Result | false pg_query() は、指定したデータベース connection 上で query を実行しま ... connect ( "dbname=publisher" ); if (! $conn ) { echo "An error occurred.\n" ; exit; } $result = pg_query ( $conn , "SELECT author, email FROM authors" ); if (! $result ) { echo "An error occurred.\n" ; exit; } while ( $row = pg_fetch_row ( $result )) { ... echo "Author: $row [ 0 ] E-mail: $row [ 1 ] " ; echo "<br />\n" ; } ?> 例2 pg_query() で複数の文を使用する例 <?php $conn = pg_pconnect ... ( "dbname=publisher" ); // これらの文がひとつのトランザクションとして実行されます $query = "UPDATE authors SET author=UPPER(author) WHERE id=1;" ; $query .= "UPDATE authors SET author=LOWER(author) WHERE id=2;" ; $query .= "UPDA ...
https://man.mtool.work/php/8.3/function.pg-query.html
pg_fetch_array — 行を配列として取得する | PHP 8.3 8707
pg_fetch_array (PHP 4, PHP 5, PHP 7, PHP 8) pg_fetch_array — 行を配列として取得する 説明 function pg_fetch_array ( PgSql\Result $result , ? int $row = null , int $mode = PGSQL_BOTH ): array | false pg_fetch_array() は、取得した行(レコード) ... connect ( "dbname=publisher" ); if (! $conn ) { echo "An error occurred.\n" ; exit; } $result = pg_query ( $conn , "SELECT author, email FROM authors" ); if (! $result ) { echo "An error occurred.\n" ; exit; } $arr = pg_fetch_array ( $result , 0 , PGSQ ... L_NUM ); echo $arr [ 0 ] . " <- Row 1 Author\n" ; echo $arr [ 1 ] . " <- Row 1 E-mail\n" ; // row パラメータはオプションです。result_type を指定 // したい場合は NULL を ... _array を続けてコール // すると、次の行を取得します。 $arr = pg_fetch_array ( $result , NULL , PGSQL_ASSOC ); echo $arr [ "author" ] . " <- Row 2 Author\n" ; echo $arr [ "email" ] . " <- Row 2 E-mail\n" ; $arr = pg_fetch_array ( $result ); echo $arr [ ...
https://man.mtool.work/php/8.3/function.pg-fetch-array.html
Seaslog 関数 | PHP 8.3 8397
Seaslog 関数 目次 seaslog_get_author — Get SeasLog author. seaslog_get_version — Get SeasLog version. 他のマニュアルの関連ページ Django expressions Linux JM modinfo(8) Django migrations Django fetch-modes Django generic-editing DuckDB Full ...
https://man.mtool.work/php/8.3/ref.seaslog.html
Creative Commons Attribution 3.0 | PHP 8.3 8323
Creative Commons Attribution 3.0 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHE ... R THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND ... yright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or partie ... Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented ...
https://man.mtool.work/php/8.3/cc.license.html
svn_ls — Returns list of directory contents in repository URL, optionally at re... 8323
svn_ls (PECL svn >= 0.1.0) svn_ls — Returns list of directory contents in repository URL, optionally at revision number 説明 function svn_ls ( string $repos_url , int $revision_no = SVN_REVISION_HEAD , bool $recurse = false , bool $peg = fa ... returns an array file listing in the format of: [0] => Array ( [created_rev] => integer revision number of last edit [last_author] => string author name of last edit [size] => integer byte file size of file [time] => string date of last edit in form 'M ... ple.com/svnroot/' ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => Array ( [created_rev] => 20 [last_author] => Joe [size] => 0 [time] => Apr 02 09:28 [time_t] => 1175520529 [name] => tags [type] => dir ) [1] => Array ( [created_r ... ev] => 23 [last_author] => Bob [size] => 0 [time] => Apr 02 15:15 [time_t] => 1175541322 [name] => trunk [type] => dir ) ) 注意 警告 この関数は、 ...
https://man.mtool.work/php/8.3/function.svn-ls.html
アクセス権 | PHP 8.3 8323
アクセス権 プロパティ、メソッドまたは (PHP 7.1.0 以降) 定数のアクセス権 (visibility) は、 キーワード: public , protected または private を指定することにより定義できます。 public 宣言されたクラスのメンバーには、どこからでもアクセス可能です。 ... ロパティ <?php class Book { public function __construct ( public private(set) string $title , public protected(set) string $author , protected private(set) int $pubYear , ) {} } class SpecialBook extends Book { public function update ( string $author , ... int $year ): void { $this -> author = $author ; // OK $this -> pubYear = $year ; // 致命的なエラー } } $b = new Book ( 'How to PHP' , 'Peter H. Peterson' , 20 ... 24 ); echo $b -> title ; // 動作します echo $b -> author ; // 動作します echo $b -> pubYear ; // 致命的なエラー $b -> title = 'How not to PHP' ; // 致命的なエラー $b -> author = ' ...
https://man.mtool.work/php/8.3/language.oop5.visibility.html
PREV 1 2 3 4 5 6 NEXT