PHP Класс PhpOffice\PhpPresentation\Shape\Comment

Наследование: extends PhpOffice\PhpPresentation\AbstractShape, implements PhpOffice\PhpPresentation\ComparableInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$author PhpOffice\PhpPresentation\Shape\Comment\Author
$dtComment integer
$text string

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

Метод Описание
__construct ( )
getAuthor ( ) : Author
getDate ( ) : integer
getHeight ( ) : null Comment has not height
getText ( ) : string
getWidth ( ) : null Comment has not width
setAuthor ( Author $author ) : Comment
setDate ( integer $dtComment ) : Comment
setHeight ( integer $pValue ) : self Set Height
setText ( string $text = '' ) : Comment
setWidth ( integer $pValue ) : self Set Width

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

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

public __construct ( )

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

public getAuthor ( ) : Author
Результат PhpOffice\PhpPresentation\Shape\Comment\Author

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

public getDate ( ) : integer
Результат integer

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

Comment has not height
public getHeight ( ) : null
Результат null

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

public getText ( ) : string
Результат string

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

Comment has not width
public getWidth ( ) : null
Результат null

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

public setAuthor ( Author $author ) : Comment
$author PhpOffice\PhpPresentation\Shape\Comment\Author
Результат Comment

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

public setDate ( integer $dtComment ) : Comment
$dtComment integer timestamp of the comment
Результат Comment

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

Set Height
public setHeight ( integer $pValue ) : self
$pValue integer
Результат self

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

public setText ( string $text = '' ) : Comment
$text string
Результат Comment

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

Set Width
public setWidth ( integer $pValue ) : self
$pValue integer
Результат self

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

$author защищенное свойство

protected Author,PhpOffice\PhpPresentation\Shape\Comment $author
Результат PhpOffice\PhpPresentation\Shape\Comment\Author

$dtComment защищенное свойство

protected int $dtComment
Результат integer

$text защищенное свойство

protected string $text
Результат string