GalleryStatus create(
int
$parentId, string
$inputFileName, string
$mimeType, [string
$targetName = null], [boolean
$symlink = false]
)
|
|
Create a new GalleryUnknownItem from an image file
Parameters:
int |
$parentId: |
the id of the parent GalleryItem |
string |
$inputFileName: |
the path to the source image |
string |
$mimeType: |
|
string |
$targetName: |
the desired name of the new item |
boolean |
$symlink: |
(optional) a boolean true if we should symlink instead of copy (default is false). |
API Tags:
Redefinition of:
- GalleryDataItem::create()
- Create a new instance of this type in the persistent store.
void itemTypeName(
[
$localized = true]
)
|
|
Parameters:
API Tags:
Staticvar: | mimeMap $mimeMap: array(mimeTypePattern => array(CapName,name)) |
See: | GalleryEntity::itemTypeName |
Redefinition of:
- GalleryEntity::itemTypeName()
- Return the name of this type of item.