Creates a new post object and returns that.
Automatically sets the driver object in the post.
Needs to be overwritten by drivers supporting multiple post types.
Parameters:
array getSupportedPostTypes(
)
|
|
Returns an array of supported post types. Pass one of them to createNewPost() to instantiate such a post object.
Useful for drivers that support multiple post types like normal post ("post"), video and such. Most drivers support posts only.
Needs to be overwritten by drivers supporting post types.