Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/story/composer.php
<?php
/**
 * @version		1.0.0
 * @category	Anahita Social Engine™
 * @copyright	Copyright (C) 2008 - 2010 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 AnUikitStoryComposer extends AnUikitViewUikit
{
	/**
	 * 
	 * @param array $options
	 * @return unknown_type
	 */
	public function __construct(array $options=array())
	{
		parent::__construct($options);
		
		$this->setLayout('composer');
		
		$this->assign('over_text', JText::_('AN-SE-STORY-SHARE-PROMPT'));
	}
	
	/**
	 * Set the composer overtext
	 * 
	 * @param string $text
	 * @return AnUikitStoryComposer class instance
	 */
	public function setOverText($text)
	{
		$this->assign('over_text', $text);
		return $this;
	}
	
	public function setSubmitUrl($submitUrl='')
	{
		$this->assign('submit_url', $submitUrl);
		
		return $this;
	}
	
	public function setOwner(AnModelActor $owner)
	{
		$this->assign('owner', $owner);
		
		return $this;
	}

//end class	
}
Return current item: Anahita Social Engine