Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_tag.php - 3371 lines - 94450 bytes - Source - Print

Description: Tag builder.

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

Defines 1 class

BuilderTags:: (111 methods):
tagbuildDialog()
tagbuildGroups()
popTagLinks()
renderTagHelp()
tagbuildForm()
widget()
widgets()
tbNoAtts()
tb()
tdb()
build()
tbTimePop()
tbYesNoPop()
tbStatusPop()
tbSortPop()
tbDiscussSortPop()
tbListSortPop()
tbAuthorPop()
tbSectionPop()
tbCategoryPop()
tbMatchCatPop()
tbPatternPop()
tbTypePop()
tbThemePop()
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.

tagbuildDialog($ev line: 79
Return a list of tag builder tags for the given event.

return: HTML
param: $ev The event (type of dialog) to build: page, form
tagbuildGroups()  line: 143
List of tags in their corresponding groups.

return: array
popTagLinks($type, $panel line: 267
Return a list of tag builder links.

return: string HTML
param: string $type  Tag type
param: string $panel The panel (event) on which the builder is displayed
renderTagHelp($name, $panel line: 291
Return 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: 344
Render a form tag with the given content.

return: string HTML
param: string $content The HTML form contents
widget($label, $thing line: 356
Render 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 = array()  line: 374
Render a set of input widgets.

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

return: string <txp:tag />
tb($tag, $atts_list = array()  line: 416
Generate 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: 448
Render a textarea to hold the built content.

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

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

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

return: string HTML
param: string $name Input name/ID
param: string $value Currently selected value
tbStatusPop($value, $type = 'article')  line: 529
Render a HTML <select> list of article status options.

return: string HTML
param: string $value Currently selected value
param: string $type  The flavor of status to return. article=full set, file=limited set
tbSortPop($value line: 554
Render a HTML <select> list of sort options.

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

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

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

return: string HTML
param: string $value Currently selected value
tbSectionPop($select_name, $value line: 651
Render 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: 678
Render 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: 697
Render a HTML <select> list of category match options.

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

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

return: string HTML
param: string $value Currently selected value
tbThemePop($value line: 753
Render a HTML <select> list of Themes.

return: string | bool HTML | false on error
param: string $value Currently selected value
tbFormPop($select_name, $type = '', $value line: 779
Render 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: 809
Render a HTML <select> list of Stylesheets.

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

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

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

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

return: string HTML
param: string $value Currently selected value
tbAuthorFormatPop($value line: 903
Render 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: 920
Render 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: 935
Tag builder <txp:article> tag.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Not adding realname attribute as it's pretty much the same as author.
tag_file_download_modified()  line: 2126
Tag builder <txp:file_download_modified> tag.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Not adding realname attribute as it's pretty much the same as author.
tag_newer()  line: 2748
Tag builder <txp:newer> tag.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

title

Body