src/controller/admin/page/class-custom-rating.php
public function render() {

		$layout  = App::EFG()->getOption( 'path', 'layout' );
		$page    = Module::CustomRatingGrifus()->getOption( 'path', 'page' );
		$restart = Module::CustomRatingGrifus()->getOption( 'restart-when-add' );

		$data = [ 'restart-when-add' => $restart ];

		$this->view->renderizate( $layout, 'header' );
		$this->view->renderizate( $page, 'custom-rating', $data );
		$this->view->renderizate( $layout, 'footer' );
	}
public function render() {

		$layout  = App::EFG()->getOption( 'path', 'layout' );
		$page    = Module::CustomRatingGrifus()->getOption( 'path', 'page' );
		$restart = Module::CustomRatingGrifus()->getOption( 'restart-when-add' );

		$data = [ 'restart-when-add' => $restart ];

		$this->view->renderizate( $layout, 'header' );
		$this->view->renderizate( $page, 'custom-rating', $data );
		$this->view->renderizate( $layout, 'footer' );
	}
public function render ( ) { $ layout = App :: EFG ( ) -> getOption ( 'path' , 'layout' ) ; $ page = Module :: CustomRatingGrifus ( ) -> getOption ( 'path' , 'page' ) ; $ restart = Module :: CustomRatingGrifus ( ) -> getOption ( 'restart-when-add' ) ; $ data = [ 'restart-when-add' => $ restart ] ; $ this -> view -> renderizate ( $ layout , 'header' ) ; $ this -> view -> renderizate ( $ page , 'custom-rating' , $ data ) ; $ this -> view -> renderizate ( $ layout , 'footer' ) ; }
Renderizate admin page.
Renderizate admin page .