Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test-project
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Junaid Rahman pv
test-project
Commits
7bd28bad
Commit
7bd28bad
authored
Aug 31, 2016
by
dianc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Category Updated-2
parent
61e93916
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Category.php
common/models/Category.php
+4
-0
No files found.
common/models/Category.php
View file @
7bd28bad
...
...
@@ -4,6 +4,9 @@ namespace common\models;
use
Yii
;
use
common\models\query\CategoryQuery
;
use
yii\behaviors\SluggableBehavior
;
use
yii\behaviors\TimestampBehavior
;
use
trntv\filekit\behaviors\UploadBehavior
;
/**
* This is the model class for table "{{%category}}".
...
...
@@ -25,6 +28,7 @@ class Category extends \yii\db\ActiveRecord
const
STATUS_ACTIVE
=
1
;
const
STATUS_IN_ACTIVE
=
2
;
public
$image
;
/**
* @inheritdoc
...
...
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