PHP Class Traq\Models\Ticket

Since: 2.0.0
Author: Jack P.
Inheritance: extends Avalon\Database\Model
Datei anzeigen Open project: nirix/traq Class Usage Examples

Public Properties

Property Type Description
$isClosing boolean Whether or not the ticket is being closed.
$isReopening boolean Whether or not the ticket is being reopened.

Protected Properties

Property Type Description
$_before
$_belongsTo
$_dataTypes
$_hasMany
$_tableAlias
$_validations
$originalStatusId null | integer

Public Methods

Method Description
__construct ( array $data = [], $isNew = true )
updateIsClosed ( ) Update the is_closed property.

Method Details

__construct() public method

public __construct ( array $data = [], $isNew = true )
$data array

updateIsClosed() public method

Update the is_closed property.
public updateIsClosed ( )

Property Details

$_before protected_oe static_oe property

protected static $_before

$_belongsTo protected_oe static_oe property

protected static $_belongsTo

$_dataTypes protected_oe static_oe property

protected static $_dataTypes

$_hasMany protected_oe static_oe property

protected static $_hasMany

$_tableAlias protected_oe static_oe property

protected static $_tableAlias

$_validations protected_oe static_oe property

protected static $_validations

$isClosing public_oe property

Whether or not the ticket is being closed.
public bool $isClosing
return boolean

$isReopening public_oe property

Whether or not the ticket is being reopened.
public bool $isReopening
return boolean

$originalStatusId protected_oe property

protected null|int $originalStatusId
return null | integer