library/Garp/Spawn/Model/Base.php
public function materializeExtendedJsModels(Garp_Spawn_Model_Set $modelSet) {
        $jsExtendedModel = new Garp_Spawn_Js_Model_Extended($this->id, $modelSet);
        $jsExtendedModelOutput = $jsExtendedModel->render();

        $jsAppExtendedFile = new Garp_Spawn_Js_Model_File_AppExtended($this);
        $jsAppExtendedFile->save($jsExtendedModelOutput);

        if ($this->module === 'garp') {
            $jsGarpExtendedFile = new Garp_Spawn_Js_Model_File_GarpExtended($this);
            $jsGarpExtendedFile->save($jsExtendedModelOutput);
        }
    }
public function materializeExtendedJsModels(Garp_Spawn_Model_Set $modelSet) {
        $jsExtendedModel = new Garp_Spawn_Js_Model_Extended($this->id, $modelSet);
        $jsExtendedModelOutput = $jsExtendedModel->render();

        $jsAppExtendedFile = new Garp_Spawn_Js_Model_File_AppExtended($this);
        $jsAppExtendedFile->save($jsExtendedModelOutput);

        if ($this->module === 'garp') {
            $jsGarpExtendedFile = new Garp_Spawn_Js_Model_File_GarpExtended($this);
            $jsGarpExtendedFile->save($jsExtendedModelOutput);
        }
    }
public function materializeExtendedJsModels ( Garp_Spawn_Model_Set $ modelSet ) { $ jsExtendedModel = new Garp_Spawn_Js_Model_Extended ( $ this -> id , $ modelSet ) ; $ jsExtendedModelOutput = $ jsExtendedModel -> render ( ) ; $ jsAppExtendedFile = new Garp_Spawn_Js_Model_File_AppExtended ( $ this ) ; $ jsAppExtendedFile -> save ( $ jsExtendedModelOutput ) ; if ( $ this -> module === 'garp' ) { $ jsGarpExtendedFile = new Garp_Spawn_Js_Model_File_GarpExtended ( $ this ) ; $ jsGarpExtendedFile -> save ( $ jsExtendedModelOutput ) ; } }
Creates extended model files, if necessary.
Creates extended model files if necessary .