Documentation

EntityInterface implements Exportable, Importable

EntityInterface Class

This class used to convert the entity objects into array and array into entity objects

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

Project Team SS4U info@cloudrexx.com

subpackage

coremodule_listing

Table of Contents

Interfaces

Exportable
Exportable
Importable
Importable

Properties

$entityClass  : mixed

Methods

__construct()  : mixed
constructor
export()  : array<string|int, mixed>
This function is used to convert the array into entity objects.
getColumnNamesByEntity()  : array<string|int, mixed>
get column name and values form the given entity object
import()  : array<string|int, mixed>
This function is used to convert the entity object into array.
setEntityClass()  : mixed
set the entity class

Properties

Methods

export()

This function is used to convert the array into entity objects.

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

return as entity object array

getColumnNamesByEntity()

get column name and values form the given entity object

public getColumnNamesByEntity(object $entityObject) : array<string|int, mixed>
Parameters
$entityObject : object
Return values
array<string|int, mixed>

import()

This function is used to convert the entity object into array.

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

return as array

setEntityClass()

set the entity class

public setEntityClass(string $entityClass) : mixed
Parameters
$entityClass : string

        
On this page

Search results