Development

Changeset 17360

You must first sign up to be able to contribute.

Changeset 17360

Show
Ignore:
Timestamp:
04/16/09 14:16:15 (4 years ago)
Author:
nbijnens
Message:

updated template: working

Generates now correct relations (I think)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/nDoctrineRowLevelSecurityPlugin/lib/Doctrine_Template_RowLevelSecurity.php

    r17358 r17360  
    44 
    55class Doctrine_Template_RowLevelSecurity extends Doctrine_Template { 
     6   
    67   
    78  /** 
     
    2526    public function setUp() 
    2627    { 
     28      $this->hasMany($this->_invoker->getTable()->getTableName() . ' as Credentials', array('refClass' => 'sfGuardUserGroup', 
     29                                                   'local' => 'user_id', 
     30                                                   'foreign' => 'group_id')); 
     31       
    2732        $this->_plugin->initialize($this->_table);  
    2833