PHP Class Newscoop\Entity\Attachment

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$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

Public Methods

Method Description
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.

Method Details

getContentDisposition() public method

Gets the value of contentDisposition.
public getContentDisposition ( ) : string
return string

getCreated() public method

Gets the value of created.
public getCreated ( ) : DateTime
return DateTime

getDescription() public method

Gets the value of description.
public getDescription ( ) : Translation
return Translation

getExtension() public method

Gets the value of extension.
public getExtension ( ) : string
return string

getHttpCharset() public method

Gets the value of httpCharset.
public getHttpCharset ( ) : string
return string

getId() public method

Gets the value of id.
public getId ( ) : integer
return integer

getLanguage() public method

Gets the value of language.
public getLanguage ( ) : Newscoop\Entity\Language
return Newscoop\Entity\Language

getMimeType() public method

Gets the value of mimeType.
public getMimeType ( ) : string
return string

getName() public method

Gets the value of name.
public getName ( ) : string
return string

getSizeInBytes() public method

Gets the value of sizeInBytes.
public getSizeInBytes ( ) : integer
return integer

getSource() public method

Gets the value of source.
public getSource ( ) : string
return string

getStatus() public method

Gets the value of status.
public getStatus ( ) : string
return string

getUpdated() public method

Gets the value of updated.
public getUpdated ( ) : DateTime
return DateTime

getUser() public method

Gets the value of user.
public getUser ( ) : Newscoop\Entity\User
return Newscoop\Entity\User

getUserId() public method

Get User id
public getUserId ( ) : string
return string

preUpdate() public method

public preUpdate ( )

setContentDisposition() public method

Sets the value of contentDisposition.
public setContentDisposition ( string $contentDisposition ) : self
$contentDisposition string the content disposition
return self

setCreated() public method

Sets the value of created.
public setCreated ( DateTime $created ) : self
$created DateTime the created
return self

setDescription() public method

Sets the value of description.
public setDescription ( Translation $description ) : self
$description Translation the description
return self

setExtension() public method

Sets the value of extension.
public setExtension ( string $extension ) : self
$extension string the extension
return self

setHttpCharset() public method

Sets the value of httpCharset.
public setHttpCharset ( string $httpCharset ) : self
$httpCharset string the http charset
return self

setId() public method

Sets the value of id.
public setId ( integer $id ) : self
$id integer the id
return self

setLanguage() public method

Sets the value of language.
public setLanguage ( Language $language ) : self
$language Language the language
return self

setMimeType() public method

Sets the value of mimeType.
public setMimeType ( string $mimeType ) : self
$mimeType string the mime type
return self

setName() public method

Sets the value of name.
public setName ( string $name ) : self
$name string the name
return self

setSizeInBytes() public method

Sets the value of sizeInBytes.
public setSizeInBytes ( integer $sizeInBytes ) : self
$sizeInBytes integer the size in bytes
return self

setSource() public method

Sets the value of source.
public setSource ( string $source ) : self
$source string the source
return self

setStatus() public method

Sets the value of status.
public setStatus ( string $status ) : self
$status string the status
return self

setUpdated() public method

Sets the value of updated.
public setUpdated ( DateTime $updated ) : self
$updated DateTime the updated
return self

setUser() public method

Sets the value of user.
public setUser ( mixed $user ) : self
$user mixed the user
return self

Property Details

$contentDisposition protected_oe property

protected string $contentDisposition
return string

$created protected_oe property

protected DateTime $created
return DateTime

$description protected_oe property

protected Newscoop\Entity\Translation $description
return Newscoop\Entity\Translation

$extension protected_oe property

protected string $extension
return string

$httpCharset protected_oe property

protected string $httpCharset
return string

$id protected_oe property

protected int $id
return integer

$language protected_oe property

protected Newscoop\Entity\Language $language
return Newscoop\Entity\Language

$mimeType protected_oe property

protected string $mimeType
return string

$name protected_oe property

protected string $name
return string

$sizeInBytes protected_oe property

protected int $sizeInBytes
return integer

$source protected_oe property

protected string $source
return string

$status protected_oe property

protected string $status
return string

$updated protected_oe property

protected DateTime $updated
return DateTime

$user protected_oe property

protected Newscoop\Entity\User $user
return Newscoop\Entity\User