API - XOOPS 2.5.11 Beta 2
By monxoops.fr
BasicObject Class Reference
Inheritance diagram for BasicObject:

Public Member Functions

 __construct ()
 
 addRepresentation (Representation $rep, $pos=null)
 
 replaceRepresentation (Representation $rep, $pos=null)
 
 removeRepresentation ($rep)
 
 getRepresentation ($name)
 
 getRepresentations ()
 
 clearRepresentations ()
 
 getType ()
 
 getModifiers ()
 
 getAccess ()
 
 getName ()
 
 getOperator ()
 
 getSize ()
 
 getValueShort ()
 
 getAccessPath ()
 
 transplant (BasicObject $old)
 

Static Public Member Functions

static blank ($name=null, $access_path=null)
 
static sortByAccess (BasicObject $a, BasicObject $b)
 
static sortByName (BasicObject $a, BasicObject $b)
 

Data Fields

const ACCESS_NONE = null
 
const ACCESS_PUBLIC = 1
 
const ACCESS_PROTECTED = 2
 
const ACCESS_PRIVATE = 3
 
const OPERATOR_NONE = null
 
const OPERATOR_ARRAY = 1
 
const OPERATOR_OBJECT = 2
 
const OPERATOR_STATIC = 3
 
 $name
 
 $type
 
 $static = false
 
 $const = false
 
 $access = self::ACCESS_NONE
 
 $owner_class
 
 $access_path
 
 $operator = self::OPERATOR_NONE
 
 $reference = false
 
 $depth = 0
 
 $size
 
 $value
 
 $hints = array()
 

Protected Attributes

 $representations = array()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ addRepresentation()

addRepresentation ( Representation  $rep,
  $pos = null 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ blank()

static blank (   $name = null,
  $access_path = null 
)
static

Creates a new basic object with a name and access path.

Parameters
null | string$name
null | string$access_path
Returns
\Kint\Object\BasicObject
Here is the caller graph for this function:

◆ clearRepresentations()

clearRepresentations ( )
Here is the caller graph for this function:

◆ getAccess()

getAccess ( )
Here is the caller graph for this function:

◆ getAccessPath()

getAccessPath ( )

Reimplemented in ClosureObject, and MethodObject.

Here is the caller graph for this function:

◆ getModifiers()

getModifiers ( )

Reimplemented in MethodObject.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getName()

getName ( )

Reimplemented in ParameterObject.

Here is the caller graph for this function:

◆ getOperator()

getOperator ( )
Here is the caller graph for this function:

◆ getRepresentation()

getRepresentation (   $name)
Here is the caller graph for this function:

◆ getRepresentations()

getRepresentations ( )
Here is the caller graph for this function:

◆ getSize()

getSize ( )

Reimplemented in ClosureObject, and TraceObject.

Here is the caller graph for this function:

◆ getType()

getType ( )

Reimplemented in BlobObject, InstanceObject, ParameterObject, ResourceObject, and TraceObject.

Here is the caller graph for this function:

◆ getValueShort()

getValueShort ( )

Reimplemented in BlobObject, DateTimeObject, MethodObject, StreamObject, and ThrowableObject.

Here is the caller graph for this function:

◆ removeRepresentation()

removeRepresentation (   $rep)
Here is the caller graph for this function:

◆ replaceRepresentation()

replaceRepresentation ( Representation  $rep,
  $pos = null 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sortByAccess()

static sortByAccess ( BasicObject  $a,
BasicObject  $b 
)
static
Here is the caller graph for this function:

◆ sortByName()

static sortByName ( BasicObject  $a,
BasicObject  $b 
)
static
Here is the caller graph for this function:

◆ transplant()

transplant ( BasicObject  $old)

Reimplemented in BlobObject, InstanceObject, and ResourceObject.

Here is the caller graph for this function:

Field Documentation

◆ $access

$access = self::ACCESS_NONE

◆ $access_path

$access_path

◆ $const

$const = false

◆ $depth

$depth = 0

◆ $hints

$hints = array()

◆ $name

$name

◆ $operator

$operator = self::OPERATOR_NONE

◆ $owner_class

$owner_class

◆ $reference

$reference = false

◆ $representations

$representations = array()
protected

◆ $size

$size

◆ $static

$static = false

◆ $type

$type

◆ $value

$value

◆ ACCESS_NONE

const ACCESS_NONE = null

◆ ACCESS_PRIVATE

const ACCESS_PRIVATE = 3

◆ ACCESS_PROTECTED

const ACCESS_PROTECTED = 2

◆ ACCESS_PUBLIC

const ACCESS_PUBLIC = 1

◆ OPERATOR_ARRAY

const OPERATOR_ARRAY = 1

◆ OPERATOR_NONE

const OPERATOR_NONE = null

◆ OPERATOR_OBJECT

const OPERATOR_OBJECT = 2

◆ OPERATOR_STATIC

const OPERATOR_STATIC = 3

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