Wiki

Displaying 51-60 of 742 result(s).

MongoDB's RBAC support class extending BaseManager

Created 6 months ago by edoardo849How-tos1 comment – viewed 3,382 times – version 2.0
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this:
tags: mongodb, rbac, yii2

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created 7 months ago by SmitheshHow-tos0 comments – viewed 3,825 times – ( +2 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

embedded javascript block in your view with IDE checking or intellisense

Created 7 months ago by yiqing95Tips0 comments – viewed 2,497 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Check users online, user last activity, user last ip

Created 7 months ago by frazelliHow-tos5 comments – viewed 4,344 times – ( +4 ) – version 1.1
DbHttpSession

How to implement form events

Created 7 months ago by Antonio RamirezHow-tos4 comments – viewed 4,425 times – ( +6 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

Building a REST API in Yii2.0

Created 7 months ago by sirin kTutorials5 comments – viewed 26,832 times – ( +4 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Write & use a custom Component in Yii2.0

Created 7 months ago by sirin kHow-tos2 comments – viewed 11,188 times – ( +15 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Translation from .txt file

Created 8 months ago by Yii3Tutorials6 comments – viewed 2,576 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

Google style sign out of all other sessions

Created 8 months ago by Rohit SutharHow-tos2 comments – viewed 3,786 times – ( +4 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created 8 months ago by ruderbytesHow-tos2 comments – viewed 9,769 times – version 1.1
Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin