File "PageSearch.php"

Full Path: /home/pumpbmko/public_html/wp-content/themes/momota/lib/colibriwp/src/Components/PageSearch.php
File size: 830 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


namespace ColibriWP\Theme\Components;

use ColibriWP\Theme\Core\ComponentBase;
use ColibriWP\Theme\View;

class PageSearch extends ComponentBase {

	public function renderContent( $parameters = array() ) {

		View::printIn(
			View::CONTENT_ELEMENT,
			function () {
				View::printIn(
					View::SECTION_ELEMENT,
					function () {
						View::printIn(
							View::ROW_ELEMENT,
							function () {
								View::printIn(
									View::COLUMN_ELEMENT,
									function () {
										View::partial(
											'main',
											'search',
											array(
												'component' => $this,
											)
										);
									}
								);
							}
						);
					}
				);
			},
			array( array( 'post-single' ) )
		);
	}


	/**
	 * @return array();
	 */
	protected static function getOptions() {
		return array();
	}
}