PHP Class Backend\Modules\Blog\Actions\ImportWordpress

Inheritance: extends Backend\Core\Engine\Base\ActionEdit
Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
execute ( ) Execute the action

Private Methods

Method Description
handleCategory ( string $category = '' ) : integer Handle the category of a post
handleUrls ( string $text, string $filter = '' ) : string Handle the urls inside a post
handleUser ( string $username = '' ) : integer Handle the user of a post
loadForm ( ) Load the form
processAttachment ( SimpleXMLElement $xml ) : boolean Import an attachment
processPost ( SimpleXMLElement $xml ) : boolean Import a blog post
processXML ( ) Process the xml
validateForm ( ) Validate the form

Method Details

execute() public method

Execute the action
public execute ( )