Development

Changeset 5762

You must first sign up to be able to contribute.

Changeset 5762

Show
Ignore:
Timestamp:
10/30/07 17:29:13 (1 year ago)
Author:
Leon.van.der.Ree
Message:

renamed generator from sfExtJsPropelAdminGenerator to sfExtjsPropelAdminGenerator (with small j)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/lib/sfExtjsPropelAdminGenerator

    r5717 r5762  
    1313 * 
    1414 */ 
    15 class sfExtJsPropelAdminGenerator extends sfPropelAdminGenerator 
     15class sfExtjsPropelAdminGenerator extends sfPropelAdminGenerator 
    1616{ 
    1717  /** 
     
    4040      $default_class  = 'sf_admin_action_'.$actionName; 
    4141 
    42      //TODO: not functional at the moment 
     42      //TODO: not functional at the moment 
    4343      if ($actionName == 'delete') 
    4444      { 
     
    9898 
    9999    //toolbar is defined in the list 
    100    $html .= "topToolbar.addButton({ 
    101                id: 'btn_".$actionName."', 
    102                text: '".$name."', 
    103                action: '".$action."', 
    104                idRequired: false, 
    105                cls: 'x-btn-text-icon btn_".$actionName."', 
    106                disabled: false, 
    107                handler : function(){ alert('ok') } 
    108              });"; //todo set handler: 
     100    $html .= "topToolbar.addButton({ 
     101                id: 'btn_".$actionName."', 
     102                text: '".$name."', 
     103                action: '".$action."', 
     104                idRequired: false, 
     105                cls: 'x-btn-text-icon btn_".$actionName."', 
     106                disabled: false, 
     107                handler : function(){ alert('ok') } 
     108              });"; //todo set handler: 
    109109 
    110110    if ($only_for !== null) 
     
    116116 
    117117    return $html; 
    118 
    119  
    120  /** 
     118 
     119 
     120  /** 
    121121   * Returns javascript code for an action button in the context menu. 
    122122   * 
     
    168168 
    169169    return $html; 
    170 
    171  
    172  /** 
     170 
     171 
     172  /** 
    173173   * Build function to retrieve column value 
    174174   * @param object column $column 
     
    178178  function getColumnGetter($column, $developed = false, $prefix = '') 
    179179  { 
    180   // Setup get method 
    181   $getter = 'get'.$this->processColumnName($column->getPhpName()); 
     180    // Setup get method 
     181    $getter = 'get'.$this->processColumnName($column->getPhpName()); 
    182182 
    183183    if ($developed)