PHP Класс NativeExportFilter, pkp-lib

Наследование: extends NativeImportExportFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $filterGroup ) Constructor
createLocalizedNodes ( $doc, $parentNode, $name, $values ) Create a set of child nodes of parentNode containing the localeKey => value data representing translated content.
createOptionalNode ( $doc, $parentNode, $name, $value ) : DOMElement | null Create an optional node with a name and value.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

createLocalizedNodes() публичный Метод

Create a set of child nodes of parentNode containing the localeKey => value data representing translated content.
public createLocalizedNodes ( $doc, $parentNode, $name, $values )
$doc DOMDocument
$parentNode DOMNode
$name string Node name
$values array Array of locale key => value mappings

createOptionalNode() публичный Метод

Create an optional node with a name and value.
public createOptionalNode ( $doc, $parentNode, $name, $value ) : DOMElement | null
$doc DOMDocument
$parentNode DOMElement
$name string
$value string|null
Результат DOMElement | null