File "PageNotFound.php"

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

<?php

namespace ColibriWP\Theme\Components;

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

class PageNotFound extends ComponentBase {

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

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

		$self = $this;
		View::printIn(
			View::CONTENT_ELEMENT,
			function () use ( $self ) {
				/** SECTION START */
				View::printIn(
					View::SECTION_ELEMENT,
					function () use ( $self ) {
						/** ROW START */
						View::printIn(
							View::ROW_ELEMENT,
							function () use ( $self ) {
								/** COLUMN START */
								View::printIn(
									View::COLUMN_ELEMENT,
									function () use ( $self ) {
										View::partial(
											'main',
											'404',
											array(
												'component' => $this,
											)
										);
									}
								);
							},
							array(
								'outer_class' => array(),
								'inner_class' => array( 'blog-content', 'gutters-col-0' ),
							)
						);
						/** ROW END */
					},
					array(
						'outer_class' => array(),
						'inner_class' => array( 'h-section-boxed-container' ),
					)
				);
				/** SECTION END */
			},
			array(
				'class' => array( 'page-404' ),
			)
		);
	}
}