<?php

namespace StevenBuehner\sbChurchtoolsGrouphomepage\Backend;

/**
 * The admin-specific functionality of the plugin.
 *
 * @link       http://example.com
 * @since      1.0.0
 *
 * @package    sbChurchtoolsGrouphomepage
 */

/**
 * The admin-specific functionality of the plugin.
 *
 * Defines the plugin name, version, and two examples hooks for how to
 * enqueue the admin-specific stylesheet and JavaScript.
 *
 * @package    sbWissensportal
 * @subpackage sbWissensportal/admin
 * @author     Steven Buehner <buehner@me.com>
 */
class BackendController {

	/**
	 * The ID of this plugin.
	 *
	 * @since    1.0.0
	 * @access   private
	 * @var      string $domain The ID of this plugin.
	 */
	private $domain;
	/**
	 * The version of this plugin.
	 *
	 * @since    1.0.0
	 * @access   private
	 * @var      string $version The current version of this plugin.
	 */
	private $version;

	/**
	 * Initialize the class and set its properties.
	 *
	 * @param string $domain The name of this plugin.
	 * @param string $version The version of this plugin.
	 * @since    1.0.0
	 */
	public function __construct($domain, $version) {

		$this->domain  = $domain;
		$this->version = $version;

	}

	/**
	 * Register the stylesheets for the admin area.
	 *
	 * @since    1.0.0
	 */
	public function enqueue_styles() {

		/**
		 * This function is provided for demonstration purposes only.
		 *
		 * An instance of this class should be passed to the run() function
		 * defined in sbWissensportal_Loader as all of the hooks are defined
		 * in that particular class.
		 *
		 * The sbWissensportal_Loader will then create the relationship
		 * between the defined hooks and the functions defined in this
		 * class.
		 */

		/*
		wp_enqueue_style($this->domain, plugin_dir_url(__FILE__) . 'css/sb-churchtools-grouphomepage-admin.css', [], $this->version, 'all');
		*/

	}

	/**
	 * Register the JavaScript for the admin area.
	 *
	 * @since    1.0.0
	 */
	public function enqueue_scripts() {

		/**
		 * This function is provided for demonstration purposes only.
		 *
		 * An instance of this class should be passed to the run() function
		 * defined in sbWissensportal_Loader as all of the hooks are defined
		 * in that particular class.
		 *
		 * The sbWissensportal_Loader will then create the relationship
		 * between the defined hooks and the functions defined in this
		 * class.
		 */

		/*
		wp_enqueue_script($this->domain, plugin_dir_url(__FILE__) . 'js/sb-churchtools-grouphomepage-admin.js', ['jquery'], $this->version, FALSE);
		*/

	}


}
