Kajona\System\Admin\Formentries\FormentryFiledropdown

A dropdown used to select a single file out of a mapped folder.

Therefore the path of the folder to be scanned for files may be passed by an annotation "@fieldSourceDir", too.
Useful for selecting an image out of a folder or s.th. similar.

Synopsis

class FormentryFiledropdown extends FormentryBase implements FormentryInterface {
  • // constants
  • const STR_SOURCEDIR_ANNOTATION = "@fieldSourceDir";
}

Hierarchy

Constants

Name Value
STR_SOURCEDIR_ANNOTATION "@fieldSourceDir"

Methods

private

public

Inherited from Kajona\System\Admin\Formentries\FormentryBase

protected

public