Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yii basic read and write file helper

Tags:

php

file-io

yii

I was searching for a Yii file helper to make read and write operation easy. But I couldn't find anything and it looks strange to me. Is there any functionality for this in Yii?

like image 452
Michal Kikta Avatar asked Oct 07 '22 03:10

Michal Kikta


1 Answers

There is only CFileHelper in Yii. But that doesn't have support for read and writes. http://www.yiiframework.com/doc/api/1.1/CFileHelper

There is a extension called http://www.yiiframework.com/extension/cfile/ , which has some relevant methods, that you might need.

like image 160
Rishav Rastogi Avatar answered Oct 13 '22 11:10

Rishav Rastogi