Class Annotations (namespace Nette)


Annotations support for PHP.


Copyright: Copyright (c) 2004, 2010 David Grudl
Deprecated:
Located: in /Annotations.php (line 22)
Public Method Summary
static array
get ($r, string $name)
Returns an annotation value.
static array
getAll ($r, [string $name = NULL])
Returns all annotations.
static bool
has ($r, string $name)
Has class/method/property specified annotation?
Variable Summary
static bool $useReflection

line 25


Method Details

line 50

get

public static array get ($r, string $name)

Returns an annotation value.

Input
$r
string $name annotation name
Output
array  

line 65

getAll

public static array getAll ($r, [string $name = NULL])

Returns all annotations.

Input
$r
string $name annotation name
Output
array  

line 35

has

public static bool has ($r, string $name)

Has class/method/property specified annotation?

Input
$r
string $name annotation name
Output
bool