Packagecom.absentdesign.core.webapis.wordpress.methodgroups
Classpublic class Blogs
InheritanceBlogs Inheritance WPMethodGroup Inheritance MethodGroup Inheritance flash.events.EventDispatcher

concrete WPMethodGroup for retrieving a the user's blogs



Public Properties
 PropertyDefined by
 InheritedblogId : int
WPMethodGroup
 Inheritedpassword : String
WPMethodGroup
 Inheritedusername : String
WPMethodGroup
Protected Properties
 PropertyDefined by
 Inheritedhelper : MethodGroupHelper
MethodGroup
 InheritedrequestArgs : Array
WPMethodGroup
 InheritedrequestFunction : Function
WPMethodGroup
 Inheritedservice : Service
MethodGroup
Public Methods
 MethodDefined by
  
Blogs(service:WPService)
Blogs
  
Wrapper for wp.getUsersBlogs - gets a list of the user's blogs

Will dispatch a ServiceEvent of type WPServiceEvent.GET_USERS_BLOGS with an array of blogs as the WPServiceEvent.data once loaded

Blogs
 Inherited
load(request:ServiceRequest):void
MethodGroup
 Inherited
loadRequest(request:WPServiceRequest, requestFunction:Function, ... args):void
Load a WPServiceRequest

Automatically calls service.connect() and delays the request until the service is connected if the WPService does not return a valid blogId

WPMethodGroup
Protected Methods
 MethodDefined by
 Inherited
processAndDispatch(event:Event):void
Process the result using WPMethodGroupHelper and dispatch a ServiceEvent of type request.eventType with the parsed data
WPMethodGroup
 Inherited
Re-submits a delayed call if the service needed to connect or was connecting while the call was made
WPMethodGroup
Constructor detail
Blogs()constructor
public function Blogs(service:WPService)Parameters
service:WPService
Method detail
getUsersBlogs()method
public function getUsersBlogs():void

Wrapper for wp.getUsersBlogs - gets a list of the user's blogs

Will dispatch a ServiceEvent of type WPServiceEvent.GET_USERS_BLOGS with an array of blogs as the WPServiceEvent.data once loaded