Flarum (v1.3.1)
Preparing search index...
flarum
common/extend/Model
Model
Class Model
Index
Constructors
constructor
Properties
attributes
has
Manys
has
Ones
model
type
Methods
attribute
extend
has
Many
has
One
Constructors
constructor
new
Model
(
type
:
any
,
model
?:
null
)
:
Model
Parameters
type
:
any
model
:
null
= null
Returns
Model
Properties
attributes
attributes
:
any
[]
= []
has
Manys
hasManys
:
any
[]
= []
has
Ones
hasOnes
:
any
[]
= []
model
model
:
any
type
type
:
any
Methods
attribute
attribute
(
name
:
any
)
:
Model
Parameters
name
:
any
Returns
Model
extend
extend
(
app
:
any
,
extension
:
any
)
:
void
Parameters
app
:
any
extension
:
any
Returns
void
has
Many
hasMany
(
type
:
any
)
:
Model
Parameters
type
:
any
Returns
Model
has
One
hasOne
(
type
:
any
)
:
Model
Parameters
type
:
any
Returns
Model
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
attributes
has
Manys
has
Ones
model
type
Methods
attribute
extend
has
Many
has
One
Flarum (v1.3.1)
Loading...