Home Reference Source Repository
public class | source

ContentProfileUpload

Extends:

react~Component → ContentProfileUpload

Method Summary

Public Methods
public

contains(array,: array,text): boolean

Check if array contains tag text

public

Handle add tag

public

handleDelete(text: *)

Handle delete tag

public

render(): html

Loads the course profile

public

Uploads course

Public Methods

public contains(array,: array,text): boolean source

Check if array contains tag text

Params:

NameTypeAttributeDescription
array, array,text

text

Return:

boolean

boolean - return boolean

public handleAddTag() source

Handle add tag

public handleDelete(text: *) source

Handle delete tag

Params:

NameTypeAttributeDescription
text *

public render(): html source

Loads the course profile

Return:

html

returns course profile depending on type of user

public uploadCourse(course: object): object source

Uploads course

Params:

NameTypeAttributeDescription
course object

takes course for upload

Return:

object

arr - return array from converted json object