| Package | eu.orangeflash.webapis.wp |
| Class | public class WP |
| Inheritance | WP Client flash.events.EventDispatcher |
| Implements | IClient |
| Subclasses | WordPress |
| Property | Defined by | ||
|---|---|---|---|
| blogID : String
Unique blog id.
| WP | ||
| lastResult : Object [read-only]
Stores last result from last invocation of Method.result event.
| WP | ||
| login : String
You blog login.
| WP | ||
| password : String
Your password.
| WP | ||
![]() | serviceURL : String
Indicates service end point (i.e http://orangeflash.eu/xmlrpc.php).
| Client | |
| Method | Defined by | ||
|---|---|---|---|
|
WP()
| WP | ||
|
deletePost(postID:String, publish:Boolean = true):WPMethod
Method, invokes blogger.deletePost operation.
| WP | ||
|
Method, invokes metaWeblog.editPost operation.
| WP | ||
|
Method, invokes mt.getCategoryList, returns array of the
Category instances
| WP | ||
|
Method, invokes metaWeblog.getPost operation, request returns
Content - information about a specific post. | WP | ||
|
getPostCategories(postID:String):WPMethod
Method, returns categories for given post
| WP | ||
|
getRecentPosts(numberOfPosts:int):WPMethod
Returns a list of the most recent posts in the system.
| WP | ||
|
getRecentPostTitles(numberOfPosts:int):WPMethod
Returns a bandwidth-friendly list of the most recent posts in the system.
| WP | ||
|
getTrackbackPings(postID:String):WPMethod
Retrieve the list of TrackBack pings posted to a particular entry.
| WP | ||
|
Invokes XML-RPC operation.
| WP | ||
|
Creates a new post, and optionally publishes it.
| WP | ||
| blogID | property |
blogID:String [read-write]Unique blog id. Please remmember, that blogID, password and login properties have to be set, before you start to use client.
This property can be used as the source for data binding.
Implementation public function get blogID():String
public function set blogID(value:String):void
| lastResult | property |
lastResult:Object [read-only]Stores last result from last invocation of Method.result event.
This property can be used as the source for data binding.
Implementation public function get lastResult():Object
| login | property |
login:String [read-write]You blog login. Please remmember, that blogID, password and login properties have to be set, before you start to use client.
This property can be used as the source for data binding.
Implementation public function get login():String
public function set login(value:String):void
| password | property |
password:String [read-write]Your password. Please remmember, that blogID, password and login properties have to be set, before you start to use client.
This property can be used as the source for data binding.
Implementation public function get password():String
public function set password(value:String):void
| WP | () | constructor |
public function WP()
| deletePost | () | method |
public function deletePost(postID:String, publish:Boolean = true):WPMethodMethod, invokes blogger.deletePost operation. Deletes a post.
ParameterspostID:String — String, post unique id.
|
|
publish:Boolean (default = true) — Boolean, honestly i dont know what does it mean.
|
WPMethod —
WPMethod reference.
|
| editPost | () | method |
public function editPost(postID:String, content:Content, publish:Boolean):WPMethodMethod, invokes metaWeblog.editPost operation. Updates information about an existing post.
ParameterspostID:String — String, post unique id.
|
|
content:Content — Content |
|
publish:Boolean — Boolean, publish state, true if post should be published, and false if draft.
|
WPMethod —
WPMethod reference.
|
| getCategories | () | method |
public function getCategories():WPMethod
Method, invokes mt.getCategoryList, returns array of the Category instances
WPMethod —
WPMethod reference.
|
| getPost | () | method |
public function getPost(postID:String):WPMethod
Method, invokes metaWeblog.getPost operation, request returns Content - information about a specific post.
postID:String — String, post unique id.
|
WPMethod —
Content instance.
|
| getPostCategories | () | method |
public function getPostCategories(postID:String):WPMethodMethod, returns categories for given post
ParameterspostID:String — String, unique post id.
|
WPMethod —
WPMethod instance.
|
| getRecentPosts | () | method |
public function getRecentPosts(numberOfPosts:int):WPMethodReturns a list of the most recent posts in the system.
ParametersnumberOfPosts:int — Ammount of post to be returned
|
WPMethod —
WPMethod instance.
|
| getRecentPostTitles | () | method |
public function getRecentPostTitles(numberOfPosts:int):WPMethodReturns a bandwidth-friendly list of the most recent posts in the system.
ParametersnumberOfPosts:int — Ammount of titles to be returned
|
WPMethod —
WPMethod instance.
|
| getTrackbackPings | () | method |
public function getTrackbackPings(postID:String):WPMethodRetrieve the list of TrackBack pings posted to a particular entry. This could be used to programmatically retrieve the list of pings for a particular entry, then iterate through each of those pings doing the same, until one has built up a graph of the web of entries referencing one another on a particular topic.
ParameterspostID:String — String, post unique id.
|
WPMethod —
WPMethod instance.
|
| invoke | () | method |
public override function invoke(methodName:String, ... args):IMethodCallInvokes XML-RPC operation.
Invokes method on server.
ParametersmethodName:String — String, method name.
|
|
... args — Rest, method arguments.
|
IMethodCall —
IMethodCall instance.
|
| newPost | () | method |
public function newPost(content:Content, publish:Boolean):WPMethodCreates a new post, and optionally publishes it.
Parameterscontent:Content — Content instance with post information.
|
|
publish:Boolean — Boolean.
|
WPMethod —
WPMethod instance.
|