Answers a list of the enabled slides within the receiver.

@return ArrayList
436693
public function getEnabledSlides()
    {
        $slides = ArrayList::create();
        
        if ($this->isEnabled()) {
            $slides->push($this);
        }
        
        return $slides;
    }
557580
public function listAction()
    {
        $automaticTheme = $this->addAutomaticTheme();

        $themeMaper = $this->getAdminThemeService();

        $themesActivated = $themeMaper->findActiveTheme();
        $themesNotActivated = $themeMaper->findActiveTheme(false);

        return array('themesActivated'    => $themesActivated,
                     'themesNotActivated' => $themesNotActivated,
                     'automaticTheme'     => $automaticTheme,
                     'flashMessages'      => $this->flashMessenger()->getMessages());
    }
683182
public function getActivityAllowableValues()
    {
        return [
            self::ACTIVITY_NONE,
            self::ACTIVITY_MANUFACTURING,
            self::ACTIVITY_RESEARCHING_TECHNOLOGY,
            self::ACTIVITY_RESEARCHING_TIME_EFFICIENCY,
            self::ACTIVITY_RESEARCHING_MATERIAL_EFFICIENCY,
            self::ACTIVITY_COPYING,
            self::ACTIVITY_DUPLICATING,
            self::ACTIVITY_INVENTION,
            self::ACTIVITY_REVERSE_ENGINEERING,
        ];
    }
1049007
public function toOptionArray()
    {
        return [
            ['label' => __('Auto'), 'value' => self::AUTO_DISPLAYED],
            ['label' => __('Always hidden'), 'value' => self::ALWAYS_HIDDEN],
            ['label' => __('Always displayed'), 'value' => self::ALWAYS_DISPLAYED],
        ];
    }
58493
public function getEnabledPluginActions()
    {
        $enabledActionsList = array();

        $configValues = $this->config->toArray();

        // find all settings that start with "enable_" in the config-value-name and collect all active ones
        $searchKeyPart = 'enable_';
        foreach ($configValues as $key => $val) {
            if (substr($key, 0, strlen($searchKeyPart)) == $searchKeyPart) {
                if ($val) {
                    $enabledActionsList[$key] = $val;
                }
            }
        }

        return $enabledActionsList;
    }
655836
public function getAvailableDrivers()
    {
        $this->method = 'getAvailableDrivers';
        $this->sendRequest();
        $this->method = null;

        return $this->availableDrivers ? $this->availableDrivers : array();
    }
525228
protected function elements()
    {
        $window = $this->getUrlWindow($this->onEachSide);

        return array_filter(array(
            $window['first'],
            is_array($window['slider']) ? '...' : null,
            $window['slider'],
            is_array($window['last']) ? '...' : null,
            $window['last'],
        ));
    }
626953
public function getList()
    {
        $data = [];
        foreach ($this->providers as $provider) {
            /** @var ProviderInterface $provider */
            $data = array_merge_recursive(
                $data, $provider->getImages()
            );
        }

        return $data;
    }
