当前位置: 首页>>代码示例>>PHP>>正文


PHP HTMLTags_Div::append方法代码示例

本文整理汇总了PHP中HTMLTags_Div::append方法的典型用法代码示例。如果您正苦于以下问题:PHP HTMLTags_Div::append方法的具体用法?PHP HTMLTags_Div::append怎么用?PHP HTMLTags_Div::append使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在HTMLTags_Div的用法示例。


在下文中一共展示了HTMLTags_Div::append方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_admin_content_div

 public function get_admin_content_div()
 {
     $div = new HTMLTags_Div();
     $div->append('<h2>NEW Add an External Video</h2>');
     $div->append(VideoLibrary_AdminHelper::get_add_external_video_form());
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:7,代码来源:VideoLibrary_AddExternalVideoAdminPage.inc.php

示例2: content

 public function content()
 {
     $div = new HTMLTags_Div();
     $div->append($this->get_error_message_div());
     $div->append($this->get_registration_div());
     echo $div->get_as_string();
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:7,代码来源:UserLogin_RegistrationPage.inc.php

示例3: get_latest_dramas_div

 private function get_latest_dramas_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'dramas-list');
     $div->append(new HTMLTags_Heading(3, 'Latest Public Dramas'));
     $div->append(new Oedipus_PublicDramasListDiv());
     return $div;
 }
开发者ID:saulhoward,项目名称:oedipus-decision-maker,代码行数:8,代码来源:Oedipus_HomePage.inc.php

示例4: content

 public function content()
 {
     $div = new HTMLTags_Div();
     $div->append($this->get_log_out_div());
     $div->append($this->get_error_message_div());
     $div->append($this->get_account_div());
     echo $div->get_as_string();
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:8,代码来源:UserLogin_AccountPage.inc.php

示例5: get_widget_div

 public function get_widget_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'StartPageWidget');
     $heading = new HTMLTags_Heading(3, $this->get_widget_title());
     $div->append($heading);
     $div->append($this->get_widget_content());
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:9,代码来源:Admin_StartPageWidget.inc.php

示例6: get_my_dramas_page_div

 private function get_my_dramas_page_div()
 {
     $drama_page_div = new HTMLTags_Div();
     $drama_page_div->set_attribute_str('class', 'my-dramas');
     if (isset($this->user_id)) {
         $drama_page_div->append($this->get_all_dramas_div());
         $drama_page_div->append($this->get_create_new_drama_div());
     }
     return $drama_page_div;
 }
开发者ID:saulhoward,项目名称:oedipus-decision-maker,代码行数:10,代码来源:Oedipus_MyDramasPage.inc.php

示例7: render_body_div_footer_nav

 public function render_body_div_footer_nav()
 {
     /*
      *Second Tier Nav - libraries and search
      */
     $footer_nav_div = new HTMLTags_Div();
     $footer_nav_div->set_attribute_str('id', 'footer-nav');
     $footer_nav_div->append($this->get_second_tier_navigation_div());
     $footer_nav_div->append($this->get_external_video_search_div());
     echo $footer_nav_div->get_as_string();
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:11,代码来源:VideoLibrary_FullPage.inc.php

示例8: render_xml

 public function render_xml()
 {
     if (isset($_GET['ajax']) && isset($_GET['related_videos']) && isset($_GET['rewrite_controls'])) {
         $div = new HTMLTags_Div();
         $thumbnails_wrapper_div = new HTMLTags_Div();
         $thumbnails_wrapper_div->set_attribute_str('id', 'thumbnails-wrapper');
         $thumbnails_wrapper_div->append(VideoLibrary_DisplayHelper::get_thumbnails_div($this->get_related_videos()));
         $div->append($thumbnails_wrapper_div);
         $div->append(VideoLibrary_DisplayHelper::get_pager_div($this->get_start(), $this->get_duration(), $this->get_total_related_videos_count(), $this->get_page_url()));
         echo $div->get_as_string();
     } elseif (isset($_GET['ajax']) && isset($_GET['related_videos'])) {
         echo VideoLibrary_DisplayHelper::get_thumbnails_div($this->get_related_videos());
     }
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:14,代码来源:VideoLibrary_VideoXMLPage.inc.php

示例9: get_widget_content

 public static function get_widget_content(RSS_RSS $rss)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'rss');
     $div->append(self::get_rss_titles_ul($rss));
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:7,代码来源:RSS_RSSHelper.inc.php

示例10: get_note_preview_div

 public static function get_note_preview_div(Oedipus_Note $note)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'note-preview');
     $div->append($note->get_note_text_html());
     return $div;
 }
开发者ID:saulhoward,项目名称:oedipus-decision-maker,代码行数:7,代码来源:Oedipus_NotesHelper.inc.php

示例11: get_widget_content

 public static function get_widget_content()
 {
     $latest_photo = self::get_latest_photograph();
     $div = new HTMLTags_Div();
     if (isset($latest_photo)) {
         $img = $latest_photo->get_image_img();
         $img->set_attribute_str('class', 'center');
         $img->set_attribute_str('width', '300px');
         $div->append($img);
         $p = new HTMLTags_P('"' . $latest_photo->get_name() . '" is the latest photo in the gallery.');
     } else {
         $p = new HTMLTags_P('There are no photos in the gallery yet.');
     }
     $div->append($p);
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:16,代码来源:PhotoGallery_GalleryHelper.inc.php

示例12: get_features_navigation_div

 public function get_features_navigation_div()
 {
     $div = new HTMLTags_Div();
     $div->set_id('features_navigation');
     $ul = Navigation_HTMLListsHelper::get_1d_ul('features');
     $div->append($ul);
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:8,代码来源:LogicalFallacies_HTMLPage.inc.php

示例13: get_content_div

 private function get_content_div()
 {
     $content_div = new HTMLTags_Div();
     $content_div->set_attribute_str('class', 'content');
     $content_div->set_attribute_str('id', 'TagsPage');
     //$content_div->append($this->get_advert_div());
     $content_div->append(VideoLibrary_DisplayHelper::get_tags_page_tags_div($this->get_primary_tags(), $this->get_external_video_library_id()));
     return $content_div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:9,代码来源:VideoLibrary_TagsPage.inc.php

示例14: get_google_code_rss_div

 public static function get_google_code_rss_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'rss');
     $div->append('<h3>Project Code Changes</h3>');
     try {
         $rss = new RSS_RSS('http://code.google.com/feeds/p/oedipus-decision-maker/updates/basic', 'atom');
     } catch (Exception $e) {
         $rss = NULL;
         //throw new Exception ('Google Code RSS_RSS object creation failed');
     }
     if ($rss) {
         $div->append(RSS_RSSHelper::get_rss_titles_ul($rss));
     } else {
         $div->append('<p class="error">RSS feed not found</p>');
     }
     return $div;
 }
开发者ID:saulhoward,项目名称:oedipus-decision-maker,代码行数:18,代码来源:Oedipus_RSSHelper.inc.php

示例15: get_admin_header_navigation_link_div

 protected function get_admin_header_navigation_link_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('id', 'admin_header_navigation_link');
     $url = PublicHTML_URLHelper::get_oo_page_url('Admin_StartPage');
     $a = new HTMLTags_A('Start Page');
     $a->set_href($url);
     $div->append($a);
     return $div;
 }
开发者ID:saulhoward,项目名称:haddock-cms,代码行数:10,代码来源:Admin_HTMLPage.inc.php


注:本文中的HTMLTags_Div::append方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。