Total Complexity | 1 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class EventVenue extends Model |
||
8 | { |
||
9 | /***************************************************************************/ |
||
10 | /** |
||
11 | * The table associated with the model. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $table = 'event_venues'; |
||
16 | |||
17 | /***************************************************************************/ |
||
18 | |||
19 | protected $fillable = [ |
||
20 | 'name', 'slug', 'continent_id', 'country_id', 'city', 'state_province', 'address', 'zip_code', 'description', 'website', 'created_by', 'created_at', 'updated_at', |
||
21 | ]; |
||
22 | |||
23 | /***************************************************************************/ |
||
24 | |||
25 | /** |
||
26 | * Return the venue name. |
||
27 | * |
||
28 | * @param int $venueId |
||
29 | * @return string |
||
30 | */ |
||
31 | public static function getVenueName($venueId) |
||
38 |