How to create a new file and dump content in it in Joomla 2.5?
Pergunta
I know JFile and write function in Joomla 1.6 but is there a similar function for Joomla 2.5 too?? I didn' t get anything in Joomla docs.
Solução
Yes - it's there.
You can see it in /libraries/joomla/filesystem/file.php
Outras dicas
you can import it using the following code snippet:
jimport( 'joomla.filesystem.file' );
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow