|
Moodle
2.2.1
http://www.collinsharper.com
|


| __construct | ( | $ | host = Zend_Service_WindowsAzure_Storage::URL_DEV_TABLE, |
| $ | accountName = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_ACCOUNT, |
||
| $ | accountKey = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_KEY, |
||
| $ | usePathStyleUri = false, |
||
| Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $ | retryPolicy = null |
||
| ) |
Creates a new Zend_Service_WindowsAzure_Storage_Table instance
| string | $host | Storage host name |
| string | $accountName | Account name for Windows Azure |
| string | $accountKey | Account key for Windows Azure |
| boolean | $usePathStyleUri | Use path-style URI's |
| Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy | Retry policy to use when making requests |
Reimplemented from Zend_Service_WindowsAzure_Storage.
| _changeEntity | ( | $ | httpVerb = Zend_Http_Client::PUT, |
| $ | tableName = '', |
||
| Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null, |
||
| $ | verifyEtag = false |
||
| ) | [protected] |
Update entity / merge entity
| string | $httpVerb | HTTP verb to use (PUT = update, MERGE = merge) |
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity | Entity to update |
| boolean | $verifyEtag | Verify etag of the entity (used for concurrency) |
| Zend_Service_WindowsAzure_Exception |
| _fillTemplate | ( | $ | templateText, |
| $ | variables = array() |
||
| ) | [protected] |
| _generateAzureRepresentation | ( | Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null | ) | [protected] |
Generate Azure representation from entity (creates atompub markup from properties)
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity |
| _getErrorMessage | ( | Zend_Http_Response $ | response, |
| $ | alternativeError = 'Unknown error.' |
||
| ) | [protected] |
Get error message from Zend_Http_Response
| Zend_Http_Response | $response | Repsonse |
| string | $alternativeError | Alternative error message |
Definition at line 668 of file Table.php.

| _rfcDate | ( | ) | [protected] |
| createTable | ( | $ | tableName = '' | ) |
Create table
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Exception |
Definition at line 206 of file Table.php.

| deleteEntity | ( | $ | tableName = '', |
| Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null, |
||
| $ | verifyEtag = false |
||
| ) |
Delete entity from table
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity | Entity to delete |
| boolean | $verifyEtag | Verify etag of the entity (used for concurrency) |
| Zend_Service_WindowsAzure_Exception |
| deleteTable | ( | $ | tableName = '' | ) |
Delete table
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Exception |
Definition at line 270 of file Table.php.

| insertEntity | ( | $ | tableName = '', |
| Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null |
||
| ) |
Insert entity into table
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity | Entity to insert |
| Zend_Service_WindowsAzure_Exception |
| listTables | ( | $ | nextTableName = '' | ) |
List tables
| string | $nextTableName | Next table name, used for listing tables when total amount of tables is > 1000. |
| Zend_Service_WindowsAzure_Exception |
Definition at line 149 of file Table.php.


| mergeEntity | ( | $ | tableName = '', |
| Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null, |
||
| $ | verifyEtag = false, |
||
| $ | properties = array() |
||
| ) |
Update entity by adding or updating properties
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity | Entity to update |
| boolean | $verifyEtag | Verify etag of the entity (used for concurrency) |
| array | $properties | Properties to merge. All properties will be used when omitted. |
| Zend_Service_WindowsAzure_Exception |
| retrieveEntities | ( | $ | tableName = '', |
| $ | filter = '', |
||
| $ | entityClass = 'Zend_Service_WindowsAzure_Storage_DynamicTableEntity', |
||
| $ | nextPartitionKey = null, |
||
| $ | nextRowKey = null |
||
| ) |
Retrieve entities from table
| string | $tableName,|Zend_Service_WindowsAzure_Storage_TableEntityQuery | Table name -or- Zend_Service_WindowsAzure_Storage_TableEntityQuery instance |
| string | $filter | Filter condition (not applied when $tableName is a Zend_Service_WindowsAzure_Storage_TableEntityQuery instance) |
| string | $entityClass | Entity class name |
| string | $nextPartitionKey | Next partition key, used for listing entities when total amount of entities is > 1000. |
| string | $nextRowKey | Next row key, used for listing entities when total amount of entities is > 1000. |
| Zend_Service_WindowsAzure_Exception |
| retrieveEntityById | ( | $ | tableName = '', |
| $ | partitionKey = '', |
||
| $ | rowKey = '', |
||
| $ | entityClass = 'Zend_Service_WindowsAzure_Storage_DynamicTableEntity' |
||
| ) |
Retrieve entity from table, by id
| string | $tableName | Table name |
| string | $partitionKey | Partition key |
| string | $rowKey | Row key |
| string | $entityClass | Entity class name* |
| Zend_Service_WindowsAzure_Exception |
| select | ( | ) |
Create a new Zend_Service_WindowsAzure_Storage_TableEntityQuery
| tableExists | ( | $ | tableName = '' | ) |
| updateEntity | ( | $ | tableName = '', |
| Zend_Service_WindowsAzure_Storage_TableEntity $ | entity = null, |
||
| $ | verifyEtag = false |
||
| ) |
Update entity by replacing it
| string | $tableName | Table name |
| Zend_Service_WindowsAzure_Storage_TableEntity | $entity | Entity to update |
| boolean | $verifyEtag | Verify etag of the entity (used for concurrency) |
| Zend_Service_WindowsAzure_Exception |