検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 247 for bar (0.032 sec.)
格納されている変数をキャッシュから取り除く 5738
« apcu_dec apcu_enabled » PHP Manual APCu 関数 格納されている変数をキャッシュから取り除く apcu_d ... se が返されます。 例 例1 apcu_delete() の例 <?php $bar = 'BAR' ; apcu_store ( 'foo' , $bar ); apcu_delete ... ーを削除することもできます。 apcu_delete ([ 'foo' , 'bar' , 'baz' ]); // または、正規表現とともに Iterator ...
https://man.plustar.jp/php/function.apcu-delete.html - [similar]
オブジェクトの継承 5738
« アクセス権 スコープ定義演算子 (::) » PHP Manual クラスとオブジェクト オブジェクトの継承 オブジ ... HP () { echo 'PHP is great.' . PHP_EOL ; } } class Bar extends Foo { public function printItem ( $string ... ) { echo 'Bar: ' . $string . PHP_EOL ; } } $foo = new Foo (); $b ... ar = new Bar (); $foo -> printItem ( 'baz' ); // 出力: 'Foo: ba ... z' $foo -> printPHP (); // 出力: 'PHP is great' $bar -> printItem ( 'baz' ); // 出力: 'Bar: baz' $bar - ...
https://man.plustar.jp/php/language.oop5.inheritance.html - [similar]
アクセス権 5738
« コンストラクタとデストラクタ オブジェクトの継承 » PHP Manual クラスとオブジェクト アクセス権 ア ... ected は動作しますが、Private は動作しません class Bar { public function test () { $this -> testPrivate ( ... Public (); } public function testPublic () { echo "Bar::testPublic\n" ; } private function testPrivate () ... { echo "Bar::testPrivate\n" ; } } class Foo extends Bar { publ ... " ; } } $myFoo = new Foo (); $myFoo -> test (); // Bar::testPrivate // Foo::testPublic ?> 定数のアクセス権 ...
https://man.plustar.jp/php/language.oop5.visibility.html - [similar]
別のストレージに含まれているもの以外のすべてのオブジェクトを現在のストレージから... 5738
« SplObjectStorage::removeAll SplObjectStorage::rewind » PHP Manual SplObjectStorage 別のストレー ... e ; $foo -> attach ( $a ); $foo -> attach ( $b ); $bar = new SplObjectStorage ; $bar -> attach ( $b ); $b ... ar -> attach ( $c ); $foo -> removeAllExcept ( $bar ); var_dump ( $foo -> contains ( $a )); var_dump ( ...
https://man.plustar.jp/php/splobjectstorage.removeallexcept.html - [similar]
下位互換性のない変更点 5687
« PHP 5.6.x から PHP 7.0.x への移行 新機能 » PHP Manual PHP 5.6.x から PHP 7.0.x への移行 下位互 ... 評価順の変更 式 PHP 5 での解釈 PHP 7 での解釈 $$foo['bar']['baz'] ${$foo['bar']['baz']} ($$foo)['bar']['baz ... '] $foo->$bar['baz'] $foo->{$bar['baz']} ($foo->$bar)['baz'] $fo ... o->$bar['baz']() $foo->{$bar['baz']}() ($foo->$bar)['baz'] ... () Foo::$bar['baz']() Foo::{$bar['baz']}() (Foo::$bar)['baz']() ...
https://man.plustar.jp/php/migration70.incompatible.html - [similar]
プロパティを取得する 5687
« ReflectionClass::getParentClass ReflectionClass::getProperty » PHP Manual ReflectionClass プロ ... す。 <?php class Foo { public $foo = 1 ; protected $bar = 2 ; private $baz = 3 ; } $foo = new Foo (); $ref ... 上の例の出力は、 たとえば以下のようになります。 foo bar array(2) { [0]=> object(ReflectionProperty)#3 (2) ... (ReflectionProperty)#4 (2) { ["name"]=> string(3) "bar" ["class"]=> string(3) "Foo" } } 参考 ReflectionCl ... ectionProperty , string , getProperties , filter , bar , 定数 , array , パラメータ ...
https://man.plustar.jp/php/reflectionclass.getproperties.html - [similar]
名前で定義されたエントリの圧縮メソッドを設定する 5687
« ZipArchive::setCompressionIndex ZipArchive::setEncryptionIndex » PHP Manual ZipArchive 名前で定 ... ( 'foo' , 'Some text' ); $zip -> addFromString ( 'bar' , 'Some other text' ); $zip -> setCompressionName ... chive :: CM_STORE ); $zip -> setCompressionName ( 'bar' , ZipArchive :: CM_DEFLATE ); $zip -> close (); e ... ( $res === TRUE ) { $zip -> addFile ( 'foo.jpg' , 'bar.jpg' ); $zip -> setCompressionName ( 'bar.jpg' , Z ...
https://man.plustar.jp/php/ziparchive.setcompressionname.html - [similar]
Yaf_Loader クラス 5637
« Yaf_View_Simple::setScriptPath Yaf_Loader::autoload » PHP Manual Yaf Yaf_Loader クラス Yaf_Loa ... tance ()-> registerLocalNameSpace (array( "Foo" , "Bar" )); } ?> オートロードの例です。 例3 クラスのロード ... class Foo_Bar_Test => // APPLICATION_PATH/library/Foo/Bar/Test.p ... lass GLO_Name => // /global_dir/Glo/Name.php class BarNon_Test // /global_dir/Barnon/Test.php 例4 名前空間 ... つきのクラスのロード class \Foo\Bar\Dummy => // APPLICATION_PATH/library/Foo/Bar/Dummy ...
https://man.plustar.jp/php/class.yaf-loader.html - [similar]
クラスのエイリアスを作成する 5637
« __autoload class_exists » PHP Manual クラス/オブジェクト関数 クラスのエイリアスを作成する clas ... () の例 <?php class foo { } class_alias ( 'foo' , 'bar' ); $a = new foo ; $b = new bar ; // オブジェクトは ... mp ( $a instanceof foo ); var_dump ( $a instanceof bar ); var_dump ( $b instanceof foo ); var_dump ( $b i ... nstanceof bar ); ?> 上の例の出力は以下となります。 bool(true) bo ...
https://man.plustar.jp/php/function.class-alias.html - [similar]
static キーワード 5637
« スコープ定義演算子 (::) クラスの抽象化 » PHP Manual クラスとオブジェクト static キーワード sta ... icValue () { return self :: $my_static ; } } class Bar extends Foo { public function fooStatic () { retur ... o' ; print $classname :: $my_static . "\n" ; print Bar :: $my_static . "\n" ; $bar = new Bar (); print $b ...
https://man.plustar.jp/php/language.oop5.static.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT