Results of 441 - 450 of about 2375 for New (0.132 sec.)
- Makes an HTTP request over the specified connection 2380
- « EventHttpConnection::getPeer EventHttpConnection::setCloseCallback » PHP Manual EventHttpConne
...
); } $address = "127.0.0.1" ; $port = 80 ; $base = new EventBase (); $conn = new EventHttpConnection ( $b ...
dress , $port ); $conn -> setTimeout ( 5 ); $req = new EventHttpRequest ( "_request_handler" , $base ); $ ...
-
https://man.plustar.jp/php/eventhttpconnection.makerequest.html
- [similar]
- 画像にテキストによる注記を加える 2380
- « Imagick::animateImages Imagick::appendImages » PHP Manual Imagick 画像にテキストによる注記を加
...
ます。 <?php /* オブジェクトを作成します */ $image = new Imagick (); $draw = new ImagickDraw (); $pixel = n ...
Pixel ( 'gray' ); /* 画像を作成します */ $image -> newImage ( 800 , 75 , $pixel ); /* 黒いテキスト */ $dr ...
-
https://man.plustar.jp/php/imagick.annotateimage.html
- [similar]
- 色ベクトルを画像の各ピクセルに適用する 2380
- « Imagick::thumbnailImage Imagick::__toString » PHP Manual Imagick 色ベクトルを画像の各ピクセルに
...
( $r , $g , $b , $a ) { $a = $a / 100 ; $imagick = new \ Imagick (); $imagick -> newPseudoImage ( 400 , 4 ...
00 , 'gradient:black-white' ); $tint = new \ ImagickPixel ( "rgb( $r , $g , $b )" ); $opacity ...
= new \ ImagickPixel ( "rgb(128, 128, 128, $a )" ); $ima ...
-
https://man.plustar.jp/php/imagick.tintimage.html
- [similar]
- 切り取るサイズと画像のジオメトリを設定する便利なメソッド 2380
- « Imagick::__toString Imagick::transformImageColorspace » PHP Manual Imagick 切り取るサイズと画像
...
例は 100x100 の黒い画像を作成します。 <?php $image = new Imagick (); $image -> newImage ( 300 , 200 , "blac ...
k" ); $new_image = $image -> transformImage ( "100x100" , "10 ...
0x100" ); $new_image -> writeImage ( 'test_out.jpg' ); ?> 参考 Im ...
-
https://man.plustar.jp/php/imagick.transformimage.html
- [similar]
- アトリビュートの概要 2380
- « アトリビュート アトリビュートの文法 » PHP Manual アトリビュート アトリビュートの概要 アトリビュ
...
{ if (! file_exists ( $this -> fileName )) { throw new RuntimeException ( "File does not exist" ); } } #[ ...
if (! is_dir ( $this -> targetDirectory )) { throw new RuntimeException ( "Target directory $this -> targ ...
n ( ActionHandler $actionHandler ) { $reflection = new ReflectionObject ( $actionHandler ); foreach ( $re ...
} } $actionHandler -> execute (); } $copyAction = new CopyFile (); $copyAction -> fileName = "/tmp/foo.j ...
-
https://man.plustar.jp/php/language.attributes.overview.html
- [similar]
- 列挙型とメソッド 2380
- « 値に依存した列挙型(Backed Enum) 列挙型と static メソッド » PHP Manual 列挙型(Enum) 列挙型とメソ
...
ements UnitEnum , Colorful { public const Hearts = new self ( 'Hearts' ); public const Diamonds = new sel ...
f ( 'Diamonds' ); public const Clubs = new self ( 'Clubs' ); public const Spades = new self ( ...
-
https://man.plustar.jp/php/language.enumerations.methods.html
- [similar]
- Pause the CPU usage timer 2380
- « LuaSandbox::loadString LuaSandbox::registerLibrary » PHP Manual LuaSandbox Pause the CPU usage
...
ua, the timer will be automatically unpaused. If a new call into Lua is made, the timer will be unpaused ...
例1 Manipulating the usage timer <?php // create a new LuaSandbox and set a CPU limit $sandbox = new LuaS ...
-
https://man.plustar.jp/php/luasandbox.pauseusagetimer.html
- [similar]
- 項目の値を減らす 2380
- « Memcache::connect Memcache::delete » PHP Manual Memcache 項目の値を減らす Memcache::decrement
...
he_host' , 11211 ); /* 項目の値を 2 減らします */ $new_value = memcache_decrement ( $memcache_obj , 'test ...
2 ); /* オブジェクト指向の API */ $memcache_obj = new Memcache ; $memcache_obj -> connect ( 'memcache_ho ...
st' , 11211 ); /* 項目の値を 3 減らします */ $new_value = $memcache_obj -> decrement ( 'test_item' , ...
-
https://man.plustar.jp/php/memcache.decrement.html
- [similar]
- Returns the server associated with this cursor 2380
- « MongoDB\Driver\Cursor::getId MongoDB\Driver\Cursor::isDead » PHP Manual MongoDB\Driver\Cursor
...
river\Cursor::getServer() example <?php $manager = new MongoDB \ Driver \ Manager ( "mongodb://localhost: ...
27017" ); $query = new MongoDB \ Driver \ Query ([]); $bulk = new MongoDB ...
-
https://man.plustar.jp/php/mongodb-driver-cursor.getserver.html
- [similar]
- Returns an array containing all results for this cursor 2380
- « MongoDB\Driver\Cursor::setTypeMap MongoDB\Driver\Cursor::valid » PHP Manual MongoDB\Driver\Cur
...
\Driver\Cursor::toArray() example <?php $manager = new MongoDB \ Driver \ Manager ( "mongodb://localhost: ...
27017" ); $bulk = new MongoDB \ Driver \ BulkWrite ; $bulk -> insert ([ ...
uteBulkWrite ( 'db.collection' , $bulk ); $query = new MongoDB \ Driver \ Query ([]); $cursor = $manager ...
-
https://man.plustar.jp/php/mongodb-driver-cursor.toarray.html
- [similar]