<commit_before>sfHadoriThemePlugin
===================

Before spinning up this theme, you must install the
[sfThemeGeneratorPlugin](http://github.com/bshaffer/sfThemeGeneratorPlugin).

 1. Generate Theme

        $ php symfony generate:theme hadori

 1. Complete the options asked by the generator

 1. Publish your assets

        $ php symfony plugin:publish-assets

 1. Look at the layout.php.sample file for an example layout. It lives in `data/generator/sfDoctrineModule/hadori/templates/layout.php.sample`)
 
The generator.yml allows for several options you will be familiar with,
with the addition of several more.

Exporting
---------

This plugins gives you the ability to export subsets of your data to a csv
file. To use this feature, simply activate is (as described below) and
then configure your fields in the same way you configure fields in the
list view.

 1. Activate the `export` mode in the `generator.yml`. Do this by removing
    the `~` after the export option:

        edit:    ~
        new:     ~
        export:

 1. Turn the export route on by setting the `with_export` option in `routing.yml`
    to true:

        my_admin_route:
          class: sfHadoriAdminRouteCollection
          options:
            # ...
            with_export:          true

Security
--------

Set the `use_security_yaml_credentials` to true (true by default) to
synchronize your module's security.yml file with the generator's credentials.
This will automatically hide actions to users without appropriate credentials.

Generated Code
--------------

View the sfThemeGeneratorPlugin README for more options.<commit_msg>typo fix<commit_after>sfHadoriThemePlugin
===================

Before spinning up this theme, you must install the
[sfThemeGeneratorPlugin](http://github.com/bshaffer/sfThemeGeneratorPlugin).

 1. Generate Theme

        $ php symfony generate:theme hadori

 1. Complete the options asked by the generator

 1. Publish your assets

        $ php symfony plugin:publish-assets

 1. Look at the layout.php.sample file for an example layout. It lives in `data/generator/sfDoctrineModule/hadori/templates/layout.php.sample`
 
The generator.yml allows for several options you will be familiar with,
with the addition of several more.

Exporting
---------

This plugins gives you the ability to export subsets of your data to a csv
file. To use this feature, simply activate is (as described below) and
then configure your fields in the same way you configure fields in the
list view.

 1. Activate the `export` mode in the `generator.yml`. Do this by removing
    the `~` after the export option:

        edit:    ~
        new:     ~
        export:

 1. Turn the export route on by setting the `with_export` option in `routing.yml`
    to true:

        my_admin_route:
          class: sfHadoriAdminRouteCollection
          options:
            # ...
            with_export:          true

Security
--------

Set the `use_security_yaml_credentials` to true (true by default) to
synchronize your module's security.yml file with the generator's credentials.
This will automatically hide actions to users without appropriate credentials.

Generated Code
--------------

View the sfThemeGeneratorPlugin README for more options.
{'fraction_non_alphanumeric': 0.08328211432083589, 'fraction_numerical': 0.0036877688998156115, 'mean_word_length': 3.0086206896551726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5647176', 'n_tokens_mistral': 868, 'n_tokens_neox': 809, 'n_words': 372}