public function CourseObjectBook::create in Course 7
Same name and namespace in other branches
- 6 modules/course_book/course_book.classes.inc \CourseObjectBook::create()
- 7.2 modules/course_book/course_book.classes.inc \CourseObjectBook::create()
Make the book.
Overrides CourseObjectNode::create
File
- modules/
course_book/ course_book.classes.inc, line 26
Class
Code
public function create($node = NULL) {
$node = new stdClass();
$node->type = $this
->getOption('node_type');
$node->book['bid'] = 'new';
$node->book['mlid'] = NULL;
parent::create($node);
}