[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/DeveloperGarden/Client/ -> ClientAbstract.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 430 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  __construct()
  setOption()
  getOption()
  getSoapClient()
  setEnvironment()
  getEnvironment()
  getWsdl()
  setUseLocalWsdl()
  setWsdl()
  setLocalWsdl()
  getClientOptions()
  getCredential()
  _buildConstArray()
  getParticipantActions()
  checkParticipantAction()
  getEnvironments()
  checkEnvironment()

Functions
Functions that are not part of a class:

__construct(array $options = array()   X-Ref
constructor

param: array $options Associative array of options

setOption($name, $value)   X-Ref
Set an option

param: string $name
param: mixed $value
return: Zend_Service_DeveloperGarden_Client_ClientAbstract

getOption($name)   X-Ref
get an option value from the internal options object

param: string $name
return: mixed

getSoapClient()   X-Ref
returns the internal soap client
if not allready exists we create an instance of
Zend_Soap_Client

return: Zend_Service_DeveloperGarden_Client_Soap

setEnvironment($environment)   X-Ref
sets new environment

param: int $environment
return: Zend_Service_DeveloperGarden_Client_ClientAbstract

getEnvironment()   X-Ref
returns the current configured environemnt

return: int

getWsdl()   X-Ref
returns the wsdl file path, a uri or the local path

return: string

setUseLocalWsdl($use = true)   X-Ref
switch to the local wsdl file usage

param: boolen $use
return: Zend_Service_DeveloperGarden_Client_ClientAbstract

setWsdl($wsdlFile = null)   X-Ref
sets a new wsdl file

param: string $wsdlFile
return: Zend_Service_DeveloperGarden_Client_ClientAbstract

setLocalWsdl($wsdlFile = null)   X-Ref
sets a new local wsdl file

param: string $wsdlFile
return: Zend_Service_DeveloperGarden_Client_ClientAbstract

getClientOptions()   X-Ref
returns an array with configured options for this client

return: array

getCredential()   X-Ref
returns the internal credential object

return: Zend_Service_DeveloperGarden_Credential

_buildConstArray()   X-Ref
helper method to create const arrays

return: null

getParticipantActions()   X-Ref
returns an array of all available environments

return: array

checkParticipantAction($action)   X-Ref
checks if the given action is valid
otherwise it @throws Zend_Service_DeveloperGarden_Exception

param: int $action
return: void

getEnvironments()   X-Ref
returns an array of all available environments

return: array

checkEnvironment($environment)   X-Ref
checks if the given environemnt is valid
otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception

param: int $environment
return: void



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1