PHP Class Backend\Modules\Blog\Actions\ImportWordpress

Inheritance: extends Backend\Core\Engine\Base\ActionEdit
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

Méthode Description
execute ( ) Execute the action

Private Methods

Méthode 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 méthode

Execute the action
public execute ( )