1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
jwage 2008-01-23 00:06:27 +00:00
parent 3e1014af17
commit 99d309feed

View File

@ -39,11 +39,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
* *
* @var string * @var string
*/ */
protected $_options = array('name' => 'slug', protected $_options = array();
'type' => 'clob',
'length' => null,
'options' => array(),
'fields' => array());
/** /**
* __construct * __construct
@ -53,7 +49,7 @@ class Doctrine_Template_Listener_Sluggable extends Doctrine_Record_Listener
*/ */
public function __construct(array $options) public function __construct(array $options)
{ {
$this->_options = Doctrine_Lib::arrayDeepMerge($this->_options, $options); $this->_options = $options;
} }
public function preInsert(Doctrine_Event $event) public function preInsert(Doctrine_Event $event)