src/UI/HTML/MonthCalendar.php
protected function getCode( $heading, $weekdays, $weeks )
	{
		if( $template = $this->getOption( 'template' ) )
		{
			$options	= $this->getOptions();
			require( $template );
		}
		else
		{
			$clearFix	= UI_HTML_Tag::create( 'div', "", array( 'style' => 'clear: both' ) );
			$content	= UI_HTML_Tag::create( 'div', $heading.$weekdays.$weeks.$clearFix, array( 'class' => 'calendar' ) );
		}
		return $content;
	}
protected function getCode( $heading, $weekdays, $weeks )
	{
		if( $template = $this->getOption( 'template' ) )
		{
			$options	= $this->getOptions();
			require( $template );
		}
		else
		{
			$clearFix	= UI_HTML_Tag::create( 'div', "", array( 'style' => 'clear: both' ) );
			$content	= UI_HTML_Tag::create( 'div', $heading.$weekdays.$weeks.$clearFix, array( 'class' => 'calendar' ) );
		}
		return $content;
	}
protected function getCode ( $ heading , $ weekdays , $ weeks ) { if ( $ template = $ this -> getOption ( 'template' ) ) { $ options = $ this -> getOptions ( ) ; require ( $ template ) ; } else { $ clearFix = UI_HTML_Tag :: create ( 'div' , "" , array ( 'style' => 'clear: both' ) ) ; $ content = UI_HTML_Tag :: create ( 'div' , $ heading . $ weekdays . $ weeks . $ clearFix , array ( 'class' => 'calendar' ) ) ; } return $ content ; }
Builds Output Code by loading a Template or with built-in Template.
@access		protected
@param		string		$heading		Table Row of Heading
@param		string		$weekdays		Table Row of Weekdays
@param		string		$weeks			Table Rows of Weeks
@return		string
Builds Output Code by loading a Template or with built - in Template .