interface FileModelInterface

Methods

$this
setParentId( int $parentId)

Set file parent id

int
getParentId()

Get file parent id

string
getFile()

No description

setFile( string $file)

No description

getUpdateFormId()

Get the ID of the form used to change this object information

string
getUploadDir()

No description

string
getRedirectionUrl()

No description

ModelCriteria
getQueryInstance()

Get the Query instance for this object

mixed
save()

Save the model object.

mixed
delete()

Delete the model object.

int
getId()

Get the model object ID

setTitle( string $title)

Set the current title

getTitle()

Get the current title

setChapo( string $chapo)

Set the chapo

setDescription( string $description)

Set the description

setPostscriptum( string $postscriptum)

Set the postscriptum

setLocale( string $locale)

Set the current locale

setVisible( bool $visible)

Set the current locale

Details

at line 28
$this setParentId( int $parentId)

Set file parent id

Parameters

int $parentId parent id

Return Value

$this

at line 35
int getParentId()

Get file parent id

Return Value

int parent id

at line 40
string getFile()

Return Value

string the file name

at line 45
setFile( string $file)

Parameters

string $file the file name

at line 50
FileModelParentInterface getParentFileModel()

Return Value

FileModelParentInterface the parent file model

at line 57
BaseForm getUpdateFormId()

Get the ID of the form used to change this object information

Return Value

BaseForm the form

at line 62
string getUploadDir()

Return Value

string the path to the upload directory where files are stored, without final slash

at line 69
string getRedirectionUrl()

Return Value

string the URL to redirect to after update from the back-office

at line 76
ModelCriteria getQueryInstance()

Get the Query instance for this object

Return Value

ModelCriteria

at line 83
mixed save()

Save the model object.

Return Value

mixed

at line 90
mixed delete()

Delete the model object.

Return Value

mixed

at line 97
int getId()

Get the model object ID

Return Value

int

at line 104
setTitle( string $title)

Set the current title

Parameters

string $title the title in the current locale

at line 112
FileModelInterface getTitle()

Get the current title

Return Value

FileModelInterface

at line 120
FileModelInterface setChapo( string $chapo)

Set the chapo

Parameters

string $chapo the chapo in the current locale

Return Value

FileModelInterface

at line 128
FileModelInterface setDescription( string $description)

Set the description

Parameters

string $description the description in the current locale

Return Value

FileModelInterface

at line 136
FileModelInterface setPostscriptum( string $postscriptum)

Set the postscriptum

Parameters

string $postscriptum the postscriptum in the current locale

Return Value

FileModelInterface

at line 144
FileModelInterface setLocale( string $locale)

Set the current locale

Parameters

string $locale the locale string

Return Value

FileModelInterface

at line 152
FileModelInterface setVisible( bool $visible)

Set the current locale

Parameters

bool $visible true if the file is visible, false otherwise

Return Value

FileModelInterface