protected function get($place, $args=array()){
		$sep = isset($args['seperator']) ? $args['seperator'] : ' ';

		$content = '';
		if(isset($this->content[$place])){
			foreach($this->content[$place] as $item){
				if($this->options['debug']===true){
					$content.='<!--Skinny:Place: '.$place.'-->';
				}
				switch($item['type']){
					case 'hook':
						//method will be called with two arrays as arguments
						//the first is the args passed to this method (ie. in a template call to $this->insert() )
						//the second are the args passed when the hook was bound
						$content .= call_user_method_array($item['hook'][0], $item['hook'][1], array($args, $item['arguments']));
						break;
					case 'html':
						$content .= $sep . (string) $item['html'];
						break;
					case 'template':
						$content .= $this->render($item['template'], $item['params']);
						break;
				}

			}
		}
		//content from #movetoskin and #skintemplate
		/*if( Skinny::hasContent($place) ){
			foreach(Skinny::getContent($place) as $item){

				//pre-rendered html from #movetoskin
				if(isset($item['html'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:MoveToSkin: '.$template.'-->';
					}
					$content .= $sep . $item['html'];
				}
				else
				//a template name to render
				if(isset($item['template'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:Template (via #skintemplate): '.$item['template'].'-->';
					}
					$content .= $this->render( $item['template'], $item['params'] );
				}
			}
		}*/
		return $content;
	}
protected function get($place, $args=array()){
		$sep = isset($args['seperator']) ? $args['seperator'] : ' ';

		$content = '';
		if(isset($this->content[$place])){
			foreach($this->content[$place] as $item){
				if($this->options['debug']===true){
					$content.='<!--Skinny:Place: '.$place.'-->';
				}
				switch($item['type']){
					case 'hook':
						//method will be called with two arrays as arguments
						//the first is the args passed to this method (ie. in a template call to $this->insert() )
						//the second are the args passed when the hook was bound
						$content .= call_user_method_array($item['hook'][0], $item['hook'][1], array($args, $item['arguments']));
						break;
					case 'html':
						$content .= $sep . (string) $item['html'];
						break;
					case 'template':
						$content .= $this->render($item['template'], $item['params']);
						break;
				}

			}
		}
		//content from #movetoskin and #skintemplate
		/*if( Skinny::hasContent($place) ){
			foreach(Skinny::getContent($place) as $item){

				//pre-rendered html from #movetoskin
				if(isset($item['html'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:MoveToSkin: '.$template.'-->';
					}
					$content .= $sep . $item['html'];
				}
				else
				//a template name to render
				if(isset($item['template'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:Template (via #skintemplate): '.$item['template'].'-->';
					}
					$content .= $this->render( $item['template'], $item['params'] );
				}
			}
		}*/
		return $content;
	}
protected function get ( $ place , $ args = array ( ) ) { $ sep = isset ( $ args [ 'seperator' ] ) ? $ args [ 'seperator' ] : ' ' ; $ content = '' ; if ( isset ( $ this -> content [ $ place ] ) ) { foreach ( $ this -> content [ $ place ] as $ item ) { if ( $ this -> options [ 'debug' ] === true ) { $ content .= '<!--Skinny:Place: ' . $ place . '-->' ; } switch ( $ item [ 'type' ] ) { case 'hook' : //method will be called with two arrays as arguments //the first is the args passed to this method (ie. in a template call to $this->insert() ) //the second are the args passed when the hook was bound $ content .= call_user_method_array ( $ item [ 'hook' ] [ 0 ] , $ item [ 'hook' ] [ 1 ] , array ( $ args , $ item [ 'arguments' ] ) ) ; break ; case 'html' : $ content .= $ sep . ( string ) $ item [ 'html' ] ; break ; case 'template' : $ content .= $ this -> render ( $ item [ 'template' ] , $ item [ 'params' ] ) ; break ; } } } //content from #movetoskin and #skintemplate /*if( Skinny::hasContent($place) ){
			foreach(Skinny::getContent($place) as $item){

				//pre-rendered html from #movetoskin
				if(isset($item['html'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:MoveToSkin: '.$template.'-->';
					}
					$content .= $sep . $item['html'];
				}
				else
				//a template name to render
				if(isset($item['template'])){
					if($this->options['debug']===true){
						$content.='<!--Skinny:Template (via #skintemplate): '.$item['template'].'-->';
					}
					$content .= $this->render( $item['template'], $item['params'] );
				}
			}
		}*/ return $ content ; }
Run content content, optionally passing arguments to provide to
object methods
Run content content optionally passing arguments to provide to object methods