179073
protected function _getListOptionsForElem() {
		$cachePath = 'DefaultOptions_ViewExt_' . $this->_currUIlang;
		$cached = Cache::read($cachePath, CAKE_THEME_CACHE_KEY_HELPERS);
		if (!empty($cached)) {
			return $cached;
		}

		$result = [];
		$result['yesNo'] = [
			'yes' => __d('view_extension', 'Yes'),
			'no' => __d('view_extension', 'No')
		];
		$result['showEmpty'] = __d('view_extension', '&lt;None&gt;');
		$result['popupModalLink'] = [
			'escape' => false,
			'class' => 'popup-link',
			'target' => '_blank',
			'data-popover-placement' => 'auto top',
			'data-modal-title' => __d('view_extension', 'Detail information'),
		];
		$result['popupLink'] = [
			'escape' => false,
			'class' => 'popup-link',
			'target' => '_blank',
			'data-popover-placement' => 'auto top',
		];
		$result['modalLink'] = [
			'escape' => false,
			'data-modal-title' => __d('view_extension', 'Detail information'),
		];
		$result['confirmLink'] = [
			'escape' => false,
			'data-confirm-msg' => __d('view_extension', 'Are you sure you wish to delete this data?'),
			'data-confirm-btn-ok' => __d('view_extension', 'Yes'),
			'data-confirm-btn-cancel' => __d('view_extension', 'No')
		];
		$result['paginationSortPjax'] = [
			'linkOpt' => [
				'title' => __d('view_extension', 'Click to sort by this fiels'),
				'data-toggle' => 'pjax'
			],
			'iconDir' => [
				'asc' => $this->iconTag('fas fa-long-arrow-alt-up'),
				'desc' => $this->iconTag('fas fa-long-arrow-alt-down'),
			]
		];
		$result['truncateText'] = [
			'truncateOpt' => [
				'ellipsis' => $this->Html->link($this->iconTag('fas fa-angle-double-right'), '#', [
					'role' => 'button',
					'escape' => false,
					'data-toggle' => 'collapse-text-expand',
					'class' => 'collapse-text-action-btn',
					'title' => __d('view_extension', 'Expand text')
					]),
				'exact' => false,
				'html' => true
			],
			'collapseLink' => $this->Html->link($this->iconTag('fas fa-angle-double-left'), '#', [
				'role' => 'button',
				'escape' => false,
				'data-toggle' => 'collapse-text-roll-up',
				'class' => 'collapse-text-action-btn',
				'title' => __d('view_extension', 'Roll up text')
			])
		];
		$result['form'] = [
			'role' => 'form',
			'requiredcheck' => true,
			'data-required-msg' => __d('view_extension', 'Please fill in this field'),
		];
		$result['barPaging'] = [
			'firstPage' => [
				'icon' => $this->iconTag('fas fa-angle-double-left'),
				'linkOpt' => [
					'tag' => 'li',
					'escape' => false,
					'title' => __d('view_extension', 'First page'),
					'data-toggle' => 'tooltip',
				]
			],
			'previousPage' => [
				'icon' => $this->iconTag('fas fa-angle-left'),
				'linkOpt' => [
					'tag' => 'li',
					'escape' => false,
					'title' => __d('view_extension', 'Previous page'),
					'data-toggle' => 'tooltip',
				]
			],
			'numbers' => [
				'separator' => '',
				'ellipsis' => '...',
				'tag' => 'li',
				'currentLink' => true,
				'currentClass' => 'active',
				'currentTag' => 'a'
			],
			'nextPage' => [
				'icon' => $this->iconTag('fas fa-angle-right'),
				'linkOpt' => [
					'tag' => 'li',
					'escape' => false,
					'title' => __d('view_extension', 'Next page'),
					'data-toggle' => 'tooltip',
				]
			],
			'lastPage' => [
				'icon' => $this->iconTag('fas fa-angle-double-right'),
				'linkOpt' => [
					'tag' => 'li',
					'escape' => false,
					'title' => __d('view_extension', 'Last page'),
					'data-toggle' => 'tooltip',
				]
			],
			'showList' => [
				'icon' => $this->iconTag('fas fa-align-justify'),
				'linkOpt' => [
					'title' => __d('view_extension', 'Show as list'),
					'escape' => false
				]
			],
			'goToPage' => [
				'link' => $this->Html->link(
					$this->iconTag('fas fa-ellipsis-h'),
					'#',
					[
						'role' => 'button',
						'escape' => false,
						'data-toggle' => 'collapse',
						'aria-expanded' => 'false',
						'data-target' => '.control-go-to-page',
						'title' => __d('view_extension', 'Go to the page'),
					]
				),
				'spin' => [
					'id' => 'gotopagebar',
					'class' => 'input-sm',
					'autocomplete' => 'off',
					'min' => '1',
					'step' => '1',
					'verticalbuttons' => 'false',
					'postfix' => $this->iconTag('fas fa-share'),
					'postfix_extraclass' => 'btn btn-default btn-go-to-page',
					'title' => __d('view_extension', 'The page number to quickly jump')
				]
			],
			'numLines' => [
				'id' => 'numlinesbar',
				'type' => 'select',
				'style' => 'btn-default btn-sm',
				'width' => false,
				'live-search' => false,
				'size' => 'auto',
				'class' => 'form-control show-tick filter-condition input-sm',
				'autocomplete' => 'off',
				'div' => false,
				'label' => false,
				'title' => __d('view_extension', 'Number of lines'),
			]
		];
		$result['buttonsMove'] = [
			'btnDrag' => $this->buttonLink(
				'fas fa-arrows-alt',
				'btn-primary',
				'#',
				[
					'role' => 'button',
					'data-toggle' => 'drag',
					'title' => __d('view_extension', 'Drag and drop this item'),
				]
			),
			'btnsMove' => [
				[
					'icon' => 'fas fa-angle-double-up',
					'title' => __d('view_extension', 'Move top'),
					'url' => ['top']
				],
				[
					'icon' => 'fas fa-angle-up',
					'title' => __d('view_extension', 'Move up'),
					'url' => ['up']
				],
				[
					'icon' => 'fas fa-angle-down',
					'title' => __d('view_extension', 'Move down'),
					'url' => ['down']
				],
				[
					'icon' => 'fas fa-angle-double-down',
					'title' => __d('view_extension', 'Move bottom'),
					'url' => ['bottom']
				],
			]
		];
		$result['loadMore'] = [
			'linkTitle' => __d('view_extension', 'Load more'),
			'linkOpt' => [
				'role' => 'button',
				'data-toggle' => 'load-more',
				'title' => __d('view_extension', 'Load more informations')
			]
		];
		$result['btnPrint'] = $this->button(
			'fas fa-print fa-lg',
			'btn btn-default',
			[
				'data-toggle' => 'print',
				'class' => 'view-extension-print-btn',
				'title' => __d('view_extension', 'Print this page')
			]
		);
		$result['btnHeaderMenu'] = $this->ExtBs3Form->button(
			$this->iconTag('fas fa-bars fa-lg') . '&nbsp;' .
			$this->Html->tag('span', '', ['class' => 'caret']),
			[
				'type' => 'button',
				'class' => 'btn btn-default dropdown-toggle',
				'data-toggle' => 'dropdown',
				'title' => __d('view_extension', 'Menu of operations'),
				'aria-haspopup' => 'true',
				'aria-expanded' => 'false',
				'id' => 'pageHeaderMenu'
			]
		);
		Cache::write($cachePath, $result, CAKE_THEME_CACHE_KEY_HELPERS);

		return $result;
	}
