| ... | ... |
@@ -1,11 +1,11 @@ |
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 | 3 |
/* |
| 4 |
- * This file is part of Contao. |
|
| 4 |
+ * This file is part of memberfiles bundle. |
|
| 5 | 5 |
* |
| 6 |
- * (c) Leo Feyer |
|
| 6 |
+ * (c) vonRotenberg |
|
| 7 | 7 |
* |
| 8 |
- * @license LGPL-3.0-or-later |
|
| 8 |
+ * @license commercial |
|
| 9 | 9 |
*/ |
| 10 | 10 |
|
| 11 | 11 |
namespace vonRotenberg\MemberfilesBundle\Model; |
| ... | ... |
@@ -14,7 +14,7 @@ use Contao\Model; |
| 14 | 14 |
use Contao\Model\Collection; |
| 15 | 15 |
|
| 16 | 16 |
/** |
| 17 |
- * Reads and writes image sizes |
|
| 17 |
+ * Reads and writes secure downloads for members |
|
| 18 | 18 |
* |
| 19 | 19 |
* @property string|integer $id |
| 20 | 20 |
* @property string|integer $tstamp |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,73 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+/* |
|
| 4 |
+ * This file is part of Contao. |
|
| 5 |
+ * |
|
| 6 |
+ * (c) Leo Feyer |
|
| 7 |
+ * |
|
| 8 |
+ * @license LGPL-3.0-or-later |
|
| 9 |
+ */ |
|
| 10 |
+ |
|
| 11 |
+namespace vonRotenberg\MemberfilesBundle\Model; |
|
| 12 |
+ |
|
| 13 |
+use Contao\Model; |
|
| 14 |
+use Contao\Model\Collection; |
|
| 15 |
+ |
|
| 16 |
+/** |
|
| 17 |
+ * Reads and writes image sizes |
|
| 18 |
+ * |
|
| 19 |
+ * @property string|integer $id |
|
| 20 |
+ * @property string|integer $tstamp |
|
| 21 |
+ * @property string $title |
|
| 22 |
+ * @property string $modal_title |
|
| 23 |
+ * @property string|integer $delay |
|
| 24 |
+ * @property string|boolean $show_once |
|
| 25 |
+ * @property string|integer $start |
|
| 26 |
+ * @property string|integer $stop |
|
| 27 |
+ * |
|
| 28 |
+ * @method static SecureDownloadsModel|null findById($id, array $opt=array()) |
|
| 29 |
+ * @method static SecureDownloadsModel|null findByPk($id, array $opt=array()) |
|
| 30 |
+ * @method static SecureDownloadsModel|null findOneBy($col, $val, array $opt=array()) |
|
| 31 |
+ * @method static SecureDownloadsModel|null findOneByTstamp($val, array $opt=array()) |
|
| 32 |
+ * @method static SecureDownloadsModel|null findOneByTitle($val, array $opt=array()) |
|
| 33 |
+ * @method static SecureDownloadsModel|null findOneByModalTitle($val, array $opt=array()) |
|
| 34 |
+ * @method static SecureDownloadsModel|null findOneByDelay($val, array $opt=array()) |
|
| 35 |
+ * @method static SecureDownloadsModel|null findOneByShowOnce($val, array $opt=array()) |
|
| 36 |
+ * @method static SecureDownloadsModel|null findOneByPublished($val, array $opt=array()) |
|
| 37 |
+ * @method static SecureDownloadsModel|null findOneByStart($val, array $opt=array()) |
|
| 38 |
+ * @method static SecureDownloadsModel|null findOneByStop($val, array $opt=array()) |
|
| 39 |
+ * |
|
| 40 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByTstamp($val, array $opt=array()) |
|
| 41 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByTitle($val, array $opt=array()) |
|
| 42 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByModalTitle($val, array $opt=array()) |
|
| 43 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByDelay($val, array $opt=array()) |
|
| 44 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByShowOnce($val, array $opt=array()) |
|
| 45 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByPublished($val, array $opt=array()) |
|
| 46 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByStart($val, array $opt=array()) |
|
| 47 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findByStop($val, array $opt=array()) |
|
| 48 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findMultipleByIds($val, array $opt=array()) |
|
| 49 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findBy($col, $val, array $opt=array()) |
|
| 50 |
+ * @method static Collection|SecureDownloadsModel[]|SecureDownloadsModel|null findAll(array $opt=array()) |
|
| 51 |
+ * |
|
| 52 |
+ * @method static integer countById($id, array $opt=array()) |
|
| 53 |
+ * @method static integer countByTstamp($val, array $opt=array()) |
|
| 54 |
+ * @method static integer countByTitle($val, array $opt=array()) |
|
| 55 |
+ * @method static integer countByModalTitle($val, array $opt=array()) |
|
| 56 |
+ * @method static integer countByDelay($val, array $opt=array()) |
|
| 57 |
+ * @method static integer countByShowOnce($val, array $opt=array()) |
|
| 58 |
+ * @method static integer countByPublished($val, array $opt=array()) |
|
| 59 |
+ * @method static integer countByStart($val, array $opt=array()) |
|
| 60 |
+ * @method static integer countByStop($val, array $opt=array()) |
|
| 61 |
+ */ |
|
| 62 |
+class SecureDownloadsModel extends Model |
|
| 63 |
+{
|
|
| 64 |
+ /** |
|
| 65 |
+ * Table name |
|
| 66 |
+ * @var string |
|
| 67 |
+ */ |
|
| 68 |
+ protected static $strTable = 'tl_member_secureDownloads'; |
|
| 69 |
+ |
|
| 70 |
+ |
|
| 71 |
+} |
|
| 72 |
+ |
|
| 73 |
+class_alias(SecureDownloadsModel::class, 'SecureDownloadsModel'); |