<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.varnishadmin.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'varnishadmin.isrunning.php', 1 => 'VarnishAdmin::isRunning', 2 => 'Check if the varnish slave process is currently running', ), 'up' => array ( 0 => 'class.varnishadmin.php', 1 => 'VarnishAdmin', ), 'prev' => array ( 0 => 'varnishadmin.getparams.php', 1 => 'VarnishAdmin::getParams', ), 'next' => array ( 0 => 'varnishadmin.setcompat.php', 1 => 'VarnishAdmin::setCompat', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/varnish/varnishadmin/isrunning.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="varnishadmin.isrunning" class="refentry"> <div class="refnamediv"> <h1 class="refname">VarnishAdmin::isRunning</h1> <p class="verinfo">(PECL varnish >= 0.3)</p><p class="refpurpose"><span class="refname">VarnishAdmin::isRunning</span> — <span class="dc-title">Check if the varnish slave process is currently running</span></p> </div> <div class="refsect1 description" id="refsect1-varnishadmin.isrunning-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>VarnishAdmin::isRunning</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div> <p class="para rdfs-comment"> </p> </div> <div class="refsect1 parameters" id="refsect1-varnishadmin.isrunning-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-varnishadmin.isrunning-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> 成功时返回 <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, 或者在失败时返回 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>。 </p> </div> </div><?php manual_footer($setup); ?>