TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AccessibleObjectInterface Interface Reference

Public Member Functions

 _call ($methodName)
 
 _callRef ($methodName, &$arg1=null, &$arg2=null, &$arg3=null, &$arg4=null, &$arg5=null, &$arg6=null, &$arg7=null, &$arg8=null, &$arg9=null)
 
 _set ($propertyName, $value)
 
 _setRef ($propertyName, &$value)
 
 _setStatic ($propertyName, $value)
 
 _get ($propertyName)
 
 _getStatic ($propertyName)
 

Detailed Description

This interface defines the methods provided by TYPO3::getAccessibleMock.::

Definition at line 20 of file AccessibleObjectInterface.php.

Member Function Documentation

_call (   $methodName)

Calls the method $method using call_user_func* and returns its return value.

Parameters
string$methodNamename of method to call, must not be empty
Returns
mixed the return value from the method $methodName
_callRef (   $methodName,
$arg1 = null,
$arg2 = null,
$arg3 = null,
$arg4 = null,
$arg5 = null,
$arg6 = null,
$arg7 = null,
$arg8 = null,
$arg9 = null 
)

Calls the method $method without using call_user_func* and returns its return value.

Parameters
string$methodNamename of method to call, must not be empty
mixed&$arg1first argument given to method $methodName
mixed&$arg2second argument given to method $methodName
mixed&$arg3third argument given to method $methodName
mixed&$arg4fourth argument given to method $methodName
mixed&$arg5fifth argument given to method $methodName
mixed&$arg6sixth argument given to method $methodName
mixed&$arg7seventh argument given to method $methodName
mixed&$arg8eighth argument given to method $methodName
mixed&$arg9ninth argument given to method $methodName
Returns
mixed the return value from the method $methodName
_get (   $propertyName)

Gets the value of the given property.

Parameters
string$propertyNamename of property to return value of, must not be empty
Returns
mixed the value of the property $propertyName
_getStatic (   $propertyName)

Gets the value of the given static property.

Parameters
string$propertyNamename of property to return value of, must not be empty
Returns
mixed the value of the static property $propertyName
_set (   $propertyName,
  $value 
)

Sets the value of a property.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed$valuethe new value for the property defined in $propertyName
Returns
void
_setRef (   $propertyName,
$value 
)

Sets the value of a property by reference.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed&$valuethe new value for the property defined in $propertyName
Returns
void
_setStatic (   $propertyName,
  $value 
)

Sets the value of a static property.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed$valuethe new value for the property defined in $propertyName
Returns
void