PHP Class PHPDaemon\Clients\IRC\Channel

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Structures\ObjectStorage, use trait PHPDaemon\Traits\EventHandlers
Exibir arquivo Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$irc Connection
$name string
$nicknames array
$self
$topic string
$type string

Public Methods

Method Description
__construct ( Connection $irc, string $name )
addMode ( string $nick, string $mode )
destroy ( )
detach ( object $obj )
exportNicksArray ( ) : array
join ( )
onPart ( array | string $mask, mixed $msg = null )
part ( mixed $msg = null )
removeMode ( string $target, string $mode )
setChanType ( string $type )
setTopic ( string $msg )
setType ( string $type )
who ( )

Method Details

__construct() public method

public __construct ( Connection $irc, string $name )
$irc Connection
$name string

addMode() public method

public addMode ( string $nick, string $mode )
$nick string
$mode string

destroy() public method

public destroy ( )

detach() public method

public detach ( object $obj )
$obj object

exportNicksArray() public method

public exportNicksArray ( ) : array
return array

join() public method

public join ( )

onPart() public method

public onPart ( array | string $mask, mixed $msg = null )
$mask array | string
$msg mixed

part() public method

public part ( mixed $msg = null )
$msg mixed

removeMode() public method

public removeMode ( string $target, string $mode )
$target string
$mode string

setChanType() public method

public setChanType ( string $type )
$type string

setTopic() public method

public setTopic ( string $msg )
$msg string

setType() public method

public setType ( string $type )
$type string

who() public method

public who ( )

Property Details

$irc public_oe property

public Connection,PHPDaemon\Clients\IRC $irc
return Connection

$name public_oe property

public string $name
return string

$nicknames public_oe property

public array $nicknames
return array

$self public_oe property

public $self

$topic public_oe property

public string $topic
return string

$type public_oe property

public string $type
return string