Procedural File: _functions_comments.php
Source Location: /blogs/b2evocore/_functions_comments.php
Includes
require_once
(dirname(__FILE__).'/_class_comment.php')
[line 17]
Includes:
Functions
void comments_link(
[ $file = ''], [ $tb = 0], [ $pb = 0]
)
|
|
Displays link to comments page
Parameters:
API Tags:
comments_number [line 208]
void comments_number(
[ $zero = '#'], [ $one = '#'], [ $more = '#']
)
|
|
comments_number(-)
Parameters:
API Tags:
comments_popup_link [line 298]
void comments_popup_link(
[ $zero = '#'], [ $one = '#'], [ $more = '#'], [ $CSSclass = '']
)
|
|
comments_popup_link(-)
Parameters:
|
|
$zero: |
|
|
|
$one: |
|
|
|
$more: |
|
|
|
$CSSclass: |
|
API Tags:
comments_popup_script [line 268]
void comments_popup_script(
[integer $width = 600], [integer $height = 450], [boolean $scrollbars = true], [boolean $status = true], [boolean $resizable = true]
)
|
|
This will include the javascript that is required to open comments, trackback and pingback in popup windows.
You should put this tag before the </head> tag in your template.
Parameters:
|
integer |
$width: |
width of window or false |
|
integer |
$height: |
height of window or false |
|
boolean |
$scrollbars: |
do you want a scrollbar |
|
boolean |
$status: |
do you want a status bar |
|
boolean |
$resizable: |
do you want the windows to be resizable |
comment_author [line 335]
comment_author(-)
API Tags:
comment_author_email [line 346]
void comment_author_email(
)
|
|
comment_author_email(-)
API Tags:
comment_author_email_link [line 395]
void comment_author_email_link(
[ $linktext = ''], [ $before = ''], [ $after = '']
)
|
|
comment_author_email_link(-)
Parameters:
|
|
$linktext: |
|
|
|
$before: |
|
|
|
$after: |
|
API Tags:
comment_author_IP [line 433]
void comment_author_IP(
)
|
|
comment_author_IP(-)
API Tags:
comment_author_url [line 356]
void comment_author_url(
[ $echo = true]
)
|
|
comment_author_url(-)
Parameters:
API Tags:
comment_author_url_basedomain [line 377]
void comment_author_url_basedomain(
[ $disp = true]
)
|
|
comment_author_url_basedomain(-)
Parameters:
API Tags:
comment_author_url_link [line 413]
void comment_author_url_link(
[ $linktext = ''], [ $before = ''], [ $after = '']
)
|
|
comment_author_url_link(-)
Parameters:
|
|
$linktext: |
|
|
|
$before: |
|
|
|
$after: |
|
API Tags:
| Deprecated: | deprecated by $Comment->author_url() |
comment_blog_name [line 512]
void comment_blog_name(
[ $disp = true]
)
|
|
comment_blog_name(-) fplanque added
Parameters:
API Tags:
void comment_date(
[ $d = '']
)
|
|
Parameters:
Comment_get_by_ID [line 149]
void Comment_get_by_ID(
$comment_ID
)
|
|
Parameters:
comment_post_link [line 499]
void comment_post_link(
)
|
|
comment_post_link(-) fplanque added
API Tags:
| Deprecated: | deprecated by $Comment::post_link() |
comment_post_title [line 486]
void comment_post_title(
)
|
|
comment_post_title(-) fplanque added
API Tags:
| Deprecated: | deprecated by $Comment::post_title() |
comment_text(-)
API Tags:
| Deprecated: | deprecated by $Comment::content() |
void comment_time(
[ $d = '']
)
|
|
comment_time(-)
Parameters:
API Tags:
| Deprecated: | deprecated by $Comment::time() |
generic_ctp_number [line 26]
void generic_ctp_number(
$post_id, [ $mode = 'comments']
)
|
|
generic_ctp_number(-)
generic comments/trackbacks/pingbacks numbering
fplanque: added stuff to load all number for this page at ounce
Parameters:
get_commentdata [line 113]
void get_commentdata(
$comment_ID, [ $no_cache = 0]
)
|
|
Parameters:
last_comments_title [line 183]
void last_comments_title(
[string $prefix = ' '], [mixed $display = 'htmlbody']
)
|
|
Display "Last comments" title if these have been requested
Parameters:
|
string |
$prefix: |
Prefix to be displayed if something is going to be displayed |
|
mixed |
$display: |
Output format, see format_to_output() or false to return value instead of displaying it |