PHP Class pocketmine\permission\BanEntry

Mostrar archivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$format

Public Methods

Method Description
__construct ( $name )
fromString ( string $str ) : BanEntry
getCreated ( )
getExpires ( )
getName ( ) : string
getReason ( )
getSource ( )
getString ( )
hasExpired ( )
setCreated ( DateTime $date )
setExpires ( DateTime $date )
setReason ( $reason )
setSource ( $source )

Method Details

__construct() public method

public __construct ( $name )

fromString() public static method

public static fromString ( string $str ) : BanEntry
$str string
return BanEntry

getCreated() public method

public getCreated ( )

getExpires() public method

public getExpires ( )

getName() public method

public getName ( ) : string
return string

getReason() public method

public getReason ( )

getSource() public method

public getSource ( )

getString() public method

public getString ( )

hasExpired() public method

public hasExpired ( )

setCreated() public method

public setCreated ( DateTime $date )
$date DateTime

setExpires() public method

public setExpires ( DateTime $date )
$date DateTime

setReason() public method

public setReason ( $reason )

setSource() public method

public setSource ( $source )

Property Details

$format public_oe static_oe property

public static $format