PHP Класс Akeneo\Component\SpreadsheetParser\Xlsx\Relationships

Автор: Antoine Guigan ([email protected])
Наследование: extends AbstractXMLResource
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$relationshipsPath string
$sharedStringPath string
$stylePath string
$workSheetPaths array

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

Метод Описание
__construct ( string $path ) Constructor
getSharedStringsPath ( ) : string Returns the path of the shared strings file inside the xlsx file
getStylesPath ( ) : string Returns the path of the styles XML file inside the xlsx file
getWorksheetPath ( string $id ) : string Returns the path of a worksheet file inside the xlsx file

Приватные методы

Метод Описание
storeRelationShipByType ( string $type, string $id, string $target ) stores the relationShip into the right variable

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

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

Constructor
public __construct ( string $path )
$path string the path to the XML relationships file

getSharedStringsPath() публичный метод

Returns the path of the shared strings file inside the xlsx file
public getSharedStringsPath ( ) : string
Результат string

getStylesPath() публичный метод

Returns the path of the styles XML file inside the xlsx file
public getStylesPath ( ) : string
Результат string

getWorksheetPath() публичный метод

Returns the path of a worksheet file inside the xlsx file
public getWorksheetPath ( string $id ) : string
$id string
Результат string

Описание свойств

$relationshipsPath защищенное свойство

protected string $relationshipsPath
Результат string

$sharedStringPath защищенное свойство

protected string $sharedStringPath
Результат string

$stylePath защищенное свойство

protected string $stylePath
Результат string

$workSheetPaths защищенное свойство

protected array $workSheetPaths
Результат array