SproutCMS

This is the code documentation for the SproutCMS project

function putString()

Saves file content as a string. Basically the same as file_put_contents

Usage

bool File::putString ( string $filename , string $content );

Arguments

  1. string $filename
    The name of the file in the repository
  2. string $content
    The content

Return value

  • bool
    True on success, false on failure