Skip to content

nhatvuvan/yii2-widgets

 
 

Repository files navigation

<<<<<<< HEAD NITM Widgets

Widgets created for Ninjas in the Machine

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist nitm/yii2-widgets "*"

or add

"nitm/yii2-widgets": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed enable the module:

'nitm-widgets' => [
    'class' => '/nitm/widgets/Module'
]
<?=

Then simply use it in your code by  :

```php
<?= \nitm\widgets\<group>\<widget>::widget(); ?>```
=======
yii2-nitm-widgets
=================

```php
<?=

	/**
	 * NITM reply widget routes
	 */
	'<controller:(reply|alerts|vote|issue)/<action>' => 'nitm-widgets/<controller>/<action>',
	'<controller:(reply|alerts|vote|issue)/<action>/<type>' => 'nitm-widgets/<controller>/<action>',
	'<controller:(reply|alerts|vote|issue)/<action>/<type></id>' => 'nitm-widgets/<controller>/<action>',

?>```

About

Widgets for NITM

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 87.8%
  • JavaScript 10.9%
  • CSS 1.3%