Author: dalexandre
Date: 2010-09-13 17:27:52 +0200 (Mon, 13 Sep 2010)
New Revision: 30897

Modified:
   plugins/daYamlEditorPlugin/
   plugins/daYamlEditorPlugin/trunk/lib/daYamlEditorBase.class.php
   plugins/daYamlEditorPlugin/trunk/package.xml.tmpl
Log:
Fix the method scope


Property changes on: plugins/daYamlEditorPlugin
___________________________________________________________________
Added: svn:ignore
   + nbproject


Modified: plugins/daYamlEditorPlugin/trunk/lib/daYamlEditorBase.class.php
===================================================================
--- plugins/daYamlEditorPlugin/trunk/lib/daYamlEditorBase.class.php     
2010-09-13 13:48:25 UTC (rev 30896)
+++ plugins/daYamlEditorPlugin/trunk/lib/daYamlEditorBase.class.php     
2010-09-13 15:27:52 UTC (rev 30897)
@@ -11,7 +11,7 @@
     $dispatcher  = null; 
   protected
     $name        = null;
-  private
+  protected
     $_config     = array();
   protected
     $type_widget = array (
@@ -113,7 +113,7 @@
    * @param array  $attributes
    * @return sfWidget
    */
-  private function createWidgetByType($type, $options = array(), $attributes = 
array())
+  protected function createWidgetByType($type, $options = array(), $attributes 
= array())
   {
     if (!isset($this->type_widget[$type])) throw new Exception("Unrecognized 
widget type '".$type."' in daYamlEditor");
 
@@ -127,7 +127,7 @@
    * @param array  $messages
    * @return sfValidatorBase
    */
-  private function createValidatorByType($type, $options = array(), $messages 
= array())
+  protected function createValidatorByType($type, $options = array(), 
$messages = array())
   {
     if (!isset($this->type_validator[$type])) throw new 
Exception("Unrecognized validator type '".$type."' in daYamlEditor");
 
@@ -141,7 +141,7 @@
    * @param array $default The yaml file as an array
    * @return array         The "options" array for sfWidget
    */
-  private function buildWidgetOptions(array $field, array $default)
+  protected function buildWidgetOptions(array $field, array $default)
   {
     // Search the default value
     foreach(explode('/', $field['path']) as $key)
@@ -166,7 +166,7 @@
    * @param array $field   The field config
    * @return array         The "options" array for sfValidator
    */
-  private function buildValidatorOptions(array $field)
+  protected function buildValidatorOptions(array $field)
   {
     $options = array();
     if (isset($field['validate']))
@@ -180,7 +180,7 @@
    * @param array $field   The field config
    * @return array         The "messages" array for sfValidator
    */
-  private function buildValidatorMessages(array $field)
+  protected function buildValidatorMessages(array $field)
   {
     $messages = array();
     if (isset($field['message']))

Modified: plugins/daYamlEditorPlugin/trunk/package.xml.tmpl
===================================================================
--- plugins/daYamlEditorPlugin/trunk/package.xml.tmpl   2010-09-13 13:48:25 UTC 
(rev 30896)
+++ plugins/daYamlEditorPlugin/trunk/package.xml.tmpl   2010-09-13 15:27:52 UTC 
(rev 30897)
@@ -45,6 +45,25 @@
   <changelog>
     <release>
       <version>
+        <release>0.1.3</release>
+        <api>0.1.3</api>
+      </version>
+      <stability>
+        <release>stable</release>
+        <api>stable</api>
+      </stability>
+      <license uri="http://www.symfony-project.com/license";>
+        MIT license
+      </license>
+      <date>2010-09-13</date>
+      <license>MIT</license>
+      <notes>
+         * dalexandre: Beta to stable \o/
+         * dalexandre: Fix the Base class to ease extending (thx to Alecs)
+      </notes>
+    </release>
+    <release>
+      <version>
         <release>0.1.2</release>
         <api>0.1.2</api>
       </version>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to