class Type (View source)

Methods

static Type
add(string $fslTypeHandle, string $fslTypeName, int|Package $pkg = false)

No description

static null|Type
getByID(int $id)

No description

static Type
getByHandle($fslTypeHandle)

No description

static Type[]
getList()

Returns an array of \Concrete\Core\Entity\File\StorageLocation\Type\Type objects.

static Type[]
getListByPackage(Package $pkg)

Return an array of AuthenticationTypes that are associated with a specific package.

Details

static Type add(string $fslTypeHandle, string $fslTypeName, int|Package $pkg = false)

No description

Parameters

string $fslTypeHandle
string $fslTypeName
int|Package $pkg

Return Value

Type

static null|Type getByID(int $id)

No description

Parameters

int $id

Return Value

null|Type

static Type getByHandle($fslTypeHandle)

No description

Parameters

$fslTypeHandle

Return Value

Type

static Type[] getList()

Returns an array of \Concrete\Core\Entity\File\StorageLocation\Type\Type objects.

Return Value

Type[]

static Type[] getListByPackage(Package $pkg)

Return an array of AuthenticationTypes that are associated with a specific package.

Parameters

Package $pkg

Return Value

Type[]