Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
227 views
in Q2A Core by

 

what  $q_view['content']  statement is doing here means what is function of this statement.
 
function q_view_content($q_view)
{
if (!empty($q_view['content']))
$this->output(
'<DIV CLASS="qa-q-view-content">',
$q_view['content'],
'</DIV>'
);
}

1 Answer

0 votes
by
That function probably outputs the content of a question... similiar to view['title'] which ouputs the title of a question :-)
by
but genrally we call an function like this
$q_view('content')
but here it is square braces []
...