Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<?php
/**
* Abstract class for less variables.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Less.Variable
*/
abstract class Ai1ec_Less_Variable extends Ai1ec_Html_Element {
/**
* @var string
*/
protected $id;
/**
* @var string
*/
protected $description;
/**
* @var string
*/
protected $value;
/**
* it takes an array of parameters and a renderable.
*
* @param Ai1ec_Registry_Object $registry
* @param array $params
* @internal param \Ai1ec_Renderable $renderable
*/
public function __construct( Ai1ec_Registry_Object $registry, array $params ) {
parent::__construct( $registry );
$this->id = $params['id'];
$this->description = $params['description'];
$this->value = $params['value'];
}
}