src/Command/GenerateModuleCommand.php
protected function _generateModule($oScaffold)
    {
        $oSmarty = $this->_getSmarty();
        $oSmarty->assign('oScaffold', $oScaffold);

        if ($oScaffold->sVendor) {
            $this->_generateVendorDir($oScaffold->sVendor);
        }

        $sModuleDir = $this->_getModuleDir($oScaffold->sVendor, $oScaffold->sModuleName);
        $this->_copyAndParseDir(
            $this->_sTemplatesDir, $sModuleDir, array(
                '_prefix_' => strtolower($oScaffold->sVendor . $oScaffold->sModuleName)
            )
        );
    }
protected function _generateModule($oScaffold)
    {
        $oSmarty = $this->_getSmarty();
        $oSmarty->assign('oScaffold', $oScaffold);

        if ($oScaffold->sVendor) {
            $this->_generateVendorDir($oScaffold->sVendor);
        }

        $sModuleDir = $this->_getModuleDir($oScaffold->sVendor, $oScaffold->sModuleName);
        $this->_copyAndParseDir(
            $this->_sTemplatesDir, $sModuleDir, array(
                '_prefix_' => strtolower($oScaffold->sVendor . $oScaffold->sModuleName)
            )
        );
    }
protected function _generateModule ( $ oScaffold ) { $ oSmarty = $ this -> _getSmarty ( ) ; $ oSmarty -> assign ( 'oScaffold' , $ oScaffold ) ; if ( $ oScaffold -> sVendor ) { $ this -> _generateVendorDir ( $ oScaffold -> sVendor ) ; } $ sModuleDir = $ this -> _getModuleDir ( $ oScaffold -> sVendor , $ oScaffold -> sModuleName ) ; $ this -> _copyAndParseDir ( $ this -> _sTemplatesDir , $ sModuleDir , array ( '_prefix_' => strtolower ( $ oScaffold -> sVendor . $ oScaffold -> sModuleName ) ) ) ; }
Generate module from scaffold object

@param object $oScaffold
Generate module from scaffold object