Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2388 jpm 1
<?php
2
/**
3
 * PHPExcel
4
 *
5
 * Copyright (c) 2006 - 2013 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 - 2013 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 - 2013 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
	 */
76
	public function setCaption($caption = null) {
77
		$this->_caption = $caption;
78
	}
79
 
80
	/**
81
	 * Get Layout
82
	 *
83
	 * @return PHPExcel_Chart_Layout
84
	 */
85
	public function getLayout() {
86
		return $this->_layout;
87
	}
88
 
89
}