Created
May 26, 2015 03:40
-
-
Save mdmunir/ae22c03a41741798db03 to your computer and use it in GitHub Desktop.
Simple Chat Application (Models). Put at folder `app/models`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace app\models; | |
| /** | |
| * Description of Chat | |
| * | |
| * @author Misbahul D Munir <[email protected]> | |
| * @since 1.0 | |
| */ | |
| class Chat extends \yii\db\ActiveRecord | |
| { | |
| public static function tableName() | |
| { | |
| return '{{%chat}}'; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace app\models; | |
| /** | |
| * Description of ChatAccount | |
| * | |
| * @author Misbahul D Munir <[email protected]> | |
| * @since 1.0 | |
| */ | |
| class ChatAccount extends \yii\db\ActiveRecord | |
| { | |
| public static function tableName() | |
| { | |
| return '{{%chat_account}}'; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment