Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 131... Línea 131...
131
            'id' => $this->contentitem->get_id(),
131
            'id' => $this->contentitem->get_id(),
132
            'name' => $this->contentitem->get_name(),
132
            'name' => $this->contentitem->get_name(),
133
            'title' => $this->contentitem->get_title()->get_value(),
133
            'title' => $this->contentitem->get_title()->get_value(),
134
            'link' => $this->contentitem->get_link()->out(false),
134
            'link' => $this->contentitem->get_link()->out(false),
135
            'icon' => $this->contentitem->get_icon(),
135
            'icon' => $this->contentitem->get_icon(),
-
 
136
            // Help text should not be parsed using course filters.
136
            'help' => format_text($this->contentitem->get_help(), FORMAT_MARKDOWN),
137
            'help' => format_text($this->contentitem->get_help(), FORMAT_MARKDOWN, ['filter' => false]),
137
            'archetype' => $this->contentitem->get_archetype(),
138
            'archetype' => $this->contentitem->get_archetype(),
138
            'componentname' => $this->contentitem->get_component_name(),
139
            'componentname' => $this->contentitem->get_component_name(),
139
            'favourite' => $favourite,
140
            'favourite' => $favourite,
140
            'legacyitem' => ($this->contentitem->get_id() == -1),
141
            'legacyitem' => ($this->contentitem->get_id() == -1),
141
            'recommended' => $recommended,
142
            'recommended' => $recommended,