Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
showNews.inc.php File Reference

Namespaces

namespace  news

Functions

 process_news_commands (&$cmd_data)
 delete_comments ($delete_comments_array= '')
 delete_news ($delete_news_array)
 remove_news ($remove_array)
 show_news ($range_id, $show_admin=FALSE, $limit="", $open, $width="100%", $last_visited=0, $cmd_data)
 show_rss_news ($range_id, $type)
 show_news_item ($news_item, $cmd_data, $range_id)
 show_news_item_content ($news_item, $cmd_data, $range_id)

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

Here is the call graph for this function:

Here is the caller graph for this function:

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:

process_news_commands ( $cmd_data)
Parameters
unknown_type$cmd_data

Here is the call graph for this function:

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_news (   $range_id,
  $show_admin = FALSE,
  $limit = "",
  $open,
  $width = "100%",
  $last_visited = 0,
  $cmd_data 
)
Parameters
unknown_type$range_id
unknown_type$show_admin<-deprecated
unknown_type$limit
unknown_type$open
unknown_type$width
unknown_type$last_visited
unknown_type$cmd_data

Here is the call graph for this function:

show_news_item (   $news_item,
  $cmd_data,
  $range_id 
)
Parameters
unknown_type$news_item
unknown_type$cmd_data
unknown_type$range_id

Here is the call graph for this function:

show_news_item_content (   $news_item,
  $cmd_data,
  $range_id 
)
Parameters
unknown_type$news_item
unknown_type$cmd_data
unknown_type$range_id

Here is the call graph for this function:

Here is the caller graph for this function:

show_rss_news (   $range_id,
  $type 
)
Parameters
unknown_type$range_id
unknown_type$type

Here is the call graph for this function: