Editable::run PHP Method

run() public method

public run ( )
    public function run()
    {
        //Register script (even if apply = false to support live update)
        if ($this->apply !== false || $this->liveTarget) {
            $this->buildHtmlOptions();
            $this->buildJsOptions();
            $this->registerAssets();
            $this->registerClientScript();
        }
        if ($this->apply !== false) {
            $this->renderLink();
        } else {
            $this->renderText();
        }
    }