1. Christian Salazar
  2. YiiFileManager

Commits

christiansalazar  committed 755337c

rename_file README entry

  • Participants
  • Parent commits 9a34a96
  • Branches master

Comments (0)

Files changed (1)

File README.md

View file
 	//
 	$bool = Yii::app()->fileman->can_read(Yii::app()->user->id, "188abc123");
 
+	// RENAME FILES
+	//
+	$bool = Yii::app()->fileman->rename_file(Yii::app()->user->id, "188abc123", "new file name");
+
 	// REMOVE FILES
 	//   using the file_id provided when calling list_files()
 	Yii::app()->fileman->remove_file($identity, "18ac11981");