Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save defrindr/406b2bce947d3dfd00f02d02ee796a9a to your computer and use it in GitHub Desktop.
Save defrindr/406b2bce947d3dfd00f02d02ee796a9a to your computer and use it in GitHub Desktop.
<?php
namespace common\models;
use Yii;
use \common\models\base\ModuleBank as BaseModuleBank;
class ModuleBank extends BaseModuleBank
{
...
/**
*
* @overide
* replace ```index.php?modelName[id]=1``` to ```index.php?modelName[id]=1```
*
*/
public function formName()
{
return '';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment