mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Merge remote-tracking branch 'origin/support/3.0' into develop
This commit is contained in:
@@ -599,6 +599,18 @@ abstract class UIBlock implements iUIBlock
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sName Name of the data attribute
|
||||
*
|
||||
* @return bool True if $sName is already defined (even as a null value) in the UIBLock data attributes, false otherwise
|
||||
* @see static::$aDataAttributes
|
||||
* @since 3.0.4 3.1.0 N°6140
|
||||
*/
|
||||
public function HasDataAttribute(string $sName): bool
|
||||
{
|
||||
return array_key_exists($sName, $this->aDataAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
* @see static::$aDataAttributes
|
||||
|
||||
Reference in New Issue
Block a user