Esempio n. 1
0
/**
 * Returns the thread count of an album during a specified month
 * @param string $albumName
 * @param string $currentMonth
 * @return numeric
 */
function stat_threads_count_by_album_and_month($albumName, $currentMonth)
{
    return threads_count_by_album_and_month($albumName, $currentMonth);
}
Esempio n. 2
0
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing threads_select_all_by_asset" . '<br/>';
var_dump(threads_select_all_by_asset($albumName, $assetName));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing comments_select_by_threadId" . '<br/>';
var_dump(comments_select_by_threadId($thread_id));
##### STATS FUNCTIONS #######################################################
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing album_get_all" . '<br/>';
var_dump(album_get_all());
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing threads_count_by_album" . '<br/>';
print_r(threads_count_by_album($albumName));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing threads_count_by_album_and_month" . '<br/>';
print_r(threads_count_by_album_and_month($albumName, $month));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing threads_count_by_album_and_date_interval" . '<br/>';
print_r(threads_count_by_album_and_date_interval($albumName, $earlier, $later));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing comments_count_by_album" . '<br/>';
print_r(comments_count_by_album($albumName));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing comments_count_by_album_and_month" . '<br/>';
print_r(comments_count_by_album_and_month($albumName, $month));
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing threads_count_all" . '<br/>';
print_r(threads_count_all());
echo '<br/><br/>' . "*************************************************************************" . '<br/>';
echo "testing comments_count_all" . '<br/>';
print_r(comments_count_all());