Permalink
Browse files

s/sfPropel15Plugin/sfPropelORMPlugin/

  • Loading branch information...
1 parent f748216 commit 5c4dc583602bd7a50576f79a74472b15e3655403 @willdurand willdurand committed Aug 9, 2011
View
0 README.md 100755 → 100644
No changes.
View
@@ -1,5 +1,5 @@
autoload:
- sfPropel15Plugin_lib:
+ sfPropelORMPlugin_lib:
name: propel addon
path: <?php echo realpath(dirname(__FILE__).'/../lib')."\n" ?>
recursive: true
View
@@ -1,5 +1,5 @@
<?php
$this->installDir(dirname(__FILE__).'/skeleton');
-$this->enablePlugin('sfPropel15Plugin');
+$this->enablePlugin('sfPropelORMPlugin');
$this->reloadTasks();
@@ -8,7 +8,7 @@
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: sfPropelPluginConfiguration.class.php 23739 2009-11-09 23:32:46Z Kris.Wallsmith $
*/
-class sfPropel15PluginConfiguration extends sfPluginConfiguration
+class sfPropelORMPluginConfiguration extends sfPluginConfiguration
{
/**
* @see sfPluginConfiguration
@@ -18,7 +18,7 @@ public function initialize()
sfConfig::set('sf_orm', 'propel');
if (!sfConfig::get('sf_admin_module_web_dir'))
{
- sfConfig::set('sf_admin_module_web_dir', '/sfPropel15Plugin');
+ sfConfig::set('sf_admin_module_web_dir', '/sfPropelORMPlugin');
}
sfToolkit::addIncludePath(array(
@@ -47,11 +47,11 @@ propel.builder.addBehaviors = true
; behaviors
propel.behavior.default = symfony,symfony_i18n
-propel.behavior.symfony.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfony
-propel.behavior.symfony_i18n.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18n
-propel.behavior.symfony_i18n_translation.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18nTranslation
-propel.behavior.symfony_behaviors.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
-propel.behavior.symfony_timestampable.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorTimestampable
+propel.behavior.symfony.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorSymfony
+propel.behavior.symfony_i18n.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorI18n
+propel.behavior.symfony_i18n_translation.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorI18nTranslation
+propel.behavior.symfony_behaviors.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
+propel.behavior.symfony_timestampable.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorTimestampable
propel.behavior.timestampable.class = behavior.TimestampableBehavior
propel.behavior.alternative_coding_standards.class = behavior.AlternativeCodingStandardsBehavior
propel.behavior.soft_delete.class = behavior.SoftDeleteBehavior
@@ -63,4 +63,4 @@ propel.behavior.concrete_inheritance.class = behavior.concrete_inheritance.C
propel.behavior.query_cache.class = behavior.query_cache.QueryCacheBehavior
propel.behavior.aggregate_column.class = behavior.aggregate_column.AggregateColumnBehavior
propel.behavior.versionable.class = behavior.versionable.VersionableBehavior
-propel.behavior.i18n.class = behavior.i18n.I18nBehavior
+propel.behavior.i18n.class = behavior.i18n.I18nBehavior
@@ -3,4 +3,4 @@
<?php elseif(!isset($this->params['css'])): ?>
[?php use_stylesheet('<?php echo sfConfig::get('sf_admin_module_web_dir').'/css/global.css' ?>', 'first') ?]
[?php use_stylesheet('<?php echo sfConfig::get('sf_admin_module_web_dir').'/css/default.css' ?>', 'first') ?]
-<?php endif; ?>
+<?php endif; ?>
@@ -3,4 +3,4 @@
<?php elseif(!isset($this->params['css'])): ?>
[?php use_stylesheet('<?php echo sfConfig::get('sf_admin_module_web_dir').'/css/global.css' ?>', 'first') ?]
[?php use_stylesheet('<?php echo sfConfig::get('sf_admin_module_web_dir').'/css/default.css' ?>', 'first') ?]
-<?php endif; ?>
+<?php endif; ?>
View
4 doc/admin_generator.md 100755 → 100644
@@ -1,7 +1,7 @@
Admin Generator Extensions
==========================
-sfPropel15Plugin comes bundled with a new admin generator theme named 'admin15'. This theme provides additional features based on the new Propel 1.5 query objects, and is backwards compatible with sfPropelPlugin's admin generator theme.
+sfPropelORMPlugin comes bundled with a new admin generator theme named 'admin15'. This theme provides additional features based on the new Propel 1.5 query objects, and is backwards compatible with sfPropelPlugin's admin generator theme.
To enable this theme, edit your `generator.yml` and change the `theme` property from `admin` to `admin15`, as follows:
@@ -279,4 +279,4 @@ If you want to display some data in a form without allowing the user to edit it,
created_at: { type: plain }
updated_at: { type: plain }
-This displays the field in the edit view, but not in a form input. Submitting the form will leave these fields unchanged - or, in the previous example, will let the model take care of their values.
+This displays the field in the edit view, but not in a form input. Submitting the form will leave these fields unchanged - or, in the previous example, will let the model take care of their values.
View
@@ -35,4 +35,4 @@ Symfony is to specify slave servers for each connection in config/databases.yml
The slave connections will be with the same settings (encoding, persustent, pooling, etc) as
the master connection to ensure the same behavior for all.
-- [Master-Slave](http://www.propelorm.org/wiki/Documentation/1.5/Master-Slave): Please read more details on Master-Slave in Propel 1.5
+- [Master-Slave](http://www.propelorm.org/wiki/Documentation/1.5/Master-Slave): Please read more details on Master-Slave in Propel 1.5
View
6 doc/form.md 100755 → 100644
@@ -1,12 +1,12 @@
Form Extensions
===============
-The `sfPropel15Plugin` provides two widgets and three validators, to help build and validate forms bound to a Model object.
+The `sfPropelORMPlugin` provides two widgets and three validators, to help build and validate forms bound to a Model object.
`sfWidgetPropelChoice` and `sfValidatorPropelChoice`
----------------------------------------------------
-Editing a foreign key columns is often a matter of choosing the related object to relate. For instance, editing the `author_id` field of an `Article` model means choosing an element in the list of existing Authors. `sfPropel15Plugin` provides an extension of the `sfWidgetFormChoice` class that takes care of populating the list of options based on a related table. It is called `sfWidgetPropelChoice`, and is associated witha validator called `sfValidatorPropelChoice`.
+Editing a foreign key columns is often a matter of choosing the related object to relate. For instance, editing the `author_id` field of an `Article` model means choosing an element in the list of existing Authors. `sfPropelORMPlugin` provides an extension of the `sfWidgetFormChoice` class that takes care of populating the list of options based on a related table. It is called `sfWidgetPropelChoice`, and is associated witha validator called `sfValidatorPropelChoice`.
### Generated Configuration
@@ -270,4 +270,4 @@ If `add_delete` is set to `true`, the following additional options are available
* `delete_widget`: Optional delete widget object. If left null, uses a `sfWidgetFormDelete` instance, which is a checkbox widget with a Javascript confirmation.
* `alert_text`: The text of the Javascript alert to show.
* `hide_parent`: Whether to hide the deleted form when clicking the checkbox. Defaults to true.
-* `parent_level`: The number of times parentNode must be called to reach the parent to hide. As a widget doesn't know if it's merged or embedded, this setting allows the JavaScript code used to hide the parent to find it. Recommended values: 6 for embedded form (default), 7 for merged form.
+* `parent_level`: The number of times parentNode must be called to reach the parent to hide. As a widget doesn't know if it's merged or embedded, this setting allows the JavaScript code used to hide the parent to find it. Recommended values: 6 for embedded form (default), 7 for merged form.
View
2 doc/schema.md 100755 → 100644
@@ -308,7 +308,7 @@ You can register more than one behavior and set the parameters of each behaviors
sluggable:
timestampable:
-You can also register a behavior for all your models right in the `propel.ini`. `sfPropel15Plugin` already enables the `symfony` and `symfony_i18n` behaviors to support symfony's behavior system and model localization features, but you can easily add your owns:
+You can also register a behavior for all your models right in the `propel.ini`. `sfPropelORMPlugin` already enables the `symfony` and `symfony_i18n` behaviors to support symfony's behavior system and model localization features, but you can easily add your owns:
[ini]
propel.behavior.default = symfony,symfony_i18n,alternative_coding_standards,auto_add_pk
View
@@ -167,4 +167,4 @@
</trans-unit>
</body>
</file>
-</xliff>
+</xliff>
View
@@ -111,4 +111,4 @@
</trans-unit>
</body>
</file>
-</xliff>
+</xliff>
View
@@ -131,4 +131,4 @@
</trans-unit>
</body>
</file>
-</xliff>
+</xliff>
View
@@ -131,4 +131,4 @@
</trans-unit>
</body>
</file>
-</xliff>
+</xliff>
@@ -187,4 +187,4 @@ public function embedOptionalForm($name, sfForm $form, $decorator = null, $optio
$this->resetFormFields();
}
-}
+}
File renamed without changes.
File renamed without changes.
@@ -83,4 +83,4 @@ phpdocext=phing.tasks.ext.phpdoc.PhpDocumentorExternalTask
;jsllint=phing.tasks.ext.JslLintTask
;manifest=phing.tasks.ext.ManifestTask
;phpcodesniffer=phing.tasks.ext.PhpCodeSnifferTask
-;ftpdeploy=phing.tasks.ext.FtpDeployTask
+;ftpdeploy=phing.tasks.ext.FtpDeployTask
@@ -10,4 +10,4 @@ filterreader=phing.types.PhingFilterReader
regexp=phing.types.RegularExpression
param=phing.types.Parameter
path=phing.types.Path
-selector=phing.types.selectors.SelectSelector
+selector=phing.types.selectors.SelectSelector
View
No changes.
View
@@ -62,4 +62,4 @@ protected function configure($options = array(), $attributes = array())
$this->addOption('hide_parent', true);
$this->addOption('parent_level', 6);
}
-}
+}
View
0 lib/widget/sfWidgetFormPlain.php 100755 → 100644
No changes.
View
@@ -18,4 +18,4 @@
$_test_dir = realpath(dirname(__FILE__).'/..');
-sfToolkit::addIncludePath(realpath(dirname(__FILE__).'/../../lib/vendor'));
+sfToolkit::addIncludePath(realpath(dirname(__FILE__).'/../../lib/vendor'));
@@ -7,7 +7,7 @@ class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
- $this->enablePlugins('sfPropel15Plugin');
+ $this->enablePlugins('sfPropelORMPlugin');
}
public function initializePropel($app)
@@ -48,8 +48,8 @@ propel.builder.addBehaviors = true
; behaviors
propel.behavior.default = symfony,symfony_i18n
-propel.behavior.symfony.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfony
-propel.behavior.symfony_i18n.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18n
-propel.behavior.symfony_i18n_translation.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18nTranslation
-propel.behavior.symfony_behaviors.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
-propel.behavior.symfony_timestampable.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorTimestampable
+propel.behavior.symfony.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorSymfony
+propel.behavior.symfony_i18n.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorI18n
+propel.behavior.symfony_i18n_translation.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorI18nTranslation
+propel.behavior.symfony_behaviors.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
+propel.behavior.symfony_timestampable.class = plugins.sfPropelORMPlugin.lib.behavior.SfPropelBehaviorTimestampable
View
0 test/functional/fixtures/symfony 100755 → 100644
No changes.

0 comments on commit 5c4dc58

Please sign in to comment.