I have the following Yii code and would like to minimise it if possible:
$request = Yii::app()->request->getPost('request');
$username = $request['model']['username'];
Is it possible to minimise this to have this work something like this so its all on a single line for instance? (note the code below doesn't work)
$username = Yii::app()->request->getPost('request['model']['username']');