baseline
[omp.pkp.sfu.ca.git] / lib / pkp / classes / help / HelpTopicSection.inc.php
bloba8bf415184a44ae63cb0dcf674c7380a702bd6db
1 <?php
3 /**
4 * @file classes/help/HelpTopicSection.inc.php
6 * Copyright (c) 2000-2009 John Willinsky
7 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
9 * @class HelpTopicSection
10 * @ingroup help
12 * @brief Help section class, designated a subsection of a topic.
13 * A HelpTopicSection is associated with a single HelpTopic.
16 // $Id: HelpTopicSection.inc.php,v 1.3 2009/04/08 21:34:54 asmecher Exp $
19 class HelpTopicSection extends DataObject {
21 /**
22 * Constructor.
24 function HelpTopicSection() {
25 parent::DataObject();
29 // Get/set methods
32 /**
33 * Get section title.
34 * @return string
36 function getTitle() {
37 return $this->getData('title');
40 /**
41 * Set section title.
42 * @param $title string
44 function setTitle($title) {
45 $this->setData('title', $title);
48 /**
49 * Get section content (assumed to be in HTML format).
50 * @return string
52 function getContent() {
53 return $this->getData('content');
56 /**
57 * Set section content.
58 * @param $content string
60 function setContent($content) {
61 $this->setData('content', $content);