protected function addNestedSetChildrenInit(&$script) { $script .= "\n/**\n * Initializes the \$collNestedSetChildren collection.\n *\n * @return void\n */\npublic function initNestedSetChildren()\n{\n \$collectionClassName = " . $this->builder->getNewTableMapBuilder($this->table)->getFullyQualifiedClassName() . "::getTableMap()->getCollectionClassName();\n\n \$this->collNestedSetChildren = new \$collectionClassName;\n \$this->collNestedSetChildren->setModel('" . $this->builder->getNewStubObjectBuilder($this->table)->getFullyQualifiedClassName() . "');\n}\n"; }