Commit 4263bb14573056c20189b43c0d31f796c3a18f66
1 parent
42f205fd
change view
Showing
5 changed files
with
5 additions
and
5 deletions
Show diff stats
common/models/Events.php
common/models/Gallery.php
common/models/MyActiveRecord.php renamed to common/models/GalleryRecord.php
| @@ -8,7 +8,7 @@ use Yii; | @@ -8,7 +8,7 @@ use Yii; | ||
| 8 | * This is extension of the ActiveRecord Class". | 8 | * This is extension of the ActiveRecord Class". |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | -class MyActiveRecord extends \yii\db\ActiveRecord | 11 | +class GalleryRecord extends \yii\db\ActiveRecord |
| 12 | { | 12 | { |
| 13 | public function shortenString( $str, $length = 200 ) | 13 | public function shortenString( $str, $length = 200 ) |
| 14 | { | 14 | { |
common/models/Schools.php
| @@ -18,7 +18,7 @@ use common\models; | @@ -18,7 +18,7 @@ use common\models; | ||
| 18 | * @property string $name | 18 | * @property string $name |
| 19 | * @property string $spots_id | 19 | * @property string $spots_id |
| 20 | */ | 20 | */ |
| 21 | -class Schools extends MyActiveRecord | 21 | +class Schools extends GalleryRecord |
| 22 | { | 22 | { |
| 23 | 23 | ||
| 24 | public $file; | 24 | public $file; |
common/models/Spots.php
| @@ -22,7 +22,7 @@ use common\models; | @@ -22,7 +22,7 @@ use common\models; | ||
| 22 | * @property string $forecast_id | 22 | * @property string $forecast_id |
| 23 | * @property string $forecast_code | 23 | * @property string $forecast_code |
| 24 | */ | 24 | */ |
| 25 | -class Spots extends MyActiveRecord | 25 | +class Spots extends GalleryRecord |
| 26 | { | 26 | { |
| 27 | public $file_three; | 27 | public $file_three; |
| 28 | /** | 28 | /** |