/**
  * Constructor
  *
  * @access public
  *
  * Calls the parent constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->dropdown['link']['title'] = 'Insert Link ...';
     $this->dropdown['link']['callback'] = 'EditorButtons.Link.OpenModal';
     $this->dropdown['unlink']['title'] = 'Unlink';
     $this->dropdown['unlink']['exec'] = 'unlink';
 }
 /**
  * Constructor
  *
  * @access public
  *
  * Calls the parent constructor
  */
 public function __construct($settings = array())
 {
     parent::__construct($settings);
     $this->EE->load->add_package_path(PATH_THIRD . 'editor_pack/');
     // If we have no settings? Lets alert!
     if (isset($settings['templates']) === FALSE || empty($settings['templates']) === TRUE) {
         $this->info['callback'] = 'EditorButtons.NoSettingsAlert';
         return;
     }
     foreach ($settings['templates'] as $key => $tmpl) {
         $this->dropdown[$key]['title'] = $tmpl['title'];
         $this->dropdown[$key]['callback'] = 'EditorButtons.Templates.InsertTemplate';
     }
 }
 /**
  * Constructor
  *
  * @access public
  *
  * Calls the parent constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Constructor
  *
  * @access public
  *
  * Calls the parent constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->EE->load->add_package_path(PATH_THIRD . 'editor/');
 }