Results of 1 - 10 of about 126 for Parent (0.001 sec.)
- UI\Control::setParent — Set Parent Control | PHP 8.3 13412
- UI\Control::setParent (UI 0.9.9) UI\Control::setParent — Set Parent Control 説明 public function UI\Control::setParent ( UI\Control $parent ) Shall set the parent Control of this Control パラメータ parent The parent Control 戻り値 他のマニュ
...
-
https://man.mtool.work/php/8.3/ui-control.setparent.html
- get_parent_class — オブジェクトの親クラスの名前を取得する | PHP 8.3 11365
- get_parent_class (PHP 4, PHP 5, PHP 7, PHP 8) get_parent_class — オブジェクトの親クラスの名前を取得する 説明 function get_parent_class ( object | string $object_or_class = ? ): string | false オブジェクトあるいはクラスの親クラスの名前を取得
... オブジェクトが親を持たない場合や、 指定したクラスが存在しない場合は false を返します。 変更履歴 バージョン 説明 8.3.0 get_parent_class() を引数なしでコールすると、 E_DEPRECATED が発生するようになりました。 これより前のバージョンでは、クラスの内部でこの ... 名前を返していました。 8.0.0 object_or_class は、 オブジェクトまたは有効なクラス名を受け入れるようになりました。 例 例1 get_parent_class() の使用例 <?php class Dad { function __construct () { // ロジックを実装する } } class Child extends Dad { function ... __construct () { echo "I'm " , get_parent_class ( $this ) , "'s son\n" ; } } class Child2 extends Dad { function __construct () { echo "I'm " , get_parent_class ( ' ...
-
https://man.mtool.work/php/8.3/function.get-parent-class.html
- pcntl_waitpid — 待つかフォークした子プロセスのステータスを返す | PHP 8.3 10286
- pcntl_waitpid (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) pcntl_waitpid — 待つかフォークした子プロセスのステータスを返す 説明 function pcntl_waitpid ( int $process_id , int &$status , int $flags = 0 , array &$resource_usage = [] ): int 引数 proce
... flags , $rusage ); if ( $deadPid === - 1 ) { $errNo = pcntl_get_last_error (); $errMsg = pcntl_strerror ( $errNo ); print "PARENT pcntl_waitpid FAILED ( { $errNo } ): { $errMsg } \n" ; } elseif ( $deadPid === 0 ) { print "PARENT pcntl_waitpid: No exite ... d children.\n" ; } elseif ( pcntl_wifexited ( $status )) { print "PARENT pcntl_waitpid: Child PID { $deadPid } exited with status: " . pcntl_wexitstatus ( $status ) . "\n" ; var_dump ( $rusage ); ... } else { print "PARENT pcntl_waitpid: Child PID { $deadPid } was terminated by signal: " . pcntl_wtermsig ( $status ) . "\n" ; } } $parentPid = g ...
-
https://man.mtool.work/php/8.3/function.pcntl-waitpid.html
- uopz_extend — 実行時にクラスを継承させる | PHP 8.3 9746
- uopz_extend (PECL uopz 1, PECL uopz 2, PECL uopz 5, PECL uopz 6, PECL uopz 7 < 7.1.0) uopz_extend — 実行時にクラスを継承させる 説明 function uopz_extend ( string $class , string $parent ): bool class に parent を継承させます。 パラメータ cl
... ass 拡張するクラスの名前 parent 継承するクラスの名前 戻り値 成功した場合に true を、失敗した場合に false を返します。 エラー / 例外 PHP 7.4.0 以降では、 O ... Pcache が有効になっており、 かつ class または parent が変更不能な場合(トレイトの場合も)、 uopz_extend() 関数は RuntimeException をスローするようになりました。 例 例1 uopz_exte ... nd() の例 <?php class A {} class B {} uopz_extend ( A ::class, B ::class); var_dump ( class_parents ( A ::class)); ?> 上の例の出力は以下となります。 array(1) { ["B"]=> string(1) "B" } 他のマニュアルの関連ページ Python arg ...
-
https://man.mtool.work/php/8.3/function.uopz-extend.html
- Componere\Definition::__construct — Definition Construction | PHP 8.3 9097
- Componere\Definition::__construct (Componere 2 >= 2.1.0) Componere\Definition::__construct — Definition Construction 説明 public function Componere\Definition::__construct ( string $name ) public function Componere\Definition::__construct (
... string $name , string $parent ) public function Componere\Definition::__construct ( string $name , array $interfaces ) public function Componere\Definit ... ion::__construct ( string $name , string $parent , array $interfaces ) パラメータ name A case insensitive class name parent A case insensitive class name interfaces An arr ...
-
https://man.mtool.work/php/8.3/componere-definition.construct.html
- Control | PHP 8.3 8986
- Control (UI 0.9.9) はじめに This is the closed base class for all UI Controls. クラス概要 final class UI\Control { /* メソッド */ public function destroy () public function disable () public function enable () public function getParent ():
... l (): int public function hide () public function isEnabled (): bool public function isVisible (): bool public function setParent ( UI\Control $parent ) public function show () } 目次 UI\Control::destroy — Destroy Control UI\Control::disable — Disable ... Control UI\Control::enable — Enable Control UI\Control::getParent — Get Parent Control UI\Control::getTopLevel — Get Top Level UI\Control::hide — Hide Control UI\Control::isEnabled — Deter ... mine if Control is enabled UI\Control::isVisible — Determine if Control is visible UI\Control::setParent — Set Parent Control UI\Control::show — Control Show 他のマニュアルの関連ページ Linux JM tr(1) Linux JM write(1) Linux JM ...
-
https://man.mtool.work/php/8.3/class.ui-control.html
- mysqli::init — MySQLi を初期化し、mysqli_real_connect() で使うオブジェクトを返... 8766
- mysqli::init mysqli_init (PHP 5, PHP 7, PHP 8) mysqli::init -- mysqli_init — MySQLi を初期化し、mysqli_real_connect() で使うオブジェクトを返す 説明 オブジェクト指向型 #[ \Deprecated ( since : '8.1' , message : 'replace calls to parent::init
... () with parent::__construct()' , )] public function mysqli::init (): ? bool 手続き型 function mysqli_init (): mysqli | false mysqli_optio ... false を返します. 変更履歴 バージョン 説明 8.1.0 オブジェクト指向版の mysqli::init() メソッドは、 推奨されなくなりました。 parent::init() を、 parent::__construct() の呼び出しに置き換えて下さい。 例 mysqli_real_connect() を参照ください。 参考 mysqli_op ...
-
https://man.mtool.work/php/8.3/mysqli.init.html
- 例 | PHP 8.3 8018
- 例 この例では、まず基底クラスおよびそのクラスの派生クラスを定義します。 基底クラスは食用かどうか、色とかいった、一般的な野菜を記述します。 サブクラス Spinach は、 その野菜の料理法と調理済であるかどうかの情報を追加します。 例1 クラスの定義 V
... > color ; } } ?> Spinach <?php class Spinach extends Vegetable { public $cooked = false ; public function __construct () { parent :: __construct ( true , "green" ); } public function cook () { $this -> cooked = true ; } public function isCooked () { re ... クトの情報を出力 echo "veggie: CLASS " . get_class ( $veggie ) . "\n" ; echo "leafy: CLASS " . get_class ( $leafy ); echo ", PARENT " . get_parent_class ( $leafy ) . "\n" ; // 変数 veggie のプロパティを表示 echo "\nveggie: Properties\n" ; printProperties ... ( $veggie ); // 変数 leafy のメソッドも表示 echo "\nleafy: Methods\n" ; printMethods ( $leafy ); echo "\nParentage:\n" ; objectBelongsTo ( $leafy , Spinach ::class); objectBelongsTo ( $leafy , Vegetable ::class); ?> 上の例の出力は以下 ...
-
https://man.mtool.work/php/8.3/classobj.examples.html
- スコープ定義演算子 (::) | PHP 8.3 8018
- スコープ定義演算子 (::) スコープ定義演算子 (またの名を Paamayim Nekudotayim)、 平たく言うと「ダブルコロン」は、トークンのひとつです。 クラスまたはその親クラスの 定数 、 static プロパティ、 static メソッドにアクセスできます。 さらに、static
... の外から参照する際には、 クラスの名前を使用してください。 変数を用いてクラスを参照することも可能です。 変数の値に ( self や parent 、 static といった) キーワードを指定することはできません。 なぜダブルコロンに Paamayim Nekudotayim という名前をつけたのか、 ... $classname = 'MyClass' ; echo $classname :: CONST_VALUE ; echo MyClass :: CONST_VALUE ; ?> 三つの特別なキーワード self と parent そして static がクラス定義の内部からプロパティまたはメソッドにアクセスする際に使用されます。 例2 クラス定義の中からの :: < ... class OtherClass extends MyClass { public static $my_static = 'static var' ; public static function doubleColon () { echo parent :: CONST_VALUE . "\n" ; echo self :: $my_static . "\n" ; } } $classname = 'OtherClass' ; $classname :: doubleColon (); Oth ...
-
https://man.mtool.work/php/8.3/language.oop5.paamayim-nekudotayim.html
- UI\Control::getParent — Get Parent Control | PHP 8.3 8018
- UI\Control::getParent (UI 0.9.9) UI\Control::getParent — Get Parent Control 説明 public function UI\Control::getParent (): UI\Control Shall return the parent Control パラメータ この関数にはパラメータはありません。 戻り値 他のマニュアルの関連
...
-
https://man.mtool.work/php/8.3/ui-control.getparent.html