Campustream 1.0
A social network MQP for WPI
application/views/news/index.php File Reference

Go to the source code of this file.

Variables

 endforeach = $news->id$has_voted == 'up' ? 'active' : ''$has_voted ? 'active' : ''$news->votes$has_voted == 'down' ? 'active' : ''$news->short_id$news->titleucwords($news->category->type)$news->upvotes$news->downvotes$news->num_commentsvocab::plural('comment', $news->num_comments)ucwords($news->type)$news->user->username$news->user->name$news->category->type$news->category->slug$news->category->namedate::relative_time($news->time_posted)
else __pad0__

Variable Documentation

Definition at line 37 of file index.php.

endforeach = $news->id$has_voted == 'up' ? 'active' : ''$has_voted ? 'active' : ''$news->votes$has_voted == 'down' ? 'active' : ''$news->short_id$news->titleucwords($news->category->type)$news->upvotes$news->downvotes$news->num_commentsvocab::plural('comment', $news->num_comments)ucwords($news->type)$news->user->username$news->user->name$news->category->type$news->category->slug$news->category->namedate::relative_time($news->time_posted)

Definition at line 26 of file index.php.