PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.3
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.3
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
visualizer / vendor / phpoffice / phpexcel / Classes / PHPExcel / Chart / Title.php

Title.php in Visualizer – Tables & Charts Manager with Built-in AI Generator 3.0.3, at vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Title.php

93 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * PHPExcel
4 *
5 * Copyright (c) 2006 - 2014 PHPExcel
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 * @category PHPExcel
22 * @package PHPExcel_Chart
23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
26 */
27
28
29 /**
30 * PHPExcel_Chart_Title
31 *
32 * @category PHPExcel
33 * @package PHPExcel_Chart
34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
36 class PHPExcel_Chart_Title
37 {
38
39 /**
40 * Title Caption
41 *
42 * @var string
43 */
44 private $_caption = null;
45
46 /**
47 * Title Layout
48 *
49 * @var PHPExcel_Chart_Layout
50 */
51 private $_layout = null;
52
53 /**
54 * Create a new PHPExcel_Chart_Title
55 */
56 public function __construct($caption = null, PHPExcel_Chart_Layout $layout = null)
57 {
58 $this->_caption = $caption;
59 $this->_layout = $layout;
60 }
61
62 /**
63 * Get caption
64 *
65 * @return string
66 */
67 public function getCaption() {
68 return $this->_caption;
69 }
70
71 /**
72 * Set caption
73 *
74 * @param string $caption
75 * @return PHPExcel_Chart_Title
76 */
77 public function setCaption($caption = null) {
78 $this->_caption = $caption;
79
80 return $this;
81 }
82
83 /**
84 * Get Layout
85 *
86 * @return PHPExcel_Chart_Layout
87 */
88 public function getLayout() {
89 return $this->_layout;
90 }
91
92 }
93