function init() {
        $this->blockname = get_class($this);
        $this->title = get_string('pluginname', $this->blockname);
    }
function init() {
        $this->blockname = get_class($this);
        $this->title = get_string('pluginname', $this->blockname);
    }
function init ( ) { $ this -> blockname = get_class ( $ this ) ; $ this -> title = get_string ( 'pluginname' , $ this -> blockname ) ; }
Set the initial properties for the block
Set the initial properties for the block