當前位置: 首頁>>代碼示例>>PHP>>正文


PHP MasterView::showPageEnd方法代碼示例

本文整理匯總了PHP中MasterView::showPageEnd方法的典型用法代碼示例。如果您正苦於以下問題:PHP MasterView::showPageEnd方法的具體用法?PHP MasterView::showPageEnd怎麽用?PHP MasterView::showPageEnd使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在MasterView的用法示例。


在下文中一共展示了MasterView::showPageEnd方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: showAll

 public static function showAll()
 {
     $_SESSION['styles'] = array('site.css');
     if (array_key_exists('headertitle', $_SESSION)) {
         MasterView::showHeader();
     }
     MasterView::showNavBar();
     $movies = array_key_exists('movies', $_SESSION) ? $_SESSION['movies'] : array();
     $base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
     echo "<br>";
     echo "<br>";
     echo "<br>";
     echo "<h1>h00dFliX Movies</h1>";
     echo "<table style=width:25%>";
     echo "<thead>";
     echo "<tr><th>movieId</th><th>movie Title</th><th>Release Date</th><th>Return By</th><th>Copy Available</th></tr>";
     echo "</thead>";
     echo "<tbody>";
     foreach ($movies as $movie) {
         echo '<tr>';
         echo '<td>' . $movie->getMovieId() . '</td>';
         echo '<td>' . $movie->getMovieTitle() . '</td>';
         echo '<td>' . $movie->getReleaseDate() . '</td>';
         echo '<td>' . $movie->getReturnBy() . '</td>';
         echo '<td>' . $movie->getCopyAvailable() . '</td>';
         //echo '<td><a href="/'.$base.'/user/show/'.$user->getUserId().'">Show</a></td>';
         //echo '<td><a href="/'.$base.'/user/update/'.$user->getUserId().'">Update</a></td>';
         echo '</tr>';
     }
     echo "</tbody>";
     echo "</table>";
     MasterView::showPageEnd();
 }
開發者ID:raroseman,項目名稱:cs4413-Hoodflix,代碼行數:33,代碼來源:ShowMoviesView.class.php

示例2: showAll

 public static function showAll()
 {
     $_SESSION['styles'] = array('site.css');
     if (array_key_exists('headertitle', $_SESSION)) {
         MasterView::showHeader();
     }
     MasterView::showNavBar();
     $users = array_key_exists('users', $_SESSION) ? $_SESSION['users'] : array();
     $base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
     echo "<br>";
     echo "<br>";
     echo "<br>";
     echo "<h1>h00dFliX Users</h1>";
     echo "<table style=width:15%>";
     echo "<thead>";
     echo "<tr><th>userId</th><th>User Name</th></tr>";
     echo "</thead>";
     echo "<tbody>";
     foreach ($users as $user) {
         echo '<tr>';
         echo '<td>' . $user->getUserId() . '</td>';
         echo '<td>' . $user->getUserName() . '</td>';
         echo '</tr>';
     }
     echo "</tbody>";
     echo "</table>";
     MasterView::showPageEnd();
 }
開發者ID:raroseman,項目名稱:cs4413-Hoodflix,代碼行數:28,代碼來源:UserView.class.php

示例3: showAll

 public static function showAll()
 {
     $_SESSION['styles'] = array('site.css');
     if (array_key_exists('headertitle', $_SESSION)) {
         MasterView::showHeader();
     }
     MasterView::showNavBar();
     $reviews = array_key_exists('reviews', $_SESSION) ? $_SESSION['reviews'] : array();
     $base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
     echo "<br>";
     echo "<br>";
     echo "<br>";
     echo "<h1>h00dFliX Reviews</h1>";
     echo "<table style=width:25%>";
     echo "<thead>";
     echo "<tr><th>reviewId</th><th>movie Title</th><th>Reviewed By</th><th>Reviewed On</th><th>Review</th></tr>";
     echo "</thead>";
     echo "<tbody>";
     foreach ($reviews as $review) {
         echo '<tr>';
         echo '<td>' . $review->getReviewId() . '</td>';
         echo '<td>' . $review->getMovieTitle() . '</td>';
         echo '<td>' . $review->getUserName() . '</td>';
         echo '<td>' . $review->getReviewedOn() . '</td>';
         echo '<td>' . $review->getReview() . '</td>';
         //echo '<td><a href="/'.$base.'/user/show/'.$user->getUserId().'">Show</a></td>';
         //echo '<td><a href="/'.$base.'/user/update/'.$user->getUserId().'">Update</a></td>';
         echo '</tr>';
     }
     echo "</tbody>";
     echo "</table>";
     MasterView::showPageEnd();
 }
開發者ID:raroseman,項目名稱:cs4413-Hoodflix,代碼行數:33,代碼來源:ReviewsView.class.php

