コード例 #1
0
 /**
  * it takes an array of parameters and a renderable. 
  * 
  * @param array $params
  * @param Ai1ec_Renderable $renderable
  */
 public function __construct(array $params)
 {
     parent::__construct();
     $this->id = $params['id'];
     $this->description = $params['description'];
     $this->value = $params['value'];
 }
コード例 #2
0
ファイル: abstract.php プロジェクト: sedici/wpmu-istec
 /**
  * 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'];
 }
 public function __construct($color, $id)
 {
     // Call the parent to set the template adapter.
     parent::__construct();
     $this->value = $color;
     $this->id = $id;
 }
コード例 #4
0
 public function __construct($label, $name, $id, array $args = array())
 {
     $this->label = $label;
     $this->name = $name;
     $this->id = $id;
     $this->args = $args;
     parent::__construct();
 }
コード例 #5
0
 public function __construct($id, $name = null)
 {
     if (null === $name) {
         $name = $id;
     }
     parent::__construct();
     $this->id = $id;
     $this->set_attribute('name', $name);
 }
 public function __construct(array $params, Ai1ec_Renderable $renderable)
 {
     parent::__construct();
     $this->id = $params['id'];
     $this->description = $params['description'];
     $this->value = $params['value'];
     // Customize the element to suit the needs of the variable
     $renderable = $this->set_up_renderable($renderable);
     $this->renderable = $renderable;
 }
 public function __construct($message, $type = 'success')
 {
     parent::__construct();
     $this->message = $message;
     $this->type = $type;
 }
 public function __construct($message, Ai1ec_View_Helper $ai1ec_view_helper)
 {
     parent::__construct();
     $this->message = $message;
     $this->ai1ec_view_helper = $ai1ec_view_helper;
 }
コード例 #9
0
 /**
  * @param string $modal_text
  */
 public function __construct($modal_text)
 {
     $this->body_text = $modal_text;
     parent::__construct();
 }
コード例 #10
0
ファイル: modal.php プロジェクト: sedici/wpmu-istec
 /**
  * @param string $modal_text
  */
 public function __construct(Ai1ec_Registry_Object $registry, $modal_text)
 {
     $this->body_text = $modal_text;
     parent::__construct($registry);
 }
 public function __construct()
 {
     parent::__construct();
     $this->container = new Ai1ec_Base_Container();
 }
コード例 #12
0
 public function __construct($id)
 {
     parent::__construct();
     $this->id = $id;
 }