<?php /** * ArtLayout for Contao * * Copyright (c) 2016 Benjamin Roth * * @link http://www.esales-media.de * @license commercial */ namespace eSM_artLayout; /** * Reads and writes article layouts * * @property integer $id * @property integer $pid * @property integer $sorting * @property integer $tstamp * @property string $title * @property string $alias * @property integer $showBackgroundImage * @property string $bgImageSize * @property integer $center * @property integer $maxWidth * @property integer $useHelper * @property string $bgStyle * * @method static \ThemeModel|null findById($id, $opt=array()) * @method static \ThemeModel|null findByPk($id, $opt=array()) * @method static \ThemeModel|null findByIdOrAlias($val, $opt=array()) * @method static \ThemeModel|null findOneBy($col, $val, $opt=array()) * @method static \ThemeModel|null findOneByTstamp($val, $opt=array()) * @method static \ThemeModel|null findOneByTitle($val, $opt=array()) * @method static \ThemeModel|null findOneByAlias($val, $opt=array()) * * @method static \Model\Collection|\ThemeModel|null findByTstamp($val, $opt=array()) * @method static \Model\Collection|\ThemeModel|null findByTitle($val, $opt=array()) * @method static \Model\Collection|\ThemeModel|null findByAlias($val, $opt=array()) * @method static \Model\Collection|\ThemeModel|null findMultipleByIds($val, $opt=array()) * @method static \Model\Collection|\ThemeModel|null findBy($col, $val, $opt=array()) * @method static \Model\Collection|\ThemeModel|null findAll($opt=array()) * * @method static integer countById($id, $opt=array()) * @method static integer countByTstamp($val, $opt=array()) * @method static integer countByTitle($val, $opt=array()) * @method static integer countByAlias($val, $opt=array()) * * @author Benjamin Roth <http://www.esales-media.de> */ class ArticleLayoutsModel extends \Model { /** * Table name * @var string */ protected static $strTable = 'tl_article_layouts'; }