示例4: showAll

 public static function showAll()
 {
     $_SESSION['styles'] = array('site.css');
     if (array_key_exists('headertitle', $_SESSION)) {
         MasterView::showHeader();
     }
     MasterView::showNavBar();
     $skills = array_key_exists('skills', $_SESSION) ? $_SESSION['skills'] : array();
     $base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
     echo "<h1>botspace skills list</h1>";
     echo "<table>";
     echo "<thead>";
     echo "<tr><th>skillId</th><th>skill_name</th><th>Show</th><th>Update</th></tr>";
     echo "</thead>";
     echo "<tbody>";
     foreach ($skills as $skill) {
         echo '<tr>';
         echo '<td>' . $skill->getSkillId() . '</td>';
         echo '<td>' . $skill->getSkillName() . '</td>';
         echo '<td><a href="/' . $base . '/skill/show/' . $skill->getSkillId() . '">Show</a></td>';
         echo '<td><a href="/' . $base . '/skill/update/' . $skill->getSkillId() . '">Update</a></td>';
         echo '</tr>';
     }
     echo "</tbody>";
     echo "</table>";
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:28,代碼來源:SkillView.class.php

示例5: show

 public static function show()
 {
     $_SESSION['headertitle'] = "Show botspace objects";
     $_SESSION['styles'] = array('site.css');
     MasterView::showHeader();
     ShowView::showDetails();
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:9,代碼來源:ShowView.class.php

示例6: show

 public static function show($userdata)
 {
     $_SESSION['headertitle'] = "Register";
     $_SESSION['styles'] = array('jumbotron.css');
     MasterView::showHeader();
     MasterView::showNav();
     SignupView::showDetails($userdata);
     MasterView::showPageEnd();
 }
開發者ID:Trivette,項目名稱:cs4413,代碼行數:9,代碼來源:SignupView.class.php

示例7: show

 public static function show($user)
 {
     $_SESSION['headertitle'] = "Login";
     $_SESSION['styles'] = array('jumbotron.css');
     MasterView::showHeader();
     MasterView::showNav();
     LoginView::showDetails($user);
     MasterView::showPageEnd();
 }
開發者ID:Trivette,項目名稱:cs4413,代碼行數:9,代碼來源:LoginView.class.php

示例8: show

 public static function show()
 {
     $_SESSION['headertitle'] = "botspace";
     $_SESSION['styles'] = array('jumbotron.css', 'site.css');
     MasterView::showHeader();
     MasterView::showNavBar();
     HomeView::showDetails();
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:10,代碼來源:HomeView.class.php

示例9: show

 public static function show()
 {
     $_SESSION['headertitle'] = "Log into Sensor Data Repo";
     $_SESSION['styles'] = array('site.css');
     MasterView::showHeader();
     MasterView::showNavBar();
     LoginView::showDetails();
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:10,代碼來源:LoginView.class.php

示例10: show

 public static function show($user, $userData)
 {
     $_SESSION['headertitle'] = "Sign up for a botspace account";
     $_SESSION['styles'] = array('site.css', 'signup.css');
     MasterView::showHeader();
     MasterView::showNavBar();
     SignupView::showDetails($user, $userData);
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:10,代碼來源:SignupView.class.php

示例11: showAll

 public static function showAll()
 {
     $_SESSION['headertitle'] = "Games";
     $_SESSION['styles'] = array('jumbotron.css', 'games.css');
     MasterView::showHeader();
     MasterView::showNav();
     GameView::showAllDetails();
     MasterView::showFooter(null);
     MasterView::showPageEnd();
 }
開發者ID:Trivette,項目名稱:cs4413,代碼行數:10,代碼來源:GameView.class.php

示例12: show

 public static function show()
 {
     $_SESSION['headertitle'] = 'User Profile';
     $_SESSION['styles'] = array('site.css');
     MasterView::showHeader();
     MasterView::showNavBar();
     self::showDetails();
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:mr-augustine,項目名稱:sensor-data-repo,代碼行數:10,代碼來源:ProfileView.class.php

示例13: show

 public static function show($user)
 {
     $_SESSION['headertitle'] = "HockLeague Home Page";
     $_SESSION['styles'] = array('jumbotron.css');
     MasterView::showHeader();
     MasterView::showNav();
     HomeView::showDetails($user);
     MasterView::showHomeFooter();
     MasterView::showPageEnd();
 }
開發者ID:Trivette,項目名稱:cs4413,代碼行數:10,代碼來源:HomeView.class.php

示例14: show

 public static function show()
 {
     $_SESSION['headertitle'] = "h00dFliX Home Page";
     $_SESSION['styles'] = array('jumbotron.css');
     MasterView::showHeader();
     MasterView::showNavbar();
     HomeView::showDetails();
     $_SESSION['footertitle'] = "<h3>Get your FliX on</h3>";
     MasterView::showHomeFooter();
     MasterView::showPageEnd();
 }
開發者ID:raroseman,項目名稱:cs4413-Hoodflix,代碼行數:11,代碼來源:HomeView.class.php

示例15: show

 public static function show()
 {
     $_SESSION['headertitle'] = "Fireside Heroes";
     $_SESSION['styles'] = array('jumbotron.css');
     MasterView::showHeader();
     MasterView::showNavbar();
     HomeView::showDetails();
     $_SESSION['footertitle'] = "<h3>The footer goes here</h3>";
     MasterView::showFooter();
     MasterView::showPageEnd();
 }
開發者ID:keithcruz,項目名稱:webtech,代碼行數:11,代碼來源:HomeView.class.php


注:本文中的MasterView::showPageEnd方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。