<?php

/**
 * @file classes/help/HelpTopicSection.inc.php
 *
 * Copyright (c) 2003-2008 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class HelpTopicSection
 * @ingroup help
 *
 * @brief Help section class, designated a subsection of a topic.
 * A HelpTopicSection is associated with a single HelpTopic.
 */

// $Id: HelpTopicSection.inc.php,v 1.7 2008/07/01 01:16:09 asmecher Exp $


class HelpTopicSection extends DataObject {

	/**
	 * Constructor.
	 */
	function HelpTopicSection() {
		parent::DataObject();
	}

	//
	// Get/set methods
	//

	/**
	 * Get section title.
	 * @return string
	 */
	function getTitle() {
		return $this->getData('title');
	}

	/**
	 * Set section title.
	 * @param $title string
	 */
	function setTitle($title) {
		$this->setData('title', $title);
	}

	/**
	 * Get section content (assumed to be in HTML format).
	 * @return string
	 */
	function getContent() {
		return $this->getData('content');
	}

	/**
	 * Set section content.
	 * @param $content string
	 */
	function setContent($content) {
		$this->setData('content', $content);
	}

}

?>
