mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
15 lines
356 B
PHP
15 lines
356 B
PHP
<?php
|
|
|
|
/**
|
|
* @since 3.0.0 N°4515
|
|
* @used-by \Combodo\iTop\Test\UnitTest\Core\AttributeURLTest
|
|
*/
|
|
class AttributeURLDefaultPattern extends AttributeURL {
|
|
public function GetValidationPattern()
|
|
{
|
|
/** @noinspection OneTimeUseVariablesInspection */
|
|
$oConfig = utils::GetConfig();
|
|
return '^'.$oConfig->GetDefault('url_validation_pattern').'$';
|
|
}
|
|
}
|