Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
0a19cb27
Commit
0a19cb27
authored
Mar 24, 2016
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Добавлен модуль unisender
parent
835931b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
0 deletions
+57
-0
backend/config/main.php
backend/config/main.php
+1
-0
common/modules/unisender/Module.php
common/modules/unisender/Module.php
+24
-0
common/modules/unisender/controllers/DefaultController.php
common/modules/unisender/controllers/DefaultController.php
+20
-0
common/modules/unisender/views/default/index.php
common/modules/unisender/views/default/index.php
+12
-0
No files found.
backend/config/main.php
View file @
0a19cb27
...
...
@@ -30,6 +30,7 @@ return [
'school'
=>
[
'class'
=>
'common\modules\school\Module'
],
'support'
=>
[
'class'
=>
'common\modules\support\Module'
],
'rbac'
=>
[
'class'
=>
'common\modules\rbac\rbac'
],
'unisender'
=>
[
'class'
=>
'common\modules\unisender\Module'
],
],
'components'
=>
[
'session'
=>
[
...
...
common/modules/unisender/Module.php
0 → 100644
View file @
0a19cb27
<?php
namespace
common\modules\unisender
;
/**
* unisender module definition class
*/
class
Module
extends
\yii\base\Module
{
/**
* @inheritdoc
*/
public
$controllerNamespace
=
'common\modules\unisender\controllers'
;
/**
* @inheritdoc
*/
public
function
init
()
{
parent
::
init
();
// custom initialization code goes here
}
}
common/modules/unisender/controllers/DefaultController.php
0 → 100644
View file @
0a19cb27
<?php
namespace
common\modules\unisender\controllers
;
use
yii\web\Controller
;
/**
* Default controller for the `unisender` module
*/
class
DefaultController
extends
Controller
{
/**
* Renders the index view for the module
* @return string
*/
public
function
actionIndex
()
{
return
$this
->
render
(
'index'
);
}
}
common/modules/unisender/views/default/index.php
0 → 100644
View file @
0a19cb27
<div
class=
"unisender-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