PHP Класс Newscoop\Entity\Attachment

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contentDisposition string
$created DateTime
$description Newscoop\Entity\Translation
$extension string
$httpCharset string
$id integer
$language Newscoop\Entity\Language
$mimeType string
$name string
$sizeInBytes integer
$source string
$status string
$updated DateTime
$user Newscoop\Entity\User

Открытые методы

Метод Описание
getContentDisposition ( ) : string Gets the value of contentDisposition.
getCreated ( ) : DateTime Gets the value of created.
getDescription ( ) : Translation Gets the value of description.
getExtension ( ) : string Gets the value of extension.
getHttpCharset ( ) : string Gets the value of httpCharset.
getId ( ) : integer Gets the value of id.
getLanguage ( ) : Newscoop\Entity\Language Gets the value of language.
getMimeType ( ) : string Gets the value of mimeType.
getName ( ) : string Gets the value of name.
getSizeInBytes ( ) : integer Gets the value of sizeInBytes.
getSource ( ) : string Gets the value of source.
getStatus ( ) : string Gets the value of status.
getUpdated ( ) : DateTime Gets the value of updated.
getUser ( ) : Newscoop\Entity\User Gets the value of user.
getUserId ( ) : string Get User id
preUpdate ( )
setContentDisposition ( string $contentDisposition ) : self Sets the value of contentDisposition.
setCreated ( DateTime $created ) : self Sets the value of created.
setDescription ( Translation $description ) : self Sets the value of description.
setExtension ( string $extension ) : self Sets the value of extension.
setHttpCharset ( string $httpCharset ) : self Sets the value of httpCharset.
setId ( integer $id ) : self Sets the value of id.
setLanguage ( Language $language ) : self Sets the value of language.
setMimeType ( string $mimeType ) : self Sets the value of mimeType.
setName ( string $name ) : self Sets the value of name.
setSizeInBytes ( integer $sizeInBytes ) : self Sets the value of sizeInBytes.
setSource ( string $source ) : self Sets the value of source.
setStatus ( string $status ) : self Sets the value of status.
setUpdated ( DateTime $updated ) : self Sets the value of updated.
setUser ( mixed $user ) : self Sets the value of user.

Описание методов

getContentDisposition() публичный метод

Gets the value of contentDisposition.
public getContentDisposition ( ) : string
Результат string

getCreated() публичный метод

Gets the value of created.
public getCreated ( ) : DateTime
Результат DateTime

getDescription() публичный метод

Gets the value of description.
public getDescription ( ) : Translation
Результат Translation

getExtension() публичный метод

Gets the value of extension.
public getExtension ( ) : string
Результат string

getHttpCharset() публичный метод

Gets the value of httpCharset.
public getHttpCharset ( ) : string
Результат string

getId() публичный метод

Gets the value of id.
public getId ( ) : integer
Результат integer

getLanguage() публичный метод

Gets the value of language.
public getLanguage ( ) : Newscoop\Entity\Language
Результат Newscoop\Entity\Language

getMimeType() публичный метод

Gets the value of mimeType.
public getMimeType ( ) : string
Результат string

getName() публичный метод

Gets the value of name.
public getName ( ) : string
Результат string

getSizeInBytes() публичный метод

Gets the value of sizeInBytes.
public getSizeInBytes ( ) : integer
Результат integer

getSource() публичный метод

Gets the value of source.
public getSource ( ) : string
Результат string

getStatus() публичный метод

Gets the value of status.
public getStatus ( ) : string
Результат string

getUpdated() публичный метод

Gets the value of updated.
public getUpdated ( ) : DateTime
Результат DateTime

getUser() публичный метод

Gets the value of user.
public getUser ( ) : Newscoop\Entity\User
Результат Newscoop\Entity\User

getUserId() публичный метод

Get User id
public getUserId ( ) : string
Результат string

preUpdate() публичный метод

public preUpdate ( )

setContentDisposition() публичный метод

Sets the value of contentDisposition.
public setContentDisposition ( string $contentDisposition ) : self
$contentDisposition string the content disposition
Результат self

setCreated() публичный метод

Sets the value of created.
public setCreated ( DateTime $created ) : self
$created DateTime the created
Результат self

setDescription() публичный метод

Sets the value of description.
public setDescription ( Translation $description ) : self
$description Translation the description
Результат self

setExtension() публичный метод

Sets the value of extension.
public setExtension ( string $extension ) : self
$extension string the extension
Результат self

setHttpCharset() публичный метод

Sets the value of httpCharset.
public setHttpCharset ( string $httpCharset ) : self
$httpCharset string the http charset
Результат self

setId() публичный метод

Sets the value of id.
public setId ( integer $id ) : self
$id integer the id
Результат self

setLanguage() публичный метод

Sets the value of language.
public setLanguage ( Language $language ) : self
$language Language the language
Результат self

setMimeType() публичный метод

Sets the value of mimeType.
public setMimeType ( string $mimeType ) : self
$mimeType string the mime type
Результат self

setName() публичный метод

Sets the value of name.
public setName ( string $name ) : self
$name string the name
Результат self

setSizeInBytes() публичный метод

Sets the value of sizeInBytes.
public setSizeInBytes ( integer $sizeInBytes ) : self
$sizeInBytes integer the size in bytes
Результат self

setSource() публичный метод

Sets the value of source.
public setSource ( string $source ) : self
$source string the source
Результат self

setStatus() публичный метод

Sets the value of status.
public setStatus ( string $status ) : self
$status string the status
Результат self

setUpdated() публичный метод

Sets the value of updated.
public setUpdated ( DateTime $updated ) : self
$updated DateTime the updated
Результат self

setUser() публичный метод

Sets the value of user.
public setUser ( mixed $user ) : self
$user mixed the user
Результат self

Описание свойств

$contentDisposition защищенное свойство

protected string $contentDisposition
Результат string

$created защищенное свойство

protected DateTime $created
Результат DateTime

$description защищенное свойство

protected Newscoop\Entity\Translation $description
Результат Newscoop\Entity\Translation

$extension защищенное свойство

protected string $extension
Результат string

$httpCharset защищенное свойство

protected string $httpCharset
Результат string

$id защищенное свойство

protected int $id
Результат integer

$language защищенное свойство

protected Newscoop\Entity\Language $language
Результат Newscoop\Entity\Language

$mimeType защищенное свойство

protected string $mimeType
Результат string

$name защищенное свойство

protected string $name
Результат string

$sizeInBytes защищенное свойство

protected int $sizeInBytes
Результат integer

$source защищенное свойство

protected string $source
Результат string

$status защищенное свойство

protected string $status
Результат string

$updated защищенное свойство

protected DateTime $updated
Результат DateTime

$user защищенное свойство

protected Newscoop\Entity\User $user
Результат Newscoop\Entity\User