Admin/Controller.php
public function add_menu() {
		if ( !isset( $this->page_id ) && !isset( $this->title ) && !isset( $this->name ) && !isset( $this->parent ) && !isset( $this->cap ) ) {
			return;
		}

		if ( $this->parent ) {	
			$this->screen_name = add_submenu_page( $this->parent, $this->title, $this->name, $this->cap, $this->page_id, array( &$this, 'render_page' ) );
		} else {
			$this->screen_name = add_menu_page( $this->title, $this->name, $this->cap, $this->page_id, array( &$this, 'render_page' ) );	
		}
	}
public function add_menu() {
		if ( !isset( $this->page_id ) && !isset( $this->title ) && !isset( $this->name ) && !isset( $this->parent ) && !isset( $this->cap ) ) {
			return;
		}

		if ( $this->parent ) {	
			$this->screen_name = add_submenu_page( $this->parent, $this->title, $this->name, $this->cap, $this->page_id, array( &$this, 'render_page' ) );
		} else {
			$this->screen_name = add_menu_page( $this->title, $this->name, $this->cap, $this->page_id, array( &$this, 'render_page' ) );	
		}
	}
public function add_menu ( ) { if ( ! isset ( $ this -> page_id ) && ! isset ( $ this -> title ) && ! isset ( $ this -> name ) && ! isset ( $ this -> parent ) && ! isset ( $ this -> cap ) ) { return ; } if ( $ this -> parent ) { $ this -> screen_name = add_submenu_page ( $ this -> parent , $ this -> title , $ this -> name , $ this -> cap , $ this -> page_id , array ( & $ this , 'render_page' ) ) ; } else { $ this -> screen_name = add_menu_page ( $ this -> title , $ this -> name , $ this -> cap , $ this -> page_id , array ( & $ this , 'render_page' ) ) ; } }
Add the Admin PAge to the WordPress Menu

@return void
Add the Admin PAge to the WordPress Menu