public function slideshow_start(lesson $lesson) {
        $attributes = array();
        $attributes['class'] = 'slideshow';
        $attributes['style'] = 'background-color:'.$lesson->properties()->bgcolor.';height:'.
                $lesson->properties()->height.'px;width:'.$lesson->properties()->width.'px;';
        $output = html_writer::start_tag('div', $attributes);
        return $output;
    }
public function slideshow_start(lesson $lesson) {
        $attributes = array();
        $attributes['class'] = 'slideshow';
        $attributes['style'] = 'background-color:'.$lesson->properties()->bgcolor.';height:'.
                $lesson->properties()->height.'px;width:'.$lesson->properties()->width.'px;';
        $output = html_writer::start_tag('div', $attributes);
        return $output;
    }
public function slideshow_start ( lesson $ lesson ) { $ attributes = array ( ) ; $ attributes [ 'class' ] = 'slideshow' ; $ attributes [ 'style' ] = 'background-color:' . $ lesson -> properties ( ) -> bgcolor . ';height:' . $ lesson -> properties ( ) -> height . 'px;width:' . $ lesson -> properties ( ) -> width . 'px;' ; $ output = html_writer :: start_tag ( 'div' , $ attributes ) ; return $ output ; }
Returns HTML to show the start of a slideshow
@param lesson $lesson
Returns HTML to show the start of a slideshow