Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
_setRegexps example
public
function
__construct
(
array
$options
= array
(
)
)
{
while
(
list
(
$name
,
$value
)
=
each
(
$options
)
)
{
$name
=
strtolower
(
$name
)
;
switch
(
$name
)
{
case
'regexps':
$this
->
_setRegexps
(
$value
)
;
break
;
case
'default_options':
$this
->
_setDefaultOptions
(
$value
)
;
break
;
case
'content_type_memorization':
$this
->
_setContentTypeMemorization
(
$value
)
;
break
;
default
:
$this
->
setOption
(
$name
,
$value
)
;
}
}