protected function get_cminfo($instance, $modname = null) {

        if (is_null($modname)) {
            $modname = $this->pluginname;
        }
        return $this->converter->get_stash('cminfo_'.$modname, $instance);
    }
protected function get_cminfo($instance, $modname = null) {

        if (is_null($modname)) {
            $modname = $this->pluginname;
        }
        return $this->converter->get_stash('cminfo_'.$modname, $instance);
    }
protected function get_cminfo ( $ instance , $ modname = null ) { if ( is_null ( $ modname ) ) { $ modname = $ this -> pluginname ; } return $ this -> converter -> get_stash ( 'cminfo_' . $ modname , $ instance ) ; }
Returns course module information for the given instance id

The information for this instance id has been stashed by
{@link moodle1_course_outline_handler::process_course_module()}

@param int $instance the module instance id
@param string $modname the module type, defaults to $this->pluginname
@return int
Returns course module information for the given instance id