Interface luya\admin\base\TypesInterface

Implemented byluya\admin\base\CheckboxArrayProperty, luya\admin\base\CheckboxProperty, luya\admin\base\ImageProperty, luya\admin\base\Property, luya\admin\base\RadioProperty, luya\admin\ngrest\base\Plugin, luya\admin\ngrest\plugins\Angular, luya\admin\ngrest\plugins\Badge, luya\admin\ngrest\plugins\CheckboxList, luya\admin\ngrest\plugins\CheckboxRelation, luya\admin\ngrest\plugins\CheckboxRelationActiveQuery, luya\admin\ngrest\plugins\CmsPage, luya\admin\ngrest\plugins\Color, luya\admin\ngrest\plugins\Date, luya\admin\ngrest\plugins\Datetime, luya\admin\ngrest\plugins\Decimal, luya\admin\ngrest\plugins\File, luya\admin\ngrest\plugins\FileArray, luya\admin\ngrest\plugins\Hidden, luya\admin\ngrest\plugins\Html, luya\admin\ngrest\plugins\Image, luya\admin\ngrest\plugins\ImageArray, luya\admin\ngrest\plugins\Index, luya\admin\ngrest\plugins\Injector, luya\admin\ngrest\plugins\JsonObject, luya\admin\ngrest\plugins\Link, luya\admin\ngrest\plugins\MultipleInputs, luya\admin\ngrest\plugins\Number, luya\admin\ngrest\plugins\Password, luya\admin\ngrest\plugins\Raw, luya\admin\ngrest\plugins\Select, luya\admin\ngrest\plugins\SelectArray, luya\admin\ngrest\plugins\SelectArrayGently, luya\admin\ngrest\plugins\SelectAsyncApi, luya\admin\ngrest\plugins\SelectModel, luya\admin\ngrest\plugins\SelectRelationActiveQuery, luya\admin\ngrest\plugins\Slug, luya\admin\ngrest\plugins\SortRelation, luya\admin\ngrest\plugins\SortRelationArray, luya\admin\ngrest\plugins\SortRelationModel, luya\admin\ngrest\plugins\Sortable, luya\admin\ngrest\plugins\Text, luya\admin\ngrest\plugins\TextArray, luya\admin\ngrest\plugins\Textarea, luya\admin\ngrest\plugins\ToggleStatus, luya\admin\ngrest\plugins\Url, luya\admin\ngrest\plugins\Wysiwyg, luya\cms\base\InternalBaseBlock, luya\cms\base\PhpBlock, luya\cms\frontend\blocks\HtmlBlock, luya\cms\frontend\blocks\MirrorLanguageBlock, luya\cms\frontend\blocks\ModuleBlock
Available since version1.0.0
Source Code https://github.com/luyadev/luya-module-admin/blob/master/src/base/TypesInterface.php

TypesInterface represents all possible types for properties or blocks.

The zaa types array are angular directives in order to build forms.

  • If a type contain -array the return is an array with selections (array)
  • Otherwise only 1 value can be returned (scalar)