first commit
This commit is contained in:
20
application/command/stub/Controller.stub
Normal file
20
application/command/stub/Controller.stub
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace app\$module\controller;
|
||||
|
||||
class $controller extends Base
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return $this->fetch();
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
return $this->fetch();
|
||||
}
|
||||
public function edit()
|
||||
{
|
||||
return $this->fetch();
|
||||
}
|
||||
public function delete()
|
||||
{}
|
||||
}
|
8
application/command/stub/Model.stub
Normal file
8
application/command/stub/Model.stub
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace app\models;
|
||||
|
||||
class $modelModel extends AbstractBaseModel
|
||||
{
|
||||
protected $name = '$model';
|
||||
}
|
0
application/command/stub/View.stub
Normal file
0
application/command/stub/View.stub
Normal file
Reference in New Issue
Block a user