HEX
Server: Apache
System: Linux sxb1plmcpnl510113.prod.sxb1.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: acnbijigo78q (10488831)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/acnbijigo78q/public_html/jetk.sa/wp-content/plugins/wpml-cms-nav/app/Domain/Settings.php
<?php

namespace WPML\Nav\Domain;

class Settings
{

	/**
	 * @var bool
	 */
	private $use_cache;

	/**
	 *
	 * @var string
	 */
	private $page_order;

	/**
	 * Append content at the beggining of heading page navigation.
	 *
	 * @var string|null
	 */
	private $heading_start;

	/**
	 * Append content to the end of heading page navigation.
	 *
	 * @var
	 */
	private $heading_end;

	/**
	 * @param bool $use_cache
	 * @param string $page_order
	 * @param string $heading_start
	 * @param string $heading_end
	 */
	public function __construct(
		$use_cache = true,
		$page_order = 'menu_order',
		$heading_start = '<h4>',
		$heading_end = '</h4>'
	) {
		$this->use_cache = $use_cache;
		$this->page_order = $page_order;
		$this->heading_start = $heading_start;
		$this->heading_end = $heading_end;
	}

	/**
	 * @return bool
	 */
	public function getUseCache() {
		return $this->use_cache;
	}

	/**
	 * @return string
	 */
	public function getPageOrder() {
		return $this->page_order;
	}

	/**
	 * @return string|null
	 */
	public function getHeadingStart() {
		return $this->heading_start;
	}

	/**
	 * @return mixed
	 */
	public function getHeadingEnd() {
		return $this->heading_end;
	}
}