Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
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_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
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
remove_news (   $remove_array)

generates proper text for confirmation question and removes range_id from news

Parameters
array$remove_arraywith $news_id as key and array of range_ids as value
Returns
string text for confirmation question or empty string after removal
show_rss_news (   $range_id,
  $type 
)
Parameters
unknown_type$range_id
unknown_type$type