PHP Doku:: Set method accessibility - reflectionmethod.setaccessible.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzVariablen- und typbezogene ErweiterungenReflectionThe ReflectionMethod classReflectionMethod::setAccessible

Ein Service von Reinhard Neidl - Webprogrammierung.

The ReflectionMethod class

<<ReflectionMethod::isStatic

ReflectionMethod::__toString>>

ReflectionMethod::setAccessible

(PHP 5 >= 5.3.2)

ReflectionMethod::setAccessibleSet method accessibility

Beschreibung

public void ReflectionMethod::setAccessible ( bool $accessible )

Sets a method to be accessible. For example, it may allow protected and private methods to be invoked.

Parameter-Liste

accessible

TRUE to allow accessibility, or FALSE.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)