Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
CMIS_Common Class Reference

Public Member Functions

 CMIS_Common ()
 
 connect ($wsdl, $conn_info)
 
 getRepositories ()
 
 getRepositoryInfo ($repositoryId)
 
 getTypeDefinition ($repositoryId, $typeId)
 
 getChildren ($repositoryId, $folderId)
 
 getContentStream ($repositoryId, $objectId)
 
 processSoapRequest ()
 

Data Fields

 $security_header = NULL
 
 $ptr = NULL
 

Detailed Description

Definition at line 30 of file cmis_common.inc.

Member Function Documentation

Constructor

Definition at line 52 of file cmis_common.inc.

connect (   $wsdl,
  $conn_info 
)

Connect to a CMIS SOAP server

Parameters
string$wsdlthe WSDL URL we need to use
array$conn_infoinformation used to create the SOAP connection,
                            Array (
                            'username'      => the username used to connect to the CMIS server,
                                'password'      => the password used to connect to the CMIS server,
                                'ws_security'   => [0|1] whether to send WS-Security Headers,
                            'verify'        => [0|1] whether to test the connection,
                                'service_name'  => see CMIS_Bridge::getServices(),
                                    )
Returns
boolean public

Definition at line 76 of file cmis_common.inc.

getChildren (   $repositoryId,
  $folderId 
)

Get Children using CMIS Navigation Service

Parameters
string$repositoryId
string$folderId
Returns
object public

Definition at line 254 of file cmis_common.inc.

getContentStream (   $repositoryId,
  $objectId 
)

Get Content Stream using CMIS Object Service

Parameters
string$repositoryId
string$objectId
Returns
string public

Definition at line 286 of file cmis_common.inc.

getRepositories ( )

Get Repositories using CMIS Repository Service

Returns
object public

Definition at line 158 of file cmis_common.inc.

getRepositoryInfo (   $repositoryId)

Get Repository Info using CMIS Repository Service

Parameters
string$repositoryId
Returns
object public

Definition at line 190 of file cmis_common.inc.

getTypeDefinition (   $repositoryId,
  $typeId 
)

Get Type Definition using CMIS Repository Service

Parameters
string$repositoryId
string$typeId
Returns
object public

Definition at line 222 of file cmis_common.inc.

processSoapRequest ( )

Transform the last SOAP XML response into an object and binary string. This is because the response is multi-part and PHP Soap Client can't handle it. Will use Mail_mimeDecode Pear library to decode this response.

Returns
array public

Definition at line 320 of file cmis_common.inc.


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