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

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$hasCustomPrompt boolean hasCustomPrompt Indicates whether the placeholder should have a customer prompt.
$idx integer idx Specifies the index of the placeholder. This is used when applying templates or changing layouts to match a placeholder on one template or master to another.
$type type Specifies what content type the placeholder is to contains

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

Метод Описание
__construct ( $type ) Placeholder constructor.
getIdx ( ) : integer
getType ( ) : mixed
setIdx ( integer $idx )
setType ( mixed $type ) : string

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

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

Placeholder constructor.
public __construct ( $type )
$type

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

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

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

public getType ( ) : mixed
Результат mixed

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

public setIdx ( integer $idx )
$idx integer

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

public setType ( mixed $type ) : string
$type mixed
Результат string

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

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

hasCustomPrompt Indicates whether the placeholder should have a customer prompt.
protected bool $hasCustomPrompt
Результат boolean

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

idx Specifies the index of the placeholder. This is used when applying templates or changing layouts to match a placeholder on one template or master to another.
protected int $idx
Результат integer

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

type Specifies what content type the placeholder is to contains
protected $type