PHP Класс PhpOffice\PhpPresentation\Slide

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

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

Свойство Тип Описание
$animations PhpOffice\PhpPresentation\Slide\Animation[]
$isVisible boolean The slide is shown in presentation
$name string Name of the title

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

Метод Описание
__construct ( PhpPresentation $pParent = null ) Create a new slide
addAnimation ( $animation ) : Slide Add an animation to the slide
copy ( ) : Slide Copy slide (!= clone!)
getAnimations ( ) : Animation[] Get collection of animations
getName ( ) : string Get the name of the slide
getNote ( ) : PhpOffice\PhpPresentation\Slide\Note
getSlideLayout ( ) : SlideLayout Get slide layout
getSlideMasterId ( ) : integer Get slide master id
isVisible ( ) : boolean
setAnimations ( array $array = [] ) : Slide Set collection of animations
setIsVisible ( boolean $value = true ) : Slide
setName ( string $name = null ) Set the name of the slide
setNote ( PhpOffice\PhpPresentation\Slide\Note $note = null ) : Slide
setSlideLayout ( SlideLayout $layout ) : Slide Set slide layout
setSlideMasterId ( integer $masterId = 1 ) : Slide Set slide master id

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

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

Create a new slide
public __construct ( PhpPresentation $pParent = null )
$pParent PhpPresentation

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

Add an animation to the slide
public addAnimation ( $animation ) : Slide
Результат Slide

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

Copy slide (!= clone!)
public copy ( ) : Slide
Результат Slide

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

Get collection of animations
public getAnimations ( ) : Animation[]
Результат PhpOffice\PhpPresentation\Slide\Animation[]

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

Get the name of the slide
public getName ( ) : string
Результат string

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

public getNote ( ) : PhpOffice\PhpPresentation\Slide\Note
Результат PhpOffice\PhpPresentation\Slide\Note

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

Get slide layout
public getSlideLayout ( ) : SlideLayout
Результат PhpOffice\PhpPresentation\Slide\SlideLayout

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

Get slide master id
public getSlideMasterId ( ) : integer
Результат integer

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

public isVisible ( ) : boolean
Результат boolean

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

Set collection of animations
public setAnimations ( array $array = [] ) : Slide
$array array
Результат Slide

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

public setIsVisible ( boolean $value = true ) : Slide
$value boolean
Результат Slide

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

Set the name of the slide
public setName ( string $name = null )
$name string

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

public setNote ( PhpOffice\PhpPresentation\Slide\Note $note = null ) : Slide
$note PhpOffice\PhpPresentation\Slide\Note
Результат Slide

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

Set slide layout
public setSlideLayout ( SlideLayout $layout ) : Slide
$layout PhpOffice\PhpPresentation\Slide\SlideLayout
Результат Slide

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

Set slide master id
public setSlideMasterId ( integer $masterId = 1 ) : Slide
$masterId integer
Результат Slide

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

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

protected Animation[],PhpOffice\PhpPresentation\Slide $animations
Результат PhpOffice\PhpPresentation\Slide\Animation[]

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

The slide is shown in presentation
protected bool $isVisible
Результат boolean

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

Name of the title
protected string $name
Результат string