src/Alg/Object/MethodFactory.php
public static function call( $mixed, $methodName, $methodParameters = array(), $classParameters = array(), $checkMethod = TRUE, $allowProtected = FALSE )
	{
		if( is_object( $mixed ) )
			return self::callObjectMethod( $mixed, $methodName, $methodParameters, $checkMethod, $allowProtected );
		return self::callClassMethod( $mixed, $methodName, $classParameters, $methodParameters, $checkMethod, $allowProtected );
	}
public static function call( $mixed, $methodName, $methodParameters = array(), $classParameters = array(), $checkMethod = TRUE, $allowProtected = FALSE )
	{
		if( is_object( $mixed ) )
			return self::callObjectMethod( $mixed, $methodName, $methodParameters, $checkMethod, $allowProtected );
		return self::callClassMethod( $mixed, $methodName, $classParameters, $methodParameters, $checkMethod, $allowProtected );
	}
public static function call ( $ mixed , $ methodName , $ methodParameters = array ( ) , $ classParameters = array ( ) , $ checkMethod = TRUE , $ allowProtected = FALSE ) { if ( is_object ( $ mixed ) ) return self :: callObjectMethod ( $ mixed , $ methodName , $ methodParameters , $ checkMethod , $ allowProtected ) ; return self :: callClassMethod ( $ mixed , $ methodName , $ classParameters , $ methodParameters , $ checkMethod , $ allowProtected ) ; }
Calls a Method from a Class or Object with Method Parameters and Object Parameters if a Class is given.
@access		public
@static
@param		string|object	$mixed				Class Name or Object
@param		string			$methodName			Name of Method to call
@param		array			$methodParameters	List of Parameters for Method Call
@param		array			$classParameters	List of Parameters for Object Construction if Class is given
@param		boolean			$checkMethod		Flag: check if methods exists by default, disable for classes using __call
@param		boolean			$allowProtected		Flag: allow invoking protected and private methods (PHP 5.3.2+), default: no
@return		mixed			Result of called Method
Calls a Method from a Class or Object with Method Parameters and Object Parameters if a Class is given .