symfony API

sfData Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.0 API OpenSearch


You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

This class defines the interface for interacting with data, as well


sfPropelData  <  sfData

Method Summary

Method Details

  • doLoadData () Browse code

    Manages reading all of the fixture data files and

    loading them into the data source

  • doLoadDataFromFile () Browse code

    Loads data for the database from a YAML file

  • (boolean) getDeleteCurrentData () Browse code

    Gets the current value of the flag that indicates whether

    current data is to be deleted or not.

  • getFiles () Browse code

    Gets a list of one or more *.yml files and returns the list in an array

    throws sfInitializationException If the directory or file does not exist.

  • loadDataFromArray () Browse code

    Manages the insertion of data into the data source

  • setDeleteCurrentData () Browse code

    Sets a flag to indicate if the current data in the database

    should be deleted before new data is loaded.