for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Server module for HiPanel
*
* @link https://github.com/hiqdev/hipanel-module-server
* @package hipanel-module-server
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
*/
namespace hipanel\modules\server\widgets;
use yii\bootstrap\Widget;
use Yii;
class MonitoringSettingsForm extends Widget
{
* @var string
public $title;
public $validationUrl;
public $breadcrumbsLabel;
* @var Server|Hub
public $model;
* @var array
public $nicMediaOptions;
* {@inheritdoc}
public function run()
return $this->render('MonitoringSettingsForm', [
'label' => $this->breadcrumbsLabel,
'model' => $this->model,
'title' => $this->title ?? Yii::t('hipanel:server', 'Monitoring properties'),
'nicMediaOptions' => $this->nicMediaOptions,
]);
}
* @return string
private function getActionUrl(): string
getActionUrl()
This check looks for private methods that have been defined, but are not used inside the class.
return $this->actionUrl;
actionUrl
hipanel\modules\server\w...\MonitoringSettingsForm
__get
private function getValidationUrl(): string
getValidationUrl()
return $this->validationUrl;
This check looks for private methods that have been defined, but are not used inside the class.