41 lines
730 B
PHP
41 lines
730 B
PHP
<?php
|
|
|
|
/**
|
|
* @author Any
|
|
* @description KISS
|
|
* @date 2019-2-15
|
|
* @version 1.0.0
|
|
*/
|
|
|
|
namespace app\widgets;
|
|
|
|
use yii\base\Widget;
|
|
|
|
|
|
class PickLinker extends Widget
|
|
{
|
|
public $links;
|
|
public $link_input_class;
|
|
public $link_select_btn;
|
|
|
|
public $store;
|
|
public $box;
|
|
public $notice;
|
|
|
|
|
|
public function init() {
|
|
parent::init();
|
|
}
|
|
|
|
public function run()
|
|
{
|
|
return $this->render('pick-linker',[
|
|
"links" => $this->links,
|
|
"link_input_class" => $this->link_input_class,
|
|
"link_select_btn" => $this->link_select_btn,
|
|
"store" => $this->store,
|
|
"box" => $this->box,
|
|
"notice" => $this->notice,
|
|
]);
|
|
}
|
|
} |