Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_tag.php - 2925 lines - 80435 bytes - Source - Print

Description: Tag builder.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BuilderTags:: (107 methods):
renderTagHelp()
tagbuildForm()
widget()
widgets()
tbNoAtts()
tb()
tdb()
build()
tbTimePop()
tbYesNoPop()
tbStatusPop()
tbSortPop()
tbDiscussSortPop()
tbListSortPop()
tbAuthorPop()
tbSectionPop()
tbCategoryPop()
tbMatchCatPop()
tbPatternPop()
tbTypePop()
tbFormPop()
tbCssPop()
tbCssFormatPop()
tbEscapePop()
tbFeedFlavorPop()
tbFeedFormatPop()
tbAuthorFormatPop()
tbInput()
tag_article()
tag_article_custom()
tag_article_image()
tag_author()
tag_body()
tag_breadcrumb()
tag_category()
tag_category_list()
tag_category1()
tag_category2()
tag_comment_email()
tag_comment_email_input()
tag_comment_message()
tag_comment_message_input()
tag_comment_name()
tag_comment_name_input()
tag_comment_permlink()
tag_comment_preview()
tag_comment_remember()
tag_comment_submit()
tag_comment_time()
tag_comment_web()
tag_comment_web_input()
tag_comments()
tag_comments_form()
tag_comments_invite()
tag_comments_preview()
tag_css()
tag_email()
tag_excerpt()
tag_feed_link()
tag_file_download()
tag_file_download_category()
tag_file_download_created()
tag_file_download_description()
tag_file_download_downloads()
tag_file_download_link()
tag_file_download_list()
tag_file_download_modified()
tag_file_download_name()
tag_file_download_size()
tag_if_category()
tag_if_section()
tag_image()
tag_lang()
tag_link()
tag_link_category()
tag_link_date()
tag_link_description()
tag_link_feed_link()
tag_link_name()
tag_link_to_home()
tag_link_to_next()
tag_link_to_prev()
tag_linkdesctitle()
tag_linklist()
tag_newer()
tag_next_title()
tag_older()
tag_output_form()
tag_page_title()
tag_password_protect()
tag_permlink()
tag_popup()
tag_posted()
tag_prev_title()
tag_recent_articles()
tag_recent_comments()
tag_related_articles()
tag_search_input()
tag_search_result_date()
tag_search_result_excerpt()
tag_search_result_title()
tag_search_result_url()
tag_section()
tag_section_list()
tag_site_name()
tag_site_slogan()
tag_title()

Class: BuilderTags

Collection of tag builder functions.

