API_CreateData

B::create($datamodel)

Creates new content

Creates new content.

Parameters

datamodel
Either B_Datamodel or a string name of data model.

Functions inherited from API_SaveData

set

Details...

Set value or values to save.

Functions

create

Details...

Creates the content.

setParent

Details...

Sets parent for content.

setPublished

Details...

Sets the publishing state of the content

setTemplate

Details...

Sets parent for content.