Sha256: 25388eb618c68242c68d0e0640b41d57b93c5d4022f5bbf750d519bbcddbfbea

Contents?: true

Size: 697 Bytes

Versions: 3

Compression:

Stored size: 697 Bytes

Contents

<?php
/* SVN FILE: $Id: HamlDoctypeNode.php 49 2010-04-04 10:51:24Z chris.l.yates $ */
/**
 * HamlDoctypeNode class file.
 * @author			Chris Yates <chris.l.yates@gmail.com>
 * @copyright 	Copyright (c) 2010 PBM Web Development
 * @license			http://phamlp.googlecode.com/files/license.txt
 * @package			PHamlP
 * @subpackage	Haml.tree
 */

/**
 * HamlDoctypeNode class.
 * Represents a Doctype.
 * Doctypes are always rendered on a single line with a newline.
 * @package			PHamlP
 * @subpackage	Haml.tree
 */
class HamlDoctypeNode extends HamlNode {
	/**
	 * Render this node.
	 * @return string the rendered node
	 */
	public function render() {
		return $this->debug($this->content . "\n");
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
frontsau-0.0.3 lib/Phamlp/haml/tree/HamlDoctypeNode.php
frontsau-0.0.2 lib/Phamlp/haml/tree/HamlDoctypeNode.php
frontsau-0.0.1 lib/Phamlp/haml/tree/HamlDoctypeNode.php