private function getProcedureStructure($procedureName)
    {
        if (!$this->dumpSettings['skip-comments']) {
            $ret = "--".PHP_EOL.
                "-- Dumping routines for database '".$this->dbName."'".PHP_EOL.
                "--".PHP_EOL.PHP_EOL;
            $this->compressManager->write($ret);
        }
        $stmt = $this->typeAdapter->show_create_procedure($procedureName);
        foreach ($this->dbHandler->query($stmt) as $r) {
            $this->compressManager->write(
                $this->typeAdapter->create_procedure($r)
            );
            return;
        }
    }
private function getProcedureStructure($procedureName)
    {
        if (!$this->dumpSettings['skip-comments']) {
            $ret = "--".PHP_EOL.
                "-- Dumping routines for database '".$this->dbName."'".PHP_EOL.
                "--".PHP_EOL.PHP_EOL;
            $this->compressManager->write($ret);
        }
        $stmt = $this->typeAdapter->show_create_procedure($procedureName);
        foreach ($this->dbHandler->query($stmt) as $r) {
            $this->compressManager->write(
                $this->typeAdapter->create_procedure($r)
            );
            return;
        }
    }
private function getProcedureStructure ( $ procedureName ) { if ( ! $ this -> dumpSettings [ 'skip-comments' ] ) { $ ret = "--" . PHP_EOL . "-- Dumping routines for database '" . $ this -> dbName . "'" . PHP_EOL . "--" . PHP_EOL . PHP_EOL ; $ this -> compressManager -> write ( $ ret ) ; } $ stmt = $ this -> typeAdapter -> show_create_procedure ( $ procedureName ) ; foreach ( $ this -> dbHandler -> query ( $ stmt ) as $ r ) { $ this -> compressManager -> write ( $ this -> typeAdapter -> create_procedure ( $ r ) ) ; return ; } }
Procedure structure extractor

@param string $procedureName  Name of procedure to export
@return null
Procedure structure extractor