0) { $fa_comment_icon = 'fa-comment-o'; $comment_icon = '' . $comment_number . ''; } else { $fa_comment_icon = 'fa-comment'; $comment_icon = null; } // build the Font Awesome bar $function_bar = '
' . ' ' . '' . $comment_icon . '' . ' ' . $this->use_multiaction($note_id, $status, $board) . '' . ' ' . '' . ' ' . '
'; return $function_bar; } private function use_multiaction($note_id = null, $status = null, $board = null) { //if ((in_array($status, array('sendtosprint')))) { if (('sendtosprint' == $status) && ('sprint' == $board)) { return ' '; } else { return ""; } } }