Search
Preparing search index...
The search index is not available
sigaa-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sigaa-api
SigaaHomework
Class SigaaHomework
Hierarchy
AbstractUpdatableResource
SigaaHomework
Implements
Homework
Index
Constructors
constructor
Properties
__instance
Indentifier
_description
_end
Date
_file
_form
Send
Homework
_form
View
Homework
Submitted
_have
Grade
_id
_is
Group
Homework
_start
Date
_title
is
Closed
type
updater
Accessors
_instance
Indentifier
end
Date
id
start
Date
title
Methods
check
IfIt
Was
Closed
close
get
Attachment
File
get
Description
get
Flag
Have
Grade
get
Flag
IsGroup
Homework
update
update
Instance
Constructors
constructor
new
Sigaa
Homework
(
http
:
HTTP
, courseResourcesFactory
:
CourseResourcesFactory
, options
:
HomeworkData
, updater
:
UpdatableResourceCallback
)
:
SigaaHomework
Parameters
http:
HTTP
courseResourcesFactory:
CourseResourcesFactory
options:
HomeworkData
updater:
UpdatableResourceCallback
Returns
SigaaHomework
Properties
Protected
__instance
Indentifier
__instance
Indentifier
:
string
Private
Optional
_description
_description
:
string
Private
_end
Date
_end
Date
:
Date
Private
Optional
_file
_file
:
File
Private
Optional
_form
Send
Homework
_form
Send
Homework
:
SigaaForm
Private
Optional
_form
View
Homework
Submitted
_form
View
Homework
Submitted
:
SigaaForm
Private
Optional
_have
Grade
_have
Grade
:
boolean
Private
Optional
_id
_id
:
string
Private
Optional
_is
Group
Homework
_is
Group
Homework
:
boolean
Private
_start
Date
_start
Date
:
Date
Private
_title
_title
:
string
Protected
is
Closed
is
Closed
:
boolean
= false
Readonly
type
type
:
"homework"
= 'homework'
Protected
Optional
updater
updater
:
UpdatableResourceCallback
Accessors
_instance
Indentifier
get
_instanceIndentifier
(
)
:
string
Returns
string
end
Date
get
endDate
(
)
:
Date
Returns
Date
id
get
id
(
)
:
null
|
string
Returns
null
|
string
start
Date
get
startDate
(
)
:
Date
Returns
Date
title
get
title
(
)
:
string
Returns
string
Methods
Protected
check
IfIt
Was
Closed
check
IfIt
Was
Closed
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
get
Attachment
File
get
Attachment
File
(
)
:
Promise
<
File
>
Get attachment file.
Returns
Promise
<
File
>
get
Description
get
Description
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Flag
Have
Grade
get
Flag
Have
Grade
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
get
Flag
IsGroup
Homework
get
Flag
IsGroup
Homework
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
update
update
(
options
:
HomeworkData
)
:
void
Parameters
options:
HomeworkData
Returns
void
Protected
update
Instance
update
Instance
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Exports
Sigaa
Homework
constructor
__instance
Indentifier
_description
_end
Date
_file
_form
Send
Homework
_form
View
Homework
Submitted
_have
Grade
_id
_is
Group
Homework
_start
Date
_title
is
Closed
type
updater
_instance
Indentifier
end
Date
id
start
Date
title
check
IfIt
Was
Closed
close
get
Attachment
File
get
Description
get
Flag
Have
Grade
get
Flag
IsGroup
Homework
update
update
Instance
Generated using
TypeDoc
Get attachment file.