Пример #1
0
 /**
  * Returns which toolbar items are combos.
  *
  * @static
  * @return array
  */
 public static function tb_combos()
 {
     if (!isset(self::$_tb_combos)) {
         self::$_tb_combos = array('Styles', 'Format');
         $EE = get_instance();
         // -------------------------------------------
         //  'wygwam_tb_combos' hook
         //   - Allow extensions to modify which toolbar items should be considered selects.
         //
         if ($EE->extensions->active_hook('wygwam_tb_combos')) {
             self::$_tb_combos = $EE->extensions->call('wygwam_tb_combos', self::$_tb_combos);
         }
         //
         // -------------------------------------------
     }
     return self::$_tb_combos;
 }