[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |