Skip to content

Commit

Permalink
Merge pull request #1 from baumannsven/hotfix/MaeEventCatModel
Browse files Browse the repository at this point in the history
add the model to the project
  • Loading branch information
marebe1602 committed Jun 1, 2015
2 parents 2277a77 + 6f6257a commit 0cd075d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@

ClassLoader::addClasses(array
(
'MaeEventCategories\MaeEvent' => 'system/modules/mae_event_categories/classes/MaeEvent.php'
'MaeEventCategories\MaeEvent' => 'system/modules/mae_event_categories/classes/MaeEvent.php',

// Models
'MaeEventCategories\MaeEventCatModel' => 'system/modules/mae_event_categories/model/MaeEventCatModel.php'
));
28 changes: 28 additions & 0 deletions model/MaeEventCatModel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2015 Leo Feyer
*
* @license LGPL-3.0+
*/

namespace MaeEventCategories;


/**
* Reads and writes calendars
*
* @author Leo Feyer <https://github.com/leofeyer>
*/
class MaeEventCatModel extends \Model
{

/**
* Table name
* @var string
*/
protected static $strTable = 'tl_mae_event_cat';

}

0 comments on commit 0cd075d

Please sign in to comment.