array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventconfig.setflags.php', 1 => 'EventConfig::setFlags', 2 => 'Sets one or more flags to configure the eventual EventBase will be initialized', ), 'up' => array ( 0 => 'class.eventconfig.php', 1 => 'EventConfig', ), 'prev' => array ( 0 => 'eventconfig.requirefeatures.php', 1 => 'EventConfig::requireFeatures', ), 'next' => array ( 0 => 'eventconfig.setmaxdispatchinterval.php', 1 => 'EventConfig::setMaxDispatchInterval', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventconfig/setflags.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventConfig::setFlags

(PECL event >= 2.0.2-alpha)

EventConfig::setFlagsSets one or more flags to configure the eventual EventBase will be initialized

Beschreibung

public EventConfig::setFlags( int $flags ): bool

Sets one or more flags to configure what parts of the eventual EventBase will be initialized, and how they'll work.

Parameter-Liste

flags

One of EventBase::LOOP_* constants. See EventBase constants.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch