Public Member Functions |
| __construct ($config, $soap) |
| ldapSearch ($token, $name, $max_time, $max_results) |
| ldapFullSearch ($token, $filter, $max_time, $max_results) |
| sendMail ($to, $sujet, $contenu, $attachments, $cc, $bcc) |
| fetchUrl ($token, $request) |
| fetchRSS ($token, $url, $first=null, $count=null) |
| GetNymexQuotations ($token) |
| ListCrisisRoomUsers ($token) |
| ListAdvancedSearchSources ($token) |
Data Fields |
| $soap |
Protected Member Functions |
| _fetchUrl ($request) |
| _fetchUrlNoProxy ($request) |
Protected Attributes |
| $config = null |
Constructor & Destructor Documentation
Member Function Documentation
Fetch a document from the internet
- Parameters:
-
- Returns:
- WebDocument protected
Fetch a document from the intranet
- Parameters:
-
- Returns:
- WebDocument protected
fetchRSS |
( |
$ |
token, |
|
|
$ |
url, |
|
|
$ |
first = null , |
|
|
$ |
count = null |
|
) |
| |
Retrieve the content of an RSS feed
- Parameters:
-
string | $token | Session Identifier |
string | $url | Url of the feed |
int | $first | The first article to fetch [OPTIONAL] |
int | $count | The number of articles to fetch [OPTIONAL] |
- Returns:
- Channel The Rss Feed's channel and articles
Fetch a document from the internet
- Parameters:
-
string | $token | Session identifier |
WebRequest | $request | HTTP query |
- Returns:
- WebDocument
Gets the nymex market share quotations
- Parameters:
-
string | $token | The session identifier |
- Returns:
- NymexQuotation[]
Search the Commission's LDAP database
- Parameters:
-
string | $token | Session Identifier |
string | $filter | LDAP Query |
int | $max_time | Maximum duration of the LDAP request in seconds [OPTIONAL] |
int | $max_results | Maximum number of entries returned by the query [OPTIONAL] |
- Returns:
- LDAPResultSet
ldapSearch |
( |
$ |
token, |
|
|
$ |
name, |
|
|
$ |
max_time, |
|
|
$ |
max_results |
|
) |
| |
Search the Commission's LDAP database by name or user id
- Parameters:
-
string | $token | Session Identifier |
string | $name | A portion of the name to search (if not including any wildcards ('*') characters, it will be automatically appended AT THE END of the name) |
int | $max_time | Maximum duration of the LDAP request in seconds [OPTIONAL] |
int | $max_results | Maximum number of entries returned by the query [OPTIONAL] |
- Returns:
- LDAPResultSet
Lists the sources for the advanced search
- Parameters:
-
string | $token | The token identifier public |
- Returns:
- AdvancedSearch[]
List the crisis room users
- Parameters:
-
string | $token | The session identifier |
- Returns:
- string[]
sendMail |
( |
$ |
to, |
|
|
$ |
sujet, |
|
|
$ |
contenu, |
|
|
$ |
attachments, |
|
|
$ |
cc, |
|
|
$ |
bcc |
|
) |
| |
Send an e-mail message to a list of recipients
- Parameters:
-
| string[] | $to |
string | $sujet | |
string | $contenu | |
| Attachment[] | $attachments [OPTIONAL] |
| string[] | $cc List of recipients (Carbon copy) [OPTIONAL] |
| string[] | $bcc List of recipients (Blind carbon copy) [OPTIONAL] |
- Returns:
- boolean
Field Documentation
$config = null [protected] |
The documentation for this class was generated from the following file: