2017 © Pedro Peláez
 

yii2-extension yii2-behaviors

Yii2 behaviors library

image

inspirenmy/yii2-behaviors

Yii2 behaviors library

  • Thursday, September 21, 2017
  • by inspirenmy
  • Repository
  • 0 Watchers
  • 0 Stars
  • 570 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 51 % Grown

The README.md

Yii2 behaviors library

Description

Yii2 behaviors library which used in web-application development., (*1)

Composition

SanitizeBehavior

Sanitize model string attributes (all string attributes by default). You can exclude some fields or allow some html tags., (*2)

Usage:
// in model ActiveRecord
public function behaviors()
{
    return [
        SanitizeBehavior::className(),
    ];
}

TimestampBehavior

Extends standard yii class to use with not required attributes., (*3)

Usage:
// in model ActiveRecord
public function behaviors()
{
    return [
        TimestampBehavior::className(),
    ];
}

The Versions

21/09 2017

dev-master

9999999-dev https://github.com/inspirenmy/yii2-behaviors

Yii2 behaviors library

  Sources   Download

MIT

The Requires

 

by Dmitry inspirenmy

component extension yii2 yii behavior

21/09 2017

1.0.1

1.0.1.0 https://github.com/inspirenmy/yii2-behaviors

Yii2 behaviors library

  Sources   Download

MIT

The Requires

 

by Dmitry inspirenmy

component extension yii2 yii behavior

22/08 2016

1.0.0

1.0.0.0 https://github.com/demmonico/yii2-behaviors

Yii2 behaviors library

  Sources   Download

MIT

The Requires

 

by Dmitry demmonico

component extension yii2 yii behavior