PHP Class RainLab\Blog\Models\PostImport

Inheritance: extends Backend\Models\ImportModel
Show file Open project: rainlab/blog-plugin

Public Properties

Property Type Description
$rules Validation rules
$table

Protected Properties

Property Type Description
$authorEmailCache
$categoryNameCache

Public Methods

Method Description
getDefaultAuthorOptions ( )
getPostCategoriesOptions ( )
importData ( $results, $sessionKey = null )

Protected Methods

Method Description
findAuthorFromEmail ( $data )
findDuplicatePost ( $data )
getCategoryIdsForPost ( $data )

Method Details

findAuthorFromEmail() protected method

protected findAuthorFromEmail ( $data )

findDuplicatePost() protected method

protected findDuplicatePost ( $data )

getCategoryIdsForPost() protected method

protected getCategoryIdsForPost ( $data )

getDefaultAuthorOptions() public method

getPostCategoriesOptions() public method

importData() public method

public importData ( $results, $sessionKey = null )

Property Details

$authorEmailCache protected property

protected $authorEmailCache

$categoryNameCache protected property

protected $categoryNameCache

$rules public property

Validation rules
public $rules

$table public property

public $table