PHP Class Traq\Models\Ticket

Since: 2.0.0
Author: Jack P.
Inheritance: extends Avalon\Database\Model
Show file 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 static property

protected static $_before

$_belongsTo protected static property

protected static $_belongsTo

$_dataTypes protected static property

protected static $_dataTypes

$_hasMany protected static property

protected static $_hasMany

$_tableAlias protected static property

protected static $_tableAlias

$_validations protected static property

protected static $_validations

$isClosing public property

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

$isReopening public property

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

$originalStatusId protected property

protected null|int $originalStatusId
return null | integer