Ubiquity  2.0.0
php rapid development framework
Reflexion Class Reference

Utilitaires de Reflexion. More...

Static Public Member Functions

static getProperties ($instance)
 
static getMethods ($instance, $filter=null)
 
static getKeyFields ($instance)
 
static getMemberValue ($instance, $member)
 
static setMemberValue ($instance, $member, $value)
 
static getProperty ($instance, $member)
 
static getPropertiesAndValues ($instance, $props=NULL)
 
static getAnnotationClass ($class, $annotation)
 
static getAnnotationMember ($class, $member, $annotation)
 
static getAnnotationsMethod ($class, $method, $annotation)
 
static getMembersAnnotationWithAnnotation ($class, $annotation)
 
static getMembersWithAnnotation ($class, $annotation)
 
static getMembersNameWithAnnotation ($class, $annotation)
 
static isNullable ($class, $member)
 
static getDbType ($class, $member)
 
static isSerializable ($class, $member)
 
static getFieldName ($class, $member)
 
static getTableName ($class)
 
static getMethodParameters (\ReflectionMethod $method)
 

Detailed Description

Utilitaires de Reflexion.

Author
jc
Version
1.0.0.2

Definition at line 14 of file Reflexion.php.

Member Function Documentation

◆ getAnnotationClass()

static getAnnotationClass (   $class,
  $annotation 
)
static

Definition at line 77 of file Reflexion.php.

◆ getAnnotationMember()

static getAnnotationMember (   $class,
  $member,
  $annotation 
)
static

Definition at line 82 of file Reflexion.php.

◆ getAnnotationsMethod()

static getAnnotationsMethod (   $class,
  $method,
  $annotation 
)
static

Definition at line 89 of file Reflexion.php.

◆ getDbType()

static getDbType (   $class,
  $member 
)
static

Definition at line 137 of file Reflexion.php.

◆ getFieldName()

static getFieldName (   $class,
  $member 
)
static

Definition at line 152 of file Reflexion.php.

◆ getKeyFields()

static getKeyFields (   $instance)
static

Definition at line 31 of file Reflexion.php.

◆ getMembersAnnotationWithAnnotation()

static getMembersAnnotationWithAnnotation (   $class,
  $annotation 
)
static

Definition at line 96 of file Reflexion.php.

◆ getMembersNameWithAnnotation()

static getMembersNameWithAnnotation (   $class,
  $annotation 
)
static

Definition at line 118 of file Reflexion.php.

◆ getMembersWithAnnotation()

static getMembersWithAnnotation (   $class,
  $annotation 
)
static

Definition at line 107 of file Reflexion.php.

◆ getMemberValue()

static getMemberValue (   $instance,
  $member 
)
static

Definition at line 35 of file Reflexion.php.

◆ getMethodParameters()

static getMethodParameters ( \ReflectionMethod  $method)
static

Definition at line 174 of file Reflexion.php.

◆ getMethods()

static getMethods (   $instance,
  $filter = null 
)
static

Definition at line 25 of file Reflexion.php.

◆ getProperties()

static getProperties (   $instance)
static

Definition at line 16 of file Reflexion.php.

◆ getPropertiesAndValues()

static getPropertiesAndValues (   $instance,
  $props = NULL 
)
static

Definition at line 59 of file Reflexion.php.

◆ getProperty()

static getProperty (   $instance,
  $member 
)
static

Definition at line 51 of file Reflexion.php.

◆ getTableName()

static getTableName (   $class)
static

Definition at line 161 of file Reflexion.php.

◆ isNullable()

static isNullable (   $class,
  $member 
)
static

Definition at line 129 of file Reflexion.php.

◆ isSerializable()

static isSerializable (   $class,
  $member 
)
static

Definition at line 145 of file Reflexion.php.

◆ setMemberValue()

static setMemberValue (   $instance,
  $member,
  $value 
)
static

Definition at line 41 of file Reflexion.php.


The documentation for this class was generated from the following file: