Campustream 1.0
A social network MQP for WPI
application/views/collaborate/show.php File Reference

Go to the source code of this file.

Variables

if($question->tags &&count($question->
tags) > 0)($question->tags as
$tag) 
endif = $question->categoryucfirst($question->category)$question->user->avatar$question->title$question->message
 $has_voted = $response->has_voted()
 $up_votes = $response->up_votes
 $down_votes = $response->down_votes
 endforeach = $response->id$response->user->avatar_url('small')$response->message$response->user->username$response->user->namedate::relative_time($response->post_date)$up_votesvocab::plural('vote', $up_votes)$down_votesvocab::plural('vote', $down_votes)$has_voted === 'up' ? 'active' : ''$has_voted != false ? 'active' : ''$response->vote_count$has_voted === 'down' ? 'active' : ''

Variable Documentation

$down_votes = $response->down_votes

Definition at line 44 of file show.php.

$has_voted = $response->has_voted()

Definition at line 42 of file show.php.

$up_votes = $response->up_votes

Definition at line 43 of file show.php.

endforeach = $response->id$response->user->avatar_url('small')$response->message$response->user->username$response->user->namedate::relative_time($response->post_date)$up_votesvocab::plural('vote', $up_votes)$down_votesvocab::plural('vote', $down_votes)$has_voted === 'up' ? 'active' : ''$has_voted != false ? 'active' : ''$response->vote_count$has_voted === 'down' ? 'active' : ''

Definition at line 61 of file show.php.

if (sess::is_logged_in()&&$question->user_id==sess::getUserID())<spanid="<?=$question-> id endif = $question->categoryucfirst($question->category)$question->user->avatar$question->title$question->message

Definition at line 16 of file show.php.