PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\permission\BanEntry Class Reference
+ Collaboration diagram for pocketmine\permission\BanEntry:

Public Member Functions

 __construct ($name)
 
 getName ()
 
 getCreated ()
 
 setCreated (\DateTime $date)
 
 getSource ()
 
 setSource ($source)
 
 getExpires ()
 
 setExpires ($date)
 
 hasExpired ()
 
 getReason ()
 
 setReason ($reason)
 
 getString ()
 

Static Public Member Functions

static fromString ($str)
 

Static Public Attributes

static $format = "Y-m-d H:i:s O"
 

Detailed Description

Definition at line 24 of file BanEntry.php.

Member Function Documentation

static pocketmine\permission\BanEntry::fromString (   $str)
static
Parameters
string$str
Returns
BanEntry

Definition at line 105 of file BanEntry.php.

pocketmine\permission\BanEntry::setExpires (   $date)
Parameters
\DateTime$date

Definition at line 67 of file BanEntry.php.


The documentation for this class was generated from the following file: