protected function addConstructorBody(&$script)
    {
        $table = $this->getTable();
        $script .= "
        if (null === \$dbName) {
            \$dbName = '" . $table->getDatabase()->getName() . "';
        }
        if (null === \$modelName) {
            \$modelName = '" . addslashes($this->getNewStubObjectBuilder($table)->getFullyQualifiedClassname()) . "';
        }
        parent::__construct(\$dbName, \$modelName, \$modelAlias);";
    }
protected function addConstructorBody(&$script)
    {
        $table = $this->getTable();
        $script .= "
        if (null === \$dbName) {
            \$dbName = '" . $table->getDatabase()->getName() . "';
        }
        if (null === \$modelName) {
            \$modelName = '" . addslashes($this->getNewStubObjectBuilder($table)->getFullyQualifiedClassname()) . "';
        }
        parent::__construct(\$dbName, \$modelName, \$modelAlias);";
    }
protected function addConstructorBody ( & $ script ) { $ table = $ this -> getTable ( ) ; $ script .= "
        if (null === \$dbName) {
            \$dbName = '" . $ table -> getDatabase ( ) -> getName ( ) . "';
        }
        if (null === \$modelName) {
            \$modelName = '" . addslashes ( $ this -> getNewStubObjectBuilder ( $ table ) -> getFullyQualifiedClassname ( ) ) . "';
        }
        parent::__construct(\$dbName, \$modelName, \$modelAlias);" ; }
Adds the function body for the constructor

@param string &$script The script will be modified in this method.
Adds the function body for the constructor