Stud.IP  trunk Revision
showNews.inc.php File Reference

Namespaces

 news
 

Functions

 delete_comments ($delete_comments_array='')
 
 delete_news ($delete_news_array)
 
 remove_news ($remove_array)
 
 show_rss_news ($range_id, $type)
 

Function Documentation

◆ delete_comments()

delete_comments (   $delete_comments_array = '')

generates proper text for confirmation question and deletes comments

Parameters
mixed$comment_id(single or array)
Returns
string text for confirmation question or empty string after deletion
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_news()

delete_news (   $delete_news_array)

generates proper text for confirmation question and deletes news

Parameters
mixed$delete_news_array(single id or array)
Returns
string text for confirmation question or empty string after deletion
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove_news()

remove_news (   $remove_array)

generates proper text for confirmation question and removes range_id from news

Parameters
$remove_arrayarray with $news_id as key and array of range_ids as value
string$range_id
Returns
string text for confirmation question or empty string after removal
Here is the call graph for this function:
Here is the caller graph for this function:

◆ show_rss_news()

show_rss_news (   $range_id,
  $type 
)
Parameters
unknown_type$range_id
unknown_type$type
Here is the call graph for this function: