예제 #1
0
 /**
  * @param Sidecar_Plugin_Base|Sidecar_Settings_Base $plugin
  * @param string $option_name
  */
 function __construct($plugin, $option_name)
 {
     parent::__construct($plugin);
     $this->_plugin = $plugin;
     $this->option_name = $option_name;
     add_action('shutdown', array($this, 'shutdown'));
 }
예제 #2
0
 /**
  * @todo verify this is needed in base class
  * @param bool $is_encrypted
  */
 function set_encrypted($is_encrypted)
 {
     $this->_parent->set_encrypted($is_encrypted);
 }