EasyBlogMailboxAdapterPost
extends EasyBlogMailboxAdapter
in package
Table of Contents
Methods
- __construct() : mixed
- execute() : mixed
- Imports blog posts from a specific email address
- getMailbox() : mixed
- Retrieves the mailbox object
- getMessage() : mixed
- Retrieves the message data
- getMessageAttachments() : mixed
- Processes attachments in an email
- getMessageContents() : mixed
- Formats the content from the email to a normal blog content
- getSender() : mixed
- Retrieve the sender details
- import() : mixed
- isSenderAllowed() : mixed
- Filter senders
- map() : mixed
- Mapping services
- markAsRead() : mixed
- search() : mixed
- Searches the mailbox for specific criteria on the title
- checkRequirements() : mixed
- Check for requirements
- setNextRunTime() : mixed
- Set the next run time for remote publishing
Methods
__construct()
public
__construct() : mixed
execute()
Imports blog posts from a specific email address
public
execute() : mixed
Tags
getMailbox()
Retrieves the mailbox object
public
getMailbox() : mixed
Tags
getMessage()
Retrieves the message data
public
getMessage(mixed $index) : mixed
Parameters
- $index : mixed
Tags
getMessageAttachments()
Processes attachments in an email
public
getMessageAttachments(EasyBlogMailboxMessage $message, EasyBlogPost &$blog, mixed &$contents[, mixed $authorId = null ]) : mixed
Parameters
- $message : EasyBlogMailboxMessage
- $blog : EasyBlogPost
- $contents : mixed
- $authorId : mixed = null
Tags
getMessageContents()
Formats the content from the email to a normal blog content
public
getMessageContents(EasyBlogMailboxMessage $message[, mixed $format = 'html' ]) : mixed
Parameters
- $message : EasyBlogMailboxMessage
- $format : mixed = 'html'
Tags
getSender()
Retrieve the sender details
public
getSender(mixed $data) : mixed
Parameters
- $data : mixed
Tags
import()
public
import(mixed $index) : mixed
Parameters
- $index : mixed
isSenderAllowed()
Filter senders
public
isSenderAllowed(mixed $sender) : mixed
Parameters
- $sender : mixed
Tags
map()
Mapping services
public
map(mixed $type, mixed $file, EasyBlogPost &$blog, mixed &$contents, mixed &$authorId, mixed $index) : mixed
Parameters
- $type : mixed
- $file : mixed
- $blog : EasyBlogPost
- $contents : mixed
- $authorId : mixed
- $index : mixed
Tags
markAsRead()
public
markAsRead(mixed $index) : mixed
Parameters
- $index : mixed
search()
Searches the mailbox for specific criteria on the title
public
search([mixed $criteria = '' ]) : mixed
Parameters
- $criteria : mixed = ''
Tags
checkRequirements()
Check for requirements
private
checkRequirements() : mixed
Tags
setNextRunTime()
Set the next run time for remote publishing
private
setNextRunTime() : mixed