ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
PhpOffice\PhpSpreadsheet\Chart\Title Class Reference
+ Collaboration diagram for PhpOffice\PhpSpreadsheet\Chart\Title:

Public Member Functions

 __construct ($caption=null, ?Layout $layout=null)
 Create a new Title. More...
 
 getCaption ()
 Get caption. More...
 
 setCaption ($caption)
 Set caption. More...
 
 getLayout ()
 Get Layout. More...
 

Private Attributes

 $caption
 
 $layout
 

Detailed Description

Definition at line 5 of file Title.php.

Constructor & Destructor Documentation

◆ __construct()

PhpOffice\PhpSpreadsheet\Chart\Title::__construct (   $caption = null,
?Layout  $layout = null 
)

Create a new Title.

Parameters
null | mixed$caption

Definition at line 26 of file Title.php.

References PhpOffice\PhpSpreadsheet\Chart\Title\$caption, and PhpOffice\PhpSpreadsheet\Chart\Title\$layout.

27  {
28  $this->caption = $caption;
29  $this->layout = $layout;
30  }

Member Function Documentation

◆ getCaption()

PhpOffice\PhpSpreadsheet\Chart\Title::getCaption ( )

Get caption.

Returns
string

Definition at line 37 of file Title.php.

References PhpOffice\PhpSpreadsheet\Chart\Title\$caption.

38  {
39  return $this->caption;
40  }

◆ getLayout()

PhpOffice\PhpSpreadsheet\Chart\Title::getLayout ( )

Get Layout.

Returns
Layout

Definition at line 61 of file Title.php.

References PhpOffice\PhpSpreadsheet\Chart\Title\$layout.

62  {
63  return $this->layout;
64  }

◆ setCaption()

PhpOffice\PhpSpreadsheet\Chart\Title::setCaption (   $caption)

Set caption.

Parameters
string$caption
Returns
$this

Definition at line 49 of file Title.php.

References PhpOffice\PhpSpreadsheet\Chart\Title\$caption.

50  {
51  $this->caption = $caption;
52 
53  return $this;
54  }

Field Documentation

◆ $caption

PhpOffice\PhpSpreadsheet\Chart\Title::$caption
private

◆ $layout

PhpOffice\PhpSpreadsheet\Chart\Title::$layout
private

The documentation for this class was generated from the following file: