first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
/**
* I'am UI interface
*
* @package Cherry_Framework
* @subpackage Class
* @author Cherry Team <cherryframework@gmail.com>
* @copyright Copyright (c) 2012 - 2017, Cherry Team
* @link http://www.cherryframework.com/
* @license http://www.gnu.org/licenses/gpl-3.0.en.html
*/
/**
* UI element interface
*/
interface I_UI {
/**
* Enqueue javascript and stylesheet to UI element.
*/
public static function enqueue_assets();
/**
* Render UI element.
*
* @return string.
*/
public function render();
/**
* Get control name
*
* @return string control name.
*/
public function get_name();
/**
* Set control name
*
* @param [type] $name new control name.
*/
public function set_name( $name );
}