<?php

class MLinkDownload extends MLink
{
    public function __construct( $name = NULL, $label = NULL, $href = NULL, $text = NULL, $target = '_self' )
    {
        parent::__construct( $name, $label, $href, $text, $target );
    }

    public function generateLink()
    {
        // always uses href as link, for any SPI Mode
        if ($this->href != '')
        {
            $this->href .= '&__ISDOWNLOAD=yes';
        }
    }
}
?>