Skip to content

ModelsMap

Allow to get mapped classes without using magic methods

  • Full name: \Zemit\Support\ModelsMap

Properties

modelsMap

Store the mapped model classes

public string[] $modelsMap

Methods

getDI

public getDI(): \Phalcon\Di\DiInterface
  • This method is abstract.

getConfig

Retrieve the config from DI

public getConfig(): \Zemit\Bootstrap\Config

setModelsMap

Set the models mapping or retrieve the mapped models from the config

public setModelsMap(?array $modelsMap = null): void

Parameters:

Parameter Type Description
$modelsMap ?array

getModelsMap

Get an array of mapped models

public getModelsMap(): array

setClassMap

Map a new class

public setClassMap(string $map, string $class): void

Parameters:

Parameter Type Description
$map string
$class string

removeClassMap

Remove an existing class

public removeClassMap(string $map): void

Parameters:

Parameter Type Description
$map string

getClassMap

Return the class mapping

public getClassMap(string $class): string

Parameters:

Parameter Type Description
$class string

getBackupClass

Return the mapped class name of \Zemit\Models\Backup::class

public getBackupClass(): string

getAuditClass

Return the mapped class name of \Zemit\Models\Audit::class

public getAuditClass(): string

getAuditDetailClass

Return the mapped class name of \Zemit\Models\AuditDetail::class

public getAuditDetailClass(): string

getLogClass

Return the mapped class name of \Zemit\Models\Log::class

public getLogClass(): string

getEmailClass

Return the mapped class name of \Zemit\Models\Email::class

public getEmailClass(): string

getJobClass

Return the mapped class name of \Zemit\Models\Job::class

public getJobClass(): string

getFileClass

Return the mapped class name of \Zemit\Models\File::class

public getFileClass(): string

getSessionClass

Return the mapped class name of \Zemit\Models\Session::class

public getSessionClass(): string

getFlagClass

Return the mapped class name of \Zemit\Models\Flag::class

public getFlagClass(): string

getSettingClass

Return the mapped class name of \Zemit\Models\Setting::class

public getSettingClass(): string

getLangClass

Return the mapped class name of \Zemit\Models\Lang::class

public getLangClass(): string

getTranslateClass

Return the mapped class name of \Zemit\Models\Translate::class

public getTranslateClass(): string

getTranslateFieldClass

Return the mapped class name of \Zemit\Models\TranslateField::class

public getTranslateFieldClass(): string

getTranslateTableClass

Return the mapped class name of \Zemit\Models\TranslateTable::class

public getTranslateTableClass(): string

getWorkspaceClass

Return the mapped class name of \Zemit\Models\Workspace::class

public getWorkspaceClass(): string

getWorkspaceLangClass

Return the mapped class name of \Zemit\Models\WorkspaceLang::class

public getWorkspaceLangClass(): string

getPageClass

Return the mapped class name of \Zemit\Models\Page::class

public getPageClass(): string

getPostClass

Return the mapped class name of \Zemit\Models\Post::class

public getPostClass(): string

getTemplateClass

Return the mapped class name of \Zemit\Models\Template::class

public getTemplateClass(): string

getTableClass

Return the mapped class name of \Zemit\Models\Table::class

public getTableClass(): string

getFieldClass

Return the mapped class name of \Zemit\Models\Field::class

public getFieldClass(): string

getProfileClass

Return the mapped class name of \Zemit\Models\Profile::class

public getProfileClass(): string

getOauth2Class

Return the mapped class name of \Zemit\Models\Oauth2::class

public getOauth2Class(): string

getUserClass

Return the mapped class name of \Zemit\Models\User::class

public getUserClass(): string

getUserTypeClass

Return the mapped class name of \Zemit\Models\UserType::class

public getUserTypeClass(): string

getUserGroupClass

Return the mapped class name of \Zemit\Models\UserGroup::class

public getUserGroupClass(): string

getUserRoleClass

Return the mapped class name of \Zemit\Models\UserRole::class

public getUserRoleClass(): string

getUserFeatureClass

Return the mapped class name of \Zemit\Models\UserFeature::class

public getUserFeatureClass(): string

getRoleClass

Return the mapped class name of \Zemit\Models\Role::class

public getRoleClass(): string

getRoleRoleClass

Return the mapped class name of \Zemit\Models\RoleRole::class

public getRoleRoleClass(): string

getRoleFeatureClass

Return the mapped class name of \Zemit\Models\RoleFeature::class

public getRoleFeatureClass(): string

getGroupClass

Return the mapped class name of \Zemit\Models\Group::class

public getGroupClass(): string

getGroupRoleClass

Return the mapped class name of \Zemit\Models\GroupRole::class

public getGroupRoleClass(): string

getGroupTypeClass

Return the mapped class name of \Zemit\Models\GroupType::class

public getGroupTypeClass(): string

getGroupFeatureClass

Return the mapped class name of \Zemit\Models\GroupFeature::class

public getGroupFeatureClass(): string

getTypeClass

Return the mapped class name of \Zemit\Models\Type::class

public getTypeClass(): string

getFeatureClass

Return the mapped class name of \Zemit\Models\Feature::class

public getFeatureClass(): string