public function __construct($gallery, $cm, $image, $tab) { parent::__construct($gallery, $cm, $image, $tab, true); $this->strresize = get_string('edit_resize', 'lightboxgallery'); $this->strscale = get_string('edit_resizescale', 'lightboxgallery'); $this->resizeoptions = lightboxgallery_resize_options(); }
function edit_resize($gallery, $image, $tab) { parent::edit_base($gallery, $image, $tab, true); $this->strresize = get_string('edit_resize', 'lightboxgallery'); $this->strscale = get_string('edit_resizescale', 'lightboxgallery'); $this->resizeoptions = lightboxgallery_resize_options(); }
public function __construct($gallery, $cm, $image, $tab) { parent::__construct($gallery, $cm, $image, $tab, true); }
function edit_flip($gallery, $image, $tab) { parent::edit_base($gallery, $image, $tab, true); }
function edit_crop($gallery, $image, $tab) { parent::edit_base($gallery, $image, $tab, true, false); }