Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\Persistence\Legacy\Content\Language\Mapper Class Reference

Language Mapper. More...

## Public Member Functions
| createLanguageFromCreateStruct (CreateStruct $struct)
| Creates a Language from $struct. More...
| extractLanguagesFromRows (array $rows, string $key='locale')
| Extracts Language objects from $rows. More...

## Detailed Description

Language Mapper.

Definition at line 15 of file Publish/Core/Persistence/Legacy/Content/Language/Mapper.php.

## Member Function Documentation

## ◆ createLanguageFromCreateStruct()

eZ\Publish\Core\Persistence\Legacy\Content\Language\Mapper::createLanguageFromCreateStruct | ( | CreateStruct | $struct | ) |

Creates a Language from $struct.

Parameters

  \eZ\Publish\SPI\Persistence\Content\Language\CreateStruct | $struct |

Returns
  \eZ\Publish\SPI\Persistence\Content\Language

Definition at line 24 of file Publish/Core/Persistence/Legacy/Content/Language/Mapper.php.

## ◆ extractLanguagesFromRows()

eZ\Publish\Core\Persistence\Legacy\Content\Language\Mapper::extractLanguagesFromRows | ( | array | $rows,
|  | string | $key = `'locale'`
| ) |  |

Extracts Language objects from $rows.

Parameters

  array | $rows |
  string | $key | Column name for use as key in returned array.

Returns
  \eZ\Publish\SPI\Persistence\Content\Language[]

Definition at line 43 of file Publish/Core/Persistence/Legacy/Content/Language/Mapper.php.

The documentation for this class was generated from the following file:

- Publish/Core/Persistence/Legacy/Content/Language/Mapper.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.