Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test-project
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Junaid Rahman pv
test-project
Commits
a8682a9a
Commit
a8682a9a
authored
Sep 01, 2016
by
Junaid Rahman pv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created modules
parent
211aa2dc
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
112 additions
and
0 deletions
+112
-0
Module.php
backend/modules/business/Module.php
+24
-0
DefaultController.php
backend/modules/business/controllers/DefaultController.php
+20
-0
index.php
backend/modules/business/views/default/index.php
+12
-0
Module.php
backend/modules/location/Module.php
+24
-0
DefaultController.php
backend/modules/location/controllers/DefaultController.php
+20
-0
index.php
backend/modules/location/views/default/index.php
+12
-0
No files found.
backend/modules/business/Module.php
0 → 100644
View file @
a8682a9a
<?php
namespace
backend\modules\business
;
/**
* business module definition class
*/
class
Module
extends
\yii\base\Module
{
/**
* @inheritdoc
*/
public
$controllerNamespace
=
'backend\modules\business\controllers'
;
/**
* @inheritdoc
*/
public
function
init
()
{
parent
::
init
();
// custom initialization code goes here
}
}
backend/modules/business/controllers/DefaultController.php
0 → 100644
View file @
a8682a9a
<?php
namespace
backend\modules\business\controllers
;
use
yii\web\Controller
;
/**
* Default controller for the `business` module
*/
class
DefaultController
extends
Controller
{
/**
* Renders the index view for the module
* @return string
*/
public
function
actionIndex
()
{
return
$this
->
render
(
'index'
);
}
}
backend/modules/business/views/default/index.php
0 → 100644
View file @
a8682a9a
<div
class=
"business-default-index"
>
<h1>
<?=
$this
->
context
->
action
->
uniqueId
?>
</h1>
<p>
This is the view content for action "
<?=
$this
->
context
->
action
->
id
?>
".
The action belongs to the controller "
<?=
get_class
(
$this
->
context
)
?>
"
in the "
<?=
$this
->
context
->
module
->
id
?>
" module.
</p>
<p>
You may customize this page by editing the following file:
<br>
<code>
<?=
__FILE__
?>
</code>
</p>
</div>
backend/modules/location/Module.php
0 → 100644
View file @
a8682a9a
<?php
namespace
backend\modules\location
;
/**
* location module definition class
*/
class
Module
extends
\yii\base\Module
{
/**
* @inheritdoc
*/
public
$controllerNamespace
=
'backend\modules\location\controllers'
;
/**
* @inheritdoc
*/
public
function
init
()
{
parent
::
init
();
// custom initialization code goes here
}
}
backend/modules/location/controllers/DefaultController.php
0 → 100644
View file @
a8682a9a
<?php
namespace
backend\modules\location\controllers
;
use
yii\web\Controller
;
/**
* Default controller for the `location` module
*/
class
DefaultController
extends
Controller
{
/**
* Renders the index view for the module
* @return string
*/
public
function
actionIndex
()
{
return
$this
->
render
(
'index'
);
}
}
backend/modules/location/views/default/index.php
0 → 100644
View file @
a8682a9a
<div
class=
"location-default-index"
>
<h1>
<?=
$this
->
context
->
action
->
uniqueId
?>
</h1>
<p>
This is the view content for action "
<?=
$this
->
context
->
action
->
id
?>
".
The action belongs to the controller "
<?=
get_class
(
$this
->
context
)
?>
"
in the "
<?=
$this
->
context
->
module
->
id
?>
" module.
</p>
<p>
You may customize this page by editing the following file:
<br>
<code>
<?=
__FILE__
?>
</code>
</p>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment