mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
Add todos to document magic properties on models
This commit is contained in:
parent
e62093f4dd
commit
f17c3a2778
|
@ -2,6 +2,9 @@
|
|||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class AccessToken extends Model
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -14,6 +14,8 @@ use Flarum\Core\Model;
|
|||
* in the activity feed, and what *subject* is associated with it. For example,
|
||||
* the 'posted' activity type represents that a user made a post. Its subject is
|
||||
* a post, of which the ID is stored in the `subject_id` column.
|
||||
*
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class Activity extends Model
|
||||
{
|
||||
|
|
|
@ -14,6 +14,9 @@ use Flarum\Core\Support\Locked;
|
|||
use Flarum\Core\Support\VisibleScope;
|
||||
use Flarum\Core\Support\ValidatesBeforeSave;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class Discussion extends Model
|
||||
{
|
||||
use EventGenerator;
|
||||
|
|
|
@ -11,6 +11,8 @@ use Illuminate\Database\Eloquent\Builder;
|
|||
* Stores information about how much of a discussion a user has read. Can also
|
||||
* be used to store other information, if the appropriate columns are added to
|
||||
* the database, like a user's subscription status for a discussion.
|
||||
*
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class DiscussionState extends Model
|
||||
{
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class Group extends Model
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -15,6 +15,8 @@ use Flarum\Core\Model;
|
|||
* For example, the 'discussionRenamed' notification type represents that
|
||||
* someone renamed a user's discussion. Its subject is a discussion, of which
|
||||
* the ID is stored in the `subject_id` column.
|
||||
*
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class Notification extends Model
|
||||
{
|
||||
|
|
|
@ -8,6 +8,9 @@ use Flarum\Core\Support\EventGenerator;
|
|||
use Flarum\Core\Support\ValidatesBeforeSave;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class Post extends Model
|
||||
{
|
||||
use EventGenerator;
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class EmailToken extends Model
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class PasswordToken extends Model
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -19,6 +19,9 @@ use Flarum\Core\Support\VisibleScope;
|
|||
use Flarum\Core\Support\EventGenerator;
|
||||
use Flarum\Core\Support\ValidatesBeforeSave;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
*/
|
||||
class User extends Model
|
||||
{
|
||||
use EventGenerator;
|
||||
|
|
Loading…
Reference in New Issue
Block a user