mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
@@ -44,10 +44,16 @@ class SOAPExternalKeySearch
|
||||
{
|
||||
public $conditions; // array of SOAPSearchCondition
|
||||
|
||||
public function __construct($aConditions)
|
||||
public function __construct($aConditions = null)
|
||||
{
|
||||
$this->conditions = $aConditions;
|
||||
}
|
||||
|
||||
public function IsVoid()
|
||||
{
|
||||
if (is_null($this->conditions)) return true;
|
||||
if (count($this->conditions) == 0) return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user