Documentation

ExImport

Table of Contents

Methods

getCategories()  : array<string|int, mixed>
Get the folder tree of a taxonomy for import process.
import()  : mixed
importFileBird()  : mixed
importMlf()  : mixed
importShortcuts()  : mixed
importTaxonomy()  : mixed
clearImportData()  : mixed
Clear importData and importId in posts and folder table.
importTreeRecursively()  : mixed
Import a tree with __children array and __metas array recursively.

Methods

getCategories()

Get the folder tree of a taxonomy for import process.

public getCategories(string $tax) : array<string|int, mixed>
Parameters
$tax : string
Return values
array<string|int, mixed>

import()

public import(mixed $tree) : mixed
Parameters
$tree : mixed

importFileBird()

public importFileBird() : mixed

importShortcuts()

public importShortcuts() : mixed

importTaxonomy()

public importTaxonomy(mixed $tax) : mixed
Parameters
$tax : mixed

clearImportData()

Clear importData and importId in posts and folder table.

private clearImportData() : mixed

importTreeRecursively()

Import a tree with __children array and __metas array recursively.

private importTreeRecursively(array<string|int, mixed> $tree[, int $idOffset = null ][, int $parent = null ]) : mixed
Parameters
$tree : array<string|int, mixed>

The tree, for example from $this::getFolders()

$idOffset : int = null

The id offset for inserting unique keys

$parent : int = null

THe parent for the import


        
On this page

Search results