b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _functions_comments.php

Source Location: /blogs/b2evocore/_functions_comments.php

Page Details

Comment handling

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Author:  This file built upon code from original b2 - http://cafelog.com/
Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Includes
require_once (dirname(__FILE__).'/_class_comment.php') [line 17]

Includes:

[ Top ]


Functions
comments_link  [line 236]

void comments_link( [ $file = ''], [ $tb = 0], [ $pb = 0]  )

Displays link to comments page

Parameters:
   $file: 
   $tb: 
   $pb: 

API Tags:
Deprecated:  deprecated by Item::feedback_link()


[ Top ]
comments_number  [line 208]

void comments_number( [ $zero = '#'], [ $one = '#'], [ $more = '#']  )

comments_number(-)

Parameters:
   $zero: 
   $one: 
   $more: 

API Tags:
Deprecated:  deprecated by Item::feedback_link()


[ Top ]
comments_popup_link  [line 298]

void comments_popup_link( [ $zero = '#'], [ $one = '#'], [ $more = '#'], [ $CSSclass = '']  )

comments_popup_link(-)

Parameters:
   $zero: 
   $one: 
   $more: 
   $CSSclass: 

API Tags:
Deprecated:  deprecated by Item::feedback_link()


[ Top ]
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


[ Top ]
comment_author  [line 335]

void comment_author( )

comment_author(-)


API Tags:
Deprecated:  deprecated by Comment::author()


[ Top ]
comment_author_email  [line 346]

void comment_author_email( )

comment_author_email(-)


API Tags:
Deprecated:  deprecated by Comment::author_email()


[ Top ]
comment_author_email_link  [line 395]

void comment_author_email_link( [ $linktext = ''], [ $before = ''], [ $after = '']  )

comment_author_email_link(-)

Parameters:
   $linktext: 
   $before: 
   $after: 

API Tags:
Deprecated:  deprecated by Comment::author_email()


[ Top ]
comment_author_IP  [line 433]

void comment_author_IP( )

comment_author_IP(-)


API Tags:
Deprecated:  deprecated by Comment::author_ip()


[ Top ]
comment_author_url  [line 356]

void comment_author_url( [ $echo = true]  )

comment_author_url(-)

Parameters:
   $echo: 

API Tags:
Deprecated:  deprecated by Comment::author_url()


[ Top ]
comment_author_url_basedomain  [line 377]

void comment_author_url_basedomain( [ $disp = true]  )

comment_author_url_basedomain(-)

Parameters:
   $disp: 

API Tags:
Deprecated:  


[ Top ]
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()


[ Top ]
comment_blog_name  [line 512]

void comment_blog_name( [ $disp = true]  )

comment_blog_name(-) fplanque added

Parameters:
   $disp: 

API Tags:
Deprecated:  


[ Top ]
comment_date  [line 458]

void comment_date( [ $d = '']  )
Parameters:
   $d: 


[ Top ]
Comment_get_by_ID  [line 149]

void Comment_get_by_ID( $comment_ID  )
Parameters:
   $comment_ID: 


[ Top ]
comment_ID  [line 325]

void comment_ID( )

comment_ID(-)


API Tags:
Deprecated:  deprecated by DataObject::ID()


[ Top ]
comment_post_link  [line 499]

void comment_post_link( )

comment_post_link(-) fplanque added


API Tags:
Deprecated:  deprecated by $Comment::post_link()


[ Top ]
comment_post_title  [line 486]

void comment_post_title( )

comment_post_title(-) fplanque added


API Tags:
Deprecated:  deprecated by $Comment::post_title()


[ Top ]
comment_text  [line 442]

void comment_text( )

comment_text(-)


API Tags:
Deprecated:  deprecated by $Comment::content()


[ Top ]
comment_time  [line 471]

void comment_time( [ $d = '']  )

comment_time(-)

Parameters:
   $d: 

API Tags:
Deprecated:  deprecated by $Comment::time()


[ Top ]
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:
   $post_id: 
   $mode: 


[ Top ]
get_commentdata  [line 113]

void get_commentdata( $comment_ID, [ $no_cache = 0]  )
Parameters:
   $comment_ID: 
   $no_cache: 


[ Top ]
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


[ Top ]


Documentation generated on Tue, 20 May 2008 01:54:45 +0200 by phpDocumentor 1.4.2