Browse Source

[UPDATE] introduce get_options_count method

experimental
Georgi Hristov 2 years ago
parent
commit
d617b112b6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      modules/Utils/LeightboxPrompt/LeightboxPrompt_0.php

+ 4
- 0
modules/Utils/LeightboxPrompt/LeightboxPrompt_0.php View File

@@ -201,6 +201,10 @@ class Utils_LeightboxPrompt extends Module {
if (!$this->init) print('<a style="display:none;" '.$this->get_href().'></a>');
$this->init=true;
}
public function get_options_count() {
return count($this->options);
}

public function get_close_leightbox_href($reset_view = false) {
return 'href="javascript:void(0)" onclick="' . $this->get_close_leightbox_href_js($reset_view) . '"';


Loading…
Cancel
Save