SourceString
extends BaseModel
Table of Contents
Properties
-
$branchId
: int|null
-
$context
: string
-
$createdAt
: string
-
$directoryId
: int|null
-
$fileId
: int
-
$hasPlurals
: bool
-
$id
: int
-
$identifier
: string
-
$isDuplicate
: bool
-
$isHidden
: bool
-
$isIcu
: bool
-
$labelIds
: array<string|int, mixed>
-
$masterStringId
: int|null
-
$maxLength
: int
-
$projectId
: int
-
$revision
: int
-
$text
: string
-
$type
: string
-
$updatedAt
: string
Methods
-
__construct()
: mixed
-
getBranchId()
: int|null
-
getContext()
: string
-
getCreatedAt()
: string
-
getDirectoryId()
: int|null
-
getFileId()
: int
-
getId()
: int
-
getIdentifier()
: string
-
getLabelIds()
: array<string|int, mixed>
-
getMasterStringId()
: int|null
-
getMaxLength()
: int
-
getProjectId()
: int
-
getRevision()
: int
-
getText()
: string
-
getType()
: string
-
getUpdatedAt()
: string
-
isDuplicate()
: bool
-
isHasPlurals()
: bool
-
isHidden()
: bool
-
isIcu()
: bool
-
setContext()
: void
-
setIsHidden()
: void
-
setLabelIds()
: void
-
setMaxLength()
: void
-
setText()
: void
$branchId
protected
int|null
$branchId
$context
protected
string
$context
$createdAt
protected
string
$createdAt
$directoryId
protected
int|null
$directoryId
$fileId
protected
int
$fileId
$hasPlurals
protected
bool
$hasPlurals
$id
protected
int
$id
$identifier
protected
string
$identifier
$isDuplicate
protected
bool
$isDuplicate
= false
$isHidden
protected
bool
$isHidden
$isIcu
protected
bool
$isIcu
$labelIds
protected
array<string|int, mixed>
$labelIds
$masterStringId
protected
int|null
$masterStringId
$maxLength
protected
int
$maxLength
$projectId
protected
int
$projectId
$revision
protected
int
$revision
$text
protected
string
$text
$type
protected
string
$type
$updatedAt
protected
string
$updatedAt
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
getBranchId()
public
getBranchId() : int|null
getContext()
public
getContext() : string
getCreatedAt()
public
getCreatedAt() : string
getDirectoryId()
public
getDirectoryId() : int|null
getFileId()
public
getFileId() : int
getId()
public
getId() : int
getIdentifier()
public
getIdentifier() : string
getLabelIds()
public
getLabelIds() : array<string|int, mixed>
Return values
array<string|int, mixed>
getMasterStringId()
public
getMasterStringId() : int|null
getMaxLength()
public
getMaxLength() : int
getProjectId()
public
getProjectId() : int
getRevision()
public
getRevision() : int
getText()
public
getText() : string
getType()
public
getType() : string
getUpdatedAt()
public
getUpdatedAt() : string
isDuplicate()
public
isDuplicate() : bool
isHasPlurals()
public
isHasPlurals() : bool
isHidden()
public
isHidden() : bool
isIcu()
public
isIcu() : bool
setContext()
public
setContext(string $context) : void
Parameters
-
$context
: string
-
setIsHidden()
public
setIsHidden(bool $isHidden) : void
Parameters
-
$isHidden
: bool
-
setLabelIds()
public
setLabelIds(array<string|int, mixed> $labelIds) : void
Parameters
-
$labelIds
: array<string|int, mixed>
-
setMaxLength()
public
setMaxLength(int $maxLength) : void
Parameters
-
$maxLength
: int
-
setText()
public
setText(string $text) : void
Parameters
-
$text
: string
-