Changeset 3680
- Timestamp:
- 01/30/08 00:51:53 (17 months ago)
- Location:
- branches
- Files:
-
- 2 modified
-
0.10/lib/Doctrine/Template/Listener/Sluggable.php (modified) (2 diffs)
-
0.9/lib/Doctrine/Template/Listener/Sluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Template/Listener/Sluggable.php
r3440 r3680 40 40 * @var string 41 41 */ 42 protected $_options = array('name' => 'slug', 43 'type' => 'clob', 44 'length' => null, 45 'options' => array(), 46 'fields' => array()); 42 protected $_options = array(); 47 43 48 44 /** … … 54 50 public function __construct(array $options) 55 51 { 56 $this->_options = Doctrine_Lib::arrayDeepMerge($this->_options, $options);52 $this->_options = $options; 57 53 } 58 54 -
branches/0.9/lib/Doctrine/Template/Listener/Sluggable.php
r3137 r3680 40 40 * @var string 41 41 */ 42 protected $_options = array('name' => 'slug', 43 'type' => 'clob', 44 'length' => null, 45 'options' => array(), 46 'fields' => array()); 42 protected $_options = array(); 47 43 48 44 /** … … 54 50 public function __construct(array $options) 55 51 { 56 $this->_options = array_merge($options, $this->_options);52 $this->_options = $options; 57 53 } 58 54