472819
public function getPreviewEnabled()
    {
        $record = $this->getSourceRecord();
        $previewEnabled = $record && $record instanceof CMSPreviewable;

        $this->extend('updatePreviewEnabled', $previewEnabled, $record);

        return $previewEnabled;
    }
534338
protected function get_enabled_plugins() {
        $plugins = \core\plugininfo\fileconverter::get_enabled_plugins();

        $pluginclasses = [];
        foreach ($plugins as $plugin) {
            $pluginclasses[$plugin] = \core\plugininfo\fileconverter::get_classname($plugin);
        }

        return $pluginclasses;
    }
605604
def slides(self):
        
        sldIdLst = self._element.get_or_add_sldIdLst()
        self.part.rename_slide_parts([sldId.rId for sldId in sldIdLst])
        return Slides(sldIdLst, self)
21181
public function getMappedClasses()
    {
        if (null === $this->classes) {
            $this->classes = $this->getClassesFromYaml();
        }

        return array_keys($this->classes);
    }
1020849
public function getImageClassNames()
    {
        $classes = ['slide-image'];
        
        if ($this->getParent()->hasMethod('getImageClassNames')) {
            $classes = array_merge($classes, $this->getParent()->getImageClassNames($this));
        }
        
        $this->extend('updateImageClassNames', $classes);
        
        return $classes;
    }
1357136
public static function getActionableViews() {
		static $views;
		if (isset($views)) {
			return $views;
		}

		$views = [];

		$plugin = elgg_get_plugin_from_id('hypeInteractions');
		$settings = $plugin->getAllSettings();
		foreach ($settings as $key => $value) {
			if (!$value) {
				continue;
			}
			list ($prefix, $view) = explode(':', $key);
			if ($prefix !== 'stream_object') {
				continue;
			}
			$views[] = $view;
		}

		return $views;
	}
198172
public function getAllTextItems()
    {
        $parameters = func_get_args();

        //set parameter values
        if (count($parameters) == 2) {
            $slideNumber = $parameters[0];
            $withEmpty = $parameters[1];
        }




        //Build URI to get all text items
        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() .
            ((isset($parameters[0])) ? '/slides/' . $slideNumber . '/textItems?withEmpty=' . $withEmpty : '/textItems');

        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($responseStream);

        return $json->TextItems->Items;
    }
1181897
protected function get_list_of_themes() {
        $selectablethemes = array();

        // Get all themes installed on site.
        $themes = core_component::get_plugin_list('theme');
        ksort($themes);

        foreach ($themes as $themename => $themedir) {
            // Load the theme config.
            try {
                $theme = $this->get_theme_config($themename);
            } catch (Exception $e) {
                // Bad theme, just skip it for now.
                continue;
            }
            if ($themename !== $theme->name) {
                // Obsoleted or broken theme, just skip for now.
                continue;
            }
            if ($theme->hidefromselector) {
                // The theme doesn't want to be shown in the theme selector and as theme
                // designer mode is switched off we will respect that decision.
                continue;
            }
            $selectablethemes[] = $themename;
        }

        return $selectablethemes;
    }