Προσθήκη java στον κώδικα του moodle

Απάντηση: Προσθήκη java στον κώδικα του moodle

by Tome Meto -
Number of replies: 0

Γεια σας,

Θα ήθελα να βάλω μέσα σε ένα block ένα applet. Δηλαδή το περιεχόμενο του block να είναι το συγκεκριμένο applet. Δημιούργησα ένα block...Δηλαδή έγραψα τον κώδικα

<?php

class block_simplehtml extends block_base {

         function init() {

                 $this->title = get_string('simplehtml', 'block_simplehtml');

                 $this->version = 2004111200;

         }

         function get_content() {

                if ($this->content !== NULL) {

                            return $this->content;

                 }

                 $this->content = new stdClass;

                 $this->content->text = 'The content of our SimpleHTML block!';

                 $this->content->footer = 'Footer here...';

                return $this->content;

         }

}

?>

Όπως λένε οι οδηγίες. Τώρα τα πρέπει να κάνω για να βάλω το applet ?

Php δεν ξέρω, χρειάζεται να μάθώ;

Please help me...

 

Καλή Χρονιά σε όλους