Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
VarnishAdmin クラス
(PECL varnish >= 0.3)
はじめに
クラス概要
class
VarnishAdmin
{
/* メソッド */
public
function
auth
():
bool
public
function
ban
(
string
$vcl_regex
):
int
public
function
banUrl
(
string
$vcl_regex
):
int
public
function
clearPanic
():
int
public
function
connect
():
bool
public
function
__construct
(
array
$args
= ?
)
public
function
disconnect
():
bool
public
function
getPanic
():
string
public
function
getParams
():
array
public
function
isRunning
():
bool
public
function
setCompat
(
int
$compat
):
void
public
function
setHost
(
string
$host
):
void
public
function
setIdent
(
string
$ident
):
void
public
function
setParam
(
string
$name
,
string
|
int
$value
):
int
public
function
setPort
(
int
$port
):
void
public
function
setSecret
(
string
$secret
):
void
public
function
setTimeout
(
int
$timeout
):
void
public
function
start
():
int
public
function
stop
():
int
}
目次
VarnishAdmin::auth
— varnish インスタンス上で認証する
VarnishAdmin::ban
— VCL の式を使って URL を禁止する
VarnishAdmin::banUrl
— VCL の式を使って URL を禁止する
VarnishAdmin::clearPanic
— varnish インスタンスのパニックメッセージをクリアする
VarnishAdmin::connect
— varnish インスタンスの管理インターフェイスに接続する
VarnishAdmin::__construct
— VarnishAdmin のコンストラクタ
VarnishAdmin::disconnect
— varnish インスタンスの管理インターフェイスとの接続を切断する
VarnishAdmin::getPanic
— varnish インスタンスの直近のパニックメッセージを取得する
VarnishAdmin::getParams
— 現在の varnish インスタンスの設定パラメータを取得する
VarnishAdmin::isRunning
— varnish のスレーブプロセスが現在実行中かどうかを調べる
VarnishAdmin::setCompat
— クラスのオプション compat を設定する
VarnishAdmin::setHost
— クラスのオプション host を設定する
VarnishAdmin::setIdent
— クラスのオプション ident を設定する
VarnishAdmin::setParam
— 現在の varnish インスタンスの構成パラメータを設定する
VarnishAdmin::setPort
— クラスのオプション port を設定する
VarnishAdmin::setSecret
— クラスのオプション secret を設定する
VarnishAdmin::setTimeout
— クラスのオプション timeout を設定する
VarnishAdmin::start
— varnish ワーカープロセスを開始する
VarnishAdmin::stop
— varnish ワーカープロセスを停止する
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^