<?php
/**
* @version $Id: html.php 1286 2009-10-20 18:11:30Z rmdstudio $
* @category Anahita Social Engineâ¢
* @copyright Copyright (C) 2007 - 2009 rmdStudio Inc. and Peerglobe Technology Inc. All rights reserved.
* @license GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
* @link http://www.anahitapolis.com
*/
class AnUikitPromptMessage extends AnUikitViewHtml
{
protected $_body = null;
public function __construct(array $options=array())
{
parent::__construct($options);
$this->setLayout('message');
}
/*
* Method to set the header actor node
* @return AnModelActorInterface class instance
*/
public function setBody($body)
{
$this->_body = $body;
return $this;
}
/*
* Method load the template layout
* @return template file stream
*/
public function loadTemplate($identifier=null)
{
$this->assign('body', $this->_body);
return parent::loadTemplate($identifier);
}
//end class
}