Answers an array of caption class names for the HTML template.

@return array
330920
public function getCaptionClassNames()
    {
        $classes = ['slide-caption'];
        
        if ($this->getParent()->hasMethod('getCaptionClassNames')) {
            $classes = array_merge($classes, $this->getParent()->getCaptionClassNames($this));
        }
        
        if ($this->TitleAfterCaption) {
            $classes[] = 'title-after';
        }
        
        $this->extend('updateCaptionClassNames', $classes);
        
        return $classes;
    }
245944
public function getModelCaption()
    {
        if ($this->caption) {
            return $this->caption;
        }

        // if caption is not set, then generate it from model class name
        $s = strtolower(get_class($this));
        //$s = str_replace('model', '', $s);
        $s = preg_split('/[\\\\_]/', $s, -1, PREG_SPLIT_NO_EMPTY);
        $s = array_map('trim', $s);
        $s = ucwords(implode(' ', $s));

        return $s;
    }
415487
public function getAllElementClassContentClassnames()
    {
        $classnames = array_filter(
            $this->getAllClassContentClassnames(),
            function ($classname) {
                return false !== strpos(
                    $classname,
                    AbstractClassContent::CLASSCONTENT_BASE_NAMESPACE.'Element\\'
                );
            }
        );

        $classnames[] = AbstractClassContent::CLASSCONTENT_BASE_NAMESPACE.'ContentSet';

        return $classnames;
    }
731909
public function getCollapseClassNames()
    {
        $classes = $this->styles('navbar.collapse', 'collapse');
        
        if ($this->hasRows()) {
            $classes[] = $this->style('navbar.column');
        }
        
        if ($align = $this->ItemAlign) {
            $classes[] = $this->style(sprintf('navbar.item-align-%s', $align));
        }
        
        if ($justify = $this->ItemJustify) {
            $classes[] = $this->style(sprintf('navbar.item-justify-%s', $justify));
        }
        
        $this->extend('updateCollapseClassNames', $classes);
        
        return $classes;
    }
632233
public function getTemplates()
	{
		$templates = [
			'br' => '<br/>',
			'e'  => '',
			'i'  => '',
			'p'  => '<p><xsl:apply-templates/></p>',
			's'  => ''
		];

		foreach ($this->configurator->tags as $tagName => $tag)
		{
			if (isset($tag->template))
			{
				$templates[$tagName] = (string) $tag->template;
			}
		}

		ksort($templates);

		return $templates;
	}
965910
public function getReadableNames() {
		$the_array = $this->icons_array;

		if ( is_array( $the_array ) ) {
			$temp = array();

			foreach ( $the_array as $class => $unicode ) {
				$temp[ $class ] = $this->generateName( $class );
			}

			$the_array = $temp;
		}

		return $the_array;

	}
231432
public function getClasses()
    {
        $classes = $this->getAttribute("class");
        return (strlen($classes) > 0) ? trim($this->removeMultipleSpaces($classes)) : "";
    }
491247
public static function getBackendAjaxClassNames()
    {
        $nameSpace = __NAMESPACE__ . '\\PageSeo';
        $ajaxPrefix = self::AJAX_PREFIX;

        return array(
            //$ajaxPrefix . PageSeo\AdvancedController::LIST_TYPE
            //  => $nameSpace . '\\' . 'AdvancedController',//unused
            $ajaxPrefix . PageSeo\GeoController::LIST_TYPE           => $nameSpace . '\\' . 'GeoController',
            $ajaxPrefix . PageSeo\MetaDataController::LIST_TYPE      => $nameSpace . '\\' . 'MetaDataController',
            $ajaxPrefix . PageSeo\PageTitleController::LIST_TYPE     => $nameSpace . '\\' . 'PageTitleController',
            $ajaxPrefix . PageSeo\PageTitleSimController::LIST_TYPE  => $nameSpace . '\\' . 'PageTitleSimController',
            $ajaxPrefix . PageSeo\SearchEnginesController::LIST_TYPE => $nameSpace . '\\' . 'SearchEnginesController',
            $ajaxPrefix . PageSeo\UrlController::LIST_TYPE           => $nameSpace . '\\' . 'UrlController',
        );
    }
325077
public function objLabels()
    {
        if ($this->objLabels === null) {
            $objLabels = [];
            $proto = $this->proto();
            $objMetadata = $proto->metadata();
            if (isset($objMetadata['labels']) && !empty($objMetadata['labels'])) {
                $objLabels = $objMetadata['labels'];
                array_walk($objLabels, function(&$value) {
                    $value = $this->translator()->translation($value);
                });
                $this->objLabels = $objLabels;
            }
        }

        return $this->objLabels;
    }
1356801
public function getAllClassContentClassnames()
    {
        if (null === $this->contentClassnames) {
            $cacheId = md5('all_classcontents_classnames_'.$this->app->getContext().'_'.$this->app->getEnvironment());
            if (!$this->app->isDebugMode() && false !== $value = $this->cache->load($cacheId)) {
                $this->contentClassnames = json_decode($value, true);
            } else {
                $this->contentClassnames = [AbstractClassContent::CLASSCONTENT_BASE_NAMESPACE . 'ContentSet'];
                foreach ($this->app->getClassContentDir() as $directory) {
                    $this->contentClassnames = array_merge(
                            $this->contentClassnames,
                            CategoryManager::getClassContentClassnamesFromDir($directory)
                    );
                }

                $this->cache->save($cacheId, json_encode($this->contentClassnames));
            }
        }

        return $this->contentClassnames;
    }
158224
public function listTemplateNames()
    {
        $this->setUpTemplate();
        $ret = array();
        foreach ($this->templates as $key => $val) {
            $ret[] = $key;
        }
        return $ret;
    }
1294605
public function getImageCaptionOptions()
    {
        return [
            self::IMAGE_CAPTION_NONE => _t(__CLASS__ . '.NONE', 'None'),
            self::IMAGE_CAPTION_MEDIA => _t(__CLASS__ . '.MEDIADESCRIPTION', 'Media Description'),
            self::IMAGE_CAPTION_COMPONENT => _t(__CLASS__ . '.COMPONENTCAPTION', 'Component Caption')
        ];
    }
879518
public function getListClassNames()
    {
        $classes = parent::getListClassNames();
        
        if ($this->hasFontIcon() && $this->ShowIcons) {
            $classes[] = 'fa-ul';
        }
        
        return $classes;
    }
1144680
public static function getNameList(): array
    {
        $list = [];
        foreach (self::getAll() as $tree) {
            $list[$tree->name] = $tree->title;
        }

        return $list;
    }
372653
public function markingClasses() {
        $classes='';
        if(!$this->isExpanded()) {
            $classes .= " unexpanded jstree-closed";
        }
        if($this->isTreeOpened()) {
            if($this->numChildren() > 0) $classes .= " jstree-open";
        } else {
            $classes .= " closed";
        }
        return $classes;
    }
327237
public function getCaptionHTML()
    {
        if ($this->CaptionMode == self::CAPTION_TEXT && $this->Caption) {
            return $this->Caption;
        }
        
        if ($this->CaptionMode == self::CAPTION_DESC && $this->Description) {
            return sprintf('<p>%s</p>', $this->Description);
        }
    }
576899
public function getCaption()
    {
        return $this->caption ?: (isset($this->ui['caption']) ? $this->ui['caption'] :
            ucwords(str_replace('_', ' ', $this->short_name)));
    }