[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/NamingStrategy/ -> MapNamingStrategy.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 89 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MapNamingStrategy:: (4 methods):
  __construct()
  flipMapping()
  hydrate()
  extract()


Class: MapNamingStrategy  - X-Ref

__construct(array $mapping, array $reverse = null)   X-Ref
Initialize.

param: array $mapping Map for name conversion on hydration
param: array $reverse Reverse map for name conversion on extraction

flipMapping(array $array)   X-Ref
Safelly flip mapping array.

param: array                    $array Array to flip
return: array                    Flipped array

hydrate($name)   X-Ref
Converts the given name so that it can be extracted by the hydrator.

param: string $name The original name
return: mixed  The hydrated name

extract($name)   X-Ref
Converts the given name so that it can be hydrated by the hydrator.

param: string $name The original name
return: mixed  The extracted name



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1