Skip to content
Snippets Groups Projects
Select Git revision
  • deee969042d4643c1571bd880ad338ca6516ea7d
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

CheckboxField.php

Blame
  • Requirement_Checker.php 1.59 KiB
    <?php
    /**
     * Checks requirements for plugin
     * have to be compatible with PHP 5.2.x
     */
    interface WPDesk_Requirement_Checker
    {
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_php_require($version);
    
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_wp_require($version);
    
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_wc_require($version);
    
        /**
         * @param $version
         *
         * @return $this
         */
        public function set_min_openssl_require($version);
    
        /**
         * @param string $plugin_name
         * @param string $nice_plugin_name Nice plugin name for better looks in notice
         *
         * @return $this
         */
        public function add_plugin_require($plugin_name, $nice_plugin_name = null);
    
        /**
         * @param string $module_name
         * @param string $nice_name Nice module name for better looks in notice
         *
         * @return $this
         */
        public function add_php_module_require($module_name, $nice_name = null);
    
        /**
         * @param string $setting
         * @param mixed $value
         *
         * @return $this
         */
        public function add_php_setting_require($setting, $value);
    
        /**
         * @return bool
         */
        public function are_requirements_met();
    
        /**
         * @return void
         */
        public function disable_plugin_render_notice();
    
    	/**
    	 * @return void
    	 */
    	public function render_notices();
    
        /**
         * Renders requirement notices in admin panel
         *
         * @return void
         */
        public function disable_plugin();
    }