php-cloudfiles-http
[ class tree: php-cloudfiles-http ] [ index: php-cloudfiles-http ] [ all elements ]

Class: CF_Http

Source Location: /cloudfiles_http.php

Class Overview


HTTP/cURL wrapper for Cloud Files


Methods



Class Details

[line 82]
HTTP/cURL wrapper for Cloud Files

This class should not be used directly. It's only purpose is to abstract out the HTTP communication from the main API.




[ Top ]


Class Methods


constructor __construct [line 133]

CF_Http __construct( $api_version)



Parameters:

   $api_version  

[ Top ]

method add_cdn_container [line 357]

void add_cdn_container( $container_name, [ $ttl = 86400])



Parameters:

   $container_name  
   $ttl  

[ Top ]

method authenticate [line 221]

void authenticate( $user, $pass, [ $acct = NULL], [ $host = NULL])



Parameters:

   $user  
   $pass  
   $acct  
   $host  

[ Top ]

method close [line 1545]

void close( )



[ Top ]

method copy_object [line 1018]

void copy_object( $src_obj_name, $dest_obj_name, $container_name_source, $container_name_target, [ $metadata = NULL], [ $headers = NULL])



Parameters:

   $src_obj_name  
   $dest_obj_name  
   $container_name_source  
   $container_name_target  
   $metadata  
   $headers  

[ Top ]

method create_container [line 562]

void create_container( $container_name)



Parameters:

   $container_name  

[ Top ]

method delete_container [line 582]

void delete_container( $container_name)



Parameters:

   $container_name  

[ Top ]

method delete_object [line 1072]

void delete_object( $container_name, $object_name)



Parameters:

   $container_name  
   $object_name  

[ Top ]

method getAuthToken [line 1132]

void getAuthToken( )



[ Top ]

method getCDNMUrl [line 1122]

void getCDNMUrl( )



[ Top ]

method getStorageUrl [line 1127]

void getStorageUrl( )



[ Top ]

method get_error [line 1107]

void get_error( )



[ Top ]

method get_objects [line 666]

void get_objects( $cname, [ $limit = 0], [ $marker = NULL], [ $prefix = NULL], [ $path = NULL], [ $delimiter = NULL])



Parameters:

   $cname  
   $limit  
   $marker  
   $prefix  
   $path  
   $delimiter  

[ Top ]

method get_object_to_stream [line 789]

void get_object_to_stream( &$obj, [ &$resource = NULL], [ $hdrs = array()])



Parameters:

   &$obj  
   &$resource  
   $hdrs  

[ Top ]

method get_object_to_string [line 758]

void get_object_to_string( &$obj, [ $hdrs = array()])



Parameters:

   &$obj  
   $hdrs  

[ Top ]

method head_account [line 538]

void head_account( )



[ Top ]

method head_cdn_container [line 413]

void head_cdn_container( $container_name)



Parameters:

   $container_name  

[ Top ]

method head_container [line 723]

void head_container( $container_name)



Parameters:

   $container_name  

[ Top ]

method head_object [line 977]

void head_object( &$obj)



Parameters:

   &$obj  

[ Top ]

method list_cdn_containers [line 266]

void list_cdn_containers( $enabled_only)



Parameters:

   $enabled_only  

[ Top ]

method list_containers [line 456]

void list_containers( [ $limit = 0], [ $marker = NULL])



Parameters:

   $limit  
   $marker  

[ Top ]

method list_containers_info [line 497]

void list_containers_info( [ $limit = 0], [ $marker = NULL])



Parameters:

   $limit  
   $marker  

[ Top ]

method list_objects [line 613]

void list_objects( $cname, [ $limit = 0], [ $marker = NULL], [ $prefix = NULL], [ $path = NULL])



Parameters:

   $cname  
   $limit  
   $marker  
   $prefix  
   $path  

[ Top ]

method post_account [line 884]

void post_account( &$conn)



Parameters:

   &$conn  

[ Top ]

method post_container [line 911]

void post_container( &$cont)



Parameters:

   &$cont  

[ Top ]

method purge_from_cdn [line 305]

void purge_from_cdn( $path, [ $email = null])



Parameters:

   $path  
   $email  

[ Top ]

method put_object [line 825]

void put_object( &$obj, &$fp)



Parameters:

   &$obj  
   &$fp  

[ Top ]

method remove_cdn_container [line 385]

void remove_cdn_container( $container_name)



Parameters:

   $container_name  

[ Top ]

method setCFAuth [line 1137]

void setCFAuth( $cfs_auth, [ $servicenet = False])



Parameters:

   $cfs_auth  
   $servicenet  

[ Top ]

method setDebug [line 1112]

void setDebug( $bool)



Parameters:

   $bool  

[ Top ]

method setReadProgressFunc [line 1148]

void setReadProgressFunc( $func_name)



Parameters:

   $func_name  

[ Top ]

method setWriteProgressFunc [line 1153]

void setWriteProgressFunc( $func_name)



Parameters:

   $func_name  

[ Top ]

method ssl_use_cabundle [line 205]

void ssl_use_cabundle( [ $path = NULL])



Parameters:

   $path  

[ Top ]

method update_cdn_container [line 321]

void update_cdn_container( $container_name, [ $ttl = 86400], [ $cdn_log_retention = False], [ $cdn_acl_user_agent = ""], $cdn_acl_referrer)



Parameters:

   $container_name  
   $ttl  
   $cdn_log_retention  
   $cdn_acl_user_agent  
   $cdn_acl_referrer  

[ Top ]

method update_object [line 941]

void update_object( &$obj)



Parameters:

   &$obj  

[ Top ]


Documentation generated on Thu, 31 May 2012 05:57:47 -0500 by phpDocumentor 1.4.1