Adding a status indicator for each plugin on the build page, fixing ignores for PHPCPD
This commit is contained in:
parent
6053f0f748
commit
4037964d4c
6 changed files with 108 additions and 14 deletions
|
|
@ -25,6 +25,7 @@ class BuildBase extends Model
|
|||
'created' => null,
|
||||
'started' => null,
|
||||
'finished' => null,
|
||||
'plugins' => null,
|
||||
);
|
||||
protected $_getters = array(
|
||||
'id' => 'getId',
|
||||
|
|
@ -36,6 +37,7 @@ class BuildBase extends Model
|
|||
'created' => 'getCreated',
|
||||
'started' => 'getStarted',
|
||||
'finished' => 'getFinished',
|
||||
'plugins' => 'getPlugins',
|
||||
|
||||
'Project' => 'getProject',
|
||||
|
||||
|
|
@ -51,6 +53,7 @@ class BuildBase extends Model
|
|||
'created' => 'setCreated',
|
||||
'started' => 'setStarted',
|
||||
'finished' => 'setFinished',
|
||||
'plugins' => 'setPlugins',
|
||||
|
||||
'Project' => 'setProject',
|
||||
);
|
||||
|
|
@ -126,6 +129,14 @@ class BuildBase extends Model
|
|||
|
||||
|
||||
|
||||
),
|
||||
'plugins' => array(
|
||||
'type' => 'text',
|
||||
'length' => '',
|
||||
'nullable' => true,
|
||||
|
||||
|
||||
|
||||
),
|
||||
);
|
||||
public $indexes = array(
|
||||
|
|
@ -229,6 +240,14 @@ class BuildBase extends Model
|
|||
return $rtn;
|
||||
}
|
||||
|
||||
public function getPlugins()
|
||||
{
|
||||
$rtn = $this->_data['plugins'];
|
||||
|
||||
|
||||
return $rtn;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function setId($value)
|
||||
|
|
@ -357,6 +376,20 @@ class BuildBase extends Model
|
|||
$this->_setModified('finished');
|
||||
}
|
||||
|
||||
public function setPlugins($value)
|
||||
{
|
||||
|
||||
$this->_validateString('Plugins', $value);
|
||||
if($this->_data['plugins'] == $value)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$this->_data['plugins'] = $value;
|
||||
|
||||
$this->_setModified('plugins');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue