private function prepareConstructor()
    {
        $table_descriptor = $this->getStorageDescriptor();

        $fragment = new CNabuPHPConstructorBuilder($this);
        $fragment->addComment(
                "Instantiates the class. Receives as parameter a qualified $this->class_data_name class.");
        $fragment->addParam(
            $this->table_name, $this->class_data_name, true, null, $this->class_data_name,
            '$this->entity_name instance to be managed as XML'
        );
        $this->getDocument()->addUse('\\' . $this->class_data_namespace . '\\' . $this->class_data_name);

        $fragment->addFragment("parent::__construct(\$$this->table_name);");

        $this->addFragment($fragment);
    }
private function prepareConstructor()
    {
        $table_descriptor = $this->getStorageDescriptor();

        $fragment = new CNabuPHPConstructorBuilder($this);
        $fragment->addComment(
                "Instantiates the class. Receives as parameter a qualified $this->class_data_name class.");
        $fragment->addParam(
            $this->table_name, $this->class_data_name, true, null, $this->class_data_name,
            '$this->entity_name instance to be managed as XML'
        );
        $this->getDocument()->addUse('\\' . $this->class_data_namespace . '\\' . $this->class_data_name);

        $fragment->addFragment("parent::__construct(\$$this->table_name);");

        $this->addFragment($fragment);
    }
private function prepareConstructor ( ) { $ table_descriptor = $ this -> getStorageDescriptor ( ) ; $ fragment = new CNabuPHPConstructorBuilder ( $ this ) ; $ fragment -> addComment ( "Instantiates the class. Receives as parameter a qualified $this->class_data_name class." ) ; $ fragment -> addParam ( $ this -> table_name , $ this -> class_data_name , true , null , $ this -> class_data_name , '$this->entity_name instance to be managed as XML' ) ; $ this -> getDocument ( ) -> addUse ( '\\' . $ this -> class_data_namespace . '\\' . $ this -> class_data_name ) ; $ fragment -> addFragment ( "parent::__construct(\$$this->table_name);" ) ; $ this -> addFragment ( $ fragment ) ; }
Prepares the constructor of class.
Prepares the constructor of class .