TYPO3: Access old-style piBase methods from Extbase extension -


can access old-style pibase classes , methods extbase extension?

for example, can create accessmyoldextensionservice.php service wrapper class , pull return values controller?

in case, need return list of old data records can't migrated mvc style directly.

if so, basic approach be?

to access on db records of old extension can map table new extension. create new model matching properties of needed table fields. create mapping in ts setup.txt like

persistence{ [...]     classes{         tx_yournewextension_domain_model_bar {             mapping {                 tablename = tablenameofoldextension             }         }      } } 

create related repository.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -