Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 778 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\records;
use craft\db\ActiveRecord;
use craft\db\Table;
/**
* Element record class.
*
* @property int $id ID
* @property int $fieldLayoutId ID
* @property string $type Type
* @property bool $enabled Enabled
* @property bool $archived Archived
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
class Element extends ActiveRecord
{
// Public Methods
// =========================================================================
/**
* @inheritdoc
* @return string
*/
public static function tableName(): string
{
return Table::ELEMENTS;
}
}
You can’t perform that action at this time.