konapaz
(Konapaz)
1
How can I use a php file that contains data (like fixtures) on specific ActiveRecord model?
The php file returns an array with records like a real database table
I don’t want to use a mysql or another database for this special case
This data are only for reading and is not necessarily related with other tables
Thanks
konapaz
(Konapaz)
2
How can I use a php file that contains data (like fixtures) on specific ActiveRecord model?
The php file returns an array with records like a real database table
I don’t want to use a mysql or another database for this special case
This data are only for reading and is not necessarily related with other tables
Thanks
softark
(Softark)
3
[color="#008000"]/* moved from "Yii 1.0.x Discussions" to "General Discussions for Yii 1.1.x", and merged */[/color]
softark
(Softark)
4
Is it impossible for you to use the data as is?
I mean, reading it to an array and using it as an array.
konapaz
(Konapaz)
5
I want to use simple AR queries (like findByPK) or sqlCommand with those data, so I prefer to reading like database records.
If there is a way to do that, please inform me
softark
(Softark)
6
As far as I know, there’s no extensions in Yii for that kind of text based database.
I might be wrong, please google it for yourself. 