public function qtype_icon($qtype) {
        $qtype = question_bank::get_qtype($qtype, false);
        $namestr = $qtype->local_name();

        return $this->image_icon('icon', $namestr, $qtype->plugin_name(), array('title' => $namestr));
    }
public function qtype_icon($qtype) {
        $qtype = question_bank::get_qtype($qtype, false);
        $namestr = $qtype->local_name();

        return $this->image_icon('icon', $namestr, $qtype->plugin_name(), array('title' => $namestr));
    }
public function qtype_icon ( $ qtype ) { $ qtype = question_bank :: get_qtype ( $ qtype , false ) ; $ namestr = $ qtype -> local_name ( ) ; return $ this -> image_icon ( 'icon' , $ namestr , $ qtype -> plugin_name ( ) , array ( 'title' => $ namestr ) ) ; }
Output the icon for a question type.

@param string $qtype the question type.
@return string HTML fragment.
Output the icon for a question type .