<?php

defined('HOSTCMS') || exit('HostCMS: access denied.');

/**
 * br entity
 *
 * @package HostCMS 6\Core\Html
 * @version 6.x
 * @author Hostmake LLC
 * @copyright © 2005-2013 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
 */
class Core_Html_Entity_Br extends Core_Html_Entity
{
	/**
	 * Use common attributes
	 * @var boolean
	 */
	protected $_useAttrCommon = FALSE;
	
	/**
	 * Use common events
	 * @var boolean
	 */
	protected $_useAttrEvent = FALSE;
	
	/**
	 * Allowed object properties
	 * @var array
	 */
	protected $_allowedProperties = array(
		'clear'
	);
	
	/**
	 * Executes the business logic.
	 */
	public function execute()
	{
		$aAttr = $this->getAttrsString();

		echo PHP_EOL;
		
		?><br <?php echo implode(' ', $aAttr) ?>/><?php
	}
}