https://join.slack.com/t/yii/shared_invite/MjIxMjMxMTk5MTU1LTE1MDE3MDAwMzMtM2VkMTMyMjY1Ng
if I have
'urlManager' => array(
'rules' => array(
‘form/<gender:(male|female)>' => ’site/form’,
‘contact’ => ‘site/form’,
…
)),
I wanna $_GET[‘gender’] auto transform tobe man|woman, How is it?
I wanna $this->createUrl(‘site/form’,[‘gender’=>’other']); to result "contact?gender=other" since other not in regex (male|female), How is it ?
form_fields
id
NOT IN ('3', '1', '6')) AND (form_id=:form_id)4
, 3