run() public method

Runs the widget.
public run ( ) : string
return string rendered HTML.
示例#1
0
 /**
  * @inheritdoc
  */
 public function run()
 {
     if (count($this->getClients()) == 0) {
         return;
     } else {
         return parent::run();
     }
 }