renderTagHelp($name, $panel line: 78
Returns a single tag handler instance.

return: string|bool HTML or FALSE on error
param: string $name  The tag
param: string $panel The panel from which the tag was invoked
tagbuildForm($content line: 126
Renders a form tag with the given content.

return: string HTML
param: string $content The HTML form contents
widget($label, $thing line: 138
Renders an input widget.

return: string HTML
param: string $label The label reference to use (will be subject to l10n)
param: string $thing Content
widgets($widgets line: 156
Renders a set of input widgets.

return: string HTML
param: array $widgets List of label => content pairs
tbNoAtts()  line: 175
Generates a parameter-less Textpattern tag.

return: string <txp:tag />
tb($tag, $atts_list = array()  line: 186
Generates a Textpattern tag from the given attributes and content.

return: string <txp:tag ...>
param: string $tag Tag name
param: string $atts_list List of attribute => value pairs
param: string $thing Tag container content
tdb($thing line: 213
Renders a textarea to hold the built content.

return: string HTML
param: string $thing Content
build($atts, $thing = '')  line: 233
Assembles the tag output container.

return: string HTML
param: array $atts Attribute key => value pairs
param: string $thing Tag container content
tbTimePop($time line: 254
Renders a HTML <select> list of time ranges.

return: string HTML
param: string $time Currently selected value
tbYesNoPop($select_name, $value line: 272
Renders HTML boolean <select> options.

return: string HTML
param: string $name Input name/ID
param: string $value Currently selected value
tbStatusPop($value line: 294
Renders a HTML <select> list of article status options.

return: string HTML
param: string $value Currently selected value
tbSortPop($value line: 314
Renders a HTML <select> list of sort options.

return: string HTML
param: string $value Currently selected value
tbDiscussSortPop($value line: 345
Renders a HTML <select> list of comment sort options.

return: string HTML
param: string $value Currently selected value
tbListSortPop($value line: 365
Renders a HTML <select> list of article sort options.

return: string HTML
param: string $value Currently selected value
tbAuthorPop($value line: 387
Renders a HTML <select> list of authors/users.

return: string HTML
param: string $value Currently selected value
tbSectionPop($select_name, $value line: 411
Renders a HTML <select> list of Sections.

return: string HTML
param: string $select_name Input name/ID
param: string $value Currently selected value
tbCategoryPop($value, $type = 'article')  line: 438
Renders a HTML <select> list of Categories.

return: string HTML
param: string $value Currently selected value
param: string $type Context to which the category applies
tbMatchCatPop($value line: 457
Renders a HTML <select> list of category match options.

return: string HTML
param: string $value Currently selected value
tbPatternPop($value line: 475
Renders a HTML <select> list of pattern match types.

return: string HTML
param: string $value Currently selected value
tbTypePop($value line: 493
Renders a HTML <select> list of context types.

return: string HTML
param: string $value Currently selected value
tbFormPop($select_name, $type = '', $value line: 512
Renders a HTML <select> list of forms.

return: string HTML
param: string $select_name Input name/ID
param: string $type Form type
param: string $value Currently selected value
tbCssPop($value line: 542
Renders a HTML <select> list of Stylesheets.

return: string | bool HTML | false on error
param: string $value Currently selected value
tbCssFormatPop($value line: 568
Renders a HTML <select> list of CSS formats.

return: string HTML
param: string $value Currently selected value
tbEscapePop($value line: 585
Renders a HTML <select> list of escape options.

return: string HTML
param: string $value Currently selected value
tbFeedFlavorPop($value line: 602
Renders a HTML <select> list of feed flavours.

return: string HTML
param: string $value Currently selected value
tbFeedFormatPop($value line: 619
Renders a HTML <select> list of feed formats.

return: string HTML
param: string $value Currently selected value
tbAuthorFormatPop($value line: 636
Renders a HTML <select> list of author formats.

return: string HTML
param: string $value Currently selected value
tbInput($name, $value, $size = INPUT_SMALL, $id = null)  line: 653
Renders a HTML <input> tag.

return: string HTML
param: string $name Input name
param: string $value Input value
param: string $size Input size in characters
param: string $id Input HTML ID. Uses $name if omitted
tag_article()  line: 668
Tag builder <txp:article> tag.

tag_article_custom()  line: 714
Tag builder <txp:article_custom> tag.

tag_article_image()  line: 789
Tag builder <txp:article_image> tag.

tag_author()  line: 825
Tag builder <txp:author> tag.

tag_body()  line: 859
Tag builder <txp:body> tag.

tag_breadcrumb()  line: 868
Tag builder <txp:breadcrumb> tag.

tag_category()  line: 904
Tag builder <txp:category> tag.

tag_category_list()  line: 941
Tag builder <txp:category_list> tag.

tag_category1()  line: 993
Tag builder <txp:category1> tag.

tag_category2()  line: 1027
Tag builder <txp:category2> tag.

tag_comment_email()  line: 1061
Tag builder <txp:comment_email> tag.

tag_comment_email_input()  line: 1070
Tag builder <txp:comment_email_input> tag.

tag_comment_message()  line: 1094
Tag builder <txp:comment_message> tag.

tag_comment_message_input()  line: 1103
Tag builder <txp:comment_message_input> tag.

tag_comment_name()  line: 1129
Tag builder <txp:comment_name> tag.

tag_comment_name_input()  line: 1151
Tag builder <txp:comment_name_input> tag.

tag_comment_permlink()  line: 1175
Tag builder <txp:comment_permlink> tag.

tag_comment_preview()  line: 1184
Tag builder <txp:comment_preview> tag.

tag_comment_remember()  line: 1193
Tag builder <txp:comment_remember> tag.

tag_comment_submit()  line: 1202
Tag builder <txp:comment_submit> tag.

tag_comment_time()  line: 1211
Tag builder <txp:comment_time> tag.

tag_comment_web()  line: 1239
Tag builder <txp:comment_web> tag.

tag_comment_web_input()  line: 1248
Tag builder <txp:comment_web_input> tag.

tag_comments()  line: 1272
Tag builder <txp:comments> tag.

tag_comments_form()  line: 1308
Tag builder <txp:comments_form> tag.

tag_comments_invite()  line: 1336
Tag builder <txp:comments_invite> tag.

tag_comments_preview()  line: 1366
Tag builder <txp:comments_preview> tag.

tag_css()  line: 1396
Tag builder <txp:css> tag.

tag_email()  line: 1428
Tag builder <txp:email> tag.

tag_excerpt()  line: 1456
Tag builder <txp:excerpt> tag.

tag_feed_link()  line: 1465
Tag builder <txp:feed_link> tag.

tag_file_download()  line: 1507
Tag builder <txp:file_download> tag.

tag_file_download_category()  line: 1533
Tag builder <txp:file_download_category> tag.

tag_file_download_created()  line: 1561
Tag builder <txp:file_download_created> tag.

tag_file_download_description()  line: 1583
Tag builder <txp:file_download_description> tag.

tag_file_download_downloads()  line: 1611
Tag builder <txp:file_download_downloads> tag.

tag_file_download_link()  line: 1620
Tag builder <txp:file_download_link> tag.

tag_file_download_list()  line: 1690
Tag builder <txp:file_download_list> tag.

tag_file_download_modified()  line: 1739
Tag builder <txp:file_download_modified> tag.

tag_file_download_name()  line: 1762
Tag builder <txp:file_download_name> tag.

tag_file_download_size()  line: 1771
Tag builder <txp:file_download_size> tag.

tag_if_category()  line: 1809
Tag builder <txp:if_category> tag.

tag_if_section()  line: 1835
Tag builder <txp:if_section> tag.

tag_image()  line: 1857
Tag builder <txp:image> tag.

tag_lang()  line: 1976
Tag builder <txp:lang> tag.

tag_link()  line: 1985
Tag builder <txp:link> tag.

tag_link_category()  line: 2013
Tag builder <txp:link_category> tag.

tag_link_date()  line: 2045
Tag builder <txp:link_date> tag.

tag_link_description()  line: 2073
Tag builder <txp:link_description> tag.

tag_link_feed_link()  line: 2105
Tag builder <txp:link_feed_link> tag.

tag_link_name()  line: 2145
Tag builder <txp:link_name> tag.

tag_link_to_home()  line: 2167
Tag builder <txp:link_to_home> tag.

tag_link_to_next()  line: 2199
Tag builder <txp:link_to_next> tag.

tag_link_to_prev()  line: 2231
Tag builder <txp:link_to_prev> tag.

tag_linkdesctitle()  line: 2263
Tag builder <txp:linkdesctitle> tag.

tag_linklist()  line: 2285
Tag builder <txp:linklist> tag.

tag_newer()  line: 2336
Tag builder <txp:newer> tag.

tag_next_title()  line: 2360
Tag builder <txp:next_title> tag.

tag_older()  line: 2369
Tag builder <txp:older> tag.

tag_output_form()  line: 2393
Tag builder <txp:output_form> tag.

tag_page_title()  line: 2415
Tag builder <txp:page_title> tag.

tag_password_protect()  line: 2438
Tag builder <txp:password_protect> tag.

tag_permlink()  line: 2464
Tag builder <txp:permlink> tag.

tag_popup()  line: 2502
Tag builder <txp:popup> tag.

tag_posted()  line: 2545
Tag builder <txp:posted> tag.

tag_prev_title()  line: 2573
Tag builder <txp:prev_title> tag.

tag_recent_articles()  line: 2582
Tag builder <txp:recent_articles> tag.

tag_recent_comments()  line: 2624
Tag builder <txp:recent_comments> tag.

tag_related_articles()  line: 2664
Tag builder <txp:related_articles> tag.

tag_search_input()  line: 2708
Tag builder <txp:search_input> tag.

tag_search_result_date()  line: 2750
Tag builder <txp:search_result_date> tag.

tag_search_result_excerpt()  line: 2778
Tag builder <txp:search_result_excerpt> tag.

tag_search_result_title()  line: 2804
Tag builder <txp:search_result_title> tag.

tag_search_result_url()  line: 2813
Tag builder <txp:search_result_url> tag.

tag_section()  line: 2822
Tag builder <txp:section> tag.

tag_section_list()  line: 2855
Tag builder <txp:section_list> tag.

tag_site_name()  line: 2899
Tag builder <txp:site_name> tag.

tag_site_slogan()  line: 2908
Tag builder <txp:site_slogan> tag.

tag_title()  line: 2917
Tag builder <txp:title> tag.

title

Body