PHP Класс Flarum\Core\Command\PostReply

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$actor Flarum\Core\User The user who is performing the action.
$data array The attributes to assign to the new post.
$discussionId integer The ID of the discussion to post the reply to.
$ipAddress string The IP address of the actor.

Открытые методы

Метод Описание
__construct ( integer $discussionId, User $actor, array $data, string $ipAddress = null )

Описание методов

__construct() публичный Метод

public __construct ( integer $discussionId, User $actor, array $data, string $ipAddress = null )
$discussionId integer The ID of the discussion to post the reply to.
$actor Flarum\Core\User The user who is performing the action.
$data array The attributes to assign to the new post.
$ipAddress string The IP address of the actor.

Описание свойств

$actor публичное свойство

The user who is performing the action.
public User,Flarum\Core $actor
Результат Flarum\Core\User

$data публичное свойство

The attributes to assign to the new post.
public array $data
Результат array

$discussionId публичное свойство

The ID of the discussion to post the reply to.
public int $discussionId
Результат integer

$ipAddress публичное свойство

The IP address of the actor.
public string $ipAddress
Результат string