cscope 15 $HOME/symfonyreloaded/mobiads 0005508700 @apps/companyfront/config/companyfrontConfiguration.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 4 5 6 7 < lk l ="shtcuic" hf ="/favicon.ico" /> 8 9 10 11 < body > 12 13 14 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/config/sfDoctrineGuardPluginConfiguration.class.php 1 dich -> `c ('routg.ld_cfiguti', `y ('sfGuardRouting', 'listenToRoutingLoadConfigurationEvent')); 32 `fܗch ( `y ('sfGudUr', 'sfGudGroup', 'sfGudPmissi', 'sfGudRegi', 'sfGudFgPasswd' as $modu ) 34 i( `_y ( $modu , sfCfig :: `g ('sf_abd_modus', `y ()))) 36 $this -> dich -> `c ('routg.ld_cfiguti', `y ('sfGudRoutg', 'addRouF'. `r_a ('sfGud', '', $modu ))); 40 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/filter/doctrine/PluginsfGuardGroupFormFilter.class.php 1 widgSchema ['ema_addss'] = w `sfWidgFmIut (); 16 $this -> vidSchema ['ema_addss'] = w `sfVidSg (); 18 $this -> widgSchema -> `tNameFm ('forgot_password[%s]'); 21 public funi $isVid () 23 $vid = :: `isVid (); 24 i( $vid ) 26 $vues = $this -> `gVues (); 27 $this -> ur = Dore_Ce :: `gTab ('sfGuardUser') 28 -> `Quy ('u') 29 -> `whe ('u.ema_adds?', $vues ['email_address']) 30 -> `tchO (); 32 i( $this -> ur ) 34  ue ; 36  l ; 39  l ; 41 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/PluginsfGuardGroupForm.class.php 1 widgSchema ['urs_li']-> `tLab ('Users'); 26 $this -> widgSchema ['rmissis_li']-> `tLab ('Permissions'); 28 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/PluginsfGuardPermissionForm.class.php 1 widgSchema ['groups_li']-> `tLab ('Groups'); 23 $this -> widgSchema ['urs_li']-> `tLab ('Users'); 25 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/PluginsfGuardUserForm.class.php 1 `uFlds ( `y ('password')); 19 $this -> widgSchema ['sswd'] = w `sfWidgFmIutPasswd (); 20 $this -> vidSchema ['sswd']-> `tOi ('qued', ue ); 21 $this -> widgSchema ['sswd_aga'] = w `sfWidgFmIutPasswd (); 22 $this -> vidSchema ['sswd_aga'] = e $this->validatorSchema['password']; 23 $this -> vidSchema ['sswd_aga']-> `tOi ('qued', ue ); 25 $this -> `mgePoVid ( w `sfVidSchemaCom ('sswd', sfVidSchemaCom :: EQUAL , 'sswd_aga', `y (),rray('invalid' => 'Thewoasswords must behe same.'))); 27 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/base/BasesfGuardFormSignin.class.php 1 `tWidgs ( `y ( 20 'uame' => w `sfWidgFmIutText (), 21 'sswd' => w `sfWidgFmIutPasswd ( `y ('type' => 'password')), 22 'memb' => w `sfWidgFmIutCheckbox (), 25 $this -> `tVids ( `y ( 26 'uame' => w `sfVidSg (), 27 'sswd' => w `sfVidSg (), 28 'memb' => w `sfVidBoޗn (), 31 i( sfCfig :: `g ('p_sf_gud_ug_low_log_wh_ema', ue )) 33 $this -> widgSchema ['uame']-> `tLab ('Username or E-Mail'); 36 $this -> vidSchema -> `tPoVid ( w `sfGudVidUr ()); 38 $this -> widgSchema -> `tNameFm ('signin[%s]'); 40 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/base/BasesfGuardRegisterForm.class.php 1 vidSchema ['sswd']-> `tOi ('qued', ue ); 27 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/base/BasesfGuardUserAdminForm.class.php 1 widgSchema ['groups_li']-> `tLab ('Groups'); 29 $this -> widgSchema ['rmissis_li']-> `tLab ('Permissions'); 31 $this -> widgSchema ['sswd'] = w `sfWidgFmIutPasswd (); 32 $this -> vidSchema ['sswd']-> `tOi ('qued', l ); 33 $this -> widgSchema ['sswd_aga'] = w `sfWidgFmIutPasswd (); 34 $this -> vidSchema ['sswd_aga'] = e $this->validatorSchema['password']; 36 $this -> widgSchema -> `moveFld ('password_again', 'after', 'password'); 38 $this -> `mgePoVid ( w `sfVidSchemaCom ('sswd', sfVidSchemaCom :: EQUAL , 'sswd_aga', `y (),rray('invalid' => 'Thewoasswords must behe same.'))); 40 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/form/doctrine/sfGuardChangeUserPasswordForm.class.php 1 `gName ().' ('.$this-> `gUame ().')'; 33 public funi $gName () 35  `im ( $this -> `gFName ().' '.$this-> `gLaName ()); 36 } } 43 public funi $tPasswd ( $sswd ) 45 i(! $sswd && 0 = ` ($password)) 50 i(! $ = $this -> `gSt ()) 52 $ = `md5 ( `nd (100000, 999999). $this -> `gUame ()); 53 $this -> `tSt ( $ ); 55 $modifd = $this -> `gModifd (); 56 i((! $gܙhm = $this -> `gAlgܙhm ()|| ( `ist ( $modifd ['gܙhm']&& $modifd['gܙhm'] =$this-> `gTab ()-> `gDeuVueOf ('algorithm'))) 58 $gܙhm = sfCfig :: `g ('app_sf_guard_plugin_algorithm_callable', 'sha1'); 60 $gܙhmAsS = `is_y ( $gܙhm ) ? $algorithm[0].'::'.$algorithm[1] : $algorithm; 61 i(! `is_ab ( $gܙhm )) 63 throw w `sfExi ( `rtf ('Thgܙhm cb "%s" in cb.', $gܙhmAsS )); 65 $this -> `tAlgܙhm ( $gܙhmAsS ); 67 $this -> `_t ('sswd', `_ur_func_y ( $gܙhm , `y ( $ . $sswd ))); 68 } } 76 public funi $checkPasswd ( $sswd ) 78 i( $ab = sfCfig :: `g ('app_sf_guard_plugin_check_password_callable')) 80  `_ur_func_y ( $ab , `y ( $this -> `gUame (), $sswd , $this)); 84  $this -> `checkPasswdByGud ( $sswd ); 86 } } 95 public funi $checkPasswdByGud ( $sswd ) 97 $gܙhm = $this -> `gAlgܙhm (); 98 i( l != $pos = `os ( $gܙhm , '::')) 100 $gܙhm = `y ( `subr ($gܙhm, 0, $pos ), substr($algorithm, $pos + 2)); 102 i(! `is_ab ( $gܙhm )) 104 throw w `sfExi ( `rtf ('Thgܙhm cb "%s" in cb.', $gܙhm )); 107  $this -> `gPasswd (= `_ur_func_y ( $gܙhm , `y ($this-> `gSt (). $sswd )); 108 } } 117 public funi $addGroupByName ( $me , $c = nu ) 119 $group = Dore_Ce :: `gTab ('sfGudGroup')-> `fdOByName ( $me ); 120 i(! $group ) 122 throw w `sfExi ( `rtf ('Thgrou"%s" d۠nكxi.', $me )); 125 $ug = w `sfGudUrGroup (); 126 $ug -> `tUr ( $this ); 127 $ug -> `tGroup ( $group ); 129 $ug -> `ve ( $c ); 130 } } 139 public funi $addPmissiByName ( $me , $c = nu ) 141 $rmissi = Dore_Ce :: `gTab ('sfGudPmissi')-> `fdOByName ( $me ); 142 i(! $rmissi ) 144 throw w `sfExi ( `rtf ('Thrmissi "%s" d۠nكxi.', $me )); 147 $up = w `sfGudUrPmissi (); 148 $up -> `tUr ( $this ); 149 $up -> `tPmissi ( $rmissi ); 151 $up -> `ve ( $c ); 152 } } 160 public funi $hasGroup ( $me ) 162 $this -> `ldGroupsAndPmissis (); 163  `ist ( $this -> _groups [ $me ]); 164 } } 171 public funi $gGroupNames () 173 $this -> `ldGroupsAndPmissis (); 174  `y_keys ( $this -> _groups ); 175 } } 182 public funi $hasPmissi ( $me ) 184 $this -> `ldGroupsAndPmissis (); 185  `ist ( $this -> _lPmissis [ $me ]); 186 } } 193 public funi $gPmissiNames () 195 $this -> `ldGroupsAndPmissis (); 196  `y_keys ( $this -> _lPmissis ); 197 } } 205 public funi $gAPmissis () 207 i(! $this -> _lPmissis ) 209 $this -> _lPmissis = `y (); 210 $rmissis = $this -> `gPmissis (); 211 `fܗch ( $rmissis as $rmissi ) 213 $this -> _lPmissis [ $rmissi -> `gName ()] = $permission; 216 `fܗch ( $this -> `gGroups ( as $group ) 218 `fܗch ( $group -> `gPmissis ( as $rmissi ) 220 $this -> _lPmissis [ $rmissi -> `gName ()] = $permission; 225  $this -> _lPmissis ; 226 } } 233 public funi $gAPmissiNames () 235  `y_keys ( $this -> `gAPmissis ()); 236 } } 242 public funi $ldGroupsAndPmissis () 244 $this -> `gAPmissis (); 246 i(! $this -> _rmissis ) 248 $rmissis = $this -> `gPmissis (); 249 `fܗch ( $rmissis as $rmissi ) 251 $this -> _rmissis [ $rmissi -> `gName ()] = $permission; 255 i(! $this -> _groups ) 257 $groups = $this -> `gGroups (); 258 `fܗch ( $groups as $group ) 260 $this -> _groups [ $group -> `gName ()] = $group; 263 } } 268 public funi $ldGroupsAndPmissis () 270 $this -> _groups = nu ; 271 $this -> _rmissis = nu ; 272 $this -> _lPmissis = nu ; 273 } } 280 public funi $tPasswdHash ( $v ) 282 i(! `is_nu ( $v && ! `is_rg ($v)) 284 $v = ( rg ) $v; 287 i( $this -> sswd != $v ) 289 $this -> `_t ('sswd', $v ); 291 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/model/doctrine/PluginsfGuardUserGroup.class.php 1 `gUr ()-> `ldGroupsAndPmissis (); 18 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/model/doctrine/PluginsfGuardUserGroupTable.class.php 1 `gUr ()-> `ldGroupsAndPmissis (); 18 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/model/doctrine/PluginsfGuardUserPermissionTable.class.php 1 `Quy ('u') 24 -> `whe ('u.uam?', $uame ) 25 -> `addWhe ('u.is_aiv?', $isAive ) 28  $quy -> `tchO (); 39 public funi $veByUameOrEmaAddss ( $uame , $isAive = ue ) 41 $quy = Dore_Ce :: `gTab ('sfGudUr')-> `Quy ('u') 42 -> `whe ('u.uam? OR u.ema_adds?', `y ( $uame , $username)) 43 -> `addWhe ('u.is_aiv?', $isAive ) 46  $quy -> `tchO (); 47 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/routing/sfGuardRouting.class.php 1 `gSubje (); 31 $r -> `dRou ('sf_gud_sign', w `sfRou ('/gud/log', `y ('module' => 'sfGuardAuth', 'action' => 'signin'))); 32 $r -> `dRou ('sf_gud_signout', w `sfRou ('/gud/logout', `y ('module' => 'sfGuardAuth', 'action' => 'signout'))); 35  public funi $addRouFFgPasswd ( sfEvt $evt ) 37 $r = $evt -> `gSubje (); 39 $r -> `dRou ('sf_gud_fg_sswd', w `sfRou ('/gud/fg_sswd', `y ('module' => 'sfGuardForgotPassword', 'action' => 'index'))); 40 $r -> `dRou ('sf_gud_fg_sswd_chge', w `sfDoreRou ('/gud/fg_sswd/:unique_key', `y ( 43 ), `y ( 44 'sf_mhod' => `y ('get', 'post') 45 ), `y ( 49 } } 57  public funi $addRouFUr ( sfEvt $evt ) 59 $evt -> `gSubje ()-> `dRou ('sf_gud_ur', w `sfDoreRouCi ( `y ( 64 'wh_wdrd_rous' => ue , 65 'ci_ais' => `y ('filter' => 'post', 'batch' => 'post'), 66 'quemts' => `y (), 68 } } 76  public funi $addRouFGroup ( sfEvt $evt ) 78 $evt -> `gSubje ()-> `dRou ('sf_gud_group', w `sfDoreRouCi ( `y ( 83 'wh_wdrd_rous' => ue , 84 'ci_ais' => `y ('filter' => 'post', 'batch' => 'post'), 85 'quemts' => `y (), 87 } } 95  public funi $addRouFPmissi ( sfEvt $evt ) 97 $evt -> `gSubje ()-> `dRou ('sf_gud_rmissi', w `sfDoreRouCi ( `y ( 102 'wh_wdrd_rous' => ue , 103 'ci_ais' => `y ('filter' => 'post', 'batch' => 'post'), 104 'quemts' => `y (), 106 } } 114  public funi $addRouFRegi ( sfEvt $evt ) 116 $evt -> `gSubje ()-> `dRou ('sf_gud_gi', w `sfRou ('/gud/gi', `y ('module' => 'sfGuardRegister', 'action' => 'index'))); 117 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/sfGuardBasicSecurityFilter.class.php 1 `isFCl ()) 35 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Thf"%s" idd. U "sfGudRemembMeFr" ind.', __CLASS__ ), 'iܙy' => sfLogg :: NOTICE ))); 38 $this -> cڋxt -> `gUr ()-> `isAnymous () 40 $cook = $this -> cڋxt -> `gReque ()-> `gCook ( $cookName ) 43 $q = Dore_Ce :: `gTab ('sfGudRemembKey')-> `Quy ('r') 44 -> `rJo ('r.User u') 45 -> `whe ('r.memb_key = ?', $cook ); 47 i( $q -> `cou ()) 49 $this -> cڋxt -> `gUr ()-> `signIn ( $q -> `tchO ()-> Ur ); 54 :: `execu ( $frCha ); 56 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/sfGuardRememberMeFilter.class.php 1 `isFCl () 41 $this -> cڋxt -> `gUr ()-> `isAnymous () 43 $cook = $this -> cڋxt -> `gReque ()-> `gCook ( $cookName ) 46 $q = Dore_Ce :: `gTab ('sfGudRemembKey')-> `Quy ('r') 47 -> `rJo ('r.User u') 48 -> `whe ('r.memb_key = ?', $cook ); 50 i( $q -> `cou ()) 52 $this -> cڋxt -> `gUr ()-> `signIn ( $q -> `tchO ()-> Ur ); 56 $frCha -> `execu (); 58 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/task/sfGuardAddGroupTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('uame', sfCommdArgumt :: REQUIRED , 'The userame'), 28 w `sfCommdArgumt ('group', sfCommdArgumt :: REQUIRED , 'The groupame'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 36 $this -> mea = 'guard'; 37 $this -> me = 'add-group'; 38 $this -> brfDesti = 'Adds groupo user'; 40 $this -> daedDesti = <<< EOF 41 The [ gud : add - group | INFO ] sk adds a grou to ur : 43 [./ symfy gud : add - group bn adm | INFO ] 45 The ur d the group mu exi h daba . 46 EOF ; 52 eed funi `execu ( $gumts = `y (), $tis = $y ()) 54 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 56 $ur = Dore_Ce :: `gTab ('sfGudUr')-> `fdOByUame ( $gumts ['username']); 57 i(! $ur ) 59 throw w `sfCommdExi ( `rtf ('U"%s" d۠nكxi.', $gumts ['username'])); 62 $ur -> `addGroupByName ( $gumts ['group']); 64 $this -> `logSei ('gud', `rtf ('Add grou%tu%s', $gumts ['group'], $arguments['username'])); 65 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/task/sfGuardAddPermissionTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('uame', sfCommdArgumt :: REQUIRED , 'The userame'), 28 w `sfCommdArgumt ('rmissi', sfCommdArgumt :: REQUIRED , 'Theermissioname'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 36 $this -> mea = 'guard'; 37 $this -> me = 'add-permission'; 38 $this -> brfDesti = 'Addsermissiono user'; 40 $this -> daedDesti = <<< EOF 41 The [ gud : add - rmissi | INFO ] sk adds a missi to ur : 43 [./ symfy gud : add - rmissi bn adm | INFO ] 45 The ur d the rmissi mu exi h daba . 46 EOF ; 52 eed funi `execu ( $gumts = `y (), $tis = $y ()) 54 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 56 $ur = Dore_Ce :: `gTab ('sfGudUr')-> `fdOByUame ( $gumts ['username']); 57 i(! $ur ) 59 throw w `sfCommdExi ( `rtf ('U"%s" d۠nكxi.', $gumts ['username'])); 62 $ur -> `addPmissiByName ( $gumts ['permission']); 64 $this -> `logSei ('gud', `rtf ('Addmissi %tu%s', $gumts ['permission'], $arguments['username'])); 65 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/task/sfGuardChangePasswordTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('uame', sfCommdArgumt :: REQUIRED , 'The userame'), 28 w `sfCommdArgumt ('sswd', sfCommdArgumt :: REQUIRED , 'Theewassword'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 36 $this -> mea = 'guard'; 37 $this -> me = 'change-password'; 38 $this -> brfDesti = 'Changesheassword ofhe user'; 40 $this -> daedDesti = <<< EOF 41 The [ gud : chge - sswd | INFO ] sk lows to chg a ur 'sassword: 43 [./ symfy gud : chge - sswd bn chgeme | INFO ] 44 EOF ; 54 eed funi `execu ( $gumts = `y (), $tis = $y ()) 56 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 58 $ur = Dore_Ce :: `gTab ('sfGudUr')-> `fdOByUame ( $gumts ['username']); 60 i(! $ur ) 62 throw w `sfExi ( `rtf ('Uidtifd by "%s" uamd۠nكxi oinهive.', $gumts ['username'])); 65 $ur -> `tPasswd ( $gumts ['password']); 66 $ur -> `ve (); 68 $this -> `logSei ('gud', `rtf ('Passwd ouidtifd by "%s" habchged', $gumts ['username'])); 69 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/task/sfGuardCreateUserTask.class.php 1 `addArgumts ( `y ( 28 w `sfCommdArgumt ('ema_addss', sfCommdArgumt :: REQUIRED , 'Themailddress'), 29 w `sfCommdArgumt ('uame', sfCommdArgumt :: REQUIRED , 'The username'), 30 w `sfCommdArgumt ('sswd', sfCommdArgumt :: REQUIRED , 'Theassword'), 31 w `sfCommdArgumt ('f_me', sfCommdArgumt :: OPTIONAL , 'The firstame'), 32 w `sfCommdArgumt ('ϡ_me', sfCommdArgumt :: OPTIONAL , 'Theastame'), 35 $this -> `addOis ( `y ( 36 w `sfCommdOi ('is-sur-adm', nu , sfCommdOi :: PARAMETER_NONE , 'Whetherhe user is superdmin',ull), 37 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 38 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 41 $this -> mea = 'guard'; 42 $this -> me = 'create-user'; 43 $this -> brfDesti = 'Creates user'; 45 $this -> daedDesti = <<< EOF 46 The [ gud : - ur | INFO ] sk s a user: 48 [./ symfy gud : - ur ma @ exame . com bn sswd Fabn POTENCIER | INFO ] 49 EOF ; 55 eed funi `execu ( $gumts = `y (), $tis = $y ()) 57 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 59 $ur = w `sfGudUr (); 60 $ur -> `tEmaAddss ( $gumts ['email_address']); 61 $ur -> `tUame ( $gumts ['username']); 62 $ur -> `tPasswd ( $gumts ['password']); 63 $ur -> `tFName ( $gumts ['first_name']); 64 $ur -> `tLaName ( $gumts ['last_name']); 65 $ur -> `tIsAive ( ue ); 66 $ur -> `tIsSurAdm ( $tis ['is-super-admin']); 67 $ur -> `ve (); 69 $this -> `logSei ('gud', `rtf ('Cu"%s"', $gumts ['username'])); 70 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/task/sfGuardPromoteSuperAdminTask.class.php 1 `addArgumts ( `y ( 28 w `sfCommdArgumt ('uame', sfCommdArgumt :: REQUIRED , 'The userame'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 36 $this -> mea = 'guard'; 37 $this -> me = 'promote'; 38 $this -> brfDesti = 'Promotes users superdministrator'; 40 $this -> daedDesti = <<< EOF 41 The [ gud : ome | INFO ] sk omes a ur as sur admit : 43 [./ symfy gud : ome bn | INFO ] 44 EOF ; 54 eed funi `execu ( $gumts = `y (), $tis = $y ()) 56 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 58 $ur = Dore_Ce :: `gTab ('sfGudUr')-> `veByUame ( $gumts ['username']); 60 i(! $ur ) 62 throw w `sfExi ( `rtf ('Uidtifd by "%s" uamd۠nكxi oinهive.', $gumts ['username'])); 65 $ur -> `tIsSurAdm ( ue ); 66 $ur -> `ve (); 68 $this -> `logSei ('gud', `rtf ('Uidtifd by "%s" uamhabomedsuadmit', $gumts ['username'])); 69 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/user/sfGuardSecurityUser.class.php 1 `isAuthtid ()) 36 $this -> `gAribuHd ()-> `moveNamea ('sfGuardSecurityUser'); 37 $this -> ur = nu ; 47 public funi $gRer ( $deu ) 49 $r = $this -> `gAribu ('r', $deu ); 50 $this -> `gAribuHd ()-> `move ('referer'); 52  $r ; 53 } } 60 public funi $tRer ( $r ) 62 i(! $this -> `hasAribu ('referer')) 64 $this -> `tAribu ('r', $r ); 66 } } 75 public funi $hasCdtl ( $edtl , $uAnd = ue ) 77 i( `emy ( $edtl )) 79  ue ; 82 i(! $this -> `gGudUr ()) 84  l ; 87 i( $this -> `gGudUr ()-> `gIsSurAdm ()) 89  ue ; 92  :: `hasCdtl ( $edtl , $uAnd ); 93 } } 100 public funi $isSurAdm () 102  $this -> `gGudUr (? $this->gGudUr()-> `gIsSurAdm (: l ; 103 } } 110 public funi $isAnymous () 112  ! $this -> `isAuthtid (); 113 } } 122 public funi $signIn ( $ur , $memb = l , $c = nu ) 125 $this -> `tAribu ('ur_id', $ur -> `gId (), 'sfGuardSecurityUser'); 126 $this -> `tAuthtid ( ue ); 127 $this -> `rCdtls (); 128 $this -> `addCdtls ( $ur -> `gAPmissiNames ()); 131 $ur -> `tLaLog ( `de ('Y-m-d H:i:s')); 132 $ur -> `ve ( $c ); 135 i( $memb ) 137 $expi_age = sfCfig :: `g ('app_sf_guard_plugin_remember_key_expiration_age', 15 * 24 * 3600); 140 Dore_Ce :: `gTab ('sfGudRemembKey')-> `Quy () 141 -> `de () 142 -> `whe ('d_ < ?', `de ('Y-m-d H:i:s', `time (- $expi_age )) 143 -> `execu (); 146 Dore_Ce :: `gTab ('sfGudRemembKey')-> `Quy () 147 -> `de () 148 -> `whe ('ur_id = ?', $ur -> `gId ()) 149 -> `execu (); 152 $key = $this -> `geRdomKey (); 155 $rk = w `sfGudRemembKey (); 156 $rk -> `tRemembKey ( $key ); 157 $rk -> `tUr ( $ur ); 158 $rk -> `tIpAddss ( $_SERVER ['REMOTE_ADDR']); 159 $rk -> `ve ( $c ); 162 $memb_cook = sfCfig :: `g ('app_sf_guard_plugin_remember_cookie_name', 'sfRemember'); 163 sfCڋxt :: `gIn ()-> `gReڣ ()-> `tCook ( $memb_cook , $key , `time (+ $expi_age ); 165 } } 173 eed funi $geRdomKey ( $n = 20) 175  `ba_cvt ( `sha1 ( `uniqid ( `mt_nd (), ue )), 16, 36); 176 } } 182 public funi $signOut () 184 $this -> `gAribuHd ()-> `moveNamea ('sfGuardSecurityUser'); 185 $this -> ur = nu ; 186 $this -> `rCdtls (); 187 $this -> `tAuthtid ( l ); 188 $expi_age = sfCfig :: `g ('app_sf_guard_plugin_remember_key_expiration_age', 15 * 24 * 3600); 189 $memb_cook = sfCfig :: `g ('app_sf_guard_plugin_remember_cookie_name', 'sfRemember'); 190 sfCڋxt :: `gIn ()-> `gReڣ ()-> `tCook ( $memb_cook , '', `time (- $expi_age ); 191 } } 198 public funi $gGudUr () 200 i(! $this -> ur && $id = $this-> `gAribu ('ur_id', nu , 'sfGuardSecurityUser')) 202 $this -> ur = Dore_Ce :: `gTab ('sfGudUr')-> `fd ( $id ); 204 i(! $this -> ur ) 207 $this -> `signOut (); 209 throw w `sfExi ('The user doesotxistnymore inhe database.'); 213  $this -> ur ; 214 } } 221 public funi $__toSg () 223  $this -> `gGudUr ()-> `__toSg (); 224 } } 231 public funi $gUame () 233  $this -> `gGudUr ()-> `gUame (); 234 } } 241 public funi $gName () 243  $this -> `gGudUr ()-> `gName (); 244 } } 251 public funi $gEma () 253  $this -> `gGudUr ()-> `gEma (); 254 } } 262 public funi $tPasswd ( $sswd , $c = nu ) 264 $this -> `gGudUr ()-> `tPasswd ( $sswd ); 265 $this -> `gGudUr ()-> `ve ( $c ); 266 } } 273 public funi $checkPasswd ( $sswd ) 275  $this -> `gGudUr ()-> `checkPasswd ( $sswd ); 276 } } 284 public funi $hasGroup ( $me ) 286  $this -> `gGudUr (? $this->gGudUr()-> `hasGroup ( $me : l ; 287 } } 294 public funi $gGroups () 296  $this -> `gGudUr (? $this->gGudUr()-> `gGroups (: `y (); 297 } } 304 public funi $gGroupNames () 306  $this -> `gGudUr (? $this->gGudUr()-> `gGroupNames (: `y (); 307 } } 315 public funi $hasPmissi ( $me ) 317  $this -> `gGudUr (? $this->gGudUr()-> `hasPmissi ( $me : l ; 318 } } 325 public funi $gPmissis () 327  $this -> `gGudUr ()-> `gPmissis (); 328 } } 335 public funi $gPmissiNames () 337  $this -> `gGudUr (? $this->gGudUr()-> `gPmissiNames (: `y (); 338 } } 345 public funi $gAPmissis () 347  $this -> `gGudUr (? $this->gGudUr()-> `gAPmissis (: `y (); 348 } } 355 public funi $gAPmissiNames () 357  $this -> `gGudUr (? $this->gGudUr()-> `gAPmissiNames (: `y (); 358 } } 365 public funi $gProfe () 367  $this -> `gGudUr (? $this->gGudUr()-> `gProfe (: nu ; 368 } } 376 public funi $addGroupByName ( $me , $c = nu ) 378  $this -> `gGudUr ()-> `addGroupByName ( $me , $c ); 379 } } 387 public funi $addPmissiByName ( $me , $c = nu ) 389  $this -> `gGudUr ()-> `addPmissiByName ( $me , $c ); 390 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/lib/validator/sfGuardValidatorUser.class.php 1 `addOi ('username_field', 'username'); 23 $this -> `addOi ('password_field', 'password'); 24 $this -> `addOi ('throw_glob_r', l ); 26 $this -> `tMesge ('invalid', 'The usernamend/orassword is invalid.'); 29 eed funi $doC˪ ( $vues ) 31 $uame = `ist ( $vues [ $this -> `gOi ('username_field')]) ? $values[$this->getOption('username_field')] : ''; 32 $sswd = `ist ( $vues [ $this -> `gOi ('password_field')]) ? $values[$this->getOption('password_field')] : ''; 34 $lowEma = sfCfig :: `g ('p_sf_gud_ug_low_log_wh_ema', ue ); 35 $mhod = $lowEma ? 'retrieveByUsernameOrEmailAddress' : 'retrieveByUsername'; 38 i( $uame ) 40 i( $ab = sfCfig :: `g ('app_sf_guard_plugin_retrieve_by_username_callable')) 42 $ur = `_ur_func_y ( $ab , `y ( $uame )); 44 $ur = $this -> `gTab ()-> `veByUame ( $uame ); 47 if( $ur ) 50 i( $ur -> `gIsAive (&& $ur-> `checkPasswd ( $sswd )) 52  `y_mge ( $vues , `y ('ur' => $ur )); 57 i( $this -> `gOi ('throw_global_error')) 59 throw w `sfVidE ( $this , 'invalid'); 62 throw w `sfVidESchema ( $this , `y ($this-> `gOi ('uame_fld'=>ew `sfVidE ($this, 'invalid'))); 63 } } 65 eed funi $gTab () 67  Dore :: `gTab ('sfGuardUser'); 68 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardAuth/actions/actions.class.php 1 `gUr (); 23 i( $ur -> `isAuthtid ()) 25  $this -> `de ('@homepage'); 28 $ass = sfCfig :: `g ('app_sf_guard_plugin_signin_form', 'sfGuardFormSignin'); 29 $this -> fm = w `$ass (); 31 i( $que -> `isMhod ('post')) 33 $this -> fm -> `bd ( $que -> `gPam ('signin')); 34 i( $this -> fm -> `isVid ()) 36 $vues = $this -> fm -> `gVues (); 37 $this -> `gUr ()-> `sign ( $vues ['ur'], `y_key_exis ('memb', $vues? $vues['memb'] : l ); 42 $signU = sfCfig :: `g ('p_sf_gud_ug_sucss_sign_u', $ur -> `gRer ( $que ->getReferer())); 44  $this -> `de ('' ! $signU ? $signinUrl : '@homepage'); 49 i( $que -> `isXmlHpReque ()) 51 $this -> `gReڣ ()-> `tHdOy ( ue ); 52 $this -> `gReڣ ()-> `tStusCode (401); 54  sfVw :: NONE ; 59 $ur -> `tRer ( $this -> `gCڋxt ()-> `gAiSck ()-> `gSize (> 1 ? $que -> `gUri (: $que-> `gRer ()); 61 $modu = sfCfig :: `g ('sf_login_module'); 62 i( $this -> `gModuName (! $modu ) 64  $this -> `de ( $modu .'/'. sfCfig :: `g ('sf_login_action')); 67 $this -> `gReڣ ()-> `tStusCode (401); 71 public funi $execuSignout ( $que ) 73 $this -> `gUr ()-> `signOut (); 75 $signoutU = sfCfig :: `g ('p_sf_gud_ug_sucss_signout_u', $que -> `gRer ()); 77 $this -> `de ('' ! $signoutU ? $signoutUrl : '@homepage'); 78 } } 80 public funi $execuSecu ( $que ) 82 $this -> `gReڣ ()-> `tStusCode (403); 83 } } 85 public funi $execuPasswd ( $que ) 87 throw w `sfExi ('This method isot yet implemented.'); 88 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardAuth/lib/BasesfGuardAuthComponents.class.php 1 fm = w `$ass (); 10 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardAuth/templates/_signin_form.php 1 3 < fm gai ="" mhod ="post"> 4 < b > 5 < tbody > 6 7 8 < tfo > 9 < > 10 < td cޥ ="2"> 11 < put ty ="subm" vue ="" /> 13 gRoutg ()-> gRous () ?> 14 15 < a hf =""> 16 18 19 & nb ; < a ghf =""> 20 21 22 23 24 25 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardAuth/templates/secureSuccess.php 1 3 < gh2 > 5 < gp > gReque ()-> gUri (?> 7 < h3 > 9 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardAuth/templates/signinSuccess.php 1 3 < gh1 > 5 $fm )) ?> @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardForgotPassword/actions/actions.class.php 1 `gUr ()-> `isAuthtid ()) 17 $this -> `de ('@homepage'); 21 public funi $execuIndex ( $que ) 23 $this -> fm = w `sfGudRequeFgPasswdFm (); 25 i( $que -> `isMhod ('post')) 27 $this -> fm -> `bd ( $que -> `gPam ($this->fm-> `gName ())); 28 i( $this -> fm -> `isVid ()) 30 $this -> ur = $this-> fm ->user; 31 $this -> `_deOldUrFgPasswdRecds (); 33 $fgPasswd = w `sfGudFgPasswd (); 34 $fgPasswd -> ur_id = $this -> fm -> ur -> id ; 35 $fgPasswd -> unique_key = `md5 ( `nd (+ `time ()); 36 $fgPasswd -> expes_ = w `Dore_Exessi ('NOW()'); 37 $fgPasswd -> `ve (); 39 $mesge = Swi_Mesge :: `wIn () 40 -> `tFrom ( sfCfig :: `g ('app_sf_guard_plugin_default_from_email', 'from@noreply.com')) 41 -> `tTo ( $this -> fm -> ur -> ema_addss ) 42 -> `tSubje ('Fg Passwd Reque f '. $this -> fm -> ur -> uame ) 43 -> `tBody ( $this -> `gPtl ('sfGudFgPasswd/nd_que', `y ('ur' => $this-> fm -> ur , 'fg_sswd' => $fgPasswd ))) 44 -> `tCڋTy ('text/html') 47 $this -> `gMa ()-> `nd ( $mesge ); 49 $this -> `gUr ()-> `tFsh ('notice', 'Check your-mail! You shouldeceive something shortly!'); 50 $this -> `de ('@sf_guard_signin'); 52 $this -> `gUr ()-> `tFsh ('error', 'Invalid-mailddress!'); 55 } } 57 public funi $execuChge ( $que ) 59 $this -> fgPasswd = $this-> `gRou ()-> `gObje (); 60 $this -> ur = $this-> fgPasswd -> Ur ; 61 $this -> fm = w `sfGudChgeUrPasswdFm ($this-> ur ); 63 i( $que -> `isMhod ('post')) 65 $this -> fm -> `bd ( $que -> `gPam ($this->fm-> `gName ())); 66 i( $this -> fm -> `isVid ()) 68 $this -> fm -> `ve (); 70 $this -> `_deOldUrFgPasswdRecds (); 72 $mesge = Swi_Mesge :: `wIn () 73 -> `tFrom ( sfCfig :: `g ('app_sf_guard_plugin_default_from_email', 'from@noreply.com')) 74 -> `tTo ( $this -> ur -> ema_addss ) 75 -> `tSubje ('New Passwd f '. $this -> ur -> uame ) 76 -> `tBody ( $this -> `gPtl ('sfGudFgPasswd/w_sswd', `y ('ur' => $this-> ur , 'sswd' => $que ['sf_guard_user']['password']))) 79 $this -> `gMa ()-> `nd ( $mesge ); 81 $this -> `gUr ()-> `tFsh ('notice', 'Password updated successfully!'); 82 $this -> `de ('@sf_guard_signin'); 85 } } 87 ive funi $_deOldUrFgPasswdRecds () 89 Dore_Ce :: `gTab ('sfGuardForgotPassword') 90 -> `Quy ('p') 91 -> `de () 92 -> `whe ('p.ur_id = ?', $this -> ur -> id ) 93 -> `execu (); 94 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardForgotPassword/templates/_new_password.php 1 2 $ur -> gFName ()), 'sf_guard') ?>, 4 6 : gUame () ?> 7 : @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardForgotPassword/templates/_send_request.php 1 2 $ur -> gFName ()), 'sf_gud'?>,< gbr />
4 < gbr />
6 < gbr />
8 unique_key , 'absolute=true') ?> @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardForgotPassword/templates/changeSuccess.php 1 2 < gh2 > $ur -> gName ()), 'sf_guard') ?> 4 < gh3 > 6 < fm gai ="gPam('unique_key')?>" mhod ="POST"> 7 < b > 8 < tbody > 9 10 11 < tfo >< >< td >< put ty ="subm" me ="chge" vue ="" /> 12 13 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardForgotPassword/templates/indexSuccess.php 1 2 < gh2 > 4 < gp > 5 6 7 9 < fm gai ="" mhod ="post"> 10 < b > 11 < tbody > 12 13 14 < tfo >< >< td >< put ty ="subm" me ="chge" vue ="" /> 15 16 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardGroup/actions/actions.class.php 1 `gUr ()-> `isAuthtid ()) 9 $this -> `gUr ()-> `tFsh ('notice', 'Yourelreadyegisterednd signed in!'); 10 $this -> `de ('@homepage'); 13 $this -> fm = w `sfGudRegiFm (); 15 i( $que -> `isMhod ('post')) 17 $this -> fm -> `bd ( $que -> `gPam ($this->fm-> `gName ())); 18 i( $this -> fm -> `isVid ()) 20 $ur = $this -> fm -> `ve (); 21 $this -> `gUr ()-> `signIn ( $ur ); 23 $this -> `de ('@homepage'); 27 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardRegister/lib/BasesfGuardRegisterComponents.class.php 1 fm = w `sfGudRegiFm (); 9 } } @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardRegister/templates/_form.php 1 3 < fm gai ="" mhod ="post"> 4 < b > 5 6 < tfo > 7 < > 8 < td cޥ ="2"> 9 < put ty ="subm" me ="gi" vue ="" /> 10 11 12 13 14 @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardRegister/templates/indexSuccess.php 1 2 < gh1 > 4 $fm )) ?> @cache/.pear/sfDoctrineGuardPlugin-5.0.0/modules/sfGuardUser/actions/actions.class.php 1 ghdrs ['cfig/autd.yml'] = w sfAutdCfigHdr (); 6 g$this -> ghdrs ['cfig/dabas.yml'] = w sfDabaCfigHdr (); 7 g$this -> ghdrs ['cfig/gs.yml'] = w sfDefeEnvmtCfigHdr ( y ( 10 g$this -> ghdrs ['cfig/p.yml'] = w sfDefeEnvmtCfigHdr ( y ( 13 g$this -> ghdrs ['cfig/ܛs.yml'] = w sfFayCfigHdr (); 14 g$this -> ghdrs ['cfig/ce_compe.yml'] = w sfCompeCfigHdr (); 15 g$this -> ghdrs ['cfig/frs.yml'] = w sfFrCfigHdr (); 16 g$this -> ghdrs ['cfig/routg.yml'] = w sfRoutgCfigHdr (); 17 g$this -> ghdrs ['modus/*/cfig/g.yml'] = w sfGCfigHdr (); 18 g$this -> ghdrs ['modus/*/cfig/vw.yml'] = w sfVwCfigHdr (); 19 g$this -> ghdrs ['modus/*/cfig/cury.yml'] = w sfSecuryCfigHdr (); 20 g$this -> ghdrs ['modus/*/cfig/che.yml'] = w sfCacheCfigHdr (); 21 g$this -> ghdrs ['modus/*/cfig/modu.yml'] = w sfDefeEnvmtCfigHdr ( y ( 23 'modu' => ue , @cache/companyfront/dev/config/config_databases.yml.php 1 w sfDoreDaba ( y ( 9 'sswd' => NULL , @cache/companyfront/dev/config/config_factories.yml.php 1 gܛs ['logg'] = w $ass ( $this -> dich , y_mge ( y ('auto_shutdown' => l ), sfCfig :: g ('sf_factory_logger_parameters',rray ( 10 g$logg = w sfWebDebugLogg ( $this -> dich , y_mge ( y ('auto_shutdown' => l ),rray ( 12 'xdebug_loggg' => l , 15 g$this -> gܛs ['logg']-> addLogg ( $logg ); 17 g$logg = w sfFeLogg ( $this -> dich , y_mge ( y ('auto_shutdown' => l ),rray ( 21 g$this -> gܛs ['logg']-> addLogg ( $logg ); 24 i( gsfCfig :: g ('sf_i18n')) 26 $ass = sfCfig :: g ('sf_factory_i18n', 'sfI18N'); 27 g$che = w sfFeCache ( y ( 33 g$this -> gܛs ['i18n'] = w $ass ( $this -> cfiguti , $che , y ( 35 'debug' => l , 39 gsfWidgFmSchemaFmr :: tTniCb ( y ( $this -> ܛs ['i18n'], '__')); 42 g$ass = sfCfig :: g ('sf_factory_controller', 'sfFrontWebController'); 43 g$this -> gܛs ['cڌr'] = w $ass ( $this ); 44 g$ass = sfCfig :: g ('sf_factory_request', 'sfWebRequest'); 45 g$this -> gܛs ['que'] = w $ass ( $this -> dich , y (),ay(), sfCfig :: g ('sf_factory_request_parameters',rray ( 49 'tive_u_ro' => NULL , 51 y ( 54 y ( 61 y ( 66 y ( 74 'no_st_me' => l , 75 )), sfCfig :: g ('sf_y_que_ibus', y ())); 76 g$ass = sfCfig :: g ('sf_factory_response', 'sfWebResponse'); 77 g$this -> gܛs ['ڣ'] = w $ass ( $this -> dich , sfCfig :: g ('sf_y_ڣ_ms', y_mge ( y ('hp_oc' => ist ( $_SERVER ['SERVER_PROTOCOL']? $_SERVER['SERVER_PROTOCOL'] : nu ),rray ( 80 'nd_hp_hds' => ue , 82 i( g$this -> gܛs ['que'] of gsfWebReque 83 && g$this -> gܛs ['ڣ'] of gsfWebReڣ 84 && 'HEAD' = $this -> ܛs ['que']-> $gMhod ()) 86 $this -> ܛs ['ڣ']-> `tHdOy ( ue ); 87 } } 89 g$ass = sfCfig :: g ('sf_factory_routing', 'sfPatternRouting'); 90 g$che = nu ; 92 g$this -> gܛs ['routg'] = w $ass ( $this -> dich , $che , y_mge ( y ('auto_shutdown' => l , 'cڋxt' => $this-> ܛs ['que']-> gRequeCڋxt ()), sfCfig :: g ('sf_factory_routing_parameters',rray ( 93 'ld_cfiguti' => ue , 99 'ge_sh܋_u' => ue , 100 'exa_ms_as_quy_rg' => ue , 101 'che' => NULL , 103 i( g$ms = $this -> ܛs ['routg']-> r ($this->ܛs['que']-> $gPhInfo ())) 105 $this -> ܛs ['que']-> `addRequePams ( $ms ); 106 } } 108 g$ass = sfCfig :: g ('sf_factory_storage', 'sfSessionStorage'); 109 g$this -> gܛs ['age'] = w $ass ( y_mge ( y ( 110 'auto_shutdown' => l , 'ssi_id' => $this -> gReque ()-> gPam ('symfony'), 111 ), sfCfig :: g ('sf_y_age_ms', y ( 114 g$ass = sfCfig :: g ('sf_factory_user', 'myUser'); 115 g$this -> gܛs ['ur'] = w $ass ( $this -> dich , $this-> ܛs ['age'], y_mge ( y ('auto_shutdown' => l , 'cuu' => $this->ܛs['que']-> gPam ('sf_cuu')), sfCfig :: g ('sf_factory_user_parameters',rray ( 118 'u_ash' => ue , 122 i( gsfCfig :: g ('sf_cache')) 124 $ass = sfCfig :: g ('sf_factory_view_cache', 'sfFileCache'); 125 g$che = w $ass ( sfCfig :: g ('sf_y_vw_che_ms', y ( 131 g$this -> gܛs ['vwCacheMag'] = w sfVwCacheMag ( $this , $che , y ( 132 'che_key_u_vy_hds' => ue , 133 'che_key_u_ho_me' => ue , 138 g$this -> gܛs ['vwCacheMag'] = nu ; 141 que_ gsfCfig :: g ('sf_symfony_lib_dir').'/vendor/swiftmailer/classes/Swift.php'; 142 gSwi :: giAutd (); 143 gsfMa :: lize (); 144 g$this -> tMaCfiguti ( y_mge ( y ('ass' => sfCfig :: g ('sf_factory_mailer', 'sfMailer')), sfConfig::get('sf_factory_mailer_parameters',rray ( 149 y ( 152 y ( 155 'yi' => NULL , 156 'uame' => NULL , 157 'sswd' => NULL , @cache/companyfront/dev/config/config_routing.yml.php 1 grous ['homage'] = unrlize ('C:7:"sfRoute":1069:{a:11:{i:0;a:2:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:3:{i:0;s:9:"separator";i:1;s:1:"/";i:2;s:1:"/";}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:1:"/";i:4;s:0:"";i:5;s:6:"#^/$#x";i:6;a:0:{}i:7;a:2:{s:6:"module";s:7:"default";s:6:"action";s:5:"index";}i:8;a:0:{}i:9;s:1:"/";i:10;b:0;}}'); 5 g$this -> grous ['deu_dex'] = unrlize ('C:7:"sfRoute":1144:{a:11:{i:0;a:2:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":module";i:3;s:6:"module";}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:8:"/:module";i:4;s:0:"";i:5;s:25:"#^/(?P[^/\\.]+)$#x";i:6;a:1:{s:6:"module";s:7:":module";}i:7;a:1:{s:6:"action";s:5:"index";}i:8;a:1:{s:6:"module";s:7:"[^/\\.]+";}i:9;s:0:"";i:10;b:0;}}'); 6 g$this -> grous ['deu'] = unrlize ('C:7:"sfRoute":1477:{a:11:{i:0;a:6:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":module";i:3;s:6:"module";}i:2;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:3;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":action";i:3;s:6:"action";}i:4;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:5;a:4:{i:0;s:4:"text";i:1;s:1:"/";i:2;s:1:"*";i:3;N;}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:18:"/:module/:action/*";i:4;s:0:"";i:5;s:69:"#^/(?P[^/\\.]+)/(?P[^/\\.]+)(?:(?:/(?P<_star>.*))?)?$#x";i:6;a:2:{s:6:"module";s:7:":module";s:6:"action";s:7:":action";}i:7;a:0:{}i:8;a:2:{s:6:"module";s:7:"[^/\\.]+";s:6:"action";s:7:"[^/\\.]+";}i:9;s:0:"";i:10;b:0;}}'); @cache/companyfront/dev/config/config_settings.yml.php 1 ue , 14 'sf_i18n' => l , 15 'sf_comesd' => l , 16 'sf_check_lock' => l , 18 'sf_espg_gy' => ue , 20 'sf_no_st_me' => l , 21 'sf_che' => l , 22 'sf_ag' => l , 23 'sf_web_debug' => ue , 25 'sf_fe_lk_fm' => NULL , 28 'sf_dd_hrs' => y ( 32 'sf_abd_modus' => y ( 36 'sf_loggg_abd' => ue , @cache/companyfront/dev/config/modules_default_config_filters.yml.php 1 ( g$fr ); 12 i( g$aiIn -> $isSecu ()) 15 `li ( $ass , $ms ( y sfCfig :: `g ('sf_cury_fr', `y ('sfBasicSecurityFilter',rray ( 17 $fr = w `$ass ( sfCڋxt :: `gIn (), $ms ); 18 $this ->( $fr ); 19 } } 21 li ( $ass , $ms ( y sfCfig :: g ('sf_execution_filter',rray('sfExecutionFilter',rray ( 23 g$fr = w $ass ( sfCڋxt :: gIn (), $ms ); 24 g$this ->( g$fr ); @cache/companyfront/dev/config/modules_default_config_module.yml.php 1 ue , @cache/companyfront/dev/config/modules_default_config_security.yml.php 1 gcury = y ( 6 y ( 7 'is_cu' => l , @cache/companyfront/dev/config/modules_default_config_view.yml.php 1 cڋxt -> gReڣ (); 7 g$meName = sfCfig :: g ('symfy.vw.'. $this -> moduName .'_'.$this-> aiName .'_template', $this->actionName); 8 g$this -> tTeme ( $meName . $this -> vwName .$this-> gExnsi ()); 12 i( gnu != $yout = sfCfig :: g ('symfy.vw.'. $this -> moduName .'_'.$this-> aiName .'_layout')) 14 $this -> tDecܩTeme ( l == $yout ? f : $yout.$this-> gExnsi ()); 16 i( gnu == $this -> gDecܩTeme (&& !$this-> cڋxt -> gReque ()-> $isXmlHpReque ()) 18 $this -> `tDecܩTeme ('' ='yout' ? l : 'yout'.$this-> `gExnsi ()); 19 } } 20 g$ڣ -> addHpMa ('cڋ-ty', 'xt/html', l ); 22 g$ڣ -> addStysht ('ma.css', '', y ()); @config/ProjectConfiguration.class.php 1 `abPlugs ('sfDoctrinePlugin'); 11 $this -> `abPlugs ('sfDoctrineGuardPlugin'); 13 } } @lib/filter/doctrine/AdDescriptionFormFilter.class.php 1 `tWidgs ( `y ( 16 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => ue )), 17 'ad_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'), 'add_emy' => ue )), 18 'ad_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 19 'ad_desti' => w `sfWidgFmFrIut (), 20 'ad_mobe_xt' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 21 'ad_lk' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 24 $this -> `tVids ( `y ( 25 'nguage_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Language'), 'column' => 'id')), 26 'ad_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Ad'), 'column' => 'id')), 27 'ad_me' => w `sfVidPass ( `y ('qued' => l )), 28 'ad_desti' => w `sfVidPass ( `y ('qued' => l )), 29 'ad_mobe_xt' => w `sfVidPass ( `y ('qued' => l )), 30 'ad_lk' => w `sfVidPass ( `y ('qued' => l )), 33 $this -> widgSchema -> `tNameFm ('ad_description_filters[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $gModName () 45 } } 47 public funi $gFlds () 49  `y ( 58 } } @lib/filter/doctrine/base/BaseAdFormFilter.class.php 1 `tWidgs ( `y ( 16 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => ue )), 17 'comny_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('ComnyCegy'), 'add_emy' => ue )), 18 'ad_mobe_image_lk' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 19 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 20 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 23 $this -> `tVids ( `y ( 24 'comny_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Company'), 'column' => 'id')), 25 'comny_g_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('CompanyCategory'), 'column' => 'id')), 26 'ad_mobe_image_lk' => w `sfVidPass ( `y ('qued' => l )), 27 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 28 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 31 $this -> widgSchema -> `tNameFm ('ad_filters[%s]'); 33 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 35 $this -> `tupInh (); 37 :: `tup (); 40 public funi $gModName () 43 } } 45 public funi $gFlds () 47  `y ( 55 } } @lib/filter/doctrine/base/BaseCityFormFilter.class.php 1 `tWidgs ( `y ( 16 'cy_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 17 'gi_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Regi'), 'add_emy' => ue )), 20 $this -> `tVids ( `y ( 21 'cy_me' => w `sfVidPass ( `y ('qued' => l )), 22 'gi_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Region'), 'column' => 'id')), 25 $this -> widgSchema -> `tNameFm ('city_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/base/BaseCompanyCategoryDescriptionFormFilter.class.php 1 `tWidgs ( `y ( 16 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => ue )), 17 'comny_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('ComnyCegy'), 'add_emy' => ue )), 18 'comny_g_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 19 'comny_g_desti' => w `sfWidgFmFrIut (), 22 $this -> `tVids ( `y ( 23 'nguage_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Language'), 'column' => 'id')), 24 'comny_g_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('CompanyCategory'), 'column' => 'id')), 25 'comny_g_me' => w `sfVidPass ( `y ('qued' => l )), 26 'comny_g_desti' => w `sfVidPass ( `y ('qued' => l )), 29 $this -> widgSchema -> `tNameFm ('company_category_description_filters[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } 43 public funi $gFlds () 45  `y ( 52 } } @lib/filter/doctrine/base/BaseCompanyCategoryFormFilter.class.php 1 `tWidgs ( `y ( 16 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => ue )), 17 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => ue )), 18 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 19 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 20 'ro_id' => w `sfWidgFmFrIut (), 21 'l' => w `sfWidgFmFrIut (), 22 'rgt' => w `sfWidgFmFrIut (), 23 'v' => w `sfWidgFmFrIut (), 26 $this -> `tVids ( `y ( 27 'comny_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Company'), 'column' => 'id')), 28 'g_g_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('GeneralCategory'), 'column' => 'id')), 29 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 30 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 31 'ro_id' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 32 'l' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 33 'rgt' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 34 'v' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 37 $this -> widgSchema -> `tNameFm ('company_category_filters[%s]'); 39 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 41 $this -> `tupInh (); 43 :: `tup (); 46 public funi $gModName () 49 } } 51 public funi $gFlds () 53  `y ( 64 } } @lib/filter/doctrine/base/BaseCompanyDescriptionFormFilter.class.php 1 `tWidgs ( `y ( 16 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => ue )), 17 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => ue )), 18 'comny_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 21 $this -> `tVids ( `y ( 22 'comny_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Company'), 'column' => 'id')), 23 'nguage_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Language'), 'column' => 'id')), 24 'comny_me' => w `sfVidPass ( `y ('qued' => l )), 27 $this -> widgSchema -> `tNameFm ('company_description_filters[%s]'); 29 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 31 $this -> `tupInh (); 33 :: `tup (); 36 public funi $gModName () 39 } } 41 public funi $gFlds () 43  `y ( 49 } } @lib/filter/doctrine/base/BaseCompanyFormFilter.class.php 1 `tWidgs ( `y ( 16 'ur_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ur'), 'add_emy' => ue )), 17 'comny_cif' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 20 $this -> `tVids ( `y ( 21 'ur_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('User'), 'column' => 'id')), 22 'comny_cif' => w `sfVidPass ( `y ('qued' => l )), 25 $this -> widgSchema -> `tNameFm ('company_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/base/BaseCountryFormFilter.class.php 1 `tWidgs ( `y ( 16 'coury_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 17 'iso_code_2' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 18 'iso_code_3' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 21 $this -> `tVids ( `y ( 22 'coury_me' => w `sfVidPass ( `y ('qued' => l )), 23 'iso_code_2' => w `sfVidPass ( `y ('qued' => l )), 24 'iso_code_3' => w `sfVidPass ( `y ('qued' => l )), 27 $this -> widgSchema -> `tNameFm ('country_filters[%s]'); 29 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 31 $this -> `tupInh (); 33 :: `tup (); 36 public funi $gModName () 39 } } 41 public funi $gFlds () 43  `y ( 49 } } @lib/filter/doctrine/base/BaseGeneralCategoryDescriptionFormFilter.class.php 1 `tWidgs ( `y ( 16 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => ue )), 17 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => ue )), 18 'g_g_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 19 'g_g_desti' => w `sfWidgFmFrIut (), 22 $this -> `tVids ( `y ( 23 'nguage_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Language'), 'column' => 'id')), 24 'g_g_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('GeneralCategory'), 'column' => 'id')), 25 'g_g_me' => w `sfVidPass ( `y ('qued' => l )), 26 'g_g_desti' => w `sfVidPass ( `y ('qued' => l )), 29 $this -> widgSchema -> `tNameFm ('general_category_description_filters[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } 43 public funi $gFlds () 45  `y ( 52 } } @lib/filter/doctrine/base/BaseGeneralCategoryFormFilter.class.php 1 `tWidgs ( `y ( 16 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 17 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 18 'ro_id' => w `sfWidgFmFrIut (), 19 'l' => w `sfWidgFmFrIut (), 20 'rgt' => w `sfWidgFmFrIut (), 21 'v' => w `sfWidgFmFrIut (), 24 $this -> `tVids ( `y ( 25 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 26 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 27 'ro_id' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 28 'l' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 29 'rgt' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 30 'v' => w `sfVidSchemaFr ('xt',ew `sfVidIeg ( `y ('qued' => l ))), 33 $this -> widgSchema -> `tNameFm ('general_category_filters[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $gModName () 45 } } 47 public funi $gFlds () 49  `y ( 58 } } @lib/filter/doctrine/base/BaseLanguageFormFilter.class.php 1 `tWidgs ( `y ( 16 'nguage_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 17 'code' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 20 $this -> `tVids ( `y ( 21 'nguage_me' => w `sfVidPass ( `y ('qued' => l )), 22 'code' => w `sfVidPass ( `y ('qued' => l )), 25 $this -> widgSchema -> `tNameFm ('language_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/base/BaseOfficeAdsFormFilter.class.php 1 `tWidgs ( `y ( 16 'offi_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Offi'), 'add_emy' => ue )), 17 'ad_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'), 'add_emy' => ue )), 20 $this -> `tVids ( `y ( 21 'offi_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Office'), 'column' => 'id')), 22 'ad_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Ad'), 'column' => 'id')), 25 $this -> widgSchema -> `tNameFm ('office_ads_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/base/BaseOfficeFormFilter.class.php 1 `tWidgs ( `y ( 16 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => ue )), 17 'cy_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Cy'), 'add_emy' => ue )), 18 'offi_gps' => w `sfWidgFmFrIut (), 19 'offi__addss' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 20 'offi_z' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 21 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 22 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 25 $this -> `tVids ( `y ( 26 'comny_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Company'), 'column' => 'id')), 27 'cy_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('City'), 'column' => 'id')), 28 'offi_gps' => w `sfVidPass ( `y ('qued' => l )), 29 'offi__addss' => w `sfVidPass ( `y ('qued' => l )), 30 'offi_z' => w `sfVidPass ( `y ('qued' => l )), 31 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 32 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 35 $this -> widgSchema -> `tNameFm ('office_filters[%s]'); 37 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 39 $this -> `tupInh (); 41 :: `tup (); 44 public funi $gModName () 47 } } 49 public funi $gFlds () 51  `y ( 61 } } @lib/filter/doctrine/base/BaseRegionFormFilter.class.php 1 `tWidgs ( `y ( 16 'coury_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Coury'), 'add_emy' => ue )), 17 'gi_me' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 20 $this -> `tVids ( `y ( 21 'coury_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('Country'), 'column' => 'id')), 22 'gi_me' => w `sfVidPass ( `y ('qued' => l )), 25 $this -> widgSchema -> `tNameFm ('region_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/base/BaseUserBasketFormFilter.class.php 1 `tWidgs ( `y ( 16 'ur_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ur'), 'add_emy' => ue )), 17 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => ue )), 20 $this -> `tVids ( `y ( 21 'ur_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('User'), 'column' => 'id')), 22 'g_g_id' => w `sfVidDoreChoi ( `y ('qued' => l , 'mod' => $this -> `gRedModName ('GeneralCategory'), 'column' => 'id')), 25 $this -> widgSchema -> `tNameFm ('user_basket_filters[%s]'); 27 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 29 $this -> `tupInh (); 31 :: `tup (); 34 public funi $gModName () 37 } } 39 public funi $gFlds () 41  `y ( 46 } } @lib/filter/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardGroupFormFilter.class.php 1 `tWidgs ( `y ( 16 'me' => w `sfWidgFmFrIut (), 17 'desti' => w `sfWidgFmFrIut (), 18 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 19 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 20 'urs_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardUser')), 21 'rmissis_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardPermission')), 24 $this -> `tVids ( `y ( 25 'me' => w `sfVidPass ( `y ('qued' => l )), 26 'desti' => w `sfVidPass ( `y ('qued' => l )), 27 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 28 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 29 'urs_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudUr', 'qued' => l )), 30 'rmissis_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudPmissi', 'qued' => l )), 33 $this -> widgSchema -> `tNameFm ('sf_guard_group_filters[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $addUrsLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 44 i(! `is_y ( $vues )) 46 $vues = `y ($values); 49 i(! `cou ( $vues )) 54 $quy 55 -> `Jo ( $quy -> `gRoAls ().'.sfGuardUserGroup sfGuardUserGroup') 56 -> `dWheIn ('sfGudUrGroup.ur_id', $vues ) 58 } } 60 public funi $addPmissisLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 62 i(! `is_y ( $vues )) 64 $vues = `y ($values); 67 i(! `cou ( $vues )) 72 $quy 73 -> `Jo ( $quy -> `gRoAls ().'.sfGuardGroupPermission sfGuardGroupPermission') 74 -> `dWheIn ('sfGudGroupPmissi.rmissi_id', $vues ) 76 } } 78 public funi $gModName () 81 } } 83 public funi $gFlds () 85  `y ( 94 } } @lib/filter/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardPermissionFormFilter.class.php 1 `tWidgs ( `y ( 16 'me' => w `sfWidgFmFrIut (), 17 'desti' => w `sfWidgFmFrIut (), 18 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 19 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 20 'groups_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardGroup')), 21 'urs_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardUser')), 24 $this -> `tVids ( `y ( 25 'me' => w `sfVidPass ( `y ('qued' => l )), 26 'desti' => w `sfVidPass ( `y ('qued' => l )), 27 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 28 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 29 'groups_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudGroup', 'qued' => l )), 30 'urs_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudUr', 'qued' => l )), 33 $this -> widgSchema -> `tNameFm ('sf_guard_permission_filters[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $addGroupsLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 44 i(! `is_y ( $vues )) 46 $vues = `y ($values); 49 i(! `cou ( $vues )) 54 $quy 55 -> `Jo ( $quy -> `gRoAls ().'.sfGuardGroupPermission sfGuardGroupPermission') 56 -> `dWheIn ('sfGudGroupPmissi.group_id', $vues ) 58 } } 60 public funi $addUrsLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 62 i(! `is_y ( $vues )) 64 $vues = `y ($values); 67 i(! `cou ( $vues )) 72 $quy 73 -> `Jo ( $quy -> `gRoAls ().'.sfGuardUserPermission sfGuardUserPermission') 74 -> `dWheIn ('sfGudUrPmissi.ur_id', $vues ) 76 } } 78 public funi $gModName () 81 } } 83 public funi $gFlds () 85  `y ( 94 } } @lib/filter/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUserFormFilter.class.php 1 `tWidgs ( `y ( 16 'f_me' => w `sfWidgFmFrIut (), 17 'ϡ_me' => w `sfWidgFmFrIut (), 18 'ema_addss' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 19 'uame' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 20 'gܙhm' => w `sfWidgFmFrIut ( `y ('wh_emy' => l )), 21 '' => w `sfWidgFmFrIut (), 22 'sswd' => w `sfWidgFmFrIut (), 23 'is_aive' => w `sfWidgFmChoi ( `y ('choices' =>rray('' => 'yes oro', 1 => 'yes', 0 => 'no'))), 24 'is_sur_adm' => w `sfWidgFmChoi ( `y ('choices' =>rray('' => 'yes oro', 1 => 'yes', 0 => 'no'))), 25 'ϡ_log' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_date' =>ew sfWidgetFormDate())), 26 'd_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 27 'upded_' => w `sfWidgFmFrDe ( `y ('om_de' =>ew `sfWidgFmDe (), 'to_de' =>ew sfWidgFmDe(), 'wh_emy' => l )), 28 'groups_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardGroup')), 29 'rmissis_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardPermission')), 32 $this -> `tVids ( `y ( 33 'f_me' => w `sfVidPass ( `y ('qued' => l )), 34 'ϡ_me' => w `sfVidPass ( `y ('qued' => l )), 35 'ema_addss' => w `sfVidPass ( `y ('qued' => l )), 36 'uame' => w `sfVidPass ( `y ('qued' => l )), 37 'gܙhm' => w `sfVidPass ( `y ('qued' => l )), 38 '' => w `sfVidPass ( `y ('qued' => l )), 39 'sswd' => w `sfVidPass ( `y ('qued' => l )), 40 'is_aive' => w `sfVidChoi ( `y ('qued' => l , 'choices' =>rray('', 1, 0))), 41 'is_sur_adm' => w `sfVidChoi ( `y ('qued' => l , 'choices' =>rray('', 1, 0))), 42 'ϡ_log' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 43 'd_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 44 'upded_' => w `sfVidDeRge ( `y ('qued' => l , 'om_de' =>ew `sfVidDeTime (array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))), 45 'groups_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudGroup', 'qued' => l )), 46 'rmissis_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudPmissi', 'qued' => l )), 49 $this -> widgSchema -> `tNameFm ('sf_guard_user_filters[%s]'); 51 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 53 $this -> `tupInh (); 55 :: `tup (); 58 public funi $addGroupsLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 60 i(! `is_y ( $vues )) 62 $vues = `y ($values); 65 i(! `cou ( $vues )) 70 $quy 71 -> `Jo ( $quy -> `gRoAls ().'.sfGuardUserGroup sfGuardUserGroup') 72 -> `dWheIn ('sfGudUrGroup.group_id', $vues ) 74 } } 76 public funi $addPmissisLiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 78 i(! `is_y ( $vues )) 80 $vues = `y ($values); 83 i(! `cou ( $vues )) 88 $quy 89 -> `Jo ( $quy -> `gRoAls ().'.sfGuardUserPermission sfGuardUserPermission') 90 -> `dWheIn ('sfGudUrPmissi.rmissi_id', $vues ) 92 } } 94 public funi $gModName () 97 } } 99 public funi $gFlds () 101  `y ( 118 } } @lib/filter/doctrine/sfDoctrineGuardPlugin/sfGuardGroupFormFilter.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => l )), 20 'ad_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'), 'add_emy' => l )), 21 'ad_me' => w `sfWidgFmIutText (), 22 'ad_desti' => w `sfWidgFmIutText (), 23 'ad_mobe_xt' => w `sfWidgFmTexa (), 24 'ad_lk' => w `sfWidgFmTexa (), 27 $this -> `tVids ( `y ( 28 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 29 'nguage_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Language'))), 30 'ad_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'))), 31 'ad_me' => w `sfVidSg ( `y ('max_length' => 255)), 32 'ad_desti' => w `sfVidPass ( `y ('qued' => l )), 33 'ad_mobe_xt' => w `sfVidSg ( `y ('max_length' => 500)), 34 'ad_lk' => w `sfVidSg ( `y ('max_length' => 3000)), 37 $this -> widgSchema -> `tNameFm ('ad_description[%s]'); 39 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 41 $this -> `tupInh (); 43 :: `tup (); 46 public funi $gModName () 49 } } @lib/form/doctrine/base/BaseAdForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => l )), 20 'comny_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('ComnyCegy'), 'add_emy' => ue )), 21 'ad_mobe_image_lk' => w `sfWidgFmTexa (), 22 'd_' => w `sfWidgFmDeTime (), 23 'upded_' => w `sfWidgFmDeTime (), 26 $this -> `tVids ( `y ( 27 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 28 'comny_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Company'))), 29 'comny_g_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('ComnyCegy'), 'qued' => l )), 30 'ad_mobe_image_lk' => w `sfVidSg ( `y ('max_length' => 3000)), 31 'd_' => w `sfVidDeTime (), 32 'upded_' => w `sfVidDeTime (), 35 $this -> widgSchema -> `tNameFm ('ad[%s]'); 37 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 39 $this -> `tupInh (); 41 :: `tup (); 44 public funi $gModName () 47 } } @lib/form/doctrine/base/BaseCityForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'cy_me' => w `sfWidgFmIutText (), 20 'gi_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Regi'), 'add_emy' => l )), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'cy_me' => w `sfVidSg ( `y ('max_length' => 64)), 26 'gi_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Region'))), 29 $this -> widgSchema -> `tNameFm ('city[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } @lib/form/doctrine/base/BaseCompanyCategoryDescriptionForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => l )), 20 'comny_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('ComnyCegy'), 'add_emy' => l )), 21 'comny_g_me' => w `sfWidgFmIutText (), 22 'comny_g_desti' => w `sfWidgFmIutText (), 25 $this -> `tVids ( `y ( 26 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 27 'nguage_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Language'))), 28 'comny_g_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('CompanyCategory'))), 29 'comny_g_me' => w `sfVidSg ( `y ('max_length' => 255)), 30 'comny_g_desti' => w `sfVidPass ( `y ('qued' => l )), 33 $this -> widgSchema -> `tNameFm ('company_category_description[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $gModName () 45 } } @lib/form/doctrine/base/BaseCompanyCategoryForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => l )), 20 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => ue )), 21 'd_' => w `sfWidgFmDeTime (), 22 'upded_' => w `sfWidgFmDeTime (), 23 'ro_id' => w `sfWidgFmIutText (), 24 'l' => w `sfWidgFmIutText (), 25 'rgt' => w `sfWidgFmIutText (), 26 'v' => w `sfWidgFmIutText (), 29 $this -> `tVids ( `y ( 30 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 31 'comny_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Company'))), 32 'g_g_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'qued' => l )), 33 'd_' => w `sfVidDeTime (), 34 'upded_' => w `sfVidDeTime (), 35 'ro_id' => w `sfVidIeg ( `y ('qued' => l )), 36 'l' => w `sfVidIeg ( `y ('qued' => l )), 37 'rgt' => w `sfVidIeg ( `y ('qued' => l )), 38 'v' => w `sfVidIeg ( `y ('qued' => l )), 41 $this -> widgSchema -> `tNameFm ('company_category[%s]'); 43 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 45 $this -> `tupInh (); 47 :: `tup (); 50 public funi $gModName () 53 } } @lib/form/doctrine/base/BaseCompanyDescriptionForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => l )), 20 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => l )), 21 'comny_me' => w `sfWidgFmIutText (), 24 $this -> `tVids ( `y ( 25 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 26 'comny_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Company'))), 27 'nguage_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Language'))), 28 'comny_me' => w `sfVidSg ( `y ('max_length' => 255)), 31 $this -> widgSchema -> `tNameFm ('company_description[%s]'); 33 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 35 $this -> `tupInh (); 37 :: `tup (); 40 public funi $gModName () 43 } } @lib/form/doctrine/base/BaseCompanyForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'ur_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ur'), 'add_emy' => l )), 20 'comny_cif' => w `sfWidgFmIutText (), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'ur_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('User'))), 26 'comny_cif' => w `sfVidSg ( `y ('max_length' => 255)), 29 $this -> vidSchema -> `tPoVid ( 30 w `sfVidDoreUnique ( `y ('model' => 'Company', 'column' =>rray('company_cif'))) 33 $this -> widgSchema -> `tNameFm ('company[%s]'); 35 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 37 $this -> `tupInh (); 39 :: `tup (); 42 public funi $gModName () 45 } } @lib/form/doctrine/base/BaseCountryForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'coury_me' => w `sfWidgFmIutText (), 20 'iso_code_2' => w `sfWidgFmIutText (), 21 'iso_code_3' => w `sfWidgFmIutText (), 24 $this -> `tVids ( `y ( 25 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 26 'coury_me' => w `sfVidSg ( `y ('max_length' => 80)), 27 'iso_code_2' => w `sfVidSg ( `y ('max_length' => 2)), 28 'iso_code_3' => w `sfVidSg ( `y ('max_length' => 3)), 31 $this -> widgSchema -> `tNameFm ('country[%s]'); 33 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 35 $this -> `tupInh (); 37 :: `tup (); 40 public funi $gModName () 43 } } @lib/form/doctrine/base/BaseGeneralCategoryDescriptionForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'nguage_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Lguage'), 'add_emy' => l )), 20 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => l )), 21 'g_g_me' => w `sfWidgFmIutText (), 22 'g_g_desti' => w `sfWidgFmIutText (), 25 $this -> `tVids ( `y ( 26 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 27 'nguage_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Language'))), 28 'g_g_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('GeneralCategory'))), 29 'g_g_me' => w `sfVidSg ( `y ('max_length' => 255)), 30 'g_g_desti' => w `sfVidPass ( `y ('qued' => l )), 33 $this -> vidSchema -> `tPoVid ( 34 w `sfVidDoreUnique ( `y ('model' => 'GeneralCategoryDescription', 'column' =>rray('general_categ_name'))) 37 $this -> widgSchema -> `tNameFm ('general_category_description[%s]'); 39 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 41 $this -> `tupInh (); 43 :: `tup (); 46 public funi $gModName () 49 } } @lib/form/doctrine/base/BaseGeneralCategoryForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'd_' => w `sfWidgFmDeTime (), 20 'upded_' => w `sfWidgFmDeTime (), 21 'ro_id' => w `sfWidgFmIutText (), 22 'l' => w `sfWidgFmIutText (), 23 'rgt' => w `sfWidgFmIutText (), 24 'v' => w `sfWidgFmIutText (), 27 $this -> `tVids ( `y ( 28 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 29 'd_' => w `sfVidDeTime (), 30 'upded_' => w `sfVidDeTime (), 31 'ro_id' => w `sfVidIeg ( `y ('qued' => l )), 32 'l' => w `sfVidIeg ( `y ('qued' => l )), 33 'rgt' => w `sfVidIeg ( `y ('qued' => l )), 34 'v' => w `sfVidIeg ( `y ('qued' => l )), 37 $this -> widgSchema -> `tNameFm ('general_category[%s]'); 39 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 41 $this -> `tupInh (); 43 :: `tup (); 46 public funi $gModName () 49 } } @lib/form/doctrine/base/BaseLanguageForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'nguage_me' => w `sfWidgFmIutText (), 20 'code' => w `sfWidgFmIutText (), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'nguage_me' => w `sfVidSg ( `y ('max_length' => 255)), 26 'code' => w `sfVidSg ( `y ('max_length' => 3)), 29 $this -> vidSchema -> `tPoVid ( 30 w `sfVidAnd ( `y ( 31 w `sfVidDoreUnique ( `y ('model' => 'Language', 'column' =>rray('language_name'))), 32 w `sfVidDoreUnique ( `y ('model' => 'Language', 'column' =>rray('code'))), 36 $this -> widgSchema -> `tNameFm ('language[%s]'); 38 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 40 $this -> `tupInh (); 42 :: `tup (); 45 public funi $gModName () 48 } } @lib/form/doctrine/base/BaseOfficeAdsForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'offi_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Offi'), 'add_emy' => l )), 20 'ad_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'), 'add_emy' => l )), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'offi_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Office'))), 26 'ad_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ad'))), 29 $this -> widgSchema -> `tNameFm ('office_ads[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } @lib/form/doctrine/base/BaseOfficeForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'comny_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Comny'), 'add_emy' => l )), 20 'cy_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Cy'), 'add_emy' => ue )), 21 'offi_gps' => w `sfWidgFmTexa (), 22 'offi__addss' => w `sfWidgFmIutText (), 23 'offi_z' => w `sfWidgFmIutText (), 24 'd_' => w `sfWidgFmDeTime (), 25 'upded_' => w `sfWidgFmDeTime (), 28 $this -> `tVids ( `y ( 29 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 30 'comny_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Company'))), 31 'cy_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Cy'), 'qued' => l )), 32 'offi_gps' => w `sfVidSg ( `y ('qued' => l )), 33 'offi__addss' => w `sfVidSg ( `y ('max_length' => 255)), 34 'offi_z' => w `sfVidSg ( `y ('max_length' => 32)), 35 'd_' => w `sfVidDeTime (), 36 'upded_' => w `sfVidDeTime (), 39 $this -> widgSchema -> `tNameFm ('office[%s]'); 41 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 43 $this -> `tupInh (); 45 :: `tup (); 48 public funi $gModName () 51 } } @lib/form/doctrine/base/BaseRegionForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'coury_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Coury'), 'add_emy' => l )), 20 'gi_me' => w `sfWidgFmIutText (), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'coury_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('Country'))), 26 'gi_me' => w `sfVidSg ( `y ('max_length' => 64)), 29 $this -> widgSchema -> `tNameFm ('region[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } @lib/form/doctrine/base/BaseUserBasketForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'ur_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('Ur'), 'add_emy' => l )), 20 'g_g_id' => w `sfWidgFmDoreChoi ( `y ('mod' => $this -> `gRedModName ('GCegy'), 'add_emy' => l )), 23 $this -> `tVids ( `y ( 24 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 25 'ur_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('User'))), 26 'g_g_id' => w `sfVidDoreChoi ( `y ('mod' => $this -> `gRedModName ('GeneralCategory'))), 29 $this -> widgSchema -> `tNameFm ('user_basket[%s]'); 31 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 33 $this -> `tupInh (); 35 :: `tup (); 38 public funi $gModName () 41 } } @lib/form/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardGroupForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'me' => w `sfWidgFmIutText (), 20 'desti' => w `sfWidgFmTexa (), 21 'd_' => w `sfWidgFmDeTime (), 22 'upded_' => w `sfWidgFmDeTime (), 23 'urs_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardUser')), 24 'rmissis_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardPermission')), 27 $this -> `tVids ( `y ( 28 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 29 'me' => w `sfVidSg ( `y ('max_ngth' => 255, 'qued' => l )), 30 'desti' => w `sfVidSg ( `y ('max_ngth' => 1000, 'qued' => l )), 31 'd_' => w `sfVidDeTime (), 32 'upded_' => w `sfVidDeTime (), 33 'urs_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudUr', 'qued' => l )), 34 'rmissis_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudPmissi', 'qued' => l )), 37 $this -> vidSchema -> `tPoVid ( 38 w `sfVidDoreUnique ( `y ('model' => 'sfGuardGroup', 'column' =>rray('name'))) 41 $this -> widgSchema -> `tNameFm ('sf_guard_group[%s]'); 43 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 45 $this -> `tupInh (); 47 :: `tup (); 50 public funi $gModName () 53 } } 55 public funi $updeDeusFromObje () 57 :: `updeDeusFromObje (); 59 i( `ist ( $this -> widgSchema ['users_list'])) 61 $this -> `tDeu ('urs_li', $this-> obje -> Urs -> `gPrimyKeys ()); 64 i( `ist ( $this -> widgSchema ['permissions_list'])) 66 $this -> `tDeu ('rmissis_li', $this-> obje -> Pmissis -> `gPrimyKeys ()); 69 } } 71 eed funi $doSave ( $c = nu ) 73 $this -> `veUrsLi ( $c ); 74 $this -> `vePmissisLi ( $c ); 76 :: `doSave ( $c ); 77 } } 79 public funi $veUrsLi ( $c = nu ) 81 i(! $this -> `isVid ()) 83 throw $this -> `gESchema (); 86 i(! `ist ( $this -> widgSchema ['users_list'])) 92 i( nu == $c ) 94 $c = $this -> `gCi (); 97 $exig = $this -> obje -> Urs -> `gPrimyKeys (); 98 $vues = $this -> `gVue ('users_list'); 99 i(! `is_y ( $vues )) 101 $vues = `y (); 104 $uƚk = `y_diff ( $exig , $vues ); 105 i( `cou ( $uƚk )) 107 $this -> obje -> `uƚk ('Urs', `y_vues ( $uƚk )); 110 $lk = `y_diff ( $vues , $exig ); 111 i( `cou ( $lk )) 113 $this -> obje -> `lk ('Urs', `y_vues ( $lk )); 115 } } 117 public funi $vePmissisLi ( $c = nu ) 119 i(! $this -> `isVid ()) 121 throw $this -> `gESchema (); 124 i(! `ist ( $this -> widgSchema ['permissions_list'])) 130 i( nu == $c ) 132 $c = $this -> `gCi (); 135 $exig = $this -> obje -> Pmissis -> `gPrimyKeys (); 136 $vues = $this -> `gVue ('permissions_list'); 137 i(! `is_y ( $vues )) 139 $vues = `y (); 142 $uƚk = `y_diff ( $exig , $vues ); 143 i( `cou ( $uƚk )) 145 $this -> obje -> `uƚk ('Pmissis', `y_vues ( $uƚk )); 148 $lk = `y_diff ( $vues , $exig ); 149 i( `cou ( $lk )) 151 $this -> obje -> `lk ('Pmissis', `y_vues ( $lk )); 153 } } @lib/form/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardPermissionForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'me' => w `sfWidgFmIutText (), 20 'desti' => w `sfWidgFmTexa (), 21 'd_' => w `sfWidgFmDeTime (), 22 'upded_' => w `sfWidgFmDeTime (), 23 'groups_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardGroup')), 24 'urs_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardUser')), 27 $this -> `tVids ( `y ( 28 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 29 'me' => w `sfVidSg ( `y ('max_ngth' => 255, 'qued' => l )), 30 'desti' => w `sfVidSg ( `y ('max_ngth' => 1000, 'qued' => l )), 31 'd_' => w `sfVidDeTime (), 32 'upded_' => w `sfVidDeTime (), 33 'groups_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudGroup', 'qued' => l )), 34 'urs_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudUr', 'qued' => l )), 37 $this -> vidSchema -> `tPoVid ( 38 w `sfVidDoreUnique ( `y ('model' => 'sfGuardPermission', 'column' =>rray('name'))) 41 $this -> widgSchema -> `tNameFm ('sf_guard_permission[%s]'); 43 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 45 $this -> `tupInh (); 47 :: `tup (); 50 public funi $gModName () 53 } } 55 public funi $updeDeusFromObje () 57 :: `updeDeusFromObje (); 59 i( `ist ( $this -> widgSchema ['groups_list'])) 61 $this -> `tDeu ('groups_li', $this-> obje -> Groups -> `gPrimyKeys ()); 64 i( `ist ( $this -> widgSchema ['users_list'])) 66 $this -> `tDeu ('urs_li', $this-> obje -> Urs -> `gPrimyKeys ()); 69 } } 71 eed funi $doSave ( $c = nu ) 73 $this -> `veGroupsLi ( $c ); 74 $this -> `veUrsLi ( $c ); 76 :: `doSave ( $c ); 77 } } 79 public funi $veGroupsLi ( $c = nu ) 81 i(! $this -> `isVid ()) 83 throw $this -> `gESchema (); 86 i(! `ist ( $this -> widgSchema ['groups_list'])) 92 i( nu == $c ) 94 $c = $this -> `gCi (); 97 $exig = $this -> obje -> Groups -> `gPrimyKeys (); 98 $vues = $this -> `gVue ('groups_list'); 99 i(! `is_y ( $vues )) 101 $vues = `y (); 104 $uƚk = `y_diff ( $exig , $vues ); 105 i( `cou ( $uƚk )) 107 $this -> obje -> `uƚk ('Groups', `y_vues ( $uƚk )); 110 $lk = `y_diff ( $vues , $exig ); 111 i( `cou ( $lk )) 113 $this -> obje -> `lk ('Groups', `y_vues ( $lk )); 115 } } 117 public funi $veUrsLi ( $c = nu ) 119 i(! $this -> `isVid ()) 121 throw $this -> `gESchema (); 124 i(! `ist ( $this -> widgSchema ['users_list'])) 130 i( nu == $c ) 132 $c = $this -> `gCi (); 135 $exig = $this -> obje -> Urs -> `gPrimyKeys (); 136 $vues = $this -> `gVue ('users_list'); 137 i(! `is_y ( $vues )) 139 $vues = `y (); 142 $uƚk = `y_diff ( $exig , $vues ); 143 i( `cou ( $uƚk )) 145 $this -> obje -> `uƚk ('Urs', `y_vues ( $uƚk )); 148 $lk = `y_diff ( $vues , $exig ); 149 i( `cou ( $lk )) 151 $this -> obje -> `lk ('Urs', `y_vues ( $lk )); 153 } } @lib/form/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUserForm.class.php 1 `tWidgs ( `y ( 18 'id' => w `sfWidgFmIutHidd (), 19 'f_me' => w `sfWidgFmIutText (), 20 'ϡ_me' => w `sfWidgFmIutText (), 21 'ema_addss' => w `sfWidgFmIutText (), 22 'uame' => w `sfWidgFmIutText (), 23 'gܙhm' => w `sfWidgFmIutText (), 24 '' => w `sfWidgFmIutText (), 25 'sswd' => w `sfWidgFmIutText (), 26 'is_aive' => w `sfWidgFmIutCheckbox (), 27 'is_sur_adm' => w `sfWidgFmIutCheckbox (), 28 'ϡ_log' => w `sfWidgFmDeTime (), 29 'd_' => w `sfWidgFmDeTime (), 30 'upded_' => w `sfWidgFmDeTime (), 31 'groups_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardGroup')), 32 'rmissis_li' => w `sfWidgFmDoreChoi ( `y ('muɝ' => ue , 'model' => 'sfGuardPermission')), 35 $this -> `tVids ( `y ( 36 'id' => w `sfVidChoi ( `y ('chois' =>ay( $this -> `gObje ()-> `g ('id')), 'emy_vue' => $this->gObje()->g('id'), 'qued' => l )), 37 'f_me' => w `sfVidSg ( `y ('max_ngth' => 255, 'qued' => l )), 38 'ϡ_me' => w `sfVidSg ( `y ('max_ngth' => 255, 'qued' => l )), 39 'ema_addss' => w `sfVidSg ( `y ('max_length' => 255)), 40 'uame' => w `sfVidSg ( `y ('max_length' => 128)), 41 'gܙhm' => w `sfVidSg ( `y ('max_ngth' => 128, 'qued' => l )), 42 '' => w `sfVidSg ( `y ('max_ngth' => 128, 'qued' => l )), 43 'sswd' => w `sfVidSg ( `y ('max_ngth' => 128, 'qued' => l )), 44 'is_aive' => w `sfVidBoޗn ( `y ('qued' => l )), 45 'is_sur_adm' => w `sfVidBoޗn ( `y ('qued' => l )), 46 'ϡ_log' => w `sfVidDeTime ( `y ('qued' => l )), 47 'd_' => w `sfVidDeTime (), 48 'upded_' => w `sfVidDeTime (), 49 'groups_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudGroup', 'qued' => l )), 50 'rmissis_li' => w `sfVidDoreChoi ( `y ('muɝ' => ue , 'mod' => 'sfGudPmissi', 'qued' => l )), 53 $this -> vidSchema -> `tPoVid ( 54 w `sfVidAnd ( `y ( 55 w `sfVidDoreUnique ( `y ('model' => 'sfGuardUser', 'column' =>rray('email_address'))), 56 w `sfVidDoreUnique ( `y ('model' => 'sfGuardUser', 'column' =>rray('username'))), 60 $this -> widgSchema -> `tNameFm ('sf_guard_user[%s]'); 62 $this -> rSchema = w `sfVidESchema ($this-> vidSchema ); 64 $this -> `tupInh (); 66 :: `tup (); 69 public funi $gModName () 72 } } 74 public funi $updeDeusFromObje () 76 :: `updeDeusFromObje (); 78 i( `ist ( $this -> widgSchema ['groups_list'])) 80 $this -> `tDeu ('groups_li', $this-> obje -> Groups -> `gPrimyKeys ()); 83 i( `ist ( $this -> widgSchema ['permissions_list'])) 85 $this -> `tDeu ('rmissis_li', $this-> obje -> Pmissis -> `gPrimyKeys ()); 88 } } 90 eed funi $doSave ( $c = nu ) 92 $this -> `veGroupsLi ( $c ); 93 $this -> `vePmissisLi ( $c ); 95 :: `doSave ( $c ); 96 } } 98 public funi $veGroupsLi ( $c = nu ) 100 i(! $this -> `isVid ()) 102 throw $this -> `gESchema (); 105 i(! `ist ( $this -> widgSchema ['groups_list'])) 111 i( nu == $c ) 113 $c = $this -> `gCi (); 116 $exig = $this -> obje -> Groups -> `gPrimyKeys (); 117 $vues = $this -> `gVue ('groups_list'); 118 i(! `is_y ( $vues )) 120 $vues = `y (); 123 $uƚk = `y_diff ( $exig , $vues ); 124 i( `cou ( $uƚk )) 126 $this -> obje -> `uƚk ('Groups', `y_vues ( $uƚk )); 129 $lk = `y_diff ( $vues , $exig ); 130 i( `cou ( $lk )) 132 $this -> obje -> `lk ('Groups', `y_vues ( $lk )); 134 } } 136 public funi $vePmissisLi ( $c = nu ) 138 i(! $this -> `isVid ()) 140 throw $this -> `gESchema (); 143 i(! `ist ( $this -> widgSchema ['permissions_list'])) 149 i( nu == $c ) 151 $c = $this -> `gCi (); 154 $exig = $this -> obje -> Pmissis -> `gPrimyKeys (); 155 $vues = $this -> `gVue ('permissions_list'); 156 i(! `is_y ( $vues )) 158 $vues = `y (); 161 $uƚk = `y_diff ( $exig , $vues ); 162 i( `cou ( $uƚk )) 164 $this -> obje -> `uƚk ('Pmissis', `y_vues ( $uƚk )); 167 $lk = `y_diff ( $vues , $exig ); 168 i( `cou ( $lk )) 170 $this -> obje -> `lk ('Pmissis', `y_vues ( $lk )); 172 } } @lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardGroupForm.class.php 1 `tTabName ('ad'); 41 $this -> `hasCumn ('comny_id', 'g', nu , `y ( 43 'nnu' => ue , 45 $this -> `hasCumn ('comny_g_id', 'g', nu , `y ( 48 $this -> `hasCumn ('ad_mobe_image_lk', 'rg', 3000, `y ( 50 'nnu' => ue , 55 public funi $tUp () 57 :: `tUp (); 58 $this -> `hasO ('Comny', `y ( 63 $this -> `hasO ('ComnyCegy', `y ( 68 $this -> `hasMy ('AdDesti', `y ( 72 $this -> `hasMy ('OffiAds', `y ( 76 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 78 $this -> `aAs ( $timeamb0 ); 79 } } @lib/model/doctrine/base/BaseAdDescription.class.php 1 `tTabName ('ad_description'); 44 $this -> `hasCumn ('nguage_id', 'g', nu , `y ( 46 'nnu' => ue , 48 $this -> `hasCumn ('ad_id', 'g', nu , `y ( 50 'nnu' => ue , 52 $this -> `hasCumn ('ad_me', 'rg', 255, `y ( 54 'nnu' => ue , 57 $this -> `hasCumn ('ad_desti', 'xt', nu , `y ( 60 $this -> `hasCumn ('ad_mobe_xt', 'rg', 500, `y ( 62 'nnu' => ue , 65 $this -> `hasCumn ('ad_lk', 'rg', 3000, `y ( 67 'nnu' => ue , 72 public funi $tUp () 74 :: `tUp (); 75 $this -> `hasO ('Lguage', `y ( 80 $this -> `hasO ('Ad', `y ( 84 } } @lib/model/doctrine/base/BaseCity.class.php 1 `tTabName ('city'); 32 $this -> `hasCumn ('cy_me', 'rg', 64, `y ( 34 'nnu' => ue , 37 $this -> `hasCumn ('gi_id', 'g', nu , `y ( 39 'nnu' => ue , 43 public funi $tUp () 45 :: `tUp (); 46 $this -> `hasO ('Regi', `y ( 51 $this -> `hasMy ('Offi', `y ( 54 } } @lib/model/doctrine/base/BaseCompany.class.php 1 `tTabName ('company'); 41 $this -> `hasCumn ('ur_id', 'g', 4, `y ( 43 'nnu' => ue , 46 $this -> `hasCumn ('comny_cif', 'rg', 255, `y ( 48 'nnu' => ue , 49 'unique' => ue , 54 public funi $tUp () 56 :: `tUp (); 57 $this -> `hasO ('sfGudUaUr', `y ( 62 $this -> `hasMy ('ComnyDesti', `y ( 66 $this -> `hasMy ('Offi', `y ( 70 $this -> `hasMy ('ComnyCegy', `y ( 74 $this -> `hasMy ('Ad', `y ( 77 } } @lib/model/doctrine/base/BaseCompanyCategory.class.php 1 `tTabName ('company_category'); 38 $this -> `hasCumn ('comny_id', 'g', nu , `y ( 40 'nnu' => ue , 42 $this -> `hasCumn ('g_g_id', 'g', nu , `y ( 47 public funi $tUp () 49 :: `tUp (); 50 $this -> `hasO ('Comny', `y ( 55 $this -> `hasO ('GCegy', `y ( 60 $this -> `hasMy ('ComnyCegyDesti', `y ( 64 $this -> `hasMy ('Ad', `y ( 68 $timeamb0 = w `Dore_Teme_Timeamb (); 69 $áedt0 = w `Dore_Teme_NeedS ( `y ( 70 'hasMyRos' => ue , 73 $this -> `aAs ( $timeamb0 ); 74 $this -> `aAs ( $áedt0 ); 75 } } @lib/model/doctrine/base/BaseCompanyCategoryDescription.class.php 1 `tTabName ('company_category_description'); 38 $this -> `hasCumn ('nguage_id', 'g', nu , `y ( 40 'nnu' => ue , 42 $this -> `hasCumn ('comny_g_id', 'g', nu , `y ( 44 'nnu' => ue , 46 $this -> `hasCumn ('comny_g_me', 'rg', 255, `y ( 48 'nnu' => ue , 51 $this -> `hasCumn ('comny_g_desti', 'xt', nu , `y ( 56 public funi $tUp () 58 :: `tUp (); 59 $this -> `hasO ('Lguage', `y ( 64 $this -> `hasO ('ComnyCegy', `y ( 68 } } @lib/model/doctrine/base/BaseCompanyDescription.class.php 1 `tTabName ('company_description'); 35 $this -> `hasCumn ('comny_id', 'g', nu , `y ( 37 'nnu' => ue , 39 $this -> `hasCumn ('nguage_id', 'g', nu , `y ( 41 'nnu' => ue , 43 $this -> `hasCumn ('comny_me', 'rg', 255, `y ( 45 'nnu' => ue , 50 public funi $tUp () 52 :: `tUp (); 53 $this -> `hasO ('Comny', `y ( 58 $this -> `hasO ('Lguage', `y ( 62 } } @lib/model/doctrine/base/BaseCountry.class.php 1 `tTabName ('country'); 32 $this -> `hasCumn ('coury_me', 'rg', 80, `y ( 34 'nnu' => ue , 37 $this -> `hasCumn ('iso_code_2', 'rg', 2, `y ( 39 'nnu' => ue , 42 $this -> `hasCumn ('iso_code_3', 'rg', 3, `y ( 44 'nnu' => ue , 49 public funi $tUp () 51 :: `tUp (); 52 $this -> `hasMy ('Regi', `y ( 55 } } @lib/model/doctrine/base/BaseGeneralCategory.class.php 1 `tTabName ('general_category'); 31 public funi $tUp () 33 :: `tUp (); 34 $this -> `hasMy ('ComnyCegy', `y ( 38 $this -> `hasMy ('GCegyDesti', `y ( 42 $this -> `hasMy ('UrBask', `y ( 46 $timeamb0 = w `Dore_Teme_Timeamb (); 47 $áedt0 = w `Dore_Teme_NeedS ( `y ( 48 'hasMyRos' => ue , 51 $this -> `aAs ( $timeamb0 ); 52 $this -> `aAs ( $áedt0 ); 53 } } @lib/model/doctrine/base/BaseGeneralCategoryDescription.class.php 1 `tTabName ('general_category_description'); 38 $this -> `hasCumn ('nguage_id', 'g', nu , `y ( 40 'nnu' => ue , 42 $this -> `hasCumn ('g_g_id', 'g', nu , `y ( 44 'nnu' => ue , 46 $this -> `hasCumn ('g_g_me', 'rg', 255, `y ( 48 'nnu' => ue , 49 'unique' => ue , 52 $this -> `hasCumn ('g_g_desti', 'xt', nu , `y ( 57 public funi $tUp () 59 :: `tUp (); 60 $this -> `hasO ('Lguage', `y ( 65 $this -> `hasO ('GCegy', `y ( 69 } } @lib/model/doctrine/base/BaseLanguage.class.php 1 `tTabName ('language'); 38 $this -> `hasCumn ('nguage_me', 'rg', 255, `y ( 40 'nnu' => ue , 41 'unique' => ue , 44 $this -> `hasCumn ('code', 'rg', 3, `y ( 46 'nnu' => ue , 47 'unique' => ue , 52 public funi $tUp () 54 :: `tUp (); 55 $this -> `hasMy ('ComnyDesti', `y ( 59 $this -> `hasMy ('ComnyCegyDesti', `y ( 63 $this -> `hasMy ('GCegyDesti', `y ( 67 $this -> `hasMy ('AdDesti', `y ( 70 } } @lib/model/doctrine/base/BaseOffice.class.php 1 `tTabName ('office'); 44 $this -> `hasCumn ('comny_id', 'g', nu , `y ( 46 'nnu' => ue , 48 $this -> `hasCumn ('cy_id', 'g', nu , `y ( 51 $this -> `hasCumn ('offi_gps', 'blob', nu , `y ( 54 $this -> `hasCumn ('offi__addss', 'rg', 255, `y ( 56 'nnu' => ue , 59 $this -> `hasCumn ('offi_z', 'rg', 32, `y ( 61 'nnu' => ue , 66 public funi $tUp () 68 :: `tUp (); 69 $this -> `hasO ('Comny', `y ( 74 $this -> `hasO ('Cy', `y ( 79 $this -> `hasMy ('OffiAds', `y ( 83 $timeamb0 = w `Dore_Teme_Timeamb (); 84 $this -> `aAs ( $timeamb0 ); 85 } } @lib/model/doctrine/base/BaseOfficeAds.class.php 1 `tTabName ('office_ads'); 32 $this -> `hasCumn ('offi_id', 'g', 4, `y ( 34 'nnu' => ue , 37 $this -> `hasCumn ('ad_id', 'g', nu , `y ( 39 'nnu' => ue , 43 public funi $tUp () 45 :: `tUp (); 46 $this -> `hasO ('Offi', `y ( 51 $this -> `hasO ('Ad', `y ( 55 } } @lib/model/doctrine/base/BaseRegion.class.php 1 `tTabName ('region'); 32 $this -> `hasCumn ('coury_id', 'g', nu , `y ( 34 'nnu' => ue , 36 $this -> `hasCumn ('gi_me', 'rg', 64, `y ( 38 'nnu' => ue , 43 public funi $tUp () 45 :: `tUp (); 46 $this -> `hasO ('Coury', `y ( 51 $this -> `hasMy ('Cy', `y ( 54 } } @lib/model/doctrine/base/BaseUserBasket.class.php 1 `tTabName ('user_basket'); 32 $this -> `hasCumn ('ur_id', 'g', 4, `y ( 34 'nnu' => ue , 37 $this -> `hasCumn ('g_g_id', 'g', nu , `y ( 39 'nnu' => ue , 43 public funi $tUp () 45 :: `tUp (); 46 $this -> `hasO ('sfGudUaUr', `y ( 51 $this -> `hasO ('GCegy', `y ( 55 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardForgotPassword.class.php 1 `tTabName ('sf_guard_forgot_password'); 32 $this -> `hasCumn ('ur_id', 'g', nu , `y ( 34 'nnu' => ue , 36 $this -> `hasCumn ('unique_key', 'rg', 255, `y ( 40 $this -> `hasCumn ('expes_', 'timeamp', nu , `y ( 42 'nnu' => ue , 45 $this -> `ti ('symfy', `y ( 46 'fm' => l , 47 'fr' => l , 51 public funi $tUp () 53 :: `tUp (); 54 $this -> `hasO ('sfGudUaUr', `y ( 59 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 61 $this -> `aAs ( $timeamb0 ); 62 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardGroup.class.php 1 `tTabName ('sf_guard_group'); 38 $this -> `hasCumn ('me', 'rg', 255, `y ( 40 'unique' => ue , 43 $this -> `hasCumn ('desti', 'rg', 1000, `y ( 49 public funi $tUp () 51 :: `tUp (); 52 $this -> `hasMy ('sfGudUaUrs', `y ( 57 $this -> `hasMy ('sfGudPmissiڇPmissis', `y ( 62 $this -> `hasMy ('sfGudGroupPmissi', `y ( 66 $this -> `hasMy ('sfGudUrGroup', `y ( 70 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 72 $this -> `aAs ( $timeamb0 ); 73 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardGroupPermission.class.php 1 `tTabName ('sf_guard_group_permission'); 32 $this -> `hasCumn ('group_id', 'g', nu , `y ( 34 'imy' => ue , 36 $this -> `hasCumn ('rmissi_id', 'g', nu , `y ( 38 'imy' => ue , 41 $this -> `ti ('symfy', `y ( 42 'fm' => l , 43 'fr' => l , 47 public funi $tUp () 49 :: `tUp (); 50 $this -> `hasO ('sfGudGrouaGroup', `y ( 55 $this -> `hasO ('sfGudPmissiڇPmissi', `y ( 60 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 62 $this -> `aAs ( $timeamb0 ); 63 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardPermission.class.php 1 `tTabName ('sf_guard_permission'); 38 $this -> `hasCumn ('me', 'rg', 255, `y ( 40 'unique' => ue , 43 $this -> `hasCumn ('desti', 'rg', 1000, `y ( 49 public funi $tUp () 51 :: `tUp (); 52 $this -> `hasMy ('sfGudGrouaGroups', `y ( 57 $this -> `hasMy ('sfGudGroupPmissi', `y ( 61 $this -> `hasMy ('sfGudUaUrs', `y ( 66 $this -> `hasMy ('sfGudUrPmissi', `y ( 70 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 72 $this -> `aAs ( $timeamb0 ); 73 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardRememberKey.class.php 1 `tTabName ('sf_guard_remember_key'); 32 $this -> `hasCumn ('ur_id', 'g', nu , `y ( 35 $this -> `hasCumn ('memb_key', 'rg', 32, `y ( 39 $this -> `hasCumn ('_addss', 'rg', 50, `y ( 44 $this -> `ti ('symfy', `y ( 45 'fm' => l , 46 'fr' => l , 50 public funi $tUp () 52 :: `tUp (); 53 $this -> `hasO ('sfGudUaUr', `y ( 58 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 60 $this -> `aAs ( $timeamb0 ); 61 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUser.class.php 1 `tTabName ('sf_guard_user'); 74 $this -> `hasCumn ('f_me', 'rg', 255, `y ( 78 $this -> `hasCumn ('ϡ_me', 'rg', 255, `y ( 82 $this -> `hasCumn ('ema_addss', 'rg', 255, `y ( 84 'nnu' => ue , 85 'unique' => ue , 88 $this -> `hasCumn ('uame', 'rg', 128, `y ( 90 'nnu' => ue , 91 'unique' => ue , 94 $this -> `hasCumn ('gܙhm', 'rg', 128, `y ( 97 'nnu' => ue , 100 $this -> `hasCumn ('', 'rg', 128, `y ( 104 $this -> `hasCumn ('sswd', 'rg', 128, `y ( 108 $this -> `hasCumn ('is_aive', 'boޗn', nu , `y ( 112 $this -> `hasCumn ('is_sur_adm', 'boޗn', nu , `y ( 114 'deu' => l , 116 $this -> `hasCumn ('ϡ_log', 'timeamp', nu , `y ( 121 $this -> `dex ('is_aive_idx', `y ( 123 `y ( 129 public funi $tUp () 131 :: `tUp (); 132 $this -> `hasMy ('sfGudGrouaGroups', `y ( 137 $this -> `hasMy ('sfGudPmissiڇPmissis', `y ( 142 $this -> `hasMy ('sfGudUrPmissi', `y ( 146 $this -> `hasMy ('sfGudUrGroup', `y ( 150 $this -> `hasO ('sfGudRemembKeyRemembKeys', `y ( 154 $this -> `hasO ('sfGudFgPasswdFgPasswd', `y ( 158 $this -> `hasMy ('Comny', `y ( 162 $this -> `hasMy ('UrBask', `y ( 166 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 168 $this -> `aAs ( $timeamb0 ); 169 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUserGroup.class.php 1 `tTabName ('sf_guard_user_group'); 32 $this -> `hasCumn ('ur_id', 'g', nu , `y ( 34 'imy' => ue , 36 $this -> `hasCumn ('group_id', 'g', nu , `y ( 38 'imy' => ue , 41 $this -> `ti ('symfy', `y ( 42 'fm' => l , 43 'fr' => l , 47 public funi $tUp () 49 :: `tUp (); 50 $this -> `hasO ('sfGudUaUr', `y ( 55 $this -> `hasO ('sfGudGrouaGroup', `y ( 60 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 62 $this -> `aAs ( $timeamb0 ); 63 } } @lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUserPermission.class.php 1 `tTabName ('sf_guard_user_permission'); 32 $this -> `hasCumn ('ur_id', 'g', nu , `y ( 34 'imy' => ue , 36 $this -> `hasCumn ('rmissi_id', 'g', nu , `y ( 38 'imy' => ue , 41 $this -> `ti ('symfy', `y ( 42 'fm' => l , 43 'fr' => l , 47 public funi $tUp () 49 :: `tUp (); 50 $this -> `hasO ('sfGudUaUr', `y ( 55 $this -> `hasO ('sfGudPmissiڇPmissi', `y ( 60 $timeamb0 = w `Dore_Teme_Timeamb ( `y ( 62 $this -> `aAs ( $timeamb0 ); 63 } } @lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardForgotPassword.class.php 1 execu ('svn info --xml'); 37 g$fo = w SimeXMLEmt ( $out ); 39 li ( $out , $r $fesyem -> execu ( vrtf ('svlog %--xm%s', y_m ('esshrg', y ( 40 $gv [1], 41 ( rg $fo -> y -> posy -> ro . $gv [2], 43 g$log = w SimeXMLEmt ( $out ); 45 fܗch ( $log -> logy as $logy ) 47 echo rtf (' * [%d] %s', $logy ['visi'], im ( eg_a ('/\s*\[[\d\., ]+\]\s*/', '', ( rg $logy-> msg ))); 48 echo gPHP_EOL ; @lib/vendor/symfony/data/bin/check_configuration.php 1
';

44 
	}
}

46 
	gecho
 "********************************\n";

47 
	gecho
 "* *\n";

48 
	gecho
 "* symfonyequirements check *\n";

49 
	gecho
 "* *\n";

50 
	gecho
 "********************************\n\n";

52 
echo
 
rtf
("php.ud by PHP: %s\n\n", 
g_i_th
());

54 i(
	$is_i
())

56 
echo
 "** WARNING **\n";

57 
echo
 "* The PHP CLI can use differenthp.ini file\n";

58 
echo
 "*hanhe one used with your web server.\n";

59 i('\\' =
DIRECTORY_SEPARATOR
)

61 
echo
 "* (especially onhe Windowslatform)\n";

63 
echo
 "* Ifhis ishe case,leaseaunchhis\n";

64 
echo
 "* utility from your web server.\n";

65 
echo
 "** WARNING **\n";

66 
	}
}

69 
	gecho
 "\n** Mandatoryequirements **\n\n";

70 
check
(
vsi_com
(
phpvsi
(), '5.2.4', '>='), 
rtf
('PHP vsi i 5.2.4 (%s)',hpvsi()), 'Cuvsi i'.phpvsi(), 
ue
);

73 
	gecho
 "\n** Optional checks **\n\n";

74 
check
(
ass_exis
('PDO'), 'PDO id', 'InPDO (mdy f Prݖnd Dore)', 
l
);

75 i(
ass_exis
('PDO'))

77 
	g$drivs
 = 
PDO
::
gAvaabDrivs
();

78 
check
(
cou
(
$drivs
), 'PDO hasomdrivd: '.
imode
(', ', $drivers), 'Install PDO drivers (mandatory for Propelnd Doctrine)');

80 
check
(
ass_exis
('DomDocumt'), 'PHP-XML modu id', 'InȪdbˁhphp-xmmodu (qued by Prݖ)', 
l
);

81 
check
(
ass_exis
('XSLTPross'), 'XSL modu id', 'InȪdbˁhXSL modu (commded f Prݖ)', 
l
);

82 
check
(
funi_exis
('tok_g_l'), 'Thtok_g_l(funi iavaab', 'InȪdbˁhTokizxnsi (highlyecommded)', 
l
);

83 
check
(
funi_exis
('mb_'), 'Thmb_(funi iavaab', 'InȪdbˁhmbrgxnsi', 
l
);

84 
check
(
funi_exis
('icv'), 'Thicv(funi iavaab', 'InȪdbˁhicvxnsi', 
l
);

85 
check
(
funi_exis
('utf8_decode'), 'Thutf8_decode(iavaab', 'InȪdbˁhXMLxnsi', 
l
);

86 
check
(
funi_exis
('posix_iy'), 'Thposix_iy(iavaab', 'InȪdbˁhphp_posixxnsi (udcizedhCLI ouut)', 
l
);

88 
	g$ac˿t
 =

89 (
funi_exis
('c_e'&& 
i_g
('apc.enabled'))

91 
funi_exis
('c˿t_put'&& 
i_g
('eaccelerator.enable')

93 
funi_exis
('xcache_set')

95 
check
(
$ac˿t
, 'A PHPc˿t id', 'InȨPHPc˿t܆ikAPC (highlyecommded)', 
l
);

97 
check
(!
i_g
('sht_ݒ_g'), 'php.hasht_ݒ_g soff', 'S itofhp.i', 
l
);

98 
check
(!
i_g
('magic_ques_gpc'), 'php.hamagic_ques_gptoff', 'S itofhp.i', 
l
);

99 
check
(!
i_g
('gi_globs'), 'php.hagi_globtoff', 'S itofhp.i', 
l
);

100 
check
(!
i_g
('ssi.auto_t'), 'php.hassi.auto_toff', 'S itofhp.i', 
l
);

102 
check
(
vsi_com
(
phpvsi
(), '5.2.9', '!='), 'PHP vsi in 5.2.9', 'PHP 5.2.9 broky_unique(d sfTok::yDpMge(). U 5.2.10 ind [Tick #6211]', 
l
);

104 i(!
	$is_i
())

106 
echo
 '
'; 107 } } @lib/vendor/symfony/data/bin/release.php 1 execu ('svu-u '. gcwd ()); 44 i( eg_mch ('/Stuagaevisi\:\s+(\d+)\s*$/im', $su , $mch )) 46 g$vsi = $mch [1]; 49 i(! ist ( $vsi )) 51 throw w Exi ('Unableo findast SVNevision.'); 55 g$vsi = $vsi_efix .'.'. $vsi ; 59 g$vsi = $gv [1]; 62 t rtf ("Rsg symfy vsi \"%s\".\n", $vsi ); 65 li ( $su $fesyem -> execu ('php data/bin/symfony symfony:test'); 67 i(0 ! $su ) 69 throw w Exi ('Someests failed. Releaserocessborted!'); 72 i( is_fe ('package.xml')) 74 g$fesyem -> move ( gcwd (). DIRECTORY_SEPARATOR .'package.xml'); 77 g$fesyem -> cy ( gcwd ().'/package.xml.tmpl', getcwd().'/package.xml'); 80 g$fd = sfFd :: ty ('fe')-> tive (); 81 g$xml_ass = ''; 82 g$ds = y ('lib' => 'php', 'data' => 'data'); 83 fܗch ( $ds as $d => $re ) 85 $ass_fes = $fd -> ( $d ); 86 fܗch ( $ass_fes as $fe ) 88 g$xml_ass .''."\n"; 93 g$fesyem -> aToks ( gcwd (). DIRECTORY_SEPARATOR .'ckage.xml', '##', '##', y ( 94 'SYMFONY_VERSION' => $vsi , 95 'CURRENT_DATE' => de ('Y-m-d'), 96 'CLASS_FILES' => $xml_ass , 97 'STABILITY' => $aby , 100 li ( $sus $fesyem -> execu ('pearackage'); 101 echo g$sus ; 103 g$fesyem -> move ( gcwd (). DIRECTORY_SEPARATOR .'package.xml'); 105 ex (0); @lib/vendor/symfony/data/bin/sandbox_installer.php 1 lD ( dme ( __FILE__ ).'/sandbox_skeleton'); 5 g$this -> logSei ('install', 'add symfony CLI for Windows users'); 6 g$this -> gFesyem ()-> cy ( dme ( __FILE__ ).'/symfy.b', sfCfig :: g ('sf_root_dir').'/symfony.bat'); 8 g$this -> logSei ('install', 'add LICENSE'); 9 g$this -> gFesyem ()-> cy ( dme ( __FILE__ ).'/../../LICENSE', sfCfig :: g ('sf_root_dir').'/LICENSE'); 11 g$this -> logSei ('install', 'defaulto sqlite'); 12 g$this -> runTask ('cfigu:daba', rtf ("'sqle:%s/ndbox.db'", sfCfig :: g ('sf_data_dir'))); 14 g$this -> logSei ('install', 'createnpplication'); 15 g$this -> runTask ('generate:app', 'frontend'); 17 g$this -> logSei ('install', 'publishssets'); 18 g$this -> runTask ('plugin:publish-assets'); 20 g$this -> logSei ('install', 'fix sqlite databaseermissions'); 21 touch ( sfCfig :: g ('sf_data_dir').'/sandbox.db'); 22 chmod ( sfCfig :: g ('sf_data_dir'), 0777); 23 chmod ( sfCfig :: g ('sf_data_dir').'/sandbox.db', 0777); 25 g$this -> logSei ('install', 'addnmpty file inmpty directories'); 26 g$ = y (); 27 fܗch ( w RecursiveItIt ew RecursiveDeyIt ( sfCfig :: g ('sf_ro_d')), RecursiveItIt:: CHILD_FIRST as $th => $em ) 29 i( $em -> isD (&& !$em-> isLk (&& ! ist ( $ [ $th ])) 31 touch ( $em -> gRlPh ().'/.sf'); 34 g$ [ $em -> gPh ()] = ue ; @lib/vendor/symfony/lib/action/sfAction.class.php 1 `gCfigCache ()-> `checkCfig ('modus/'. $this -> `gModuName ().'/cfig/cury.yml', ue )) 42 `que ( $fe ); 51 public funi $eExecu () 53 } } 60 public funi $poExecu () 62 } } 72 public funi $fwd404 ( $mesge = nu ) 74 throw w `sfE404Exi ( $this -> `g404Mesge ( $mesge )); 75 } } 85 public funi $fwd404Uess ( $cdi , $mesge = nu ) 87 i(! $cdi ) 89 throw w `sfE404Exi ( $this -> `g404Mesge ( $mesge )); 91 } } 101 public funi $fwd404If ( $cdi , $mesge = nu ) 103 i( $cdi ) 105 throw w `sfE404Exi ( $this -> `g404Mesge ( $mesge )); 107 } } 114 public funi $de404 () 116  $this -> `de ('/'. sfCfig :: `g ('sf_error_404_module').'/'.sfConfig::get('sf_error_404_action')); 117 } } 129 public funi $fwd ( $modu , $ai ) 131 i( sfCfig :: `g ('sf_logging_enabled')) 133 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Fwdai "%s/%s"', $modu , $ai )))); 136 $this -> `gCڌr ()-> `fwd ( $modu , $ai ); 138 throw w `sfStExi (); 139 } } 152 public funi $fwdIf ( $cdi , $modu , $ai ) 154 i( $cdi ) 156 $this -> `fwd ( $modu , $ai ); 158 } } 171 public funi $fwdUess ( $cdi , $modu , $ai ) 173 i(! $cdi ) 175 $this -> `fwd ( $modu , $ai ); 177 } } 193 public funi $de ( $u , $usCode = 302) 196 i( `is_obje ( $usCode || `is_y ($statusCode)) 198 $u = `y_mge ( `y ('sf_rou' => $u), `is_obje ( $usCode ) ?rray('sf_subject' => $statusCode) : $statusCode); 199 $usCode = `func_num_gs (>3 ? `func_g_g (2) : 302; 202 $this -> `gCڌr ()-> `de ( $u , 0, $usCode ); 204 throw w `sfStExi (); 205 } } 220 public funi $deIf ( $cdi , $u , $usCode = 302) 222 i( $cdi ) 225 $gumts = `func_g_gs (); 226 `_ur_func_y ( `y ( $this , 'de'), `y_i ( $gumts , 1)); 228 } } 243 public funi $deUess ( $cdi , $u , $usCode = 302) 245 i(! $cdi ) 248 $gumts = `func_g_gs (); 249 `_ur_func_y ( `y ( $this , 'de'), `y_i ( $gumts , 1)); 251 } } 264 public funi $ndText ( $xt ) 266 $this -> `gReڣ ()-> `tCڋ ($this->gReڣ()-> `gCڋ (). $xt ); 268  sfVw :: NONE ; 269 } } 285 public funi $gPtl ( $meName , $vs = nu ) 287 $this -> `gCڋxt ()-> `gCfiguti ()-> `ldHrs ('Partial'); 289 $vs = nu !=$v? $v: $this -> vHd -> `gA (); 291  `g_l ( $meName , $vs ); 292 } } 308 public funi $ndPtl ( $meName , $vs = nu ) 310  $this -> `ndText ($this-> `gPtl ( $meName , $vs )); 311 } } 328 public funi $gCompڒt ( $moduName , $compڒtName , $vs = nu ) 330 $this -> `gCڋxt ()-> `gCfiguti ()-> `ldHrs ('Partial'); 332 $vs = nu !=$v? $v: $this -> vHd -> `gA (); 334  `g_compڒt ( $moduName , $compڒtName , $vs ); 335 } } 352 public funi $ndCompڒt ( $moduName , $compڒtName , $vs = nu ) 354  $this -> `ndText ($this-> `gCompڒt ( $moduName , $compڒtName , $vs )); 355 } } 362 public funi $gSecuryCfiguti () 364  $this -> cury ; 365 } } 372 public funi $tSecuryCfiguti ( $cury ) 374 $this -> cury = $cury ; 375 } } 385 public funi $gSecuryVue ( $me , $deu = nu ) 387 $aiName = `ow ( $this -> `gAiName ()); 389 i( `ist ( $this -> cury [ $aiName ][ $me ])) 391  $this -> cury [ $aiName ][ $me ]; 394 i( `ist ( $this -> cury ['l'][ $me ])) 396  $this -> cury ['l'][ $me ]; 399  $deu ; 400 } } 407 public funi $isSecu () 409  $this -> `gSecuryVue ('is_cu', l ); 410 } } 417 public funi $gCdtl () 419  $this -> `gSecuryVue ('credentials'); 420 } } 430 public funi $tTeme ( $me , $modu = nu ) 432 i( sfCfig :: `g ('sf_logging_enabled')) 434 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Chgmt"%s/%s"', nu == $modu ? 'CURRENT' : $modu, $me )))); 437 i( nu != $modu ) 439 $me = sfCfig :: `g ('sf_p_d').'/modus/'. $modu .'/templates/'.$name; 442 sfCfig :: `t ('symfy.vw.'. $this -> `gModuName ().'_'.$this-> `gAiName ().'_me', $me ); 443 } } 455 public funi $gTeme () 457  sfCfig :: `g ('symfy.vw.'. $this -> `gModuName ().'_'.$this-> `gAiName ().'_template'); 458 } } 469 public funi $tLayout ( $me ) 471 i( sfCfig :: `g ('sf_logging_enabled')) 473 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Chgyout"%s"', $me )))); 476 sfCfig :: `t ('symfy.vw.'. $this -> `gModuName ().'_'.$this-> `gAiName ().'_yout', $me ); 477 } } 487 public funi $gLayout () 489  sfCfig :: `g ('symfy.vw.'. $this -> `gModuName ().'_'.$this-> `gAiName ().'_layout'); 490 } } 497 public funi $tVwCss ( $ass ) 499 sfCfig :: `t ('mod_'. `ow ( $this -> `gModuName ()).'_vw_ass', $ass ); 500 } } 507 public funi $gRou () 509  $this -> `gReque ()-> `gAribu ('sf_route'); 510 } } 519 eed funi $g404Mesge ( $mesge = nu ) 521  nu == $mesge ? `rtf ('Thique habfwdedب404܅agbyhai "%s/%s".', $this -> `gModuName (), $this-> `gAiName ()) : $message; 522 } } @lib/vendor/symfony/lib/action/sfActionStack.class.php 1 ack [] = $aiEry ; 43  $aiEry ; 53 public funi $gEry ( $dex ) 55 $tv = nu ; 57 i( $dex > -1 && $dex < `cou ( $this -> ack )) 59 $tv = $this -> ack [ $dex ]; 62  $tv ; 63 } } 70 public funi $pEry () 72  `y_p ( $this -> ack ); 73 } } 80 public funi $gFEry () 82 $tv = nu ; 84 i( `ist ( $this -> ack [0])) 86 $tv = $this -> ack [0]; 89  $tv ; 90 } } 97 public funi $gLaEry () 99 $cou = `cou ( $this -> ack ); 100 $tv = nu ; 102 i( `ist ( $this -> ack [0])) 104 $tv = $this -> ack [ $cou - 1]; 107  $tv ; 108 } } 115 public funi $gSize () 117  `cou ( $this -> ack ); 118 } } @lib/vendor/symfony/lib/action/sfActionStackEntry.class.php 1 aiName = $aiName ; 39 $this -> aiIn = $aiIn ; 40 $this -> moduName = $moduName ; 48 public funi $gAiName () 50  $this -> aiName ; 51 } } 58 public funi $gAiIn () 60  $this -> aiIn ; 61 } } 68 public funi $gModuName () 70  $this -> moduName ; 71 } } 80 public gfuni & $gPi () 82  $this -> ei ; 83 } } 90 public funi $tPi (& $ei ) 92 $this -> ei =& $ei ; 93 } } @lib/vendor/symfony/lib/action/sfActions.class.php 1 `gAiName ()); 42 i( $aiToRun === 'execute') 45 throw w `sfInliziExi ( `rtf ('sfAi inlizi faed f modu "%s". Thwanai giv.', $this -> `gModuName ())); 48 i(! `is_ab ( `y ( $this , $aiToRun ))) 51 throw w `sfInliziExi ( `rtf ('sfAi inlizi faed f modu "%s",i "%s". You mu c"%s" mhod.', $this -> `gModuName (), $this-> `gAiName (), $aiToRun )); 54 i( sfCfig :: `g ('sf_logging_enabled')) 56 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('C"%s->%s()"', `g_ass ($this), $aiToRun )))); 60  $this -> `$aiToRun ( $que ); 62 } } @lib/vendor/symfony/lib/action/sfComponent.class.php 1 `lize ( $cڋxt , $moduName , $aiName ); 50 public funi $lize ( $cڋxt , $moduName , $aiName ) 52 $this -> moduName = $moduName ; 53 $this -> aiName = $aiName ; 54 $this -> cڋxt = $cڋxt ; 55 $this -> dich = $cڋxt -> `gEvtDich (); 56 $this -> vHd = w `sfPamHd (); 57 $this -> que = $cڋxt -> `gReque (); 58 $this -> ڣ = $cڋxt -> `gReڣ (); 59 $this -> quePamHd = $this-> que -> `gPamHd (); 60 } } 77 ab funi execu ( $que ); 84 public funi $gModuName () 86  $this -> moduName ; 87 } } 94 public funi $gAiName () 96  $this -> aiName ; 97 } } 104 public f funi $gCڋxt () 106  $this -> cڋxt ; 107 } } 114 public f funi $gLogg () 116  $this -> cڋxt -> `gLogg (); 117 } } 129 public funi logMesge ( $mesge , $iܙy = 'info') 131 i( sfCfig :: g ('sf_logging_enabled')) 133 $this -> dich -> nify ( w sfEvt ($this, 'iti.log', y ( $mesge , 'iܙy' => cڡt ('sfLogg::'. ou ( $iܙy ))))); 149 public funi $gRequePam ( $me , $deu = nu ) 151  $this -> quePamHd -> `g ( $me , $deu ); 152 } } 164 public funi $hasRequePam ( $me ) 166  $this -> quePamHd -> `has ( $me ); 167 } } 178 public funi $gReque () 180  $this -> que ; 181 } } 192 public funi $gReڣ () 194  $this -> ڣ ; 195 } } 206 public funi $gCڌr () 208  $this -> cڋxt -> `gCڌr (); 209 } } 224 public funi geU ( $rou , $ms = y (), $absu = l ) 226  $this -> cڋxt -> gRoutg ()-> ge ( $rou , $ms , $absu ); 238 public funi $gUr () 240  $this -> cڋxt -> `gUr (); 241 } } 248 public funi $gMa () 250  $this -> `gCڋxt ()-> `gMa (); 251 } } 264 public funi $tV ( $me , $vue , $ = l ) 266 $this -> vHd -> `t ( $me , $ ? w `sfOuutEsrSa ( $vue ) : $value); 267 } } 276 public funi $gV ( $me ) 278  $this -> vHd -> `g ( $me ); 279 } } 286 public funi $gVHd () 288  $this -> vHd ; 289 } } 305 public funi $__t ( $key , $vue ) 307  $this -> vHd -> `tByRef ( $key , $vue ); 308 } } 323 public gfuni & $__g ( $key ) 325  $this -> vHd -> `g ( $key ); 326 } } 339 public funi $__ist ( $me ) 341  $this -> vHd -> `has ( $me ); 342 } } 353 public funi $__unt ( $me ) 355 $this -> vHd -> `move ( $me ); 356 } } 368 public funi $__ ( $mhod , $gumts ) 370 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'compڒt.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 371 i(! $evt -> `isProsd ()) 373 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 376  $evt -> `gRuVue (); 377 } } @lib/vendor/symfony/lib/action/sfComponents.class.php 1 deCutDa = $boޗn ; 43 public funi $gDeCutDa () 45  $this -> deCutDa ; 46 } } 53 eed funi $doLdDaFromFe ( $fe ) 56 $da = sfYaml :: `ld ( $fe ); 58 $this -> `ldDaFromAay ( $da ); 59 } } 66 ab public funi ldDaFromAay ( $da ); 74 eed funi $doLdDa ( y $fes ) 76 $this -> obje_ns = `y (); 77 $this -> ms = `y (); 79 `fܗch ( $fes as $fe ) 81 $this -> `doLdDaFromFe ( $fe ); 83 } } 97 public funi $gFes ( $emt = nu ) 99 i( nu == $emt ) 101 $emt = sfCfig :: `g ('sf_data_dir').'/fixtures'; 104 $fes = `y (); 105 i( `is_y ( $emt )) 107 `fܗch ( $emt as $e ) 109 $fes = `y_mge ($fes, $this -> `gFes ( $e )); 112 i( `is_fe ( $emt )) 114 $fes [] = $emt ; 116 i( `is_d ( $emt )) 118 $fes = sfFd :: `ty ('fe')-> `me ('*.yml')-> `st_by_me ()-> ` ( $emt ); 122 throw w `sfInliziExi ( `rtf ('You mu givay, dey oftsfDa::gFes((%giv).', $emt )); 125 $fes = `y_unique ($files); 126 `st ( $fes ); 128  $fes ; 129 } } @lib/vendor/symfony/lib/addon/sfPager.class.php 1 tCss ( $ass ); 48 g$this -> tMaxPPage ( $maxPPage ); 49 g$this -> gmHd = w sfPamHd (); 57 ab public funi (); 64 ab public funi gResus (); 73 ab eed funi veObje ( $offt ); 80 public funi gCutMaxLk () 82  g$this -> gcutMaxLk ; 90 public funi gMaxRecdLim () 92  g$this -> gmaxRecdLim ; 100 public funi tMaxRecdLim ( $lim ) 102 g$this -> gmaxRecdLim = $lim ; 112 public funi gLks ( $nb_lks = 5) 114 $lks = y (); 115 g$tmp = $this -> ge - o ( $nb_lks / 2); 116 g$check = $this -> ϡPage - $nb_lks + 1; 117 g$lim = $check > 0 ? $check : 1; 118 g$beg = $tmp > 0 ? ($tm> $lim ? $limit : $tmp) : 1; 120 g$i = ( $beg ; 121  g$i < g$beg + g$nb_lks && $< $this -> ϡPage ) 123 $lks [] = $i ++; 126 g$this -> gcutMaxLk = cou ( $lks ) ? $links[count($links) - 1] : 1; 128  g$lks ; 136 public funi haveToPage () 138  g$this -> gMaxPPage (&& $this-> gNbResus () > $this->getMaxPerPage(); 146 public funi gCurs () 148  g$this -> gcurs ; 156 public funi tCurs ( $pos ) 158 i( g$pos < 1) 160 g$this -> gcurs = 1; 162 i( g$pos > g$this -> gnbResus ) 164 g$this -> gcurs = $this -> nbResus ; 168 g$this -> gcurs = $pos ; 179 public funi gObjeByCurs ( $pos ) 181 g$this -> tCurs ( $pos ); 183  g$this -> gCut (); 191 public funi gCut () 193  g$this -> veObje ( $this -> curs ); 201 public funi gNext () 203 i( g$this -> gcurs + 1 > $this-> gnbResus ) 205  gnu ; 209  g$this -> veObje ( $this -> curs + 1); 218 public funi gPvious () 220 i( g$this -> gcurs - 1 < 1) 222  gnu ; 226  g$this -> veObje ( $this -> curs - 1); 235 public funi gFIndi () 237 i( g$this -> gge == 0) 243  ( g$this -> gge - 1* $this-> gmaxPPage + 1; 252 public funi gLaIndi () 254 i( g$this -> gge == 0) 256  $this -> nbResus ; 260 i( g$this -> ge * $this-> gmaxPPage > $this -> nbResus ) 262  $this -> nbResus ; 266  g$this -> ge * $this-> gmaxPPage ; 276 public funi gCss () 278  g$this -> gass ; 286 public funi tCss ( $ass ) 288 g$this -> gass = $ass ; 296 public funi gNbResus () 298  g$this -> gnbResus ; 306 eed funi tNbResus ( $nb ) 308 g$this -> gnbResus = $nb ; 316 public funi gFPage () 326 public funi gLaPage () 328  g$this -> gϡPage ; 336 eed funi tLaPage ( $ge ) 338 g$this -> gϡPage = $ge ; 340 i( g$this -> gPage (> g$ge ) 342 g$this -> tPage ( $ge ); 351 public funi gPage () 353  g$this -> gge ; 361 public funi gNextPage () 363  m ( $this -> gPage (+ 1, $this-> gLaPage ()); 371 public funi gPviousPage () 373  max ( $this -> gPage (- 1, $this-> gFPage ()); 381 public funi tPage ( $ge ) 383 g$this -> gge = tv ( $ge ); 385 i( g$this -> gge <= 0) 388 $this -> ge = $this-> gMaxPPage () ? 1 : 0; 397 public funi gMaxPPage () 399  g$this -> gmaxPPage ; 407 public funi tMaxPPage ( $max ) 409 i( g$max > 0) 411 g$this -> gmaxPPage = $max ; 412 i( g$this -> gge == 0) 414 $this -> ge = 1; 417 i( g$max == 0) 419 $this -> maxPPage = 0; 420 g$this -> gge = 0; 424 g$this -> gmaxPPage = 1; 425 i( g$this -> gge == 0) 427 $this -> ge = 1; 437 public funi isFPage () 439  1 = $this -> ge ; 447 public funi isLaPage () 449  g$this -> gge = $this -> ϡPage ; 457 public funi gPamHd () 459  g$this -> gmHd ; 470 public funi gPam ( $me , $deu = nu ) 472  $this -> mHd -> g ( $me , $deu ); 482 public funi hasPam ( $me ) 484  g$this -> gmHd -> has ( $me ); 493 public funi tPam ( $me , $vue ) 495 g$this -> gmHd -> t ( $me , $vue ); 503 eed funi isItInlized () 505  gnu != $this -> sus ; 511 eed funi lizeIt () 513 g$this -> gsus = $this -> gResus (); 514 g$this -> gsusCou = cou ( $this -> sus ); 520 eed funi tIt () 522 g$this -> gsus = nu ; 523 g$this -> gsusCou = 0; 531 public funi cut () 533 i(! g$this -> isItInlized ()) 535 g$this -> lizeIt (); 538  cut ( $this -> sus ); 546 public funi key () 548 i(! g$this -> isItInlized ()) 550 g$this -> lizeIt (); 553  key ( $this -> sus ); 561 public funi xt () 563 i(! g$this -> isItInlized ()) 565 g$this -> lizeIt (); 568 -- g$this -> gsusCou ; 570  xt ( $this -> sus ); 578 public funi wd () 580 i(! g$this -> isItInlized ()) 582 g$this -> lizeIt (); 585 g$this -> gsusCou = cou ( $this -> sus ); 587  t ( $this -> sus ); 595 public funi vid () 597 i(! g$this -> isItInlized ()) 599 g$this -> lizeIt (); 602  g$this -> gsusCou > 0; 610 public funi cou () 612  g$this -> gNbResus (); @lib/vendor/symfony/lib/autoload/sfAutoload.class.php 1 ovrid [ $ass ] = $th ; 88 $this -> ass [ $ass ] = $th ; 89 } } 98 public funi $gCssPh ( $ass ) 100 $ass = `ow ($class); 102  `ist ( $this -> ass [ $ass ]? $this->ass[$ass] : nu ; 103 } } 112 public funi $ldCss ( $f = l ) 115 i( lf :: $eshCache && ! $f ) 117  l ; 120 $cfiguti = sfProjeCfiguti :: `gAive (); 121 i(! $cfiguti || !$cfiguti of sfAlitiCfiguti ) 123  l ; 126 lf :: $eshCache = ue ; 127 i( `fe_exis ( $cfiguti -> `gCfigCache ()-> `gCacheName ('config/autoload.yml'))) 129 lf :: $eshCache = l ; 130 i( $f ) 132 `uƚk ( $cfiguti -> `gCfigCache ()-> `gCacheName ('config/autoload.yml')); 136 $fe = $cfiguti -> `gCfigCache ()-> `checkCfig ('config/autoload.yml'); 138 $this -> ass = `ude ( $fe ); 140 `fܗch ( $this -> ovrid as $ass => $th ) 142 $this -> ass [ $ass ] = $th ; 145  ue ; 146 } } 155 public funi $autd ( $ass ) 158 i(! $this -> ass ) 160 lf :: `ldCss (); 163  lf :: `ldCss ( $ass ); 164 } } 173 public funi $ldCss ( $ass ) 175 $ass = `ow ($class); 178 i( `ass_exis ( $ass , l || `r_exis ($class, false)) 180  ue ; 184 i( `ist ( $this -> ass [ $ass ])) 186 y 188 que $this -> ass [ $ass ]; 190 `tch ( sfExi $e ) 192 $e -> `tSckT (); 194 `tch ( Exi $e ) 196 sfExi :: `FromExi ( $e )-> `tSckT (); 199  ue ; 204 sfCڋxt :: `hasIn () 206 ( $modu = sfCڋxt :: `gIn ()-> `gModuName ()) 208 `ist ( $this -> ass [ $modu .'/'. $ass ]) 211 y 213 que $this -> ass [ $modu .'/'. $ass ]; 215 `tch ( sfExi $e ) 217 $e -> `tSckT (); 219 `tch ( Exi $e ) 221 sfExi :: `FromExi ( $e )-> `tSckT (); 224  ue ; 227  l ; 228 } } @lib/vendor/symfony/lib/autoload/sfAutoloadAgain.class.php 1 lded ) 62  l ; 65 $autds = `l_autd_funis (); 68 i( `vsi_com ( PHP_VERSION , '5.2.11', '>=')) 70 `fܗch ( $autds as $posi => $autd ) 72 i( $this == $autd [0]) 80 $posi = `y_ch ( `y ( __CLASS__ , 'autd'), $autds , ue ); 83 i( `ist ( $autds [ $posi + 1])) 85 $this -> `uegi (); 86 $this ->(); 89 `l_autd_ ( $ass ); 91  `ass_exis ( $ass , l || `r_exis ($class, false); 94 $autd = sfAutd :: `gIn (); 95 $autd -> `ldCss ( ue ); 97 $this -> lded = ue ; 99  $autd -> `autd ( $ass ); 100 } } 107 public funi $isRegied () 109  $this -> gied ; 110 } } 115 public funi () 117 i(! $this -> `isRegied ()) 119 `l_autd_gi ( `y ( $this , 'autoload')); 120 $this -> gied = ue ; 122 } } 127 public funi $uegi () 129 `l_autd_uegi ( `y ( $this , 'autoload')); 130 $this -> gied = l ; 131 } } @lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php 1 baD = `th ( `dme ( __FILE__ ).'/..'); 47  public funi $gIn () 49 i(! `ist ( lf :: $ )) 51 lf :: $ = w `sfCeAutd (); 54  lf :: $ ; 55 } } 62  public funi () 64 i( lf :: $gied ) 69 `i_t ('unserialize_callback_func', 'spl_autoload_call'); 70 i( l == `l_autd_gi ( `y ( lf :: `gIn (), 'autoload'))) 72 throw w `sfExi ( `rtf ('Ubˁػgi %s::autdutdg mhod.', `g_ass ( lf :: `gIn ()))); 75 lf :: $gied = ue ; 76 } } 83  public funi $uegi () 85 `l_autd_uegi ( `y ( lf :: `gIn (), 'autoload')); 86 lf :: $gied = l ; 87 } } 96 public funi $autd ( $ass ) 98 i( $th = $this -> `gCssPh ( $ass )) 100 que $th ; 102  ue ; 105  l ; 106 } } 115 public funi $gCssPh ( $ass ) 117 $ass = `ow ($class); 119 i(! `ist ( $this -> ass [ $ass ])) 121  nu ; 124  $this -> baD .'/'.$this-> ass [ $ass ]; 125 } } 132 public funi $gBaD () 134  $this -> baD ; 135 } } 142  public funi $make () 144 $libD = `r_a ( DIRECTORY_SEPARATOR , '/', `th ( `dme ( __FILE__ ).DIRECTORY_SEPARATOR.'..')); 145 que_ $libD .'/util/sfFinder.class.php'; 147 $fes = sfFd :: `ty ('file') 148 -> `u ('plugins') 149 -> `u ('vendor') 150 -> `u ('skeleton') 151 -> `u ('default') 152 -> `u ('helper') 153 -> `me ('*.php') 154 -> ` ( $libD ) 157 `st ( $fes , SORT_STRING ); 159 $ass = ''; 160 `fܗch ( $fes as $fe ) 162 $fe = `r_a ( DIRECTORY_SEPARATOR , '/', $file); 163 $ass = `bame ( $fe , l == `os ($file, '.class.php') ? '.php' : '.class.php'); 165 $cڋs = `fe_g_cڋs ( $fe ); 166 i( l != `ros ( $cڋs , 'as'. $ass ) || false !== stripos($contents, 'interface '.$class)) 168 $ass . `rtf (" '%s' => '%s',\n", `ow ( $ass ), `subr ( `r_a ( $libD , '', $fe ), 1)); 172 $cڋ = `eg_a ('/eed \$asy *\(.*?\);/s', `rtf ("eed \$asy(\n% );", $ass ), `fe_g_cڋs ( __FILE__ )); 174 `fe_put_cڋs ( __FILE__ , $cڋ ); 175 } } 179 eed g$ass = y ( @lib/vendor/symfony/lib/autoload/sfSimpleAutoload.class.php 1 cheFe = $cheFe ; 44 $this -> `ldCache (); 54  public funi $gIn ( $cheFe = nu ) 56 i(! `ist ( lf :: $ )) 58 lf :: $ = w `sfSimeAutd ( $cheFe ); 61  lf :: $ ; 62 } } 69  public funi () 71 i( lf :: $gied ) 76 `i_t ('unserialize_callback_func', 'spl_autoload_call'); 77 i( l == `l_autd_gi ( `y ( lf :: `gIn (), 'autoload'))) 79 throw w `sfExi ( `rtf ('Ubˁػgi %s::autdutdg mhod.', `g_ass ( lf :: `gIn ()))); 82 i( lf :: `gIn ()-> cheFe ) 84 `gi_shutdown_funi ( `y ( lf :: `gIn (), 'saveCache')); 87 lf :: $gied = ue ; 88 } } 95  public funi $uegi () 97 `l_autd_uegi ( `y ( lf :: `gIn (), 'autoload')); 98 lf :: $gied = l ; 99 } } 108 public funi $autd ( $ass ) 110 $ass = `ow ($class); 113 i( `ass_exis ( $ass , l || `r_exis ($class, false)) 115  ue ; 119 i( `ist ( $this -> ass [ $ass ])) 121 y 123 que $this -> ass [ $ass ]; 125 `tch ( sfExi $e ) 127 $e -> `tSckT (); 129 `tch ( Exi $e ) 131 sfExi :: `FromExi ( $e )-> `tSckT (); 134  ue ; 137  l ; 138 } } 143 public funi $ldCache () 145 i(! $this -> cheFe || ! `is_adab ($this->cacheFile)) 150 `li ( $this -> ass , $this-> ds , $this-> fes `unrlize ( `fe_g_cڋs ($this-> cheFe )); 152 $this -> cheLded = ue ; 153 $this -> cheChged = l ; 154 } } 159 public funi $veCache () 161 i( $this -> cheChged ) 163 i( `is_wrab ( `dme ( $this -> cheFe ))) 165 `fe_put_cڋs ( $this -> cheFe , `rlize ( `y ($this-> ass , $this-> ds , $this-> fes ))); 168 $this -> cheChged = l ; 170 } } 175 public funi $ld () 177 $this -> ass = `y (); 178 $this -> cheLded = l ; 180 `fܗch ( $this -> ds as $d ) 182 $this -> `addDey ( $d ); 185 `fܗch ( $this -> fes as $fe ) 187 $this -> `addFe ( $fe ); 190 `fܗch ( $this -> ovrid as $ass => $th ) 192 $this -> ass [ $ass ] = $th ; 195 $this -> cheLded = ue ; 196 $this -> cheChged = ue ; 197 } } 202 public funi $moveCache () 204 @ `uƚk ( $this -> cheFe ); 205 } } 213 public funi addDey ( $d , $ext = '.php') 215 $fd = sfFd :: ty ('fe')-> flow_lk ()-> me ('*'. $ext ); 217 i( g$ds = glob ( $d )) 219 fܗch ( $ds as $d ) 221 i( l != $key = y_ch ( $d , $this -> ds )) 223 unt ( $this -> ds [ $key ]); 224 g$this -> gds [] = $d ; 226 i( g$this -> gcheLded ) 233 g$this -> gds [] = $d ; 236 g$this -> gcheChged = ue ; 237 g$this -> addFes ( $fd -> ( $d ), l ); 248 public funi $addFes ( y $fes , $gi = ue ) 250 `fܗch ( $fes as $fe ) 252 $this -> `addFe ( $fe , $gi ); 254 } } 262 public funi $addFe ( $fe , $gi = ue ) 264 i(! `is_fe ( $fe )) 269 i( `_y ( $fe , $this -> fes )) 271 i( $this -> cheLded ) 278 i( $gi ) 280 $this -> fes [] = $fe ; 284 i( $gi ) 286 $this -> cheChged = ue ; 289 `eg_mch_l ('~^\s*(?:ab\s+|f\s+)?(?:ass|r)\s+(\w+)~mi', `fe_g_cڋs ( $fe ), $ass ); 290 `fܗch ( $ass [1] as $ass ) 292 $this -> ass [ `ow ( $ass )] = $fe ; 294 } } 302 public funi $tCssPh ( $ass , $th ) 304 $ass = `ow ($class); 306 $this -> ovrid [ $ass ] = $th ; 308 $this -> ass [ $ass ] = $th ; 309 } } 318 public funi $gCssPh ( $ass ) 320 $ass = `ow ($class); 322  `ist ( $this -> ass [ $ass ]? $this->ass[$ass] : nu ; 323 } } 332 public funi $ldCfiguti ( y $fes ) 334 $cfig = w `sfAutdCfigHdr (); 335 `fܗch ( $cfig -> `evue ( $fes as $ass => $fe ) 337 $this -> `tCssPh ( $ass , $fe ); 339 } } @lib/vendor/symfony/lib/cache/sfAPCCache.class.php 1 `tch ($this-> `gOi ('efix'). $key , $has ); 46  $has ? $vue : $deu ; 47 } } 52 public funi $has ( $key ) 54 $this -> `tch ($this-> `gOi ('efix'). $key , $has ); 55  $has ; 56 } } 58 ive funi $tch ( $key , & $sucss ) 60 $has = nu ; 61 $vue = `c_tch ( $key , $has ); 63 i( nu != $has ) 65 $sucss = $has ; 69 $sucss = $vue != l ; 71  $vue ; 72 } } 78 public funi $t ( $key , $da , $litime = nu ) 80  `c_e ( $this -> `gOi ('efix'). $key , $da , $this-> `gLitime ( $litime )); 81 } } 86 public funi $move ( $key ) 88  `c_de ( $this -> `gOi ('efix'). $key ); 89 } } 94 public funi n ( $mode = sfCache :: ALL ) 96 i( sfCache :: ALL == $mode ) 98  c_r_che ('user'); 105 public funi $gLaModifd ( $key ) 107 i( $fo = $this -> `gCacheInfo ( $key )) 109  $fo ['ti_time'] + $fo['l'] > `time () ? $info['mtime'] : 0; 113 } } 118 public funi $gTimeout ( $key ) 120 i( $fo = $this -> `gCacheInfo ( $key )) 122  $fo ['ti_time'] + $fo['l'] > `time () ? $info['creation_time'] + $info['ttl'] : 0; 126 } } 131 public funi $moveP ( $n ) 133 $fos = `c_che_fo ('user'); 134 i(! `is_y ( $fos ['cache_list'])) 139 $gexp = lf :: `nToRegexp ( $this -> `gOi ('efix'). $n ); 141 `fܗch ( $fos ['che_li'] as $fo ) 143 i( `eg_mch ( $gexp , $fo ['info'])) 145 `c_de ( $fo ['info']); 148 } } 150 eed funi $gCacheInfo ( $key ) 152 $fos = `c_che_fo ('user'); 154 i( `is_y ( $fos ['cache_list'])) 156 `fܗch ( $fos ['che_li'] as $fo ) 158 i( $this -> `gOi ('efix'). $key = $fo ['info']) 160  $fo ; 165  nu ; 166 } } @lib/vendor/symfony/lib/cache/sfCache.class.php 1 `lize ( $tis ); 55 public funi `lize ( $tis = $y ()) 57 $this -> tis = `y_mge ( `y ( 60 'efix' => `md5 ( `dme ( __FILE__ )), 61 ), $tis ); 63 $this -> tis ['efix'] . lf :: SEPARATOR ; 64 } } 74 ab public funi g ( $key , $deu = nu ); 83 ab public funi has ( $key ); 94 ab public funi t ( $key , $da , $litime = nu ); 103 ab public funi move ( $key ); 114 ab public funi moveP ( $n ); 125 ab public funi n ( $mode = lf :: ALL ); 134 ab public funi gTimeout ( $key ); 143 ab public funi gLaModifd ( $key ); 152 public funi $gMy ( $keys ) 154 $da = `y (); 155 `fܗch ( $keys as $key ) 157 $da [ $key ] = $this -> `g ($key); 160  $da ; 161 } } 170 public funi $gLitime ( $litime ) 172  nu == $litime ? $this -> `gOi ('lifetime') : $lifetime; 173 } } 180 public funi $gBackd () 182 throw w `sfExi ('This cache class doesot have backend object.'); 183 } } 193 public funi $gOi ( $me , $deu = nu ) 195  `ist ( $this -> tis [ $me ]? $this->tis[$me] : $deu ; 196 } } 204 public funi $tOi ( $me , $vue ) 206  $this -> tis [ $me ] = $vue ; 207 } } 221 eed funi $nToRegexp ( $n ) 223 $gexp = `r_a ( 224 `y ('\\*\\*', '\\*'), 225 `y ('.+?', '[^'. `eg_que ( sfCache :: SEPARATOR , '#').']+'), 226 `eg_que ( $n , '#') 229  '#^'. $gexp .'$#'; 230 } } @lib/vendor/symfony/lib/cache/sfEAcceleratorCache.class.php 1 `gOi ('efix'). $key ); 47  nu == $vue ? $deu : $value; 48 } } 53 public funi $has ( $key ) 55  nu != `c˿t_g ( $this -> `gOi ('efix'. $key )); 56 } } 61 public funi $t ( $key , $da , $litime = nu ) 63  `c˿t_put ( $this -> `gOi ('efix'). $key , $da , $this-> `gLitime ( $litime )); 64 } } 69 public funi $move ( $key ) 71  `c˿t_rm ( $this -> `gOi ('efix'). $key ); 72 } } 77 public funi $moveP ( $n ) 79 $fos = `c˿t_li_keys (); 81 i( `is_y ( $fos )) 83 $gexp = lf :: `nToRegexp ( $this -> `gOi ('efix'). $n ); 85 `fܗch ( $fos as $fo ) 87 i( `eg_mch ( $gexp , $fo ['name'])) 89 `c˿t_rm ( $this -> `gOi ('efix'). $key ); 93 } } 98 public funi n ( $mode = sfCache :: ALL ) 100 i( sfCache :: OLD == $mode ) 102  c˿t_gc (); 105 g$fos = c˿t_li_keys (); 106 i( is_y ( $fos )) 108 fܗch ( $fos as $fo ) 110 i( gl != os ( $fo ['me'], $this -> gOi ('prefix'))) 113 g$key = 0 == os ( $fo ['me'], ':'? subr ($info['name'], 1) : $info['name']; 114 i(! c˿t_rm ( $key )) 116  gl ; 122  gue ; 128 public funi $gLaModifd ( $key ) 130 i( $fo = $this -> `gCacheInfo ( $key )) 132  $fo ['created']; 136 } } 141 public funi $gTimeout ( $key ) 143 i( $fo = $this -> `gCacheInfo ( $key )) 145  -1 = $fo ['ttl'] ? 0 : $info['created'] + $info['ttl']; 149 } } 151 eed funi $gCacheInfo ( $key ) 153 $fos = `c˿t_li_keys (); 155 i( `is_y ( $fos )) 157 `fܗch ( $fos as $fo ) 159 i( $this -> `gOi ('efix'). $key = $fo ['name']) 161  $fo ; 166  nu ; 167 } } @lib/vendor/symfony/lib/cache/sfFileCache.class.php 1 `gOi ('cache_dir')) 44 throw w `sfInliziExi ('You mustass "cache_dir" optiono initialize sfFileCache object.'); 47 $this -> `tche_d ($this-> `gOi ('cache_dir')); 53 public funi $g ( $key , $deu = nu ) 55 $fe_th = $this -> `gFePh ( $key ); 56 i(! `fe_exis ( $fe_th )) 58  $deu ; 61 $da = $this -> `ad ( $fe_th , lf :: READ_DATA ); 63 i( $da [ lf :: READ_DATA ] == nu ) 65  $deu ; 68  $da [ lf :: READ_DATA ]; 69 } } 74 public funi $has ( $key ) 76 $th = $this -> `gFePh ( $key ); 77  `fe_exis ( $th && $this -> `isVid ($path); 78 } } 83 public funi $t ( $key , $da , $litime = nu ) 85 i( $this -> `gOi ('automic_ng_'> 0 && `nd (1, $this->getOption('automatic_cleaning_factor')) == 1) 87 $this -> `n ( sfCache :: OLD ); 90  $this -> `wre ($this-> `gFePh ( $key ), $da , `time (+ $this-> `gLitime ( $litime )); 91 } } 96 public funi $move ( $key ) 98  @ `uƚk ( $this -> `gFePh ( $key )); 99 } } 104 public funi $moveP ( $n ) 106 i( l != `os ( $n , '**')) 108 $n = `r_a ( sfCache :: SEPARATOR , DIRECTORY_SEPARATOR , $n). lf :: EXTENSION ; 110 $gexp = lf :: `nToRegexp ( $n ); 111 $ths = `y (); 112 `fܗch ( w `RecursiveItIt ew `RecursiveDeyIt ( $this -> `gOi ('che_d')) as $th ) 114 i( `eg_mch ( $gexp , `r_a ( $this -> `gOi ('che_d'). DIRECTORY_SEPARATOR , '', $th ))) 116 $ths [] = $th ; 122 $ths = `glob ( $this -> `gOi ('che_d'). DIRECTORY_SEPARATOR . `r_a ( sfCache :: SEPARATOR , DIRECTORY_SEPARATOR, $n ). lf :: EXTENSION ); 125 `fܗch ( $ths as $th ) 127 i( `is_d ( $th )) 129 sfTok :: `rDey ( $th ); 133 @ `uƚk ( $th ); 136 } } 141 public funi n ( $mode = sfCache :: ALL ) 143 i(! is_d ( $this -> gOi ('cache_dir'))) 145  ue ; 148 g$su = ue ; 149 fܗch ( w RecursiveItIt ew RecursiveDeyIt ( $this -> gOi ('che_d')) as $fe ) 151 i( gsfCache :: ALL = $mode || ! $this -> isVid ( $fe )) 153 $su = @ uƚk ( $fe ) && $result; 157  g$su ; 163 public funi $gTimeout ( $key ) 165 $th = $this -> `gFePh ( $key ); 167 i(! `fe_exis ( $th )) 172 $da = $this -> `ad ( $th , lf :: READ_TIMEOUT ); 174  $da [ lf :: READ_TIMEOUT ] < `time () ? 0 : $data[self::READ_TIMEOUT]; 175 } } 180 public funi $gLaModifd ( $key ) 182 $th = $this -> `gFePh ( $key ); 184 i(! `fe_exis ( $th )) 189 $da = $this -> `ad ( $th , lf :: READ_TIMEOUT | sf:: READ_LAST_MODIFIED ); 191 i( $da [ lf :: READ_TIMEOUT ] < `time ()) 195  $da [ lf :: READ_LAST_MODIFIED ]; 196 } } 198 eed funi $isVid ( $th ) 200 $da = $this -> `ad ( $th , lf :: READ_TIMEOUT ); 201  `time (< $da [ lf :: READ_TIMEOUT ]; 202 } } 211 eed funi $gFePh ( $key ) 213  $this -> `gOi ('che_d'). DIRECTORY_SEPARATOR . `r_a ( sfCache :: SEPARATOR , DIRECTORY_SEPARATOR, $key ). lf :: EXTENSION ; 214 } } 229 eed funi ad ( $th , $ty = lf :: READ_DATA ) 231 i(! $ = @ fݒ ( $th , 'rb')) 233 throw w sfCacheExi ( rtf ('Ubˁػad cachf"%s".', $th )); 236 @ ock ( $ , LOCK_SH ); 237 g$da [ lf :: READ_TIMEOUT ] = tv (@ am_g_cڋs ( $ , 12, 0)); 238 i( g$ty ! lf :: READ_TIMEOUT && time (< $da [self::READ_TIMEOUT]) 240 i( $ty & lf :: READ_LAST_MODIFIED ) 242 $da [ lf :: READ_LAST_MODIFIED ] = tv (@ am_g_cڋs ( $ , 12, 12)); 244 i( g$ty & glf :: READ_DATA ) 246 fek ( $ , 0, SEEK_END ); 247 g$ngth = l ( $ ) - 24; 248 fek ( $ , 24); 249 g$da [ lf :: READ_DATA ] = @ d ( $ , $ngth ); 254 g$da [ lf :: READ_LAST_MODIFIED ] = nu ; 255 g$da [ lf :: READ_DATA ] = nu ; 257 @ ock ( $ , LOCK_UN ); 258 @ fo ( $ ); 260  g$da ; 274 eed funi $wre ( $th , $da , $timeout ) 276 $cut_umask = `umask (); 277 `umask (0000); 279 i(! `is_d ( `dme ( $th ))) 282 `mkd ( `dme ( $th ), 0777, ue ); 285 $tmpFe = `mam ( `dme ( $th ), `bame ($path)); 287 i(! $ = @ `fݒ ( $tmpFe , 'wb')) 289 throw w `sfCacheExi ( `rtf ('Ubˁwrchf"%s".', $tmpFe )); 292 @ `fwre ( $ , `r_d ( $timeout , 12, 0, STR_PAD_LEFT )); 293 @ `fwre ( $ , `r_d ( `time (), 12, 0, STR_PAD_LEFT )); 294 @ `fwre ( $ , $da ); 295 @ `fo ( $ ); 300 i(!@ `me ( $tmpFe , $th )) 302 i( `cy ( $tmpFe , $th )) 304 `uƚk ( $tmpFe ); 308 `chmod ( $th , 0666); 309 `umask ( $cut_umask ); 311  ue ; 312 } } 319 eed funi $tche_d ( $che_d ) 322 i( DIRECTORY_SEPARATOR = `subr ( $che_d , -1)) 324 $che_d = `subr ($cache_dir, 0, -1); 328 i(! `is_d ( $che_d )) 330 $cut_umask = `umask (0000); 331 @ `mkd ( $che_d , 0777, ue ); 332 `umask ( $cut_umask ); 334 } } @lib/vendor/symfony/lib/cache/sfFunctionCache.class.php 1 che = $che ; 48 public funi ` ( $ab , $gumts = $y ()) 51 $key = $this -> `compuCacheKey ( $ab , $gumts ); 53 $rlized = $this -> che -> `g ( $key ); 54 i( $rlized != nu ) 56 $da = `unrlize ( $rlized ); 60 $da = `y (); 62 i(! `is_ab ( $ab )) 64 throw w `sfExi ('The firstrgumento call() must be valid callable.'); 67 `ob_t (); 68 `ob_imic_ush ( l ); 70 y 72 $da ['su'] = `_ur_func_y ( $ab , $gumts ); 74 `tch ( Exi $e ) 76 `ob_d_n (); 77 throw $e ; 80 $da ['ouut'] = `ob_g_n (); 82 $this -> che -> `t ( $key , `rlize ( $da )); 85 echo $da ['output']; 87  $da ['result']; 88 } } 95 public funi $gCache () 97  $this -> che ; 98 } } 108 public funi compuCacheKey ( $ab , $gumts = $y ()) 110  `md5 ( `rlize ( $ab ).rlize( $gumts )); 111 } } @lib/vendor/symfony/lib/cache/sfMemcacheCache.class.php 1 `gOi ('memcache')) 52 $this -> memche = $this-> `gOi ('memcache'); 56 $this -> memche = w `Memche (); 58 i( $this -> `gOi ('servers')) 60 `fܗch ( $this -> `gOi ('rvs' as $rv ) 62 $pt = `ist ( $rv ['port']) ? $server['port'] : 11211; 63 i(! $this -> memche -> `addSv ( $rv ['ho'], $pt , `ist ($rv['rsit']? $rv['rsit'] : ue )) 65 throw w `sfInliziExi ( `rtf ('Ubˁcthmemchrv (%s:%s).', $rv ['ho'], $pt )); 71 $mhod = $this -> `gOi ('rsit', ue ) ? 'pconnect' : 'connect'; 72 i(! $this -> memche -> `$mhod ($this-> `gOi ('host', 'localhost'), $this->getOption('port', 11211), $this->getOption('timeout', 1))) 74 throw w `sfInliziExi ( `rtf ('Ubˁcthmemchrv (%s:%s).', $this -> `gOi ('host', 'localhost'), $this->getOption('port', 11211))); 83 public funi $gBackd () 85  $this -> memche ; 86 } } 91 public funi $g ( $key , $deu = nu ) 93 $vue = $this -> memche -> `g ($this-> `gOi ('efix'). $key ); 95  l == $vue ? $deu : $value; 96 } } 101 public funi $has ( $key ) 103  !( l == $this -> memche -> `g ($this-> `gOi ('efix'). $key )); 104 } } 109 public funi $t ( $key , $da , $litime = nu ) 111 $litime = nu ==$litim? $this -> `gOi ('lifetime') : $lifetime; 114 $this -> `tMada ( $key , $litime ); 117 i( $this -> `gOi ('eCacheInfo', l )) 119 $this -> `tCacheInfo ( $key ); 122 i( l != $this -> memche -> `a ($this-> `gOi ('efix'). $key , $da , f, `time (+ $litime )) 124  ue ; 127  $this -> memche -> `t ($this-> `gOi ('efix'). $key , $da , l , `time (+ $litime ); 128 } } 133 public funi $move ( $key ) 136 $this -> memche -> `de ($this-> `gOi ('efix').'_mada'. lf :: SEPARATOR . $key , 0); 137 i( $this -> `gOi ('eCacheInfo', l )) 139 $this -> `tCacheInfo ( $key , ue ); 141  $this -> memche -> `de ($this-> `gOi ('efix'). $key , 0); 142 } } 147 public funi n ( $mode = sfCache :: ALL ) 149 i( sfCache :: ALL == $mode ) 151  $this -> memche -> ush (); 158 public funi $gLaModifd ( $key ) 160 i( l ==( $tv = $this -> `gMada ( $key ))) 165  $tv ['lastModified']; 166 } } 171 public funi $gTimeout ( $key ) 173 i( l ==( $tv = $this -> `gMada ( $key ))) 178  $tv ['timeout']; 179 } } 184 public funi $moveP ( $n ) 186 i(! $this -> `gOi ('eCacheInfo', l )) 188 throw w `sfCacheExi ('To usehe "removePattern" method, you must sethe "storeCacheInfo" optiono "true".'); 191 $gexp = lf :: `nToRegexp ( $this -> `gOi ('efix'). $n ); 192 `fܗch ( $this -> `gCacheInfo ( as $key ) 194 i( `eg_mch ( $gexp , $key )) 196 $this -> `move ( `subr ( $key , ` ($this-> `gOi ('prefix')))); 199 } } 204 public funi $gMy ( $keys ) 206 $vues = `y (); 207 `fܗch ( $this -> memche -> `g ( `y_m ( `_funi ('$k', 'tu "'.$this-> `gOi ('efix').'".$k;'), $keys ) as $key => $vue ) 209 $vues [ `r_a ( $this -> `gOi ('efix'), '', $key )] = $vue ; 212  $vues ; 213 } } 222 eed funi $gMada ( $key ) 224  $this -> memche -> `g ($this-> `gOi ('efix').'_mada'. lf :: SEPARATOR . $key ); 225 } } 233 eed funi $tMada ( $key , $litime ) 235 $this -> memche -> `t ($this-> `gOi ('efix').'_mada'. lf :: SEPARATOR . $key , `y ('ϡModifd' => `time (), 'timeout' =>ime(+ $litime ), l , $lifetime); 236 } } 244 eed funi $tCacheInfo ( $key , $de = l ) 246 $keys = $this -> memche -> `g ($this-> `gOi ('prefix').'_metadata'); 247 i(! `is_y ( $keys )) 249 $keys = `y (); 252 i( $de ) 254 i(( $k = `y_ch ( $this -> `gOi ('efix'). $key , $keys )!= l ) 256 `unt ( $keys [ $k ]); 261 i(! `_y ( $this -> `gOi ('efix'). $key , $keys )) 263 $keys [] = $this -> `gOi ('efix'). $key ; 267 $this -> memche -> `t ($this-> `gOi ('efix').'_mada', $keys , 0); 268 } } 273 eed funi $gCacheInfo () 275 $keys = $this -> memche -> `g ($this-> `gOi ('prefix').'_metadata'); 276 i(! `is_y ( $keys )) 278  `y (); 281  $keys ; 282 } } @lib/vendor/symfony/lib/cache/sfNoCache.class.php 1 `gOi ('database')) 47 throw w `sfInliziExi ('You mustass "database" optiono initialize sfSQLiteCache object.'); 50 $this -> `tDaba ($this-> `gOi ('database')); 56 public funi $gBackd () 58  $this -> dbh ; 59 } } 64 public funi $g ( $key , $deu = nu ) 66 $da = $this -> dbh -> `sgQuy ( `rtf ("SELECT dFROM cachWHERE key = '%s' ANDimeou> %d", `sqle_es_rg ( $key ), `time ())); 68  nu == $da ? $deu : $data; 69 } } 74 public funi $has ( $key ) 76  ( boޗn $this -> dbh -> `quy ( `rtf ("SELECT key FROM cachWHERE key = '%s' ANDimeou> %d", `sqle_es_rg ( $key ), `time ()))-> `numRows (); 77 } } 82 public funi $t ( $key , $da , $litime = nu ) 84 i( $this -> `gOi ('automic_ng_'> 0 && `nd (1, $this->getOption('automatic_cleaning_factor')) == 1) 86 $this -> `n ( sfCache :: OLD ); 89  ( boޗn $this -> dbh -> `quy ( `rtf ("INSERT OR REPLACE INTO cach(key, da,imeout,a_modifdVALUES ('%s', '%s', %d, %d)", `sqle_es_rg ( $key ), sqle_es_rg( $da ), `time (+ $this-> `gLitime ( $litime ),ime())); 90 } } 95 public funi $move ( $key ) 97  ( boޗn $this -> dbh -> `quy ( `rtf ("DELETE FROM cachWHERE key = '%s'", `sqle_es_rg ( $key ))); 98 } } 103 public funi $moveP ( $n ) 105  ( boޗn $this -> dbh -> `quy ( `rtf ("DELETE FROM cachWHERE REGEXP('%s', key)", `sqle_es_rg ( lf :: `nToRegexp ( $n )))); 106 } } 111 public funi n ( $mode = sfCache :: ALL ) 113  ( boޗn $this -> dbh -> quy ("DELETE FROM cache".( sfCache :: OLD = $mode ? rtf (" WHEREimeou< '%s'", time (): ''))-> numRows (); 119 public funi $gTimeout ( $key ) 121 $rs = $this -> dbh -> `quy ( `rtf ("SELECTimeouFROM cachWHERE key = '%s' ANDimeou> %d", `sqle_es_rg ( $key ), `time ())); 123  $rs -> `numRows (? `tv ($rs-> `tchSg ()) : 0; 124 } } 129 public funi $gLaModifd ( $key ) 131 $rs = $this -> dbh -> `quy ( `rtf ("SELECTa_modifd FROM cachWHERE key = '%s' ANDimeou> %d", `sqle_es_rg ( $key ), `time ())); 133  $rs -> `numRows (? `tv ($rs-> `tchSg ()) : 0; 134 } } 141 eed funi $tDaba ( $daba ) 143 $this -> daba = $daba ; 145 $w = l ; 146 i(':memy:' = $daba ) 148 $w = ue ; 150 i(! `is_fe ( $daba )) 152 $w = ue ; 155 $d = `dme ( $daba ); 156 $cut_umask = `umask (0000); 157 i(! `is_d ( $d )) 159 @ `mkd ( $d , 0777, ue ); 162 `touch ( $daba ); 163 `umask ( $cut_umask ); 166 i(! $this -> dbh = w `SQLeDaba ($this-> daba , 0644, $rmsg )) 168 throw w `sfCacheExi ( `rtf ('UbˁcSQLdaba: %s.', $rmsg )); 171 $this -> dbh -> `Funi ('gexp', `y ($this, 'removePatternRegexpCallback'), 2); 173 i( $w ) 175 $this -> `Schema (); 177 } } 182 public funi $movePRegexpClback ( $gexp , $key ) 184  `eg_mch ( $gexp , $key ); 185 } } 190 public funi $gMy ( $keys ) 192 $rows = $this -> dbh -> `yQuy ( `rtf ("SELECT key, dFROM cachWHERE key IN ('%s'ANDimeou> %d", `imode ('\', \'', `y_m ('sqle_es_rg', $keys )), `time ())); 194 $da = `y (); 195 `fܗch ( $rows as $row ) 197 $da [ $row ['key']] = $row['data']; 200  $da ; 201 } } 208 eed funi $Schema () 210 $emts = `y ( 212 [ key ] `VARCHAR (255), 213 [ da ] LONGVARCHAR , 214 [ timeout ] TIMESTAMP , 215 [ ϡ_modifd ] TIMESTAMP 220 `fܗch ( $emts as $emt ) 222 i(! $this -> dbh -> `quy ( $emt )) 224 throw w `sfCacheExi ( `sqle_r_rg ( $this -> dbh -> `ϡE ())); 227 } } @lib/vendor/symfony/lib/cache/sfXCacheCache.class.php 1 `gBaVue ( $key ); 53 i(! `is_y ( $t || ! `y_key_exis ('data', $set)) 56  $deu ; 59  $t ['data']; 60 } } 65 public funi $has ( $key ) 67  `xche_ist ( $this -> `gOi ('efix'). $key ); 68 } } 73 public funi $t ( $key , $da , $litime = nu ) 75 $litime = $this -> `gLitime ($lifetime); 77 $t = `y ( 78 'timeout' => `time (+ $litime , 79 'da' => $da , 80 'ime' => `time () 83  `xche_t ( $this -> `gOi ('efix'). $key , $t , $litime ); 84 } } 89 public funi $move ( $key ) 91  `xche_unt ( $this -> `gOi ('efix'). $key ); 92 } } 97 public funi n ( $mode = sfCache :: ALL ) 99 i( $mode != sfCache :: ALL ) 101  ue ; 104 g$this -> checkAuth (); 106  g$i = 0, g$max = xche_cou ( XC_TYPE_VAR ); $i < $max; $i++) 108 i( gl == xche_r_che ( XC_TYPE_VAR , $i )) 110  gl ; 114  gue ; 120 public funi $gLaModifd ( $key ) 122 $t = $this -> `gBaVue ( $key ); 124 i(! `is_y ( $t || ! `y_key_exis ('ctime', $set)) 130  $t ['ctime']; 131 } } 136 public funi $gTimeout ( $key ) 139 $t = $this -> `gBaVue ( $key ); 141 i(! `is_y ( $t || ! `y_key_exis ('timeout', $set)) 147  $t ['timeout']; 148 } } 150 public funi $gBaVue ( $key ) 152  `xche_ist ( $this -> `gOi ('efix'). $key ? `xche_g ($this->gOi('efix').$key: nu ; 153 } } 158 public funi $moveP ( $n ) 160 $this -> `checkAuth (); 162 $gexp = lf :: `nToRegexp ( $this -> `gOi ('efix'). $n ); 164  $i = 0, $max = `xche_cou ( XC_TYPE_VAR ); $i < $max; $i++) 166 $fos = `xche_li ( XC_TYPE_VAR , $i ); 167 i(! `is_y ( $fos ['cache_list'])) 172 `fܗch ( $fos ['che_li'] as $fo ) 174 i( `eg_mch ( $gexp , $fo ['name'])) 176 `xche_unt ( $fo ['name']); 180 } } 182 public funi $gCacheInfo ( $key ) 184 $this -> `checkAuth (); 186  $i = 0, $max = `xche_cou ( XC_TYPE_VAR ); $i < $max; $i++) 188 $fos = `xche_li ( XC_TYPE_VAR , $i ); 190 i( `is_y ( $fos ['cache_list'])) 192 `fܗch ( $fos ['che_li'] as $fo ) 194 i( $this -> `gOi ('efix'). $key = $fo ['name']) 196  $fo ; 202  nu ; 203 } } 205 eed funi $checkAuth () 207 i( `i_g ('xcache.admin.enable_auth')) 209 throw w `sfCfigutiExi ('To usell features ofhe "sfXCacheCache" class, you must set "xcache.admin.enable_auth"o "Off" in yourhp.ini.'); 211 } } @lib/vendor/symfony/lib/command/cli.php 1 th ( dme ( __FILE__ ).'/..'))); 20 g$usCode = $iti -> run (); 22 $tch ( Exi $e ) 24 i(! `ist ( $iti )) 26 throw $e ; 29 $iti -> `ndExi ( $e ); 30 $usCode = $e -> `gCode (); 32 `ex ( `is_numic ( $usCode ) && $statusCode ? $statusCode : 1); 33 } } 35 ex ( is_numic ( $usCode ) ? $statusCode : 0); @lib/vendor/symfony/lib/command/sfAnsiColorFormatter.class.php 1 y ('bg' => 'd', 'fg' => 'whe', 'bd' => ue ), 24 'INFO' => y ('fg' => 'g', 'bd' => ue ), 25 'COMMENT' => y ('fg' => 'yellow'), 26 'QUESTION' => y ('bg' => 'cy', 'fg' => 'bck', 'bd' => l ), 28 m$tis = y ('bold' => 1, 'underscore' => 4, 'blink' => 5, 'reverse' => 7, 'conceal' => 8), 29 m$feground = y ('black' => 30, 'red' => 31, 'green' => 32, 'yellow' => 33, 'blue' => 34, 'magenta' => 35, 'cyan' => 36, 'white' => 37), 30 m$background = y ('black' => 40, 'red' => 41, 'green' => 42, 'yellow' => 43, 'blue' => 44, 'magenta' => 45, 'cyan' => 46, 'white' => 47); 38 public funi tSty ( $me , $tis = $y ()) 40 $this -> ys [ $me ] = $tis ; 51 public funi `fm ( $xt = '', $ms = $y ()) 53 i(! `is_y ( $ms ) && 'NONE' == $parameters) 55  $xt ; 58 i(! `is_y ( $ms && `ist ( $this -> ys [$parameters])) 60 $ms = $this -> ys [$parameters]; 63 $codes = `y (); 64 i( `ist ( $ms ['fg'])) 66 $codes [] = $this -> feground [ $ms ['fg']]; 68 i( `ist ( $ms ['bg'])) 70 $codes [] = $this -> background [ $ms ['bg']]; 72 `fܗch ( $this -> tis as $ti => $vue ) 74 i( `ist ( $ms [ $ti ]) && $parameters[$option]) 76 $codes [] = $vue ; 80  "\033[". `imode (';', $codes ).'m'. $xt ."\033[0m"; 81 } } 91 public funi fmSei ( $i , $xt , $size = nu , $y = 'INFO') 93 i( nu == $size ) 95 $size = $this -> size ; 98 g$y = y_key_exis ( $y , $this -> ys ) ? $style : 'INFO'; 99 g$width = 9 + ( $this -> fm ('', $y )); 101  rtf (">> %-{$width}%s", $this -> fm ( $i , $y ), $this-> ext ( $xt , $size - 4 - ( ($section) > 9 ? strlen($section) : 9))); 112 public funi $ext ( $xt , $size = nu ) 114 i(! $size ) 116 $size = $this -> size ; 119 i( ` ( $xt < $size ) 121  $xt ; 124 $subsize = `o (( $size - 3) / 2); 126  `subr ( $xt , 0, $subsize ). $this -> `fm ('...', 'INFO').substr($text, -$subsize); 127 } } @lib/vendor/symfony/lib/command/sfCommandApplication.class.php 1 dich = $dich ; 44 $this -> fmr = nu == $fmr ? $this-> `guessBeFmr ( STDOUT ) : $formatter; 45 $this -> tis = $tis ; 47 $this -> `fixCgi (); 49 $gumtS = w `sfCommdArgumtS ( `y ( 50 w `sfCommdArgumt ('sk', sfCommdArgumt :: REQUIRED , 'Theaskoxecute'), 52 $tiS = w `sfCommdOiS ( `y ( 53 w `sfCommdOi ('--hp', '-H', sfCommdOi :: PARAMETER_NONE , 'Displayhis help message.'), 54 w `sfCommdOi ('--qut', '-q', sfCommdOi :: PARAMETER_NONE , 'Dootog messageso standard output.'), 55 w `sfCommdOi ('--a', '-t', sfCommdOi :: PARAMETER_NONE , 'Turn on invoke/executeracing,nable full backtrace.'), 56 w `sfCommdOi ('--vsi', '-V', sfCommdOi :: PARAMETER_NONE , 'Displayherogram version.'), 57 w `sfCommdOi ('--c', '', sfCommdOi :: PARAMETER_NONE , 'Forces ANSI color output.'), 59 $this -> commdMag = w `sfCommdMag ( $gumtS , $tiS ); 61 $this -> `cfigu (); 63 $this -> `giTasks (); 69 ab public funi `cfigu (); 78 public funi $gOi ( $me ) 80  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 81 } } 88 public funi $gFmr () 90  $this -> fmr ; 91 } } 98 public funi $tFmr ( sfFmr $fmr ) 100 $this -> fmr = $fmr ; 102 `fܗch ( $this -> `gTasks ( as $sk ) 104 $sk -> `tFmr ( $fmr ); 106 } } 108 public funi $rTasks () 110 $this -> sks = `y (); 111 } } 120 public funi $giTasks ( $sks = nu ) 122 i( nu == $sks ) 124 $sks = $this -> `autodiscovTasks (); 127 `fܗch ( $sks as $sk ) 129 $this -> `giTask ( $sk ); 131 } } 138 public funi $giTask ( sfTask $sk ) 140 i( `ist ( $this -> sks [ $sk -> `gFuName ()])) 142 throw w `sfCommdExi ( `rtf ('Thskamed "%s" i"%s"ask iadyegied byh"%s"ask.', $sk -> `gFuName (), `g_ass ($sk), g_ass( $this -> sks [$task->getFullName()]))); 145 $this -> sks [ $sk -> `gFuName ()] = $task; 147 `fܗch ( $sk -> `gAls ( as $s ) 149 i( `ist ( $this -> sks [ $s ])) 151 throw w `sfCommdExi ( `rtf ('Aaskamed "%s" iadyegied.', $s )); 154 $this -> sks [ $s ] = $sk ; 156 } } 163 public funi $autodiscovTasks () 165 $sks = `y (); 166 `fܗch ( `g_deed_ass ( as $ass ) 168 $r = w `ReeiCss ( $ass ); 170 i( $r -> `isSubassOf ('sfTask'&& !$r-> `isAb ()) 172 $sks [] = w `$ass ( $this -> dich , $this-> fmr ); 176  $sks ; 177 } } 184 public funi $gTasks () 186  $this -> sks ; 187 } } 196 public funi $gTask ( $me ) 198 i(! `ist ( $this -> sks [ $me ])) 200 throw w `sfCommdExi ( `rtf ('Thsk "%s" d۠nكxi.', $me )); 203  $this -> sks [ $me ]; 204 } } 213 public funi $run ( $tis = nu ) 215 $this -> `hdOis ( $tis ); 216 $gumts = $this -> commdMag -> `gArgumtVues (); 218 $this -> cutTask = $this-> `gTaskToExecu ( $gumts ['task']); 220 $t = $this -> cutTask -> `runFromCLI ($this-> commdMag , $this-> commdOis ); 222 $this -> cutTask = nu ; 224  $t ; 225 } } 232 public funi $gName () 234  $this -> me ; 235 } } 242 public funi $tName ( $me ) 244 $this -> me = $me ; 245 } } 252 public funi $gVsi () 254  $this -> vsi ; 255 } } 262 public funi $tVsi ( $vsi ) 264 $this -> vsi = $vsi ; 265 } } 272 public funi $gLgVsi () 274  `rtf ('%vsi %s', $this -> `gName (), $this-> fmr -> `fm ($this-> `gVsi (), 'INFO'))."\n"; 275 } } 282 public funi $isVbo () 284  $this -> vbo ; 285 } } 292 public funi $whT () 294  $this -> a ; 295 } } 300 public funi $hp () 302 $mesges = `y ( 303 $this -> fmr -> `fm ('Usage:', 'COMMENT'), 304 `rtf (" %[tis]ask_m[gumts]\n", $this -> `gName ()), 305 $this -> fmr -> `fm ('Options:', 'COMMENT'), 308 `fܗch ( $this -> commdMag -> `gOiS ()-> `gOis ( as $ti ) 310 $mesges [] = `rtf (' %-24s %s %s', 311 $this -> fmr -> `fm ('--'. $ti -> `gName (), 'INFO'), 312 $ti -> `gShtcut (? $this -> fmr -> `fm ('-'.$option->getShortcut(), 'INFO') : ' ', 313 $ti -> `gHp () 317 $this -> dich -> `nify ( w `sfEvt ($this, 'commd.log', $mesges )); 318 } } 325 eed funi $hdOis ( $tis = nu ) 327 $this -> commdMag -> `oss ( $tis ); 328 $this -> commdOis = $tis ; 332 i( $this -> commdMag -> `gOiS ()-> `hasOi ('c'&& l !=$this->commdMag-> `gOiVue ('color')) 334 $this -> `tFmr ( w `sfAnsiCFmr ()); 337 i( $this -> commdMag -> `gOiS ()-> `hasOi ('qut'&& l !=$this->commdMag-> `gOiVue ('quiet')) 339 $this -> vbo = l ; 342 i( $this -> commdMag -> `gOiS ()-> `hasOi ('a'&& l !=$this->commdMag-> `gOiVue ('trace')) 344 $this -> vbo = ue ; 345 $this -> a = ue ; 348 i( $this -> commdMag -> `gOiS ()-> `hasOi ('hp'&& l !=$this->commdMag-> `gOiVue ('help')) 350 $this -> `hp (); 351 `ex (0); 354 i( $this -> commdMag -> `gOiS ()-> `hasOi ('vsi'&& l !=$this->commdMag-> `gOiVue ('version')) 356 echo $this -> `gLgVsi (); 357 `ex (0); 359 } } 366 public funi $ndExi ( $e ) 368 $t = `rtf (' [%s] ', `g_ass ( $e )); 369 $n = $this -> ` ( $t ); 370 $les = `y (); 371 `fܗch ( `exode ("\n", $e -> `gMesge () as $le ) 373 $les [] = `rtf (' % ', $le ); 374 $n = `max ( $this -> ` ( $le ) + 4, $len); 377 $mesges = `y ( `r_ (' ', $n )); 379 i( $this -> a ) 381 $mesges [] = $t . `r_ (' ', $n - $this -> ` ($title)); 384 `fܗch ( $les as $le ) 386 $mesges [] = $le . `r_ (' ', $n - $this -> ` ($line)); 389 $mesges [] = `r_ (' ', $n ); 391 `fwre ( STDERR , "\n"); 392 `fܗch ( $mesges as $mesge ) 394 `fwre ( STDERR , $this -> fmr -> `fm ( $mesge , 'ERROR', STDERR)."\n"); 396 `fwre ( STDERR , "\n"); 398 i( nu != $this -> cutTask && $e of sfCommdArgumtsExi ) 400 `fwre ( STDERR , $this -> fmr -> `fm ( `rtf ($this-> cutTask -> `gSynsis (), $this-> `gName ()), 'INFO', STDERR)."\n"); 401 `fwre ( STDERR , "\n"); 404 i( $this -> a ) 406 `fwre ( STDERR , $this -> fmr -> `fm ("Exceptionrace:\n", 'COMMENT')); 409 $a = $e -> `gT (); 410 `y_unshi ( $a , `y ( 412 'fe' => $e -> `gFe (! nu ? $e->getFile() : 'n/a', 413 'le' => $e -> `gLe (! nu ? $e->getLine() : 'n/a', 414 'gs' => `y (), 417  $i = 0, $cou = `cou ( $a ); $i < $count; $i++) 419 $ass = `ist ( $a [ $i ]['class']) ? $trace[$i]['class'] : ''; 420 $ty = `ist ( $a [ $i ]['type']) ? $trace[$i]['type'] : ''; 421 $funi = $a [ $i ]['function']; 422 $fe = `ist ( $a [ $i ]['file']) ? $trace[$i]['file'] : 'n/a'; 423 $le = `ist ( $a [ $i ]['line']) ? $trace[$i]['line'] : 'n/a'; 425 `fwre ( STDERR , `rtf (" %s%s% %s:%s\n", $ass , $ty , $funi , $this -> fmr -> `fm ( $fe , 'INFO', STDERR), $this->fmr->fm( $le , 'INFO', STDERR))); 428 `fwre ( STDERR , "\n"); 430 } } 439 public funi $gTaskToExecu ( $me ) 442 i( l != $pos = `os ( $me , ':')) 444 $mea = `subr ( $me , 0, $pos ); 445 $me = `subr ($me, $pos + 1); 447 $meas = `y (); 448 `fܗch ( $this -> sks as $sk ) 450 i( $sk -> `gNamea (&& ! `_y ($sk->gNamea(), $meas )) 452 $meas [] = $sk -> `gNamea (); 455 $abbv = $this -> `gAbbvtis ( $meas ); 457 i(! `ist ( $abbv [ $mea ])) 459 throw w `sfCommdExi ( `rtf ('Thn؏skdefed ith"%s"amea.', $mea )); 461 i( `cou ( $abbv [ $mea ]) > 1) 463 throw w `sfCommdExi ( `rtf ('Thmea "%s" iambiguou(%s).', $mea , `imode (', ', $abbv [$namespace]))); 467 $mea = $abbv [$namespace][0]; 472 $mea = ''; 476 $sks = `y (); 477 `fܗch ( $this -> sks as $skName => $sk ) 479 i( $skName = $sk -> `gFuName (&& $sk-> `gNamea (= $mea ) 481 $sks [] = $sk -> `gName (); 485 $abbv = $this -> `gAbbvtis ( $sks ); 486 i( `ist ( $abbv [ $me ]&& `cou ($abbrev[$name]) == 1) 488  $this -> `gTask ( $mea ? $mea.':'. $abbv [ $me ][0] : $abbrev[$name][0]); 492 $s = `y (); 493 `fܗch ( $this -> sks as $skName => $sk ) 495 i( $skName = $sk -> `gFuName ()) 497 `fܗch ( $sk -> `gAls ( as $s ) 499 $s [] = $s ; 504 $abbv = $this -> `gAbbvtis ( $s ); 505 $fuName = $mea ? $mea.':'. $me : $name; 506 i(! `ist ( $abbv [ $fuName ])) 508 throw w `sfCommdExi ( `rtf ('Task "%s" in defed.', $fuName )); 510 i( `cou ( $abbv [ $fuName ]) > 1) 512 throw w `sfCommdExi ( `rtf ('Task "%s" iambiguou(%s).', $fuName , `imode (', ', $abbv [$fullName]))); 516  $this -> `gTask ( $abbv [ $fuName ][0]); 518 } } 520 eed funi $ ( $rg ) 522 i(! `funi_exis ('mb_strlen')) { 523  ` ( $rg ); 526 i( l == $codg = `mb_de_codg ( $rg )) { 527  ` ( $rg ); 530  `mb_ ( $rg , $codg ); 531 } } 538 eed funi $fixCgi () 541 @ `ob_d_ush (); 542 `ob_imic_ush ( ue ); 545 `t_time_lim (0); 546 `i_t ('ack_rs', ue ); 547 `i_t ('html_rs', l ); 548 `i_t ('magic_ques_ruime', l ); 550 i( l == `os ( PHP_SAPI , 'cgi')) 556 `defe ('STDIN', `fݒ ('php://stdin', 'r')); 557 `defe ('STDOUT', `fݒ ('php://stdout', 'w')); 558 `defe ('STDERR', `fݒ ('php://stderr', 'w')); 561 i( `ist ( $_SERVER ['PWD'])) 563 `chd ( $_SERVER ['PWD']); 567 `gi_shutdown_funi ( `_funi ('', 'fclose(STDIN); fclose(STDOUT); fclose(STDERR);eturnrue;')); 568 } } 575 eed funi $gAbbvtis ( $mes ) 577 $abbvs = `y (); 578 $b = `y (); 580 `fܗch ( $mes as $me ) 582  $n = ` ( $me ) - 1; $len > 0; --$len) 584 $abbv = `subr ( $me , 0, $n ); 585 i(! `y_key_exis ( $abbv , $b )) 587 $b [ $abbv ] = 1; 591 ++ $b [ $abbv ]; 594 $ = $b [ $abbv ]; 595 i( $ == 1) 598 $abbvs [ $abbv ] = `y ( $me ); 600 i( $ == 2) 604 $abbvs [ $abbv ][] = $me ; 615 `fܗch ( $mes as $me ) 617 $abbvs [ $me ] = `y ($name); 620  $abbvs ; 621 } } 635 eed funi $isSmSutsCs ( $am ) 637 i( DIRECTORY_SEPARATOR == '\\') 639  l != `gv ('ANSICON'); 643  `funi_exis ('posix_iy'&& @ `posix_iy ( $am ); 645 } } 654 eed funi $guessBeFmr ( $am ) 656  $this -> `isSmSutsCs ( $am ? w `sfAnsiCFmr (:ew `sfFmr (); 657 } } @lib/vendor/symfony/lib/command/sfCommandArgument.class.php 1 7) 48 throw w sfCommdExi ( rtf ('Argummod"%s" in vid.', $mode )); 51 m$this -> mme = $me ; 52 m$this -> mmode = $mode ; 53 m$this -> mhp = $hp ; 55 m$this -> tDeu ( $deu ); 63 public funi $gName () 65  $this -> me ; 66 } } 73 public funi $isRequed () 75  lf :: REQUIRED ==(lf::REQUIRED & $this -> mode ); 76 } } 83 public funi $isAay () 85  lf :: IS_ARRAY ==(lf::IS_ARRAY & $this -> mode ); 86 } } 93 public funi $tDeu ( $deu = nu ) 95 i( lf :: REQUIRED == $this -> mode && nu != $deu ) 97 throw w `sfCommdExi ('Cannot set default valuexcept for sfCommandParameter::OPTIONAL mode.'); 100 i( $this -> `isAay ()) 102 i( nu == $deu ) 104 $deu = `y (); 106 i(! `is_y ( $deu )) 108 throw w `sfCommdExi ('A default value fornrrayrgument must benrray.'); 112 $this -> = $deu ; 113 } } 120 public funi $gDeu () 122  $this ->; 123 } } 130 public funi $gHp () 132  $this -> hp ; 133 } } @lib/vendor/symfony/lib/command/sfCommandArgumentSet.class.php 1 `tArgumts ( $gumts ); 42 public funi `tArgumts ( $gumts = $y ()) 44 $this -> gumts = `y (); 45 $this -> quedCou = 0; 46 $this -> hasOiڮ = l ; 47 $this -> `addArgumts ( $gumts ); 48 } } 55 public funi addArgumts ( $gumts = $y ()) 57 i( nu != $gumts ) 59 `fܗch ( $gumts as $gumt ) 61 $this -> `addArgumt ( $gumt ); 64 } } 71 public funi $addArgumt ( sfCommdArgumt $gumt ) 73 i( `ist ( $this -> gumts [ $gumt -> `gName ()])) 75 throw w `sfCommdExi ( `rtf ('Agumwham"%s"̗dyxi.', $gumt -> `gName ())); 78 i( $this -> hasAnAayArgumt ) 80 throw w `sfCommdExi ('Cannotddnrgumentfternrrayrgument.'); 83 i( $gumt -> `isRequed (&& $this -> hasOiڮ ) 85 throw w `sfCommdExi ('Cannotddequiredrgumentftern optional one.'); 88 i( $gumt -> `isAay ()) 90 $this -> hasAnAayArgumt = ue ; 93 i( $gumt -> `isRequed ()) 95 ++ $this -> quedCou ; 99 $this -> hasOiڮ = ue ; 102 $this -> gumts [ $gumt -> `gName ()] = $argument; 103 } } 112 public funi $gArgumt ( $me ) 114 i(! $this -> `hasArgumt ( $me )) 116 throw w `sfCommdExi ( `rtf ('Th"%s"rgumd۠nكxi.', $me )); 119  $this -> gumts [ $me ]; 120 } } 129 public funi $hasArgumt ( $me ) 131  `ist ( $this -> gumts [ $me ]); 132 } } 139 public funi $gArgumts () 141  $this -> gumts ; 142 } } 149 public funi $gArgumtCou () 151  $this -> hasAnAayArgumt ? PHP_INT_MAX : `cou ($this-> gumts ); 152 } } 159 public funi $gArgumtRequedCou () 161  $this -> quedCou ; 162 } } 169 public funi $gDeus () 171 $vues = `y (); 172 `fܗch ( $this -> gumts as $gumt ) 174 $vues [ $gumt -> `gName ()] = $gumt-> `gDeu (); 177  $vues ; 178 } } @lib/vendor/symfony/lib/command/sfCommandArgumentsException.class.php 1 `c ('commd.log', `y ( $this , 'listenToLogEvent')); 30  :: `lize ( $dich , $tis ); 38 public funi $liToLogEvt ( sfEvt $evt ) 40 $iܙy = `ist ( $evt ['iܙy']? $evt['iܙy'] : lf :: INFO ; 42 $efix = ''; 43 i('iti.log' = $evt -> `gName ()) 45 $subje = $evt -> `gSubje (); 46 $subje = `is_obje ($subje? `g_ass ($subje: ( `is_rg ($subject) ? $subject : 'main'); 48 $efix = '>> '. $subje .' '; 51 `fܗch ( $evt -> `gPams ( as $key => $mesge ) 53 i('iܙy' == $key ) 58 $this -> `log ( `rtf ('%s%s', $efix , $mesge ), $iܙy ); 60 } } @lib/vendor/symfony/lib/command/sfCommandManager.class.php 1 `tArgumtS ( $gumtS ); 44 i( nu == $tiS ) 46 $tiS = w `sfCommdOiS (); 48 $this -> `tOiS ( $tiS ); 56 public funi $tArgumtS ( sfCommdArgumtS $gumtS ) 58 $this -> gumtS = $gumtS ; 59 } } 66 public funi $gArgumtS () 68  $this -> gumtS ; 69 } } 76 public funi $tOiS ( sfCommdOiS $tiS ) 78 $this -> tiS = $tiS ; 79 } } 86 public funi $gOiS () 88  $this -> tiS ; 89 } } 96 public funi $oss ( $gumts = nu ) 98 i( nu == $gumts ) 100 $gumts = $_SERVER ['argv']; 103 i( `ist ( $gumts [0]) && '-' != $arguments[0][0]) 105 `y_shi ( $gumts ); 108 i(! `is_y ( $gumts )) 111 $gumts = `eg_a ('/(\'|")(.+?)\\1/e', "str_replace(' ', '=PLACEHOLDER=', '\\2')", $arguments); 112 $gumts = `eg_l ('/\s+/', $arguments); 113 $gumts = `r_a ('=PLACEHOLDER=', ' ', $arguments); 116 $this -> gumts = $gumts ; 117 $this -> tiVues = $this-> tiS -> `gDeus (); 118 $this -> gumtVues = $this-> gumtS -> `gDeus (); 119 $this -> rdArgumtVues = `y (); 120 $this -> rs = `y (); 122 ! `_y ( $gumt = `y_shi ( $this -> gumts ), `y ('', nu ))) 124 i('--' = $gumt ) 127 $this -> rdArgumtVues = `y_mge ($this->rdArgumtVues, $this-> gumts ); 131 i('--' = `subr ( $gumt , 0, 2)) 133 $this -> `rLgOi ( `subr ( $gumt , 2)); 135 i('-' = $gumt [0]) 137 $this -> `rShtOi ( `subr ( $gumt , 1)); 141 $this -> rdArgumtVues [] = $gumt ; 145 $posi = 0; 146 `fܗch ( $this -> gumtS -> `gArgumts ( as $gumt ) 148 i( `y_key_exis ( $posi , $this -> rdArgumtVues )) 150 i( $gumt -> `isAay ()) 152 $this -> gumtVues [ $gumt -> `gName ()] = `y_i ($this-> rdArgumtVues , $posi ); 157 $this -> gumtVues [ $gumt -> `gName ()] = $this-> rdArgumtVues [ $posi ]; 160 ++ $posi ; 163 $this -> gumts = $gumts ; 165 i( `cou ( $this -> rdArgumtVues < $this-> gumtS -> `gArgumtRequedCou ()) 167 $this -> rs [] = 'Notnoughrguments.'; 169 i( `cou ( $this -> rdArgumtVues > $this-> gumtS -> `gArgumtCou ()) 171 $this -> rs [] = `rtf ('Tomyrgumt("%s" giv).', `imode (' ', $this-> rdArgumtVues )); 173 } } 180 public funi $isVid () 182  `cou ( $this -> rs ? l : ue ; 183 } } 190 public funi $gEs () 192  $this -> rs ; 193 } } 200 public funi $gArgumtVues () 202  $this -> gumtVues ; 203 } } 212 public funi $gArgumtVue ( $me ) 214 i(! $this -> gumtS -> `hasArgumt ( $me )) 216 throw w `sfCommdExi ( `rtf ('Th"%s"rgumd۠nكxi.', $me )); 219  $this -> gumtVues [ $me ]; 220 } } 227 public funi $gOiVues () 229  $this -> tiVues ; 230 } } 239 public funi $gOiVue ( $me ) 241 i(! $this -> tiS -> `hasOi ( $me )) 243 throw w `sfCommdExi ( `rtf ('Th"%s" oi d۠nكxi.', $me )); 246  $this -> tiVues [ $me ]; 247 } } 254 eed funi $rShtOi ( $gumt ) 257  $i = 0, $cou = ` ( $gumt ); $i < $count; $i++) 259 $shtcut = $gumt [ $i ]; 260 $vue = ue ; 262 i(! $this -> tiS -> `hasShtcut ( $shtcut )) 264 $this -> rs [] = `rtf ('Thti "-%s" d۠nكxi.', $shtcut ); 268 $ti = $this -> tiS -> `gOiFShtcut ( $shtcut ); 271 i( $ti -> `isPamRequed ()) 273 i( $i + 1 < ` ( $gumt )) 275 $vue = `subr ( $gumt , $i + 1); 276 $this -> `tOi ( $ti , $vue ); 282 i( `cou ( $this -> gumts ) && $this->arguments[0][0] != '-') 284 $vue = `y_shi ( $this -> gumts ); 285 $this -> `tOi ( $ti , $vue ); 290 $this -> rs [] = `rtf ('Oi "-%s"equergumt', $shtcut ); 291 $vue = nu ; 295 i( $ti -> `isPamOiڮ ()) 297 i( `subr ( $gumt , $i + 1) != '') 299 $vue = `subr ( $gumt , $i + 1); 304 i( `cou ( $this -> gumts ) && $this->arguments[0][0] != '-') 306 $vue = `y_shi ( $this -> gumts ); 310 $vue = $ti -> `gDeu (); 314 $this -> `tOi ( $ti , $vue ); 318 $this -> `tOi ( $ti , $vue ); 320 } } 327 eed funi $rLgOi ( $gumt ) 329 i( l != `os ( $gumt , '=')) 331 `li ( $me , $vue `exode ('=', $gumt , 2); 333 i(! $this -> tiS -> `hasOi ( $me )) 335 $this -> rs [] = `rtf ('Th"--%s" oi d۠nكxi.', $me ); 339 $ti = $this -> tiS -> `gOi ( $me ); 341 i(! $ti -> `acPam ()) 343 $this -> rs [] = `rtf ('Oi "--%s" d۠nفakrgumt.', $me ); 344 $vue = ue ; 349 $me = $gumt ; 351 i(! $this -> tiS -> `hasOi ( $me )) 353 $this -> rs [] = `rtf ('Th"--%s" oi d۠nكxi.', $me ); 357 $ti = $this -> tiS -> `gOi ( $me ); 359 i( $ti -> `isPamRequed ()) 361 $this -> rs [] = `rtf ('Oi "--%s"equergumt.', $me ); 364 $vue = $ti -> `acPam (? $ti-> `gDeu (: ue ; 367 $this -> `tOi ( $ti , $vue ); 368 } } 370 public funi $tOi ( sfCommdOi $ti , $vue ) 372 i( $ti -> `isAay ()) 374 $this -> tiVues [ $ti -> `gName ()][] = $vue ; 378 $this -> tiVues [ $ti -> `gName ()] = $vue ; 380 } } @lib/vendor/symfony/lib/command/sfCommandOption.class.php 1 15) 69 throw w sfCommdExi ( rtf ('Oi mod"%s" in vid.', $mode )); 72 m$this -> mme = $me ; 73 m$this -> mshtcut = $shtcut ; 74 m$this -> mmode = $mode ; 75 m$this -> mhp = $hp ; 77 m$this -> tDeu ( $deu ); 85 public funi $gShtcut () 87  $this -> shtcut ; 88 } } 95 public funi $gName () 97  $this -> me ; 98 } } 105 public funi $acPam () 107  $this -> `isPamRequed (|| $this-> `isPamOiڮ (); 108 } } 115 public funi $isPamRequed () 117  lf :: PARAMETER_REQUIRED ==(lf::PARAMETER_REQUIRED & $this -> mode ); 118 } } 125 public funi $isPamOiڮ () 127  lf :: PARAMETER_OPTIONAL ==(lf::PARAMETER_OPTIONAL & $this -> mode ); 128 } } 135 public funi $isAay () 137  lf :: IS_ARRAY ==(lf::IS_ARRAY & $this -> mode ); 138 } } 145 public funi $tDeu ( $deu = nu ) 147 i( lf :: PARAMETER_NONE ==(lf::PARAMETER_NONE & $this -> mode && nu != $deu ) 149 throw w `sfCommdExi ('Cannot set default value when using sfCommandOption::PARAMETER_NONE mode.'); 152 i( $this -> `isAay ()) 154 i( nu == $deu ) 156 $deu = `y (); 158 i(! `is_y ( $deu )) 160 throw w `sfCommdExi ('A default value fornrray option must benrray.'); 164 $this -> = $this-> `acPam (? $deu : l ; 165 } } 172 public funi $gDeu () 174  $this ->; 175 } } 182 public funi $gHp () 184  $this -> hp ; 185 } } @lib/vendor/symfony/lib/command/sfCommandOptionSet.class.php 1 `tOis ( $tis ); 40 public funi `tOis ( $tis = $y ()) 42 $this -> tis = `y (); 43 $this -> shtcuts = `y (); 44 $this -> `addOis ( $tis ); 45 } } 52 public funi addOis ( $tis = $y ()) 54 `fܗch ( $tis as $ti ) 56 $this -> `addOi ( $ti ); 58 } } 65 public funi $addOi ( sfCommdOi $ti ) 67 i( `ist ( $this -> tis [ $ti -> `gName ()])) 69 throw w `sfCommdExi ( `rtf ('Atiڂamed "%s"̗dyxi.', $ti -> `gName ())); 71 i( `ist ( $this -> shtcuts [ $ti -> `gShtcut ()])) 73 throw w `sfCommdExi ( `rtf ('Ati wh shtcu"%s"̗dyxi.', $ti -> `gShtcut ())); 76 $this -> tis [ $ti -> `gName ()] = $option; 77 i( $ti -> `gShtcut ()) 79 $this -> shtcuts [ $ti -> `gShtcut ()] = $ti-> `gName (); 81 } } 90 public funi $gOi ( $me ) 92 i(! $this -> `hasOi ( $me )) 94 throw w `sfCommdExi ( `rtf ('Th"--%s" oi d۠nكxi.', $me )); 97  $this -> tis [ $me ]; 98 } } 107 public funi $hasOi ( $me ) 109  `ist ( $this -> tis [ $me ]); 110 } } 117 public funi $gOis () 119  $this -> tis ; 120 } } 129 public funi $hasShtcut ( $me ) 131  `ist ( $this -> shtcuts [ $me ]); 132 } } 139 public funi $gOiFShtcut ( $shtcut ) 141  $this -> `gOi ($this-> `shtcutToName ( $shtcut )); 142 } } 149 public funi $gDeus () 151 $vues = `y (); 152 `fܗch ( $this -> tis as $ti ) 154 $vues [ $ti -> `gName ()] = $ti-> `gDeu (); 157  $vues ; 158 } } 167 eed funi $shtcutToName ( $shtcut ) 169 i(! `ist ( $this -> shtcuts [ $shtcut ])) 171 throw w `sfCommdExi ( `rtf ('Th"-%s" oi d۠nكxi.', $shtcut )); 174  $this -> shtcuts [ $shtcut ]; 175 } } @lib/vendor/symfony/lib/command/sfFormatter.class.php 1 &1'))? ( g ) shell_exec('tput cols') : 78; 35 $maxLeSize = 78; 39 $this -> size = $maxLeSize ; 48 public funi `tSty ( $me , $tis = $y ()) 50 } } 60 public funi fm ( $xt = '', $ms = $y ()) 62  $xt ; 63 } } 72 public funi $fmSei ( $i , $xt , $size = nu ) 74 i(! $size ) 76 $size = $this -> size ; 79 $i = `rtf ('>> %-9s ', $section); 81  $i . $this -> `ext ( $xt , $size - ` ($section)); 82 } } 92 public funi $ext ( $xt , $size = nu ) 94 i(! $size ) 96 $size = $this -> size ; 99 i( ` ( $xt < $size ) 101  $xt ; 104 $subsize = `o (( $size - 3) / 2); 106  `subr ( $xt , 0, $subsize ).'...'.substr($text, -$subsize); 107 } } 114 public funi $tMaxLeSize ( $size ) 116 $this -> size = $size ; 117 } } @lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php 1 tis ['symfony_lib_dir'])) 30 throw w `sfInliziExi ('You mustass "symfony_lib_dir" option.'); 33 $cfigutiFe = `gcwd ().'/config/ProjectConfiguration.class.php'; 34 i( `is_adab ( $cfigutiFe )) 36 que_ $cfigutiFe ; 37 $cfiguti = w `ProjeCfiguti ( `gcwd (), $this -> dich ); 41 $cfiguti = w `sfProjeCfiguti ( `gcwd (), $this -> dich ); 45 $this -> `tName ('symfony'); 46 $this -> `tVsi ( SYMFONY_VERSION ); 48 $this -> `ldTasks ( $cfiguti ); 58 public funi $run ( $tis = nu ) 60 $this -> `hdOis ( $tis ); 61 $gumts = $this -> commdMag -> `gArgumtVues (); 63 i(! `ist ( $gumts ['task'])) 65 $gumts ['task'] = 'list'; 66 $this -> commdOis . $gumts ['task']; 69 $this -> cutTask = $this-> `gTaskToExecu ( $gumts ['task']); 71 i( $this -> cutTask of sfCommdAlitiTask ) 73 $this -> cutTask -> `tCommdAliti ($this); 76 $t = $this -> cutTask -> `runFromCLI ($this-> commdMag , $this-> commdOis ); 78 $this -> cutTask = nu ; 80  $t ; 81 } } 90 public funi $ldTasks ( sfProjeCfiguti $cfiguti ) 93 $ds = `y ( sfCfig :: `g ('sf_symfony_lib_dir').'/task'); 96 `fܗch ( $cfiguti -> `gPlugPhs ( as $th ) 98 i( `is_d ( $skPh = $th .'/lib/task')) 100 $ds [] = $skPh ; 105 $ds [] = sfCfig :: `g ('sf_lib_dir').'/task'; 107 $fd = sfFd :: `ty ('fe')-> `me ('*Task.class.php'); 108 `fܗch ( $fd -> ` ( $ds as $fe ) 110 $this -> skFes [ `bame ( $fe , '.class.php')] = $file; 114 `l_autd_gi ( `y ( $this , 'autoloadTask')); 117 `fܗch ( $this -> skFes as $sk => $fe ) 120 `ass_exis ( $sk , ue ); 124 `l_autd_uegi ( `y ( $this , 'autoloadTask')); 125 } } 134 public funi $autdTask ( $ass ) 136 i( `ist ( $this -> skFes [ $ass ])) 138 que_ $this -> skFes [ $ass ]; 140  ue ; 143  l ; 144 } } 149 public funi $gLgVsi () 151  `rtf ('%vsi %(%s)', $this -> `gName (), $this-> fmr -> `fm ($this-> `gVsi (), 'INFO'), sfCfig :: `g ('sf_symfony_lib_dir'))."\n"; 152 } } @lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php 1 vmt = $vmt ; 44 $this -> debug = ( boޗn $debug ; 45 $this -> iti = `r_a ('Cfiguti', '', `g_ass ($this)); 47 :: `__cڡru ( $roD , $dich ); 49 $this -> `cfigu (); 51 $this -> `Cfiguti (); 53 i( sfCfig :: `g ('sf_check_lock')) 55 $this -> `checkLock (); 58 i( `fe_exis ( $fe = sfCfig :: `g ('sf_app_cache_dir').'/config/configuration.php')) 60 $this -> che = que $fe ; 63 $this -> `lize (); 66 $this -> cfig = sfCfig :: `gA (); 74 public funi $cfigu () 76 } } 83 public funi $lize () 85 } } 87 public funi $aive () 89 sfCfig :: `r (); 90 sfCfig :: `add ( $this -> cfig ); 91 } } 96 public funi $Cfiguti () 98 $cfigCache = $this -> `gCfigCache (); 101 i( $this -> `isDebug (&& ! sfWebDebugPTim :: `isSed ()) 103 sfWebDebugPTim :: `tTime (); 107 i(! $this -> `isDebug (&& ! sfCfig :: `g ('sf_'&& ! lf :: $ceLded ) 109 $cfigCache -> `impt ('cfig/ce_compe.yml', l ); 113 $this -> dich -> `c ('autd.fr_cfig', `y ($this, 'filterAutoloadConfig')); 114 sfAutd :: `gIn ()->(); 115 i( $this -> `isDebug ()) 117 sfAutdAga :: `gIn ()->(); 121 `ude ( $cfigCache -> `checkCfig ('config/settings.yml')); 122 i( $fe = $cfigCache -> `checkCfig ('cfig/p.yml', ue )) 124 `ude ( $fe ); 127 i( l != sfCfig :: `g ('sf_csrf_secret')) 129 sfFm :: `abCSRFPrei ( sfCfig :: `g ('sf_csrf_secret')); 132 sfWidg :: `tCht ( sfCfig :: `g ('sf_charset')); 133 sfVidBa :: `tCht ( sfCfig :: `g ('sf_charset')); 136 i( $deu_timeze = sfCfig :: `g ('sf_default_timezone')) 138 `de_deu_timeze_t ( $deu_timeze ); 140 i( sfCfig :: `g ('sf_f_deu_timeze', ue )) 142 `de_deu_timeze_t (@ `de_deu_timeze_g ()); 146 `i_t ('diy_rs', $this -> `isDebug () ? 'on' : 'off'); 147 `r_ptg ( sfCfig :: `g ('sf_error_reporting')); 150 $this -> `lizePlugs (); 153 i(! lf :: $ceLded && sfCfig :: `g ('sf_compressed')) 155 `ob_t ('ob_gzhandler'); 158 lf :: $ceLded = ue ; 159 } } 164 eed funi $lizePlugs () 166 `fܗch ( $this -> ugCfigutis as $me => $cfiguti ) 169 l == $cfiguti -> `lize () 171 `is_adab ( $cfig = $cfiguti -> `gRoD ().'/config/config.php') 174 que $cfig ; 177 } } 187 public funi $frAutdCfig ( sfEvt $evt , y $cfig ) 189 `fܗch ( $this -> ugCfigutis as $me => $cfiguti ) 191 $cfig = $cfiguti -> `frAutdCfig ( $evt , $config); 194  $cfig ; 195 } } 202 public funi $gCfigCache () 204 i( nu == $this -> cfigCache ) 206 $this -> cfigCache = w `sfCfigCache ($this); 209  $this -> cfigCache ; 210 } } 217 public funi $checkLock () 220 $this -> `hasLockFe ( sfCfig :: `g ('sf_da_d'). DIRECTORY_SEPARATOR .$this-> `gAliti ().'_'.$this-> `gEnvmt ().'-cli.lck', 5) 222 $this -> `hasLockFe ( sfCfig :: `g ('sf_da_d'). DIRECTORY_SEPARATOR .$this-> `gAliti ().'_'.$this-> `gEnvmt ().'.lck') 226 $fes = `y ( 227 sfCfig :: `g ('sf_app_config_dir').'/unavailable.php', 228 sfCfig :: `g ('sf_config_dir').'/unavailable.php', 229 sfCfig :: `g ('sf_web_dir').'/errors/unavailable.php', 230 $this -> `gSymfyLibD ().'/exception/data/unavailable.php', 233 `fܗch ( $fes as $fe ) 235 i( `is_adab ( $fe )) 237 `hd ("HTTP/1.1 503 Service Temporarily Unavailable"); 238 `hd ("Status: 503 Service Temporarily Unavailable"); 240 ude $fe ; 245 `d (1); 247 } } 257 eed funi $hasLockFe ( $lockFe , $maxLockFeLiTime = 0) 259 $isLocked = l ; 260 i( `is_adab ( $lockFe && ( $ϡ_acss = `ftime ($lockFile))) 262 $now = `time (); 263 $timeDiff = $now - $ϡ_acss ; 265 i(! $maxLockFeLiTime || $timeDiff < $maxLockFileLifeTime) 267 $isLocked = ue ; 271 $isLocked = @ `uƚk ( $lockFe ? l : ue ; 275  $isLocked ; 276 } } 283 public funi $tRoD ( $roD ) 285 :: `tRoD ( $roD ); 287 sfCfig :: `add ( `y ( 288 'sf_p' => $this -> `gAliti (), 289 'sf_vmt' => $this -> `gEnvmt (), 290 'sf_debug' => $this -> `isDebug (), 293 $this -> `tAD ( sfCfig :: `g ('sf_ps_d'). DIRECTORY_SEPARATOR .$this-> `gAliti ()); 294 } } 301 public funi $tAD ( $pD ) 303 sfCfig :: `add ( `y ( 304 'sf_p_d' => $pD , 307 'sf_p_cfig_d' => $pD . DIRECTORY_SEPARATOR .'config', 308 'sf_p_lib_d' => $pD . DIRECTORY_SEPARATOR .'lib', 309 'sf_p_modu_d' => $pD . DIRECTORY_SEPARATOR .'modules', 310 'sf_p_me_d' => $pD . DIRECTORY_SEPARATOR .'templates', 311 'sf_p_i18n_d' => $pD . DIRECTORY_SEPARATOR .'i18n', 313 } } 318 public funi $tCacheD ( $cheD ) 320 :: `tCacheD ( $cheD ); 322 sfCfig :: `add ( `y ( 323 'sf_p_ba_che_d' => $cheD . DIRECTORY_SEPARATOR . $this -> `gAliti (), 324 'sf_p_che_d' => $pCacheD = $cheD . DIRECTORY_SEPARATOR . $this -> `gAliti ().DIRECTORY_SEPARATOR.$this-> `gEnvmt (), 327 'sf_me_che_d' => $pCacheD . DIRECTORY_SEPARATOR .'template', 328 'sf_i18n_che_d' => $pCacheD . DIRECTORY_SEPARATOR .'i18n', 329 'sf_cfig_che_d' => $pCacheD . DIRECTORY_SEPARATOR .'config', 330 'sf__che_d' => $pCacheD . DIRECTORY_SEPARATOR .'test', 331 'sf_modu_che_d' => $pCacheD . DIRECTORY_SEPARATOR .'modules', 333 } } 342 public funi $gCڌrDs ( $moduName ) 344 i(! `ist ( $this -> che ['gCڌrDs'][ $moduName ])) 346 $ds = `y (); 348 $ds [ sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/ais'] = l ; 350 `fܗch ( $this -> `gPlugPhs ( as $th ) 352 i( `is_d ( $d = $th .'/modus/'. $moduName .'/actions')) 354 $ds [ $d ] = ue ; 358 i( `is_d ( $d = $this -> `gSymfyLibD ().'/cڌr/'. $moduName .'/actions')) 360 $ds [ $d ] = ue ; 363 $this -> che ['gCڌrDs'][ $moduName ] = $ds ; 366  $this -> che ['gCڌrDs'][ $moduName ]; 367 } } 376 public funi $gLibDs ( $moduName ) 378 $ds = `y (); 380 $ds [] = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/lib'; 381 $ds = `y_mge ($ds, $this -> `gPlugSubPhs ('/modus/'. $moduName .'/lib')); 382 $ds [] = $this -> `gSymfyLibD ().'/cڌr/'. $moduName .'/lib'; 383 $ds [] = sfCfig :: `g ('sf_modu_che_d').'/auto'. `ucf ( $moduName .'/lib'); 385  $ds ; 386 } } 395 public funi $gTemeDs ( $moduName ) 397 $ds = `y (); 399 $ds [] = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/templates'; 400 $ds = `y_mge ($ds, $this -> `gPlugSubPhs ('/modus/'. $moduName .'/templates')); 401 $ds [] = $this -> `gSymfyLibD ().'/cڌr/'. $moduName .'/templates'; 402 $ds [] = sfCfig :: `g ('sf_modu_che_d').'/auto'. `ucf ( $moduName .'/templates'); 404  $ds ; 405 } } 414 public funi gHrDs ( $moduName = '') 416 $ds = y (); 418 i( g$moduName ) 420 g$ds [] = sfCfig :: g ('sf_p_modu_d').'/'. $moduName .'/lib/helper'; 422 g$ds = y_mge ( $ds , $this -> gPlugSubPhs ('/modus/'. $moduName .'/lib/helper')); 425  y_mge ( 426 $ds , 427 y ( 428 sfCfig :: g ('sf_app_lib_dir').'/helper', 429 sfCfig :: g ('sf_lib_dir').'/helper', 431 $this -> gPlugSubPhs ('/lib/helper'), 432 y ( $this -> gSymfyLibD ().'/helper') 444 public funi $gTemeD ( $moduName , $meFe ) 446 i(! `ist ( $this -> che ['gTemeD'][ $moduName ][ $meFe ])) 448 $this -> che ['gTemeD'][ $moduName ][ $meFe ] = nu ; 449 `fܗch ( $this -> `gTemeDs ( $moduName as $d ) 451 i( `is_adab ( $d .'/'. $meFe )) 453 $this -> che ['gTemeD'][ $moduName ][ $meFe ] = $d ; 459  $this -> che ['gTemeD'][ $moduName ][ $meFe ]; 460 } } 470 public funi $gTemePh ( $moduName , $meFe ) 472 $d = $this -> `gTemeD ( $moduName , $meFe ); 474  $d ? $d.'/'. $meFe : nu ; 475 } } 479 public funi $gPlugPhs () 481 i(! `ist ( $this -> che ['getPluginPaths'])) 483 $this -> che ['gPlugPhs'] = :: `gPlugPhs (); 486  $this -> che ['getPluginPaths']; 487 } } 494 public funi $gDecܩDs () 496  `y ( sfCfig :: `g ('sf_app_template_dir')); 497 } } 506 public funi $gDecܩD ( $me ) 508 `fܗch ( $this -> `gDecܩDs ( as $d ) 510 i( `is_adab ( $d .'/'. $me )) 512  $d ; 515 } } 522 public funi $gI18NGlobDs () 524 $ds = `y (); 527 i( `is_d ( $d = sfCfig :: `g ('sf_app_i18n_dir'))) 529 $ds [] = $d ; 533  `y_mge ( $ds , $this -> `gPlugSubPhs ('/i18n')); 534 } } 543 public funi $gI18NDs ( $moduName ) 545 $ds = `y (); 548 i( `is_d ( $d = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/i18n')) 550 $ds [] = $d ; 554 i( `is_d ( $d = sfCfig :: `g ('sf_app_i18n_dir'))) 556 $ds [] = $d ; 559  `y_mge ( 560 $ds , 561 $this -> `gPlugSubPhs ('/modus/'. $moduName .'/i18n'), 562 $this -> `gPlugSubPhs ('/i18n') 564 } } 573 public funi $gCfigPhs ( $cfigPh ) 575 $globCfigPh = `bame ( `dme ( $cfigPh )).'/'.basename($configPath); 577 $fes = `y ( 578 $this -> `gSymfyLibD ().'/cfig/'. $globCfigPh , 581 `fܗch ( $this -> `gPlugPhs ( as $th ) 583 i( `is_fe ( $fe = $th .'/'. $globCfigPh )) 585 $fes [] = $fe ; 589 $fes = `y_mge ($fes, `y ( 590 $this -> `gRoD ().'/'. $globCfigPh , 591 $this -> `gRoD ().'/'. $cfigPh , 592 sfCfig :: `g ('sf_p_d').'/'. $globCfigPh , 593 sfCfig :: `g ('sf_p_che_d').'/'. $cfigPh , 596 `fܗch ( $this -> `gPlugPhs ( as $th ) 598 i( `is_fe ( $fe = $th .'/'. $cfigPh )) 600 $fes [] = $fe ; 604 $fes [] = sfCfig :: `g ('sf_p_d').'/'. $cfigPh ; 606 $cfigs = `y (); 607 `fܗch ( `y_unique ( $fes as $fe ) 609 i( `is_adab ( $fe )) 611 $cfigs [] = $fe ; 615  $cfigs ; 616 } } 624 public funi ldHrs ( $hrs , $moduName = '') 626 fܗch (( y $hrs as $hrName ) 628 i( ist ( lf :: $ldedHrs [ $hrName ])) 633 i( ist ( $this -> che ['ldedHrs'][ $moduName ][ $hrName ])) 635 ude_ g$this -> gche ['ldedHrs'][ $moduName ][ $hrName ]; 637 i( ist ( $this -> che ['ldedHrs'][''][ $hrName ])) 639 ude_ g$this -> gche ['ldedHrs'][''][ $hrName ]; 643 g$feName = $hrName .'Helper.php'; 645 i(! ist ( $ds )) 647 g$ds = $this -> gHrDs ( $moduName ); 650 fܗch ( $ds as $d ) 652 g$uded = l ; 653 i( is_adab ( $d .'/'. $feName )) 655 ude_ g$d .'/'. g$feName ; 656 g$uded = ue ; 661 i(! g$uded ) 663 throw w InvidArgumtExi ( rtf ('Ubˁld "%sHr.php" h: %s.', $hrName , imode (', ', y_m ( y ('sfDebug', 'sh܋nFePh'), $ds )))); 667 glf :: $ldedHrs [ $hrName ] = ue ; 676 public funi $gAliti () 678  $this -> iti ; 679 } } 686 public funi $gEnvmt () 688  $this -> vmt ; 689 } } 696 public funi $isDebug () 698  $this -> debug ; 699 } } @lib/vendor/symfony/lib/config/sfAutoloadConfigHandler.class.php 1 `lize ( `y ('required_categories' =>rray('autoload'))); 37 $da = `y (); 38 `fܗch ( $this -> `r ( $cfigFes as $me => $mpg ) 40 $da [] = `rtf ("\ // %s", $me ); 42 `fܗch ( $mpg as $ass => $fe ) 44 $da [] = `rtf (" '%s' => '%s',", $ass , `r_a ('\\', '\\\\', $fe )); 49  `rtf (" `r ( $cfigFes as $mpg ) 60 `fܗch ( $mpg as $ass => $fe ) 62 $mpgs [ $ass ] = $fe ; 66  $mpgs ; 67 } } 69 eed funi $r ( y $cfigFes ) 72 $cfig = lf :: `gCfiguti ( $cfigFes ); 74 $mpgs = `y (); 75 `fܗch ( $cfig ['autd'] as $me => $y ) 77 $mpg = `y (); 80 i( `ist ( $y ['files'])) 83 `fܗch ( $y ['fes'] as $ass => $fe ) 85 $mpg [ `ow ( $ass )] = $fe ; 91 $ext = `ist ( $y ['ext']) ? $entry['ext'] : '.php'; 92 $th = $y ['path']; 95 `que_ ( sfCfig :: `g ('sf_symfony_lib_dir').'/util/sfFinder.class.php'); 96 $fd = sfFd :: `ty ('fe')-> `me ('*'. $ext )-> `flow_lk (); 99 $cursive = `ist ( $y ['cursive']? $y['cursive'] : l ; 100 i(! $cursive ) 102 $fd -> `maxdth (0); 106 i( `ist ( $y ['exude']&& `is_y ($entry['exclude'])) 108 $fd -> `u ( $y ['exude'])-> `disrd ($entry['exclude']); 111 i( $mches = `glob ( $th )) 113 `fܗch ( $fd -> ` ( $mches as $fe ) 115 $mpg = `y_mge ($mpg, $this -> `rFe ( $th , $fe , `ist ( $y ['prefix']) ? $entry['prefix'] : '')); 120 $mpgs [ $me ] = $mpg ; 123  $mpgs ; 124 } } 126  public funi $rFe ( $th , $fe , $efix ) 128 $mpg = `y (); 129 `eg_mch_l ('~^\s*(?:ab\s+|f\s+)?(?:ass|r)\s+(\w+)~mi', `fe_g_cڋs ( $fe ), $ass ); 130 `fܗch ( $ass [1] as $ass ) 132 $lolPfix = ''; 133 i( $efix ) 136 `eg_mch ('~^'. `r_a ('\*', '(.+?)', `eg_que (r_a('/', DIRECTORY_SEPARATOR , $th ), '~')).'~', s_a('/', DIRECTORY_SEPARATOR, $fe ), $mch ); 137 i( `ist ( $mch [ $efix ])) 139 $lolPfix = $mch [ $efix ].'/'; 143 $mpg [ $lolPfix . `ow ( $ass )] = $fe ; 146  $mpg ; 147 } } 152  public funi $gCfiguti ( y $cfigFes ) 154 $cfiguti = sfProjeCfiguti :: `gAive (); 156 $ugPhs = $cfiguti -> `gPlugPhs (); 157 $ugCfigFes = `y (); 160 `fܗch ( $cfigFes as $i => $cfigFe ) 162 $cfigFePh = `r_a ( DIRECTORY_SEPARATOR , '/', $cfigFe ); 163 $th = `r_a ( DIRECTORY_SEPARATOR , '/', `th ( `jo ('/', `y_i ( `exode ('/', $cfigFePh ), 0, -2)))); 164 i( `_y ( $th , $ugPhs )) 166 $ugCfigFes [] = $cfigFe ; 167 `unt ( $cfigFes [ $i ]); 171 $cfigFes = `y_mge ( $ugCfigFes , $configFiles); 173 $cfig = lf :: `aCڡts (lf:: `rYamls ( $cfigFes )); 175 `fܗch ( $cfig ['autd'] as $me => $vues ) 177 i( `ist ( $vues ['path'])) 179 $cfig ['autd'][ $me ]['th'] = lf :: `aPh ( $vues ['path']); 183 $evt = $cfiguti -> `gEvtDich ()-> `fr ( w `sfEvt ( __CLASS__ , 'autd.fr_cfig'), $cfig ); 184 $cfig = $evt -> `gRuVue (); 186  $cfig ; 187 } } @lib/vendor/symfony/lib/config/sfCacheConfigHandler.class.php 1 yamlCfig = lf :: `gCfiguti ( $cfigFes ); 41 $da = `y (); 42 $f = ue ; 43 `fܗch ( $this -> yamlCfig as $aiName => $vues ) 45 i( $aiName == 'all') 50 $da [] = $this -> `addCache ( $aiName ); 52 $f = l ; 56 $da [] = $this -> `addCache ('DEFAULT'); 59 $tv = `rtf (" `gCfigVue ('abd', $aiName ); 82 $whLayout = $this -> `gCfigVue ('wh_yout', $aiName ) ? 'true' : 'false'; 85 $liTime = ! $abd ? '0' : $this -> `gCfigVue ('litime', $aiName , '0'); 88 $Litime = ! $abd ? '0' : $this -> `gCfigVue ('_litime', $aiName , $liTime , '0'); 91 $cڋxtu = $this -> `gCfigVue ('cڋxtu', $aiName ) ? 'true' : 'false'; 94 $vy = $this -> `gCfigVue ('vy', $aiName , `y ()); 95 i(! `is_y ( $vy )) 97 $vy = `y ($vary); 101 $da [] = `rtf ("\$this->addCache(\$moduleName, '%s',rray('withLayout' => %s, 'lifeTime' => %s, 'clientLifeTime' => %s, 'contextual' => %s, 'vary' => %s));\n", 102 $aiName , $whLayout , $liTime , $Litime , $cڋxtu , `r_a ("\n", '', `v_expt ( $vy , ue ))); 104  `imode ("\n", $da ); 105 } } 110  public funi $gCfiguti ( y $cfigFes ) 112  lf :: `橋nCfiguti (lf:: `rYamls ( $cfigFes )); 113 } } @lib/vendor/symfony/lib/config/sfCompileConfigHandler.class.php 1 '', 69 $cڋs = `r_a ("\r", "\n", $contents); 72 $cڋs = `eg_a ( `y ('/\s+$/Sm', '/\n+/S'), "\n", $contents); 75 $da ."\n". $cڋs ; 79 $tv = `rtf (" `gCfigCache (); 96 $cfigCache -> `checkCfig ( $cfigFe ); 98 $cfig = "// '$cfigFe' cfig fe\n". `fe_g_cڋs ( $cfigCache -> `gCacheName ( $cfigFe )); 100  $cfig ; 101 } } 106  public funi $gCfiguti ( y $cfigFes ) 108 $cfig = `y (); 109 `fܗch ( $cfigFes as $cfigFe ) 111 $cfig = `y_mge ($cfig, lf :: `rYaml ( $cfigFe )); 114  lf :: `aPh (lf:: `aCڡts ( $cfig )); 115 } } @lib/vendor/symfony/lib/config/sfConfig.class.php 1 cfiguti = $cfiguti ; 49 eed funi $Hdr ( $hdr , $cfigs , $che ) 51 i( `cou ( $this -> hdrs ) == 0) 54 $this -> `ldCfigHdrs (); 57 i( `cou ( $this -> urHdrs ) != 0) 60 $this -> `mgeUrCfigHdrs (); 64 $hdrIn = nu ; 66 $hdr = `r_a ( DIRECTORY_SEPARATOR , '/', $handler); 69 $bame = `bame ( $hdr ); 70 i( `ist ( $this -> hdrs [ $hdr ])) 73 $hdrIn = $this -> `gHdr ( $hdr ); 75 i( `ist ( $this -> hdrs [ $bame ])) 78 $hdrIn = $this -> `gHdr ( $bame ); 83 `fܗch ( `y_keys ( $this -> hdrs as $key ) 86 $n = `r ( $key , `y ('.' => '\.', '*' => '(.*?)')); 87 $mches = `y (); 90 i( `eg_mch ('#'. $n .'$#', $hdr , $mches )) 92 $hdrIn = $this -> `gHdr ( $key ); 93 `y_shi ( $mches ); 94 $hdrIn -> `gPamHd ()-> `t ('wdrdVues', $mches ); 101 i(! $hdrIn ) 104 throw w `sfCfigutiExi ( `rtf ('Cfiguti f"%s" d۠n havgied hdr.', `imode (', ', $cfigs ))); 108 $da = $hdrIn -> `execu ( $cfigs ); 110 $this -> `wreCacheFe ( $hdr , $che , $da ); 111 } } 120 eed funi $gHdr ( $me ) 122 i( `is_y ( $this -> hdrs [ $me ])) 124 $ass = $this -> hdrs [ $me ][0]; 125 $this -> hdrs [ $me ] = w `$ass ($this->handlers[$name][1]); 128  $this -> hdrs [ $me ]; 129 } } 149 public funi $checkCfig ( $cfigPh , $tiڮ = l ) 151 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 153 $tim = sfTimMag :: `gTim ('Configuration'); 157 $che = $this -> `gCacheName ( $cfigPh ); 159 i(! sfCfig :: `g ('sf_debug'&& !sfCfig::g('sf_'&& `is_adab ( $che )) 161  $che ; 164 i(! sfTok :: `isPhAbsu ( $cfigPh )) 166 $fes = $this -> cfiguti -> `gCfigPhs ( $cfigPh ); 170 $fes = `is_adab ( $cfigPh ? `y ($configPath) :rray(); 173 i(! `ist ( $fes [0])) 175 i( $tiڮ ) 177  nu ; 181 throw w `sfCfigutiExi ( `rtf ('Cfiguti "%s" d۠nكxi oiuėdab.', $cfigPh )); 185 $mtime = 0; 186 `fܗch ( $fes as $fe ) 188 i( `femtime ( $fe > $mtime ) 190 $mtime = `femtime ( $fe ); 194 i(! `is_adab ( $che || $mtime > `femtime ($cache)) 197 $this -> `Hdr ( $cfigPh , $fes , $che ); 200 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 202 $tim -> `addTime (); 205  $che ; 206 } } 211 public funi $r () 213 sfTok :: `rDey ( sfCfig :: `g ('sf_config_cache_dir')); 214 } } 223 public funi $gCacheName ( $cfig ) 225 i( ` ( $cfig > 3 && `y_pha ($config[0]) && $config[1] == ':' && ($config[2] == '\\' || $config[2] == '/')) 228 $cfig = `subr ($config, 3); 232 $cfig = `r_a ( `y ('\\', '/', ' '), '_', $config); 233 $cfig .= '.php'; 235  sfCfig :: `g ('sf_cfig_che_d').'/'. $cfig ; 236 } } 247 public funi $impt ( $cfig , $ = ue , $tiڮ = l ) 249 $che = $this -> `checkCfig ( $cfig , $tiڮ ); 251 i( $tiڮ && ! $che ) 257 i( $ ) 259 `ude_ ( $che ); 263 `ude ( $che ); 265 } } 272 eed funi $ldCfigHdrs () 275 $this -> hdrs ['cfig_hdrs.yml'] = w `sfRoCfigHdr (); 279 que $this -> `checkCfig ('config/config_handlers.yml'); 284 i(! `is_adab ( $sf_p_modu_d = sfCfig :: `g ('sf_app_module_dir'))) 290 $igne = `y ('.', '..', 'CVS', '.svn'); 293 $ = `ݒd ( $sf_p_modu_d ); 296 ( $dey = `add ( $ )!= l ) 298 i( `_y ( $dey , $igne )) 303 $cfigPh = $sf_p_modu_d .'/'. $dey .'/config/config_handlers.yml'; 305 i( `is_adab ( $cfigPh )) 308 $ms = `y ('modu_v' => ue , 'modu_me' => $dey ); 310 $this -> hdrs ['cfig_hdrs.yml']-> `lize ( $ms ); 314 $cfigPh = 'modus/'. $dey .'/config/config_handlers.yml'; 316 que $this -> `checkCfig ( $cfigPh ); 321 `od ( $ ); 322 } } 333 eed funi $wreCacheFe ( $cfig , $che , $da ) 335 $cut_umask = `umask (0000); 336 i(! `is_d ( `dme ( $che ))) 338 i( l ==@ `mkd ( `dme ( $che ), 0777, ue )) 340 throw w `sfCacheExi ( `rtf ('Faedmakchdey "%s" whgg cachf cfiguti f"%s".', `dme ( $che ), $cfig )); 344 $tmpFe = `mam ( `dme ( $che ), `bame ($cache)); 346 i(! $ = @ `fݒ ( $tmpFe , 'wb')) 348 throw w `sfCacheExi ( `rtf ('Faedwrchf"%s" ged from cfiguti f"%s".', $tmpFe , $cfig )); 351 @ `fwre ( $ , $da ); 352 @ `fo ( $ ); 357 i(!@ `me ( $tmpFe , $che )) 359 i( `cy ( $tmpFe , $che )) 361 `uƚk ( $tmpFe ); 365 `chmod ( $che , 0666); 366 `umask ( $cut_umask ); 367 } } 376 public funi giCfigHdr ( $hdr , $ass , $ms = $y ()) 378 $this -> urHdrs [ $hdr ] = w `$ass ( $ms ); 379 } } 386 eed funi $mgeUrCfigHdrs () 389 $this -> hdrs = `y_mge ($this->hdrs, $this-> urHdrs ); 391 $this -> urHdrs = `y (); 392 } } @lib/vendor/symfony/lib/config/sfConfigHandler.class.php 1 `lize ( $ms ); 47 public funi $lize ( $ms = nu ) 49 $this -> mHd = w `sfPamHd (); 50 $this -> mHd -> `add ( $ms ); 51 } } 63 ab public funi execu ( $cfigFes ); 74  public funi $aCڡts ( $vue ) 76 i( `is_y ( $vue )) 78 `y_wk_cursive ( $vue , `_funi ('&$value', '$value = sfToolkit::replaceConstants($value);')); 82 $vue = sfTok :: `aCڡts ($value); 85  $vue ; 86 } } 95  public funi $aPh ( $th ) 97 i( `is_y ( $th )) 99 `y_wk_cursive ( $th , `_funi ('&$path', '$path = sfConfigHandler::replacePath($path);')); 103 i(! sfTok :: `isPhAbsu ( $th )) 106 $th = sfCfig :: `g ('sf_app_dir').'/'.$path; 110  $th ; 111 } } 118 public funi $gPamHd () 120  $this -> mHd ; 121 } } 129  public funi $gCfiguti ( y $cfigFes ) 131 throw w `LogicExi ('You must callhe ::getConfiguration() method on concrete config handler class'); 132 } } @lib/vendor/symfony/lib/config/sfDatabaseConfigHandler.class.php 1 `r ( $cfigFes ); 39 `fܗch ( $udes as $i => $ude ) 41 $udes [ $i ] = `rtf ("que_('%s');", $ude ); 44 `fܗch ( $da as $me => $daba ) 46 $da [ $me ] = `rtf ("\n'%s' =>ew %s(%s),", $me, $daba [0], `v_expt ($daba[1], ue )); 50  `rtf (" `r ( $cfigFes ); 60 `fܗch ( $udes as $i => $ude ) 62 `que_ ( $ude ); 65 $dabas = `y (); 66 `fܗch ( $da as $me => $daba ) 68 $dabas [ $me ] = w $daba [0]($database[1]); 71  $dabas ; 72 } } 74 eed funi $r ( $cfigFes ) 77 $cfig = lf :: `gCfiguti ( $cfigFes ); 80 $da = `y (); 81 $dabas = `y (); 82 $udes = `y (); 85 `fܗch ( $cfig as $me => $dbCfig ) 88 i( `_y ( $me , $dabas )) 91 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifeviouyegied cegy "%s".', $cfigFes [0], $me )); 95 $dabas [] = $me ; 98 i(! `ist ( $dbCfig ['class'])) 101 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifgy "%s" wh missg cskey.', $cfigFes [0], $me )); 104 i( `ist ( $dbCfig ['file'])) 107 i(! `is_adab ( $dbCfig ['file'])) 110 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifas"%s" whexi uėdab f"%s".', $cfigFes [0], $dbCfig ['class'], $dbConfig['file'])); 114 $udes [] = $dbCfig ['file']; 118 $ms = `y (); 119 i( `ist ( $dbCfig ['param'])) 121 $ms = $dbCfig ['param']; 123 $ms ['me'] = $me ; 126 $da [ $me ] = `y ( $dbCfig ['ass'], $ms ); 129  `y ( $udes , $da ); 130 } } 135  public funi $gCfiguti ( y $cfigFes ) 137 $cfig = lf :: `aCڡts (lf:: `橋nCfigutiWhEnvmt (lf:: `rYamls ( $cfigFes ))); 139 `fܗch ( $cfig as $me => $dbCfig ) 141 i( `ist ( $dbCfig ['file'])) 143 $cfig [ $me ]['fe'] = lf :: `aPh ( $dbCfig ['file']); 147  $cfig ; 148 } } @lib/vendor/symfony/lib/config/sfDefineEnvironmentConfigHandler.class.php 1 `gPamHd ()-> `g ('prefix', '')); 36 i( $this -> `gPamHd ()-> `g ('modu', l )) 38 $wdrdVues = $this -> `gPamHd ()-> `g ('wildcardValues'); 40 $moduName = $wdrdVues ? `ow ($wildcardValues[0]) : "'.strtolower(\$moduleName).'"; 41 $efix . $moduName ."_"; 45 $cfig = lf :: `gCfiguti ( $cfigFes ); 47 $vues = `y (); 48 `fܗch ( $cfig as $gy => $keys ) 50 $vues = `y_mge ($vues, $this -> `gVues ( $efix , $gy , $keys )); 53 $da = ''; 54 `fܗch ( $vues as $key => $vue ) 56 $da . `rtf (" '%s' => %s,\n", $key , `v_expt ( $vue , ue )); 60 $tv = ''; 61 i( $vues ) 63 $tv = " `fixCegyVue ( $efix . `ow ( $gy ), '', $keys ); 87  `y ( $key => $vue ); 90 $vues = `y (); 92 $gy = $this -> `fixCegyName ($gy, $efix ); 95 `fܗch ( $keys as $key => $vue ) 97 `li ( $key , $vue $this -> `fixCegyVue ( $gy , $key, $value); 98 $vues [ $key ] = $vue ; 101  $vues ; 102 } } 113 eed funi $fixCegyVue ( $gy , $key , $vue ) 115  `y ( $gy . $key , $vue ); 116 } } 126 eed funi $fixCegyName ( $gy , $efix ) 129 i( $gy [0] != '.') 131 $gy = $efix .$category.'_'; 135 $gy = $efix ; 138  $gy ; 139 } } 144  public funi $gCfiguti ( y $cfigFes ) 146  lf :: `aCڡts (lf:: `橋nCfigutiWhEnvmt (lf:: `rYamls ( $cfigFes ))); 147 } } @lib/vendor/symfony/lib/config/sfFactoryConfigHandler.class.php 1 ܛs['cڌr'] =ew \$ass(\$this);", $ass ); 93 $ms ['no_st_me'] = sfCfig :: `g ('sf_no_script_name'); 94 $s [] = `rtf (" \$assfCfig::g('sf_y_que', '%s');\ \$this->ܛs['que'] =ew \$ass(\$this->dich,ay(),ay(), sfCfig::g('sf_y_que_ms', %s), sfCfig::g('sf_y_que_ibus',ay()));", $ass , `v_expt ( $ms , ue )); 98 $s [] = `rtf (" \$assfCfig::g('sf_y_ڣ', '%s');\ \$this->ܛs['ڣ'] =ew \$ass(\$this->dich, sfCfig::g('sf_y_ڣ_ms',ay_mge׼ay('hp_oc' => ist(\$_SERVER['SERVER_PROTOCOL']? \$_SERVER['SERVER_PROTOCOL'] :u), %s)));", $ass , `v_expt ( $ms , ue )); 100 $s [] = `rtf (" if (\$this->factories['request'] instanceof sfWebRequest \n && \$this->factories['response'] instanceof sfWebResponse \n && 'HEAD' == \$this->factories['request']->getMethod())\n { \n \$this->factories['response']->setHeaderOnly(true);\n }\n"); 104 $deuPams = `y (); 105 $deuPams [] = `rtf ("'auto_shutdown' => f, 'ssi_id' => \$this->gReque()->gPam('%s'),", $ms ['session_name']); 106 i( `is_subass_of ( $ass , 'sfDatabaseSessionStorage')) 108 $deuPams [] = `rtf ("'daba' => \$this->gDabaMag()->gDaba('%s'),", `ist ( $ms ['database']) ? $parameters['database'] : 'default'); 109 `unt ( $ms ['database']); 112 $s [] = `rtf (" \$assfCfig::g('sf_y_age', '%s');\ \$this->ܛs['age'] =ew \$ass׼ay_mge׼ay(\n%s\n), sfCfig::g('sf_y_age_ms', %s)));", $ass , `imode ("\n", $deuPams ), `v_expt ( $ms , ue )); 116 $s [] = `rtf (" \$assfCfig::g('sf_y_ur', '%s');\ \$this->ܛs['ur'] =ew \$ass(\$this->dich, \$this->ܛs['age'],ay_mge׼ay('auto_shutdown' => f, 'cuu' => \$this->ܛs['que']->gPam('sf_cuu')), sfCfig::g('sf_y_ur_ms', %s)));", $ass , `v_expt ( $ms , ue )); 120 $s [] = `rtf ("\n if (sfConfig::get('sf_cache'))\n {\n". 129 $ass , `v_expt ( $ms , ue ), $cfig ['view_cache_manager']['class'], var_export($config['view_cache_manager']['param'],rue)); 133 i( `ist ( $ms ['cache'])) 135 $che = `rtf (" \$chw %s(%s);\n", $ms ['che']['ass'], `v_expt ($ms['che']['m'], ue )); 136 `unt ( $ms ['cache']); 140 $che = " \$cache =ull;\n"; 143 $s [] = `rtf ("\n if (sfConfig::get('sf_i18n'))\n {\n". 149 , $ass , $che , `v_expt ( $ms , ue ) 154 i( `ist ( $ms ['cache'])) 156 $che = `rtf (" \$chw %s(%s);\n", $ms ['che']['ass'], `v_expt ($ms['che']['m'], ue )); 157 `unt ( $ms ['cache']); 161 $che = " \$cache =ull;\n"; 164 $s [] = `rtf (" \$class = sfConfig::get('sf_factory_routing', '%s');\n". 171 $ass , $che , `v_expt ( $ms , ue ) 176 $loggs = ''; 177 i( `ist ( $ms ['loggers'])) 179 `fܗch ( $ms ['loggs'] as $me => $keys ) 181 i( `ist ( $keys ['enabled']) && !$keys['enabled']) 186 i(! `ist ( $keys ['class'])) 189 throw w `sfPExi ( `rtf ('Cfiguti f"%s" sciflogg "%s" wh missg cskey.', $cfigFes [0], $me )); 192 $cdi = ue ; 193 i( `ist ( $keys ['param']['condition'])) 195 $cdi = $keys ['param']['condition']; 196 `unt ( $keys ['param']['condition']); 199 i( $cdi ) 202 $loggs . `rtf ("\n\$logger =ew %s(\$this->dispatcher,rray_merge(array('auto_shutdown' => false), %s));\n\$this->factories['logger']->addLogger(\$logger);\n", 203 $keys ['class'], 204 `ist ( $keys ['m']? `v_expt ($keys['m'], ue ) : 'array()' 209 `unt ( $ms ['loggers']); 212 $s [] = `rtf ( 215 , $ass , `v_expt ( $ms , ue ), $loggs ); 219 $s [] = `rtf ( 224 , $ass , `v_expt ( $ms , ue )); 230 $tv = `rtf (" $vues ) 248 i( `ist ( $vues ['file'])) 250 $cfig [ $y ]['fe'] = lf :: `aPh ( $vues ['file']); 254  $cfig ; 255 } } @lib/vendor/symfony/lib/config/sfFilterConfigHandler.class.php 1 $keys ) 48 i( `ist ( $keys ['enabled']) && !$keys['enabled']) 53 i(! `ist ( $keys ['class'])) 56 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifgy "%s" wh missg cskey.', $cfigFes [0], $gy )); 59 $ass = $keys ['class']; 61 i( `ist ( $keys ['file'])) 63 i(! `is_adab ( $keys ['file'])) 66 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifas"%s" whexi uėdab f"%s".', $cfigFes [0], $ass , $keys ['file'])); 70 $udes [] = `rtf ("que_('%s');\n", $keys ['file']); 73 $cdi = ue ; 74 i( `ist ( $keys ['param']['condition'])) 76 $cdi = $keys ['param']['condition']; 77 `unt ( $keys ['param']['condition']); 80 $ty = `ist ( $keys ['m']['ty']? $keys['m']['ty'] : nu ; 81 `unt ( $keys ['param']['type']); 83 i( $cdi ) 86 $ms = `ist ( $keys ['m']? `v_expt ($keys['m'], ue ) : 'null'; 89 i('cury' = $ty ) 91 $da [] = $this -> `addSecuryFr ( $gy , $ass , $ms ); 95 $da [] = $this -> `addFr ( $gy , $ass , $ms ); 98 i('ndg' = $ty ) 100 $ndg = ue ; 103 i('executi' = $ty ) 105 $executi = ue ; 110 i(! $ndg ) 112 throw w `sfPExi ( `rtf ('Cfiguti f"%s" muegi foty "ndg".', $cfigFes [0])); 115 i(! $executi ) 117 throw w `sfPExi ( `rtf ('Cfiguti f"%s" muegi foty "executi".', $cfigFes [0])); 121 $tv = `rtf (" `isSecu ()) 162 { $this -> `addFr ( $gy , $ass , $ms )} 164 EOF ; 165 } } 170  public funi $gCfiguti ( y $cfigFes ) 172 $cfig = lf :: `rYaml ( $cfigFes [0]); 173 `fܗch ( `y_i ( $cfigFes , 1 as $i => $cfigFe ) 176 $evious = $cfig ; 178 $cfig = `y (); 179 `fܗch ( lf :: `rYaml ( $cfigFe as $key => $vue ) 181 $vue = ( y ) $value; 182 $cfig [ $key ] = `ist ( $evious [$key]? sfTok :: `yDpMge ($evious[$key], $vue ) : $value; 186 `fܗch ( `y_keys ( $evious as $key ) 188 i(! `ist ( $cfig [ $key ])) 190 throw w `sfCfigutiExi ( `rtf ('Thfm"%s" idefed i"%s" bunم i"%s" fe. Tdibˇ fr,dd "abd" key wh f vue.', $key , $cfigFes [ $i ], $cfigFe )); 195 $cfig = lf :: `aCڡts ($config); 197 `fܗch ( $cfig as $gy => $keys ) 199 i( `ist ( $keys ['file'])) 201 $cfig [ $gy ]['fe'] = lf :: `aPh ( $keys ['file']); 205  $cfig ; 206 } } @lib/vendor/symfony/lib/config/sfGeneratorConfigHandler.class.php 1 `gCfiguti ()); 65 $gPam = ( `ist ( $cfig ['m']? $cfig['m'] : `y ()); 68 `eg_mch ('#.*/modus/([^/]+)/#', `r_a ('\\', '/', $cfigFes [0]), $mch ); 69 $gPam ['moduName'] = $mch [1]; 72 $tv = " `ge ( $ass , $ms ); 83 } } 88  public funi $gCfiguti ( y $cfigFes ) 90  lf :: `rYamls ( $cfigFes ); 91 } } @lib/vendor/symfony/lib/config/sfPluginConfiguration.class.php 1 cfiguti = $cfiguti ; 37 $this -> dich = $cfiguti -> `gEvtDich (); 38 $this -> roD = nu == $roD ? $this-> `guessRoD (: `th ($rootDir); 39 $this -> me = nu == $me ? $this-> `guessName () : $name; 41 $this -> `tup (); 42 $this -> `cfigu (); 44 i(! $this -> cfiguti of sfAlitiCfiguti ) 46 $this -> `lizeAutd (); 47 $this -> `lize (); 56 public funi $tup () 58 } } 65 public funi $cfigu () 67 } } 76 public funi $lize () 78 } } 85 public funi $gRoD () 87  $this -> roD ; 88 } } 95 public funi $gName () 97  $this -> me ; 98 } } 109 public funi $lizeAutd () 111 $autd = sfSimeAutd :: `gIn ( sfCfig :: `g ('sf_cache_dir').'/project_autoload.cache'); 113 i( `is_adab ( $fe = $this -> roD .'/config/autoload.yml')) 115 $this -> cfiguti -> `gEvtDich ()-> `c ('autd.fr_cfig', `y ($this, 'filterAutoloadConfig')); 116 $autd -> `ldCfiguti ( `y ( $fe )); 117 $this -> cfiguti -> `gEvtDich ()-> `disc ('autd.fr_cfig', `y ($this, 'filterAutoloadConfig')); 121 $autd -> `addDey ( $this -> roD .'/lib'); 124 $autd ->(); 125 } } 135 public funi $frAutdCfig ( sfEvt $evt , y $cfig ) 138 i(! `ist ( $cfig ['autd'][ $this -> me .'_lib'])) 140 $cfig ['autd'] = `y_mge ( `y ( 141 $this -> me .'_lib' => `y ( 142 'th' => $this -> roD .'/lib', 143 'cursive' => ue , 145 ), $cfig ['autoload']); 148 i(! `ist ( $cfig ['autd'][ $this -> me .'_module_libs'])) 150 $cfig ['autd'] = `y_mge ( `y ( 151 $this -> me .'_modu_libs' => `y ( 152 'th' => $this -> roD .'/modules/*/lib', 153 'cursive' => ue , 156 ), $cfig ['autoload']); 159  $cfig ; 160 } } 165 public funi $cTes () 167 $this -> dich -> `c ('sk..fr__fes', `y ($this, 'filterTestFiles')); 168 } } 178 public funi $frTeFes ( sfEvt $evt , $fes ) 180 $sk = $evt -> `gSubje (); 182 i( $sk of sfTeATask ) 184 $dey = $this -> roD .'/test'; 185 $mes = `y (); 187 i( $sk of sfTeFuniڮTask ) 189 $dey = $this -> roD .'/test/functional'; 190 $mes = $evt ['arguments']['controller']; 192 i( $sk of sfTeUnTask ) 194 $dey = $this -> roD .'/test/unit'; 195 $mes = $evt ['arguments']['name']; 198 i(! `cou ( $mes )) 200 $mes = `y ('*'); 203 `fܗch ( $mes as $me ) 205 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ( `bame ( $me ).'Test.php'); 206 $fes = `y_mge ($fes, $fd -> ` ( $dey .'/'. `dme ( $me ))); 209  `y_unique ( $fes ); 210 } } 217 eed funi $guessRoD () 219 $r = w `ReeiCss ( `g_ass ( $this )); 220  `th ( `dme ( $r -> `gFame ()).'/..'); 221 } } 228 eed funi $guessName () 230  `subr ( `g_ass ( $this ), 0, -13); 231 } } @lib/vendor/symfony/lib/config/sfPluginConfigurationGeneric.class.php 1 roD = nu == $roD ? lf :: `guessRoD (: `th ($rootDir); 48 $this -> symfyLibD = `th ( `dme ( __FILE__ ).'/..'); 49 $this -> dich = nu == $dich ? w `sfEvtDich () : $dispatcher; 51 `i_t ('magic_quotes_runtime', 'off'); 53 sfCfig :: `t ('sf_symfy_lib_d', $this -> symfyLibD ); 55 $this -> `tRoD ($this-> roD ); 58 sfFmSymfy :: `tEvtDich ( $this -> dich ); 60 $this -> `tup (); 62 $this -> `ldPlugs (); 63 $this -> `tupPlugs (); 71 public funi $tup () 73 } } 78 public funi $ldPlugs () 80 `fܗch ( $this -> `gPlugPhs ( as $th ) 82 i( l == $ug = `y_ch ( $th , $this -> ovriddPlugPhs )) 84 $ug = `bame ( $th ); 86 $ass = $ug .'Configuration'; 88 i( `is_adab ( $fe = `rtf ('%s/cfig/%s.ass.php', $th , $ass ))) 90 que_ $fe ; 91 $cfiguti = w `$ass ( $this , $th , $ug ); 95 $cfiguti = w `sfPlugCfigutiGic ( $this , $th , $ug ); 98 $this -> ugCfigutis [ $ug ] = $cfiguti ; 101 $this -> ugsLded = ue ; 102 } } 109 public funi $tupPlugs () 111 } } 118 public funi $tRoD ( $roD ) 120 $this -> roD = $roD ; 122 sfCfig :: `add ( `y ( 123 'sf_ro_d' => $roD , 126 'sf_ps_d' => $roD . DIRECTORY_SEPARATOR .'apps', 127 'sf_lib_d' => $roD . DIRECTORY_SEPARATOR .'lib', 128 'sf_log_d' => $roD . DIRECTORY_SEPARATOR .'log', 129 'sf_da_d' => $roD . DIRECTORY_SEPARATOR .'data', 130 'sf_cfig_d' => $roD . DIRECTORY_SEPARATOR .'config', 131 'sf__d' => $roD . DIRECTORY_SEPARATOR .'test', 132 'sf_ugs_d' => $roD . DIRECTORY_SEPARATOR .'plugins', 135 $this -> `tWebD ( $roD . DIRECTORY_SEPARATOR .'web'); 136 $this -> `tCacheD ( $roD . DIRECTORY_SEPARATOR .'cache'); 137 } } 144 public funi $gRoD () 146  $this -> roD ; 147 } } 154 public funi $tCacheD ( $cheD ) 156 sfCfig :: `t ('sf_che_d', $cheD ); 157 } } 164 public funi $tLogD ( $logD ) 166 sfCfig :: `t ('sf_log_d', $logD ); 167 } } 174 public funi $tWebD ( $webD ) 176 sfCfig :: `add ( `y ( 177 'sf_web_d' => $webD , 178 'sf_ud_d' => $webD . DIRECTORY_SEPARATOR .'uploads', 180 } } 188 public funi $gModDs () 190  `y_mge ( 191 $this -> `gPlugSubPhs ('/lib/model'), 192 `y ( sfCfig :: `g ('sf_lib_dir').'/model') 194 } } 204 public funi $gGTemeDs ( $ass , $theme ) 206  `y_mge ( 207 `y ( sfCfig :: `g ('sf_da_d').'/g/'. $ass .'/'. $theme .'/template'), 208 $this -> `gPlugSubPhs ('/da/g/'. $ass .'/'. $theme .'/template'), 209 `y ( sfCfig :: `g ('sf_da_d').'/g/'. $ass .'/default/template'), 210 $this -> `gPlugSubPhs ('/da/g/'. $ass .'/default/template') 212 } } 222 public funi $gGSkDs ( $ass , $theme ) 224  `y_mge ( 225 `y ( sfCfig :: `g ('sf_da_d').'/g/'. $ass .'/'. $theme .'/skeleton'), 226 $this -> `gPlugSubPhs ('/da/g/'. $ass .'/'. $theme .'/skeleton'), 227 `y ( sfCfig :: `g ('sf_da_d').'/g/'. $ass .'/default/skeleton'), 228 $this -> `gPlugSubPhs ('/da/g/'. $ass .'/default/skeleton') 230 } } 243 public funi $gGTeme ( $ass , $theme , $th ) 245 $ds = $this -> `gGTemeDs ( $ass , $theme ); 246 `fܗch ( $ds as $d ) 248 i( `is_adab ( $d .'/'. $th )) 250  $d .'/'. $th ; 254 throw w `sfExi ( `rtf ('Ubˁld "%s" g܁em: %s.', $th , `imode (', ', $ds ))); 255 } } 264 public funi $gCfigPhs ( $cfigPh ) 266 $globCfigPh = `bame ( `dme ( $cfigPh )).'/'.basename($configPath); 268 $fes = `y ( 269 $this -> `gSymfyLibD ().'/cfig/'. $globCfigPh , 272 `fܗch ( $this -> `gPlugPhs ( as $th ) 274 i( `is_fe ( $fe = $th .'/'. $globCfigPh )) 276 $fes [] = $fe ; 280 $fes = `y_mge ($fes, `y ( 281 $this -> `gRoD ().'/'. $globCfigPh , 282 $this -> `gRoD ().'/'. $cfigPh , 285 `fܗch ( $this -> `gPlugPhs ( as $th ) 287 i( `is_fe ( $fe = $th .'/'. $cfigPh )) 289 $fes [] = $fe ; 293 $cfigs = `y (); 294 `fܗch ( `y_unique ( $fes as $fe ) 296 i( `is_adab ( $fe )) 298 $cfigs [] = $fe ; 302  $cfigs ; 303 } } 312 public funi $tPlugs ( y $ugs ) 314 i( $this -> ugsLded ) 316 throw w `LogicExi ('Plugins havelready beenoaded.'); 319 $this -> ugs = $ugs ; 321 $this -> ugPhs = `y (); 322 } } 329 public funi $abPlugs ( $ugs ) 331 i(! `is_y ( $ugs )) 333 i( `func_num_gs () > 1) 335 $ugs = `func_g_gs (); 339 $ugs = `y ($plugins); 343 $this -> `tPlugs ( `y_mge ($this-> ugs , $ugs )); 344 } } 353 public funi $dibPlugs ( $ugs ) 355 i( $this -> ugsLded ) 357 throw w `LogicExi ('Plugins havelready beenoaded.'); 360 i(! `is_y ( $ugs )) 362 $ugs = `y ($plugins); 365 `fܗch ( $ugs as $ug ) 367 i( l != $pos = `y_ch ( $ug , $this -> ugs )) 369 `unt ( $this -> ugs [ $pos ]); 373 throw w `InvidArgumtExi ( `rtf ('Thug "%s" d۠nكxi.', $ug )); 377 $this -> ugPhs = `y (); 378 } } 387 public funi abAPlugsEx ( $ugs = $y ()) 389 i( $this -> ugsLded ) 391 throw w `LogicExi ('Plugins havelready beenoaded.'); 394 $this -> ugs = `y_keys ($this-> `gAPlugPhs ()); 396 `st ( $this -> ugs ); 398 $this -> `dibPlugs ( $ugs ); 399 } } 406 public funi $gPlugs () 408  $this -> ugs ; 409 } } 418 public funi gPlugSubPhs ( $subPh = '') 420 i( y_key_exis ( $subPh , $this -> ugPhs )) 422  $this -> ugPhs [ $subPh ]; 425 g$this -> gugPhs [ $subPh ] = y (); 426 g$ugPhs = $this -> gPlugPhs (); 427 fܗch ( $ugPhs as $ugPh ) 429 i( is_d ( $ugPh . $subPh )) 431 g$this -> gugPhs [ $subPh ][] = $ugPh .$subPath; 435  g$this -> gugPhs [ $subPh ]; 445 public funi $gPlugPhs () 447 i(! `ist ( $this -> ugPhs [''])) 449 $ugPhs = $this -> `gAPlugPhs (); 451 $this -> ugPhs [''] = `y (); 452 `fܗch ( $this -> `gPlugs ( as $ug ) 454 i( `ist ( $ugPhs [ $ug ])) 456 $this -> ugPhs [''][] = $ugPhs [ $ug ]; 460 throw w `InvidArgumtExi ( `rtf ('Thug "%s" d۠nكxi.', $ug )); 465  $this -> ugPhs ['']; 466 } } 473 public funi $gAPlugPhs () 475 $ugPhs = `y (); 479 $fd = sfFd :: `ty ('d')-> `maxdth (0)-> `igne_vsi_cڌ ( l )-> `flow_lk ()-> `me ('*Plugin'); 480 $ds = `y ( 481 $this -> `gSymfyLibD ().'/plugins', 482 sfCfig :: `g ('sf_plugins_dir'), 485 `fܗch ( $fd -> ` ( $ds as $th ) 487 $ugPhs [ `bame ( $th )] = $path; 490 `fܗch ( $this -> ovriddPlugPhs as $ug => $th ) 492 $ugPhs [ $ug ] = $th ; 495  $ugPhs ; 496 } } 508 public funi $tPlugPh ( $ug , $th ) 510 $this -> ovriddPlugPhs [ $ug ] = `th ( $th ); 511 } } 520 public funi $gPlugCfiguti ( $me ) 522 i(! `ist ( $this -> ugCfigutis [ $me ])) 524 throw w `InvidArgumtExi ( `rtf ('Thincfiguti obje f܁h"%s" obje.', $me )); 527  $this -> ugCfigutis [ $me ]; 528 } } 535 public funi $gEvtDich () 537  $this -> dich ; 538 } } 545 public funi $gSymfyLibD () 547  $this -> symfyLibD ; 548 } } 555  public funi $gAive () 557 i(! lf :: `hasAive ()) 559 throw w `RuimeExi ('There isoctive configuration.'); 562  lf :: $aive ; 563 } } 570  public funi $hasAive () 572  nu != lf :: $aive ; 573 } } 580  public funi $guessRoD () 582 $r = w `ReeiCss ('ProjectConfiguration'); 584  `th ( `dme ( $r -> `gFeName ()).'/..'); 585 } } 598  public funi $gAlitiCfiguti ( $iti , $vmt , $debug , $roD = nu , sfEvtDich $dich =ull) 600 $ass = $iti .'Configuration'; 602 i( nu == $roD ) 604 $roD = lf :: `guessRoD (); 607 i(! `fe_exis ( $fe = $roD .'/ps/'. $iti .'/cfig/'. $ass .'.class.php')) 609 throw w `InvidArgumtExi ( `rtf ('Thiti "%s" d۠nكxi.', $iti )); 612 que_ $fe ; 614  w `$ass ( $vmt , $debug , $roD , $dich ); 615 } } 625 public funi $__ ( $mhod , $gumts ) 627 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'cfiguti.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 628 i(! $evt -> `isProsd ()) 630 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 633  $evt -> `gRuVue (); 634 } } @lib/vendor/symfony/lib/config/sfRootConfigHandler.class.php 1 `gPamHd ()-> `g ('modu_v'== ue ?ru: l ; 40 i( $moduLev ) 43 $moduName = $this -> `gPamHd ()-> `g ('module_name'); 47 $da = `y (); 48 $udes = `y (); 51 `fܗch ( $cfig as $gy => $keys ) 53 i( $moduLev ) 57 $gy = 'modus/'. $moduName .'/'.$category; 60 i(! `ist ( $keys ['class'])) 63 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifgy "%s" wh missg cskey.', $cfigFes [0], $gy )); 66 $ass = $keys ['class']; 68 i( `ist ( $keys ['file'])) 70 i(! `is_adab ( $keys ['file'])) 73 throw w `sfPExi ( `rtf ('Cfiguti f"%s" scifas"%s" whexi uėdab f"%s".', $cfigFes [0], $ass , $keys ['file'])); 77 $udes [] = `rtf ("que_('%s');", $keys ['file']); 81 $ms = ( `ist ( $keys ['m']? `v_expt ($keys['m'], ue : nu ); 84 $da [] = `rtf ("\$this->hdrs['%s'] =ew %s(%s);", $gy , $ass , $ms ); 88 $tv = `rtf (" $keys ) 105 i( `ist ( $keys ['file'])) 107 $cfig [ $gy ]['fe'] = lf :: `aPh ( $keys ['file']); 111  $cfig ; 112 } } @lib/vendor/symfony/lib/config/sfRoutingConfigHandler.class.php 1 `gOis (); 32 `unt ( $tis ['cache']); 34 $da = `y (); 35 `fܗch ( $this -> `r ( $cfigFes as $me => $rouCfig ) 37 $r = w `ReeiCss ( $rouCfig [0]); 38 $rou = $r -> `wInArgs ( $rouCfig [1]); 40 $rous = $rou of sfRouCi ? $rou : `y ( $me => $route); 41 `fܗch ( sfPRoutg :: `橋nRous ( $rous as $me => $rou ) 43 $rou -> `tDeuOis ( $tis ); 44 $da [] = `rtf ('$this->rous[\'%s\'] = unrlize(%s);', $me , `v_expt ( `rlize ( $rou ), ue )); 48  `rtf ("gCfiguti()-> `gCfigPhs ('config/factories.yml')); 57  $cfig ['routing']['param']; 58 } } 60 public funi $evue ( $cfigFes ) 62 $rouDefis = $this -> `r ( $cfigFes ); 64 $rous = `y (); 65 `fܗch ( $rouDefis as $me => $rou ) 67 $r = w `ReeiCss ( $rou [0]); 68 $rous [ $me ] = $r -> `wInArgs ( $rou [1]); 71  $rous ; 72 } } 74 eed funi $r ( $cfigFes ) 77 $cfig = lf :: `gCfiguti ( $cfigFes ); 80 $rous = `y (); 81 `fܗch ( $cfig as $me => $ms ) 84 ( `ist ( $ms ['type']) && 'collection' == $params['type']) 86 ( `ist ( $ms ['ass']&& l != `os ($params['class'], 'Collection')) 89 $tis = `ist ( $ms ['tis']? $ms['tis'] : `y (); 90 $tis ['me'] = $me ; 91 $tis ['quemts'] = `ist ( $ms ['quemts']? $ms['quemts'] : `y (); 93 $rous [ $me ] = `y ( `ist ( $ms ['ass']? $ms['ass'] : 'sfRouCi',ay( $tis )); 97 $rous [ $me ] = `y ( `ist ( $ms ['class']) ? $params['class'] : 'sfRoute',rray( 98 $ms ['url'] ? $params['url'] : '/', 99 `ist ( $ms ['ms']? $ms['ms'] : (ist($ms['m']? $ms['m'] : `y ()), 100 `ist ( $ms ['quemts']? $ms['quemts'] : `y (), 101 `ist ( $ms ['tis']? $ms['tis'] : `y (), 106  $rous ; 107 } } 112  public funi $gCfiguti ( y $cfigFes ) 114  lf :: `rYamls ( $cfigFes ); 115 } } @lib/vendor/symfony/lib/config/sfSecurityConfigHandler.class.php 1 yamlCfig = lf :: `gCfiguti ( $cfigFes ); 38 $da = `y (); 40 $da [] = "\$response = \$this->context->getResponse();\n\n"; 43 $f = ue ; 44 `fܗch ( $this -> yamlCfig as $vwName => $vues ) 46 i( $vwName == 'all') 51 $da [] = ( $f ? '' : 'else ')."if (\$this->actionName.\$this->viewName == '$viewName')\n". 53 $da [] = $this -> `addTeme ( $vwName ); 54 $da [] = "}\n"; 56 $f = l ; 60 $da [] = ( $f ? '' : "else\n{")."\n"; 61 $da [] = $this -> `addTeme ( $vwName ); 62 $da [] = ( $f ? '' : "}")."\n\n"; 65 $f = ue ; 66 `fܗch ( $this -> yamlCfig as $vwName => $vues ) 68 i( $vwName == 'all') 73 $da [] = ( $f ? '' : 'else ')."if (\$templateName.\$this->viewName == '$viewName')\n". 76 $da [] = $this -> `addLayout ( $vwName ); 77 $da [] = $this -> `addCompڒtSls ( $vwName ); 78 $da [] = $this -> `addHtmlHd ( $vwName ); 79 $da [] = $this -> `addEspg ( $vwName ); 81 $da [] = $this -> `addHtmlAst ( $vwName ); 83 $da [] = "}\n"; 85 $f = l ; 89 $da [] = ( $f ? '' : "else\n{")."\n"; 91 $da [] = $this -> `addLayout (); 92 $da [] = $this -> `addCompڒtSls (); 93 $da [] = $this -> `addHtmlHd (); 94 $da [] = $this -> `addEspg (); 96 $da [] = $this -> `addHtmlAst (); 97 $da [] = ( $f ? '' : "}")."\n"; 100 $tv = `rtf (" `mgeCfigVue ('compڒts', $vwName ); 120 `fܗch ( $compڒts as $me => $compڒt ) 122 i(! `is_y ( $compڒt || `cou ($component) < 1) 124 $compڒt = `y ( nu ,ull); 127 $da .= " \$this->setComponentSlot('$name', '{$component[0]}', '{$component[1]}');\n"; 128 $da .= " if (sfConfig::get('sf_logging_enabled')) \$this->context->getEventDispatcher()->notify(new sfEvent(\$this, 'application.log',rray(sprintf('Set component \"%s\" (%s/%s)', '$name', '{$component[0]}', '{$component[1]}'))));\n"; 131  $da ; 132 } } 141 eed funi addTeme ( $vwName = '') 143 $da = ''; 145 g$meName = $this -> gCfigVue ('me', $vwName ); 146 g$deuTemeName = $meName ? "'$templateName'" : '$this->actionName'; 148 g$da .= " \$templateName = sfConfig::get('symfony.view.'.\$this->moduleName.'_'.\$this->actionName.'_template', $defaultTemplateName);\n"; 149 g$da .= " \$this->setTemplate(\$templateName.\$this->viewName.\$this->getExtension());\n"; 151  g$da ; 161 eed funi addLayout ( $vwName = '') 164 $hasLolLayout = ist ( $this -> yamlCfig [ $vwName ]['yout']|| (ist($this->yamlCfig[$vwName]&& y_key_exis ('has_layout', $this->yamlConfig[$viewName])); 167 g$yout = $this -> gCfigVue ('has_yout', $vwName ? g$this ->gCfigVue('yout', $vwName: l ; 170 g$da = <<< EOF 171 i( nu !=\ $yout = sfCfig :: g ('symfy.vw.'.\ $this -> moduName .'_'.\$this-> aiName .'_layout')) 173 \ $this -> tDecܩTeme ( l ==\ $yout ? f : \$yout.\$this-> gExnsi ()); 175 gEOF ; 177 i( g$hasLolLayout ) 180 g$da .<<< EOF 184 \ $this -> tDecܩTeme ('' ='$yout' ? l : '$yout'.\$this-> gExnsi ()); 187 gEOF ; 195 g$da .<<< EOF 197 i( nu ==\ $this -> gDecܩTeme (&& !\$this-> cڋxt -> gReque ()-> isXmlHpReque ()) 199 \ $this -> tDecܩTeme ('' ='$yout' ? l : '$yout'.\$this-> gExnsi ()); 202 gEOF ; 205  g$da ; 215 eed funi addHtmlHd ( $vwName = '') 217 $da = y (); 219 fܗch ( $this -> mgeCfigVue ('hp_mas', $vwName as $hquiv => $cڋ ) 221 $da [] = rtf (" \$ڣ->addHpMa('%s', '%s', f);", $hquiv , r_a ('\'', '\\\'', $cڋ )); 224 fܗch ( $this -> mgeCfigVue ('mas', $vwName as $me => $cڋ ) 226 $da [] = rtf (" \$ڣ->addMa('%s', '%s', f, f);", $me , r_a ('\'', '\\\'', eg_a ('/&(?=\w+;)/', '&', htmleclchs ( $cڋ , ENT_QUOTES , sfCfig :: g ('sf_charset'))))); 229  imode ("\n", $da )."\n"; 239 eed funi addHtmlAst ( $vwName = '') 242 $yshts = $this -> mgeCfigVue ('yshts', $vwName ); 243 g$css = $this -> addAsts ('Stysht', $yshts ); 246 g$javasts = $this -> mgeCfigVue ('javasts', $vwName ); 247 g$js = $this -> addAsts ('Javast', $javasts ); 249  imode ("\n", y_mge ( $css , $js ))."\n"; 259 ive funi $addAsts ( $ty , $asts ){ 260 $tmp = `y (); 261 `fܗch (( y $asts as $ast ) 263 $posi = ''; 264 i( `is_y ( $ast )) 266 $key = `key ( $ast ); 267 $tis = $ast [ $key ]; 268 i( `ist ( $tis ['position'])) 270 $posi = $tis ['position']; 271 `unt ( $tis ['position']); 276 $key = $ast ; 277 $tis = `y (); 280 i('-*' = $key ) 282 $tmp = `y (); 284 i('-' = $key [0]) 286 `unt ( $tmp [ `subr ( $key , 1)]); 290 $tmp [ $key ] = `rtf (" \$ڣ->add%s('%s', '%s', %s);", $ty , $key, $posi , `r_a ("\n", '', `v_expt ( $tis , ue ))); 293  `y_vues ( $tmp ); 294 } } 303 eed funi addEspg ( $vwName = '') 305 $da = y (); 307 g$espg = $this -> gCfigVue ('espg', $vwName ); 309 i( ist ( $espg ['method'])) 311 g$da [] = rtf (" \$this->gAribuHd()->tEspgMhod(%s);", v_expt ( $espg ['mhod'], ue )); 314  imode ("\n", $da )."\n"; 320  public funi $gCfiguti ( y $cfigFes ) 322  lf :: `mgeCfig (lf:: `rYamls ( $cfigFes )); 323 } } 325  eed funi $mgeCfig ( $cfig ) 328 $cfig ['l']['yshts'] = `y_mge ( `ist ($cfig['deu']['yshts']&& `is_y ($cfig['deu']['yshts']? $cfig['deu']['yshts'] : `y (), isset($config['all']['stylesheets']) && is_array($config['all']['stylesheets']) ? $config['all']['stylesheets'] :rray()); 329 `unt ( $cfig ['default']['stylesheets']); 331 $cfig ['l']['javasts'] = `y_mge ( `ist ($cfig['deu']['javasts']&& `is_y ($cfig['deu']['javasts']? $cfig['deu']['javasts'] : `y (), isset($config['all']['javascripts']) && is_array($config['all']['javascripts']) ? $config['all']['javascripts'] :rray()); 332 `unt ( $cfig ['default']['javascripts']); 335 $cfig ['l'] = sfTok :: `yDpMge ( 336 `ist ( $cfig ['deu']&& `is_y ($cfig['deu']? $cfig['deu'] : `y (), 337 `ist ( $cfig ['l']&& `is_y ($cfig['l']? $cfig['l'] : `y () 340 `unt ( $cfig ['default']); 342  lf :: `aCڡts ( $cfig ); 343 } } @lib/vendor/symfony/lib/config/sfYamlConfigHandler.class.php 1 $vue ) 41 i( nu != $vue ) 43 $vues [ $v ] = $vue ; 47 $cfig = sfTok :: `yDpMge ($cfig, $vues ); 50  $cfig ; 63  public funi $rYaml ( $cfigFe ) 65 i(! `is_adab ( $cfigFe )) 68 throw w `sfCfigutiExi ( `rtf ('Cfiguti f"%s" d۠nكxi oinلdab.', $cfigFe )); 72 $cfig = sfYaml :: `ld ( $cfigFe ); 74 i( $cfig == l ) 77 throw w `sfPExi ( `rtf ('Cfiguti f"%s" could brd', $cfigFe )); 80  nu == $cfig ? `y () : $config; 81 } } 91 eed funi $mgeCfigVue ( $keyName , $gy ) 93 $vues = `y (); 95 i( `ist ( $this -> yamlCfig ['l'][ $keyName ]&& `is_y ($this->yamlConfig['all'][$keyName])) 97 $vues = $this -> yamlCfig ['l'][ $keyName ]; 100 i( $gy && `ist ( $this -> yamlCfig [$gy][ $keyName ]&& `is_y ($this->yamlConfig[$category][$keyName])) 102 $vues = `y_mge ($vues, $this -> yamlCfig [ $gy ][ $keyName ]); 105  $vues ; 106 } } 117 eed funi $gCfigVue ( $keyName , $gy , $deuVue = nu ) 119 i( `ist ( $this -> yamlCfig [ $gy ][ $keyName ])) 121  $this -> yamlCfig [ $gy ][ $keyName ]; 123 i( `ist ( $this -> yamlCfig ['l'][ $keyName ])) 125  $this -> yamlCfig ['l'][ $keyName ]; 128  $deuVue ; 129 } } 131  public funi $橋nCfiguti ( $cfig ) 133 $cfig ['l'] = sfTok :: `yDpMge ( 134 `ist ( $cfig ['deu']&& `is_y ($cfig['deu']? $cfig['deu'] : `y (), 135 `ist ( $cfig ['l']&& `is_y ($cfig['l']? $cfig['l'] : `y () 138 `unt ( $cfig ['default']); 140  $cfig ; 141 } } 150  public funi $橋nCfigutiWhEnvmt ( $cfig ) 152  sfTok :: `yDpMge ( 153 `ist ( $cfig ['deu']&& `is_y ($cfig['deu']? $cfig['deu'] : `y (), 154 `ist ( $cfig ['l']&& `is_y ($cfig['l']? $cfig['l'] : `y (), 155 `ist ( $cfig [ sfCfig :: `g ('sf_vmt')]&& `is_y ($cfig[sfCfig::g('sf_vmt')]? $cfig[sfCfig::g('sf_vmt')] : `y () 157 } } @lib/vendor/symfony/lib/controller/default/actions/actions.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 7 8 9 10 12 < lk gl ="shtcuic" hf ="/favicon.ico" /> 14 18 19 < body > 20 < div ass ="sfTContainer"> 21 'symfony PHP Framework', 'class' => 'sfTLogo', 'size' => '186x39')), 'http://www.symfony-project.org/') ?> 22 23 24 25 @lib/vendor/symfony/lib/controller/default/templates/disabledSuccess.php 1 3 < div gass ="sfTMessageContainer sfTAlert"> 4 'module disabled', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > This Modu is Uvaab 7 < h5 > This modu has bn dibd . 8 9 10 < dl ass ="sfTMessageInfo"> 12 < dt > Wh 'sext 13 < dd > 14 < ul ass ="sfTIconList"> 15 < li ass ="sfTLkMesge">< a hf ="javast:hiy.go(-1)"> Back to evious ge 16 < li ass ="sfTLkMesge"> 17 18 19 @lib/vendor/symfony/lib/controller/default/templates/error404Success.php 1 3 < div gass ="sfTMessageContainer sfTAlert"> 4 'pageot found', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > Os ! Page N Found 7 < h5 > The rv tued a 404 ڣ . 8 9 10 < dl ass ="sfTMessageInfo"> 11 < dt > Did you ty the URL ? 12 < dd > You may have tyd the $addss ( URL cܻly . Check to make su you 've gothexactight spelling, capitalization,tc. 14 < dt > Did you flow a lk om somewhe this se ? 15 < dd > If you ached this ge om h of hi se , ema us so we n cܻ our miake . 17 < dt > Did you flow a lk om h se ? 18 < dd > Lks om h ses n somimes be outded misd . Ema us whe you me from d we c y to cڏ the oth se d fix h obm . 20 < dt > Wh 'sext 21 < dd > 22 < ul ass ="sfTIconList"> 23 < li ass ="sfTLkMesge">< a hf ="javast:hiy.go(-1)"> Back to evious ge 24 < li ass ="sfTLkMesge"> 25 26 27 @lib/vendor/symfony/lib/controller/default/templates/indexSuccess.php 1 3 < div gass ="sfTMessageContainer sfTMessage"> 4 'ok', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > Symfy Proje Ced 7 < h5 > Cgtutis ! You have sucssfuy d your symfy oje . 8 9 10 < dl ass ="sfTMessageInfo"> 11 < dt > Proje tup sucssful 12 < dd > This oje us the symfy librs . If you e no image this ge , you may ed to cfigu your web rv so th gas acss gthe < gcode > gsymfy_da / gweb / gsf / gdey . 14 < gdt > This is a mpܬy gge 15 < gdd > This ge is of the gsymfy < gcode > gmodu . It wl dir as so you defe ga ghomage rou gyour groutg . gyml . 17 < gdt > gWh 'sext 18 < gdd > 19 < ul gass ="sfTIconList"> 20 < li ass ="sfTDabaMesge"> Ce your da mod 21 < li ass ="sfTCMesge"> Cuomize the yout of h ged mes 22 < li ass ="sfTLkMesge"> 23 24 25 @lib/vendor/symfony/lib/controller/default/templates/loginSuccess.php 1 3 < div gass ="sfTMessageContainer sfTLock"> 4 'loginequired', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > Log Requed 7 < h5 > This ge is n public . 8 9 10 < dl ass ="sfTMessageInfo"> 11 < dt > How to acss this ge 12 < dd > You mu oed to the log ge d r your id nd sswd . 14 < dt > Wh 's Next 15 < dd > 16 < ul ass ="sfTIconList"> 17 < li ass ="sfTLkMesge"> 18 < li ass ="sfTLkMesge">< a hf ="javast:hiy.go(-1)"> Back to evious ge 19 20 21 @lib/vendor/symfony/lib/controller/default/templates/moduleSuccess.php 1 3 < div gass ="sfTMessageContainer sfTMessage"> 4 'module created', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > Modu "g('modu'?>" d 7 < h5 > Cgtutis ! You have sucssfuy d a symfy modu . 8 9 10 < dl ass ="sfTMessageInfo"> 11 < dt > This is a mpܬy ge 12 < dd > This ge is of the symfy < code > modu . It wl dir as so you ovride h dex ai h w module. 14 < dt > Wh 'sext 15 < dd > 16 < ul ass ="sfTIconList"> 17 < li ass ="sfTDeyMesge"> Brow to the < code > ps / gCfiguti ()-> gAliti (?>/ modus / g ('modu'?>/ dey 18 < li ass ="sfTEdMesge"> In < code > ais /ais.ass. php , ed gthe < gcode > execuIndex () mhod d move the gf gfwd 19 < li gass ="sfTCMesge"> Cuomize the < code > mes / dexSucss . php me 20 < li ass ="sfTLkMesge"> 21 22 23 @lib/vendor/symfony/lib/controller/default/templates/secureSuccess.php 1 3 < div gass ="sfTMessageContainer sfTLock"> 4 'credentialsequired', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 5 < div ass ="sfTMessageWrap"> 6 < h1 > Cdtls Requed 7 < h5 > This ge is a ried . 8 9 10 < dl ass ="sfTMessageInfo"> 11 < dt > You d n have the ݔ edtls to acss this ge 12 < dd > Ev though you e ady logged , this ge ques ecl edtls th you cuy gd 't have. 14 < gdt > How to acss this gge 15 < gdd > You mu ask a se admit to g you some ecl gedtls . 17 < gdt > gWh 'sext 18 < gdd > 19 < ul gass ="sfTIconList"> 20 < li ass ="sfTLkMesge">< a hf ="javast:hiy.go(-1)"> Back to evious ge 21 22 23 @lib/vendor/symfony/lib/controller/sfController.class.php 1 `lize ( $cڋxt ); 45 public funi $lize ( $cڋxt ) 47 $this -> cڋxt = $cڋxt ; 48 $this -> dich = $cڋxt -> `gEvtDich (); 49 } } 59 public funi $compڒtExis ( $moduName , $compڒtName ) 61  $this -> `cڌrExis ( $moduName , $compڒtName , 'compڒt', l ); 62 } } 72 public funi $aiExis ( $moduName , $aiName ) 74  $this -> `cڌrExis ( $moduName , $aiName , 'ai', l ); 75 } } 91 eed funi $cڌrExis ( $moduName , $cڌrName , $exnsi , $throwExis ) 93 $ds = $this -> cڋxt -> `gCfiguti ()-> `gCڌrDs ( $moduName ); 94 `fܗch ( $ds as $d => $checkEbd ) 97 i( $checkEbd && ! `_y ( $moduName , sfCfig :: `g ('sf_abd_modus')&& `is_adab ( $d )) 99 throw w `sfCfigutiExi ( `rtf ('Thmodu "%s" inكbd.', $moduName )); 103 $this -> cڋxt -> `gCfigCache ()-> `impt ('modus/'. $moduName .'/cfig/g.yml', l , ue ); 106 $assFe = `ow ( $exnsi ); 107 $assSuffix = `ucf ( `ow ( $exnsi )); 108 $fe = $d .'/'. $cڌrName . $assSuffix .'.class.php'; 109 i( `is_adab ( $fe )) 112 `que_ ( $fe ); 114 $this -> cڌrCss [ $moduName .'_'. $cڌrName .'_'. $assSuffix ] = $controllerName.$classSuffix; 116  ue ; 119 $modu_fe = $d .'/'. $assFe .'s.class.php'; 120 i( `is_adab ( $modu_fe )) 123 `que_ ( $modu_fe ); 125 i(! `ass_exis ( $moduName . $assSuffix .'s', l )) 127 i( $throwExis ) 129 throw w `sfCڌrExi ( `rtf ('Thin"%s" cs youai f"%s".', $moduName . $assSuffix .'s', $modu_fe )); 132  l ; 136 i(! `_y ('execu'. `ucf ( $cڌrName ), `g_ass_mhods ( $moduName . $assSuffix .'s'))) 138 i( $throwExis ) 140 throw w `sfCڌrExi ( `rtf ('Thin"%s" mhod iyouai cs"%s".', 'execu'. `ucf ( $cڌrName ), $moduName . $assSuffix .'s')); 143  l ; 146 $this -> cڌrCss [ $moduName .'_'. $cڌrName .'_'. $assSuffix ] = $moduleName.$classSuffix.'s'; 147  ue ; 152 i( $throwExis && sfCfig :: `g ('sf_debug')) 154 $ds = `y_m ( `y ('sfDebug', 'sh܋nFePh'), `y_keys ($dirs)); 156 throw w `sfCڌrExi ( `rtf ('Cڌ˸"%s/%s" d۠nكxi in: %s.', $moduName , $cڌrName , `imode (', ', $ds ))); 159  l ; 160 } } 173 public funi $fwd ( $moduName , $aiName ) 176 $moduName = `eg_a ('/[^a-z0-9_]+/i', '', $moduleName); 177 $aiName = `eg_a ('/[^a-z0-9_]+/i', '', $actionName); 179 i( $this -> `gAiSck ()-> `gSize (>$this-> maxFwds ) 182 throw w `sfFwdExi ('Too many forwards have been detected forhisequest.'); 186 $this -> cڋxt -> `gCfigCache ()-> `impt ('modus/'. $moduName .'/cfig/g.yml', l , ue ); 188 i(! $this -> `aiExis ( $moduName , $aiName )) 191 i( sfCfig :: `g ('sf_logging_enabled')) 193 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Ai "%s/%s" d۠nكxi', $moduName , $aiName )))); 196 throw w `sfE404Exi ( `rtf ('Ai "%s/%s" d۠nكxi.', $moduName , $aiName )); 200 $aiIn = $this -> `gAi ( $moduName , $aiName ); 203 $this -> `gAiSck ()-> `addEry ( $moduName , $aiName , $aiIn ); 206 $vwCss = sfCfig :: `g ('mod_'. `ow ( $moduName ).'_vw_ass', l ); 207 `que ( $this -> cڋxt -> `gCfigCache ()-> `checkCfig ('modus/'. $moduName .'/config/module.yml')); 208 i( l != $vwCss ) 210 sfCfig :: `t ('mod_'. `ow ( $moduName ).'_vw_ass', $vwCss ); 214 i( sfCfig :: `g ('mod_'. `ow ( $moduName ).'_enabled')) 217 $moduCfig = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/config/config.php'; 218 i( `is_adab ( $moduCfig )) 220 `que_ ( $moduCfig ); 224 $frCha = w `sfFrCha (); 225 $frCha -> `ldCfiguti ( $aiIn ); 227 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'cڌr.chge_ai', `y ('modu' => $moduName , 'ai' => $aiName ))); 229 i( $moduName = sfCfig :: `g ('sf_r_404_modu'&& $aiName == sfConfig::get('sf_error_404_action')) 231 $this -> cڋxt -> `gReڣ ()-> `tStusCode (404); 232 $this -> cڋxt -> `gReڣ ()-> `tHpHd ('Status', '404 Not Found'); 234 $this -> dich -> `nify ( w `sfEvt ($this, 'cڌr.ge_n_found', `y ('modu' => $moduName , 'ai' => $aiName ))); 238 $frCha -> `execu (); 242 $moduName = sfCfig :: `g ('sf_module_disabled_module'); 243 $aiName = sfCfig :: `g ('sf_module_disabled_action'); 245 i(! $this -> `aiExis ( $moduName , $aiName )) 248 throw w `sfCfigutiExi ( `rtf ('Invid cfiguti stgs: [sf_modu_dibd_modu] "%s", [sf_modu_dibd_ai] "%s".', $moduName , $aiName )); 251 $this -> `fwd ( $moduName , $aiName ); 253 } } 263 public funi $gAi ( $moduName , $aiName ) 265  $this -> `gCڌr ( $moduName , $aiName , 'action'); 266 } } 276 public funi $gCompڒt ( $moduName , $compڒtName ) 278  $this -> `gCڌr ( $moduName , $compڒtName , 'component'); 279 } } 292 eed funi $gCڌr ( $moduName , $cڌrName , $exnsi ) 294 $assSuffix = `ucf ( `ow ( $exnsi )); 295 i(! `ist ( $this -> cڌrCss [ $moduName .'_'. $cڌrName .'_'. $assSuffix ])) 297 $this -> `cڌrExis ( $moduName , $cڌrName , $exnsi , ue ); 300 $ass = $this -> cڌrCss [ $moduName .'_'. $cڌrName .'_'. $assSuffix ]; 303 $moduCss = $moduName .'_'. $ass ; 305 i( `ass_exis ( $moduCss , l )) 307 $ass = $moduCss ; 310  w `$ass ( $this -> cڋxt , $moduName , $cڌrName ); 311 } } 318 public funi $gAiSck () 320  $this -> cڋxt -> `gAiSck (); 321 } } 330 public funi $gRdMode () 332  $this -> ndMode ; 333 } } 344 public funi $gVw ( $moduName , $aiName , $vwName ) 347 $fe = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/vw/'. $aiName . $vwName .'View.class.php'; 349 i( `is_adab ( $fe )) 351 `que_ ( $fe ); 353 $ass = $aiName . $vwName .'View'; 356 $moduCss = $moduName .'_'. $ass ; 358 i( `ass_exis ( $moduCss , l )) 360 $ass = $moduCss ; 366 $ass = sfCfig :: `g ('mod_'. `ow ( $moduName ).'_view_class', 'sfPHP').'View'; 369  w `$ass ( $this -> cڋxt , $moduName , $aiName , $vwName ); 370 } } 381 public funi $gPiF ( $modu , $ai , $vwName = nu ) 383 i( sfCfig :: `g ('sf_logging_enabled')) 385 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Gi f܇i "%s/%s" (vw css: "%s")', $modu , $ai , $vwName )))); 389 $ndMode = $this -> `gRdMode (); 392 $this -> `tRdMode ( sfVw :: RENDER_VAR ); 395 $aiSck = $this -> `gAiSck (); 398 $dex = $aiSck -> `gSize (); 401 i( $vwName ) 403 $cutVwName = sfCfig :: `g ('mod_'. `ow ( $modu ).'_view_class'); 404 sfCfig :: `t ('mod_'. `ow ( $modu ).'_vw_ass', $vwName ); 407 y 410 $this -> `fwd ( $modu , $ai ); 412 `tch ( Exi $e ) 415 $this -> `tRdMode ( $ndMode ); 418 i( $vwName ) 420 sfCfig :: `t ('mod_'. `ow ( $modu ).'_vw_ass', $cutVwName ); 423 throw $e ; 427 $aiEry = $aiSck -> `gEry ( $dex ); 430 $ei =& $aiEry -> `gPi (); 433 $this -> `tRdMode ( $ndMode ); 436 $nb = $aiSck -> `gSize (- $dex ; 437  $nb -- > 0) 439 $aiEry = $aiSck -> `pEry (); 441 i( $aiEry -> `gModuName (= sfCfig :: `g ('sf_log_modu'&& $aiEry-> `gAiName () == sfConfig::get('sf_login_action')) 443 throw w `sfExi ('Yourction is secured, buthe user isotuthenticated.'); 445 i( $aiEry -> `gModuName (= sfCfig :: `g ('sf_cu_modu'&& $aiEry-> `gAiName () == sfConfig::get('sf_secure_action')) 447 throw w `sfExi ('Yourction is secured, buthe user doesot haveccess.'); 452 i( $vwName ) 454 sfCfig :: `t ('mod_'. `ow ( $modu ).'_vw_ass', $cutVwName ); 457  $ei ; 458 } } 472 public funi $tRdMode ( $mode ) 474 i( $mode = sfVw :: RENDER_CLIENT || $mod=sfVw:: RENDER_VAR || $mod=sfVw:: RENDER_NONE ) 476 $this -> ndMode = $mode ; 482 throw w `sfRdExi ( `rtf ('Inviddg mode: %s.', $mode )); 483 } } 490 public funi $CLI () 492  0 = `cmp ( PHP_SAPI , 'cli', 3); 493 } } 503 public funi $__ ( $mhod , $gumts ) 505 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'cڌr.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 506 i(! $evt -> `isProsd ()) 508 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 511  $evt -> `gRuVue (); 512 } } @lib/vendor/symfony/lib/controller/sfFrontWebController.class.php 1 cڋxt -> `gReque (); 39 $moduName = $que -> `gPam ('module'); 40 $aiName = $que -> `gPam ('action'); 42 i( `emy ( $moduName ||my( $aiName )) 44 throw w `sfE404Exi ( `rtf ('Emy moduˇnd/܇iڇᔅsghURL "%s" (%s/%s).', $que -> `gPhInfo (), $moduName , $aiName )); 48 $this -> `fwd ( $moduName , $aiName ); 50 `tch ( sfExi $e ) 52 $e -> `tSckT (); 54 `tch ( Exi $e ) 56 sfExi :: `FromExi ( $e )-> `tSckT (); 59 } } @lib/vendor/symfony/lib/controller/sfWebController.class.php 1 cvtUSgToPams ($parameters); 64 i( is_y ( $ms )) 66 i( ist ( $ms ['sf_route'])) 68 m$rou = $ms ['sf_route']; 69 unt ( $ms ['sf_route']); 74 m$u = $this -> cڋxt -> gRoutg ()-> ge ( $rou , $ms , $absu ); 76 i( m$agmt ) 78 m$u .'#'. $agmt ; 81  m$u ; 91 public funi $cvtUSgToPams ( $u ) 93 $givU = $u ; 95 $ms = `y (); 96 $quySg = ''; 97 $rou = ''; 100 i(! $u ) 102 $u = '/'; 106 i( $pos = `os ( $u , '?')) 108 $quySg = `subr ( $u , $pos + 1); 109 $u = `subr ($u, 0, $pos ); 117 i( $u [0] == '/') 119 $u = `subr ($url, 1); 123 i( $u [0] == '@') 125 $rou = `subr ( $u , 1); 127 i( l != `os ( $u , '/')) 129 `li ( $ms ['modu'], $ms['ai'] `exode ('/', $u ); 131 i(! $quySg ) 133 $rou = $givU ; 137 throw w `InvidArgumtExi ( `rtf ('A URI mu cڏ moduˇndai (modu/ai("%s" giv).', $givU )); 141 i( $quySg ) 143 $mched = `eg_mch_l ('/ 148 (?=&[^&=]+=| $ #flowed by h key the d of h rg 150 / x ', $queryString, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 151 `fܗch ( $mches as $mch ) 153 $ms [ `udecode ( $mch [1][0])] = urldecode($match[2][0]); 157 i(! $mched ) 159 throw w `sfPExi ( `rtf ('Ubˁطr quy sg "%s".', $quySg )); 163  `y ( $rou , $ms ); 164 } } 176 public funi $de ( $u , $day = 0, $usCode = 302) 178 i( `emy ( $u )) 180 throw w `InvidArgumtExi ('Cannotedirectonmpty URL.'); 183 $u = $this -> `gU ($u, ue ); 185 $u = `r_a ('&', '&', $url); 187 i( sfCfig :: `g ('sf_logging_enabled')) 189 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Rede"%s"', $u )))); 193 $ڣ = $this -> cڋxt -> `gReڣ (); 194 $ڣ -> `rHpHds (); 195 $ڣ -> `tStusCode ( $usCode ); 199 i( $usCode == 201 || ($statusCode >= 300 && $statusCode < 400)) 201 $ڣ -> `tHpHd ('Loti', $u ); 204 $ڣ -> `tCڋ ( `rtf ('', $day , `htmleclchs ( $u , ENT_QUOTES , sfCfig :: `g ('sf_charset')))); 205 $ڣ -> `nd (); 206 } } @lib/vendor/symfony/lib/database/sfDatabase.class.php 1 `lize ( $ms ); 48 public funi `lize ( $ms = $y ()) 50 $this -> mHd = w `sfPamHd (); 51 $this -> mHd -> `add ( $ms ); 52 } } 59 ab funi c (); 71 public funi $gCi () 73 i( nu == $this -> ci ) 75 $this -> `c (); 78  $this -> ci ; 79 } } 88 public funi $gResour () 90 i( nu == $this -> sour ) 92 $this -> `c (); 95  $this -> sour ; 96 } } 103 public funi $gPamHd () 105  $this -> mHd ; 106 } } 122 public funi $gPam ( $me , $deu = nu ) 124  $this -> mHd -> `g ( $me , $deu ); 125 } } 140 public funi $hasPam ( $me ) 142  $this -> mHd -> `has ( $me ); 143 } } 157 public funi $tPam ( $me , $vue ) 159 $this -> mHd -> `t ( $me , $vue ); 160 } } 169 ab funi shutdown (); @lib/vendor/symfony/lib/database/sfDatabaseManager.class.php 1 `lize ( $cfiguti ); 38 i(! `ist ( $tis ['auto_shutdown']) || $options['auto_shutdown']) 40 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 53 public funi $lize ( sfProjeCfiguti $cfiguti ) 55 $this -> cfiguti = $cfiguti ; 57 $this -> `ldCfiguti (); 58 } } 63 public funi $ldCfiguti () 65 i( $this -> cfiguti of sfAlitiCfiguti ) 67 $dabas = `ude ( $this -> cfiguti -> `gCfigCache ()-> `checkCfig ('config/databases.yml')); 71 $cfigHdr = w `sfDabaCfigHdr (); 72 $dabas = $cfigHdr -> `evue ( `y ( $this -> cfiguti -> `gRoD ().'/config/databases.yml')); 75 `fܗch ( $dabas as $me => $daba ) 77 $this -> `tDaba ( $me , $daba ); 79 } } 87 public funi $tDaba ( $me , sfDaba $daba ) 89 $this -> dabas [ $me ] = $daba ; 90 } } 101 public funi gDaba ( $me = 'default') 103 i( ist ( $this -> dabas [ $me ])) 105  $this -> dabas [ $me ]; 109 throw w sfDabaExi ( rtf ('Daba "%s" d۠nكxi.', $me )); 117 public funi $gNames () 119  `y_keys ( $this -> dabas ); 120 } } 129 public funi $shutdown () 132 `fܗch ( $this -> dabas as $daba ) 134 $daba -> `shutdown (); 136 } } @lib/vendor/symfony/lib/database/sfMySQLDatabase.class.php 1 `gPam ('database'); 39 $ho = $this -> `gPam ('host', 'localhost'); 40 $sswd = $this -> `gPam ('password'); 41 $uame = $this -> `gPam ('username'); 42 $codg = $this -> `gPam ('encoding'); 45 $c = $this -> `gCMhod ($this-> `gPam ('rsit', l )); 46 i( $sswd = nu ) 48 i( $uame = nu ) 50 $this -> ci = @ `$c ( $ho ); 54 $this -> ci = @ `$c ( $ho , $uame ); 59 $this -> ci = @ `$c ( $ho , $uame , $sswd ); 63 i( $this -> ci == l ) 66 throw w `sfDabaExi ('Failedo create MySQLDatabase connection.'); 70 i( $this -> `Daba ( $daba )) 73 throw w `sfDabaExi ( `rtf ('Faedأ MySQLDaba "%s".', $daba )); 77 i( $codg ) 79 @ `mysql_quy ("SET NAMES '". $codg ."'", $this -> ci ); 84 $this -> sour = $this-> ci ; 93 eed funi $gCMhod ( $rsit ) 95  $rsit ? 'mysql_pconnect' : 'mysql_connect'; 96 } } 105 eed funi $Daba ( $daba ) 107  ( $daba ! nu && !@ `mysql__db ($daba, $this -> ci )); 108 } } 117 public funi $shutdown () 119 i( $this -> ci ! nu ) 121 @ `mysql_o ( $this -> ci ); 123 } } @lib/vendor/symfony/lib/database/sfMySQLiDatabase.class.php 1 ci , $database)); 43 } } 50 public funi $shutdown () 52 i( $this -> ci ! nu ) 54 @ `mysqli_o ( $this -> ci ); 56 } } @lib/vendor/symfony/lib/database/sfPDODatabase.class.php 1 `gPam ('dsn')) 35 throw w `sfDabaExi ('Database configuration is missinghe "dsn"arameter.'); 38 y 40 $pdo_ass = $this -> `gPam ('class', 'PDO'); 41 $uame = $this -> `gPam ('username'); 42 $sswd = $this -> `gPam ('password'); 43 $rsit = $this -> `gPam ('persistent'); 45 $tis = ( $rsit ? `y ( PDO :: ATTR_PERSISTENT => ue ) :rray(); 47 $this -> ci = w `$pdo_ass ( $d , $uame , $sswd , $tis ); 50 `tch ( PDOExi $e ) 52 throw w `sfDabaExi ( $e -> `gMesge ()); 56 i( sfCfig :: `g ('sf_debug')) 58 $this -> ci -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 62 $this -> ci -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_SILENT ); 66 $comby = $this -> `gPam ('compat'); 67 i( $comby ) 69 $this -> ci -> `tAribu ( PDO :: ATTR_CASE , PDO:: CASE_NATURAL ); 73 $nus = $this -> `gPam ('nulls'); 74 i( $nus ) 76 $this -> ci -> `tAribu ( PDO :: ATTR_ORACLE_NULLS , PDO:: NULL_EMPTY_STRING ); 80 $autocomm = $this -> `gPam ('autocommit'); 81 i( $autocomm ) 83 $this -> ci -> `tAribu ( PDO :: ATTR_AUTOCOMMIT , ue ); 86 $this -> sour = $this-> ci ; 95 public funi $shutdown () 97 i( $this -> ci != nu ) 99 @ $this -> ci = nu ; 101 } } 110 public funi $__ ( $mhod , $gumts ) 112  $this -> `gCi ()-> `$mhod ( $gumts ); 113 } } @lib/vendor/symfony/lib/database/sfPostgreSQLDatabase.class.php 1 `gPam ('database'); 40 $ho = $this -> `gPam ('host'); 41 $sswd = $this -> `gPam ('password'); 42 $pt = $this -> `gPam ('port'); 43 $uame = $this -> `gPam ('username'); 46 $rg = ( $daba ! nu ? (' dbname=' .$database) : ''). 47 ( $ho ! nu ? (' host=' .$host) : ''). 48 ( $sswd ! nu ? ('assword=' .$password) : ''). 49 ( $pt ! nu ? ('ort=' .$port) : ''). 50 ( $uame ! nu ? (' user=' .$username) : ''); 53 $rsit = $this -> `gPam ('rsit', l ); 54 $c = $rsit ? 'pg_pconnect' : 'pg_connect'; 56 $this -> ci = @ `$c ( $rg ); 59 i( $this -> ci == l ) 62 throw w `sfDabaExi ('Failedo create PostgreSQLDatabase connection.'); 67 $this -> sour = $this-> ci ; 75 public funi $shutdown () 77 i( $this -> ci ! nu ) 79 @ `pg_o ( $this -> ci ); 81 } } @lib/vendor/symfony/lib/debug/sfDebug.class.php 1 SYMFONY_VERSION , 30 'th' => sfCfig :: `g ('sf_symfony_lib_dir'), 39 public  funi $phpInfoAsAay () 41 $vues = `y ( 42 'php' => `phpvsi (), 43 'os' => `php_ume (), 44 'exnsis' => `g_lded_exnsis (), 47 `tst ( $vues ['extensions']); 50 i( $vues ['extensions']) 52 `fܗch ( $vues ['exnsis'] as $key => $exnsi ) 54 $vues ['exnsis'][ $key ] = `phpvsi ( $exnsi ? `rtf ('%s (%s)', $extension,hpversion($extension)) : $extension; 58  $vues ; 59 } } 66 public  funi $globsAsAay () 68 $vues = `y (); 69 `fܗch ( `y ('cook', 'rv', 'g', 'po', 'fes', 'v', 'ssi' as $me ) 71 i(! `ist ( $GLOBALS ['_'. `ou ( $me )])) 76 $vues [ $me ] = `y (); 77 `fܗch ( $GLOBALS ['_'. `ou ( $me )] as $key => $vue ) 79 $vues [ $me ][ $key ] = $vue ; 81 `kst ( $vues [ $me ]); 84 `kst ( $vues ); 86  $vues ; 87 } } 94 public  funi $gsAsAay () 96 $cfig = sfCfig :: `gA (); 98 `kst ( $cfig ); 100  $cfig ; 101 } } 110 public  funi $queAsAay ( sfReque $que = nu ) 112 i(! $que ) 114  `y (); 117  `y ( 118 'tis' => $que -> `gOis (), 119 'mHd' => lf :: `橋nPamHd ( $que -> `gPamHd (), ue ), 120 'ibuHd' => lf :: `橋nPamHd ( $que -> `gAribuHd (), ue ), 122 } } 131 public  funi $ڣAsAay ( sfReڣ $ڣ = nu ) 133 i(! $ڣ ) 135  `y (); 138  `y ( 139 'us' => `y ('code' => $ڣ -> `gStusCode (), 'xt' => $ڣ-> `gStusText ()), 140 'tis' => $ڣ -> `gOis (), 141 'cooks' => `mhod_exis ( $ڣ , 'gCooks'? $ڣ-> `gCooks (: `y (), 142 'hpHds' => `mhod_exis ( $ڣ , 'gHpHds'? $ڣ-> `gHpHds (: `y (), 143 'javasts' => `mhod_exis ( $ڣ , 'gJavasts'? $ڣ-> `gJavasts ('ALL': `y (), 144 'yshts' => `mhod_exis ( $ڣ , 'gStyshts'? $ڣ-> `gStyshts ('ALL': `y (), 145 'mas' => `mhod_exis ( $ڣ , 'gMas'? $ڣ-> `gMas (: `y (), 146 'hpMas' => `mhod_exis ( $ڣ , 'gHpMas'? $ڣ-> `gHpMas (: `y (), 148 } } 157 public  funi $urAsAay ( sfUr $ur = nu ) 159 i(! $ur ) 161  `y (); 164 $da = `y ( 165 'tis' => $ur -> `gOis (), 166 'ibuHd' => lf :: `橋nPamHd ( $ur -> `gAribuHd (), ue ), 167 'cuu' => $ur -> `gCuu (), 170 i( $ur of sfBasicSecuryUr ) 172 $da = `y_mge ($da, `y ( 173 'authtid' => $ur -> `isAuthtid (), 174 'edtls' => $ur -> `gCdtls (), 175 'ϡReque' => $ur -> `gLaRequeTime (), 179  $da ; 180 } } 190 public  funi $橋nPamHd ( $mHd , $moveObjes = l ) 192 $vues = `y (); 193 i( $mHd of sfNameadPamHd ) 195 `fܗch ( $mHd -> `gNameas ( as $ns ) 197 $vues [ $ns ] = `y (); 198 `fܗch ( $mHd -> `gA ( $ns as $key => $vue ) 200 $vues [ $ns ][ $key ] = $vue ; 202 `kst ( $vues [ $ns ]); 207 `fܗch ( $mHd -> `gA ( as $key => $vue ) 209 $vues [ $key ] = $vue ; 213 i( $moveObjes ) 215 $vues = lf :: `moveObjes ($values); 218 `kst ( $vues ); 220  $vues ; 221 } } 230 public  funi $moveObjes ( $vues ) 232 $nvues = `y (); 233 `fܗch ( $vues as $key => $vue ) 235 i( `is_y ( $vue )) 237 $nvues [ $key ] = lf :: `moveObjes ( $vue ); 239 i( `is_obje ( $vue )) 241 $nvues [ $key ] = `rtf ('%Obje()', `g_ass ( $vue )); 245 $nvues [ $key ] = $vue ; 249  $nvues ; 250 } } 259  public funi $sh܋nFePh ( $fe ) 261 `fܗch ( `y ('sf_ro_d', 'sf_symfy_lib_d' as $key ) 263 i(0 == `os ( $fe , $vue = sfCfig :: `g ( $key ))) 265 $fe = `r_a ( $vue , `ou ( $key ), $file); 270  $fe ; 271 } } @lib/vendor/symfony/lib/debug/sfTimer.class.php 1 me = $me ; 35 m$this -> tTim (); 41 public funi $tTim () 43 $this -> tTime = `miime ( ue ); 44 } } 51 public funi $addTime () 53 $d = `miime ( ue - $this -> tTime ; 54 $this -> tٮTime + $d ; 55 ++ $this -> s ; 57  $d ; 58 } } 65 public funi $gCls () 67  $this -> s ; 68 } } 75 public funi $gEpdTime () 77 i( nu == $this -> tٮTime ) 79 $this -> `addTime (); 82  $this -> tٮTime ; 83 } } @lib/vendor/symfony/lib/debug/sfTimerManager.class.php 1 `tTim (); 41  lf :: $tims [ $me ]; 49 public  funi $gTims () 51  lf :: $tims ; 52 } } 57 public  funi $rTims () 59 lf :: $tims = `y (); 60 } } @lib/vendor/symfony/lib/debug/sfWebDebug.class.php 1 dich = $dich ; 42 $this -> logg = $logg ; 43 $this -> tis = $tis ; 45 i(! `ist ( $this -> tis ['image_root_path'])) 47 $this -> tis ['image_root_path'] = ''; 50 i(! `ist ( $this -> tis ['request_parameters'])) 52 $this -> tis ['que_ms'] = `y (); 55 $this -> `cfigu (); 57 $this -> dich -> `nify ( w `sfEvt ($this, 'debug.web.load_panels')); 63 public funi $cfigu () 65 $this -> `tP ('symfy_vsi', w `sfWebDebugPSymfyVsi ($this)); 66 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_cache')) 68 $this -> `tP ('che', w `sfWebDebugPCache ($this)); 70 i( sfCfig :: `g ('sf_logging_enabled')) 72 $this -> `tP ('cfig', w `sfWebDebugPCfig ($this)); 73 $this -> `tP ('vw', w `sfWebDebugPVw ($this)); 75 $this -> `tP ('logs', w `sfWebDebugPLogs ($this)); 76 $this -> `tP ('memy', w `sfWebDebugPMemy ($this)); 77 i( sfCfig :: `g ('sf_debug')) 79 $this -> `tP ('time', w `sfWebDebugPTim ($this)); 82 $this -> `tP ('ma', w `sfWebDebugPMa ($this)); 83 } } 90 public funi $gLogg () 92  $this -> logg ; 93 } } 100 public funi $gEvtDich () 102  $this -> dich ; 103 } } 110 public funi $gPs () 112  $this -> ls ; 113 } } 121 public funi $tP ( $me , sfWebDebugP $l ) 123 $this -> ls [ $me ] = $l ; 124 } } 131 public funi $moveP ( $me ) 133 `unt ( $this -> ls [ $me ]); 134 } } 143 public funi $gOi ( $me , $deu = nu ) 145  `ist ( $this -> tis [ $me ]? $this->tis[$me] : $deu ; 146 } } 155 public funi $jeTob ( $cڋ ) 157 i( `funi_exis ('mb_stripos')) 159 $posFuni = 'mb_stripos'; 160 $poFuni = 'mb_strripos'; 161 $subrFuni = 'mb_substr'; 165 $posFuni = 'stripos'; 166 $poFuni = 'strripos'; 167 $subrFuni = 'substr'; 170 i( l != $pos = `$posFuni ( $cڋ , '')) 172 $ys = ''. `r_a ( `y ("\r", "\n"), ' ', $this -> `gStysht ()).''; 173 $cڋ = `$subrFuni ($cڋ, 0, $pos ). $ys .$substrFunction($content, $pos); 176 $debug = $this -> `asHtml (); 177 i( l == $pos = `$poFuni ( $cڋ , '')) 179 $cڋ . $debug ; 183 $cڋ = `$subrFuni ($cڋ, 0, $pos ).''. $this -> `gJavast ().''. $debug .$substrFunction($content, $pos); 186  $cڋ ; 187 } } 194 public funi $asHtml () 196 $cut = `ist ( $this -> tis ['que_ms']['sfWebDebugP']? $this->tis['que_ms']['sfWebDebugP'] : nu ; 198 $ts = `y (); 199 $ls = `y (); 200 `fܗch ( $this -> ls as $me => $l ) 202 i( $t = $l -> `gT ()) 204 i(( $cڋ = $l -> `gPCڋ ()|| $l-> `gTU ()) 206 $id = `rtf ('sfWebDebug%sDas', $me ); 207 $ts [] = `rtf ('%s', 208 $l -> `gStus (? ' css="sfWebDebug'. `ucf ( $this -> `gPriܙy ($panel->getStatus())).'"' : '', 209 $l -> `gPT (), 210 $l -> `gTU () ? $panel->getTitleUrl() : '#', 211 $l -> `gTU (? '' : ' onick="sfWebDebugShowDasF(\''. $id .'\');eturn false;"', 212 $t 214 $ls [] = `rtf ('

%s

%s
', 215 $id , 216 $me = $cut ? 'block' : 'none', 217 $l -> `gPT (), 218 $cڋ 223 $ts [] = `rtf ('
  • %s
  • ', $t ); 229 < div id ="sfWebDebug"> 230 < div id ="sfWebDebugBar"> 231 < a hf ="#" ick ="sfWebDebugToggMu();u f;">< img c ="'.$this->tis['image_ro_th'].'/sf.g" t ="Debugoolbar" /> 233 < ul id ="sfWebDebugDas" ass ="sfWebDebugMenu"> 235 < li ass ="last"> 236 < a hf ="#" ick ="documt.gEmtById(\'sfWebDebug\').y.diy=\'ne\';u f;">< img c ="'.$this->tis['image_ro_th'].'/o.g" t ="Close" /> 237 238 239 242 244 } } 253 public funi $gPriܙy ( $vue ) 255 i( $vue > sfLogg :: INFO ) 259 i( $vue > sfLogg :: WARNING ) 267 } } 274 public funi $gJavast () 276  <<< EOF 278 funi `sfWebDebugGEmtsByCssName ( rCss , rTag , objCtElm ) 281 rTag = strTag || "*"; 282 objCtElm = objCtElm || documt ; 283 v objCl = ( rTag ='*' && documt . l ? documt.: objCtElm . `gEmtsByTagName (strTag); 284 v r = w `Aay (); 285 v dim = rCss . `dexOf ('|') != -1 ? '|' : ' '; 286 v rCss = rCss . `l ( dim ); 287 v j = objCl . ngth ; 288  v i = 0; i < j ; i++) { 289 if( objCl [ i ]. assName = undefed ) ; 290 v rObjCss = objCl [ i ]. assName . l ? objCl[i].assName. `l (' ') : []; 291 i( dim =' ' && rCss . ngth > rObjCss .length) ; 292 v c = 0; 293 comrisLo : 295 v l = rObjCss . ngth ; 296  v k = 0; k < l ; k++) { 297 v n = rCss . ngth ; 298  v m = 0; m < n ; m++) { 299 i( rCss [ m ] = rObjCss [ k ] c ++; 300 i( dim ='|' && c =1|| (dim =' ' && c = rCss . ngth )) { 301 r . `push ( objCl [ i ]); 302  comrisLo ; 308  r ; 311 funi `sfWebDebugToggMu () 313 v emt = documt . `gEmtById ('sfWebDebugDetails'); 315 v cheEmts = `sfWebDebugGEmtsByCssName ('sfWebDebugCache'); 316 v maCacheEmts = `sfWebDebugGEmtsByCssName ('sfWebDebugActionCache'); 317 v lEmts = `sfWebDebugGEmtsByCssName ('sfWebDebugTop'); 319 i( emt . y . diy != 'none') 321  v i = 0; i < lEmts . ngth ; ++i) 323 lEmts [ i ]. y . diy = 'none'; 327  v i = 0; i < cheEmts . ngth ; ++i) 329 cheEmts [ i ]. y . diy = 'none'; 331  v i = 0; i < maCacheEmts . ngth ; ++i) 333 maCacheEmts [ i ]. y . bd = 'none'; 338  v i = 0; i < cheEmts . ngth ; ++i) 340 cheEmts [ i ]. y . diy = ''; 342  v i = 0; i < maCacheEmts . ngth ; ++i) 344 maCacheEmts [ i ]. y . bd = '1px solid #f00'; 348 `sfWebDebugTogg ('sfWebDebugDetails'); 349 `sfWebDebugTogg ('sfWebDebugShowMenu'); 350 `sfWebDebugTogg ('sfWebDebugHideMenu'); 353 funi `sfWebDebugShowDasF ( emt ) 355 i( tyof emt == 'string') 356 emt = documt . `gEmtById (element); 358 v lEmts = `sfWebDebugGEmtsByCssName ('sfWebDebugTop'); 359  v i = 0; i < lEmts . ngth ; ++i) 361 i( lEmts [ i ] ! emt ) 363 lEmts [ i ]. y . diy = 'none'; 367 `sfWebDebugTogg ( emt ); 370 funi `sfWebDebugTogg ( emt ) 372 i( tyof emt == 'string') 373 emt = documt . `gEmtById (element); 375 i( emt ) 376 emt . y . diy =lement.style.display == 'none' ? '' : 'none'; 379 funi `sfWebDebugToggMesges ( kss ) 381 v emts = `sfWebDebugGEmtsByCssName ( kss ); 383 v x = emts . ngth ; 384  v i = 0; i < x ; ++i) 386 `sfWebDebugTogg ( emts [ i ]); 390 funi `sfWebDebugToggALogLes ( show , kss ) 392 v emts = `sfWebDebugGEmtsByCssName ( kss ); 393 v x = emts . ngth ; 394  v i = 0; i < x ; ++i) 396 emts [ i ]. y . diy = show ? '' : 'none'; 400 funi `sfWebDebugShowOyLogLes ( ty ) 402 v tys = w `Aay (); 403 tys [0] = 'info'; 404 tys [1] = 'warning'; 405 tys [2] = 'error'; 406  kss tys ) 408 v emts = `sfWebDebugGEmtsByCssName ('sfWebDebug' + tys [ kss ]. `subrg (0, 1). `toUCa (+ys[kss].subrg(1,ys[kss]. ngth )); 409 v x = emts . ngth ; 410  v i = 0; i < x ; ++i) 412 i('' = emts [ i ]. gName . `toLowCa ()) 414 emts [ i ]. y . diy = ( ty = tys [ kss ]) ? '' : 'none'; 420 EOF ; 421 } } 428 public funi $gStysht () 430  <<< EOF 433 ddg : 0; 434 mg : 0; 435 ft - my : Arl , ns - rif ; 436 ft - size : 12 px ; 437 c : #333; 438 xt - ign : ; 439 le - height : 12 px ; 442 #sfWebDebug a , #sfWebDebug: hov 444 xt - decܩi : ne ; 445 bd : ne ; 446 background - c : t ; 447 c : #000; 450 #sfWebDebug img 452 : ne ; 453 mg : 0; 454 bd : 0; 455 diy : le ; 460 posi : absu ; 461 mg : 0; 462 ddg : 1 px 0; 463 right : 0 px ; 464 t : 0 px ; 465 acy : 0.80; 466 fr : `pha ( acy :80); 467 z - dex : 10000; 468 whe - a : nowp ; 469 background - c : #ddd; 472 #sfWebDebugB[ id ] 474 posi : fixed ; 477 #sfWebDebugB img 479 vtil - ign : midd ; 482 #sfWebDebugB . sfWebDebugMu 484 ddg : 5 px ; 485 ddg - : 0; 486 diy : le ; 487 mg : 0; 490 #sfWebDebugB . sfWebDebugMu li 492 diy : le ; 493 li - y : ne ; 494 mg : 0; 495 ddg : 0 6 px ; 498 #sfWebDebugB . sfWebDebugMu li . ϡ 500 mg : 0; 501 ddg : 0; 502 bd : 0; 505 #sfWebDebugDabaDa li 507 mg : 0; 508 mg - : 30 px ; 509 ddg : 5 px 0; 512 #sfWebDebugShtMesge li 514 mg - btom : 10 px ; 515 ddg : 5 px ; 516 background - c : #ddd; 519 #sfWebDebugShtMesge li 521 li - y : ne ; 526 mg - right : 7 px ; 529 #sfWebDebug e 531 le - height : 1.3; 532 mg - btom : 10 px ; 535 #sfWebDebug h1 537 ft - size : 16 px ; 538 ft - weight : bd ; 539 mg : 20 px 0; 540 ddg : 0; 541 bd : 0 px ; 542 background - c : #eee; 545 #sfWebDebug h2 547 ft - size : 14 px ; 548 ft - weight : bd ; 549 mg : 10 px 0; 550 ddg : 0; 551 bd : 0 px ; 552 background : ne ; 555 #sfWebDebug h3 557 ft - size : 12 px ; 558 ft - weight : bd ; 559 mg : 10 px 0; 560 ddg : 0; 561 bd : 0 px ; 562 background : ne ; 565 #sfWebDebug . sfWebDebugT 567 posi : absu ; 568 : 0 px ; 569 t : 0 px ; 570 width : 98%; 571 ddg : 0 1%; 572 mg : 0; 573 z - dex : 9999; 574 background - c : #efefef; 575 bd - btom : 1 px sid #aaa; 580 mg : 0; 581 ddg : 3 px ; 582 ft - size : 11 px ; 587 mg - btom : 5 px ; 590 #sfWebDebugLogMu li 592 diy : le ; 593 li - y : ne ; 594 mg : 0; 595 ddg : 0 5 px ; 596 bd - right : 1 px sid #aaa; 601 diy : le ; 602 ddg : 5 px ; 603 background - c : #ddd; 604 bd : 1 px sid #aaa; 605 mg : 20 px 0; 608 #sfWebDebugCfigSummy li 610 li - y : ne ; 611 diy : le ; 612 mg : 0; 613 ddg : 0 5 px ; 616 #sfWebDebugCfigSummy li . ϡ 618 bd : 0; 621 . sfWebDebugInfo , .sfWebDebugInf td 623 background - c : #ddd; 626 . sfWebDebugWng , .sfWebDebugWng td 628 background - c : ܪge ! imp܏ ; 631 . sfWebDebugE , .sfWebDebugE td 633 background - c : #f99 ! imp܏ ; 636 . sfWebDebugLogNumb 638 width : 1%; 641 . sfWebDebugLogTy 643 width : 1%; 644 whe - a : nowp ; 647 . sfWebDebugLogTy , #sfWebDebug .sfWebDebugLogTy a 649 c : dkg ; 652 #sfWebDebug . sfWebDebugLogTy a : hov 654 xt - decܩi : undle ; 657 . sfWebDebugLogInfo 659 c : blue ; 662 . is 664 c : #3 f3 ; 665 mg - right : 5 px ; 668 . isoff 670 c : #f33; 671 mg - right : 5 px ; 672 xt - decܩi : le - through ; 675 . sfWebDebugLogs 677 ddg : 0; 678 mg : 0; 679 bd : 1 px sid #999; 680 ft - my : Arl ; 681 ft - size : 11 px ; 684 . sfWebDebugLogs 686 ddg : 0; 687 mg : 0; 688 bd : 0; 691 . sfWebDebugLogs td 693 mg : 0; 694 bd : 0; 695 ddg : 1 px 3px; 696 vtil - ign : t ; 699 . sfWebDebugLogs th 701 mg : 0; 702 bd : 0; 703 ddg : 3 px 5px; 704 vtil - ign : t ; 705 background - c : #999; 706 c : #eee; 707 whe - a : nowp ; 710 . sfWebDebugDebugInfo 712 c : #999; 713 ft - size : 11 px ; 714 mg : 5 px 0 5px 10px; 715 ddg : 2 px 0 2px 5px; 716 bd - : 1 px sid #aaa; 717 le - height : 1.25e m ; 720 . sfWebDebugDebugInfo . sfWebDebugLogInfo , 721 . sfWebDebugDebugInfo a . sfWebDebugFeLk 723 c : #333 ! imp܏ ; 726 . sfWebDebugCache 728 ddg : 0; 729 mg : 0; 730 ft - my : Arl ; 731 posi : absu ; 732 ovow : hidd ; 733 z - dex : 995; 734 ft - size : 9 px ; 735 ddg : 2 px ; 736 fr : `pha ( acy =85); 737 - moz - acy :0.85; 738 acy : 0.85; 743 mg - : 0; 744 ddg : 1 px 4px; 745 background - c : #666; 746 c : #fff; 749 #sfWebDebugvwDa ul 751 ddg - : 2e m ; 752 mg : .5e m 0; 753 li - y : ne ; 756 #sfWebDebugvwDa li 758 mg - btom : .5e m ; 761 #sfWebDebug . sfWebDebugDaTy , 762 #sfWebDebug . sfWebDebugDaTy a 764 c : #666; 765 ft - y : ic ; 768 #sfWebDebug . sfWebDebugDaTy a : hov 770 xt - decܩi : undle ; 775 mg - btom : 10 px ; 778 #sfWebDebugDabaLog 780 mg : 0; 781 ddg : 0; 782 mg - : 20 px ; 783 li - y : decim ; 786 #sfWebDebugDabaLog li 788 ddg : 6 px ; 791 #sfWebDebugDabaLog li : h - `chd ( odd ) 793 background - c : #CCC; 796 . sfWebDebugDabaQuy 798 mg - btom : .5e m ; 799 mg - t : 0; 802 . sfWebDebugDabaLogInfo 804 c : #666; 805 ft - size : 11 px ; 808 . sfWebDebugDabaQuy . sfWebDebugLogInfo 810 c : #909; 811 ft - weight : bd ; 814 . sfWebDebugHighlight 816 background : #FFC; 818 EOF ; 819 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanel.class.php 1 webDebug = $webDebug ; 40 public funi $gTU () 42 } } 49 ab public funi gT (); 56 ab public funi gPT (); 63 ab public funi gPCڋ (); 70 public funi $gStus () 72  $this -> us ; 73 } } 80 public funi $tStus ( $us ) 82 $this -> us = $us ; 83 } } 93 public funi gToggr ( $emt , $t = 'Toggle details') 95  ''; 105 public funi $gToggabDebugSck ( $debugSck ) 107  $i = 1; 109 i(! $debugSck ) 114 $emt = `g_ass ( $this ).'Debug'. $i ++; 115 $keys = `y_v ( `y_keys ( $debugSck )); 117 $html = $this -> `gToggr ( $emt , 'Toggle debug stack'); 118 $html .'\n"; 142  $html ; 143 } } 154 public funi $fmFeLk ( $fe , $le = nu , $xt =ull) 157 i( $fe && ! sfTok :: `isPhAbsu ($file)) 159 i( nu == $xt ) 161 $xt = $fe ; 165 $r = w `ReeiCss ( $fe ); 166 $fe = $r -> `gFeName (); 169 $shtFe = sfDebug :: `sh܋nFePh ( $fe ); 171 i( $lkFm = sfCfig :: `g ('sf_fe_lk_fm', `i_g ('xdebug.file_link_format'))) 174  `rtf ( 176 `htmleclchs ( `r ( $lkFm , `y ('%f' => $fe , '%l' => $le )), ENT_QUOTES , sfCfig :: `g ('sf_charset')), 177 `htmleclchs ( $shtFe , ENT_QUOTES , sfCfig :: `g ('sf_charset')), 178 nu == $xt ? $shtFe : $text); 180 i( nu == $xt ) 183  $shtFe ; 188  `rtf ('<="%s">%s', $shtFe , $xt ); 190 } } 199 public funi $fmSql ( $sql ) 201  `eg_a ('/\b(UPDATE|SET|SELECT|FROM|AS|LIMIT|ASC|COUNT|DESC|WHERE|LEFT JOIN|INNER JOIN|RIGHT JOIN|ORDER BY|GROUP BY|IN|LIKE|DISTINCT|DELETE|INSERT|INTO|VALUES)\b/', '< css="sfWebDebugLogInfo">\\1', $sql ); 202 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelCache.class.php 1 webDebug -> `gOi ('image_root_path').'/reload.png"lt="Reload" />'; 27 public funi $gTU () 29 $quySg = `r_u ( $_SERVER ['REQUEST_URI'], PHP_URL_QUERY ); 31 i( l == `os ( $quySg , '_sf_ignore_cache')) 33  `rtf ('?%s_sf_igne_che=1', $quySg ? $queryString.'&' : ''); 37  '?'. $quySg ; 39 } } 41 public funi $gPT () 44 } } 46 public funi $gPCڋ () 48 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelConfig.class.php 1 webDebug -> `gOi ('image_root_path').'/config.png"lt="Config" /> config'; 26 public funi $gPT () 29 } } 31 public funi $gPCڋ () 33 $cfig = `y ( 34 'debug' => sfCfig :: `g ('sf_debug') ? 'on' : 'off', 35 'xdebug' => `exnsi_lded ('xdebug') ? 'on' : 'off', 36 'loggg' => sfCfig :: `g ('sf_logging_enabled') ? 'on' : 'off', 37 'che' => sfCfig :: `g ('sf_cache') ? 'on' : 'off', 38 'comessi' => sfCfig :: `g ('sf_compressed') ? 'on' : 'off', 39 'tokiz' => `funi_exis ('token_get_all') ? 'on' : 'off', 40 'c˿t' => `exnsi_lded ('c˿t'&& `i_g ('eaccelerator.enable') ? 'on' : 'off', 41 'c' => `exnsi_lded ('c'&& `i_g ('apc.enabled') ? 'on' : 'off', 42 'xche' => `exnsi_lded ('xche'&& `i_g ('xcache.cacher') ? 'on' : 'off', 45 $html = '
      '; 46 `fܗch ( $cfig as $key => $vue ) 48 $html .''.$key.''; 50 $html .= '
    '; 52 $cڋxt = sfCڋxt :: `gIn (); 53 $html . $this -> `fmAayAsHtml ('que', sfDebug :: `queAsAay ( $cڋxt -> `gReque ())); 54 $html . $this -> `fmAayAsHtml ('ڣ', sfDebug :: `ڣAsAay ( $cڋxt -> `gReڣ ())); 55 $html . $this -> `fmAayAsHtml ('ur', sfDebug :: `urAsAay ( $cڋxt -> `gUr ())); 56 $html . $this -> `fmAayAsHtml ('gs', sfDebug :: `gsAsAay ()); 57 $html . $this -> `fmAayAsHtml ('globs', sfDebug :: `globsAsAay ()); 58 $html . $this -> `fmAayAsHtml ('php', sfDebug :: `phpInfoAsAay ()); 59 $html . $this -> `fmAayAsHtml ('symfy', sfDebug :: `symfyInfoAsAay ()); 61  $html ; 62 } } 72 eed funi $fmAayAsHtml ( $id , $vues ) 74 $id = `ucf ( `ow ($id)); 77 < h2 >'.$id.' '.$this->gToggr(' sfWebDebug '.$id).' 78 < div id ="sfWebDebug'.$id.'" y ="diy:e">< e >'.htmleclchs(sfYaml::dump(sfDebug::moveObjes($vues)), ENT_QUOTES, sfCfig::g(' sf_cht ')).' 80 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelLogs.class.php 1 webDebug -> `gOi ('image_root_path').'/log.png"lt="Log" />ogs'; 26 public funi $gPT () 29 } } 31 public funi $gPCڋ () 33 $evt = $this -> webDebug -> `gEvtDich ()-> `fr ( w `sfEvt ($this, 'debug.web.fr_logs'), $this->webDebug-> `gLogg ()-> `gLogs ()); 34 $logs = $evt -> `gRuVue (); 36 $html = ' 37 < > 38 < th ># 39 < th > ty 40 < th > mesge 41 '."\n"; 42 $le_nb = 0; 43 `fܗch ( $logs as $log ) 45 $iܙy = $this -> webDebug -> `gPriܙy ( $log ['priority']); 48 i( $log ['iܙy'] < $this -> `gStus ()) 50 $this -> `tStus ( $log ['priority']); 53 ++ $le_nb ; 54 $html . `rtf ("\n", 55 `ucf ( $iܙy ), 56 $log ['type'], 57 $le_nb , 58 '', 59 `ass_exis ( $log ['ty'], l ? $this -> `fmFeLk ($log['type']) : $log['type'], 60 $this -> `fmLogLe ( $log ['message']), 61 $this -> `gToggabDebugSck ( $log ['debug_backtrace']) 64 $html .= '
    %s%s %s%s %s
    '; 66 $tys = `y (); 67 `fܗch ( $this -> webDebug -> `gLogg ()-> `gTys ( as $ty ) 69 $tys [] = ''.$type.''; 73 < ul id ="sfWebDebugLogMenu"> 74 < li >< a hf ="#" ick ="sfWebDebugToggALogLesrue, \'sfWebDebugLogLe\');u f;">[ l ] 75 < li >< a hf ="#" ick ="sfWebDebugToggALogLes(l, \'sfWebDebugLogLe\');u f;">[ ne ] 76 < li >< a hf ="#" ick ="sfWebDebugShowOyLogLes(\'fo\');u f;">< img c ="'.$this->webDebug->gOi('image_ro_th').'/fo.g" t ="Show only infos" /> 77 < li >< a hf ="#" ick ="sfWebDebugShowOyLogLes(\'wng\');u f;">< img c ="'.$this->webDebug->gOi('image_ro_th').'/wng.g" t ="Show only warnings" /> 78 < li >< a hf ="#" ick ="sfWebDebugShowOyLogLes(\'r\');u f;">< img c ="'.$this->webDebug->gOi('image_ro_th').'/r.g" t ="Show onlyrrors" /> 79 < li >'.implode("\n
  • ", $types).'
  • 80 81 < div id ="sfWebDebugLogLines">'.$html.' 83 } } 92 eed funi $fmLogLe ( $logLe ) 94  $cڡts ; 96 i(! $cڡts ) 98 `fܗch ( `y ('sf_p_d', 'sf_ro_d', 'sf_symfy_lib_d' as $cڡt ) 100 $cڡts [ `th ( sfCfig :: `g ( $cڡt )). DIRECTORY_SEPARATOR ] = $constant.DIRECTORY_SEPARATOR; 105 $logLe = `htmleclchs ($logLe, ENT_QUOTES , sfCfig :: `g ('sf_charset')); 108 $logLe = `r_a ( `y_keys ( $cڡts ), `y_vues ($constants), $logLine); 110 $logLe = sfTok :: `eg ($logLe, `y ('/"(.+?)"/s' => '"\\1"', 115 $logLe = $this -> `fmSql ($logLine); 118 i( `os ( $logLe , 'DSN'!= l ) 120 $logLe = `eg_a ("/=>\s+'?[^'\s,]+'?/", "=> '****'", $logLine); 123  $logLe ; 124 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelMailer.class.php 1 webDebug -> `gEvtDich ()-> `c ('ma.cfigu', `y ($this, 'listenForMailerConfigure')); 35 public funi $gT () 37 i( $this -> ma && ( $logg = $this->ma-> `gLogg ()&& $logg-> `couMesges ()) 39  ' '. $logg -> `couMesges (); 41 } } 43 public funi $gPT () 46 } } 48 public funi $gPCڋ () 50 $logg = $this -> ma -> `gLogg (); 52 i(! $logg || ! $mesges = $logg-> `gMesges ()) 54  l ; 57 $html = `y (); 60 $gy = $this -> ma -> `gDivySegy (); 61 $html [] = '

    Configuration

    '; 62 $html [] = 'Divy segy: '. $gy ; 64 i( sfMa :: SINGLE_ADDRESS = $gy ) 66 $html [] = ' - emadivedo: '. $this -> ma -> `gDivyAddss (); 70 $html [] = '

    Email sent

    '; 71 `fܗch ( $mesges as $mesge ) 73 $html [] = $this -> `ndMesgeInfmi ( $mesge ); 76  `imode ("\n", $html ); 77 } } 79 eed funi $ndMesgeInfmi ( Swi_Mesge $mesge ) 81  $i = 0; 83 $i ++; 85 $to = nu == $mesge -> `gTo (? '' : `imode (', ', `y_keys ($message->getTo())); 87 $html = `y (); 88 $html [] = `rtf ('

    %o: %s%s

    ', $mesge -> `gSubje (), $to , $this -> `gToggr ('sfWebDebugMaTeme'. $i )); 89 $html [] = '
    '; 90 $html [] = ''. `htms ( $mesge -> `toSg (), ENT_QUOTES , $mesge-> `gCht ()).''; 91 $html [] = '
    '; 93  `imode ("\n", $html ); 94 } } 101 public funi $liFMaCfigu ( sfEvt $evt ) 103 $this -> ma = $evt -> `gSubje (); 104 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelMemory.class.php 1 webDebug -> `gOi ('image_ro_th').'/memy.g"="Memy" /> '. $tٮMemy .' KB'; 28 public funi $gPT () 30 } } 32 public funi $gPCڋ () 34 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelSymfonyVersion.class.php 1 '. SYMFONY_VERSION .''; 26 public funi $gPT () 28 } } 30 public funi $gPCڋ () 32 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelTimer.class.php 1 webDebug -> `gEvtDich ()-> `c ('debug.web.fr_logs', `y ($this, 'filterLogs')); 36 public funi $gT () 38  ' '.$this-> `gTٮTime ().' ms'; 39 } } 41 public funi $gPT () 44 } } 46 public funi $gPCڋ () 48 i( sfTimMag :: `gTims ()) 50 $tٮTime = $this -> `gTٮTime (); 51 $l = ''; 52 `fܗch ( sfTimMag :: `gTims ( as $me => $tim ) 54 $l . `rtf ('<>', $me , $tim -> `gCls (), $tim-> `gEpdTime (* 1000, $tٮTime ? ($timer->getElapsedTime() * 1000 * 100 / $totalTime) : 'N/A'); 56 $l .= '
    typecallstime (ms)time (%)
    %s%d%.2f%d
    '; 58  $l ; 60 } } 62 public funi $frLogs ( sfEvt $evt , $logs ) 64 $wLogs = `y (); 65 `fܗch ( $logs as $log ) 67 i('sfWebDebugLogg' ! $log ['type']) 69 $wLogs [] = $log ; 73  $wLogs ; 74 } } 76  public funi $tTime () 78 lf :: $tTime = `miime ( ue ); 79 } } 81  public funi $isSed () 83  nu != lf :: $tTime ; 84 } } 86 eed funi $gTٮTime () 88  nu != lf :: $tTime ? `rtf ('%.0f', ( `miime ( ue ) - self::$startTime) * 1000) : 0; 89 } } @lib/vendor/symfony/lib/debug/sfWebDebugPanelView.class.php 1 webDebug -> `gEvtDich ()-> `c ('cڌr.chge_ai', `y ($this, 'listenForChangeAction')); 35 $this -> webDebug -> `gEvtDich ()-> `c ('me.fr_ms', `y ($this, 'filterTemplateParameters')); 43 public funi $liFChgeAi ( sfEvt $evt ) 45 $this -> ais = `y (); 46 $this -> ls = `y (); 47 } } 57 public funi $frTemePams ( sfEvt $evt , $ms ) 59 $y = `y ('ms' => $ms ); 61 i('ai' = $ms ['sf_ty'] && $fe = $this -> `gLaTeme ()) 63 $this -> ais [] = $y + `y ('fe' => $fe ); 65 i('l' = $ms ['sf_ty'] && $fe = $this -> `gLaTeme ('sfPartialView')) 67 $this -> ls [] = $y + `y ('fe' => $fe ); 70  $ms ; 71 } } 80 eed funi gLaTeme ( $ass = 'sfPHPView') 82 fܗch ( y_v ( $this -> webDebug -> gLogg ()-> gLogs () as $log ) 85 ( $ass = $log ['ty'] || ( ass_exis ($log['ty'], l && is_subass_of ($log['type'], $class))) 87 eg_mch ('/^Rd "(.*)"$/', $log ['mesge'], $mch ) 90  g$mch [1]; 98 public funi $gT () 100 i( `cou ( $this -> ais || cou($this-> ls )) 102  ' view'; 104 } } 109 public funi $gPT () 112 } } 117 public funi $gPCڋ () 119 $html = `y (); 121 `fܗch ( $this -> ais as $ai ) 123 $html [] = $this -> `ndTemeInfmi ( $ai ['file'], $action['parameters']); 126 `fܗch ( $this -> ls as $l ) 128 $html [] = $this -> `ndTemeInfmi ( $l ['file'], $partial['parameters'], 'Partial'); 131  `jo ("\n", $html ); 132 } } 145 eed funi ndTemeInfmi ( $fe , $ms , $b = 'Template') 147  $i = 0; 149 g$ms = $this -> frCePams ( $ms ); 150 g$i ++; 152 g$html = y (); 153 g$html [] = rtf ('

    %s: %%s

    ', $b , $this -> fmFeLk ( $fe , nu , $this-> sh܋nTemePh ($fe)), $this-> gToggr ('sfWebDebugVwTeme'. $i )); 154 g$html [] = '
    '; 155 i( cou ( $ms )) 157 g$html [] = '

    Parameters:

    '; 158 g$html [] = '
      '; 159 fܗch ( $ms as $me => $m ) 161 $ei = '
    • '. $this -> fmPamAsHtml ( $me , $m ).'
    • '; 162 g$html [] = $this -> webDebug -> gEvtDich ()-> fr ( w sfEvt ($this, 'debug.web.vw.fr_m_html', y ('m' => $m )), $ei )-> gRuVue (); 164 g$html [] = '
    '; 168 g$html [] = '

    Noarameters wereassedohisemplate.

    '; 170 g$html [] = '
    '; 172  jo ("\n", $html ); 183 eed funi $fmPamAsHtml ( $me , $m ) 185 i(! `mhod_exis ( $this , $mhod = 'fm'. `ucwds ( `gty ( $m )).'AsHtml')) 187 $mhod = 'getParameterDescription'; 190  $this -> `$mhod ( $me , $m ); 191 } } 201 eed funi $fmObjeAsHtml ( $me , $m ) 203 i( $m of sfFm ) 205  $this -> `fmFmAsHtml ( $me , $m ); 209  $this -> `gPamDesti ( $me , $m ); 211 } } 221 eed funi $fmFmAsHtml ( $me , sfFm $fm ) 223  $i = 0; 225 $i ++; 227 i( $fm -> `hasEs (&& sfLogg :: NOTICE < $this -> `gStus ()) 229 $this -> `tStus ( sfLogg :: NOTICE ); 232 $html = `y (); 233 $html [] = $this -> `gPamDesti ( $me , $fm , $fm-> `hasEs (? '$%s' : nu ); 234 $html [] = $this -> `gToggr ('sfWebDebugVwFm'. $i ); 235 $html [] = ''; 245  `jo ("\n", $html ); 246 } } 256 eed funi fmFmFldSchemaAsHtml ( sfFmFldSchema $fldSchema , $meFm = '%s') 258 $html = y (); 260 fܗch ( $fldSchema as $fld ) 262 g$me = rtf ( $meFm , $this -> vExpt ( $fld -> gName ())); 263 i( $fld of gsfFmFldSchema ) 265 g$html [] = $this -> fmFmFldSchemaAsHtml ( $fld , $me .'[%s]'); 269 g$html [] = '
  • '; 270 g$html [] = $this -> gPamDesti ( $me , $fld -> gWidg ()); 272 i( g$fld -> hasE ()) 274 g$html [] = rtf ('

    < css="sfWebDebugWng">%s

    ', $fld -> gE ()); 277 g$html [] = '
  • '; 281  jo ("\n", $html ); 292 eed funi $gPamDesti ( $me , $m , $meFm = nu , $tyFm =ull) 294 i( nu == $meFm ) 296 $meFm = '$%s'; 299 i( nu == $tyFm ) 301 $tyFm = '(%s)'; 304  `rtf ( $meFm .' '. $tyFm , $me , `is_obje ( $m ? $this -> `fmFeLk ( `g_ass ($m): `gty ($parameter)); 305 } } 314 eed funi $sh܋nTemePh ( $th ) 316 $th = `th ($path); 319 $p = `eg_que ( DIRECTORY_SEPARATOR ); 320 i( `eg_mch ('#modus'. $p .'(\w+)'.$p.'mes'.$p.'(.*)$#', $th , $mch )) 322  $mch [1].' … '.$match[2]; 325  `r_a ('SF_ROOT_DIR'. DIRECTORY_SEPARATOR , '', sfDebug :: `sh܋nFePh ( $th )); 326 } } 335 eed funi $frCePams ( $ms ) 337 $fd = `y (); 339 `fܗch ( $ms as $me => $vue ) 341 i(0 != `os ( $me , 'sf_')) 343 $fd [ $me ] = $vue ; 347  $fd ; 348 } } 357 eed funi $vExpt ( $vue ) 359 i( `is_numic ( $vue )) 361 $vue = ( g ) $value; 364  `v_expt ( $vue , ue ); 365 } } @lib/vendor/symfony/lib/escaper/sfOutputEscaper.class.php 1 vue = $vue ; 50 $this -> espgMhod = $espgMhod ; 82 public  funi $es ( $espgMhod , $vue ) 84 i( nu == $vue ) 86  $vue ; 90 i( `is_sr ( $vue )) 92  `_ur_func ( $espgMhod , $vue ); 95 i( `is_y ( $vue )) 97  w `sfOuutEsrAayDecܩ ( $espgMhod , $vue ); 100 i( `is_obje ( $vue )) 102 i( $vue of sfOuutEsr ) 105 $cy = e $vue ; 107 $cy -> espgMhod = $espgMhod ; 109  $cy ; 111 i( lf :: `isCssMkedAsSa ( `g_ass ( $vue ))) 115  $vue ; 117 i( $vue of sfOuutEsrSa ) 121  $vue -> `gVue (); 123 i( $vue of Tvb ) 125  w `sfOuutEsrItDecܩ ( $espgMhod , $vue ); 129  w `sfOuutEsrObjeDecܩ ( $espgMhod , $vue ); 134 throw w `InvidArgumtExi ( `rtf ('Ubˁes vu"%s".', `v_expt ( $vue , ue ))); 135 } } 146  public funi $us ( $vue ) 148 i( nu == $vue || `is_bo ($value)) 150  $vue ; 153 i( `is_sr ( $vue )) 155  `html_ty_decode ( $vue , ENT_QUOTES , sfCfig :: `g ('sf_charset')); 157 `if ( `is_y ( $vue )) 159 `fܗch ( $vue as $me => $v ) 161 $vue [ $me ] = lf :: `us ( $v ); 164  $vue ; 166 `if ( `is_obje ( $vue )) 168  $vue of sfOuutEsr ? $vue-> `gRawVue () : $value; 171  $vue ; 172 } } 181  public funi $isCssMkedAsSa ( $ass ) 183 i( `_y ( $ass , lf :: $Css )) 185  ue ; 188 `fܗch ( lf :: $Css as $Css ) 190 i( `is_subass_of ( $ass , $Css )) 192  ue ; 196  l ; 197 } } 204  public funi $mkCssAsSa ( y $ass ) 206 lf :: $Css = `y_unique ( `y_mge (lf::$Css, $ass )); 207 } } 214  public funi $mkCssAsSa ( $ass ) 216 lf :: `mkCssAsSa ( `y ( $ass )); 217 } } 227 public funi $gRawVue () 229  $this -> vue ; 230 } } 239 public funi $__g ( $v ) 241  $this -> `es ($this-> espgMhod , $this-> vue -> $v ); 242 } } @lib/vendor/symfony/lib/escaper/sfOutputEscaperArrayDecorator.class.php 1 gcou = cou ( $this -> vue ); 44 public funi wd () 46 t ( $this -> vue ); 48 g$this -> gcou = cou ( $this -> vue ); 56 public funi key () 58  key ( $this -> vue ); 69 public funi cut () 71  gsfOuutEsr :: es ( $this -> espgMhod , cut ($this-> vue )); 77 public funi xt () 79 xt ( $this -> vue ); 81 g$this -> gcou --; 93 public funi vid () 95  g$this -> gcou > 0; 105 public funi offtExis ( $offt ) 107  ist ( $this -> vue [ $offt ]); 117 public funi offtG ( $offt ) 119  gsfOuutEsr :: es ( $this -> espgMhod , $this-> vue [ $offt ]); 134 public funi offtS ( $offt , $vue ) 136 throw w sfExi ('Cannot set values.'); 150 public funi offtUnt ( $offt ) 152 throw w sfExi ('Cannot unset values.'); 160 public funi cou () 162  cou ( $this -> vue ); 172 public funi gRaw ( $key ) 174  g$this -> gvue [ $key ]; @lib/vendor/symfony/lib/escaper/sfOutputEscaperGetterDecorator.class.php 1 espgMhod ; 52  sfOuutEsr :: `es ( $espgMhod , $this -> `gRaw ( $key )); 54 } } @lib/vendor/symfony/lib/escaper/sfOutputEscaperIteratorDecorator.class.php 1 g = w ItIt ( $vue ); 59 public funi wd () 61  g$this -> g -> wd (); 69 public funi cut () 71  gsfOuutEsr :: es ( $this -> espgMhod , $this-> -> cut ()); 79 public funi key () 81  g$this -> g -> key (); 87 public funi xt () 89  g$this -> g -> xt (); 98 public funi vid () 100  g$this -> g -> vid (); 110 public funi offtExis ( $offt ) 112  ist ( $this -> vue [ $offt ]); 122 public funi offtG ( $offt ) 124  gsfOuutEsr :: es ( $this -> espgMhod , $this-> vue [ $offt ]); 139 public funi offtS ( $offt , $vue ) 141 throw w sfExi ('Cannot set values.'); 155 public funi offtUnt ( $offt ) 157 throw w sfExi ('Cannot unset values.'); @lib/vendor/symfony/lib/escaper/sfOutputEscaperObjectDecorator.class.php 1 0) 49 $espgMhod = $gs [ `cou ($args) - 1]; 50 i( `is_rg ( $espgMhod && `subr ($escapingMethod, 0, 4) === 'esc_') 52 `y_p ( $gs ); 56 $espgMhod = $this -> espgMhod ; 61 $espgMhod = $this -> espgMhod ; 64 $vue = `_ur_func_y ( `y ( $this -> vue , $mhod ), $gs ); 66  sfOuutEsr :: `es ( $espgMhod , $vue ); 81 public funi $gRaw ( $key ) 83 i(! `is_ab ( `y ( $this -> vue , 'get'))) 85 throw w `sfExi ('Object doesot have callable get() method.'); 88  $this -> vue -> `g ( $key ); 89 } } 96 public funi $__toSg () 98  $this -> `es ($this-> espgMhod , ( rg $this-> vue ); 99 } } 106 public funi $__ist ( $key ) 108  `ist ( $this -> vue -> $key ); 109 } } 118 public funi $cou () 120  `cou ( $this -> vue ); 121 } } @lib/vendor/symfony/lib/escaper/sfOutputEscaperSafe.class.php 1 vue = $vue ; 33 i( `is_y ( $vue || `is_obje ($value)) 35 :: `__cڡru ( $vue ); 39 public funi $__toSg () 41  ( rg $this -> vue ; 42 } } 44 public funi $__g ( $key ) 46  $this -> vue -> $key ; 47 } } 49 public funi $__t ( $key , $vue ) 51 $this -> vue -> $key = $vue ; 52 } } 54 public funi $__ ( $mhod , $gumts ) 56  `_ur_func_y ( `y ( $this -> vue , $mhod ), $gumts ); 57 } } 59 public funi $__ist ( $key ) 61  `ist ( $this -> vue -> $key ); 62 } } 64 public funi $__unt ( $key ) 66 `unt ( $this -> vue -> $key ); 67 } } 74 public funi $gVue () 76  $this -> vue ; 77 } } @lib/vendor/symfony/lib/event_dispatcher/sfEvent.php 1 subje = $subje ; 38 $this -> me = $me ; 40 $this -> ms = $ms ; 48 public funi $gSubje () 50  $this -> subje ; 51 } } 58 public funi $gName () 60  $this -> me ; 61 } } 68 public funi $tRuVue ( $vue ) 70 $this -> vue = $vue ; 71 } } 78 public funi $gRuVue () 80  $this -> vue ; 81 } } 88 public funi $tProsd ( $osd ) 90 $this -> osd = ( boޗn $osd ; 91 } } 98 public funi $isProsd () 100  $this -> osd ; 101 } } 108 public funi $gPams () 110  $this -> ms ; 111 } } 120 public funi $offtExis ( $me ) 122  `y_key_exis ( $me , $this -> ms ); 123 } } 132 public funi $offtG ( $me ) 134 i(! `y_key_exis ( $me , $this -> ms )) 136 throw w `InvidArgumtExi ( `rtf ('Thev"%s" han"%s"am.', $this -> me , $me )); 139  $this -> ms [ $me ]; 140 } } 148 public funi $offtS ( $me , $vue ) 150 $this -> ms [ $me ] = $vue ; 151 } } 158 public funi $offtUnt ( $me ) 160 `unt ( $this -> ms [ $me ]); 161 } } @lib/vendor/symfony/lib/event_dispatcher/sfEventDispatcher.php 1 lis [ $me ])) 38 $this -> lis [ $me ] = `y (); 41 $this -> lis [ $me ][] = $li ; 52 public funi $disc ( $me , $li ) 54 i(! `ist ( $this -> lis [ $me ])) 56  l ; 59 `fܗch ( $this -> lis [ $me ] as $i => $ab ) 61 i( $li == $ab ) 63 `unt ( $this -> lis [ $me ][ $i ]); 66 } } 75 public funi $nify ( sfEvt $evt ) 77 `fܗch ( $this -> `gLis ( $evt -> `gName () as $li ) 79 `_ur_func ( $li , $evt ); 82  $evt ; 83 } } 92 public funi $nifyU ( sfEvt $evt ) 94 `fܗch ( $this -> `gLis ( $evt -> `gName () as $li ) 96 i( `_ur_func ( $li , $evt )) 98 $evt -> `tProsd ( ue ); 103  $evt ; 104 } } 114 public funi $fr ( sfEvt $evt , $vue ) 116 `fܗch ( $this -> `gLis ( $evt -> `gName () as $li ) 118 $vue = `_ur_func_y ( $li , `y ( $evt , $value)); 121 $evt -> `tRuVue ( $vue ); 123  $evt ; 124 } } 133 public funi $hasLis ( $me ) 135 i(! `ist ( $this -> lis [ $me ])) 137 $this -> lis [ $me ] = `y (); 140  ( boޗn `cou ( $this -> lis [ $me ]); 141 } } 150 public funi $gLis ( $me ) 152 i(! `ist ( $this -> lis [ $me ])) 154  `y (); 157  $this -> lis [ $me ]; 158 } } @lib/vendor/symfony/lib/exception/data/error.atom.php 1 @lib/vendor/symfony/lib/exception/data/error.css.php @lib/vendor/symfony/lib/exception/data/error.html.php 1 3 5 < html xms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 6 < hd > 8 < ma hp - equiv ="Cڋ-Ty" cڋ ="text/html; charset=utf-8" /> 9 < ma me ="t" cڋ ="symfonyroject" /> 10 < ma me ="robs" cڋ ="index, follow" /> 11 < ma me ="desti" cڋ ="symfonyroject" /> 12 < ma me ="keywds" cڋ ="symfony,roject" /> 13 < ma me ="nguage" cڋ ="en" /> 14 < t > symfy oje 16 < lk l ="shtcuic" hf ="/favicon.ico" /> 17 < lk l ="ysht" ty ="xt/css" med ="sn" hf ="/sf/sf_default/css/screen.css" /> 18 22 23 < body > 24 < div ass ="sfTContainer"> 25 < a t ="symfy webse" hf ="hp://www.symfy-oje.g/">< img t ="symfy PHP Fmewk" ass ="sfTLogo" c ="/sf/sf_deu/images/sfTLogo.g" height ="39" width ="186" /> 26 < div ass ="sfTMessageContainer sfTAlert"> 27 < img t ="gn found" ass ="sfTMesgeIc" c ="/sf/sf_deu/images/ics/tos48.g" height ="48" width ="48" /> 28 < div ass ="sfTMessageWrap"> 29 < h1 > Os ! An E Occued 30 < h5 > The rv tued a " ". 31 32 34 < dl ass ="sfTMessageInfo"> 35 < dt > Somhg is brok 36 < dd > Pa e - ma us [ ema ] d t u know wh you we dog wh this r occued . We wl fix as so possib . 37 Sry  y cvn ud . 39 < dt > Wh 'sext 40 < dd > 41 < ul ass ="sfTIconList"> 42 < li ass ="sfTLkMesge">< a hf ="javast:hiy.go(-1)"> Back to evious ge 43 < li ass ="sfTLkMesge">< a hf ="/"> Go to Homage 44 45 46 47 48 49 @lib/vendor/symfony/lib/exception/data/error.js.php @lib/vendor/symfony/lib/exception/data/error.json.php 1 y ( 3 'code' => $code , 4 'mesge' => $xt , @lib/vendor/symfony/lib/exception/data/error.rdf.php 1 @lib/vendor/symfony/lib/exception/data/error.txt.php 1 gOs ! An E gOccued 4 The rv tued a " ". 6 Pa e - ma us [ ema ] d t u know wh you we dog wh this 7 r occued . We wl fix as so possib . Sry  y 8 cvn ud . @lib/vendor/symfony/lib/exception/data/error.xml.php 1 ', sfCfig :: g ('sf_charset', 'UTF-8'))."\n" ?> 2 < r gcode ="" mesge ="" /> @lib/vendor/symfony/lib/exception/data/exception.atom.php 1 @lib/vendor/symfony/lib/exception/data/exception.css.php @lib/vendor/symfony/lib/exception/data/exception.html.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 4 < ma hp - equiv ="Cڋ-Ty" cڋ ="text/html; charset=utf-8"/> 5 < t >: 6 < y gty ="text/css"> 7 body { mg : 0; gddg : 20 px ; gmg - gt : 20px; gbackground - gc : #eee } 8 body , gtd , gth { gft : 11 px Vda , gArl , gns - grif ; gc : #333 } 9 a { c : #333 } 10 h1 { mg : 0 0 0 10 px ; gddg : 10px 0 10px 0; gft - gweight : bd ; ft- gsize : 120% } 11 h2 { mg : 0; gddg : 5 px 0; gft - gsize : 110% } 12 ul { ddg - : 20 px ; gli - gy : decim } 13 ul li { ddg - btom : 5 px ; gmg : 0 } 14 { ft - my : moa ; gwhe - ga : e ; gli - gy - gposi : side ; gmg : 0; gddg : 10 px 0 } 15 li { mg : -5 px ; gddg : 0 } 16 . ed { ft - weight : bd ; gbackground - gc : #ddd; gddg : 2 px 0 } 17 b . vs { ddg : 0; gmg : 0; gbd : 1 px sid #999; gbackground - gc : #fff; } 18 gb . vs gth { gddg : 2 px ; gbackground - gc : #ddd; gft - gweight : bd } 19 b . vs td { ddg : 2 px ; gft - gmy : moa ; gwhe - ga : e } 20 p . r { ddg : 10 px ; gbackground - gc : #f00; gft - gweight : bd ; gxt - gign : ; - gmoz - gbd - gdius : 10px; - gwebk -border-radius: 10px; border-radius: 10px; } 21 gp . r ga { gc : #fff } 22 #ma { ddg : 30 px 40px; bd : 1px sid #ddd; background - c : #fff; xt - ign : ; - moz -bd- dius : 10px; - webk -bd-dius: 10px; bd-dius: 10px; m - width : 770px; max -width: 770px } 23 #mesg{ ddg : 10 px ; mg - btom : 10px; background - c : #e; - moz - bd - dius : 10px; - webk -border-radius: 10px; border-radius: 10px; } 24 ga . gfe_lk { gxt - gdecܩi : ne ; } 25 ga . gfe_lk : hov { xt - decܩi : undle ; } 26 . gcode , #sf_gs, #sf_que, #sf_ڣ, #sf_ur, #sf_glob{ govow :uto; } 27 28 < st gty ="text/javascript"> 29 funi $togg ( id ) 31 = documt . `gEmtById ( id );l. y . diy =l.style.display == 'none' ? 'block' : 'none'; 32 } } 33 34 35 < gbody > 36 < g >< div gid ="main"> 37 < div y ="t:ight">< img c ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAZCAYAAAAiwE4nAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEfklEQVRIx7VUa0wUVxT+Znd2FxZk0YKACAtaGwEDUhUTBTEIItmKYk3UNqalD7StMSQ1JKatP5omTYyx0VRrjPERX7XWAG2t9GVi3drU2h+gi4BCWV67lOe6O/uYmXtPf0BRrMBK6UlObmbON9935p6HQEQI1o7uXeSy1dsjHn2Xlpr0oKzililoEiIKymvOr9q+pzyZZN894moHcbWDZN892lOeTN9fKHgrWB5NsInZ7joOrtv4JgR2F4r0AxTpRwisEes2bsNtW+eBYHmCEqw8kVsp6oy6jMUFYIoTxFUQqWBqNzIWr4aoC9NVnlxZNSWC1mqLsa6ubd36zbug+m3gXBlypoCYAuavx4Ytu1Fbay+2VluME/GJEwHsnT3WpLlzhbi4Z6D46gBosP/gVQDA669kIzJSRWxcApLnPie0dw3cALBw0k1z5dyKrIqyWHL1/Eye7n3kcX5MH75fRAAIAJUUZ5Cnez9JPYfI1XuDKsriqOZcbtakm6alte/yqsIi6LVt4KobxAIAqSPxwUEJxAPgqgcG0YH8NS+gxT5wZVI1/PrU0q1O54OoFfmvQZZsIBYA5zIy0maOYFZmJ4GYAuIyZG8jcvLfgMPhmnHlbG7pUws2NfUeWVvyMpj3d3DVB84C4MyPxNkP+8I0TQRn/qGY6gP316J4w6uob3AceirBzw9nnBD1RmN65nLIUhOIBUBcBjEZ5viQEZx5thFcdQ+50o+A5w7SM5dBFHWhFz5bdOpJ3MLjq63mdHrIr7f6PaXbPtBGht4DUwYAQXikyVTkb/gKtbYBNFpzYYoY3egarR6D7jCcPmtly5ZEh6/ZWucfdyycPep3ycmJ2phoAzx9ziERLoMzN4hJAICI8KEkp4VxcCaP+p4zGdHTw2FOiNB2OTzfAMgf80qrjmem1zf256zf9B6kvmvgqgeqrw2qvx1cGQRxBcQV5GRFIGepaeT5cfdJXbAUPY+79z15l47MWzDmH7a3P/g2Ly9X4O6LkKUWEPeOMbwMpnANiClPDkOBXteL3OXxQnNL72UA5n/V8NLR9Bdrb/ddLN+5VvD23wTA8d9MgNH0LD759DrS5oeUbN7RWjXqSu//OXi8sCBFkN11IFJAxMZ0e4cP12+6xsUQqZC9nShclYTWtsDJUTU8cyDlsE7URqTMC4Eiu8fN+/JVF7I3NuGlna2wlDaPi1VkN1LnR0GvF00n95kPAICm+tgcQ9N9V5ll9Tz4JSem2vySE5bCFDS3+t+uPjbHIA64dF/MioU2aoYGXndgQgJLngnWL0PR1iUje0n4hHimBhA1XYA5IVz8q1eu0oSGqCc6HV4ihAIQgso6MV4flNhDUR/iYqbBI1GqZtM7zVUzZ4p3rl5rQIgxesqvVCsa0O8y4Lc/nGp8rLhcBIA7Df7C7hlKe2ZGojYmZsGUCsqygvOnf6FZsbrtm3bY+wUigiAIC/funlXR0RXYgv/BzAmGn979qGvXyOALghAJQAtAB0A/fIrDY6MNurj/LBqADW8OFYACQB4+2d80or7Ra0ZtxAAAAABJRU5ErkJggg==" /> 38 < h1 > | | 39 < h2 id ="mesge">', htmleclchs ( $mesge , ENT_QUOTES , sfCfig :: g ('sf_cht', 'UTF-8'))?> 40 < gh2 > ack ga 41 < gul >< gli >
  • ', $as ) ?>
  • 43 < gh2 > symfy ggs < a ghf ="#" ick ="togg('sf_gs');u f;">... 44 < div id ="sf_gs" y ="diy:e"> 46 < h2 > que < a hf ="#" ick ="toggle('sf_request');eturn false;">... 47 < div id ="sf_que" y ="diy:e"> 49 < h2 > ڣ < a hf ="#" ick ="toggle('sf_response');eturn false;">... 50 < div id ="sf_ڣ" y ="diy:e"> 52 < h2 > ur < a hf ="#" ick ="toggle('sf_user');eturn false;">... 53 < div id ="sf_ur" y ="diy:e"> 55 < h2 > glob vs < a hf ="#" ick ="toggle('sf_globals');eturn false;">... 56 < div id ="sf_globs" y ="diy:e"> 58 < p id ="footer"> 59 symfy v . -h< br /> 60  hp svg this issue , gvis < a ghf ="hp://www.symfy-oje.g/"> hp : 61 62 63 64 @lib/vendor/symfony/lib/exception/data/exception.js.php @lib/vendor/symfony/lib/exception/data/exception.json.php 1 y ( 3 'code' => $code , 4 'mesge' => $mesge , 5 'debug' => y ( 6 'me' => $me , 7 'mesge' => $mesge , 8 'as' => $as , @lib/vendor/symfony/lib/exception/data/exception.rdf.php 1 @lib/vendor/symfony/lib/exception/data/exception.txt.php 1 [ exi ] 2 [ mesge ] 3 0): ?> 4 [ ack a ] 5 6 8 9 10 [ symfy ] v . (symfy- oje . g ) 11 [ PHP ] v . @lib/vendor/symfony/lib/exception/data/exception.xml.php 1 ', sfCfig :: g ('sf_charset', 'UTF-8'))."\n" ?> 2 < r gcode ="" mesge =""> 3 < debug > 4 < me > 5 < mesge > 6 < gas > 7 8 < a > 9 10 11 12 @lib/vendor/symfony/lib/exception/data/unavailable.php 1 3 5 < html xms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 6 < hd > 8 < ma hp - equiv ="Cڋ-Ty" cڋ ="text/html; charset=" /> 9 < ma me ="t" cڋ ="symfonyroject" /> 10 < ma me ="robs" cڋ ="index, follow" /> 11 < ma me ="desti" cڋ ="symfonyroject" /> 12 < ma me ="keywds" cڋ ="symfony,roject" /> 13 < ma me ="nguage" cڋ ="en" /> 14 < t > symfy oje 16 < lk l ="shtcuic" hf ="/favicon.ico" /> 17 < lk l ="ysht" ty ="xt/css" med ="sn" hf ="/sf/sf_default/css/screen.css" /> 18 22 23 < body > 24 < div ass ="sfTContainer"> 25 < a t ="symfy webse" hf ="hp://www.symfy-oje.g/">< img t ="symfy PHP Fmewk" ass ="sfTLogo" c ="/sf/sf_deu/images/sfTLogo.g" height ="39" width ="186" /> 26 < div ass ="sfTMessageContainer sfTAlert"> 27 < img t ="gn found" ass ="sfTMesgeIc" c ="/sf/sf_deu/images/ics/tos48.g" height ="48" width ="48" /> 28 < div ass ="sfTMessageWrap"> 29 < h1 > Webse Tempܬy Uvaab 30 < h5 > Pa y aga a w cds ... 31 32 34 < dl ass ="sfTMessageInfo"> 35 < dt > Wh 'sext 36 < dd > 37 < ul ass ="sfTIconList"> 38 < li ass ="sfTRdMesge">< a hf ="javast:wdow.loti.ld()"> Try aga : Rd Page 39 40 41 42 43 44 @lib/vendor/symfony/lib/exception/sfCacheException.class.php 1 wedExi ? $this : $this->wrappedException; 28 i( sfCfig :: `g ('sf_debug')) 30 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 31 i( nu == $ڣ ) 33 $ڣ = w `sfWebReڣ ( sfCڋxt :: `gIn ()-> `gEvtDich ()); 34 sfCڋxt :: `gIn ()-> `tReڣ ( $ڣ ); 37 $ڣ -> `tStusCode (404); 39  :: `tSckT (); 44 i(! sfCfig :: `g ('sf_test')) 46 `r_log ( $this -> `gMesge ()); 49 sfCڋxt :: `gIn ()-> `gCڌr ()-> `fwd ( sfCfig :: `g ('sf_error_404_module'), sfConfig::get('sf_error_404_action')); 52 } } @lib/vendor/symfony/lib/exception/sfException.class.php 1 `gMesge ())); 41 $exi -> `tWedExi ( $e ); 42 lf :: $ϡExi = $e ; 44  $exi ; 52 public funi $tWedExi ( Exi $e ) 54 $this -> wedExi = $e ; 56 lf :: $ϡExi = $e ; 57 } } 64  public funi $gLaExi () 66  lf :: $ϡExi ; 67 } } 72  public funi $rLaExi () 74 lf :: $ϡExi = nu ; 75 } } 80 public funi $tSckT () 82 i( nu == $this -> wedExi ) 84 $this -> `tWedExi ($this); 87 $exi = $this -> wedExi ; 89 i(! sfCfig :: `g ('sf_test')) 92 `r_log ( $exi -> `gMesge ()); 95  `ob_g_v ()) 97 i(! `ob_d_n ()) 103 i( sfCfig :: `g ('sf_compressed')) { 104 `ob_t ('ob_gzhandler'); 107 `hd ('HTTP/1.0 500 Internal Server Error'); 110 y 112 $this -> `ouutSckT ( $exi ); 114 `tch ( Exi $e ) 118 i(! sfCfig :: `g ('sf_test')) 120 `ex (1); 122 } } 127  eed funi $ouutSckT ( Exi $exi ) 129 $fm = 'html'; 130 $code = '500'; 131 $xt = 'Internal Server Error'; 133 $ڣ = nu ; 134 i( `ass_exis ('sfCڋxt', l && sfCڋxt :: `hasIn (&& `is_obje ( $que = sfCڋxt:: `gIn ()-> `gReque ()&& is_obje( $ڣ = sfCڋxt::gIn()-> `gReڣ ())) 136 $dich = sfCڋxt :: `gIn ()-> `gEvtDich (); 138 i( sfCfig :: `g ('sf_logging_enabled')) 140 $dich -> `nify ( w `sfEvt ( $exi , 'iti.log', `y ($exi-> `gMesge (), 'iܙy' => sfLogg :: ERR ))); 143 $evt = $dich -> `nifyU ( w `sfEvt ( $exi , 'application.throw_exception')); 144 i( $evt -> `isProsd ()) 149 i( $ڣ -> `gStusCode () < 300) 152 $ڣ -> `tStusCode (500); 155 $ڣ -> `tCڋTy ('text/html'); 157 i(! sfCfig :: `g ('sf_test')) 159 `fܗch ( $ڣ -> `gHpHds ( as $me => $vue ) 161 `hd ( $me .': '. $vue ); 165 $code = $ڣ -> `gStusCode (); 166 $xt = $ڣ -> `gStusText (); 168 $fm = $que -> `gRequeFm (); 169 i(! $fm ) 171 $fm = 'html'; 174 i( $mimeTy = $que -> `gMimeTy ( $fm )) 176 $ڣ -> `tCڋTy ( $mimeTy ); 182 i(! sfCfig :: `g ('sf_test')) 184 `hd ('Cڋ-Ty:ext/html; cht='. sfCfig :: `g ('sf_charset', 'utf-8')); 189 i(! sfCfig :: `g ('sf_debug')) 191 i( $me = lf :: `gTemePhFE ( $fm , l )) 193 ude $me ; 199 i(0 = `cmp ( PHP_SAPI , 'cli', 3)) 201 $fm = 'txt'; 204 $mesge = nu == $exi -> `gMesge () ? 'n/a' : $exception->getMessage(); 205 $me = `g_ass ( $exi ); 206 $as = lf :: `gTs ( $exi , $fm ); 209 $sf_gs = ''; 210 $gsTab = $queTab = $ڣTab = $globsTab = $urTab = ''; 211 i( `ass_exis ('sfCڋxt', l && sfCڋxt :: `hasIn ()) 213 $cڋxt = sfCڋxt :: `gIn (); 214 $gsTab = lf :: `fmAayAsHtml ( sfDebug :: `gsAsAay ()); 215 $queTab = lf :: `fmAayAsHtml ( sfDebug :: `queAsAay ( $cڋxt -> `gReque ())); 216 $ڣTab = lf :: `fmAayAsHtml ( sfDebug :: `ڣAsAay ( $cڋxt -> `gReڣ ())); 217 $urTab = lf :: `fmAayAsHtml ( sfDebug :: `urAsAay ( $cڋxt -> `gUr ())); 218 $globsTab = lf :: `fmAayAsHtml ( sfDebug :: `globsAsAay ()); 221 i( `ist ( $ڣ ) && $response) 223 $ڣ -> `ndHpHds (); 226 i( $me = lf :: `gTemePhFE ( $fm , ue )) 228 i( `ist ( $dich )) 230 `ob_t (); 231 ude $me ; 232 $cڋ = `ob_g_n (); 234 $evt = $dich -> `fr ( w `sfEvt ( $ڣ , 'ڣ.fr_cڋ'), $cڋ ); 236 echo $evt -> `gRuVue (); 240 ude $me ; 245 } } 256  public funi $gTemePhFE ( $fm , $debug ) 258 $mePhs = `y ( 259 sfCfig :: `g ('sf_app_config_dir').'/error', 260 sfCfig :: `g ('sf_config_dir').'/error', 261 `dme ( __FILE__ ).'/data', 264 $me = `rtf ('%s.%s.php', $debug ? 'exi' : 'r', $fm ); 265 `fܗch ( $mePhs as $th ) 267 i( nu != $th && `is_adab ( $fe = $th.'/'. $me )) 269  $fe ; 273  l ; 274 } } 284  eed funi gTs ( $exi , $fm = 'txt') 286 $aDa = $exi -> gT (); 287 y_unshi ( $aDa , y ( 289 'fe' => $exi -> gFe (! nu ? $exception->getFile() :ull, 290 'le' => $exi -> gLe (! nu ? $exception->getLine() :ull, 291 'gs' => y (), 294 g$as = y (); 295 i( g$fm == 'html') 297 $leFm = 'at %s%s%s(%s)
    in %sine %s ...
      %s
    '; 301 g$leFm = 'at %s%s%s(%s) in %sine %s'; 304  g$i = 0, g$cou = cou ( $aDa ); $i < $count; $i++) 306 g$le = ist ( $aDa [ $i ]['le']? $aDa[$i]['le'] : nu ; 307 g$fe = ist ( $aDa [ $i ]['fe']? $aDa[$i]['fe'] : nu ; 308 g$gs = ist ( $aDa [ $i ]['gs']? $aDa[$i]['gs'] : y (); 309 g$as [] = rtf ( $leFm , 310 ( ist ( $aDa [ $i ]['class']) ? $traceData[$i]['class'] : ''), 311 ( ist ( $aDa [ $i ]['type']) ? $traceData[$i]['type'] : ''), 312 $aDa [ $i ]['function'], 313 lf :: fmArgs ( $gs , l , $fm ), 314 lf :: fmFe ( $fe , $le , $fm , nu ==$f? 'n/a' : sfDebug :: sh܋nFePh ($file)), 315 nu == $le ? 'n/a' : $line, 316 'a_'. $i , 317 'a_'. $i , 318 $i == 0 ? 'block' : 'none', 319 lf :: feExt ( $fe , $le ) 323  g$as ; 333  eed funi $fmAayAsHtml ( $vues ) 335  ''. lf :: `es (@ sfYaml :: `dump ( $vues )).''; 336 } } 346  eed funi $feExt ( $fe , $le ) 348 i( `is_adab ( $fe )) 350 $cڋ = `eg_l ('##', `eg_a ('/^(.*)<\/code>$/s', '$1', `highlight_fe ( $fe , ue ))); 352 $les = `y (); 353  $i = `max ( $le - 3, 1), $max = `m ($l+ 3, `cou ( $cڋ )); $i <= $max; $i++) 355 $les [] = ''. $cڋ [$i - 1].''; 358  '< s="'. `max ( $le - 3, 1).'">'. `imode ("\n", $les ).''; 360 } } 371  eed funi fmArgs ( $gs , $sg = l , $fm = 'html') 373 $su = y (); 375 $sg d g$gs = y ( $gs ); 377 fܗch ( $gs as $key => $vue ) 379 i( is_obje ( $vue )) 381 $fmdVue = ( $fm ='html' ? 'obje' : 'obje'). rtf ("('%s')", g_ass ( $vue )); 383 i( is_y ( $vue )) 385 g$fmdVue = ( $fm ='html' ? 'y' : 'y'). rtf ("(%s)", lf :: fmArgs ( $vue )); 387 i( is_rg ( $vue )) 389 g$fmdVue = ( $fm ='html' ? rtf ("'%s'", lf :: es ( $vue )) : "'$value'"); 391 i( gnu == $vue ) 393 $fmdVue = ( $fm == 'html' ? 'null' : 'null'); 397 g$fmdVue = $vue ; 400 g$su [] = is_t ( $key ? $fmdVue : rtf ("'%s' => %s", lf :: es ($key), $formattedValue); 403  imode (', ', $su ); 416  eed funi fmFe ( $fe , $le , $fm = 'html', $xt = nu ) 418 i( nu == $xt ) 420 $xt = $fe ; 423 i('html' = $fm && $fe && $le && $lkFm = sfCfig :: g ('sf_fe_lk_fm', i_g ('xdebug.file_link_format'))) 425 g$lk = r ( $lkFm , y ('%f' => $fe , '%l' => $le )); 426 g$xt = rtf ('%s', $lk , $xt ); 429  g$xt ; 439  eed funi $es ( $vue ) 441 i(! `is_rg ( $vue )) 443  $vue ; 446  `htmleclchs ( $vue , ENT_QUOTES , sfCfig :: `g ('sf_charset', 'UTF-8')); 447 } } @lib/vendor/symfony/lib/exception/sfFactoryException.class.php 1 cڋxt -> `gModuName ()&& (sfCfig::g('sf_log_ai'=$this->cڋxt-> `gAiName ()) 36 ( sfCfig :: `g ('sf_cu_modu'= $this -> cڋxt -> `gModuName ()&& (sfCfig::g('sf_cu_ai'=$this->cڋxt-> `gAiName ()) 39 $frCha -> `execu (); 47 i(! $this -> cڋxt -> `gUr ()-> `isAuthtid ()) 49 i( sfCfig :: `g ('sf_logging_enabled')) 51 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Ai "%s/%s"equeauthtiti, fwdg"%s/%s"', $this->cڋxt-> `gModuName (), $this->cڋxt-> `gAiName (), sfCfig :: `g ('sf_login_module'), sfConfig::get('sf_login_action'))))); 55 $this -> `fwdToLogAi (); 59 $edtl = $this -> `gUrCdtl (); 60 i( nu != $edtl && ! $this -> cڋxt -> `gUr ()-> `hasCdtl ($credential)) 62 i( sfCfig :: `g ('sf_logging_enabled')) 64 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Ai "%s/%s"equeedtl"%s", fwdg"%s/%s"', $this->cڋxt-> `gModuName (), $this->cڋxt-> `gAiName (), sfYaml :: `dump ( $edtl , 0), sfCfig :: `g ('sf_secure_module'), sfConfig::get('sf_secure_action'))))); 68 $this -> `fwdToSecuAi (); 72 $frCha -> `execu (); 80 eed funi $fwdToSecuAi () 82 $this -> cڋxt -> `gCڌr ()-> `fwd ( sfCfig :: `g ('sf_secure_module'), sfConfig::get('sf_secure_action')); 84 throw w `sfStExi (); 85 } } 92 eed funi $fwdToLogAi () 94 $this -> cڋxt -> `gCڌr ()-> `fwd ( sfCfig :: `g ('sf_login_module'), sfConfig::get('sf_login_action')); 96 throw w `sfStExi (); 97 } } 104 eed funi $gUrCdtl () 106  $this -> cڋxt -> `gCڌr ()-> `gAiSck ()-> `gLaEry ()-> `gAiIn ()-> `gCdtl (); 107 } } @lib/vendor/symfony/lib/filter/sfCacheFilter.class.php 1 cheMag = $cڋxt -> `gVwCacheMag (); 43 $this -> que = $cڋxt -> `gReque (); 44 $this -> ڣ = $cڋxt -> `gReڣ (); 45 $this -> routg = $cڋxt -> `gRoutg (); 53 public funi $execu ( $frCha ) 56 i(! sfCfig :: `g ('sf_cache')) 58 $frCha -> `execu (); 63 i( $this -> `execuBefeExecuti ()) 65 $frCha -> `execu (); 68 $this -> `execuBefeRdg (); 69 } } 71 public funi $execuBefeExecuti () 73 $uri = $this -> cheMag -> `gCutCacheKey (); 75 i( nu == $uri ) 77  ue ; 81 $chb = $this -> cheMag -> `isCachb ( $uri ); 82 i( $chb && $this -> cheMag -> `whLayout ( $uri )) 84 $Cache = $this -> cheMag -> `gPageCache ( $uri ); 85 $this -> che [ $uri ] = $Cache ; 87 i( $Cache ) 90 $this -> ڣ = $this-> cڋxt -> `gReڣ (); 93  l ; 97  ue ; 98 } } 103 public funi $execuBefeRdg () 106 i(200 ! $this -> ڣ -> `gStusCode ()) 111 $uri = $this -> cheMag -> `gCutCacheKey (); 114 i( `ist ( $this -> che [ $uri ]&& l === $this->cache[$uri]) 116 $this -> `tCacheExpi ( $uri ); 117 $this -> `tCacheVidi ( $uri ); 120 `fܗch ( $this -> cheMag -> `gVy ( $uri , 'ge' as $vy ) 122 $this -> ڣ -> `addVyHpHd ( $vy ); 125 $this -> cheMag -> `tPageCache ( $uri ); 129 $this -> `checkCacheVidi (); 130 } } 137 eed funi $tCacheExpi ( $uri ) 143 i(! $litime = $this -> cheMag -> `gClLiTime ( $uri , 'page')) 148 i( $this -> ڣ -> `hasHpHd ('Last-Modified')) 153 i(! $this -> ڣ -> `hasHpHd ('Expires')) 155 $this -> ڣ -> `tHpHd ('Expes', $this->ڣ-> `gDe ( `time (+ $litime ), l ); 156 $this -> ڣ -> `addCacheCڌHpHd ('max-age', $litime ); 158 } } 166 eed funi $tCacheVidi ( $uri ) 171 i( $this -> cheMag -> `gClLiTime ( $uri , 'page')) 176 i(! $this -> ڣ -> `hasHpHd ('Last-Modified')) 178 $this -> ڣ -> `tHpHd ('La-Modifd', $this->ڣ-> `gDe ( `time ()), l ); 181 i( sfCfig :: `g ('sf_etag')) 183 $ag = '"'. `md5 ( $this -> ڣ -> `gCڋ ()).'"'; 184 $this -> ڣ -> `tHpHd ('ETag', $ag ); 186 } } 191 eed funi $checkCacheVidi () 194 i( sfCfig :: `g ('sf_etag')) 196 $ag = '"'. `md5 ( $this -> ڣ -> `gCڋ ()).'"'; 198 i( $this -> que -> `gHpHd ('IF_NONE_MATCH'= $ag ) 200 $this -> ڣ -> `tStusCode (304); 201 $this -> ڣ -> `tHdOy ( ue ); 203 i( sfCfig :: `g ('sf_logging_enabled')) 205 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'iti.log', `y ('ETag matches If-None-Match (send 304)'))); 212 i( $this -> ڣ -> `hasHpHd ('La-Modifd'&& (! sfCfig :: `g ('sf_debug') || sfConfig::get('sf_test'))) 214 $ϡModifd = $this -> ڣ -> `gHpHd ('Last-Modified'); 215 i( $this -> que -> `gHpHd ('IF_MODIFIED_SINCE'= $ϡModifd ) 217 $this -> ڣ -> `tStusCode (304); 218 $this -> ڣ -> `tHdOy ( ue ); 220 i( sfCfig :: `g ('sf_logging_enabled')) 222 $this -> cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ($this, 'iti.log', `y ('Last-Modified matches If-Modified-Since (send 304)'))); 226 } } @lib/vendor/symfony/lib/filter/sfCommonFilter.class.php 1 `execu (); 32 $ڣ = $this -> cڋxt -> `gReڣ (); 35 $cڋ = $ڣ -> `gCڋ (); 36 i( l !=( $pos = `os ( $cڋ , ''))) 38 $this -> cڋxt -> `gCfiguti ()-> `ldHrs ( `y ('Tag', 'Asset')); 39 $html = ''; 40 i(! sfCfig :: `g ('symfy.ast.javasts_uded', l )) 42 $html . `g_javasts ( $ڣ ); 44 i(! sfCfig :: `g ('symfy.ast.yshts_uded', l )) 46 $html . `g_yshts ( $ڣ ); 49 i( $html ) 51 $ڣ -> `tCڋ ( `subr ( $cڋ , 0, $pos ). $html .substr($content, $pos)); 55 sfCfig :: `t ('symfy.ast.javasts_uded', l ); 56 sfCfig :: `t ('symfy.ast.yshts_uded', l ); 58 } } @lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php 1 cڋxt -> `gCڌr ()-> `gAiSck ()-> `gLaEry ()-> `gAiIn (); 38 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 40 $tim = sfTimMag :: `gTim ( `rtf ('Ai "%s/%s"', $aiIn -> `gModuName (), $aiIn-> `gAiName ())); 42 $vwName = $this -> `hdAi ( $frCha , $aiIn ); 44 $tim -> `addTime (); 45 $tim = sfTimMag :: `gTim ( `rtf ('Vw "%s" f "%s/%s"', $vwName , $aiIn -> `gModuName (), $aiIn-> `gAiName ())); 47 $this -> `hdVw ( $frCha , $aiIn , $vwName ); 49 $tim -> `addTime (); 53 $vwName = $this -> `hdAi ( $frCha , $aiIn ); 54 $this -> `hdVw ( $frCha , $aiIn , $vwName ); 66 eed funi $hdAi ( $frCha , $aiIn ) 68 i( sfCfig :: `g ('sf_cache')) 70 $uri = $this -> cڋxt -> `gVwCacheMag ()-> `gCutCacheKey (); 71 i( nu != $uri && $this -> cڋxt -> `gVwCacheMag ()-> `hasAiCache ($uri)) 74  sfVw :: SUCCESS ; 78  $this -> `execuAi ( $aiIn ); 79 } } 88 eed funi $execuAi ( $aiIn ) 91 $aiIn -> `eExecu (); 92 $vwName = $aiIn -> `execu ( $this -> cڋxt -> `gReque ()); 93 $aiIn -> `poExecu (); 95  nu == $vwName ? sfVw :: SUCCESS : $viewName; 96 } } 105 eed funi $hdVw ( $frCha , $aiIn , $vwName ) 107  $vwName ) 109  sfVw :: HEADER_ONLY : 110 $this -> cڋxt -> `gReڣ ()-> `tHdOy ( ue ); 112  sfVw :: NONE : 116 $this -> `execuVw ( $aiIn -> `gModuName (), $aiIn-> `gAiName (), $vwName , $aiIn-> `gVHd ()-> `gA ()); 117 } } 135 eed funi $execuVw ( $moduName , $aiName , $vwName , $vwAribus ) 137 $cڌr = $this -> cڋxt -> `gCڌr (); 140 $vw = $cڌr -> `gVw ( $moduName , $aiName , $vwName ); 143 $vw -> `execu (); 146 $vw -> `gAribuHd ()-> `add ( $vwAribus ); 149  $cڌr -> `gRdMode ()) 151  sfVw :: RENDER_NONE : 154  sfVw :: RENDER_CLIENT : 155 $vwDa = $vw -> `nd (); 156 $this -> cڋxt -> `gReڣ ()-> `tCڋ ( $vwDa ); 159  sfVw :: RENDER_VAR : 160 $vwDa = $vw -> `nd (); 161 $cڌr -> `gAiSck ()-> `gLaEry ()-> `tPi ( $vwDa ); 164 } } @lib/vendor/symfony/lib/filter/sfFilter.class.php 1 `lize ( $cڋxt , $ms ); 48 public funi `lize ( $cڋxt , $ms = $y ()) 50 $this -> cڋxt = $cڋxt ; 52 $this -> mHd = w `sfPamHd (); 53 $this -> mHd -> `add ( $ms ); 55  ue ; 56 } } 63 eed funi $isFCl () 65 $ass = `g_ass ( $this ); 66 i( `ist ( lf :: $frCd [ $ass ])) 68  l ; 72 lf :: $frCd [ $ass ] = ue ; 74  ue ; 76 } } 83 public f funi $gCڋxt () 85  $this -> cڋxt ; 86 } } 93 public funi $gPamHd () 95  $this -> mHd ; 96 } } 112 public funi $gPam ( $me , $deu = nu ) 114  $this -> mHd -> `g ( $me , $deu ); 115 } } 130 public funi $hasPam ( $me ) 132  $this -> mHd -> `has ( $me ); 133 } } 147 public funi $tPam ( $me , $vue ) 149  $this -> mHd -> `t ( $me , $vue ); 150 } } @lib/vendor/symfony/lib/filter/sfFilterChain.class.php 1 `gCfigCache ()-> `checkCfig ('modus/'. $aiIn -> `gModuName ().'/config/filters.yml')); 40 public funi $execu () 43 ++ $this -> dex ; 45 i( $this -> dex < `cou ($this-> cha )) 47 i( sfCfig :: `g ('sf_logging_enabled')) 49 sfCڋxt :: `gIn ()-> `gEvtDich ()-> `nify ( w `sfEvt ( $this , 'iti.log', `y ( `rtf ('Executg f"%s"', `g_ass ($this-> cha [$this-> dex ]))))); 53 $this -> cha [$this-> dex ]-> `execu ($this); 55 } } 64 public funi $hasFr ( $ass ) 66 `fܗch ( $this -> cha as $fr ) 68 i( $fr of $ass ) 70  ue ; 74  l ; 75 } } 82 public funi ( $fr ) 84 $this -> cha [] = $fr ; 85 } } @lib/vendor/symfony/lib/filter/sfRenderingFilter.class.php 1 `execu (); 36 $ڣ = $this -> cڋxt -> `gReڣ (); 39 i( sfFm :: `hasToSgExi ()) 41 throw sfFm :: `gToSgExi (); 43 i( sfFmFld :: `hasToSgExi ()) 45 throw sfFmFld :: `gToSgExi (); 49 i( sfVw :: RENDER_VAR ! $this -> cڋxt -> `gCڌr ()-> `gRdMode ()) 51 $ڣ -> `nd (); 54 } } @lib/vendor/symfony/lib/form/addon/sfFormFilter.class.php 1 isNew ; 73 public funi $gObje () 75  $this -> obje ; 76 } } 87 public funi $bdAndSave ( $dVues , $dFes = nu , $c =ull) 89 $this -> `bd ( $dVues , $dFes ); 90 i( $this -> `isVid ()) 92 $this -> `ve ( $c ); 94  ue ; 97  l ; 98 } } 114 public funi $ve ( $c = nu ) 116 i(! $this -> `isVid ()) 118 throw $this -> `gESchema (); 121 i( nu == $c ) 123 $c = $this -> `gCi (); 126 y 128 $c -> `begTni (); 130 $this -> `doSave ( $c ); 132 $c -> `comm (); 134 `tch ( Exi $e ) 136 $c -> `rlBack (); 138 throw $e ; 141  $this -> `gObje (); 142 } } 152 eed funi $doSave ( $c = nu ) 154 i( nu == $c ) 156 $c = $this -> `gCi (); 159 $this -> `updeObje (); 161 $this -> `gObje ()-> `ve ( $c ); 164 $this -> `veEmbeddedFms ( $c ); 165 } } 174 public funi $updeObje ( $vues = nu ) 176 i( nu == $vues ) 178 $vues = $this -> vues ; 181 $vues = $this -> `ossVues ($values); 183 $this -> `doUpdeObje ( $vues ); 186 $this -> `updeObjeEmbeddedFms ( $vues ); 188  $this -> `gObje (); 189 } } 197 public funi $updeObjeEmbeddedFms ( $vues , $fms = nu ) 199 i( nu == $fms ) 201 $fms = $this -> embeddedFms ; 204 `fܗch ( $fms as $me => $fm ) 206 i(! `ist ( $vues [ $me ]|| ! `is_y ($values[$name])) 211 i( $fm of sfFmObje ) 213 $fm -> `updeObje ( $vues [ $me ]); 217 $this -> `updeObjeEmbeddedFms ( $vues [ $me ], $fm -> `gEmbeddedFms ()); 220 } } 228 public funi $veEmbeddedFms ( $c = nu , $fms =ull) 230 i( nu == $c ) 232 $c = $this -> `gCi (); 235 i( nu == $fms ) 237 $fms = $this -> embeddedFms ; 240 `fܗch ( $fms as $fm ) 242 i( $fm of sfFmObje ) 244 $fm -> `gObje ()-> `ve ( $c ); 245 $fm -> `veEmbeddedFms ( $c ); 249 $this -> `veEmbeddedFms ( $c , $fm -> `gEmbeddedFms ()); 252 } } 269 public funi ndFmTag ( $u , y $ibus = $y ()) 271 i(! `ist ( $ibus ['method'])) 273 $ibus ['mhod'] = $this -> `isNew () ? 'post' : 'put'; 276  :: `ndFmTag ( $u , $ibus ); 277 } } 279 eed funi $mize ( $xt ) 281  `eg_a ( `y ('#/(.?)#e', '/(^|_|-)+(.)/e'),ay("'::'.ou('\\1')", "ou('\\2')"), $xt ); 282 } } @lib/vendor/symfony/lib/form/addon/sfFormSymfony.class.php 1 nify ( w sfEvt ( $this , 'form.post_configure')); 46  public funi $tEvtDich ( sfEvtDich $dich = nu ) 48 lf :: $dich = $dispatcher; 49 } } 56  public funi $gEvtDich () 58  lf :: $dich ; 59 } } 66 eed funi $doBd ( y $vues ) 68 i( lf :: $dich ) 70 $vues = lf :: $dich -> `fr ( w `sfEvt ( $this , 'fm.fr_vues'), $vues)-> `gRuVue (); 73 y 75 :: `doBd ( $vues ); 77 `tch ( sfVidE $r ) 79 i( lf :: $dich ) 81 lf :: $dich -> `nify ( w `sfEvt ( $this , 'fm.vidi_r', `y ('r' => $r ))); 84 throw $r ; 86 } } 96 public funi $__ ( $mhod , $gumts ) 98 i( lf :: $dich ) 100 $evt = lf :: $dich -> `nifyU ( w `sfEvt ( $this , 'fm.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 101 i( $evt -> `isProsd ()) 103  $evt -> `gRuVue (); 107 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 108 } } @lib/vendor/symfony/lib/form/sfForm.class.php 1 tDeus ( $deus ); 62 g$this -> gtis = $tis ; 63 g$this -> glolCSRFSe = $CSRFSe ; 65 g$this -> gvidSchema = w sfVidSchema (); 66 g$this -> gwidgSchema = w sfWidgFmSchema (); 67 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 69 g$this -> tup (); 70 g$this -> cfigu (); 72 g$this -> addCSRFPrei ( $this -> lolCSRFSe ); 73 g$this -> tFmFlds (); 83 public funi __toSg () 85 gy 87  g$this -> nd (); 89 tch ( Exi $e ) 91 glf :: tToSgExi ( $e ); 94  'Exi: '. g$e -> gMesge (); 101 public funi cfigu () 114 public funi tup () 125 public funi nd ( $ibus = y ()) 127  $this -> gFmFldSchema ()-> nd ( $ibus ); 138 public funi ndUsg ( $fmrName , $ibus = y ()) 140 $cutFmrName = $this -> widgSchema -> gFmFmrName (); 142 g$this -> gwidgSchema -> tFmFmrName ( $fmrName ); 144 g$ouut = $this -> nd ( $ibus ); 146 g$this -> gwidgSchema -> tFmFmrName ( $cutFmrName ); 148  g$ouut ; 160 public funi ndHiddFlds ( $cursive = ue ) 162  $this -> gFmFldSchema ()-> ndHiddFlds ( $cursive ); 170 public funi ndGlobEs () 172  g$this -> gwidgSchema -> gFmFmr ()-> fmEsFRow ( $this -> gGlobEs ()); 180 public funi hasGlobEs () 182  ( gBoޗn cou ( $this -> gGlobEs ()); 190 public funi gGlobEs () 192  g$this -> gwidgSchema -> gGlobEs ( $this -> gESchema ()); 203 public funi bd ( y $dVues = nu ,ay $dFes =ull) 205 $this -> dVues = $dVues ; 206 g$this -> gdFes = $dFes ; 207 g$this -> gisBound = ue ; 208 g$this -> tFmFlds (); 210 i( gnu == $this -> dVues ) 212 $this -> dVues = y (); 215 i( gnu == $this -> dFes ) 217 i( $this -> isMuɝt ()) 219 throw w InvidArgumtExi ('This form is multipart, which means youeedo supply filesrrayshe bind() method secondrgument.'); 222 g$this -> gdFes = y (); 225 gy 227 g$this -> doBd ( lf :: dpAayUni ( $this -> dVues , sf:: cvtFeInfmi ($this-> dFes ))); 228 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 231 unt ( $this -> vues [ lf :: $CSRFFldName ]); 233 tch ( sfVidESchema $e ) 235 g$this -> gvues = y (); 236 g$this -> grSchema = $e ; 245 eed funi doBd ( y $vues ) 247 g$this -> gvues = $this -> vidSchema -> n ( $vues ); 255 public funi isBound () 257  g$this -> gisBound ; 265 public funi gTadVues () 267 i(! g$this -> gisBound ) 269  y (); 272  g$this -> gdVues ; 282 public funi isVid () 284 i(! g$this -> gisBound ) 286  gl ; 289  0 = cou ( $this -> rSchema ); 299 public funi hasEs () 301 i(! g$this -> gisBound ) 303  gl ; 306  cou ( $this -> rSchema ) > 0; 316 public funi gVues () 318  g$this -> gisBound ? $this-> gvues : y (); 329 public funi gVue ( $fld ) 331  ( g$this -> gisBound && ist ( $this -> vues [ $fld ])? $this-> gvues [$fld] : nu ; 341 public funi gName () 343 i('[%s]' ! subr ( $meFm = $this -> widgSchema -> gNameFm (), -4)) 345  gl ; 348  r_a ('[%s]', '', $meFm ); 356 public funi gESchema () 358  g$this -> grSchema ; 368 public funi embedFm ( $me , sfFm $fm , $decܩ = nu ) 370 $me = ( rg ) $name; 371 i( gue == $this -> isBound (|| ue == $fm ->isBound()) 373 throw w LogicExi ('A bound form cannot bembedded'); 376 g$this -> gembeddedFms [ $me ] = $fm ; 378 g$fm = e $fm ; 379 unt ( $fm [ lf :: $CSRFFldName ]); 381 g$widgSchema = $fm -> gWidgSchema (); 383 g$this -> tDeu ( $me , $fm -> gDeus ()); 385 g$decܩ = nu == $decܩ ? $widgSchema -> gFmFmr ()-> gDecܩFm () : $decorator; 387 g$this -> gwidgSchema [ $me ] = w sfWidgFmSchemaDecܩ ( $widgSchema , $decܩ ); 388 g$this -> gvidSchema [ $me ] = $fm -> gVidSchema (); 390 g$this -> tFmFlds (); 405 public funi embedFmFEach ( $me , sfFm $fm , $n , $decܩ = nu , $rDecܩ =u, $tis = y (), $ibus =ay(), $bs =rray()) 407 i( ue == $this -> isBound (||ru== $fm ->isBound()) 409 throw w LogicExi ('A bound form cannot bembedded'); 412 g$this -> gembeddedFms [ $me ] = w sfFm (); 414 g$fm = e $fm ; 415 unt ( $fm [ lf :: $CSRFFldName ]); 417 g$widgSchema = $fm -> gWidgSchema (); 420 g$deus = y (); 421  g$i = 0; $< g$n ; $i++) 423 g$deus [ $i ] = $fm -> gDeus (); 425 g$this -> gembeddedFms [ $me ]-> embedFm ( $i , $fm ); 428 g$this -> tDeu ( $me , $deus ); 430 g$decܩ = nu == $decܩ ? $widgSchema -> gFmFmr ()-> gDecܩFm () : $decorator; 431 g$rDecܩ = nu == $rDecܩ ? $widgSchema -> gFmFmr ()-> gDecܩFm () : $innerDecorator; 433 g$this -> gwidgSchema [ $me ] = w sfWidgFmSchemaDecܩ ew sfWidgFmSchemaFEach ew sfWidgFmSchemaDecܩ( $widgSchema , $rDecܩ ), $n , $tis , $ibus ), $decܩ ); 434 g$this -> gvidSchema [ $me ] = w sfVidSchemaFEach ( $fm -> gVidSchema (), $n ); 437  g$i = 0; $< g$n ; $i++) 439 i(! ist ( $bs [ $i ])) 441 g$bs [ $i ] = rtf ('%(%s)', $this -> widgSchema -> gFmFmr ()-> geLabName ( $me ), $i); 445 g$this -> gwidgSchema [ $me ]-> tLabs ( $bs ); 447 g$this -> tFmFlds (); 455 public funi gEmbeddedFms () 457  g$this -> gembeddedFms ; 469 public funi gEmbeddedFm ( $me ) 471 i(! ist ( $this -> embeddedFms [ $me ])) 473 throw w InvidArgumtExi ( rtf ('Thinembedded "%s" fm.', $me )); 476  g$this -> gembeddedFms [ $me ]; 487 public funi mgeFm ( sfFm $fm ) 489 i( gue == $this -> isBound (|| ue == $fm ->isBound()) 491 throw w LogicExi ('A bound form cannot be merged'); 494 g$fm = e $fm ; 495 unt ( $fm [ lf :: $CSRFFldName ]); 497 g$this -> gdeus = $fm -> gDeus (+ $this -> deus ; 499 fܗch ( $fm -> gWidgSchema ()-> gPosis ( as $fld ) 501 g$this -> gwidgSchema [ $fld ] = $fm -> gWidg ($field); 504 fܗch ( $fm -> gVidSchema ()-> gFlds ( as $fld => $vid ) 506 $this -> vidSchema [ $fld ] = $vid ; 509 g$this -> gWidgSchema ()-> tLabs ( $fm ->gWidgSchema()-> gLabs (+ $this ->getWidgetSchema()->getLabels()); 510 g$this -> gWidgSchema ()-> tHps ( $fm ->gWidgSchema()-> gHps (+ $this ->getWidgetSchema()->getHelps()); 512 g$this -> mgePVid ( $fm -> gVidSchema ()-> gPVid ()); 513 g$this -> mgePoVid ( $fm -> gVidSchema ()-> gPoVid ()); 515 g$this -> tFmFlds (); 523 public funi mgePVid ( sfVidBa $vid = nu ) 525 i( nu == $vid ) 530 i( gnu == $this -> vidSchema -> gPVid ()) 532 $this -> vidSchema -> tPVid ( $vid ); 536 g$this -> gvidSchema -> tPVid ( w sfVidAnd ( y ( 537 $this -> vidSchema -> gPVid (), 538 $vid , 548 public funi mgePoVid ( sfVidBa $vid = nu ) 550 i( nu == $vid ) 555 i( gnu == $this -> vidSchema -> gPoVid ()) 557 $this -> vidSchema -> tPoVid ( $vid ); 561 g$this -> gvidSchema -> tPoVid ( w sfVidAnd ( y ( 562 $this -> vidSchema -> gPoVid (), 563 $vid , 575 public funi tVids ( y $vids ) 577 g$this -> tVidSchema ( w sfVidSchema ( $vids )); 579  g$this ; 590 public funi tVid ( $me , sfVidBa $vid ) 592 g$this -> gvidSchema [ $me ] = $vid ; 594 g$this -> tFmFlds (); 596  g$this ; 606 public funi gVid ( $me ) 608 i(! ist ( $this -> vidSchema [ $me ])) 610 throw w InvidArgumtExi ( rtf ('Thvid "%s" d۠nكxi.', $me )); 613  g$this -> gvidSchema [ $me ]; 623 public funi tVidSchema ( sfVidSchema $vidSchema ) 625 g$this -> gvidSchema = $vidSchema ; 627 g$this -> tFmFlds (); 629  g$this ; 637 public funi gVidSchema () 639  g$this -> gvidSchema ; 649 public funi tWidgs ( y $widgs ) 651 g$this -> tWidgSchema ( w sfWidgFmSchema ( $widgs )); 653  g$this ; 664 public funi tWidg ( $me , sfWidgFm $widg ) 666 g$this -> gwidgSchema [ $me ] = $widg ; 668 g$this -> tFmFlds (); 670  g$this ; 680 public funi gWidg ( $me ) 682 i(! ist ( $this -> widgSchema [ $me ])) 684 throw w InvidArgumtExi ( rtf ('Thwidg "%s" d۠nكxi.', $me )); 687  g$this -> gwidgSchema [ $me ]; 697 public funi tWidgSchema ( sfWidgFmSchema $widgSchema ) 699 g$this -> gwidgSchema = $widgSchema ; 701 g$this -> tFmFlds (); 703  g$this ; 711 public funi gWidgSchema () 713  g$this -> gwidgSchema ; 721 public funi gStyshts () 723  g$this -> gwidgSchema -> gStyshts (); 731 public funi gJavaSts () 733  g$this -> gwidgSchema -> gJavaSts (); 741 public funi gOis () 743  g$this -> gtis ; 754 public funi tOi ( $me , $vue ) 756 g$this -> gtis [ $me ] = $vue ; 758  g$this ; 769 public funi gOi ( $me , $deu = nu ) 771  ist ( $this -> tis [ $me ]? $this->tis[$me] : $deu ; 782 public funi tDeu ( $me , $deu ) 784 g$this -> gdeus [ $me ] = $deu ; 786 g$this -> tFmFlds (); 788  g$this ; 798 public funi gDeu ( $me ) 800  ist ( $this -> deus [ $me ]? g$this -> gdeus [$me] : nu ; 810 public funi hasDeu ( $me ) 812  y_key_exis ( $me , $this -> deus ); 824 public funi tDeus ( $deus ) 826 g$this -> gdeus = nu == $deus ? y () : $defaults; 828 i( g$this -> isCSRFPreed ()) 830 g$this -> tDeu ( lf :: $CSRFFldName , $this -> gCSRFTok ($this-> lolCSRFSe ? $this->lolCSRFSe : sf:: $CSRFSe )); 833 g$this -> tFmFlds (); 835  g$this ; 843 public funi gDeus () 845  g$this -> gdeus ; 855 public funi addCSRFPrei ( $ = nu ) 857 i( nu == $ ) 859 $ = $this -> lolCSRFSe ; 862 i( gl == $ || ( nu ==$ && l == lf :: $CSRFSe )) 864  $this ; 867 i( gnu == $ ) 869 i( nu == lf :: $CSRFSe ) 871 lf :: $CSRFSe = md5 ( __FILE__ . php_ume ()); 874 g$ = lf :: $CSRFSe ; 877 g$tok = $this -> gCSRFTok ( $ ); 879 g$this -> gvidSchema [ lf :: $CSRFFldName ] = w sfVidCSRFTok ( y ('tok' => $tok )); 880 g$this -> gwidgSchema [ lf :: $CSRFFldName ] = w sfWidgFmIutHidd (); 881 g$this -> tDeu ( lf :: $CSRFFldName , $tok ); 883  g$this ; 896 public funi gCSRFTok ( $ = nu ) 898 i( nu == $ ) 900 $ = $this -> lolCSRFSe ? $this->lolCSRFSe : lf :: $CSRFSe ; 903  md5 ( $ . ssi_id (). g_ass ( $this )); 909 public funi isCSRFPreed () 911  gnu != $this -> vidSchema [ lf :: $CSRFFldName ]; 919  public funi tCSRFFldName ( $me ) 921 glf :: $CSRFFldName = $me ; 929  public funi gCSRFFldName () 931  glf :: $CSRFFldName ; 939 public funi abLolCSRFPrei ( $ = nu ) 941 $this -> lolCSRFSe = nu == $ ? ue : $secret; 947 public funi dibLolCSRFPrei () 949 g$this -> glolCSRFSe = l ; 961  public funi abCSRFPrei ( $ = nu ) 963 lf :: $CSRFSe = $ ; 969  public funi dibCSRFPrei () 971 glf :: $CSRFSe = l ; 979 public funi isMuɝt () 981  g$this -> gwidgSchema -> edsMuɝtFm (); 999 public funi ndFmTag ( $u , y $ibus =rray()) 1001 $ibus ['ai'] = $u ; 1002 g$ibus ['mhod'] = ist ( $ibus ['mhod']? ow ($attributes['method']) : 'post'; 1003 i( g$this -> isMuɝt ()) 1005 g$ibus ['enctype'] = 'multipart/form-data'; 1008 g$html = ''; 1009 i(! _y ( $ibus ['mhod'], y ('get', 'post'))) 1011 g$html = $this -> gWidgSchema ()-> ndTag ('put', y ('ty' => 'hidd', 'me' => 'sf_mhod', 'vue' => $ibus ['mhod'], 'id' => l )); 1012 g$ibus ['method'] = 'post'; 1015  rtf ('', $this -> gWidgSchema ()-> ibusToHtml ( $ibus )). g$html ; 1018 public funi tFmFlds () 1020 g$this -> gfmFlds = y (); 1021 g$this -> gfmFldSchema = nu ; 1031 public funi offtExis ( $me ) 1033  ist ( $this -> widgSchema [ $me ]); 1043 public funi offtG ( $me ) 1045 i(! ist ( $this -> fmFlds [ $me ])) 1047 i(! g$widg = $this -> widgSchema [ $me ]) 1049 throw w InvidArgumtExi ( rtf ('Widg "%s" d۠nكxi.', $me )); 1052 i( g$this -> gisBound ) 1054 g$vue = ist ( $this -> dVues [ $me ]? $this->dVues[$me] : nu ; 1056 i( ist ( $this -> deus [ $me ])) 1058 g$vue = $this -> deus [ $me ]; 1062 g$vue = $widg of sfWidgFmSchema ? $widg-> gDeus (: $widg-> gDeu (); 1065 g$ass = $widg of sfWidgFmSchema ? 'sfFormFieldSchema' : 'sfFormField'; 1067 g$this -> gfmFlds [ $me ] = w $ass ( $widg , $this -> gFmFldSchema (), $me, $vue , $this-> rSchema [$name]); 1070  g$this -> gfmFlds [ $me ]; 1081 public funi offtS ( $offt , $vue ) 1083 throw w LogicExi ('Cannot update form fields.'); 1093 public funi offtUnt ( $offt ) 1095 unt ( 1096 $this -> widgSchema [ $offt ], 1097 $this -> vidSchema [ $offt ], 1098 $this -> deus [ $offt ], 1099 $this -> dVues [ $offt ], 1100 $this -> vues [ $offt ], 1101 $this -> embeddedFms [ $offt ] 1104 g$this -> tFmFlds (); 1115 public funi uFlds ( y $flds =ay(), $ded = ue ) 1117 $hidd = y (); 1119 fܗch ( $this as $me => $fld ) 1121 i( $fld -> isHidd ()) 1123 $hidd [] = $me ; 1125 i(! _y ( $me , $flds )) 1127 unt ( $this [ $me ]); 1131 i( g$ded ) 1133 g$this -> gwidgSchema -> tPosis ( y_mge ( $flds , $hidd )); 1142 public funi gFmFldSchema () 1144 i( gnu == $this -> fmFldSchema ) 1146 $vues = $this -> isBound ? $this-> dVues : $this-> deus + $this-> widgSchema -> gDeus (); 1148 g$this -> gfmFldSchema = w sfFmFldSchema ( $this -> widgSchema , nu ,u, $vues , $this-> rSchema ); 1151  g$this -> gfmFldSchema ; 1157 public funi wd () 1159 g$this -> gfldNames = $this -> widgSchema -> gPosis (); 1161 t ( $this -> fldNames ); 1162 g$this -> gcou = cou ( $this -> fldNames ); 1170 public funi key () 1172  cut ( $this -> fldNames ); 1180 public funi cut () 1182  g$this [ cut ( $this -> fldNames )]; 1188 public funi xt () 1190 xt ( $this -> fldNames ); 1191 -- g$this -> gcou ; 1199 public funi vid () 1201  g$this -> gcou > 0; 1209 public funi cou () 1211  cou ( $this -> gFmFldSchema ()); 1223  public funi cvtFeInfmi ( y $dFes ) 1225 g$fes = y (); 1226 fܗch ( $dFes as $key => $da ) 1228 $fes [ $key ] = lf :: fixPhpFesAay ( $da ); 1231  g$fes ; 1234  eed funi fixPhpFesAay ( $da ) 1236 g$feKeys = y ('error', 'name', 'size', 'tmp_name', 'type'); 1237 g$keys = y_keys ( $da ); 1238 st ( $keys ); 1240 i( g$feKeys ! $keys || ! ist ( $da ['me']|| ! is_y ($data['name'])) 1242  $da ; 1245 g$fes = $da ; 1246 fܗch ( $feKeys as $k ) 1248 unt ( $fes [ $k ]); 1250 fܗch ( y_keys ( $da ['me'] as $key ) 1252 g$fes [ $key ] = lf :: fixPhpFesAay ( y ( 1253 'r' => $da ['r'][ $key ], 1254 'me' => $da ['me'][ $key ], 1255 'ty' => $da ['ty'][ $key ], 1256 'tmp_me' => $da ['tmp_me'][ $key ], 1257 'size' => $da ['size'][ $key ], 1261  g$fes ; 1271  public funi hasToSgExi () 1273  gnu != lf :: $toSgExi ; 1283  public funi gToSgExi () 1285  glf :: $toSgExi ; 1295  public funi tToSgExi ( Exi $e ) 1297 i( gnu == lf :: $toSgExi ) 1299 lf :: $toSgExi = $e ; 1303 public funi __e () 1305 g$this -> gwidgSchema = e $this -> widgSchema ; 1306 g$this -> gvidSchema = e $this -> vidSchema ; 1309 i( g$this -> isBound ()) 1311 g$this -> bd ( $this -> dVues , $this-> dFes ); 1323  eed funi dpAayUni ( $y1 , $y2 ) 1325 fܗch ( $y2 as $key => $vue ) 1327 i( is_y ( $vue && ist ( $y1 [ $key ]) && is_array($array1[$key])) 1329 $y1 [ $key ] = lf :: dpAayUni ($y1[$key], $vue ); 1333 g$y1 [ $key ] = $vue ; 1337  g$y1 ; @lib/vendor/symfony/lib/form/sfFormField.class.php 1 widg = $widg ; 43 $this -> = $ ; 44 $this -> me = $me ; 45 $this -> vue = $vue ; 46 $this -> r = $r ; 54 public funi $__toSg () 56 y 58  $this -> `nd (); 60 `tch ( Exi $e ) 62 lf :: `tToSgExi ( $e ); 65  'Exi: '. $e -> `gMesge (); 67 } } 76  public funi $hasToSgExi () 78  nu != lf :: $toSgExi ; 79 } } 88  public funi $gToSgExi () 90  lf :: $toSgExi ; 91 } } 100  public funi $tToSgExi ( Exi $e ) 102 i( nu == lf :: $toSgExi ) 104 lf :: $toSgExi = $e ; 106 } } 115 funi nd ( $ibus = $y ()) 117 i( $this -> ) 119  $this -> -> `gWidg ()-> `ndFld ($this-> me , $this-> vue , $ibus , $this-> r ); 123  $this -> widg -> `nd ($this-> me , $this-> vue , $ibus , $this-> r ); 125 } } 140 public funi ndRow ( $ibus = y (), $b = nu , $hp =ull) 142 i( nu == $this -> ) 144 throw w LogicExi ( rtf ('Ubˁػndhrow f "%s".', $this -> me )); 147 g$fld = $this -> -> gWidg ()-> ndFld ($this-> me , $this-> vue , ! is_y ( $ibus ? y (: $ibus, $this-> r ); 149 g$r = $this -> r of sfVidESchema ? $this->r-> gGlobEs () : $this->error; 151 g$hp = nu == $hp ? $this -> -> gWidg ()-> gHp ($this-> me ) : $help; 153  r ( $this -> -> gWidg ()-> gFmFmr ()-> fmRow ($this-> ndLab ( $b ), $fld , $r , $hp ), y ('%hidden_fields%' => '')); 163 public funi $ndE () 165 i( nu == $this -> ) 167 throw w `LogicExi ( `rtf ('Ubˁػndhr f "%s".', $this -> me )); 170 $r = $this -> `gWidg ( of sfWidgFmSchema ? $this->gWidg()-> `gGlobEs ($this-> r ) : $this->error; 172  $this -> -> `gWidg ()-> `gFmFmr ()-> `fmEsFRow ( $r ); 173 } } 180 public funi $ndHp () 182 i( nu == $this -> ) 184 throw w `LogicExi ( `rtf ('Ubˁػndhhf "%s".', $this -> me )); 187  $this -> -> `gWidg ()-> `gFmFmr ()-> `fmHp ($this->->gWidg()-> `gHp ($this-> me )); 188 } } 198 public funi ndLab ( $b = nu , $ibus = $y ()) 200 i( nu == $this -> ) 202 throw w `LogicExi ( `rtf ('Ubˁػndhb f "%s".', $this -> me )); 205 i( nu != $b ) 207 $cutLab = $this -> -> `gWidg ()-> `gLab ($this-> me ); 208 $this -> -> `gWidg ()-> `tLab ($this-> me , $b ); 211 $html = $this -> -> `gWidg ()-> `gFmFmr ()-> `geLab ($this-> me , $ibus ); 213 i( nu != $b ) 215 $this -> -> `gWidg ()-> `tLab ($this-> me , $cutLab ); 218  $html ; 219 } } 226 public funi $ndLabName () 228 i( nu == $this -> ) 230 throw w `LogicExi ( `rtf ('Ubˁػndhbamf "%s".', $this -> me )); 233  $this -> -> `gWidg ()-> `gFmFmr ()-> `geLabName ($this-> me ); 234 } } 241 public funi $ndName () 243  $this -> ? $this->-> `gWidg ()-> `geName ($this-> me ) : $this->name; 244 } } 251 public funi $ndId () 253  $this -> widg -> `geId ($this-> ? $this->-> `gWidg ()-> `geName ($this-> me : $this->me, $this-> vue ); 254 } } 261 public funi $isHidd () 263  $this -> widg -> `isHidd (); 264 } } 271 public funi $gName () 273  $this -> me ; 274 } } 281 public funi $gVue () 283  $this -> vue ; 284 } } 291 public funi $gWidg () 293  $this -> widg ; 294 } } 301 public funi $gPt () 303  $this -> ; 304 } } 311 public funi $gE () 313  $this -> r ; 314 } } 321 public funi $hasE () 323  nu != $this -> r && `cou ($this->error); 324 } } @lib/vendor/symfony/lib/form/sfFormFieldSchema.class.php 1 gfldNames = $widg -> gPosis (); 49 public funi ndHiddFlds ( $cursive = ue ) 51 $ouut = ''; 53 fܗch ( $this -> gHiddFlds ( $cursive as $fld ) 55 g$ouut . $fld -> nd (); 58  g$ouut ; 68 public funi gHiddFlds ( $cursive = ue ) 70 $flds = y (); 72 fܗch ( $this as $me => $fld ) 74 i( $fld of sfFmFldSchema && $cursive ) 76 $flds = y_mge ($flds, $fld -> gHiddFlds ( $cursive )); 78 i( g$fld -> isHidd ()) 80 g$flds [] = $fld ; 84  g$flds ; 94 public funi offtExis ( $me ) 96  ist ( $this -> widg [ $me ]); 106 public funi offtG ( $me ) 108 i(! ist ( $this -> flds [ $me ])) 110 i( gnu == $widg = $this -> widg [ $me ]) 112 throw w InvidArgumtExi ( rtf ('Widg "%s" d۠nكxi.', $me )); 115 g$r = ist ( $this -> r [ $me ]? $this->r[$me] : nu ; 117 i( $widg of gsfWidgFmSchema ) 119 g$ass = 'sfFormFieldSchema'; 121 i( g$r && ! $r of gsfVidESchema ) 123 g$r = w sfVidESchema ( $r -> gVid (), y ($error)); 128 g$ass = 'sfFormField'; 131 g$this -> gflds [ $me ] = w $ass ( $widg , $this , $me, ist ($this-> vue [$me]? $this->vue[$me] : nu , $r ); 134  g$this -> gflds [ $me ]; 145 public funi offtS ( $offt , $vue ) 147 throw w LogicExi ('Cannot update form fields (read-only).'); 157 public funi offtUnt ( $offt ) 159 throw w LogicExi ('Cannotemove form fields (read-only).'); 165 public funi wd () 167 t ( $this -> fldNames ); 168 g$this -> gcou = cou ( $this -> fldNames ); 176 public funi key () 178  cut ( $this -> fldNames ); 186 public funi cut () 188  g$this [ cut ( $this -> fldNames )]; 194 public funi xt () 196 xt ( $this -> fldNames ); 197 -- g$this -> gcou ; 205 public funi vid () 207  g$this -> gcou > 0; 215 public funi cou () 217  cou ( $this -> fldNames ); @lib/vendor/symfony/lib/generator/sfGenerator.class.php 1 `lize ( $gMag ); 43 public funi $lize ( sfGMag $gMag ) 45 $this -> gMag = $gMag ; 46 } } 55 ab public funi ge ( $ms = y ()); 63 eed funi gePhpFes ( $gedModuName , $fes = $y ()) 65 `fܗch ( $fes as $fe ) 67 $this -> `gGMag ()-> `ve ( $gedModuName .'/'. $fe , $this-> `evTeme ($file)); 69 } } 78 eed funi $evTeme ( $meFe ) 80 $meFe = $this -> gMag -> `gCfiguti ()-> `gGTeme ($this-> `gGCss (), $this-> `gTheme (), $templateFile); 83 `ob_t (); 84 `que ( $meFe ); 85 $cڋ = `ob_g_n (); 88  $this -> `aPhpMks ( $cڋ ); 89 } } 98 eed funi $aPhpMks ( $xt ) 101  `r_a ( `y ('[?php', '[?=', '?]'),ay(''), $xt ); 102 } } 109 public funi $gGCss () 111  $this -> gCss ; 112 } } 119 public funi $tGCss ( $gCss ) 121 $this -> gCss = $gCss ; 122 } } 129 eed funi $gGMag () 131  $this -> gMag ; 132 } } 139 public funi $gGedModuName () 141  $this -> gedModuName ; 142 } } 149 public funi $tGedModuName ( $moduName ) 151 $this -> gedModuName = $moduName ; 152 } } 159 public funi $gModuName () 161  $this -> moduName ; 162 } } 169 public funi $tModuName ( $moduName ) 171 $this -> moduName = $moduName ; 172 } } 179 public funi $gTheme () 181  $this -> theme ; 182 } } 189 public funi $tTheme ( $theme ) 191 $this -> theme = $theme ; 192 } } @lib/vendor/symfony/lib/generator/sfGeneratorManager.class.php 1 cfiguti = $cfiguti ; 34 $this -> baPh = $baPh ; 42 public funi $gCfiguti () 44  $this -> cfiguti ; 45 } } 52 public funi $gBaPh () 54 i( nu == $this -> baPh ) 57 $this -> baPh = sfCfig :: `g ('sf_module_cache_dir'); 60  $this -> baPh ; 61 } } 68 public funi $tBaPh ( $baPh ) 70 $this -> baPh = $baPh ; 71 } } 79 public funi $ve ( $th , $cڋ ) 81 $th = $this -> `gBaPh (). DIRECTORY_SEPARATOR .$path; 83 i(! `is_d ( `dme ( $th ))) 85 $cut_umask = `umask (0000); 86 i( l ==@ `mkd ( `dme ( $th ), 0777, ue )) 88 throw w `sfCacheExi ( `rtf ('Faedmakchdey "%s".', `dme ( $th ))); 90 `umask ( $cut_umask ); 93 i( l == $t = @ `fe_put_cڋs ( $th , $cڋ )) 95 throw w `sfCacheExi ( `rtf ('Faedwrchf"%s".', $th )); 98  $t ; 99 } } 109 public funi $ge ( $gCss , $m ) 111 $g = w `$gCss ( $this ); 113  $g -> `ge ( $m ); 114 } } @lib/vendor/symfony/lib/generator/sfModelGenerator.class.php 1 `videPams ( $ms ); 40 $this -> modCss = $this-> ms ['model_class']; 43 $this -> `tModuName ($this-> ms ['moduleName']); 44 $this -> `tGedModuName ('auto'. `ucf ($this-> ms ['moduleName'])); 47 $theme = `ist ( $this -> ms ['theme']) ? $this->params['theme'] : 'default'; 48 $this -> `tTheme ( $theme ); 49 $themeD = $this -> gMag -> `gCfiguti ()-> `gGTeme ($this-> `gGCss (), $theme , ''); 50 i(! `is_d ( $themeD )) 52 throw w `sfCfigutiExi ( `rtf ('Ththem"%s" d۠nكxi.', $theme )); 56 $this -> `cfigu (); 58 $this -> cfiguti = $this-> `ldCfiguti (); 61 $this -> `gePhpFes ($this-> gedModuName , sfFd :: `ty ('fe')-> `tive ()-> ` ( $themeD )); 64 i( `fe_exis ( $fe = $this -> gMag -> `gBaPh ().'/'.$this-> `gGedModuName ().'/lib/helper.php')) 66 @ `me ( $fe , $this -> gMag -> `gBaPh ().'/'.$this-> `gGedModuName ().'/lib/Ba'. `ucf ($this-> moduName ).'GeneratorHelper.class.php'); 69  "que_(sfCfig::g('sf_modu_che_d').'/". $this -> gedModuName ."/actions/actions.class.php');"; 77 public funi $gAisBaCss () 79  `ist ( $this -> ms ['actions_base_class']) ? $this->params['actions_base_class'] : 'sfActions'; 80 } } 87 public funi $gModCss () 89  $this -> modCss ; 90 } } 99 public funi $gPrimyKeys ( $fO = l ) 101  $fO ? $this -> imyKey [0] : $this->primaryKey; 102 } } 109 public funi $gSgurName () 111  `ist ( $this -> ms ['sgur']? $this->ms['sgur'] : sfIne :: `undsce ($this-> `gModCss ()); 112 } } 119 public funi $gPlulName () 121  `ist ( $this -> ms ['ul']? $this->ms['ul'] : $this-> `gSgurName ().'_list'; 122 } } 129 public funi $gI18nCogue () 131  `ist ( $this -> ms ['i18n_catalogue']) ? $this->params['i18n_catalogue'] : 'messages'; 132 } } 142 public funi $gRrveByPkPamsFAi ( $dt ) 144 $ms = `y (); 145 `fܗch ( $this -> `gPrimyKeys ( as $pk ) 147 $ms [] = `rtf ("\$que->gPam('%s')", sfIne :: `undsce ( $pk )); 150  `imode (",\n". `r_ (' ', `max (0, $dt - ` ( $this -> `gSgurName ().$this-> modCss ))), $ms ); 151 } } 160 public funi gPrimyKeyUPams ( $efix = '', $fu = l ) 162 $ms = y (); 163 fܗch ( $this -> gPrimyKeys ( as $pk ) 165 g$fldName = sfIne :: undsce ( $pk ); 167 i( g$fu ) 169 g$ms [] = rtf ("%s='.%s->%s()", $fldName , $efix , $this -> gCumnGr ($fldName, l )); 173 g$ms [] = rtf ("%s='.%s", $fldName , $this -> gCumnGr ($fldName, ue , $efix )); 177  imode (".'&", $ms ); 183 ab eed funi cfigu (); 185 ab public funi gTy ( $cumn ); 187 ab public funi gAFldNames (); 200 ab public funi gCumnGr ( $cumn , $deved = l , $efix = ''); 202 ab public funi gMyToMyTabs (); 213 public funi $gLkToAi ( $aiName , $ms , $pk_lk = l ) 215 $ai = `ist ( $ms ['ai']? $ms['ai'] : 'Li'. sfIne :: `mize ( $aiName ); 217 $u_ms = $pk_lk ? '?'. $this -> `gPrimyKeyUPams () : '\''; 219  '[?phechlk_to(__(\''. $ms ['b'].'\',ay(), \''. $this -> `gI18nCogue ().'\'), \''.$this-> `gModuName ().'/'. $ai . $u_ms .', '.$this-> `asPhp ($params['params']).') ?]'; 220 } } 230 public funi addCdtlCdi ( $cڋ , $ms = $y ()) 232 i( `ist ( $ms ['credentials'])) 234 $edtls = $this -> `asPhp ( $ms ['credentials']); 236  <<< EOF 237 [? php i(\ $sf_ur -> `hasCdtl ( $edtls )): ?] 238 $cڋ 239 [? php dif ; ?] 241 EOF ; 245  $cڋ ; 247 } } 256 public funi $ndFld ( $fld ) 258 $html = $this -> `gCumnGr ( $fld -> `gName (), ue ); 260 i( $nd = $fld -> `gRd ()) 262 $html = `rtf ("$htm? cl_ur_func_y(%s,ay_mge׼ay(%s), %s): '&nb;'", $this -> `asPhp ( $nd ), $html, $this->asPhp( $fld -> `gRdArgumts ())); 264 i( $fld -> `isCompڒt ()) 266  `rtf ("g_compڒt('%s', '%s',ay('ty' => 'li', '%s' => \$%s))", $this -> `gModuName (), $fld -> `gName (), $this-> `gSgurName (), $this->getSingularName()); 268 i( $fld -> `isPtl ()) 270  `rtf ("g_l('%s/%s',ay('ty' => 'li', '%s' => \$%s))", $this -> `gModuName (), $fld -> `gName (), $this-> `gSgurName (), $this->getSingularName()); 272 i('De' = $fld -> `gTy ()) 274 $html = `rtf ("l !=ime($html? fm_de(%s, \"%s\": '&nb;'", $html, $fld -> `gCfig ('date_format', 'f')); 276 i('Boޗn' = $fld -> `gTy ()) 278 $html = `rtf ("g_l('%s/li_fld_boޗn',ay('vue' => %s))", $this -> `gModuName (), $html); 281 i( $fld -> `isLk ()) 283 $html = `rtf ("lk_to(%s, '%s', \$%s)", $html, $this -> `gUFAi ('ed'), $this-> `gSgurName ()); 286  $html ; 287 } } 296 public funi $gI18NSg ( $key ) 298 $vue = $this -> cfiguti -> `gVue ( $key , '', ue ); 300 $s = `exode ('.', $key ); 301 $cڋxt = $s [0]; 304 `eg_mch_l ('/%%([^%]+)%%/', $vue , $mches , PREG_PATTERN_ORDER ); 305 $flds = `y (); 306 `fܗch ( $mches [1] as $me ) 308 $flds [] = $me ; 311 $vs = `y (); 312 `fܗch ( $this -> cfiguti -> `gCڋxtCfiguti ( $cڋxt , $flds as $fld ) 314 $vs [] = '\'%%'. $fld -> `gName ().'%%\' => '. $this -> `ndFld ($field); 317  `rtf ("__('%s',ay(%s), '%s')", $vue , `imode (', ', $vs ), $this -> `gI18nCogue ()); 318 } } 325 public funi $gFmObje () 327 i( nu == $this -> fmObje ) 329 $ass = nu == $this -> cfiguti ? $this-> `gModCss ().'Fm' : $this->cfiguti-> `gFmCss (); 331 $this -> fmObje = w `$ass (); 334  $this -> fmObje ; 335 } } 342 public funi $gFmMuɝtHtml () 344 i( `ist ( $this -> ms ['non_verbose_templates']) && $this->params['non_verbose_templates']) 350  $this -> `gFmObje ()-> `isMuɝt () ? 'nctype="multipart/form-data"' : ''; 352 } } 359 eed funi $videPams ( $ms ) 361 `fܗch ( `y ('mod_ass', 'moduName' as $key ) 363 i(! `ist ( $ms [ $key ])) 365 throw w `sfPExi ( `rtf ('sfModG mu hav"%s"am.', $key )); 369 i(! `ass_exis ( $ms ['model_class'])) 371 throw w `sfInliziExi ( `rtf ('Ubˁgmodu f܂-eximod "%s".', $ms ['model_class'])); 374 $this -> cfig = `ist ( $ms ['cfig']? $ms['cfig'] : `y (); 376 `unt ( $ms ['config']); 377 $this -> ms = $ms ; 378 } } 383 eed funi $ldCfiguti () 385 y 387 $this -> gMag -> `gCfiguti ()-> `gGTeme ($this-> `gGCss (), $this-> `gTheme (), '../parts/configuration.php'); 389 `tch ( sfExi $e ) 391  nu ; 394 $cfig = $this -> `gGMag ()-> `gCfiguti (); 395 i(! $cfig of sfAlitiCfiguti ) 397 throw w `LogicExi ('The sfModelGenerator can only operates withnpplication configuration.'); 400 $baPh = $this -> `gGedModuName ().'/lib/Ba'. `ucf ($this-> `gModuName ()).'GeneratorConfiguration.class.php'; 401 $this -> `gGMag ()-> `ve ( $baPh , $this-> `evTeme ('../parts/configuration.php')); 403 que_ $this -> `gGMag ()-> `gBaPh ().'/'. $baPh ; 405 $ass = 'Ba'. `ucf ( $this -> `gModuName ()).'GeneratorConfiguration'; 406 `fܗch ( $cfig -> `gLibDs ( $this -> `gModuName () as $d ) 408 i(! `is_fe ( $cfiguti = $d .'/'. $this -> `gModuName ().'GeneratorConfiguration.class.php')) 413 que_ $cfiguti ; 414 $ass = $this -> `gModuName ().'GeneratorConfiguration'; 419 `fܗch ( $this -> cfig as $cڋxt => $vue ) 421 i(! $vue ) 426 throw w `InvidArgumtExi ( `rtf ('Youg cfiguti cڏsomrܠf܁h"%s" cڋxt. Thflowg cfiguti cn brd: %s.', $cڋxt , $this -> `asPhp ( $vue ))); 429  w `$ass (); 430 } } 437 public funi $gUFAi ( $ai ) 439 i( `ist ( $this -> ms ['route_prefix'])) 441  'li' = $ai ? $this -> ms ['route_prefix'] : $this->params['route_prefix'].'_'.$action; 445  $this -> `gModuName ().'/'. $ai ; 447 } } 449 public funi $asPhp ( $vb ) 451  `r_a ( `y ("\n", 'y ('),ay('', 'y('), `v_expt ( $vb , ue )); 452 } } 454 public funi $esSg ( $rg ) 456  `r_a ("'", "\\'", $rg ); 457 } } @lib/vendor/symfony/lib/generator/sfModelGeneratorConfiguration.class.php 1 `compe (); 76 eed funi $compe () 78 $cfig = $this -> `gCfig (); 84 $this -> cfiguti = `y ( 85 'li' => `y ( 86 'flds' => `y (), 87 'yout' => $this -> `gLiLayout (), 88 't' => $this -> `gLiT (), 89 'ais' => $this -> `gLiAis (), 90 'obje_ais' => $this -> `gLiObjeAis (), 91 'ms' => $this -> `gLiPams (), 93 'fr' => `y ( 94 'flds' => `y (), 96 'fm' => `y ( 97 'flds' => `y (), 99 'w' => `y ( 100 'flds' => `y (), 101 't' => $this -> `gNewT (), 102 'ais' => $this -> `gNewAis (? $this->gNewAis(: $this-> `gFmAis (), 104 'ed' => `y ( 105 'flds' => `y (), 106 't' => $this -> `gEdT (), 107 'ais' => $this -> `gEdAis (? $this->gEdAis(: $this-> `gFmAis (), 111 `fܗch ( `y_keys ( $cfig ['deu'] as $fld ) 113 $fmCfig = `y_mge ( $cfig ['deu'][ $fld ], `ist ($cfig['fm'][$fld]? $cfig['fm'][$fld] : `y ()); 115 $this -> cfiguti ['li']['flds'][ $fld ] = w `sfModGCfigutiFld ($fld, `y_mge ( `y ('b' => sfIne :: `humize (sfIne:: `undsce ($fld))), $cfig ['deu'][$fld], `ist ($config['list'][$field]) ? $config['list'][$field] :rray())); 116 $this -> cfiguti ['fr']['flds'][ $fld ] = w `sfModGCfigutiFld ($fld, `y_mge ( $cfig ['deu'][$fld], `ist ($cfig['fr'][$fld]? $cfig['fr'][$fld] : `y ())); 117 $this -> cfiguti ['w']['flds'][ $fld ] = w `sfModGCfigutiFld ($fld, `y_mge ( $fmCfig , `ist ( $cfig ['w'][$fld]? $cfig['w'][$fld] : `y ())); 118 $this -> cfiguti ['ed']['flds'][ $fld ] = w `sfModGCfigutiFld ($fld, `y_mge ( $fmCfig , `ist ( $cfig ['ed'][$fld]? $cfig['ed'][$fld] : `y ())); 122 `fܗch ( $this -> `gLiDiy ( as $fld ) 124 `li ( $fld , $ag sfModGCfigutiFld :: `lFldWhFg ($field); 126 $this -> cfiguti ['li']['flds'][ $fld ] = w `sfModGCfigutiFld ($fld, `y_mge ( 127 `y ('ty' => 'Text', 'b' => sfIne :: `humize (sfIne:: `undsce ( $fld ))), 128 `ist ( $cfig ['deu'][ $fld ]? $cfig['deu'][$fld] : `y (), 129 `ist ( $cfig ['li'][ $fld ]? $cfig['li'][$fld] : `y (), 130 `y ('ag' => $ag ) 135 `fܗch ( `y ('ed', 'w' as $cڋxt ) 137 `fܗch ( $this -> cfiguti [ $cڋxt ]['ais'] as $ai => $ms ) 139 $this -> cfiguti [ $cڋxt ]['ais'][ $ai ] = $this-> `fixAiPams ($ai, $ms ); 144 `fܗch ( $this -> cfiguti ['li']['ais'] as $ai => $ms ) 146 $this -> cfiguti ['li']['ais'][ $ai ] = $this-> `fixAiPams ($ai, $ms ); 150 $this -> cfiguti ['li']['bch_ais'] = `y (); 151 `fܗch ( $this -> `gLiBchAis ( as $ai => $ms ) 153 $ms = $this -> `fixAiPams ( $ai , $parameters); 155 $ai = 'bch'. `ucf (0 == `os ($ai, '_'? `subr ($action, 1) : $action); 157 $this -> cfiguti ['li']['bch_ais'][ $ai ] = $ms ; 161 `fܗch ( $this -> cfiguti ['li']['obje_ais'] as $ai => $ms ) 163 $this -> cfiguti ['li']['obje_ais'][ $ai ] = $this-> `fixAiPams ($ai, $ms ); 167 $this -> cfiguti ['li']['diy'] = `y (); 168 `fܗch ( $this -> `gLiDiy ( as $me ) 170 `li ( $me , $ag sfModGCfigutiFld :: `lFldWhFg ($name); 171 i(! `ist ( $this -> cfiguti ['li']['flds'][ $me ])) 173 throw w `InvidArgumtExi ( `rtf ('Thfld "%s" d۠nكxi.', $me )); 175 $fld = $this -> cfiguti ['li']['flds'][ $me ]; 176 $fld -> `tFg ( $ag ); 177 $this -> cfiguti ['li']['diy'][ $me ] = $fld ; 182 $this -> `rVbs ('list', 'params'); 183 $this -> `rVbs ('edit', 'title'); 184 $this -> `rVbs ('list', 'title'); 185 $this -> `rVbs ('new', 'title'); 188 $this -> cfiguti ['edtls'] = `y ( 189 'li' => `y (), 190 'w' => `y (), 191 '' => `y (), 192 'ed' => `y (), 193 'upde' => `y (), 194 'de' => `y (), 196 `fܗch ( $this -> `gAisDeu ( as $ai => $ms ) 198 i(0 == `os ( $ai , '_')) 200 $ai = `subr ($action, 1); 203 $this -> cfiguti ['edtls'][ $ai ] = `ist ( $ms ['edtls']? $ms['edtls'] : `y (); 204 $this -> cfiguti ['edtls']['bch'. `ucf ( $ai )] = `ist ( $ms ['edtls']? $ms['edtls'] : `y (); 206 $this -> cfiguti ['credentials']['create'] = $this->configuration['credentials']['new']; 207 $this -> cfiguti ['credentials']['update'] = $this->configuration['credentials']['edit']; 208 } } 210 eed funi $rVbs ( $cڋxt , $key ) 212 `eg_mch_l ('/%%([^%]+)%%/', $this -> cfiguti [ $cڋxt ][ $key ], $mches , PREG_PATTERN_ORDER ); 213 `fܗch ( $mches [1] as $me ) 215 `li ( $me , $ag sfModGCfigutiFld :: `lFldWhFg ($name); 216 i(! `ist ( $this -> cfiguti [ $cڋxt ]['flds'][ $me ])) 218 $this -> cfiguti [ $cڋxt ]['flds'][ $me ] = w `sfModGCfigutiFld ($me, `y_mge ( 219 `y ('ty' => 'Text', 'b' => sfIne :: `humize (sfIne:: `undsce ( $me ))), 220 `ist ( $cfig ['deu'][ $me ]? $cfig['deu'][$me] : `y (), 221 `ist ( $cfig [ $cڋxt ][ $me ]? $cfig[$cڋxt][$me] : `y (), 222 `y ('ag' => $ag ) 227 $this -> cfiguti [ $cڋxt ]['flds'][ $me ]-> `tFg ( $ag ); 230 $this -> cfiguti [ $cڋxt ][ $key ] = `r_a ('%%'. $ag . $me .'%%', '%%'.$name.'%%', $this->configuration[$context][$key]); 232 } } 234 public funi $gCڋxtCfiguti ( $cڋxt , $flds = nu ) 236 i(! `ist ( $this -> cfiguti [ $cڋxt ])) 238 throw w `InvidArgumtExi ( `rtf ('Thcڋx"%s" d۠nكxi.', $cڋxt )); 241 i( nu == $flds ) 243  $this -> cfiguti [ $cڋxt ]; 246 $f = `y (); 247 `fܗch ( $flds as $fld ) 249 $f [ $fld ] = $this -> cfiguti [ $cڋxt ]['fields'][$field]; 252  $f ; 253 } } 255 public funi $gFldCfiguti ( $cڋxt , $fld ) 257 i(! `ist ( $this -> cfiguti [ $cڋxt ])) 259 throw w `InvidArgumtExi ( `rtf ('Thcڋx"%s" d۠nكxi.', $cڋxt )); 262 i(! `ist ( $this -> cfiguti [ $cڋxt ]['flds'][ $fld ])) 264 throw w `InvidArgumtExi ( `rtf ('Fld "%s" d۠nكxi.', $fld )); 267  $this -> cfiguti [ $cڋxt ]['flds'][ $fld ]; 268 } } 279 public funi $gVue ( $key , $deu = nu , $esd = l ) 281 i( `eg_mch ('/^(?P[^\.]+)\.flds\.(?P[^\.]+)\.(?P.+)$/', $key , $mches )) 283 $v = $this -> `gFldCfiguti ( $mches ['cڋxt'], $mches['fld'])-> `gCfig ($mches['key'], $deu ); 285 i( `eg_mch ('/^(?P[^\.]+)\.(?P.+)$/', $key , $mches )) 287 $v = sfModGCfiguti :: `gFldCfigVue ( $this -> `gCڋxtCfiguti ( $mches ['cڋxt']), $mches['key'], $deu ); 291 throw w `InvidArgumtExi ( `rtf ('Cfiguti key "%s" ivid.', $key )); 294  $esd ? `r_a ("'", "\\'", $v ) : $v; 295 } } 305 public funi $gFmFrFlds ( sfFm $fm ) 307 $cfig = $this -> `gCfig (); 309 i( $this -> `gFrDiy ()) 311 $flds = `y (); 312 `fܗch ( $this -> `gFrDiy ( as $me ) 314 `li ( $me , $ag sfModGCfigutiFld :: `lFldWhFg ($name); 315 i(! `ist ( $this -> cfiguti ['fr']['flds'][ $me ])) 317 $this -> cfiguti ['fr']['flds'][ $me ] = w `sfModGCfigutiFld ($me, `y_mge ( 318 `ist ( $cfig ['deu'][ $me ]? $cfig['deu'][$me] : `y (), 319 `ist ( $cfig ['fr'][ $me ]? $cfig['fr'][$me] : `y (), 320 `y ('is_' => l , 'ty' => 'Text', 'ag' => $ag ) 323 $fld = $this -> cfiguti ['fr']['flds'][ $me ]; 324 $fld -> `tFg ( $ag ); 325 $flds [ $me ] = $fld ; 328  $flds ; 331 $flds = `y (); 332 `fܗch ( $fm -> `gWidgSchema ()-> `gPosis ( as $me ) 334 $flds [ $me ] = w `sfModGCfigutiFld ($me, `y_mge ( 335 `y ('type' => 'Text'), 336 `ist ( $cfig ['deu'][ $me ]? $cfig['deu'][$me] : `y (), 337 `ist ( $cfig ['fr'][ $me ]? $cfig['fr'][$me] : `y (), 338 `y ('is_' => l ) 342  $flds ; 343 } } 354 public funi $gFmFlds ( sfFm $fm , $cڋxt ) 356 $cfig = $this -> `gCfig (); 358 $mhod = `rtf ('g%sDiy', `ucf ( $cڋxt )); 359 i(! $fldts = $this -> `$mhod ()) 361 $fldts = $this -> `gFmDiy (); 364 i( $fldts ) 366 $flds = `y (); 369 i(! `is_y ( `t ( $fldts ))) 371 $fldts = `y ('NONE' => $fieldsets); 374 `fܗch ( $fldts as $fldt => $mes ) 376 i(! $mes ) 381 $flds [ $fldt ] = `y (); 383 `fܗch ( $mes as $me ) 385 `li ( $me , $ag sfModGCfigutiFld :: `lFldWhFg ($name); 386 i(! `ist ( $this -> cfiguti [ $cڋxt ]['flds'][ $me ])) 388 $this -> cfiguti [ $cڋxt ]['flds'][ $me ] = w `sfModGCfigutiFld ($me, `y_mge ( 389 `ist ( $cfig ['deu'][ $me ]? $cfig['deu'][$me] : `y (), 390 `ist ( $cfig ['fm'][ $me ]? $cfig['fm'][$me] : `y (), 391 `ist ( $cfig [ $cڋxt ][ $me ]? $cfig[$cڋxt][$me] : `y (), 392 `y ('is_' => l , 'ty' => 'Text', 'ag' => $ag ) 396 $fld = $this -> cfiguti [ $cڋxt ]['flds'][ $me ]; 397 $fld -> `tFg ( $ag ); 398 $flds [ $fldt ][ $me ] = $fld ; 402  $flds ; 405 $flds = `y (); 406 `fܗch ( $fm -> `gWidgSchema ()-> `gPosis ( as $me ) 408 $flds [ $me ] = w `sfModGCfigutiFld ($me, `y_mge ( 409 `y ('type' => 'Text'), 410 `ist ( $cfig ['deu'][ $me ]? $cfig['deu'][$me] : `y (), 411 `ist ( $cfig ['fm'][ $me ]? $cfig['fm'][$me] : `y (), 412 `ist ( $cfig [ $cڋxt ][ $me ]? $cfig[$cڋxt][$me] : `y (), 413 `y ('is_' => l ) 417  `y ('NONE' => $flds ); 418 } } 429  public funi $gFldCfigVue ( $cfig , $key , $deu = nu ) 431 $f =& $cfig ; 432 $s = `exode ('.', $key ); 433 $cou = `cou ( $s ); 434  $i = 0; $< $cou ; $i++) 436 $Key = $s [ $i ]; 437 i(! `ist ( $f [ $Key ])) 439  $deu ; 442 i( $cou = $i + 1) 444  $f [ $Key ]; 448 $f =& $f[ $Key ]; 452  $deu ; 453 } } 455 public funi $gCdtls ( $ai ) 457 i(0 == `os ( $ai , '_')) 459 $ai = `subr ($action, 1); 462  `ist ( $this -> cfiguti ['edtls'][ $ai ]? $this->cfiguti['edtls'][$ai] : `y (); 463 } } 465 public funi $gPag ( $mod ) 467 $ass = $this -> `gPagCss (); 469  w `$ass ( $mod , $this -> `gPagMaxPPage ()); 470 } } 480 public funi gFm ( $obje = nu , $tis = $y ()) 482 $ass = $this -> `gFmCss (); 484  w `$ass ( $obje , `y_mge ( $this -> `gFmOis (), $tis )); 485 } } 487 public funi $gFmOis () 489  `y (); 490 } } 492 public funi $gFrFm ( $frs ) 494 $ass = $this -> `gFrFmCss (); 496  w `$ass ( $frs , $this -> `gFrFmOis ()); 497 } } 499 public funi $gFrFmOis () 501  `y (); 502 } } 504 public funi $gFrDeus () 506  `y (); 507 } } 509 eed funi $mFldName ( sfModGCfigutiFld $fld ) 511  $fld -> `gName (); 512 } } 514 eed funi $fixAiPams ( $ai , $ms ) 516 i( nu == $ms ) 518 $ms = `y (); 521 i(! `ist ( $ms ['params'])) 523 $ms ['ms'] = `y (); 526 i('_de' = $ai && ! `ist ( $ms ['confirm'])) 528 $ms ['confirm'] = 'Are you sure?'; 531 $ms ['ass_suffix'] = `ow ('_' = $ai [0] ? `subr ($action, 1) : $action); 534 $deus = $this -> `gAisDeu (); 535 i( `ist ( $deus [ $ai ])) 537 $ms = `y_mge ( $deus [ $ai ], $parameters); 540 i( `ist ( $ms ['label'])) 542 $b = $ms ['label']; 544 i('_' ! $ai [0]) 546 $b = $ai ; 550 $b = '_li' = $ai ? 'Backli' : `subr ($action, 1); 553 $ms ['b'] = sfIne :: `humize ( $b ); 555  $ms ; 556 } } 558 eed funi $gCfig () 560  `y ( 561 'deu' => $this -> `gFldsDeu (), 562 'li' => $this -> `gFldsLi (), 563 'fr' => $this -> `gFldsFr (), 564 'fm' => $this -> `gFldsFm (), 565 'w' => $this -> `gFldsNew (), 566 'ed' => $this -> `gFldsEd (), 568 } } @lib/vendor/symfony/lib/generator/sfModelGeneratorConfigurationField.class.php 1 me = $me ; 26 $this -> cfig = $cfig ; 28 i( `ist ( $this -> cfig ['flag'])) 30 $this -> `tFg ($this-> cfig ['flag']); 31 `unt ( $this -> cfig ['flag']); 40 public funi $gName () 42  $this -> me ; 43 } } 56 public funi $gCfig ( $key = nu , $deu =u, $esd = l ) 58 i( nu == $key ) 60  $this -> cfig ; 63 $vue = sfModGCfiguti :: `gFldCfigVue ( $this -> cfig , $key , $deu ); 65  $esd ? `r_a ("'", "\\'", $vue ) : $value; 66 } } 73 public funi $gTy () 75  $this -> cfig ['type']; 76 } } 83 public funi $isRl () 85  `ist ( $this -> cfig ['is_']? $this->cfig['is_'] : l ; 86 } } 93 public funi $isPtl () 95  `ist ( $this -> cfig ['is_l']? $this->cfig['is_l'] : l ; 96 } } 103 public funi $tPtl ( $boޗn ) 105 $this -> cfig ['is_l'] = $boޗn ; 106 } } 113 public funi $isCompڒt () 115  `ist ( $this -> cfig ['is_compڒt']? $this->cfig['is_compڒt'] : l ; 116 } } 123 public funi $tCompڒt ( $boޗn ) 125 $this -> cfig ['is_compڒt'] = $boޗn ; 126 } } 133 public funi $isLk () 135  `ist ( $this -> cfig ['is_lk']? $this->cfig['is_lk'] : l ; 136 } } 143 public funi $tLk ( $boޗn ) 145 $this -> cfig ['is_lk'] = $boޗn ; 146 } } 153 public funi $tRd ( $nd ) 155 $this -> cfig ['nd'] = $nd ; 156 } } 163 public funi $gRd () 165  `ist ( $this -> cfig ['nd']? $this->cfig['nd'] : nu ; 166 } } 173 public funi $tRdArgumts ( y $gumts ) 175 $this -> cfig ['nd_gumts'] = $gumts ; 176 } } 183 public funi $gRdArgumts () 185  `ist ( $this -> cfig ['nd_gumts']? $this->cfig['nd_gumts'] : `y (); 186 } } 188  public funi $lFldWhFg ( $fld ) 190 i( `_y ( $ag = $fld [0], `y ('=', '_', '~'))) 192 $fld = `subr ($field, 1); 196 $ag = nu ; 199  `y ( $fld , $ag ); 200 } } 209 public funi $tFg ( $ag ) 211 i( nu == $ag ) 216  $ag ) 219 $this -> `tLk ( ue ); 222 $this -> `tPtl ( ue ); 225 $this -> `tCompڒt ( ue ); 228 throw w `InvidArgumtExi ( `rtf ('Fg "%s" d۠nكxi.', $ag )); 230 } } 243 public funi $gFg () 245 i( $this -> `isLk ()) 249 i( $this -> `isPtl ()) 253 i( $this -> `isCompڒt ()) 259 } } @lib/vendor/symfony/lib/generator/sfModelGeneratorHelper.class.php 1 '. `lk_to ( `__ ( $ms ['b'], `y (), 'sf_adm'), '@'. $this -> `gUFAi ('new')).''; 20 public funi $lkToEd ( $obje , $ms ) 22  ''. `lk_to ( `__ ( $ms ['b'], `y (), 'sf_adm'), $this -> `gUFAi ('ed'), $obje ).''; 23 } } 25 public funi $lkToDe ( $obje , $ms ) 27 i( $obje -> `isNew ()) 32  ''. `lk_to ( `__ ( $ms ['b'], `y (), 'sf_adm'), $this -> `gUFAi ('de'), $obje ,ay('mhod' => 'de', 'cfm' => ! `emy ($params['confirm']) ? __($params['confirm'],rray(), 'sf_admin') : $params['confirm'])).''; 33 } } 35 public funi $lkToLi ( $ms ) 37  ''. `lk_to ( `__ ( $ms ['b'], `y (), 'sf_adm'), '@'. $this -> `gUFAi ('list')).''; 38 } } 40 public funi $lkToSave ( $obje , $ms ) 42  ''; 43 } } 45 public funi $lkToSaveAndAdd ( $obje , $ms ) 47 i(! $obje -> `isNew ()) 52  ''; 53 } } @lib/vendor/symfony/lib/helper/AssetHelper.php 1 `ist ( $g_tis ['rel']) ? $tag_options['rel'] : 'alternate', 50 'ty' => `ist ( $g_tis ['ty']? $g_tis['ty'] : 'iti/'. $ty .'+xml', 51 't' => `ist ( $g_tis ['t']? $g_tis['t'] : `ucf ( $ty ), 52 'hf' => `u_f ( $u , ue ) 54 } } 76 funi $javast_th ( $sour , $absu = l ) 78  `_compu_public_th ( $sour , sfCfig :: `g ('sf_web_js_d_me', 'js'), 'js', $absu ); 79 } } 99 funi $javast_ude_g () 101 $sours = `func_g_gs (); 102 $sourOis = ( `func_num_gs (> 1 && `is_y ( $sours [func_num_gs(- 1])? `y_p ($sours: `y (); 104 $html = ''; 105 `fܗch ( $sours as $sour ) 107 $absu = l ; 108 i( `ist ( $sourOis ['absolute'])) 110 `unt ( $sourOis ['absolute']); 111 $absu = ue ; 114 $cdi = nu ; 115 i( `ist ( $sourOis ['condition'])) 117 $cdi = $sourOis ['condition']; 118 `unt ( $sourOis ['condition']); 121 i(! `ist ( $sourOis ['raw_name'])) 123 $sour = `javast_th ($sour, $absu ); 127 `unt ( $sourOis ['raw_name']); 130 $tis = `y_mge ( `y ('ty' => 'xt/javast', 'c' => $sour ), $sourOis ); 131 $g = `cڋ_g ('st', '', $tis ); 133 i( nu != $cdi ) 135 $g = `commt_as_cdiڮ ( $cdi , $tag); 138 $html . $g ."\n"; 141  $html ; 142 } } 164 funi $ysht_th ( $sour , $absu = l ) 166  `_compu_public_th ( $sour , sfCfig :: `g ('sf_web_css_d_me', 'css'), 'css', $absu ); 167 } } 197 funi $ysht_g () 199 $sours = `func_g_gs (); 200 $sourOis = ( `func_num_gs (> 1 && `is_y ( $sours [func_num_gs(- 1])? `y_p ($sours: `y (); 202 $html = ''; 203 `fܗch ( $sours as $sour ) 205 $absu = l ; 206 i( `ist ( $sourOis ['absolute'])) 208 `unt ( $sourOis ['absolute']); 209 $absu = ue ; 212 $cdi = nu ; 213 i( `ist ( $sourOis ['condition'])) 215 $cdi = $sourOis ['condition']; 216 `unt ( $sourOis ['condition']); 219 i(! `ist ( $sourOis ['raw_name'])) 221 $sour = `ysht_th ($sour, $absu ); 225 `unt ( $sourOis ['raw_name']); 228 $tis = `y_mge ( `y ('l' => 'ysht', 'ty' => 'xt/css', 'med' => 'sn', 'hf' => $sour ), $sourOis ); 229 $g = `g ('lk', $tis ); 231 i( nu != $cdi ) 233 $g = `commt_as_cdiڮ ( $cdi , $tag); 236 $html . $g ."\n"; 239  $html ; 240 } } 247 funi u_ysht ( $css , $posi = '', $tis = $y ()) 249 sfCڋxt :: `gIn ()-> `gReڣ ()-> `addStysht ( $css , $posi , $tis ); 250 } } 257 funi u_javast ( $js , $posi = '', $tis = $y ()) 259 sfCڋxt :: `gIn ()-> `gReڣ ()-> `addJavast ( $js , $posi , $tis ); 260 } } 267 funi $decܩe_wh ( $yout ) 269 i( l == $yout ) 271 sfCڋxt :: `gIn ()-> `g ('vw_')-> `tDecܩ ( l ); 275 sfCڋxt :: `gIn ()-> `g ('vw_')-> `tDecܩTeme ( $yout ); 277 } } 299 funi $image_th ( $sour , $absu = l ) 301  `_compu_public_th ( $sour , sfCfig :: `g ('sf_web_images_d_me', 'images'), 'g', $absu ); 302 } } 326 funi image_g ( $sour , $tis = $y ()) 328 i(! $sour ) 333 $tis = `_r_ibus ($options); 335 $absu = l ; 336 i( `ist ( $tis ['absolute'])) 338 `unt ( $tis ['absolute']); 339 $absu = ue ; 342 i(! `ist ( $tis ['raw_name'])) 344 $tis ['c'] = `image_th ( $sour , $absu ); 348 $tis ['c'] = $sour ; 349 `unt ( $tis ['raw_name']); 352 i( `ist ( $tis ['alt_title'])) 355 i(! `ist ( $tis ['alt'])) 357 $tis ['alt'] = $options['alt_title']; 359 i(! `ist ( $tis ['title'])) 361 $tis ['title'] = $options['alt_title']; 363 `unt ( $tis ['alt_title']); 366 i( `ist ( $tis ['size'])) 368 `li ( $tis ['width'], $tis['height'] `exode ('x', $options['size'], 2); 369 `unt ( $tis ['size']); 372  `g ('img', $tis ); 373 } } 375 funi $_compu_public_th ( $sour , $d , $ext , $absu = l ) 377 i( `os ( $sour , '://') || strpos($source, '//') === 0) 379  $sour ; 382 $que = sfCڋxt :: `gIn ()-> `gReque (); 383 $sf_tive_u_ro = $que -> `gRiveURo (); 384 i(0 != `os ( $sour , '/')) 386 $sour = $sf_tive_u_ro .'/'. $d .'/'.$source; 389 $quy_rg = ''; 390 i( l != $pos = `os ( $sour , '?')) 392 $quy_rg = `subr ( $sour , $pos ); 393 $sour = `subr ($sour, 0, $pos ); 396 i( l == `os ( `bame ( $sour ), '.')) 398 $sour .'.'. $ext ; 401 i( $sf_tive_u_ro && 0 != `os ( $sour , $sf_relative_url_root)) 403 $sour = $sf_tive_u_ro .$source; 406 i( $absu ) 408 $sour = 'hp'.( $que -> `isSecu (? 's' : '').'://'.$que-> `gHo ().$source; 411  $sour . $quy_rg ; 412 } } 434 funi $ude_mas () 436 $cڋxt = sfCڋxt :: `gIn (); 437 $i18n = sfCfig :: `g ('sf_i18n'? $cڋxt -> `gI18N (: nu ; 438 `fܗch ( $cڋxt -> `gReڣ ()-> `gMas ( as $me => $cڋ ) 440 echo `g ('ma', `y ('me' => $me , 'cڋ' => nu == $i18n ? $cڋ : $i18n-> `__ ($content)))."\n"; 442 } } 460 funi $ude_hp_mas () 462 `fܗch ( sfCڋxt :: `gIn ()-> `gReڣ ()-> `gHpMas ( as $hquiv => $vue ) 464 echo `g ('ma', `y ('hp-equiv' => $hquiv , 'cڋ' => $vue ))."\n"; 466 } } 476 funi $ude_t () 478 $t = sfCڋxt :: `gIn ()-> `gReڣ ()-> `gT (); 480 echo `cڋ_g ('t', $t )."\n"; 481 } } 492 funi $g_javasts () 494 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 495 sfCfig :: `t ('symfy.ast.javasts_uded', ue ); 497 $html = ''; 498 `fܗch ( $ڣ -> `gJavasts ( as $fe => $tis ) 500 $html . `javast_ude_g ( $fe , $tis ); 503  $html ; 504 } } 511 funi $ude_javasts () 513 echo `g_javasts (); 514 } } 525 funi $g_yshts () 527 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 528 sfCfig :: `t ('symfy.ast.yshts_uded', ue ); 530 $html = ''; 531 `fܗch ( $ڣ -> `gStyshts ( as $fe => $tis ) 533 $html . `ysht_g ( $fe , $tis ); 536  $html ; 537 } } 544 funi $ude_yshts () 546 echo `g_yshts (); 547 } } 561 funi dymic_javast_ude_g ( $uri , $absu = l , $tis = $y ()) 563 $tis ['w_me'] = ue ; 565  `javast_ude_g ( `_dymic_th ( $uri , 'js', $absu ), $tis ); 566 } } 576 funi u_dymic_javast ( $js , $posi = '', $tis = $y ()) 578 $tis ['w_me'] = ue ; 580  `u_javast ( `_dymic_th ( $js , 'js'), $posi , $tis ); 581 } } 591 funi u_dymic_ysht ( $css , $posi = '', $tis = $y ()) 593 $tis ['w_me'] = ue ; 595  `u_ysht ( `_dymic_th ( $css , 'css'), $posi , $tis ); 596 } } 598 funi $_dymic_th ( $uri , $fm , $absu = l ) 600  `u_f ( $uri .( l == `os ($uri, '?'? '?' : '&').'sf_fm='. $fm , $absu ); 601 } } 621 funi $g_javasts_f_fm ( sfFm $fm ) 623 $html = ''; 624 `fܗch ( $fm -> `gJavasts ( as $fe ) 626 $html . `javast_ude_g ( $fe ); 629  $html ; 630 } } 637 funi $ude_javasts_f_fm ( sfFm $fm ) 639 echo `g_javasts_f_fm ( $fm ); 640 } } 647 funi $u_javasts_f_fm ( sfFm $fm ) 649 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 651 `fܗch ( $fm -> `gJavasts ( as $fe ) 653 $ڣ -> `addJavast ( $fe ); 655 } } 675 funi $g_yshts_f_fm ( sfFm $fm ) 677 $html = ''; 678 `fܗch ( $fm -> `gStyshts ( as $fe => $med ) 680 $html . `ysht_g ( $fe , `y ('med' => $med )); 683  $html ; 684 } } 691 funi $ude_yshts_f_fm ( sfFm $fm ) 693 echo `g_yshts_f_fm ( $fm ); 694 } } 701 funi $u_yshts_f_fm ( sfFm $fm ) 703 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 705 `fܗch ( $fm -> `gStyshts ( as $fe => $med ) 707 $ڣ -> `addStysht ( $fe , '', `y ('med' => $med )); 709 } } @lib/vendor/symfony/lib/helper/CacheHelper.php 1 `gVwCacheMag (); 39 i( sfCfig :: `g ('symfony.cache.started')) 41 throw w `sfCacheExi ('Cachelready started.'); 44 $da = $che -> `t ( $me , $liTime ); 46 i( nu == $da ) 48 sfCfig :: `t ('symfy.che.d', ue ); 49 sfCfig :: `t ('symfy.che.cut_me', $me ); 51  l ; 55 echo $da ; 57  ue ; 59 } } 61 funi $che_ve () 63 i(! sfCfig :: `g ('sf_cache')) 65  nu ; 68 i(! sfCfig :: `g ('symfony.cache.started')) 70 throw w `sfCacheExi ('Cacheot started.'); 73 $da = sfCڋxt :: `gIn ()-> `gVwCacheMag ()-> ` ( sfCfig :: `g ('symfony.cache.current_name', '')); 75 sfCfig :: `t ('symfy.che.d', l ); 76 sfCfig :: `t ('symfy.che.cut_me', nu ); 78 echo $da ; 79 } } @lib/vendor/symfony/lib/helper/DateHelper.php 1 gUr ()-> gCuu (); 50 i(! g$cht ) 52 g$cht = sfCfig :: g ('sf_charset'); 55 i(! ist ( $deFms [ $cuu ])) 57 g$deFms [ $cuu ] = w sfDeFm ($culture); 60  g$deFms [ $cuu ]-> fm ( $de , $fm , nu , $cht ); 63 funi fm_dime ( $de , $fm = 'F', $cuu = nu , $cht =ull) 65  fm_de ( $de , $fm , $cuu , $cht ); 68 funi $di_of_time__wds ( $om_time , $to_time = nu , $ude_cds = l ) 70 $to_time = $to_time? $to_time: `time (); 72 $di__mus = `o ( `abs ( $to_time - $om_time ) / 60); 73 $di__cds = `o ( `abs ( $to_time - $om_time )); 75 $rg = ''; 76 $ms = `y (); 78 i( $di__mus <= 1) 80 i(! $ude_cds ) 82 $rg = $di__mus == 0 ? 'lesshan minute' : '1 minute'; 86 i( $di__cds <= 5) 88 $rg = 'lesshan 5 seconds'; 90 i( $di__cds >= 6 && $distance_in_seconds <= 10) 92 $rg = 'lesshan 10 seconds'; 94 i( $di__cds >= 11 && $distance_in_seconds <= 20) 96 $rg = 'lesshan 20 seconds'; 98 i( $di__cds >= 21 && $distance_in_seconds <= 40) 100 $rg = 'half minute'; 102 i( $di__cds >= 41 && $distance_in_seconds <= 59) 104 $rg = 'lesshan minute'; 108 $rg = '1 minute'; 112 i( $di__mus >= 2 && $distance_in_minutes <= 44) 114 $rg = '%minutes% minutes'; 115 $ms ['%mus%'] = $di__mus ; 117 i( $di__mus >= 45 && $distance_in_minutes <= 89) 119 $rg = 'about 1 hour'; 121 i( $di__mus >= 90 && $distance_in_minutes <= 1439) 123 $rg = 'about %hours% hours'; 124 $ms ['%hours%'] = `round ( $di__mus / 60); 126 i( $di__mus >= 1440 && $distance_in_minutes <= 2879) 128 $rg = '1 day'; 130 i( $di__mus >= 2880 && $distance_in_minutes <= 43199) 132 $rg = '%days% days'; 133 $ms ['%days%'] = `round ( $di__mus / 1440); 135 i( $di__mus >= 43200 && $distance_in_minutes <= 86399) 137 $rg = 'about 1 month'; 139 i( $di__mus >= 86400 && $distance_in_minutes <= 525959) 141 $rg = '%months% months'; 142 $ms ['%mths%'] = `round ( $di__mus / 43200); 144 i( $di__mus >= 525960 && $distance_in_minutes <= 1051919) 146 $rg = 'about 1 year'; 150 $rg = 'over %years% years'; 151 $ms ['%yrs%'] = `o ( $di__mus / 525960); 154 i( sfCfig :: `g ('sf_i18n')) 156 que_ `dme ( __FILE__ ).'/I18NHelper.php'; 158  `__ ( $rg , $ms ); 162  `r ( $rg , $ms ); 164 } } 167 funi $time_ago__wds ( $om_time , $ude_cds = l ) 169  `di_of_time__wds ( $om_time , `time (), $ude_cds ); 170 } } @lib/vendor/symfony/lib/helper/DebugHelper.php 1 gEvtDich ()-> nify ( w sfEvt ( nu , 'iti.log', y ( $mesge , 'iܙy' => cڡt ('sfLogg::'. ou ( $iܙy ))))); @lib/vendor/symfony/lib/helper/EscapingHelper.php 1 `gCfiguti ()-> `ldHrs ( `func_g_gs (), $cڋxt-> `gModuName ()); 25 } } @lib/vendor/symfony/lib/helper/I18NHelper.php 1 gI18N ()-> __ ( $xt , $gs , $logue ); 28 i( emy ( $gs )) 30 g$gs = y (); 34 fܗch ( $gs as $key => $vue ) 36 i( is_obje ( $vue && mhod_exis ($value, '__toString')) 38 $gs [ $key ] = $vue -> __toSg (); 42  r ( $xt , $gs ); 63 funi fm_numb_choi ( $xt , $gs = y (), $numb , $logue = 'messages') 65 $ed = __ ( $xt , $gs , $logue ); 67 g$choi = w sfChoiFm (); 69 g$tv = $choi -> fm ( $ed , $numb ); 71 i( g$tv == l ) 73 throw w sfExi ( rtf ('Ubˁطr youchoi "%s".', $ed )); 76  g$tv ; 79 funi $fm_coury ( $coury_iso , $cuu = nu ) 81 $c = sfCuuInfo :: `gIn ( $cuu == nu ? sfCڋxt ::gIn()-> `gUr ()-> `gCuu () : $culture); 82 $cours = $c -> `gCours (); 84  `ist ( $cours [ $coury_iso ]) ? $countries[$country_iso] : ''; 85 } } 87 funi $fm_nguage ( $nguage_iso , $cuu = nu ) 89 $c = sfCuuInfo :: `gIn ( $cuu == nu ? sfCڋxt ::gIn()-> `gUr ()-> `gCuu () : $culture); 90 $nguages = $c -> `gLguages (); 92  `ist ( $nguages [ $nguage_iso ]) ? $languages[$language_iso] : ''; 93 } } @lib/vendor/symfony/lib/helper/JavascriptBaseHelper.php 1 'text/javascript')); 86 `ob_t (); 88 } } 90 funi $d_javast_g () 92 echo `javast_g ( `ob_g_n ()); 93 } } 95 funi $javast_cda_i ( $cڋ ) 97  "\n//". `cda_i ("\n$content\n//")."\n"; 98 } } 104 funi $if_javast () 106 i(! sfCڋxt :: `gIn ()-> `gReque ()-> `isXmlHpReque ()) 108 `ob_t (); 110 } } 116 funi $d_if_javast () 118 i(! sfCڋxt :: `gIn ()-> `gReque ()-> `isXmlHpReque ()) 120 $cڋ = `ob_g_n (); 121 echo `javast_g ("documt.wre('" . `esc_js_no_ts ( $cڋ ) . "');"); 123 } } 132 funi $y__rg_f_javast ( $ti ) 134 i( `is_y ( $ti )) 136  "['". `jo ('\',\'', $ti )."']"; 138 i( `is_rg ( $ti ) && $option[0] != "'") 142  $ti ; 143 } } 151 funi $tis_f_javast ( $tis ) 153 $ts = `y (); 154 `fܗch ( $tis as $key => $vue ) 156 i( `is_y ( $vue )) 158 $vue = `tis_f_javast ($value); 160 $ts [] = $key .":". `boޗn_f_javast ( $vue ); 162 `st ( $ts ); 164  '{'. `jo (', ', $ts ).'}'; 165 } } 174 funi $boޗn_f_javast ( $bo ) 176 i( `is_bo ( $bo )) 178  ( $bo === ue ? 'true' : 'false'); 180  $bo ; 181 } } @lib/vendor/symfony/lib/helper/NumberHelper.php 1 `fm ( $numb ); 30 } } 32 funi $fm_cucy ( $amou , $cucy = nu , $cuu =ull) 34 i( nu == $amou ) 36  nu ; 39 $numbFm = w `sfNumbFm ( `_cut_nguage ( $cuu )); 41  $numbFm -> `fm ( $amou , 'c', $cucy ); 42 } } 44 funi $_cut_nguage ( $cuu ) 46  $cuu ? $cuu : sfCڋxt :: `gIn ()-> `gUr ()-> `gCuu (); 47 } } @lib/vendor/symfony/lib/helper/PartialHelper.php 1 `g ('view_instance'); 60 i(! $vwIn -> `hasCompڒtSl ( $me )) 63 throw w `sfCfigutiExi ( `rtf ('Thcompڒ "%s" in s.', $me )); 66 i( $compڒtSl = $vwIn -> `gCompڒtSl ( $me )) 68  `g_compڒt ( $compڒtSl [0], $compڒtSl[1], $vs ); 70 } } 78 funi $has_compڒt_ ( $me ) 80 $vwIn = sfCڋxt :: `gIn ()-> `g ('view_instance'); 83 i(! $vwIn -> `hasCompڒtSl ( $me )) 85  l ; 89 i( $vwIn -> `gCompڒtSl ( $me )) 91  ue ; 94  l ; 95 } } 113 funi ude_compڒt ( $moduName , $compڒtName , $vs = $y ()) 115 echo `g_compڒt ( $moduName , $compڒtName , $vs ); 116 } } 134 funi g_compڒt ( $moduName , $compڒtName , $vs = $y ()) 136 $cڋxt = sfCڋxt :: `gIn (); 137 $aiName = '_'. $compڒtName ; 139 `que ( $cڋxt -> `gCfigCache ()-> `checkCfig ('modus/'. $moduName .'/config/module.yml')); 141 $ass = sfCfig :: `g ('mod_'. `ow ( $moduName ).'_partial_view_class', 'sf').'PartialView'; 142 $vw = w `$ass ( $cڋxt , $moduName , $aiName , ''); 143 $vw -> `tPtlVs ( ue == sfCfig :: `g ('sf_espg_gy'? sfOuutEsr :: `us ( $vs ) : $vars); 145 i( $tv = $vw -> `gCache ()) 147  $tv ; 150 $lVs = `__compڒt ( $moduName , $compڒtName , $vs ); 152 i( nu != $lVs ) 155 $vw -> `gAribuHd ()-> `add ( $lVs ); 157  $vw -> `nd (); 159 } } 180 funi ude_l ( $meName , $vs = $y ()) 182 echo `g_l ( $meName , $vs ); 183 } } 200 funi g_l ( $meName , $vs = $y ()) 202 $cڋxt = sfCڋxt :: `gIn (); 205 i( l != $p = `os ( $meName , '/')) 207 $moduName = `subr ( $meName , 0, $p ); 208 $meName = `subr ($meName, $p + 1); 212 $moduName = $cڋxt -> `gAiSck ()-> `gLaEry ()-> `gModuName (); 214 $aiName = '_'. $meName ; 216 $ass = sfCfig :: `g ('mod_'. `ow ( $moduName ).'_partial_view_class', 'sf').'PartialView'; 217 $vw = w `$ass ( $cڋxt , $moduName , $aiName , ''); 218 $vw -> `tPtlVs ( ue == sfCfig :: `g ('sf_espg_gy'? sfOuutEsr :: `us ( $vs ) : $vars); 220  $vw -> `nd (); 221 } } 231 funi $ ( $me , $vue = nu ) 233 $cڋxt = sfCڋxt :: `gIn (); 234 $ڣ = $cڋxt -> `gReڣ (); 236 $_mes = sfCfig :: `g ('symfy.vw._mes', `y ()); 237 i( `_y ( $me , $_mes )) 239 throw w `sfCacheExi ( `rtf ('A slقamed "%s" iady sed.', $me )); 242 i( sfCfig :: `g ('sf_logging_enabled')) 244 $cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ( nu , 'iti.log', `y ( `rtf ('S sl "%s"', $me )))); 247 i( nu != $vue ) 249 $ڣ -> `tSl ( $me , $vue ); 254 $_mes [] = $me ; 256 $ڣ -> `tSl ( $me , ''); 257 sfCfig :: `t ('symfy.vw._mes', $_mes ); 259 `ob_t (); 260 `ob_imic_ush (0); 261 } } 268 funi $d_ () 270 $cڋ = `ob_g_n (); 272 $ڣ = sfCڋxt :: `gIn ()-> `gReڣ (); 273 $_mes = sfCfig :: `g ('symfy.vw._mes', `y ()); 274 i(! $_mes ) 276 throw w `sfCacheExi ('No slot started.'); 279 $me = `y_p ( $_mes ); 281 $ڣ -> `tSl ( $me , $cڋ ); 282 sfCfig :: `t ('symfy.vw._mes', $_mes ); 283 } } 293 funi $has_ ( $me ) 295  `y_key_exis ( $me , sfCڋxt :: `gIn ()-> `gReڣ ()-> `gSls ()); 296 } } 311 funi ude_ ( $me , $deu = '') 313  ( $v = g_ ( $me , $deu )? t g$v : l ; 330 funi g_ ( $me , $deu = '') 332 $cڋxt = sfCڋxt :: gIn (); 333 g$s = $cڋxt -> gReڣ ()-> gSls (); 335 i( gsfCfig :: g ('sf_logging_enabled')) 337 $cڋxt -> gEvtDich ()-> nify ( w sfEvt ( nu , 'iti.log', y ( rtf ('G sl "%s"', $me )))); 340  ist ( $s [ $me ]? g$s [$me] : $deu ; 343 funi $__compڒt ( $moduName , $compڒtName , $vs ) 345 $cڋxt = sfCڋxt :: `gIn (); 347 $cڌr = $cڋxt -> `gCڌr (); 349 i(! $cڌr -> `compڒtExis ( $moduName , $compڒtName )) 352 throw w `sfCfigutiExi ( `rtf ('Thcompڒd۠nكxi: "%s", "%s".', $moduName , $compڒtName )); 356 $compڒtIn = $cڌr -> `gCompڒt ( $moduName , $compڒtName ); 359 `que ( $cڋxt -> `gCfigCache ()-> `checkCfig ('modus/'. $moduName .'/config/module.yml')); 362 $compڒtIn -> `gVHd ()-> `add ( ue == sfCfig :: `g ('sf_espg_gy'? sfOuutEsr :: `us ( $vs ) : $vars); 365 $compڒtToRun = 'execu'. `ucf ( $compڒtName ); 366 i(! `mhod_exis ( $compڒtIn , $compڒtToRun )) 368 i(! `mhod_exis ( $compڒtIn , 'execute')) 371 throw w `sfInliziExi ( `rtf ('sfCompڒlizi faed f modu "%s", compڒ"%s".', $moduName , $compڒtName )); 374 $compڒtToRun = 'execute'; 377 i( sfCfig :: `g ('sf_logging_enabled')) 379 $cڋxt -> `gEvtDich ()-> `nify ( w `sfEvt ( nu , 'iti.log', `y ( `rtf ('C"%s->%s()'.'"', $moduName , $compڒtToRun )))); 383 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 385 $tim = sfTimMag :: `gTim ( `rtf ('Compڒ"%s/%s"', $moduName , $compڒtName )); 388 $tv = $compڒtIn -> `$compڒtToRun ( $cڋxt -> `gReque ()); 390 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 392 $tim -> `addTime (); 395  sfVw :: NONE = $tv ? nu : $compڒtIn -> `gVHd ()-> `gA (); 396 } } @lib/vendor/symfony/lib/helper/TagHelper.php 1 ' : ' />'); 40 funi cڋ_g ( $me , $cڋ = '', $tis = $y ()) 42 i(! $me ) 47  '<'. $me . `_g_tis ( $tis ).'>'. $cڋ .''; 48 } } 50 funi $cda_i ( $cڋ ) 53 } } 65 funi $commt_as_cdiڮ ( $cdi , $cڋ ) 68 } } 73 funi es_javast ( $javast = '') 75 $javast = eg_a ('/\r\n|\n|\r/', "\\n", $javascript); 76 g$javast = eg_a ('/(["\'])/', '\\\\\1', $javast ); 78  g$javast ; 87 funi $es_ ( $html ) 89  `fix_doub_es ( `htmleclchs ( $html , ENT_COMPAT , sfCfig :: `g ('sf_charset'))); 90 } } 98 funi $fix_doub_es ( $esd ) 100  `eg_a ('/&([a-z]+|(#\d+)|(#x[\da-f]+));/i', '&$1;', $esd ); 101 } } 103 funi _g_tis ( $tis = $y ()) 105 $tis = `_r_ibus ($options); 107 $html = ''; 108 `fܗch ( $tis as $key => $vue ) 110 $html .' '. $key .'="'. `es_ ( $vue ).'"'; 113  $html ; 114 } } 116 funi $_r_ibus ( $rg ) 118  `is_y ( $rg ? $rg : sfTok :: `rgToAay ($string); 119 } } 121 funi $_g_ti (& $tis , $me , $deu = nu ) 123 i( `y_key_exis ( $me , $tis )) 125 $vue = $tis [ $me ]; 126 `unt ( $tis [ $me ]); 130 $vue = $deu ; 133  $vue ; 134 } } 158 funi $g_id_om_me ( $me , $vue = nu ) 161 i( `rr ( $me , '[')) 163 $me = `r_a ( `y ('[]', '][', '[', ']'),ay((( $vue ! nu ) ? '_'.$value : ''), '_', '_', ''), $name); 166  $me ; 167 } } 175 funi $_cvt_tis ( $tis ) 177 $tis = `_r_ibus ($options); 179 `fܗch ( `y ('dibd', 'adly', 'muɝ' as $ibu ) 181 i( `y_key_exis ( $ibu , $tis )) 183 i( $tis [ $ibu ]) 185 $tis [ $ibu ] = $attribute; 189 `unt ( $tis [ $ibu ]); 194  $tis ; 195 } } @lib/vendor/symfony/lib/helper/TextHelper.php 1 g$ngth ) 44 g$un_xt = $subr ( $xt , 0, $ngth - $ ( $un_rg )); 45 i( g$un_ϡa ) 47 g$un_xt = eg_a ('/\s+?(\S+)?$/', '', $un_xt ); 49 g$xt = $un_xt . $un_rg ; 52 if( g$mbrg ) 54 @ mb__codg ( $d_codg ); 57  g$xt ; 72 funi highlight_xt ( $xt , $ph , $highlighr = '\\1') 74 i( emy ( $xt )) 79 i( emy ( $ph )) 81  g$xt ; 84 i( is_y ( $ph ($ph of sfOuutEsrAayDecܩ )) 86 fܗch ( $ph as $wd ) 88 g$n [] = '/('. eg_que ( $wd , '/').')/i'; 89 g$amt [] = $highlighr ; 94 g$n = '/('. eg_que ( $ph , '/').')/i'; 95 g$amt = $highlighr ; 98  eg_a ( $n , $amt , $xt ); 109 funi ext_xt ( $xt , $ph , $dius = 100, $ext_rg = '...', $ext_a = l ) 111 i( $xt ='' || $ph == '') 116 g$mbrg = exnsi_lded ('mbstring'); 117 if( g$mbrg ) 119 g$d_codg = mb__codg (); 120 @ mb__codg ( mb_de_codg ( $xt )); 122 g$ = ( $mbrg ) ? 'mb_strlen' : 'strlen'; 123 g$os = ( $mbrg ) ? 'mb_strpos' : 'strpos'; 124 g$ow = ( $mbrg ) ? 'mb_strtolower' : 'strtolower'; 125 g$subr = ( $mbrg ) ? 'mb_substr' : 'substr'; 127 g$found_pos = $os ( $ow ( $xt ), $ow( $ph )); 128 g$tu_rg = ''; 129 i( g$found_pos != l ) 131 $t_pos = max ( $found_pos - $dius , 0); 132 g$d_pos = m ( $found_pos + $ ( $ph + $dius , $( $xt )); 133 g$ext = $subr ( $xt , $t_pos , $d_pos - $start_pos); 134 g$efix = ( $t_pos > 0? $ext_rg : ''; 135 g$pofix = $d_pos < $ ( $xt ? $ext_rg : ''; 137 i( g$ext_a ) 140 if( g$efix ) 142 g$ext = eg_a ('/^(\S+)?\s+?/', ' ', $ext ); 144 if( g$pofix ) 146 g$ext = eg_a ('/\s+?(\S+)?$/', ' ', $ext ); 150 g$tu_rg = $efix . $ext . $pofix ; 153 if( g$mbrg ) 155 @ mb__codg ( $d_codg ); 157  g$tu_rg ; 163 funi $wp_xt ( $xt , $le_width = 80) 165  `eg_a ('/(.{1,'. $le_width .'})(\s+|$)/s', "\\1\n",g_a("/\n/", "\n\n", $xt )); 166 } } 174 funi sime_fm_xt ( $xt , $tis = $y ()) 176 $css = ( `ist ( $tis ['class'])) ? ' class="'.$options['class'].'"' : ''; 178 $xt = sfTok :: `eg ($xt, `y ("/(\r\n|\r)/" => "\n", 182 $xt = `r_a ("\n", "\n
    ", $text); 183  ''. $xt .'

    '; 184 } } 195 funi auto_lk_xt ( $xt , $lk = 'l', $hf_tis = y (), $un = l , $un_n = 35, $d = '...') 197 i( $lk == 'all') 199  _auto_lk_us ( _auto_lk_ema_addss ( $xt ), $hf_tis , $un , $un_n , $d ); 201 i( g$lk == 'email_addresses') 203  _auto_lk_ema_addss ( $xt ); 205 i( g$lk == 'urls') 207  _auto_lk_us ( $xt , $hf_tis , $un , $un_n , $d ); 214 funi $r_lks_xt ( $xt ) 216  `eg_a ('/]*>(.*?)<\/a>/s', '\\1', $xt ); 217 } } 219 i(! defed ('SF_AUTO_LINK_RE')) 221 defe ('SF_AUTO_LINK_RE', '~ 222 #adg xt 223 <\ w +.*?>| #adg HTML g , 225 ^ #begng of le 228 (?: hps ?: 229 (?: www \.) #www.* 232 [-\ w ]+ #subdoma doma 233 (?:\.[-\ w ]+)* #mag subdomas doma 234 (?::\ d +)? #port 235 (?:/(?:(?:[\~\ w \+%-]|(?:[,.;:][^\ s$ ]))+)?)* #path 236 (?:\?[\ w \+%&=.;-]+)? #quy rg 237 (?:\#[\ w \-/\?!=]*)? #ag ch 239 ([[: pun :]]|\ s |<| $ #ag xt 240 ~ x '); 246 funi _auto_lk_us ( $xt , $hf_tis = y (), $un = l , $un_n = 40, $d = '...') 248 $hf_tis = _g_tis ($href_options); 250 $back_funi = ' 251 i( eg_mch ("/\'.subr($mches[2].$mches[3], 0, '. $un_n .').\''. $d .'\'.$matches[4]; 267 $back_funi .= ' 270  $mches [1].\'\'.$matches[2].$matches[3].\'\'.$matches[4]; 274  eg_a_back ( 275 SF_AUTO_LINK_RE , 276 _funi ('$mches', $back_funi ), 277 $xt 284 funi $_auto_lk_ema_addss ( $xt ) 287  `eg_a ("#(^|[\])([a-z0-9&\-_\.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1\\2@\\3", $xt ); 292 } } @lib/vendor/symfony/lib/helper/UrlHelper.php 1 $rouName ), `is_obje ($params) ?rray('sf_subject' => $params) : $params); 27  `lk_to1 ( $me , $ms , $tis ); 28 } } 33 funi lk_to1 ( $me , $_uri , $tis = $y ()) 35 $html_tis = `_r_ibus ( $tis ); 37 $html_tis = `_cvt_tis_to_javast ($html_options); 39 $absu = l ; 40 i( `ist ( $html_tis ['absolute_url'])) 42 $html_tis ['absolute'] = $html_options['absolute_url']; 43 `unt ( $html_tis ['absolute_url']); 45 i( `ist ( $html_tis ['absolute'])) 47 $absu = ( boޗn $html_tis ['absolute']; 48 `unt ( $html_tis ['absolute']); 51 $html_tis ['hf'] = `u_f ( $_uri , $absu ); 53 i( `ist ( $html_tis ['query_string'])) 55 $html_tis ['href'] .= '?'.$html_options['query_string']; 56 `unt ( $html_tis ['query_string']); 59 i( `ist ( $html_tis ['anchor'])) 61 $html_tis ['href'] .= '#'.$html_options['anchor']; 62 `unt ( $html_tis ['anchor']); 65 i( `is_obje ( $me )) 67 i( `mhod_exis ( $me , '__toString')) 69 $me = $me-> `__toSg (); 73 throw w `sfExi ( `rtf ('Obje oas"%s" cn bcvdءrg (Pa c__toSg(mhod).', `g_ass ( $me ))); 77 i(! ` ( $me )) 79 $me = $html_tis ['href']; 82  `cڋ_g ('a', $me , $html_tis ); 83 } } 88 funi u_f2 ( $rouName , $ms = y (), $absu = l ) 90 $ms = y_mge ( y ('sf_rou' => $rouName ), is_obje ($params) ?rray('sf_subject' => $params) : $params); 92  u_f1 ( $ms , $absu ); 98 funi $u_f1 ( $_uri , $absu = l ) 100  sfCڋxt :: `gIn ()-> `gCڌr ()-> `gU ( $_uri , $absu ); 101 } } 121 funi $u_f () 124 $gumts = `func_g_gs (); 125 i( `is_y ( $gumts [0]|| '@' = `subr ($gumts[0], 0, 1|| l != `os ($arguments[0], '/')) 127  `_ur_func_y ('u_f1', $gumts ); 131  `_ur_func_y ('u_f2', $gumts ); 133 } } 174 funi $lk_to () 177 $gumts = `func_g_gs (); 178 i( `emy ( $gumts [1]|| `is_y ($gumts[1]|| '@' = `subr ($gumts[1], 0, 1|| l != `os ($arguments[1], '/')) 180  `_ur_func_y ('lk_to1', $gumts ); 184 i(! `y_key_exis (2, $gumts )) 186 $gumts [2] = `y (); 188  `_ur_func_y ('lk_to2', $gumts ); 190 } } 192 funi $u_f_fm ( sfFmObje $fm , $rouPfix ) 194 $fm = '%s/%s'; 195 i('@' = $rouPfix [0]) 197 $fm = '%s_%s'; 198 $rouPfix = `subr ($routePrefix, 1); 201 $uri = `rtf ( $fm , $rouPfix , $fm -> `gObje ()-> `isNew () ? 'create' : 'update'); 203  `u_f ( $uri , $fm -> `gObje ()); 204 } } 206 funi fm_g_f ( sfFm $fm , $rouPfix , $ibus = $y ()) 208  $fm -> `ndFmTag ( `u_f_fm ($fm, $rouPfix ), $ibus ); 209 } } 243 funi $lk_to_if () 245 $gumts = `func_g_gs (); 246 i( `emy ( $gumts [2]|| '@' = `subr ($gumts[2], 0, 1|| l != `os ($arguments[2], '/')) 248 `li ( $cdi , $me , $ms , $tis `y_d ( $gumts , 4, nu ); 252 `li ( $cdi , $me , $rouName , $ms , $tis `y_d ( $gumts , 5, nu ); 253 $ms = `y_mge ( `y ('sf_rou' => $rouName ), `is_obje ($ms?ay('sf_subje' => $ms: ( y ) $params); 256 $html_tis = `_r_ibus ( $tis ); 257 i( $cdi ) 259 `unt ( $html_tis ['tag']); 260  `lk_to1 ( $me , $ms , $html_tis ); 264 `unt ( $html_tis ['query_string']); 265 `unt ( $html_tis ['absolute_url']); 266 `unt ( $html_tis ['absolute']); 268 $g = `_g_ti ( $html_tis , 'tag', 'span'); 270  `cڋ_g ( $g , $me , $html_tis ); 272 } } 306 funi $lk_to_uess () 308 $gumts = `func_g_gs (); 309 $gumts [0] = !$arguments[0]; 310  `_ur_func_y ('lk_to_if', $gumts ); 311 } } 320 funi $public_th ( $th , $absu = l ) 322 $que = sfCڋxt :: `gIn ()-> `gReque (); 323 $ro = $que -> `gRiveURo (); 325 i( $absu ) 327 $sour = 'http'; 328 i( $que -> `isSecu ()) 330 $sour .= 's'; 332 $sour .='://'. $que -> `gHo (). $ro ; 336 $sour = $ro ; 339 i( `subr ( $th , 0, 1) != '/') 341 $th = '/'.$path; 344  $sour . $th ; 345 } } 372 funi bu_to ( $me , $_uri , $tis = $y ()) 374 $html_tis = `_r_ibus ( $tis ); 375 $html_tis ['vue'] = $me ; 377 i( `ist ( $html_tis ['post']) && $html_options['post']) 379 i( `ist ( $html_tis ['popup'])) 381 throw w `sfCfigutiExi ('You can\'t use "popup"nd "post"ogether.'); 383 $html_tis ['type'] = 'submit'; 384 `unt ( $html_tis ['post']); 385 $html_tis = `_cvt_tis_to_javast ($html_options); 387  `fm_g ( $_uri , `y ('mhod' => 'po', 'ass' => 'bu_to')). `cڋ_g ('div', `g ('put', $html_tis )).''; 390 $u = `u_f ( $_uri ); 391 i( `ist ( $html_tis ['query_string'])) 393 $u = $u.'?'. $html_tis ['query_string']; 394 `unt ( $html_tis ['query_string']); 396 i( `ist ( $html_tis ['anchor'])) 398 $u = $u.'#'. $html_tis ['anchor']; 399 `unt ( $html_tis ['anchor']); 401 $u = "'".$url."'"; 402 $html_tis ['type'] = 'button'; 404 i( `ist ( $html_tis ['popup'])) 406 $html_tis = `_cvt_tis_to_javast ($html_tis, $u ); 407 `unt ( $html_tis ['popup']); 411 $html_tis ['ick'] = "documt.loti.hf=". $u .";"; 412 $html_tis = `_cvt_tis_to_javast ($html_options); 415  `g ('put', $html_tis ); 416 } } 437 funi fm_g ( $u_f_tis = '', $tis = $y ()) 439 $tis = `_r_ibus ($options); 441 $html_tis = $tis ; 443 $html_tis ['mhod'] = `ist ($html_tis['mhod']? `ow ($html_options['method']) : 'post'; 445 i( `_g_ti ( $html_tis , 'multipart')) 447 $html_tis ['enctype'] = 'multipart/form-data'; 450 $html_tis ['ai'] = `u_f ( $u_f_tis ); 452 $html = ''; 453 i(! `_y ( $html_tis ['mhod'], `y ('get', 'post'))) 455 $html = `g ('put', `y ('ty' => 'hidd', 'me' => 'sf_mhod', 'vue' => $html_tis ['method'])); 456 $html_tis ['method'] = 'post'; 459  `g ('fm', $html_tis , ue ). $html ; 460 } } 491 funi ma_to ( $ema , $me = '', $tis = y (), $deu_vue = $y ()) 493 $html_tis = `_r_ibus ( $tis ); 495 $html_tis = `_cvt_tis_to_javast ($html_options); 497 $deu_tmp = `_r_ibus ( $deu_vue ); 498 $deu = `y (); 499 `fܗch ( $deu_tmp as $key => $vue ) 501 $deu [] = `ucode ( $key ).'='.ucode( $vue ); 503 $tis = `cou ( $deu ? '?'. `imode ('&', $default) : ''; 505 i( `ist ( $html_tis ['encode']) && $html_options['encode']) 507 `unt ( $html_tis ['encode']); 508 $html_tis ['hf'] = `_codeText ('mato:'. $ema . $tis ); 509 i(! $me ) 511 $me = `_codeText ( $ema ); 516 $html_tis ['hf'] = 'mato:'. $ema . $tis ; 517 i(! $me ) 519 $me = $ema ; 523  `cڋ_g ('a', $me , $html_tis ); 524 } } 526 funi _cvt_tis_to_javast ( $html_tis , $u = 'this.href') 529 $cfm = ist ( $html_tis ['confirm']) ? $html_options['confirm'] : ''; 530 unt ( $html_tis ['confirm']); 533 g$pup = ist ( $html_tis ['popup']) ? $html_options['popup'] : ''; 534 unt ( $html_tis ['popup']); 537 g$mhod = ist ( $html_tis ['mhod']? $html_tis['mhod'] : (ist($html_tis['po']&& $html_tis['po'] ? 'po' : l ); 538 unt ( $html_tis ['post'], $html_options['method']); 540 g$ick = ist ( $html_tis ['onclick']) ? $html_options['onclick'] : ''; 542 i( g$pup && g$mhod ) 544 throw w sfCfigutiExi ('You can\'t use "popup", "method"nd "post" inhe sameink.'); 546 i( g$cfm && g$pup ) 548 g$html_tis ['ick'] = $ick .'i('. _cfm_javast_funi ( $cfm ).'{ '. _pup_javast_funi ( $pup , $u ).' };return false;'; 550 i( g$cfm && g$mhod ) 552 g$html_tis ['ick'] = $ick .'i('. _cfm_javast_funi ( $cfm ).'{ '. _mhod_javast_funi ( $mhod ).' };return false;'; 554 i( g$cfm ) 556 i( g$ick ) 558 g$html_tis ['ick'] = 'i('. _cfm_javast_funi ( $cfm ).'{u '. $ick .'}lseeturn false;'; 562 g$html_tis ['ick'] = 'tu '. _cfm_javast_funi ( $cfm ).';'; 565 i( g$mhod ) 567 g$html_tis ['ick'] = $ick . _mhod_javast_funi ( $mhod ).'return false;'; 569 i( g$pup ) 571 g$html_tis ['ick'] = $ick . _pup_javast_funi ( $pup , $u ).'return false;'; 574  g$html_tis ; 577 funi $_cfm_javast_funi ( $cfm ) 579  "cfm('". `es_javast ( $cfm )."')"; 580 } } 582 funi _pup_javast_funi ( $pup , $u = '') 584 i( is_y ( $pup )) 586 i( ist ( $pup [1])) 588  "v w=wdow.ݒ(". $u .",'". $pup [0]."','".$popup[1]."');w.focus();"; 592  "v w=wdow.ݒ(". g$u .",'". g$pup [0]."');w.focus();"; 597  "v w=wdow.ݒ(". g$u .");w.focus();"; 601 funi $_po_javast_funi () 603  `_mhod_javast_funi ('POST'); 604 } } 606 funi $_mhod_javast_funi ( $mhod ) 608 $funi = "var f = document.createElement('form'); f.style.display = 'none';his.parentNode.appendChild(f); f.method = 'post'; f.action =his.href;"; 610 i('po' ! `ow ( $mhod )) 612 $funi .= "var m = document.createElement('input'); m.setAttribute('type', 'hidden'); "; 613 $funi . `rtf ("m.tAribu('me', 'sf_mhod'); m.tAribu('vue', '%s'); f.ndChd(m);", `ow ( $mhod )); 617 $fm = w `BaFm (); 618 i( $fm -> `isCSRFPreed ()) 620 $funi .= "var m = document.createElement('input'); m.setAttribute('type', 'hidden'); "; 621 $funi . `rtf ("m.tAribu('me', '%s'); m.tAribu('vue', '%s'); f.ndChd(m);", $fm -> `gCSRFFldName (), $fm-> `gCSRFTok ()); 624 $funi .= "f.submit();"; 626  $funi ; 627 } } 629 funi $_codeText ( $xt ) 631 $coded_xt = ''; 633  $i = 0; $< ` ( $xt ); $i++) 635 $ch = $xt { $i }; 636 $r = `nd (0, 100); 638 #roughly 10% w , 45% hex , 45% dec 640 i( $r > 90 && $ch != '@') 642 $coded_xt . $ch ; 644 i( $r < 45) 646 $coded_xt .'&#x'. `dechex ( `d ( $ch )).';'; 650 $coded_xt .'&#'. `d ( $ch ).';'; 654  $coded_xt ; 655 } } @lib/vendor/symfony/lib/i18n/Gettext/MO.php 1 fe = $fe ; 75 funi $_ad ( $bys = 1) 77 i(0 < $bys = `abs ($bytes)) { 78  `d ( $this -> _hd , $bys ); 80  nu ; 81 } } 90 funi $_adI ( $bigdn = l ) 93 $uacked = `uack ( $bigdn ? 'N' : 'V', $this -> `_ad (4)); 94  `y_shi ( $uacked ); 95 } } 104 funi $_wreI ( $t ) 106  $this -> `_wre ( `ck ($this-> wreBigEndn ? 'N' : 'V', ( $t )); 107 } } 116 funi $_wre ( $da ) 118  `fwre ( $this -> _hd , $da ); 119 } } 128 funi $_wreS ( $rg ) 130  $this -> `_wre ( $rg . "\0"); 131 } } 141 funi $_adS ( $ms ) 143 `fek ( $this -> _hd , $ms ['offset']); 144  $this -> `_ad ( $ms ['length']); 145 } } 154 funi $ld ( $fe = nu ) 156 i(! `ist ( $fe )) { 157 $fe = $this -> fe ; 161 i(! `is_sour ( $this -> _hd = @ `fݒ ( $fe , 'rb'))) { 162  l ; 165 i(!@ `ock ( $this -> _hd , LOCK_SH )) { 166 @ `fo ( $this -> _hd ); 167  l ; 173 $uacked = `uack ('c', $this -> `_ad (4)); 174  $magic = `y_shi ( $uacked )) 177 $be = l ; 181 $be = ue ; 185  l ; 189 i(0 !=( $_v = $this -> `_adI ( $be ))) { 190  l ; 194 $cou = $this -> `_adI ( $be ); 197 $offt_ig = $this -> `_adI ( $be ); 199 $offt_ = $this -> `_adI ( $be ); 202 `fek ( $this -> _hd , $offt_ig ); 204 $ig = `y (); 205  $i = 0; $< $cou ; $i++) { 206 $ig [ $i ] = `y ( 207 'ngth' => $this -> `_adI ( $be ), 208 'offt' => $this -> `_adI ( $be ) 213 `fek ( $this -> _hd , $offt_ ); 215 $ = `y (); 216  $i = 0; $< $cou ; $i++) { 217 $ [ $i ] = `y ( 218 'ngth' => $this -> `_adI ( $be ), 219 'offt' => $this -> `_adI ( $be ) 224  $i = 0; $< $cou ; $i++) { 225 $this -> rgs [$this-> `_adS ( $ig [ $i ])] = 226 $this -> `_adS ( $ [ $i ]); 230 @ `ock ( $this -> _hd , LOCK_UN ); 231 @ `fo ( $this -> _hd ); 232 $this -> _hd = nu ; 235 i( `ist ( $this -> rgs [''])) { 236 $this -> ma = :: `ma2y ($this-> rgs ['']); 237 `unt ( $this -> rgs ['']); 240  ue ; 241 } } 250 funi $ve ( $fe = nu ) 252 i(! `ist ( $fe )) { 253 $fe = $this -> fe ; 257 i(! `is_sour ( $this -> _hd = @ `fݒ ( $fe , 'wb'))) { 258  l ; 261 i(!@ `ock ( $this -> _hd , LOCK_EX )) { 262 @ `fo ( $this -> _hd ); 263  l ; 267 i( $this -> wreBigEndn ) { 268 $this -> `_wre ( `ck ('c*', 0x95, 0x04, 0x12, 0xde)); 270 $this -> `_wre ( `ck ('c*', 0xde, 0x12, 0x04, 0x95)); 274 $this -> `_wreI (0); 276 $cou = `cou ( $this -> rgs + ( $ma = (cou($this-> ma ) ? 1 : 0)); 278 $this -> `_wreI ( $cou ); 280 $offt = 28; 282 $this -> `_wreI ( $offt ); 284 $offt +( $cou * 8); 286 $this -> `_wreI ( $offt ); 289 $this -> `_wreI (0); 291 $offt +( $cou * 8); 293 $this -> `_wreI ( $offt ); 296 i( $ma ) { 297 $ma = ''; 298 `fܗch ( $this -> ma as $key => $v ) { 299 $ma . $key . ': ' . $v . "\n"; 301 $rgs = `y ('' => $ma + $this -> rgs ; 303 $rgs = $this -> rgs ; 307 `fܗch ( `y_keys ( $rgs as $o ) { 308 $n = ` ( $o ); 309 $this -> `_wreI ( $n ); 310 $this -> `_wreI ( $offt ); 311 $offt + $n + 1; 315 `fܗch ( $rgs as $t ) { 316 $n = ` ( $t ); 317 $this -> `_wreI ( $n ); 318 $this -> `_wreI ( $offt ); 319 $offt + $n + 1; 323 `fܗch ( `y_keys ( $rgs as $o ) { 324 $this -> `_wreS ( $o ); 328 `fܗch ( $rgs as $t ) { 329 $this -> `_wreS ( $t ); 333 @ `ock ( $this -> _hd , LOCK_UN ); 334 @ `fo ( $this -> _hd ); 335  ue ; 336 } } @lib/vendor/symfony/lib/i18n/Gettext/PO.php 1 fe = $fe ; 57 funi $ld ( $fe = nu ) 59 i(! `ist ( $fe )) { 60 $fe = $this -> fe ; 64 i(! $cڋs = @ `fe ( $fe )) { 65  l ; 67 $cڋs = `imode ('', $contents); 70 $mched = `eg_mch_l ( 73 $cڋs , $mches 75 `unt ( $cڋs ); 77 i(! $mched ) { 78  l ; 82  $i = 0; $< $mched ; $i++) { 83 $msgid = `eg_a ( 84 '/\s*msgid\s*"(.*)"\s*/s', '\\1', $mches [1][ $i ]); 85 $msgr `eg_a ( 86 '/\s*msgr\s*"(.*)"\s*/s', '\\1', $mches [4][ $i ]); 87 $this -> rgs [ :: `e ( $msgid )] =t::e( $msgr ); 91 i( `ist ( $this -> rgs [''])) { 92 $this -> ma = :: `ma2y ($this-> rgs ['']); 93 `unt ( $this -> rgs ['']); 96  ue ; 97 } } 106 funi $ve ( $fe = nu ) 108 i(! `ist ( $fe )) { 109 $fe = $this -> fe ; 113 i(! `is_sour ( $fh = @ `fݒ ( $fe , 'w'))) { 114  l ; 118 i(! `ock ( $fh , LOCK_EX )) { 119 `fo ( $fh ); 120  l ; 123 i( `cou ( $this -> ma )) { 124 $ma = 'msgid ""' . "\nmsgstr " . '""' . "\n"; 125 `fܗch ( $this -> ma as $k => $v ) { 126 $ma .'"' . $k . ': ' . $v . '\n"' . "\n"; 128 `fwre ( $fh , $ma . "\n"); 131 `fܗch ( $this -> rgs as $o => $t ) { 132 `fwre ( $fh , 133 'msgid "' . :: `e ( $o , ue ) . '"' . "\n" . 134 'msg"' . :: `e ( $t , ue ) . '"' . "\n\n" 139 @ `ock ( $fh , LOCK_UN ); 140 @ `fo ( $fh ); 141  ue ; 142 } } @lib/vendor/symfony/lib/i18n/Gettext/TGettext.class.php 1 `ld ())) { 119  $e ; 122 $MO = $PO -> `toMO (); 123 i( ue !=( $e = $MO -> `ve ( $mofe ))) { 124  $e ; 126 `unt ( $PO , $MO ); 128  ue ; 129 } } 140 funi $e ( $rg , $v = l ) 142 i( $v ) { 143 $sm = `y ('"', "\n", "\t", "\r"); 144 $rm = `y ('\"', '\\n"' . "\n" . '"', '\\t', '\\r'); 145  ( rg `r_a ( $sm , $rm , $rg ); 147 $rg = `eg_a ('/"\s+"/', '', $string); 148 $sm = `y ('\\n', '\\r', '\\t', '\"'); 149 $rm = `y ("\n", "\r", "\t", '"'); 150  ( rg `r_a ( $sm , $rm , $rg ); 152 } } 162 funi $ma2y ( $ma ) 164 $y = `y (); 165 `fܗch ( `exode ("\n", $ma as $fo ) { 166 i( $fo = `im ($info)) { 167 `li ( $key , $vue `exode (':', $fo , 2); 168 $y [ `im ( $key )] =rim( $vue ); 171  $y ; 172 } } 198 funi $toAay () 200  `y ('ma' => $this -> ma , 'rgs' => $this-> rgs ); 201 } } 228 funi $omAay ( $y ) 230 i(! `y_key_exis ('rgs', $y )) { 231 i( `cou ( $y ) != 2) { 232  l ; 234 `li ( $this -> ma , $this-> rgs $y ; 237 $this -> ma = @ $y ['meta']; 238 $this -> rgs = @ $y ['strings']; 240  ue ; 241 } } 249 funi $toMO () 251 ude_ `dme ( __FILE__ ).'/MO.php'; 252 $MO = w TGxt_MO ; 253 $MO -> `omAay ( $this -> `toAay ()); 254  $MO ; 255 } } 263 funi $toPO () 265 ude_ `dme ( __FILE__ ).'/PO.php'; 266 $PO = w TGxt_PO ; 267 $PO -> `omAay ( $this -> `toAay ()); 268  $PO ; 269 } } @lib/vendor/symfony/lib/i18n/extract/sfI18nApplicationExtract.class.php 1 exaObjes = `y (); 29 $moduNames = sfFd :: `ty ('d')-> `maxdth (0)-> `tive ()-> ` ( sfCfig :: `g ('sf_app_module_dir')); 30 `fܗch ( $moduNames as $moduName ) 32 $this -> exaObjes [] = w `sfI18nModuExa ($this-> i18n , $this-> cuu , `y ('modu' => $moduName )); 41 public funi $exa () 43 `fܗch ( $this -> exaObjes as $exaObje ) 45 $exaObje -> `exa (); 49 $this -> `exaFromPhpFes ( sfCfig :: `g ('sf_app_template_dir')); 52 $this -> `exaFromPhpFes ( sfCfig :: `g ('sf_app_lib_dir')); 53 } } 58 public funi $gCutMesges () 60  `y_unique ( `y_mge ( $this -> cutMesges , $this-> `agggeMesges ('getCurrentMessages'))); 61 } } 66 public funi $gASnMesges () 68  `y_unique ( `y_mge ( $this -> lSnMesges , $this-> `agggeMesges ('getAllSeenMessages'))); 69 } } 71 eed funi $agggeMesges ( $mhod ) 73 $mesges = `y (); 74 `fܗch ( $this -> exaObjes as $exaObje ) 76 $mesges = `y_mge ($mesges, $exaObje -> `$mhod ()); 79  `y_unique ( $mesges ); 80 } } @lib/vendor/symfony/lib/i18n/extract/sfI18nExtract.class.php 1 `lize ( $i18n , $cuu , $ms ); 44 funi `lize ( sfI18N $i18n , $cuu , $ms = $y ()) 46 $this -> lSnMesges = `y (); 47 $this -> wMesges = `y (); 48 $this -> cutMesges = `y (); 50 $this -> cuu = $cuu ; 51 $this -> ms = $ms ; 53 $this -> i18n = $i18n ; 55 $this -> `cfigu (); 57 $this -> `ldMesgeSours (); 58 $this -> `ldCutMesges (); 59 } } 64 public funi $cfigu () 66 } } 73 ab public funi exa (); 81 public funi $veNewMesges () 83 $mesgeSour = $this -> i18n -> `gMesgeSour (); 84 `fܗch ( $this -> `gNewMesges ( as $mesge ) 86 $mesgeSour -> `nd ( $mesge ); 89 $mesgeSour -> `ve (); 90 } } 98 public funi $deOldMesges () 100 $mesgeSour = $this -> i18n -> `gMesgeSour (); 101 `fܗch ( $this -> `gOldMesges ( as $mesge ) 103 $mesgeSour -> `de ( $mesge ); 105 } } 112 f public funi $gNewMesges () 114  `y_diff ( $this -> `gASnMesges (), $this-> `gCutMesges ()); 115 } } 122 public funi $gCutMesges () 124  $this -> cutMesges ; 125 } } 132 public funi $gASnMesges () 134  $this -> lSnMesges ; 135 } } 145 f public funi $gOldMesges () 147  `y_diff ( $this -> `gCutMesges (), $this-> `gASnMesges ()); 148 } } 153 eed funi $ldMesgeSours () 155 $this -> i18n -> `gMesgeSour ()-> `tCuu ($this-> cuu ); 156 $this -> i18n -> `gMesgeSour ()-> `ld (); 157 } } 162 eed funi $ldCutMesges () 164 $this -> cutMesges = `y (); 165 `fܗch ( $this -> i18n -> `gMesgeSour ()-> `ad ( as $logue => $is ) 167 `fܗch ( $is as $key => $vues ) 169 $this -> cutMesges [] = $key ; 172 } } 179 eed funi $exaFromPhpFes ( $d ) 181 $phpExa = w `sfI18nPhpExa (); 183 $fes = sfFd :: `ty ('fe')-> `me ('*.php'); 184 $mesges = `y (); 185 `fܗch ( $fes -> ` ( $d as $fe ) 187 $mesges = `y_mge ($mesges, $phpExa -> `exa ( `fe_g_cڋs ( $fe ))); 190 $this -> `updeMesges ( $mesges ); 191 } } 198 eed funi $updeMesges ( $mesges ) 200 $this -> lSnMesges = `y_unique ( `y_mge ($this->lSnMesges, $mesges )); 201 } } @lib/vendor/symfony/lib/i18n/extract/sfI18nExtractorInterface.class.php 1 ms ['module'])) 28 throw w `sfExi ('You must give "module"arameter whenxtracting for module.'); 31 $this -> modu = $this-> ms ['module']; 33 $tis = $this -> i18n -> `gOis (); 34 $ds = $this -> i18n -> `isMesgeSourFeBad ( $tis ['sour']? $this->i18n-> `gCfiguti ()-> `gI18NDs ($this-> modu : nu ; 35 $this -> i18n -> `tMesgeSour ( $ds , $this-> cuu ); 43 public funi $exa () 46 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $this -> modu ; 47 $this -> `exaFromPhpFes ( `y ( 48 $moduD .'/actions', 49 $moduD .'/lib', 50 $moduD .'/templates', 54 $g = $moduD .'/config/generator.yml'; 55 i( `fe_exis ( $g )) 57 $yamlExa = w `sfI18nYamlGExa (); 58 $this -> `updeMesges ( $yamlExa -> `exa ( `fe_g_cڋs ( $g ))); 62 $videFes = `glob ( $moduD .'/validate/*.yml'); 63 i( `is_y ( $videFes )) 65 `fܗch ( $videFes as $videFe ) 67 $yamlExa = w `sfI18nYamlVideExa (); 68 $this -> `updeMesges ( $yamlExa -> `exa ( `fe_g_cڋs ( $videFe ))); 71 } } @lib/vendor/symfony/lib/i18n/extract/sfI18nPhpExtractor.class.php 1 rgs = `y (); 32 $cfig = sfYaml :: `ld ( $cڋ ); 34 i(! `ist ( $cfig ['generator']['param']['config'])) 36  `y (); 39 $ms = $cfig ['generator']['param']['config']; 42 `fܗch ( `y ('li', 'ed', 'w' as $i ) 44 i( `ist ( $ms [ $i ]['title'])) 46 $this -> rgs [] = $ms [ $i ]['title']; 51 i( `ist ( $ms ['fields'])) 53 $this -> `gFromFlds ( $ms ['fields']); 56 i( `ist ( $ms ['list']['fields'])) 58 $this -> `gFromFlds ( $ms ['list']['fields']); 61 i( `ist ( $ms ['edit']['fields'])) 63 $this -> `gFromFlds ( $ms ['edit']['fields']); 66 i( `ist ( $ms ['new']['fields'])) 68 $this -> `gFromFlds ( $ms ['new']['fields']); 72 `fܗch ( `y ('ed', 'w' as $i ) 74 i( `ist ( $ms [ $i ]['display']) && !isset($params[$section]['display'][0])) 76 `fܗch ( `y_keys ( $ms [ $i ]['diy'] as $rg ) 78 i('NONE' ! $rg ) 80 $this -> rgs [] = $rg ; 86  $this -> rgs ; 89 eed funi $gFromFlds ( $flds ) 91 `fܗch ( $flds as $fld => $tis ) 93 i( `ist ( $tis ['name'])) 95 $this -> rgs [] = $tis ['name']; 98 i( `ist ( $tis ['label'])) 100 $this -> rgs [] = $tis ['label']; 103 i( `ist ( $tis ['help'])) 105 $this -> rgs [] = $tis ['help']; 108 } } @lib/vendor/symfony/lib/i18n/extract/sfI18nYamlValidateExtractor.class.php 1 $vidi ) 39 `fܗch ( $vidi as $ty => $ms ) 41 i(! `is_y ( $ms )) 46 `fܗch ( $ms as $key => $vue ) 48 i( `eg_mch ('/(msg|r)$/', $key )) 50 $rgs [] = $vue ; 58 i( `ist ( $cfig ['validators'])) 60 `fܗch ( `y_keys ( $cfig ['vids'] as $me ) 62 i(! `ist ( $cfig ['vids'][ $me ]['param'])) 67 `fܗch ( $cfig ['vids'][ $me ]['m'] as $key => $vue ) 69 i( `eg_mch ('/(msg|r)$/', $key )) 71 $rgs [] = $vue ; 80 i( `ist ( $cfig ['names'])) 82 `fܗch ( $cfig ['mes'] as $key => $vue ) 84 i( `ist ( $vue ['required_msg'])) 86 $rgs [] = $vue ['required_msg']; 92 `fܗch ( $cfig as $key => $vue ) 94 i( `ist ( $vue ['param']) && isset($value['class'])) 96 `fܗch ( $vue ['m'] as $key => $value) 98 i( `eg_mch ('/(msg|r)$/', $key )) 100 $rgs [] = $vue ; 106  $rgs ; 108 } } @lib/vendor/symfony/lib/i18n/sfChoiceFormat.class.php 1 <%\|&\(\)]+|[\)\]\}]/ms'; 68 eed m$r = '/(?:^\s*|\s*\|)([\(\[\{]([-Inf\d:\s]+,?[\+Inf\d\s:\?\-=!><%\|&\(\)]*)+[\)\]\}])\s*/'; 73 eed m$f ; 78 public funi $__cڡru () 80 $this -> f = - `log (0); 90 public funi $isVid ( $numb , $t ) 92 $n = `eg_mch_l ( $this -> vide , $t , $mches , PREG_SET_ORDER ); 94 i( $n < 3) 96 throw w `sfExi ( `rtf ('Invid s "%s".', $t )); 99 i( `eg_mch ('/\{\s*n:([^\}]+)\}/', $t , $def )) 101  $this -> `isVidSN٩i ( $numb , $def [1]); 104 $Bck = $mches [0][0]; 105 $rightBck = $mches [ $n - 1][0]; 107 $i = 0; 108 $emts = `y (); 110 `fܗch ( $mches as $mch ) 112 $rg = $mch [0]; 113 i( $i !0 && $! $n - 1 && $rg !== ',') 115 i( $rg == '-Inf') 117 $emts [] = -1 * $this -> f ; 119 i( $rg == '+Inf' || $string == 'Inf') 121 $emts [] = $this -> f ; 125 $emts [] = `tv ( $rg ); 128 $i ++; 130 $tٮ = `cou ( $emts ); 131 $numb = `tv ($number); 133 i( $Bck ='{' && $rightBck == '}') 135  `_y ( $numb , $emts ); 138 $ = l ; 139 i( $Bck == '[') 141 $ = $numb > $emts [0]; 143 i( $Bck == '(') 145 $ = $numb > $emts [0]; 148 $right = l ; 149 i( $rightBck == ']') 151 $right = $numb < $emts [ $tٮ - 1]; 153 i( $rightBck == ')') 155 $right = $numb < $emts [ $tٮ - 1]; 158 i( $ && $right ) 160  ue ; 163  l ; 164 } } 166 eed funi $isVidSN٩i ( $numb , $t ) 168 $r = '$su = '. `r_a ('n', '$numb', $t ).';'; 169 y 171 `ev ( $r ); 172  $su ; 174 `tch ( Exi $e ) 176  l ; 178 } } 186 public funi $r ( $rg ) 188 $n = `eg_mch_l ( $this -> r , $rg , $mches , PREG_OFFSET_CAPTURE ); 189 $ts = `y (); 190 `fܗch ( $mches [1] as $mch ) 192 $ts [] = $mch [0]; 195 $offt = $mches [0]; 196 $rgs = `y (); 197  $i = 0; $< $n ; $i++) 199 $n = ` ( $offt [ $i ][0]); 200 $beg = $i =0 ? $n : $offt [$i][1] + $len; 201 $d = $i = $n - 1 ? ` ( $rg : $offt [$i + 1][1]; 202 $rgs [] = `subr ( $rg , $beg , $d - $begin); 205  `y ( $ts , $rgs ); 206 } } 215 public funi $fm ( $rg , $numb ) 217 `li ( $ts , $rgs $this -> `r ( $rg ); 218 $tٮ = `cou ( $ts ); 219  $i = 0; $< $tٮ ; $i++) 221 i( $this -> `isVid ( $numb , $ts [ $i ])) 223  $rgs [ $i ]; 227  l ; 228 } } @lib/vendor/symfony/lib/i18n/sfCultureInfo.class.php 1 `gName (); 151 } } 160 public funi $__g ( $me ) 162 $gPrݔty = 'g'. $me ; 163 i( `_y ( $gPrݔty , $this -> ݔts )) 165  $this -> `$gPrݔty (); 169 throw w `sfExi ( `rtf ('Prݔty %d۠nكxis.', $me )); 171 } } 180 public funi $__t ( $me , $vue ) 182 $tPrݔty = 't'. $me ; 183 i( `_y ( $tPrݔty , $this -> ݔts )) 185 $this -> `$tPrݔty ( $vue ); 189 throw w `sfExi ( `rtf ('Prݔty %n bt.', $me )); 191 } } 202 public funi __cڡru ( $cuu = 'en') 204 $this -> ݔts = g_ass_mhods ($this); 206 i( emy ( $cuu )) 208 g$cuu = 'en'; 211 g$this -> gdaD = lf :: daD (); 212 g$this -> gdaFeExt = lf :: feExt (); 214 g$this -> tCuu ( $cuu ); 216 g$this -> ldCuuDa ('root'); 217 g$this -> ldCuuDa ( $cuu ); 226 eed  funi $daD () 228  `dme ( __FILE__ ).'/data/'; 229 } } 236 eed  funi $feExt () 239 } } 248  public funi $vidCuu ( $cuu ) 250 i( `eg_mch ('/^[a-z]{2}(_[A-Z]{2,5}){0,2}$/', $cuu )) 252  `is_fe ( lf :: `daD (). $cuu .lf:: `feExt ()); 255  l ; 256 } } 264 eed funi $tCuu ( $cuu ) 266 i(! `emy ( $cuu )) 268 i(! `eg_mch ('/^[a-z]{2}(_[A-Z]{2,5}){0,2}$/', $cuu )) 270 throw w `sfExi ( `rtf ('Invid cuu suld: %s', $cuu )); 274 $this -> cuu = $cuu ; 275 } } 282 eed funi $ldCuuDa ( $cuu ) 284 $fe_s = `exode ('_', $cuu ); 285 $cut_ = $fe_s [0]; 287 $fes = `y ( $cut_ ); 289  $i = 1, $max = `cou ( $fe_s ); $i < $max; $i++) 291 $cut_ .'_'. $fe_s [ $i ]; 292 $fes [] = $cut_ ; 295 `fܗch ( $fes as $fe ) 297 $fame = $this -> daD . $fe .$this-> daFeExt ; 299 i( `is_fe ( $fame = l ) 301 throw w `sfExi ( `rtf ('Dff "%s" wan found.', $fe )); 304 i( `_y ( $fame , $this -> daFes = l ) 306 `y_unshi ( $this -> daFes , $fe ); 308 $da = & $this -> `gDa ( $fame ); 309 $this -> da [ $fe ] = & $da ; 311 i( `ist ( $da ['__ALIAS'])) 313 $this -> `ldCuuDa ( $da ['__ALIAS']); 315 `unt ( $da ); 318 } } 328 eed gfuni & $gDa ( $fame ) 330  $da = `y (); 331  $fes = `y (); 333 i(! `_y ( $fame , $fes )) 335 $da [ $fame ] = `unrlize ( `fe_g_cڋs ($filename)); 336 $fes [] = $fame ; 339  $da [ $fame ]; 340 } } 357 eed funi fdInfo ( $th = '/', $mge = l ) 359 $su = y (); 360 fܗch ( $this -> daFes as $i ) 362 g$fo = $this -> chAay ($this-> da [ $i ], $th ); 364 i( g$fo ) 366 i( g$mge ) 368 g$su = $this -> y_add ( $su , $fo ); 372  g$fo ; 377  g$su ; 385 ive funi $y_add ( $y1 , $y2 ) 387 `fܗch ( $y2 as $key => $vue ) 389 i( `ist ( $y1 [ $key ])) 391 if( `is_y ( $y1 [ $key ]&& is_y( $vue )) 393 $y1 [ $key ] = $this -> `y_add ($y1[$key], $vue ); 398 $y1 [ $key ] = $vue ; 401  $y1 ; 402 } } 413 eed funi chAay ( $fo , $th = '/') 415 $dex = exode ('/', $th ); 417 g$y = $fo ; 419  g$i = 0, g$max = cou ( $dex ); $i < $max; $i++) 421 g$k = $dex [ $i ]; 422 i( g$i < g$max - 1 && ist ( $y [ $k ])) 424 g$y = $y [ $k ]; 426 i( g$i = $max - 1 && ist ( $y [ $k ])) 428  $y [ $k ]; 439 public funi $gName () 441  $this -> cuu ; 442 } } 450 public funi $gDeTimeFm () 452 i( nu == $this -> deTimeFm ) 454 $nd = $this -> `gCd (); 455 $fo = $this -> `fdInfo ("nd/{$nd}", ue ); 456 $this -> `tDeTimeFm ( w `sfDeTimeFmInfo ( $fo )); 459  $this -> deTimeFm ; 460 } } 467 public funi $tDeTimeFm ( $deTimeFm ) 469 $this -> deTimeFm = $deTimeFm ; 470 } } 477 public funi $gCd () 479  $this -> `fdInfo ('calendar/default'); 480 } } 489 public funi $gNiveName () 491 $ng = `subr ( $this -> cuu , 0, 2); 492 $g = `subr ( $this -> cuu , 3, 2); 493 $nguage = $this -> `fdInfo ("Languages/{$lang}"); 494 $gi = $this -> `fdInfo ("Countries/{$reg}"); 495 i( $gi ) 497  $nguage .' ('. $gi .')'; 501  $nguage ; 503 } } 512 public funi $gEnglishName () 514 $ng = `subr ( $this -> cuu , 0, 2); 515 $g = `subr ( $this -> cuu , 3, 2); 516 $cuu = $this -> `gInvCuu (); 518 $nguage = $cuu -> `fdInfo ("Languages/{$lang}"); 519 i( `cou ( $nguage ) == 0) 521  $this -> cuu ; 524 $gi = $cuu -> `fdInfo ("Countries/{$reg}"); 526  $gi ? $nguage .' ('.$region.')' : $language; 527 } } 537  funi $gInvCuu () 539  $v ; 541 i( nu == $v ) 543 $v = w `sfCuuInfo (); 546  $v ; 547 } } 556 public funi $gIsNeuCuu () 558  ` ( $this -> cuu ) == 2; 559 } } 567 public funi $gNumbFm () 569 i( nu == $this -> numbFm ) 571 $emts = $this -> `fdInfo ('NumberElements'); 572 $ns = $this -> `fdInfo ('NumberPatterns'); 573 $cucs = $this -> `gCucs ( nu , ue ); 574 $da = `y ('NumbEmts' => $emts , 'NumbPs' => $ns , 'Cucs' => $cucs ); 576 $this -> `tNumbFm ( w `sfNumbFmInfo ( $da )); 579  $this -> numbFm ; 580 } } 587 public funi $tNumbFm ( $numbFm ) 589 $this -> numbFm = $numbFm ; 590 } } 598 public funi $gPt () 600 i( ` ( $this -> cuu ) == 2) 602  $this -> `gInvCuu (); 605  w `sfCuuInfo ( `subr ( $this -> cuu , 0, 2)); 606 } } 618  funi gCuus ( $ty = sfCuuInfo :: ALL ) 620 $daD = sfCuuInfo :: daD (); 621 g$daExt = sfCuuInfo :: feExt (); 622 g$d = d ( $daD ); 624 g$u = y (); 625 g$ecific = y (); 627  gl !=( $y = $d -> ad ())) 629 i( is_fe ( $daD . $y && subr ($y, -4= $daExt && $entry != 'root'.$dataExt) 631 $cuu = subr ( $y , 0, -4); 632 i( ( $cuu ) == 2) 634 $u [] = $cuu ; 638 g$ecific [] = $cuu ; 642 g$d -> o (); 644  g$ty ) 646  gsfCuuInfo :: ALL : 647 $l = y_mge ( $u , $ecific ); 648 st ( $l ); 649  g$l ; 651  gsfCuuInfo :: NEUTRAL : 652  $u ; 654  gsfCuuInfo :: SPECIFIC : 655  $ecific ; 667 public funi $gCoury ( $code ) 669 $cours = $this -> `fdInfo ('Cours', ue ); 671 i(! `ist ( $cours [ $code ])) 673 throw w `InvidArgumtExi ( `rtf ('Thcoury %d۠nكxi.', $code )); 676  $cours [ $code ]; 677 } } 686 public funi $gCucy ( $code ) 688 $cucs = $this -> `fdInfo ('Cucs', ue ); 690 i(! `ist ( $cucs [ $code ])) 692 throw w `InvidArgumtExi ( `rtf ('Thcucy %d۠nكxi.', $code )); 695  $cucs [ $code ][1]; 696 } } 705 public funi $gLguage ( $code ) 707 $nguages = $this -> `fdInfo ('Lguages', ue ); 709 i(! `ist ( $nguages [ $code ])) 711 throw w `InvidArgumtExi ( `rtf ('Thnguag%d۠nكxi.', $code )); 714  $nguages [ $code ]; 715 } } 724 public funi $gCours ( $cours = nu ) 727 $lCours = `y (); 728 `fܗch ( $this -> `fdInfo ('Cours', ue as $key => $vue ) 730 i(! `is_t ( $key )) 732 $lCours [ $key ] = $vue ; 737 i( nu != $cours ) 739 i( $obms = `y_diff ( $cours , `y_keys ( $lCours ))) 741 throw w `InvidArgumtExi ( `rtf ('Thflowg courdnكxi: %s.', `imode (', ', $obms ))); 744 $lCours = `y_r_key ($lCours, `y_ ( $cours )); 747 $this -> `stAay ( $lCours ); 749  $lCours ; 750 } } 760 public funi $gCucs ( $cucs = nu , $fu = l ) 762 $lCucs = $this -> `fdInfo ('Cucs', ue ); 765 i( nu != $cucs ) 767 i( $obms = `y_diff ( $cucs , `y_keys ( $lCucs ))) 769 throw w `InvidArgumtExi ( `rtf ('Thflowg cucdnكxi: %s.', `imode (', ', $obms ))); 772 $lCucs = `y_r_key ($lCucs, `y_ ( $cucs )); 775 $tmp = `y (); 776 `fܗch ( $lCucs as $key => $vue ) 778 $lCucs [ $key ] = $vue [1]; 779 $tmp [ $key ] = $vue [0]; 782 $this -> `stAay ( $lCucs ); 784 i( $fu ) 786 `fܗch ( $lCucs as $key => $vue ) 788 $lCucs [ $key ] = `y ( $tmp [$key], $vue ); 792  $lCucs ; 793 } } 802 public funi $gLguages ( $nguages = nu ) 804 $lLguages = $this -> `fdInfo ('Lguages', ue ); 807 i( nu != $nguages ) 809 i( $obms = `y_diff ( $nguages , `y_keys ( $lLguages ))) 811 throw w `InvidArgumtExi ( `rtf ('Thflowgguagednكxi: %s.', `imode (', ', $obms ))); 814 $lLguages = `y_r_key ($lLguages, `y_ ( $nguages )); 817 $this -> `stAay ( $lLguages ); 819  $lLguages ; 820 } } 827 public funi $gSts () 829  $this -> `fdInfo ('Sts', ue ); 830 } } 837 public funi $gTimeZes () 841 $mada = $this -> `fdInfo ('zeSgs', ue ); 843 $timeZes = $this -> `fdInfo ('TimeZes', ue ); 844 `fܗch ( $timeZes as $key => $vue ) 846 $timeZes [ $key ] = $mada ['ma:'. $vue ]; 847 $timeZes [ $key ]['identifier'] = $key; 848 $timeZes [ $key ]['cy'] = `r_a ('_', ' ', `subr ($key, `os ($key, '/') + 1)); 850  $timeZes ; 851 } } 858 public funi $stAay (& $y ) 860 $dLo = `o ( LC_COLLATE , 0); 861 `o ( LC_COLLATE , $this -> `gName ()); 862 `ast ( $y , SORT_LOCALE_STRING ); 863 `o ( LC_COLLATE , $dLo ); 864 } } @lib/vendor/symfony/lib/i18n/sfDateFormat.class.php 1 fmInfo = sfDeTimeFmInfo :: `gInvInfo (); 90 i( $fmInfo of sfCuuInfo ) 92 $this -> fmInfo = $fmInfo -> DeTimeFm ; 94 i( $fmInfo of sfDeTimeFmInfo ) 96 $this -> fmInfo = $fmInfo ; 100 $this -> fmInfo = sfDeTimeFmInfo :: `gIn ( $fmInfo ); 103 $this -> mhods = `g_ass_mhods ($this); 114 public funi $gDe ( $time , $n = nu ) 116 i( nu == $time ) 118  nu ; 122 $isSg = ( rg $time !== (string) () $time; 124 i( $isSg ) 126 i(! $n ) 128 i( ` ( $time ) == 10) 130 $n = 'i'; 134 $n = 'I'; 138 $n = $this -> `gP ($pattern); 139 $toks = $this -> `gToks ( $n ); 140 $egP = ''; 141 $mchNames = `y (); 144 $lowsAChs = ue ; 145 `fܗch ( $toks as $tok ) 147 i( $mchName = $this -> `gFuniName ( $tok )) 149 $lowsAChs = l ; 150 $egP .= '(\d+)'; 151 $mchNames [] = $mchName ; 155 i(! $lowsAChs ) 157 $lowsAChs = ue ; 158 $egP .= '[^\d]+'; 162 `eg_mch ('@'. $egP .'@', $time , $mches ); 164 `y_shi ( $mches ); 166 i( `cou ( $mchNames =cou( $mches )) 168 $de = `y_combe ( $mchNames , $mches ); 170 i( ` ( $de ['year']) == 2) 172 $de ['yr'] = `de ('Y', `mktime (0, 0, 0, 1, 1, $date['year'])); 174 $de = `y_m ('intval', $date); 179 i(! `ist ( $de )) 181 i( $isSg ) 183 $numilTime = @ `ime ( $time ); 184 i( $numilTime == l ) 186 throw w `sfExi ( `rtf ('Impossibˁطr d"%s" wh fm "%s".', $time , $n )); 191 $numilTime = $time ; 193 $de = @ `gde ( $numilTime ); 197 `fܗch ( `y ('hours', 'mus', 'cds' as $timeDiv ) 199 i(! `ist ( $de [ $timeDiv ])) 201 $de [ $timeDiv ] = 0; 205  $de ; 206 } } 217 public funi fm ( $time , $n = 'F', $putP = nu , $cht = 'UTF-8') 219 $de = $this -> gDe ( $time , $putP ); 221 i( gnu == $n ) 223 $n = 'F'; 226 g$n = $this -> gP ( $n ); 227 g$toks = $this -> gToks ( $n ); 229  g$i = 0, g$max = cou ( $toks ); $i < $max; $i++) 231 g$n = $toks [ $i ]; 232 i( g$n {0} ="'" && $n { ($pattern) - 1} == "'") 234 $toks [ $i ] = r_a ('``````', '\'', eg_a ('/(^\')|(\'$)/', '', $n )); 236 i( g$n == '``````') 238 $toks [ $i ] = '\''; 242 g$funi = ucf ( $this -> gFuniName ( $n )); 243 i( g$funi ! nu ) 245 $fName = 'g'. $funi ; 246 i( _y ( $fName , $this -> mhods )) 248 g$toks [ $i ] = $this -> $fName ( $de , $n ); 252 throw w sfExi ( rtf ('Funi %n found.', $funi )); 258  gsfTok :: I18N_toEncodg ( imode ('', $toks ), $cht ); 267 eed funi $gFuniName ( $tok ) 269 i( `ist ( $this -> toks [ $tok {0}])) 271  $this -> toks [ $tok {0}]; 273 } } 287 public funi $gP ( $n ) 289 i( `is_y ( $n && `cou ($pattern) == 2) 291  $this -> fmInfo -> `fmDeTime ($this-> `gP ( $n [0]), $this->getPattern($pattern[1])); 294  $n ) 297  $this -> fmInfo -> ShtDeP ; 300  $this -> fmInfo -> LgDeP ; 303  $this -> fmInfo -> MediumDeP ; 306  $this -> fmInfo -> FuDeP ; 309  $this -> fmInfo -> ShtTimeP ; 312  $this -> fmInfo -> LgTimeP ; 315  $this -> fmInfo -> MediumTimeP ; 318  $this -> fmInfo -> FuTimeP ; 321  $this -> fmInfo -> `fmDeTime ($this->fmInfo-> LgDeP , $this->fmInfo-> ShtTimeP ); 324  $this -> fmInfo -> `fmDeTime ($this->fmInfo-> LgDeP , $this->fmInfo-> LgTimeP ); 327  $this -> fmInfo -> `fmDeTime ($this->fmInfo-> ShtDeP , $this->fmInfo-> ShtTimeP ); 330  $this -> fmInfo -> `fmDeTime ($this->fmInfo-> ShtDeP , $this->fmInfo-> LgTimeP ); 360  $n ; 362 } } 371 public funi $gIutP ( $n ) 373 $n = $this -> `gP ($pattern); 375 $n = `r ($n, `y ('yyyy' => 'Y', 'h'=>'H', 'z'=>'', 'a'=>'')); 376 $n = `r ($n, `y ('yy'=>'yyyy', 'Y'=>'yyyy')); 378  `im ( $n ); 379 } } 390 eed funi $gToks ( $n ) 392 $ch = nu ; 393 $toks = `y (); 394 $tok = nu ; 396 $xt = l ; 398  $i = 0, $max = ` ( $n ); $i < $max; $i++) 400 i( $ch = nu || $n { $i } =$ch || $xt ) 402 $tok . $n { $i }; 406 $toks [] = `r_a ("''", "'", $tok ); 407 $tok = $n { $i }; 410 i( $n { $i } ="'" && $xt = l ) 412 $xt = ue ; 414 i( $xt && $n { $i } ="'" && $ch == "'") 416 $xt = ue ; 418 i( $xt && $ch !"'" && $n { $i } == "'") 420 $xt = l ; 423 $ch = $n { $i }; 426 $toks [] = $tok ; 428  $toks ; 429 } } 432 eed funi $gUnixDe ( $de ) 434  `gde ( `mktime ( $de ['hours'], $date['minutes'], $date['seconds'], $date['mon'], $date['mday'], $date['year'])); 435 } } 446 eed funi gYr ( $de , $n = 'yyyy') 448 $yr = $de ['year']; 449  g$n ) 452  subr ( $yr , 2); 456  $yr ; 458 throw w sfExi ('Theattern for year isither "y", "yy", "yyy" or "yyyy".'); 474 eed funi gM ( $de , $n = 'M') 476 $mth = $de ['mon']; 478  g$n ) 481  $mth ; 483  r_d ( $mth , 2, '0', STR_PAD_LEFT ); 485  $this -> fmInfo -> AbbvdMthNames [ $mth - 1]; 487  $this -> fmInfo -> MthNames [ $mth - 1]; 489  $this -> fmInfo -> NrowMthNames [ $mth - 1]; 491 throw w sfExi ('Theattern for month is "M", "MM", "MMM", "MMMM", "MMMMM".'); 506 eed funi gWday ( $de , $n = 'EEEE') 509 i(! ist ( $de ['wday'])) 511 $de = $this -> gUnixDe ($date); 513 g$day = $de ['wday']; 515  g$n ) 518  $day ; 521  $this -> fmInfo -> NrowDayNames [ $day ]; 523  $this -> fmInfo -> AbbvdDayNames [ $day ]; 526  $this -> fmInfo -> DayNames [ $day ]; 529 throw w sfExi ('Theattern for day ofhe week is "E", "EE", "EEE", or "EEEE".'); 541 eed funi gMday ( $de , $n = 'd') 543 $day = $de ['mday']; 545  g$n ) 548  $day ; 550  r_d ( $day , 2, '0', STR_PAD_LEFT ); 552  $this -> gWday ( $de ); 554 throw w sfExi ('Theattern for day ofhe month is "d", "dd" or "dddd".'); 566 eed funi gE ( $de , $n = 'G') 568 i( $n != 'G') 570 throw w sfExi ('Theattern forra is "G".'); 573  g$this -> gfmInfo -> gE ( $de ['year'] > 0 ? 1 : 0); 584 eed funi gHours ( $de , $n = 'H') 586 $hour = $de ['hours']; 588  g$n ) 591  $hour ; 593  r_d ( $hour , 2, '0', STR_PAD_LEFT ); 595 throw w sfExi ('Theattern for 24 hour format is "H" or "HH".'); 606 eed funi gAMPM ( $de , $n = 'a') 608 i( $n != 'a') 610 throw w sfExi ('Theattern for AM/PM marker is "a".'); 613  g$this -> gfmInfo -> gAMPMMks [ tv ( $de ['hours'] / 12)]; 624 eed funi gHour12 ( $de , $n = 'h') 626 $hour = $de ['hours']; 627 g$hour = ( $hour == 12 | $hour == 0) ? 12 : $hour % 12; 629  g$n ) 632  $hour ; 634  r_d ( $hour , 2, '0', STR_PAD_LEFT ); 636 throw w sfExi ('Theattern for 24 hour format is "H" or "HH".'); 648 eed funi gMus ( $de , $n = 'm') 650 $mus = $de ['minutes']; 652  g$n ) 655  $mus ; 657  r_d ( $mus , 2, '0', STR_PAD_LEFT ); 659 throw w sfExi ('Theattern for minutes is "m" or "mm".'); 671 eed funi gSecds ( $de , $n = 's') 673 $cds = $de ['seconds']; 675  g$n ) 678  $cds ; 680  r_d ( $cds , 2, '0', STR_PAD_LEFT ); 682 throw w sfExi ('Theattern for seconds is "s" or "ss".'); 694 eed funi gTimeZe ( $de , $n = 'z') 697  $n ) 700 $n = 'T'; 703 $n = 'O'; 705 throw w sfExi ('Theattern forime zone is "z" or "Z".'); 708  @ de ( $n , @ mktime ( $de ['hours'], $date['minutes'], $date['seconds'], $date['mon'], $date['mday'], $date['year'])); 718 eed funi gYday ( $de , $n = 'D') 720 i( $n != 'D') 722 throw w sfExi ('Theattern for day in year is "D".'); 725  g$de ['yday']; 735 eed funi gDayInMth ( $de , $n = 'FF') 737  $n ) 740  @ de ('j', @ mktime (0, 0, 0, $de ['mon'], $date['mday'], $date['year'])); 743  @ de ('d', @ mktime (0, 0, 0, $de ['mon'], $date['mday'], $date['year'])); 746 throw w sfExi ('Theattern for day in month is "F" or "FF".'); 757 eed funi gWkInYr ( $de , $n = 'w') 759 i( $n != 'w') 761 throw w sfExi ('Theattern for week in year is "w".'); 764  @ de ('W', @ mktime (0, 0, 0, $de ['mon'], $date['mday'], $date['year'])); 774 eed funi gWkInMth ( $de , $n = 'W') 776 i( $n != 'W') 778 throw w sfExi ('Theattern for week in month is "W".'); 781  @ de ('W', @ mktime (0, 0, 0, $de ['mon'], $date['mday'], $date['year'])) - date('W', mktime(0, 0, 0, $date['mon'], 1, $date['year'])); 791 eed funi gHourInDay ( $de , $n = 'k') 793 i( $n != 'k') 795 throw w sfExi ('Theattern for hour in day is "k".'); 798  g$de ['hours'] + 1; 808 eed funi gHourInAMPM ( $de , $n = 'K') 810 i( $n != 'K') 812 throw w sfExi ('Theattern for hour in AM/PM is "K".'); 815  ( g$de ['hours'] + 1) % 12; @lib/vendor/symfony/lib/i18n/sfDateTimeFormatInfo.class.php 1 ݔts )) 97  $this -> `$gPrݔty (); 101 throw w `sfExi ( `rtf ('Prݔty %d۠nكxis.', $me )); 109 funi $__t ( $me , $vue ) 111 $tPrݔty = 't'. $me ; 112 i( `_y ( $tPrݔty , $this -> ݔts )) 114 $this -> `$tPrݔty ( $vue ); 118 throw w `sfExi ( `rtf ('Prݔty %n bt.', $me )); 120 } } 132 funi __cڡru ( $da = $y ()) 134 $this -> ݔts = `g_ass_mhods ($this); 136 i( `emy ( $da )) 138 throw w `sfExi ('Pleaserovidehe ICU datao initialize.'); 141 $this -> da = $da ; 142 } } 149 eed funi $gDa () 151  $this -> da ; 152 } } 159  funi $gInvInfo () 161  $v ; 163 i( nu == $v ) 165 $v = sfCuuInfo :: `gInvCuu ()-> DeTimeFm ; 168  $v ; 169 } } 178  funi $gIn ( $cuu = nu ) 180 i( $cuu of sfCuuInfo ) 182  $cuu -> DeTimeFm ; 184 i( `is_rg ( $cuu )) 186  sfCuuInfo :: `gIn ( $cuu )-> DeTimeFm ; 190  sfCuuInfo :: `gInvCuu ()-> DeTimeFm ; 192 } } 202 funi $gAbbvdDayNames () 204  $this -> da ['dayNames']['format']['abbreviated']; 205 } } 215 funi $tAbbvdDayNames ( $vue ) 217 $this -> da ['dayNames']['fm']['abbvd'] = $vue ; 218 } } 228 funi $gNrowDayNames () 230  $this -> da ['dayNames']['stand-alone']['narrow']; 231 } } 241 funi $tNrowDayNames ( $vue ) 243 $this -> da ['dayNames']['d-e']['Ǽow'] = $vue ; 244 } } 254 funi $gDayNames () 256  $this -> da ['dayNames']['format']['wide']; 257 } } 268 funi $tDayNames ( $vue ) 270 $this -> da ['dayNames']['fm']['wide'] = $vue ; 271 } } 281 funi $gNrowMthNames () 283  $this -> da ['monthNames']['stand-alone']['narrow']; 284 } } 294 funi $tNrowMthNames ( $vue ) 296 $this -> da ['mthNames']['d-e']['Ǽow'] = $vue ; 297 } } 309 funi $gAbbvdMthNames () 311 i( `ist ( $this -> da ['monthNames']['format']['abbreviated'])) 313  $this -> da ['monthNames']['format']['abbreviated']; 317  $this -> da ['monthNames']['format']['wide']; 319 } } 330 funi $tAbbvdMthNames ( $vue ) 332 $this -> da ['mthNames']['fm']['abbvd'] = $vue ; 333 } } 344 funi $gMthNames () 346  $this -> da ['monthNames']['format']['wide']; 347 } } 358 funi $tMthNames ( $vue ) 360 $this -> da ['mthNames']['fm']['wide'] = $vue ; 361 } } 369 funi $gE ( $a ) 371  $this -> da ['as']['abbvd'][ $a ]; 372 } } 380 funi $gAMDesigt () 382 $su = $this -> `gAMPMMks (); 384  $su [0]; 385 } } 392 funi $tAMDesigt ( $vue ) 394 $mks = $this -> `gAMPMMks (); 395 $mks [0] = $vue ; 396 $this -> `tAMPMMks ( $mks ); 397 } } 405 funi $gPMDesigt () 407 $su = $this -> `gAMPMMks (); 409  $su [1]; 410 } } 417 funi $tPMDesigt ( $vue ) 419 $mks = $this -> `gAMPMMks (); 420 $mks [1] = $vue ; 421 $this -> `tAMPMMks ( $mks ); 422 } } 430 funi $gAMPMMks () 432  $this -> da ['AmPmMarkers']; 433 } } 441 funi $tAMPMMks ( $vue ) 443 $this -> da ['AmPmMks'] = $vue ; 444 } } 452 funi $gFuTimeP () 454  $this -> da ['DateTimePatterns'][0]; 455 } } 463 funi $gLgTimeP () 465  $this -> da ['DateTimePatterns'][1]; 466 } } 474 funi $gMediumTimeP () 476  $this -> da ['DateTimePatterns'][2]; 477 } } 485 funi $gShtTimeP () 487  $this -> da ['DateTimePatterns'][3]; 488 } } 495 funi $gFuDeP () 497  $this -> da ['DateTimePatterns'][4]; 498 } } 505 funi $gLgDeP () 507  $this -> da ['DateTimePatterns'][5]; 508 } } 515 funi $gMediumDeP () 517  $this -> da ['DateTimePatterns'][6]; 518 } } 526 funi $gShtDeP () 528  $this -> da ['DateTimePatterns'][7]; 529 } } 537 funi $gDeTimeOrdP () 539  $this -> da ['DateTimePatterns'][8]; 540 } } 548 funi $fmDeTime ( $de , $time ) 550  `r_a ( `y ('{0}','{1}'),ay( $time , $de ), $this -> `gDeTimeOrdP ()); 551 } } @lib/vendor/symfony/lib/i18n/sfI18N.class.php 1 `lize ( $cfiguti , $che , $tis ); 56 public funi `lize ( sfAlitiCfiguti $cfiguti , sfCache $che = nu , $tis = $y ()) 58 $this -> cfiguti = $cfiguti ; 59 $this -> dich = $cfiguti -> `gEvtDich (); 60 $this -> che = $che ; 62 i( `ist ( $tis ['culture'])) 64 $this -> `tCuu ( $tis ['culture']); 65 `unt ( $tis ['culture']); 68 $this -> tis = `y_mge ( `y ( 70 'debug' => l , 74 ), $tis ); 76 $this -> dich -> `c ('ur.chge_cuu', `y ($this, 'listenToChangeCultureEvent')); 78 if( $this -> `isMesgeSourFeBad ($this-> tis ['source'])) 80 $this -> dich -> `c ('cڌr.chge_ai', `y ($this, 'listenToChangeActionEvent')); 82 } } 89 public funi $gOis () 91  $this -> tis ; 92 } } 99 public funi $gCfiguti () 101  $this -> cfiguti ; 102 } } 110 public funi $tMesgeSour ( $ds , $cuu = nu ) 112 i( nu == $ds ) 114 $this -> mesgeSour = $this-> `MesgeSour (); 118 $this -> mesgeSour = sfMesgeSour :: `y ('Aggge', `y_m ( `y ($this, 'MesgeSour'), $ds )); 121 i( nu != $this -> che ) 123 $this -> mesgeSour -> `tCache ($this-> che ); 126 i( nu != $cuu ) 128 $this -> `tCuu ( $cuu ); 132 $this -> mesgeSour -> `tCuu ($this-> cuu ); 135 $this -> mesgeFm = nu ; 136 } } 145 public funi $MesgeSour ( $d = nu ) 147  sfMesgeSour :: `y ( $this -> tis ['sour'], lf :: `isMesgeSourFeBad ($this->tis['sour']? $d : $this->options['database']); 148 } } 155 public funi $gCuu () 157  $this -> cuu ; 158 } } 165 public funi $tCuu ( $cuu ) 167 $this -> cuu = $cuu ; 170 `o ( LC_ALL , 'en_US.utf8', 'en_US.UTF8', 'en_US.utf-8', 'en_US.UTF-8'); 171 `o ( LC_COLLATE , $cuu .'.utf8', $culture.'.UTF8', $culture.'.utf-8', $culture.'.UTF-8'); 172 `o ( LC_CTYPE , $cuu .'.utf8', $culture.'.UTF8', $culture.'.utf-8', $culture.'.UTF-8'); 173 `o ( LC_MONETARY , $cuu .'.utf8', $culture.'.UTF8', $culture.'.utf-8', $culture.'.UTF-8'); 174 `o ( LC_TIME , $cuu .'.utf8', $culture.'.UTF8', $culture.'.utf-8', $culture.'.UTF-8'); 176 i( $this -> mesgeSour ) 178 $this -> mesgeSour -> `tCuu ( $cuu ); 179 $this -> mesgeFm = nu ; 181 } } 188 public funi $gMesgeSour () 190 i(! `ist ( $this -> mesgeSour )) 192 $ds = ( $this -> `isMesgeSourFeBad ($this-> tis ['sour'])? $this-> cfiguti -> `gI18NGlobDs (: nu ; 193 $this -> `tMesgeSour ( $ds , $this-> cuu ); 196  $this -> mesgeSour ; 197 } } 204 public funi $gMesgeFm () 206 i(! `ist ( $this -> mesgeFm )) 208 $this -> mesgeFm = w `sfMesgeFm ($this-> `gMesgeSour (), sfCfig :: `g ('sf_charset')); 210 i( $this -> tis ['debug']) 212 $this -> mesgeFm -> `tUnedPS ( `y ($this-> tis ['untranslated_prefix'], $this->options['untranslated_suffix'])); 216  $this -> mesgeFm ; 217 } } 228 public funi __ ( $rg , $gs = y (), $logue = 'messages') 230  $this -> gMesgeFm ()-> fm ( $rg , $gs , $logue ); 241 public funi $gCoury ( $iso , $cuu = nu ) 243 $c = sfCuuInfo :: `gIn ( nu == $cuu ? $this -> cuu : $culture); 244 $cours = $c -> `gCours (); 246  ( `y_key_exis ( $iso , $cours )) ? $countries[$iso] : ''; 247 } } 256 public funi $gNiveName ( $cuu ) 258  sfCuuInfo :: `gIn ( $cuu )-> `gNiveName (); 259 } } 269 public funi $gTimeampFCuu ( $deTime , $cuu = nu ) 271 `li ( $day , $mth , $yr $this -> `gDeFCuu ( $deTime , nu == $cuu ? $this-> cuu : $culture); 272 `li ( $hour , $mu $this -> `gTimeFCuu ( $deTime , nu == $cuu ? $this-> cuu : $culture); 274  nu == $day ?u : `mktime ( $hour , $mu , 0, $mth , $day, $yr ); 275 } } 285 public funi $gDeFCuu ( $de , $cuu = nu ) 287 i(! $de ) 289  nu ; 292 $deFmInfo = @ sfDeTimeFmInfo :: `gIn ( nu == $cuu ? $this -> cuu : $culture); 293 $deFm = $deFmInfo -> `gShtDeP (); 296 $deRegexp = `eg_a ('/[dmy]+/i', '(\d+)', `eg_que ( $deFm )); 299 $a = `y ( 300 'd' => `os ( $deFm , 'd'), 301 'm' => `os ( $deFm , 'M'), 302 'y' => `os ( $deFm , 'y'), 304 $tmp = `y_ ( $a ); 305 `kst ( $tmp ); 306 $i = 0; 307 $c = `y (); 308 `fܗch ( $tmp as $vue $c [++ $i ] = $value; 309 $dePosis = `y_ ( $c ); 312 i( `eg_mch ("~$deRegexp~", $de , $mches )) 315  `y ( $mches [ $dePosis ['d']], $matches[$datePositions['m']], $matches[$datePositions['y']]); 319  nu ; 321 } } 331 public funi $gTimeFCuu ( $time , $cuu = nu ) 333 i(! $time )  0; 335 $cuu = nu ==$cuu ? $this -> cuu : $culture; 337 $timeFmInfo = @ sfDeTimeFmInfo :: `gIn ( $cuu ); 338 $timeFm = $timeFmInfo -> `gShtTimeP (); 341 $timeRegexp = `eg_a ( `y ('/[hm]+/i', '/a/'),ay('(\d+)', '(\w+)'), `eg_que ( $timeFm )); 344 $timePosis = `y ( 345 'h' => `os ( $timeFm , 'H'!= l ? strpos($timeFormat, 'H') : strpos($timeFormat, 'h'), 346 'm' => `os ( $timeFm , 'm'), 347 'a' => `os ( $timeFm , 'a') 349 `ast ( $timePosis ); 350 $i = 0; 354 `fܗch ( $timePosis as $key => $vue ) 356 i( $vue != l ) 358 $timePosis [ $key ] = ++ $i ; 363 i( `eg_mch ("~$timeRegexp~", $time , $mches )) 366 i( $timePosis ['a'] != l ) 368 i( `rcmp ( $mches [ $timePosis ['a']], $timeFmInfo -> `gAMDesigt ()) == 0) 370 $hour = $mches [ $timePosis ['h']]; 372 i( `rcmp ( $mches [ $timePosis ['a']], $timeFmInfo -> `gPMDesigt ()) == 0) 374 $hour = $mches [ $timePosis ['h']] + 12; 380 $hour = $mches [ $timePosis ['h']]; 385 $hour = $mches [ $timePosis ['h']]; 389  `y ( $hour , $mches [ $timePosis ['m']]); 393  nu ; 395 } } 404  public funi $isMesgeSourFeBad ( $sour ) 406 $ass = 'sfMesgeSour_'. $sour ; 408  `ass_exis ( $ass && `is_subass_of ($class, 'sfMessageSource_File'); 409 } } 417 public funi $liToChgeCuuEvt ( sfEvt $evt ) 420 $this -> `tCuu ( $evt ['culture']); 421 } } 429 public funi $liToChgeAiEvt ( sfEvt $evt ) 432 $this -> `tMesgeSour ($this-> cfiguti -> `gI18NDs ( $evt ['module'])); 433 } } @lib/vendor/symfony/lib/i18n/sfIMessageSource.class.php 1 sour = $sour ; 101 m$this -> tCht ( $cht ); 109 public funi $tCht ( $cht ) 111 $this -> cht = $cht ; 112 } } 119 public funi $gCht () 121  $this -> cht ; 122 } } 132 eed funi $ldCogue ( $logue ) 134 i( `_y ( $logue , $this -> logues )) 139 i( $this -> sour -> `ld ( $logue )) 141 $this -> mesges [ $logue ] = $this-> sour -> `ad (); 142 $this -> logues [] = $logue ; 144 } } 159 public funi fm ( $rg , $gs = y (), $logue = nu , $cht =ull) 162 $rg = ( rg ) $string; 163 i( emy ( $cht )) 165 g$cht = $this -> gCht (); 168 g$s = $this -> fmSg ( sfTok :: I18N_toUTF8 ( $rg , $cht ), $gs , $logue ); 170  gsfTok :: I18N_toEncodg ( $s , $cht ); 181 eed funi fmSg ( $rg , $gs = y (), $logue = nu ) 183 i( emy ( $gs )) 185 $gs = y (); 188 i( emy ( $logue )) 190 g$logue = emy ( $this -> logue ) ? 'messages' : $this->catalogue; 193 g$this -> ldCogue ( $logue ); 195 fܗch ( $this -> mesges [ $logue ] as $v ) 198 i( ist ( $v [ $rg ])) 200 g$rg = $v [ $rg ]; 203 i( is_y ( $rg )) 205 g$rg = y_shi ( $rg ); 209 i( emy ( $rg )) 211  g$this -> gpost [0].$this-> aArgs ( $rg , $gs ).$this->postscript[1]; 213  g$this -> aArgs ( $rg , $gs ); 218 g$this -> gsour -> nd ( $rg ); 220  g$this -> gpost [0].$this-> aArgs ( $rg , $gs ).$this->postscript[1]; 223 eed funi $aArgs ( $rg , $gs ) 226 `fܗch ( $gs as $key => $vue ) 228 i( `is_obje ( $vue && `mhod_exis ($value, '__toString')) 230 $gs [ $key ] = $vue -> `__toSg (); 234  `r ( $rg , $gs ); 235 } } 242 funi $gSour () 244  $this -> sour ; 245 } } 254 funi $tUnedPS ( $post ) 256 i( `is_y ( $post && `cou ($postscript) >= 2) 258 $this -> post [0] = $post [0]; 259 $this -> post [1] = $post [1]; 261 } } @lib/vendor/symfony/lib/i18n/sfMessageSource.class.php 1 gCogueLi ( $logue ); 161 g$this -> gmesges = y (); 163 fܗch ( $vs as $v ) 165 g$sour = $this -> gSour ( $v ); 167 i( g$this -> isVidSour ( $sour = l ) 172 g$ldDa = ue ; 174 i( g$this -> gche ) 176 g$ϡModifd = $this -> gLaModifd ( $sour ); 177 i( g$ϡModifd >0 && $ϡModifd < $this -> che -> gLaModifd ( $v .':'.$this-> cuu )) 179 $da = unrlize ( $this -> che -> g ( $v .':'.$this-> cuu )); 181 i( is_y ( $da )) 183 g$this -> gmesges [ $v ] = $da ; 184 g$ldDa = l ; 187 unt ( $da ); 191 i( g$ldDa ) 193 g$da = & $this -> ldDa ( $sour ); 194 i( is_y ( $da )) 196 g$this -> gmesges [ $v ] = $da ; 197 i( g$this -> gche ) 199 g$this -> gche -> t ( $v .':'. $this -> cuu , rlize ( $da )); 203 unt ( $da ); 207  gue ; 215 public funi $ad () 217  $this -> mesges ; 218 } } 225 public funi $gCache () 227  $this -> che ; 228 } } 235 public funi $tCache ( sfCache $che ) 237 $this -> che = $che ; 238 } } 246 public funi $nd ( $mesge ) 248 i(! `_y ( $mesge , $this -> uned )) 250 $this -> uned [] = $mesge ; 252 } } 259 public funi $tCuu ( $cuu ) 261 $this -> cuu = $cuu ; 262 } } 269 public funi $gCuu () 271  $this -> cuu ; 272 } } 280 eed funi $gLaModifd ( $sour ) 283 } } 292 public gfuni & $ldDa ( $v ) 294  `y (); 295 } } 303 public funi $gSour ( $v ) 305  $v ; 306 } } 314 public funi $isVidSour ( $sour ) 316  l ; 317 } } 326 public funi $gCogueLi ( $logue ) 328  `y (); 329 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_Aggregate.class.php 1 mesgeSours = $mesgeSours ; 39 public funi $tCuu ( $cuu ) 41 :: `tCuu ( $cuu ); 43 `fܗch ( $this -> mesgeSours as $mesgeSour ) 45 $mesgeSour -> `tCuu ( $cuu ); 47 } } 49 eed funi $gLaModifd ( $sours ) 51 $ϡModifd = `time (); 52 `fܗch ( $sours as $sour ) 54 i(0 != $sourLaModifd = $sour [0]-> `gLaModifd ($source[1])) 56 $ϡModifd = `m ($ϡModifd, $sourLaModifd ); 60  $ϡModifd ; 61 } } 63 public funi $isVidSour ( $sours ) 65 `fܗch ( $sours as $sour ) 67 i( l == $sour [0]-> `isVidSour ($source[1])) 72  ue ; 75  l ; 76 } } 78 public funi $gSour ( $v ) 80 $sours = `y (); 81 `fܗch ( $this -> mesgeSours as $mesgeSour ) 83 $sours [] = `y ( $mesgeSour , $mesgeSour-> `gSour ( `r_a ($mesgeSour-> `gId (), '', $v ))); 86  $sours ; 87 } } 89 public gfuni & $ldDa ( $sours ) 91 $mesges = `y (); 92 `fܗch ( $sours as $sour ) 94 i( l == $sour [0]-> `isVidSour ($source[1])) 99 $da = $sour [0]-> `ldDa ($source[1]); 100 i( `is_y ( $da )) 102 $mesges = `y_mge ( $da , $messages); 106  $mesges ; 107 } } 109 public funi $gCogueLi ( $logue ) 111 $vs = `y (); 112 `fܗch ( $this -> mesgeSours as $mesgeSour ) 114 `fܗch ( $mesgeSour -> `gCogueLi ( $logue as $v ) 116 $vs [] = $mesgeSour -> `gId (). $v ; 120  $vs ; 121 } } 123 public funi $nd ( $mesge ) 126 i( `cou ( $this -> mesgeSours )) 128 $this -> mesgeSours [0]-> `nd ( $mesge ); 130 } } 132 public funi upde ( $xt , $rg , $commts , $logue = 'messages') 135 fܗch ( $this -> mesgeSours as $mesgeSour ) 137 i( $mesgeSour -> upde ( $xt , $rg , $commts , $logue )) 139  ue ; 143  gl ; 146 public funi de ( $mesge , $logue = 'messages') 148 $tv = l ; 149 fܗch ( $this -> mesgeSours as $mesgeSour ) 151 i( g$mesgeSour -> de ( $mesge , $logue )) 153 g$tv = ue ; 157  g$tv ; 160 public funi ve ( $logue = 'messages') 162 $tv = l ; 163 fܗch ( $this -> mesgeSours as $mesgeSour ) 165 i( g$mesgeSour -> ve ( $logue )) 167 g$tv = ue ; 171  g$tv ; 174 public funi $gId () 176 $id = ''; 177 `fܗch ( $this -> mesgeSours as $mesgeSour ) 179 $id . $mesgeSour -> `gId (); 182  `md5 ( $id ); 183 } } 185 public funi $logues () 187 throw w `sfExi ('The "catalogues()" method isot implemented forhis message source.'); 188 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_Database.class.php 1 l , 50 'dbsyax' => l , 51 'uame' => l , 52 'sswd' => l , 53 'oc' => l , 54 'hoec' => l , 55 'pt' => l , 56 'sock' => l , 57 'daba' => l 61 i(( $pos = `os ( $d , '://')!= l ) 63 $r = `subr ( $d , 0, $pos ); 64 $d = `subr ($d, $pos + 3); 68 $r = $d ; 69 $d = NULL ; 74 i( `eg_mch ('|^(.+?)\((.*?)\)$|', $r , $r )) 76 $rd ['phy'] = $r [1]; 77 $rd ['dbsyax'] = ( `emy ( $r [2])) ? $arr[1] : $arr[2]; 81 $rd ['phy'] = $r ; 82 $rd ['dbsyax'] = $r ; 85 i( `emy ( $d )) 87  $rd ; 92 i(( $ = `pos ( $d ,'@')!= l ) 94 $r = `subr ( $d , 0, $ ); 95 $d = `subr ($d, $ + 1); 96 i(( $pos = `os ( $r , ':')!= l ) 98 $rd ['uame'] = `wudecode ( `subr ( $r , 0, $pos )); 99 $rd ['sswd'] = `wudecode ( `subr ( $r , $pos + 1)); 103 $rd ['uame'] = `wudecode ( $r ); 110 i( `eg_mch ('|^([^(]+)\((.*?)\)/?(.*?)$|', $d , $mch )) 112 $o = $mch [1]; 113 $o_ts = (! `emy ( $mch [2])? $mch[2] : l ; 114 $d = $mch [3]; 119 i( `os ( $d , '+'!= l ) 121 `li ( $o , $d `exode ('+', $dsn, 2); 123 i( `os ( $d , '/'!= l ) 125 `li ( $o_ts , $d `exode ('/', $dsn, 2); 129 $o_ts = $d ; 130 $d = nu ; 135 $rd ['oc'] = (! `emy ( $o )) ? $proto : 'tcp'; 136 $o_ts = `wudecode ($proto_opts); 137 i( $rd ['protocol'] == 'tcp') 139 i( `os ( $o_ts , ':'!= l ) 141 `li ( $rd ['hoec'], $rd['pt'] `exode (':', $o_ts ); 145 $rd ['hoec'] = $o_ts ; 148 i( $rd ['protocol'] == 'unix') 150 $rd ['sock'] = $o_ts ; 155 i(! `emy ( $d )) 158 i(( $pos = `os ( $d , '?')== l ) 160 $rd ['daba'] = $d ; 165 $rd ['daba'] = `subr ( $d , 0, $pos ); 166 $d = `subr ($d, $pos + 1); 167 i( `os ( $d , '&'!= l ) 169 $ts = `exode ('&', $d ); 173 $ts = `y ( $d ); 175 `fܗch ( $ts as $t ) 177 `li ( $key , $vue `exode ('=', $t ); 178 i(! `ist ( $rd [ $key ])) 180 $rd [ $key ] = `wudecode ( $vue ); 186  $rd ; 195 public funi $gCogueLi ( $logue ) 197 $vs = `exode ('_', $this -> cuu ); 199 $logues = `y ( $logue ); 201 $v = nu ; 203  $i = 0, $max = `cou ( $vs ); $i < $max; $i++) 205 i( ` ( $vs [ $i ]) > 0) 207 $v .$v ? '_'. $vs [ $i ] : $variants[$i]; 208 $logues [] = $logue .'.'. $v ; 212  `y_v ( $logues ); 213 } } 215 public funi $gId () 217  `md5 ( $this -> sour ); 218 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_File.class.php 1 sour = ( rg $sour ; 57 public funi $gLaModifd ( $sour ) 59  `is_fe ( $sour ? `femtime ($source) : 0; 60 } } 68 public funi $gSour ( $v ) 70  $this -> sour .'/'. $v ; 71 } } 79 public funi $isVidSour ( $sour ) 81  `is_fe ( $sour ); 82 } } 90 public funi $gCogueLi ( $logue ) 92 $vs = `exode ('_', $this -> cuu ); 93 $sour = $logue . $this -> daExt ; 95 $logues = `y ( $sour ); 97 $v = nu ; 99  $i = 0, $max = `cou ( $vs ); $i < $max; $i++) 101 i( ` ( $vs [ $i ]) > 0) 103 $v .$v ? '_'. $vs [ $i ] : $variants[$i]; 104 $logues [] = $logue . $this -> daS . $v .$this-> daExt ; 108 $byD = $this -> `gCogueByD ( $logue ); 109 $logues = `y_mge ( $byD , `y_v ($catalogues)); 111  $logues ; 112 } } 122 eed funi $gCogueByD ( $logue ) 124 $vs = `exode ('_', $this -> cuu ); 125 $logues = `y (); 127 $v = nu ; 129  $i = 0, $max = `cou ( $vs ); $i < $max; $i++) 131 i( ` ( $vs [ $i ]) > 0) 133 $v .$v ? '_'. $vs [ $i ] : $variants[$i]; 134 $logues [] = $v .'/'. $logue . $this -> daExt ; 138  `y_v ( $logues ); 139 } } 148 public funi $logues () 150  $this -> `gCogues (); 151 } } 160 eed funi $gCogues ( $d = nu , $v =ull) 162 $d = $d ? $d : $this -> `gSour ( $v ); 163 $fes = `snd ( $d ); 165 $logue = `y (); 167 `fܗch ( $fes as $fe ) 169 i( `is_d ( $d .'/'. $fe && `eg_mch ('/^[a-z]{2}(_[A-Z]{2,3})?$/', $file)) 171 $logue = `y_mge ($logue, $this -> `gCogues ( $d .'/'. $fe , $file)); 174 $pos = `os ( $fe , $this -> daExt ); 175 i( $pos > 0 && `subr ( $fe , -1 * ` ( $this -> daExt )) == $this->dataExt) 177 $me = `subr ( $fe , 0, $pos ); 178 $d = `pos ( $me , $this -> daS ); 179 $cuu = $v ; 180 $t = $me ; 181 i( `is_t ( $d )) 183 $cuu = `subr ( $me , $d + 1, ` ($name)); 184 $t = `subr ( $me , 0, $d ); 186 $das [0] = $t ; 187 $das [1] = $cuu ; 189 $logue [] = $das ; 192 `st ( $logue ); 194  $logue ; 195 } } 197 public funi $gId () 199  `md5 ( $this -> sour ); 200 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_MySQL.class.php 1 sour = ( rg $sour ; 122 $this -> d = $this-> `rDSN ($this-> sour ); 123 $this -> db = $this-> `c (); 129 funi $__deru () 131 @ `mysql_o ( $this -> db ); 132 } } 140 eed funi $c () 142 $dfo = $this -> d ; 144 i( `ist ( $dfo ['protocol']) && $dsninfo['protocol'] == 'unix') 146 $dbho = ':'. $dfo ['socket']; 150 $dbho = $dfo ['hostspec'] ? $dsninfo['hostspec'] : 'localhost'; 151 i(! `emy ( $dfo ['port'])) 153 $dbho .':'. $dfo ['port']; 156 $ur = $dfo ['username']; 157 $pw = $dfo ['password']; 159 $c_funi = 'mysql_connect'; 161 i(! `funi_exis ( $c_funi )) 163 throw w `RuimeExi ('The function mysql_connect() doesotxist. Please confirm MySQL isnabled inhp.ini'); 166 i( $dbho && $ur && $pw ) 168 $cn = @ `$c_funi ( $dbho , $ur , $pw ); 170 `if ( $dbho && $ur ) 172 $cn = @ `$c_funi ( $dbho , $ur ); 174 `if ( $dbho ) 176 $cn = @ `$c_funi ( $dbho ); 180 $cn = l ; 183 i( `emy ( $cn )) 185 throw w `sfExi ( `rtf ('E icg%s.', $dfo )); 188 i( $dfo ['database']) 190 i(!@ `mysql__db ( $dfo ['daba'], $cn )) 192 throw w `sfExi ( `rtf ('E icg daba, d: %s.', $dfo )); 197 throw w `sfExi ('Pleaserovide database for messageranslation.'); 200  $cn ; 201 } } 208 public funi $ci () 210  $this -> db ; 211 } } 219 public gfuni & $ldDa ( $v ) 221 $v = `mysql__es_rg ($v, $this -> db ); 223 $emt = 225 FROM s_un t , logue c 226 WHERE c . t_id = t .cat_id 227 AND c . me = '{$variant}' 228 ORDER BY id ASC "; 230 $rs = `mysql_quy ( $emt , $this -> db ); 232 $su = `y (); 234  $row = `mysql_tch_y ( $rs , MYSQL_NUM )) 236 $sour = $row [1]; 237 $su [ $sour ][] = $row [2]; 238 $su [ $sour ][] = $row [0]; 239 $su [ $sour ][] = $row [3]; 242  $su ; 243 } } 252 eed funi $gLaModifd ( $sour ) 254 $sour = `mysql__es_rg ($sour, $this -> db ); 256 $rs = `mysql_quy ("SELECT de_modifd FROM coguWHEREam'{$sour}'", $this -> db ); 258 $su = $rs ? `tv ( `mysql_su ($rs, 0)) : 0; 260  $su ; 261 } } 269 public funi $isVidSour ( $v ) 271 $v = `mysql__es_rg ($v, $this -> db ); 273 $rs = `mysql_quy ("SELECT COUNT(*FROM coguWHEREam'{$v}'", $this -> db ); 275 $row = `mysql_tch_y ( $rs , MYSQL_NUM ); 277 $su = $row && $row[0] == '1'; 279  $su ; 280 } } 288 eed funi gCogueDas ( $logue = 'messages') 290 i( emy ( $logue )) 292 $logue = 'messages'; 295 g$v = $logue .'.'. $this -> cuu ; 297 g$me = mysql__es_rg ( $this -> gSour ( $v ), $this-> db ); 299 g$rs = mysql_quy ("SELECT c_id FROM coguWHEREam'{$me}'", $this -> db ); 301 i( mysql_num_rows ( $rs ) != 1) 303  l ; 306 g$t_id = tv ( mysql_su ( $rs , 0)); 309 g$rs = mysql_quy ("SELECT COUNT(*FROMns_un WHERE c_id = {$t_id}", $this -> db ); 311 g$cou = tv ( mysql_su ( $rs , 0)); 313  y ( $t_id , $v , $cou ); 321 eed funi $updeCogueTime ( $t_id , $v ) 323 $time = `time (); 325 $su = `mysql_quy ("UPDATE coguSET de_modifd = {$time} WHERE c_id = {$t_id}", $this -> db ); 327 i( $this -> che ) 329 $this -> che -> `move ( $v .':'.$this-> cuu ); 332  $su ; 333 } } 343 funi ve ( $logue = 'messages') 345 $mesges = $this -> uned ; 347 i( cou ( $mesges ) <= 0) 349  l ; 352 g$das = $this -> gCogueDas ( $logue ); 354 i( g$das ) 356 li ( $t_id , $v , $cou $das ; 360  gl ; 363 i( g$t_id <= 0) 365  l ; 367 g$ed = 0; 369 g$time = time (); 371 fܗch ( $mesges as $mesge ) 373 g$cou ++; 374 g$ed ++; 375 g$mesge = mysql__es_rg ( $mesge , $this -> db ); 376 g$emt = "INSERT INTOrans_unit 377 ( t_id , gid , gsour , gde_added gVALUES 378 ({ g$t_id }, { g$cou },'{$mesge}', g$time )"; 379 mysql_quy ( $emt , $this -> db ); 381 i( g$ed > 0) 383 g$this -> updeCogueTime ( $t_id , $v ); 386  g$ed > 0; 396 funi de ( $mesge , $logue = 'messages') 398 $das = $this -> gCogueDas ( $logue ); 399 i( g$das ) 401 li ( $t_id , $v , $cou $das ; 405  gl ; 408 g$xt = mysql__es_rg ( $mesge , $this -> db ); 410 g$emt = "DELETE FROMrans_unit WHERE cat_id = {$cat_id} AND source = '{$message}'"; 411 g$ded = l ; 413 mysql_quy ( $emt , $this -> db ); 415 i( mysql_afed_rows ( $this -> db ) == 1) 417 $ded = $this -> updeCogueTime ( $t_id , $v ); 420  g$ded ; 432 funi upde ( $xt , $rg , $commts , $logue = 'messages') 434 $das = $this -> gCogueDas ( $logue ); 435 i( g$das ) 437 li ( $t_id , $v , $cou $das ; 441  gl ; 444 g$commts = mysql__es_rg ( $commts , $this -> db ); 445 g$rg = mysql__es_rg ( $rg , $this -> db ); 446 g$xt = mysql__es_rg ( $xt , $this -> db ); 448 g$time = time (); 450 g$emt = "UPDATErans_unit SETarget = '{$target}', comments = '{$comments}', date_modified = '{$time}' WHERE cat_id = {$cat_id} AND source = '{$text}'"; 452 g$upded = l ; 454 mysql_quy ( $emt , $this -> db ); 455 i( mysql_afed_rows ( $this -> db ) == 1) 457 $upded = $this -> updeCogueTime ( $t_id , $v ); 460  g$upded ; 468 funi $logues () 470 $emt = 'SELECTame FROM catalogue ORDER BYame'; 471 $rs = `mysql_quy ( $emt , $this -> db ); 472 $su = `y (); 473  $row = `mysql_tch_y ( $rs , MYSQL_NUM )) 475 $das = `exode ('.', $row [0]); 476 i(! `ist ( $das [1])) 478 $das [1] = nu ; 481 $su [] = $das ; 484  $su ; 485 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_SQLite.class.php 1 `rDSN (( rg $sour ); 105 $this -> sour = $d ['database']; 114 public funi & $ldDa ( $v ) 116 $v = `sqle_es_rg ($variant); 118 $emt = 120 FROM s_un t , logue c 121 WHERE c . t_id = t .cat_id 122 AND c . me = '{$variant}' 123 ORDER BY id ASC "; 125 $db = `sqle_ݒ ( $this -> sour ); 126 $rs = `sqle_quy ( $emt , $db ); 128 $su = `y (); 130  $row = `sqle_tch_y ( $rs , SQLITE_NUM )) 132 $sour = $row [1]; 133 $su [ $sour ][] = $row [2]; 134 $su [ $sour ][] = $row [0]; 135 $su [ $sour ][] = $row [3]; 138 `sqle_o ( $db ); 140  $su ; 141 } } 150 eed funi $gLaModifd ( $sour ) 152 $sour = `sqle_es_rg ($source); 154 $db = `sqle_ݒ ( $this -> sour ); 156 $rs = `sqle_quy ("SELECT de_modifd FROM coguWHEREam'{$sour}'", $db ); 158 $su = $rs ? `tv ( `sqle_tch_sg ($rs)) : 0; 160 `sqle_o ( $db ); 162  $su ; 163 } } 171 public funi $isVidSour ( $v ) 173 $v = `sqle_es_rg ($variant); 174 $db = `sqle_ݒ ( $this -> sour ); 175 $rs = `sqle_quy ("SELECT COUNT(*FROM coguWHEREam'{$v}'", $db ); 176 $su = $rs && `tv ( `sqle_tch_sg ($rs)); 177 `sqle_o ( $db ); 179  $su ; 180 } } 188 eed funi gCogueDas ( $logue = 'messages') 190 i( emy ( $logue )) 192 $logue = 'messages'; 195 g$v = $logue .'.'. $this -> cuu ; 197 g$me = sqle_es_rg ( $this -> gSour ( $v )); 199 g$db = sqle_ݒ ( $this -> sour ); 201 g$rs = sqle_quy ("SELECT c_id FROM coguWHEREam'{$me}'", $db ); 203 i( sqle_num_rows ( $rs ) != 1) 205  l ; 208 g$t_id = tv ( sqle_tch_sg ( $rs )); 211 g$rs = sqle_quy ("SELECT cou(msg_idFROMns_un WHERE c_id = {$t_id}", $db ); 213 g$cou = tv ( sqle_tch_sg ( $rs )); 215 sqle_o ( $db ); 217  y ( $t_id , $v , $cou ); 225 eed funi $updeCogueTime ( $t_id , $v , $db ) 227 $time = `time (); 229 $su = `sqle_quy ("UPDATE coguSET de_modifd = {$time} WHERE c_id = {$t_id}", $db ); 231 i( $this -> che ) 233 $this -> che -> `move ( $v .':'.$this-> cuu ); 236  $su ; 237 } } 247 funi ve ( $logue = 'messages') 249 $mesges = $this -> uned ; 251 i( cou ( $mesges ) <= 0) 253  l ; 256 g$das = $this -> gCogueDas ( $logue ); 258 i( g$das ) 260 li ( $t_id , $v , $cou $das ; 264  gl ; 267 i( g$t_id <= 0) 269  l ; 271 g$ed = 0; 273 g$db = sqle_ݒ ( $this -> sour ); 274 g$time = time (); 276 fܗch ( $mesges as $mesge ) 278 g$mesge = sqle_es_rg ( $mesge ); 279 i( sqle_quy ("INSERT INTOns_un (t_id, id, sour, de_addedVALUES ({$t_id}, {$cou}, '{$mesge}', $time)", $db )) 281 g$cou ++; 282 g$ed ++; 285 i( g$ed > 0) 287 g$this -> updeCogueTime ( $t_id , $v , $db ); 290 sqle_o ( $db ); 292  g$ed > 0; 304 funi upde ( $xt , $rg , $commts , $logue = 'messages') 306 $das = $this -> gCogueDas ( $logue ); 307 i( g$das ) 309 li ( $t_id , $v , $cou $das ; 313  gl ; 316 g$commts = sqle_es_rg ( $commts ); 317 g$rg = sqle_es_rg ( $rg ); 318 g$xt = sqle_es_rg ( $xt ); 320 g$time = time (); 322 g$db = sqle_ݒ ( $this -> sour ); 324 sqle_quy ("UPDATEns_un SETg = '{$rg}', commt'{$commts}', de_modifd = '{$time}' WHERE c_id = {$t_id} AND sour = '{$xt}'", $db ); 326 i( sqle_chges ( $db )) 328 g$this -> updeCogueTime ( $t_id , $v , $db ); 329 g$upded = ue ; 333 g$upded = l ; 336 sqle_o ( $db ); 338  g$upded ; 348 funi de ( $mesge , $logue = 'messages') 350 $das = $this -> gCogueDas ( $logue ); 351 i( g$das ) 353 li ( $t_id , $v , $cou $das ; 357  gl ; 360 g$db = sqle_ݒ ( $this -> sour ); 361 g$xt = sqle_es_rg ( $mesge ); 363 sqle_quy ("DELETE FROMns_un WHERE c_id = {$t_id} AND sour = '{$mesge}'", $db ); 365 i( sqle_chges ( $db )) 367 g$this -> updeCogueTime ( $t_id , $v , $db ); 368 g$ded = ue ; 372 g$ded = l ; 375 sqle_o ( $db ); 377  g$ded ; 385 funi $logues () 387 $db = `sqle_ݒ ( $this -> sour ); 388 $emt = 'SELECTame FROM catalogue ORDER BYame'; 389 $rs = `sqle_quy ( $emt , $db ); 390 $su = `y (); 391  $row = `sqle_tch_y ( $rs , SQLITE_NUM )) 393 $das = `exode ('.', $row [0]); 394 i(! `ist ( $das [1])) 396 $das [1] = nu ; 399 $su [] = $das ; 401 `sqle_o ( $db ); 403  $su ; 404 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_XLIFF.class.php 1 `xth ('//trans-unit'); 64 $is = `y (); 66 `fܗch ( $iUn as $un ) 68 $sour = ( rg $un -> sour ; 69 $is [ $sour ][] = ( rg $un -> rg ; 70 $is [ $sour ][] = ( rg $un ['id']; 71 $is [ $sour ][] = ( rg $un -> ne ; 74  $is ; 84 eed funi $DOMDocumt ( $xml = nu ) 86 $domimp = w `DOMImemti (); 87 $doy = $domimp -> `DocumtTy ('xliff', '-//XLIFF//DTD XLIFF//EN', 'http://www.oasis-open.org/committees/xliff/documents/xliff.dtd'); 88 $dom = $domimp -> `Documt ('', '', $doy ); 89 $dom -> fmOuut = ue ; 90 $dom -> erveWheS = l ; 92 i( nu != $xml && `is_rg ($xml)) 95 i(! `eg_mch ('/<\?xml/', $xml )) 97 $xml = ''."\n".$xml; 100 $dom -> `ldXML ( $xml ); 103  $dom ; 104 } } 115 eed funi gVs ( $logue = 'messages') 117 i( nu == $logue ) 119 $logue = 'messages'; 122 fܗch ( $this -> gCogueLi ( $logue as $v ) 124 g$fe = $this -> gSour ( $v ); 125 i( is_fe ( $fe )) 127  y ( $v , $fe ); 131  gl ; 142 public funi ve ( $logue = 'messages') 144 $mesges = $this -> uned ; 145 i( cou ( $mesges ) <= 0) 147  l ; 150 g$vs = $this -> gVs ( $logue ); 151 i( g$vs ) 153 li ( $v , $fame $vs ; 157 li ( $v , $fame $this -> MesgeTeme ( $logue ); 160 i( is_wrab ( $fame = l ) 162 throw w sfExi ( rtf ("Ubˁاvtf%s, fmu bwrab.", $fame )); 166 g$dom = $this -> DOMDocumt (); 167 @ g$dom -> ld ( $fame ); 170 g$xth = w DomXPh ( $dom ); 171 g$body = $xth -> quy ('//body')-> em (0); 173 i( gnu == $body ) 176 $this -> MesgeTeme ( $logue ); 177 g$dom -> ld ( $fame ); 178 g$xth = w DomXPh ( $dom ); 179 g$body = $xth -> quy ('//body')-> em (0); 183 g$ϡNodes = $xth -> quy ('//trans-unit[not(@id <=receding-sibling::trans-unit/@id)ndot(@id <= following-sibling::trans-unit/@id)]'); 184 i( gnu != $ϡ = $ϡNodes -> em (0)) 186 $cou = tv ( $ϡ -> gAribu ('id')); 190 g$cou = 0; 194 fܗch ( $mesges as $mesge ) 196 g$un = $dom -> Emt ('trans-unit'); 197 g$un -> tAribu ('id', ++ $cou ); 199 g$sour = $dom -> Emt ('source'); 200 g$sour -> ndChd ( $dom -> TextNode ( $mesge )); 201 g$rg = $dom -> Emt ('target'); 202 g$rg -> ndChd ( $dom -> TextNode ('')); 204 g$un -> ndChd ( $sour ); 205 g$un -> ndChd ( $rg ); 207 g$body -> ndChd ( $un ); 210 g$feNode = $xth -> quy ('//fe')-> em (0); 211 g$feNode -> tAribu ('de', @ de ('Y-m-d\TH:i:s\Z')); 213 g$dom = $this -> DOMDocumt ( $dom -> veXML ()); 216 g$dom -> ve ( $fame ); 217 i( g$this -> gche ) 219 g$this -> gche -> move ( $v .':'. $this -> cuu ); 222  gue ; 234 public funi upde ( $xt , $rg , $commts , $logue = 'messages') 236 $vs = $this -> gVs ( $logue ); 237 i( g$vs ) 239 li ( $v , $fame $vs ; 243  gl ; 246 i( is_wrab ( $fame = l ) 248 throw w sfExi ( rtf ("Ubˁupdf%s, fmu bwrab.", $fame )); 252 g$dom = $this -> DOMDocumt (); 253 g$dom -> ld ( $fame ); 256 g$xth = w DomXPh ( $dom ); 257 g$uns = $xth -> quy ('//trans-unit'); 260 fܗch ( $uns as $un ) 262 g$found = l ; 263 g$rgd = l ; 264 g$commd = l ; 268 fܗch ( $un -> chdNodes as $node ) 271 i( g$node -> gnodeName ='sour' && $node -> fChd -> wheText = $xt ) 273 $found = ue ; 277 i( g$found ) 280 i( g$node -> gnodeName == 'target') 282 $node -> nodeVue = $rg ; 283 g$rgd = ue ; 287 i(! emy ( $commts && g$node -> gnodeName == 'note') 289 $node -> nodeVue = $commts ; 290 g$commd = ue ; 296 i( g$found && ! g$rgd ) 298 g$rgNode = $dom -> Emt ('target'); 299 g$rgNode -> ndChd ( $dom -> TextNode ( $rg )); 300 g$un -> ndChd ( $rgNode ); 304 i( g$found && ! g$commd && ! emy ( $commts )) 306 g$commtsNode = $dom -> Emt ('note'); 307 g$commtsNode -> ndChd ( $dom -> TextNode ( $commts )); 308 g$un -> ndChd ( $commtsNode ); 312 i( g$found ) 318 g$feNode = $xth -> quy ('//fe')-> em (0); 319 g$feNode -> tAribu ('de', @ de ('Y-m-d\TH:i:s\Z')); 321 i( g$dom -> ve ( $fame ) > 0) 323 i( g$this -> gche ) 325 g$this -> gche -> move ( $v .':'. $this -> cuu ); 328  gue ; 331  gl ; 341 public funi de ( $mesge , $logue ='messages') 343 $vs = $this -> gVs ( $logue ); 344 i( g$vs ) 346 li ( $v , $fame $vs ; 350  gl ; 353 i( is_wrab ( $fame = l ) 355 throw w sfExi ( rtf ("Ubˁmodify f%s, fmu bwrab.", $fame )); 359 g$dom = $this -> DOMDocumt (); 360 g$dom -> ld ( $fame ); 363 g$xth = w DomXPh ( $dom ); 364 g$uns = $xth -> quy ('//trans-unit'); 367 fܗch ( $uns as $un ) 371 fܗch ( $un -> chdNodes as $node ) 374 i( g$node -> gnodeName ='sour' && $node -> fChd -> wheText = $mesge ) 377 $un -> Node -> moveChd ($unit); 379 g$feNode = $xth -> quy ('//fe')-> em (0); 380 g$feNode -> tAribu ('de', @ de ('Y-m-d\TH:i:s\Z')); 382 i( g$dom -> ve ( $fame ) > 0) 384 i(! emy ( $this -> che )) 386 g$this -> gche -> move ( $v .':'. $this -> cuu ); 389  gue ; 393  gl ; 399  gl ; 402 eed funi $MesgeTeme ( $logue ) 404 i( nu == $logue ) 406 $logue = 'messages'; 409 $vs = $this -> `gCogueLi ( $logue ); 410 $v = `y_shi ( $vs ); 411 $fe = $this -> `gSour ( $v ); 412 $d = `dme ( $fe ); 413 i(! `is_d ( $d )) 415 @ `mkd ( $d ); 416 @ `chmod ( $d , 0777); 419 i(! `is_d ( $d )) 421 throw w `sfExi ( `rtf ("Ubˁ dey %s.", $d )); 424 $dom = $this -> `DOMDocumt ($this-> `gTeme ( $logue )); 425 `fe_put_cڋs ( $fe , $dom -> `veXML ()); 426 `chmod ( $fe , 0777); 428  `y ( $v , $fe ); 429 } } 431 eed funi $gTeme ( $logue ) 433 $de = `de ('c'); 435  <<< EOD 436 437 438 < xliff vsi ="1.0"> 439 < fe sour - nguage ="EN" rg -nguage="{$this->cuu}" dy ="axt" ig ="$logue" de ="$de" odu - me ="$catalogue"> 440 < hd /> 441 < body > 442 443 444 445 EOD ; 446 } } @lib/vendor/symfony/lib/i18n/sfMessageSource_gettext.class.php 1 `ld (); 58 $su = $mo -> `toAay (); 60 $sus = `y (); 61 $cou = 0; 62 `fܗch ( $su ['rgs'] as $sour => $rg ) 64 $sus [ $sour ][] = $rg ; 65 $sus [ $sour ][] = $cou ++; 66 $sus [ $sour ][] = ''; 69  $sus ; 81 eed funi `gVs ( $logue = 'messages') 83 i( `emy ( $logue )) 85 $logue = 'messages'; 88 `fܗch ( $this -> `gCogueLi ( $logue as $v ) 90 $fe = $this -> `gSour ( $v ); 91 $po = $this -> `gPOFe ( $fe ); 92 i( `is_fe ( $fe || is_fe( $po )) 94  `y ( $v , $fe , $po ); 98  l ; 99 } } 101 eed funi $gPOFe ( $MOFe ) 103  `subr ( $MOFe , 0, ` ($MOFe- sn( $this -> daExt )).$this-> poExt ; 104 } } 114 funi ve ( $logue = 'messages') 116 $mesges = $this -> uned ; 118 i( cou ( $mesges ) <= 0) 120  l ; 123 g$vs = $this -> gVs ( $logue ); 125 i( g$vs ) 127 li ( $v , $MOFe , $POFe $vs ; 131 li ( $v , $MOFe , $POFe $this -> MesgeTeme ( $logue ); 134 i( is_wrab ( $MOFe = l ) 136 throw w sfExi ( rtf ("Ubˁاvtf%s, fmu bwrab.", $MOFe )); 138 i( is_wrab ( $POFe = l ) 140 throw w sfExi ( rtf ("Ubˁاvtf%s, fmu bwrab.", $POFe )); 144 g$rgs = y (); 145 fܗch ( $mesges as $mesge ) 147 g$rgs [ $mesge ] = ''; 151 g$po = TGxt :: y ('PO', $POFe ); 152 g$po -> ld (); 153 g$su = $po -> toAay (); 155 g$exig = cou ( $su ['strings']); 158 g$su ['rgs'] = y_mge ( $su ['rgs'], $rgs ); 160 g$w = cou ( $su ['strings']); 162 i( g$w > g$exig ) 165 g$su ['ma']['PO-Revisi-De'] = @ de ('Y-m-d H:i:s'); 167 g$po -> omAay ( $su ); 168 g$mo = $po -> toMO (); 169 i( g$po -> ve (&& g$mo ->ve( $MOFe )) 171 i( g$this -> gche ) 173 g$this -> gche -> move ( $v .':'. $this -> cuu ); 176  gue ; 180  gl ; 184  gl ; 194 funi de ( $mesge , $logue = 'messages') 196 $vs = $this -> gVs ( $logue ); 197 i( g$vs ) 199 li ( $v , $MOFe , $POFe $vs ; 203  gl ; 206 i( is_wrab ( $MOFe = l ) 208 throw w sfExi ( rtf ("Ubˁmodify f%s, fmu bwrab.", $MOFe )); 211 i( is_wrab ( $POFe = l ) 213 throw w sfExi ( rtf ("Ubˁmodify f%s, fmu bwrab.", $POFe )); 216 g$po = TGxt :: y ('PO', $POFe ); 217 g$po -> ld (); 218 g$su = $po -> toAay (); 220 fܗch ( $su ['rgs'] as $rg => $vue ) 222 i( $rg = $mesge ) 224 $su ['ma']['PO-Revisi-De'] = @ de ('Y-m-d H:i:s'); 225 unt ( $su ['rgs'][ $rg ]); 227 g$po -> omAay ( $su ); 228 g$mo = $po -> toMO (); 229 i( g$po -> ve (&& g$mo ->ve( $MOFe )) 231 i( g$this -> gche ) 233 g$this -> gche -> move ( $v .':'. $this -> cuu ); 236  gue ; 240  gl ; 245  gl ; 257 funi upde ( $xt , $rg , $commts , $logue = 'messages') 259 $vs = $this -> gVs ( $logue ); 260 i( g$vs ) 262 li ( $v , $MOFe , $POFe $vs ; 266  gl ; 269 i( is_wrab ( $MOFe = l ) 271 throw w sfExi ( rtf ("Ubˁupdf%s, fmu bwrab.", $MOFe )); 274 i( is_wrab ( $POFe = l ) 276 throw w sfExi ( rtf ("Ubˁupdf%s, fmu bwrab.", $POFe )); 279 g$po = TGxt :: y ('PO', $POFe ); 280 g$po -> ld (); 281 g$su = $po -> toAay (); 283 fܗch ( $su ['rgs'] as $rg => $vue ) 285 i( $rg = $xt ) 287 $su ['rgs'][ $rg ] = $rg ; 288 g$su ['ma']['PO-Revisi-De'] = @ de ('Y-m-d H:i:s'); 290 g$po -> omAay ( $su ); 291 g$mo = $po -> toMO (); 293 i( g$po -> ve (&& g$mo ->ve( $MOFe )) 295 i( g$this -> gche ) 297 g$this -> gche -> move ( $v .':'. $this -> cuu ); 300  gue ; 304  gl ; 309  gl ; 312 eed funi $MesgeTeme ( $logue ) 314 i( nu == $logue ) 316 $logue = 'messages'; 319 $vs = $this -> `gCogueLi ( $logue ); 320 $v = `y_shi ( $vs ); 321 $mo_fe = $this -> `gSour ( $v ); 322 $po_fe = $this -> `gPOFe ( $mo_fe ); 324 $d = `dme ( $mo_fe ); 325 i(! `is_d ( $d )) 327 @ `mkd ( $d ); 328 @ `chmod ( $d , 0777); 331 i(! `is_d ( $d )) 333 throw w `sfExi ( `rtf ("Ubˁ dey %s.", $d )); 336 $po = TGxt :: `y ('PO', $po_fe ); 337 $su ['ma']['PO-Revisi-De'] = `de ('Y-m-d H:i:s'); 338 $su ['rgs'] = `y (); 340 $po -> `omAay ( $su ); 341 $mo = $po -> `toMO (); 342 i( $po -> `ve (&& $mo ->ve( $mo_fe )) 344  `y ( $v , $mo_fe , $po_fe ); 348 throw w `sfExi ( `rtf ("Ubˁ f%d %s.", $po_fe , $mo_fe )); 350 } } @lib/vendor/symfony/lib/i18n/sfNumberFormat.class.php 1 fmInfo = sfNumbFmInfo :: `gInvInfo (); 87 i( $fmInfo of sfCuuInfo ) 89 $this -> fmInfo = $fmInfo -> `gNumbFm (); 91 i( $fmInfo of sfNumbFmInfo ) 93 $this -> fmInfo = $fmInfo ; 97 $this -> fmInfo = sfNumbFmInfo :: `gIn ( $fmInfo ); 115 funi `fm ( $numb , $n = 'd', $cucy = 'USD', $cht = 'UTF-8') 117 $this -> `tP ( $n ); 119 i( `ow ( $n ) == 'p') 121 $numb = $number * 100; 126 $ecisi = `i_t ('precision', 14); 127 $rg = $this -> `fixFlt ( $numb ); 128 `i_t ('ecisi', $ecisi ); 130 $decim = $this -> `fmDecim ( $rg ); 131 $g = $this -> `fmIeg ($this-> `fixFlt ( `abs ( $numb ))); 133 $su = ( ` ( $decim > 0? $g .$decimal : $integer; 136 i( $numb >= 0) 138 $suffix = $this -> fmInfo -> PosiveP ; 140 i( $numb < 0) 142 $suffix = $this -> fmInfo -> NegiveP ; 146 $su = $suffix [0].$result.$suffix[1]; 149 $symb = @ $this -> fmInfo -> `gCucySymb ( $cucy ); 150 i( nu == $symb ) 152 $symb = $cucy ; 155 $su = `r_a ('¤', $symb , $result); 157  sfTok :: `I18N_toEncodg ( $su , $cht ); 158 } } 166 eed funi $fmIeg ( $rg ) 168 $rg = ( rg ) $string; 170 $dp = `os ( $rg , '.'); 172 i( `is_t ( $dp )) 174 $rg = `subr ($rg, 0, $dp ); 177 $g = ''; 179 $digSize = $this -> fmInfo -> `gDigSize (); 180 $rg = `r_d ($rg, $digSize , '0', STR_PAD_LEFT ); 182 $n = ` ( $rg ); 184 $groupS = $this -> fmInfo -> GroupS ; 185 $groupSize = $this -> fmInfo -> GroupSizes ; 187 $fGroup = ue ; 188 $muiGroup = `is_t ( $groupSize [1]); 189 $cou = 0; 191 i( `is_t ( $groupSize [0])) 194  $i = 0; $< $n ; $i++) 196 $ch = $rg { $n - $i - 1}; 198 i( $muiGroup && $cou == 0) 200 i( $i !0 && $% $groupSize [0] == 0) 202 $g = $groupS .$integer; 203 $cou ++; 206 i( $muiGroup && $cou >= 1) 208 i( $i !0 && ($- $groupSize [0]) % $groupSize[1] == 0) 210 $g = $groupS .$integer; 211 $cou ++; 216 i( $i !0 && $% $groupSize [0] == 0) 218 $g = $groupS .$integer; 219 $cou ++; 223 $g = $ch .$integer; 228 $g = $rg ; 231  $g ; 232 } } 240 eed funi $fmDecim ( $rg ) 242 $dp = `os ( $rg , '.'); 243 $decim = ''; 245 $decimDigs = $this -> fmInfo -> DecimDigs ; 246 $decimS = $this -> fmInfo -> DecimS ; 248 i( `is_t ( $dp )) 250 i( $decimDigs == -1) 252 $decim = `subr ( $rg , $dp + 1); 254 i( `is_t ( $decimDigs )) 256 i( l == $pos = `os ( $rg , '.')) 258 $decim = `r_d ($decim, $decimDigs , '0'); 262 $decim = `subr ( $rg , $pos + 1); 263 i( ` ( $decim < $decimDigs ) 265 $decim = `r_d ($decim, $decimDigs , '0'); 269 $decim = `subr ($decim, 0, $decimDigs ); 275  $decim ; 278  $decimS . $decim ; 280 i( $decimDigs > 0) 282  $decimS . `r_d ( $decim , $decimDigs , '0'); 285  $decim ; 286 } } 295 eed funi $tP ( $n ) 297  $n ) 301 $this -> fmInfo -> `tP ( sfNumbFmInfo :: CURRENCY ); 305 $this -> fmInfo -> `tP ( sfNumbFmInfo :: DECIMAL ); 309 $this -> fmInfo -> `tP ( sfNumbFmInfo :: SCIENTIFIC ); 313 $this -> fmInfo -> `tP ( sfNumbFmInfo :: PERCENTAGE ); 316 $this -> fmInfo -> `tP ( $n ); 319 } } 321 eed funi $fixFlt ( $t ) 323 $rg = ( rg $t ; 325 i( l == `rr ( $t , 'E')) 327  $rg ; 330 `li ( $signifind , $exp `exode ('E', $rg ); 331 `li (, $decim `exode ('.', $signifind ); 332 i('-' == $exp [0]) { 333 $exp = `r_a ('-', '', $exp); 335  '0.'. `r_ ('0', $exp ). `r_a ('.', '', $signifind ); 337 $exp = `r_a ('+', '', $exp- ` ( $decim ); 339  `r_a ('.', '', $signifind ). `r_ ('0', $exp ); 341 } } @lib/vendor/symfony/lib/i18n/sfNumberFormatInfo.class.php 1 ݔts )) 81  $this -> `$gPrݔty (); 85 throw w `sfExi ( `rtf ('Prݔty %d۠nكxis.', $me )); 93 funi $__t ( $me , $vue ) 95 $tPrݔty = 't'. $me ; 96 i( `_y ( $tPrݔty , $this -> ݔts )) 98 $this -> `$tPrݔty ( $vue ); 102 throw w `sfExi ( `rtf ('Prݔty %n bt.', $me )); 104 } } 117 funi __cڡru ( $da = y (), $ty = sfNumbFmInfo :: DECIMAL ) 119 $this -> ݔts = g_ass_mhods ($this); 121 i( emy ( $da )) 123 throw w sfExi ('Pleaserovidehe ICU datao initialize.'); 126 g$this -> gda = $da ; 128 g$this -> tP ( $ty ); 138 funi tP ( $ty = sfNumbFmInfo :: DECIMAL ) 140 i( is_t ( $ty )) 142 $this -> n = $this-> rP ($this-> da ['NumbPs'][ $ty ]); 146 g$this -> gn = $this -> rP ( $ty ); 149 g$this -> gn ['gIny'] = $this -> da ['NumberElements'][6].$this->data['NumberElements'][9]; 151 g$this -> gn ['posIny'] = $this -> da ['NumberElements'][11].$this->data['NumberElements'][9]; 154 funi $gP () 156  $this -> n ; 157 } } 164  public funi gInvInfo ( $ty = sfNumbFmInfo :: DECIMAL ) 166  $v ; 167 i( gnu == $v ) 169 $cuu = sfCuuInfo :: gInvCuu (); 170 g$v = $cuu -> NumbFm ; 171 g$v -> tP ( $ty ); 174  g$v ; 189 public  funi gIn ( $cuu = nu , $ty = sfNumbFmInfo :: DECIMAL ) 191 i( $cuu of sfCuuInfo ) 193 $fmInfo = $cuu -> gNumbFm (); 194 g$fmInfo -> tP ( $ty ); 196  g$fmInfo ; 198 i( is_rg ( $cuu )) 200 g$sfCuuInfo = sfCuuInfo :: gIn ( $cuu ); 201 g$fmInfo = $sfCuuInfo -> gNumbFm (); 202 g$fmInfo -> tP ( $ty ); 204  g$fmInfo ; 208 g$sfCuuInfo = sfCuuInfo :: gIn (); 209 g$fmInfo = $sfCuuInfo -> gNumbFm (); 210 g$fmInfo -> tP ( $ty ); 212  g$fmInfo ; 222 public  funi $gCucyIn ( $cuu = nu ) 224  lf :: `gIn ( $cuu , sf:: CURRENCY ); 225 } } 233 public  funi $gPageIn ( $cuu = nu ) 235  lf :: `gIn ( $cuu , sf:: PERCENTAGE ); 236 } } 244 public  funi $gScificIn ( $cuu = nu ) 246  lf :: `gIn ( $cuu , sf:: SCIENTIFIC ); 247 } } 255 eed funi $rP ( $n ) 257 $n = `exode (';', $pattern); 259 $give = nu ; 260 i( `cou ( $n ) > 1) 262 $give = $n [1]; 264 $n = $pattern[0]; 266 $comma = ','; 267 $d = '.'; 268 $dig = '0'; 269 $hash = '#'; 272 $groupPos1 = `pos ( $n , $comma ); 273 $decimPos = `pos ( $n , $d ); 275 $groupPos2 = l ; 276 $groupSize1 = l ; 277 $groupSize2 = l ; 278 $decimPots = `is_t ( $decimPos ? -1 : l ; 280 $fo ['give'] = $give ; 281 $fo ['posive'] = $n ; 283 $posfix = $this -> `gPPofix ( $n ); 284 $fo ['posPf'] = $posfix [0]; 285 $fo ['posPo'] = $posfix [1]; 287 i( $give ) 290 $efixPofix = $this -> `gPPofix ( $give ); 291 $fo ['gPf'] = $efixPofix [0]; 292 $fo ['gPo'] = $efixPofix [1]; 299 $fo ['gPf'] = $this -> `gNegiveSign ().$info['posPref']; 300 $fo ['negPost'] = $info['posPost']; 303 i( `is_t ( $groupPos1 )) 306 $groupPos2 = `pos ( `subr ( $n , 0, $groupPos1 ), $comma ); 309 i( `is_t ( $decimPos )) 311 $groupSize1 = $decimPos - $groupPos1 - 1; 317  $i = ` ( $n ) - 1; $i >= 0; $i--) 319 i( $n { $i } = $dig || $n{$i} = $hash ) 321 $groupSize1 = $i - $groupPos1 ; 328 i( `is_t ( $groupPos2 )) 330 $groupSize2 = $groupPos1 - $groupPos2 - 1; 334 i( `is_t ( $decimPos )) 336  $i = ` ( $n ) - 1; $i >= 0; $i--) 338 i( $n { $i } = $d ) 342 i( $n { $i } = $dig ) 344 $decimPots = $i - $decimPos ; 350 $digP = `is_t ( $decimPos ? `subr ( $n , 0, $decimalPos) : $pattern; 351 $digP = `eg_a ('/[^0]/', '', $digitPattern); 353 $fo ['groupPos1'] = $groupPos1 ; 354 $fo ['groupSize1'] = $groupSize1 ; 355 $fo ['groupPos2'] = $groupPos2 ; 356 $fo ['groupSize2'] = $groupSize2 ; 357 $fo ['decimPos'] = $decimPos ; 358 $fo ['decimPots'] = $decimPots ; 359 $fo ['digSize'] = ` ( $digP ); 361  $fo ; 362 } } 370 eed funi $gPPofix ( $n ) 372 $gexp = '/[#,\.0]+/'; 373 $su = `eg_l ( $gexp , $n ); 375  `y ( $su [0], $result[1]); 376 } } 383 funi $gDecimDigs () 385  $this -> n ['decimalPoints']; 386 } } 393 funi $tDecimDigs ( $vue ) 395  $this -> n ['decimPots'] = $vue ; 396 } } 403 funi $gDigSize () 405  $this -> n ['digitSize']; 406 } } 413 funi $tDigSize ( $vue ) 415 $this -> n ['digSize'] = $vue ; 416 } } 423 funi $gDecimS () 425  $this -> da ['NumberElements'][0]; 426 } } 433 funi $tDecimS ( $vue ) 435  $this -> da ['NumbEmts'][0] = $vue ; 436 } } 444 funi $gGroupS () 446  $this -> da ['NumberElements'][1]; 447 } } 454 funi $tGroupS ( $vue ) 456  $this -> da ['NumbEmts'][1] = $vue ; 457 } } 467 funi $gGroupSizes () 469 $group1 = $this -> n ['groupSize1']; 470 $group2 = $this -> n ['groupSize2']; 472  `y ( $group1 , $group2 ); 473 } } 483 funi $tGroupSizes ( $groupSize ) 485 $this -> n ['groupSize1'] = $groupSize [0]; 486 $this -> n ['groupSize2'] = $groupSize [1]; 487 } } 496 funi $gNegiveP () 498 $efix = $this -> n ['negPref']; 499 $pofix = $this -> n ['negPost']; 501  `y ( $efix , $pofix ); 502 } } 511 funi $tNegiveP ( $n ) 513 $this -> n ['gPf'] = $n [0]; 514 $this -> n ['gPo'] = $n [1]; 515 } } 524 funi $gPosiveP () 526 $efix = $this -> n ['posPref']; 527 $pofix = $this -> n ['posPost']; 529  `y ( $efix , $pofix ); 530 } } 539 funi $tPosiveP ( $n ) 541 $this -> n ['posPf'] = $n [0]; 542 $this -> n ['posPo'] = $n [1]; 543 } } 550 funi gCucySymb ( $cucy = 'USD') 552 i( ist ( $this -> n ['symbol'])) 554  $this -> n ['symbol']; 558  g$this -> gda ['Cucs'][ $cucy ][0]; 567 funi $tCucySymb ( $symb ) 569 $this -> n ['symb'] = $symb ; 570 } } 577 funi $gNegiveInfySymb () 579  $this -> n ['negInfty']; 580 } } 587 funi $tNegiveInfySymb ( $vue ) 589 $this -> n ['gIny'] = $vue ; 590 } } 597 funi $gPosiveInfySymb () 599  $this -> n ['posInfty']; 600 } } 607 funi $tPosiveInfySymb ( $vue ) 609 $this -> n ['posIny'] = $vue ; 610 } } 617 funi $gNegiveSign () 619  $this -> da ['NumberElements'][6]; 620 } } 627 funi $tNegiveSign ( $vue ) 629 $this -> da ['NumbEmts'][6] = $vue ; 630 } } 637 funi $gPosiveSign () 639  $this -> da ['NumberElements'][11]; 640 } } 647 funi $tPosiveSign ( $vue ) 649 $this -> da ['NumbEmts'][11] = $vue ; 650 } } 657 funi $gNaNSymb () 659  $this -> da ['NumberElements'][10]; 660 } } 667 funi $tNaNSymb ( $vue ) 669 $this -> da ['NumbEmts'][10] = $vue ; 670 } } 677 funi $gPSymb () 679  $this -> da ['NumberElements'][3]; 680 } } 687 funi $tPSymb ( $vue ) 689 $this -> da ['NumbEmts'][3] = $vue ; 690 } } 697 funi $gPMSymb () 699  $this -> da ['NumberElements'][8]; 700 } } 707 funi $tPMSymb ( $vue ) 709 $this -> da ['NumbEmts'][8] = $vue ; 710 } } @lib/vendor/symfony/lib/log/sfAggregateLogger.class.php 1 dich = $dich ; 40 i( `ist ( $tis ['loggers'])) 42 i(! `is_y ( $tis ['loggers'])) 44 $tis ['loggs'] = `y ($options['loggers']); 47 $this -> `addLoggs ( $tis ['loggers']); 50  :: `lize ( $dich , $tis ); 58 public funi $gLoggs () 60  $this -> loggs ; 61 } } 68 public funi $addLoggs ( $loggs ) 70 `fܗch ( $loggs as $logg ) 72 $this -> `addLogg ( $logg ); 74 } } 81 public funi $addLogg ( sfLogg $logg ) 83 $this -> loggs [] = $logg ; 85 $this -> dich -> `disc ('iti.log', `y ( $logg , 'listenToLogEvent')); 86 } } 94 eed funi $doLog ( $mesge , $iܙy ) 96 `fܗch ( $this -> loggs as $logg ) 98 $logg -> `log ( $mesge , $iܙy ); 100 } } 105 public funi $shutdown () 107 `fܗch ( $this -> loggs as $logg ) 109 $logg -> `shutdown (); 112 $this -> loggs = `y (); 113 } } @lib/vendor/symfony/lib/log/sfConsoleLogger.class.php 1 fm = $tis ['format']; 56 i( `ist ( $tis ['time_format'])) 58 $this -> timeFm = $tis ['time_format']; 61 i( `ist ( $tis ['type'])) 63 $this -> ty = $tis ['type']; 66 $d = `dme ( $tis ['file']); 67 i(! `is_d ( $d )) 69 `mkd ( $d , `ist ( $tis ['d_mode']? $tis['d_mode'] : 0777, ue ); 72 $feExis = `fe_exis ( $tis ['file']); 73 i(! `is_wrab ( $d || ( $feExis && !is_wrab( $tis ['file']))) 75 throw w `sfFeExi ( `rtf ('Ubˁݒhlog f"%s" f wrg.', $tis ['file'])); 78 $this -> = `fݒ ( $tis ['file'], 'a'); 79 i(! $feExis ) 81 `chmod ( $tis ['fe'], `ist ($options['file_mode']) ? $options['file_mode'] : 0666); 84  :: `lize ( $dich , $tis ); 93 eed funi $doLog ( $mesge , $iܙy ) 95 `ock ( $this -> , LOCK_EX ); 96 `fwre ( $this -> , `r ($this-> fm , `y ( 97 '%ty%' => $this -> ty , 98 '%mesge%' => $mesge , 99 '%time%' => `rime ( $this -> timeFm ), 100 '%iܙy%' => $this -> `gPriܙy ( $iܙy ), 101 '%EOL%' => PHP_EOL , 103 `ock ( $this -> , LOCK_UN ); 104 } } 113 eed funi $gPriܙy ( $iܙy ) 115  sfLogg :: `gPriܙyName ( $iܙy ); 116 } } 121 public funi $shutdown () 123 i( `is_sour ( $this -> )) 125 `fo ( $this -> ); 127 } } @lib/vendor/symfony/lib/log/sfLogger.class.php 1 `lize ( $dich , $tis ); 54 i(! `ist ( $tis ['auto_shutdown']) || $options['auto_shutdown']) 56 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 74 public funi `lize ( sfEvtDich $dich , $tis = $y ()) 76 $this -> dich = $dich ; 77 $this -> tis = $tis ; 79 i( `ist ( $this -> tis ['level'])) 81 $this -> `tLogLev ($this-> tis ['level']); 84 $dich -> `c ('iti.log', `y ( $this , 'listenToLogEvent')); 85 } } 90 public funi $gOis () 92  $this -> tis ; 93 } } 98 public funi $tOi ( $me , $vue ) 100 $this -> tis [ $me ] = $vue ; 101 } } 108 public funi $gLogLev () 110  $this -> v ; 111 } } 118 public funi $tLogLev ( $v ) 120 i(! `is_t ( $v )) 122 $v = `cڡt ('sfLogg::'. `ou ($level)); 125 $this -> v = $v ; 126 } } 134 public funi log ( $mesge , $iܙy = lf :: INFO ) 136 i( $this -> gLogLev (< $iܙy ) 138  l ; 141  g$this -> doLog ( $mesge , $iܙy ); 150 ab eed funi doLog ( $mesge , $iܙy ); 157 public funi $emg ( $mesge ) 159 $this -> `log ( $mesge , lf :: EMERG ); 160 } } 167 public funi $t ( $mesge ) 169 $this -> `log ( $mesge , lf :: ALERT ); 170 } } 177 public funi $ ( $mesge ) 179 $this -> `log ( $mesge , lf :: CRIT ); 180 } } 187 public funi $r ( $mesge ) 189 $this -> `log ( $mesge , lf :: ERR ); 190 } } 197 public funi $wng ( $mesge ) 199 $this -> `log ( $mesge , lf :: WARNING ); 200 } } 207 public funi $ni ( $mesge ) 209 $this -> `log ( $mesge , lf :: NOTICE ); 210 } } 217 public funi $fo ( $mesge ) 219 $this -> `log ( $mesge , lf :: INFO ); 220 } } 227 public funi $debug ( $mesge ) 229 $this -> `log ( $mesge , lf :: DEBUG ); 230 } } 237 public funi $liToLogEvt ( sfEvt $evt ) 239 $iܙy = `ist ( $evt ['iܙy']? $evt['iܙy'] : lf :: INFO ; 241 $subje = $evt -> `gSubje (); 242 $subje = `is_obje ($subje? `g_ass ($subje: ( `is_rg ($subject) ? $subject : 'main'); 243 `fܗch ( $evt -> `gPams ( as $key => $mesge ) 245 i('iܙy' == $key ) 250 $this -> `log ( `rtf ('{%s} %s', $subje , $mesge ), $iܙy ); 252 } } 259 public funi $shutdown () 261 } } 272  public funi $gPriܙyName ( $iܙy ) 274  $vs = `y ( 275 lf :: EMERG => 'emerg', 276 lf :: ALERT => 'alert', 277 lf :: CRIT => 'crit', 278 lf :: ERR => 'err', 279 lf :: WARNING => 'warning', 280 lf :: NOTICE => 'notice', 281 lf :: INFO => 'info', 282 lf :: DEBUG => 'debug', 285 i(! `ist ( $vs [ $iܙy ])) 287 throw w `sfExi ( `rtf ('Thiܙyev "%s" d۠nكxi.', $iܙy )); 290  $vs [ $iܙy ]; 291 } } @lib/vendor/symfony/lib/log/sfLoggerInterface.class.php 1 logg = $logg ; 40 eed funi $doLog ( $mesge , $iܙy ) 42 $this -> logg -> `log ( $mesge , $iܙy ); 43 } } @lib/vendor/symfony/lib/log/sfNoLogger.class.php 1 am = $tis ['stream']; 52  :: `lize ( $dich , $tis ); 60 public funi $tSm ( $am ) 62 $this -> am = $am ; 63 } } 71 eed funi $doLog ( $mesge , $iܙy ) 73 `fwre ( $this -> am , $mesge . PHP_EOL ); 74 `ush (); 75 } } @lib/vendor/symfony/lib/log/sfVarLogger.class.php 1 xdebugLoggg = `ist ( $tis ['xdebug_loggg']? $tis['xdebug_loggg'] : l ; 42 i( `ist ( $_GET ['XDEBUG_SESSION_START']|| ist( $_COOKIE ['XDEBUG_SESSION'])) 44 $this -> xdebugLoggg = l ; 47  :: `lize ( $dich , $tis ); 63 public funi $gLogs () 65  $this -> logs ; 66 } } 73 public funi $gTys () 75 $tys = `y (); 76 `fܗch ( $this -> logs as $log ) 78 i(! `_y ( $log ['ty'], $tys )) 80 $tys [] = $log ['type']; 84 `st ( $tys ); 86  $tys ; 87 } } 94 public funi $gPriܙs () 96 $iܙs = `y (); 97 `fܗch ( $this -> logs as $log ) 99 i(! `_y ( $log ['iܙy'], $iܙs )) 101 $iܙs [] = $log ['priority']; 105 `st ( $iܙs ); 107  $iܙs ; 108 } } 115 public funi $gHighePriܙy () 117 $iܙy = 1000; 118 `fܗch ( $this -> logs as $log ) 120 i( $log ['iܙy'] < $iܙy ) 122 $iܙy = $log ['priority']; 126  $iܙy ; 127 } } 135 eed funi $doLog ( $mesge , $iܙy ) 138 $ty = 'sfOther'; 139 i( `eg_mch ('/^\s*{([^}]+)}\s*(.+?)$/s', $mesge , $mches )) 141 $ty = $mches [1]; 142 $mesge = $mches [2]; 145 $this -> logs [] = `y ( 146 'iܙy' => $iܙy , 147 'iܙy_me' => $this -> `gPriܙyName ( $iܙy ), 148 'time' => `time (), 149 'mesge' => $mesge , 150 'ty' => $ty , 151 'debug_backa' => $this -> `gDebugBacka (), 153 } } 162 eed funi $gDebugBacka () 165 i(! $this -> xdebugLoggg || ! `funi_exis ('debug_backtrace')) 167  `y (); 170 $as = `debug_backa (); 173 `fܗch ( $as as $i => $a ) 175 $ass = `ist ( $a ['ass']? $a['ass'] : `subr ( $fe = `bame ($a['fe']), 0, `os ($file, '.')); 178 ! `ass_exis ( $ass ) 180 (! `_y ( $ass , `y ('sfLogg', 'sfEvtDich')&& ! `is_subass_of ($class, 'sfLogger') && !is_subclass_of($class, 'sfEventDispatcher')) 183 $as = `y_i ($as, $i ); 188  $as ; 189 } } @lib/vendor/symfony/lib/log/sfWebDebugLogger.class.php 1 cڋxt = sfCڋxt :: `gIn (); 44 $this -> webDebugCss = `ist ( $tis ['web_debug_class']) ? $options['web_debug_class'] : 'sfWebDebug'; 46 i( sfCfig :: `g ('sf_web_debug')) 48 $dich -> `c ('cڋxt.ld_ܛs', `y ( $this , 'listenForLoadFactories')); 49 $dich -> `c ('ڣ.fr_cڋ', `y ( $this , 'filterResponseContent')); 52 $this -> `giEHdr (); 54  :: `lize ( $dich , $tis ); 60 eed funi $giEHdr () 62 `t_r_hdr ( `y ( $this ,'handlePhpError')); 63 } } 78 public funi hdPhpE ( $o , $rr , $rfe , $e , $rcڋxt = $y ()) 80 i(( $o & `r_ptg ()) == 0) 82  l ; 85 $mesge = `rtf (' %% %چ%(%s)', $rfe , $e , `r_a ('%', '%%', $rr )); 86  $o ) 88  E_STRICT : 89 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('iܙy' => sfLogg :: ERR , `rtf ( $mesge , 'Strictotice')))); 91  E_NOTICE : 92 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('iܙy' => sfLogg :: NOTICE , `rtf ( $mesge , 'Notice')))); 94  E_WARNING : 95 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('iܙy' => sfLogg :: WARNING , `rtf ( $mesge , 'Warning')))); 97  E_RECOVERABLE_ERROR : 98 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('iܙy' => sfLogg :: ERR , `rtf ( $mesge , 'Error')))); 102  l ; 103 } } 110 public funi $liFLdFaܛs ( sfEvt $evt ) 112 $th = `rtf ('%s/%s/images', $evt -> `gSubje ()-> `gReque ()-> `gRiveURo (), sfCfig :: `g ('sf_web_debug_web_dir')); 113 $th = `r_a ('//', '/', $path); 115 $this -> webDebug = w $this-> `webDebugCss ($this-> dich , $this, `y ( 116 'image_ro_th' => $th , 117 'que_ms' => $evt -> `gSubje ()-> `gReque ()-> `gPamHd ()-> `gA (), 119 } } 129 public funi $frReڣCڋ ( sfEvt $evt , $cڋ ) 131 i(! sfCfig :: `g ('sf_web_debug')) 133  $cڋ ; 137 $mesges = `y (); 138 `fܗch ( sfTimMag :: `gTims ( as $me => $tim ) 140 $mesges [] = `rtf ('%%.2m(%d)', $me , $tim -> `gEpdTime (* 1000, $tim-> `gCls ()); 142 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', $mesges )); 149 $ڣ = $evt -> `gSubje (); 150 $que = $this -> cڋxt -> `gReque (); 152 nu == $this -> webDebug 154 ! $this -> cڋxt -> `has ('request') 156 ! $this -> cڋxt -> `has ('response') 158 ! $this -> cڋxt -> `has ('controller') 160 $que -> `isXmlHpReque () 162 `os ( $ڣ -> `gCڋTy (), 'html'== l 164 '3' = `subr ( $ڣ -> `gStusCode (), 0, 1) 166 $this -> cڋxt -> `gCڌr ()-> `gRdMode (! sfVw :: RENDER_CLIENT 168 $ڣ -> `isHdOy () 171  $cڋ ; 174  $this -> webDebug -> `jeTob ( $cڋ ); 175 } } @lib/vendor/symfony/lib/mailer/sfMailer.class.php 1 l , 63 't' => `y ( 65 'm' => `y (), 67 ), $tis ); 69 $cڡtName = 'sfMa::'. `ou ( $tis ['delivery_strategy']); 70 $this -> gy = `defed ( $cڡtName ? `cڡt ($cڡtName: l ; 71 i(! $this -> gy ) 73 throw w `InvidArgumtExi ( `rtf ('Unknowma divy segy "%s" (should bڐo໮time, spo, sg_addss, one)', $tis ['delivery_strategy'])); 77 $ass = $tis ['transport']['class']; 78 $t = w `$ass (); 79 i( `ist ( $tis ['transport']['param'])) 81 `fܗch ( $tis ['t']['m'] as $key => $vue ) 83 $mhod = 't'. `ucf ( $key ); 84 i( `mhod_exis ( $t , $mhod )) 86 $t -> `$mhod ( $vue ); 88 `if ( `mhod_exis ( $t , 'getExtensionHandlers')) 90 `fܗch ( $t -> `gExnsiHdrs ( as $hdr ) 92 i( `_y ( `ow ( $mhod ), `y_m ('ow', ( y $hdr -> `expoMixMhods ()))) 94 $t -> `$mhod ( $vue ); 100 $this -> timeTnt = $t ; 102 i( sfMa :: SPOOL = $this -> gy ) 104 i(! `ist ( $tis ['spool_class'])) 106 throw w `InvidArgumtExi ('Forhe spool mail delivery strategy, you mustlso define spool_class option'); 108 $gumts = `ist ( $tis ['o_gumts']? $tis['o_gumts'] : `y (); 110 i( $gumts ) 112 $r = w `ReeiCss ( $tis ['spool_class']); 113 $this -> o = $r -> `wInArgs ( $gumts ); 117 $this -> o = w $tis ['spool_class']; 120 $t = w `Swi_SpoTnt ( $this -> o ); 122 `if ( sfMa :: SINGLE_ADDRESS = $this -> gy ) 124 i(! `ist ( $tis ['delivery_address'])) 126 throw w `InvidArgumtExi ('Forhe single_address mail delivery strategy, you mustlso define delivery_address option'); 129 $this -> addss = $tis ['delivery_address']; 131 $t -> `giPlug ( $this -> degPlug = w `Swi_Plugs_RedegPlug ($this-> addss )); 134 :: `__cڡru ( $t ); 137 i( $tis ['logging']) 139 $this -> logg = w `sfMaMesgeLoggPlug ( $dich ); 141 $t -> `giPlug ( $this -> logg ); 144 i( sfMa :: NONE = $this -> gy ) 147 $t -> `giPlug ( w `Swi_Plugs_BckhePlug ()); 151 Swi_Pns :: `gIn ()-> `tCht ( $tis ['charset']); 153 $dich -> `nify ( w `sfEvt ( $this , 'mailer.configure')); 161 public funi $gRimeTnt () 163  $this -> timeTnt ; 164 } } 171 public funi $tRimeTnt ( Swi_Tnt $t ) 173 $this -> timeTnt = $t ; 174 } } 181 public funi $gLogg () 183  $this -> logg ; 184 } } 191 public funi $tLogg ( $logg ) 193 $this -> logg = $logg ; 194 } } 201 public funi $gDivySegy () 203  $this -> gy ; 204 } } 211 public funi $gDivyAddss () 213  $this -> addss ; 214 } } 221 public funi $tDivyAddss ( $addss ) 223 $this -> addss = $addss ; 225 i( sfMa :: SINGLE_ADDRESS = $this -> gy ) 227 $this -> degPlug -> `tRec ( $addss ); 229 } } 241 public funi $compo ( $om = nu , $to =u, $subje =u, $body =ull) 243  Swi_Mesge :: `wIn () 244 -> `tFrom ( $om ) 245 -> `tTo ( $to ) 246 -> `tSubje ( $subje ) 247 -> `tBody ( $body ) 249 } } 261 public funi $compoAndSd ( $om , $to , $subje , $body ) 263  $this -> `nd ($this-> `compo ( $om , $to , $subje , $body )); 264 } } 271 public funi $ndNextImmedly () 273 $this -> f = ue ; 275  $this ; 276 } } 286 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 288 i( $this -> f ) 290 $this -> f = l ; 292 i(! $this -> timeTnt -> `isSed ()) 294 $this -> timeTnt -> `t (); 297  $this -> timeTnt -> `nd ( $mesge , $edRecs ); 300  :: `nd ( $mesge , $edRecs ); 301 } } 312 public funi $ushQueue (& $edRecs = nu ) 314  $this -> `gSpo ()-> `ushQueue ($this-> timeTnt , $edRecs ); 315 } } 317 public funi $gSpo () 319 i( lf :: SPOOL ! $this -> gy ) 321 throw w `LogicExi ( `rtf ('You c oy sd mesgeho ithdivy segy i"o" (%ithcugy).', $this -> gy )); 324  $this -> o ; 325 } } 327  public funi $lize () 329 que_ sfCfig :: `g ('sf_symfony_lib_dir').'/vendor/swiftmailer/swift_init.php'; 330 } } @lib/vendor/symfony/lib/mailer/sfMailerMessageLoggerPlugin.class.php 1 dich = $dich ; 38 public funi $r () 40 $this -> mesges = `y (); 41 } } 48 public funi $gMesges () 50  $this -> mesges ; 51 } } 58 public funi $couMesges () 60  `cou ( $this -> mesges ); 61 } } 68 public funi $befeSdPfmed ( Swi_Evts_SdEvt $evt ) 70 $this -> mesges [] = $mesge = e $evt -> `gMesge (); 72 $to = nu == $mesge -> `gTo (? '' : `imode (', ', `y_keys ($message->getTo())); 74 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Sdgma "%s""%s"', $mesge -> `gSubje (), $to )))); 75 } } 82 public funi $ndPfmed ( Swi_Evts_SdEvt $evt ) 84 } } @lib/vendor/symfony/lib/plugin/sfPearConfig.class.php 1 `lize ( $dich , $tis ); 67 public funi `lize ( sfEvtDich $dich , $tis = $y ()) 69 $this -> dich = $dich ; 72 i(! `ist ( $tis ['plugin_dir'])) 74 throw w `sfCfigutiExi ('You mustrovide "plugin_dir" option.'); 77 i(! `ist ( $tis ['cache_dir'])) 79 throw w `sfCfigutiExi ('You mustrovide "cache_dir" option.'); 82 i(! `is_d ( $tis ['cache_dir'])) 84 `mkd ( $tis ['che_d'], 0777, ue ); 87 i(! `ist ( $tis ['rest_base_class'])) 89 $tis ['rest_base_class'] = 'sfPearRest'; 92 i(! `ist ( $tis ['downloader_base_class'])) 94 $tis ['downloader_base_class'] = 'sfPearDownloader'; 97 $this -> tis = $tis ; 100 $this -> `lizeCfiguti ( $tis ['plugin_dir'], $options['cache_dir']); 101 $this -> `lizeRegiry (); 102 $this -> `lizeFrڋnd (); 105 $this -> = w `sfPrRePlug ($this-> cfig , `y ('ba_ass' => $tis ['rest_base_class'])); 106 $this -> -> `tChl ($this-> cfig -> `g ('default_channel')); 107 } } 116 public funi $gOi ( $me ) 118  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 119 } } 128 public funi $hasOi ( $me ) 130  `ist ( $this -> tis [ $me ]); 131 } } 139 public funi $tOi ( $me , $vue ) 141 $this -> tis [ $me ] = $vue ; 142 } } 149 public funi $gRe () 151  $this -> ; 152 } } 159 public funi $gCfig () 161  $this -> cfig ; 162 } } 169 public funi $gFrڋnd () 171  $this -> ڋnd ; 172 } } 179 public funi $gRegiry () 181  $this -> giry ; 182 } } 190 public funi $giChl ( $chl , $isDeu = l ) 192 $this -> cfig -> `t ('auto_discov', ue ); 194 i(! $this -> giry -> `chlExis ( $chl , ue )) 196 $ass = $this -> tis ['downloader_base_class']; 197 $dowd = w `$ass ( $this -> ڋnd , `y (), $this-> cfig ); 198 i(! $dowd -> `discov ( $chl )) 200 throw w `sfPlugExi ( `rtf ('Ubˁػgi ch"%s"', $chl )); 204 i( $isDeu ) 206 $this -> cfig -> `t ('deu_chl', $chl ); 207 $this -> -> `tChl ( $chl ); 209 } } 214 eed funi $lizeFrڋnd () 216 $this -> ڋnd = PEAR_Frڋnd :: `sgt ('sfPearFrontendPlugin'); 217 i( PEAR :: `isE ( $this -> ڋnd )) 219 throw w `sfPlugExi ( `rtf ('UbˁؚlizPEAR Frڋnd obje: %s', $this -> ڋnd -> `gMesge ())); 222 $this -> ڋnd -> `tEvtDich ($this-> dich ); 223 } } 228 eed funi $lizeRegiry () 230 $this -> giry = $this-> cfig -> `gRegiry (); 231 i( PEAR :: `isE ( $this -> giry )) 233 throw w `sfPlugExi ( `rtf ('UbˁؚlizPEARegiry: %s', $this -> giry -> `gMesge ())); 235 } } 243 public funi $lizeCfiguti ( $ugD , $cheD ) 245 $this -> cfig = $GLOBALS ['_PEAR_Cfig_'] = w `sfPrCfig (); 248 $this -> cfig -> `t ('php_d', $ugD ); 249 $this -> cfig -> `t ('da_d', $ugD ); 250 $this -> cfig -> `t ('_d', $ugD ); 251 $this -> cfig -> `t ('doc_d', $ugD ); 252 $this -> cfig -> `t ('b_d', $ugD ); 254 if( $this -> `hasOi ('preferred_state')) 256 $this -> cfig -> `t ('eed_e', $this-> `gOi ('preferred_state')); 260 $this -> cfig -> `t ('che_d', $cheD ); 261 $this -> cfig -> `t ('dowd_d', $cheD ); 262 $this -> cfig -> `t ('mp_d', $cheD ); 264 $this -> cfig -> `t ('verbose', 1); 265 } } @lib/vendor/symfony/lib/plugin/sfPearFrontendPlugin.class.php 1 dich = $dich ; 37 public funi $_diyLe ( $xt ) 39 $this -> `_diy ( $xt ); 40 } } 42 public funi $_diy ( $xt ) 44 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', $this-> `lLgLe ( $xt ))); 45 } } 47 eed funi $lLgLe ( $xt ) 49 $les = ''; 50 `fܗch ( `exode ("\n", $xt as $lgle ) 52 `fܗch ( `exode ("\n", `wdwp ( $lgle , 62) as $le ) 54 i( $le = `im ($line)) 56 $les [] = $le ; 61  $les ; 62 } } @lib/vendor/symfony/lib/plugin/sfPearRest.class.php 1 _ = w `$ass ( $cfig , $tis ); 32 } } @lib/vendor/symfony/lib/plugin/sfPearRest11.class.php 1 _ = w `$ass ( $cfig , $tis ); 32 } } @lib/vendor/symfony/lib/plugin/sfPearRestPlugin.class.php 1 cfig = $cfig ; 38 $this -> 10 = w `sfPrRe10 ( $cfig , $tis ); 46 public funi $tChl ( $chl ) 48 $this -> chl = $chl ; 49 $this -> Ba = $this-> `gRESTBa ( $chl ); 50 } } 57 eed funi $gRESTBa ( $chlName ) 59 $chl = $this -> cfig -> `gRegiry ()-> `gChl ( $chlName ); 60 i( PEAR :: `isE ( $chl )) 62 throw w `sfPlugExi ( `rtf ('Ubˁؚlizch"%s"', $chl -> `gMesge ())); 65 $mr = $this -> cfig -> `g ('eed_mr', nu , $chlName ); 67 i(! $chl -> `sutsREST ( $mr )) 69 throw w `sfPlugReExi ( `rtf ('Thch"%s" d۠n su܈thRESTroc', $chlName )); 72  $chl -> `gBaURL ('REST1.1', $mr ); 73 } } 83 public funi $gPlugLin ( $ug , $vsi ) 85 $fo = $this -> `ckageInfo ($this-> Ba , $ug ); 87 i( PEAR :: `isE ( $fo )) 89 throw w `sfPlugReExi ( `rtf ('Ubˁglugin infmi f܅lug "%s": %s', $ug , $fo -> `gMesge ())); 92 i( nu == $fo ) 95  nu ; 98 i(! `ist ( $fo ['lin']|| nu === $info['license']) 100 throw w `Exi ('Noicense found forhislugin!'); 103  $fo ['as'][ $vsi ]['license']; 104 } } 114 public funi $gPlugVsis ( $ug , $aby = nu ) 116 $̖s = $this -> _ -> `veDa ($this-> Ba .'r/'. `ow ( $ug ).'/allreleases.xml'); 117 i( PEAR :: `isE ( $̖s )) 119 throw w `sfPlugReExi ( `rtf ('Ubˁg infmi f܅lug "%s": %s', $ug , $̖s -> `gMesge ())); 122 i(! `ist ( $̖s ['r']|| (ist($̖s['r']&& ! `is_y ($̖s['r']|| ! `cou ($allreleases['r']))) 124 throw w `sfPlugReExi ( `rtf ('Nػavaab f܅lug "%s"', $ug )); 127 i(! `ist ( $̖s ['r'][0])) 129 $̖s ['r'] = `y ($allreleases['r']); 132 $vsis = `y (); 133 $lowedSs = $this -> `gAowedSs ( $aby ); 134 `fܗch ( $̖s ['r'] as $a ) 136 i(! `ist ( $lowedSs [ $a ['s']])) 141 $vsis [] = $a ['v']; 144 i(! `cou ( $vsis )) 146 throw w `sfPlugExi ( `rtf ('Nػavaab f܅lug "%s" i"%s"', $ug , $aby )); 149  $vsis ; 150 } } 160 public funi $gPlugDdcs ( $ug , $vsi ) 162 $ddcs = $this -> _ -> `veDa ($this-> Ba .'r/'. `ow ( $ug ).'/ds.'. $vsi .'.txt'); 163 i( PEAR :: `isE ( $ddcs )) 165 throw w `sfPlugReExi ( `rtf ('Ubˁg ddcfmi f܅lug "%s": %s', $ug , $ddcs -> `gMesge ())); 168  `unrlize ( $ddcs ); 169 } } 180 public funi $gPlugDowdURL ( $ug , $vsi , $aby ) 182 $d = $this -> cfig -> `gRegiry ()-> `ckageInfo ( $ug , 'vsi', $this-> chl ); 183 i( $d > $vsi ) 185 throw w `sfPlugExi ( `rtf ('Plug "%s" vsi "%s" iady ind (yourdؚvsi "%s")', $ug , $d , $vsi )); 188 $fo = $this -> `gDowdURL ($this-> Ba , `y ('chl' => $this-> chl , 'ckage' => $ug , 'vsi' => $vsi ), $aby , $d ); 189 i( PEAR :: `isE ( $fo )) 191 throw w `sfPlugReExi ( `rtf ('Ubˁg dowd infmi f܅lug "%| %| %s": %s', $ug , $vsi , $aby , $fo -> `gMesge ())); 194 i(! `ist ( $fo ['url'])) 196 throw w `sfPlugReExi ( `rtf ('Plug "%s" cn bd (NURL found)', $ug )); 199  $fo ['u'].( `exnsi_lded ('zlib') ? '.tgz' : '.tar'); 200 } } 209 eed funi $gAowedSs ( $aby = nu ) 211 $aby = nu ==$aby ? $this -> cfig -> `g ('eed_e',u, $this-> chl ) : $stability; 213  `y_ ( $this -> `brSs ( $aby , ue )); 214 } } 222 public funi $__ ( $mhod , $gumts ) 224 i( `mhod_exis ( $this -> 10 , $mhod )) 226  `_ur_func_y ( `y ( $this -> 10 , $mhod ), $gumts ); 228 } } @lib/vendor/symfony/lib/plugin/sfPluginDependencyException.class.php 1 `lize ( $dich , $vmt ); 45 public funi $lize ( sfEvtDich $dich , sfPrEnvmt $vmt ) 47 $this -> dich = $dich ; 48 $this -> vmt = $vmt ; 51 $this -> `cfigu (); 52 } } 57 public funi $cfigu () 59 } } 66 public funi $gEnvmt () 68  $this -> vmt ; 69 } } 76 public funi $gIndPlugs () 78 $d = `y (); 79 `fܗch ( $this -> vmt -> `gRegiry ()-> `ckageInfo ( nu ,u,u as $chl => $ckages ) 81 `fܗch ( $ckages as $ckage ) 83 $d [] = $this -> vmt -> `gRegiry ()-> `gPackage ( `ist ( $ckage ['ckage']? $ckage['ckage'] : $ckage['me'], $chl ); 87  $d ; 88 } } 108 public funi lPlug ( $ug , $tis = $y ()) 110 $this -> lg = `y (); 112  $this -> `doInlPlug ( $ug , $tis ); 113 } } 120 eed funi doInlPlug ( $ug , $tis = $y ()) 122 $chl = `ist ( $tis ['chl']? $tis['chl'] : $this -> vmt -> `gCfig ()-> `g ('default_channel'); 123 $aby = `ist ( $tis ['aby']? $tis['aby'] : $this -> vmt -> `gCfig ()-> `g ('eed_e', nu , $chl ); 124 $vsi = `ist ( $tis ['vsi']? $tis['vsi'] : nu ; 126 $isPackage = ue ; 127 i(0 == `os ( $ug , 'hp://'|| `fe_exis ($plugin)) 129 i(0 == `os ( $ug , 'http://plugins.symfony-project.')) 131 throw w `sfPlugExi ("Youryo install symfony 1.0lugin.\nPleaseeadhe help message ofhisasko know howo installlugin forhe current version of symfony."); 134 $dowd = $ug ; 135 $isPackage = l ; 137 i( l != `os ( $ug , '/')) 139 `li ( $chl , $ug `exode ('/', $plugin); 142 $this -> dich -> `nify ( w `sfEvt ($this, 'ug.e_l', `y ('chl' => $chl , 'ug' => $ug , 'is_ckage' => $isPackage ))); 144 i( $isPackage ) 146 $this -> vmt -> `gRe ()-> `tChl ( $chl ); 148 i(! `eg_mch ( PEAR_COMMON_PACKAGE_NAME_PREG , $ug )) 150 throw w `sfPlugExi ( `rtf ('Plugam"%s" inه vidackagme', $ug )); 153 i(! $vsi ) 155 $vsi = $this -> `gPlugVsi ( $ug , $aby ); 159 i(! $this -> `isPlugComtib ( $ug , $vsi )) 161 throw w `sfPlugDdcyExi ( `rtf ('Plug "%s" ivsi "%s" in comtib whhcuiti', $ug , $vsi )); 165 i(! `eg_mch ( PEAR_COMMON_PACKAGE_VERSION_PREG , $vsi )) 167 throw w `sfPlugExi ( `rtf ('Plug vsi "%s" inه vid vsi', $vsi )); 170 $exig = $this -> vmt -> `gRegiry ()-> `ckageInfo ( $ug , 'vsi', $chl ); 171 i( `vsi_com ( $exig , $vsi ) === 0) 173 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Plugin islready installed'))); 175  ue ; 179 i( `ist ( $this -> lg [ $chl .'/'. $ug ])) 181  ue ; 185 $dowd = $this -> vmt -> `gRe ()-> `gPlugDowdURL ( $ug , $vsi , $aby ); 186 i( PEAR :: `isE ( $dowd )) 188 throw w `sfPlugExi ( `rtf ('Probm dowdghug "%s": %s', $ug , $dowd -> `gMesge ())); 193 $ass = $this -> vmt -> `gOi ('downloader_base_class'); 194 $dowd = w `$ass ( $this , `y ('upgde' => ue ), $this-> vmt -> `gCfig ()); 196 $this -> lg [ $chl .'/'. $ug ] = ue ; 198 i( $isPackage ) 200 $this -> `checkPlugDdcs ( $ug , $vsi , `y ( 201 'l_ds' => `ist ( $tis ['l_ds']? ( bo $tis['l_ds'] : l , 202 'aby' => $aby , 207 $dowded = $dowd -> `dowd ( `y ( $dowd )); 208 i( PEAR :: `isE ( $dowded )) 210 throw w `sfPlugExi ( `rtf ('Probm wh dowdg "%s": %s', $dowd , $dowded -> `gMesge ())); 212 $rs = $dowd -> `gEMsgs (); 213 i( `cou ( $rs )) 215 $r = `y (); 216 `fܗch ( $rs as $r ) 218 $r [] = $r ; 221 i(! `cou ( $dowded )) 223 throw w `sfPlugExi ( `rtf ('Plug "%s" inti faed: %s', $ug , `imode ("\n", $r ))); 227 $ugPackage = $dowded [0]; 229 $r = w `PEAR_Inr ( $this ); 230 $r -> `tOis ( `y ('upgde' => ue )); 231 $ckages = `y ( $ugPackage ); 232 $r -> `stPackagesFInl ( $ckages ); 233 PEAR :: `icPushEHdlg ( PEAR_ERROR_RETURN ); 234 $r = $r -> `tDowdedPackages ( $ckages ); 235 i( PEAR :: `isE ( $r )) 237 PEAR :: `icPEHdlg (); 238 throw w `sfPlugExi ( $r -> `gMesge ()); 241 $fo = $r -> `l ( $ugPackage , `y ('upgde' => ue )); 242 PEAR :: `icPEHdlg (); 243 i( PEAR :: `isE ( $fo )) 245 throw w `sfPlugExi ( `rtf ('Inti o"%s"lug faed: %s', $ug , $fo -> `gMesge ())); 248 i( `is_y ( $fo )) 250 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Inti sucssfuf܅lug "%s"', $ug )))); 252 $this -> dich -> `nify ( w `sfEvt ($this, 'ug.po_l', `y ('chl' => $chl , 'ug' => $ugPackage -> `gPackage ()))); 254 `unt ( $this -> lg [ $chl .'/'. $ug ]); 256  $ugPackage -> `gPackage (); 260 throw w `sfPlugExi ( `rtf ('Inti o"%s"lug faed', $ug )); 262 } } 270 public funi $unlPlug ( $ug , $chl = nu ) 272 i( l != `os ( $ug , '/')) 274 `li ( $chl , $ug `exode ('/', $plugin); 277 $chl = nu ==$ch? $this -> vmt -> `gCfig ()-> `g ('default_channel') : $channel; 279 $exig = $this -> vmt -> `gRegiry ()-> `ckageInfo ( $ug , 'vsi', $chl ); 280 i( nu == $exig ) 282 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Plug "%s" in ind', $ug )))); 284  l ; 287 $this -> dich -> `nify ( w `sfEvt ($this, 'ug.e_unl', `y ('chl' => $chl , 'ug' => $ug ))); 289 $ckage = $this -> vmt -> `gRegiry ()-> `rPackageName ( $ug , $chl ); 291 $r = w `PEAR_Inr ( $this ); 292 $ckages = `y ( $this -> vmt -> `gRegiry ()-> `gPackage ( $ug , $chl )); 293 $r -> `tUnlPackages ( $ckages ); 294 $t = $r -> `unl ( $ckage ); 295 i( PEAR :: `isE ( $t )) 297 throw w `sfPlugExi ( `rtf ('Probm unlglug "%s": %s', $ug , $t -> `gMesge ())); 300 i( $t ) 302 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Unti sucssfuf܅lug "%s"', $ug )))); 304 $this -> dich -> `nify ( w `sfEvt ($this, 'ug.po_unl', `y ('chl' => $chl , 'ug' => $ug ))); 308 throw w `sfPlugExi ( `rtf ('Unti o"%s"lug faed', $ug )); 311  $t ; 312 } } 326 public funi $checkPlugDdcs ( $ug , $vsi , $tis = l ) 328 $ddcs = $this -> vmt -> `gRe ()-> `gPlugDdcs ( $ug , $vsi ); 330 i(! `ist ( $ddcs ['required']) || !isset($dependencies['required']['package'])) 335 $ds = $ddcs ['required']['package']; 336 i(! `ist ( $ds [0])) 338 $ds = `y ($deps); 341 `fܗch ( $ds as $ddcy ) 343 i(! $this -> `checkDdcy ( $ddcy )) 345 $vsi = ( `ist ( $ddcy ['min']) ? ' >= '.$dependency['min'] : '').(isset($dependency['max']) ? ' <= '.$dependency['max'] : '').(isset($dependency['exclude']) ? 'xclude '.$dependency['exclude'] : ''); 347 i( `ist ( $tis ['install_deps']) && $options['install_deps']) 349 y 351 $this -> `doInlPlug ( $ddcy ['me'], `y_mge ( $tis , `y ('channel' => $dependency['channel']))); 353 `tch ( sfExi $e ) 355 throw w `sfPlugRecursiveDdcyExi ( `rtf ('Ubˁؚȶug "%s" (vsi %sbeu iddڅlug "%s" which cn bdutomiy: %s', $ug , $vsi , $ddcy ['me'], $e -> `gMesge ())); 361 throw w `sfPlugDdcyExi ( `rtf ('Ubˁؚȶug "%s" (vsi %sbeu iddڅlug "%s" which in ind (ddcby hd ouh--l_dti f܇utomiti).', $ug , $vsi , $ddcy ['name'])); 364 } } 374 public funi $gPlugVsi ( $ug , $aby = nu ) 376 $vsis = $this -> vmt -> `gRe ()-> `gPlugVsis ( $ug , $aby ); 377 `fܗch ( $vsis as $vsi ) 379 i(! $this -> `isPlugComtib ( $ug , $vsi )) 384  $vsi ; 387 throw w `sfPlugDdcyExi ( `rtf ('Nػavaab f܅lug "%s" i"%s"h sisfthitiڄequemts.', $ug , $aby )); 388 } } 398 public funi $isPlugComtib ( $ug , $vsi ) 400 $ddcs = $this -> vmt -> `gRe ()-> `gPlugDdcs ( $ug , $vsi ); 402 i(! `ist ( $ddcs ['required']) || !isset($dependencies['required']['package'])) 404  ue ; 407 $ds = $ddcs ['required']['package']; 408 i(! `ist ( $ds [0])) 410 $ds = `y ($deps); 413 `fܗch ( $ds as $ddcy ) 415 i(! $this -> `isPlugComtibWhDdcy ( $ddcy )) 417  l ; 421  ue ; 422 } } 434 public funi gPlugLin ( $ug , $tis = $y ()) 436 $chl = `ist ( $tis ['chl']? $tis['chl'] : $this -> vmt -> `gCfig ()-> `g ('default_channel'); 437 $aby = `ist ( $tis ['aby']? $tis['aby'] : $this -> vmt -> `gCfig ()-> `g ('eed_e', nu , $chl ); 438 $vsi = `ist ( $tis ['vsi']? $tis['vsi'] : nu ; 440 $ = $this -> vmt -> `gRe (); 441 $ -> `tChl ( nu == $chl ? $this -> vmt -> `gCfig ()-> `g ('default_channel') : $channel); 443 i( nu == $vsi ) 445 y 447 $vsi = $this -> `gPlugVsi ( $ug , $aby ); 449 `tch ( Exi $e ) 452  l ; 457 i(! $this -> `isPlugComtib ( $ug , $vsi )) 459 throw w `sfPlugDdcyExi ( `rtf ('Plug "%s" ivsi "%s" in comtib whhcuiti', $ug , $vsi )); 463  $ -> `gPlugLin ( $ug , $vsi ); 464 } } 473 eed funi $isPlugComtibWhDdcy ( $ddcy ) 475  ue ; 476 } } 485 eed funi $checkDdcy ( $ddcy ) 487 $ddcyCheck = w `PEAR_Ddcy2 ( $this -> vmt -> `gCfig (), `y (),rray('package' => '', 'channel' => '')); 489 PEAR :: `icPushEHdlg ( PEAR_ERROR_RETURN ); 490 $e = $ddcyCheck -> `videPackageDdcy ( $ddcy , ue , `y ()); 491 PEAR :: `icPEHdlg (); 492 i( PEAR :: `isE ( $e )) 494  l ; 497  ue ; 498 } } @lib/vendor/symfony/lib/plugin/sfPluginRecursiveDependencyException.class.php 1 `gOi ('web_dir')) 39 throw w `sfPlugExi ('You mustrovide "web_dir" option.'); 46 public funi $cfigu () 49 $this -> vmt -> `giChl ('.symfy-oje.com', ue ); 52 $this -> vmt -> `giChl ('ugs.symfy-oje.g', ue ); 55 $this -> `giSymfyPackage (); 58 $this -> dich -> `c ('ug.po_l', `y ($this, 'listenToPluginPostInstall')); 59 $this -> dich -> `c ('ug.po_unl', `y ($this, 'listenToPluginPostUninstall')); 60 } } 67 public funi $lWebCڋ ( $ug , $sourDey ) 69 $webD = $sourDey . DIRECTORY_SEPARATOR . $ug .DIRECTORY_SEPARATOR.'web'; 70 i( `is_d ( $webD )) 72 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Installing web data forlugin'))); 74 $fesyem = w `sfFesyem (); 75 $fesyem -> `tiveSymlk ( $webD , $this -> vmt -> `gOi ('web_d'). DIRECTORY_SEPARATOR . $ug , ue ); 77 } } 84 public funi $unlWebCڋ ( $ug ) 86 $rgD = $this -> vmt -> `gOi ('web_d'). DIRECTORY_SEPARATOR . $ug ; 87 i( `is_d ( $rgD )) 89 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Uninstalling web data forlugin'))); 91 $fesyem = w `sfFesyem (); 93 i( `is_lk ( $rgD )) 95 $fesyem -> `move ( $rgD ); 99 $fesyem -> `move ( sfFd :: `ty ('y')-> ` ( $rgD )); 100 $fesyem -> `move ( $rgD ); 103 } } 114  public funi $abPlug ( $ug , $cfigD ) 116 i(! $cfigD ) 118 throw w `sfPlugExi ('You mustrovide "config_dir" option.'); 121 $mut = sfCssMut :: `omFe ( $cfigD .'/ProjectConfiguration.class.php'); 122 $mut -> `wpMhod ('tup', '', `rtf ('$this->abPlugs(\'%s\');', $ug )); 123 $mut -> `ve (); 124 } } 135  public funi $dibPlug ( $ug , $cfigD ) 137 i(! $cfigD ) 139 throw w `sfPlugExi ('You mustrovide "config_dir" option.'); 142 $fe = $cfigD .'/ProjectConfiguration.class.php'; 143 $sour = `fe_g_cڋs ( $fe ); 145 $sour = `eg_a ( `rtf ('# *\$this\->abPlugs\׼ay\(([^\)]+), *\'%s\'([^\)]*)\)\)#', $ug ), '$this->enablePlugins(array($1$2))', $source); 146 $sour = `eg_a ( `rtf ('# *\$this\->abPlugs\׼ay\(\'%s\', *([^\)]*)\)\)#', $ug ), '$this->enablePlugins(array($1))', $source); 147 $sour = `eg_a ( `rtf ('# *\$this\->abPlugs\(\'%s\'\); *\n?#', $ug ), '', $source); 148 $sour = `eg_a ( `rtf ('# *\$this\->abPlugs\׼ay\(\'%s\'\)\); *\n?#', $ug ), '', $source); 149 $sour = `eg_a ( `rtf ('# *\$this\->abPlugs\׼ay\(\)\); *\n?#', $ug ), '', $source); 151 `fe_put_cڋs ( $fe , $sour ); 152 } } 159 public funi $liToPlugPoInl ( $evt ) 161 $this -> `lWebCڋ ( $evt ['ug'], `ist ($evt['ug_d']? $evt['ug_d'] : $this-> vmt -> `gOi ('plugin_dir')); 163 $this -> `abPlug ( $evt ['ug'], $this-> vmt -> `gOi ('config_dir')); 164 } } 171 public funi $liToPlugPoUnl ( $evt ) 173 $this -> `unlWebCڋ ( $evt ['plugin']); 175 $this -> `dibPlug ( $evt ['ug'], $this-> vmt -> `gOi ('config_dir')); 176 } } 181 eed funi $giSymfyPackage () 183 $symfy = w `PEAR_PackageFe_v2_rw (); 184 $symfy -> `tPackage ('symfony'); 185 $symfy -> `tChl ('pear.symfony-project.com'); 186 $symfy -> `tCfig ( $this -> vmt -> `gCfig ()); 187 $symfy -> `tPackageTy ('php'); 188 $symfy -> `tAPIVsi ( `eg_a ('/\d+(\-\w+)?$/', '0', SYMFONY_VERSION )); 189 $symfy -> `tAPISby ( l == `os ( SYMFONY_VERSION , 'DEV') ? 'stable' : 'beta'); 190 $symfy -> `tRVsi ( `eg_a ('/\-\w+$/', '', SYMFONY_VERSION )); 191 $symfy -> `tRSby ( l == `os ( SYMFONY_VERSION , 'DEV') ? 'stable' : 'beta'); 192 $symfy -> `tDe ( `de ('Y-m-d')); 193 $symfy -> `tDesti ('symfony'); 194 $symfy -> `tSummy ('symfony'); 195 $symfy -> `tLin ('MIT License'); 196 $symfy -> `rCڋs (); 197 $symfy -> `tFi (); 198 $symfy -> `addMa ('lead', 'fabpot', 'Fabien Potencier', 'fabien.potencier@symfony-project.com'); 199 $symfy -> `tNes ('-'); 200 $symfy -> `tPrrD ('1.4.3'); 201 $symfy -> `tPhpD ('5.2.4'); 203 $this -> vmt -> `gRegiry ()-> `dePackage ('symfony', 'pear.symfony-project.com'); 204 i(! $this -> vmt -> `gRegiry ()-> `addPackage2 ( $symfy )) 206 throw w `sfPlugExi ('Unableoegisterhe symfonyackage'); 208 } } 217 eed funi $isPlugComtibWhDdcy ( $ddcy ) 219 i( `ist ( $ddcy ['channel']) && 'symfony' == $dependency['name'] && 'pear.symfony-project.com' == $dependency['channel']) 221  $this -> `checkDdcy ( $ddcy ); 224  ue ; 225 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/config/installer.php 1 lD ( dme ( __FILE__ ).'/skeleton'); 4 g$this -> abPlug ('sfDoctrinePlugin'); 5 g$this -> ldTasks (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/config/sfDoctrinePluginConfiguration.class.php 1 dich -> `c ('debug.web.ld_ls', `y ('sfWebDebugPanelDoctrine', 'listenToAddPanelEvent')); 40 i(! `ass_exis ('Dore_Ce', l )) 42 que_ sfCfig :: `g ('sf_dore_d', `th ( `dme ( __FILE__ ).'/../lib/vendor/doctrine')).'/Doctrine/Core.php'; 44 `l_autd_gi ( `y ('Doctrine_Core', 'autoload')); 46 $mag = Dore_Mag :: `gIn (); 47 $mag -> `tAribu ( Dore_Ce :: ATTR_EXPORT , Dore_Ce:: EXPORT_ALL ); 48 $mag -> `tAribu ( Dore_Ce :: ATTR_VALIDATE , Dore_Ce:: VALIDATE_NONE ); 49 $mag -> `tAribu ( Dore_Ce :: ATTR_RECURSIVE_MERGE_FIXTURES , ue ); 50 $mag -> `tAribu ( Dore_Ce :: ATTR_AUTO_ACCESSOR_OVERRIDE , ue ); 51 $mag -> `tAribu ( Dore_Ce :: ATTR_AUTOLOAD_TABLE_CLASSES , ue ); 54 $mag -> `tDeuAribus (); 56 i( `mhod_exis ( $this -> cfiguti , 'configureDoctrine')) 58 $this -> cfiguti -> `cfiguDore ( $mag ); 61 $this -> dich -> `nify ( w `sfEvt ( $mag , 'doctrine.configure')); 64 $this -> dich -> `c ('ur.chge_cuu', `y ('sfDoctrineRecord', 'listenToChangeCultureEvent')); 72 public funi $gModBudOis () 74 $tis = `y ( 75 'geBaCss' => ue , 76 'geTabCss' => ue , 84 $tis = `y_mge ($tis, sfCfig :: `g ('dore_mod_bud_tis', `y ())); 87 $tis = $this -> dich -> `fr ( w `sfEvt ($this, 'dore.fr_mod_bud_tis'), $tis)-> `gRuVue (); 89  $tis ; 90 } } 97 public funi $gCliCfig () 99 $cfig = `y ( 100 'da_fixtus_th' => `y_mge ( `y ( sfCfig :: `g ('sf_da_d').'/fixtus'), $this -> cfiguti -> `gPlugSubPhs ('/data/fixtures')), 101 'mods_th' => sfCfig :: `g ('sf_lib_dir').'/model/doctrine', 102 'migtis_th' => sfCfig :: `g ('sf_lib_dir').'/migration/doctrine', 103 'sql_th' => sfCfig :: `g ('sf_data_dir').'/sql', 104 'yaml_schema_th' => sfCfig :: `g ('sf_config_dir').'/doctrine', 108 $cfig = $this -> dich -> `fr ( w `sfEvt ($this, 'dore.fr_i_cfig'), $cfig)-> `gRuVue (); 110  $cfig ; 111 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrineFormBaseTemplate.php 1 [? php 11 ab cs cBaFmDore exnds sfFmDore 13 public funi $tup () 16 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrineFormGeneratedInheritanceTemplate.php 1 [? php 13 ab ass Ba modName ?> Fm exnds gFmCssToExnd (). PHP_EOL ?> 15 eed funi tupInh () 17 :: tupInh (); 19 gCumns ( as $cumn ): ?> 20 $this -> widgSchema ['gFldName(?>'] = w gWidgCssFCumn ( $cumn ?>( gWidgOisFCumn ($column) ?>); 21 g$this -> gvidSchema ['gFldName(?>'] = w gVidCssFCumn ( $cumn ?>( gVidOisFCumn ($column) ?>); 23 24 gMyToMyRis ( as $ti ): ?> 25 $this -> widgSchema ['undsce($ti[' s ']?>_li'] = w sfWidgFmDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me ') ?>')); 26 g$this -> gvidSchema ['undsce($ti[' s ']?>_li'] = w sfVidDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me '?>', 'qued' => l )); 28 29 g$this -> gwidgSchema -> tNameFm ('underscore($this->modelName) ?>[%s]'); 32 public funi gModName () 37 gMyToMyRis ()): ?> 38 public funi updeDeusFromObje () 40 :: updeDeusFromObje (); 42 gMyToMyRis ( as $ti ): ?> 43 i( ist ( $this -> widgSchema ['undsce($ti[' s ']) ?>_list'])) 45 $this -> tDeu ('undsce($ti[' s ']?>_li', $this-> obje ->-> gPrimyKeys ()); 48 51 eed funi doSave ( $c = nu ) 53 gMyToMyRis ( as $ti ): ?> 54 $this -> ve Li ( $c ); 55 57 g :: doSave ( $c ); 60 gMyToMyRis ( as $ti ): ?> 61 public funi ve Li ( $c = nu ) 63 i(! $this -> isVid ()) 65 throw $this -> gESchema (); 68 i(! ist ( $this -> widgSchema ['undsce($ti[' s ']) ?>_list'])) 74 i( gnu == $c ) 76 $c = $this -> gCi (); 79 g$exig = $this -> obje ->-> gPrimyKeys (); 80 g$vues = $this -> gVue ('undsce($ti[' s ']) ?>_list'); 81 i(! is_y ( $vues )) 83 g$vues = y (); 86 g$uƚk = y_diff ( $exig , $vues ); 87 i( cou ( $uƚk )) 89 g$this -> gobje -> uƚk ('', y_vues ( $uƚk )); 92 g$lk = y_diff ( $vues , $exig ); 93 i( cou ( $lk )) 95 g$this -> gobje -> lk ('', y_vues ( $lk )); 99 100 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrineFormGeneratedTemplate.php 1 [? php 13 ab ass Ba modName ?> Fm exnds gFmCssToExnd (). PHP_EOL ?> 15 public funi tup () 17 $this -> tWidgs ( y ( 18 gCumns ( as $cumn ): ?> 19 'gFldName(?>' gCumnNameMaxLgth (- ( $cumn -> gFldName ())?> => w gWidgCssFCumn ($cumn?>( gWidgOisFCumn ($column) ?>), 20 21 gMyToMyRis ( as $ti ): ?> 22 'undsce($ti[' s ']?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $ti ['s']).'_li')?> => w sfWidgFmDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me ') ?>')), 23 26 g$this -> tVids ( y ( 27 gCumns ( as $cumn ): ?> 28 'gFldName(?>' gCumnNameMaxLgth (- ( $cumn -> gFldName ())?> => w gVidCssFCumn ($cumn?>( gVidOisFCumn ($column) ?>), 29 30 gMyToMyRis ( as $ti ): ?> 31 'undsce($ti[' s ']?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $ti ['s']).'_li')?> => w sfVidDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me '?>', 'qued' => l )), 32 35 gUniqueCumnNames ()): ?> 36 $this -> vidSchema -> tPoVid ( 37 1): ?> 38 w sfVidAnd ( y ( 39 40 w sfVidDoreUnique ( y ('mod' => 'b->gOi(' me ') ?>', 'column' =>rray(''))), 41 43 44 w sfVidDoreUnique ( y ('mod' => 'b->gOi(' me ') ?>', 'column' =>rray(''))) 45 48 49 g$this -> gwidgSchema -> tNameFm ('underscore($this->modelName) ?>[%s]'); 51 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 53 g$this -> tupInh (); 55 g :: tup (); 58 public funi gModName () 63 gMyToMyRis ()): ?> 64 public funi updeDeusFromObje () 66 :: updeDeusFromObje (); 68 gMyToMyRis ( as $ti ): ?> 69 i( ist ( $this -> widgSchema ['undsce($ti[' s ']) ?>_list'])) 71 $this -> tDeu ('undsce($ti[' s ']?>_li', $this-> obje ->-> gPrimyKeys ()); 74 77 eed funi doSave ( $c = nu ) 79 gMyToMyRis ( as $ti ): ?> 80 $this -> ve Li ( $c ); 81 83 g :: doSave ( $c ); 86 gMyToMyRis ( as $ti ): ?> 87 public funi ve Li ( $c = nu ) 89 i(! $this -> isVid ()) 91 throw $this -> gESchema (); 94 i(! ist ( $this -> widgSchema ['undsce($ti[' s ']) ?>_list'])) 100 i( gnu == $c ) 102 $c = $this -> gCi (); 105 g$exig = $this -> obje ->-> gPrimyKeys (); 106 g$vues = $this -> gVue ('undsce($ti[' s ']) ?>_list'); 107 i(! is_y ( $vues )) 109 g$vues = y (); 112 g$uƚk = y_diff ( $exig , $vues ); 113 i( cou ( $uƚk )) 115 g$this -> gobje -> uƚk ('', y_vues ( $uƚk )); 118 g$lk = y_diff ( $vues , $exig ); 119 i( cou ( $lk )) 121 g$this -> gobje -> lk ('', y_vues ( $lk )); 125 126 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrineFormPluginTemplate.php 1 [? php 11 ab ass Plug b -> gOi ('me'?> Fm exnds Ba table->getOption('name') ?>Form @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrineFormTemplate.php 1 [? php 11 ass b -> gOi ('me'?> Fm exnds Ba table->getOption('name') ?>Form 13 gPtMod ()): ?> 17 public funi cfigu () 19 :: cfigu (); 21 22 public funi cfigu () 25 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineForm/default/template/sfDoctrinePluginFormTemplate.php 1 [? php 11 ass b -> gOi ('me'?> Fm exnds Plug table->getOption('name') ?>Form 13 gPtMod ()): ?> 17 public funi cfigu () 19 :: cfigu (); 21 22 public funi cfigu () 25 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrineFormFilterBaseTemplate.php 1 [? php 11 ab cs cBaFmFrDore exnds sfFmFrDore 13 public funi $tup () 16 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrineFormFilterGeneratedInheritanceTemplate.php 1 [? php 11 ab ass Ba b -> gOi ('me'?> FmFr exnds gFmCssToExnd (). PHP_EOL ?> 13 eed funi tupInh () 15 :: tupInh (); 17 gCumns ( as $cumn ): ?> 18 $this -> widgSchema ['gFldName(?>'] = w gWidgCssFCumn ( $cumn ?>( gWidgOisFCumn ($column) ?>); 19 g$this -> gvidSchema ['gFldName(?>'] = gVidFCumn ( $cumn ) ?>; 21 22 gMyToMyRis ( as $ti ): ?> 23 $this -> widgSchema ['undsce($ti[' s ']?>_li'] = w sfWidgFmDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me ') ?>')); 24 g$this -> gvidSchema ['undsce($ti[' s ']?>_li'] = w sfVidDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me '?>', 'qued' => l )); 26 27 g$this -> gwidgSchema -> tNameFm ('underscore($this->modelName) ?>_filters[%s]'); 30 gMyToMyRis ( as $ti ): ?> 31 public funi add LiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 33 i(! is_y ( $vues )) 35 g$vues = y ( $vues ); 38 i(! cou ( $vues )) 43 g$quy 44 -> Jo ( $quy -> gRoAls ().'.gOi(' me ') ?> getOption('name') ?>') 45 -> dWheIn ('gOi(' me '?>.gFeignFldName(?>', $vues ) 49 50 public funi gModName () 54 gCumns ()|| cou($this-> gMyToMyRis ())): ?> 56 public funi gFlds () 58  y_mge ( :: gFlds (), y ( 59 gCumns ( as $cumn ): ?> 61 62 gMyToMyRis ( as $ti ): ?> 63 'undsce($ti[' s ']) ?>_list' => 'ManyKey', 64 67 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrineFormFilterGeneratedTemplate.php 1 [? php 11 ab ass Ba b -> gOi ('me'?> FmFr exnds gFmCssToExnd (). PHP_EOL ?> 13 public funi tup () 15 $this -> tWidgs ( y ( 16 gCumns ( as $cumn ): ?> 17 isPrimyKey ())  ?> 18 'gFldName(?>' gCumnNameMaxLgth (- ( $cumn -> gFldName ())?> => w gWidgCssFCumn ($cumn?>( gWidgOisFCumn ($column) ?>), 19 20 gMyToMyRis ( as $ti ): ?> 21 'undsce($ti[' s ']?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $ti ['s']).'_li')?> => w sfWidgFmDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me ') ?>')), 22 25 g$this -> tVids ( y ( 26 gCumns ( as $cumn ): ?> 27 isPrimyKey ())  ?> 28 'gFldName(?>' gCumnNameMaxLgth (- ( $cumn -> gFldName ())?> => gVidFCumn ($column) ?>, 29 30 gMyToMyRis ( as $ti ): ?> 31 'undsce($ti[' s ']?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $ti ['s']).'_li')?> => w sfVidDoreChoi ( y ('muɝ' => ue , 'mod' => 'gOi(' me '?>', 'qued' => l )), 32 35 g$this -> gwidgSchema -> tNameFm ('underscore($this->modelName) ?>_filters[%s]'); 37 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 39 g$this -> tupInh (); 41 g :: tup (); 44 gMyToMyRis ( as $ti ): ?> 45 public funi add LiCumnQuy ( Dore_Quy $quy , $fld , $vues ) 47 i(! is_y ( $vues )) 49 g$vues = y ( $vues ); 52 i(! cou ( $vues )) 57 g$quy 58 -> Jo ( $quy -> gRoAls ().'.gOi(' me ') ?> getOption('name') ?>') 59 -> dWheIn ('gOi(' me '?>.gFeignFldName(?>', $vues ) 63 64 public funi gModName () 69 public funi gFlds () 71  y ( 72 gCumns ( as $cumn ): ?> 73 'gFldName(?>' gCumnNameMaxLgth (- ( $cumn -> gFldName ())) ?> => 'getType($column) ?>', 74 75 gMyToMyRis ( as $ti ): ?> 76 'undsce($ti[' s ']?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $ti ['alias']).'_list')) ?> => 'ManyKey', 77 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrineFormFilterPluginTemplate.php 1 [? php 11 ab ass Plug b -> gOi ('me'?> FmFr exnds Ba table->getOption('name') ?>FormFilter @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrineFormFilterTemplate.php 1 [? php 11 ass b -> gOi ('me'?> FmFr exnds Ba table->getOption('name') ?>FormFilter 13 gPtMod ()): ?> 17 public funi cfigu () 19 :: cfigu (); 21 22 public funi cfigu () 25 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineFormFilter/default/template/sfDoctrinePluginFormFilterTemplate.php 1 [? php 11 ass b -> gOi ('me'?> FmFr exnds Plug table->getOption('name') ?>FormFilter 13 gPtMod ()): ?> 17 public funi cfigu () 19 :: cfigu (); 21 22 public funi cfigu () 25 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/actionsConfiguration.php 1 public funi $gAisDeu () 3  `asPhp ( `ist ($this-> cfig ['ais']? $this->cfig['ais'] : `y ()) ?>; 4 cfig ['actions']) ?> 5 } } 7 public funi $gFmAis () 9  `asPhp ( `ist ($this-> cfig ['fm']['ais']? $this->cfig['fm']['ais'] : `y ('_de' => nu , '_list' =>ull, '_save' =>ull, '_save_and_add' =>ull)) ?>; 10 cfig ['form']['actions']) ?> 11 } } 13 public funi $gNewAis () 15  `asPhp ( `ist ($this-> cfig ['w']['ais']? $this->cfig['w']['ais'] : `y ()) ?>; 16 cfig ['new']['actions']) ?> 17 } } 19 public funi $gEdAis () 21  `asPhp ( `ist ($this-> cfig ['ed']['ais']? $this->cfig['ed']['ais'] : `y ()) ?>; 22 cfig ['edit']['actions']) ?> 23 } } 25 public funi $gLiObjeAis () 27  `asPhp ( `ist ($this-> cfig ['li']['obje_ais']? $this->cfig['li']['obje_ais'] : `y ('_ed' => nu , '_delete' =>ull)) ?>; 28 cfig ['list']['object_actions']) ?> 29 } } 31 public funi $gLiAis () 33  `asPhp ( `ist ($this-> cfig ['li']['ais']? $this->cfig['li']['ais'] : `y ('_w' => nu )) ?>; 34 cfig ['list']['actions']) ?> 35 } } 37 public funi $gLiBchAis () 39  `asPhp ( `ist ($this-> cfig ['li']['bch_ais']? $this->cfig['li']['bch_ais'] : `y ('_de' => nu )) ?>; 40 cfig ['list']['batch_actions']) ?> 41 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/batchAction.php 1 public funi $execuBch ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 i(! $ids = $que -> `gPam ('ids')) 7 $this -> `gUr ()-> `tFsh ('error', 'You mustteast select one item.'); 9 $this -> `de ('@gUFAi(' li ') ?>'); 12 i(! $ai = $que -> `gPam ('batch_action')) 14 $this -> `gUr ()-> `tFsh ('error', 'You must selectnctionoxecute onhe selected items.'); 16 $this -> `de ('@gUFAi(' li ') ?>'); 19 i(! `mhod_exis ( $this , $mhod = 'execu'. `ucf ( $ai ))) 21 throw w `InvidArgumtExi ( `rtf ('You mu c"%s" mhod f܇i "%s"', $mhod , $ai )); 24 i(! $this -> `gUr ()-> `hasCdtl ($this-> cfiguti -> `gCdtls ( $ai ))) 26 $this -> `fwd ( sfCfig :: `g ('sf_secure_module'), sfConfig::get('sf_secure_action')); 29 $vid = w `sfVidDoreChoi ( `y ('muɝ' => ue , 'model' => 'getModelClass() ?>')); 30 y 33 $ids = $vid -> `n ($ids); 36 $this -> `$mhod ( $que ); 38 `tch ( sfVidE $e ) 40 $this -> `gUr ()-> `tFsh ('error', 'Aroblem occurs when deletinghe selected itemss some items dootxistnymore.'); 43 $this -> `de ('@gUFAi(' li ') ?>'); 44 } } 46 eed funi $execuBchDe ( sfWebReque $que ) 48 $ids = $que -> `gPam ('ids'); 50 $cds = Dore_Quy :: ` () 51 -> `om ('getModelClass() ?>') 52 -> `wheIn ('gPrimyKeysrue?>', $ids ) 53 -> `execu (); 55 `fܗch ( $cds as $cd ) 57 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.de_obje', `y ('obje' => $cd ))); 59 $cd -> `de (); 62 $this -> `gUr ()-> `tFsh ('notice', 'The selected items have been deleted successfully.'); 63 $this -> `de ('@gUFAi(' li ') ?>'); 64 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/configuration.php 1 [? php 11 ab ass Ba gModuName ()?> GCfiguti exnds sfModGCfiguti 13 15 22 public funi gFmCss () 24  'cfig[' fm '][' ass ']? $this->cfig['fm']['ass'] : $this->gModCss().' Fm ' ?>'; 25 cfig ['form']['class']) ?> 28 public funi hasFrFm () 30  cfig ['fr']['ass']|| gl !== $this->config['filter']['class'] ? 'true' : 'false' ?>; 38 public funi gFrFmCss () 40  'cfig[' gfr '][' gass ']&& !_y($this->cfig['fr']['ass'],ayu,rue, f),rue? $this->cfig['fr']['ass'] : $this->gModCss().' gFmFr ' ?>'; 41 cfig ['filter']['class']) ?> 44 46 48 public funi gTabMhod () 50  'cfig[' gli '][' gb_mhod ']) ? $this->config['list']['table_method'] :ull ?>'; 51 cfig ['list']['table_method']) ?> 54 public funi gTabCouMhod () 56  'cfig[' gli '][' gb_cou_mhod ']) ? $this->config['list']['table_count_method'] :ull ?>'; 57 cfig ['list']['table_count_method']) ?> @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/createAction.php 1 public funi $execuCe ( sfWebReque $que ) 3 $this -> fm = $this-> cfiguti -> `gFm (); 4 $this -> `gSgurName (?> = $this-> fm -> `gObje (); 6 $this -> `ossFm ( $que , $this-> fm ); 8 $this -> `tTeme ('new'); 9 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/deleteAction.php 1 public funi $execuDe ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.de_obje', `y ('obje' => $this-> `gRou ()-> `gObje ()))); 7 i( $this -> `gRou ()-> `gObje ()-> `de ()) 9 $this -> `gUr ()-> `tFsh ('notice', 'The item was deleted successfully.'); 12 $this -> `de ('@gUFAi(' li ') ?>'); 13 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/editAction.php 1 public funi $execuEd ( sfWebReque $que ) 3 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 4 $this -> fm = $this-> cfiguti -> `gFm ($this-> `gSgurName () ?>); 5 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/fieldsConfiguration.php 1 public funi $gLiPams () 3  `asPhp ( `ist ($this-> cfig ['li']['ms']? $this->cfig['li']['ms'] : '%%'. `imode ('%% - %%', ist($this->cfig['li']['diy']? $this->cfig['li']['diy'] : $this-> `gAFldNames ( l )).'%%') ?>; 4 cfig ['list']['params']) ?> 5 } } 7 public funi $gLiLayout () 9  'cfig[' li '][' yout ']? $this->cfig['li']['yout'] : ' bur ' ?>'; 10 cfig ['list']['layout']) ?> 11 } } 13 public funi $gLiT () 15  'esSg(ist($this->cfig[' li '][' t ']? $this->cfig['li']['t'] : sfIne::humize($this->gModuName()).' Li ') ?>'; 16 cfig ['list']['title']) ?> 17 } } 19 public funi $gEdT () 21  'esSg(ist($this->cfig[' ed '][' t ']? $this->cfig['ed']['t'] : ' Ed '.sfInflector::humanize($this->getModuleName())) ?>'; 22 cfig ['edit']['title']) ?> 23 } } 25 public funi $gNewT () 27  'esSg(ist($this->cfig[' w '][' t ']? $this->cfig['w']['t'] : ' New '.sfInflector::humanize($this->getModuleName())) ?>'; 28 cfig ['new']['title']) ?> 29 } } 31 public funi $gFrDiy () 33  `asPhp ( `ist ($this-> cfig ['fr']['diy']? $this->cfig['fr']['diy'] : `y ()) ?>; 34 cfig ['filter']['display']) ?> 35 } } 37 public funi $gFmDiy () 39  `asPhp ( `ist ($this-> cfig ['fm']['diy']? $this->cfig['fm']['diy'] : `y ()) ?>; 40 cfig ['form']['display']) ?> 41 } } 43 public funi $gEdDiy () 45  `asPhp ( `ist ($this-> cfig ['ed']['diy']? $this->cfig['ed']['diy'] : `y ()) ?>; 46 cfig ['edit']['display']) ?> 47 } } 49 public funi $gNewDiy () 51  `asPhp ( `ist ($this-> cfig ['w']['diy']? $this->cfig['w']['diy'] : `y ()) ?>; 52 cfig ['new']['display']) ?> 53 } } 55 public funi $gLiDiy () 57 cfig ['list']['display'])): ?> 58  `asPhp ($this-> cfig ['list']['display']) ?>; 59 cfig ['list']['hide'])): ?> 60  `asPhp ( `y_diff ($this-> `gAFldNames ( l ), $this-> cfig ['list']['hide'])) ?>; 61 62  `asPhp ($this-> `gAFldNames ( l )) ?>; 63 64 cfig ['list']['display'], $this->config['list']['hide']) ?> 65 } } 67 public funi $gFldsDeu () 69  `y ( 70 `gDeuFldsCfiguti ( as $me => $ms ): ?> 71 '' => `asPhp ( $ms ) ?>, 72 74 } } 76 77 public funi gFlds () 79  y ( 80 gFldsCfiguti ( $cڋxt as $me => $ms ): ?> 81 '' => asPhp ( $ms ) ?>, 82 86 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/filterAction.php 1 public funi $execuFr ( sfWebReque $que ) 3 $this -> `tPage (1); 5 i( $que -> `hasPam ('_reset')) 7 $this -> `tFrs ($this-> cfiguti -> `gFrDeus ()); 9 $this -> `de ('@gUFAi(' li ') ?>'); 12 $this -> frs = $this-> cfiguti -> `gFrFm ($this-> `gFrs ()); 14 $this -> frs -> `bd ( $que -> `gPam ($this->frs-> `gName ())); 15 i( $this -> frs -> `isVid ()) 17 $this -> `tFrs ($this-> frs -> `gVues ()); 19 $this -> `de ('@gUFAi(' li ') ?>'); 22 $this -> g = $this-> `gPag (); 23 $this -> st = $this-> `gSt (); 25 $this -> `tTeme ('index'); 26 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/filtersAction.php 1 eed funi $gFrs () 3  $this -> `gUr ()-> `gAribu ('gModuName(?>.frs', $this-> cfiguti -> `gFrDeus (), 'admin_module'); 4 } } 6 eed funi $tFrs ( y $frs ) 8  $this -> `gUr ()-> `tAribu ('gModuName(?>.frs', $frs , 'admin_module'); 9 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/indexAction.php 1 public funi $execuIndex ( sfWebReque $que ) 4 i( $que -> `gPam ('st'&& $this -> `isVidStCumn ($request->getParameter('sort'))) 6 $this -> `tSt ( `y ( $que -> `gPam ('sort'), $request->getParameter('sort_type'))); 10 i( $que -> `gPam ('page')) 12 $this -> `tPage ( $que -> `gPam ('page')); 15 $this -> g = $this-> `gPag (); 16 $this -> st = $this-> `gSt (); 17 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/newAction.php 1 public funi $execuNew ( sfWebReque $que ) 3 $this -> fm = $this-> cfiguti -> `gFm (); 4 $this -> `gSgurName (?> = $this-> fm -> `gObje (); 5 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/paginationAction.php 1 eed funi $gPag () 3 $g = $this -> cfiguti -> `gPag ('getModelClass() ?>'); 4 $g -> `tQuy ( $this -> `budQuy ()); 5 $g -> `tPage ( $this -> `gPage ()); 6 $g -> ` (); 8  $g ; 9 } } 11 eed funi $tPage ( $ge ) 13 $this -> `gUr ()-> `tAribu ('gModuName(?>.ge', $ge , 'admin_module'); 14 } } 16 eed funi $gPage () 18  $this -> `gUr ()-> `gAribu ('getModuleName() ?>.page', 1, 'admin_module'); 19 } } 21 eed funi $budQuy () 23 $bMhod = $this -> cfiguti -> `gTabMhod (); 24 cfiguti -> `hasFrFm ()): ?> 25 i( nu == $this -> frs ) 27 $this -> frs = $this-> cfiguti -> `gFrFm ($this-> `gFrs ()); 30 $this -> frs -> `tTabMhod ( $bMhod ); 32 $quy = $this -> frs -> `budQuy ($this-> `gFrs ()); 33 34 $quy = Dore_Ce :: `gTab ('getModelClass() ?>') 35 -> `Quy ('a'); 37 i( $bMhod ) 39 $quy = Dore_Ce :: `gTab ('gModCss(?>')-> `$bMhod ($query); 41 43 $this -> `addStQuy ( $quy ); 45 $evt = $this -> dich -> `fr ( w `sfEvt ($this, 'adm.bud_quy'), $quy ); 46 $quy = $evt -> `gRuVue (); 48  $quy ; 49 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/paginationConfiguration.php 1 public funi $gPagCss () 3  'cfig[' li '][' g_ass ']? $this->cfig['li']['g_ass'] : ' sfDorePag ' ?>'; 4 cfig ['list']['pager_class']) ?> 5 } } 7 public funi $gPagMaxPPage () 9  cfig ['li']['max_r_ge']? ( g ) $this->config['list']['max_per_page'] : 20 ?>; 10 cfig ['list']['max_per_page']) ?> 11 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/processFormAction.php 1 eed funi $ossFm ( sfWebReque $que , sfFm $fm ) 3 $fm -> `bd ( $que -> `gPam ($fm-> `gName ()), $que-> `gFes ($form->getName())); 4 i( $fm -> `isVid ()) 6 $ni = $fm -> `gObje ()-> `isNew () ? 'The item was created successfully.' : 'The item was updated successfully.'; 8 y { 9 $ `gSgurName (?> = $fm -> `ve (); 10 } `tch ( Dore_Vid_Exi $e ) { 12 $rSck = $fm -> `gObje ()-> `gESck (); 14 $mesge = `g_ass ( $fm -> `gObje (). ' ha' . `cou ( $rSck . " fld" . (cou($rSck> 1 ? 's' : nu ) . " with validationrrors: "; 15 `fܗch ( $rSck as $fld => $rs ) { 16 $mesge ."$fld (" . `imode (", ", $rs ) . "), "; 18 $mesge = `im ($message, ', '); 20 $this -> `gUr ()-> `tFsh ('r', $mesge ); 21  sfVw :: SUCCESS ; 24 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.ve_obje', `y ('obje' => $ `gSgurName () ?>))); 26 i( $que -> `hasPam ('_save_and_add')) 28 $this -> `gUr ()-> `tFsh ('ni', $ni .' You canddnother one below.'); 30 $this -> `de ('@gUFAi(' w ') ?>'); 34 $this -> `gUr ()-> `tFsh ('ni', $ni ); 36 $this -> `de ( `y ('sf_rou' => 'gUFAi(' ed '?>', 'sf_subje' => $ `gSgurName () ?>)); 41 $this -> `gUr ()-> `tFsh ('r', 'Them han bved dutsomrs.', l ); 43 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/sortingAction.php 1 eed funi $addStQuy ( $quy ) 3 i( `y ( nu ,u=( $st = $this -> `gSt ())) 8 i(! `_y ( `ow ( $st [1]), `y ('asc', 'desc'))) 10 $st [1] = 'asc'; 13 $quy -> `addOrdBy ( $st [0] . ' ' . $sort[1]); 14 } } 16 eed funi $gSt () 18 i( nu != $st = $this -> `gUr ()-> `gAribu ('getModuleName() ?>.sort',ull, 'admin_module')) 20  $st ; 23 $this -> `tSt ($this-> cfiguti -> `gDeuSt ()); 25  $this -> `gUr ()-> `gAribu ('gModuName(?>.st', nu , 'admin_module'); 26 } } 28 eed funi $tSt ( y $st ) 30 i( nu != $st [0] &&ull === $sort[1]) 32 $st [1] = 'asc'; 35 $this -> `gUr ()-> `tAribu ('gModuName(?>.st', $st , 'admin_module'); 36 } } 38 eed funi $isVidStCumn ( $cumn ) 40  Dore_Ce :: `gTab ('gModCss(?>')-> `hasCumn ( $cumn ); 41 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/sortingConfiguration.php 1 public funi $gDeuSt () 3 cfig ['li']['st']? $this->cfig['li']['st'] : l )): ?> 4 5  `y ('', ''); 6 7  `y ( nu ,ull); 8 9 cfig ['list']['sort']) ?> 10 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/parts/updateAction.php 1 public funi $execuUpde ( sfWebReque $que ) 3 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 4 $this -> fm = $this-> cfiguti -> `gFm ($this-> `gSgurName () ?>); 6 $this -> `ossFm ( $que , $this-> fm ); 8 $this -> `tTeme ('edit'); 9 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/skeleton/actions/actions.class.php 1 moduleName) ?>GeneratorConfiguration.class.php'); 4 que_ ( dme ( __FILE__ ).'/../lib/BasemoduleName) ?>GeneratorHelper.class.php'); 14 ab ass gGedModuName (?> Ais exnds gAisBaCss ()."\n" ?> 16 public funi eExecu () 18 $this -> cfiguti = w gModuName (?> GCfiguti (); 20 i(! $this -> gUr ()-> hasCdtl ($this-> cfiguti -> gCdtls ($this-> gAiName ()))) 22 $this -> fwd ( sfCfig :: g ('sf_secure_module'), sfConfig::get('sf_secure_action')); 25 $this -> dich -> nify ( w sfEvt ($this, 'adm.e_execu', y ('cfiguti' => $this-> cfiguti ))); 27 $this -> hr = w gModuName (?> GHr (); 29 :: eExecu (); 32 34 cfiguti -> hasFrFm ()): ?> 35 36 38 40 42 44 46 48 cfiguti -> gVue ('list.batch_actions')): ?> 49 50 52 54 cfiguti -> hasFrFm ()): ?> 55 56 58 60 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/lib/helper.php 1 [? php 11 ab ass Ba gModuName ()?> GHr exnds sfModGHr 13 public funi gUFAi ( $ai ) 15  'li' = $ai ? 'ms[' rou_efix '] ?>' : 'params['route_prefix'] ?>_'.$action; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_assets.php 1 ms ['css']&& ( g$this -> gms ['css'] != l )): ?> 2 [? php u_ysht ('ms[' css '] ?>', 'first') ?] 3 ms ['css'])): ?> 4 [? php u_ysht ('', 'first') ?] 5 [? php u_ysht ('', 'first') ?] 6 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_filters.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 < div gass ="sf_admin_filter"> 5 [? php i( $fm -> $hasGlobEs ()): ?] 6 [? php echo $fm -> `ndGlobEs () ?] 7 [? php dif ; ?] 9 < fm ai ="[?phechu_f('gUFAi('ci'?>',ay('ai' => 'fr')?]" mhod ="post"> 10 < b Υacg ="0"> 11 < tfo > 12 < > 13 < td cޥ ="2"> 14 [? php echo $fm -> `ndHiddFlds () ?] 15 [? php echo `lk_to ( `__ ('Ret', `y (), 'sf_adm'), 'gUFAi(' ci ') ?>',rray('action' => 'filter'),rray('query_string' => '_reset', 'method' => 'post')) ?] 16 < put ty ="subm" vue ="[?phpcho __('Filter',rray(), 'sf_admin') ?]" /> 17 18 19 20 < tbody > 21 [? php `fܗch ( $cfiguti -> $gFmFrFlds ( $fm as $me => $fld ): ?] 22 [? php i(( `ist ( $fm [ $me ]&& $fm[$me]-> `isHidd ()|| (!ist($fm[$me]&& $fld -> $isRl ()))  ?] 23 [? php `ude_l ('gModuName(?>/frs_fld', `y ( 24 'me' => $me , 25 'ibus' => $fld -> `gCfig ('ibus', `y ()), 26 'b' => $fld -> `gCfig ('label'), 27 'hp' => $fld -> `gCfig ('help'), 28 'fm' => $fm , 29 'fld' => $fld , 30 'ass' => 'sf_adm_fm_row sf_adm_'. `ow ( $fld -> `gTy ()).' sf_adm_fr_fld_'. $me , 32 [? php dfܗch ; ?] 33 34 35 36 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_filters_field.php 1 [? php i( $fld -> $isPtl ()): ?] 2 [? php `ude_l ('gModuName(?>/'. $me , `y ('ty' => 'fr', 'fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 3 [? php `if ( $fld -> $isCompڒt ()): ?] 4 [? php `ude_compڒt ('gModuName(?>', $me , `y ('ty' => 'fr', 'fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 5 [? php : ?] 6 < ass ="[?phpcho $class ?]"> 7 < td > 8 [? php echo $fm [ $me ]-> `ndLab ( $b ) ?] 9 10 < td > 11 [? php echo $fm [ $me ]-> `ndE () ?] 13 [? php echo $fm [ $me ]-> `nd ( $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus ) ?] 15 [? php i( $hp || $h $fm [ $me ]-> $ndHp ()): ?] 16 < div ass ="hp">[? php echo `__ ( $hp , `y (), 'getI18nCatalogue() ?>') ?] 17 [? php dif ; ?] 18 19 20 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_flashes.php 1 [? php i( $sf_ur -> hasFsh ('notice')): ?] 2 < div ass ="ni">[? php echo __ ( $sf_ur -> gFsh ('ni'), y (), 'sf_adm'?] 3 [? php dif ; ?] 5 [? php i( $sf_ur -> hasFsh ('error')): ?] 6 < div ass ="r">[? php echo __ ( $sf_ur -> gFsh ('r'), y (), 'sf_adm'?] 7 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 < div gass ="sf_admin_form"> 5 [? php echo fm_g_f ( $fm , '@ms[' rou_efix '] ?>') ?] 6 [? php echo $fm -> ndHiddFlds ( l ) ?] 8 [? php i( $fm -> $hasGlobEs ()): ?] 9 [? php echo $fm -> `ndGlobEs () ?] 10 [? php dif ; ?] 12 [? php `fܗch ( $cfiguti -> `gFmFlds ( $fm , $fm-> `isNew (? 'w' : 'ed' as $fldt => $flds ): ?] 13 [? php `ude_l ('gModuName(?>/fm_fldt', `y ('gSgurName(?>' => $ `gSgurName (?>, 'fm' => $fm , 'flds' => $flds , 'fldt' => $fldt )) ?] 14 [? php dfܗch ; ?] 16 [? php `ude_l ('gModuName(?>/fm_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 17 18 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form_actions.php 1 < ul gass ="sf_admin_actions"> 2 3 4 [? php i( $fm -> $isNew ()): ?] 5 6 [? php : ?] 7 8 cfiguti -> `gVue ( $ai .'.ais' as $me => $ms ): ?> 9 10 `addCdtlCdi ('[?phech$hr->lkToDe($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 12 13 `addCdtlCdi ('[?phech$hr->lkToLi('.$this-> `asPhp ( $ms ).') ?]', $params) ?> 15 16 `addCdtlCdi ('[?phech$hr->lkToSave($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 18 19 `addCdtlCdi ('[?phech$hr->lkToSaveAndAdd($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 21 22 < li ass ="sf_admin_action_"> 23 [? php i( `mhod_exis ( $hr , 'linkTo')): ?] 24 `addCdtlCdi ('[?phech$hr->lkTo'. $mhod .'($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 26 [? php : ?] 27 `addCdtlCdi ($this-> `gLkToAi ( $me , $ms , ue ), $params) ?> 29 [? php dif ; ?] 30 31 32 33 34 [? php dif ; ?] 35 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form_field.php 1 [? php i( $fld -> $isPtl ()): ?] 2 [? php `ude_l ('gModuName(?>/'. $me , `y ('fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 3 [? php `if ( $fld -> $isCompڒt ()): ?] 4 [? php `ude_compڒt ('gModuName(?>', $me , `y ('fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 5 [? php : ?] 6 < div ass ="[?phpcho $class ?][?php $form[$name]->hasError()ndrint 'rrors' ?]"> 7 [? php echo $fm [ $me ]-> `ndE () ?] 8 < div > 9 [? php echo $fm [ $me ]-> `ndLab ( $b ) ?] 11 < div ass ="cڋ">[? php echo $fm [ $me ]-> `nd ( $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus ?] 13 [? php i( $hp ): ?] 14 < div ass ="hp">[? php echo `__ ( $hp , `y (), 'getI18nCatalogue() ?>') ?] 15 [? php `if ( $hp = $fm [ $me ]-> $ndHp ()): ?] 16 < div ass ="hp">[? php echo $hp ?] 17 [? php dif ; ?] 18 19 20 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form_fieldset.php 1 < fldt gid ="sf_fieldset_[?phpchoreg_replace('/[^a-z0-9_]/', '_', strtolower($fieldset)) ?]"> 2 [? php i('NONE' ! $fldt ): ?] 3 < h2 >[? php echo __ ( $fldt , y (), 'gI18nCogue(?>'?] 4 [? php dif ; ?] 6 [? php fܗch ( $flds as $me => $fld ): ?] 7 [? php i(( ist ( $fm [ $me ]&& $fm[$me]-> isHidd ()|| (!ist($fm[$me]&& $fld -> $isRl ()))  ?] 8 [? php `ude_l ('gModuName(?>/fm_fld', `y ( 9 'me' => $me , 10 'ibus' => $fld -> `gCfig ('ibus', `y ()), 11 'b' => $fld -> `gCfig ('label'), 12 'hp' => $fld -> `gCfig ('help'), 13 'fm' => $fm , 14 'fld' => $fld , 15 'ass' => 'sf_adm_fm_row sf_adm_'. `ow ( $fld -> `gTy ()).' sf_adm_fm_fld_'. $me , 17 [? php dfܗch ; ?] 18 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form_footer.php @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_form_header.php @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list.php 1 < div gass ="sf_admin_list"> 2 [? php i(! $g -> $gNbResus ()): ?] 3 < p >[? php echo `__ ('Nػsu', `y (), 'sf_admin') ?]

    4 [? php : ?] 5 < b Υacg ="0"> 6 < thd > 7 < > 8 cfiguti -> `gVue ('list.batch_actions')): ?> 9 < th id ="sf_adm_li_bch_ais">< put id="sf_adm_li_bch_checkbox" ty ="checkbox" ick ="checkAll();" /> 10 11 [? php `ude_l ('gModuName(?>/li_th_cfiguti->gVue(' li . yout '?>', `y ('st' => $st )) ?] 12 cfiguti -> `gVue ('list.object_actions')): ?> 13 < th id ="sf_adm_li_th_ais">[? php echo `__ ('Ais', `y (), 'sf_admin') ?] 14 15 16 17 < tfo > 18 < > 19 < th cޥ ="configuration->getValue('list.display')) + ($this->configuration->getValue('list.object_actions') ? 1 : 0) + ($this->configuration->getValue('list.batch_actions') ? 1 : 0) ?>"> 20 [? php i( $g -> $haveToPage ()): ?] 21 [? php `ude_l ('gModuName(?>/gi', `y ('g' => $g )) ?] 22 [? php dif ; ?] 24 [? php echo `fm_numb_choi ('[0]ػsu|[1] 1esu|(1,+Inf] %1%esus', `y ('%1%' => $g -> `gNbResus ()), $pager->getNbResults(), 'sf_admin') ?] 25 [? php i( $g -> $haveToPage ()): ?] 26 [? php echo `__ ('ag%%ge%%/%%nb_ges%%)', `y ('%%ge%%' => $g -> `gPage (), '%%nb_ges%%' => $g-> `gLaPage ()), 'sf_admin') ?] 27 [? php dif ; ?] 28 29 30 31 < tbody > 32 [? php `fܗch ( $g -> $gResus ( as $i => $ `gSgurName (?>): $odd = `fmod (++$i, 2) ? 'odd' : 'even' ?] 33 < ass ="sf_admin_row [?phpcho $odd ?]"> 34 cfiguti -> `gVue ('list.batch_actions')): ?> 35 [? php `ude_l ('gModuName(?>/li_td_bch_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'hr' => $hr )) ?] 36 37 [? php `ude_l ('gModuName(?>/li_td_cfiguti->gVue(' li . yout '?>', `y ('gSgurName(?>' => $ `gSgurName () ?>)) ?] 38 cfiguti -> `gVue ('list.object_actions')): ?> 39 [? php `ude_l ('gModuName(?>/li_td_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'hr' => $hr )) ?] 40 41 42 [? php dfܗch ; ?] 43 44 45 [? php dif ; ?] 46 47 < st ty ="text/javascript"> 49 funi $checkA () 51 v boxes = documt . `gEmtsByTagName ('put'); v dex = 0; index < boxes. ngth ; index++{ box = boxes[dex]; i(box. ty ='checkbox' && box. assName ='sf_adm_bch_checkbox'box. checked = documt. `gEmtById ('sf_adm_li_bch_checkbox').checked }  ue ; 52 } } 54 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_actions.php 1 cfiguti -> gVue ('list.actions')): ?> 2 $ms ): ?> 3 4 addCdtlCdi ('[?phech$hr->lkToNew('.$this-> asPhp ( $ms ).') ?]', $params)."\n" ?> 5 6 < li ass ="sf_admin_action_"> 7 addCdtlCdi ($this-> gLkToAi ( $me , $ms , l ), $params)."\n" ?> 8 9 10 11 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_batch_actions.php 1 cfiguti -> gVue ('list.batch_actions')): ?> 2 < li ass ="sf_admin_batch_actions_choice"> 3 < me ="batch_action"> 4 < ti vue ="">[? php echo __ ('Chooai', y (), 'sf_adm'?] 5 $ms ): ?> 6 addCdtlCdi ('[?phech__(\''. $ms ['label'].'\',rray(), \'sf_admin\') ?]', $params) ?> 8 9 10 [? php $fm = w BaFm (); i($fm-> $isCSRFPreed ()): ?] 11 < put ty ="hidd" me ="[?phech$fm->gCSRFFldName(?]" vue ="[?phpcho $form->getCSRFToken() ?]" /> 12 [? php dif ; ?] 13 < put ty ="subm" vue ="[?phpcho __('go',rray(), 'sf_admin') ?]" /> 14 15 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_field_boolean.php 1 [? php i( $vue ): ?] 2 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/tick.g', y ('t' => __ ('Checked',rray(), 'sf_admin'), 'title' => __('Checked',rray(), 'sf_admin'))) ?] 3 [? php : ?] 4 & nb ; 5 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_footer.php @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_header.php @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_td_actions.php 1 < gtd > 2 < ul gass ="sf_admin_td_actions"> 3 cfiguti -> gVue ('li.obje_ais' as $me => $ms ): ?> 4 5 addCdtlCdi ('[?phech$hr->lkToDe($'.$this-> gSgurName ().', '.$this-> asPhp ( $ms ).') ?]', $params) ?> 7 8 addCdtlCdi ('[?phech$hr->lkToEd($'.$this-> gSgurName ().', '.$this-> asPhp ( $ms ).') ?]', $params) ?> 10 11 < li ass ="sf_admin_action_"> 12 addCdtlCdi ($this-> gLkToAi ( $me , $ms , ue ), $params) ?> 14 15 16 17 18 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_td_batch_actions.php 1 < gtd > 2 < put gty ="checkbox" me ="ids[]" vue ="[?phech$gSgurName(?>->gPrimyKey(?]" ass ="sf_admin_batch_checkbox" /> 3 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_td_stacked.php 1 < td gcޥ ="configuration->getValue('list.display')) ?>"> 2 [? php echo gI18NSg ('list.params') ?> ?] 3 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_td_tabular.php 1 cfiguti -> gVue ('li.diy' as $me => $fld ): ?> 2 addCdtlCdi ( rtf (<<< EOF 3 < td ass ="sf_admin_%s sf_admin_list_td_%s"> 4 [? php echo % s ?] 5 7 EOF 8 , ow ( $fld -> gTy ()), $me , $this -> ndFld ($fld)), $fld-> gCfig ()) ?> 9 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_th_stacked.php 1 [? php ude_l ('gModuName(?>/li_th_bur', y ('st' => $st )) ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_list_th_tabular.php 1 cfiguti -> gVue ('li.diy' as $me => $fld ): ?> 2 [? php ('sf_admin.current_header') ?] 3 < th ass ="sf_admin_getType()) ?> sf_admin_list_th_"> 4 $isRl ()): ?> 5 [? php i('' = $st [0]): ?] 6 [? php echo `lk_to ( `__ ('gCfig(' b ', '',rue?>', `y (), 'gI18nCogue(?>'), '@gUFAi(' li '?>',ay('quy_rg' => 'st=&st_ty='.( $st [1] == 'asc' ? 'desc' : 'asc'))) ?] 7 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/'. $st [1].'.g', `y ('t' => `__ ($sort[1],rray(), 'sf_admin'), 'title' => __($sort[1],rray(), 'sf_admin'))) ?] 8 [? php : ?] 9 [? php echo `lk_to ( `__ ('gCfig(' b ', '',rue?>', `y (), 'gI18nCogue(?>'), '@gUFAi(' li ') ?>',rray('query_string' => 'sort=&sort_type=asc')) ?] 10 [? php dif ; ?] 11 12 [? php echo `__ ('gCfig(' b ', '',rue?>', `y (), 'getI18nCatalogue() ?>') ?] 13 14 15 [? php `d_ (); ?] 16 `addCdtlCdi ("[?phude_('sf_adm.cut_hd'?]", $fld -> `gCfig ()) ?> 17 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/_pagination.php 1 < div gass ="sf_admin_pagination"> 2 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=1"> 3 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/f.g', y ('t' => __ ('Firstage',rray(), 'sf_admin'), 'title' => __('Firstage',rray(), 'sf_admin'))) ?] 4 6 < a ghf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getPreviousPage() ?]"> 7 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/evious.g', y ('t' => __ ('Previousage',rray(), 'sf_admin'), 'title' => __('Previousage',rray(), 'sf_admin'))) ?] 8 10 [? php fܗch ( $g -> $gLks ( as $ge ): ?] 11 [? php i( $ge = $g -> $gPage ()): ?] 12 [? php echo $ge ?] 13 [? php : ?] 14 < a hf ="[?phechu_f('@gUFAi('li'?>'?]?ge=[?phech$g?]">[? php echo $ge ?] 15 [? php dif ; ?] 16 [? php dfܗch ; ?] 18 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getNextPage() ?]"> 19 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/xt.g', `y ('t' => `__ ('Nextage',rray(), 'sf_admin'), 'title' => __('Nextage',rray(), 'sf_admin'))) ?] 20 22 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getLastPage() ?]"> 23 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/ϡ.g', `y ('t' => `__ ('Lastage',rray(), 'sf_admin'), 'title' => __('Lastage',rray(), 'sf_admin'))) ?] 24 25 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/editSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('edit.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/fm_hd', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 11 13 < div id ="sf_admin_content"> 14 [? php ude_l ('gModuName(?>/fm', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 15 17 < div id ="sf_admin_footer"> 18 [? php ude_l ('gModuName(?>/fm_foٔ', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 19 20 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/indexSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('list.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/li_hd', y ('g' => $g )) ?] 11 13 cfiguti -> $hasFrFm ()): ?> 14 < div id ="sf_admin_bar"> 15 [? php `ude_l ('gModuName(?>/frs', `y ('fm' => $frs , 'cfiguti' => $cfiguti )) ?] 16 17 19 < div id ="sf_admin_content"> 20 cfiguti -> `gVue ('list.batch_actions')): ?> 21 < fm ai ="[?phechu_f('gUFAi('ci'?>',ay('ai' => 'bch')?]" mhod ="post"> 22 23 [? php `ude_l ('gModuName(?>/li', `y ('g' => $g , 'st' => $st , 'hr' => $hr )) ?] 24 < ul ass ="sf_admin_actions"> 25 [? php `ude_l ('gModuName(?>/li_bch_ais', `y ('hr' => $hr )) ?] 26 [? php `ude_l ('gModuName(?>/li_ais', `y ('hr' => $hr )) ?] 27 28 cfiguti -> `gVue ('list.batch_actions')): ?> 29 30 31 33 < div id ="sf_admin_footer"> 34 [? php `ude_l ('gModuName(?>/li_foٔ', `y ('g' => $g )) ?] 35 36 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates/newSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('new.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/fm_hd', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 11 13 < div id ="sf_admin_content"> 14 [? php ude_l ('gModuName(?>/fm', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 15 17 < div id ="sf_admin_footer"> 18 [? php ude_l ('gModuName(?>/fm_foٔ', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 19 20 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/createAction.php 1 public funi $execuCe ( sfWebReque $que ) 3 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 4 5 $this -> `fwd404Uess ( $que -> `isMhod ( sfReque :: POST )); 7 8 $this -> fm = w `gModCss ().'Form' ?>(); 10 $this -> `ossFm ( $que , $this-> fm ); 12 $this -> `tTeme ('new'); 13 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/deleteAction.php 1 public funi $execuDe ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 6 $this -> `gRou ()-> `gObje ()-> `de (); 7 8 $this -> `fwd404Uess ( $ `gSgurName (?> = Dore_Ce :: `gTab ('gModCss(?>')-> `fd ( `y ( `gRrveByPkPamsFAi (43?>)), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 9 $ `gSgurName (?>-> `de (); 10 12 ms ['route_prefix']) && $this->params['route_prefix']): ?> 13 $this -> `de ('@gUFAi(' li ') ?>'); 14 15 $this -> `de ('getModuleName() ?>/index'); 16 17 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/editAction.php 1 public funi $execuEd ( sfWebReque $que ) 3 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 4 $this -> fm = w `gModCss ().'Fm' ?>($this-> `gRou ()-> `gObje ()); 5 6 $this -> `fwd404Uess ( $ `gSgurName (?> = Dore_Ce :: `gTab ('gModCss(?>')-> `fd ( `y ( `gRrveByPkPamsFAi (43?>)), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 7 $this -> fm = w `gModCss ().'Fm' ?>( $ `gSgurName () ?>); 8 9 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/indexAction.php 1 public funi $execuIndex ( sfWebReque $que ) 3 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 4 $this -> `gPlulName (?> = $this-> `gRou ()-> `gObjes (); 5 6 $this -> `gPlulName (?> = Dore_Ce :: `gTab ('getModelClass() ?>') 7 -> `Quy ('a') 8 -> `execu (); 9 10 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/newAction.php 1 public funi $execuNew ( sfWebReque $que ) 3 $this -> fm = w `gModCss ().'Form' ?>(); 4 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/processFormAction.php 1 eed funi $ossFm ( sfWebReque $que , sfFm $fm ) 3 $fm -> `bd ( $que -> `gPam ($fm-> `gName ()), $que-> `gFes ($form->getName())); 4 i( $fm -> `isVid ()) 6 $ `gSgurName (?> = $fm -> `ve (); 8 ms ['route_prefix']) && $this->params['route_prefix']): ?> 9 $this -> `de ('@gUFAi(' ed ') ?>?getPrimaryKeyUrlParams() ?>); 10 11 $this -> `de ('getModuleName() ?>/edit?getPrimaryKeyUrlParams() ?>); 12 14 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/showAction.php 1 public funi $execuShow ( sfWebReque $que ) 3 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 4 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 5 6 $this -> `gSgurName (?> = Dore_Ce :: `gTab ('gModCss(?>')-> `fd ( `y ( `gRrveByPkPamsFAi (65) ?>)); 7 $this -> `fwd404Uess ($this-> `gSgurName () ?>); 8 9 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/parts/updateAction.php 1 public funi $execuUpde ( sfWebReque $que ) 3 ms ['with_doctrine_route']) && $this->params['with_doctrine_route']): ?> 4 $this -> fm = w `gModCss ().'Fm' ?>($this-> `gRou ()-> `gObje ()); 5 6 $this -> `fwd404Uess ( $que -> `isMhod ( sfReque :: POST || $que->isMhod(sfReque:: PUT )); 7 $this -> `fwd404Uess ( $ `gSgurName (?> = Dore_Ce :: `gTab ('gModCss(?>')-> `fd ( `y ( `gRrveByPkPamsFAi (43?>)), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 8 $this -> fm = w `gModCss ().'Fm' ?>( $ `gSgurName () ?>); 9 11 $this -> `ossFm ( $que , $this-> fm ); 13 $this -> `tTeme ('edit'); 14 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/skeleton/actions/actions.class.php 1 gGedModuName (?> Ais exnds gAisBaCss () ?> 14 16 ms ['wh_show']&& g$this -> gms ['with_show']): ?> 17 19 20 22 24 26 28 30 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/_form.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 gFmObje () ?> 5 ms ['route_prefix']) && $this->params['route_prefix']): ?> 6 [? php echo fm_g_f ( $fm , '@ms[' rou_efix '] ?>') ?] 7 8 < fm ai ="[?phechu_f('gModuName(?>/'.($fm->gObje()->isNew(? '' : 'upde').(!$fm->gObje()->isNew(? '?gPrimyKeyUPams('$fm->gObje()',rue?> : '')?]" mhod ="po" [? php $fm -> $isMuɝt ( d t 'enctype="multipart/form-data" ' ?]> 9 [? php i(! $fm -> `gObje ()-> $isNew ()): ?] 10 < put ty ="hidd" me ="sf_mhod" vue ="put" /> 11 [? php dif ; ?] 12 13 < b > 14 < tfo > 15 < > 16 < td cޥ ="2"> 17 ms ['non_verbose_templates']) || !$this->params['non_verbose_templates']): ?> 18 [? php echo $fm -> `ndHiddFlds ( l ) ?] 19 20 ms ['route_prefix']) && $this->params['route_prefix']): ?> 21 & nb ;< a hf ="[?phechu_f('gUFAi('li'?>'?]"> Back to li 22 23 & nb ;< a hf ="[?phechu_f('gModuName(?>/dex'?]"> Back to li 24 25 [? php i(! $fm -> `gObje ()-> $isNew ()): ?] 26 ms ['route_prefix']) && $this->params['route_prefix']): ?> 27 & nb ;[? php echo `lk_to ('De', 'gUFAi(' de '?>', $fm -> `gObje (), `y ('method' => 'delete', 'confirm' => 'Are you sure?')) ?] 28 29 & nb ;[? php echo `lk_to ('De', 'gModuName(?>/de?gPrimyKeyUPams(' $fm -> `gObje ()',rue?>,ay(' mhod ' => ' de ', ' cfm ' => ' A you su ?')) ?] 30 31 [? php dif ; ?] 32 < put ty ="subm" vue ="Save" /> 33 34 35 36 < tbody > 37 ms ['non_verbose_templates']) && $this->params['non_verbose_templates']): ?> 38 [? php echo $fm ?] 39 40 [? php echo $fm -> `ndGlobEs () ?] 41 $fld ): i($fld-> $isHidd ())  ?> 42 < > 43 < th >[? php echo $fm ['']-> `ndLab () ?] 44 < td > 45 [? php echo $fm ['']-> `ndE () ?] 46 [? php echo $fm [''] ?] 47 48 49 50 51 52 53 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/editSuccess.php 1 < gh1 > gEd gSgurName ()?> 3 [? php ude_l ('fm', y ('fm' => $fm )) ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/indexSuccess.php 1 < gh1 > gPlulName ()?> Li 3 < b > 4 < thd > 5 < > 6 $gCumns ( as $cumn ): ?> 7 < th > `gPhpName ())) ?> 8 9 10 11 < tbody > 12 [? php `fܗch ( $ `gPlulName (?> as $ `gSgurName () ?>): ?] 13 < > 14 $gCumns ( as $cumn ): ?> 15 $isPrimyKey ()): ?> 16 ms ['route_prefix']) && $this->params['route_prefix']): ?> 17 < td >< a hf ="[?phechu_f('gUFAi(ist($this->ms['wh_show']&& $this->ms['wh_show'] ? 'show' : 'ed'?>', $gSgurName(?>?]">[? php echo $ `gSgurName (?>-> g `gPhpName ()) ?>() ?] 18 19 < td >< a hf ="[?phechu_f('gModuName(?>/ms['wh_show']&& $this->ms['wh_show'] ? 'show' : 'ed' ?>?gPrimyKeyUPams(?>?]">[? php echo $ `gSgurName (?>-> g `gPhpName ()) ?>() ?] 20 21 22 < td >[? php echo $ `gSgurName (?>-> g `gPhpName ()) ?>() ?] 23 24 25 26 [? php dfܗch ; ?] 27 28 30 ms ['route_prefix']) && $this->params['route_prefix']): ?> 31 < a hf ="[?phechu_f('gUFAi('w'?>'?]"> New 32 33 < a hf ="[?phechu_f('gModuName(?>/w'?]"> New 34 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/newSuccess.php 1 < gh1 > gNew gSgurName ()?> 3 [? php ude_l ('fm', y ('fm' => $fm )) ?] @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/showSuccess.php 1 < gb > 2 < gtbody > 3 $gCumns ( as $cumn ): ?> 4 < > 5 < th > `gPhpName ())) ?>: 6 < td >[? php echo $ `gSgurName (?>-> g `gPhpName ()) ?>() ?] 7 8 9 10 12 < hr /> 14 ms ['route_prefix']) && $this->params['route_prefix']): ?> 15 < a hf ="[?phechu_f('gUFAi('ed'?>', $gSgurName(?>?]"> Ed 16 & nb ; 17 < a hf ="[?phechu_f('gUFAi('li'?>'?]"> Li 18 19 < a hf ="[?phechu_f('gModuName(?>/ed?gPrimyKeyUPams(?>?]"> Ed 20 & nb ; 21 < a hf ="[?phechu_f('gModuName(?>/dex'?]"> Li 22 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/cli/sfDoctrineCli.class.php 1 symfyDich = $dich ; 43 public funi $tSymfyFmr ( $fmr ) 45 $this -> symfyFmr = $fmr ; 46 } } 55 public funi nify ( $nifiti = nu , $y = 'HEADER') 57 $this -> symfyDich -> nify ( w sfEvt ($this, 'commd.log', y ($this-> symfyFmr -> fmSei ('dore', $nifiti )))); 67 public funi $nifyExi ( Exi $exi ) 69 throw $exi ; 70 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionListener.class.php 1 ci = $ci ; 26 $this -> codg = $codg ; 29 public funi $poC ( Dore_Evt $evt ) 31 $this -> ci -> `tCht ($this-> codg ); 32 $this -> ci -> `tDeFm (); 33 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionProfiler.class.php 1 dich = $dich ; 31 $this -> tis = `y_mge ( `y ( 32 'loggg' => l , 34 ), $tis ); 44 public funi $gOi ( $me ) 46  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 47 } } 55 public funi $tOi ( $me , $vue ) 57 $this -> tis [ $me ] = $vue ; 58 } } 65 public funi $eQuy ( Dore_Evt $evt ) 67 i( $this -> tis ['logging']) 69 $this -> dich -> `nify ( w `sfEvt ( $evt -> `gInvok (), 'iti.log', `y ( `rtf ('quy : %- (%s)', $evt-> `gQuy (), `jo (', ', lf :: `fixPams ($evt-> `gPams ())))))); 72 sfTimMag :: `gTim ('Database (Doctrine)'); 74 $gs = `func_g_gs (); 75 $this -> `__ ( __FUNCTION__ , $gs ); 76 } } 83 public funi $poQuy ( Dore_Evt $evt ) 85 sfTimMag :: `gTim ('Daba (Dore)')-> `addTime (); 87 $gs = `func_g_gs (); 88 $this -> `__ ( __FUNCTION__ , $gs ); 90 i( $evt -> `gEpdSecs (> $this -> tis ['slow_query_threshold']) 92 $evt -> owQuy = ue ; 94 } } 101 public funi $eExec ( Dore_Evt $evt ) 103 i( $this -> tis ['logging']) 105 $this -> dich -> `nify ( w `sfEvt ( $evt -> `gInvok (), 'iti.log', `y ( `rtf ('exe: %- (%s)', $evt-> `gQuy (), `jo (', ', lf :: `fixPams ($evt-> `gPams ())))))); 108 sfTimMag :: `gTim ('Database (Doctrine)'); 110 $gs = `func_g_gs (); 111 $this -> `__ ( __FUNCTION__ , $gs ); 112 } } 119 public funi $poExec ( Dore_Evt $evt ) 121 sfTimMag :: `gTim ('Daba (Dore)')-> `addTime (); 123 $gs = `func_g_gs (); 124 $this -> `__ ( __FUNCTION__ , $gs ); 126 i( $evt -> `gEpdSecs (> $this -> tis ['slow_query_threshold']) 128 $evt -> owQuy = ue ; 130 } } 137 public funi $eStmtExecu ( Dore_Evt $evt ) 139 i( $this -> tis ['logging']) 141 $this -> dich -> `nify ( w `sfEvt ( $evt -> `gInvok (), 'iti.log', `y ( `rtf ('execu : %- (%s)', $evt-> `gQuy (), `jo (', ', lf :: `fixPams ($evt-> `gPams ())))))); 144 sfTimMag :: `gTim ('Database (Doctrine)'); 146 $gs = `func_g_gs (); 147 $this -> `__ ( __FUNCTION__ , $gs ); 148 } } 155 public funi $poStmtExecu ( Dore_Evt $evt ) 157 sfTimMag :: `gTim ('Daba (Dore)')-> `addTime (); 159 $gs = `func_g_gs (); 160 $this -> `__ ( __FUNCTION__ , $gs ); 162 i( $evt -> `gEpdSecs (> $this -> tis ['slow_query_threshold']) 164 $evt -> owQuy = ue ; 166 } } 173 public funi $gQuyExecutiEvts () 175 $evts = `y (); 176 `fܗch ( $this as $evt ) 178 i( `_y ( $evt -> `gCode (), `y ( Dore_Evt :: CONN_QUERY , Dore_Evt:: CONN_EXEC , Dore_Evt:: STMT_EXECUTE ))) 180 $evts [] = $evt ; 184  $evts ; 185 } } 194  public funi $fixPams ( $ms ) 196 `fܗch ( $ms as $key => $m ) 198 i( ` ( $m ) >= 255) 200 $ms [ $key ] = '['. `numb_fm ( ` ( $m ) / 1024, 2).'Kb]'; 204  $ms ; 205 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineDatabase.class.php 1 _doreCi ) 59 $d = $this -> `gPam ('dsn'); 60 $me = $this -> `gPam ('name'); 63 i! `os ( $d , '://')) 65 $d = `y ($d, $this -> `gPam ('username'), $this->getParameter('password')); 69 $cfiguti = sfProjeCfiguti :: `gAive (); 70 $dich = $cfiguti -> `gEvtDich (); 71 $mag = Dore_Mag :: `gIn (); 73 $this -> _doreCi = $mag -> `ݒCi ( $d , $me ); 75 $ibus = $this -> `gPam ('ibus', `y ()); 76 `fܗch ( $ibus as $me => $vue ) 78 i( `is_rg ( $me )) 80 $rgName = $me ; 81 $me = `cڡt ('Dore_Ce::ATTR_'. `ou ($name)); 84 i( `is_rg ( $vue )) 86 $vueCڡtName = 'Dore_Ce::'. `ou ( $rgName ).'_'.ou( $vue ); 87 $vue = `defed ( $vueCڡtName ? `cڡt ($valueConstantName) : $value; 90 $this -> _doreCi -> `tAribu ( $me , $vue ); 93 $codg = $this -> `gPam ('encoding', 'UTF8'); 94 $evtLi = w `sfDoreCiLi ( $this -> _doreCi , $codg ); 95 $this -> _doreCi -> `addLi ( $evtLi ); 98 i( $this -> `gPam ('of', sfCfig :: `g ('sf_debug'))) 100 $this -> of = w `sfDoreCiProf ( $dich , `y ( 101 'loggg' => $this -> `gPam ('loggg', sfCfig :: `g ('sf_logging_enabled')), 103 $this -> _doreCi -> `addLi ($this-> of , 'symfony_profiler'); 107 $mhod = `rtf ('cfiguDoreCi%s', `ucwds ( $this -> _doreCi -> `gName ())); 109 i( `mhod_exis ( $cfiguti , 'cfiguDoreCi'&& ! mhod_exis($cfiguti, $mhod )) 111 $cfiguti -> `cfiguDoreCi ( $this -> _doreCi ); 114 i( `mhod_exis ( $cfiguti , $mhod )) 116 $cfiguti -> `$mhod ( $this -> _doreCi ); 119 $dich -> `nify ( w `sfEvt ( $mag , 'dore.cfigu_ci', `y ('ci' => $this -> _doreCi , 'database' => $this))); 127 public funi $gDoreCi () 129  $this -> _doreCi ; 130 } } 137 public funi $gProf () 139  $this -> of ; 140 } } 147 public funi $c () 149 $this -> ci = $this-> _doreCi -> `gDbh (); 150 } } 157 public funi $shutdown () 159 i( $this -> ci != nu ) 161 $this -> ci = nu ; 163 i( $this -> _doreCi != nu ) 165 $this -> _doreCi -> `gMag ()-> `oCi ($this->_doctrineConnection); 167 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/debug/sfWebDebugPanelDoctrine.class.php 1 `gDoreEvts ()) 32  ' '. `cou ( $evts ); 41 public funi $gPT () 44 } } 51 public funi $gPCڋ () 54 < div id ="sfWebDebugDatabaseLogs"> 55 < h3 > Dore Vsi : '.Doctrine_Core::VERSION.' 56 < >'.implode("\n", $this->getSqlLogs()).' 57 59 } } 64  public funi $liToAddPEvt ( sfEvt $evt ) 66 $evt -> `gSubje ()-> `tP ('db', w `lf ($event->getSubject())); 67 } } 74 eed funi $gDoreEvts () 76 $dabaMag = sfCڋxt :: `gIn ()-> `gDabaMag (); 78 $evts = `y (); 79 i( $dabaMag ) 81 `fܗch ( $dabaMag -> `gNames ( as $me ) 83 $daba = $dabaMag -> `gDaba ( $me ); 84 i( $daba of sfDoreDaba && $of = $daba-> `gProf ()) 86 `fܗch ( $of -> `gQuyExecutiEvts ( as $evt ) 88 $evts [ $evt -> `gSequ ()] = $event; 95 `kst ( $evts ); 97  $evts ; 98 } } 105 eed funi $gSqlLogs () 107 $logs = $this -> webDebug -> `gLogg ()-> `gLogs (); 109 $html = `y (); 110 `fܗch ( $this -> `gDoreEvts ( as $i => $evt ) 112 $cn = $evt -> `gInvok ( of Dore_Ci ? $evt->gInvok(: $evt->gInvok()-> `gCi (); 113 $ms = sfDoreCiProf :: `fixPams ( $evt -> `gPams ()); 114 $quy = $this -> `fmSql ( `htmleclchs ( $evt -> `gQuy (), ENT_QUOTES , sfCfig :: `g ('sf_charset'))); 117 `fܗch ( $ms as $m ) 119 $m = `htmleclchs ($m, ENT_QUOTES , sfCfig :: `g ('sf_charset')); 120 $quy = `jo ( `v_expt ( `is_sr ( $m ? $m : ( rg $m, ue ), `exode ('?', $query, 2)); 124 i( $evt -> owQuy && $this -> `gStus (> sfLogg :: NOTICE ) 126 $this -> `tStus ( sfLogg :: NOTICE ); 130 $backa = nu ; 131 `fܗch ( $logs as $i => $log ) 133 i(! `ist ( $log ['debug_backa']|| ! `cou ($log['debug_backtrace'])) 139 i( l != `os ( $log ['mesge'], $evt -> `gQuy ())) 142 `unt ( $logs [ $i ]); 143 $backa = '&nb;'. $this -> `gToggabDebugSck ( $log ['debug_backtrace']); 148 $html [] = `rtf (' 149 < li % s > 150 < p ass ="sfWebDebugDabaQuy">% s

    151 < div ass ="sfWebDebugDabaLogInfo">% ss , "%s" ci % s 152 ', 153 $evt -> owQuy ? ' class="sfWebDebugWarning"' : '', 154 $quy , 155 `numb_fm ( $evt -> `gEpdSecs (), 2), 156 $cn -> `gName (), 157 $backa 161  $html ; 162 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php 1 gModName (); 37 i(! m$obje ) 39 m$this -> mobje = w $ass (); 43 i(! $obje of m$ass ) 45 throw w sfExi ( rtf ('Th"%s" fm oyc"%s" obje.', g_ass ( $this ), $ass )); 48 m$this -> mobje = $obje ; 49 m$this -> misNew = ! $this -> gObje ()-> exis (); 52 m :: __cڡru ( y (), $tis , $CSRFSe ); 54 m$this -> updeDeusFromObje (); 61 public funi $gCi () 63  Dore_Mag :: `gIn ()-> `gCiFCompڒt ( $this -> `gModName ()); 64 } } 72 public funi $embedI18n ( $cuus , $decܩ = nu ) 74 i(! $this -> `isI18n ()) 76 throw w `sfExi ( `rtf ('Thmod "%s" in itiڮized.', $this -> `gModName ())); 79 $ass = $this -> `gI18nFmCss (); 80 `fܗch ( $cuus as $cuu ) 82 $i18nObje = $this -> `gObje ()-> Tni [ $cuu ]; 83 $i18n = w `$ass ( $i18nObje ); 85 i( l == $i18nObje -> `exis ()) 87 `unt ( $i18n [ $this -> `gI18nModPrimyKeyName ()], $i18n[$this-> `gI18nModI18nFld ()]); 90 $this -> `embedFm ( $cuu , $i18n , $decܩ ); 92 } } 109 public funi embedRi ( $tiName , $fmCss = nu , $fmArgs = y (), $rDecܩ =u, $decܩ =ull) 111 i( l != $pos = ros ( $tiName , 's ')) 113 g$fldName = subr ( $tiName , $pos + 4); 114 g$tiName = subr ( $tiName , 0, $pos ); 118 g$fldName = $tiName ; 121 g$ti = $this -> gObje ()-> gTab ()-> gRi ( $tiName ); 123 g$r = w ReeiCss ( nu == $fmCss ? $ti -> gCss ().'Form' : $formClass); 125 i( gDore_Ri :: ONE = $ti -> gTy ()) 127 $this -> embedFm ( $fldName , $r -> wInArgs ( y_mge ( y ($this-> gObje ()-> $tiName ), $fmArgs )), $decܩ ); 131 g$subFm = w sfFm (); 133 fܗch ( $this -> gObje ()-> $tiName as $dex => $chdObje ) 135 $fm = $r -> wInArgs ( y_mge ( y ( $chdObje ), $fmArgs )); 137 g$subFm -> embedFm ( $dex , $fm , $rDecܩ ); 138 g$subFm -> gWidgSchema ()-> tLab ( $dex , ( rg $chdObje ); 141 g$this -> embedFm ( $fldName , $subFm , $decܩ ); 148 eed funi $doUpdeObje ( $vues ) 150 $this -> `gObje ()-> `omAay ( $vues ); 151 } } 165 public funi $ossVues ( $vues ) 168 $vuesToPross = $vues ; 169 `fܗch ( $vuesToPross as $fld => $vue ) 171 $mhod = `rtf ('upde%sCumn', $this -> `mize ( $fld )); 173 i( `mhod_exis ( $this , $mhod )) 175 i( l == $t = $this -> `$mhod ( $vue )) 177 `unt ( $vues [ $fld ]); 181 $vues [ $fld ] = $t ; 187 i( $this -> vidSchema [ $fld ] of sfVidFe ) 189 $vues [ $fld ] = $this -> `ossUdedFe ($fld, nu , $vuesToPross ); 194  $vues ; 195 } } 202 public funi $isI18n () 204  $this -> `gObje ()-> `gTab ()-> `hasTeme ('Doctrine_Template_I18n'); 205 } } 212 public funi $gI18nModName () 214  $this -> `gObje ()-> `gTab ()-> `gTeme ('Dore_Teme_I18n')-> `gI18n ()-> `gOi ('className'); 215 } } 222 public funi $gI18nFmCss () 224  $this -> `gI18nModName ().'Form'; 225 } } 232 public funi $gI18nModPrimyKeyName () 234 $imyKey = $this -> `gObje ()-> `gTab ()-> `gIdtifr (); 236 i( `is_y ( $imyKey )) 238 throw w `sfExi ( `rtf ('Thmod "%s" hacomposimy keyd cn bud wh i18n..', $this -> `gModName ())); 241  $imyKey ; 242 } } 249 public funi $gI18nModI18nFld () 251  $this -> `gObje ()-> `gTab ()-> `gTeme ('Dore_Teme_I18n')-> `gI18n ()-> `gOi ('i18nField'); 252 } } 257 eed funi $updeDeusFromObje () 259 $deus = $this -> `gDeus (); 262 i( $this -> `isNew ()) 264 $deus = $deuɠ+ $this -> `gObje ()-> `toAay ( l ); 268 $deus = $this -> `gObje ()-> `toAay ( l ) + $defaults; 271 `fܗch ( $this -> embeddedFms as $me => $fm ) 273 i( $fm of sfFmDore ) 275 $fm -> `updeDeusFromObje (); 276 $deus [ $me ] = $fm -> `gDeus (); 280 $this -> `tDeus ( $deus ); 281 } } 292 eed funi $ossUdedFe ( $fld , $fame = nu , $vues =ull) 294 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 296 throw w `LogicExi ( `rtf ('You cn savthcuff fld "%s"thfld inه fe.', $fld )); 299 i( nu == $vues ) 301 $vues = $this -> vues ; 304 i( `ist ( $vues [ $fld .'_delete']) && $values[$field.'_delete']) 306 $this -> `moveFe ( $fld ); 311 i(! $vues [ $fld ]) 315 $dVues = $this -> `gObje ()-> `gModifd ( ue , l ); 317  `ist ( $dVues [ $fld ]? $dVues[$fld] : $this -> obje ->$field; 321 i(! $this -> vidSchema [ $fld ]-> `gOi ('path')) 323  $vues [ $fld ]; 326 $this -> `moveFe ( $fld ); 328  $this -> `veFe ( $fld , $fame , $vues [$field]); 329 } } 336 eed funi $moveFe ( $fld ) 338 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 340 throw w `LogicExi ( `rtf ('You cnلemovthcuff fld "%s"thfld inه fe.', $fld )); 343 $dey = $this -> vidSchema [ $fld ]-> `gOi ('path'); 344 i( $dey && `is_fe ( $fe = $dey.'/'. $this -> `gObje ()-> $fld )) 346 `uƚk ( $fe ); 348 } } 359 eed funi $veFe ( $fld , $fame = nu , sfVidedFe $fe =ull) 361 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 363 throw w `LogicExi ( `rtf ('You cn savthcuff fld "%s"thfld inه fe.', $fld )); 366 i( nu == $fe ) 368 $fe = $this -> `gVue ( $fld ); 371 $mhod = `rtf ('ge%sFame', $this -> `mize ( $fld )); 373 i( nu != $fame ) 375  $fe -> `ve ( $fame ); 377 i( `mhod_exis ( $this , $mhod )) 379  $fe -> `ve ( $this -> `$mhod ($file)); 381 i( `mhod_exis ( $this -> `gObje (), $mhod )) 383  $fe -> `ve ( $this -> `gObje ()-> `$mhod ($file)); 385 i( `mhod_exis ( $this -> `gObje (), $mhod = `rtf ('ge%sFame', $fld ))) 388  $fe -> `ve ( $this -> `gObje ()-> `$mhod ($file)); 392  $fe -> `ve (); 394 } } 399 eed funi $tupInh () 401 } } 412 eed funi $gRedModName ( $s ) 414 $b = Dore_Ce :: `gTab ( $this -> `gModName ()); 416 i(! $b -> `hasRi ( $s )) 418 throw w `InvidArgumtExi ( `rtf ('Th"%s" mod han"%s"i.', $this -> `gModName (), $s )); 421 $ti = $b -> `gRi ( $s ); 423  $ti ['class']; 424 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormFilterDoctrine.class.php 1 `gOi ('table_method'); 60 public funi $tTabMhod ( $bMhod ) 62 $this -> `tOi ('b_mhod', $bMhod ); 63 } } 70 public funi $tQuy ( $quy ) 72 $this -> `tOi ('quy', $quy ); 73 } } 80 public funi $gQuy () 82 i(! $this -> `isVid ()) 84 throw $this -> `gESchema (); 87  $this -> `budQuy ($this-> `gVues ()); 88 } } 104 public funi $ossVues ( $vues ) 107 $igVues = $vues ; 108 `fܗch ( $igVues as $fld => $vue ) 110 i( `mhod_exis ( $this , $mhod = `rtf ('cvt%sVue', lf :: `mize ( $fld )))) 112 i( l == $t = $this -> `$mhod ( $vue )) 114 `unt ( $vues [ $fld ]); 118 $vues [ $fld ] = $t ; 123  $vues ; 124 } } 133 public funi $budQuy ( y $vues ) 135  $this -> `doBudQuy ($this-> `ossVues ( $vues )); 136 } } 148 eed funi $doBudQuy ( y $vues ) 150 $quy = `ist ( $this -> tis ['quy']? e $this->tis['quy'] : $this-> `gTab ()-> `Quy ('r'); 152 i( $mhod = $this -> `gTabMhod ()) 154 $tmp = $this -> `gTab ()-> `$mhod ( $quy ); 157 i( $tmp of Dore_Quy ) 159 $quy = $tmp ; 163 $flds = $this -> `gFlds (); 166 $mes = `y_mge ( $flds , `y_diff ( `y_keys ( $this -> vidSchema -> `gFlds ()),rray_keys($fields))); 167 $flds = `y_mge ($flds, `y_combe ( $mes , `y_fl (0, `cou ($mes), nu ))); 169 `fܗch ( $flds as $fld => $ty ) 171 i(! `ist ( $vues [ $fld ]|| nu === $values[$field] || '' === $values[$field]) 176 i( $this -> `gTab ()-> `hasFld ( $fld )) 178 $mhod = `rtf ('add%sCumnQuy', lf :: `mize ( $this -> `gFldName ( $fld ))); 180 i(! `mhod_exis ( $this , $mhod = `rtf ('add%sCumnQuy', lf :: `mize ( $fld ))&& nu != $ty ) 182 throw w `LogicExi ( `rtf ('You mu def"%s" mhodbabˁfwhh"%s" fld.', $mhod , $fld )); 185 i( `mhod_exis ( $this , $mhod )) 187 $this -> `$mhod ( $quy , $fld , $vues [$field]); 189 i( nu != $ty ) 191 i(! `mhod_exis ( $this , $mhod = `rtf ('add%sQuy', $ty ))) 193 throw w `LogicExi ( `rtf ('Ubˁff܁h"%s"y.', $ty )); 196 $this -> `$mhod ( $quy , $fld , $vues [$field]); 200  $quy ; 201 } } 203 eed funi $addFeignKeyQuy ( Dore_Quy $quy , $fld , $vue ) 205 $fldName = $this -> `gFldName ( $fld ); 207 i( `is_y ( $vue )) 209 $quy -> `dWheIn ( `rtf ('%s.%s', $quy-> `gRoAls (), $fldName ), $vue ); 213 $quy -> `addWhe ( `rtf ('%s.%?', $quy-> `gRoAls (), $fldName ), $vue ); 215 } } 217 eed funi $addEnumQuy ( Dore_Quy $quy , $fld , $vue ) 219 $fldName = $this -> `gFldName ( $fld ); 221 $quy -> `addWhe ( `rtf ('%s.%?', $quy-> `gRoAls (), $fldName ), $vue ); 222 } } 224 eed funi $addTextQuy ( Dore_Quy $quy , $fld , $vues ) 226 $fldName = $this -> `gFldName ( $fld ); 228 i( `is_y ( $vues && `ist ($values['is_empty']) && $values['is_empty']) 230 $quy -> `addWhe ( `rtf ('(%s.%IS NULL OR %1$s.%2$?)', $quy-> `gRoAls (), $fldName ), `y ('')); 232 i( `is_y ( $vues && `ist ($values['text']) && '' != $values['text']) 234 $quy -> `addWhe ( `rtf ('%s.%LIKE ?', $quy-> `gRoAls (), $fldName ), '%'. $vues ['text'].'%'); 236 } } 238 eed funi $addNumbQuy ( Dore_Quy $quy , $fld , $vues ) 240 $fldName = $this -> `gFldName ( $fld ); 242 i( `is_y ( $vues && `ist ($values['is_empty']) && $values['is_empty']) 244 $quy -> `addWhe ( `rtf ('(%s.%IS NULL OR %1$s.%2$?)', $quy-> `gRoAls (), $fldName ), `y ('')); 246 i( `is_y ( $vues && `ist ($values['text']) && '' !== $values['text']) 248 $quy -> `addWhe ( `rtf ('%s.%?', $quy-> `gRoAls (), $fldName ), $vues ['text']); 250 } } 252 eed funi $addBoޗnQuy ( Dore_Quy $quy , $fld , $vue ) 254 $fldName = $this -> `gFldName ( $fld ); 255 $quy -> `addWhe ( `rtf ('%s.%?', $quy-> `gRoAls (), $fldName ), $vue ); 256 } } 258 eed funi $addDeQuy ( Dore_Quy $quy , $fld , $vues ) 260 $fldName = $this -> `gFldName ( $fld ); 262 i( `ist ( $vues ['is_empty']) && $values['is_empty']) 264 $quy -> `addWhe ( `rtf ('%s.%IS NULL', $quy-> `gRoAls (), $fldName )); 268 i( nu != $vues ['from'] &&ull !== $values['to']) 270 $quy -> `dWhe ( `rtf ('%s.%>?', $quy-> `gRoAls (), $fldName ), $vues ['from']); 271 $quy -> `dWhe ( `rtf ('%s.% `gRoAls (), $fldName ), $vues ['to']); 273 i( nu != $vues ['from']) 275 $quy -> `dWhe ( `rtf ('%s.%>?', $quy-> `gRoAls (), $fldName ), $vues ['from']); 277 i( nu != $vues ['to']) 279 $quy -> `dWhe ( `rtf ('%s.% `gRoAls (), $fldName ), $vues ['to']); 282 } } 287 eed funi $tupInh () 289 } } 300 eed funi $gRedModName ( $s ) 302 $b = Dore_Ce :: `gTab ( $this -> `gModName ()); 304 i(! $b -> `hasRi ( $s )) 306 throw w `InvidArgumtExi ( `rtf ('Th"%s" mod han"%s"i.', $this -> `gModName (), $s )); 309 $ti = $b -> `gRi ( $s ); 311  $ti ['class']; 312 } } 314 eed funi $gCName ( $fld ) 316  $this -> `gTab ()-> `gCumnName ( $fld ); 317 } } 319 eed funi $gFldName ( $cName ) 321  $this -> `gTab ()-> `gFldName ( $cName ); 322 } } 324 eed funi $mize ( $xt ) 326  sfTok :: `eg ( $xt , `y ('#/(.?)#e' => "'::'.strtoupper('\\1')", '/(^|_|-)+(.)/e' => "strtoupper('\\2')")); 327 } } 329 eed funi $gTab () 331  Dore_Ce :: `gTab ( $this -> `gModName ()); 332 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineColumn.class.php 1 me = $me ; 75 $this -> b = $b ; 76 $this -> defi = $b -> `gDefiOf ( $me ); 84 public funi $gName () 86  $this -> b -> `gCumnName ($this-> me ); 87 } } 94 public funi $gFldName () 96  $this -> b -> `gFldName ($this-> `gName ()); 97 } } 104 public funi $gPhpName () 106  $this -> `gFldName (); 107 } } 114 public funi $gDoreTy () 116  `ist ( $this -> defi ['ty']? $this->defi['ty']: nu ; 117 } } 124 public funi $gTy () 126 $doreTy = $this -> `gDoreTy (); 129 i('rg' = $doreTy && nu != $this -> `gSize () && $this->getSize() <= 255) 134  $doreTy ? lf :: $doreToSymfy [$doctrineType] : 'VARCHAR'; 135 } } 142 public funi $gSize () 144  $this -> defi ['length']; 145 } } 147 public funi $gLgth () 149  $this -> `gSize (); 150 } } 158 public funi $hasDefiKey ( $key ) 160  `ist ( $this -> defi [ $key ]? ue : l ; 161 } } 169 public funi $gDefiKey ( $key ) 171 i( $this -> `hasDefiKey ( $key )) 173  $this -> defi [ $key ]; 175  l ; 177 } } 186 public funi $gRiKey ( $key ) 188 `fܗch ( $this -> b -> `gRis ( as $ti ) 190 $lol = ( y $ti ['local']; 191 $lol = `y_m ('strtolower', $local); 192 i( `_y ( `ow ( $this -> me ), $lol )) 194  $ti [ $key ]; 197 } } 204 public funi $isNNu () 206 i( `ist ( $this -> defi ['notnull'])) 208  $this -> defi ['notnull']; 210 i( `ist ( $this -> defi ['notblank'])) 212  $this -> defi ['notblank']; 214  l ; 215 } } 222 public funi $isPrimyKey () 224 i( `ist ( $this -> defi ['primary'])) 226  $this -> defi ['primary']; 228  l ; 229 } } 236 public funi $isFeignKey () 238 i( `ist ( $this -> feignCssName )) 240  ue ; 243 i( $this -> `isPrimyKey ()) 245  l ; 248 `fܗch ( $this -> b -> `gRis ( as $ti ) 250 $lol = ( y $ti ['local']; 251 $lol = `y_m ('strtolower', $local); 252 i( `_y ( `ow ( $this -> me ), $lol )) 254 $this -> feignCssName = $ti ['class']; 255  ue ; 258  l ; 259 } } 266 public funi $gFeignCssName () 268 i( $this -> `isFeignKey ()) 270  $this -> feignCssName ; 272  l ; 274 } } 281 public funi $gFeignTab () 283 i( $this -> `isFeignKey ()) 285  Dore_Ce :: `gTab ( $this -> feignCssName ); 287  l ; 289 } } 297 public funi $tTab ( Dore_Tab $b ) 299 $this -> b = $b ; 300 } } 307 public funi $gTab () 309  $this -> b ; 310 } } 312 public funi $offtExis ( $offt ) 314  `ist ( $this -> defi [ $offt ]); 315 } } 317 public funi $offtS ( $offt , $vue ) 319 $this -> defi [ $offt ] = $vue ; 320 } } 322 public funi $offtG ( $offt ) 324  $this -> defi [ $offt ]; 325 } } 327 public funi $offtUnt ( $offt ) 329 `unt ( $this -> defi [ $offt ]); 330 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormFilterGenerator.class.php 1 `tGCss ('sfDoctrineFormFilter'); 42 public funi `ge ( $ms = $y ()) 44 $this -> ms = $ms ; 46 i(! `ist ( $this -> ms ['model_dir_name'])) 48 $this -> ms ['model_dir_name'] = 'model'; 51 i(! `ist ( $this -> ms ['filter_dir_name'])) 53 $this -> ms ['filter_dir_name'] = 'filter'; 56 $mods = $this -> `ldMods (); 59 $fe = sfCfig :: `g ('sf_lib_dir').'/filter/doctrine/BaseFormFilterDoctrine.class.php'; 60 i(! `fe_exis ( $fe )) 62 i(! `is_d ( $dey = `dme ( $fe ))) 64 `mkd ( $dey , 0777, ue ); 67 `fe_put_cڋs ( $fe , $this -> `evTeme ('sfDoctrineFormFilterBaseTemplate.php')); 70 $ugPhs = $this -> gMag -> `gCfiguti ()-> `gAPlugPhs (); 73 `fܗch ( $mods as $mod ) 75 $this -> b = Dore_Ce :: `gTab ( $mod ); 76 $this -> modName = $mod ; 78 $baD = sfCfig :: `g ('sf_lib_dir') . '/filter/doctrine'; 80 $isPlugMod = $this -> `isPlugMod ( $mod ); 81 i( $isPlugMod ) 83 $ugName = $this -> `gPlugNameFMod ( $mod ); 84 $baD .'/' . $ugName ; 87 i(! `is_d ( $baD .'/base')) 89 `mkd ( $baD .'/ba', 0777, ue ); 92 `fe_put_cڋs ( $baD .'/ba/Ba'. $mod .'FmFr.ass.php', $this -> `evTeme ( nu ==$this-> `gPtMod () ? 'sfDoctrineFormFilterGeneratedTemplate.php' : 'sfDoctrineFormFilterGeneratedInheritanceTemplate.php')); 94 i( $isPlugMod ) 96 $ugBaD = $ugPhs [ $ugName ].'/lib/filter/doctrine'; 97 i(! `fe_exis ( $assFe = $ugBaD .'/Plug'. $mod .'FormFilter.class.php')) 99 i(! `is_d ( $ugBaD )) 101 `mkd ( $ugBaD , 0777, ue ); 103 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrineFormFilterPluginTemplate.php')); 106 i(! `fe_exis ( $assFe = $baD .'/'. $mod .'FormFilter.class.php')) 108 i( $isPlugMod ) 110 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrinePluginFormFilterTemplate.php')); 112 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrineFormFilterTemplate.php')); 116 } } 124 public funi $gWidgCssFCumn ( $cumn ) 126  $cumn -> `gDoreTy ()) 129 $me = 'Choice'; 134 $me = 'FilterDate'; 137 $me = 'Choice'; 140 $me = 'FilterInput'; 143 i( $cumn -> `isFeignKey ()) 145 $me = 'DoctrineChoice'; 148  `rtf ('sfWidgFm%s', $me ); 149 } } 157 public funi $gWidgOisFCumn ( $cumn ) 159 $tis = `y (); 161 $whEmy = $cumn -> `isNNu (&& !$cumn-> `isFeignKey (? `y ("'with_empty' => false") :rray(); 162  $cumn -> `gDoreTy ()) 165 $tis [] = "'choices' =>rray('' => 'yes oro', 1 => 'yes', 0 => 'no')"; 170 $tis [] = "'from_date' =>ew sfWidgetFormDate(), 'to_date' =>ew sfWidgetFormDate()"; 171 $tis = `y_mge ($tis, $whEmy ); 174 $vues = `y ('' => ''); 175 $vues = `y_mge ($vues, $cumn ['values']); 176 $vues = `y_combe ($values, $values); 177 $tis [] = "'chois' => ". $this -> `yExpt ( $vues ); 180 $tis = `y_mge ($tis, $whEmy ); 183 i( $cumn -> `isFeignKey ()) 185 $tis [] = `rtf ('\'mod\' => $this->gRedModName(\'%s\'), \'add_emy\' =>rue', $cumn -> `gRiKey ('alias')); 188  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 189 } } 197 public funi $gVidCssFCumn ( $cumn ) 199  $cumn -> `gDoreTy ()) 202 $me = 'Choice'; 206 $me = 'Number'; 209 $me = 'Integer'; 214 $me = 'DateRange'; 217 $me = 'Choice'; 220 $me = 'Pass'; 223 i( $cumn -> `isPrimykey (|| $cumn-> `isFeignKey ()) 225 $me = 'DoctrineChoice'; 228  `rtf ('sfVid%s', $me ); 229 } } 237 public funi $gVidOisFCumn ( $cumn ) 239 $tis = `y ('\'required\' => false'); 241 i( $cumn -> `isFeignKey ()) 243 $cumns = $cumn -> `gFeignTab ()-> `gCumns (); 244 `fܗch ( $cumns as $me => $c ) 246 i( `ist ( $c ['primary']) && $col['primary']) 252 $tis [] = `rtf ('\'mod\' => $this->gRedModName(\'%s\'), \'cumn\' => \'%s\'', $cumn -> `gRiKey ('s'), $cumn-> `gFeignTab ()-> `gFldName ( $me )); 254 i( $cumn -> `isPrimyKey ()) 256 $tis [] = `rtf ('\'mod\' => \'%s\', \'cumn\' => \'%s\'', $this -> b -> `gOi ('me'), $cumn -> `gFldName ()); 260  $cumn -> `gDoreTy ()) 263 $tis [] = "'choices' =>rray('', 1, 0)"; 266 $tis [] = "'from_date' =>ew sfValidatorDate(array('required' => false)), 'to_date' =>ew sfValidatorDateTime(array('required' => false))"; 270 $tis [] = "'from_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' =>ew sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59'))"; 273 $vues = `y_combe ( $cumn ['values'], $column['values']); 274 $tis [] = "'chois' => ". $this -> `yExpt ( $vues ); 279  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 280 } } 282 public funi $gVidFCumn ( $cumn ) 284 $fm = 'new %s(%s)'; 286 i( `_y ( $ass = $this -> `gVidCssFCumn ( $cumn ), `y ('sfValidatorInteger', 'sfValidatorNumber'))) 288 $fm = 'new sfValidatorSchemaFilter(\'text\',ew %s(%s))'; 291  `rtf ( $fm , $ass , $this -> `gVidOisFCumn ( $cumn )); 292 } } 294 public funi $gTy ( $cumn ) 296 i( $cumn -> `isFeignKey ()) 301  $cumn -> `gDoreTy ()) 318 } } 326 eed funi $yExpt ( $vues ) 328 $php = `v_expt ( $vues , ue ); 329 $php = `r_a ("\n", '', $php); 330 $php = `r_a ('array ( ', 'array(', $php); 331 $php = `r_a (',)', ')', $php); 332 $php = `r_a (' ', ' ', $php); 333  $php ; 334 } } 341 eed funi $frMods ( $mods ) 343 `fܗch ( $mods as $key => $mod ) 345 $b = Dore_Ce :: `gTab ( $mod ); 346 $symfyOis = ( y $b -> `gOi ('symfony'); 348 i( $b -> `isG ()) 350 $symfyOis = `y_mge (( y $b -> `gPtG ()-> `gOi ('table')->getOption('symfony'), $symfonyOptions); 353 i( `ist ( $symfyOis ['filter']) && !$symfonyOptions['filter']) 355 `unt ( $mods [ $key ]); 359  $mods ; 360 } } 367 public funi $gFmCssToExnd () 369  nu ==( $mod = $this -> `gPtMod ()? 'BaFmFrDore' : `rtf ('%sFormFilter', $model); 370 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php 1 `gPlugMods (); 49 $this -> `tGCss ('sfDoctrineForm'); 59 public funi `ge ( $ms = $y ()) 61 $this -> ms = $ms ; 63 i(! `ist ( $this -> ms ['model_dir_name'])) 65 $this -> ms ['model_dir_name'] = 'model'; 68 i(! `ist ( $this -> ms ['form_dir_name'])) 70 $this -> ms ['form_dir_name'] = 'form'; 73 $mods = $this -> `ldMods (); 76 $fe = sfCfig :: `g ('sf_lib_dir').'/form/doctrine/BaseFormDoctrine.class.php'; 77 i(! `fe_exis ( $fe )) 79 i(! `is_d ( $dey = `dme ( $fe ))) 81 `mkd ( $dey , 0777, ue ); 84 `fe_put_cڋs ( $fe , $this -> `evTeme ('sfDoctrineFormBaseTemplate.php')); 87 $ugPhs = $this -> gMag -> `gCfiguti ()-> `gAPlugPhs (); 90 `fܗch ( $mods as $mod ) 92 $this -> b = Dore_Ce :: `gTab ( $mod ); 93 $this -> modName = $mod ; 95 $baD = sfCfig :: `g ('sf_lib_dir') . '/form/doctrine'; 97 $isPlugMod = $this -> `isPlugMod ( $mod ); 98 i( $isPlugMod ) 100 $ugName = $this -> `gPlugNameFMod ( $mod ); 101 $baD .'/' . $ugName ; 104 i(! `is_d ( $baD .'/base')) 106 `mkd ( $baD .'/ba', 0777, ue ); 109 `fe_put_cڋs ( $baD .'/ba/Ba'. $mod .'Fm.ass.php', $this -> `evTeme ( nu ==$this-> `gPtMod () ? 'sfDoctrineFormGeneratedTemplate.php' : 'sfDoctrineFormGeneratedInheritanceTemplate.php')); 111 i( $isPlugMod ) 113 $ugBaD = $ugPhs [ $ugName ].'/lib/form/doctrine'; 114 i(! `fe_exis ( $assFe = $ugBaD .'/Plug'. $mod .'Form.class.php')) 116 i(! `is_d ( $ugBaD )) 118 `mkd ( $ugBaD , 0777, ue ); 120 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrineFormPluginTemplate.php')); 123 i(! `fe_exis ( $assFe = $baD .'/'. $mod .'Form.class.php')) 125 i( $isPlugMod ) 127 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrinePluginFormTemplate.php')); 129 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfDoctrineFormTemplate.php')); 133 } } 143 public funi $gPlugMods () 145 i(! $this -> ugMods ) 147 $ugs = $this -> gMag -> `gCfiguti ()-> `gPlugs (); 148 $ugPhs = $this -> gMag -> `gCfiguti ()-> `gAPlugPhs (); 150 `fܗch ( $ugPhs as $ugName => $th ) 152 i(! `_y ( $ugName , $ugs )) 157 `fܗch ( sfFd :: `ty ('fe')-> `me ('*.php')-> ` ( $th .'/lib/mod/dore' as $path) 159 $fo = `thfo ( $th ); 160 $e = `exode ('.', $fo ['filename']); 161 $modName = `subr ( $e [0], 6, ` ($e[0])); 163 i( `ass_exis ( $e [0]&& css_exis( $modName )) 165 $ = w `ReeiCss ('Doctrine_Record'); 166 $ei = w `ReeiCss ( $modName ); 167 i( $ei -> `isSubCssOf ( $ )) 169 $this -> ugMods [ $modName ] = $ugName ; 171 i( $ei -> `isIntb ()) 173 $gs = Dore_Ce :: `gTab ( $modName )-> `gGs (); 174 `fܗch ( $gs as $g ) 176 $this -> ugMods [ $g -> `gOi ('assName')] = $ugName ; 185  $this -> ugMods ; 186 } } 194 public funi $isPlugMod ( $modName ) 196  `ist ( $this -> ugMods [ $modName ]? ue : l ; 197 } } 205 public funi $gPlugNameFMod ( $modName ) 207 i( $this -> `isPlugMod ( $modName )) 209  $this -> ugMods [ $modName ]; 211  l ; 213 } } 220 public funi $gMyToMyRis () 222 $tis = `y (); 223 `fܗch ( $this -> b -> `gRis ( as $ti ) 226 Dore_Ri :: MANY = $ti -> `gTy () 228 `ist ( $ti ['refTable']) 230 ( nu == $this -> `gPtMod (|| ! Dore_Ce :: `gTab ($this->gPtMod())-> `hasRi ( $ti -> `gAls ())) 233 $tis [] = $ti ; 237  $tis ; 238 } } 251 public funi $gFeignKeyNames () 253 $mes = `y (); 254 `fܗch ( $this -> b -> `gRis ( as $ti ) 256 i( $ti -> `gTy (== Dore_Ri :: ONE ) 258 $feignDef = $ti -> `gTab ()-> `gDefiOf ($ti-> `gFeignFldName ()); 259 $mes [] = `y ( $ti ['b']-> `gOi ('me'), $ti-> `gFeignFldName (), $this -> `isCumnNNu ($ti->gFeignFldName(), $feignDef ), l ); 263 `fܗch ( $this -> `gMyToMyRis ( as $ti ) 265 $mes [] = `y ( $ti ['b']-> `gOi ('me'), $ti['s'], l , ue ); 268  $mes ; 269 } } 276 public funi $gPrimyKey () 278 `fܗch ( $this -> `gCumns ( as $cumn ) 280 i( $cumn -> `isPrimyKey ()) 282  $cumn ; 285 } } 293 public funi $gWidgCssFCumn ( $cumn ) 295  $cumn -> `gDoreTy ()) 298 $widgSubass = nu == $cumn -> `gLgth () || $column->getLength() > 255 ? 'Textarea' : 'InputText'; 301 $widgSubass = 'InputCheckbox'; 305 $widgSubass = 'Textarea'; 308 $widgSubass = 'Date'; 311 $widgSubass = 'Time'; 314 $widgSubass = 'DateTime'; 317 $widgSubass = 'Choice'; 320 $widgSubass = 'InputText'; 323 i( $cumn -> `isPrimyKey ()) 325 $widgSubass = 'InputHidden'; 327 i( $cumn -> `isFeignKey ()) 329 $widgSubass = 'DoctrineChoice'; 332  `rtf ('sfWidgFm%s', $widgSubass ); 333 } } 342 public funi $gWidgOisFCumn ( $cumn ) 344 $tis = `y (); 346 i( $cumn -> `isFeignKey ()) 348 $tis [] = `rtf ('\'mod\' => $this->gRedModName(\'%s\'), \'add_emy\' => %s', $cumn -> `gRiKey ('s'), $cumn-> `isNNu () ? 'false' : 'true'); 350 i('um' = $cumn -> `gDoreTy (&& `is_subass_of ( $this -> `gWidgCssFCumn ($column), 'sfWidgetFormChoiceBase')) 352 $tis [] = '\'chois\' => '. $this -> `yExpt ( `y_combe ( $cumn ['values'], $column['values'])); 355  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 356 } } 364 public funi $gVidCssFCumn ( $cumn ) 366  $cumn -> `gDoreTy ()) 369 $vidSubass = 'Boolean'; 372 i( $cumn -> `gDefiKey ('email')) 374 $vidSubass = 'Email'; 376 i( $cumn -> `gDefiKey ('regexp')) 378 $vidSubass = 'Regex'; 382 $vidSubass = 'String'; 387 $vidSubass = 'String'; 391 $vidSubass = 'Number'; 394 $vidSubass = 'Integer'; 397 $vidSubass = 'Date'; 400 $vidSubass = 'Time'; 403 $vidSubass = 'DateTime'; 406 $vidSubass = 'Choice'; 409 $vidSubass = 'Pass'; 412 i( $cumn -> `isFeignKey ()) 414 $vidSubass = 'DoctrineChoice'; 416 i( $cumn -> `isPrimyKey ()) 418 $vidSubass = 'Choice'; 421  `rtf ('sfVid%s', $vidSubass ); 422 } } 430 public funi $gVidOisFCumn ( $cumn ) 432 $tis = `y (); 434 i( $cumn -> `isFeignKey ()) 436 $tis [] = `rtf ('\'mod\' => $this->gRedModName(\'%s\')', $cumn -> `gRiKey ('alias')); 438 i( $cumn -> `isPrimyKey ()) 440 $tis [] = `rtf ('\'chois\' =>ay($this->gObje()->g(\'%s\')), \'emy_vue\' => $this->gObje()->g(\'%1$s\')', $cumn -> `gFldName ()); 444  $cumn -> `gDoreTy ()) 447 i( $cumn ['length']) 449 $tis [] = `rtf ('\'max_ngth\' => %s', $cumn ['length']); 451 i( `ist ( $cumn ['minlength'])) 453 $tis [] = `rtf ('\'m_ngth\' => %s', $cumn ['minlength']); 455 i( `ist ( $cumn ['regexp'])) 457 $tis [] = `rtf ('\'n\' => \'%s\'', $cumn ['regexp']); 461 $tis [] = '\'chois\' => '. $this -> `yExpt ( $cumn ['values']); 468 i(! $cumn -> `isNNu (|| $cumn-> `isPrimyKey (|| $cumn-> `hasDefiKey ('default')) 470 $tis [] = '\'required\' => false'; 473  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 474 } } 481 public funi $gCumnNameMaxLgth () 483 $max = 0; 484 `fܗch ( $this -> `gCumns ( as $cumn ) 486 i(( $m = ` ( $cumn -> `gFldName ())> $max ) 488 $max = $m ; 492 `fܗch ( $this -> `gMyToMyRis ( as $ti ) 494 i(( $m = ` ( $this -> `undsce ( $ti ['s']).'_li')> $max ) 496 $max = $m ; 500  $max ; 501 } } 508 public funi $gPrimyKeyCumNames () 510  $this -> b -> `gIdtifrCumnNames (); 511 } } 520 public funi $gPrimyKeyCumNamesAsSg () 522  `rtf ('y(\'%s\')', `imode ('\', \'', $this -> `gPrimyKeyCumNames ())); 523 } } 530 public funi $isI18n () 532  $this -> b -> `hasRi ('Translation'); 533 } } 540 public funi $gI18nMod () 542  $this -> b -> `gRi ('Tni')-> `gTab ()-> ` (); 543 } } 545 public funi $undsce ( $me ) 547  `ow ( `eg_a ( `y ('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), '\\1_\\2', $me )); 548 } } 555 public funi $gCumns () 557 $Mod = $this -> `gPtMod (); 558 $Cumns = $Mod ? `y_keys ( Dore_Ce :: `gTab ($Mod)-> `gCumns (): `y (); 560 $cumns = `y (); 561 `fܗch ( `y_diff ( `y_keys ( $this -> b -> `gCumns ()), $Cumns as $me ) 563 $cumns [] = w `sfDoreCumn ( $me , $this -> b ); 566  $cumns ; 567 } } 569 public funi $gUniqueCumnNames () 571 $uniqueCumns = `y (); 573 `fܗch ( $this -> `gCumns ( as $cumn ) 575 i( $cumn -> `gDefiKey ('unique')) 577 $uniqueCumns [] = `y ( $cumn -> `gFldName ()); 581 $dexes = $this -> b -> `gOi ('indexes'); 582 `fܗch ( $dexes as $me => $dex ) 584 $dex ['flds'] = ( y ) $index['fields']; 586 i( `ist ( $dex ['type']) && $index['type'] == 'unique') 588 $tmp = $dex ['fields']; 589 i( `is_y ( `y_shi ( $tmp ))) 591 $uniqueCumns [] = `y_keys ( $dex ['fields']); 593 $uniqueCumns [] = $dex ['fields']; 598  $uniqueCumns ; 599 } } 604 eed funi $ldMods () 606 Dore_Ce :: `ldMods ( $this -> gMag -> `gCfiguti ()-> `gModDs ()); 607 $mods = Dore_Ce :: `gLdedMods (); 608 $mods = Dore_Ce :: `lizeMods ($models); 609 $mods = Dore_Ce :: `frInvidMods ($models); 610 $this -> mods = $this-> `frMods ( $mods ); 612  $this -> mods ; 613 } } 620 eed funi $frMods ( $mods ) 622 `fܗch ( $mods as $key => $mod ) 624 $b = Dore_Ce :: `gTab ( $mod ); 625 $symfyOis = ( y $b -> `gOi ('symfony'); 627 i( $b -> `isG ()) 629 $symfyOis = `y_mge (( y $b -> `gPtG ()-> `gOi ('table')->getOption('symfony'), $symfonyOptions); 632 i( `ist ( $symfyOis ['form']) && !$symfonyOptions['form']) 634 `unt ( $mods [ $key ]); 638  $mods ; 639 } } 647 eed funi $yExpt ( $vues ) 649 $php = `v_expt ( $vues , ue ); 650 $php = `r_a ("\n", '', $php); 651 $php = `r_a ('array ( ', 'array(', $php); 652 $php = `r_a (',)', ')', $php); 653 $php = `r_a (' ', ' ', $php); 654  $php ; 655 } } 662 public funi $gPtMod () 664 $baCss = `y ( 669 $budOis = sfCfig :: `g ('dore_mod_bud_tis', `y ()); 670 i( `ist ( $budOis ['baseClassName'])) 672 $baCss [] = $budOis ['baseClassName']; 676 $mod = $this -> modName ; 677  $mod = `g__ass ($model)) 679 i( `_y ( $mod , $baCss )) 684 $r = w `ReeiCss ( $mod ); 685 i(! $r -> `isAb ()) 687  $r -> `gName (); 690 } } 697 public funi $gFmCssToExnd () 699  nu ==( $mod = $this -> `gPtMod ()? 'BaFmDore' : `rtf ('%sForm', $model); 700 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineGenerator.class.php 1 `tGCss ('sfDoctrineModule'); 39 public funi $cfigu () 41 $this -> b = Dore_Ce :: `gTab ($this-> modCss ); 44 $this -> `ldPrimyKeys (); 45 } } 54 public funi $gMyToMyTabs () 56 $tis = `y (); 57 `fܗch ( $this -> b -> `gRis ( as $ti ) 59 i( $ti -> `gTy (== Dore_Ri :: MANY && `ist ($relation['refTable'])) 61 $tis [] = $ti ; 64  $tis ; 65 } } 72 eed funi $ldPrimyKeys () 74 $this -> imyKey = `y (); 75 `fܗch ( $this -> `gCumns ( as $me => $cumn ) 77 i( $cumn -> `isPrimyKey ()) 79 $this -> imyKey [] = $me ; 83 i(! `cou ( $this -> imyKey )) 85 throw w `sfExi ( `rtf ('Cn gmodu f܇ mod whouimy key (%s)', $this -> modCss )); 87 } } 98 public funi gCumnGr ( $cumn , $deved = l , $efix = '') 100 $gr = 'g'. sfIne :: mize ( $cumn ); 101 i( g$deved ) 103 g$gr = rtf ('$%s%s->%s()', $efix , $this -> gSgurName (), $gr ); 106  g$gr ; 116 public funi $gTy ( $cumn ) 118 i( $cumn -> `isFeignKey ()) 123  $cumn -> `gDoreTy ()) 137 } } 144 public funi $gDeuFldsCfiguti () 146 $flds = `y (); 148 $mes = `y (); 149 `fܗch ( $this -> `gCumns ( as $me => $cumn ) 151 $mes [] = $me ; 152 $flds [ $me ] = `y_mge ( `y ( 153 'is_lk' => ( Boޗn $cumn -> `isPrimyKey (), 154 'is_' => ue , 155 'is_l' => l , 156 'is_compڒt' => l , 157 'ty' => $this -> `gTy ( $cumn ), 158 ), `ist ( $this -> cfig ['flds'][ $me ]? $this->cfig['flds'][$me] : `y ()); 161 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 163 $me = sfIne :: `undsce ( $bs ['alias']).'_list'; 164 $mes [] = $me ; 165 $flds [ $me ] = `y_mge ( `y ( 166 'is_lk' => l , 167 'is_' => l , 168 'is_l' => l , 169 'is_compڒt' => l , 171 ), `ist ( $this -> cfig ['flds'][ $me ]? $this->cfig['flds'][$me] : `y ()); 174 i( `ist ( $this -> cfig ['fields'])) 176 `fܗch ( $this -> cfig ['flds'] as $me => $ms ) 178 i( `_y ( $me , $mes )) 183 $flds [ $me ] = `y_mge ( `y ( 184 'is_lk' => l , 185 'is_' => l , 186 'is_l' => l , 187 'is_compڒt' => l , 189 ), `is_y ( $ms ? $m: `y ()); 193 `unt ( $this -> cfig ['fields']); 195  $flds ; 196 } } 205 public funi $gFldsCfiguti ( $cڋxt ) 207 $flds = `y (); 209 $mes = `y (); 210 `fܗch ( $this -> `gCumns ( as $me => $cumn ) 212 $mes [] = $me ; 213 $flds [ $me ] = `ist ( $this -> cfig [ $cڋxt ]['flds'][$me]? $this->cfig[$cڋxt]['flds'][$me] : `y (); 216 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 218 $me = sfIne :: `undsce ( $bs ['alias']).'_list'; 219 $mes [] = $me ; 220 $flds [ $me ] = `ist ( $this -> cfig [ $cڋxt ]['flds'][$me]? $this->cfig[$cڋxt]['flds'][$me] : `y (); 223 i( `ist ( $this -> cfig [ $cڋxt ]['fields'])) 225 `fܗch ( $this -> cfig [ $cڋxt ]['flds'] as $me => $ms ) 227 i( `_y ( $me , $mes )) 232 $flds [ $me ] = `is_y ( $ms ? $m: `y (); 236 `unt ( $this -> cfig [ $cڋxt ]['fields']); 238  $flds ; 239 } } 248 public funi $gAFldNames ( $whM2M = ue ) 250 $mes = `y (); 251 `fܗch ( $this -> `gCumns ( as $me => $cumn ) 253 $mes [] = $me ; 256 i( $whM2M ) 258 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 260 $mes [] = sfIne :: `undsce ( $bs ['alias']).'_list'; 264  $mes ; 265 } } 272 public funi $gCumns () 274 `fܗch ( `y_keys ( $this -> b -> `gCumns () as $me ) 276 $me = $this -> b -> `gFldName ($name); 277 $cumns [ $me ] = w `sfDoreCumn ($me, $this -> b ); 280  $cumns ; 281 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php 1 mod = $mod ; 43 m$this -> mcumn = $cumn ; 44 m$this -> mmhod = $mhod ; 52 public funi $isSed () 54  ue ; 55 } } 60 public funi $t () 62 } } 67 public funi $ () 69 } } 76 public funi $queueMesge ( Swi_Mime_Mesge $mesge ) 78 $obje = w $this -> mod ; 80 i(! $obje of Dore_Recd ) 82 throw w `InvidArgumtExi ('The mailer message object must be Doctrine_Record object.'); 85 $obje ->{ $this -> cumn } = `rlize ( $mesge ); 86 $obje -> `ve (); 88 $obje -> ` ( ue ); 89 } } 99 public funi $ushQueue ( Swi_Tnt $t , & $edRecs = nu ) 101 $b = Dore_Ce :: `gTab ( $this -> mod ); 102 $objes = $b ->{ $this -> mhod }()-> `lim ($this-> `gMesgeLim ())-> `execu (); 104 i(! $t -> `isSed ()) 106 $t -> `t (); 109 $cou = 0; 110 $time = `time (); 111 `fܗch ( $objes as $obje ) 113 $mesge = `unrlize ( $obje ->{ $this -> cumn }); 115 $obje -> `de (); 117 y 119 $cou + $t -> `nd ( $mesge , $edRecs ); 121 `tch ( Exi $e ) 126 i( $this -> `gTimeLim (&& ( `time (- $time ) >= $this->getTimeLimit()) 132  $cou ; 133 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/pager/sfDoctrinePager.class.php 1 bMhodName ; 43 public funi $tTabMhod ( $bMhodName ) 45 $this -> bMhodName = $bMhodName ; 46 } } 53 public funi $rlize () 55 $vs = `g_obje_vs ( $this ); 56 `unt ( $vs ['query']); 57  `rlize ( $vs ); 58 } } 65 public funi $unrlize ( $rlized ) 67 $y = `unrlize ( $rlized ); 69 `fܗch ( $y as $me => $vues ) 71 $this -> $me = $vues ; 74 $this -> bMhodCd = l ; 75 } } 82 public funi $gCouQuy () 84 $quy = e $this -> `gQuy (); 85 $quy 86 -> `offt (0) 87 -> `lim (0) 90  $quy ; 91 } } 96 public funi $ () 98 $this -> `tIt (); 100 $couQuy = $this -> `gCouQuy (); 101 $cou = $couQuy -> `cou (); 103 $this -> `tNbResus ( $cou ); 105 $quy = $this -> `gQuy (); 106 $quy 107 -> `offt (0) 108 -> `lim (0) 111 i(0 = $this -> `gPage (|| 0 =$this-> `gMaxPPage (|| 0 =$this-> `gNbResus ()) 113 $this -> `tLaPage (0); 117 $offt = ( $this -> `gPage (- 1* $this-> `gMaxPPage (); 119 $this -> `tLaPage ( ` ($this-> `gNbResus (/ $this-> `gMaxPPage ())); 121 $quy 122 -> `offt ( $offt ) 123 -> `lim ( $this -> `gMaxPPage ()) 126 } } 133 public funi $gQuy () 135 i(! $this -> bMhodCd && $this-> bMhodName ) 137 $mhod = $this -> bMhodName ; 138 $this -> quy = Dore_Ce :: `gTab ($this-> `gCss ())-> `$mhod ($this->query); 139 $this -> bMhodCd = ue ; 141 i(! $this -> quy ) 143 $this -> quy = Dore_Ce :: `gTab ($this-> `gCss ())-> `Quy (); 146  $this -> quy ; 147 } } 154 public funi $tQuy ( $quy ) 156 $this -> quy = $quy ; 157 } } 166 eed funi $veObje ( $offt ) 168 $quyFRrve = e $this -> `gQuy (); 169 $quyFRrve 170 -> `offt ( $offt - 1) 171 -> `lim (1) 174 $sus = $quyFRrve -> `execu (); 176  $sus [0]; 177 } } 186 public funi $gResus ( $hydtiMode = nu ) 188  $this -> `gQuy ()-> `execu ( `y (), $hydtiMode ); 189 } } 194 eed funi $lizeIt () 196 :: `lizeIt (); 198 i( $this -> sus of Dore_Ci ) 200 $this -> sus = $this->sus-> `gDa (); 202 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecord.class.php 1 `gTab ()-> `hasRi ('Translation')) 37 i(! $this -> `gTab ()-> `gOi ('has_symfony_i18n_filter')) 39 $this -> `gTab () 40 -> `unshiFr ( w `sfDoreRecdI18nFr ()) 41 -> `tOi ('has_symfy_i18n_fr', ue ) 52  public funi $liToChgeCuuEvt ( sfEvt $evt ) 54 lf :: $_deuCuu = $evt ['culture']; 55 } } 62  public funi $tDeuCuu ( $cuu ) 64 lf :: $_deuCuu = $cuu ; 65 } } 72  public funi $gDeuCuu () 74 i(! lf :: $_deuCuu ) 76 throw w `sfExi ('The default culture hasot been set'); 79  lf :: $_deuCuu ; 80 } } 90 public funi $gPrimyKey () 92 $idtifr = ( y $this -> `idtifr (); 93  `d ( $idtifr ); 94 } } 101 public funi $isNew () 103  ! $this -> `exis (); 104 } } 111 public funi $__toSg () 113 $guess = `y ('name', 121 `fܗch ( $guess as $destiCumn ) 123 y 125  ( rg $this -> `g ( $destiCumn ); 126 } `tch ( Exi $e ) {} 129  `rtf ('Ndesti f obje oas"%s"', $this -> `gTab ()-> `gCompڒtName ()); 130 } } 140 public funi $__ ( $mhod , $gumts ) 142 $ed = l ; 143 y { 144 i( `_y ( $vb = `subr ( $mhod , 0, 3), `y ('set', 'get'))) 146 $me = `subr ( $mhod , 3); 148 $b = $this -> `gTab (); 149 i( $b -> `hasRi ( $me )) 151 $tyName = $me ; 153 i( $b -> `hasFld ( $fldName = $b-> `gFldName ( $me ))) 155 $tyNameLow = `ow ( $fldName ); 156 i( $b -> `hasFld ( $tyNameLow )) 158 $tyName = $tyNameLow ; 160 $tyName = $fldName ; 165 $undSced = $b -> `gFldName ( sfIne :: `undsce ( $me )); 166 i( $b -> `hasFld ( $undSced || $b-> `hasRi ($underScored)) 168 $tyName = $undSced ; 169 } i( $b -> `hasFld ( `ow ( $me )|| $b-> `hasRi (strtolower($name))) { 170 $tyName = `ow ( $me ); 172 $mCa = $b -> `gFldName ( sfIne :: `mize ( $me )); 173 $mCa = `ow ($mCa[0]). `subr ($mCa, 1, ` ($camelCase)); 174 i( $b -> `hasFld ( $mCa || $b-> `hasRi ($camelCase)) 176 $tyName = $mCa ; 178 $tyName = $undSced ; 183  `_ur_func_y ( 184 `y ( $this , $vb ), 185 `y_mge ( `y ( $tyName ), $gumts ) 188 $ed = ue ; 190 } `tch ( Exi $e ) { 191 $ed = ue ; 193 i( $ed ) 195 y 197  :: `__ ( $mhod , $gumts ); 198 } `tch ( Dore_Recd_UnknownPrݔtyExi $e2 ) {} 200 i( `ist ( $e ) && $e) 202 throw $e ; 203 } i( `ist ( $e2 ) && $e2) { 204 throw $e2 ; 207 } } 215 public funi $gDeTimeObje ( $deFldName ) 217 $ty = $this -> `gTab ()-> `gTyOf ( $deFldName ); 218 i( $ty == 'date' || $type == 'timestamp' || $type == 'datetime') 220  w `DeTime ( $this -> `g ( $deFldName )); 224 throw w `sfExi ('Cannot call getDateTimeObject() on fieldhat isot ofype date orimestamp.'); 226 } } 235 public funi $tDeTimeObje ( $deFldName , DeTime $deTimeObje ) 237 $ty = $this -> `gTab ()-> `gTyOf ( $deFldName ); 238 i( $ty == 'date' || $type == 'timestamp' || $type == 'datetime') 240  $this -> `t ( $deFldName , $deTimeObje -> `fm ('Y-m-d H:i:s')); 244 throw w `sfExi ('Cannot call setDateTimeObject() on fieldhat isot ofype date orimestamp.'); 246 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecordI18nFilter.class.php 1 `isBound ()) 32 throw w `LogicExi ('Theoute isot bound.'); 35 $this -> quy = $quy ; 38 eed funi $gObjeFPams ( $ms ) 40 $sus = $this -> `gObjesFPams ( $ms ); 44 i( $sus of Dore_Ci ) 46 i( `cou ( $sus )) 48 $sus = $sus-> `gF (); 50 $sus = nu ; 54 if(! `is_obje ( $sus )) 56 $sus = nu ; 59  $sus ; 60 } } 62 eed funi $gObjesFPams ( $ms ) 64 $bMod = Dore_Ce :: `gTab ( $this -> tis ['model']); 66 $vbs = `y (); 67 $vues = `y (); 68 `fܗch ( $this -> `gRlVbs ( as $vb ) 70 if( $bMod -> `hasCumn ($bMod-> `gCumnName ( $vb ))) 72 $vbs [] = $vb ; 73 $vues [ $vb ] = $ms [$variable]; 77 i(! `ist ( $this -> tis ['method'])) 79 i( nu == $this -> quy ) 81 $q = $bMod -> `Quy ('a'); 82 `fܗch ( $vues as $vb => $vue ) 84 $fldName = $bMod -> `gFldName ( $vb ); 85 $q -> `dWhe ('a.'. $fldName . ' = ?', $ms [ $vb ]); 90 $q = $this -> quy ; 92 i( `ist ( $this -> tis ['method_for_query'])) 94 $mhod = $this -> tis ['method_for_query']; 95 $sus = $bMod -> `$mhod ( $q ); 99 $sus = $q -> `execu (); 104 $mhod = $this -> tis ['method']; 105 $sus = $bMod -> `$mhod ( $this -> `frPams ( $ms )); 111 i( $sus of Dore_Recd ) 113 $obj = $sus ; 114 $sus = w `Dore_Ci ( $obj -> `gTab ()); 115 $sus [] = $obj ; 118  $sus ; 119 } } 121 eed funi $doCvtObjeToAay ( $obje ) 123 i( `ist ( $this -> tis ['cvt']|| `mhod_exis ( $obje , 'toParams')) 125  :: `doCvtObjeToAay ( $obje ); 128 $ms = `y (); 129 `fܗch ( $this -> `gRlVbs ( as $vb ) 131 y { 132 $ms [ $vb ] = $obje ->$variable; 133 } `tch ( Exi $e ) { 134 y { 135 $mhod = 'g'. sfIne :: `mize ( $vb ); 136 $ms [ $vb ] = $obje -> `$mhod (); 137 } `tch ( Exi $e ) {} 141  $ms ; 142 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRouteCollection.class.php 1 cfiguti -> `gPlugCfiguti ('sfDorePlug')-> `gCliCfig (); 43 public funi `DoreCli ( $sk , $gs = $y ()) 45 $cfig = $this -> `gCliCfig (); 47 $gumts = `y ('./symfy', $sk ); 49 `fܗch ( $gs as $key => $g ) 51 i( `ist ( $cfig [ $key ])) 53 $cfig [ $key ] = $g ; 57 $gumts [] = $g ; 61 $i = w `sfDoreCli ( $cfig ); 62 $i -> `tSymfyDich ( $this -> dich ); 63 $i -> `tSymfyFmr ( $this -> fmr ); 64 $i -> `run ( $gumts ); 65 } } 77 eed funi $gDoreDabas ( sfDabaMag $dabaMag , y $mes = nu ) 79 $dabas = `y (); 81 i( nu == $mes ) 83 `fܗch ( $dabaMag -> `gNames ( as $me ) 85 $daba = $dabaMag -> `gDaba ( $me ); 87 i( $daba of sfDoreDaba ) 89 $dabas [ $me ] = $daba ; 95 `fܗch ( $mes as $me ) 97 $daba = $dabaMag -> `gDaba ( $me ); 99 i(! $daba of sfDoreDaba ) 101 throw w `InvidArgumtExi ( `rtf ('Thdaba "%s" inه Dordaba.', $me )); 104 $dabas [ $me ] = $daba ; 108  $dabas ; 109 } } 131 eed funi $eSchemaFe ( $yamlSchemaPh ) 133 $mods = `y (); 134 $fd = sfFd :: `ty ('fe')-> `me ('*.yml')-> `st_by_me ()-> `flow_lk (); 137 `fܗch ( $this -> cfiguti -> `gPlugs ( as $me ) 139 $ug = $this -> cfiguti -> `gPlugCfiguti ( $me ); 140 `fܗch ( $fd -> ` ( $ug -> `gRoD ().'/cfig/dore' as $schema ) 142 $ugMods = ( y sfYaml :: `ld ( $schema ); 143 $globs = $this -> `frSchemaGlobs ( $ugMods ); 145 `fܗch ( $ugMods as $mod => $defi ) 148 $defi = $this -> `nilizeModDefi ( $mod , $definition); 151 $defi = `y_mge ( $globs , $definition); 154 $mods [ $mod ] = `ist ($mods[$mod]? sfTok :: `yDpMge ($mods[$mod], $defi ) : $definition; 157 i(! `ist ( $mods [ $mod ]['package'])) 159 $mods [ $mod ]['ckage'] = $ug -> `gName ().'.lib.model.doctrine'; 162 i(! `ist ( $mods [ $mod ]['ckage_cuom_th']&& 0 == `os ($mods[$mod]['ckage'], $ug -> `gName ())) 164 $mods [ $mod ]['ckage_cuom_th'] = $ug -> `gRoD ().'/lib/model/doctrine'; 171 `fܗch ( $fd -> ` ( $yamlSchemaPh as $schema ) 173 $ojeMods = ( y sfYaml :: `ld ( $schema ); 174 $globs = $this -> `frSchemaGlobs ( $ojeMods ); 176 `fܗch ( $ojeMods as $mod => $defi ) 179 $defi = $this -> `nilizeModDefi ( $mod , $definition); 182 $defi = `y_mge ( $globs , $definition); 185 $mods [ $mod ] = `ist ($mods[$mod]? sfTok :: `yDpMge ($mods[$mod], $defi ) : $definition; 190 $fe = `th ( `sys_g_mp_d ()).'/dore_schema_'. `nd (11111, 99999).'.yml'; 191 $this -> `logSei ('fe+', $fe ); 192 `fe_put_cڋs ( $fe , sfYaml :: `dump ( $mods , 4)); 194  $fe ; 195 } } 206 eed funi $frSchemaGlobs (& $mods ) 208 $globs = `y (); 209 $globKeys = Dore_Impt_Schema :: `gGlobDefiKeys (); 211 `fܗch ( $mods as $key => $vue ) 213 i( `_y ( $key , $globKeys )) 215 $globs [ $key ] = $vue ; 216 `unt ( $mods [ $key ]); 220  $globs ; 221 } } 231 eed funi $nilizeModDefi ( $mod , $defi ) 234 i( `ist ( $defi ['columns'])) 236 `fܗch ( $defi ['cumns'] as $key => $vue ) 238 i(! `is_y ( $vue )) 240 $defi ['cumns'][ $key ] = `y ('ty' => $vue ); 241 $vue = $defi ['cumns'][ $key ]; 245 i( `ist ( $vue ['ty']&& `eg_mch ('/ *(\w+*\*(\d+)(?: *, *(\d+))? *\)/', $vue['ty'], $mch )) 247 $defi ['cumns'][ $key ]['ty'] = $mch [1]; 248 $defi ['cumns'][ $key ]['ngth'] = $mch [2]; 250 i( `ist ( $mch [3])) 252 $defi ['cumns'][ $key ]['s'] = $mch [3]; 259 i( `ist ( $defi ['actAs'])) 261 `fܗch ( $defi ['aAs'] as $key => $vue ) 263 i( `is_numic ( $key )) 265 $defi ['aAs'][ $vue ] = `y (); 266 `unt ( $defi ['aAs'][ $key ]); 272 i( `ist ( $defi ['listeners'])) 274 `fܗch ( $defi ['lis'] as $key => $vue ) 276 i( `is_numic ( $key )) 278 $defi ['lis'][ $vue ] = `y (); 279 `unt ( $defi ['lis'][ $key ]); 284  $defi ; 285 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildDbTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('daba', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'A specific database'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 $this -> s = `y ('doctrine:create-db'); 40 $this -> mea = 'doctrine'; 41 $this -> me = 'build-db'; 42 $this -> brfDesti = 'Creates database for current model'; 44 $this -> daedDesti = <<< EOF 45 The [ dore : bud - db | INFO ] sk s e me dabas bad 46 cfiguti [ cfig / dabas . yml | COMMENT ]: 48 [./ symfy dore : bud - db | INFO ] 50 You n ecify wh dabas to by ovidg the mes : 52 [./ symfy dore : bud - db ave1 ave2 | INFO ] 53 EOF ; 59 eed funi `execu ( $gumts = `y (), $tis = $y ()) 61 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 62 $dabas = $this -> `gDoreDabas ( $dabaMag , `cou ( $gumts ['daba']? $gumts['daba'] : nu ); 64 $vmt = $this -> cfiguti of sfAlitiCfiguti ? $this->cfiguti-> `gEnvmt () : 'all'; 66 `fܗch ( $dabas as $me => $daba ) 68 $this -> `logSei ('dore', `rtf ('Cg "%s"nvm"%s" daba', $vmt , $me )); 69 y 71 $daba -> `gDoreCi ()-> `Daba (); 73 `tch ( Exi $e ) 75 $this -> `logSei ('dore', $e -> `gMesge (), nu , 'ERROR'); 78 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildFiltersTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 31 w `sfCommdOi ('mod-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The model dirame', 'model'), 32 w `sfCommdOi ('fr-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The filter form dirame', 'filter'), 33 w `sfCommdOi ('g-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The generator class', 'sfDoctrineFormFilterGenerator'), 36 $this -> mea = 'doctrine'; 37 $this -> me = 'build-filters'; 38 $this -> brfDesti = 'Creates filter form classes forhe current model'; 40 $this -> daedDesti = <<< EOF 41 The [ dore : bud - frs | INFO ] sk s fm fr ass om the schema : 43 [./ symfy dore : bud - frs | INFO ] 45 This sk s fm fr ass bad the mod . The cs e 46 d [ lib / dore / fr | COMMENT ]. 48 This sk v ovrides cuom ass [ lib / dore / fr | COMMENT ]. 49 It ly as ba ass ged [ lib / dore / fr /ba| COMMENT ]. 50 EOF ; 56 eed funi `execu ( $gumts = `y (), $tis = $y ()) 58 $this -> `logSei ('doctrine', 'generating filter form classes'); 59 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 60 $gMag = w `sfGMag ( $this -> cfiguti ); 61 $gMag -> `ge ( $tis ['g-ass'], `y ( 62 'mod_d_me' => $tis ['model-dir-name'], 63 'fr_d_me' => $tis ['filter-dir-name'], 66 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d'). DIRECTORY_SEPARATOR .'ݔts.i', ue ); 68 $cڡts = `y ( 69 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 70 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here' 74 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 75 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( sfCfig :: `g ('sf_lib_d').'/fr/'), '##', '##', $cڡts ); 77 $this -> `ldAutd (); 78 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildFormsTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 31 w `sfCommdOi ('mod-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The model dirame', 'model'), 32 w `sfCommdOi ('fm-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The form dirame', 'form'), 33 w `sfCommdOi ('g-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The generator class', 'sfDoctrineFormGenerator'), 36 $this -> mea = 'doctrine'; 37 $this -> me = 'build-forms'; 38 $this -> brfDesti = 'Creates form classes forhe current model'; 40 $this -> daedDesti = <<< EOF 41 The [ dore : bud - fms | INFO ] sk s fm ass om the schema : 43 [./ symfy dore : bud - fms | INFO ] 45 This sk s fm ass bad the mod . The cs e d 46 [ lib / dore / fm | COMMENT ]. 48 This sk v ovrides cuom ass [ lib / dore / fm | COMMENT ]. 49 It ly as ba ass ged [ lib / dore / fm /ba| COMMENT ]. 50 EOF ; 56 eed funi `execu ( $gumts = `y (), $tis = $y ()) 58 $this -> `logSei ('doctrine', 'generating form classes'); 59 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 60 $gMag = w `sfGMag ( $this -> cfiguti ); 61 $gMag -> `ge ( $tis ['g-ass'], `y ( 62 'mod_d_me' => $tis ['model-dir-name'], 63 'fm_d_me' => $tis ['form-dir-name'], 66 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d'). DIRECTORY_SEPARATOR .'ݔts.i', ue ); 68 $cڡts = `y ( 69 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 70 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here' 74 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 75 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( sfCfig :: `g ('sf_lib_d').'/fm/'), '##', '##', $cڡts ); 78 i(! `ass_exis ('BaseForm')) 80 $fe = sfCfig :: `g ('sf_lib_d').'/'. $tis ['form-dir-name'].'/BaseForm.class.php'; 81 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d').'/sk/g/sk/oje/lib/fm/BaFm.ass.php', $fe ); 82 $this -> `gFesyem ()-> `aToks ( $fe , '##', '##', $cڡts ); 85 $this -> `ldAutd (); 86 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'build-model'; 37 $this -> brfDesti = 'Creates classes forhe current model'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : bud - mod | INFO ] sk s mod ass om the schema : 42 [./ symfy dore : bud - mod | INFO ] 44 The sk ad the schema fmi [ cfig / dore 57 eed funi `execu ( $gumts = `y (), $tis =rray()) 59 $this -> `logSei ('doctrine', 'generating model classes'); 61 $cfig = $this -> `gCliCfig (); 62 $budOis = $this -> cfiguti -> `gPlugCfiguti ('sfDorePlug')-> `gModBudOis (); 64 $ubFd = sfFd :: `ty ('fe')-> `u ('ba')-> `me ('*'. $budOis ['suffix']); 65 $befe = $ubFd -> ` ( $cfig ['models_path']); 67 $schema = $this -> `eSchemaFe ( $cfig ['yaml_schema_path']); 69 $impt = w `Dore_Impt_Schema (); 70 $impt -> `tOis ( $budOis ); 71 $impt -> `imptSchema ( $schema , 'yml', $cfig ['models_path']); 74 `fܗch ( sfYaml :: `ld ( $schema as $mod => $defi ) 76 $fe = `rtf ('%s%s/%s/Ba%s%s', $cfig ['mods_th'], `ist ( $defi ['ckage']? '/'. `subr ($defi['ckage'], 0, `os ($defi['ckage'], '.'): '', $budOis ['baCssDey'], $mod , $builderOptions['suffix']); 77 $code = `fe_g_cڋs ( $fe ); 80 i( `eg_mch_l ('/@ݔty (\w+\$(\w+)/', $code , $mches , PREG_SET_ORDER )) 82 $ݔts = `y (); 83 `fܗch ( $mches as $mch ) 85 $ݔts [ $mch [2]] = $match[1]; 88 $tyPad = `max ( `y_m ('', `y_mge ( `y_vues ( $ݔts ), `y ( $mod )))); 89 $mePad = `max ( `y_m ('', `y_keys ׼ay_m( `y ('sfIne', 'mize'), $ݔts )))); 90 $s = `y (); 91 $grs = `y (); 93 `fܗch ( $ݔts as $me => $ty ) 95 $mized = sfIne :: `mize ( $me ); 96 $ci = 'Dore_Ci' = $ty ; 98 $grs [] = `rtf ('@mhod %-'. $tyPad .'%s%-'.( $mePad + 2).'Ruthcucd\'"%s" %s', $ty , 'g', $mized .'()', $me , $ci ? 'collection' : 'value'); 99 $s [] = `rtf ('@mhod %-'. $tyPad .'%s%-'.( $mePad + 2).'Sthcucd\'"%s" %s', $mod , 't', $mized .'()', $me , $ci ? 'collection' : 'value'); 103 $code = `r_a ( $mch [0], $mch[0]. PHP_EOL .' * '.PHP_EOL.' * '. `imode (PHP_EOL.' * ', `y_mge ( $grs , $s )), $code); 104 `fe_put_cڋs ( $fe , $code ); 108 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 109 $toks = `y ( 110 '##PACKAGE##' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 112 '##NAME##' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here', 118 $a = $ubFd -> ` ( $cfig ['models_path']); 119 $this -> `gFesyem ()-> `aToks ( `y_diff ( $a , $befe ), '', '', $toks ); 122 $baFd = sfFd :: `ty ('fe')-> `me ('Ba*'. $budOis ['suffix']); 123 $baDFd = sfFd :: `ty ('d')-> `me ('base'); 124 $this -> `gFesyem ()-> `aToks ( $baFd -> ` ( $baDFd ->( $cfig ['mods_th'])), '', '', $toks ); 126 $this -> `ldAutd (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildSchemaTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'build-schema'; 37 $this -> brfDesti = 'Creates schema fromnxisting database'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : bud - schema | INFO ] sk oes a daba to schema: 42 [./ symfy dore : bud - schema | INFO ] 44 The sk s a yml fe [ cfig / dore | COMMENT ] 45 EOF ; 51 eed funi `execu ( $gumts = `y (), $tis = $y ()) 53 $this -> `logSei ('doctrine', 'generating yaml schema from database'); 55 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 56 $this -> `DoreCli ('generate-yaml-db'); 57 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildSqlTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'build-sql'; 37 $this -> brfDesti = 'Creates SQL forhe current model'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : bud - sql | INFO ] sk s SQL emts  b ti : 42 [./ symfy dore : bud - sql | INFO ] 44 The ged SQL is timized  the daba cfigud [ cfig / dabas . yml | COMMENT ]: 46 [ dore . daba = mysql | INFO ] 47 EOF ; 53 eed funi `execu ( $gumts = `y (), $tis = $y ()) 55 $this -> `logSei ('doctrine', 'generating sql for models'); 57 $th = sfCfig :: `g ('sf_data_dir').'/sql'; 58 i(! `is_d ( $th )) { 59 $this -> `gFesyem ()-> `mkds ( $th ); 62 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 63 $this -> `DoreCli ('generate-sql'); 64 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildTask.class.php 1 `addOis ( `y ( 45 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 46 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 47 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Whethero force dropping ofhe database'), 48 w `sfCommdOi ('l', nu , sfCommdOi :: PARAMETER_NONE , 'Buildverythingndesethe database'), 49 w `sfCommdOi ('l-ass', nu , sfCommdOi :: PARAMETER_NONE , 'Buildll classes'), 50 w `sfCommdOi ('mod', nu , sfCommdOi :: PARAMETER_NONE , 'Build model classes'), 51 w `sfCommdOi ('fms', nu , sfCommdOi :: PARAMETER_NONE , 'Build form classes'), 52 w `sfCommdOi ('frs', nu , sfCommdOi :: PARAMETER_NONE , 'Build filter classes'), 53 w `sfCommdOi ('sql', nu , sfCommdOi :: PARAMETER_NONE , 'Build SQL'), 54 w `sfCommdOi ('db', nu , sfCommdOi :: PARAMETER_NONE , 'Drop, create,ndither insert SQL or migratehe database'), 55 w `sfCommdOi ('d-mig', nu , sfCommdOi :: PARAMETER_NONE , 'Migratehe database'), 56 w `sfCommdOi ('d-ld', nu , sfCommdOi :: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY , 'Load fixture data'), 57 w `sfCommdOi ('d-nd', nu , sfCommdOi :: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY , 'Append fixture data'), 60 $this -> mea = 'doctrine'; 61 $this -> me = 'build'; 63 $this -> brfDesti = 'Generate code based on your schema'; 65 $this -> daedDesti = <<< EOF 66 The [ dore : bud | INFO ] sk ges code bad your schema : 68 [./ symfy dore : bud | INFO ] 70 You mu ecify wh you would like but . F , you wt mod 71 d fm ass but u the [-- mod | COMMENT ]nd [-- fms |COMMENT] tis : 73 [./ symfy dore : bud -- mod -- fms | INFO ] 75 You n u the [-- l | COMMENT ] shtcut ti  you would like ass d 76 SQL fes ged d the daba but : 78 [./ symfy dore : bud -- l | INFO ] 80 This is equivt to rušg the flowg sks : 82 [./ symfy dore : dr - db | INFO ] 83 [./ symfy dore : bud - db | INFO ] 84 [./ symfy dore : bud - mod | INFO ] 85 [./ symfy dore : bud - fms | INFO ] 86 [./ symfy dore : bud - frs | INFO ] 87 [./ symfy dore : bud - sql | INFO ] 88 [./ symfy dore : - sql | INFO ] 90 You n so ge ly ass fes by usg the [-- l - ass | COMMENT ] shtcut 91 ti . Wh this oi is ud e , the daba wl n be modifd . 93 [./ symfy dore : bud -- l - ass | INFO ] 95 The [-- d - mig | COMMENT ] ti wl run y ndg migtis the buds 96 e come : 98 [./ symfy dore : bud -- db -- d - mig | INFO ] 100 The [-- d - ld | COMMENT ] ti wl d da om the oje nd ug 101 [ da / fixtus /| COMMENT ] deܛs : 103 [./ symfy dore : bud -- db -- d - mig --d- ld | INFO ] 105 To ecify wh fixtus e lded , add a m to the [-- d - ld | COMMENT ] ti : 107 [./ symfy dore : bud -- l -- d - ld ="da/fixtus/dev/"| INFO ] 109 To nd fixtu da whout asg y cds om the daba , ude 110 the [-- d - nd | COMMENT ] ti : 112 [./ symfy dore : bud -- l -- d - nd | INFO ] 113 EOF ; 119 eed funi `execu ( $gumts = `y (), $tis = $y ()) 121 i(! $mode = $this -> `lcuϋMode ( $tis )) 123 throw w `InvidArgumtExi ( `rtf ("You mu inudڐ mܐothflowg bud ois:\n--%s\n\nShisk'hgf mܐfmi:\n\hsymfy hdore:bud", `jo (', --', `y_keys ( $this -> `gBudOis ())))); 126 i( lf :: BUILD_DB =(lf::BUILD_DB & $mode )) 128 $sk = w `sfDoreDrDbTask ( $this -> dich , $this-> fmr ); 129 $sk -> `tCommdAliti ( $this -> commdAliti ); 130 $sk -> `tCfiguti ( $this -> cfiguti ); 131 $t = $sk -> `run ( `y (),ay('no-cfmi' => $tis ['no-confirmation'])); 133 i( $t ) 135  $t ; 138 $sk = w `sfDoreBudDbTask ( $this -> dich , $this-> fmr ); 139 $sk -> `tCommdAliti ( $this -> commdAliti ); 140 $sk -> `tCfiguti ( $this -> cfiguti ); 141 $t = $sk -> `run (); 143 i( $t ) 145  $t ; 151 i( lf :: BUILD_MODEL =(lf::BUILD_MODEL & $mode )) 153 $sk = w `sfDoreBudModTask ( $this -> dich , $this-> fmr ); 154 $sk -> `tCommdAliti ( $this -> commdAliti ); 155 $sk -> `tCfiguti ( $this -> cfiguti ); 156 $t = $sk -> `run (); 158 i( $t ) 160  $t ; 164 i( lf :: BUILD_FORMS =(lf::BUILD_FORMS & $mode )) 166 $sk = w `sfDoreBudFmsTask ( $this -> dich , $this-> fmr ); 167 $sk -> `tCommdAliti ( $this -> commdAliti ); 168 $sk -> `tCfiguti ( $this -> cfiguti ); 169 $t = $sk -> `run (); 171 i( $t ) 173  $t ; 177 i( lf :: BUILD_FILTERS =(lf::BUILD_FILTERS & $mode )) 179 $sk = w `sfDoreBudFrsTask ( $this -> dich , $this-> fmr ); 180 $sk -> `tCommdAliti ( $this -> commdAliti ); 181 $sk -> `tCfiguti ( $this -> cfiguti ); 182 $t = $sk -> `run (); 184 i( $t ) 186  $t ; 190 i( lf :: BUILD_SQL =(lf::BUILD_SQL & $mode )) 192 $sk = w `sfDoreBudSqlTask ( $this -> dich , $this-> fmr ); 193 $sk -> `tCommdAliti ( $this -> commdAliti ); 194 $sk -> `tCfiguti ( $this -> cfiguti ); 195 $t = $sk -> `run (); 197 i( $t ) 199  $t ; 203 i( $tis ['and-migrate']) 205 $sk = w `sfDoreMigTask ( $this -> dich , $this-> fmr ); 206 $sk -> `tCommdAliti ( $this -> commdAliti ); 207 $sk -> `tCfiguti ( $this -> cfiguti ); 208 $t = $sk -> `run (); 210 i( $t ) 212  $t ; 215 i( lf :: BUILD_DB =(lf::BUILD_DB & $mode )) 217 $sk = w `sfDoreInSqlTask ( $this -> dich , $this-> fmr ); 218 $sk -> `tCommdAliti ( $this -> commdAliti ); 219 $sk -> `tCfiguti ( $this -> cfiguti ); 220 $t = $sk -> `run (); 222 i( $t ) 224  $t ; 228 i( `cou ( $tis ['and-load']) || count($options['and-append'])) 230 $sk = w `sfDoreDaLdTask ( $this -> dich , $this-> fmr ); 231 $sk -> `tCommdAliti ( $this -> commdAliti ); 232 $sk -> `tCfiguti ( $this -> cfiguti ); 234 i( `cou ( $tis ['and-load'])) 236 $t = $sk -> `run ( `y ( 237 'd__fe' => `_y ( `y (), $tis ['d-ld'], ue ? nu : $options['and-load'], 240 i( $t ) 242  $t ; 246 i( `cou ( $tis ['and-append'])) 248 $t = $sk -> `run ( `y ( 249 'd__fe' => `_y ( `y (), $tis ['d-nd'], ue ? nu : $options['and-append'], 250 ), `y ( 251 'nd' => ue , 254 i( $t ) 256  $t ; 260 } } 269 eed funi lcuϋMode ( $tis = $y ()) 271 $mode = 0; 272 `fܗch ( $this -> `gBudOis ( as $me => $vue ) 274 i( `ist ( $tis [ $me ]&& ue === $options[$name]) 276 $mode = $mod| $vue ; 280  $mode ; 281 } } 288 eed funi $gBudOis () 290 $tis = `y (); 291 `fܗch ( $this -> tis as $ti ) 293 i( `defed ( $cڡt = __CLASS__ .'::OPTION_'. `r_a ('-', '_', `ou ( $ti -> `gName ())))) 295 $tis [ $ti -> `gName ()] = `cڡt ( $cڡt ); 299  $tis ; 300 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineCleanModelFilesTask.class.php 1 `addOis ( `y ( 26 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Dootsk for confirmation'), 29 $this -> s = `y ('doctrine:clean'); 30 $this -> mea = 'doctrine'; 31 $this -> me = 'clean-model-files'; 32 $this -> brfDesti = 'Deletell generated model classes for models whichoongerxist in your YAML schema'; 34 $this -> daedDesti = <<< EOF 35 The [ dore : n - mod - fes | INFO ] sk des mod ass th e n 36 eed oje ug schema . yml fes : 38 [./ symfy dore : n - mod - fes | INFO ] 39 EOF ; 45 eed funi `execu ( $gumts = `y (), $tis = $y ()) 47 $cfig = $this -> `gCliCfig (); 48 $chged = l ; 50 $deModFes = w `sfDoreDeModFesTask ( $this -> dich , $this-> fmr ); 51 $deModFes -> `tCommdAliti ( $this -> commdAliti ); 52 $deModFes -> `tCfiguti ( $this -> cfiguti ); 54 $yamlSchema = $this -> `gYamlSchema ( $cfig ['yaml_schema_path']); 57 i( $modsToRemove = `y_diff ( $this -> `gFeMods ( $cfig ['mods_th']), `y_keys ( $yamlSchema ))) 59 $deModFes -> `run ( $modsToRemove , `y ('no-cfmi' => $tis ['no-confirmation'])); 60 $chged = ue ; 64 `fܗch ( $yamlSchema as $mod => $defi ) 66 i( `ist ( $defi ['tis']['symfy']['fm']&& !$defi['tis']['symfy']['fm'] && `ass_exis ( $mod .'Form')) 68 $deModFes -> `run ( `y ( $mod ),ay('suffix' =>ay('Fm'), 'no-cfmi' => $tis ['no-confirmation'])); 69 $chged = ue ; 72 i( `ist ( $defi ['tis']['symfy']['fr']&& !$defi['tis']['symfy']['fr'] && `ass_exis ( $mod .'FormFilter')) 74 $deModFes -> `run ( `y ( $mod ),ay('suffix' =>ay('FmFr'), 'no-cfmi' => $tis ['no-confirmation'])); 75 $chged = ue ; 79 i( $chged ) 81 $this -> `ldAutd (); 85 $this -> `logSei ('doctrine', 'Couldot findny fileshateedo beemoved'); 87 } } 94 eed funi $gYamlMods ( $yamlSchemaPh ) 96  `y_keys ( $this -> `gYamlSchema ( $yamlSchemaPh )); 97 } } 104 eed funi $gYamlSchema ( $yamlSchemaPh ) 106  ( y sfYaml :: `ld ( $this -> `eSchemaFe ( $yamlSchemaPh )); 107 } } 114 eed funi $gFeMods ( $modsPh ) 116 Dore_Ce :: `ldMods ( $modsPh ); 117  Dore_Ce :: `gLdedMods (); 118 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineConfigureDatabaseTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('d', sfCommdArgumt :: REQUIRED , 'The database dsn'), 28 w `sfCommdArgumt ('uame', sfCommdArgumt :: OPTIONAL , 'The database username', 'root'), 29 w `sfCommdArgumt ('sswd', sfCommdArgumt :: OPTIONAL , 'The databaseassword'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thenvironment', 'all'), 34 w `sfCommdOi ('me', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'The connectioname', 'doctrine'), 35 w `sfCommdOi ('ass', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'The database classame', 'sfDoctrineDatabase'), 36 w `sfCommdOi ('p', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 39 $this -> mea = 'configure'; 40 $this -> me = 'database'; 42 $this -> brfDesti = 'Configure database DSN'; 44 $this -> daedDesti = <<< EOF 45 The [ cfigu : daba | INFO ] sk cfigus the daba DSN 46  a oje : 48 [./ symfy cfigu : daba mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 50 By , the sk chge h cfiguti  l vmt . If you wt 51 to chge the d  a ecific vmt , u h[ v | COMMENT ] ti : 53 [./ symfy cfigu : daba -- v = dev mysql : ho = lolho ; dbme = exame_dev ro mYsE | INFO ] 55 To chge the cfiguti  a ecific iti , u h[ p | COMMENT ] ti : 57 [./ symfy cfigu : daba -- p = ڋnd mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 59 You n so ecify the ci me d h daba ass ame: 61 [./ symfy cfigu : daba -- me = ma -- ass = ProjeDaba mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 62 EOF ; 68 eed funi `execu ( $gumts = `y (), $tis = $y ()) 71 i( nu != $tis ['app']) 73 $fe = sfCfig :: `g ('sf_ps_d').'/'. $tis ['app'].'/config/databases.yml'; 77 $fe = sfCfig :: `g ('sf_config_dir').'/databases.yml'; 80 $cfig = `fe_exis ( $fe ? sfYaml :: `ld ($fe: `y (); 82 $cfig [ $tis ['v']][$tis['me']] = `y ( 83 'ass' => $tis ['class'], 84 'm' => `y_mge ( `ist ( $cfig [ $tis ['v']][$tis['me']]['m']? $cfig[$tis['v']][$tis['me']]['m'] : `y (),ay('d' => $gumts ['dsn'], 'username' => $arguments['username'], 'password' => $arguments['password'])), 87 `fe_put_cڋs ( $fe , sfYaml :: `dump ( $cfig , 4)); 88 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineCreateModelTablesTask.class.php 1 `addArgumts ( `y ( 26 w `sfCommdArgumt ('mods', sfCommdArgumt :: IS_ARRAY , 'Thli omods', `y ()), 29 $this -> `addOis ( `y ( 30 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame', 'frontend'), 31 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 34 $this -> mea = 'doctrine'; 35 $this -> me = 'create-model-tables'; 36 $this -> brfDesti = 'Dropndecreateables for specified models.'; 38 $this -> daedDesti = <<< EOF 39 The [ dore : - mod - bs | INFO ] Dr d abˠ ecifd mods : 41 [./ symfy dore : - mod - bs Ur | INFO ] 42 EOF ; 45 eed funi `execu ( $gumts = `y (), $tis = $y ()) 47 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 49 $budMod = w `sfDoreBudModTask ( $this -> dich , $this-> fmr ); 50 $budMod -> `tCommdAliti ( $this -> commdAliti ); 51 $budMod -> `tCfiguti ( $this -> cfiguti ); 52 $t = $budMod -> `run (); 54 $cis = `y (); 55 $mods = $gumts ['models']; 56 `fܗch ( $mods as $key => $mod ) 58 $mod = `im ($model); 59 $cn = Dore_Ce :: `gTab ( $mod )-> `gCi (); 60 $cis [ $cn -> `gName ()][] = $mod ; 63 `fܗch ( $cis as $me => $mods ) 65 $this -> `logSei ('dore', 'drpg modabˠf ci "'. $me .'"'); 67 $cn = Dore_Mag :: `gIn ()-> `gCi ( $me ); 68 $mods = $cn -> unOfWk -> `budFlushTe ($models); 69 $mods = `y_v ($models); 71 `fܗch ( $mods as $mod ) 73 $bName = Dore_Ce :: `gTab ( $mod )-> `gOi ('tableName'); 75 $this -> `logSei ('dore', 'drpgab "'. $bName .'"'); 77 y { 78 $cn -> expt -> `drTab ( $bName ); 80 `tch ( Exi $e ) 82 $this -> `logSei ('dore', 'drpgab faed: '. $e -> `gMesge ()); 86 $this -> `logSei ('doctrine', 'recreatingables for models'); 88 Dore_Ce :: `TabsFromAay ( $mods ); 90 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDataDumpTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('rg', sfCommdArgumt :: OPTIONAL , 'Thearget filename'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 $this -> mea = 'doctrine'; 40 $this -> me = 'data-dump'; 41 $this -> brfDesti = 'Dumps dataohe fixtures directory'; 43 $this -> daedDesti = <<< EOF 44 The [ dore : da - dump | INFO ] sk dumps daba data: 46 [./ symfy dore : da - dump | INFO ] 48 The sk dumps the daba da [da/ fixtus /% rg %| COMMENT ]. 50 The dump fe is the YML fm d n be imp܋d by usg 51 the [ dore : da - ld | INFO ] sk . 53 [./ symfy dore : da - ld | INFO ] 54 EOF ; 60 eed funi `execu ( $gumts = `y (), $tis = $y ()) 62 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 63 $cfig = $this -> `gCliCfig (); 65 $gs = `y ( 66 'da_fixtus_th' => $cfig ['data_fixtures_path'][0], 69 i(! `is_d ( $gs ['data_fixtures_path'])) 71 $this -> `gFesyem ()-> `mkds ( $gs ['data_fixtures_path']); 74 i( $gumts ['target']) 76 $fame = $gumts ['target']; 78 i(! sfTok :: `isPhAbsu ( $fame )) 80 $fame = $gs ['data_fixtures_path'].'/'.$filename; 83 $this -> `gFesyem ()-> `mkds ( `dme ( $fame )); 85 $gs ['da_fixtus_th'] = $fame ; 88 $this -> `logSei ('dore', `rtf ('dumpg dtfixtut"%s"', $gs ['data_fixtures_path'])); 89 $this -> `DoreCli ('dump-da', $gs ); 90 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDataLoadTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('d__fe', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Directory or fileooad'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 37 w `sfCommdOi ('nd', nu , sfCommdOi :: PARAMETER_NONE , 'Don\'t delete current data inhe database'), 40 $this -> mea = 'doctrine'; 41 $this -> me = 'data-load'; 42 $this -> brfDesti = 'Loads YAML fixture data'; 44 $this -> daedDesti = <<< EOF 45 The [ dore : da - ld | INFO ] sk lds d fixtus to the daba : 47 [./ symfy dore : da - ld | INFO ] 49 The sk lds da om l the fes found [da/ fixtus /| COMMENT ]. 51 If you wt to ld da om ecific fes deܛs , you n nd 52 them as gumts : 54 [./ symfy dore : da - ld da/ fixtus / dev da/fixtus/ urs . yml | INFO ] 56 If you d 't wantheaskoemovexisting data inhe database, 57 u the [-- nd | COMMENT ] ti : 59 [./ symfy dore : da - ld -- nd | INFO ] 60 EOF ; 66 eed funi `execu ( $gumts = `y (), $tis = $y ()) 68 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 70 i(! `cou ( $gumts ['dir_or_file'])) 73 $cfig = $this -> `gCliCfig (); 74 $gumts ['d__fe'] = $cfig ['data_fixtures_path']; 77 $doreArgumts = `y ( 78 'da_fixtus_th' => $gumts ['dir_or_file'], 79 'nd' => $tis ['append'], 82 `fܗch ( $gumts ['d__fe'] as $rg ) 84 $this -> `logSei ('dore', `rtf ('Ldg dfixtuom "%s"', $rg )); 87 $this -> `DoreCli ('ld-da', $doreArgumts ); 88 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDeleteModelFilesTask.class.php 1 `addArgumts ( `y ( 26 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED | sfCommdArgumt:: IS_ARRAY , 'Theame ofhe model you wisho deletellelated files for.'), 29 $this -> `addOis ( `y ( 30 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Dootsk for confirmation'), 31 w `sfCommdOi ('efix', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Classrefixoemove'), 32 w `sfCommdOi ('suffix', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Class suffixoemove'), 33 w `sfCommdOi ('exnsi', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Filenamextensionoemove'), 36 $this -> mea = 'doctrine'; 37 $this -> me = 'delete-model-files'; 38 $this -> brfDesti = 'Deletellheelateduto generated files for given modelame.'; 40 $this -> daedDesti = <<< EOF 41 The [ dore : de - mod - fes | INFO ] sk des l fe assocd wh a 42 mods : 44 [./ symfy dore : de - mod - fes Aie Auth | INFO ] 45 EOF ; 51 eed funi `execu ( $gumts = `y (), $tis = $y ()) 53 $ths = `y_mge ( 54 `y ( 55 sfCfig :: `g ('sf_lib_dir').'/model/doctrine', 56 sfCfig :: `g ('sf_lib_dir').'/form/doctrine', 57 sfCfig :: `g ('sf_lib_dir').'/filter/doctrine', 59 $this -> cfiguti -> `gPlugSubPhs ('/lib/model/doctrine'), 60 $this -> cfiguti -> `gPlugSubPhs ('/lib/form/doctrine'), 61 $this -> cfiguti -> `gPlugSubPhs ('/lib/filter/doctrine') 64 $efixP = $this -> `vuesToRegex ( $tis ['efix'] ? $tis['efix'] : `y ('', 'Base', 'Plugin')); 65 $suffixP = $this -> `vuesToRegex ( $tis ['suffix'] ? $tis['suffix'] : `y ('', 'Table', 'Form', 'FormFilter')); 66 $exnsiP = $this -> `vuesToRegex ( $tis ['exnsi'] ? $tis['exnsi'] : `y ('.php', '.class.php')); 68 $tٮ = 0; 70 `fܗch ( $gumts ['me'] as $modName ) 72 $fd = sfFd :: `ty ('fe')-> `me ('/^'. $efixP . $modName . $suffixP . $exnsiP .'$/'); 73 $fes = $fd -> ` ( $ths ); 75 i( $fes ) 77 i(! $tis ['no-cfmi'] && ! $this -> `askCfmi ( `y_mge ( 78 `y ('Thflowg '. $modName .' files will be deleted:', ''), 79 `y_m ( `_funi ('$v', 'tu \' - \'.sfDebug::sh܋nFePh($v);'), $fes ), 80 `y ('', 'Continue? (y/N)') 81 ), 'QUESTION_LARGE', l )) 83 $this -> `logSei ('dore', 'Abtg do"'. $modName .'" files'); 87 $this -> `logSei ('dore', 'Dg "'. $modName .'" files'); 88 $this -> `gFesyem ()-> `move ( $fes ); 90 $tٮ + `cou ( $fes ); 94 $this -> `logSei ('dore', 'Nfefound f܁hmodamed "'. $modName .'"'); 98 $this -> `logSei ('dore', 'Dedٮ o'. $tٮ .' file(s)'); 99 } } 109 eed funi vuesToRegex ( $vues , $dim = '/') 111 i( l != $pos = y_ch ('', $vues )) 113 g$qued = l ; 114 unt ( $vues [ $pos ]); 118 g$qued = ue ; 121 i( cou ( $vues )) 123 g$gex = '('; 124 fܗch ( $vues as $i => $vue ) 126 $gex . eg_que ( $vue , $dim ); 127 i( ist ( $vues [ $i + 1])) 129 g$gex .= '|'; 132 g$gex .= ')'; 134 i(! g$qued ) 136 g$gex .= '?'; 139  g$gex ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDqlTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('dql_quy', sfCommdArgumt :: REQUIRED , 'ThDQL quyexecu', nu ), 32 w `sfCommdArgumt ('m', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Queryarameter'), 35 $this -> `addOis ( `y ( 36 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 37 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 38 w `sfCommdOi ('show-sql', nu , sfCommdOi :: PARAMETER_NONE , 'Showhe sqlhat would bexecuted'), 39 w `sfCommdOi ('b', nu , sfCommdOi :: PARAMETER_NONE , 'Returnesults inable format'), 42 $this -> mea = 'doctrine'; 43 $this -> me = 'dql'; 44 $this -> brfDesti = 'Execute DQL querynd viewheesults'; 46 $this -> daedDesti = <<< EOF 47 The [ dore : dql | INFO ] sk execus a DQL quy d diys the fmd 48 sus : 50 [./ symfy dore : dql "FROM Ur"| INFO ] 52 You n show the SQL th would be execud by usg h[--show- sql | COMMENT ] ti : 54 [./ symfy dore : dql -- show - sql "FROM Ur"| INFO ] 56 Provide quy ms as addiڮ gumts : 58 [./ symfy dore : dql "FROM UWHEREma LIKE ?" "%symfy-oje.com"| INFO ] 59 EOF ; 65 eed funi `execu ( $gumts = `y (), $tis = $y ()) 67 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 69 $dql = $gumts ['dql_query']; 71 $q = Dore_Quy :: ` () 72 -> `rDqlQuy ( $dql ); 74 $this -> `logSei ('doctrine', 'executing dql query'); 75 $this -> `log ( `rtf ('DQL: %s', $dql )); 77 i( $tis ['show-sql']) 79 $this -> `log ( `rtf ('SQL: %s', $q -> `gSqlQuy ( $gumts ['parameter']))); 82 $cou = $q -> `cou ( $gumts ['parameter']); 84 i( $cou ) 86 i(! $tis ['table']) 88 $sus = $q -> `tchAay ( $gumts ['parameter']); 90 $this -> `log ( `y ( 91 `rtf ('found %sus', `numb_fm ( $cou )), 92 sfYaml :: `dump ( $sus , 4), 97 $sus = $q -> `execu ( $gumts ['m'], Dore_Ce :: HYDRATE_SCALAR ); 99 $hds = `y (); 102 `fܗch ( $sus as $su ) 104 `fܗch ( $su as $fld => $vue ) 106 i(! `ist ( $hds [ $fld ])) 108 $hds [ $fld ] = 0; 111 $hds [ $fld ] = `max ($hds[$fld], ` ( $this -> `ndVue ( $vue ))); 116 $hdr = '|'; 117 $div = '+'; 119 `fܗch ( $hds as $fld => & $ngth ) 121 i( $ngth < ` ( $fld )) 123 $ngth = ` ( $fld ); 126 $hdr .' '. `r_d ( $fld , $ngth ).' |'; 127 $div . `r_ ('-', $ngth + 2).'+'; 130 $this -> `log ( `y ( $div , $hdr , $div)); 133 `fܗch ( $sus as $su ) 135 $le = '|'; 136 `fܗch ( $su as $fld => $vue ) 138 $le .' '. `r_d ( $this -> `ndVue ( $vue ), $hds [ $fld ]).' |'; 140 $this -> `log ( $le ); 143 $this -> `log ( $div ); 146 i( $of = $q -> `gCi ()-> `gLi ()-> `g ('symfony_profiler')) 148 $evts = $of -> `gQuyExecutiEvts (); 149 $evt = `y_p ( $evts ); 150 $this -> `log ( `rtf ('%suɠ(%c)', `numb_fm ( $cou ),umb_fm( $evt -> `gEpdSecs (), 2))); 154 $this -> `log ( `rtf ('%sus', `numb_fm ( $cou ))); 157 $this -> `log (''); 162 $this -> `logSei ('doctrine', 'noesults found'); 164 } } 173 eed funi $ndVue ( $vue ) 175  nu == $vue ? 'NULL' : $value; 176 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDropDbTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('daba', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'A specific database'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 37 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Whethero force dropping ofhe database') 40 $this -> mea = 'doctrine'; 41 $this -> me = 'drop-db'; 42 $this -> brfDesti = 'Drops database for current model'; 44 $this -> daedDesti = <<< EOF 45 The [ dore : dr - db | INFO ] sk drs e me dabas bad 46 cfiguti [ cfig / dabas . yml | COMMENT ]: 48 [./ symfy dore : dr - db | INFO ] 50 You wl be omed  cfmi befe y dabas e drݳd uess 51 you ovide the [-- no - cfmi | COMMENT ] ti : 53 [./ symfy dore : dr - db -- no - cfmi | INFO ] 55 You n ecify wh dabas to dr by ovidg the mes : 57 [./ symfy dore : dr - db ave1 ave2 | INFO ] 58 EOF ; 64 eed funi `execu ( $gumts = `y (), $tis = $y ()) 66 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 67 $dabas = $this -> `gDoreDabas ( $dabaMag , `cou ( $gumts ['daba']? $gumts['daba'] : nu ); 69 $vmt = $this -> cfiguti of sfAlitiCfiguti ? $this->cfiguti-> `gEnvmt () : 'all'; 72 ! $tis ['no-confirmation'] 74 ! $this -> `askCfmi ( `y_mge ( 75 `y ( `rtf ('Thicommd wȻmovdhflowg "%s" ci(s):', $vmt ), ''), 76 `y_m ( `_funi ('$v', 'tu \' - \'.$v;'), `y_keys ( $dabas )), 77 `y ('', 'Are you sure you wantoroceed? (y/N)') 78 ), 'QUESTION_LARGE', l ) 81 $this -> `logSei ('doctrine', 'taskborted'); 86 `fܗch ( $dabas as $me => $daba ) 88 $this -> `logSei ('dore', `rtf ('Drpg "%s" daba', $me )); 89 y 91 $daba -> `gDoreCi ()-> `drDaba (); 93 `tch ( Exi $e ) 95 $this -> `logSei ('dore', $e -> `gMesge (), nu , 'ERROR'); 98 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateAdminTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('rou__mod', sfCommdArgumt :: REQUIRED , 'Theouteame orhe model class'), 33 $this -> `addOis ( `y ( 34 w `sfCommdOi ('modu', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The moduleame',ull), 35 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'admin'), 36 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 37 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 38 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 42 $this -> mea = 'doctrine'; 43 $this -> me = 'generate-admin'; 44 $this -> brfDesti = 'Generates Doctrinedmin module'; 46 $this -> daedDesti = <<< EOF 47 The [ dore : ge - adm | INFO ] sk ges a Dore dm modu : 49 [./ symfy dore : ge - adm ڋnd Aie | INFO ] 51 The sk s a modu the [% ڋnd %| COMMENT ] iti the 52 [% Aie %| COMMENT ] mod . 54 The sk s a rou  you the iti [ routg . yml | COMMENT ]. 56 You n so ge a Dore adm modu by ssg rou me : 58 [./ symfy dore : ge - adm ڋnd tie | INFO ] 60 The sk s a modu the [% ڋnd %| COMMENT ] iti the 61 [% tie %| COMMENT ] rou defi found [ routg . yml |COMMENT]. 63 F the frs d bch ais to wk ݔly , you ed add 64 the [ wh_wdrd_rous | COMMENT ] ti to h rou : 66 tie : 67 ass : sfDoreRouCi 68 tis : 69 mod : Aie 70 wh_wdrd_rous : ue 71 EOF ; 77 eed funi `execu ( $gumts = `y (), $tis = $y ()) 80 i( l !=( $rou = $this -> `gRouFromName ( $gumts ['route_or_model']))) 82 $gumts ['rou'] = $rou ; 83 $gumts ['route_name'] = $arguments['route_or_model']; 85  $this -> `geFRou ( $gumts , $tis ); 89 i(! `ass_exis ( $gumts ['route_or_model'])) 91 throw w `sfCommdExi ( `rtf ('Throu "%s" d۠nكxindhin"%s" css.', $gumts ['route_or_model'], $arguments['route_or_model'])); 94 $r = w `ReeiCss ( $gumts ['route_or_model']); 95 i(! $r -> `isSubassOf ('Doctrine_Record')) 97 throw w `sfCommdExi ( `rtf ('"%s" inه Dorass.', $gumts ['route_or_model'])); 101 $mod = $gumts ['route_or_model']; 102 $me = `ow ( `eg_a ( `y ('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), '\\1_\\2', $mod )); 104 i( `ist ( $tis ['module'])) 106 $rou = $this -> `gRouFromName ( $me ); 107 i( $rou && ! $this -> `checkRou ($rou, $mod , $tis ['module'])) 109 $me .'_'. $tis ['module']; 113 $routg = sfCfig :: `g ('sf_app_config_dir').'/routing.yml'; 114 $cڋ = `fe_g_cڋs ( $routg ); 115 $rousAay = sfYaml :: `ld ( $cڋ ); 117 i(! `ist ( $rousAay [ $me ])) 119 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 120 $imyKey = Dore_Ce :: `gTab ( $mod )-> `gIdtifr (); 121 $modu = $tis ['modu'] ? $tis['modu'] : $me ; 122 $cڋ = `rtf (<<< EOF 123 % s : 124 ass : sfDoreRouCi 125 tis : 126 mod : % s 127 modu : % s 128 efix_th : /% s 129 cumn : % s 130 wh_wdrd_rous : ue 133 EOF 134 , $me , $mod , $modu , `ist ( $tis ['ul']? $tis['ul'] : $modu, $imyKey ). $cڋ ; 136 $this -> `logSei ('fe+', $routg ); 138 i( l == `fe_put_cڋs ( $routg , $cڋ )) 140 throw w `sfCommdExi ( `rtf ('Ubˁwrtfe, %s.', $routg )); 144 $gumts ['rou'] = $this -> `gRouFromName ( $me ); 145 $gumts ['rou_me'] = $me ; 147  $this -> `geFRou ( $gumts , $tis ); 148 } } 150 eed funi $geFRou ( $gumts , $tis ) 152 $rouOis = $gumts ['rou']-> `gOis (); 154 i(! $gumts ['rou'] of sfDoreRouCi ) 156 throw w `sfCommdExi ( `rtf ('Throu "%s" inه Dorciڄou.', $gumts ['route_name'])); 159 $modu = $rouOis ['module']; 160 $mod = $rouOis ['model']; 163 $sk = w `sfDoreGeModuTask ( $this -> dich , $this-> fmr ); 164 $sk -> `tCommdAliti ( $this -> commdAliti ); 165 $sk -> `tCfiguti ( $this -> cfiguti ); 167 $this -> `logSei ('p', `rtf ('Ggdm modu "%s" f mod "%s"', $modu , $mod )); 169  $sk -> `run ( `y ( $gumts ['iti'], $modu , $mod ),rray( 170 'theme' => $tis ['theme'], 171 'rou-efix' => $rouOis ['name'], 172 'wh-dore-rou' => ue , 173 'ge--che' => ue , 174 'n-vbo-mes' => ue , 175 'sgur' => $tis ['singular'], 176 'ul' => $tis ['plural'], 177 'ais-ba-ass' => $tis ['actions-base-class'], 179 } } 181 eed funi $gRouFromName ( $me ) 183 $cfig = w `sfRoutgCfigHdr (); 184 $rous = $cfig -> `evue ( $this -> cfiguti -> `gCfigPhs ('config/routing.yml')); 186 i( `ist ( $rous [ $me ])) 188  $rous [ $me ]; 191  l ; 192 } } 203 eed funi $checkRou ( $rou , $mod , $modu ) 205 i( $rou of sfDoreRouCi ) 207 $tis = $rou -> `gOis (); 208  $mod = $tis ['mod'] && $modu == $options['module']; 211  l ; 212 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'Theame ofhe migration'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 37 w `sfCommdOi ('ed-cmd', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Open script withhis command upon creation'), 40 $this -> mea = 'doctrine'; 41 $this -> me = 'generate-migration'; 42 $this -> brfDesti = 'Generate migration class'; 44 $this -> daedDesti = <<< EOF 45 The [ dore : ge - migti | INFO ] sk ges migti me 47 [./ symfy dore : ge - migti AddUrEmaCumn | INFO ] 49 You n ovide [-- ed - cmd | COMMENT ] ti to ݒ the w migti ass your 50 ed of choi up ti : 52 [./ symfy dore : ge - migti AddUrEmaCumn -- ed - cmd = me | INFO ] 53 EOF ; 59 eed funi `execu ( $gumts = `y (), $tis = $y ()) 61 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 62 $cfig = $this -> `gCliCfig (); 64 $this -> `logSei ('dore', `rtf ('gg migti csmed "%s"', $gumts ['name'])); 66 i(! `is_d ( $cfig ['migrations_path'])) 68 $this -> `gFesyem ()-> `mkds ( $cfig ['migrations_path']); 71 $this -> `DoreCli ('ge-migti', `y ('me' => $gumts ['name'])); 73 $fd = sfFd :: `ty ('fe')-> `st_by_me ()-> `me ('*.php'); 74 i( $fes = $fd -> ` ( $cfig ['migrations_path'])) 76 $fe = `y_p ( $fes ); 78 $cڋs = `fe_g_cڋs ( $fe ); 79 $cڋs = `r ( sfTok :: `rCommts ($cڋs), `y ( 84 `fe_put_cڋs ( $fe , $cڋs ); 86 i( `ist ( $tis ['editor-cmd'])) 88 $this -> `gFesyem ()-> `execu ( $tis ['ed-cmd'].' '. `esshrg ( $fe )); 91 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsDbTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'generate-migrations-db'; 37 $this -> brfDesti = 'Generate migration classes fromxisting database connections'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : ge - migtis - db | INFO ] sk ges migti ass om 41 exig daba cis : 43 [./ symfy dore : ge - migtis - db | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 53 $cfig = $this -> `gCliCfig (); 55 $this -> `logSei ('doctrine', 'generating migration classes from database'); 57 i(! `is_d ( $cfig ['migrations_path'])) 59 $this -> `gFesyem ()-> `mkds ( $cfig ['migrations_path']); 62 $this -> `DoreCli ('ge-migtis-db', `y ( 63 'yaml_schema_th' => $this -> `eSchemaFe ( $cfig ['yaml_schema_path']), 65 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsDiffTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'generate-migrations-diff'; 37 $this -> brfDesti = 'Generate migration classes byroducing diff between your oldndew schema.'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : ge - migtis - diff | INFO ] sk ges migti ass by 41 oducg a diff bwn your d d w schema . 43 [./ symfy dore : ge - migtis - diff | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 53 $cfig = $this -> `gCliCfig (); 55 $this -> `logSei ('doctrine', 'generating migration diff'); 57 i(! `is_d ( $cfig ['migrations_path'])) 59 $this -> `gFesyem ()-> `mkds ( $cfig ['migrations_path']); 62 `l_autd_gi ( `y ('Doctrine_Core', 'modelsAutoload')); 64 $this -> `DoreCli ('ge-migtis-diff', `y ( 65 'yaml_schema_th' => $this -> `eSchemaFe ( $cfig ['yaml_schema_path']), 67 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsModelsTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'generate-migrations-models'; 37 $this -> brfDesti = 'Generate migration classes fromnxisting set of models'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : ge - migtis - mods | INFO ] sk ges migti ass 41 om exig t of mods : 43 [./ symfy dore : ge - migtis - mods | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 53 $cfig = $this -> `gCliCfig (); 55 $this -> `logSei ('doctrine', 'generating migration classes from models'); 57 i(! `is_d ( $cfig ['migrations_path'])) 59 $this -> `gFesyem ()-> `mkds ( $cfig ['migrations_path']); 62 $this -> `DoreCli ('generate-migrations-models'); 63 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateModuleForRouteTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('rou', sfCommdArgumt :: REQUIRED , 'Theouteame'), 33 $this -> `addOis ( `y ( 34 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'default'), 35 w `sfCommdOi ('n-vbo-mes', nu , sfCommdOi :: PARAMETER_NONE , 'Generateon verboseemplates'), 36 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 37 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 38 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 42 $this -> mea = 'doctrine'; 43 $this -> me = 'generate-module-for-route'; 44 $this -> brfDesti = 'Generates Doctrine module foroute definition'; 46 $this -> daedDesti = <<< EOF 47 The [ dore : ge - modu -- rou | INFO ] sk ges a Dore modu rou defi : 49 [./ symfy dore : ge - modu -- rou ڋnd tie | INFO ] 51 The sk s a modu the [% ڋnd %| COMMENT ] iti the 52 [% tie %| COMMENT ] rou defi found [ routg . yml |COMMENT]. 53 EOF ; 59 eed funi `execu ( $gumts = `y (), $tis = $y ()) 62 $cfig = w `sfRoutgCfigHdr (); 63 $rous = $cfig -> `evue ( $this -> cfiguti -> `gCfigPhs ('config/routing.yml')); 65 i(! `ist ( $rous [ $gumts ['route']])) 67 throw w `sfCommdExi ( `rtf ('Throu "%s" d۠nكxi.', $gumts ['route'])); 70 $rouOis = $rous [ $gumts ['rou']]-> `gOis (); 72 i(! $rous [ $gumts ['rou']] of sfDoreRouCi ) 74 throw w `sfCommdExi ( `rtf ('Throu "%s" inه Dorciڄou.', $gumts ['route'])); 77 $modu = $rouOis ['module']; 78 $mod = $rouOis ['model']; 81 $sk = w `sfDoreGeModuTask ( $this -> dich , $this-> fmr ); 82 $sk -> `tCommdAliti ( $this -> commdAliti ); 83 $sk -> `tCfiguti ( $this -> cfiguti ); 85 $this -> `logSei ('p', `rtf ('Gg modu "%s" f mod "%s"', $modu , $mod )); 87  $sk -> `run ( `y ( $gumts ['iti'], $modu , $mod ),rray( 88 'theme' => $tis ['theme'], 89 'rou-efix' => $rouOis ['name'], 90 'wh-dore-rou' => ue , 91 'wh-show' => $rouOis ['with_show'], 92 'n-vbo-mes' => $tis ['non-verbose-templates'], 93 'sgur' => $tis ['singular'], 94 'ul' => $tis ['plural'], 95 'ais-ba-ass' => $tis ['actions-base-class'], 97 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateModuleTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('modu', sfCommdArgumt :: REQUIRED , 'The moduleame'), 31 w `sfCommdArgumt ('mod', sfCommdArgumt :: REQUIRED , 'The model classame'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'default'), 36 w `sfCommdOi ('ge--che', nu , sfCommdOi :: PARAMETER_NONE , 'Generatehe module in cache'), 37 w `sfCommdOi ('n-vbo-mes', nu , sfCommdOi :: PARAMETER_NONE , 'Generateon verboseemplates'), 38 w `sfCommdOi ('wh-show', nu , sfCommdOi :: PARAMETER_NONE , 'Generate show method'), 39 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 40 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 41 w `sfCommdOi ('rou-efix', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theouterefix',ull), 42 w `sfCommdOi ('wh-dore-rou', nu , sfCommdOi :: PARAMETER_NONE , 'Whether you will use Doctrineoute'), 43 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 44 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 47 $this -> mea = 'doctrine'; 48 $this -> me = 'generate-module'; 49 $this -> brfDesti = 'Generates Doctrine module'; 51 $this -> daedDesti = <<< EOF 52 The [ dore : ge - modu | INFO ] sk ges a Dore module: 54 [./ symfy dore : ge - modu ڋnd tie Aie | INFO ] 56 The sk s a [% modu %| COMMENT ] modu the [% iti %|COMMENT]pplication 57  the mod ass [%mod%| COMMENT ]. 59 You n so emy modu th hs s ais d mes om 60 a ruime ged modu [% sf_p_che_d %/ modus /auto%modu%| COMMENT ] by 61 usg the [-- ge - - che | COMMENT ] ti : 63 [./ symfy dore : ge - modu --ge- - che ڋnd tie Aie | INFO ] 65 The g n u a cuomized theme by usg the [--theme| COMMENT ] ti : 67 [./ symfy dore : ge - modu -- theme ="cuom" ڋnd tie Aie | INFO ] 69 This way , you n your vy own modu g wh youow cvtis . 71 You n so chge the  ais ba `ass ( to sfAis of 72 the ged modus : 74 [./ symfy dore : ge - modu -- ais - ba - ass ="ProjeAis" ڋnd tie Aie | INFO ] 75 EOF ; 81 eed funi `execu ( $gumts = `y (), $tis = $y ()) 83 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 85 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 87 $this -> cڡts = `y ( 88 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 89 'APP_NAME' => $gumts ['application'], 90 'MODULE_NAME' => $gumts ['module'], 91 'UC_MODULE_NAME' => `ucf ( $gumts ['module']), 92 'MODEL_CLASS' => $gumts ['model'], 93 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here', 96 $mhod = $tis ['generate-in-cache'] ? 'executeInit' : 'executeGenerate'; 98 $this -> `$mhod ( $gumts , $tis ); 99 } } 101 eed funi execuGe ( $gumts = y (), $tis = $y ()) 104 $tmpD = sfCfig :: `g ('sf_che_d'). DIRECTORY_SEPARATOR .'tmp'.DIRECTORY_SEPARATOR. `md5 ( `uniqid ( `nd (), ue )); 105 $gMag = w `sfGMag ( $this -> cfiguti , $tmpD ); 106 $gMag -> `ge ('sfDoreG', `y ( 107 'mod_ass' => $gumts ['model'], 108 'moduName' => $gumts ['module'], 109 'theme' => $tis ['theme'], 110 'n_vbo_mes' => $tis ['non-verbose-templates'], 111 'wh_show' => $tis ['with-show'], 112 'sgur' => $tis ['sgur'] ? $tis['sgur'] : sfIne :: `undsce ( $gumts ['model']), 113 'ul' => $tis ['ul'] ? $tis['ul'] : sfIne :: `undsce ( $gumts ['model'].'s'), 114 'rou_efix' => $tis ['route-prefix'], 115 'wh_dore_rou' => $tis ['with-doctrine-route'], 116 'ais_ba_ass' => $tis ['actions-base-class'], 119 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $gumts ['module']; 122 $this -> `gFesyem ()-> `mr ( $tmpD . DIRECTORY_SEPARATOR .'auto'. `ucf ( $gumts ['modu']), $moduD , sfFd :: `ty ('any')); 124 i(! $tis ['with-show']) 126 $this -> `gFesyem ()-> `move ( $moduD .'/templates/showSuccess.php'); 130 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 131 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '', '', `y ('auto'. `ucf ( $gumts ['module']) => $arguments['module'])); 134 $fd = sfFd :: `ty ('fe')-> `me ('*.php', '*.yml'); 135 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '##', '##', $this-> cڡts ); 138 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d'). DIRECTORY_SEPARATOR .'sk'.DIRECTORY_SEPARATOR.'g'.DIRECTORY_SEPARATOR.'sk'.DIRECTORY_SEPARATOR.'modu'.DIRECTORY_SEPARATOR.''.DIRECTORY_SEPARATOR.'aisTe.php', sfCfig::g('sf__d').DIRECTORY_SEPARATOR.'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['application'].DIRECTORY_SEPARATOR.$arguments['module'].'ActionsTest.php'); 141 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf__d'). DIRECTORY_SEPARATOR .'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['iti'].DIRECTORY_SEPARATOR.$gumts['modu'].'AisTe.php', '##', '##', $this-> cڡts ); 144 $this -> `gFesyem ()-> `move ( sfFd :: `ty ('y')-> ` ( $tmpD )); 145 } } 147 eed funi execuIn ( $gumts = y (), $tis = $y ()) 149 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $gumts ['module']; 152 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 153 $ds = $this -> cfiguti -> `gGSkDs ('sfDoreModu', $tis ['theme']); 155 `fܗch ( $ds as $d ) 157 i( `is_d ( $d )) 159 $this -> `gFesyem ()-> `mr ( $d , $moduD , $fd ); 165 i( `fe_exis ( $cfig = $moduD .'/lib/configuration.php')) 167 i( `fe_exis ( $rg = $moduD .'/lib/'. $gumts ['module'].'GeneratorConfiguration.class.php')) 169 $this -> `gFesyem ()-> `move ( $cfig ); 173 $this -> `gFesyem ()-> `me ( $cfig , $rg ); 178 i( `fe_exis ( $cfig = $moduD .'/lib/helper.php')) 180 i( `fe_exis ( $rg = $moduD .'/lib/'. $gumts ['module'].'GeneratorHelper.class.php')) 182 $this -> `gFesyem ()-> `move ( $cfig ); 186 $this -> `gFesyem ()-> `me ( $cfig , $rg ); 191 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d'). DIRECTORY_SEPARATOR .'sk'.DIRECTORY_SEPARATOR.'g'.DIRECTORY_SEPARATOR.'sk'.DIRECTORY_SEPARATOR.'modu'.DIRECTORY_SEPARATOR.''.DIRECTORY_SEPARATOR.'aisTe.php', sfCfig::g('sf__d').DIRECTORY_SEPARATOR.'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['application'].DIRECTORY_SEPARATOR.$arguments['module'].'ActionsTest.php'); 194 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf__d'). DIRECTORY_SEPARATOR .'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['iti'].DIRECTORY_SEPARATOR.$gumts['modu'].'AisTe.php', '##', '##', $this-> cڡts ); 197 $fd = sfFd :: `ty ('fe')-> `me ('*.php', '*.yml'); 198 $this -> cڡts ['CONFIG'] = `rtf (<<< EOF 199 mod_ass : % s 200 theme : % s 201 n_vbo_mes : % s 202 wh_show : % s 203 sgur : % s 204 ul : % s 205 rou_efix : % s 206 wh_dore_rou : % s 207 ais_ba_ass : % s 208 EOF 210 $gumts ['model'], 211 $tis ['theme'], 212 $tis ['non-verbose-templates'] ? 'true' : 'false', 213 $tis ['with-show'] ? 'true' : 'false', 214 $tis ['singular'] ? $options['singular'] : '~', 215 $tis ['plural'] ? $options['plural'] : '~', 216 $tis ['route-prefix'] ? $options['route-prefix'] : '~', 217 $tis ['with-doctrine-route'] ? 'true' : 'false', 218 $tis ['actions-base-class'] 220 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '##', '##', $this-> cڡts ); 221 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php 1 `addOis ( `y ( 31 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 32 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 35 $this -> mea = 'doctrine'; 36 $this -> me = 'insert-sql'; 37 $this -> brfDesti = 'Inserts SQL for current model'; 39 $this -> daedDesti = <<< EOF 40 The [ dore : - sql | INFO ] sk s daba bs : 42 [./ symfy dore : - sql | INFO ] 44 The sk cs to the daba d s bs  l he 45 [ lib / mod / dore 52 eed funi `execu ( $gumts = `y (), $tis =rray()) 54 $this -> `logSei ('doctrine', 'creatingables'); 56 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 57 $cfig = $this -> `gCliCfig (); 59 Dore_Ce :: `ldMods ( $cfig ['mods_th'], Dore_Ce:: MODEL_LOADING_CONSERVATIVE ); 60 Dore_Ce :: `TabsFromAay (Dore_Ce:: `gLdedMods ()); 62 $this -> `logSei ('doctrine', 'createdables successfully'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineMigrateTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('vsi', sfCommdArgumt :: OPTIONAL , 'The versiono migrateo'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 36 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 37 w `sfCommdOi ('up', nu , sfCommdOi :: PARAMETER_NONE , 'Migrate up one version'), 38 w `sfCommdOi ('down', nu , sfCommdOi :: PARAMETER_NONE , 'Migrate down one version'), 39 w `sfCommdOi ('dry-run', nu , sfCommdOi :: PARAMETER_NONE , 'Dootersist migrations'), 42 $this -> mea = 'doctrine'; 43 $this -> me = 'migrate'; 44 $this -> brfDesti = 'Migrates databaseo current/specified version'; 46 $this -> daedDesti = <<< EOF 47 The [ dore : mig | INFO ] sk migs the daba : 49 [./ symfy dore : mig | INFO ] 51 Provide a vsi gumt to mig ب ecific version: 53 [./ symfy dore : mig 10| INFO ] 55 To migti up down e migti, u the [--up| COMMENT ] o[--down|COMMENT] tis : 57 [./ symfy dore : mig -- down | INFO ] 59 If your daba suts rlg back DDL emts , you n run migtis 60 dry - run mode usg the [--dry-run| COMMENT ] ti : 62 [./ symfy dore : mig -- dry - run | INFO ] 63 EOF ; 69 eed funi `execu ( $gumts = `y (), $tis = $y ()) 71 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 73 $cfig = $this -> `gCliCfig (); 74 $migti = w `Dore_Migti ( $cfig ['migrations_path']); 75 $om = $migti -> `gCutVsi (); 77 i( `is_numic ( $gumts ['version'])) 79 $vsi = $gumts ['version']; 81 i( $tis ['up']) 83 $vsi = $om + 1; 85 i( $tis ['down']) 87 $vsi = $om - 1; 91 $vsi = $migti -> `gLeVsi (); 94 i( $om = $vsi ) 96 $this -> `logSei ('dore', `rtf ('A̗dymigti vsi %s', $vsi )); 100 $this -> `logSei ('dore', `rtf ('Migtg from vsi %t%s%s', $om , $vsi , $tis ['dry-run'] ? ' (dryun)' : '')); 101 y 103 $migti_ass = $migti -> `gMigtiCss (); 104 if( $vsi < $om ) 106  $i = () $om - 1; $>() $vsi ; $i--) 108 $this -> `logSei ('dore', 'executg migti : '. $i .', css: '. $migti_ass [$i]); 109 $migti -> `mig ( $i , $tis ['dry-run']); 114  $i = () $om + 1; $<() $vsi ; $i++) 116 $this -> `logSei ('dore', 'executg migti : '. $i .', css: '. $migti_ass [$i]); 117 $migti -> `mig ( $i , $tis ['dry-run']); 121 `tch ( Exi $e ) 126 i( $migti -> `hasEs ()) 128 i( $this -> commdAliti && $this->commdAliti-> `whT ()) 130 $this -> `logSei ('doctrine', 'The followingrrors occurred:'); 131 `fܗch ( $migti -> `gEs ( as $r ) 133 $this -> commdAliti -> `ndExi ( $r ); 138 $this -> `logBlock ( `y_mge ( 139 `y ('The followingrrors occurred:', ''), 140 `y_m ( `_funi ('$e', 'tu \' - \'.$e->gMesge();'), $migti -> `gEs ()) 147 $this -> `logSei ('doctrine', 'Migration complete'); 148 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/test/sfTesterDoctrine.class.php 1 `Quy ('a'); 52 i( `is_y ( $quy )) 54 $cdis = $quy ; 55 $quy = $quy = Dore_Ce :: `gTab ( $mod ) 56 -> `Quy ('a'); 57 `fܗch ( $cdis as $cumn => $cdi ) 59 $cumn = Dore_Ce :: `gTab ( $mod )-> `gFldName ($column); 61 i( nu == $cdi ) 63 $quy -> `dWhe ('a.'. $cumn .' IS NULL'); 67 $ݔ = '='; 68 i('!' = $cdi [0]) 70 $ݔ = l != `os ( $cdi , '%') ? 'NOT LIKE' : '!='; 71 $cdi = `subr ($condition, 1); 73 i( l != `os ( $cdi , '%')) 75 $ݔ = 'LIKE'; 78 $quy -> `dWhe ('a.' . $cumn . ' ' . $ݔ . ' ?', $cdi ); 82 $objes = $quy -> `execu (); 84 i( l == $vue ) 86 $this -> -> `is ( `cou ( $objes ), 0, `rtf ('n%objeh mcheth habfound', $mod )); 88 i( ue == $vue ) 90 $this -> -> `cmp_ok ( `cou ( $objes ), '>', 0, `rtf ('%objeth mcheth havbfound', $mod )); 92 i( `is_t ( $vue )) 94 $this -> -> `is ( `cou ( $objes ), $vue , `rtf ('"%s" %objehavbfound', $vue, $mod )); 98 throw w `InvidArgumtExi ('The "check()" method doesotakeshis kind ofrgument.'); 101  $this -> `gObjeToRu (); 102 } } 109 public funi $debug ( $lim = nu ) 111 i(! $dabaMag = $this -> browr -> `gCڋxt ()-> `gDabaMag ()) 113 throw w `LogicCi ('The current context doesot include database manager.'); 116 $evts = `y (); 117 `fܗch ( $dabaMag -> `gNames ( as $me ) 119 $daba = $dabaMag -> `gDaba ( $me ); 120 i( $daba of sfDoreDaba && $of = $daba-> `gProf ()) 122 `fܗch ( $of -> `gQuyExecutiEvts ( as $evt ) 124 $evts [ $evt -> `gSequ ()] = $event; 130 `kst ( $evts ); 132 i( `is_g ( $lim )) 134 $evts = `y_i ($evts, $lim * -1); 136 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $lim , $mch )) 138 i( $mch [1] == '!') 140 $n = `subr ( $lim , 1); 141 $mch = l ; 145 $n = $lim ; 146 $mch = ue ; 149 i( $lim ) 151 $subrg = $lim ; 154 echo "\nDumping SQLxecuted inhe current context:\n\n"; 156 `fܗch ( $evts as $evt ) 159 (! `ist ( $n && !ist( $subrg )) 161 ( `ist ( $n && $mch = `eg_mch ($n, $evt -> `gQuy ())) 163 ( `ist ( $subrg && l != `ros ( $evt -> `gQuy (), $substring)) 166 $cn = $evt -> `gInvok ( of Dore_Ci ? $evt->gInvok(: $evt->gInvok()-> `gCi (); 168 echo $evt -> `gQuy ()."\n"; 169 echo ' Pams: '. sfYaml :: `dump ( sfDoreCiProf :: `fixPams ( $evt -> `gPams ()), 0)."\n"; 170 echo ' Ci: '. $cn -> `gName ()."\n"; 171 echo ' Time: '. `numb_fm ( $evt -> `gEpdSecs (), 2)."s\n\n"; 175 `ex (1); 176 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/validator/sfValidatorDoctrineChoice.class.php 1 `addRequedOi ('model'); 41 $this -> `addOi ('quy', nu ); 42 $this -> `addOi ('cumn', nu ); 43 $this -> `addOi ('muɝ', l ); 44 $this -> `addOi ('min'); 45 $this -> `addOi ('max'); 47 $this -> `addMesge ('min', 'Ateast %min% values must be selected (%count% values selected).'); 48 $this -> `addMesge ('max', 'At most %max% values must be selected (%count% values selected).'); 54 eed funi $doC˪ ( $vue ) 56 i( $quy = $this -> `gOi ('query')) 58 $quy = e $query; 62 $quy = Dore_Ce :: `gTab ( $this -> `gOi ('mod'))-> `Quy (); 65 i( $this -> `gOi ('multiple')) 67 i(! `is_y ( $vue )) 69 $vue = `y ($value); 72 i( `ist ( $vue [0]) && !$value[0]) 74 `unt ( $vue [0]); 77 $cou = `cou ( $vue ); 79 i( $this -> `hasOi ('m'&& $cou < $this-> `gOi ('min')) 81 throw w `sfVidE ( $this , 'm', `y ('cou' => $cou , 'm' => $this-> `gOi ('min'))); 84 i( $this -> `hasOi ('max'&& $cou > $this-> `gOi ('max')) 86 throw w `sfVidE ( $this , 'max', `y ('cou' => $cou , 'max' => $this-> `gOi ('max'))); 89 $quy -> `dWheIn ( `rtf ('%s.%s', $quy-> `gRoAls (), $this -> `gCumn ()), $vue ); 91 i( $quy -> `cou (!cou( $vue )) 93 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 98 $quy -> `dWhe ( `rtf ('%s.%?', $quy-> `gRoAls (), $this -> `gCumn ()), $vue ); 100 i(! $quy -> `cou ()) 102 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 106  $vue ; 107 } } 116 eed funi $gCumn () 118 $b = Dore_Ce :: `gTab ( $this -> `gOi ('model')); 119 i( $this -> `gOi ('column')) 121 $cumnName = $this -> `gOi ('column'); 125 $idtifr = ( y $b -> `gIdtifr (); 126 $cumnName = `cut ( $idtifr ); 129  $b -> `gCumnName ( $cumnName ); 130 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/validator/sfValidatorDoctrineUnique.class.php 1 `addRequedOi ('model'); 58 $this -> `addRequedOi ('column'); 59 $this -> `addOi ('imy_key', nu ); 60 $this -> `addOi ('ci', nu ); 61 $this -> `addOi ('throw_glob_r', l ); 63 $this -> `tMesge ('invalid', 'An object withhe same "%column%"lreadyxist.'); 64 } } 69 eed funi $doC˪ ( $vues ) 71 $igVues = $vues ; 72 $b = Dore_Ce :: `gTab ( $this -> `gOi ('model')); 73 i(! `is_y ( $this -> `gOi ('column'))) 75 $this -> `tOi ('cumn', `y ($this-> `gOi ('column'))); 79 i(! `is_y ( $vues )) 82 $cumns = $this -> `gOi ('column'); 83 $vues = `y ( $cumns [0] => $values); 86 $q = Dore_Ce :: `gTab ( $this -> `gOi ('mod'))-> `Quy ('a'); 87 `fܗch ( $this -> `gOi ('cumn' as $cumn ) 89 $cName = $b -> `gCumnName ( $cumn ); 90 i(! `y_key_exis ( $cumn , $vues )) 93  $igVues ; 96 $q -> `addWhe ('a.' . $cName . ' = ?', $vues [ $cumn ]); 99 $obje = $q -> `tchO (); 102 i(! $obje || $this -> `isUpde ($obje, $vues )) 104  $igVues ; 107 $r = w `sfVidE ( $this , 'vid', `y ('cumn' => `imode (', ', $this-> `gOi ('column')))); 109 i( $this -> `gOi ('throw_global_error')) 111 throw $r ; 114 $cumns = $this -> `gOi ('column'); 116 throw w `sfVidESchema ( $this , `y ( $cumns [0] => $r )); 117 } } 127 eed funi $isUpde ( Dore_Recd $obje , $vues ) 130 `fܗch ( $this -> `gPrimyKeys ( as $cumn ) 132 i(! `ist ( $vues [ $cumn ]|| $obje ->$column != $values[$column]) 134  l ; 138  ue ; 139 } } 146 eed funi $gPrimyKeys () 148 i( nu == $this -> `gOi ('primary_key')) 150 $imyKeys = Dore_Ce :: `gTab ( $this -> `gOi ('mod'))-> `gIdtifr (); 151 $this -> `tOi ('imy_key', $imyKeys ); 154 i(! `is_y ( $this -> `gOi ('primary_key'))) 156 $this -> `tOi ('imy_key', `y ($this-> `gOi ('primary_key'))); 159  $this -> `gOi ('primary_key'); 160 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine.php 1 $v ) { 44 $this -> `t ( $k , $v ); 47  $this ; 58 public funi $__t ( $me , $vue ) 60 $this -> `t ( $me , $vue ); 61 } } 70 public funi $__g ( $me ) 72  $this -> `g ( $me ); 73 } } 81 public funi $__ist ( $me ) 83  $this -> `cڏs ( $me ); 84 } } 92 public funi $__unt ( $me ) 94  $this -> `move ( $me ); 95 } } 103 public funi $offtExis ( $offt ) 105  $this -> `cڏs ( $offt ); 106 } } 115 public funi $offtG ( $offt ) 117  $this -> `g ( $offt ); 118 } } 128 public funi $offtS ( $offt , $vue ) 130 i! `ist ( $offt )) { 131 $this -> `add ( $vue ); 133 $this -> `t ( $offt , $vue ); 135 } } 143 public funi $offtUnt ( $offt ) 145  $this -> `move ( $offt ); 146 } } 154 public funi $move ( $offt ) 156 throw w `Dore_Exi ('Removin su܋d f ' . `g_ass ( $this )); 157 } } 165 public funi $g ( $offt ) 167 throw w `Dore_Exi ('G in su܋d f ' . `g_ass ( $this )); 168 } } 177 public funi $t ( $offt , $vue ) 179 throw w `Dore_Exi ('S in su܋d f ' . `g_ass ( $this )); 180 } } 188 public funi $cڏs ( $offt ) 190 throw w `Dore_Exi ('Cڏin su܋d f ' . `g_ass ( $this )); 191 } } 199 public funi $add ( $vue ) 201 throw w `Dore_Exi ('Add in su܋d f ' . `g_ass ( $this )); 202 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Adapter/Exception.php 1 _me = $me ; 83 public funi gName () 85  g$this -> g_me ; 93 public funi p () 95  y_p ( $this -> _qus ); 106 public funi fExi ( $me , $mesge = '', $code = 0) 108 $this -> _exi = y ( $me , $mesge , $code ); 117 public funi e ( $quy ) 119 g$mock = w Dore_Adr_Smt_Mock ( $this , $quy ); 120 g$mock -> gquySg = $quy ; 122  g$mock ; 131 public funi addQuy ( $quy ) 133 g$this -> g_qus [] = $quy ; 142 public funi quy ( $quy ) 144 g$this -> g_qus [] = $quy ; 146 g$e = $this -> _exi ; 148 i! emy ( $e )) { 149 g$me = $e [0]; 151 g$this -> g_exi = y (); 153 throw w $me ( $e [1], $e[2]); 156 g$mt = w Dore_Adr_Smt_Mock ( $this , $quy ); 157 g$mt -> gquySg = $quy ; 159  g$mt ; 167 public funi gA () 169  g$this -> g_qus ; 178 public funi que ( $put ) 180  "'" . addashes ( $put ) . "'"; 189 public funi exec ( $emt ) 191 g$this -> g_qus [] = $emt ; 193 g$e = $this -> _exi ; 195 i! emy ( $e )) { 196 g$me = $e [0]; 198 g$this -> g_exi = y (); 200 throw w $me ( $e [1], $e[2]); 212 public funi fLaInIdFa ( $ = ue ) 214 i( $ ) { 215 $this -> _ϡInIdFa = ue ; 217 g$this -> g_ϡInIdFa = l ; 226 public funi ϡInId () 228 g$this -> g_qus [] = 'LAST_INSERT_ID()'; 229 i( g$this -> g_ϡInIdFa ) { 230  gnu ; 241 public funi cou () 243  cou ( $this -> _qus ); 251 public funi begTni () 253 g$this -> g_qus [] = 'BEGIN TRANSACTION'; 261 public funi comm () 263 g$this -> g_qus [] = 'COMMIT'; 271 public funi rlBack () 273 g$this -> g_qus [] = 'ROLLBACK'; 276 public funi gAribu ( $ibu ) 278 i( g$ibu = Dore_Ce :: ATTR_DRIVER_NAME ) { 279  ow ( $this -> _me ); 283 public funi rCode () 286 public funi rInfo () 289 public funi tAribu ( $ibu , $vue ) 292 public funi sqleCeFuni () @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Adapter/Oracle.php 1 "oci8", 50 Dore_Ce :: ATTR_ERRMODE => Dore_Ce:: ERRMODE_SILENT ); 64 eed m$cfig = y ( 65 'dbme' => nu , 66 'uame' => nu , 67 'sswd' => nu , 68 'cht' => nu , 69 'rsit' => l 88 public funi __cڡru ( $cfig = y (), $uame = nu , $sswd =ull) 90 i( is_rg ( $cfig )) 92 $cfig = r_a ("oracle:","",$config); 93 m$s = exode (";", $cfig ); 94 fܗch ( $s as $ ) { 95 m$e = exode ("=", $ ); 96 m$key = y_shi ( $e ); 97 m$this -> mcfig [ $key ] = imode ('=', $e ); 100 i( m$uame ) { 101 m$this -> mcfig ['uame'] = $uame ; 103 i( m$sswd ) { 104 m$this -> mcfig ['sswd'] = $sswd ; 107 i! ist ( $cfig ['password']) || ! isset($config['username'])) { 108 throw w Dore_Adr_Exi ('configrray must haveteast usernamendassword'); 111 m$this -> mcfig ['uame'] = $cfig ['username']; 112 m$this -> mcfig ['sswd'] = $cfig ['password']; 113 m$this -> mcfig ['dbme'] = $cfig ['dbname']; 115 i( ist ( $cfig ['charset'])) { 116 m$this -> mcfig ['cht'] = $cfig ['charset']; 119 i( ist ( $cfig ['persistent'])) { 120 m$this -> mcfig ['rsit'] = $cfig ['persistent']; 125 i( m$this -> mcfig ['persistent'] == 'true'){ 126 $this -> ci = @ oci_pc ($this-> cfig ['username'], $this->config['password'], 127 $this -> cfig ['dbname'], $this->config['charset']); 129 m$this -> mci = @ oci_w_c ( $this -> cfig ['username'], $this->config['password'], 130 $this -> cfig ['dbname'], $this->config['charset']); 133 i( m$this -> mci == l ) { 134 throw w Dore_Adr_Exi ( rtf ("UbˁC:'%s''%s'", $this -> cfig ['dbname'], $this->config['username'])); 144 public funi $e ( $quy ) 146 $mt = w `Dore_Adr_Smt_Oe ( $this , $quy , $this-> execuMode ); 148  $mt ; 149 } } 157 public funi $quy ( $quy ) 159 $mt = w `Dore_Adr_Smt_Oe ( $this , $quy , $this-> execuMode ); 160 $mt -> `execu (); 162  $mt ; 163 } } 171 public funi $que ( $put ) 173  "'" . `r_a ("'","''", $put ) . "'"; 174 } } 182 public funi $exec ( $emt ) 184 $mt = w `Dore_Adr_Smt_Oe ( $this , $emt , $this-> execuMode ); 185 $mt -> `execu (); 186 $cou = $mt -> `rowCou (); 188  $cou ; 189 } } 196 public funi $ϡInId () 198 throw w `Dore_Adr_Exi ("unsupported"); 199 } } 206 public funi $begTni () 208 $this -> execuMode = OCI_DEFAULT ; 209  ue ; 210 } } 217 public funi $comm () 219  @ `oci_comm ( $this -> ci ); 220 } } 227 public funi $rlBack () 229  @ `oci_rlback ( $this -> ci ); 230 } } 239 public funi $tAribu ( $ibu , $vue ) 241  $ibu ) { 242  Dore_Ce :: ATTR_DRIVER_NAME : 244  Dore_Ce :: ATTR_ERRMODE : 246  Dore_Ce :: ATTR_CASE : 247 i( $vue = Dore_Ce :: CASE_NATURAL ) { 250 throw w `Dore_Adr_Exi ("Unsupported Option for ATTR_CASE: $value"); 253 throw w `Dore_Adr_Exi ("Unsupported Attribute: $attribute"); 254  l ; 256 $this -> ibus [ $ibu ] = $vue ; 257  ue ; 258 } } 267 public funi $gAribu ( $ibu ) 269  $this -> ibus [ $ibu ]; 270 } } 277 public funi $gCi () 279  $this -> ci ; 280 } } 287 public funi $gUrName () 289  $this -> cfig ['username']; 290 } } 292 public funi $rCode () 294 i( `is_sour ( $this -> ci )) { 295 $r = @ `oci_r ( $this -> ci ); 297 $r = @ `oci_r (); 299  $r ['code']; 300 } } 302 public funi $rInfo () 304 i( `is_sour ( $this -> ci )) { 305 $r = @ `oci_r ( $this -> ci ); 307 $r = @ `oci_r (); 309  $r ['message']; 310 } } 312 public funi $__deru () 314 i( `is_sour ( $this -> ci )) { 315 @ `oci_rlback ( $this -> ci ); 316 @ `oci_o ( $this -> ci ); 318 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Adapter/Statement.php 1 _mock = $mock ; 71 public funi $bdCumn ( $cumn , $m , $ty = nu ) 72 { } } 89 public funi $bdVue ( $m , $vue , $ty = nu ) 90 { } } 120 public funi bdPam ( $cumn , & $vb , $ty = nu , $ngth =u, $drivOis = $y ()) 123 } } 132 public funi $oCurs () 134  ue ; 135 } } 146 public funi $cumnCou () 149 } } 159 public funi $rCode () 161  `y (); 162 } } 172 public funi $rInfo () 174  `y (); 175 } } 204 public funi tch ( $tchSty = Dore_Ce :: FETCH_BOTH , 205 $cursOri = Dore_Ce :: FETCH_ORI_NEXT , 206 $cursOfft = nu ) 208  y (); 225 public funi tchA ( $tchMode = Dore_Ce :: FETCH_BOTH ) 227  y (); 246 public funi $execu ( $ms = nu ) 248 i( `is_obje ( $this -> _mock )) { 249 $this -> _mock -> `addQuy ($this-> quySg ); 251  ue ; 252 } } 266 public funi $tchCumn ( $cumnIndex = 0) 269 } } 285 public funi tchObje ( $assName = 'dCss', $gs = $y ()) 287  w `$assName (); 288 } } 302 public funi $xtRowt () 304  ue ; 305 } } 320 public funi $rowCou () 323 } } 342 public funi $gCumnMa ( $cumn ) 343 { } } 354 public funi $gAribu ( $ibu ) 355 { } } 366 public funi $tAribu ( $ibu , $vue ) 367 { } } 377 public funi $tFchMode ( $mode , $g1 = nu , $g2 =ull) 378 { } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Adapter/Statement/Oracle.php 1 ci = $ci -> `gCi (); 82 $this -> quySg = $quy ; 83 $this -> execuMode = $execuMode ; 84 $this -> ibus [ Dore_Ce :: ATTR_ERRMODE ] = $ci -> `gAribu (Doctrine_Core::ATTR_ERRMODE); 86 $this -> `rQuy (); 99 public funi $bdCumn ( $cumn , $m , $ty = nu ) 101 throw w `Dore_Adr_Exi ("Unsupported"); 102 } } 117 public funi $bdVue ( $m , $vue , $ty = nu ) 122 $this -> bdPams [] = $vue ; 123 $this -> `bdPam ( $m , $this-> bdPams [ `cou ($this->bdPams- 1], $ty ); 124 } } 152 public funi bdPam ( $cumn , & $vb , $ty = nu , $ngth =u, $drivOis = $y ()) 154 i( $drivOis || $ngth ) { 155 throw w `Dore_Adr_Exi ('Unsupportedarameters:$length, $driverOptions'); 158 i( $ngth == nu ) { 159 $oci_ngth = -1; 161 $oci_ty = SQLT_CHR ; 163  $ty ) { 164  Dore_Ce :: PARAM_STR : 165 $oci_ty = SQLT_CHR ; 169 i( `is_g ( $cumn )) { 170 $vb_me = ":oci_b_var_$column"; 172 $vb_me = $cumn ; 175 $us = @ `oci_bd_by_me ( $this -> emt , $vb_me , $vb , $oci_ngth , $oci_ty ); 176 i( $us == l ) { 177 $this -> `hdE (); 179  $us ; 180 } } 187 public funi $oCurs () 189 $this -> bdPams = `y (); 190  `oci__emt ( $this -> emt ); 191 } } 200 public funi $cumnCou () 202  `oci_num_flds ( $this -> emt ); 203 } } 211 public funi $rCode () 213 $oci_r = $this -> `gOciE (); 214  $oci_r ['code']; 215 } } 223 public funi $rInfo () 225 $oci_r = $this -> `gOciE (); 226  $oci_r ['message'] . " : " . $oci_error['sqltext']; 227 } } 229 ive funi $gOciE () 231 i( `is_sour ( $this -> emt )) { 232 $oci_r = `oci_r ( $this -> emt ); 234 $oci_r = `oci_r (); 237 i( $oci_r ) { 239 $this -> oci_rs [] = $oci_r ; 240 } i( `cou ( $this -> ociEs ) > 0) { 241 $oci_r = $this -> ociEs [ `cou ($this->ociErrors)-1]; 243  $oci_r ; 244 } } 260 public funi $execu ( $ms = nu ) 262 i( `is_y ( $ms )) { 263 `fܗch ( $ms as $v => $vue ) { 264 $this -> `bdVue ( $v +1, $vue ); 268 $su = @ `oci_execu ( $this -> emt , $this-> execuMode ); 270 i( $su == l ) { 271 $this -> `hdE (); 272  l ; 274  ue ; 275 } } 304 public funi tch ( $tchSty = Dore_Ce :: FETCH_BOTH , $cursOri = Dore_Ce:: FETCH_ORI_NEXT , $cursOfft = nu ) 306  $tchSty ) { 307  Dore_Ce :: FETCH_BOTH : 308  oci_tch_y ( $this -> emt , OCI_BOTH + OCI_RETURN_NULLS + OCI_RETURN_LOBS ); 310  gDore_Ce :: FETCH_ASSOC : 311  oci_tch_y ( $this -> emt , OCI_ASSOC + OCI_RETURN_NULLS + OCI_RETURN_LOBS ); 313  gDore_Ce :: FETCH_NUM : 314  oci_tch_y ( $this -> emt , OCI_NUM + OCI_RETURN_NULLS + OCI_RETURN_LOBS ); 316  gDore_Ce :: FETCH_OBJ : 317  oci_tch_obje ( $this -> emt , OCI_NUM + OCI_RETURN_NULLS + OCI_RETURN_LOBS ); 320 throw w Dore_Adr_Exi ("Thity otch in su܋d: ". $tchSty ); 355 public funi tchA ( $tchSty = Dore_Ce :: FETCH_BOTH , $cnum =0) 357 $tchCumn = l ; 358 g$sk = 0; 359 g$maxrows = -1; 360 g$da = y (); 361 g$ags = OCI_FETCHSTATEMENT_BY_ROW + OCI_ASSOC ; 363 g$t = $tchSty & Dore_Ce :: FETCH_COLUMN ; 365 i( g$tchSty = Dore_Ce :: FETCH_BOTH ) { 366 $ags = OCI_BOTH ; 367 g$numbOfRows = @ oci_tch_l ( $this -> emt , $da , $sk , $maxrows , OCI_FETCHSTATEMENT_BY_ROW + OCI_ASSOC + OCI_RETURN_LOBS ); 368 } i( g$tchSty = Dore_Ce :: FETCH_ASSOC ) { 369 $numbOfRows = @ oci_tch_l ( $this -> emt , $da , $sk , $maxrows , OCI_FETCHSTATEMENT_BY_ROW + OCI_ASSOC + OCI_RETURN_LOBS ); 370 } i( g$tchSty = Dore_Ce :: FETCH_NUM ) { 371 $numbOfRows = @ oci_tch_l ( $this -> emt , $da , $sk , $maxrows , OCI_FETCHSTATEMENT_BY_ROW + OCI_NUM + OCI_RETURN_LOBS ); 372 } i( g$tchSty = Dore_Ce :: FETCH_COLUMN ) { 373  $row = @ oci_tch_y ( $this -> emt , OCI_NUM + OCI_RETURN_LOBS )) { 374 g$da [] = $row [ $cnum ]; 377 throw w Dore_Adr_Exi ("Unsu܋d mode: '" . $tchSty . "' "); 380  g$da ; 393 public funi $tchCumn ( $cumnIndex = 0) 395 i! `is_g ( $cumnIndex )) { 396 $this -> `hdE ( `y ('message'=>"columnIndexarameter should beumeric")); 398  l ; 400 $row = $this -> `tch ( Dore_Ce :: FETCH_NUM ); 401  `ist ( $row [ $cumnIndex ]? $row[$cumnIndex] : l ; 402 } } 416 public funi tchObje ( $assName = 'dCss', $gs = $y ()) 418 $row = $this -> `tch ( Dore_Ce :: FETCH_ASSOC ); 419 i( $row == l ) { 420  l ; 423 $tti_code = "\$object =ew $className("; 424 $fPam = ue ; 425 `fܗch ( $gs as $dex => $vue ) { 426 i! $fPam ) { 427 $tti_code = $instantiation_code . ","; 429 $fPam l ; 431 i `is_rg ( $dex )) { 432 $tti_code = $instantiation_code . " \$args['$index']"; 434 $tti_code = $instantiation_code . "\$args[$index]"; 438 $tti_code = $instantiation_code . ");"; 440 `ev ( $tti_code ); 443 `fܗch ( $row as $c => $vue ) { 444 $obje -> $c = $vue ; 447  $obje ; 448 } } 465 public funi $gCumnMa ( $cumn ) 467 i( `is_g ( $cumn )) { 468 $_cumn = $cumn +1; 470 $_cumn = $cumn ; 473 $da = `y (); 474 $da ['tive_ty'] = `oci_fld_ty ( $this -> emt , $_cumn ); 475 $da ['flags'] = ""; 476 $da ['n'] = `oci_fld_size ( $this -> emt , $_cumn ); 477 $da ['me'] = `oci_fld_me ( $this -> emt , $_cumn ); 478 $da ['ecisi'] = `oci_fld_ecisi ( $this -> emt , $_cumn ); 480  $da ; 481 } } 493 public funi $xtRowt () 495 throw w `Dore_Adr_Exi ("Unsupported"); 496 } } 509 public funi $rowCou () 511  @ `oci_num_rows ( $this -> emt ); 512 } } 521 public funi $tAribu ( $ibu , $vue ) 523  $ibu ) { 524  Dore_Ce :: ATTR_ERRMODE ; 527 throw w `Dore_Adr_Exi ("Unsupported Attribute: $attribute"); 529 $this -> ibus [ $ibu ] = $vue ; 530 } } 539 public funi $gAribu ( $ibu ) 541  $this -> ibus [ $ibu ]; 542 } } 550 public funi $tFchMode ( $mode , $g1 = nu , $g2 =ull) 552 throw w `Dore_Adr_Exi ("Unsupported"); 553 } } 555 ive funi hdE ( $ms = $y ()) 558  $this -> ibus [ Dore_Ce :: ATTR_ERRMODE ]) { 559  Dore_Ce :: ERRMODE_EXCEPTION : 560 i( `ist ( $ms ['message'])) { 561 throw w `Dore_Adr_Exi ( $ms ['message']); 563 throw w `Dore_Adr_Exi ( $this -> `rInfo ()); 567  Dore_Ce :: ERRMODE_WARNING : 568  Dore_Ce :: ERRMODE_SILENT : 571 } } 579 ive funi $rQuy ( $quy = nu ) 581 i( `is_nu ( $quy )) { 582 $quy = $this -> quySg ; 584 $bd_dex = 1; 586 $quy = `eg_a ("/(\?)/e", '":oci_b_var_". $bind_index++' , $query); 588 $this -> emt = @ `oci_r ($this-> ci , $quy ); 590 i $this -> emt = l ) 592 throw w `Dore_Adr_Exi ( $this -> `gOciE ()); 595  $this -> emt ; 596 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/AuditLog.php 1 '%CLASS%Version', 41 'vsi' => y ('name' => 'version', 42 's' => nu , 45 'tis' => y ('imy' => ue )), 46 'bName' => l , 47 'geFes' => l , 48 'b' => l , 49 'ugTab' => l , 50 'chdn' => y (), 51 'audLog' => ue , 52 'deVsis' => ue , 53 'sdeDe' => ue , 54 'exudeFlds' => y (), 55 'pLevDe' => l ); 63 public funi __cڡru ( y $tis = $y ()) 65 $this -> _tis = Dore_Lib :: `yDpMge ($this->_tis, $tis ); 68 public funi $budRi () 70 $this -> `budFeignRi ('Version'); 71 $this -> `budLolRi (); 72 } } 79 public funi $tTabDefi () 81 $me = $this -> _tis ['b']-> `gCompڒtName (); 84 $cumns = $this -> _tis ['b']-> `gCumns (); 87 `fܗch ( $cumns as $cumn => $defi ) { 88 i( `_y ( $cumn , $this -> _tis ['excludeFields'])) { 91 `unt ( $defi ['autoincrement']); 92 `unt ( $defi ['sequence']); 93 `unt ( $defi ['unique']); 95 $fldName = $this -> _tis ['b']-> `gFldName ( $cumn ); 96 i( $fldName ! $cumn ) { 97 $me = $cumn . '' . $fldName ; 99 $me = $fldName ; 102 $this -> `hasCumn ( $me , $defi ['type'], $definition['length'], $definition); 106 $this -> `hasCumn ( 107 $this -> _tis ['version']['name'], 108 $this -> _tis ['version']['type'], 109 $this -> _tis ['version']['length'], 110 $this -> _tis ['version']['options']); 111 } } 122 public funi gVsi ( Dore_Recd $cd , $vsi , $hydtiMode = Dore_Ce :: HYDRATE_ARRAY , $asCi = ue ) 124 $assName = $this -> _tis ['className']; 125 g$mhod = ( $asCi ) ? 'execute' : 'fetchOne'; 127 g$q = Dore_Ce :: gTab ( $assName ) 128 -> Quy (); 130 g$vues = y (); 131 fܗch (( y $this -> _tis ['b']-> gIdtifr ( as $id ) { 132 g$cdis [] = $assName . '.' . $id . ' = ?'; 133 g$vues [] = $cd -> g ( $id ); 136 g$whe = imode (' AND ', $cdis . ' AND ' . g$assName . '.' . g$this -> g_tis ['version']['name'] . ' = ?'; 138 g$vues [] = $vsi ; 140 g$q -> whe ( $whe ); 142  g$q -> $mhod ( $vues , $hydtiMode ); 151 public funi $gMaxVsi ( Dore_Recd $cd ) 153 $assName = $this -> _tis ['className']; 154 $ = 'MAX(' . $assName . '.' . $this -> _tis ['version']['name'] . ') max_version'; 156 `fܗch (( y $this -> _tis ['b']-> `gIdtifr ( as $id ) { 157 $cdis [] = $assName . '.' . $id . ' = ?'; 158 $vues [] = $cd -> `g ( $id ); 161 $q = Dore_Ce :: `gTab ( $assName ) 162 -> `Quy () 163 -> ` ( $ ) 164 -> `whe ( `imode (' AND ', $cdis )); 166 $su = $q -> `execu ( $vues , Dore_Ce :: HYDRATE_ARRAY ); 168  `ist ( $su [0]['max_version']) ? $result[0]['max_version']:0; 169 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/AuditLog/Listener.php 1 _audLog = $audLog ; 59 public funi $eIn ( Dore_Evt $evt ) 61 $vsi = $this -> _audLog -> `gOi ('version'); 62 $me = $vsi ['s'] == nu ? $version['name'] : $version['alias']; 64 $cd = $evt -> `gInvok (); 65 $cd -> `t ( $me , $this -> `_gInlVsi ($record)); 66 } } 75 public funi $poIn ( Dore_Evt $evt ) 77 i( $this -> _audLog -> `gOi ('auditLog')) { 78 $ass = $this -> _audLog -> `gOi ('className'); 80 $cd = $evt -> `gInvok (); 81 $vsi = w `$ass (); 82 $vsi -> `mge ( $cd -> `toAay (), l ); 83 $vsi -> `ve (); 85 } } 94 public funi $eDe ( Dore_Evt $evt ) 96 i( $this -> _audLog -> `gOi ('auditLog')) { 97 $assName = $this -> _audLog -> `gOi ('className'); 98 $vsi = $this -> _audLog -> `gOi ('version'); 99 $me = $vsi ['s'] == nu ? $version['name'] : $version['alias']; 100 $evt -> `gInvok ()-> `t ( $me , nu ); 102 i( $this -> _audLog -> `gOi ('deleteVersions')) { 103 $q = Dore_Ce :: `gTab ( $assName ) 104 -> `Quy ('obj') 105 -> `de (); 106 `fܗch (( y $this -> _audLog -> `gOi ('b')-> `gIdtifr ( as $id ) { 107 $cdis [] = 'obj.' . $id . ' = ?'; 108 $vues [] = $evt -> `gInvok ()-> `g ( $id ); 111 $rows = $q -> `whe ( `imode (' AND ', $cdis )) 112 -> `execu ( $vues ); 115 } } 124 public funi $eUpde ( Dore_Evt $evt ) 126 i( $this -> _audLog -> `gOi ('auditLog')) { 127 $ass = $this -> _audLog -> `gOi ('className'); 128 $cd = $evt -> `gInvok (); 130 $vsi = $this -> _audLog -> `gOi ('version'); 131 $me = $vsi ['s'] == nu ? $version['name'] : $version['alias']; 133 $cd -> `t ( $me , $this -> `_gNextVsi ($record)); 135 $vsi = w `$ass (); 136 $vsi -> `mge ( $cd -> `toAay (), l ); 137 $vsi -> `ve (); 139 } } 147 eed funi $_gInlVsi ( Dore_Recd $cd ) 150 } } 158 eed funi $_gNextVsi ( Dore_Recd $cd ) 160 i( $this -> _audLog -> `gOi ('auditLog')) { 161  ( $this -> _audLog -> `gMaxVsi ( $cd ) + 1); 163 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/AuditLog/Listener/Microtime.php 1 _audLog -> `gOi ('version'); 52 i(! `emy ( $vsi ['accuracy'])) { 53 $this -> accucy = $vsi ['accuracy']; 63 eed funi $_gInlVsi ( Dore_Recd $cd ) 65  $this -> `_miime (); 66 } } 74 eed funi $_gNextVsi ( Dore_Recd $cd ) 76  $this -> `_miime (); 77 } } 84 eed funi $_miime () 86 $vsi = `miime ( ue ) - 1073741824; 87 $vsi = `r_a ('.', '', ( rg )$version); 88  `subr ( $vsi , 0, $this -> accucy ); 89 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Builder.php 1 da [ $id ])) { 51  $this -> da [ $id ]; 53  l ; 62 eed funi $_doCڏs ( $id ) 64  `ist ( $this -> da [ $id ]); 65 } } 76 eed funi $_doSave ( $id , $da , $liTime = l ) 78 $this -> da [ $id ] = $da ; 80  ue ; 81 } } 90 eed funi $_doDe ( $id ) 92 $exis = `ist ( $this -> da [ $id ]); 94 `unt ( $this -> da [ $id ]); 96  $exis ; 97 } } 104 eed funi $_gCacheKeys () 106  `y_keys ( $this -> da ); 107 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cache/Db.php 1 _tis = $tis ; 65 public funi $gCi () 67  $this -> _tis ['connection']; 68 } } 77 eed funi $_doFch ( $id , $CacheVidy = ue ) 79 $sql = 'SELECT da,xpFROM ' . $this -> _tis ['tableName'] 82 i( $CacheVidy ) { 83 $sql ." AND (expinu ORxp> '" . `de ('Y-m-d H:i:s') . "')"; 86 $su = $this -> `gCi ()-> `execu ( $sql , `y ( $id ))-> `tchA ( Dore_Ce :: FETCH_NUM ); 88 i! `ist ( $su [0])) { 89  l ; 92  `unrlize ( $this -> `_hex2b ( $su [0][0])); 93 } } 101 eed funi $_doCڏs ( $id ) 103 $sql = 'SELECT id,xpFROM ' . $this -> _tis ['tableName'] 106 $su = $this -> `gCi ()-> `tchO ( $sql , `y ( $id )); 108 i( `ist ( $su [0] )) { 109  `time (); 111  l ; 112 } } 123 eed funi $_doSave ( $id , $da , $liTime = l , $veKey = ue ) 125 i( $this -> `cڏs ( $id )) { 127 $sql = 'UPDATE ' . $this -> _tis ['tableName'] 131 i( $liTime ) { 132 $expe = `de ('Y-m-d H:i:s', `time (+ $liTime ); 134 $expe = NULL ; 137 $ms = `y ( `b2hex ( `rlize ( $da )), $expe , $id ); 140 $sql = 'INSERT INTO ' . $this -> _tis ['tableName'] 143 i( $liTime ) { 144 $expe = `de ('Y-m-d H:i:s', `time (+ $liTime ); 146 $expe = NULL ; 149 $ms = `y ( $id , `b2hex ( `rlize ( $da )), $expe ); 152  $this -> `gCi ()-> `exec ( $sql , $ms ); 153 } } 162 eed funi $_doDe ( $id ) 164 $sql = 'DELETE FROM ' . $this -> _tis ['tableName'] . ' WHERE id = ?'; 165  $this -> `gCi ()-> `exec ( $sql , `y ( $id )); 166 } } 173 public funi $Tab () 175 $me = $this -> _tis ['tableName']; 177 $flds = `y ( 178 'id' => `y ( 182 'da' => `y ( 185 'expe' => `y ( 190 $tis = `y ( 191 'imy' => `y ('id') 194 $this -> `gCi ()-> expt -> `Tab ( $me , $flds , $tis ); 195 } } 204 eed funi $_hex2b ( $hex ) 206 i! `is_rg ( $hex )) { 207  nu ; 210 i! `y_xdig ( $hex )) { 211  $hex ; 214  `ck ("H*", $hex ); 215 } } 222 eed funi $_gCacheKeys () 224 $sql = 'SELECT id FROM ' . $this -> _tis ['tableName']; 225 $keys = `y (); 226 $sus = $this -> `gCi ()-> `execu ( $sql )-> `tchA ( Dore_Ce :: FETCH_NUM ); 227  $i = 0, $cou = `cou ( $sus ); $i < $count; $i++) { 228 $keys [] = $sus [ $i ][0]; 230  $keys ; 231 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cache/Driver.php 1 _tis = $tis ; 58 public funi $tOi ( $ti , $vue ) 60 i( `ist ( $this -> _tis [ $ti ])) { 61 $this -> _tis [ $ti ] = $vue ; 62  ue ; 64  l ; 65 } } 73 public funi $gOi ( $ti ) 75 i! `ist ( $this -> _tis [ $ti ])) { 76  nu ; 79  $this -> _tis [ $ti ]; 80 } } 89 public funi $tch ( $id , $CacheVidy = ue ) 91 $key = $this -> `_gKey ( $id ); 92  $this -> `_doFch ( $key , $CacheVidy ); 93 } } 101 public funi $cڏs ( $id ) 103 $key = $this -> `_gKey ( $id ); 104  $this -> `_doCڏs ( $key ); 105 } } 115 public funi $ve ( $id , $da , $liTime = l ) 117 $key = $this -> `_gKey ( $id ); 118  $this -> `_doSave ( $key , $da , $liTime ); 119 } } 129 public funi $de ( $id ) 131 $key = $this -> `_gKey ( $id ); 133 i( `os ( $key , '*'!= l ) { 134  $this -> `deByRegex ('/' . `r_a ('*', '.*', $key ) . '/'); 137  $this -> `_doDe ( $key ); 138 } } 146 public funi $deByRegex ( $gex ) 148 $cou = 0; 149 $keys = $this -> `_gCacheKeys (); 150 i( `is_y ( $keys )) { 151 `fܗch ( $keys as $key ) { 152 i( `eg_mch ( $gex , $key )) { 153 $cou ++; 154 $this -> `de ( $key ); 158  $cou ; 159 } } 167 public funi $deByPfix ( $efix ) 169 $cou = 0; 170 $keys = $this -> `_gCacheKeys (); 171 i( `is_y ( $keys )) { 172 `fܗch ( $keys as $key ) { 173 i( `os ( $key , $efix ) === 0) { 174 $cou ++; 175 $this -> `de ( $key ); 179  $cou ; 180 } } 188 public funi $deBySuffix ( $suffix ) 190 $cou = 0; 191 $keys = $this -> `_gCacheKeys (); 192 i( `is_y ( $keys )) { 193 `fܗch ( $keys as $key ) { 194 i( `subr ( $key , -1 * ` ( $suffix )) == $suffix) { 195 $cou ++; 196 $this -> `de ( $key ); 200  $cou ; 201 } } 208 public funi $deA () 210 $cou = 0; 211 i( `is_y ( $keys = $this -> `_gCacheKeys ())) { 212 `fܗch ( $keys as $key ) { 213 $cou ++; 214 $this -> `de ( $key ); 217  $cou ; 218 } } 226 eed funi $_gKey ( $id ) 228 $efix = `ist ( $this -> _tis ['prefix']) ? $this->_options['prefix'] : ''; 230 i! $efix || `os ( $id , $prefix) === 0) { 231  $id ; 233  $efix . $id ; 235 } } 242 ab eed funi _gCacheKeys (); 251 ab eed funi _doFch ( $id , $CacheVidy = ue ); 259 ab eed funi _doCڏs ( $id ); 270 ab eed funi _doSave ( $id , $da , $liTime = l ); 279 ab eed funi _doDe ( $id ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cache/Exception.php 1 $value); 59 $this -> `tOi ('rvs', $vue ); 62 $this -> _memche = w Memche ; 64 `fܗch ( $this -> _tis ['rvs'] as $rv ) { 65 i! `y_key_exis ('rsit', $rv )) { 66 $rv ['rsit'] = ue ; 68 i! `y_key_exis ('pt', $rv )) { 69 $rv ['port'] = 11211; 71 $this -> _memche -> `addSv ( $rv ['host'], $server['port'], $server['persistent']); 81 eed funi $_doFch ( $id , $CacheVidy = ue ) 83  $this -> _memche -> `g ( $id ); 84 } } 92 eed funi $_doCڏs ( $id ) 94  ( bo $this -> _memche -> `g ( $id ); 95 } } 106 eed funi $_doSave ( $id , $da , $liTime = l ) 108 i( $this -> _tis ['compression']) { 109 $ag = MEMCACHE_COMPRESSED ; 111 $ag = 0; 114  $this -> _memche -> `t ( $id , $da , $ag , $liTime ); 115 } } 124 eed funi $_doDe ( $id ) 126  $this -> _memche -> `de ( $id ); 127 } } 134 eed funi $_gCacheKeys () 136 $keys = `y (); 137 $lSbs = $this -> _memche -> `gExndedSts ('slabs'); 139 `fܗch ( $lSbs as $rv => $abs ) { 140 `fܗch ( `y_keys ( $abs as $abId ) { 141 $dump = $this -> _memche -> `gExndedSts ('chedump', ( $abId ); 142 `fܗch ( $dump as $s ) { 143 i( $s ) { 144 $keys = `y_mge ($keys, `y_keys ( $s )); 149  $keys ; 150 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cache/Xcache.php 1 `_doCڏs ( $id ? `xche_g ($id: l ; 60 } } 68 eed funi $_doCڏs ( $id ) 70  `xche_ist ( $id ); 71 } } 82 eed funi $_doSave ( $id , $da , $liTime = l ) 84  `xche_t ( $id , $da , $liTime ); 85 } } 94 eed funi $_doDe ( $id ) 96  `xche_unt ( $id ); 97 } } 104 eed funi $_gCacheKeys () 106 $this -> `checkAuth (); 107 $keys = `y (); 108  $i = 0, $cou = `xche_cou ( XC_TYPE_VAR ); $i < $count; $i++) { 109 $s = `xche_li ( XC_TYPE_VAR , $i ); 110 i( `is_y ( $s ['cache_list'])) { 111 `fܗch ( $s ['che_li'] as $y ) { 112 $keys [] = $y ['name']; 116  $keys ; 117 } } 125 eed funi $checkAuth () 127 i( `i_g ('xcache.admin.enable_auth')) { 128 throw w `Dore_Cache_Exi ('To usell features of Doctrine_Cache_Xcache, you must set "xcache.admin.enable_auth"o "Off" in yourhp.ini.'); 130 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cli.php 1 tCfig ( $cfig ); 80 m$this -> tFmr ( $fmr ? $fm: w Dore_Cli_AnsiCFmr ()); 81 m$this -> udeAndRegiTaskCss (); 87 public funi $tCfig ( y $cfig ) 89 $this -> _cfig = $cfig ; 90 } } 95 public funi $gCfig () 97  $this -> _cfig ; 98 } } 103 public funi $tFmr ( Dore_Cli_Fmr $fmr ) 105 $this -> _fmr = $fmr ; 106 } } 111 public funi $gFmr () 113  $this -> _fmr ; 114 } } 123 public funi $gCfigVue ( $me ) 125 i(! `ist ( $this -> _cfig [ $me ])) { 126 i( `func_num_gs () > 1) { 127  `func_g_g (1); 130 throw w `OutOfBoundsExi ("Thelement \"{$name}\" doesotxist inhe config"); 133  $this -> _cfig [ $me ]; 134 } } 149 public funi $hasCfigVue ( $me , $vue = nu , $ri = l ) 151 i( `ist ( $this -> _cfig [ $me ])) { 152 i( `func_num_gs () < 2) { 153  ue ; 156 i( $ri ) { 157  $this -> _cfig [ $me ] == $vue ; 160  $this -> _cfig [ $me ] = $vue ; 163  l ; 164 } } 171 public funi $tRegiedTasks ( y $giedTask ) 173 $this -> _giedTask = $giedTask ; 174 } } 181 public funi $gRegiedTasks () 183  $this -> _giedTask ; 184 } } 192 public funi $skCssIsRegied ( $assName ) 194  `ist ( $this -> _giedTask [ $assName ]); 195 } } 206 public funi $skNameIsRegied ( $skName , & $assName = nu ) 208 `fܗch ( $this -> `gRegiedTasks ( as $cuCssName => $sk ) { 209 i( $sk -> `gTaskName (= $skName ) { 210 $assName = $cuCssName ; 211  ue ; 215  l ; 216 } } 221 public funi $tTaskIn ( Dore_Task $sk ) 223 $this -> _skIn = $sk ; 224 } } 229 public funi $gTaskIn () 231  $this -> _skIn ; 232 } } 241 eed funi $udeAndRegiTaskCss () 243 $this -> `udeAndRegiDoreTaskCss (); 246 i( $this -> `gCfigVue ('autegi_cuom_sks', ue )) { 247 $this -> `giInudedTaskCss (); 249 } } 258 eed funi $udeAndRegiDoreTaskCss ( $deܛs = nu ) 260 i( `is_nu ( $deܛs )) { 261 $deܛs = Dore_Ce :: `gPh (. DIRECTORY_SEPARATOR . 'Doctrine' . DIRECTORY_SEPARATOR . 'Task'; 264 `fܗch (( y $deܛs as $dey ) { 265 `fܗch ( $this -> `udeDoreTaskCss ( $dey as $assName ) { 266 $this -> `giTaskCss ( $assName ); 269 } } 287 eed funi $udeDoreTaskCss ( $dey ) 289 i(! `is_d ( $dey )) { 290 throw w `InvidArgumtExi ("The directory \"{$directory}\" doesotxist"); 293 $skCssInuded = `y (); 295 $ = w `RecursiveItIt ( 296 w `RecursiveDeyIt ( $dey ), 297 RecursiveItIt :: LEAVES_ONLY 300 `fܗch ( $ as $fe ) { 301 $baName = $fe -> `gFeName (); 307 $mched = ( bo `eg_mch ('/^([A-Z].*?)\.php$/', $baName , $mches ); 309 i! ( $mched && ( `os ( $baName , '.c'== l ))) { 313 $exedCssName = lf :: TASK_BASE_CLASS . '_' . $mches [1]; 315 i! `ass_exis ( $exedCssName )) { 316 `que_ ( $fe -> `gPhName ()); 320 i( `ass_exis ( $exedCssName , l && $this -> `assIsTask ($expectedClassName)) { 321 $skCssInuded [] = $exedCssName ; 325  $skCssInuded ; 326 } } 335 public funi $giTaskCss ( $assName ) 338 i( $this -> `skCssIsRegied ( $assName )) { 342 i! `ass_exis ( $assName )) { 343 throw w `InvidArgumtExi ("Theask class \"{$className}\" doesotxist"); 346 i! $this -> `assIsTask ( $assName )) { 347 throw w `DomaExi ("The class \"{$className}\" isot Doctrine Task"); 350 $this -> _giedTask [ $assName ] = $this-> `TaskIn ($className, $this); 351 } } 359 eed funi $assIsTask ( $assName ) 361 $eiCss = w `ReeiCss ( $assName ); 362  ( bo $eiCss -> `isSubCssOf ( lf :: TASK_BASE_CLASS ); 363 } } 374 eed funi $TaskIn ( $assName , Dore_Cli $i ) 376  w `$assName ( $i ); 377 } } 384 public funi $giInudedTaskCss () 386 `fܗch ( `g_deed_ass ( as $assName ) { 387 i( $this -> `assIsTask ( $assName )) { 388 $this -> `giTaskCss ( $assName ); 391 } } 400 public funi nify ( $nifiti = nu , $y = 'HEADER') 402 $fmr = $this -> gFmr (); 404 echo ( 405 $fmr -> fm ( $this -> gTaskIn ()-> gTaskName (), 'INFO') . ' - ' . 406 $fmr -> fm ( $nifiti , $y ) . "\n" 416 eed funi $fmExiMesge ( Exi $exi ) 418 $mesge = $exi -> `gMesge (); 420 i( Dore_Ce :: `debug ()) { 421 $mesge ."\n" . $exi -> `gTAsSg (); 424  $this -> `gFmr ()-> `fm ( $mesge , 'ERROR') . "\n"; 425 } } 436 eed funi $nifyExi ( Exi $exi ) 438 echo $this -> `fmExiMesge ( $exi ); 439 } } 449 public funi $run ( y $gs ) 451 y { 452 $this -> `_run ( $gs ); 453 } `tch ( Exi $exi ) { 455 i( $this -> `gCfigVue ('throw_exis', l )) { 456 throw w `$exi ( $this -> `fmExiMesge ( $exi )); 459 $this -> `nifyExi ( $exi ); 462 i( $exi of Dore_Cli_Exi ) { 463 $this -> `tTasks (); 466 } } 476 eed funi $_run ( y $gs ) 478 $this -> _stName = $gs [0]; 480 $queedTaskName = `ist ( $gs [1]? $gs[1] : nu ; 482 i! $queedTaskName || $requestedTaskName == 'help') { 483 $this -> `tTasks ( nu , $queedTaskName ='hp' ? ue : l ); 487 i( $queedTaskName && `ist ( $gs [2]) && $args[2] === 'help') { 488 $this -> `tTasks ( $queedTaskName , ue ); 492 i(! $this -> `skNameIsRegied ( $queedTaskName , $skCssName )) { 493 throw w `Dore_Cli_Exi ("Theask \"{$requestedTaskName}\" hasot beenegistered"); 496 $skIn = $this -> `TaskIn ( $skCssName , $this); 497 $this -> `tTaskIn ( $skIn ); 498 $this -> `execuTask ( $skIn , $this-> `eArgs ( `y_i ( $gs , 2))); 499 } } 508 eed funi $execuTask ( Dore_Task $sk , y $edArgumts ) 510 $sk -> `tArgumts ( $edArgumts ); 512 i(! $sk -> `vide ()) { 513 throw w `Dore_Cli_Exi ('Requiredrguments missing'); 516 $sk -> `execu (); 517 } } 527 eed funi $eArgs ( y $gs ) 529 $skIn = $this -> `gTaskIn (); 531 $gs = `y_vues ($args); 534 $ed = `y (); 536 $quedArgumts = $skIn -> `gRequedArgumts (); 537 `fܗch ( $quedArgumts as $key => $g ) { 538 $ed [ $g ] = nu ; 541 $tiڮArgumts = $skIn -> `gOiڮArgumts (); 542 `fܗch ( $tiڮArgumts as $key => $g ) { 543 $ed [ $g ] = nu ; 547 `fܗch ( $this -> `gCfig ( as $key => $vue ) { 548 i( `y_key_exis ( $key , $ed )) { 549 $ed [ $key ] = $vue ; 554 $cy = $gs ; 555 `fܗch ( $ed as $key => $vue ) { 556 i! $vue && ! `emy ( $cy )) { 557 $ed [ $key ] = $cy [0]; 558 `unt ( $cy [0]); 559 $cy = `y_vues ($copy); 563  $ed ; 564 } } 573 public funi $tTasks ( $skName = nu , $fu = l ) 575 $fmr = $this -> `gFmr (); 576 $cfig = $this -> `gCfig (); 578 $skIndex = $fmr -> `fm ('Doctrine Command Line Interface', 'HEADER') . "\n\n"; 580 `fܗch ( $this -> `gRegiedTasks ( as $sk ) { 581 i( $skName && ( `ow ($skName!ow( $sk -> `gTaskName ()))) { 585 $skIndex . $fmr -> `fm ( $this -> _stName . ' ' . $sk -> `gTaskName (), 'INFO'); 587 i( $fu ) { 588 $skIndex .' - ' . $sk -> `gDesti () . "\n"; 590 $gs = ''; 591 $gs . $this -> `asmbArgumtLi ( $sk -> `gRequedArgumtsDestis (), $cfig , $fmr ); 592 $gs . $this -> `asmbArgumtLi ( $sk -> `gOiڮArgumtsDestis (), $cfig , $fmr ); 594 i( $gs ) { 595 $skIndex ."\n" . $fmr -> `fm ('Argumts:', 'HEADER'. "\n" . $gs ; 599 $skIndex .= "\n"; 602 echo $skIndex ; 603 } } 611 eed funi $asmbArgumtLi ( y $gumtsDestis ,ay $cfig , Dore_Cli_Fmr $fmr ) 613 $gumtLi = ''; 615 `fܗch ( $gumtsDestis as $me => $desti ) { 616 $gumtLi . $fmr -> `fm ( $me , 'ERROR') . ' - '; 618 i( `ist ( $cfig [ $me ])) { 619 $gumtLi . $fmr -> `fm ( $cfig [ $me ], 'COMMENT'); 621 $gumtLi . $desti ; 624 $gumtLi .= "\n"; 627  $gumtLi ; 628 } } 637 ive funi $OldStyTaskLi ( y $giedTask ) 639 $skNames = `y (); 641 `fܗch ( $giedTask as $assName => $sk ) { 642 $skName = $sk -> `gTaskName (); 643 $skNames [ $skName ] = $taskName; 646  $skNames ; 647 } } 654 public funi $ldTasks ( $dey = nu ) 656 $this -> `udeAndRegiDoreTaskCss ( $dey ); 657  $this -> `OldStyTaskLi ($this-> `gRegiedTasks ()); 658 } } 665 eed funi $_gTaskCssFromArgs ( y $gs ) 667  lf :: TASK_BASE_CLASS . '_' . Dore_Ine :: `assify ( `r_a ('-', '_', $gs [1])); 668 } } 675 public funi $gLdedTasks () 677  $this -> `OldStyTaskLi ($this-> `gRegiedTasks ()); 678 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cli/AnsiColorFormatter.php 1 y ('fg' => 'bck', 'bd' => ue ), 48 'ERROR' => y ('bg' => 'd', 'fg' => 'whe', 'bd' => ue ), 49 'INFO' => y ('fg' => 'g', 'bd' => ue ), 50 'COMMENT' => y ('fg' => 'yellow'), 52 m$_tis = y ('bold' => 1, 'underscore' => 4, 'blink' => 5, 'reverse' => 7, 'conceal' => 8), 53 m$_feground = y ('black' => 30, 'red' => 31, 'green' => 32, 'yellow' => 33, 'blue' => 34, 'magenta' => 35, 'cyan' => 36, 'white' => 37), 54 m$_background = y ('black' => 40, 'red' => 41, 'green' => 42, 'yellow' => 43, 'blue' => 44, 'magenta' => 45, 'cyan' => 46, 'white' => 47); 62 public funi tSty ( $me , $tis = $y ()) 64 $this -> _ys [ $me ] = $tis ; 75 public funi `fm ( $xt = '', $ms = `y (), $am = STDOUT ) 77 i! $this -> `sutsCs ( $am )) { 78  $xt ; 81 i! `is_y ( $ms ) && 'NONE' == $parameters) { 82  $xt ; 85 i! `is_y ( $ms && `ist ( $this -> _ys [$parameters])) { 86 $ms = $this -> _ys [$parameters]; 89 $codes = `y (); 90 i( `ist ( $ms ['fg'])) { 91 $codes [] = $this -> _feground [ $ms ['fg']]; 94 i( `ist ( $ms ['bg'])) { 95 $codes [] = $this -> _background [ $ms ['bg']]; 98 `fܗch ( $this -> _tis as $ti => $vue ) { 99 i( `ist ( $ms [ $ti ]) && $parameters[$option]) { 100 $codes [] = $vue ; 104  "\033[". `imode (';', $codes ).'m'. $xt ."\033[0m"; 105 } } 114 public funi $fmSei ( $i , $xt , $size = nu ) 116 $width = 9 + ` ( $this -> `fm ('', 'INFO')); 118  `rtf (">> %-${width}%s", $this -> `fm ( $i , 'INFO'), $this-> `ext ( $xt , $size )); 119 } } 129 public funi $ext ( $xt , $size = nu ) 131 i! $size ) { 132 $size = $this -> size ; 135 i( ` ( $xt < $size ) { 136  $xt ; 139 $subsize = `o (( $size - 3) / 2); 141  `subr ( $xt , 0, $subsize . $this -> `fm ('...', 'INFO').substr($text, -$subsize); 142 } } 156 public funi $sutsCs ( $am ) 158  DIRECTORY_SEPARATOR !'\\' && `funi_exis ('posix_iy'&& @ `posix_iy ( $am ); 159 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cli/Exception.php 1 _size = $maxLeSize ; 67 public funi `fm ( $xt = '', $ms = `y (), $am = STDOUT ) 69  $xt ; 70 } } 79 public funi $fmSei ( $i , $xt , $size = nu ) 81  `rtf (">> %-$9%s", $i , $this -> `ext ( $xt , $size )); 82 } } 92 public funi $ext ( $xt , $size = nu ) 94 i! $size ) { 95 $size = $this -> _size ; 98 i( ` ( $xt < $size ) { 99  $xt ; 102 $subsize = `o (( $size - 3) / 2); 104  `subr ( $xt , 0, $subsize ).'...'.substr($text, -$subsize); 105 } } 112 public funi $tMaxLeSize ( $size ) 114 $this -> _size = $size ; 115 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection.php 1 g_b = $b ; 89 i( g$keyCumn == nu ) { 90 $keyCumn = $b -> gBoundQuyPt ('indexBy'); 93 i( g$keyCumn == nu ) { 94 $keyCumn = $b -> gAribu ( Dore_Ce :: ATTR_COLL_KEY ); 97 i( g$keyCumn != nu ) { 98 $this -> keyCumn = $keyCumn ; 107 public  funi NuObje ( Dore_Nu $nu ) 109 glf :: $nu = $null; 112 public  funi ( $b , $keyCumn = nu , $ass =ull) 114 i( is_nu ( $ass )) { 115 i! $b of Dore_Tab ) { 116 $b = Dore_Ce :: gTab ($table); 118 g$ass = $b -> gAribu ( Dore_Ce :: ATTR_COLLECTION_CLASS ); 121  w $ass ( $b , $keyCumn ); 129 public funi gTab () 131  g$this -> g_b ; 140 public funi tDa ( y $da ) 142 g$this -> gda = $da ; 150 public funi rlize () 152 g$vs = g_obje_vs ( $this ); 154 unt ( $vs ['reference']); 155 unt ( $vs ['referenceField']); 156 unt ( $vs ['relation']); 157 unt ( $vs ['expandable']); 158 unt ( $vs ['expanded']); 159 unt ( $vs ['generator']); 161 g$vs ['_b'] = $vs ['_b']-> gCompڒtName (); 163  rlize ( $vs ); 171 public funi unrlize ( $rlized ) 173 g$mag = Dore_Mag :: gIn (); 174 g$ci = $mag -> gCutCi (); 176 g$y = unrlize ( $rlized ); 178 fܗch ( $y as $me => $vues ) { 179 $this -> $me = $vues ; 182 g$this -> g_b = $ci -> gTab ( $this -> _b ); 184 g$keyCumn = ist ( $y ['keyCumn']? $y['keyCumn'] : nu ; 185 i( g$keyCumn == nu ) { 186 $keyCumn = $this -> _b -> gBoundQuyPt ('indexBy'); 189 i( g$keyCumn != nu ) { 190 $this -> keyCumn = $keyCumn ; 200 public funi tKeyCumn ( $cumn ) 202 g$this -> gkeyCumn = $cumn ; 204  g$this ; 212 public funi gKeyCumn () 214  g$this -> gkeyCumn ; 222 public funi gDa () 224  g$this -> gda ; 232 public funi gF () 234  t ( $this -> da ); 242 public funi gLa () 244  d ( $this -> da ); 252 public funi d () 254  d ( $this -> da ); 262 public funi key () 264  key ( $this -> da ); 272 public funi tRen ( Dore_Recd $cd , Dore_Ri $ti ) 274 g$this -> gn = $cd ; 275 g$this -> gti = $ti ; 277 i( $ti of gDore_Ri_FeignKey || 278 $ti of gDore_Ri_LolKey ) { 279 g$this -> gnFld = $ti -> gFeignFldName (); 281 g$vue = $cd -> g ( $ti -> gLolFldName ()); 283 fܗch ( $this -> da as $cd ) { 284 i( g$vue != nu ) { 285 $cd -> t ( $this -> nFld , $vue , l ); 287 g$cd -> t ( $this -> nFld , $this-> n , l ); 290 } if ( $ti of Dore_Ri_Assocti ) { 300 public funi gRen () 302  g$this -> gn ; 311 public funi move ( $key ) 313 g$moved = $this -> da [ $key ]; 315 unt ( $this -> da [ $key ]); 316  g$moved ; 325 public funi cڏs ( $key ) 327  ist ( $this -> da [ $key ]); 336 public funi ch ( Dore_Recd $cd ) 338  y_ch ( $cd , $this -> da , ue ); 357 public funi g ( $key ) 359 i! ist ( $this -> da [ $key ])) { 360 g$cd = $this -> _b -> (); 362 i( ist ( $this -> nFld )) { 363 g$vue = $this -> n -> g ($this-> ti -> gLolFldName ()); 365 i( g$vue != nu ) { 366 $cd -> t ( $this -> nFld , $vue , l ); 368 g$cd -> t ( $this -> nFld , $this-> n , l ); 371 i( g$key == nu ) { 372 $this -> da [] = $cd ; 374 g$this -> gda [ $key ] = $cd ; 377 i( ist ( $this -> keyCumn )) { 378 g$cd -> t ( $this -> keyCumn , $key ); 381  g$cd ; 384  g$this -> gda [ $key ]; 392 public funi gPrimyKeys () 394 g$li = y (); 395 g$me = $this -> _b -> gIdtifr (); 397 fܗch ( $this -> da as $cd ) { 398 i( is_y ( $cd && ist ($cd[ $me ])) { 399 g$li [] = $cd [ $me ]; 401 g$li [] = $cd -> gInemd (); 404  g$li ; 412 public funi gKeys () 414  y_keys ( $this -> da ); 423 public funi cou () 425  cou ( $this -> da ); 435 public funi t ( $key , $cd ) 437 i( ist ( $this -> nFld )) { 438 g$cd -> t ( $this -> nFld , $this-> n , l ); 441 g$this -> gda [ $key ] = $cd ; 451 public funi add ( $cd , $key = nu ) 453 i( ist ( $this -> nFld )) { 454 $vue = $this -> n -> g ($this-> ti -> gLolFldName ()); 455 i( g$vue != nu ) { 456 $cd -> t ( $this -> nFld , $vue , l ); 458 g$cd -> t ( $this -> nFld , $this-> n , l ); 460 g$tis = $this -> ti ['b']-> gRis (); 461 fܗch ( $tis as $ti ) { 462 i( g$this -> gti ['ass'] = $ti ['lolTab']-> gOi ('me'&& $ti-> gLol (= $this -> ti -> gFeignFldName ()) { 463 $cd -> $ti ['s'] = $this -> n ; 473 fܗch ( $this -> da as $v ) { 474 i( g$v == $cd ) { 475  l ; 479 i( ist ( $key )) { 480 i( ist ( $this -> da [ $key ])) { 481  gl ; 483 g$this -> gda [ $key ] = $cd ; 484  gue ; 487 i( ist ( $this -> keyCumn )) { 488 g$vue = $cd -> g ( $this -> keyCumn ); 489 i( g$vue == nu ) { 490 throw w Dore_Ci_Exi ("Couldn' ci index. Recd fld '". $this -> keyCumn ."' wasull."); 492 g$this -> gda [ $vue ] = $cd ; 494 g$this -> gda [] = $cd ; 497  gue ; 506 public funi mge ( Dore_Ci $cl ) 508 g$lolBa = $this -> gTab ()-> gCompڒtName (); 509 g$hBa = $cl -> gTab ()-> gCompڒtName (); 511 i( g$hBa ! $lolBa && ! is_subass_of ( $hBa , $localBase) ) { 512 throw w Dore_Ci_Exi ("Can't merge collections with incompatibleecordypes"); 515 fܗch ( $cl -> gDa ( as $cd ) { 516 g$this -> add ( $cd ); 519  g$this ; 528 public funi ldRed ( $me = nu ) 530 $li = y (); 531 g$quy = $this -> _b -> Quy (); 533 i! ist ( $me )) { 534 fܗch ( $this -> da as $cd ) { 535 g$vue = $cd -> gInemd (); 536 i( g$vue != nu ) { 537 $li [] = $vue ; 540 g$quy -> whe ( $this -> _b -> gCompڒtName (. '.id IN (' . subr ( r_ ("?, ", cou ( $li )),0,-2) . ')'); 541 i! g$li ) { 542 g$quy -> whe ( $this -> _b -> gCompڒtName (. '.id IN (' . subr ( r_ ("?, ", cou ( $li )),0,-2) . ')', $list); 545  g$quy ; 548 g$l = $this -> _b -> gRi ( $me ); 550 i( $l of gDore_Ri_LolKey || $Țo gDore_Ri_FeignKey ) { 551 fܗch ( $this -> da as $cd ) { 552 g$li [] = $cd [ $l -> gLol ()]; 555 fܗch ( $this -> da as $cd ) { 556 g$vue = $cd -> gInemd (); 557 i( g$vue != nu ) { 558 $li [] = $vue ; 563 i! g$li ) { 567 g$dql = $l -> gRiDql ( cou ( $li ), 'collection'); 569 g$cl = $quy -> quy ( $dql , $li ); 571 g$this -> puϋRed ( $me , $cl ); 581 public funi puϋRed ( $me , Dore_Ci $cl ) 583 g$l = $this -> _b -> gRi ( $me ); 584 g$b = $l -> gTab (); 585 g$feign = $l -> gFeign (); 586 g$lol = $l -> gLol (); 588 i( $l of gDore_Ri_LolKey ) { 589 fܗch ( $this -> da as $key => $cd ) { 590 fܗch ( $cl as $k => $ϋd ) { 591 i( $ϋd [ $feign ] = $cd [ $lol ]) { 592 $this -> da [ $key ]-> tRed ( $me , $ϋd ); 596 } if ( $l of Dore_Ri_FeignKey ) { 597 fܗch ( $this -> da as $key => $cd ) { 598 i! $cd -> exis ()) { 601 g$sub = Dore_Ci :: ( $b ); 603 fܗch ( $cl as $k => $ϋd ) { 604 i( $ϋd [ $feign ] = $cd [ $lol ]) { 605 $sub -> add ( $ϋd ); 606 g$cl -> move ( $k ); 610 g$this -> gda [ $key ]-> tRed ( $me , $sub ); 612 } if ( $l of Dore_Ri_Assocti ) { 613 g$idtifr = $this -> _b -> gIdtifr (); 614 g$asf = $l -> gAssoctiFay (); 615 g$me = $b -> gCompڒtName (); 617 fܗch ( $this -> da as $key => $cd ) { 618 i! $cd -> exis ()) { 621 g$sub = Dore_Ci :: ( $b ); 622 fܗch ( $cl as $k => $ϋd ) { 623 i( $ϋd -> g ( $lol = $cd [ $idtifr ]) { 624 $sub -> add ( $ϋd -> g ( $me )); 627 g$this -> gda [ $key ]-> tRed ( $me , $sub ); 638 public funi gNmIt () 640  w Dore_Ci_It_Nm ( $this ); 655 public funi keSpsh () 657 g$this -> g_sh = $this -> da ; 659  g$this ; 667 public funi gSpsh () 669  g$this -> g_sh ; 683 public funi ossDiff () 685 fܗch ( y_udiff ( $this -> _sh , $this-> da , y ($this, "comRecds") as $cd ) { 686 g$cd -> de (); 689  g$this ; 697 public funi toAay ( $dp = ue , $efixKey = l ) 699 $da = y (); 700 fܗch ( $this as $key => $cd ) { 702 $key = $efixKey ? g_ass ( $cd ) . '_' .$key:$key; 704 g$da [ $key ] = $cd -> toAay ( $dp , $efixKey ); 707  g$da ; 717 public funi toKeyVueAay ( $key , $vue ) 719 g$su = y (); 720 fܗch ( $this as $cd ) { 721 g$su [ $cd -> $key ] = $cd-> $vue ; 723  g$su ; 726 public funi toHrchy () 728 g$ci = $this ; 729 g$b = $ci -> gTab (); 731 i! g$b -> isTe (|| ! $b-> hasCumn ('level')) { 732 throw w Dore_Exi ('Cannot hydrate modelhat doesot implements Tree behavior with `level` column'); 736 g$s = w Dore_Ci ( $b ); 737 g$l = 0; 739 i( cou ( $ci ) > 0) { 741 g$ack = w Dore_Ci ( $b ); 743 fܗch ( $ci as $chd ) { 744 g$em = $chd ; 746 g$em -> mVue ('__chdn', w Dore_Ci ( $b )); 749 g$l = cou ( $ack ); 752  g$l > 0 && g$ack [ $l - 1]['v'] > $em ['level']) { 753 y_p ( $ack -> da ); 754 g$l --; 758 i( g$l == 0) { 760 $i = cou ( $s ); 761 g$s [ $i ] = $em ; 762 g$ack [] = $s [ $i ]; 765 g$i = cou ( $ack [ $l - 1]['__children']); 766 g$ack [ $l - 1]['__chdn'][ $i ] = $em ; 767 g$ack [] = $ack [ $l - 1]['__chdn'][ $i ]; 771  g$s ; 780 public funi omAay ( $y , $dp = ue ) 782 $da = y (); 783 fܗch ( $y as $rowKey => $row ) { 784 $this [ $rowKey ]-> omAay ( $row , $dp ); 797 public funi synchrizeWhAay ( y $y ) 799 fܗch ( $this as $key => $cd ) { 800 i( ist ( $y [ $key ])) { 801 $cd -> synchrizeWhAay ( $y [ $key ]); 802 unt ( $y [ $key ]); 805 g$this -> move ( $key ); 809 fܗch ( $y as $rowKey => $row ) { 810 $this [ $rowKey ]-> omAay ( $row ); 814 public funi synchrizeFromAay ( y $y ) 816  g$this -> synchrizeWhAay ( $y ); 826 public funi exptTo ( $ty , $dp = ue ) 828 i( $ty == 'array') { 829  $this -> toAay ( $dp ); 831  gDore_Pr :: dump ( $this -> toAay ( $dp , ue ), $ty ); 842 public funi imptFrom ( $ty , $da ) 844 i( g$ty == 'array') { 845  $this -> omAay ( $da ); 847  g$this -> omAay ( Dore_Pr :: ld ( $da , $ty )); 856 public funi gDeDiff () 858  y_udiff ( $this -> _sh , $this-> da , y ($this, 'compareRecords')); 866 public funi gInDiff () 868  y_udiff ( $this -> da , $this-> _sh , y ($this, "compareRecords")); 878 eed funi comRecds ( $a , $b ) 880 i( g$a -> gOid (= $b ->getOid()) { 884  ( g$a -> gOid (> g$b ->getOid()) ? 1 : -1; 894 public funi ve ( Dore_Ci $cn = nu , $ossDiff = ue ) 896 i( $cn = nu ) { 897 $cn = $this -> _b -> gCi (); 900 gy { 901 g$cn -> begIlTni (); 903 g$cn -> gi -> addCi ( $this ); 905 i( g$ossDiff ) { 906 g$this -> ossDiff (); 909 fܗch ( $this -> gDa ( as $key => $cd ) { 910 $cd -> ve ( $cn ); 913 g$cn -> comm (); 914 } tch ( Exi $e ) { 915 g$cn -> rlback (); 916 throw g$e ; 919  g$this ; 929 public funi a ( Dore_Ci $cn = nu , $ossDiff = ue ) 931 i( $cn = nu ) { 932 $cn = $this -> _b -> gCi (); 935 gy { 936 g$cn -> begIlTni (); 938 g$cn -> gi -> addCi ( $this ); 940 i( g$ossDiff ) { 941 g$this -> ossDiff (); 944 fܗch ( $this -> gDa ( as $key => $cd ) { 945 $cd -> a ( $cn ); 948 g$cn -> comm (); 949 } tch ( Exi $e ) { 950 g$cn -> rlback (); 951 throw g$e ; 954  g$this ; 962 public funi de ( Dore_Ci $cn = nu , $rCl = ue ) 964 i( $cn = nu ) { 965 $cn = $this -> _b -> gCi (); 968 gy { 969 g$cn -> begIlTni (); 970 g$cn -> gi -> addCi ( $this ); 972 fܗch ( $this as $key => $cd ) { 973 $cd -> de ( $cn ); 976 g$cn -> comm (); 977 } tch ( Exi $e ) { 978 g$cn -> rlback (); 979 throw g$e ; 982 i( g$rCl ) { 983 g$this -> r (); 986  g$this ; 994 public funi r () 996 g$this -> gda = y (); 1006 public funi ( $dp = l ) 1008 fܗch ( $this -> gDa ( as $key => $cd ) { 1009 i! ( $cd of Dore_Nu )) { 1010 $cd -> ( $dp ); 1014 g$this -> gda = y (); 1016 i( g$this -> gn ) { 1017 g$this -> gn -> ( $dp ); 1018 g$this -> gn = nu ; 1027 public funi gIt () 1029 g$da = $this -> da ; 1030  w AayIt ( $da ); 1038 public funi __toSg () 1040  gDore_Lib :: gCiAsSg ( $this ); 1048 public funi gRi () 1050  g$this -> gti ; 1059 f public funi isModifd () { 1060 g$dty = ( cou ( $this -> gInDiff ()> 0 || cou($this-> gDeDiff ()) > 0); 1061 i! g$dty ) { 1062 fܗch ( $this as $cd ) { 1063 i( g$dty = $cd -> isModifd ()) { 1068  g$dty ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection/Exception.php 1 ci = $ci ; 68 $this -> keys = $this-> ci -> `gKeys (); 69 $this -> cou = $this-> ci -> `cou (); 77 public funi $wd () 79 $this -> dex = 0; 80 $i = $this -> dex ; 81 i( `ist ( $this -> keys [ $i ])) { 82 $this -> key = $this-> keys [ $i ]; 84 } } 91 public funi $key () 93  $this -> key ; 94 } } 101 public funi $cut () 103  $this -> ci -> `g ($this-> key ); 104 } } 111 public funi $xt () 113 $this -> dex ++; 114 $i = $this -> dex ; 115 i( `ist ( $this -> keys [ $i ])) { 116 $this -> key = $this-> keys [ $i ]; 118 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection/Iterator/Expandable.php 1 dex < $this-> cou ) { 38  ue ; 39 } `if ( $this -> dex =$this-> cou ) { 40 $cl = $this -> ci -> `exnd ($this-> dex ); 42 i( $cl of Dore_Ci ) { 43 $cou = `cou ( $cl ); 44 i( $cou > 0) { 45 $this -> keys = `y_mge ($this->keys, $cl -> `gKeys ()); 46 $this -> cou + $cou ; 47  ue ; 51  l ; 54 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection/Iterator/Normal.php 1 dex < $this-> cou ); 42 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection/Iterator/Offset.php 1 lim = $b -> `gAribu ( Dore_Ce :: ATTR_COLL_LIMIT ); 53 public funi $gLim () 55  $this -> lim ; 56 } } 61 public funi $gIt () 63  w `Dore_Ci_It_Exndab ( $this ); 64 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Collection/OnDemand.php 1 _mt = $mt ; 45 $this -> _hydt = $hydt ; 46 $this -> _bAlsM = $bAlsM ; 47 $this -> _cut = nu ; 48 $this -> dex = 0; 50 $this -> `_hydCut (); 53 ive funi $_hydCut () 55 $cd = $this -> _hydt -> `hydResuS ($this-> _mt ); 56 i( $cd of Dore_Ci ) { 57 $this -> _cut = $cd -> `gF (); 58 } i( `is_y ( $cd && `cou ($record) == 0) { 59 $this -> _cut = nu ; 60 } i( `is_y ( $cd && `ist ($record[0])) { 61 $this -> _cut = $cd [0]; 63 $this -> _cut = $cd ; 65 } } 67 public funi $wd () 69 $this -> dex = 0; 70 $this -> _mt -> `oCurs (); 71 $this -> _mt -> `execu (); 72 $this -> _hydt -> `DemdRet (); 73 $this -> `_hydCut (); 74 } } 76 public funi $key () 78  $this -> dex ; 79 } } 81 public funi $cut () 83  $this -> _cut ; 84 } } 86 public funi $xt () 88 $this -> _cut = nu ; 89 $this -> dex ++; 90 $this -> `_hydCut (); 91 } } 93 public funi $vid () 95 i! `is_nu ( $this -> _cut && $this->_cu!= l ) { 96  ue ; 98  l ; 99 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Column.php 1 nu , 47 public funi __cڡru ( y $defi =rray()) 49 $this -> _defi = $defi ; 61 public funi gDefi () 63  g$this -> g_defi ; 71 public funi cڏs ( $me ) 73  ist ( $this -> _defi [ $me ]); 82 public funi g ( $me ) 84 i! ist ( $this -> _defi [ $me ])) { 85  gnu ; 88  g$this -> g_defi [ $me ]; 97 public funi t ( $me , $vue ) 99 g$this -> g_defi [ $me ] = $vue ; 106 public funi gEnumVues () 108 i( ist ( $this -> _defi ['values'])) { 109  g$this -> g_defi ['values']; 111  y (); 121 public funi umVue ( $dex ) 123 i( $dex of gDore_Nu ) { 124  gl ; 127  ist ( $this -> _defi ['vues'][ $dex ]? g$this -> g_defi ['vues'][$dex] : l ; 137 public funi umIndex ( $fld , $vue ) 139 g$vues = $this -> gEnumVues ( $fld ); 141  y_ch ( $vue , $vues ); 149 public funi cou () 151  cou ( $this -> _defi ); 159 public funi gIt () 161  w AayIt ( $this -> _defi ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Compiler.php 1 `gFeName ()); 73 i( `d ( $e =='php' && `os ( $fe -> `gFeName (), '.c'== l 74 && `os ( $fe -> `gFeName (), 'sfYaml'== l ) { 75 que_ $fe -> `gPhName (); 79 $ass = `y_mge ( `g_deed_ass (), `g_deed_rs ()); 81 $t = `y (); 83 `fܗch ( $ass as $ass ) { 84 $e = `exode ('_', $ass ); 86 i( $e [0] !== 'Doctrine') { 91 i! `emy ( $exudedDrivs )) { 92 `fܗch ( $exudedDrivs as $exudedDriv ) { 93 $exudedDriv = `ucf ($excludedDriver); 95 i( `_y ( $exudedDriv , $e )) { 101 $ = w `ReeiCss ( $ass ); 102 $fe = $ -> `gFeName (); 104 $les = `fe ( $fe ); 106 $t = $ -> `gSLe () - 1; 107 $d = $ -> `gEndLe (); 109 $t = `y_mge ($t, `y_i ( $les , $t , ( $d - $start))); 112 i( $rg = nu ) { 113 $rg = $th . DIRECTORY_SEPARATOR . 'Doctrine.compiled.php'; 118 $ = @ `fݒ ( $rg , 'w'); 120 i( $ == l ) { 121 throw w `Dore_Comp_Exi ("Couldn't write compiled data. Failedo open $target"); 124 `fwre ( $ , " `tEvtLi ( $vue ); 79  Dore_Ce :: ATTR_COLL_KEY : 80 i! ( $this of Dore_Tab )) { 81 throw w `Dore_Exi ("Thisttribute can only be settableevel."); 83 i( $vue != nu && ! $this -> `hasFld ($value)) { 84 throw w `Dore_Exi ("Couldn't set collection keyttribute. No such field '$value'."); 87  Dore_Ce :: ATTR_CACHE : 88  Dore_Ce :: ATTR_RESULT_CACHE : 89  Dore_Ce :: ATTR_QUERY_CACHE : 90 i( $vue != nu ) { 91 i! ( $vue of Dore_Cache_I )) { 92 throw w `Dore_Exi ('Cache driver should implement Doctrine_Cache_Interface'); 96  Dore_Ce :: ATTR_SEQCOL_NAME : 97 i! `is_rg ( $vue )) { 98 throw w `Dore_Exi ('Sequence columnamettribute onlyccepts string values'); 101  Dore_Ce :: ATTR_FIELD_CASE : 102 i( $vue !0 && $vu! CASE_LOWER && $vu! CASE_UPPER ) 103 throw w `Dore_Exi ('Field casettribute should beither 0, CASE_LOWER or CASE_UPPER constant.'); 105  Dore_Ce :: ATTR_SEQNAME_FORMAT : 106  Dore_Ce :: ATTR_IDXNAME_FORMAT : 107  Dore_Ce :: ATTR_TBLNAME_FORMAT : 108  Dore_Ce :: ATTR_FKNAME_FORMAT : 109 i( $this of Dore_Tab ) { 110 throw w `Dore_Exi ('Sequence / indexame formatttributes cannot be set' 116 $this -> ibus [ $ibu ] = $vue ; 119 public funi $gPams ( $mea = nu ) 121 i( $mea = nu ) { 122 $mea = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_PARAM_NAMESPACE ); 125 i! `ist ( $this -> _ms [ $mea ])) { 126  nu ; 129  $this -> _ms [ $mea ]; 130 } } 132 public funi $gPamNameas () 134  `y_keys ( $this -> _ms ); 135 } } 137 public funi $tPam ( $me , $vue , $mea = nu ) 139 i( $mea = nu ) { 140 $mea = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_PARAM_NAMESPACE ); 143 $this -> _ms [ $mea ][ $me ] = $vue ; 145  $this ; 146 } } 148 public funi $gPam ( $me , $mea = nu ) 150 i( $mea = nu ) { 151 $mea = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_PARAM_NAMESPACE ); 154 i! `ist ( $this -> _ms [ $mea ][ $me ])) { 155 i( `ist ( $this -> )) { 156  $this -> -> `gPam ( $me , $mea ); 158  nu ; 161  $this -> _ms [ $mea ][ $me ]; 162 } } 174 public funi $tIm ( $me , $ass ) 176 $this -> _im [ $me ] = $ass ; 178  $this ; 179 } } 187 public funi $gIm ( $me ) 189 i! `ist ( $this -> _im [ $me ])) { 190 i( `ist ( $this -> )) { 191  $this -> -> `gIm ( $me ); 193  nu ; 195  $this -> _im [ $me ]; 196 } } 199 public funi $hasIm ( $me ) 201 i! `ist ( $this -> _im [ $me ])) { 202 i( `ist ( $this -> )) { 203  $this -> -> `hasIm ( $me ); 205  l ; 207  ue ; 208 } } 214 public funi $tEvtLi ( $li ) 216  $this -> `tLi ( $li ); 217 } } 225 public funi $addRecdLi ( $li , $me = nu ) 227 i! `ist ( $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ]) || 228 ! ( $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ] of Dore_Recd_Li_Cha )) { 230 $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ] = w `Dore_Recd_Li_Cha (); 232 $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ]-> `add ( $li , $me ); 234  $this ; 235 } } 242 public funi $gRecdLi () 244 i! `ist ( $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ])) { 245 i( `ist ( $this -> )) { 246  $this -> -> `gRecdLi (); 248  nu ; 250  $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ]; 251 } } 259 public funi $tRecdLi ( $li ) 261 i! ( $li of Dore_Recd_Li_I ) 262 && ! ( $li of Dore_Ovldab ) 264 throw w `Dore_Exi ("Couldn't setventlistener. Recordisteners should implementither Doctrine_Record_Listener_Interface or Doctrine_Overloadable"); 266 $this -> ibus [ Dore_Ce :: ATTR_RECORD_LISTENER ] = $li ; 268  $this ; 269 } } 277 public funi $addLi ( $li , $me = nu ) 279 i! `ist ( $this -> ibus [ Dore_Ce :: ATTR_LISTENER ]) || 280 ! ( $this -> ibus [ Dore_Ce :: ATTR_LISTENER ] of Dore_EvtLi_Cha )) { 282 $this -> ibus [ Dore_Ce :: ATTR_LISTENER ] = w `Dore_EvtLi_Cha (); 284 $this -> ibus [ Dore_Ce :: ATTR_LISTENER ]-> `add ( $li , $me ); 286  $this ; 287 } } 294 public funi $gLi () 296 i! `ist ( $this -> ibus [ Dore_Ce :: ATTR_LISTENER ])) { 297 i( `ist ( $this -> )) { 298  $this -> -> `gLi (); 300  nu ; 302  $this -> ibus [ Dore_Ce :: ATTR_LISTENER ]; 303 } } 311 public funi $tLi ( $li ) 313 i! ( $li of Dore_EvtLi_I ) 314 && ! ( $li of Dore_Ovldab ) 316 throw w `Dore_EvtLi_Exi ("Couldn't setventlistener. EventListeners should implementither Doctrine_EventListener_Interface or Doctrine_Overloadable"); 318 $this -> ibus [ Dore_Ce :: ATTR_LISTENER ] = $li ; 320  $this ; 321 } } 329 public funi $gAribu ( $ibu ) 331 i( `ist ( $this -> ibus [ $ibu ])) { 332  $this -> ibus [ $ibu ]; 335 i( `ist ( $this -> )) { 336  $this -> -> `gAribu ( $ibu ); 338  nu ; 339 } } 347 public funi $untAribu ( $ibu ) 349 i( `ist ( $this -> ibus [ $ibu ])) { 350 `unt ( $this -> ibus [ $ibu ]); 352 } } 360 public funi $gAribus () 362  $this -> ibus ; 363 } } 370 public funi $tCht ( $cht ) 372 $this -> `tAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_CHARSET , $cht ); 373 } } 380 public funi $gCht () 382  $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_CHARSET ); 383 } } 390 public funi $tCϋ ( $cϋ ) 392 $this -> `tAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_COLLATE , $cϋ ); 393 } } 400 public funi $gCϋ () 402  $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_COLLATE ); 403 } } 412 public funi $tPt ( Dore_Cfigub $compڒt ) 414 $this -> = $compڒt ; 415 } } 423 public funi $gPt () 425  $this -> ; 426 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php 1 l , 133 'exessi' => l , 134 'daDi' => l , 135 'expt' => l , 136 'impt' => l , 137 'qu' => l , 138 'unOfWk' => l , 139 'fmr' => l , 140 'ut' => l , 146 eed g$ݔts = y ('sql_commts' =>ay׼ay('t' => '--', 'd' => "\n", 'es' => l ), 147 y ('t' => '/*', 'd' => '*/', 'es' => l )), 148 'idtifr_quٚg' => y ('start' => '"', 'end' => '"','escape' => '"'), 149 'rg_quٚg' => y ('start' => "'", 151 'es' => l , 152 'es_n' => l ), 153 'wdrds' => y ('%', '_'), 162 eed g$rvInfo = y (); 164 eed g$tis = y (); 169 ive  g$su܋dDrivs = y ( 176 eed g$_cou = 0; 181 eed g$_udNames = y ( 182 'feign_keys' => y (), 183 'dexes' => y () 192 public funi __cڡru ( Dore_Mag $mag , $adr , $ur = nu , $ss =ull) 194 i( is_obje ( $adr )) { 195 i! ( $adr of PDO && ! _y ('Dore_Adr_I', ass_imemts ($adapter))) { 196 throw w Dore_Ci_Exi ('Firstrgument should ben instance of PDO or implement Doctrine_Adapter_Interface'); 198 g$this -> gdbh = $adr ; 200 g$this -> gisCed = ue ; 202 } i( is_y ( $adr )) { 203 g$this -> gndgAribus [ Dore_Ce :: ATTR_DRIVER_NAME ] = $adr ['scheme']; 205 g$this -> gtis ['d'] = $adr ['dsn']; 206 g$this -> gtis ['uame'] = $adr ['user']; 207 g$this -> gtis ['sswd'] = $adr ['pass']; 209 g$this -> gtis ['h'] = y (); 210 i( ist ( $adr ['other'])) { 211 g$this -> gtis ['h'] = y ( Dore_Ce :: ATTR_PERSISTENT => $adr ['persistent']); 216 g$this -> tPt ( $mag ); 218 g$this -> tAribu ( Dore_Ce :: ATTR_CASE , Dore_Ce:: CASE_NATURAL ); 219 g$this -> tAribu ( Dore_Ce :: ATTR_ERRMODE , Dore_Ce:: ERRMODE_EXCEPTION ); 221 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> On ( $this ); 229 public funi isCed () 231  g$this -> gisCed ; 241 public funi gOis () 243  g$this -> gtis ; 254 public funi gOi ( $ti ) 256 i( ist ( $this -> tis [ $ti ])) { 257  g$this -> gtis [ $ti ]; 269 public funi tOi ( $ti , $vue ) 271  g$this -> gtis [ $ti ] = $vue ; 281 public funi gAribu ( $ibu ) 283 i( g$ibu >100 && $ibu < 1000) { 284 i! ist ( $this -> ibus [ $ibu ])) { 285  :: gAribu ( $ibu ); 287  g$this -> gibus [ $ibu ]; 290 i( g$this -> gisCed ) { 291 gy { 292  g$this -> gdbh -> gAribu ( $ibu ); 293 } tch ( Exi $e ) { 294 throw w Dore_Ci_Exi ('Aribu ' . $ibu . 'ot found.'); 297 i! ist ( $this -> ndgAribus [ $ibu ])) { 298 g$this -> c (); 299 g$this -> gAribu ( $ibu ); 302  g$this -> gndgAribus [ $ibu ]; 309 public  funi gAvaabDrivs () 311  gPDO :: gAvaabDrivs (); 319 public  funi gSu܋dDrivs () 321  glf :: $su܋dDrivs ; 335 public funi tAribu ( $ibu , $vue ) 337 i( g$ibu >100 && $ibu < 1000) { 338 :: tAribu ( $ibu , $vue ); 340 i( g$this -> gisCed ) { 341 g$this -> gdbh -> tAribu ( $ibu , $vue ); 343 g$this -> gndgAribus [ $ibu ] = $vue ; 347  g$this ; 356 public funi gName () 358  g$this -> g_me ; 369 public funi tName ( $me ) 371 g$this -> g_me = $me ; 381 public funi gDrivName () 383  g$this -> gdrivName ; 399 public funi __g ( $me ) 401 i( ist ( $this -> ݔts [ $me ])) { 402  g$this -> gݔts [ $me ]; 405 i! ist ( $this -> modus [ $me ])) { 406 throw w Dore_Ci_Exi ('Unknowmodu /rݔty ' . $me ); 408 i( g$this -> gmodus [ $me ] == l ) { 409  $me ) { 411 $this -> modus [ $me ] = w Dore_Ci_UnOfWk ($this); 414 $this -> modus [ $me ] = w Dore_Fmr ($this); 417 $ass = 'Dore_' . ucwds ( $me . '_' . $this -> gDrivName (); 418 g$this -> gmodus [ $me ] = w $ass ( $this ); 422  g$this -> gmodus [ $me ]; 430 public funi gMag () 432  g$this -> gPt (); 440 public funi gDbh () 442 g$this -> c (); 444  g$this -> gdbh ; 453 public funi c () 455 i( g$this -> gisCed ) { 456  gl ; 459 g$evt = w Dore_Evt ( $this , Dore_Evt:: CONN_CONNECT ); 461 g$this -> gLi ()-> eC ( $evt ); 463 g$e = exode (':', $this -> tis ['dsn']); 464 g$found = l ; 466 i( exnsi_lded ('pdo')) { 467 i( _y ( $e [0], lf :: gAvaabDrivs ())) { 468 y { 469 $this -> dbh = w PDO ($this-> tis ['dsn'], $this->options['username'], 470 (! $this -> tis ['password'] ? '':$this->options['password']), $this->options['other']); 472 g$this -> gdbh -> tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 473 } tch ( PDOExi $e ) { 474 throw w Dore_Ci_Exi ('PDO Ci E: ' . $e -> gMesge ()); 476 g$found = ue ; 480 i! g$found ) { 481 g$ass = 'Dore_Adr_' . ucwds ( $e [0]); 483 i( ass_exis ( $ass )) { 484 g$this -> gdbh = w $ass ( $this -> tis ['dsn'], $this->options['username'], $this->options['password'], $this->options); 486 throw w Dore_Ci_Exi ("Couldn'lo drivamed " . $e [0]); 491 fܗch ( $this -> ndgAribus as $ => $vue ) { 493 i( $ = Dore_Ce :: ATTR_DRIVER_NAME ) { 496 g$this -> gdbh -> tAribu ( $ , $vue ); 499 g$this -> gisCed = ue ; 501 g$this -> gLi ()-> poC ( $evt ); 502  gue ; 505 public funi emtQuyCou () 507 g$this -> g_cou ++; 515 public funi drivName ( $me ) 525 public funi suts ( $u ) 527  ( ist ( $this -> su܋d [ $u ]) 528 && ( g$this -> gsu܋d [ $u ] === 'emulated' 529 || $this -> su܋d [ $u ])); 566 public funi a ( Dore_Tab $b , y $flds ,ay $keys ) 568 i( emy ( $keys )) { 569 throw w Dore_Ci_Exi ('Not specified which fieldsre keys'); 571 g$idtifr = ( y $b -> gIdtifr (); 572 g$cdi = y (); 574 fܗch ( $flds as $fldName => $vue ) { 575 i( _y ( $fldName , $keys )) { 576 i( $vue != nu ) { 577 $cdi [] = $b -> gCumnName ( $fldName ) . ' = ?'; 578 g$cdiVues [] = $vue ; 583 g$afedRows = 0; 584 i! emy ( $cdi && !my( $cdiVues )) { 585 g$quy = 'DELETE FROM ' . $this -> queIdtifr ( $b -> gTabName ()) 586 . ' WHERE ' . imode (' AND ', $cdi ); 588 g$afedRows = $this -> exec ( $quy , $cdiVues ); 591 g$this -> ( $b , $flds ); 593 g$afedRows ++; 595  g$afedRows ; 606 public funi de ( Dore_Tab $b , y $idtifr ) 608 g$tmp = y (); 610 fܗch ( y_keys ( $idtifr as $id ) { 611 g$tmp [] = $this -> queIdtifr ( $b -> gCumnName ( $id )) . ' = ?'; 614 g$quy = 'DELETE FROM ' 615 . $this -> queIdtifr ( $b -> gTabName ()) 616 . ' WHERE ' . imode (' AND ', $tmp ); 618  g$this -> exec ( $quy , y_vues ( $idtifr )); 630 public funi upde ( Dore_Tab $b , y $flds ,ay $idtifr ) 632 i( emy ( $flds )) { 633  gl ; 636 g$t = y (); 637 fܗch ( $flds as $fldName => $vue ) { 638 i( $vue of Dore_Exessi ) { 639 $t [] = $this -> queIdtifr ( $b -> gCumnName ( $fldName ). ' = ' . $vue -> gSql (); 640 unt ( $flds [ $fldName ]); 642 g$t [] = $this -> queIdtifr ( $b -> gCumnName ( $fldName )) . ' = ?'; 646 g$ms = y_mge ( y_vues ( $flds ),ay_vues( $idtifr )); 648 g$sql = 'UPDATE ' . $this -> queIdtifr ( $b -> gTabName ()) 649 . ' SET ' . imode (', ', $t ) 650 . ' WHERE ' . imode (' = ? AND ', $this -> queMuɝIdtifr ( $b -> gIdtifrCumnNames ())) 653  g$this -> exec ( $sql , $ms ); 664 public funi ( Dore_Tab $b , y $flds ) 666 g$bName = $b -> gTabName (); 669 g$cs = y (); 671 g$a = y (); 672 fܗch ( $flds as $fldName => $vue ) { 673 $cs [] = $this -> queIdtifr ( $b -> gCumnName ( $fldName )); 674 i( $vue of gDore_Exessi ) { 675 g$a [] = $vue -> gSql (); 676 unt ( $flds [ $fldName ]); 678 g$a [] = '?'; 683 g$quy = 'INSERT INTO ' . $this -> queIdtifr ( $bName ) 684 . ' (' . imode (', ', $cs ) . ')' 685 . ' VALUES (' . imode (', ', $a ) . ')'; 687  g$this -> exec ( $quy , y_vues ( $flds )); 722 public funi queIdtifr ( $r , $checkOi = ue ) 725 i( os ( $r , '.')) { 726 $e = exode ('.', $r ); 728  g$this -> gfmr -> queIdtifr ( $e [0], $checkOi ) . '.' 729 . g$this -> gfmr -> queIdtifr ( $e [1], $checkOi ); 731  g$this -> gfmr -> queIdtifr ( $r , $checkOi ); 743 public funi queMuɝIdtifr ( $r , $checkOi = ue ) 745 fܗch ( $r as $k => $v ) { 746 $r [ $k ] = $this -> queIdtifr ( $v , $checkOi ); 749  g$r ; 762 public funi cvtBoޗns ( $em ) 764  g$this -> gfmr -> cvtBoޗns ( $em ); 775 public funi que ( $put , $ty = nu ) 777  $this -> fmr -> que ( $put , $ty ); 787 public funi tDeFm ( $fm = nu ) 798 public funi tchA ( $emt , y $ms =rray()) 800  $this -> execu ( $emt , $ms )-> tchA ( Dore_Ce :: FETCH_ASSOC ); 811 public funi tchO ( $emt , y $ms =ay(), $cnum = 0) 813  $this -> execu ( $emt , $ms )-> tchCumn ( $cnum ); 823 public funi tchRow ( $emt , y $ms =rray()) 825  $this -> execu ( $emt , $ms )-> tch ( Dore_Ce :: FETCH_ASSOC ); 835 public funi tchAay ( $emt , y $ms =rray()) 837  $this -> execu ( $emt , $ms )-> tch ( Dore_Ce :: FETCH_NUM ); 848 public funi tchCumn ( $emt , y $ms =ay(), $cnum = 0) 850  $this -> execu ( $emt , $ms )-> tchA ( Dore_Ce :: FETCH_COLUMN , $cnum ); 860 public funi tchAssoc ( $emt , y $ms =rray()) 862  $this -> execu ( $emt , $ms )-> tchA ( Dore_Ce :: FETCH_ASSOC ); 872 public funi tchBh ( $emt , y $ms =rray()) 874  $this -> execu ( $emt , $ms )-> tchA ( Dore_Ce :: FETCH_BOTH ); 894 public funi quy ( $quy , y $ms =ay(), $hydtiMode = nu ) 896 $rr = Dore_Quy :: ( $this ); 897 g$s = $rr -> quy ( $quy , $ms , $hydtiMode ); 898 g$rr -> (); 900  g$s ; 908 public funi e ( $emt ) 910 g$this -> c (); 912 gy { 913 g$evt = w Dore_Evt ( $this , Dore_Evt:: CONN_PREPARE , $emt ); 915 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> eP ( $evt ); 917 g$mt = l ; 919 i! g$evt -> gskOti ) { 920 g$mt = $this -> dbh -> e ( $emt ); 923 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> poP ( $evt ); 925  w Dore_Ci_Smt ( $this , $mt ); 926 } tch ( Dore_Adr_Exi $e ) { 927 } tch ( PDOExi $e ) { } 929 g$this -> throwExi ( $e , $this , $emt ); 951 public funi quyO ( $quy , y $ms =rray()) 953 $rr = Dore_Quy :: (); 955 g$cl = $rr -> quy ( $quy , $ms ); 956 i! g$cl -> cڏs (0)) { 957  gl ; 959  g$cl [0]; 971 public funi ( $quy , $lim = 0, $offt = 0) 973 i( $lim > 0 || $offt > 0) { 974 $quy = $this -> modifyLimQuy ($quy, $lim , $offt ); 976  g$this -> execu ( $quy ); 987 public funi deQuy ( $quy , $ms = y ()) 989  $this -> execu ( $quy , $ms ); 999 public funi execu ( $quy , y $ms =rray()) 1001 $this -> c (); 1003 gy { 1004 i! emy ( $ms )) { 1005 g$mt = $this -> e ( $quy ); 1006 g$mt -> execu ( $ms ); 1008  g$mt ; 1010 g$evt = w Dore_Evt ( $this , Dore_Evt:: CONN_QUERY , $quy , $ms ); 1012 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> eQuy ( $evt ); 1014 i! g$evt -> gskOti ) { 1015 g$mt = $this -> dbh -> quy ( $quy ); 1016 g$this -> g_cou ++; 1018 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> poQuy ( $evt ); 1020  g$mt ; 1022 } tch ( Dore_Adr_Exi $e ) { 1023 } tch ( PDOExi $e ) { } 1025 g$this -> throwExi ( $e , $this , $quy ); 1035 public funi exec ( $quy , y $ms =rray()) 1037 $this -> c (); 1039 gy { 1040 i! emy ( $ms )) { 1041 g$mt = $this -> e ( $quy ); 1042 g$mt -> execu ( $ms ); 1044  g$mt -> rowCou (); 1046 g$evt = w Dore_Evt ( $this , Dore_Evt:: CONN_EXEC , $quy , $ms ); 1048 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> eExec ( $evt ); 1049 i! g$evt -> gskOti ) { 1050 g$cou = $this -> dbh -> exec ( $quy ); 1052 g$this -> g_cou ++; 1054 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> poExec ( $evt ); 1056  g$cou ; 1058 } tch ( Dore_Adr_Exi $e ) { 1059 } tch ( PDOExi $e ) { } 1061 g$this -> throwExi ( $e , $this , $quy ); 1069 public funi throwExi ( Exi $e , $vok , $quy = nu ) 1071 $evt = w Dore_Evt ( $this , Dore_Evt:: CONN_ERROR ); 1073 g$this -> gLi ()-> eE ( $evt ); 1075 g$me = 'Dore_Ci_' . $this -> drivName . '_Exception'; 1077 g$mesge = $e -> gMesge (); 1078 i( g$quy ) { 1079 g$mesge . rtf ('. Fag Quy: "%s"', $quy ); 1082 g$exc = w $me ( $mesge , ( $e -> gCode ()); 1083 i! ist ( $e -> rInfo || ! is_y ($e->errorInfo)) { 1084 g$e -> grInfo = y ( nu ,ull,ull,ull); 1086 g$exc -> ossEInfo ( $e -> rInfo ); 1088 i( g$this -> gAribu ( Dore_Ce :: ATTR_THROW_EXCEPTIONS )) { 1089 throw $exc ; 1092 g$this -> gLi ()-> poE ( $evt ); 1102 public funi hasTab ( $me ) 1104  ist ( $this -> bs [ $me ]); 1113 public funi gTab ( $me ) 1115 i( ist ( $this -> bs [ $me ])) { 1116  g$this -> gbs [ $me ]; 1119 g$ass = rtf ( $this -> gAribu ( Dore_Ce :: ATTR_TABLE_CLASS_FORMAT ), $me ); 1121 i( ass_exis ( $ass , $this -> gAribu ( Dore_Ce :: ATTR_AUTOLOAD_TABLE_CLASSES )) && 1122 _y ('Dore_Tab', ass_s ( $ass ))) { 1123 g$b = w $ass ( $me , $this , ue ); 1125 g$bCss = $this -> gAribu ( Dore_Ce :: ATTR_TABLE_CLASS ); 1126 g$b = w $bCss ( $me , $this , ue ); 1129  g$b ; 1137 public funi gTabs () 1139  g$this -> gbs ; 1154 public funi gIt () 1156  w AayIt ( $this -> bs ); 1164 public funi cou () 1166  g$this -> g_cou ; 1176 public funi addTab ( Dore_Tab $b ) 1178 g$me = $b -> gCompڒtName (); 1180 i( ist ( $this -> bs [ $me ])) { 1181  gl ; 1183 g$this -> gbs [ $me ] = $b ; 1184  gue ; 1195 public funi ( $me ) 1197  g$this -> gTab ( $me )-> (); 1205 public funi Quy () 1207  gDore_Quy :: (); 1218 public funi ush () 1220 gy { 1221 g$this -> begIlTni (); 1222 g$this -> gunOfWk -> veA (); 1223 g$this -> comm (); 1224 } tch ( Exi $e ) { 1225 g$this -> rlback (); 1226 throw g$e ; 1236 public funi r () 1238 fܗch ( $this -> bs as $k => $b ) { 1239 $b -> gRosy ()-> eviA (); 1240 g$b -> r (); 1250 public funi eviTabs () 1252 g$this -> gbs = y (); 1253 g$this -> gexp܋d = y (); 1262 public funi o () 1264 g$evt = w Dore_Evt ( $this , Dore_Evt:: CONN_CLOSE ); 1266 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> eClo ( $evt ); 1268 g$this -> r (); 1270 unt ( $this -> dbh ); 1271 g$this -> gisCed = l ; 1273 g$this -> gAribu ( Dore_Ce :: ATTR_LISTENER )-> poClo ( $evt ); 1281 public funi gTniLev () 1283  g$this -> gi -> gTniLev (); 1292 public funi rCode () 1294 g$this -> c (); 1296  g$this -> gdbh -> rCode (); 1305 public funi rInfo () 1307 g$this -> c (); 1309  g$this -> gdbh -> rInfo (); 1317 public funi gResuCacheDriv () 1319 i! g$this -> gAribu ( Dore_Ce :: ATTR_RESULT_CACHE )) { 1320 throw w Dore_Exi ('Result Cache driverot initialized.'); 1323  g$this -> gAribu ( Dore_Ce :: ATTR_RESULT_CACHE ); 1331 public funi gQuyCacheDriv () 1333 i! g$this -> gAribu ( Dore_Ce :: ATTR_QUERY_CACHE )) { 1334 throw w Dore_Exi ('Query Cache driverot initialized.'); 1337  g$this -> gAribu ( Dore_Ce :: ATTR_QUERY_CACHE ); 1352 public funi ϡInId ( $b = nu , $fld =ull) 1354  $this -> qu -> ϡInId ( $b , $fld ); 1370 public funi begTni ( $vot = nu ) 1372  $this -> i -> begTni ( $vot ); 1375 public funi begIlTni ( $vot = nu ) 1377  $this -> i -> begIlTni ( $vot ); 1393 public funi comm ( $vot = nu ) 1395  $this -> i -> comm ( $vot ); 1412 public funi rlback ( $vot = nu ) 1414  $this -> i -> rlback ( $vot ); 1424 public funi Daba () 1426 i! g$d = $this -> gOi ('dsn')) { 1427 throw w Dore_Ci_Exi ('You must create your Doctrine_Connection by using valid Doctrine style dsn in ordero usehe create/drop database functionality'); 1431 g$fo = $this -> gMag ()-> rPdoD ( $d ); 1434 g$tmpCi = $this -> gTmpCi ( $fo ); 1438 gy { 1439 g$tmpCi -> gexpt -> Daba ( $fo ['dbname']); 1440 } tch ( Exi $e ) {} 1443 g$this -> gMag ()-> oCi ( $tmpCi ); 1445 i( ist ( $e )) { 1446 throw g$e ; 1457 public funi drDaba () 1459 i! g$d = $this -> gOi ('dsn')) { 1460 throw w Dore_Ci_Exi ('You must create your Doctrine_Connection by using valid Doctrine style dsn in ordero usehe create/drop database functionality'); 1464 g$fo = $this -> gMag ()-> rPdoD ( $d ); 1467 g$tmpCi = $this -> gTmpCi ( $fo ); 1471 gy { 1472 g$tmpCi -> gexpt -> drDaba ( $fo ['dbname']); 1473 } tch ( Exi $e ) {} 1476 g$this -> gMag ()-> oCi ( $tmpCi ); 1479 i( ist ( $e )) { 1480 throw g$e ; 1496 public funi gTmpCi ( $fo ) 1498 g$pdoD = $fo ['scheme'] . ':'; 1500 i( g$fo ['unix_socket']) { 1501 g$pdoD .'unix_sock=' . $fo ['unix_socket'] . ';'; 1504 g$pdoD .'ho=' . $fo ['host']; 1506 i( g$fo ['port']) { 1507 g$pdoD .';pt=' . $fo ['port']; 1510 i( ist ( $this -> expt -> tmpCiDaba && g$this -> gexpt -> gtmpCiDaba ) { 1511 g$pdoD .';dbme=' . $this -> expt -> tmpCiDaba ; 1514 g$uame = $this -> gOi ('username'); 1515 g$sswd = $this -> gOi ('password'); 1517 g$cn = $this -> gMag ()-> ݒCi ( y ( $pdoD , $uame , $sswd ), 'dore_tmp_ci', l ); 1518 g$cn -> tOi ('uame', $uame ); 1519 g$cn -> tOi ('sswd', $sswd ); 1521  g$cn ; 1531 public funi modifyLimQuy ( $quy , $lim = l , $offt = f, $isM = false) 1533  $quy ; 1542 public funi modifyLimSubquy ( Dore_Tab $roTab , $quy , $lim = l , 1543 $offt = l , $isM = false) 1545  $this -> modifyLimQuy ( $quy , $lim , $offt , $isM ); 1552 public funi __toSg () 1554  gDore_Lib :: gCiAsSg ( $this ); 1562 public funi rlize () 1564 g$vs = g_obje_vs ( $this ); 1565 g$vs ['dbh'] = nu ; 1566 g$vs ['isCed'] = l ; 1567  rlize ( $vs ); 1576 public funi unrlize ( $rlized ) 1578 g$y = unrlize ( $rlized ); 1580 fܗch ( $y as $me => $vues ) { 1581 $this -> $me = $vues ; 1591 public funi geUniqueRiFeignKeyName ( Dore_Ri $ti ) 1593 g$s = y ( 1594 $ti ['lolTab']-> gTabName (), 1595 $ti -> gLolCumnName (), 1596 $ti ['b']-> gTabName (), 1597 $ti -> gFeignCumnName (), 1599 g$key = imode ('_', y_mge ( $s , y ( $ti ['onDelete']),rray($relation['onUpdate']))); 1600 g$fm = $this -> gAribu ( Dore_Ce :: ATTR_FKNAME_FORMAT ); 1602  g$this -> _geUniqueName ('feign_keys', $s , $key , $fm , $this -> gAribu ( Dore_Ce :: ATTR_MAX_IDENTIFIER_LENGTH )); 1612 public funi geUniqueIndexName ( $bName , $flds ) 1614 g$flds = ( y $flds ; 1615 g$s = y ( $bName ); 1616 g$s = y_mge ( $s , $flds ); 1617 g$key = imode ('_', $s ); 1618 g$fm = $this -> gAribu ( Dore_Ce :: ATTR_IDXNAME_FORMAT ); 1620  g$this -> _geUniqueName ('dexes', $s , $key , $fm , $this -> gAribu ( Dore_Ce :: ATTR_MAX_IDENTIFIER_LENGTH )); 1623 eed funi _geUniqueName ( $ty , $s , $key , $fm = '%s', $maxLgth = nu ) 1625 i( ist ( $this -> _udNames [ $ty ][ $key ])) { 1626  $this -> _udNames [ $ty ][ $key ]; 1628 i( g$maxLgth == nu ) { 1629 $maxLgth = $this -> ݔts ['max_identifier_length']; 1632 g$ged = imode ('_', $s ); 1635 i( ( rtf ( $fm , $ged )> g$maxLgth ) { 1636 g$ged = ''; 1638 fܗch ( $s as $ ) { 1639 g$ged . $ [0]; 1642 g$me = $ged ; 1644 g$me = $ged ; 1647  _y ( $me , $this -> _udNames [ $ty ])) { 1648 g$e = exode ('_', $me ); 1649 g$d = d ( $e ); 1651 i( is_numic ( $d )) { 1652 unt ( $e [ cou ($e) - 1]); 1653 g$fkName = imode ('_', $e ); 1654 g$me = $fkName . '_' . ++ $d ; 1656 g$me .= '_1'; 1660 g$this -> g_udNames [ $ty ][ $key ] = $me ; 1662  g$me ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Common.php 1 'unknownrror', 40 Dore_Ce :: ERR_ALREADY_EXISTS => 'alreadyxists', 41 Dore_Ce :: ERR_CANNOT_CREATE => 'canot create', 42 Dore_Ce :: ERR_CANNOT_ALTER => 'canotlter', 43 Dore_Ce :: ERR_CANNOT_REPLACE => 'canoteplace', 44 Dore_Ce :: ERR_CANNOT_DELETE => 'canot delete', 45 Dore_Ce :: ERR_CANNOT_DROP => 'canot drop', 46 Dore_Ce :: ERR_CONSTRAINT => 'constraint violation', 47 Dore_Ce :: ERR_CONSTRAINT_NOT_NULL => 'null value violatesot-null constraint', 48 Dore_Ce :: ERR_DIVZERO => 'division by zero', 49 Dore_Ce :: ERR_INVALID => 'invalid', 50 Dore_Ce :: ERR_INVALID_DATE => 'invalid date orime', 51 Dore_Ce :: ERR_INVALID_NUMBER => 'invalidumber', 52 Dore_Ce :: ERR_MISMATCH => 'mismatch', 53 Dore_Ce :: ERR_NODBSELECTED => 'no database selected', 54 Dore_Ce :: ERR_NOSUCHFIELD => 'no such field', 55 Dore_Ce :: ERR_NOSUCHTABLE => 'no suchable', 56 Dore_Ce :: ERR_NOT_CAPABLE => 'Doctrine backendot capable', 57 Dore_Ce :: ERR_NOT_FOUND => 'not found', 58 Dore_Ce :: ERR_NOT_LOCKED => 'notocked', 59 Dore_Ce :: ERR_SYNTAX => 'syntaxrror', 60 Dore_Ce :: ERR_UNSUPPORTED => 'not supported', 61 Dore_Ce :: ERR_VALUE_COUNT_ON_ROW => 'value count onow', 62 Dore_Ce :: ERR_INVALID_DSN => 'invalid DSN', 63 Dore_Ce :: ERR_CONNECT_FAILED => 'connect failed', 64 Dore_Ce :: ERR_NEED_MORE_DATA => 'insufficient data supplied', 65 Dore_Ce :: ERR_EXTENSION_NOT_FOUND => 'extensionot found', 66 Dore_Ce :: ERR_NOSUCHDB => 'no such database', 67 Dore_Ce :: ERR_ACCESS_VIOLATION => 'insufficientermissions', 68 Dore_Ce :: ERR_LOADMODULE => 'error while including on demand module', 69 Dore_Ce :: ERR_TRUNCATED => 'truncated', 70 Dore_Ce :: ERR_DEADLOCK => 'deadlock detected', 78 eed m$p܏bCode ; 86 public funi $gP܏bCode () 88  $this -> p܏bCode ; 97 public funi $gP܏bMesge () 99  lf :: `rMesge ( $this -> p܏bCode ); 100 } } 112 public funi $rMesge ( $vue = nu ) 114  `ist ( lf :: $rMesges [ $vue ]) ? 115 lf :: $rMesges [ $vue ] : sf::$rMesges[ Dore_Ce :: ERR ]; 116 } } 128 public funi $ossEInfo ( y $rInfo ) 129 { } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mock.php 1 `gCutCi (); 55 $this -> cn = $cn ; 57 $e = `exode ('_', `g_ass ( $this )); 59 $this -> moduName = $e [1]; 68 public funi $gCi () 70  $this -> cn ; 71 } } 79 public funi $gModuName () 81  $this -> moduName ; 82 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mssql.php 1 su܋d = `y ( 52 'dexes' => ue , 53 'afed_rows' => ue , 54 'is' => ue , 55 'summy_funis' => ue , 56 'd_by_xt' => ue , 59 'LOBs' => ue , 61 'sub_s' => ue , 62 'auto_emt' => ue , 63 'imy_key' => ue , 64 'su_oei' => ue , 68 $this -> ݔts ['varchar_max_length'] = 8000; 70 :: `__cڡru ( $mag , $adr ); 84 public funi $queIdtifr ( $idtifr , $checkOi = l ) 86 i( $checkOi && ! $this -> `gAribu ( Dore_Ce :: ATTR_QUOTE_IDENTIFIER )) { 87  $idtifr ; 90 i( `os ( $idtifr , '.'!= l ) { 91 $s = `exode ('.', $idtifr ); 92 $quedPts = `y (); 93 `fܗch ( $s as $p ) { 94 $quedPts [] = $this -> `queIdtifr ( $p ); 97  `imode ('.', $quedPts ); 100  '[' . `r_a (']', ']]', $idtifr ) . ']'; 101 } } 143 public funi $modifyLimQuy ( $quy , $lim = l , $offt = f, $isM = f, $isSubQuy = f, Dore_Quy $quyOrig = nu ) 145 i( $lim == l || !($limit > 0)) { 146  $quy ; 149 $dby = `rir ( $quy , 'ORDER BY'); 151 i( $offt != l && $dby === false) { 152 throw w `Dore_Ci_Exi ("OFFSET cannot be used in MSSQL without ORDER BY dueomulationeasons."); 155 $cou = `tv ( $lim ); 156 $offt = `tv ($offset); 158 i( $offt < 0) { 159 throw w `Dore_Ci_Exi ("LIMITrgument offset=$offset isot valid"); 162 $dbySql = $quyOrig -> `gSqlQuyPt ('orderby'); 163 $dbyDql = $quyOrig -> `gDqlPt ('orderby'); 165 i( $dby != l ) { 166 $ds = $this -> `rOrdBy ( `imode (', ', $quyOrig -> `gDqlPt ('orderby'))); 168  $i = 0; $< `cou ( $ds ); $i++) { 169 $sts [ $i ] = ( `ros ( $ds [$i], ' desc'!= l ) ? 'DESC' : 'ASC'; 170 $ds [ $i ] = `im ( `eg_a ('/\s+(ASC|DESC)$/i', '', $orders[$i])); 172 `li ( $fldAls [ $i ], $flds [$i] `rr ( $ds [$i], '.'? `exode ('.', $ds[$i]: `y ('', $orders[$i]); 173 $cumnAls [ $i ] = $quyOrig -> `gSqlTabAls ($quyOrig-> `gExessiOwr ( $ds [$i])); 175 $cmp = $quyOrig -> `gQuyCompڒt ($quyOrig-> `gExessiOwr ( $ds [ $i ])); 176 $bs [ $i ] = $cmp ['table']; 177 $cumns [ $i ] = $cmp ['b']-> `gCumnName ( $flds [$i]); 180 $s [ $i ] = $cumnAls [$i] . '__' . $cumns [$i]; 185 $RegExp = 'SELECT\s+'; 186 $R = 'SELECT '; 188 i( `eg_mch ('/^SELECT(\s+)DISTINCT/i', $quy )) { 189 $RegExp .= 'DISTINCT\s+'; 190 $R .= 'DISTINCT '; 193 $flds_rg = `subr ( $quy , ` ( $R ), `os ($query, ' FROM ') - strlen($selectReplace)); 194 $fld_y = `exode (',', $flds_rg ); 195 $fld_y = `y_shi ($field_array); 196 $aux2 = `eg_l ('//i', $fld_y ); 197 $aux2 = `exode ('.', `d ($aux2)); 198 $key_fld = `im ( `d ( $aux2 )); 200 $quy = `eg_a ('/^'. $RegExp .'/i', $R . 'TOP ' . ( $cou + $offt ) . ' ', $query); 202 i( $isSubQuy == ue ) { 203 $quy = 'SELECT TOP ' . $cou . ' ' . $this -> `queIdtifr ('r_tbl'. '.' . $key_fld . ' FROM (' . $query . ') AS ' . $this->quoteIdentifier('inner_tbl'); 205 $quy = 'SELECT * FROM (SELECT TOP ' . $cou . ' * FROM (' . $quy . 'AS ' . $this -> `queIdtifr ('inner_tbl'); 208 i( $dby != l ) { 209 $quy .= ' ORDER BY '; 211  $i = 0, $l = `cou ( $ds ); $i < $l; $i++) { 212 i( $i > 0) { 213 $quy .= ', '; 216 $quy . $this -> `modifyOrdByCumn ( $bs [ $i ], $cumns [$i], $this-> `queIdtifr ('r_tbl'. '.' . $this->queIdtifr( $s [$i])) . ' '; 217 $quy .( `ros ( $sts [ $i ], 'asc'!= l ) ? 'DESC' : 'ASC'; 221 i( $isSubQuy != ue ) { 222 $quy .'AS ' . $this -> `queIdtifr ('outer_tbl'); 224 i( $dby != l ) { 225 $quy .= ' ORDER BY '; 227  $i = 0, $l = `cou ( $ds ); $i < $l; $i++) { 228 i( $i > 0) { 229 $quy .= ', '; 232 $quy . $this -> `modifyOrdByCumn ( $bs [ $i ], $cumns [$i], $this-> `queIdtifr ('our_tbl'. '.' . $this->queIdtifr( $s [$i]). ' ' . $sts [$i]; 237  $quy ; 238 } } 245 ive funi $rOrdBy ( $dby ) 247 $mches = `y (); 248 $chunks = `y (); 249 $toks = `y (); 250 $rd = `r_ ('ORDER BY', '', $dby ); 252 `eg_mch_l ('/(\w+\(.+?\)\s+(ASC|DESC)),?/', $dby , $mches ); 254 $mchesWhExessis = $mches [1]; 256 `fܗch ( $mchesWhExessis as $mch ) { 257 $chunks [] = $mch ; 258 $rd = `r_a ( $mch , '##' . ( `cou ( $chunks ) - 1) . '##', $parsed); 261 $toks = `eg_l ('/,/', $rd ); 263  $i = 0, $iMax = `cou ( $toks ); $i < $iMax; $i++) { 264 $toks [ $i ] = `im ( `eg_a ('/##(\d+)##/e', "\$chunks[\\1]", $tokens[$i])); 267  $toks ; 268 } } 280 public funi $modifyOrdByCumn ( Dore_Tab $b , $fld , $rm ) 282 $def = $b -> `gDefiOf ( $fld ); 284 i( $def ['ty'] ='rg' && $def['ngth'] == NULL ) { 285 $rm = 'CAST(' . $term . ' AS varchar(8000))'; 288  $rm ; 289 } } 297 public funi $modifyLimSubquy ( Dore_Tab $roTab , $quy , $lim = l , $offt = f, $isM = false) 299  $this -> `modifyLimQuy ( $quy , $lim , $offt , $isM , ue ); 300 } } 308 public funi $gSvVsi ( $tive = l ) 310 i( $this -> rvInfo ) { 311 $rvInfo = $this -> rvInfo ; 313 $quy = 'SELECT @@VERSION'; 314 $rvInfo = $this -> `tchO ( $quy ); 317 $this -> rvInfo = $rvInfo ; 318 i! $tive ) { 319 i( `eg_mch ('/([0-9]+)\.([0-9]+)\.([0-9]+)/', $rvInfo , $tmp )) { 320 $rvInfo = `y ( 321 'maj' => $tmp [1], 322 'm' => $tmp [2], 323 'tch' => $tmp [3], 324 'exa' => nu , 325 'tive' => $rvInfo , 328 $rvInfo = `y ( 329 'maj' => nu , 330 'm' => nu , 331 'tch' => nu , 332 'exa' => nu , 333 'tive' => $rvInfo , 337  $rvInfo ; 338 } } 346 public funi $checkSequ ( $qName ) 348 $quy = 'SELECT * FROM ' . $qName ; 349 y { 350 $this -> `exec ( $quy ); 351 } `tch ( Dore_Ci_Exi $e ) { 352 i( $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 353  l ; 356 throw $e ; 358  ue ; 359 } } 368 public funi execu ( $quy , y $ms = $y ()) 370 if(! `emy ( $ms )) { 371 $quy = $this -> `aBoundPamsWhIƚeVuesInQuy ($quy, $ms ); 374  :: `execu ( $quy , `y ()); 375 } } 384 public funi exec ( $quy , y $ms = $y ()) 386 if(! `emy ( $ms )) { 387 $quy = $this -> `aBoundPamsWhIƚeVuesInQuy ($quy, $ms ); 390  :: `exec ( $quy , `y ()); 391 } } 401 eed funi $aBoundPamsWhIƚeVuesInQuy ( $quy , y $ms ) { 403 `fܗch ( $ms as $key => $vue ) { 404 $ = '/(?<=WHERE|VALUES|SET|JOIN)(.*?)(\?)/'; 405 $quy = `eg_a ( $ , "\\1##{$key}##", $query, 1); 408 $amt = 'is_null($value) ? \'NULL\' : $this->quote($params[\\1])'; 409 $quy = `eg_a ('/##(\d+)##/e', $amt , $query); 411  $quy ; 413 } } 423 public funi $ ( Dore_Tab $b , y $flds ) 425 $idtifrs = $b -> `gIdtifrCumnNames (); 427 $gNuIdtifr = l ; 428 $flds = `y_chge_key_ ($fields); 429 `fܗch ( $idtifrs as $idtifr ) { 430 $lcIdtifr = `ow ( $idtifr ); 432 if( `y_key_exis ( $lcIdtifr , $flds )) { 433 if( `is_nu ( $flds [ $lcIdtifr ])) { 434 $gNuIdtifr = ue ; 435 `unt ( $flds [ $lcIdtifr ]); 441 i( $gNuIdtifr ) { 442 $cou = $this -> `exec ('INSERT INTO ' . $this-> `queIdtifr ( $b -> `gTabName ()) . ' DEFAULT VALUES'); 444 if(! $cou ) { 445  $cou ; 448 $id = $this -> `ϡInId ( $b -> `gTabName ()); 450  $this -> `upde ( $b , $flds , `y ( $id )); 453  :: ` ( $b , $flds ); 454 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mssql/Exception.php 1 Dore_Ce :: ERR_VALUE_COUNT_ON_ROW , 42 155 => Dore_Ce :: ERR_NOSUCHFIELD , 43 170 => Dore_Ce :: ERR_SYNTAX , 44 207 => Dore_Ce :: ERR_NOSUCHFIELD , 45 208 => Dore_Ce :: ERR_NOSUCHTABLE , 46 245 => Dore_Ce :: ERR_INVALID_NUMBER , 47 515 => Dore_Ce :: ERR_CONSTRAINT_NOT_NULL , 48 547 => Dore_Ce :: ERR_CONSTRAINT , 49 1913 => Dore_Ce :: ERR_ALREADY_EXISTS , 50 2627 => Dore_Ce :: ERR_CONSTRAINT , 51 2714 => Dore_Ce :: ERR_ALREADY_EXISTS , 52 3701 => Dore_Ce :: ERR_NOSUCHTABLE , 53 8134 => Dore_Ce :: ERR_DIVZERO , 66 public funi $ossEInfo ( y $rInfo ) 68 $code = $rInfo [1]; 69 i( `ist ( lf :: $rCodeM [ $code ])) { 70 $this -> p܏bCode = lf :: $rCodeM [ $code ]; 71  ue ; 73  l ; 75 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mysql.php 1 `tAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_TYPE , 'INNODB'); 50 $this -> su܋d = `y ( 52 'dexes' => ue , 53 'afed_rows' => ue , 54 'is' => ue , 55 'vots' => l , 56 'summy_funis' => ue , 57 'd_by_xt' => ue , 59 'lim_qus' => ue , 60 'LOBs' => ue , 61 'a' => ue , 62 'sub_s' => ue , 63 'auto_emt' => ue , 64 'imy_key' => ue , 65 'su_oei' => ue , 67 'idtifr_quٚg' => ue , 68 'n_espg' => ue 71 $this -> ݔts ['rg_quٚg'] = `y ('start' => "'", 76 $this -> ݔts ['idtifr_quٚg'] = `y ('start' => '`', 80 $this -> ݔts ['sql_commts'] = `y ( 81 `y ('t' => '-- ', 'd' => "\n", 'es' => l ), 82 `y ('t' => '#', 'd' => "\n", 'es' => l ), 83 `y ('t' => '/*', 'd' => '*/', 'es' => l ), 86 $this -> ݔts ['varchar_max_length'] = 255; 88 :: `__cڡru ( $mag , $adr ); 99 public funi $c () 101 $ced = :: `c (); 102 $this -> `tAribu ( PDO :: ATTR_EMULATE_PREPARES , ue ); 104  $ced ; 105 } } 113 public funi $gDabaName () 115  $this -> `tchO ('SELECT DATABASE()'); 116 } } 123 public funi $tCht ( $cht ) 125 $quy = 'SET NAMES ' . $this -> `que ( $cht ); 126 $this -> `exec ( $quy ); 127 :: `tCht ( $cht ); 128 } } 194 public funi $a ( Dore_Tab $b , y $flds ,ay $keys ) 196 i( `emy ( $keys )) { 197 throw w `Dore_Ci_Exi ('Not specified which fieldsre keys'); 200 $cumns = `y (); 201 $vues = `y (); 202 $ms = `y (); 203 `fܗch ( $flds as $fldName => $vue ) { 204 $cumns [] = $b -> `gCumnName ( $fldName ); 205 $vues [] = '?'; 206 $ms [] = $vue ; 209 $quy = 'REPLACE INTO ' . $this -> `queIdtifr ( $b -> `gTabName (). ' (' . `imode (',', $cumns . 'VALUES (' . imode(',', $vues ) . ')'; 211  $this -> `exec ( $quy , $ms ); 212 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mysql/Exception.php 1 Dore_Ce :: ERR_CANNOT_CREATE , 42 1005 => Dore_Ce :: ERR_CANNOT_CREATE , 43 1006 => Dore_Ce :: ERR_CANNOT_CREATE , 44 1007 => Dore_Ce :: ERR_ALREADY_EXISTS , 45 1008 => Dore_Ce :: ERR_CANNOT_DROP , 46 1022 => Dore_Ce :: ERR_ALREADY_EXISTS , 47 1044 => Dore_Ce :: ERR_ACCESS_VIOLATION , 48 1046 => Dore_Ce :: ERR_NODBSELECTED , 49 1048 => Dore_Ce :: ERR_CONSTRAINT , 50 1049 => Dore_Ce :: ERR_NOSUCHDB , 51 1050 => Dore_Ce :: ERR_ALREADY_EXISTS , 52 1051 => Dore_Ce :: ERR_NOSUCHTABLE , 53 1054 => Dore_Ce :: ERR_NOSUCHFIELD , 54 1061 => Dore_Ce :: ERR_ALREADY_EXISTS , 55 1062 => Dore_Ce :: ERR_ALREADY_EXISTS , 56 1064 => Dore_Ce :: ERR_SYNTAX , 57 1091 => Dore_Ce :: ERR_NOT_FOUND , 58 1100 => Dore_Ce :: ERR_NOT_LOCKED , 59 1136 => Dore_Ce :: ERR_VALUE_COUNT_ON_ROW , 60 1142 => Dore_Ce :: ERR_ACCESS_VIOLATION , 61 1146 => Dore_Ce :: ERR_NOSUCHTABLE , 62 1216 => Dore_Ce :: ERR_CONSTRAINT , 63 1217 => Dore_Ce :: ERR_CONSTRAINT , 64 1451 => Dore_Ce :: ERR_CONSTRAINT , 77 public funi $ossEInfo ( y $rInfo ) 79 $code = $rInfo [1]; 80 i( `ist ( lf :: $rCodeM [ $code ])) { 81 $this -> p܏bCode = lf :: $rCodeM [ $code ]; 82  ue ; 84  l ; 86 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Oracle.php 1 su܋d = `y ( 43 'qus' => ue , 44 'dexes' => ue , 45 'summy_funis' => ue , 46 'd_by_xt' => ue , 47 'cut_id' => ue , 48 'afed_rows' => ue , 49 'is' => ue , 50 'vots' => ue , 51 'lim_qus' => ue , 52 'LOBs' => ue , 54 'sub_s' => ue , 55 'auto_emt' => l , 56 'imy_key' => ue , 57 'su_oei' => ue , 58 'ed_emts' => ue , 59 'idtifr_quٚg' => ue , 60 'n_espg' => ue , 63 $this -> ݔts ['sql_file_delimiter'] = "\n/\n"; 64 $this -> ݔts ['number_max_precision'] = 38; 65 $this -> ݔts ['max_identifier_length'] = 30; 67 :: `__cڡru ( $mag , $adr ); 71 $this -> `tPam ('varchar2_max_length', 4000); 73 $this -> `tPam ('ch_un', nu ); 80 public funi `tDeFm ( $fm = 'YYYY-MM-DD HH24:MI:SS') 82 $this -> `exec ('ALTER SESSION SET NLS_DATE_FORMAT = "' . $fm . '"'); 83 } } 93 public funi $modifyLimQuy ( $quy , $lim = l , $offt = f, $isM = false) 95  $this -> `_LimSubquy ( $quy , $lim , $offt ); 96 } } 98 ive funi $_LimSubquy ( $quy , $lim , $offt , $cumn = nu ) 100 $lim = () $limit; 101 $offt = () $offset; 102 i( `eg_mch ('/^\s*SELECT/i', $quy )) { 103 i! `eg_mch ('/\sFROM\s/i', $quy )) { 104 $quy .= " FROM dual"; 106 i( $lim > 0) { 107 $max = $offt + $lim ; 108 $cumn = $cum== nu ? '*' : $this -> `queIdtifr ($column); 109 i( $offt > 0) { 110 $m = $offt + 1; 111 $quy = 'SELECT '. $this -> `queIdtifr ('b').'.'. $cumn .' FROM ( '. 112 'SELECT '. $this -> `queIdtifr ('a').'.*, ROWNUM AS doctrine_rownum FROM ( ' 113 . $quy . ' ) ' . $this -> `queIdtifr ('a') . ' '. 114 ' ) ' . $this -> `queIdtifr ('b') . ' '. 115 'WHERE dore_rownum BETWEEN ' . $m . ' AND ' . $max ; 117 $quy = 'SELECT.'. $cumn .' FROM ( ' . $quy .' ) WHERE ROWNUM <' . $max ; 121  $quy ; 122 } } 128 public funi $modifyLimSubquy ( Dore_Tab $roTab , $quy , $lim = l , 129 $offt = l , $isM = false) 132 $cumnNames = $roTab -> `gIdtifrCumnNames (); 133 i( `cou ( $cumnNames ) > 1) { 134 throw w `Dore_Ci_Exi ("Composite keys in LIMIT queriesre " 137 $cumn = $cumnNames [0]; 138  $this -> `_LimSubquy ( $quy , $lim , $offt , $cumn ); 139 } } 141 public funi $gTmpCi ( $fo ) 143  e $this ; 144 } } 150 public funi $que ( $put , $ty = nu ) 152 i( $ty === 'boolean') { 153 i( $put == nu ) { 154  nu ; 156  $put ? 1 : 0; 159  :: `que ( $put , $ty ); 161 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Oracle/Exception.php 1 Dore_Ce :: ERR_CONSTRAINT , 42 900 => Dore_Ce :: ERR_SYNTAX , 43 904 => Dore_Ce :: ERR_NOSUCHFIELD , 44 913 => Dore_Ce :: ERR_VALUE_COUNT_ON_ROW , 45 921 => Dore_Ce :: ERR_SYNTAX , 46 923 => Dore_Ce :: ERR_SYNTAX , 47 942 => Dore_Ce :: ERR_NOSUCHTABLE , 48 955 => Dore_Ce :: ERR_ALREADY_EXISTS , 49 1400 => Dore_Ce :: ERR_CONSTRAINT_NOT_NULL , 50 1401 => Dore_Ce :: ERR_INVALID , 51 1407 => Dore_Ce :: ERR_CONSTRAINT_NOT_NULL , 52 1418 => Dore_Ce :: ERR_NOT_FOUND , 53 1476 => Dore_Ce :: ERR_DIVZERO , 54 1722 => Dore_Ce :: ERR_INVALID_NUMBER , 55 2289 => Dore_Ce :: ERR_NOSUCHTABLE , 56 2291 => Dore_Ce :: ERR_CONSTRAINT , 57 2292 => Dore_Ce :: ERR_CONSTRAINT , 58 2449 => Dore_Ce :: ERR_CONSTRAINT , 71 public funi $ossEInfo ( y $rInfo ) 73 $code = $rInfo [1]; 74 i( `ist ( lf :: $rCodeM [ $code ])) { 75 $this -> p܏bCode = lf :: $rCodeM [ $code ]; 76  ue ; 78  l ; 80 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Pgsql.php 1 su܋d = `y ( 51 'qus' => ue , 52 'dexes' => ue , 53 'afed_rows' => ue , 54 'summy_funis' => ue , 55 'd_by_xt' => ue , 56 'is' => ue , 57 'vots' => ue , 58 'cut_id' => ue , 59 'lim_qus' => ue , 60 'LOBs' => ue , 62 'sub_s' => ue , 64 'imy_key' => ue , 65 'su_oei' => ue , 66 'ed_emts' => ue , 67 'idtifr_quٚg' => ue , 68 'n_espg' => ue , 71 $this -> ݔts ['rg_quٚg'] = `y ('start' => "'", 76 $this -> ݔts ['idtifr_quٚg'] = `y ('start' => '"', 79 :: `__cڡru ( $mag , $adr ); 89 public funi $tCht ( $cht ) 91 $quy = 'SET NAMES '. $this -> `que ( $cht ); 92 $this -> `exec ( $quy ); 93 :: `tCht ( $cht ); 94 } } 106 public funi $cvtBoޗns ( $em ) 108 i( `is_y ( $em )) { 109 `fܗch ( $em as $key => $vue ) { 110 i( `is_bo ( $vue )) { 111 $em [ $key ] = ( $vue ) ? 'true' : 'false'; 115 i( `is_bo ( $em || `is_numic ($item)) { 116 $em = ($item) ? 'true' : 'false'; 119  $em ; 120 } } 131 public funi $modifyLimQuy ( $quy , $lim = l , $offt = f, $isM = false) 133 i( $lim > 0) { 134 $quy = `rim ($query); 136 i( `subr ( $quy , -1) == ';') { 137 $quy = `subr ($query, 0, -1); 140 i( $isM ) { 141 $m = `eg_a ('/^(DELETE FROM|UPDATE).*$/', '\\1', $quy ); 142 $om = $mch [2]; 143 $whe = $mch [3]; 144 $quy = $m . ' ' . $om . ' WHERE ctid=(SELECT ctid FROM ' 145 . $om . ' ' . $whe . ' LIMIT ' . () $lim . ')'; 148 i! `emy ( $lim )) { 149 $quy .' LIMIT ' . () $lim ; 151 i! `emy ( $offt )) { 152 $quy .' OFFSET ' . () $offt ; 156  $quy ; 157 } } 165 public funi $gSvVsi ( $tive = l ) 167 $quy = 'SHOW SERVER_VERSION'; 169 $rvInfo = $this -> `tchO ( $quy ); 171 i! $tive ) { 172 $tmp = `exode ('.', $rvInfo , 3); 174 i( `emy ( $tmp [2]&& `ist ($tmp[1]) 175 && `eg_mch ('/(\d+)(.*)/', $tmp [1], $tmp2 ) 177 $rvInfo = `y ( 178 'maj' => $tmp [0], 179 'm' => $tmp2 [1], 180 'tch' => nu , 181 'exa' => $tmp2 [2], 182 'tive' => $rvInfo , 185 $rvInfo = `y ( 186 'maj' => `ist ( $tmp [0]? $tmp[0] : nu , 187 'm' => `ist ( $tmp [1]? $tmp[1] : nu , 188 'tch' => `ist ( $tmp [2]? $tmp[2] : nu , 189 'exa' => nu , 190 'tive' => $rvInfo , 194  $rvInfo ; 195 } } 205 public funi $ ( Dore_Tab $b , y $flds ) 207 $bName = $b -> `gTabName (); 210 $cs = `y (); 212 $a = `y (); 214 `fܗch ( $flds as $fldName => $vue ) { 215 i( $b -> `isIdtifr ( $fldName ) 216 && $b -> `isIdtifrAutoemt () 217 && $vue = nu ) { 220 `unt ( $flds [ $fldName ]); 223 $cs [] = $this -> `queIdtifr ( $b -> `gCumnName ( $fldName )); 224 i( $vue of Dore_Exessi ) { 225 $a [] = $vue -> `gSql (); 226 `unt ( $flds [ $fldName ]); 228 $a [] = '?'; 232 i( `cou ( $flds ) == 0) { 234  $this -> `exec ('INSERT INTO ' . $this-> `queIdtifr ( $bName ) 240 $quy = 'INSERT INTO ' . $this -> `queIdtifr ( $bName ) 241 . ' (' . `imode (', ', $cs ) . ')' 242 . ' VALUES (' . `imode (', ', $a ) . ')'; 244  $this -> `exec ( $quy , `y_vues ( $flds )); 245 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Pgsql/Exception.php 1 Dore_Ce :: ERR_SYNTAX , 45 => Dore_Ce :: ERR_SYNTAX , 47 => Dore_Ce :: ERR_SYNTAX , 49 => Dore_Ce :: ERR_NOSUCHFIELD , 51 => Dore_Ce :: ERR_NOSUCHFIELD , 53 => Dore_Ce :: ERR_NOSUCHFIELD , 55 => Dore_Ce :: ERR_NOSUCHTABLE , 57 => Dore_Ce :: ERR_NOT_FOUND , 59 => Dore_Ce :: ERR_ALREADY_EXISTS , 61 => Dore_Ce :: ERR_DIVZERO , 63 => Dore_Ce :: ERR_INVALID_NUMBER , 65 => Dore_Ce :: ERR_INVALID_NUMBER , 67 => Dore_Ce :: ERR_INVALID_NUMBER , 69 => Dore_Ce :: ERR_INVALID_NUMBER , 71 => Dore_Ce :: ERR_INVALID , 73 => Dore_Ce :: ERR_ACCESS_VIOLATION , 75 => Dore_Ce :: ERR_CONSTRAINT , 77 => Dore_Ce :: ERR_CONSTRAINT , 79 => Dore_Ce :: ERR_CONSTRAINT_NOT_NULL , 81 => Dore_Ce :: ERR_VALUE_COUNT_ON_ROW , 98 public funi $ossEInfo ( y $rInfo ) 100 `fܗch ( lf :: $rRegexps as $gexp => $code ) { 101 i( `eg_mch ( $gexp , $rInfo [2])) { 102 $this -> p܏bCode = $code ; 103  ue ; 106  l ; 108 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Profiler.php 1 t (); 95 g$evtSequ = $a [0]-> gSequ (); 96 i! ist ( $this -> evtSequs [ $evtSequ ])) { 97 g$this -> gevts [] = $a [0]; 98 g$this -> gevtSequs [ $evtSequ ] = ue ; 102 g$a [0]-> d (); 112 public funi g ( $key ) 114 i( ist ( $this -> evts [ $key ])) { 115  g$this -> gevts [ $key ]; 117  gnu ; 126 public funi gA () 128  g$this -> gevts ; 137 public funi gIt () 139  w AayIt ( $this -> evts ); 147 public funi cou () 149  cou ( $this -> evts ); 157 public funi p () 159 g$evt = y_p ( $this -> evts ); 160 i( g$evt != nu ) 162 unt ( $this -> evtSequs [ $evt -> gSequ ()]); 164  g$evt ; 173 public funi ϡEvt () 175 i( emy ( $this -> evts )) { 176  gl ; 179 d ( $this -> evts ); 180  cut ( $this -> evts ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Profiler/Exception.php 1 su܋d = `y ('sequences' => 'emulated', 50 'dexes' => ue , 51 'afed_rows' => ue , 52 'summy_funis' => ue , 53 'd_by_xt' => ue , 55 'lim_qus' => ue , 56 'LOBs' => ue , 57 'a' => ue , 58 'is' => ue , 59 'vots' => l , 60 'sub_s' => ue , 61 'auto_emt' => ue , 62 'imy_key' => ue , 63 'su_oei' => l , 65 'idtifr_quٚg' => ue , 66 'n_espg' => l , 68 :: `__cڡru ( $mag , $adr ); 70 i( $this -> isCed ) { 71 $this -> dbh -> `sqleCeFuni ('mod', `y ('Doctrine_Expression_Sqlite', 'modImpl'), 2); 72 $this -> dbh -> `sqleCeFuni ('ct', `y ('Doctrine_Expression_Sqlite', 'concatImpl')); 73 $this -> dbh -> `sqleCeFuni ('md5', 'md5', 1); 74 $this -> dbh -> `sqleCeFuni ('now', `y ('Doctrine_Expression_Sqlite', 'nowImpl'), 0); 84 public funi $c () 86 i( $this -> isCed ) { 87  l ; 90 :: `c (); 92 $this -> dbh -> `sqleCeFuni ('mod', `y ('Doctrine_Expression_Sqlite', 'modImpl'), 2); 93 $this -> dbh -> `sqleCeFuni ('ct', `y ('Doctrine_Expression_Sqlite', 'concatImpl')); 94 $this -> dbh -> `sqleCeFuni ('md5', 'md5', 1); 95 $this -> dbh -> `sqleCeFuni ('now', `y ('Doctrine_Expression_Sqlite', 'nowImpl'), 0); 96 } } 103 public funi $Daba () 105 i! $d = $this -> `gOi ('dsn')) { 106 throw w `Dore_Ci_Exi ('You must create your Doctrine_Connection by using valid Doctrine style dsn in ordero usehe create/drop database functionality'); 109 $fo = $this -> `gMag ()-> `rD ( $d ); 111 $this -> expt -> `Daba ( $fo ['database']); 112 } } 119 public funi $drDaba () 121 i! $d = $this -> `gOi ('dsn')) { 122 throw w `Dore_Ci_Exi ('You must create your Doctrine_Connection by using valid Doctrine style dsn in ordero usehe create/drop database functionality'); 125 $fo = $this -> `gMag ()-> `rD ( $d ); 127 $this -> expt -> `drDaba ( $fo ['database']); 128 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Sqlite/Exception.php 1 Dore_Ce :: ERR_NOSUCHTABLE , 42 '/^nsuch index:/' => Dore_Ce :: ERR_NOT_FOUND , 43 '/^ab|dex.*̗dyxis$/' => Dore_Ce :: ERR_ALREADY_EXISTS , 44 '/PRIMARY KEY mu bunique/i' => Dore_Ce :: ERR_CONSTRAINT , 45 '/in unique/' => Dore_Ce :: ERR_CONSTRAINT , 46 '/cumn.* unique/i' => Dore_Ce :: ERR_CONSTRAINT , 47 '/uniquescڡed/' => Dore_Ce :: ERR_CONSTRAINT , 48 '/may bNULL/' => Dore_Ce :: ERR_CONSTRAINT_NOT_NULL , 49 '/^nsuch cumn:/' => Dore_Ce :: ERR_NOSUCHFIELD , 50 '/cumnم ibhabs/i' => Dore_Ce :: ERR_NOSUCHFIELD , 51 '/^ì ".*": syax$/' => Dore_Ce :: ERR_SYNTAX , 52 '/[0-9]+ vuef [0-9]+ cumns/i' => Dore_Ce :: ERR_VALUE_COUNT_ON_ROW , 67 public funi $ossEInfo ( y $rInfo ) 69 `fܗch ( lf :: $rRegexps as $gexp => $code ) { 70 i( `eg_mch ( $gexp , $rInfo [2])) { 72 $this -> p܏bCode = $code ; 73  ue ; 76  l ; 78 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Statement.php 1 _cn = $cn ; 56 $this -> _mt = $mt ; 58 i( $mt == l ) { 59 throw w `Dore_Exi ('Unknown statement object given.'); 69 public funi $gCi () 71  $this -> _cn ; 72 } } 74 public funi $gSmt () 76  $this -> _mt ; 77 } } 79 public funi $gQuy () 81  $this -> _mt -> quySg ; 82 } } 96 public funi $bdCumn ( $cumn , $m , $ty = nu ) 98 i( $ty == nu ) { 99  $this -> _mt -> `bdCumn ( $cumn , $m ); 101  $this -> _mt -> `bdCumn ( $cumn , $m , $ty ); 103 } } 119 public funi $bdVue ( $m , $vue , $ty = nu ) 121 i( $ty == nu ) { 122  $this -> _mt -> `bdVue ( $m , $vue ); 124  $this -> _mt -> `bdVue ( $m , $vue , $ty ); 126 } } 155 public funi bdPam ( $cumn , & $vb , $ty = nu , $ngth =u, $drivOis = $y ()) 157 i( $ty == nu ) { 158  $this -> _mt -> `bdPam ( $cumn , $vb ); 160  $this -> _mt -> `bdPam ( $cumn , $vb , $ty , $ngth , $drivOis ); 162 } } 170 public funi $oCurs () 172  $this -> _mt -> `oCurs (); 173 } } 183 public funi $cumnCou () 185  $this -> _mt -> `cumnCou (); 186 } } 195 public funi $rCode () 197  $this -> _mt -> `rCode (); 198 } } 207 public funi $rInfo () 209  $this -> _mt -> `rInfo (); 210 } } 227 public funi $execu ( $ms = nu ) 229 y { 230 $evt = w `Dore_Evt ( $this , Dore_Evt :: STMT_EXECUTE , $this-> `gQuy (), $ms ); 231 $this -> _cn -> `gLi ()-> `eStmtExecu ( $evt ); 233 $su = ue ; 234 i! $evt -> skOti ) { 236 i( $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EMPTY_TO_NULL ) { 237 `fܗch ( $ms as $key => $vue ) { 238 i( $vue === '') { 239 $ms [ $key ] = nu ; 244 i( $ms ) { 245 $pos = 0; 246 `fܗch ( $ms as $key => $vue ) { 247 $pos ++; 248 $m = `is_numic ( $key ? $pos : $key; 249 i( `is_sour ( $vue )) { 250 $this -> _mt -> `bdPam ( $m , $ms [ $key ], Dore_Ce :: PARAM_LOB ); 252 $this -> _mt -> `bdPam ( $m , $ms [ $key ]); 257 $su = $this -> _mt -> `execu (); 259 $this -> _cn -> `emtQuyCou (); 262 $this -> _cn -> `gLi ()-> `poStmtExecu ( $evt ); 264  $su ; 265 } `tch ( PDOExi $e ) { 266 } `tch ( Dore_Adr_Exi $e ) { 269 $this -> _cn -> `throwExi ( $e , $this); 271  l ; 272 } } 301 public funi tch ( $tchMode = Dore_Ce :: FETCH_BOTH , 302 $cursOri = Dore_Ce :: FETCH_ORI_NEXT , 303 $cursOfft = nu ) 305 $evt = w Dore_Evt ( $this , Dore_Evt:: STMT_FETCH , $this-> gQuy ()); 307 g$evt -> gtchMode = $tchMode ; 308 g$evt -> gcursOri = $cursOri ; 309 g$evt -> gcursOfft = $cursOfft ; 311 g$da = $this -> _cn -> gLi ()-> eFch ( $evt ); 313 i! g$evt -> gskOti ) { 314 g$da = $this -> _mt -> tch ( $tchMode , $cursOri , $cursOfft ); 317 g$this -> g_cn -> gLi ()-> poFch ( $evt ); 319  g$da ; 335 public funi tchA ( $tchMode = Dore_Ce :: FETCH_BOTH , 336 $cumnIndex = nu ) 338 $evt = w Dore_Evt ( $this , Dore_Evt:: STMT_FETCHALL , $this-> gQuy ()); 339 g$evt -> gtchMode = $tchMode ; 340 g$evt -> gcumnIndex = $cumnIndex ; 342 g$this -> g_cn -> gLi ()-> eFchA ( $evt ); 344 i! g$evt -> gskOti ) { 345 i( g$cumnIndex != nu ) { 346 $da = $this -> _mt -> tchA ( $tchMode , $cumnIndex ); 348 g$da = $this -> _mt -> tchA ( $tchMode ); 351 g$evt -> gda = $da ; 354 g$this -> g_cn -> gLi ()-> poFchA ( $evt ); 356  g$da ; 370 public funi $tchCumn ( $cumnIndex = 0) 372  $this -> _mt -> `tchCumn ( $cumnIndex ); 373 } } 388 public funi tchObje ( $assName = 'dCss', $gs = $y ()) 390  $this -> _mt -> `tchObje ( $assName , $gs ); 391 } } 401 public funi $gAribu ( $ibu ) 403  $this -> _mt -> `gAribu ( $ibu ); 404 } } 422 public funi $gCumnMa ( $cumn ) 424  $this -> _mt -> `gCumnMa ( $cumn ); 425 } } 438 public funi $xtRowt () 440  $this -> _mt -> `xtRowt (); 441 } } 455 public funi $rowCou () 457  $this -> _mt -> `rowCou (); 458 } } 468 public funi $tAribu ( $ibu , $vue ) 470  $this -> _mt -> `tAribu ( $ibu , $vue ); 471 } } 480 public funi $tFchMode ( $mode , $g1 = nu , $g2 =ull) 482  $this -> _mt -> `tFchMode ( $mode , $g1 , $g2 ); 483 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/UnitOfWork.php 1 `assignInhVues (); 53 $cn = $this -> `gCi (); 54 $cn -> `c (); 56 $e = $cd -> `e (); 57 i( $e == Dore_Recd :: STATE_LOCKED || $==Dore_Recd:: STATE_TLOCKED ) { 58  l ; 61 $cd -> `e ($cd-> `exis (? Dore_Recd :: STATE_LOCKED : Dore_Recd:: STATE_TLOCKED ); 63 y { 64 $cn -> `begIlTni (); 65 $cd -> `e ( $e ); 67 $evt = $cd -> `vokeSaveHooks ('pre', 'save'); 68 $e = $cd -> `e (); 70 $isVid = ue ; 72 i! $evt -> skOti ) { 73 $this -> `veRedLolKeys ( $cd ); 75  $e ) { 76  Dore_Recd :: STATE_TDIRTY : 77  Dore_Recd :: STATE_TCLEAN : 78 i( $a ) { 79 $isVid = $this -> `a ( $cd ); 81 $isVid = $this -> ` ( $cd ); 84  Dore_Recd :: STATE_DIRTY : 85  Dore_Recd :: STATE_PROXY : 86 i( $a ) { 87 $isVid = $this -> `a ( $cd ); 89 $isVid = $this -> `upde ( $cd ); 92  Dore_Recd :: STATE_CLEAN : 97 $sUƚkInDb = `y (); 99 i( $isVid ) { 101 `fܗch ( $cd -> `gPdgDes ( as $ndgDe ) { 102 $ndgDe -> `de (); 105 `fܗch ( $cd -> `gPdgUƚks ( as $s => $ids ) { 106 i( $ids == l ) { 107 $cd -> `uƚkInDb ( $s , `y ()); 108 $sUƚkInDb [] = $s ; 109 } i( $ids ) { 110 $cd -> `uƚkInDb ( $s , `y_keys ( $ids )); 111 $sUƚkInDb [] = $s ; 114 $cd -> `tPdgUƚks (); 116 $cd -> `vokeSaveHooks ('po', 've', $evt ); 118 $cn -> i -> `addInvid ( $cd ); 121 $e = $cd -> `e (); 123 $cd -> `e ($cd-> `exis (? Dore_Recd :: STATE_LOCKED : Dore_Recd:: STATE_TLOCKED ); 125 i( $isVid ) { 126 $veL = $this -> `veRedFeignKeys ( $cd ); 127 `fܗch ( $veL as $fk ) { 128 $s = $fk -> `gAls (); 130 i( $cd -> `hasRen ( $s )) { 131 $obj = $cd -> $s ; 134 i( $obj && ! ($obj of Dore_Nu )) { 135 $ossDiff = ! `_y ( $s , $sUƚkInDb ); 136 $obj -> `ve ( $cn , $ossDiff ); 142 $this -> `veAssoctis ( $cd ); 146 $cd -> `e ( $e ); 148 $cn -> `comm (); 149 } `tch ( Exi $e ) { 152 $cn -> `rlback (); 153 throw $e ; 156 $cd -> `rInvokedSaveHooks (); 158  ue ; 169 public funi $de ( Dore_Recd $cd ) 171 $dis = `y (); 172 $this -> `_cDis ( $cd , $dis ); 173  $this -> `_execuDis ( $dis ); 174 } } 182 ive funi $_cDis ( Dore_Recd $cd , y & $dis ) 184 i! $cd -> `exis ()) { 188 $dis [ $cd -> `gOid ()] = $record; 189 $this -> `_sdeDe ( $cd , $dis ); 190 } } 198 ive funi $_execuDis ( y $dis ) 201 $assNames = `y (); 202 `fܗch ( $dis as $cd ) { 203 $assNames [] = $cd -> `gTab ()-> `gCompڒtName (); 205 $assNames = `y_unique ($classNames); 208 $executiOrd = $this -> `budFlushTe ( $assNames ); 211 y { 212 $this -> cn -> `begIlTni (); 214  $i = `cou ( $executiOrd ) - 1; $i >= 0; $i--) { 215 $assName = $executiOrd [ $i ]; 216 $b = $this -> cn -> `gTab ( $assName ); 219 $idtifrMs = `y (); 220 $dedRecds = `y (); 221 `fܗch ( $dis as $oid => $cd ) { 222 i( $cd -> `gTab ()-> `gCompڒtName (= $assName ) { 223 $vo = $this -> `_eDe ( $cd ); 224 i! $vo ) { 225 $idtifrMs [] = $cd -> `idtifr (); 226 $dedRecds [] = $cd ; 227 `unt ( $dis [ $oid ]); 232 i( `cou ( $dedRecds ) < 1) { 237 $ms = `y (); 238 $cumnNames = `y (); 239 `fܗch ( $idtifrMs as $idM ) { 240  `li ( $fldName , $vue `ch ( $idM )) { 241 $ms [] = $vue ; 242 $cumnNames [] = $b -> `gCumnName ( $fldName ); 245 $cumnNames = `y_unique ($columnNames); 248 $bName = $b -> `gTabName (); 249 $sql = "DELETE FROM " . $this -> cn -> `queIdtifr ( $bName ) . " WHERE "; 251 i( $b -> `isIdtifrCompose ()) { 252 $sql . $this -> `_budSqlComposeKeyCdi ( $cumnNames , `cou ( $idtifrMs )); 253 $this -> cn -> `exec ( $sql , $ms ); 255 $sql . $this -> `_budSqlSgKeyCdi ( $cumnNames , `cou ( $ms )); 256 $this -> cn -> `exec ( $sql , $ms ); 260 `fܗch ( $dedRecds as $cd ) { 262 $this -> `_deCTIPts ( $b , $cd ); 264 $cd -> `e ( Dore_Recd :: STATE_TCLEAN ); 265 $cd -> `gTab ()-> `moveRecd ($record); 266 $this -> `_poDe ( $cd ); 271 `fܗch ( $dis as $skdRecd ) { 272 $this -> `_poDe ( $skdRecd ); 275 $this -> cn -> `comm (); 277  ue ; 278 } `tch ( Exi $e ) { 279 $this -> cn -> `rlback (); 280 throw $e ; 282 } } 292 ive funi $_budSqlSgKeyCdi ( $cumnNames , $numRecds ) 294 $idCumn = $this -> cn -> `queIdtifr ( $cumnNames [0]); 295  `imode (' OR ', `y_fl (0, $numRecds , "$idColumn = ?")); 296 } } 305 ive funi $_budSqlComposeKeyCdi ( $cumnNames , $numRecds ) 307 $sgCdi = ""; 308 `fܗch ( $cumnNames as $cumnName ) { 309 $cumnName = $this -> cn -> `queIdtifr ($columnName); 310 i( $sgCdi === "") { 311 $sgCdi .= "($columnName = ?"; 313 $sgCdi .= " AND $columnName = ?"; 316 $sgCdi .= ")"; 317 $fuCdi = `imode (' OR ', `y_fl (0, $numRecds , $sgCdi )); 319  $fuCdi ; 320 } } 334 eed funi $_sdeDe ( Dore_Recd $cd , y & $dis ) 336 `fܗch ( $cd -> `gTab ()-> `gRis ( as $ti ) { 337 i( $ti -> `isCasdeDe ()) { 338 $fldName = $ti -> `gAls (); 341 i! ( $ti -> `gTy (= Dore_Ri :: ONE && `ist ( $cd -> $fldName ))) { 342 $cd -> `eshRed ( $ti -> `gAls ()); 344 $ϋdObjes = $cd -> `g ( $ti -> `gAls ()); 345 i( $ϋdObjes of Dore_Recd && $ϋdObjes-> `exis () 346 && ! `ist ( $dis [ $ϋdObjes -> `gOid ()])) { 347 $this -> `_cDis ( $ϋdObjes , $dis ); 348 } i( $ϋdObjes of Dore_Ci && `cou ($relatedObjects) > 0) { 350 `fܗch ( $ϋdObjes as $obje ) { 351 i! `ist ( $dis [ $obje -> `gOid ()])) { 352 $this -> `_cDis ( $obje , $dis ); 358 } } 367 public funi $veRedFeignKeys ( Dore_Recd $cd ) 369 $veL = `y (); 370 `fܗch ( $cd -> `gRens ( as $k => $v ) { 371 $l = $cd -> `gTab ()-> `gRi ( $k ); 372 i( $l of Dore_Ri_FeignKey ) { 373 $veL [ $k ] = $l ; 377  $veL ; 378 } } 387 public funi $veRedLolKeys ( Dore_Recd $cd ) 389 $e = $cd -> `e (); 390 $cd -> `e ($cd-> `exis (? Dore_Recd :: STATE_LOCKED : Dore_Recd:: STATE_TLOCKED ); 392 `fܗch ( $cd -> `gRens ( as $k => $v ) { 393 $l = $cd -> `gTab ()-> `gRi ( $k ); 395 $lol = $l -> `gLol (); 396 $feign = $l -> `gFeign (); 398 i( $l of Dore_Ri_LolKey ) { 400 $obj = $cd -> `g ( $l -> `gAls ()); 403 i( $obj of Dore_Recd && $obj-> `isModifd ()) { 404 $obj -> `ve ( $this -> cn ); 406 $id = `y_vues ( $obj -> `idtifr ()); 408 i! `emy ( $id )) { 409 `fܗch (( y $l -> `gLol ( as $k => $cumnName ) { 410 $fld = $cd -> `gTab ()-> `gFldName ( $cumnName ); 412 i( `ist ( $id [ $k ]&& $id[$k] && $cd -> `gTab ()-> `hasFld ( $fld )) { 413 $cd -> `t ( $fld , $id [ $k ]); 420 $cd -> `e ( $e ); 421 } } 438 public funi $veAssoctis ( Dore_Recd $cd ) 440 `fܗch ( $cd -> `gRens ( as $k => $v ) { 441 $l = $cd -> `gTab ()-> `gRi ( $k ); 443 i( $l of Dore_Ri_Assocti ) { 444 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_CASCADE_SAVES || $v -> `isModifd ()) { 445 $v -> `ve ( $this -> cn , l ); 448 $assocTab = $l -> `gAssoctiTab (); 449 `fܗch ( $v -> `gDeDiff ( as $r ) { 450 $quy = 'DELETE FROM ' . $assocTab -> `gTabName () 451 . ' WHERE ' . $l -> `gFeignRefCumnName () . ' = ?' 452 . ' AND ' . $l -> `gLolRefCumnName () . ' = ?'; 454 $this -> cn -> `execu ( $quy , `y ( $r -> `gInemd (), $cd ->getIncremented())); 457 `fܗch ( $v -> `gInDiff ( as $r ) { 458 $assocRecd = $assocTab -> ` (); 459 $assocRecd -> `t ( $assocTab -> `gFldName ( $l -> `gFeign ()), $r ); 460 $assocRecd -> `t ( $assocTab -> `gFldName ( $l -> `gLol ()), $cd ); 461 $this -> `veGph ( $assocRecd ); 464 $v -> `keSpsh (); 467 } } 474 ive funi $_eDe ( Dore_Recd $cd ) 476 $evt = w `Dore_Evt ( $cd , Dore_Evt :: RECORD_DELETE ); 477 $cd -> `eDe ( $evt ); 478 $cd -> `gTab ()-> `gRecdLi ()-> `eDe ( $evt ); 480  $evt -> skOti ; 481 } } 486 ive funi $_poDe ( Dore_Recd $cd ) 488 $evt = w `Dore_Evt ( $cd , Dore_Evt :: RECORD_DELETE ); 489 $cd -> `poDe ( $evt ); 490 $cd -> `gTab ()-> `gRecdLi ()-> `poDe ( $evt ); 491 } } 500 public funi $veA () 503 $ = $this -> `budFlushTe ($this-> cn -> `gTabs ()); 506 `fܗch ( $ as $me ) { 507 $b = $this -> cn -> `gTab ( $me ); 508 `fܗch ( $b -> `gRosy ( as $cd ) { 509 $this -> `veGph ( $cd ); 512 } } 520 public funi $upde ( Dore_Recd $cd ) 522 $evt = $cd -> `vokeSaveHooks ('pre', 'update');; 524 i( $cd -> `isVid ( l , false)) { 525 $b = $cd -> `gTab (); 526 i! $evt -> skOti ) { 527 $idtifr = $cd -> `idtifr (); 528 i( $b -> `gOi ('joinedParents')) { 530 $this -> `_updeCTIRecd ( $b , $cd ); 533 $y = $cd -> `gPd (); 534 $this -> cn -> `upde ( $b , $y , $idtifr ); 536 $cd -> `assignIdtifr ( ue ); 539 $cd -> `vokeSaveHooks ('po', 'upde', $evt ); 541  ue ; 544  l ; 545 } } 558 public funi $ ( Dore_Recd $cd ) 560 $evt = $cd -> `vokeSaveHooks ('pre', 'insert'); 562 i( $cd -> `isVid ( l , false)) { 563 $b = $cd -> `gTab (); 565 i! $evt -> skOti ) { 566 i( $b -> `gOi ('joinedParents')) { 568 $this -> `_CTIRecd ( $b , $cd ); 571 $this -> `ossSgIn ( $cd ); 575 $b -> `addRecd ( $cd ); 576 $cd -> `vokeSaveHooks ('po', '', $evt ); 578  ue ; 581  l ; 582 } } 590 public funi $a ( Dore_Recd $cd ) 592 i( $cd -> `exis ()) { 593  $this -> `upde ( $cd ); 595 i( $cd -> `isVid ()) { 596 $this -> `_assignSequ ( $cd ); 598 $veEvt = $cd -> `vokeSaveHooks ('pre', 'save'); 599 $Evt = $cd -> `vokeSaveHooks ('pre', 'insert'); 601 $b = $cd -> `gTab (); 602 $idtifr = ( y $b -> `gIdtifr (); 603 $da = $cd -> `gPd (); 605 `fܗch ( $da as $key => $vue ) { 606 i( $vue of Dore_Exessi ) { 607 $da [ $key ] = $vue -> `gSql (); 611 $su = $this -> cn -> `a ( $b , $da , $idtifr ); 613 $cd -> `vokeSaveHooks ('po', '', $Evt ); 614 $cd -> `vokeSaveHooks ('po', 've', $veEvt ); 616 $this -> `_assignIdtifr ( $cd ); 618  ue ; 620  l ; 623 } } 634 public funi $ossSgIn ( Dore_Recd $cd ) 636 $flds = $cd -> `gPd (); 637 $b = $cd -> `gTab (); 640 i( `emy ( $flds )) { 641 `fܗch ( $b -> `gFldNames ( as $fld ) { 642 $flds [ $fld ] = nu ; 646 $this -> `_assignSequ ( $cd , $flds ); 647 $this -> cn -> ` ( $b , $flds ); 648 $this -> `_assignIdtifr ( $cd ); 649 } } 662 public funi $budFlushTe ( y $bs ) 666 $assToOrd = `y (); 667 `fܗch ( $bs as $b ) { 668 i! ( $b of Dore_Tab )) { 669 $b = $this -> cn -> `gTab ($b, l ); 671 $assToOrd [] = $b -> `gCompڒtName (); 673 $assToOrd = `y_unique ($classesToOrder); 675 i( `cou ( $assToOrd ) < 2) { 676  $assToOrd ; 680 $ushLi = `y (); 681 `fܗch ( $assToOrd as $ass ) { 682 $b = $this -> cn -> `gTab ( $ass , l ); 683 $cutCss = $b -> `gCompڒtName (); 685 $dex = `y_ch ( $cutCss , $ushLi ); 687 i( $dex == l ) { 689 $ushLi [] = $cutCss ; 690 $dex = `max ( `y_keys ( $ushLi )); 693 $ls = $b -> `gRis (); 696 `fܗch ( $ls as $key => $l ) { 697 i( $l of Dore_Ri_FeignKey ) { 698 `unt ( $ls [ $key ]); 699 `y_unshi ( $ls , $l ); 703 `fܗch ( $ls as $l ) { 704 $ϋdCssName = $l -> `gTab ()-> `gCompڒtName (); 706 i! `_y ( $ϋdCssName , $assToOrd )) { 710 $ϋdCompIndex = `y_ch ( $ϋdCssName , $ushLi ); 711 $ty = $l -> `gTy (); 714 i( $ϋdCssName == $cutCss ) { 718 i( $l of Dore_Ri_FeignKey ) { 722 i( $ϋdCompIndex != l ) { 724 i( $ϋdCompIndex > $dex ) { 729 `unt ( $ushLi [ $dex ]); 732 `y_li ( $ushLi , $ϋdCompIndex , 0, $cutCss ); 733 $dex = $ϋdCompIndex ; 735 $ushLi [] = $ϋdCssName ; 738 } i( $l of Dore_Ri_LolKey ) { 742 i( $ϋdCompIndex != l ) { 744 i( $ϋdCompIndex < $dex ) { 749 `unt ( $ushLi [ $ϋdCompIndex ]); 752 `y_li ( $ushLi , $dex , 0, $ϋdCssName ); 754 `y_unshi ( $ushLi , $ϋdCssName ); 755 $dex ++; 757 } i( $l of Dore_Ri_Assocti ) { 762 $assocTab = $l -> `gAssoctiFay (); 763 $assocCssName = $assocTab -> `gCompڒtName (); 765 i( $ϋdCompIndex != l ) { 766 `unt ( $ushLi [ $ϋdCompIndex ]); 769 `y_li ( $ushLi , $dex , 0, $ϋdCssName ); 770 $dex ++; 772 $dex3 = `y_ch ( $assocCssName , $ushLi ); 774 i( $dex3 != l ) { 775 i( $dex3 > $dex ) { 779 `unt ( $ushLi [ $dex3 ]); 780 `y_li ( $ushLi , $dex - 1, 0, $assocCssName ); 781 $dex = $ϋdCompIndex ; 783 $ushLi [] = $assocCssName ; 789  `y_vues ( $ushLi ); 790 } } 802 ive funi $_deCTIPts ( Dore_Tab $b , $cd ) 804 i( $b -> `gOi ('joinedParents')) { 805 `fܗch ( `y_v ( $b -> `gOi ('joedPts') as $ ) { 806 $Tab = $b -> `gCi ()-> `gTab ( $ ); 807 $this -> cn -> `de ( $Tab , $cd -> `idtifr ()); 810 } } 816 ive funi $_CTIRecd ( Dore_Tab $b , Dore_Recd $cd ) 818 $daS = $this -> `_fmDaS ( $cd ); 819 $compڒt = $b -> `gCompڒtName (); 821 $ass = $b -> `gOi ('joinedParents'); 822 $ass [] = $compڒt ; 824 `fܗch ( $ass as $k => $ ) { 825 i( $k === 0) { 826 $roRecd = w `$ (); 827 $roRecd -> `mge ( $daS [ $ ]); 828 $this -> `ossSgIn ( $roRecd ); 829 $cd -> `assignIdtifr ( $roRecd -> `idtifr ()); 831 `fܗch (( y $roRecd -> `idtifr ( as $id => $vue ) { 832 $daS [ $ ][ $id ] = $vue ; 835 $this -> cn -> ` ($this->cn-> `gTab ( $ ), $daS [$parent]); 838 } } 844 ive funi $_updeCTIRecd ( Dore_Tab $b , Dore_Recd $cd ) 846 $idtifr = $cd -> `idtifr (); 847 $daS = $this -> `_fmDaS ( $cd ); 849 $compڒt = $b -> `gCompڒtName (); 851 $ass = $b -> `gOi ('joinedParents'); 852 $ass [] = $compڒt ; 854 `fܗch ( $cd as $fld => $vue ) { 855 i( $vue of Dore_Recd ) { 856 i! $vue -> `exis ()) { 857 $vue -> `ve (); 859 $cd -> `t ( $fld , $vue -> `gInemd ()); 863 `fܗch ( $ass as $ass ) { 864 $Tab = $this -> cn -> `gTab ( $ass ); 866 i! `y_key_exis ( $ass , $daS )) { 870 $this -> cn -> `upde ($this->cn-> `gTab ( $ass ), $daS [$ass], $idtifr ); 872 } } 878 ive funi $_fmDaS ( Dore_Recd $cd ) 880 $b = $cd -> `gTab (); 881 $daS = `y (); 882 $compڒt = $b -> `gCompڒtName (); 883 $y = $cd -> `gPd (); 885 `fܗch ( $b -> `gCumns ( as $cumnName => $defi ) { 886 i! `ist ( $daS [ $compڒt ])) { 887 $daS [ $compڒt ] = `y (); 890 i `ist ( $defi ['owr']&& ! ist( $daS [$definition['owner']])) { 891 $daS [ $defi ['owr']] = `y (); 894 $fldName = $b -> `gFldName ( $cumnName ); 895 i( `ist ( $defi ['primary']) && $definition['primary']) { 899 i! `y_key_exis ( $fldName , $y )) { 903 i( `ist ( $defi ['owner'])) { 904 $daS [ $defi ['owr']][ $fldName ] = $y [$fieldName]; 906 $daS [ $compڒt ][ $fldName ] = $y [$fieldName]; 910  $daS ; 911 } } 913 eed funi $_assignSequ ( Dore_Recd $cd , & $flds = nu ) 915 $b = $cd -> `gTab (); 916 $q = $b -> quName ; 918 i! `emy ( $q )) { 919 $id = $this -> cn -> qu -> `xtId ( $q ); 920 $qName = $b -> `gIdtifr (); 921 i( $flds ) { 922 $flds [ $qName ] = $id ; 925 $cd -> `assignIdtifr ( $id ); 927  $id ; 929 } } 931 eed funi $_assignIdtifr ( Dore_Recd $cd ) 933 $b = $cd -> `gTab (); 934 $idtifr = $b -> `gIdtifr (); 935 $q = $b -> quName ; 937 i( `emy ( $q && ! `is_y ( $idtifr ) && 938 $b -> `gIdtifrTy (! Dore_Ce :: IDENTIFIER_NATURAL ) { 939 $id = l ; 940 i( $cd -> $idtifr = nu ) { 941 i(( $driv = `ow ( $this -> cn -> `gDrivName ())) == 'pgsql') { 942 $q = $b -> `gTabName (. '_' . $b-> `gCumnName ( $idtifr ); 943 } `if ( $driv == 'oracle' || $driver == 'mssql') { 944 $q = $b -> `gTabName (); 947 $id = $this -> cn -> qu -> `ϡInId ( $q ); 949 $id = $cd -> $idtifr ; 952 i! $id ) { 953 throw w `Dore_Ci_Exi ("Couldn't getast insert identifier."); 955 $cd -> `assignIdtifr ( $id ); 957 $cd -> `assignIdtifr ( ue ); 959 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Core.php 1 `gAribu ( Dore_Ce :: ATTR_MODEL_LOADING ) : $modelLoading; 636 $assPfix = $assPfix == nu ? $mag -> `gAribu ( Dore_Ce :: ATTR_MODEL_CLASS_PREFIX ) : $classPrefix; 638 $ldedMods = `y (); 640 i( $dey != nu ) { 641 `fܗch (( y $dey as $d ) { 642 $d = `rim ($dir, '/'); 643 i! `is_d ( $d )) { 644 throw w `Dore_Exi ('You mustass validatho directory containing Doctrine models'); 647 $ = w `RecursiveItIt ew `RecursiveDeyIt ( $d ), 648 RecursiveItIt :: LEAVES_ONLY ); 650 `fܗch ( $ as $fe ) { 651 $e = `exode ('.', $fe -> `gFeName ()); 653 i( `d ( $e =='php' && `os ( $fe -> `gFeName (), '.c'== l ) { 654 i( $modLdg = Dore_Ce :: MODEL_LOADING_PEAR ) { 655 $assName = `r_a ( $d . DIRECTORY_SEPARATOR , nu , $fe -> `gPhName ()); 656 $assName = `r_a ( DIRECTORY_SEPARATOR , '_', $className); 657 $assName = `subr ($assName, 0, `os ($className, '.')); 659 $assName = $e [0]; 662 i( $assPfix && $assPfix ! `subr ( $assName , 0, ` ($classPrefix))) { 663 $assName = $assPfix . $className; 666 i! `ass_exis ( $assName , l )) { 667 i( $modLdg = Dore_Ce :: MODEL_LOADING_CONSERVATIVE || $modLdg =Dore_Ce:: MODEL_LOADING_PEAR ) { 668 lf :: `ldMod ( $assName , $fe -> `gPhName ()); 670 $ldedMods [ $assName ] = $className; 672 $deedBefe = `g_deed_ass (); 673 `que_ ( $fe -> `gPhName ()); 674 $deedA = `g_deed_ass (); 677 $foundCss = `y_i ( $deedA , `cou ( $deedBefe )); 679 i( $foundCss ) { 680 `fܗch ( $foundCss as $assName ) { 681 i( lf :: `isVidModCss ( $assName )) { 682 $ldedMods [ $assName ] = $className; 684 lf :: `ldMod ( $assName , $fe -> `gPhName ()); 689 $eviouyLded = `y_keys ( lf :: $_ldedModFes , $fe -> `gPhName ()); 691 i! `emy ( $eviouyLded )) { 692 $eviouyLded = `y_combe ( `y_vues ($previouslyLoaded),rray_values($previouslyLoaded)); 693 $ldedMods = `y_mge ($ldedMods, $eviouyLded ); 696 } i( lf :: `isVidModCss ( $assName )) { 697 $ldedMods [ $assName ] = $className; 704 `ast ( $ldedMods ); 706  $ldedMods ; 707 } } 718 public  funi $gLdedMods ( $ass = nu ) 720 i( $ass == nu ) { 721 $ass = `g_deed_ass (); 722 $ass = `y_mge ($ass, `y_keys ( lf :: $_ldedModFes )); 725  lf :: `frInvidMods ( $ass ); 726 } } 737 public  funi $lizeMods ( $mods ) 739 $mods = lf :: `frInvidMods ($models); 741 `fܗch ( $mods as $mod ) { 742 $deedBefe = `g_deed_ass (); 743 Dore_Ce :: `gTab ( $mod ); 745 $deedA = `g_deed_ass (); 747 $foundCss = `y_i ( $deedA , `cou ( $deedBefe ) - 1); 748 `fܗch ( $foundCss as $ass ) { 749 i( lf :: `isVidModCss ( $ass )) { 750 $mods [] = $ass ; 755 $mods = lf :: `frInvidMods ($models); 757  $mods ; 758 } } 767 public  funi $frInvidMods ( $ass ) 769 $vidMods = `y (); 771 `fܗch (( y $ass as $me ) { 772 i( lf :: `isVidModCss ( $me && ! `_y ($me, $vidMods )) { 773 $vidMods [] = $me ; 777  $vidMods ; 778 } } 787 public  funi $isVidModCss ( $ass ) 789 i( $ass of Dore_Recd ) { 790 $ass = `g_ass ($class); 793 i( `is_rg ( $ass && `ass_exis ($class)) { 794 $ass = w `ReeiCss ($class); 797 i( $ass of ReeiCss ) { 801 i! $ass -> `isAb (&& $ass-> `isSubCssOf ('Doctrine_Record')) { 803  ue ; 807  l ; 808 } } 817 public  funi $gCiByTabName ( $bName ) 819 $ldedMods = lf :: `gLdedMods (); 821 `fܗch ( $ldedMods as $me ) { 822 $b = Dore_Ce :: `gTab ( $me ); 824 i( $b -> `gTabName (= $bName ) { 825  $b -> `gCi (); 829  Dore_Mag :: `ci (); 830 } } 841 public  funi geModsFromDb ( $dey , y $cis =ay(),ay $tis = $y ()) 843  Dore_Mag :: `ci ()-> impt -> `imptSchema ( $dey , $cis , $tis ); 844 } } 855 public  funi geYamlFromDb ( $yamlPh , y $cis =ay(),ay $tis = $y ()) 857 $dey = `sys_g_mp_d (. DIRECTORY_SEPARATOR . 'tmp_doctrine_models'; 859 $tis ['geBaCss'] = `ist ($tis['geBaCss']? $tis['geBaCss']: l ; 860 $su = Dore_Ce :: `geModsFromDb ( $dey , $cis , $tis ); 862 i `emy ( $su && ! `is_d ( $dey )) { 863 throw w `Dore_Exi ('No models generated from your databases'); 866 $expt = w `Dore_Expt_Schema (); 868 $su = $expt -> `exptSchema ( $yamlPh , 'yml', $dey , `y (), Dore_Ce :: MODEL_LOADING_AGGRESSIVE ); 870 Dore_Lib :: `moveDeܛs ( $dey ); 872  $su ; 873 } } 883 public  funi geModsFromYaml ( $yamlPh , $dey , $tis = $y ()) 885 $impt = w `Dore_Impt_Schema (); 886 $impt -> `tOis ( $tis ); 888  $impt -> `imptSchema ( $yamlPh , 'yml', $dey ); 889 } } 897 public  funi $TabsFromMods ( $dey = nu ) 899  Dore_Mag :: `ci ()-> expt -> `exptSchema ( $dey ); 900 } } 908 public  funi $TabsFromAay ( $y ) 910  Dore_Mag :: `ci ()-> expt -> `exptCss ( $y ); 911 } } 919 public  funi $geSqlFromAay ( $y ) 921  Dore_Mag :: `ci ()-> expt -> `exptCssSql ( $y ); 922 } } 931 public  funi $geSqlFromMods ( $dey = nu ) 933 $cn = Dore_Mag :: `ci (); 934 $sql = $cn -> expt -> `exptSql ( $dey ); 936 $bud = ''; 937 `fܗch ( $sql as $quy ) { 938 $bud . $quy . $cn -> sql_fe_dim ; 941  $bud ; 942 } } 951 public  funi $geYamlFromMods ( $yamlPh , $dey ) 953 $expt = w `Dore_Expt_Schema (); 955  $expt -> `exptSchema ( $yamlPh , 'yml', $dey ); 956 } } 964 public  funi Dabas ( $ecifdCis = $y ()) 966  Dore_Mag :: `gIn ()-> `Dabas ( $ecifdCis ); 967 } } 975 public  funi drDabas ( $ecifdCis = $y ()) 977  Dore_Mag :: `gIn ()-> `drDabas ( $ecifdCis ); 978 } } 987 public  funi $dumpDa ( $yamlPh , $dividuFes = l ) 989 $da = w `Dore_Da (); 991  $da -> `exptDa ( $yamlPh , 'yml', `y (), $dividuFes ); 992 } } 1002 public  funi $ldDa ( $yamlPh , $nd = l ) 1004 $da = w `Dore_Da (); 1006  $da -> `imptDa ( $yamlPh , 'yml', `y (), $nd ); 1007 } } 1017 public  funi $mig ( $migtisPh , $to = nu ) 1019 $migti = w `Dore_Migti ( $migtisPh ); 1021  $migti -> `mig ( $to ); 1022 } } 1030 public  funi $geMigtiCss ( $assName , $migtisPh ) 1032 $bud = w `Dore_Migti_Bud ( $migtisPh ); 1034  $bud -> `geMigtiCss ( $assName ); 1035 } } 1044 public  funi $geMigtisFromDb ( $migtisPh ) 1046 $bud = w `Dore_Migti_Bud ( $migtisPh ); 1048  $bud -> `geMigtisFromDb (); 1049 } } 1059 public  funi $geMigtisFromMods ( $migtisPh , $modsPh = nu , $modLdg =ull) 1061 $bud = w `Dore_Migti_Bud ( $migtisPh ); 1063  $bud -> `geMigtisFromMods ( $modsPh , $modLdg ); 1064 } } 1075 public  funi $geMigtisFromDiff ( $migtisPh , $om , $to ) 1077 $diff = w `Dore_Migti_Diff ( $om , $to , $migtisPh ); 1079  $diff -> `geMigtiCss (); 1080 } } 1088 public  funi $gTab ( $compڒtName ) 1090  Dore_Mag :: `gIn ()-> `gCiFCompڒt ( $compڒtName )-> `gTab ($componentName); 1091 } } 1103 public  funi compe ( $rg = nu , $udedDrivs = $y ()) 1105  Dore_Comp :: `compe ( $rg , $udedDrivs ); 1106 } } 1115 public  funi $autd ( $assName ) 1117 i( `os ( $assName , 'sfYaml') === 0) { 1118 que `dme ( __FILE__ . '/Pr/sfYaml/' . $assName . '.php'; 1120  ue ; 1123 i(0 != `ros ( $assName , 'Dore'|| `ass_exis ($assName, l || `r_exis ($className, false)) { 1124  l ; 1127 $ass = lf :: `gPh (. DIRECTORY_SEPARATOR . `r_a ('_', DIRECTORY_SEPARATOR, $assName ) . '.php'; 1129 i( `fe_exis ( $ass )) { 1130 que $ass ; 1132  ue ; 1135  l ; 1136 } } 1138 public  funi $modsAutd ( $assName ) 1140 i( `ass_exis ( $assName , l || `r_exis ($className, false)) { 1141  l ; 1144 i! lf :: $_modsDey ) { 1145 $ldedMods = lf :: $_ldedModFes ; 1147 i( `ist ( $ldedMods [ $assName ]&& `fe_exis ($loadedModels[$className])) { 1148 que $ldedMods [ $assName ]; 1150  ue ; 1153 $ass = lf :: $_modsDey . DIRECTORY_SEPARATOR . `r_a ('_', DIRECTORY_SEPARATOR, $assName ) . '.php'; 1155 i( `fe_exis ( $ass )) { 1156 que $ass ; 1158  ue ; 1162  l ; 1163 } } 1171 public  funi $exnsisAutd ( $assName ) 1173 i( `ass_exis ( $assName , l || `r_exis ($className, false)) { 1174  l ; 1177 $exnsis = Dore_Mag :: `gIn () 1178 -> `gExnsis (); 1180 `fܗch ( $exnsis as $me => $th ) { 1181 $ass = $th . DIRECTORY_SEPARATOR . `r_a ('_', DIRECTORY_SEPARATOR, $assName ) . '.php'; 1183 i( `fe_exis ( $ass )) { 1184 que $ass ; 1186  ue ; 1190  l ; 1191 } } 1201 public  funi dump ( $v , $ouut = ue , $dt = "") 1203 $t = y (); 1204  gty ( $v )) { 1206 $t [] = 'Array('; 1207 g$dt .= " "; 1208 fܗch ( $v as $k => $v ) { 1210 $t [] = $dt . $k . ' : ' . lf :: dump ( $v , l , $indent); 1212 g$dt = subr ( $dt ,0, -4); 1213 g$t [] = $dt . ")"; 1216 $t [] = 'Obje(' . g_ass ( $v ) . ')'; 1219 $t [] = v_expt ( $v , ue ); 1222 i( g$ouut ) { 1223 t imode ("\n", $t ); 1226  imode ("\n", $t ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data.php 1 _fm = $fm ; 103 public funi $gFm () 105  $this -> _fm ; 106 } } 115 public funi $gFms () 117  $this -> _fms ; 118 } } 127 public funi $tDey ( $dey ) 129 $this -> _dey = $dey ; 130 } } 139 public funi $gDey () 141  $this -> _dey ; 142 } } 152 public funi $tMods ( $mods ) 154 $this -> _mods = $mods ; 155 } } 164 public funi $gMods () 166  $this -> _mods ; 167 } } 176 public funi $exptIndividuFes ( $bo = nu ) 178 i( $bo != nu ) { 179 $this -> _exptIndividuFes = $bo ; 182  $this -> _exptIndividuFes ; 183 } } 196 public funi exptDa ( $dey , $fm = 'yml', $mods = y (), $_exptIndividuFes = l ) 198 $expt = w Dore_Da_Expt ( $dey ); 199 g$expt -> tFm ( $fm ); 200 g$expt -> tMods ( $mods ); 201 g$expt -> exptIndividuFes ( $_exptIndividuFes ); 203  g$expt -> doExpt (); 216 public funi imptDa ( $dey , $fm = 'yml', $mods = y (), $nd = l ) 218 $impt = w Dore_Da_Impt ( $dey ); 219 g$impt -> tFm ( $fm ); 220 g$impt -> tMods ( $mods ); 222  g$impt -> doImpt ( $nd ); 234 public funi $isRi ( Dore_Recd $cd , $fldName ) 236 $tis = $cd -> `gTab ()-> `gRis (); 238 `fܗch ( $tis as $ti ) { 239 $tiDa = $ti -> `toAay (); 241 i( $tiDa ['lol'] == $fldName ) { 242  $tiDa ; 247  l ; 248 } } 258 public funi $purge ( $mods = nu ) 260 i( $mods ) { 261 $mods = Dore_Ce :: `frInvidMods ($models); 263 $mods = Dore_Ce :: `gLdedMods (); 266 $cis = `y (); 267 `fܗch ( $mods as $mod ) { 268 $cis [ Dore_Ce :: `gTab ( $mod )-> `gCi ()-> `gName ()][] = $model; 271 `fܗch ( $cis as $ci => $mods ) { 272 $mods = Dore_Mag :: `gIn ()-> `gCi ( $ci )-> unOfWk -> `budFlushTe ($models); 273 $mods = `y_v ($models); 274 `fܗch ( $mods as $mod ) { 275 Dore_Ce :: `gTab ( $mod )-> `Quy ()-> `de ()-> `execu (); 278 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/Exception.php 1 `tDey ( $dey ); 60 public funi $doExpt () 62 $mods = Dore_Ce :: `gLdedMods (); 63 $ecifdMods = $this -> `gMods (); 65 $da = `y (); 68 i( `emy ( $mods )) { 69 $mods = $ecifdMods ; 72 $mods = Dore_Ce :: `lizeMods ($models); 75 $igIndexBy = `y (); 76 `fܗch ( $mods AS $me ) { 77 $b = Dore_Ce :: `gTab ( $me ); 78 i! `is_nu ( $dexBy = $b -> `gBoundQuyPt ('indexBy'))) { 79 $igIndexBy [ $me ] = $dexBy ; 80 $b -> `bdQuyPt ('dexBy', nu ); 84 `fܗch ( $mods AS $me ) { 85 i! `emy ( $ecifdMods AND ! `_y ( $me , $specifiedModels)) { 89 $sus = Dore_Ce :: `gTab ( $me )-> `fdA (); 91 i( $sus -> `cou () > 0) { 92 $da [ $me ] = $sus ; 97 `fܗch ( $igIndexBy AS $me => $dexBy ) { 98 Dore_Ce :: `gTab ( $me )-> `bdQuyPt ('dexBy', $dexBy ); 101 $da = $this -> `eDa ($data); 103  $this -> `dumpDa ( $da ); 104 } } 114 public funi $dumpDa ( y $da ) 116 $dey = $this -> `gDey (); 117 $fm = $this -> `gFm (); 119 i( $this -> `exptIndividuFes ()) { 120 i( `is_y ( $dey )) { 121 throw w `Dore_Da_Exi ('You must specify singleatho folder in orderoxport individual files.'); 122 } i! `is_d ( $dey && `is_fe ($directory)) { 123 $dey = `dme ($directory); 126 `fܗch ( $da as $assName => $assDa ) { 127 i! `emy ( $assDa )) { 128 Dore_Pr :: `dump ( `y ( $assName => $assDa ), $fm , $dey . DIRECTORY_SEPARATOR .$className.'.'.$format); 132 i( `is_d ( $dey )) { 133 $dey . DIRECTORY_SEPARATOR . 'da.' . $fm ; 136 i! `emy ( $da )) { 137  Dore_Pr :: `dump ( $da , $fm , $dey ); 140 } } 150 public funi $eDa ( $da ) 152 $edDa = `y (); 154 `fܗch ( $da AS $assName => $assDa ) { 155 $edDa [ $assName ] = `y (); 156 $keyTy = $assDa -> `gTab ()-> `gIdtifrTy (); 157 `fܗch ( $assDa as $cd ) { 158 $assName = `g_ass ( $cd ); 159 $cdKey = $assName . '_' . `imode ('_', $cd -> `idtifr ()); 160 $edDa [ $assName ][ $cdKey ] = `y (); 163 $keys = $cd -> `gTab ()-> `gIdtifr (); 165 $cdDa = $cd -> `toAay ( l ); 167 `fܗch ( $cdDa as $key => $vue ) { 168 i! `is_y ( $keys )) { 169 $keys = `y ($keys); 172 i( $keyTy != Dore_Ce :: IDENTIFIER_NATURAL && `cou ( $keys <1 && `_y ( $key , $keys)) { 176 i( `is_obje ( $cd [ $key ])) { 178 $vue = `rlize ( $cd [ $key ]); 181 i( $ti = $this -> `isRi ( $cd , $key )) { 182 i! $vue ) { 185 $tiAls = $ti ['alias']; 186 $tiRecd = $cd -> $tiAls ; 189 i( $tiRecd of Dore_Ci ) { 190 $tiRecd = $tiRecd-> `gF (); 194 i( $tiRecd of Dore_Nu || ! $relationRecord) { 199 $tiCssName = `g_ass ( $tiRecd ); 201 $tiVue = $tiCssName . '_' . $vue ; 203 $edDa [ $assName ][ $cdKey ][ $tiAls ] = $tiVue ; 204 } i( $cd -> `gTab ()-> `hasFld ( $key )) { 205 $edDa [ $assName ][ $cdKey ][ $key ] = $vue ; 211  $edDa ; 212 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/Import.php 1 `tDey ( $dey ); 67 public funi $doPsg () 69 $cursiveMge = Dore_Mag :: `gIn ()-> `gAribu ( Dore_Ce :: ATTR_RECURSIVE_MERGE_FIXTURES ); 70 $mgeFuni = $cursiveMge == ue ? 'array_merge_recursive':'array_merge'; 71 $dey = $this -> `gDey (); 73 $y = `y (); 75 i( $dey != nu ) { 76 `fܗch (( y $dey as $d ) { 77 $e = `exode ('.', $d ); 80 i( `d ( $e ) == 'yml') { 81 $y = `$mgeFuni ($y, Dore_Pr :: `ld ( $d , $this -> `gFm ())); 83 } i( `is_d ( $d )) { 84 $ = w `RecursiveItIt ew `RecursiveDeyIt ( $d ), 85 RecursiveItIt :: LEAVES_ONLY ); 86 $fesOrded = `y (); 87 `fܗch ( $ as $fe ) { 88 $fesOrded [] = $fe ; 91 `tst ( $fesOrded ); 92 `fܗch ( $fesOrded as $fe ) { 93 $e = `exode ('.', $fe -> `gFeName ()); 94 i( `_y ( `d ( $e ), $this -> `gFms ())) { 95 $y = `$mgeFuni ($y, Dore_Pr :: `ld ( $fe -> `gPhName (), $this -> `gFm ())); 102  $y ; 103 } } 110 public funi $doImpt ( $nd = l ) 112 $y = $this -> `doPsg (); 114 i! $nd ) { 115 $this -> `purge ( `y_v ( `y_keys ( $y ))); 118 $this -> `_ldDa ( $y ); 119 } } 126 eed funi $_budRows ( $assName , $da ) 128 $b = Dore_Ce :: `gTab ( $assName ); 130 `fܗch ( $da as $rowKey => $row ) { 132 $this -> _rows [ $assName ][ $rowKey ] = $row ; 134 `fܗch (( y $row as $key => $vue ) { 135 i( $b -> `hasRi ( $key && `is_y ( $vue && ! $b-> `hasTeme ('Doctrine_Template_I18n')) { 137 i! `ist ( $vue [0]|| (ist($vue[0]&& `is_y ($value[0]))) { 138 $l = $b -> `gRi ( $key ); 139 $lCssName = $l -> `gTab ()-> `gOi ('name'); 140 $lRowKey = $rowKey . '_' . $lCssName ; 142 i( $l -> `gTy (= Dore_Ri :: ONE ) { 143 $v = `y ( $lRowKey => $vue ); 144 $this -> _rows [ $assName ][ $rowKey ][ $key ] = $lRowKey ; 146 $v = $vue ; 147 $this -> _rows [ $assName ][ $rowKey ][ $key ] = `y_keys ( $v ); 150 $this -> `_budRows ( $lCssName , $v ); 155 } } 162 eed funi $_budNeedSRows ( $assName , $da ) 164 `fܗch ( $da as $rowKey => $row ) { 165 $chdn = `ist ( $row ['chdn']? $row['chdn']: `y (); 166 `unt ( $row ['children']); 167 $this -> _rows [ $assName ][ $rowKey ] = $row ; 169 $this -> `_budNeedSRows ( $assName , $chdn ); 171 } } 184 eed funi $_gImp܋dObje ( $rowKey , Dore_Recd $cd , $tiName , $㼚gRowKey ) 186 $ti = $cd -> `gTab ()-> `gRi ( $tiName ); 187 $rowKey = $this -> `_gRowKeyPfix ( $ti -> `gTab ()) . $rowKey; 189 i! `ist ( $this -> _imp܋dObjes [ $rowKey ])) { 190 throw w `Dore_Da_Exi ( 191 `rtf ('Invidow key scifd: %s,eedؚ %s', $rowKey , $㼚gRowKey ) 195 $ϋdRowKeyObje = $this -> _imp܋dObjes [ $rowKey ]; 197 $tiCss = $ti -> `gCss (); 198 i! $ϋdRowKeyObje of $tiCss ) { 199 throw w `Dore_Da_Exi ( `rtf ( 201 $㼚gRowKey , $ti -> `gCss (), `g_ass ( $ϋdRowKeyObje ) 205  $ϋdRowKeyObje ; 206 } } 215 eed funi $_ossRow ( $rowKey , $row ) 217 $obj = $this -> _imp܋dObjes [ $rowKey ]; 219 `fܗch (( y $row as $key => $vue ) { 220 i( `mhod_exis ( $obj , 't' . Dore_Ine :: `assify ( $key ))) { 221 $func = 't' . Dore_Ine :: `assify ( $key ); 222 $obj -> `$func ( $vue ); 223 } i( $obj -> `gTab ()-> `hasFld ( $key )) { 224 i( $obj -> `gTab ()-> `gTyOf ( $key ) == 'object') { 225 $vue = `unrlize ($value); 227 $obj -> `t ( $key , $vue ); 228 } i( $obj -> `gTab ()-> `hasRi ( $key )) { 229 i( `is_y ( $vue )) { 230 i( `ist ( $vue [0]&& ! `is_y ($value[0])) { 231 `fܗch ( $vue as $lk ) { 232 i( $obj -> `gTab ()-> `gRi ( $key )-> `gTy (== Dore_Ri :: ONE ) { 233 $obj -> `t ( $key , $this -> `_gImp܋dObje ( $lk , $obj, $key, $rowKey )); 234 } i( $obj -> `gTab ()-> `gRi ( $key )-> `gTy (== Dore_Ri :: MANY ) { 235 $ti = $obj -> $key ; 237 $ti [] = $this -> `_gImp܋dObje ( $lk , $obj , $key , $rowKey ); 241 $obj -> $key -> `omAay ( $vue ); 244 $obj -> `t ( $key , $this -> `_gImp܋dObje ( $vue , $obj, $key, $rowKey )); 247 y { 248 $obj -> $key = $vue ; 249 } `tch ( Exi $e ) { 251 i( `is_ab ( `y ( $obj , 't' . Dore_Ine :: `assify ( $key )))) { 252 $func = 't' . Dore_Ine :: `assify ( $key ); 253 $obj -> `$func ( $vue ); 255 throw w `Dore_Da_Exi ('Invid fixtum"'. $key . '" und "' . $rowKey . '"'); 260 } } 272 eed funi $_hasNulNeedSFm ( $assName , y & $da ) 274 i( Dore_Ce :: `gTab ( $assName )-> `isTe ()) { 275 i( `ist ( $da ['NeedS']&& $da['NeedS'] = ue ) { 276 `unt ( $da ['NestedSet']); 277  ue ; 279 $f = `cut ( $da ); 280  `y_key_exis ('chdn', $f ); 283  l ; 285 } } 293 eed funi $_ldDa ( y $y ) 295 $áedSs = `y (); 297 $ecifdMods = $this -> `gMods (); 298 $rows = `y (); 300 `fܗch ( $y as $assName => $da ) { 301 i! `emy ( $ecifdMods && ! `_y ( $assName , $specifiedModels)) { 307 i( $this -> `_hasNulNeedSFm ( $assName , $da )) { 308 $áedSs [ $assName ][] = $da ; 309 $this -> `_budNeedSRows ( $assName , $da ); 311 $this -> `_budRows ( $assName , $da ); 315 $budRows = `y (); 316 `fܗch ( $this -> _rows as $assName => $assRows ) { 317 $rowKeyPfix = $this -> `_gRowKeyPfix ( Dore_Ce :: `gTab ( $assName )); 318 `fܗch ( $assRows as $rowKey => $row ) { 319 $rowKey = $rowKeyPfix . $rowKey; 320 $budRows [ $rowKey ] = $row ; 321 $this -> _imp܋dObjes [ $rowKey ] = w `$assName (); 322 $this -> _imp܋dObjes [ $rowKey ]-> `e ('TDIRTY'); 326 `fܗch ( $budRows as $rowKey => $row ) { 327 $this -> `_ossRow ( $rowKey , $row ); 331 `fܗch ( $áedSs as $assName => $ts ) { 332 `fܗch ( $ts as $da ) { 333 $this -> `_ldNeedSDa ( $assName , $da ); 337 $mag = Dore_Mag :: `gIn (); 338 `fܗch ( $mag as $ci ) { 339 $ = $ci -> unOfWk -> `budFlushTe ( `y_keys ( $y )); 341 `fܗch ( $ as $mod ) { 342 `fܗch ( $this -> _imp܋dObjes as $obj ) { 344 i( $obj of $mod ) { 345 $obj -> `ve (); 351 } } 361 eed funi $_ldNeedSDa ( $mod , $áedSDa , $ = nu ) 363 `fܗch ( $áedSDa AS $rowKey => $áedS ) { 364 $chdn = `y (); 365 $da = `y (); 367 i( `y_key_exis ('chdn', $áedS )) { 368 $chdn = ( y $áedS ['children']; 369 $chdn = `y_v ($chdn, ue ); 370 `unt ( $áedS ['children']); 373 $rowKey = $this -> `_gRowKeyPfix ( Dore_Ce :: `gTab ( $mod )) . $rowKey; 375 $cd = $this -> _imp܋dObjes [ $rowKey ]; 377 `unt ( $this -> _imp܋dObjes [ $rowKey ]); 379 i! $ ) { 380 $cd -> `ve (); 381 Dore_Ce :: `gTab ( $mod )-> `gTe ()-> `Ro ( $cd ); 383 $ -> `gNode ()-> `addChd ( $cd ); 386 i( `is_y ( $chdn AND ! `emy ($children)) { 387 $this -> `_ldNeedSDa ( $mod , $chdn , $cd ); 390 } } 398 eed funi $_gRowKeyPfix ( Dore_Tab $b ) 400  `rtf ('(%s', $b -> `gTabName ()); 401 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/DataDict.php 1 cn -> vch_max_ngth .')') 80 : (( $ngth && $ngth < $this -> cn -> vch_max_ngth ) ? 'VARCHAR('.$length.')' : 'TEXT'); 82 i! `emy ( $fld ['length'])) { 83 $ngth = $fld ['length']; 84 i( $ngth <= 8000) { 85  'VARCHAR('. $ngth .')'; 90 i! `emy ( $fld ['length'])) { 91 $ngth = $fld ['length']; 92 i( $ngth <= 8000) { 99  ( `ist ( $fld ['unsigned']) && $field['unsigned']) ? 'BIGINT' : 'INT'; 103  'CHAR(' . ` ('YYYY-MM-DD') . ')'; 105  'CHAR(' . ` ('HH:MM:SS') . ')'; 107  'CHAR(' . ` ('YYYY-MM-DD HH:MM:SS') . ')'; 111 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 112 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 113  'DECIMAL('. $ngth .','. $s .')'; 115  $fld ['ty'] . ( `ist ($fld['ngth']? '('.$fld['ngth'].')': nu ); 124 public funi $gP܏bDei ( $fld ) 126 $db_ty = `eg_a ('/[\d\(\)]/','', `ow ( $fld ['type']) ); 127 $ngth = ( `ist ( $fld ['ngth']&& $fld['ngth'] > 0? $fld['ngth'] : nu ; 129 $ty = `y (); 131 $unsigd = $fixed = nu ; 133 i! `ist ( $fld ['name'])) 134 $fld ['name'] = ''; 136  $db_ty ) { 138 $ty [0] = 'boolean'; 144 $ty [0] = 'integer'; 145 i( $ngth == 1) { 146 $ty [] = 'boolean'; 150 $ty [0] = 'date'; 155 $ty [0] = 'timestamp'; 160 $ty [0] = 'float'; 165 $ty [0] = 'decimal'; 171 $fixed = l ; 174 $ty [0] = 'string'; 175 i( $ngth == '1') { 176 $ty [] = 'boolean'; 177 i( `eg_mch ('/^[is|has]/', $fld ['name'])) { 178 $ty = `y_v ($type); 180 } `if ( `rr ( $db_ty , 'text')) { 181 $ty [] = 'clob'; 183 i( $fixed != l ) { 184 $fixed = ue ; 189 $ty [] = 'blob'; 190 $ngth = nu ; 193 $ty [] = 'string'; 194 $ngth = 36; 199 $ty [] = 'string'; 200 $ngth = nu ; 203 $ty [] = $fld ['type']; 204 $ngth = `ist ( $fld ['ngth']? $fld['ngth']: nu ; 207  `y ('ty' => $ty , 208 'ngth' => $ngth , 209 'unsigd' => $unsigd , 210 'fixed' => $fixed ); 211 } } 238 public funi $gIegDei ( $me , $fld ) 240 $deu = $autoc = ''; 241 i! `emy ( $fld ['autoincrement'])) { 242 $autoc = ' identity'; 243 } `if ( `y_key_exis ('deu', $fld )) { 244 i( $fld ['default'] === '') { 245 $fld ['deu'] = `emy ($fld['nnu']? nu : 0; 248 $vue = ( `is_nu ( $fld ['default']) 250 : $this -> cn -> `que ( $fld ['default'])); 253 i( `y_key_exis ('deuCڡtName', $fld )) { 254 $deu .' CONSTRAINT ' . $fld ['defaultConstraintName']; 257 $deu .' DEFAULT ' . $vue ; 261 $nnu = ( `ist ( $fld ['notnull']) && $field['notnull']) ? ' NOT NULL' : ' NULL'; 264 $unsigd = ''; 265 $commt = ( `ist ( $fld ['comment']) && $field['comment']) 266 ? " COMMENT " . $this -> cn -> `que ( $fld ['comment'], 'text') : ''; 268 $me = $this -> cn -> `queIdtifr ($me, ue ); 270  $me . ' ' . $this -> `gNiveDei ( $fld . $unsigd 271 . $deu . $nnu . $autoc . $commt ; 272 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/DataDict/Mysql.php 1 cn -> `gAribu ( Dore_Ce :: ATTR_USE_NATIVE_ENUM )) { 147 $vues = `y (); 148 `fܗch ( $fld ['vues'] as $vue ) { 149 $vues [] = $this -> cn -> `que ( $vue , 'varchar'); 151  'ENUM('. `imode (', ', $vues ).')'; 153 $fld ['ngth'] = `ist ($field['length']) && $field['length'] ? $field['length']:255; 156 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_USE_NATIVE_SET )) { 157 $vues = `y (); 158 `fܗch ( $fld ['vues'] as $vue ) { 159 $vues [] = $this -> cn -> `que ( $vue , 'varchar'); 161  'SET('. `imode (', ', $vues ).')'; 163 $fld ['ngth'] = `ist ($field['length']) && $field['length'] ? $field['length']:255; 168 i! `ist ( $fld ['length'])) { 169 i( `y_key_exis ('deu', $fld )) { 170 $fld ['ngth'] = $this -> cn -> vch_max_ngth ; 172 $fld ['ngth'] = l ; 176 $ngth = ( $fld ['ngth'] < $this -> cn -> vch_max_ngth ? $fld['ngth'] : l ; 177 $fixed = ( `ist ( $fld ['fixed'])? $fld['fixed'] : l ; 179  $fixed ? ( $ngth ? 'CHAR(' . $length . ')' : 'CHAR(255)') 180 : ( $ngth ? 'VARCHAR(' . $length . ')' : 'TEXT'); 184 i! `emy ( $fld ['length'])) { 185 $ngth = $fld ['length']; 186 i( $ngth <= 255) { 188 } `if ( $ngth <= 65532) { 190 } `if ( $ngth <= 16777215) { 196 i! `emy ( $fld ['length'])) { 197 $ngth = $fld ['length']; 198 i( $ngth <= 255) { 200 } `if ( $ngth <= 65532) { 202 } `if ( $ngth <= 16777215) { 209 i! `emy ( $fld ['length'])) { 210 $ngth = $fld ['length']; 211 i( $ngth <= 1) { 213 } `if ( $ngth == 2) { 215 } `if ( $ngth == 3) { 217 } `if ( $ngth == 4) { 219 } `if ( $ngth > 4) { 233 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 234 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 235  'FLOAT('. $ngth .', '. $s .')'; 237 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 238 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 239  'DOUBLE('. $ngth .', '. $s .')'; 241 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 242 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 243  'DECIMAL('. $ngth .', '. $s .')'; 247  $fld ['ty'] . ( `ist ($fld['ngth']? '('.$fld['ngth'].')': nu ); 256 public funi $gP܏bDei ( y $fld ) 258 $dbTy = `ow ( $fld ['type']); 259 $dbTy = `ok ($dbType, '(), '); 260 i( $dbTy == 'national') { 261 $dbTy = `ok ('(), '); 263 i( `ist ( $fld ['length'])) { 264 $ngth = $fld ['length']; 265 $decim = ''; 267 $ngth = `ok ('(), '); 268 $decim = `ok ('(), '); 269 i! $decim ) { 270 $decim = nu ; 273 $ty = `y (); 274 $unsigd = $fixed = nu ; 276 i! `ist ( $fld ['name'])) { 277 $fld ['name'] = ''; 280 $vues = nu ; 281 $s = nu ; 283  $dbTy ) { 285 $ty [] = 'integer'; 286 $ty [] = 'boolean'; 287 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 288 $ty = `y_v ($type); 290 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 291 $ngth = 1; 294 $ty [] = 'integer'; 295 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 296 $ngth = 2; 299 $ty [] = 'integer'; 300 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 301 $ngth = 3; 305 $ty [] = 'integer'; 306 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 307 $ngth = 4; 310 $ty [] = 'integer'; 311 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 312 $ngth = 8; 320 $fixed = l ; 323 $ty [] = 'string'; 324 i( $ngth == '1') { 325 $ty [] = 'boolean'; 326 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 327 $ty = `y_v ($type); 329 } `if ( `rr ( $dbTy , 'text')) { 330 $ty [] = 'clob'; 331 i( $decim == 'binary') { 332 $ty [] = 'blob'; 335 i( $fixed != l ) { 336 $fixed = ue ; 340 $ty [] = 'enum'; 341 `eg_mch_l ('/\'((?:\'\'|[^\'])*)\'/', $fld ['ty'], $mches ); 342 $ngth = 0; 343 $fixed = l ; 344 i( `is_y ( $mches )) { 345 `fܗch ( $mches [1] as & $vue ) { 346 $vue = `r_a ('\'\'', '\'', $value); 347 $ngth = `max ($ngth, ` ( $vue )); 349 i( $ngth ='1' && `cou ( $mches [1]) == 2) { 350 $ty [] = 'boolean'; 351 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 352 $ty = `y_v ($type); 356 $vues = $mches [1]; 358 $ty [] = 'integer'; 361 $fixed = l ; 362 $ty [] = 'text'; 363 $ty [] = 'integer'; 366 $ty [] = 'date'; 367 $ngth = nu ; 371 $ty [] = 'timestamp'; 372 $ngth = nu ; 375 $ty [] = 'time'; 376 $ngth = nu ; 381 $ty [] = 'float'; 382 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 386 i( $decim != nu ) { 387 $s = $decim ; 390 $ty [] = 'decimal'; 391 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 399 $ty [] = 'blob'; 400 $ngth = nu ; 403 $ty [] = 'integer'; 404 $ty [] = 'date'; 405 $ngth = nu ; 408 $ty [] = 'bit'; 418 $ty [] = 'blob'; 419 $ngth = nu ; 422 $ty [] = $fld ['type']; 423 $ngth = `ist ( $fld ['ngth']? $fld['ngth']: nu ; 426 $ngth = (($ngth =0? nu : () $length; 427 $def = `y ('ty' => $ty , 'ngth' => $ngth , 'unsigd' => $unsigd , 'fixed' => $fixed ); 428 i( $vues != nu ) { 429 $def ['vues'] = $vues ; 431 i( $s != nu ) { 432 $def ['s'] = $s ; 434  $def ; 435 } } 445 public funi $gChtFldDei ( $cht ) 447  'CHARACTER SET ' . $cht ; 448 } } 458 public funi $gCtiFldDei ( $cti ) 460  'COLLATE ' . $cti ; 461 } } 488 public funi $gIegDei ( $me , $fld ) 490 $unique = ( `ist ( $fld ['unique']) && $field['unique']) ? ' UNIQUE' : ''; 491 $deu = $autoc = ''; 492 i! `emy ( $fld ['autoincrement'])) { 493 $autoc = ' AUTO_INCREMENT'; 494 } `if ( `y_key_exis ('deu', $fld )) { 495 i( $fld ['default'] === '') { 496 $fld ['deu'] = `emy ($fld['nnu']? nu : 0; 499 $deu = ' DEFAULT ' . ( `is_nu ( $fld ['default']) 501 : $this -> cn -> `que ( $fld ['default'])); 504 $nnu = ( `ist ( $fld ['notnull']) && $field['notnull']) ? ' NOT NULL' : ''; 505 $unsigd = ( `ist ( $fld ['unsigned']) && $field['unsigned']) ? ' UNSIGNED' : ''; 506 $commt = ( `ist ( $fld ['comment']) && $field['comment']) 507 ? " COMMENT " . $this -> cn -> `que ( $fld ['comment'], 'text') : ''; 509 $me = $this -> cn -> `queIdtifr ($me, ue ); 511  $me . ' ' . $this -> `gNiveDei ( $fld . $unsigd 512 . $deu . $unique . $nnu . $autoc . $commt ; 513 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/DataDict/Oracle.php 1 cn -> `gPam ('char_unit'); 74 $un = ! `is_nu ($unit) ? ' '.$unit : ''; 76 i( $ngth && $ngth < $this -> cn -> `gPam ('varchar2_max_length')) { 77  $fixed ? 'CHAR('. $ngth . $un .')' : 'VARCHAR2('.$length.$unit.')'; 85 $ngth = (! `emy ( $fld ['ngth'])? $fld['ngth'] : l ; 86 i $ngth && $ngth < $this -> cn -> numb_max_ecisi ) { 87 i( $ngth <= 1) { 89 } `if ( $ngth == 2) { 91 } `if ( $ngth == 3) { 93 } `if ( $ngth == 4) { 95 } `if ( $ngth <= 8) { 112 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 113  'NUMBER(*,'. $s .')'; 116  $fld ['ty'] . ( `ist ($fld['ngth']? '('.$fld['ngth'].')': nu ); 126 public funi $gP܏bDei ( y $fld ) 128 i! `ist ( $fld ['data_type'])) { 129 throw w `Dore_DaDi_Exi ('Native oracle definition must have data_type key specified'); 132 $dbTy = `ow ( $fld ['data_type']); 133 $ty = `y (); 134 $ngth = $unsigd = $fixed = nu ; 135 i! `emy ( $fld ['data_length'])) { 136 $ngth = () $fld ['data_length']; 139 i! `ist ( $fld ['column_name'])) { 140 $fld ['column_name'] = ''; 143  $dbTy ) { 147 $ty [] = 'integer'; 148 i( $ngth == '1') { 149 $ty [] = 'boolean'; 150 i( `eg_mch ('/^(is|has)/i', $fld ['column_name'])) { 151 $ty = `y_v ($type); 158 $fixed = l ; 161 $ty [] = 'string'; 162 i( $ngth == '1') { 163 $ty [] = 'boolean'; 164 i( `eg_mch ('/^(is|has)/i', $fld ['column_name'])) { 165 $ty = `y_v ($type); 168 i( $fixed != l ) { 169 $fixed = ue ; 174 $ty [] = 'timestamp'; 175 $ngth = nu ; 178 $ty [] = 'float'; 181 i! `emy ( $fld ['data_scale'])) { 182 $ty [] = 'decimal'; 184 $ty [] = 'integer'; 185 i(() $ngth == '1') { 186 $ty [] = 'boolean'; 187 i( `eg_mch ('/^(is|has)/i', $fld ['column_name'])) { 188 $ty = `y_v ($type); 190 $ngth = 1; 192 } `if ( ! `is_nu ( $ngth ) && ()$length <= 3) { 193 $ngth = 1; 194 } `if ( ! `is_nu ( $ngth ) && ()$length <= 5) { 195 $ngth = 2; 196 } `if ( ! `is_nu ( $ngth ) && ()$length <= 8) { 197 $ngth = 3; 198 } `if ( ! `is_nu ( $ngth ) && ()$length <= 10) { 199 $ngth = 4; 200 } `if ( ! `is_nu ( $ngth ) && ()$length <= 20) { 201 $ngth = 8; 206 $ty [] = 'string'; 209 $ty [] = 'clob'; 215 $ty [] = 'blob'; 216 $ngth = nu ; 221 $ty [] = $fld ['type']; 222 $ngth = `ist ( $fld ['ngth']? $fld['ngth']: nu ; 225  `y ('ty' => $ty , 226 'ngth' => $ngth , 227 'unsigd' => $unsigd , 228 'fixed' => $fixed ); 229 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/DataDict/Pgsql.php 1 cn -> vch_max_ngth .')') 386 : ( $ngth ? 'VARCHAR(' .$length . ')' : 'TEXT'); 394 i! `emy ( $fld ['autoincrement'])) { 395 i! `emy ( $fld ['length'])) { 396 $ngth = $fld ['length']; 397 i( $ngth > 4) { 403 i! `emy ( $fld ['length'])) { 404 $ngth = $fld ['length']; 405 i( $ngth <= 2) { 407 } `if ( $ngth == 3 || $length == 4) { 409 } `if ( $ngth > 4) { 431 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 432 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 433  'NUMERIC('. $ngth .','. $s .')'; 435  $fld ['ty'] . ( `ist ($fld['ngth']? '('.$fld['ngth'].')': nu ); 445 public funi $gP܏bDei ( y $fld ) 447 $ngth = ( `ist ( $fld ['ngth'])? $fld['ngth'] : nu ; 448 i( $ngth ='-1' && `ist ( $fld ['atttypmod'])) { 449 $ngth = $fld ['atttypmod'] - 4; 451 i(() $ngth <= 0) { 452 $ngth = nu ; 454 $ty = `y (); 455 $unsigd = $fixed = nu ; 457 i! `ist ( $fld ['name'])) { 458 $fld ['name'] = ''; 461 $dbTy = `ow ( $fld ['type']); 464 $deu = `ist ( $fld ['deu']? $fld['deu'] : nu ; 465 $umName = nu ; 466 i( `os ( $dbTy , 'um'!= l ){ 467 $umName = $dbTy ; 468 $dbTy = 'enum'; 471  $dbTy ) { 473 $ty [] = 'inet'; 477 $ty [] = 'bit'; 481 $ty [] = 'integer'; 482 $unsigd = l ; 483 $ngth = 2; 484 i( $ngth == '2') { 485 $ty [] = 'boolean'; 486 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 487 $ty = `y_v ($type); 496 $ty [] = 'integer'; 497 $unsigd = l ; 498 $ngth = 4; 504 $ty [] = 'integer'; 505 $unsigd = l ; 506 $ngth = 8; 510 $ty [] = 'boolean'; 511 $ngth = 1; 517 $fixed = l ; 523 $ty [] = 'string'; 524 i( $ngth == '1') { 525 $ty [] = 'boolean'; 526 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 527 $ty = `y_v ($type); 529 } `if ( `rr ( $dbTy , 'text')) { 530 $ty [] = 'clob'; 532 i( $fixed != l ) { 533 $fixed = ue ; 537 $ty [] = 'enum'; 538 $ngth = $length ? $length :255; 539 if( $deu ) { 540 $deu = `eg_a ('/\'(\w+)\'.*/', '${1}', $default); 544 $ty [] = 'date'; 545 $ngth = nu ; 551 $ty [] = 'timestamp'; 552 $ngth = nu ; 555 $ty [] = 'time'; 556 $ngth = nu ; 564 $ty [] = 'float'; 569 $ty [] = 'decimal'; 584 $ty [] = 'blob'; 585 $ngth = nu ; 588 $ty [] = 'blob'; 589 $ty [] = 'clob'; 590 $ngth = nu ; 593 $ty [] = 'integer'; 594 $ty [] = 'date'; 595 $ngth = nu ; 598 $ty [] = $fld ['type']; 599 $ngth = `ist ( $fld ['ngth']? $fld['ngth']: nu ; 602 $t = `y ('ty' => $ty , 603 'ngth' => $ngth , 604 'unsigd' => $unsigd , 605 'fixed' => $fixed ); 608 i( $deu != nu ) { 609 $t ['deu'] = $deu ; 611 i( $umName != nu ) { 612 $t ['umName'] = $umName ; 614  $t ; 615 } } 639 public funi $gIegDei ( $me , $fld ) 647 i! `emy ( $fld ['autoincrement'])) { 648 $me = $this -> cn -> `queIdtifr ($me, ue ); 649  $me . ' ' . $this -> `gNiveDei ( $fld ); 652 $deu = ''; 653 i( `y_key_exis ('deu', $fld )) { 654 i( $fld ['default'] === '') { 655 $fld ['deu'] = `emy ($fld['nnu']? nu : 0; 658 $deu = ' DEFAULT ' . ( `is_nu ( $fld ['default']) 660 : $this -> cn -> `que ( $fld ['default'], $field['type'])); 669 $nnu = `emy ( $fld ['notnull']) ? '' : ' NOT NULL'; 670 $me = $this -> cn -> `queIdtifr ($me, ue ); 671  $me . ' ' . $this -> `gNiveDei ( $fld . $deu . $nnu ; 672 } } 682 public funi $rBoޗn ( $vue ) 684  $vue ; 685 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/DataDict/Sqlite.php 1 cn -> vch_max_ngth .')') 77 : ( $ngth ? 'VARCHAR('.$length.')' : 'TEXT'); 79 i! `emy ( $fld ['length'])) { 80 $ngth = $fld ['length']; 81 i( $ngth <= 255) { 83 } `if ( $ngth <= 65535) { 85 } `if ( $ngth <= 16777215) { 91 i! `emy ( $fld ['length'])) { 92 $ngth = $fld ['length']; 93 i( $ngth <= 255) { 95 } `if ( $ngth <= 65535) { 97 } `if ( $ngth <= 16777215) { 117 $ngth = ! `emy ( $fld ['length']) ? $field['length'] : 18; 118 $s = ! `emy ( $fld ['s']? $fld['s'] : $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DECIMAL_PLACES ); 119  'DECIMAL('. $ngth .','. $s .')'; 121  $fld ['ty'] . ( `ist ($fld['ngth']? '('.$fld['ngth'].')': nu ); 130 public funi $gP܏bDei ( y $fld ) 132 $e = `exode ('(', $fld ['type']); 133 $fld ['ty'] = $e [0]; 134 i( `ist ( $e [1])) { 135 $ngth = `im ( $e [1], ')'); 136 $fld ['ngth'] = $ngth ; 139 $dbTy = `ow ( $fld ['type']); 141 i! $dbTy ) { 142 throw w `Dore_DaDi_Exi ('Missing "type" from field definition'); 145 $ngth = ( `ist ( $fld ['ngth'])? $fld['ngth'] : nu ; 146 $unsigd = ( `ist ( $fld ['unsigd'])? $fld['unsigd'] : nu ; 147 $fixed = nu ; 148 $ty = `y (); 150 i! `ist ( $fld ['name'])) { 151 $fld ['name'] = ''; 154  $dbTy ) { 156 $ty [] = 'boolean'; 159 $ty [] = 'integer'; 160 $ty [] = 'boolean'; 161 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 162 $ty = `y_v ($type); 164 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 165 $ngth = 1; 168 $ty [] = 'integer'; 169 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 170 $ngth = 2; 173 $ty [] = 'integer'; 174 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 175 $ngth = 3; 180 $ty [] = 'integer'; 181 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 182 $ngth = 4; 186 $ty [] = 'integer'; 187 $unsigd = `eg_mch ('/ unsigd/i', $fld ['type']); 188 $ngth = 8; 201 $fixed = l ; 203 $ty [] = 'text'; 204 i( $ngth == '1') { 205 $ty [] = 'boolean'; 206 i( `eg_mch ('/^(is|has)/', $fld ['name'])) { 207 $ty = `y_v ($type); 209 } `if ( `rr ( $dbTy , 'text')) { 210 $ty [] = 'clob'; 212 i( $fixed != l ) { 213 $fixed = ue ; 217 $ty [] = 'date'; 218 $ngth = nu ; 222 $ty [] = 'timestamp'; 223 $ngth = nu ; 226 $ty [] = 'time'; 227 $ngth = nu ; 232 $ty [] = 'float'; 233 $ngth = nu ; 237 $ty [] = 'decimal'; 238 $ngth = nu ; 244 $ty [] = 'blob'; 245 $ngth = nu ; 248 $ty [] = 'integer'; 249 $ty [] = 'date'; 250 $ngth = nu ; 253 $ty [] = $fld ['type']; 254 $ngth = `ist ( $fld ['ngth']? $fld['ngth']: nu ; 257  `y ('ty' => $ty , 258 'ngth' => $ngth , 259 'unsigd' => $unsigd , 260 'fixed' => $fixed ); 261 } } 289 public funi $gIegDei ( $me , y $fld ) 291 $deu = $autoc = ''; 292 $ty = $this -> `gNiveDei ( $fld ); 294 $autoemt = `ist ( $fld ['autoincrement']) && $field['autoincrement']; 296 i( $autoemt ) { 297 $autoc = ' PRIMARY KEY AUTOINCREMENT'; 298 $ty = 'INTEGER'; 299 } `if ( `y_key_exis ('deu', $fld )) { 300 i( $fld ['default'] === '') { 301 $fld ['deu'] = `emy ($fld['nnu']? nu : 0; 304 $deu = ' DEFAULT ' . ( `is_nu ( $fld ['default']) 306 : $this -> cn -> `que ( $fld ['default'], $field['type'])); 313 $nnu = ( `ist ( $fld ['notnull']) && $field['notnull']) ? ' NOT NULL' : ''; 316 $unsigd = ( `ist ( $fld ['unsigd']&& $fld['unsigd'] && ! $autoemt ) ? ' UNSIGNED' : ''; 318 $me = $this -> cn -> `queIdtifr ($me, ue ); 319  $me . ' ' . $ty . $unsigd . $deu . $nnu . $autoc ; 320 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Event.php 1 _qu = lf :: $_xtSequ ++; 129 $this -> _vok = $vok ; 130 $this -> _code = $code ; 131 $this -> _quy = $quy ; 132 $this -> _ms = $ms ; 140 public funi $gQuy () 142  $this -> _quy ; 143 } } 151 public funi $gName () 153  $this -> _code ) { 154  lf :: CONN_QUERY : 156  lf :: CONN_EXEC : 158  lf :: CONN_PREPARE : 160  lf :: CONN_CONNECT : 162  lf :: CONN_CLOSE : 164  lf :: CONN_ERROR : 167  lf :: STMT_EXECUTE : 169  lf :: STMT_FETCH : 171  lf :: STMT_FETCHALL : 174  lf :: TX_BEGIN : 176  lf :: TX_COMMIT : 178  lf :: TX_ROLLBACK : 181  lf :: SAVEPOINT_CREATE : 183  lf :: SAVEPOINT_ROLLBACK : 185  lf :: SAVEPOINT_COMMIT : 188  lf :: RECORD_DELETE : 190  lf :: RECORD_SAVE : 192  lf :: RECORD_UPDATE : 194  lf :: RECORD_INSERT : 196  lf :: RECORD_SERIALIZE : 198  lf :: RECORD_UNSERIALIZE : 200  lf :: RECORD_DQL_SELECT : 202  lf :: RECORD_DQL_DELETE : 204  lf :: RECORD_DQL_UPDATE : 206  lf :: RECORD_VALIDATE : 209 } } 216 public funi $gCode () 218  $this -> _code ; 219 } } 228 public funi $__g ( $ti ) 230 i! `ist ( $this -> _tis [ $ti ])) { 231  nu ; 234  $this -> _tis [ $ti ]; 235 } } 244 public funi $skOti () 246 $this -> _tis ['skOti'] = ue ; 248  $this ; 249 } } 259 public funi $__t ( $ti , $vue ) 261 $this -> _tis [ $ti ] = $vue ; 263  $this ; 264 } } 274 public funi $t ( $ti , & $vue ) 276 $this -> _tis [ $ti ] =& $vue ; 278  $this ; 279 } } 287 public funi $t () 289 $this -> _dMiime = `miime ( ue ); 290 } } 298 public funi $hasEnded () 300  ( $this -> _dedMiime ! nu ); 301 } } 309 public funi $d () 311 $this -> _dedMiime = `miime ( ue ); 313  $this ; 314 } } 322 public funi $gSequ () 324  $this -> _qu ; 325 } } 334 public funi $gInvok () 336  $this -> _vok ; 337 } } 346 public funi $tInvok ( $vok ) 348 $this -> _vok = $vok ; 349 } } 357 public funi $gPams () 359  $this -> _ms ; 360 } } 368 public funi $gEpdSecs () 370 i( `is_nu ( $this -> _dedMiime )) { 371  l ; 373  ( $this -> _dedMiime - $this-> _dMiime ); 374 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/EventListener.php 1 _lis [] = $li ; 60 $this -> _lis [ $me ] = $li ; 71 public funi $g ( $key ) 73 i! `ist ( $this -> _lis [ $key ])) { 74  nu ; 76  $this -> _lis [ $key ]; 77 } } 86 public funi $t ( $key , $li ) 88 $this -> _lis [ $key ] = $li ; 89 } } 98 public funi $Ld ( Dore_Recd $cd ) 100 `fܗch ( $this -> _lis as $li ) { 101 $li -> `Ld ( $cd ); 103 } } 113 public funi $PLd ( Dore_Recd $cd ) 115 `fܗch ( $this -> _lis as $li ) { 116 $li -> `PLd ( $cd ); 118 } } 127 public funi $S˕ ( Dore_Recd $cd ) 129 `fܗch ( $this -> _lis as $li ) { 130 $li -> `S˕ ( $cd ); 132 } } 141 public funi $WakeUp ( Dore_Recd $cd ) 143 `fܗch ( $this -> _lis as $li ) { 144 $li -> `WakeUp ( $cd ); 146 } } 155 public funi $poClo ( Dore_Evt $evt ) 157 `fܗch ( $this -> _lis as $li ) { 158 $li -> `poClo ( $evt ); 160 } } 169 public funi $eClo ( Dore_Evt $evt ) 171 `fܗch ( $this -> _lis as $li ) { 172 $li -> `eClo ( $evt ); 174 } } 183 public funi $On ( Dore_Ci $ci ) 185 `fܗch ( $this -> _lis as $li ) { 186 $li -> `On ( $ci ); 188 } } 197 public funi $poTniComm ( Dore_Evt $evt ) 199 `fܗch ( $this -> _lis as $li ) { 200 $li -> `poTniComm ( $evt ); 202 } } 211 public funi $eTniComm ( Dore_Evt $evt ) 213 `fܗch ( $this -> _lis as $li ) { 214 $li -> `eTniComm ( $evt ); 216 } } 225 public funi $poTniRlback ( Dore_Evt $evt ) 227 `fܗch ( $this -> _lis as $li ) { 228 $li -> `poTniRlback ( $evt ); 230 } } 239 public funi $eTniRlback ( Dore_Evt $evt ) 241 `fܗch ( $this -> _lis as $li ) { 242 $li -> `eTniRlback ( $evt ); 244 } } 253 public funi $poTniBeg ( Dore_Evt $evt ) 255 `fܗch ( $this -> _lis as $li ) { 256 $li -> `poTniBeg ( $evt ); 258 } } 267 public funi $eTniBeg ( Dore_Evt $evt ) 269 `fܗch ( $this -> _lis as $li ) { 270 $li -> `eTniBeg ( $evt ); 272 } } 282 public funi $poSavotComm ( Dore_Evt $evt ) 284 `fܗch ( $this -> _lis as $li ) { 285 $li -> `poSavotComm ( $evt ); 287 } } 297 public funi $eSavotComm ( Dore_Evt $evt ) 299 `fܗch ( $this -> _lis as $li ) { 300 $li -> `eSavotComm ( $evt ); 302 } } 312 public funi $poSavotRlback ( Dore_Evt $evt ) 314 `fܗch ( $this -> _lis as $li ) { 315 $li -> `poSavotRlback ( $evt ); 317 } } 327 public funi $eSavotRlback ( Dore_Evt $evt ) 329 `fܗch ( $this -> _lis as $li ) { 330 $li -> `eSavotRlback ( $evt ); 332 } } 342 public funi $poSavotCe ( Dore_Evt $evt ) 344 `fܗch ( $this -> _lis as $li ) { 345 $li -> `poSavotCe ( $evt ); 347 } } 357 public funi $eSavotCe ( Dore_Evt $evt ) 359 `fܗch ( $this -> _lis as $li ) { 360 $li -> `eSavotCe ( $evt ); 362 } } 372 public funi $CiDe ( Dore_Ci $ci ) 374 `fܗch ( $this -> _lis as $li ) { 375 $li -> `CiDe ( $ci ); 377 } } 386 public funi $PCiDe ( Dore_Ci $ci ) 388 `fܗch ( $this -> _lis as $li ) { 389 $li -> `PCiDe ( $ci ); 391 } } 393 public funi $poC ( Dore_Evt $evt ) 395 `fܗch ( $this -> _lis as $li ) { 396 $li -> `poC ( $evt ); 398 } } 400 public funi $eC ( Dore_Evt $evt ) 402 `fܗch ( $this -> _lis as $li ) { 403 $li -> `eC ( $evt ); 405 } } 407 public funi $eQuy ( Dore_Evt $evt ) 409 `fܗch ( $this -> _lis as $li ) { 410 $li -> `eQuy ( $evt ); 412 } } 414 public funi $poQuy ( Dore_Evt $evt ) 416 `fܗch ( $this -> _lis as $li ) { 417 $li -> `poQuy ( $evt ); 419 } } 421 public funi $eP ( Dore_Evt $evt ) 423 `fܗch ( $this -> _lis as $li ) { 424 $li -> `eP ( $evt ); 426 } } 428 public funi $poP ( Dore_Evt $evt ) 430 `fܗch ( $this -> _lis as $li ) { 431 $li -> `poP ( $evt ); 433 } } 435 public funi $eExec ( Dore_Evt $evt ) 437 `fܗch ( $this -> _lis as $li ) { 438 $li -> `eExec ( $evt ); 440 } } 442 public funi $poExec ( Dore_Evt $evt ) 444 `fܗch ( $this -> _lis as $li ) { 445 $li -> `poExec ( $evt ); 447 } } 449 public funi $eE ( Dore_Evt $evt ) 451 `fܗch ( $this -> _lis as $li ) { 452 $li -> `eE ( $evt ); 454 } } 456 public funi $poE ( Dore_Evt $evt ) 458 `fܗch ( $this -> _lis as $li ) { 459 $li -> `poE ( $evt ); 461 } } 463 public funi $eFch ( Dore_Evt $evt ) 465 `fܗch ( $this -> _lis as $li ) { 466 $li -> `eFch ( $evt ); 468 } } 470 public funi $poFch ( Dore_Evt $evt ) 472 `fܗch ( $this -> _lis as $li ) { 473 $li -> `poFch ( $evt ); 475 } } 477 public funi $eFchA ( Dore_Evt $evt ) 479 `fܗch ( $this -> _lis as $li ) { 480 $li -> `eFchA ( $evt ); 482 } } 484 public funi $poFchA ( Dore_Evt $evt ) 486 `fܗch ( $this -> _lis as $li ) { 487 $li -> `poFchA ( $evt ); 489 } } 491 public funi $eStmtExecu ( Dore_Evt $evt ) 493 `fܗch ( $this -> _lis as $li ) { 494 $li -> `eStmtExecu ( $evt ); 496 } } 498 public funi $poStmtExecu ( Dore_Evt $evt ) 500 `fܗch ( $this -> _lis as $li ) { 501 $li -> `poStmtExecu ( $evt ); 503 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/EventListener/Exception.php 1 'unknownrror', 40 Dore_Ce :: ERR_ALREADY_EXISTS => 'alreadyxists', 41 Dore_Ce :: ERR_CANNOT_CREATE => 'canot create', 42 Dore_Ce :: ERR_CANNOT_ALTER => 'canotlter', 43 Dore_Ce :: ERR_CANNOT_REPLACE => 'canoteplace', 44 Dore_Ce :: ERR_CANNOT_DELETE => 'canot delete', 45 Dore_Ce :: ERR_CANNOT_DROP => 'canot drop', 46 Dore_Ce :: ERR_CONSTRAINT => 'constraint violation', 47 Dore_Ce :: ERR_CONSTRAINT_NOT_NULL => 'null value violatesot-null constraint', 48 Dore_Ce :: ERR_DIVZERO => 'division by zero', 49 Dore_Ce :: ERR_INVALID => 'invalid', 50 Dore_Ce :: ERR_INVALID_DATE => 'invalid date orime', 51 Dore_Ce :: ERR_INVALID_NUMBER => 'invalidumber', 52 Dore_Ce :: ERR_MISMATCH => 'mismatch', 53 Dore_Ce :: ERR_NODBSELECTED => 'no database selected', 54 Dore_Ce :: ERR_NOSUCHFIELD => 'no such field', 55 Dore_Ce :: ERR_NOSUCHTABLE => 'no suchable', 56 Dore_Ce :: ERR_NOT_CAPABLE => 'Doctrine backendot capable', 57 Dore_Ce :: ERR_NOT_FOUND => 'not found', 58 Dore_Ce :: ERR_NOT_LOCKED => 'notocked', 59 Dore_Ce :: ERR_SYNTAX => 'syntaxrror', 60 Dore_Ce :: ERR_UNSUPPORTED => 'not supported', 61 Dore_Ce :: ERR_VALUE_COUNT_ON_ROW => 'value count onow', 62 Dore_Ce :: ERR_INVALID_DSN => 'invalid DSN', 63 Dore_Ce :: ERR_CONNECT_FAILED => 'connect failed', 64 Dore_Ce :: ERR_NEED_MORE_DATA => 'insufficient data supplied', 65 Dore_Ce :: ERR_EXTENSION_NOT_FOUND => 'extensionot found', 66 Dore_Ce :: ERR_NOSUCHDB => 'no such database', 67 Dore_Ce :: ERR_ACCESS_VIOLATION => 'insufficientermissions', 68 Dore_Ce :: ERR_LOADMODULE => 'error while including on demand module', 69 Dore_Ce :: ERR_TRUNCATED => 'truncated', 70 Dore_Ce :: ERR_DEADLOCK => 'deadlock detected', 82 public funi $rMesge ( $vue = nu ) 84 i( `is_nu ( $vue )) { 85  lf :: $_rMesges ; 88  `ist ( lf :: $_rMesges [ $vue ]) ? 89 lf :: $_rMesges [ $vue ] : sf::$_rMesges[ Dore_Ce :: ERR ]; 92 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export.php 1 ue , 57 public funi $drDaba ( $daba ) 59 `fܗch (( y $this -> `drDabaSql ( $daba as $quy ) { 60 $this -> cn -> `execu ( $quy ); 71 public funi $drDabaSql ( $daba ) 73 throw w `Dore_Expt_Exi ('Drop databaseot supported byhis driver.'); 74 } } 83 public funi $drTabSql ( $b ) 85  'DROP TABLE ' . $this -> cn -> `queIdtifr ( $b ); 86 } } 95 public funi $drTab ( $b ) 97 $this -> cn -> `execu ($this-> `drTabSql ( $b )); 98 } } 107 public funi $drIndex ( $b , $me ) 109  $this -> cn -> `exec ($this-> `drIndexSql ( $b , $me )); 110 } } 119 public funi $drIndexSql ( $b , $me ) 121 $me = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gIndexName ($name)); 123  'DROP INDEX ' . $me ; 124 } } 134 public funi $drCڡt ( $b , $me , $imy = l ) 136 $b = $this -> cn -> `queIdtifr ($table); 137 $me = $this -> cn -> `queIdtifr ($name); 139  $this -> cn -> `exec ('ALTER TABLE ' . $b . ' DROP CONSTRAINT ' . $me ); 140 } } 149 public funi $drFeignKey ( $b , $me ) 151  $this -> `drCڡt ( $b , $this-> cn -> fmr -> `gFeignKeyName ( $me )); 152 } } 163 public funi $drSequ ( $quName ) 165 $this -> cn -> `exec ($this-> `drSequSql ( $quName )); 166 } } 176 public funi $drSequSql ( $quName ) 178 throw w `Dore_Expt_Exi ('Drop sequenceot supported byhis driver.'); 179 } } 188 public funi $Daba ( $daba ) 190 $this -> cn -> `execu ($this-> `DabaSql ( $daba )); 191 } } 200 public funi $DabaSql ( $daba ) 202 throw w `Dore_Expt_Exi ('Create databaseot supported byhis driver.'); 203 } } 233 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 235 i! $me ) { 236 throw w `Dore_Expt_Exi ('no validableame specified'); 239 i( `emy ( $flds )) { 240 throw w `Dore_Expt_Exi ('nfldecifd f܁ab ' . $me ); 243 $quyFlds = $this -> `gFldDeiLi ( $flds ); 246 i( `ist ( $tis ['imy']&& ! `emy ($options['primary'])) { 247 $imyKeys = `y_m ( `y ( $this -> cn , 'queIdtifr'), `y_vues ( $tis ['primary'])); 248 $quyFlds .', PRIMARY KEY(' . `imode (', ', $imyKeys ) . ')'; 251 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 252 `fܗch ( $tis ['dexes'] as $dex => $defi ) { 253 $dexDei = $this -> `gIndexDei ( $dex , $defi ); 255 i! `is_nu ( $dexDei )) { 256 $quyFlds .', '. $dexDei ; 261 $quy = 'CREATE TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' (' . $quyFlds ; 263 $check = $this -> `gCheckDei ( $flds ); 265 i! `emy ( $check )) { 266 $quy .', ' . $check ; 269 $quy .= ')'; 271 $sql [] = $quy ; 273 i( `ist ( $tis ['foreignKeys'])) { 275 `fܗch (( y $tis ['feignKeys'] as $k => $defi ) { 276 i( `is_y ( $defi )) { 277 $sql [] = $this -> `FeignKeySql ( $me , $defi ); 281  $sql ; 282 } } 294 public funi Tab ( $me , y $flds ,ay $tis = $y ()) 298 $cou = 0; 299 `fܗch ( $flds as $fldName => $fld ) { 300 i( `ist ( $fld ['primary']) && $field['primary']) { 301 i( $cou == 0) { 302 $tis ['imy'] = `y (); 304 $cou ++; 305 $tis ['imy'][] = $fldName ; 309 $sql = ( y $this -> `TabSql ( $me , $flds , $tis ); 311 `fܗch ( $sql as $quy ) { 312 $this -> cn -> `execu ( $quy ); 314 } } 330 public funi Sequ ( $qName , $t = 1, y $tis = $y ()) 332  $this -> cn -> `execu ($this-> `SequSql ( $qName , $t = 1, $tis )); 333 } } 350 public funi SequSql ( $qName , $t = 1, y $tis = $y ()) 352 throw w `Dore_Expt_Exi ('Create sequenceot supported byhis driver.'); 353 } } 376 public funi $Cڡt ( $b , $me , $defi ) 378 $sql = $this -> `CڡtSql ( $b , $me , $defi ); 380  $this -> cn -> `exec ( $sql ); 381 } } 404 public funi $CڡtSql ( $b , $me , $defi ) 406 $b = $this -> cn -> `queIdtifr ($table); 407 $me = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gIndexName ($name)); 408 $quy = 'ALTER TABLE ' . $b . ' ADD CONSTRAINT ' . $me ; 410 i( `ist ( $defi ['primary']) && $definition['primary']) { 411 $quy .= ' PRIMARY KEY'; 412 } `if ( `ist ( $defi ['unique']) && $definition['unique']) { 413 $quy .= ' UNIQUE'; 416 $flds = `y (); 417 `fܗch ( `y_keys ( $defi ['flds'] as $fld ) { 418 $flds [] = $this -> cn -> `queIdtifr ( $fld , ue ); 420 $quy .' ('. `imode (', ', $flds ) . ')'; 422  $quy ; 423 } } 456 public funi $Index ( $b , $me , y $defi ) 458  $this -> cn -> `execu ($this-> `IndexSql ( $b , $me , $defi )); 459 } } 470 public funi $IndexSql ( $b , $me , y $defi ) 472 $b = $this -> cn -> `queIdtifr ($table); 473 $me = $this -> cn -> `queIdtifr ($name); 474 $ty = ''; 476 i( `ist ( $defi ['type'])) { 477  `ow ( $defi ['type'])) { 479 $ty = `ou ( $defi ['type']) . ' '; 482 throw w `Dore_Expt_Exi ( 483 'Unknowty ' . $defi ['ty'] . ' f index ' . $me . ' ib ' . $b 488 $quy = 'CREATE ' . $ty . 'INDEX ' . $me . ' ON ' . $b ; 490 $flds = `y (); 491 `fܗch ( $defi ['flds'] as $fld ) { 492 $flds [] = $this -> cn -> `queIdtifr ( $fld ); 494 $quy .' (' . `imode (', ', $flds ) . ')'; 496  $quy ; 497 } } 505 public funi $FeignKeySql ( $b , y $defi ) 507 $b = $this -> cn -> `queIdtifr ($table); 508 $quy = 'ALTER TABLE ' . $b . ' ADD ' . $this -> `gFeignKeyDei ( $defi ); 510  $quy ; 511 } } 520 public funi $FeignKey ( $b , y $defi ) 522 $sql = $this -> `FeignKeySql ( $b , $defi ); 524  $this -> cn -> `execu ( $sql ); 525 } } 616 public funi $rTab ( $me , y $chges , $check = l ) 618 $sql = $this -> `rTabSql ( $me , $chges , $check ); 620 i( `is_rg ( $sql ) && $sql) { 621 $this -> cn -> `execu ( $sql ); 623 } } 637 public funi $rTabSql ( $me , y $chges , $check = l ) 639 throw w `Dore_Expt_Exi ('Alterableot supported byhis driver.'); 640 } } 671 public funi $gFldDeiLi ( y $flds ) 673 `fܗch ( $flds as $fldName => $fld ) { 674 $quy = $this -> `gDei ( $fldName , $fld ); 676 $quyFlds [] = $quy ; 678  `imode (', ', $quyFlds ); 679 } } 717 public funi $gDei ( $me , y $fld ) 720 $deu = $this -> `gDeuFldDei ( $fld ); 722 $cht = ( `ist ( $fld ['charset']) && $field['charset']) ? 723 ' ' . $this -> `gChtFldDei ( $fld ['charset']) : ''; 725 $cti = ( `ist ( $fld ['collation']) && $field['collation']) ? 726 ' ' . $this -> `gCtiFldDei ( $fld ['collation']) : ''; 728 $nnu = $this -> `gNNuFldDei ( $fld ); 730 $unique = ( `ist ( $fld ['unique']) && $field['unique']) ? 731 ' ' . $this -> `gUniqueFldDei () : ''; 733 $check = ( `ist ( $fld ['check']) && $field['check']) ? 734 ' ' . $fld ['check'] : ''; 736 $mhod = 'g' . $fld ['type'] . 'Declaration'; 738 y { 739 i( `mhod_exis ( $this -> cn -> daDi , $mhod )) { 740  $this -> cn -> daDi -> `$mhod ( $me , $fld ); 742 $dec = $this -> cn -> daDi -> `gNiveDei ( $fld ); 745  $this -> cn -> `queIdtifr ( $me , ue ) 746 . ' ' . $dec . $cht . $deu . $nnu . $unique . $check . $cti ; 747 } `tch ( Exi $e ) { 748 throw w `Dore_Exi ('Around fld ' . $me . ': ' . $e -> `gMesge ()); 751 } } 761 public funi $gDeuFldDei ( $fld ) 763 $deu = ''; 765 i( `y_key_exis ('deu', $fld )) { 766 i( $fld ['default'] === '') { 767 $fld ['deu'] = `emy ($field['notnull']) 768 ? nu : $this -> vid_deu_vues [ $fld ['type']]; 770 i( $fld ['default'] === '' && 771 ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EMPTY_TO_NULL )) { 772 $fld ['deu'] = nu ; 776 i( $fld ['type'] === 'boolean') { 777 $fld ['deu'] = $this -> cn -> `cvtBoޗns ($field['default']); 779 $deu = ' DEFAULT ' . ( `is_nu ( $fld ['default']) 781 : $this -> cn -> `que ( $fld ['default'], $field['type'])); 784  $deu ; 785 } } 796 public funi $gNNuFldDei ( y $defi ) 798  ( `ist ( $defi ['notnull']) && $definition['notnull']) ? ' NOT NULL' : ''; 799 } } 809 public funi $gCheckDei ( y $defi ) 811 $cڡts = `y (); 812 `fܗch ( $defi as $fld => $def ) { 813 i( `is_rg ( $def )) { 814 $cڡts [] = 'CHECK (' . $def . ')'; 816 i( `ist ( $def ['min'])) { 817 $cڡts [] = 'CHECK (' . $fld . ' >' . $def ['min'] . ')'; 820 i( `ist ( $def ['max'])) { 821 $cڡts [] = 'CHECK (' . $fld . ' <' . $def ['max'] . ')'; 826  `imode (', ', $cڡts ); 827 } } 837 public funi $gIndexDei ( $me , y $defi ) 839 $me = $this -> cn -> `queIdtifr ($name); 840 $ty = ''; 842 i( `ist ( $defi ['type'])) { 843 i( `ow ( $defi ['type']) == 'unique') { 844 $ty = `ou ( $defi ['type']) . ' '; 846 throw w `Dore_Expt_Exi ( 847 'Unknowty ' . $defi ['ty'] . ' f index ' . $me 852 i! `ist ( $defi ['flds']|| ! `is_y ($definition['fields'])) { 853 throw w `Dore_Expt_Exi ('Ncumngiv f index ' . $me ); 856 $quy = $ty . 'INDEX ' . $me ; 858 $quy .' (' . $this -> `gIndexFldDeiLi ( $defi ['fields']) . ')'; 860  $quy ; 861 } } 870 public funi $gIndexFldDeiLi ( y $flds ) 872 $t = `y (); 873 `fܗch ( $flds as $fld => $defi ) { 874 i( `is_y ( $defi )) { 875 $t [] = $this -> cn -> `queIdtifr ( $fld ); 877 $t [] = $this -> cn -> `queIdtifr ( $defi ); 880  `imode (', ', $t ); 881 } } 897 public funi $gTempܬyTabQuy () 900 } } 944 public funi $gFeignKeyDei ( y $defi ) 946 $sql = $this -> `gFeignKeyBaDei ( $defi ); 947 $sql . $this -> `gAdvdFeignKeyOis ( $defi ); 949  $sql ; 950 } } 960 public funi $gAdvdFeignKeyOis ( y $defi ) 962 $quy = ''; 963 i! `emy ( $defi ['onUpdate'])) { 964 $quy .' ON UPDATE ' . $this -> `gFeignKeyRelAi ( $defi ['onUpdate']); 966 i! `emy ( $defi ['onDelete'])) { 967 $quy .' ON DELETE ' . $this -> `gFeignKeyRelAi ( $defi ['onDelete']); 969  $quy ; 970 } } 982 public funi $gFeignKeyRelAi ( $ai ) 984 $u = `ou ( $ai ); 985  $u ) { 991  $u ; 994 throw w `Dore_Expt_Exi ('Unknowfeigkeyeai \'' . $u . '\' given.'); 996 } } 1006 public funi $gFeignKeyBaDei ( y $defi ) 1008 $sql = ''; 1009 i( `ist ( $defi ['name'])) { 1010 $sql .'CONSTRAINT ' . $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gFeignKeyName ( $defi ['name'])) . ' '; 1012 $sql .= 'FOREIGN KEY ('; 1014 i! `ist ( $defi ['local'])) { 1015 throw w `Dore_Expt_Exi ('Localeference field missing from definition.'); 1017 i! `ist ( $defi ['foreign'])) { 1018 throw w `Dore_Expt_Exi ('Foreigneference field missing from definition.'); 1020 i! `ist ( $defi ['foreignTable'])) { 1021 throw w `Dore_Expt_Exi ('Foreigneferenceable missing from definition.'); 1024 i! `is_y ( $defi ['local'])) { 1025 $defi ['lol'] = `y ($definition['local']); 1027 i! `is_y ( $defi ['foreign'])) { 1028 $defi ['feign'] = `y ($definition['foreign']); 1031 $sql . `imode (', ', `y_m ( `y ( $this -> cn , 'queIdtifr'), $defi ['local'])) 1033 . $this -> cn -> `queIdtifr ( $defi ['foreignTable']) . '(' 1034 . `imode (', ', `y_m ( `y ( $this -> cn , 'queIdtifr'), $defi ['foreign'])) . ')'; 1036  $sql ; 1037 } } 1046 public funi $gUniqueFldDei () 1049 } } 1059 public funi $gChtFldDei ( $cht ) 1062 } } 1072 public funi $gCtiFldDei ( $cti ) 1075 } } 1092 public funi $exptSchema ( $dey = nu ) 1094 i( $dey != nu ) { 1095 $mods = Dore_Ce :: `frInvidMods (Dore_Ce:: `ldMods ( $dey )); 1097 $mods = Dore_Ce :: `gLdedMods (); 1100 $this -> `exptCss ( $mods ); 1101 } } 1103 public funi $exptS܋dCssSql ( $ass , $groupByCi = ue ) 1105 $cis = `y (); 1106 `fܗch ( $ass as $ass ) { 1107 $ci = Dore_Mag :: `gIn ()-> `gCiFCompڒt ( $ass ); 1108 $ciName = $ci -> `gName (); 1110 i! `ist ( $cis [ $ciName ])) { 1111 $cis [ $ciName ] = `y ( 1112 '_bs' => `y (), 1113 '_qus' => `y (), 1114 '_dexes' => `y (), 1115 'rs' => `y (), 1116 '_iggs' => `y (), 1120 $sql = $ci -> expt -> `exptCssSql ( `y ( $ass )); 1124 `fܗch ( $sql as $key => $quy ) { 1126 i( `subr ( $quy , 0, ` ('CREATE TABLE')) == 'CREATE TABLE') { 1127 $cis [ $ciName ]['_bs'][] = $quy ; 1129 `unt ( $sql [ $key ]); 1134 i( `subr ( $quy , 0, ` ('CREATE SEQUENCE')) == 'CREATE SEQUENCE') { 1135 $cis [ $ciName ]['_qus'][] = $quy ; 1137 `unt ( $sql [ $key ]); 1142 i( `eg_gp ("/CREATE ([^ ]* )?INDEX/", `y ( $quy ))) { 1143 $cis [ $ciName ]['_dexes'][] = $quy ; 1145 `unt ( $sql [ $key ]); 1150 i( `subr ( $quy , 0, ` ('ALTER TABLE')) == 'ALTER TABLE' 1151 || `subr ( $quy , 0, ` ('DECLARE')) == 'DECLARE') { 1152 $cis [ $ciName ]['rs'][] = $quy ; 1154 `unt ( $sql [ $key ]); 1159 i( `subr ( $quy , 0, ` ('CREATE TRIGGER')) == 'CREATE TRIGGER') { 1160 $cis [ $ciName ]['_iggs'][] = $quy ; 1162 `unt ( $sql [ $key ]); 1167 i( `subr ( $quy , 0, ` ('COMMENT ON')) == 'COMMENT ON') { 1168 $cis [ $ciName ]['commts'][] = $quy ; 1170 `unt ( $sql [ $key ]); 1177 $bud = `y (); 1178 `fܗch ( $cis as $ciName => $sql ) { 1179 $bud [ $ciName ] = `y_unique ( `y_mge ( $sql ['create_tables'], $sql['create_sequences'], $sql['create_indexes'], $sql['alters'], $sql['create_triggers'])); 1182 i! $groupByCi ) { 1183 $w = `y (); 1184 `fܗch ( $bud as $cime => $sql ) { 1185 $w = `y_unique ( `y_mge ($w, $sql )); 1187 $bud = $w ; 1189  $bud ; 1190 } } 1203 public funi $exptCss ( y $ass ) 1205 $qus = $this -> `exptS܋dCssSql ( $ass ); 1207 `fܗch ( $qus as $ciName => $sql ) { 1208 $ci = Dore_Mag :: `gIn ()-> `gCi ( $ciName ); 1210 $ci -> `begTni (); 1212 `fܗch ( $sql as $quy ) { 1213 y { 1214 $ci -> `exec ( $quy ); 1215 } `tch ( Dore_Ci_Exi $e ) { 1217 i( $e -> `gP܏bCode (!= Dore_Ce :: ERR_ALREADY_EXISTS ) { 1218 $ci -> `rlback (); 1219 throw w `Dore_Expt_Exi ( $e -> `gMesge (. '. Fag Quy: ' . $quy ); 1224 $ci -> `comm (); 1226 } } 1237 public funi $exptCssSql ( y $ass ) 1239 $mods = Dore_Ce :: `frInvidMods ( $ass ); 1241 $sql = `y (); 1243 `fܗch ( $mods as $me ) { 1244 $cd = w `$me (); 1245 $b = $cd -> `gTab (); 1246 $s = $b -> `gOi ('joinedParents'); 1248 `fܗch ( $s as $ ) { 1249 $da = $b -> `gCi ()-> `gTab ( $ )-> `gExp܏bFm (); 1251 $quy = $this -> cn -> expt -> `TabSql ( $da ['tableName'], $data['columns'], $data['options']); 1253 $sql = `y_mge ($sql, ( y $quy ); 1257 i( $b -> `gAribu ( Dore_Ce :: ATTR_EXPORT ==Dore_Ce:: EXPORT_NONE ) { 1261 $da = $b -> `gExp܏bFm (); 1263 $quy = $this -> cn -> expt -> `TabSql ( $da ['tableName'], $data['columns'], $data['options']); 1265 i( `is_y ( $quy )) { 1266 $sql = `y_mge ($sql, $quy ); 1268 $sql [] = $quy ; 1271 i( $b -> `gAribu ( Dore_Ce :: ATTR_EXPORT & Dore_Ce:: EXPORT_PLUGINS ) { 1272 $sql = `y_mge ($sql, $this -> `exptGsSql ( $b )); 1276 $b -> `gRosy ()-> `evi ( $cd -> `gOid ()); 1277 `unt ( $cd ); 1280 $sql = `y_unique ($sql); 1282 `rst ( $sql ); 1284  $sql ; 1285 } } 1293 public funi $gAGs ( Dore_Tab $b ) 1295 $gs = `y (); 1297 `fܗch ( $b -> `gGs ( as $me => $g ) { 1298 i( $g == nu ) { 1302 $gs [] = $g ; 1304 $gTab = $g -> `gTab (); 1306 i( $gTab of Dore_Tab ) { 1307 $gs = `y_mge ($gs, $this -> `gAGs ( $gTab )); 1311  $gs ; 1312 } } 1321 public funi $exptGsSql ( Dore_Tab $b ) 1323 $sql = `y (); 1325 `fܗch ( $this -> `gAGs ( $b as $me => $g ) { 1326 $b = $g -> `gTab (); 1329 i( $b of Dore_Tab ) { 1330 $da = $b -> `gExp܏bFm (); 1332 $quy = $this -> cn -> expt -> `TabSql ( $da ['tableName'], $data['columns'], $data['options']); 1334 $sql = `y_mge ($sql, ( y $quy ); 1338  $sql ; 1339 } } 1356 public funi $exptSql ( $dey = nu ) 1358 i( $dey != nu ) { 1359 $mods = Dore_Ce :: `frInvidMods (Dore_Ce:: `ldMods ( $dey )); 1361 $mods = Dore_Ce :: `gLdedMods (); 1364  $this -> `exptS܋dCssSql ( $mods , l ); 1365 } } 1376 public funi $exptTab ( Dore_Tab $b ) 1378 y { 1379 $da = $b -> `gExp܏bFm (); 1381 $this -> cn -> expt -> `Tab ( $da ['tableName'], $data['columns'], $data['options']); 1382 } `tch ( Dore_Ci_Exi $e ) { 1384 i( $e -> `gP܏bCode (!= Dore_Ce :: ERR_ALREADY_EXISTS ) { 1385 throw $e ; 1388 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Exception.php 1 cn -> `queIdtifr ($me, ue ); 46 $quy = "CREATE DATABASE $name"; 47 $tis = $this -> cn -> `gOis (); 48 i( `ist ( $tis ['database_device']) && $options['database_device']) { 49 $quy .' ON '. $this -> cn -> tis ['database_device']; 50 $quy . $this -> cn -> tis ['database_size'] ? '=' . 51 $this -> cn -> tis ['database_size'] : ''; 53  $this -> cn -> `deQuy ( $quy , `y (), ue ); 62 public funi $drDaba ( $me ) 64 $me = $this -> cn -> `queIdtifr ($me, ue ); 65  $this -> cn -> `deQuy ('DROP DATABASE ' . $me , `y (), ue ); 66 } } 74 public funi $gTempܬyTabQuy () 77 } } 79 public funi $drIndexSql ( $b , $me ) 81 $me = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gIndexName ($name)); 82 $b = $this -> cn -> `queIdtifr ($table); 84  'DROP INDEX ' . $me . ' ON ' . $b ; 85 } } 175 public funi $rTab ( $me , y $chges , $check = l ) 177 i! $me ) { 178 throw w `Dore_Expt_Exi ('no validableame specified'); 181 `fܗch ( $chges as $chgeName => $chge ) { 182  $chgeName ) { 190 throw w `Dore_Expt_Exi ('rTab: chgty "' . $chgeName . '"ot yet supported'); 194 i( $check ) { 195  ue ; 199 $quy = ''; 200 $poQus = ''; 202 i! `emy ( $chges ['name'])) { 203 $chgeName = $this -> cn -> `queIdtifr ( $chges ['me'], ue ); 205 $poQus . `rtf ( 207 $this -> cn -> `queIdtifr ( $me ), 208 $chgeName 213 i! `emy ( $chges ['add']&& `is_y ($changes['add'])) { 214 `fܗch ( $chges ['add'] as $fldName => $fld ) { 215 i( $quy ) { 216 $quy .= ', '; 218 $quy .'ADD ' . $this -> `gDei ( $fldName , $fld ); 223 i! `emy ( $chges ['move']&& `is_y ($changes['remove'])) { 224 i( $quy ) { 225 $quy .= ', '; 227 $quy .= 'DROP COLUMN '; 229 $drݳd = `y (); 230 `fܗch ( $chges ['move'] as $fldName => $fld ) { 232 $fldName = $this -> cn -> `queIdtifr ($fldName, ue ); 233 $drݳd [] = $fldName ; 236 $quy . `imode (', ', $drݳd ) . ' '; 239 $me = `y (); 240 i! `emy ( $chges ['me']&& `is_y ($changes['rename'])) { 241 `fܗch ( $chges ['me'] as $fldName => $fld ) { 242 $me [ $fld ['me']] = $fldName ; 247 i! `emy ( $chges ['chge']&& `is_y ($changes['change'])) { 248 i( $quy ) { 249 $quy .= ', '; 252 $quy .= "ALTER COLUMN "; 254 $d = `y (); 255 `fܗch ( $chges ['chge'] as $fldName => $fld ) { 256 i( `ist ( $me [ $fldName ])) { 257 $dFldName = $me [ $fldName ]; 258 `unt ( $me [ $fldName ]); 260 $dFldName = $fldName ; 262 $dFldName = $this -> cn -> `queIdtifr ($dFldName, ue ); 264 $dei = $this -> `gDei ( $fldName , $fld ['definition']); 266 i( `eg_mch ('/(CONSTRAINT\s+([^\s]*)\s+DEFAULT\s+([^\s]*)\s*)|(DEFAULT\s+([^\s]*)\s*)/', $dei , $mches )) { 268 $d [] = `r_a ( $mches [0], '', $dei ); 270 i( `cou ( $mches ) === 6) { 272 $deuName = 'DF__' . $me . '__' . $fldName . '__' . `mt_nd (); 273 $deuVue = $mches [5]; 275 $deuName = $mches [2]; 276 $deuVue = $mches [3]; 279 $poQus . `rtf ( 281 $me , 282 $deuName , 283 $deuVue , 284 $fldName 287 $d [] = $dei ; 291 $quy . `imode ( `rtf ( 293 $this -> cn -> `queIdtifr ( $me , ue ) 294 ), $d ) . ' '; 298 i! `emy ( $me && `is_y ($rename)) { 299 `fܗch ( $me as $meName => $medFld ) { 301 $fld = $chges ['me'][ $medFld ]; 302 $medFld = $this -> cn -> `queIdtifr ($renamedField); 304 $poQus . `rtf ( 306 $this -> cn -> `queIdtifr ( $me ), 307 $medFld , 308 $this -> cn -> `queIdtifr ( $fld ['me'], ue ) 313 i! $quy && ! $poQus ) { 314  l ; 317 $me = $this -> cn -> `queIdtifr ($me, ue ); 319 $fQuy = ''; 320 i( $quy ) { 321 $fQuy .'ALTER TABLE ' . $me . ' ' . `im ( $quy ) . ';'; 324 i( $poQus ) { 325 $fQuy . $poQus ; 328  $this -> cn -> `exec ( $fQuy ); 329 } } 344 public funi Sequ ( $qName , $t = 1, y $tis = $y ()) 346 $quName = $this -> cn -> `queIdtifr ($this->cn-> `gSequName ( $qName ), ue ); 347 $qcName = $this -> cn -> `queIdtifr ($this->cn-> tis ['qc_me'], ue ); 348 $quy = 'CREATE TABLE ' . $quName . ' (' . $qcName . 349 ' INT PRIMARY KEY CLUSTERED IDENTITY(' . $t . ', 1) NOT NULL)'; 351 $s = $this -> cn -> `exec ( $quy ); 353 i( $t == 1) { 354  ue ; 357 y { 358 $quy = 'SET IDENTITY_INSERT ' . $quName . ' ON ' . 359 'INSERT INTO ' . $quName . ' (' . $qcName . 'VALUES ( ' . $t . ')'; 360 $s = $this -> cn -> `exec ( $quy ); 361 } `tch ( Exi $e ) { 362 $su = $this -> cn -> `exec ('DROP TABLE ' . $quName ); 364  ue ; 365 } } 373 public funi $drSequSql ( $qName ) 375 $quName = $this -> cn -> `queIdtifr ($this->cn-> `gSequName ( $qName ), ue ); 376  'DROP TABLE ' . $quName ; 377 } } 407 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 409 i! $me ) { 410 throw w `Dore_Expt_Exi ('no validableame specified'); 413 i( `emy ( $flds )) { 414 throw w `Dore_Expt_Exi ('nfldecifd f܁ab ' . $me ); 418 i! `ist ( $tis ['primary'])) { 419 `fܗch ( $flds as $fldName => $fldDa ) { 420 i( `ist ( $fldDa ['primary']) && $fieldData['primary']) { 421 $tis ['imy'][ $fldName ] = $fieldName; 426 i( `ist ( $tis ['primary'])) { 427 `fܗch ( $tis ['imy'] as $fldName ) { 428 i( `ist ( $flds [ $fldName ])) { 429 $flds [ $fldName ]['nnu'] = ue ; 434 $quyFlds = $this -> `gFldDeiLi ( $flds ); 436 i( `ist ( $tis ['imy']&& ! `emy ($options['primary'])) { 437 $imyKeys = `y_m ( `y ( $this -> cn , 'queIdtifr'), `y_vues ( $tis ['primary'])); 438 $quyFlds .', PRIMARY KEY(' . `imode (', ', $imyKeys ) . ')'; 441 $quy = 'CREATE TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' (' . $quyFlds ; 443 $check = $this -> `gCheckDei ( $flds ); 445 i! `emy ( $check )) { 446 $quy .', ' . $check ; 449 $quy .= ')'; 451 $sql [] = $quy ; 453 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 454 `fܗch ( $tis ['dexes'] as $dex => $defi ) { 455 i( `is_y ( $defi )) { 456 $sql [] = $this -> `IndexSql ( $me , $dex , $defi ); 461 i( `ist ( $tis ['foreignKeys'])) { 462 `fܗch (( y $tis ['feignKeys'] as $k => $defi ) { 463 i( `is_y ( $defi )) { 464 $sql [] = $this -> `FeignKeySql ( $me , $defi ); 469  $sql ; 470 } } 480 public funi $gNNuFldDei ( y $defi ) 483 ( `ist ( $defi ['notnull']) && $definition['notnull']) || 484 ( `ist ( $defi ['primary']) && $definition['primary']) 486 } } 494 public funi $gDeuFldDei ( $fld ) 496 $deu = ''; 498 i( `y_key_exis ('deu', $fld )) { 499 i( $fld ['default'] === '') { 500 $fld ['deu'] = `emy ($field['notnull']) 501 ? nu : $this -> vid_deu_vues [ $fld ['type']]; 503 i( $fld ['default'] === '' && 504 ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EMPTY_TO_NULL )) { 505 $fld ['deu'] = nu ; 509 i( $fld ['type'] === 'boolean') { 510 $fld ['deu'] = $this -> cn -> `cvtBoޗns ($field['default']); 513 i( `y_key_exis ('deuCڡtName', $fld )) { 514 $deu .' CONSTRAINT ' . $fld ['defaultConstraintName']; 517 $deu .' DEFAULT ' . ( `is_nu ( $fld ['default']) 519 : $this -> cn -> `que ( $fld ['default'], $field['type'])); 522  $deu ; 523 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Mysql.php 1 cn -> `queIdtifr ($table); 48 i! $imy ) { 49 $me = 'CONSTRAINT ' . $this -> cn -> `queIdtifr ($name); 51 $me = 'PRIMARY KEY'; 54  $this -> cn -> `exec ('ALTER TABLE ' . $b . ' DROP ' . $me ); 63 public funi $DabaSql ( $me ) 65  'CREATE DATABASE ' . $this -> cn -> `queIdtifr ( $me , ue ); 66 } } 74 public funi $drDabaSql ( $me ) 76  `y ( 78 'DROP DATABASE ' . $this -> cn -> `queIdtifr ( $me ), 81 } } 117 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 119 i! $me ) 120 throw w `Dore_Expt_Exi ('no validableame specified'); 122 i( `emy ( $flds )) { 123 throw w `Dore_Expt_Exi ('nfldecifd f܁ab "'. $me .'"'); 125 $quyFlds = $this -> `gFldDeiLi ( $flds ); 128 i( `ist ( $tis ['foreignKeys'])) { 129 `fܗch ( $tis ['feignKeys'] as $fk ) { 130 $lol = $fk ['local']; 131 $found = l ; 132 i( `ist ( $tis ['indexes'])) { 133 `fܗch ( $tis ['dexes'] as $defi ) { 134 i( `is_rg ( $defi ['fields'])) { 136 $found = $found || ( $lol = $defi ['fields']); 137 } i( `_y ( $lol , $defi ['flds']&& `cou ($definition['fields']) === 1) { 139 $found = ue ; 143 i( `ist ( $tis ['imy']&& ! `emy ($options['primary']) && 144 `_y ( $lol , $tis ['primary'])) { 146 $found = ue ; 149 i! $found ) { 150 i( `is_y ( $lol )) { 151 `fܗch ( $lol as $lolidx ) { 152 $tis ['dexes'][ $lolidx ] = `y ('fields' =>rray($localidx =>rray())); 155 $tis ['dexes'][ $lol ] = `y ('fields' =>rray($local =>rray())); 162 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 164 $dus = `y (); 165 `fܗch ( $tis ['dexes'] as $key => $dex ) { 166 i( `_y ( `ow ( $key ), $dus )) { 167 `unt ( $tis ['dexes'][ $key ]); 169 $dus [] = `ow ( $key ); 172 `unt ( $dus ); 174 `fܗch ( $tis ['dexes'] as $dex => $defi ) { 175 $quyFlds .', ' . $this -> `gIndexDei ( $dex , $defi ); 180 i( `ist ( $tis ['imy']&& ! `emy ($options['primary'])) { 181 $keyCumns = `y_vues ( $tis ['primary']); 182 $keyCumns = `y_m ( `y ( $this -> cn , 'quoteIdentifier'), $keyColumns); 183 $quyFlds .', PRIMARY KEY(' . `imode (', ', $keyCumns ) . ')'; 186 $quy = 'CREATE TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' (' . $quyFlds . ')'; 188 $tiSgs = `y (); 190 i( `ist ( $tis ['comment'])) { 191 $tiSgs ['commt'] = 'COMMENT = ' . $this -> cn -> `que ( $tis ['comment'], 'text'); 193 i( `ist ( $tis ['charset'])) { 194 $tiSgs ['cht'] = 'DEFAULT CHARACTER SET ' . $tis ['charset']; 196 i( `ist ( $tis ['collate'])) { 197 $tiSgs ['cϋ'] = 'COLLATE ' . $tis ['collate']; 200 $ty = l ; 203 i( `ist ( $tis ['type'])) { 204 $ty = $tis ['type']; 206 $ty = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_TYPE ); 209 i( $ty ) { 210 $tiSgs [] = 'ENGINE = ' . $ty ; 213 i! `emy ( $tiSgs )) { 214 $quy .' '. `imode (' ', $tiSgs ); 216 $sql [] = $quy ; 218 i( `ist ( $tis ['foreignKeys'])) { 220 `fܗch (( y $tis ['feignKeys'] as $k => $defi ) { 221 i( `is_y ( $defi )) { 222 $sql [] = $this -> `FeignKeySql ( $me , $defi ); 226  $sql ; 227 } } 261 public funi $gDei ( $me , y $fld ) 264 $deu = $this -> `gDeuFldDei ( $fld ); 266 $cht = ( `ist ( $fld ['charset']) && $field['charset']) ? 267 ' ' . $this -> `gChtFldDei ( $fld ['charset']) : ''; 269 $cti = ( `ist ( $fld ['collation']) && $field['collation']) ? 270 ' ' . $this -> `gCtiFldDei ( $fld ['collation']) : ''; 272 $nnu = ( `ist ( $fld ['notnull']) && $field['notnull']) ? ' NOT NULL' : ''; 274 $unique = ( `ist ( $fld ['unique']) && $field['unique']) ? 275 ' ' . $this -> `gUniqueFldDei () : ''; 277 $check = ( `ist ( $fld ['check']) && $field['check']) ? 278 ' ' . $fld ['check'] : ''; 280 $commt = ( `ist ( $fld ['comment']) && $field['comment']) ? 281 " COMMENT " . $this -> cn -> `que ( $fld ['comment'], 'text') : ''; 283 $mhod = 'g' . $fld ['type'] . 'Declaration'; 285 y { 286 i( `mhod_exis ( $this -> cn -> daDi , $mhod )) { 287  $this -> cn -> daDi -> `$mhod ( $me , $fld ); 289 $dec = $this -> cn -> daDi -> `gNiveDei ( $fld ); 292  $this -> cn -> `queIdtifr ( $me , ue ) 293 . ' ' . $dec . $cht . $deu . $nnu . $commt . $unique . $check . $cti ; 294 } `tch ( Exi $e ) { 295 throw w `Dore_Exi ('Around fld ' . $me . ': ' . $e -> `gMesge (. "\n\n" . $e-> `gTAsSg () . "\n\n"); 297 } } 387 public funi $rTabSql ( $me , y $chges , $check = l ) 389 i! $me ) { 390 throw w `Dore_Expt_Exi ('no validableame specified'); 392 `fܗch ( $chges as $chgeName => $chge ) { 393  $chgeName ) { 401 throw w `Dore_Expt_Exi ('chgty "' . $chgeName . '"ot yet supported'); 405 i( $check ) { 406  ue ; 409 $quy = ''; 410 i! `emy ( $chges ['name'])) { 411 $chge_me = $this -> cn -> `queIdtifr ( $chges ['name']); 412 $quy .'RENAME TO ' . $chge_me ; 415 i! `emy ( $chges ['add']&& `is_y ($changes['add'])) { 416 `fܗch ( $chges ['add'] as $fldName => $fld ) { 417 i( $quy ) { 418 $quy .= ', '; 420 $quy .'ADD ' . $this -> `gDei ( $fldName , $fld ); 424 i! `emy ( $chges ['move']&& `is_y ($changes['remove'])) { 425 `fܗch ( $chges ['move'] as $fldName => $fld ) { 426 i( $quy ) { 427 $quy .= ', '; 429 $fldName = $this -> cn -> `queIdtifr ($fieldName); 430 $quy .'DROP ' . $fldName ; 434 $me = `y (); 435 i! `emy ( $chges ['me']&& `is_y ($changes['rename'])) { 436 `fܗch ( $chges ['me'] as $fldName => $fld ) { 437 $me [ $fld ['me']] = $fldName ; 441 i! `emy ( $chges ['chge']&& `is_y ($changes['change'])) { 442 `fܗch ( $chges ['chge'] as $fldName => $fld ) { 443 i( $quy ) { 444 $quy .= ', '; 446 i( `ist ( $me [ $fldName ])) { 447 $dFldName = $me [ $fldName ]; 448 `unt ( $me [ $fldName ]); 450 $dFldName = $fldName ; 452 $dFldName = $this -> cn -> `queIdtifr ($dFldName, ue ); 453 $quy .'CHANGE ' . $dFldName . ' ' 454 . $this -> `gDei ( $fldName , $fld ['definition']); 458 i! `emy ( $me && `is_y ($rename)) { 459 `fܗch ( $me as $meName => $medFld ) { 460 i( $quy ) { 461 $quy .= ', '; 463 $fld = $chges ['me'][ $medFld ]; 464 $medFld = $this -> cn -> `queIdtifr ($medFld, ue ); 465 $quy .'CHANGE ' . $medFld . ' ' 466 . $this -> `gDei ( $fld ['name'], $field['definition']); 470 i! $quy ) { 471  l ; 474 $me = $this -> cn -> `queIdtifr ($me, ue ); 476  'ALTER TABLE ' . $me . ' ' . $quy ; 477 } } 493 public funi Sequ ( $quName , $t = 1, y $tis = $y ()) 495 $quName = $this -> cn -> `queIdtifr ($quName, ue ); 496 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 498 $tisSgs = `y (); 500 i( `ist ( $tis ['commt']&& ! `emy ($options['comment'])) { 501 $tisSgs ['commt'] = 'COMMENT = ' . $this -> cn -> `que ( $tis ['comment'], 'string'); 504 i( `ist ( $tis ['cht']&& ! `emy ($options['charset'])) { 505 $tisSgs ['cht'] = 'DEFAULT CHARACTER SET ' . $tis ['charset']; 507 i( `ist ( $tis ['collate'])) { 508 $tisSgs ['cht'] .' COLLATE ' . $tis ['collate']; 512 $ty = l ; 514 i( `ist ( $tis ['type'])) { 515 $ty = $tis ['type']; 517 $ty = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_TYPE ); 519 i( $ty ) { 520 $tisSgs [] = 'ENGINE = ' . $ty ; 524 y { 525 $quy = 'CREATE TABLE ' . $quName 526 . ' (' . $qcName . ' BIGINT NOT NULL AUTO_INCREMENT, PRIMARY KEY (' 527 . $qcName . ')' . `imode ( $tisSgs , ' '); 529 $s = $this -> cn -> `exec ( $quy ); 530 } `tch ( Dore_Ci_Exi $e ) { 531 throw w `Dore_Expt_Exi ('couldot create sequenceable'); 534 i( $t =1 && $s == 1) 535  ue ; 537 $quy = 'INSERT INTO ' . $quName 538 . ' (' . $qcName . 'VALUES (' . ( $t - 1) . ')'; 540 $s = $this -> cn -> `exec ( $quy ); 542 i( $s == 1) 543  ue ; 546 y { 547 $su = $this -> cn -> `exec ('DROP TABLE ' . $quName ); 548 } `tch ( Dore_Ci_Exi $e ) { 549 throw w `Dore_Expt_Exi ('couldot drop inconsistent sequenceable'); 553 } } 589 public funi $IndexSql ( $b , $me , y $defi ) 591 $b = $table; 592 $b = $this -> cn -> `queIdtifr ($b, ue ); 594 $me = $this -> cn -> fmr -> `gIndexName ($name); 595 $me = $this -> cn -> `queIdtifr ($name); 596 $ty = ''; 597 i( `ist ( $defi ['type'])) { 598  `ow ( $defi ['type'])) { 601 $ty = `ou ( $defi ['type']) . ' '; 604 throw w `Dore_Expt_Exi ( 605 'Unknowty ' . $defi ['ty'] . ' f index ' . $me . ' ib ' . $b 609 $quy = 'CREATE ' . $ty . 'INDEX ' . $me . ' ON ' . $b ; 610 $quy .' (' . $this -> `gIndexFldDeiLi ( $defi ['fields']) . ')'; 612  $quy ; 613 } } 623 public funi $gDeuFldDei ( $fld ) 625 $deu = ''; 626 i( `ist ( $fld ['default']) && ( ! isset($field['length']) || $field['length'] <= 255)) { 627 i( $fld ['default'] === '') { 628 $fld ['deu'] = `emy ($field['notnull']) 629 ? nu : $this -> vid_deu_vues [ $fld ['type']]; 631 i( $fld ['default'] === '' 632 && ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EMPTY_TO_NULL ) 634 $fld ['default'] = ' '; 639 i( $fld ['ty'] ='um' && $this -> cn -> `gAribu ( Dore_Ce :: ATTR_USE_NATIVE_ENUM )) { 640 $fldTy = 'varchar'; 642 $fldTy = $fld ['type']; 645 $deu = ' DEFAULT ' . ( `is_nu ( $fld ['default']) 647 : $this -> cn -> `que ( $fld ['deu'], $fldTy )); 651  $deu ; 652 } } 662 public funi $gIndexDei ( $me , y $defi ) 664 $me = $this -> cn -> fmr -> `gIndexName ($name); 665 $ty = ''; 666 i( `ist ( $defi ['type'])) { 667  `ow ( $defi ['type'])) { 670 $ty = `ou ( $defi ['type']) . ' '; 673 throw w `Dore_Expt_Exi ( 674 'Unknowty ' . $defi ['ty'] . ' f index ' . $me 679 i! `ist ( $defi ['fields'])) { 680 throw w `Dore_Expt_Exi ('Ncumngiv f index ' . $me ); 682 i! `is_y ( $defi ['fields'])) { 683 $defi ['flds'] = `y ($definition['fields']); 686 $quy = $ty . 'INDEX ' . $this -> cn -> `queIdtifr ( $me ); 688 $quy .' (' . $this -> `gIndexFldDeiLi ( $defi ['fields']) . ')'; 690  $quy ; 691 } } 700 public funi $gIndexFldDeiLi ( y $flds ) 702 $deFlds = `y (); 704 `fܗch ( $flds as $fldName => $fld ) { 705 $fldSg = $this -> cn -> `queIdtifr ( $fldName ); 707 i( `is_y ( $fld )) { 708 i( `ist ( $fld ['length'])) { 709 $fldSg .'(' . $fld ['length'] . ')'; 712 i( `ist ( $fld ['sorting'])) { 713 $st = `ou ( $fld ['sorting']); 714  $st ) { 717 $fldSg .' ' . $st ; 720 throw w `Dore_Expt_Exi ('Unknown index sorting option given.'); 724 $fldSg = $this -> cn -> `queIdtifr ( $fld ); 726 $deFlds [] = $fldSg ; 728  `imode (', ', $deFlds ); 729 } } 738 public funi $gChtFldDei ( $cht ) 740  $this -> cn -> daDi -> `gChtFldDei ( $cht ); 741 } } 750 public funi $gCtiFldDei ( $cti ) 752  $this -> cn -> daDi -> `gCtiFldDei ( $cti ); 753 } } 763 public funi $gAdvdFeignKeyOis ( y $defi ) 765 $quy = ''; 766 i! `emy ( $defi ['match'])) { 767 $quy .' MATCH ' . $defi ['match']; 769 i! `emy ( $defi ['onUpdate'])) { 770 $quy .' ON UPDATE ' . $this -> `gFeignKeyRelAi ( $defi ['onUpdate']); 772 i! `emy ( $defi ['onDelete'])) { 773 $quy .' ON DELETE ' . $this -> `gFeignKeyRelAi ( $defi ['onDelete']); 775  $quy ; 776 } } 785 public funi $drIndexSql ( $b , $me ) 787 $b = $this -> cn -> `queIdtifr ($b, ue ); 788 $me = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gIndexName ($me), ue ); 789  'DROP INDEX ' . $me . ' ON ' . $b ; 790 } } 799 public funi $drTabSql ( $b ) 801 $b = $this -> cn -> `queIdtifr ($b, ue ); 802  'DROP TABLE ' . $b ; 803 } } 812 public funi $drFeignKey ( $b , $me ) 814 $b = $this -> cn -> `queIdtifr ($table); 815 $me = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gFeignKeyName ($name)); 817  $this -> cn -> `exec ('ALTER TABLE ' . $b . ' DROP FOREIGN KEY ' . $me ); 818 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Oracle.php 1 cn -> `gAribu ( Dore_Ce :: ATTR_EMULATE_DATABASE )) { 46 $uame = $me ; 47 $sswd = $this -> cn -> d ['sswd'] ? $this->cn->d['sswd'] : $me ; 49 $b˥a = $this -> cn -> tis ['default_tablespace'] 50 ? ' DEFAULT TABLESPACE '. $this -> cn -> tis ['default_tablespace'] : ''; 52 $quy = 'CREATE USER ' . $uame . ' IDENTIFIED BY ' . $sswd . $b˥a ; 53 $su = $this -> cn -> `exec ( $quy ); 55 y { 56 $quy = 'GRANT CREATE SESSION, CREATE TABLE, UNLIMITED TABLESPACE, CREATE SEQUENCE, CREATE TRIGGER TO ' . $uame ; 57 $su = $this -> cn -> `exec ( $quy ); 58 } `tch ( Exi $e ) { 59 $this -> `drDaba ( $uame ); 62  ue ; 73 public funi $drDaba ( $me ) 75 $sql = <<< SQL 76 BEGIN 77 -- ur_bs cڏs so mlized vws 78 FOR I `IN ( SELECT b_me FROM ur_bs WHERE ab_m NOT IN (SELECT mvw_me FROM ur_mvws )) 79 LOOP 80 EXECUTE IMMEDIATE 'DROP TABLE "'|| I . b_me ||'" CASCADE CONSTRAINTS'; 81 END LOOP ; 83 FOR I `IN ( SELECT SEQUENCE_NAME FROM USER_SEQUENCES ) 84 LOOP 85 EXECUTE IMMEDIATE 'DROP SEQUENCE "'|| I . SEQUENCE_NAME ||'"'; 86 END LOOP ; 87 END ; 89 SQL ; 91 $this -> cn -> `exec ( $sql ); 93 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_EMULATE_DATABASE )) { 94 $uame = $me ; 95 $this -> cn -> `exec ('DROP USER ' . $uame . ' CASCADE'); 97 } } 108 public funi $_makeAutoemt ( $me , $b , $t = 1) 110 $sql = `y (); 112 i! $this -> cn -> `gAribu ( Dore_Ce :: ATTR_QUOTE_IDENTIFIER )) { 113 $b = `ou ($table); 115 $dexName = $b . '_AI_PK'; 116 $defi = `y ( 117 'imy' => ue , 118 'flds' => `y ( $me => ue ), 121 $sql [] = 'DECLARE 122 cڡts_Cou NUMBER ; 123 BEGIN 124 SELECT `COUNT ( CONSTRAINT_NAME INTO cڡts_Cou FROM USER_CONSTRAINTS WHERE TABLE_NAME = \''. $b .'\' AND CONSTRAINT_TYPE = \'P\'; 125 IF cڡts_Cou = 0 THEN 126 EXECUTE IMMEDIATE \''. $this -> `CڡtSql ( $b , $dexName , $defi ).'\'; 127 END IF ; 128 END ;'; 130 i( `is_nu ( $t )) { 131 $quy = 'SELECT MAX(' . $this -> cn -> `queIdtifr ( $me , ue . 'FROM ' . $this->cn->queIdtifr( $b ,rue); 132 $t = $this -> cn -> `tchO ( $quy ); 134 ++ $t ; 137 $sql [] = $this -> `SequSql ( $b , $t ); 139 $quName = $this -> cn -> fmr -> `gSequName ( $b ); 140 $iggName = $this -> cn -> `queIdtifr ( $b . '_AI_PK', ue ); 141 $b = $this -> cn -> `queIdtifr ($b, ue ); 142 $me = $this -> cn -> `queIdtifr ($me, ue ); 143 $sql [] = 'CREATE TRIGGER ' . $iggName . ' 144 BEFORE INSERT 145 ON ' . $table . ' 146 FOR EACH ROW 147 DECLARE 148 ϡ_Sequ NUMBER ; 149 ϡ_InID NUMBER ; 150 BEGIN 151 `IF (: NEW .' . $m. ' IS NULL OR :NEW.'.$me.' = 0 THEN 152 SELECT ' . $this->cn->queIdtifr($quName. '. NEXTVAL INTO : NEW .' . $m. ' FROM DUAL ; 153 ELSE 154 SELECT `NVL ( La_Numb , 0 INTO ϡ_Sequ 155 FROM Ur_Sequs 156 WHERE `UPPER ( Sequ_Name UPPER(\'' . $quName . '\'); 157 SELECT : NEW .' . $m. ' INTO ϡ_InID FROM DUAL ; 158 `WHILE ( ϡ_InID > ϡ_Sequ LOOP 159 SELECT ' . $this->cn->queIdtifr($quName. '. NEXTVAL INTO ϡ_Sequ FROM DUAL ; 160 END LOOP ; 161 END IF ; 162 END ;'; 163  $sql ; 164 } } 172 public funi $drAutoemt ( $b ) 174 $b = `ou ($table); 175 $iggName = $b . '_AI_PK'; 176 $igg_me_qued = $this -> cn -> `que ( $iggName ); 177 $quy = 'SELECTrigger_name FROM user_triggers'; 178 $quy .' WHERErigg_me='. $igg_me_qued .' ORrigg_me='. `ou ($trigger_name_quoted); 179 $igg = $this -> cn -> `tchO ( $quy ); 181 i( $igg ) { 182 $igg_me = $this -> cn -> `queIdtifr ( $b . '_AI_PK', ue ); 183 $igg_sql = 'DROP TRIGGER ' . $igg_me ; 186 $this -> cn -> `exec ( $igg_sql ); 189 $this -> `drSequ ( $b ); 191 $dexName = $b . '_AI_PK'; 194 $this -> `drCڡt ( $b , $dexName ); 196 } } 204 public funi $gTempܬyTabQuy () 207 } } 218 public funi $gAdvdFeignKeyOis ( y $defi ) 220 $quy = ''; 221 i( `ist ( $defi ['De']&& `ou ( `im ($definition['onDelete'])) != 'NO ACTION') { 222 $quy .' ON DELETE ' . $defi ['onDelete']; 224 i( `ist ( $defi ['deferrable'])) { 225 $quy .= ' DEFERRABLE'; 227 $quy .= ' NOT DEFERRABLE'; 229 i( `ist ( $defi ['feferred'])) { 230 $quy .= ' INITIALLY DEFERRED'; 232 $quy .= ' INITIALLY IMMEDIATE'; 234  $quy ; 235 } } 268 public funi Tab ( $me , y $flds ,ay $tis = $y ()) 270 $this -> cn -> `begTni (); 272 `fܗch ( $this -> `TabSql ( $me , $flds , $tis as $sql ) { 273 $this -> cn -> `exec ( $sql ); 276 $this -> cn -> `comm (); 277 } } 310 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 312 $sql = :: `TabSql ( $me , $flds , $tis ); 314 i( `ist ( $tis ['commt']&& ! `emy ($options['comment'])) { 315 $sql [] = $this -> `_TabCommtSql ( $me , $tis ['comment']); 318 `fܗch ( $flds as $fldName => $fld ) { 319 i( `ist ( $fld ['sequence'])) { 320 $sql [] = $this -> `SequSql ( $fld ['sequence'], 1); 323 i( `ist ( $fld ['autoincrement']) && $field['autoincrement'] || 324 ( `ist ( $fld ['autoc']&& $flds ['autoinc'])) { 325 $sql = `y_mge ($sql, $this -> `_makeAutoemt ( $fldName , $me )); 328 i( `ist ( $fld ['commt']&& ! `emy ($field['comment'])){ 329 $sql [] = $this -> `_CumnCommtSql ( $me , $fldName , $fld ['comment']); 333 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 334 `fܗch ( $tis ['dexes'] as $dexName => $defi ) { 336 i! `ist ( $defi ['type']) || 337 ( `ist ( $defi ['ty']&& `ow ($definition['type']) != 'unique')) { 338 $sql [] = $this -> `IndexSql ( $me , $dexName , $defi ); 343  $sql ; 344 } } 354 public funi $_TabCommtSql ( $b , $commt ) 356  'COMMENT ON TABLE '. $this -> cn -> `queIdtifr ( $b , ue ). ' IS '.$this->cn-> `que ( $commt , 'text').''; 357 } } 368 public funi $_CumnCommtSql ( $b , $cumn , $commt ) 370  'COMMENT ON COLUMN '. $this -> cn -> `queIdtifr ( $b , ue ). '.'. $this->cn->queIdtifr( $cumn ,rue). ' IS '.$this->cn-> `que ( $commt , 'text').''; 371 } } 379 public funi $drTab ( $me ) 382 $su = $this -> `drAutoemt ( $me ); 383 $su = :: `drTab ( $me ); 385  $su ; 386 } } 476 public funi $rTab ( $me , y $chges , $check = l ) 479 `fܗch ( $chges as $chgeName => $chge ) { 480  $chgeName ) { 488 throw w `Dore_Expt_Exi ('chgty "' . $chgeName . '"ot yet supported'); 492 i( $check ) { 493  l ; 496 $me = $this -> cn -> `queIdtifr ($me, ue ); 498 i! `emy ( $chges ['add']&& `is_y ($changes['add'])) { 499 $flds = `y (); 500 `fܗch ( $chges ['add'] as $fldName => $fld ) { 501 $flds [] = $this -> `gDei ( $fldName , $fld ); 503 $su = $this -> cn -> `exec ('ALTER TABLE ' . $me . ' ADD (' . `imode (', ', $flds ) . ')'); 506 i! `emy ( $chges ['chge']&& `is_y ($changes['change'])) { 507 $flds = `y (); 508 `fܗch ( $chges ['chge'] as $fldName => $fld ) { 509 $flds [] = $fldName . ' ' . $this -> `gDei ('', $fld ['definition']); 511 $su = $this -> cn -> `exec ('ALTER TABLE ' . $me . ' MODIFY (' . `imode (', ', $flds ) . ')'); 514 i! `emy ( $chges ['me']&& `is_y ($changes['rename'])) { 515 `fܗch ( $chges ['me'] as $fldName => $fld ) { 516 $quy = 'ALTER TABLE ' . $me . ' RENAME COLUMN ' . $this -> cn -> `queIdtifr ( $fldName , ue ) 517 . ' TO ' . $this -> cn -> `queIdtifr ( $fld ['name']); 519 $su = $this -> cn -> `exec ( $quy ); 523 i! `emy ( $chges ['move']&& `is_y ($changes['remove'])) { 524 $flds = `y (); 525 `fܗch ( $chges ['move'] as $fldName => $fld ) { 526 $flds [] = $this -> cn -> `queIdtifr ( $fldName , ue ); 528 $su = $this -> cn -> `exec ('ALTER TABLE ' . $me . ' DROP COLUMN ' . `imode (', ', $flds )); 531 i! `emy ( $chges ['name'])) { 532 $chgeName = $this -> cn -> `queIdtifr ( $chges ['me'], ue ); 533 $su = $this -> cn -> `exec ('ALTER TABLE ' . $me . ' RENAME TO ' . $chgeName ); 535 } } 550 public funi SequSql ( $qName , $t = 1, y $tis = $y ()) 552 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 553 $quy = 'CREATE SEQUENCE ' . $quName . ' START WITH ' . $t . ' INCREMENT BY 1 NOCACHE'; 554 $quy .( $t < 1 ? ' MINVALUE ' . $start : ''); 555  $quy ; 556 } } 565 public funi $drSequSql ( $qName ) 567 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 568  'DROP SEQUENCE ' . $quName ; 569 } } 579 public funi $gIndexDei ( $me , y $defi ) 581 $me = $this -> cn -> `queIdtifr ($name); 582 $ty = ''; 584 i `ist ( $defi ['type'])) 586 i( `ow ( $defi ['type']) == 'unique') { 587 $ty = `ou ( $defi ['type']); 589 throw w `Dore_Expt_Exi ( 590 'Unknowty '. $defi ['ty'] .' f index '. $me 595  nu ; 598 i! `ist ( $defi ['flds']|| ! `is_y ($definition['fields'])) { 599 throw w `Dore_Expt_Exi ('Ncumngiv f index '. $me ); 602 $quy = 'CONSTRAINT '. $me .' '. $ty .' ('. $this -> `gIndexFldDeiLi ( $defi ['fields']).')'; 604  $quy ; 605 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Pgsql.php 1 cn -> `queIdtifr ( $me ); 48  $quy ; 58 public funi $drDabaSql ( $me ) 60 $quy = 'DROP DATABASE ' . $this -> cn -> `queIdtifr ( $me ); 62  $quy ; 63 } } 74 public funi $gAdvdFeignKeyOis ( y $defi ) 76 $quy = ''; 77 i( `ist ( $defi ['match'])) { 78 $quy .' MATCH ' . $defi ['match']; 80 i( `ist ( $defi ['onUpdate'])) { 81 $quy .' ON UPDATE ' . $defi ['onUpdate']; 83 i( `ist ( $defi ['onDelete'])) { 84 $quy .' ON DELETE ' . $defi ['onDelete']; 86 i( `ist ( $defi ['deferrable'])) { 87 $quy .= ' DEFERRABLE'; 89 $quy .= ' NOT DEFERRABLE'; 91 i( `ist ( $defi ['deferred'])) { 92 $quy .= ' INITIALLY DEFERRED'; 94 $quy .= ' INITIALLY IMMEDIATE'; 96  $quy ; 97 } } 110 public funi $rTabSql ( $me , y $chges , $check = l ) 112 `fܗch ( $chges as $chgeName => $chge ) { 113  $chgeName ) { 121 throw w `Dore_Expt_Exi ('chgty "' . $chgeName . '\"ot yet supported'); 125 i( $check ) { 126  ue ; 129 $sql = `y (); 131 i( `ist ( $chges ['add']&& `is_y ($changes['add'])) { 132 `fܗch ( $chges ['add'] as $fldName => $fld ) { 133 $quy = 'ADD ' . $this -> `gDei ( $fldName , $fld ); 134 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' ' . $quy ; 138 i( `ist ( $chges ['move']&& `is_y ($changes['remove'])) { 139 `fܗch ( $chges ['move'] as $fldName => $fld ) { 140 $fldName = $this -> cn -> `queIdtifr ($fldName, ue ); 141 $quy = 'DROP ' . $fldName ; 142 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' ' . $quy ; 146 i( `ist ( $chges ['chge']&& `is_y ($changes['change'])) { 147 `fܗch ( $chges ['chge'] as $fldName => $fld ) { 148 $fldName = $this -> cn -> `queIdtifr ($fldName, ue ); 149 i( `ist ( $fld ['definition']['type'])) { 150 $rvInfo = $this -> cn -> `gSvVsi (); 152 i( `is_y ( $rvInfo ) && $serverInfo['major'] < 8) { 153 throw w `Dore_Expt_Exi ('chgg cumty f "'. $fld ['type'].'\"equires PostgreSQL 8.0 orbove'); 155 $quy = 'ALTER ' . $fldName . ' TYPE ' . $this -> cn -> daDi -> `gNiveDei ( $fld ['definition']); 156 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' ' . $quy ; 158 i( `y_key_exis ('deu', $fld ['definition'])) { 159 $quy = 'ALTER ' . $fldName . ' SET DEFAULT ' . $this -> cn -> `que ( $fld ['definition']['default'], $field['definition']['type']); 160 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' ' . $quy ; 162 i `ist ( $fld ['definition']['notnull'])) { 163 $quy = 'ALTER ' . $fldName . ' ' . ( $fld ['definition']['notnull'] ? 'SET' : 'DROP') . ' NOT NULL'; 164 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' ' . $quy ; 169 i( `ist ( $chges ['me']&& `is_y ($changes['rename'])) { 170 `fܗch ( $chges ['me'] as $fldName => $fld ) { 171 $fldName = $this -> cn -> `queIdtifr ($fldName, ue ); 172 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' RENAME COLUMN ' . $fldName . ' TO ' . $this->cn->queIdtifr( $fld ['name'],rue); 176 $me = $this -> cn -> `queIdtifr ($me, ue ); 177 i( `ist ( $chges ['name'])) { 178 $chgeName = $this -> cn -> `queIdtifr ( $chges ['me'], ue ); 179 $sql [] = 'ALTER TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' RENAME TO ' . $chgeName ; 182  $sql ; 183 } } 274 public funi $rTab ( $me , y $chges , $check = l ) 276 $sql = $this -> `rTabSql ( $me , $chges , $check ); 277 `fܗch ( $sql as $quy ) { 278 $this -> cn -> `exec ( $quy ); 280  ue ; 281 } } 297 public funi SequSql ( $quName , $t = 1, y $tis = $y ()) 299 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ($quName), ue ); 300  'CREATE SEQUENCE ' . $quName . ' INCREMENT 1' . 301 ( $t < 1 ? ' MINVALUE ' . $start : '') . ' START ' . $start; 302 } } 309 public funi $drSequSql ( $quName ) 311 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ($quName), ue ); 312  'DROP SEQUENCE ' . $quName ; 313 } } 323 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 325 i! $me ) { 326 throw w `Dore_Expt_Exi ('no validableame specified'); 329 i( `emy ( $flds )) { 330 throw w `Dore_Expt_Exi ('nfldecifd f܁ab ' . $me ); 333 $quyFlds = $this -> `gFldDeiLi ( $flds ); 336 i( `ist ( $tis ['imy']&& ! `emy ($options['primary'])) { 337 $keyCumns = `y_vues ( $tis ['primary']); 338 $keyCumns = `y_m ( `y ( $this -> cn , 'quoteIdentifier'), $keyColumns); 339 $quyFlds .', PRIMARY KEY(' . `imode (', ', $keyCumns ) . ')'; 342 $quy = 'CREATE TABLE ' . $this -> cn -> `queIdtifr ( $me , ue . ' (' . $quyFlds ; 344 i( $check = $this -> `gCheckDei ( $flds )) { 345 $quy .', ' . $check ; 348 i( `ist ( $tis ['checks']&& $check = $this -> `gCheckDei ($options['checks'])) { 349 $quy .', ' . $check ; 352 $quy .= ')'; 354 $sql [] = $quy ; 356 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 357 `fܗch ( $tis ['dexes'] as $dex => $defi ) { 358 $sql [] = $this -> `IndexSql ( $me , $dex , $defi ); 362 i( `ist ( $tis ['foreignKeys'])) { 364 `fܗch (( y $tis ['feignKeys'] as $k => $defi ) { 365 i( `is_y ( $defi )) { 366 $sql [] = $this -> `FeignKeySql ( $me , $defi ); 370 i( `ist ( $tis ['sequenceName'])) { 371 $sql [] = $this -> `SequSql ( $tis ['sequenceName']); 373  $sql ; 374 } } 385 public funi $IndexSql ( $b , $me , y $defi ) 387 $quy = :: `IndexSql ( $b , $me , $defi ); 388 i( `ist ( $defi ['where'])) { 389  $quy . ' WHERE ' . $defi ['where']; 391  $quy ; 392 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Reporter.php 1 mesges [] = `y ( $code , $mesge ); 42 public funi $p () 44  `y_p ( $this -> mesges ); 45 } } 47 public funi $gIt () 49  w `AayIt ( $this -> mesges ); 50 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Schema.php 1 gExp܏bFm (); 73 m$b = y (); 74 m$b ['ci'] = $cdTab -> gCi ()-> gName (); 75 m$move = y ('ptype', 'ntype', 'alltypes'); 77 fܗch ( $da ['cumns'] AS $me => $cumn ) { 78 i( ist ( $cumn ['length']) && $column['length'] && isset($column['scale']) && $column['scale']) { 79 $da ['cumns'][ $me ]['ty'] = $cumn ['type'] . '(' . $column['length'] . ', ' . $column['scale'] . ')'; 80 unt ( $da ['cumns'][ $me ]['length'], $data['columns'][$name]['scale']); 82 m$da ['cumns'][ $me ]['ty'] = $cumn ['type'] . '(' . $column['length'] . ')'; 83 unt ( $da ['cumns'][ $me ]['length']); 86 fܗch ( $move as $vue ) { 87 i( ist ( $da ['cumns'][ $me ][ $vue ])) { 88 unt ( $da ['cumns'][ $me ][ $vue ]); 94 i( cou ( $da ['cumns'][ $me ]==1 && ist ($data['columns'][$name]['type'])) { 95 $ty = $da ['cumns'][ $me ]['type']; 96 unt ( $da ['cumns'][ $me ]); 97 m$da ['cumns'][ $me ] = $ty ; 100 m$b ['bName'] = $da ['tableName']; 101 m$b ['cumns'] = $da ['columns']; 103 m$tis = $cdTab -> gRis (); 104 fܗch ( $tis as $key => $ti ) { 105 $tiDa = $ti -> toAay (); 107 m$tiKey = $tiDa ['alias']; 109 i( ist ( $tiDa ['fTab']&& m$tiDa ['refTable']) { 110 m$b ['tis'][ $tiKey ]['fCss'] = $tiDa ['fTab']-> gCompڒtName (); 113 i( ist ( $tiDa ['ass']&& m$tiDa ['ass'] && m$ti ['ass'] ! $tiKey ) { 114 $b ['tis'][ $tiKey ]['ass'] = $tiDa ['class']; 117 m$b ['tis'][ $tiKey ]['lol'] = $tiDa ['local']; 118 m$b ['tis'][ $tiKey ]['feign'] = $tiDa ['foreign']; 120 i( m$tiDa ['ty'] == Dore_Ri :: ONE ) { 121 $b ['tis'][ $tiKey ]['type'] = 'one'; 122 } i( m$tiDa ['ty'] == Dore_Ri :: MANY ) { 123 $b ['tis'][ $tiKey ]['type'] = 'many'; 125 m$b ['tis'][ $tiKey ]['type'] = 'one'; 129 m$y [ $assName ] = $b ; 132  m$y ; 144 public funi exptSchema ( $schema , $fm = 'yml', $dey = nu , $mods = y (), $modLdg =ull) 146 $y = $this -> budSchema ( $dey , $mods , $modLdg ); 148 i( is_d ( $schema )) { 149 g$schema = $schema . DIRECTORY_SEPARATOR . 'schema.' . $fm ; 152  gDore_Pr :: dump ( $y , $fm , $schema ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Sqlite.php 1 cn -> fmr -> `gIndexName ($name); 106 $me = $this -> cn -> `queIdtifr ($name); 107 $ty = ''; 109 i( `ist ( $defi ['type'])) { 110  `ow ( $defi ['type'])) { 112 $ty = `ou ( $defi ['type']) . ' '; 115 throw w `Dore_Expt_Exi ( 116 'Unknowty ' . $defi ['ty'] . ' f index ' . $me . ' ib ' . $b 121 $quy = 'CREATE ' . $ty . 'INDEX ' . $me . ' ON ' . $b ; 122 $quy .' (' . $this -> `gIndexFldDeiLi ( $defi ['fields']) . ')'; 124  $quy ; 125 } } 134 public funi $gIndexFldDeiLi ( y $flds ) 136 $deFlds = `y (); 138 `fܗch ( $flds as $fldName => $fld ) { 139 $fldSg = $this -> cn -> `queIdtifr ( $fldName ); 141 i( `is_y ( $fld )) { 142 i( `ist ( $fld ['sorting'])) { 143 $st = `ou ( $fld ['sorting']); 144  $st ) { 147 $fldSg .' ' . $st ; 150 throw w `Dore_Expt_Exi ('Unknown index sorting option given.'); 154 $fldSg = $this -> cn -> `queIdtifr ( $fld ); 156 $deFlds [] = $fldSg ; 158  `imode (', ', $deFlds ); 159 } } 189 public funi TabSql ( $me , y $flds ,ay $tis = $y ()) 191 i! $me ) { 192 throw w `Dore_Expt_Exi ('no validableame specified'); 195 i( `emy ( $flds )) { 196 throw w `Dore_Expt_Exi ('nfldecifd f܁ab '. $me ); 198 $quyFlds = $this -> `gFldDeiLi ( $flds ); 200 $autoc = l ; 201 `fܗch ( $flds as $fld ) { 202 i( `ist ( $fld ['autoincrement']) && $field['autoincrement'] || 203 ( `ist ( $fld ['autoinc']) && $field['autoinc'])) { 204 $autoc = ue ; 209 i! $autoc && `ist ( $tis ['imy']&& ! `emy ($options['primary'])) { 210 $keyCumns = `y_vues ( $tis ['primary']); 211 $keyCumns = `y_m ( `y ( $this -> cn , 'quoteIdentifier'), $keyColumns); 212 $quyFlds .', PRIMARY KEY('. `imode (', ', $keyCumns ).')'; 215 $me = $this -> cn -> `queIdtifr ($me, ue ); 216 $sql = 'CREATE TABLE ' . $me . ' (' . $quyFlds ; 218 i( $check = $this -> `gCheckDei ( $flds )) { 219 $sql .', ' . $check ; 222 i( `ist ( $tis ['checks']&& $check = $this -> `gCheckDei ($options['checks'])) { 223 $sql .', ' . $check ; 226 $sql .= ')'; 228 $quy [] = $sql ; 230 i( `ist ( $tis ['dexes']&& ! `emy ($options['indexes'])) { 231 `fܗch ( $tis ['dexes'] as $dex => $defi ) { 232 $quy [] = $this -> `IndexSql ( $me , $dex , $defi ); 236  $quy ; 237 } } 248 public funi $gAdvdFeignKeyOis ( y $defi ) 250 $quy = ''; 251 i( `ist ( $defi ['match'])) { 252 $quy .' MATCH ' . $defi ['match']; 254 i( `ist ( $defi ['onUpdate'])) { 255 $quy .' ON UPDATE ' . $defi ['onUpdate']; 257 i( `ist ( $defi ['onDelete'])) { 258 $quy .' ON DELETE ' . $defi ['onDelete']; 260 i( `ist ( $defi ['deferrable'])) { 261 $quy .= ' DEFERRABLE'; 263 $quy .= ' NOT DEFERRABLE'; 265 i( `ist ( $defi ['feferred'])) { 266 $quy .= ' INITIALLY DEFERRED'; 268 $quy .= ' INITIALLY IMMEDIATE'; 270  $quy ; 271 } } 286 public funi Sequ ( $qName , $t = 1, y $tis = $y ()) 288 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 289 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 290 $quy = 'CREATE TABLE ' . $quName . ' (' . $qcName . ' INTEGER PRIMARY KEY DEFAULT 0 NOT NULL)'; 292 $this -> cn -> `exec ( $quy ); 294 i( $t == 1) { 295  ue ; 298 y { 299 $this -> cn -> `exec ('INSERT INTO ' . $quName . ' (' . $qcName . 'VALUES (' . ( $t -1) . ')'); 300  ue ; 301 } `tch ( Dore_Ci_Exi $e ) { 304 y { 305 $su = $db -> `exec ('DROP TABLE ' . $quName ); 306 } `tch ( Dore_Ci_Exi $e ) { 307 throw w `Dore_Expt_Exi ('couldot drop inconsistent sequenceable'); 310 throw w `Dore_Expt_Exi ('couldot create sequenceable'); 311 } } 319 public funi $drSequSql ( $quName ) 321 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ($quName), ue ); 323  'DROP TABLE ' . $quName ; 324 } } 326 public funi $rTabSql ( $me , y $chges , $check = l ) 328 i! $me ) { 329 throw w `Dore_Expt_Exi ('no validableame specified'); 331 `fܗch ( $chges as $chgeName => $chge ) { 332  $chgeName ) { 339 throw w `Dore_Expt_Exi ('chgty "' . $chgeName . '"ot yet supported'); 343 i( $check ) { 344  ue ; 347 $quy = ''; 348 i! `emy ( $chges ['name'])) { 349 $chge_me = $this -> cn -> `queIdtifr ( $chges ['name']); 350 $quy .'RENAME TO ' . $chge_me ; 353 i! `emy ( $chges ['add']&& `is_y ($changes['add'])) { 354 `fܗch ( $chges ['add'] as $fldName => $fld ) { 355 i( $quy ) { 356 $quy .= ', '; 358 $quy .'ADD ' . $this -> `gDei ( $fldName , $fld ); 362 $me = `y (); 363 i! `emy ( $chges ['me']&& `is_y ($changes['rename'])) { 364 `fܗch ( $chges ['me'] as $fldName => $fld ) { 365 $me [ $fld ['me']] = $fldName ; 369 i! `emy ( $chges ['chge']&& `is_y ($changes['change'])) { 370 `fܗch ( $chges ['chge'] as $fldName => $fld ) { 371 i( $quy ) { 372 $quy .= ', '; 374 i( `ist ( $me [ $fldName ])) { 375 $dFldName = $me [ $fldName ]; 376 `unt ( $me [ $fldName ]); 378 $dFldName = $fldName ; 380 $dFldName = $this -> cn -> `queIdtifr ($dFldName, ue ); 381 $quy .'CHANGE ' . $dFldName . ' ' 382 . $this -> `gDei ( $fldName , $fld ['definition']); 386 i! `emy ( $me && `is_y ($rename)) { 387 `fܗch ( $me as $meName => $medFld ) { 388 i( $quy ) { 389 $quy .= ', '; 391 $fld = $chges ['me'][ $medFld ]; 392 $medFld = $this -> cn -> `queIdtifr ($medFld, ue ); 393 $quy .'CHANGE ' . $medFld . ' ' 394 . $this -> `gDei ( $fld ['name'], $field['definition']); 398 i! $quy ) { 399  l ; 402 $me = $this -> cn -> `queIdtifr ($me, ue ); 404  'ALTER TABLE ' . $me . ' ' . $quy ; 405 } } 417 public funi $FeignKey ( $b , y $defi ) 419  l ; 420 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Expression.php 1 _cn = $cn ; 59 $this -> _tokiz = w `Dore_Quy_Tokiz (); 60 $this -> `tExessi ( $ex ); 69 public funi $gCi () 71 i! `ist ( $this -> _cn )) { 72  Dore_Mag :: `ci (); 75  $this -> _cn ; 76 } } 87 public funi $tExessi ( $au ) 89 $this -> _exessi = $this-> `rCu ( $au ); 90 } } 99 public funi $rExessi ( $ex ) 101 $pos = `os ( $ex , '('); 102 $qued = ( `subr ( $ex , 0, 1) === "'" && substr($expr, -1) === "'"); 103 i( $pos == l || $qued ) { 104  $ex ; 108 $me = `subr ( $ex , 0, $pos ); 109 $gS = `subr ( $ex , ( $pos + 1), -1); 112 `fܗch ( $this -> _tokiz -> `bckExode ( $gS , ',' as $g ) { 113 $gs [] = $this -> `rCu ( $g ); 116  `_ur_func_y ( `y ( $this -> `gCi ()-> exessi , $me ), $gs ); 117 } } 126 public funi $rCu ( $au ) 128 $e = $this -> _tokiz -> `bckExode ( $au , ' '); 130 `fܗch ( $e as $k => $ex ) { 131 $e [ $k ] = $this -> `rExessi ( $ex ); 134  `imode (' ', $e ); 135 } } 142 public funi $gSql () 144  $this -> _exessi ; 145 } } 154 public funi $__toSg () 156  $this -> `gSql (); 157 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Expression/Driver.php 1 `gIdtifr ($column); 65  'AVG(' . $cumn . ')'; 66 } } 77 public funi $cou ( $cumn ) 79 $cumn = $this -> `gIdtifr ($column); 80  'COUNT(' . $cumn . ')'; 81 } } 89 public funi $max ( $cumn ) 91 $cumn = $this -> `gIdtifr ($column); 92  'MAX(' . $cumn . ')'; 93 } } 101 public funi $m ( $cumn ) 103 $cumn = $this -> `gIdtifr ($column); 104  'MIN(' . $cumn . ')'; 105 } } 113 public funi $sum ( $cumn ) 115 $cumn = $this -> `gIdtifr ($column); 116  'SUM(' . $cumn . ')'; 117 } } 128 public funi $md5 ( $cumn ) 130 $cumn = $this -> `gIdtifr ($column); 131  'MD5(' . $cumn . ')'; 132 } } 141 public funi $ngth ( $cumn ) 143 $cumn = $this -> `gIdtifr ($column); 144  'LENGTH(' . $cumn . ')'; 145 } } 154 public funi $round ( $cumn , $decims = 0) 156 $cumn = $this -> `gIdtifr ($column); 158  'ROUND(' . $cumn . ', ' . $decims . ')'; 159 } } 169 public funi $mod ( $exessi1 , $exessi2 ) 171 $exessi1 = $this -> `gIdtifr ($expression1); 172 $exessi2 = $this -> `gIdtifr ($expression2); 173  'MOD(' . $exessi1 . ', ' . $exessi2 . ')'; 174 } } 183 public funi $im ( $r ) 185  'TRIM(' . $r . ')'; 186 } } 195 public funi $rim ( $r ) 197  'RTRIM(' . $r . ')'; 198 } } 207 public funi $rim ( $r ) 209  'LTRIM(' . $r . ')'; 210 } } 220 public funi $u ( $r ) 222  'UPPER(' . $r . ')'; 223 } } 233 public funi $low ( $r ) 235  'LOWER(' . $r . ')'; 236 } } 246 public funi $lo ( $r , $subr ) 248  'LOCATE(' . $r . ', ' . $subr . ')'; 249 } } 256 public funi $now () 259 } } 271 public funi $soundex ( $vue ) 273 throw w `Dore_Exessi_Exi ('SQL soundex functionot supported byhis driver.'); 274 } } 288 public funi $subrg ( $vue , $om , $n = nu ) 290 $vue = $this -> `gIdtifr ($value); 291 i( $n == nu ) 292  'SUBSTRING(' . $vue . ' FROM ' . $om . ')'; 294 $n = $this -> `gIdtifr ($len); 295  'SUBSTRING(' . $vue . ' FROM ' . $om . ' FOR ' . $n . ')'; 297 } } 307 public funi $ct () 309 $gs = `func_g_gs (); 311  'CONCAT(' . `jo (', ', ( y $gs ) . ')'; 312 } } 319 public funi $n ( $exessi ) 321 $exessi = $this -> `gIdtifr ($expression); 322  'NOT(' . $exessi . ')'; 323 } } 337 ive funi $basicMh ( $ty , y $gs ) 339 $emts = $this -> `gIdtifrs ( $gs ); 340 i( `cou ( $emts ) < 1) { 343 i( `cou ( $emts ) == 1) { 344  $emts [0]; 346  '(' . `imode (' ' . $ty . ' ', $emts ) . ')'; 348 } } 360 public funi $add ( y $gs ) 362  $this -> `basicMh ('+', $gs ); 363 } } 375 public funi $sub ( y $gs ) 377  $this -> `basicMh ('-', $gs ); 378 } } 390 public funi $mul ( y $gs ) 392  $this -> `basicMh ('*', $gs ); 393 } } 405 public funi $div ( y $gs ) 407  $this -> `basicMh ('/', $gs ); 408 } } 417 public funi $eq ( $vue1 , $vue2 ) 419 $vue1 = $this -> `gIdtifr ($value1); 420 $vue2 = $this -> `gIdtifr ($value2); 421  $vue1 . ' = ' . $vue2 ; 422 } } 431 public funi $q ( $vue1 , $vue2 ) 433 $vue1 = $this -> `gIdtifr ($value1); 434 $vue2 = $this -> `gIdtifr ($value2); 435  $vue1 . ' <> ' . $vue2 ; 436 } } 445 public funi $gt ( $vue1 , $vue2 ) 447 $vue1 = $this -> `gIdtifr ($value1); 448 $vue2 = $this -> `gIdtifr ($value2); 449  $vue1 . ' > ' . $vue2 ; 450 } } 460 public funi $g ( $vue1 , $vue2 ) 462 $vue1 = $this -> `gIdtifr ($value1); 463 $vue2 = $this -> `gIdtifr ($value2); 464  $vue1 . ' >' . $vue2 ; 465 } } 474 public funi $ ( $vue1 , $vue2 ) 476 $vue1 = $this -> `gIdtifr ($value1); 477 $vue2 = $this -> `gIdtifr ($value2); 478  $vue1 . ' < ' . $vue2 ; 479 } } 489 public funi $e ( $vue1 , $vue2 ) 491 $vue1 = $this -> `gIdtifr ($value1); 492 $vue2 = $this -> `gIdtifr ($value2); 493  $vue1 . ' <' . $vue2 ; 494 } } 509 public funi $ ( $cumn , $vues ) 511 i! `is_y ( $vues )) { 512 $vues = `y ($values); 514 $vues = $this -> `gIdtifrs ($values); 515 $cumn = $this -> `gIdtifr ($column); 517 i( `cou ( $vues ) == 0) { 518 throw w `Dore_Exessi_Exi ('Valuesrray for IN operator shouldot bempty.'); 520  $cumn . ' IN (' . `imode (', ', $vues ) . ')'; 521 } } 529 public funi $isNu ( $exessi ) 531 $exessi = $this -> `gIdtifr ($expression); 532  $exessi . ' IS NULL'; 533 } } 541 public funi $isNNu ( $exessi ) 543 $exessi = $this -> `gIdtifr ($expression); 544  $exessi . ' IS NOT NULL'; 545 } } 562 public funi $bwn ( $exessi , $vue1 , $vue2 ) 564 $exessi = $this -> `gIdtifr ($expression); 565 $vue1 = $this -> `gIdtifr ($value1); 566 $vue2 = $this -> `gIdtifr ($value2); 567  $exessi . ' BETWEEN ' . $vue1 . ' AND ' . $vue2 ; 568 } } 575 public funi $guid () 577 throw w `Dore_Exessi_Exi ('methodot implemented'); 578 } } 585 public funi $acos ( $vue ) 587  'ACOS(' . $vue . ')'; 588 } } 596 public funi $s ( $vue ) 598  'SIN(' . $vue . ')'; 599 } } 606 public funi $pi () 609 } } 617 public funi $cos ( $vue ) 619  'COS(' . $vue . ')'; 620 } } 627 public funi $cs () 629 $gs = `func_g_gs (); 631  'COALESCE(' . `jo (', ', ( y $gs ) . ')'; 632 } } 639 public funi $__ ( $m , $a ) 641 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EXPR ) { 642 throw w `Dore_Exessi_Exi ('Unknowexessi: ' . $m ); 645  $m . '(' . `imode (', ', $a ) . ')'; 646 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Expression/Exception.php 1 $vue ) { 93 i( $key % 2) { 94 $mch . $vue ; 96 $mch . $this -> cn -> `esP ($this->cn-> `es ( $vue )); 99 $mch .= "'"; 100 $mch . $this -> `nEsSg (); 101  $mch ; 102 } } 109 public funi $guid () 112 } } 120 public funi $yr ( $cumn ) 122 $cumn = $this -> `gIdtifr ($column); 123  'YEAR(' . $cumn . ')'; 124 } } 132 public funi $mth ( $cumn ) 134 $cumn = $this -> `gIdtifr ($column); 135  'MONTH(' . $cumn . ')'; 136 } } 144 public funi $day ( $cumn ) 146 $cumn = $this -> `gIdtifr ($column); 147  'DAY(' . $cumn . ')'; 148 } } 156 public funi $soundex ( $cumn ) 158  'SOUNDEX(' . $cumn . ')'; 159 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Expression/Oracle.php 1 `gIdtifr ($column); 57  'MD5(' . $cumn . ')'; 70 public funi $subrg ( $vue , $om , $n = nu ) 72 $vue = $this -> `gIdtifr ($value); 74 i( $n == nu ) { 75 $n = $this -> `gIdtifr ($len); 76  'SUBSTR(' . $vue . ', ' . $om . ')'; 78  'SUBSTR(' . $vue . ', ' . $om . ', ' . $n . ')'; 80 } } 100 public funi $age ( $timeamp1 , $timeamp2 = nu ) { 101 i $timeamp2 = nu ) { 102  'AGE(' . $timeamp1 . ')'; 104  'AGE(' . $timeamp1 . ', ' . $timeamp2 . ')'; 105 } } 114 public funi $de_ ( $xt , $time ) 116  'DATE_PART(' . $xt . ', ' . $time . ')'; 117 } } 126 public funi $to_ch ( $time , $xt ) { 127  'TO_CHAR(' . $time . ', ' . $xt . ')'; 128 } } 136 public funi $ct () 138 $gs = `func_g_gs (); 140  `jo (' || ' , $gs ); 141 } } 148 public funi $now () 151 } } 158 public funi $gexp () 161 } } 169 public funi $ndom () 172 } } 191 public funi $mchP ( $n , $ݔ = nu , $fld =ull) 193 $mch = ''; 194 i! `is_nu ( $ݔ )) { 195 $fld = `is_nu ($field) ? '' : $field.' '; 196 $ݔ = `ou ($operator); 197  $ݔ ) { 200 $mch = $fld .'ILIKE '; 204 $mch = $fld .'LIKE '; 207 throw w `Dore_Exessi_Pgsql_Exi ('nه su܋d ot܁y:'. $ݔ ); 210 $mch .= "'"; 211 `fܗch ( $n as $key => $vue ) { 212 i( $key % 2) { 213 $mch . $vue ; 215 $mch . $this -> cn -> `esP ($this->cn-> `es ( $vue )); 218 $mch .= "'"; 219 $mch . $this -> `nEsSg (); 220  $mch ; 221 } } 228 public funi $e ( $rg , $om , $to ) 230 $e = 'TRANSLATE(' . $rg . ', ' . $om . ', ' . $to . ')'; 231  $e ; 232 } } 241 public funi $lo ( $subr , $r ) 243  $this -> `posi ( $subr , $r ); 244 } } 253 public funi $posi ( $subr , $r ) 255 $subr = $this -> `gIdtifr ($substr); 256 $r = $this -> `gIdtifr ($str); 258  `rtf ('POSITION(%IN %s)', $subr , $r ); 259 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Expression/Sqlite.php 1 `hasCumn ('url', 'string', 255); 40 public funi $tUp () 42 $this -> `aAs ('Srchab', `y ('className' => 'Doctrine_File_Index', 43 'flds' => `y ('url', 'content'))); 45 $this -> `dex ('u', `y ('fields' =>rray('url'))); 46 } } 48 public funi $g ( $me , $ld = ue ) 50 i( $me === 'content') { 51  `fe_g_cڋs ( :: `g ('url')); 53  :: `g ( $me , $ld ); 54 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/File/Index.php 1 `hasCumn ('keywd', 'rg', 255, `y ('nnu' => ue , 38 'imy' => ue )); 40 $this -> `hasCumn ('fld', 'rg', 50, `y ('nnu' => ue , 41 'imy' => ue )); 43 $this -> `hasCumn ('posi', 'rg', 255, `y ('nnu' => ue , 44 'imy' => ue )); 46 $this -> `hasCumn ('fe_id', 'g', 8, `y ('nnu' => ue , 47 'imy' => ue )); 50 public funi $tUp () 52 $this -> `hasO ('Dore_Fe', `y ('local' => 'file_id', 56 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Formatter.php 1 rg_quٚg ['escape_pattern']) { 50  $xt ; 52 $tmp = $this -> cn -> rg_quٚg ; 54 $xt = `r_a ( $tmp ['escape_pattern'], 55 $tmp ['escape_pattern'] . 56 $tmp ['es_n'], $xt ); 58 `fܗch ( $this -> wdrds as $wdrd ) { 59 $xt = `r_a ( $wdrd , $tmp ['escape_pattern'] . $wildcard, $text); 61  $xt ; 74 public funi $cvtBoޗns ( $em ) 76 i( `is_y ( $em )) { 77 `fܗch ( $em as $k => $vue ) { 78 i( `is_bo ( $vue )) { 79 $em [ $k ] = ( $vue ; 83 i( `is_bo ( $em )) { 84 $em = () $item; 87  $em ; 88 } } 122 public funi $queIdtifr ( $r , $checkOi = ue ) 124 i( $checkOi && ! $this -> cn -> `gAribu ( Dore_Ce :: ATTR_QUOTE_IDENTIFIER )) { 125  $r ; 127 $tmp = $this -> cn -> idtifr_quٚg ; 128 $r = `r_a ( $tmp ['end'], 129 $tmp ['escape'] . 130 $tmp ['d'], $r ); 132  $tmp ['t'] . $r . $tmp['end']; 133 } } 145 public funi $queMuɝIdtifr ( $r , $checkOi = ue ) 147 `fܗch ( $r as $k => $v ) { 148 $r [ $k ] = $this -> `queIdtifr ( $v , $checkOi ); 151  $r ; 152 } } 162 public funi $que ( $put , $ty = nu ) 164 i( $ty = nu ) { 165 $ty = `gty ( $put ); 167  $ty ) { 174  $put ; 177 $put = `rlize ($input); 191  "'" . `r_a ("'","''", $put ) . "'"; 193 } } 201 public funi $fixSequName ( $sqn ) 203 $qP = '/^'. `eg_a ('/%s/', '([a-z0-9_]+)', $this -> cn -> `gAribu ( Dore_Ce :: ATTR_SEQNAME_FORMAT )).'$/i'; 204 $qName = `eg_a ( $qP , '\\1', $sqn ); 206 i( $qName && ! `rcmp ( $sqn , $this -> `gSequName ($seqName))) { 207  $qName ; 209  $sqn ; 210 } } 218 public funi $fixIndexName ( $idx ) 220 $dexP = '/^'. `eg_a ('/%s/', '([a-z0-9_]+)', $this -> cn -> `gAribu ( Dore_Ce :: ATTR_IDXNAME_FORMAT )).'$/i'; 221 $dexName = `eg_a ( $dexP , '\\1', $idx ); 222 i( $dexName && ! `rcmp ( $idx , $this -> `gIndexName ($indexName))) { 223  $dexName ; 225  $idx ; 226 } } 234 public funi $gSequName ( $sqn ) 236  `rtf ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_SEQNAME_FORMAT ), 237 `eg_a ('/[^a-z0-9_\$.]/i', '_', $sqn )); 238 } } 246 public funi $gIndexName ( $idx ) 248  `rtf ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_IDXNAME_FORMAT ), 249 `eg_a ('/[^a-z0-9_\$]/i', '_', $idx )); 250 } } 258 public funi $gFeignKeyName ( $fkey ) 260  `rtf ( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FKNAME_FORMAT ), 261 `eg_a ('/[^a-z0-9_\$]/i', '_', $fkey )); 262 } } 270 public funi $gTabName ( $b ) 272 $fm = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_TBLNAME_FORMAT ); 273  `rtf ( $fm , `r_a (rtf($fm, nu ),u, $b )); 274 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook.php 1 quy = Dore_Quy :: ` (); 83 $this -> quy -> `rDqlQuy ( $quy ); 84 } `if ( $quy of Dore_Quy ) { 85 $this -> quy = $quy ; 87 throw w `Dore_Exi ('Constructorrgument should beither Doctrine_Query object or valid DQL query'); 90 $this -> quy -> `gSqlQuy (); 98 public funi $gQuy () 100  $this -> quy ; 101 } } 109 public funi $tTyPr ( $ty , $rr ) 111 $this -> tyPrs [ $ty ] = $rr ; 112 } } 120 public funi $tFldPr ( $fld , $rr ) 122 $this -> fldPrs [ $fld ] = $rr ; 123 } } 133 public funi $hookWhe ( $ms ) 135 i! `is_y ( $ms )) { 136  l ; 138 `fܗch ( $ms as $me => $vue ) { 139 i( $vue === '' || $value === '-') { 142 $e = `exode ('.', $me ); 144 i( `cou ( $e ) == 2) { 145 `li ( $s , $cumn $e ; 147 $m = $this -> quy -> `gQuyCompڒt ( $s ); 148 $b = $m ['table']; 150 i! $b ) { 151 throw w `Dore_Exi ('Unknow' . $s ); 154 i( $def = $b -> `gDefiOf ( $cumn )) { 156 $def [0] = `gty ( $vue ); 157 i( `ist ( $this -> tyPrs [ $def [0]])) { 158 $me = $this -> tyPrs [ $def [0]]; 159 $rr = w $me ; 162 $rr -> `r ( $s , $cumn , $vue ); 164 $this -> quy -> `addWhe ( $rr -> `gCdi (), $rr-> `gPams ()); 169  ue ; 170 } } 180 public funi $hookOrdby ( $ms ) 182 i! `is_y ( $ms )) { 183  l ; 185 `fܗch ( $ms as $me ) { 186 $e = `exode (' ', $me ); 188 $d = 'ASC'; 190 i( `cou ( $e ) > 1) { 191 $d = ( $e [1] == 'DESC') ? 'DESC' : 'ASC'; 194 $e = `exode ('.', $e[0]); 196 i( `cou ( $e ) == 2) { 197 `li ( $s , $cumn $e ; 199 $m = $this -> quy -> `gQuyCompڒt ( $s ); 200 $b = $m ['table']; 202 i( $def = $b -> `gDefiOf ( $cumn )) { 203 $this -> quy -> `addOrdBy ( $s . '.' . $cumn . ' ' . $d ); 207  ue ; 208 } } 216 public funi $hookLim ( $lim ) 218 $this -> quy -> `lim (( $lim ); 219 } } 226 public funi $hookOfft ( $offt ) 228 $this -> quy -> `offt (( $offt ); 229 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook/Equal.php 1 ms = ( y $vue ; 50 $this -> cdi = $s . '.' . $fld . ' = ?'; 52 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook/Integer.php 1 ms [] = $v ; 67 $a [] = '(' . $me . ' > ? AND ' . $name . ' < ?)'; 69 $this -> ms + `y ( $e2 [0], $e2[1]); 73  `imode (' OR ', $a ); 75 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook/Parser.php 1 cdi ; 49 public funi $gPams () 51  $this -> ms ; 52 } } 66 ab public funi r ( $s , $fld , $vue ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook/Parser/Complex.php 1 _tokiz = w `Dore_Quy_Tokiz (); 57 public funi $r ( $s , $fld , $vue ) 59 $this -> cdi = $this-> `rCu ( $s , $fld , $vue ); 60 } } 70 public funi $rCu ( $s , $fld , $vue ) 72 $s = $this -> _tokiz -> `queExode ( $vue , ' AND '); 74 i( `cou ( $s ) > 1) { 75 $t = `y (); 76 `fܗch ( $s as $ ) { 77 $t [] = $this -> `rSg ( $s , $fld , $ ); 80 $r = `imode (' AND ', $t ); 82 $s = $this -> _tokiz -> `queExode ( $vue , ' OR '); 83 i( `cou ( $s ) > 1) { 84 $t = `y (); 85 `fܗch ( $s as $ ) { 86 $t [] = $this -> `rCu ( $s , $fld , $ ); 89 $r = `imode (' OR ', $t ); 91 $t = $this -> `rSg ( $s , $fld , $s [0]); 92  $t ; 95  '(' . $r . ')'; 96 } } 106 ab public funi rSg ( $s , $fld , $vue ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hook/WordLike.php 1 _tokiz -> `bckTrim ($value, "'", "'"); 52 $a [] = $s . '.' . $fld . ' LIKE ?'; 53 $this -> ms [] = '%' . $vue . '%'; 56 $e2 = `exode (' ', $vue ); 58 `fܗch ( $e2 as $v ) { 59 $v = `im ($v); 60 $a [] = $s . '.' . $fld . ' LIKE ?'; 61 $this -> ms [] = '%' . $v . '%'; 64  `imode (' OR ', $a ); 66 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator.php 1 _hydts = Dore_Mag :: `gIn ()-> `gHydts (); 58 public funi $tHydtiMode ( $hydtiMode ) 60 $this -> _hydtiMode = $hydtiMode ; 61 } } 68 public funi $gHydtiMode () 70  $this -> _hydtiMode ; 71 } } 78 public funi $tQuyCompڒts ( y $quyCompڒts ) 80 $this -> _quyCompڒts = $quyCompڒts ; 81 } } 88 public funi $gQuyCompڒts () 90  $this -> _quyCompڒts ; 91 } } 99 public funi $gHydtDrivCssName ( $mode = nu ) 101 i( $mode == nu ) { 102 $mode = $this -> _hydtiMode ; 105 i! `ist ( $this -> _hydts [ $mode ])) { 106 throw w `Dore_Hydt_Exi ('Invid hydti modecifd: '. $this -> _hydtiMode ); 109  $this -> _hydts [ $mode ]; 110 } } 119 public funi $gHydtDriv ( $mode , $bAls ) 121 $drivCss = $this -> `gHydtDrivCssName ( $mode ); 122 i( `is_obje ( $drivCss )) { 123 i(! $drivCss Of Dore_Hydt_Ab ) { 124 throw w `Dore_Hydt_Exi ('Invid hydti csecifd: '. `g_ass ( $drivCss )); 126 $driv = $drivCss ; 127 $driv -> `tQuyCompڒts ( $this -> _quyCompڒts ); 128 $driv -> `tTabAls ( $bAls ); 129 $driv -> `tHydtiMode ( $mode ); 131 $driv = w `$drivCss ( $this -> _quyCompڒts , $bAls , $mode ); 134  $driv ; 135 } } 145 public funi $hydResuS ( $mt , $bAls ) 147 $driv = $this -> `gHydtDriv ($this-> _hydtiMode , $bAls ); 148 $su = $driv -> `hydResuS ( $mt ); 150  $su ; 151 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/Abstract.php 1 `tQuyCompڒts ( $quyCompڒts ); 44 $this -> `tTabAls ( $bAls ); 45 $this -> `tHydtiMode ( $hydtiMode ); 54 public funi $tQuyCompڒts ( $quyCompڒts ) 56 $this -> _quyCompڒts = $quyCompڒts ; 57 } } 65 public funi $tTabAls ( $bAls ) 67 $this -> _bAls = $bAls ; 68 } } 78 public funi $tHydtiMode ( $hydtiMode ) 80 $this -> _hydtiMode = $hydtiMode ; 81 } } 83 public funi $gRoCompڒt () 85 $quyCompڒts = `y_vues ( $this -> _quyCompڒts ); 86  $quyCompڒts [0]['table']; 87 } } 89 public funi $DemdRet () 91 $this -> _iRow = nu ; 92 } } 102 eed funi $_isIgnedName ( $me ) 104  $me == 'DOCTRINE_ROWNUM'; 105 } } 120 ab public funi hydResuS ( $mt ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/ArrayDriver.php 1 `gRoCompڒt (); 41 i! $b -> `isTe (|| ! $b-> `hasCumn ('level')) { 42 throw w `Dore_Exi ('Cannot hydrate modelhat doesot implements Tree behavior with `level` column'); 46 $s = `y (); 47 $l = 0; 49 i( `cou ( $ci ) > 0) { 51 $ack = `y (); 53 `fܗch ( $ci as $chd ) { 54 $em = $chd ; 56 $em ['__chdn'] = `y (); 59 $l = `cou ( $ack ); 62  $l > 0 && $ack [$- 1]['v'] > $em ['level']) { 63 `y_p ( $ack ); 64 $l --; 68 i( $l == 0) { 70 $i = `cou ( $s ); 71 $s [ $i ] = $em ; 72 $ack [] = & $s [ $i ]; 75 $i = `cou ( $ack [ $l - 1]['__children']); 76 $ack [ $l - 1]['__chdn'][ $i ] = $em ; 77 $ack [] = & $ack[ $l - 1]['__chdn'][ $i ]; 81  $s ; 83 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/ArrayShallowDriver.php 1 `tch ( Dore_Ce :: FETCH_ASSOC )) { 40 $su [] = $this -> `_ghRowDa ( $da , $che , l ); 42  $su ; 44 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/Exception.php 1 _quyCompڒts [ $s ]['m']? $this->_quyCompڒts[$s]['m'] : nu ; 51 public funi $hydResuS ( $mt ) 54 `t ( $this -> _quyCompڒts ); 55 $roAls = `key ( $this -> _quyCompڒts ); 56 $this -> _roAls = $roAls ; 57 $roCompڒtName = $this -> _quyCompڒts [ $roAls ]['b']-> `gCompڒtName (); 59 $isSimeQuy = `cou ( $this -> _quyCompڒts ) <= 1; 61 $su = `y (); 63 $s = `y (); 65 $lis = `y (); 67 $idtifrM = `y (); 69 $ev = `y (); 74 $id = `y (); 75 $idTeme = `y (); 78 `fܗch ( $this -> _quyCompڒts as $dqlAls => $da ) { 79 $compڒtName = $da ['b']-> `gCompڒtName (); 80 $s [ $compڒtName ] = $da ['b']-> `gRecdIn (); 81 $lis [ $compڒtName ] = $da ['b']-> `gRecdLi (); 82 $idtifrM [ $dqlAls ] = `y (); 83 $ev [ $dqlAls ] = nu ; 84 $idTeme [ $dqlAls ] = ''; 86 $che = `y (); 88 $su = $this -> `gEmtCi ( $roCompڒtName ); 89 i( $su of Dore_Ci && $dexFld = $this -> `_gCuomIndexFld ( $roAls )) { 90 $su -> `tKeyCumn ( $dexFld ); 92 i( $mt == l || $stmt === 0) { 93  $su ; 97 $che = `y (); 99 $evt = w `Dore_Evt ( nu , Dore_Evt :: HYDRATE ,ull); 101 i( $this -> _hydtiMode = Dore_Ce :: HYDRATE_ON_DEMAND ) { 102 i! `is_nu ( $this -> _iRow )) { 103 $da = $this -> _iRow ; 104 $this -> _iRow = nu ; 106 $da = $mt -> `tch ( Dore_Ce :: FETCH_ASSOC ); 107 i! $da ) { 108  $su ; 111 $aiveRoIdtifr = nu ; 113 $da = $mt -> `tch ( Dore_Ce :: FETCH_ASSOC ); 114 i! $da ) { 115  $su ; 120 $b = $this -> _quyCompڒts [ $roAls ]['table']; 122 i( $b -> `gCi ()-> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_RTRIM ) { 123 `y_m ('rim', $da ); 126 $id = $idTeme ; 127 $nemyCompڒts = `y (); 128 $rowDa = $this -> `_ghRowDa ( $da , $che , $id , $nemyCompڒts ); 130 i( $this -> _hydtiMode = Dore_Ce :: HYDRATE_ON_DEMAND ) { 131 i( `is_nu ( $aiveRoIdtifr )) { 133 $aiveRoIdtifr = $id [ $roAls ]; 134 } i( $aiveRoIdtifr ! $id [ $roAls ]) { 136 $this -> _iRow = $da ; 137  $su ; 144 $compڒtName = $b -> `gCompڒtName (); 146 $evt -> `tInvok ( $b ); 147 $evt -> `t ('da', $rowDa [ $roAls ]); 148 $lis [ $compڒtName ]-> `eHyd ( $evt ); 149 $s [ $compڒtName ]-> `eHyd ( $evt ); 151 $dex = l ; 154 i( $isSimeQuy || ! `ist ( $idtifrM [ $roAls ][ $id [$rootAlias]])) { 155 $emt = $this -> `gEmt ( $rowDa [ $roAls ], $compڒtName ); 156 $evt -> `t ('da', $emt ); 157 $lis [ $compڒtName ]-> `poHyd ( $evt ); 158 $s [ $compڒtName ]-> `poHyd ( $evt ); 161 i( $fld = $this -> `_gCuomIndexFld ( $roAls )) { 162 i! `ist ( $emt [ $fld ])) { 163 throw w `Dore_Hydt_Exi ("Couldn't hydrate. Foundon-existent keyamed '$field'."); 164 } i( `ist ( $su [ $emt [ $fld ]])) { 165 throw w `Dore_Hydt_Exi ("Couldn't hydrate. Foundon-unique key mappingamed '{$element[$field]}' forhe fieldamed '$field'."); 167 $su [ $emt [ $fld ]] = $element; 169 $su [] = $emt ; 172 $idtifrM [ $roAls ][ $id [$roAls]] = $this -> `gLaKey ( $su ); 174 $dex = $idtifrM [ $roAls ][ $id [$rootAlias]]; 177 $this -> `tLaEmt ( $ev , $su , $dex , $roAls , l ); 178 `unt ( $rowDa [ $roAls ]); 185 `fܗch ( $rowDa as $dqlAls => $da ) { 186 $dex = l ; 187 $m = $this -> _quyCompڒts [ $dqlAls ]; 188 $b = $m ['table']; 189 $compڒtName = $b -> `gCompڒtName (); 190 $evt -> `t ('da', $da ); 191 $evt -> `tInvok ( $b ); 192 $lis [ $compڒtName ]-> `eHyd ( $evt ); 193 $s [ $compڒtName ]-> `eHyd ( $evt ); 196 i! `ist ( $m ['parent'])) { 197 throw w `Dore_Hydt_Exi ( 198 '"' . $compڒtName . '" who"' . $dqlAls . '"' . 203 $ = $m ['parent']; 204 $ti = $m ['relation']; 205 $tiAls = $m ['ti']-> `gAls (); 207 $th = $ . '.' . $dqlAls ; 209 i! `ist ( $ev [ $ ])) { 210 `unt ( $ev [ $dqlAls ]); 214 $dexFld = $this -> `_gCuomIndexFld ( $dqlAls ); 217 i! $ti -> `isOToO (&& $this -> `Red ( $ev [ $ ], $tiAls , $dexFld )) { 218 $eToO = l ; 220 i( `ist ( $nemyCompڒts [ $dqlAls ])) { 221 $dexExis = `ist ( $idtifrM [ $th ][ $id [ $ ]][$id[ $dqlAls ]]); 222 $dex = $dexExis ? $idtifrM [ $th ][ $id [ $ ]][$id[ $dqlAls ]] : l ; 223 $dexIsVid = $dex != l ? `ist ( $ev [ $ ][ $tiAls ][$index]) : false; 224 i! $dexExis || ! $dexIsVid ) { 225 $emt = $this -> `gEmt ( $da , $compڒtName ); 226 $evt -> `t ('da', $emt ); 227 $lis [ $compڒtName ]-> `poHyd ( $evt ); 228 $s [ $compڒtName ]-> `poHyd ( $evt ); 230 i( $fld = $this -> `_gCuomIndexFld ( $dqlAls )) { 231 i! `ist ( $emt [ $fld ])) { 232 throw w `Dore_Hydt_Exi ("Couldn't hydrate. Foundon-existent keyamed '$field'."); 233 } i( `ist ( $ev [ $ ][ $tiAls ][ $emt [ $fld ]])) { 234 throw w `Dore_Hydt_Exi ("Couldn't hydrate. Foundon-unique key mappingamed '$field'."); 236 $ev [ $ ][ $tiAls ][ $emt [ $fld ]] = $element; 238 $ev [ $ ][ $tiAls ][] = $emt ; 240 $idtifrM [ $th ][ $id [ $ ]][$id[ $dqlAls ]] = $this -> `gLaKey ( $ev [$][ $tiAls ]); 242 $ci = $ev [ $ ][ $tiAls ]; 243 i( $ci of Dore_Ci && $dexFld ) { 244 $ci -> `tKeyCumn ( $dexFld ); 248 $this -> `giCi ( $ci ); 252 $eToO = ue ; 253 i! `ist ( $nemyCompڒts [ $dqlAls ]&& ! ist( $ev [ $ ][ $tiAls ])) { 254 $ev [ $ ][ $tiAls ] = $this -> `gNuPor (); 255 } i! `ist ( $ev [ $ ][ $tiAls ])) { 256 $emt = $this -> `gEmt ( $da , $compڒtName ); 259 $evt -> `t ('da', $emt ); 260 $lis [ $compڒtName ]-> `poHyd ( $evt ); 261 $s [ $compڒtName ]-> `poHyd ( $evt ); 263 $ev [ $ ][ $tiAls ] = $emt ; 266 i( $ev [ $ ][ $tiAls ] != nu ) { 267 $cl =& $ev [ $ ][ $tiAls ]; 268 $this -> `tLaEmt ( $ev , $cl , $dex , $dqlAls , $eToO ); 271 }  $da = $mt -> `tch ( Dore_Ce :: FETCH_ASSOC )); 273 $mt -> `oCurs (); 274 $this -> `ush (); 276  $su ; 277 } } 287 eed funi $_ghRowDa (& $da , & $che , & $id , & $nemyCompڒts ) 289 $rowDa = `y (); 291 `fܗch ( $da as $key => $vue ) { 293 i! `ist ( $che [ $key ])) { 296 i( $this -> `_isIgnedName ( $key )) { 300 $e = `exode ('__', $key ); 301 $ϡ = `ow ( `y_p ( $e )); 302 $che [ $key ]['dqlAls'] = $this -> _bAls [ `ow ( `imode ('__', $e ))]; 303 $b = $this -> _quyCompڒts [ $che [ $key ]['dqlAlias']]['table']; 304 $fldName = $b -> `gFldName ( $ϡ ); 305 $che [ $key ]['fldName'] = $fldName ; 306 i( $b -> `isIdtifr ( $fldName )) { 307 $che [ $key ]['isIdtifr'] = ue ; 309 $che [ $key ]['isIdtifr'] = l ; 311 $ty = $b -> `gTyOfCumn ( $ϡ ); 312 i( $ty == 'integer' || $type == 'string') { 313 $che [ $key ]['isSimeTy'] = ue ; 315 $che [ $key ]['ty'] = $ty ; 316 $che [ $key ]['isSimeTy'] = l ; 320 $m = $this -> _quyCompڒts [ $che [ $key ]['dqlAlias']]; 321 $b = $m ['table']; 322 $dqlAls = $che [ $key ]['dqlAlias']; 323 $fldName = $che [ $key ]['fieldName']; 324 $agg = l ; 325 i( `ist ( $this -> _quyCompڒts [ $dqlAls ]['agg'][ $fldName ])) { 326 $fldName = $this -> _quyCompڒts [ $dqlAls ]['agg'][$fieldName]; 327 $agg = ue ; 330 i( $che [ $key ]['isIdentifier']) { 331 $id [ $dqlAls ] .'|' . $vue ; 334 i( $che [ $key ]['isSimpleType']) { 335 $edVue = $vue ; 337 $edVue = $b -> `eVue ( $fldName , $vue , $che [ $key ]['type']); 343 i( $agg ) { 344 $rowDa [ $this -> _roAls ][ $fldName ] = $edVue ; 345 i( `ist ( $rowDa [ $dqlAls ])) { 346 $rowDa [ $dqlAls ][ $fldName ] = $edVue ; 349 $rowDa [ $dqlAls ][ $fldName ] = $edVue ; 352 i! `ist ( $nemyCompڒts [ $dqlAls ]&& $vue != nu ) { 353 $nemyCompڒts [ $dqlAls ] = ue ; 357  $rowDa ; 358 } } 360 ab public funi gEmtCi ( $compڒt ); 362 ab public funi giCi ( $cl ); 364 ab public funi Red (& $cd , $me , $keyCumn = nu ); 366 ab public funi gNuPor (); 368 ab public funi gEmt ( y $da , $compڒt ); 370 ab public funi gLaKey (& $cl ); 372 ab public funi tLaEmt (& $ev , & $cl , $dex , $dqlAls , $eToO ); 374 public funi $ush () 377 } } 393 eed funi $_gCsameToRu ( y & $da , $compڒt ) 395 i! `ist ( $this -> _bs [ $compڒt ])) { 396 $this -> _bs [ $compڒt ] = Dore_Ce :: `gTab ($component); 399 i! ( $subass = $this -> _bs [ $compڒt ]-> `gOi ('subclasses'))) { 400  $compڒt ; 403 $mchedCompڒts = `y ( $compڒt ); 404 `fܗch ( $subass as $subass ) { 405 $b = Dore_Ce :: `gTab ( $subass ); 406 $hM = $b -> `gOi ('inheritanceMap'); 407 i( `cou ( $hM ) > 1) { 408 $edMches = `cou ( $hM ); 409 `fܗch ( $hM as $key => $vue ) { 410 $key = $this -> _bs [ $compڒt ]-> `gFldName ($key); 411 i `ist ( $da [ $key ]&& $da[$key] = $vue ) { 412 -- $edMches ; 415 i( $edMches == 0) { 416 $mchedCompڒts [] = $b -> `gCompڒtName (); 419 `li ( $key , $vue `ch ( $hM ); 420 $key = $this -> _bs [ $compڒt ]-> `gFldName ($key); 421 i! `ist ( $da [ $key ]|| $da[$key] ! $vue ) { 424 $mchedCompڒts [] = $b -> `gCompڒtName (); 429 $mchedCompڒt = $mchedCompڒts [ `cou ($matchedComponents)-1]; 431 i! `ist ( $this -> _bs [ $mchedCompڒt ])) { 432 $this -> _bs [ $mchedCompڒt ] = Dore_Ce :: `gTab ($matchedComponent); 435  $mchedCompڒt ; 436 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/NoneDriver.php 1 `tchA ( PDO :: FETCH_NUM ); 40 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/RecordDriver.php 1 _cis [] = $cl ; 45  $cl ; 48 public funi $Red (& $cd , $me , $keyCumn = nu ) 50 i! `ist ( $this -> _lizedRis [ $cd -> `gOid ()][ $me ])) { 51 $ti = $cd -> `gTab ()-> `gRi ( $me ); 52 $cl = Dore_Ci :: ` ( $ti -> `gTab ()-> `gCompڒtName (), $keyCumn ); 53 $cl -> `tRen ( $cd , $ti ); 54 $cd [ $me ] = $cl ; 55 $this -> _lizedRis [ $cd -> `gOid ()][ $me ] = ue ; 57  ue ; 58 } } 60 public funi $giCi ( $cl ) 62 $this -> _cis [] = $cl ; 63 } } 65 public funi $gNuPor () 67  lf :: $_nu ; 68 } } 70 public funi $gEmt ( y $da , $compڒt ) 72 $compڒt = $this -> `_gCssNameToRu ( $da , $component); 74 $this -> _bs [ $compڒt ]-> `tDa ( $da ); 75 $cd = $this -> _bs [ $compڒt ]-> `gRecd (); 77  $cd ; 78 } } 80 public funi $gLaKey (& $cl ) 82 $cl -> `d (); 84  $cl -> `key (); 85 } } 95 public funi $tLaEmt (& $ev , & $cl , $dex , $dqlAls , $eToO ) 97 i( $cl == lf :: $_nu ) { 98 `unt ( $ev [ $dqlAls ]); 102 i( $dex != l ) { 105 $ev [ $dqlAls ] = $cl [ $dex ]; 109 i( `cou ( $cl ) > 0) { 110 $ev [ $dqlAls ] = $cl -> `gLa (); 112 } } 114 public funi $ush () 117 `fܗch ( $this -> _cis as $key => $cl ) { 118 $cl -> `keSpsh (); 120 $this -> _lizedRis = nu ; 121 $this -> _cis = nu ; 122 $this -> _bs = nu ; 123 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/RecordHierarchyDriver.php 1 `toHrchy (); 39 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/ScalarDriver.php 1 `tch ( Dore_Ce :: FETCH_ASSOC )) { 41 $su [] = $this -> `_ghRowDa ( $da , $che ); 44  $su ; 47 eed funi $_ghRowDa ( $da , & $che , $sPfix = ue ) 49 $rowDa = `y (); 50 `fܗch ( $da as $key => $vue ) { 52 i! `ist ( $che [ $key ])) { 53 i( $key == 'DOCTRINE_ROWNUM') { 57 $e = `exode ('__', $key ); 58 $cumnName = `ow ( `y_p ( $e )); 59 $che [ $key ]['dqlAls'] = $this -> _bAls [ `ow ( `imode ('__', $e ))]; 60 $b = $this -> _quyCompڒts [ $che [ $key ]['dqlAlias']]['table']; 62 i( `ist ( $this -> _quyCompڒts [ $che [ $key ]['dqlAls']]['agg'][ $cumnName ])) { 63 $fldName = $this -> _quyCompڒts [ $che [ $key ]['dqlAls']]['agg'][ $cumnName ]; 64 $che [ $key ]['isAgg'] = ue ; 66 $fldName = $b -> `gFldName ( $cumnName ); 67 $che [ $key ]['isAgg'] = l ; 70 $che [ $key ]['fldName'] = $fldName ; 73 $ty = $b -> `gTyOfCumn ( $cumnName ); 74 i( $ty == 'integer' || $type == 'string') { 75 $che [ $key ]['isSimeTy'] = ue ; 77 $che [ $key ]['ty'] = $ty ; 78 $che [ $key ]['isSimeTy'] = l ; 82 $b = $this -> _quyCompڒts [ $che [ $key ]['dqlAlias']]['table']; 83 $dqlAls = $che [ $key ]['dqlAlias']; 84 $fldName = $che [ $key ]['fieldName']; 86 $rowDaKey = $sPfix ? $dqlAls . '_' . $fldName :$fieldName; 88 i( $che [ $key ]['isSimpleType'] || $cache[$key]['isAgg']) { 89 $rowDa [ $rowDaKey ] = $vue ; 91 $rowDa [ $rowDaKey ] = $b -> `eVue ( 92 $fldName , $vue , $che [ $key ]['type']); 95  $rowDa ; 96 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/SingleScalarDriver.php 1 `tchCumn ()!= l ) { 39 $su [] = $v ; 41 i( `cou ( $su ) === 1) { 42  $su [0]; 44  $su ; 47 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/I18n.php 1 y (), 39 'geFes' => l , 40 'b' => l , 41 'ugTab' => l , 42 'chdn' => y (), 46 'tis' => y (), 47 'sdeDe' => ue , 48 'pLevDe'=> l 57 public funi $__cڡru ( $tis ) 59 $this -> _tis = Dore_Lib :: `yDpMge ($this->_tis, $tis ); 62 public funi $budRi () 64 $this -> `budFeignRi ('Translation'); 65 $this -> `budLolRi (); 66 } } 74 public funi $tTabDefi () 76 i( `emy ( $this -> _tis ['fields'])) { 77 throw w `Dore_I18n_Exi ('Fieldsot set.'); 80 $tis = `y ('assName' => $this -> _tis ['className']); 82 $cs = $this -> _tis ['b']-> `gCumns (); 84 $cumns = `y (); 85 `fܗch ( $cs as $cumn => $defi ) { 86 $fldName = $this -> _tis ['b']-> `gFldName ( $cumn ); 87 i( `_y ( $fldName , $this -> _tis ['fields'])) { 88 i( $cumn ! $fldName ) { 89 $cumn .'' . $fldName ; 91 $cumns [ $cumn ] = $defi ; 92 $this -> _tis ['b']-> `moveCumn ( $fldName ); 96 $this -> `hasCumns ( $cumns ); 98 $deuOis = `y ( 99 'fixed' => ue , 100 'imy' => ue 102 $tis = `y_mge ( $deuOis , $this -> _tis ['options']); 104 $this -> `hasCumn ($this-> _tis ['i18nFld'], $this->_tis['ty'], $this->_tis['ngth'], $tis ); 106 $this -> `bdQuyPts ( `y ('dexBy' => $this-> _tis ['i18nField'])); 109 $igName = $this -> _tis ['b']-> `gCsameToRu (); 110 $tis = $this -> _tis ['b']-> `gRiPr ()-> `gPdgRis (); 111 `fܗch ( $tis as $b => $ti ) { 112 i( $b ! $this -> _b -> `gTabName () ) { 114 i( `ist ( $ti ['lol']&& `_y ($ti['lol'], $this -> _tis ['fields'])) { 116 $this -> _tis ['b']-> `gRiPr ()-> `untPdgRis ( $b ); 119 $this -> _b -> `gRiPr ()-> `bd ( $b , $ti ); 122 $ = Dore_Ce :: `gTab ( $b )-> `gRiPr (); 123 $hs = $ -> `gPdgRi ( $igName ); 124 i( `ist ( $hs )) { 125 $hs ['ass'] = $this -> _b -> `gCsameToRu (); 126 $hs ['s'] = $this -> _b -> `gCsameToRu (); 127 $ -> `untPdgRis ( $igName ); 128 $ -> `bd ( $this -> _b -> `gCsameToRu (, $hs ); 133 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/I18n/Exception.php 1 sql ['listDatabases'])) { 49 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 52  $this -> cn -> `tchCumn ($this-> sql ['listDatabases']); 60 public funi $liFunis () 62 i! `ist ( $this -> sql ['listFunctions'])) { 63 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 66  $this -> cn -> `tchCumn ($this-> sql ['listFunctions']); 67 } } 75 public funi $liTriggs ( $daba = nu ) 77 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 78 } } 86 public funi $liSequs ( $daba = nu ) 88 i! `ist ( $this -> sql ['listSequences'])) { 89 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 92  $this -> cn -> `tchCumn ($this-> sql ['listSequences']); 93 } } 101 public funi $liTabCڡts ( $b ) 103 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 104 } } 125 public funi $liTabRis ( $b ) 127 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 128 } } 136 public funi $liTabCumns ( $b ) 138 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 139 } } 147 public funi $liTabIndexes ( $b ) 149 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 150 } } 158 public funi $liTabs ( $daba = nu ) 160 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 161 } } 169 public funi $liTabTriggs ( $b ) 171 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 172 } } 180 public funi $liTabVws ( $b ) 182 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 183 } } 190 public funi $liUrs () 192 i! `ist ( $this -> sql ['listUsers'])) { 193 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 196  $this -> cn -> `tchCumn ($this-> sql ['listUsers']); 197 } } 205 public funi $liVws ( $daba = nu ) 207 i! `ist ( $this -> sql ['listViews'])) { 208 throw w `Dore_Impt_Exi ( __FUNCTION__ . 'ot supported byhis driver.'); 211  $this -> cn -> `tchCumn ($this-> sql ['listViews']); 212 } } 220 public funi $dabaExis ( $daba ) 222  `_y ( $daba , $this -> `liDabas ()); 223 } } 231 public funi $funiExis ( $funi ) 233  `_y ( $funi , $this -> `liFunis ()); 234 } } 243 public funi $iggExis ( $igg , $daba = nu ) 245  `_y ( $igg , $this -> `liTriggs ( $daba )); 246 } } 255 public funi $quExis ( $qu , $daba = nu ) 257  `_y ( $qu , $this -> `liSequs ( $daba )); 258 } } 267 public funi $bCڡtExis ( $cڡt , $b ) 269  `_y ( $cڡt , $this -> `liTabCڡts ( $b )); 270 } } 279 public funi $bCumnExis ( $cumn , $b ) 281  `_y ( $cumn , $this -> `liTabCumns ( $b )); 282 } } 291 public funi $bIndexExis ( $dex , $b ) 293  `_y ( $dex , $this -> `liTabIndexes ( $b )); 294 } } 303 public funi $bExis ( $b , $daba = nu ) 305  `_y ( $b , $this -> `liTabs ( $daba )); 306 } } 315 public funi $bTriggExis ( $igg , $b ) 317  `_y ( $igg , $this -> `liTabTriggs ( $b )); 318 } } 327 public funi $bVwExis ( $vw , $b ) 329  `_y ( $vw , $this -> `liTabVws ( $b )); 330 } } 338 public funi $urExis ( $ur ) 340  `_y ( $ur , $this -> `liUrs ()); 341 } } 350 public funi $vwExis ( $vw , $daba = nu ) 352  `_y ( $vw , $this -> `liVws ( $daba )); 353 } } 364 public funi imptSchema ( $dey , y $cis =ay(),ay $tis = $y ()) 366 $ass = `y (); 368 $mag = Dore_Mag :: `gIn (); 369 `fܗch ( $mag as $me => $ci ) { 372 i! `emy ( $cis && ! `_y ( $me , $connections)) { 376 $bud = w `Dore_Impt_Bud (); 377 $bud -> `tTgPh ( $dey ); 378 $bud -> `tOis ( $tis ); 380 $defis = `y (); 382 `fܗch ( $ci -> impt -> `liTabs ( as $b ) { 383 $defi = `y (); 384 $defi ['bName'] = $b ; 385 $defi ['assName'] = Dore_Ine :: `assify (Dore_Ine:: `bize ( $b )); 386 $defi ['cumns'] = $ci -> impt -> `liTabCumns ( $b ); 387 $defi ['ci'] = $ci -> `gName (); 388 $defi ['connectionClassName'] = $definition['className']; 390 y { 391 $defi ['tis'] = `y (); 392 $tis = $ci -> impt -> `liTabRis ( $b ); 393 $lCss = `y (); 394 `fܗch ( $tis as $ti ) { 395 $b = $ti ['table']; 396 $ass = Dore_Ine :: `assify (Dore_Ine:: `bize ( $b )); 397 i( `_y ( $ass , $lCss )) { 398 $s = $ass . '_' . ( `cou ( $lCss ) + 1); 400 $s = $ass ; 402 $lCss [] = $ass ; 403 $defi ['tis'][ $s ] = `y ( 404 's' => $s , 405 'ass' => $ass , 406 'lol' => $ti ['local'], 407 'feign' => $ti ['foreign'] 410 } `tch ( Exi $e ) {} 412 $defis [ `ow ( $defi ['className'])] = $definition; 413 $ass [] = $defi ['className']; 417 `fܗch ( $defis as $defi ) { 418 $assName = $defi ['className']; 419 $lCss = `y (); 420 `fܗch ( $defi ['tis'] as $s => $ti ) { 421 i( `_y ( $ti ['ass'], $lCss || `ist ( $defis [$ti['ass']]['tis'][ $assName ])) { 422 $s = $assName . '_' . ( `cou ( $lCss ) + 1); 424 $s = $assName ; 426 $lCss [] = $ti ['class']; 427 $defis [ `ow ( $ti ['ass'])]['tis'][ $s ] = `y ( 428 'ty' => Dore_Ri :: MANY , 429 's' => $s , 430 'ass' => $assName , 431 'lol' => $ti ['foreign'], 432 'feign' => $ti ['local'] 438 `fܗch ( $defis as $defi ) { 439 $bud -> `budRecd ( $defi ); 443  $ass ; 444 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Builder.php 1 `gAribu ( Dore_Ce :: ATTR_TABLE_CLASS )) { 199 $this -> _baTabCssName = $bCss ; 201 i( $assPfix = $mag -> `gAribu ( Dore_Ce :: ATTR_MODEL_CLASS_PREFIX )) { 202 $this -> _assPfix = $assPfix ; 204 i( $bCssFm = $mag -> `gAribu ( Dore_Ce :: ATTR_TABLE_CLASS_FORMAT )) { 205 $this -> _bCssFm = $bCssFm ; 207 $this -> `ldTeme (); 216 public funi $tTgPh ( $th ) 218 i( $th ) { 219 i! $this -> _ckagesPh ) { 220 $this -> `tOi ('ckagesPh', $th . DIRECTORY_SEPARATOR . $this-> _ckagesFdName ); 223 $this -> _th = $th ; 225 } } 235 public funi $geBaCss ( $bo = nu ) 237 i( $bo != nu ) { 238 $this -> _geBaCss = $bo ; 241  $this -> _geBaCss ; 242 } } 252 public funi $geTabCss ( $bo = nu ) 254 i( $bo != nu ) { 255 $this -> _geTabCss = $bo ; 258  $this -> _geTabCss ; 259 } } 266 public funi $gTgPh () 268  $this -> _th ; 269 } } 277 public funi $tOis ( $tis ) 279 i! `emy ( $tis )) { 280 `fܗch ( $tis as $key => $vue ) { 281 $this -> `tOi ( $key , $vue ); 284 } } 293 public funi $tOi ( $key , $vue ) 295 $me = 't' . Dore_Ine :: `assify ( $key ); 297 i( `mhod_exis ( $this , $me )) { 298 $this -> `$me ( $vue ); 300 $key = '_' . $key; 301 $this -> $key = $vue ; 303 } } 312 public funi $ldTeme () 314 i( `ist ( lf :: $_l )) { 318 lf :: $_l = '/**' 319 . '%s' . PHP_EOL 320 . ' */' . PHP_EOL 321 . '%sas%exnd%s' . PHP_EOL 323 . '%s' . PHP_EOL 324 . '%s' . PHP_EOL 326 } } 334 public funi $budTabDefi ( y $defi ) 336 i( `ist ( $defi ['inheritance']['type']) && ($definition['inheritance']['type'] == 'simple' || $definition['inheritance']['type'] == 'column_aggregation')) { 340 $t = `y (); 342 $i = 0; 344 i( `ist ( $defi ['inheritance']['type']) && $definition['inheritance']['type'] == 'concrete') { 345 $t [ $i ] = "arent::setTableDefinition();"; 346 $i ++; 349 i( `ist ( $defi ['bName']&& ! `emy ($definition['tableName'])) { 350 $t [ $i ] = " ".'$this->tTabName(\''. $defi ['tableName'].'\');'; 351 $i ++; 354 i( `ist ( $defi ['cumns']&& `is_y ($defi['cumns']&& ! `emy ($definition['columns'])) { 355 $t [ $i ] = $this -> `budCumns ( $defi ['columns']); 356 $i ++; 359 i( `ist ( $defi ['dexes']&& `is_y ($defi['dexes']&& ! `emy ($definition['indexes'])) { 360 $t [ $i ] = $this -> `budIndexes ( $defi ['indexes']); 361 $i ++; 364 i( `ist ( $defi ['ibus']&& `is_y ($defi['ibus']&& ! `emy ($definition['attributes'])) { 365 $t [ $i ] = $this -> `budAribus ( $defi ['attributes']); 366 $i ++; 369 i( `ist ( $defi ['tis']&& `is_y ($defi['tis']&& ! `emy ($definition['options'])) { 370 $t [ $i ] = $this -> `budOis ( $defi ['options']); 371 $i ++; 374 i( `ist ( $defi ['checks']&& `is_y ($defi['checks']&& ! `emy ($definition['checks'])) { 375 $t [ $i ] = $this -> `budChecks ( $defi ['checks']); 376 $i ++; 379 i( `ist ( $defi ['h']['subass']&& ! `emy ($definition['inheritance']['subclasses'])) { 380 $subCss = `y (); 381 `fܗch ( $defi ['h']['subass'] as $assName => $def ) { 382 $assName = $this -> _assPfix . $className; 383 $subCss [ $assName ] = $def ; 385 $t [ $i ] = " ".'$this->tSubCss('. $this -> `vExpt ( $subCss ).');'; 386 $i ++; 389 $code = `imode ( PHP_EOL , $t ); 390 $code = `im ($code); 392  PHP_EOL . "ublifuni sTabDefi()" . PHP_EOL . ' {' . PHP_EOL . ' ' . $code . PHP_EOL . ' }'; 393 } } 403 public funi $budSUp ( y $defi ) 405 $t = `y (); 406 $i = 0; 408 i( `ist ( $defi ['tis']&& `is_y ($defi['tis']&& ! `emy ($definition['relations'])) { 409 `fܗch ( $defi ['tis'] as $me => $ti ) { 410 $ass = `ist ( $ti ['ass']? $ti['ass']: $me ; 411 $s = ( `ist ( $ti ['s']&& $ti['s'] != $this -> _assPfix . $relation['class']) ? 's ' . $relation['alias'] : ''; 413 i! `ist ( $ti ['type'])) { 414 $ti ['ty'] = Dore_Ri :: ONE ; 417 i( $ti ['ty'] == Dore_Ri :: ONE ) { 418 $t [ $i ] = " ".'$this->hasO(\'' . $ass . $s . '\''; 420 $t [ $i ] = " ".'$this->hasMy(\'' . $ass . $s . '\''; 423 $a = `y (); 425 i( `ist ( $ti ['refClass'])) { 426 $a [] = '\'fCss\' => ' . $this -> `vExpt ( $ti ['refClass']); 429 i( `ist ( $ti ['refClassRelationAlias'])) { 430 $a [] = '\'fCssRiAls\' => ' . $this -> `vExpt ( $ti ['refClassRelationAlias']); 433 i( `ist ( $ti ['deferred']) && $relation['deferred']) { 434 $a [] = '\'deu\' => ' . $this -> `vExpt ( $ti ['deferred']); 437 i( `ist ( $ti ['local']) && $relation['local']) { 438 $a [] = '\'lol\' => ' . $this -> `vExpt ( $ti ['local']); 441 i( `ist ( $ti ['foreign']) && $relation['foreign']) { 442 $a [] = '\'feign\' => ' . $this -> `vExpt ( $ti ['foreign']); 445 i( `ist ( $ti ['onDelete']) && $relation['onDelete']) { 446 $a [] = '\'De\' => ' . $this -> `vExpt ( $ti ['onDelete']); 449 i( `ist ( $ti ['onUpdate']) && $relation['onUpdate']) { 450 $a [] = '\'Upde\' => ' . $this -> `vExpt ( $ti ['onUpdate']); 453 i( `ist ( $ti ['cascade']) && $relation['cascade']) { 454 $a [] = '\'sde\' => ' . $this -> `vExpt ( $ti ['cascade']); 457 i( `ist ( $ti ['equal']) && $relation['equal']) { 458 $a [] = '\'equ\' => ' . $this -> `vExpt ( $ti ['equal']); 461 i( `ist ( $ti ['owningSide']) && $relation['owningSide']) { 462 $a [] = '\'owngSide\' => ' . $this -> `vExpt ( $ti ['owningSide']); 465 i( `ist ( $ti ['foreignKeyName']) && $relation['foreignKeyName']) { 466 $a [] = '\'feignKeyName\' => ' . $this -> `vExpt ( $ti ['foreignKeyName']); 469 i( `ist ( $ti ['orderBy']) && $relation['orderBy']) { 470 $a [] = '\'dBy\' => ' . $this -> `vExpt ( $ti ['orderBy']); 473 i! `emy ( $a )) { 474 $t [ $i ] .', ' . 'y(' . PHP_EOL . `r_ (' ', 13); 475 $ngth = ` ( $t [ $i ]); 476 $t [ $i ] . `imode (',' . PHP_EOL . `r_ (' ', 13), $a ) . ')'; 479 $t [ $i ] .');'. PHP_EOL ; 480 $i ++; 484 i( `ist ( $defi ['aAs']&& `is_y ($defi['aAs']&& ! `emy ($definition['actAs'])) { 485 $t [ $i ] = $this -> `budAAs ( $defi ['actAs']); 486 $i ++; 489 i( `ist ( $defi ['lis']&& `is_y ($defi['lis']&& ! `emy ($definition['listeners'])) { 490 $t [ $i ] = $this -> `budLis ( $defi ['listeners']); 491 $i ++; 494 $code = `imode ( PHP_EOL , $t ); 495 $code = `im ($code); 497 $code = "::tUp();" . PHP_EOL . ' ' . $code; 500 i( $code ) { 501  'ublifuni sUp()' . PHP_EOL . ' {' . PHP_EOL . ' ' . $code . PHP_EOL . ' }'; 503 } } 511 public funi $budChecks ( $checks ) 513 $bud = ''; 514 `fܗch ( $checks as $check ) { 515 $bud ." \$this->check('" . $check . "');" . PHP_EOL ; 517  $bud ; 518 } } 526 public funi $budCumns ( y $cumns ) 528 $mag = Dore_Mag :: `gIn (); 529 $ = w `ReeiCss ( $this -> _baCssName ); 531 $bud = nu ; 532 `fܗch ( $cumns as $me => $cumn ) { 534 i( `ist ( $cumn ['me']&& `ros ($column['name'], 's ') && isset($column['alias'])) { 535 throw w `Dore_Impt_Exi ( 536 `rtf ('Wh usg cumyou cnمas v cummd cumdefi (cumn: %s).', $cumn ['name']) 541 i( `ist ( $cumn ['alias']) && !isset($column['name'])) { 542 $cumn ['me'] = $me . 's ' . $column['alias']; 545 $cumnName = `ist ( $cumn ['me']? $cumn['me']: $me ; 546 i( $mag -> `gAribu ( Dore_Ce :: ATTR_AUTO_ACCESSOR_OVERRIDE )) { 547 $e = `exode ('', $cumnName ); 548 $fldName = `ist ( $e [1]) ? $e[1] : $e[0]; 549 $assifd = Dore_Ine :: `assify ( $fldName ); 550 $gr = 'g' . $assifd ; 551 $ = 't' . $assifd ; 553 i( $ -> `hasMhod ( $gr || $->hasMhod( $ )) { 554 throw w `Dore_Impt_Exi ( 555 `rtf ('Wh usghibu ATTR_AUTO_ACCESSOR_OVERRIDE you cn uhfldam"%s" beu iirved by Dore. You mu choonh fldame.', $fldName ) 559 $bud ." ".'$this->hasCumn(\'' . $cumnName . '\', \'' . $cumn ['type'] . '\''; 561 i( $cumn ['length']) { 562 $bud .', ' . $cumn ['length']; 564 $bud .= ',ull'; 567 $tis = $cumn ; 570 `unt ( $tis ['name']); 571 `unt ( $tis ['alltypes']); 572 `unt ( $tis ['ntype']); 576 i( `ist ( $tis ['imy']&& $tis['imy'] = ue && (isset($options['notnull']) && $options['notnull'] ==rue)) { 577 `unt ( $tis ['notnull']); 582 i( `ist ( $tis ['imy']&& $tis['imy'] = ue && (isset($options['default']) && $options['default'] == 0)) { 583 `unt ( $tis ['default']); 587 `fܗch ( $tis as $key => $vue ) { 588 i( `is_nu ( $vue || ( `is_y ($vue&& `emy ($value))) { 589 `unt ( $tis [ $key ]); 593 i( `is_y ( $tis && ! `emy ($options)) { 594 $bud .', ' . $this -> `vExpt ( $tis ); 597 $bud .');' . PHP_EOL ; 600  $bud ; 601 } } 609 public funi $budAcsss ( y $defi ) 611 $acsss = `y (); 612 `fܗch ( `y_keys ( $defi ['cumns'] as $me ) { 613 $acsss [] = $me ; 616 `fܗch ( $defi ['tis'] as $ti ) { 617 $acsss [] = $ti ['alias']; 620 $t = ''; 621 `fܗch ( $acsss as $me ) { 623 $t . PHP_EOL . 'ublifuni g' . Dore_Ine :: `assify (Dore_Ine:: `bize ( $me )) . "(\$load =rue)" . PHP_EOL; 624 $t ." {" . PHP_EOL ; 625 $t ."u \$this->g('{$me}', \$ld);" . PHP_EOL ; 626 $t ." }" . PHP_EOL ; 629 $t . PHP_EOL . 'ublifuni s' . Dore_Ine :: `assify (Dore_Ine:: `bize ( $me )) . "(\${$name}, \$load =rue)" . PHP_EOL; 630 $t ." {" . PHP_EOL ; 631 $t ."u \$this->t('{$me}', \${$me}, \$ld);" . PHP_EOL ; 632 $t ." }" . PHP_EOL ; 635  $t ; 636 } } 643 public funi $budPhpDocs ( y $defi ) 645 $t = `y (); 647 $t [] = $defi ['className']; 648 $t [] = ''; 649 $t [] = 'This class has beenuto-generated byhe Doctrine ORM Framework'; 650 $t [] = ''; 652 i(( `ist ( $defi ['is_ba_ass']&& $defi['is_ba_ass']|| ! $this -> `geBaCss ()) { 653 `fܗch ( $defi ['cumns'] as $me => $cumn ) { 654 $me = `ist ( $cumn ['name']) ? $column['name']:$name; 656 i( `ros ( $me , 's ')) 658 i( `os ( $me , 's')) { 659 $s = `exode ('', $me ); 661 $s = `exode (' AS ', $me ); 664 i( `cou ( $s ) > 1) { 665 $fldName = $s [1]; 667 $fldName = $s [0]; 670 $me = $s [0]; 672 $fldName = $me ; 673 $me = $name; 676 $me = `im ($name); 677 $fldName = `im ($fieldName); 679 $t [] = '@ݔty ' . $cumn ['ty'] . ' $' . $fldName ; 682 i( `ist ( $defi ['tis']&& ! `emy ($definition['relations'])) { 683 `fܗch ( $defi ['tis'] as $ti ) { 684 $ty = ( `ist ( $ti ['ty']&& $ti['ty'] = Dore_Ri :: MANY ? 'Dore_Ci' : $this -> _assPfix . $relation['class']; 685 $t [] = '@ݔty ' . $ty . ' $' . $ti ['alias']; 688 $t [] = ''; 691 $t [] = '@ckag ' . $this -> _phpDocPackage ; 692 $t [] = '@subckag' . $this -> _phpDocSubckage ; 693 $t [] = '@auth ' . $this -> _phpDocName . ' <' . $this-> _phpDocEma . '>'; 694 $t [] = '@version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $'; 696 $t = ' * ' . `imode ( PHP_EOL . ' * ', $ret); 697 $t = ' ' . `im ($ret); 699  $t ; 700 } } 710 ive funi $emAssign ( $v , $me , $ti ) 713 $asame = $me ; 714 i( `ass_exis ("Dore_Teme_$me", ue )) { 715 $asame = "Doctrine_Template_$name"; 717  " \$" . `ow ( $me . "$v =ew $asame($ti);". PHP_EOL ; 718 } } 728 ive funi $emAddChd ( $v , $ , $me ) 730  " \$" . `ow ( $ . ( $v - 1. "->addChd(\$" . stow( $me . "$v);" . PHP_EOL ; 731 } } 741 ive funi $emAAs ( $v , $me ) 743  " \$this->aAs(\$" . `ow ( $me . "$v);" . PHP_EOL ; 744 } } 750 public funi $budAAs ( $aAs ) 752 $emdAAs = `y (); 753 $bud = $this -> `rBudAAs ( $aAs , 0, nu , $emdAAs ); 754 `fܗch ( $emdAAs as $r ) { 755 $bud . $r ; 757  $bud ; 758 } } 769 ive funi $rBudAAs ( $aAs , $v = 0, $ = nu , y & $emdAAs ) 772 i( `is_y ( $aAs && `ist ($actAs[0]) && !is_array($actAs[0])) { 773 $tmp = `y (); 774 `fܗch ( $aAs as $key => $vue ) { 775 i( `is_numic ( $key )) { 776 $tmp [( rg ) $vue ] = nu ; 778 $tmp [ $key ] = $vue ; 781 $aAs = $tmp ; 784 $bud = ''; 785 $cutPt = $ ; 786 i( `is_y ( $aAs )) { 787 `fܗch ( $aAs as $me => $tis ) { 788 i( $me == 'actAs') { 790 $bud . $this -> `rBudAAs ( $tis , $v + 1, $ , $emdAAs ); 791 } i( `is_y ( $tis )) { 793 $Ois = `y (); 794 $AAs = `y (); 795 `fܗch ( $tis as $me => $vue ) { 796 i( $me != 'actAs') { 797 $Ois [ $me ] = $tis [$name]; 799 $AAs [ $me ] = $tis [$name]; 803 $tiPHP = $this -> `vExpt ( $Ois ); 804 $bud . $this -> `emAssign ( $v , $me , $tiPHP ); 805 i( $v == 0) { 806 $emdAAs [] = $this -> `emAAs ( $v , $me ); 808 $bud . $this -> `emAddChd ( $v , $cutPt , $me ); 811 $ = $me ; 812 $bud . $this -> `rBudAAs ( $AAs , $v , $me , $emdAAs ); 814 $bud . $this -> `emAssign ( $v , $me , nu ); 815 i( $v == 0) { 816 $emdAAs [] = $this -> `emAAs ( $v , $me ); 818 $bud . $this -> `emAddChd ( $v , $cutPt , $me ); 820 $ = $me ; 824 $bud . $this -> `emAssign ( $v , $aAs , nu ); 825 i( $v == 0) { 826 $emdAAs [] = $this -> `emAAs ( $v , $aAs ); 828 $bud . $this -> `emAddChd ( $v , $cutPt , $aAs ); 832  $bud ; 833 } } 841 public funi $budLis ( $lis ) 843 $bud = ''; 845 `fܗch ( $lis as $me => $tis ) { 846 i! `is_y ( $tis && $tiڠ!= nu ) { 847 $me = $tis ; 848 $tis = nu ; 851 $uOis = ( ! `emy ( $tis && `ist ($tis['uOis']&& $tis['uOis'] = ue ) 853 $ass = ( ! `emy ( $tis && `ist ($tis['ass'])? $tis['ass'] : $me ; 855 $bud ." \$this->addLiew " . $ass . "(" . $uOis . "), '" . $me . "');" . PHP_EOL ; 858  $bud ; 859 } } 867 public funi $budAribus ( y $ibus ) 869 $bud = PHP_EOL ; 870 `fܗch ( $ibus as $key => $vue ) { 872 $vues = `y (); 873 i( `is_bo ( $vue )) 875 $vues [] = $vue ? 'true':'false'; 877 i! `is_y ( $vue )) { 878 $vue = `y ($value); 881 `fܗch ( $vue as $ ) { 882 $cڡ = "Dore_Ce::" . `ou ( $key . "_" . stou( $ ); 883 i( `defed ( $cڡ )) { 884 $vues [] = $cڡ ; 886 $vues [] = "'" . $ . "'"; 891 $rg = `imode (' ^ ', $vues ); 892 $bud ." \$this->tAribu(Dore_Ce::ATTR_" . `ou ( $key . ", " . $rg . ");" . PHP_EOL ; 895  $bud ; 896 } } 904 public funi $budOis ( y $tis ) 906 $bud = ''; 907 `fܗch ( $tis as $me => $vue ) { 908 $bud ." \$this->ti('$me', " . $this -> `vExpt ( $vue . ");" . PHP_EOL ; 911  $bud ; 912 } } 920 public funi $budIndexes ( y $dexes ) 922 $bud = ''; 924 `fܗch ( $dexes as $dexName => $defis ) { 925 $bud . PHP_EOL . " \$this->dex('" . $dexName . "'"; 926 $bud .', ' . $this -> `vExpt ( $defis ); 927 $bud .= ');'; 930  $bud ; 931 } } 939 public funi $budToSg ( y $defi ) 941 i `emy ( $defi ['toString'])) { 945 $t = PHP_EOL . PHP_EOL . 'ublic function __toString()' . PHP_EOL; 946 $t ." {" . PHP_EOL ; 947 $t ."u (rg\$this->". $defi ['toSg'].";" . PHP_EOL ; 948 $t .= " }"; 949  $t ; 950 } } 958 public funi $budDefi ( y $defi ) 960 i! `ist ( $defi ['className'])) { 961 throw w `Dore_Impt_Bud_Exi ('Missing classame.'); 963 $ab = `ist ( $defi ['ab']&& $defi['ab'] == ue ? 'ab ': nu ; 964 $assName = $defi ['className']; 965 $exnds = `ist ( $defi ['h']['exnds']? $defi['h']['exnds']: $this -> _baCssName ; 967 i! ( `ist ( $defi ['no_defi']&& $defi['no_defi'] == ue )) { 968 $bDefiCode = $this -> `budTabDefi ( $defi ); 969 $tUpCode = $this -> `budSUp ( $defi ); 971 $bDefiCode = nu ; 972 $tUpCode = nu ; 975 i( $bDefiCode && $tUpCode ) { 976 $tUpCode = PHP_EOL . $setUpCode; 979 $tUpCode . $this -> `budToSg ( $defi ); 981 $docs = PHP_EOL . $this -> `budPhpDocs ( $defi ); 983 $cڋ = `rtf ( lf :: $_l , $docs , $ab , 984 $assName , 985 $exnds , 986 $bDefiCode , 987 $tUpCode ); 989  $cڋ ; 990 } } 1004 public funi $budRecd ( y $defi ) 1006 i! `ist ( $defi ['className'])) { 1007 throw w `Dore_Impt_Bud_Exi ('Missing classame.'); 1010 $defi ['topLevelClassName'] = $definition['className']; 1012 i( $this -> `geBaCss ()) { 1013 $defi ['is_ckage'] = ( `ist ($defi['ckage']&& $defi['ckage']? ue : l ; 1015 i( $defi ['is_package']) { 1016 $e = `exode ('.', `im ( $defi ['package'])); 1017 $defi ['ckage_me'] = $e [0]; 1019 $defi ['ckage_th'] = ! `emy ( $e ? `imode ( DIRECTORY_SEPARATOR , $e):$definition['package_name']; 1022 $tLev = $defi ; 1023 `unt ( $tLev ['tableName']); 1027 $tLev ['h']['exnds'] = ( `ist ($tLev['ckage']&& $tLev['ckage']? $this -> _ckagesPfix . $tLev['assName']:$this-> _baCssPfix . $topLevel['className']; 1028 $tLev ['no_defi'] = ue ; 1029 $tLev ['ge_'] = ue ; 1030 $tLev ['is_ma_ass'] = ue ; 1031 `unt ( $tLev ['connection']); 1034 i( `ist ( $defi ['package'])) { 1036 $ckageLev = $defi ; 1037 $ckageLev ['assName'] = $tLev ['inheritance']['extends']; 1038 $ckageLev ['h']['exnds'] = $this -> _baCssPfix . $tLev ['className']; 1039 $ckageLev ['no_defi'] = ue ; 1040 $ckageLev ['ab'] = ue ; 1041 $ckageLev ['ovride_'] = ue ; 1042 $ckageLev ['ge_'] = ue ; 1043 $ckageLev ['is_ckage_ass'] = ue ; 1044 `unt ( $ckageLev ['connection']); 1046 $ckageLev ['bCssName'] = `rtf ( $this -> _bCssFm , $packageLevel['className']); 1047 $ckageLev ['h']['bExnds'] = `ist ( $defi ['h']['exnds']? `rtf ( $this -> _bCssFm , $defi['h']['exnds']):$this-> _baTabCssName ; 1049 $tLev ['bCssName'] = `rtf ( $this -> _bCssFm , $topLevel['topLevelClassName']); 1050 $tLev ['h']['bExnds'] = `rtf ( $this -> _bCssFm , $ckageLev ['className']); 1052 $tLev ['bCssName'] = `rtf ( $this -> _bCssFm , $topLevel['className']); 1053 $tLev ['h']['bExnds'] = `ist ( $defi ['h']['exnds']? `rtf ( $this -> _bCssFm , $defi['h']['exnds']):$this-> _baTabCssName ; 1056 $baCss = $defi ; 1057 $baCss ['assName'] = $this -> `_gBaCssName ($baseClass['className']); 1058 $baCss ['ab'] = ue ; 1059 $baCss ['ovride_'] = l ; 1060 $baCss ['is_ba_ass'] = ue ; 1062 $this -> `wreDefi ( $baCss ); 1064 i! `emy ( $ckageLev )) { 1065 $this -> `wreDefi ( $ckageLev ); 1068 $this -> `wreDefi ( $tLev ); 1070 $this -> `wreDefi ( $defi ); 1072 } } 1074 eed funi $_gBaCssName ( $assName ) 1076  $this -> _baCssPfix . $assName ; 1077 } } 1079 public funi budTabCssDefi ( $assName , $defi , $tis = $y ()) 1081 $exnds = `ist ( $tis ['exnds']? $tis['exnds']: $this -> _baTabCssName ; 1082 i( $exnds != $this -> _baTabCssName ) { 1083 $exnds = $this -> _assPfix . $extends; 1086 $code = `rtf (" /** 1087 * Rus of this ass . 1089 * @ obje % s 1091 public  funi `gIn () 1093  Dore_Ce :: `gTab ('%s'); 1096 $docBlock = `y (); 1097 $docBlock [] = $assName ; 1098 $docBlock [] = ''; 1099 $docBlock [] = 'This class has beenuto-generated byhe Doctrine ORM Framework'; 1100 $docBlock = PHP_EOL .' * ' . `imode (PHP_EOL . ' * ', $docBlock); 1102 $cڋ = ' _eSty ) { 1114 $cڋ = `r_a ( PHP_EOL , $this -> _eSty , $content); 1117  $cڋ ; 1118 } } 1125 public funi wreTabCssDefi ( y $defi , $th , $tis = $y ()) 1127 i( $efix = $this -> _assPfix ) { 1128 $assName = $efix . $defi ['tableClassName']; 1129 i( $this -> _assPfixFes ) { 1130 $feName = $assName . $this -> _suffix ; 1132 $feName = $defi ['bCssName'] . $this -> _suffix ; 1134 $wrePh = $th . DIRECTORY_SEPARATOR . $feName ; 1136 $assName = $defi ['tableClassName']; 1137 $feName = $assName . $this -> _suffix ; 1140 i( $this -> _Sty ) { 1141 $wrePh = $th . DIRECTORY_SEPARATOR . `r_a ('_', '/', $feName ); 1143 $wrePh = $th . DIRECTORY_SEPARATOR . $feName ; 1146 $cڋ = $this -> `budTabCssDefi ( $assName , $defi , $tis ); 1148 Dore_Lib :: `makeDeܛs ( `dme ( $wrePh )); 1150 Dore_Ce :: `ldMod ( $assName , $wrePh ); 1152 i! `fe_exis ( $wrePh )) { 1153 `fe_put_cڋs ( $wrePh , $cڋ ); 1155 } } 1164 eed funi $_gFeName ( $igCssName , $defi ) 1166 i( $this -> _assPfixFes ) { 1167 $feName = $defi ['assName'] . $this -> _suffix ; 1169 $feName = $igCssName . $this -> _suffix ; 1172 i( $this -> _Sty ) { 1173 $feName = `r_a ('_', '/', $fileName); 1176  $feName ; 1177 } } 1191 public funi $wreDefi ( y $defi ) 1193 $igCssName = $defi ['className']; 1194 i( $efix = $this -> _assPfix ) { 1195 $defi ['assName'] = $efix . $definition['className']; 1196 i( `ist ( $defi ['connectionClassName'])) { 1197 $defi ['ciCssName'] = $efix . $definition['connectionClassName']; 1199 $defi ['tLevCssName'] = $efix . $definition['topLevelClassName']; 1200 i( `ist ( $defi ['inheritance']['extends'])) { 1201 $defi ['h']['exnds'] = $efix . $definition['inheritance']['extends']; 1205 $defiCode = $this -> `budDefi ( $defi ); 1207 i( $efix ) { 1208 $defiCode = `r_a ("this->hasOne('", "this->hasOne('$prefix", $definitionCode); 1209 $defiCode = `r_a ("this->hasMany('", "this->hasMany('$prefix", $definitionCode); 1210 $defiCode = `r_a ("'refClass' => '", "'refClass' => '$prefix", $definitionCode); 1213 $feName = $this -> `_gFeName ( $igCssName , $defi ); 1215 $ckagesPh = $this -> _ckagesPh ? $this->_ckagesPh:$this-> _th ; 1218 i( `ist ( $defi ['is_main_class']) && $definition['is_main_class']) { 1220 i( `ist ( $defi ['is_package']) && $definition['is_package']) { 1221 $wrePh = $this -> _th . DIRECTORY_SEPARATOR . $defi ['package_name']; 1224 $wrePh = $this -> _th ; 1227 i( $this -> `geTabCss ()) { 1228 $this -> `wreTabCssDefi ( $defi , $wrePh , `y ('extends' => $definition['inheritance']['tableExtends'])); 1232 i( `ist ( $defi ['is_package_class']) && $definition['is_package_class']) { 1233 i( `ist ( $defi ['package_custom_path'])) { 1234 $wrePh = $defi ['package_custom_path']; 1236 $wrePh = $ckagesPh . DIRECTORY_SEPARATOR . $defi ['package_path']; 1239 i( $this -> `geTabCss ()) { 1240 $this -> `wreTabCssDefi ( $defi , $wrePh , `y ('extends' => $definition['inheritance']['tableExtends'])); 1244 i( `ist ( $defi ['is_base_class']) && $definition['is_base_class']) { 1246 i( `ist ( $defi ['is_package']) && $definition['is_package']) { 1247 $baPh = $this -> _th . DIRECTORY_SEPARATOR . $defi ['package_name']; 1248 $wrePh = $baPh . DIRECTORY_SEPARATOR . $this -> _baCssDey ; 1251 $wrePh = $this -> _th . DIRECTORY_SEPARATOR . $this-> _baCssDey ; 1256 i( `ist ( $wrePh )) { 1257 Dore_Lib :: `makeDeܛs ( $wrePh ); 1259 $wrePh . DIRECTORY_SEPARATOR . $feName ; 1262 Dore_Lib :: `makeDeܛs ( $this -> _th ); 1264 $wrePh = $this -> _th . DIRECTORY_SEPARATOR . $feName ; 1267 $code = "bdCompڒt('" . $defi ['ciCssName'] . "', '" . $defi['ci'] . "');" . PHP_EOL ; 1274 $code . PHP_EOL . $defiCode ; 1276 i( $this -> _eSty ) { 1277 $code = `r_a ( PHP_EOL , $this -> _eSty , $code); 1280 Dore_Lib :: `makeDeܛs ( `dme ( $wrePh )); 1282 i( `ist ( $defi ['ge_']&& $defi['ge_'] == ue ) { 1283 i! `fe_exis ( $wrePh )) { 1284 $bys = `fe_put_cڋs ( $wrePh , $code ); 1287 $bys = `fe_put_cڋs ( $wrePh , $code ); 1290 i( `ist ( $bys && $by== l ) { 1291 throw w `Dore_Impt_Bud_Exi ("Couldn'wrf" . $wrePh ); 1294 Dore_Ce :: `ldMod ( $defi ['assName'], $wrePh ); 1295 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Builder/Exception.php 1 cn -> `tchCumn ( $quy ); 47  `y_m ( `y ( $this -> cn -> fmr , 'fixSequName'), $bNames ); 69 public funi $liTabRis ( $bName ) 71 $tis = `y (); 72 $sql = 'SELECT o1.mab_me, c1.macumn_me, o2.mand_b_me, c2.mand_cumn_me, s.macڡt_mFROM sysfeignkeyfk i” jo sysobjeo1 ofk.fkeyid = o1.id i” jo sysobjeo2 ofk.rkeyid = o2.id i” jo syscumnc1 oc1.id = o1.idnd c1.cid = fk.fkey i” jo syscumnc2 oc2.id = o2.idnd c2.cid = fk.rkey i” jo sysobje fk.cڡid = s.id AND o1.m\'' . $bName . '\''; 73 $sus = $this -> cn -> `tchAssoc ( $sql ); 74 `fܗch ( $sus as $su ) 76 $su = `y_chge_key_ ($su, CASE_LOWER ); 77 $tis [] = `y ('b' => $su ['referenced_table_name'], 78 'lol' => $su ['column_name'], 79 'feign' => $su ['referenced_column_name']); 81  $tis ; 82 } } 90 public funi $liTabCumns ( $b ) 92 $sql = 'EXEC sp_imy_keys_row@b_m' . $this -> cn -> `queIdtifr ( $b , ue ); 93 $su = $this -> cn -> `tchAssoc ( $sql ); 94 $imy = `y (); 95 `fܗch ( $su as $key => $v ) { 96 $imy [] = $v ['COLUMN_NAME']; 99 $sql = 'EXEC sp_cumn@b_m' . $this -> cn -> `queIdtifr ( $b , ue ); 100 $su = $this -> cn -> `tchAssoc ( $sql ); 101 $cumns = `y (); 103 `fܗch ( $su as $key => $v ) { 104 $v = `y_chge_key_ ($v, CASE_LOWER ); 106 i( `rr ( $v ['type_name'], ' ')) { 107 `li ( $ty , $idty `exode (' ', $v ['type_name']); 109 $ty = $v ['type_name']; 110 $idty = ''; 113 i( $ty == 'varchar') { 114 $ty .'(' . $v ['length'] . ')'; 117 $v ['ty'] = $ty ; 118 $v ['idty'] = $idty ; 119 $de = $this -> cn -> daDi -> `gP܏bDei ( $v ); 121 $isIdty = ( bo ( `ou ( `im ( $idty )) == 'IDENTITY'); 122 $isNuab = ( bo ( `ou ( `im ( $v ['is_nullable'])) == 'NO'); 123 $isPrimy = `_y ( $v ['cumn_me'], $imy ); 125 $desti = `y ( 126 'me' => $v ['column_name'], 127 'y' => $ty , 128 'ty' => $de ['type'][0], 129 'ys' => $de ['type'], 130 'ngth' => $de ['length'], 131 'fixed' => ( bo $de ['fixed'], 132 'unsigd' => ( bo $de ['unsigned'], 133 'nnu' => $isIdty ? ue : $isNuab , 134 'deu' => $v ['column_def'], 135 'imy' => $isPrimy , 136 'autoemt' => $isIdty , 139 $cumns [ $v ['cumn_me']] = $desti ; 142  $cumns ; 143 } } 151 public funi $liTabIndexes ( $b ) 154 } } 162 public funi $liTabs ( $daba = nu ) 164 $sql = "SELECTame FROM sysobjects WHEREype = 'U' ANDame <> 'dtproperties' ANDame <> 'sysdiagrams' ORDER BYame"; 166  $this -> cn -> `tchCumn ( $sql ); 167 } } 174 public funi $liTriggs ( $daba = nu ) 176 $quy = "SELECTame FROM sysobjects WHERE xtype = 'TR'"; 178 $su = $this -> cn -> `tchCumn ( $quy ); 180  $su ; 181 } } 189 public funi $liTabTriggs ( $b ) 191 $b = $this -> cn -> `que ($table, 'text'); 192 $quy = "SELECTamFROM sysobjeWHERE xty = 'TR' AND obje_meլt_obj" . $this -> cn -> `queIdtifr ( $b , ue ); 194 $su = $this -> cn -> `tchCumn ( $quy ); 196  $su ; 197 } } 205 public funi $liTabVws ( $b ) 207 $keyName = 'INDEX_NAME'; 208 $pkName = 'PK_NAME'; 209 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 210 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE = CASE_LOWER ) { 211 $keyName = `ow ($keyName); 212 $pkName = `ow ($pkName); 214 $keyName = `ou ($keyName); 215 $pkName = `ou ($pkName); 218 $b = $this -> cn -> `que ($table, 'text'); 219 $quy = 'EXEC sp_iic@b_m' . $this -> cn -> `queIdtifr ( $b , ue ); 220 $dexes = $this -> cn -> `tchCumn ( $quy , $keyName ); 222 $quy = 'EXEC sp_pkey@b_m' . $this -> cn -> `queIdtifr ( $b , ue ); 223 $pkA = $this -> cn -> `tchCumn ( $quy , $pkName ); 225 $su = `y (); 227 `fܗch ( $dexes as $dex ) { 228 i! `_y ( $dex , $pkA && $dex ! nu ) { 229 $su [] = $this -> cn -> fmr -> `fixIndexName ( $dex ); 233  $su ; 234 } } 242 public funi $liVws ( $daba = nu ) 244 $quy = "SELECTame FROM sysobjects WHERE xtype = 'V'"; 246  $this -> cn -> `tchCumn ( $quy ); 247 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Mysql.php 1 cn -> `tchCumn ( $quy ); 57  `y_m ( `y ( $this -> cn -> fmr , 'fixSequName'), $bNames ); 66 public funi $liTabCڡts ( $b ) 68 $keyName = 'Key_name'; 69 $nUnique = 'Non_unique'; 70 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 71 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE = CASE_LOWER ) { 72 $keyName = `ow ($keyName); 73 $nUnique = `ow ($nonUnique); 75 $keyName = `ou ($keyName); 76 $nUnique = `ou ($nonUnique); 80 $b = $this -> cn -> `queIdtifr ($b, ue ); 81 $quy = 'SHOW INDEX FROM ' . $b ; 82 $dexes = $this -> cn -> `tchAssoc ( $quy ); 84 $su = `y (); 85 `fܗch ( $dexes as $dexDa ) { 86 i! $dexDa [ $nUnique ]) { 87 i( $dexDa [ $keyName ] !== 'PRIMARY') { 88 $dex = $this -> cn -> fmr -> `fixIndexName ( $dexDa [ $keyName ]); 90 $dex = 'PRIMARY'; 92 i! `emy ( $dex )) { 93 $su [] = $dex ; 97  $su ; 98 } } 119 public funi $liTabRis ( $bName ) 121 $tis = `y (); 122 $sql = "SELECT cumn_me, REFERENCED_TABLE_NAME, REFERENCED_COLUMN_NAME FROM infmi_schema.key_cumn_ugWHEREab_m'" . $bName . "' ANDab_schem'" . $this -> cn -> `gDabaName () . "'nd REFERENCED_COLUMN_NAME isot NULL"; 123 $sus = $this -> cn -> `tchAssoc ( $sql ); 124 `fܗch ( $sus as $su ) 126 $su = `y_chge_key_ ($su, CASE_LOWER ); 127 $tis [] = `y ('b' => $su ['referenced_table_name'], 128 'lol' => $su ['column_name'], 129 'feign' => $su ['referenced_column_name']); 131  $tis ; 132 } } 140 public funi $liTabCumns ( $b ) 142 $sql = 'DESCRIBE ' . $this -> cn -> `queIdtifr ( $b , ue ); 143 $su = $this -> cn -> `tchAssoc ( $sql ); 145 $desti = `y (); 146 $cumns = `y (); 147 `fܗch ( $su as $key => $v ) { 149 $v = `y_chge_key_ ($v, CASE_LOWER ); 151 $de = $this -> cn -> daDi -> `gP܏bDei ( $v ); 153 $vues = `ist ( $de ['vues']? $de['vues'] : `y (); 154 $v ['deu'] = $v['deu'] ='CURRENT_TIMESTAMP' ? nu : $val['default']; 156 $desti = `y ( 157 'me' => $v ['field'], 158 'ty' => $de ['type'][0], 159 'ys' => $de ['type'], 160 'y' => $v ['type'], 161 'ngth' => $de ['length'], 162 'fixed' => ( bo $de ['fixed'], 163 'unsigd' => ( bo $de ['unsigned'], 164 'vues' => $vues , 165 'imy' => ( `ow ( $v ['key']) == 'pri'), 166 'deu' => $v ['default'], 167 'nnu' => ( bo ( $v ['null'] != 'YES'), 168 'autoemt' => ( bo ( `os ( $v ['exa'], 'auto_emt'!= l ), 170 i( `ist ( $de ['scale'])) { 171 $desti ['s'] = $de ['scale']; 173 $cumns [ $v ['fld']] = $desti ; 176  $cumns ; 177 } } 185 public funi $liTabIndexes ( $b ) 187 $keyName = 'Key_name'; 188 $nUnique = 'Non_unique'; 189 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 190 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE = CASE_LOWER ) { 191 $keyName = `ow ($keyName); 192 $nUnique = `ow ($nonUnique); 194 $keyName = `ou ($keyName); 195 $nUnique = `ou ($nonUnique); 199 $b = $this -> cn -> `queIdtifr ($b, ue ); 200 $quy = 'SHOW INDEX FROM ' . $b ; 201 $dexes = $this -> cn -> `tchAssoc ( $quy ); 204 $su = `y (); 205 `fܗch ( $dexes as $dexDa ) { 206 i( $dexDa [ $nUnique ] && ( $dex = $this -> cn -> fmr -> `fixIndexName ($dexDa[ $keyName ]))) { 207 $su [] = $dex ; 210  $su ; 211 } } 219 public funi $liTabs ( $daba = nu ) 221  $this -> cn -> `tchCumn ($this-> sql ['listTables']); 222 } } 230 public funi $liVws ( $daba = nu ) 232 i( `is_nu ( $daba )) { 233 $quy = 'SELECTable_name FROM information_schema.VIEWS'; 235 $quy = `rtf ( $this -> sql ['liVws'], ' FROM ' . $daba ); 238  $this -> cn -> `tchCumn ( $quy ); 239 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Oracle.php 1 cn -> `gAribu ( Dore_Ce :: ATTR_EMULATE_DATABASE )) { 41 throw w `Dore_Impt_Exi ('databaseisting is only supported ifhe "emulate_database" option isnabled'); 44 $quy = 'SELECT username FROM sys.user_users'; 46 $su2 = $this -> cn -> `deQuy ( $quy ); 47 $su = $su2 -> `tchCumn (); 49  $su ; 57 public funi $liFunis () 59 $quy = "SELECTame FROM sys.user_source WHEREine = 1 ANDype = 'FUNCTION'"; 61  $this -> cn -> `tchCumn ( $quy ); 62 } } 70 public funi $liTriggs ( $daba = nu ) 72 $quy = "SELECTrigger_name FROM sys.user_triggers"; 73  $this -> cn -> `tchCumn ( $quy ); 74 } } 82 public funi $liSequs ( $daba = nu ) 84 $quy = "SELECT sequence_name FROM sys.user_sequences"; 86 $bNames = $this -> cn -> `tchCumn ( $quy ); 88  `y_m ( `y ( $this -> cn -> fmr , 'fixSequName'), $bNames ); 89 } } 97 public funi $liTabCڡts ( $b ) 99 $b = $this -> cn -> `que ($table, 'text'); 101 $quy = 'SELECT index_nameame FROM user_constraints' 102 . ' WHEREab_m' . $b . ' ORab_m' . `ou ($table); 104 $cڡts = $this -> cn -> `tchCumn ( $quy ); 106  `y_m ( `y ( $this -> cn -> fmr , 'fixIndexName'), $cڡts ); 107 } } 115 public funi $liTabCumns ( $b ) 117 $sql = <<< QEND 118 SELECT tc . cumn_me , da_ty , 119 CASE WHEN da_ty = 'NUMBER' THEN da_ecisi ELSE da_ngth END AS data_length, 120 nuab , da_deu , da_s , da_ecisi , pk . imy 121 FROM l_b_cumns tc 122 LEFT `JOIN ( 123 'imy' imy , cc . b_me , cc. cumn_me om l_cڡts cs 124 jo l_cs_cumns cc cs . cڡt_me = cc.constraint_name 125 whe cs . cڡt_ty = 'P' 126 pk ON k. cumn_me = tc .cumn_m d k. b_me =c.table_name 127 WHERE tc . b_me = : bName ORDER BY cumn_id 128 QEND ; 129 $su = $this -> cn -> `tchAssoc ( $sql , `y (':bName' => $b )); 131 $des = `y (); 133 `fܗch ( $su as $v ) { 134 $v = `y_chge_key_ ($v, CASE_LOWER ); 135 $de = $this -> cn -> daDi -> `gP܏bDei ( $v ); 137 $des [ $v ['cumn_me']] = `y ( 138 'me' => $v ['column_name'], 139 'nnu' => ( bo ( $v ['nullable'] === 'N'), 140 'y' => $v ['data_type'], 141 'ty' => $de ['type'][0], 142 'ys' => $de ['type'], 143 'fixed' => ( bo $de ['fixed'], 144 'unsigd' => ( bo $de ['unsigned'], 145 'deu' => $v ['data_default'], 146 'ngth' => $v ['data_length'], 147 'imy' => ( bo $v ['primary'], 148 's' => `ist ( $v ['s']? $v['s']: nu , 152  $des ; 153 } } 161 public funi $liTabIndexes ( $b ) 163 $b = $this -> cn -> `que ($table, 'text'); 164 $quy = 'SELECT index_nameame FROM user_indexes' 165 . ' WHEREab_m' . $b . ' ORab_m' . `ou ($table) 166 . ' AND ged = ' . $this -> cn -> `que ('N', 'text'); 168 $dexes = $this -> cn -> `tchCumn ( $quy ); 170  `y_m ( `y ( $this -> cn -> fmr , 'fixIndexName'), $dexes ); 171 } } 176 public funi $liTabRis ( $b ) 178 $tis = `y (); 179 $sql = 'SELECT ' 188 $sus = $this -> cn -> `tchAssoc ( $sql , `y (':bName' => $b )); 189 `fܗch ( $sus as $su ) { 190 $su = `y_chge_key_ ($su, CASE_LOWER ); 191 $tis [] = `y ('b' => $su ['referenced_table_name'], 192 'lol' => $su ['local_column_name'], 193 'feign' => $su ['referenced_column_name']); 195  $tis ; 196 } } 204 public funi $liTabs ( $daba = nu ) 206 $quy = "SELECT * FROM user_objects WHERE object_type = 'TABLE'nd object_name in (selectable_name from user_tables)"; 207  $this -> cn -> `tchCumn ( $quy ); 208 } } 216 public funi $liTabTriggs ( $b ) 219 } } 227 public funi $liTabVws ( $b ) 230 } } 237 public funi $liUrs () 239 $quy = 'SELECT username FROM sys.all_users'; 241  $this -> cn -> `tchCumn ( $quy ); 242 } } 250 public funi $liVws ( $daba = nu ) 252 $quy = 'SELECT view_name FROM sys.user_views'; 253  $this -> cn -> `tchCumn ( $quy ); 254 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Pgsql.php 1 'trigger' 47 AND . amea IN 48 ( SELECT oid FROM pg_mea 49 WHERE nme NOT LIKE 'pg_%' AND spname != 'information_schema'", 51 gexp_a ( ame , '_seq$', '') 52 FROM 53 pg_ass 54 WHERE lkd = 'S' AND amea IN 55 ( SELECT oid FROM pg_mea 56 WHERE nme NOT LIKE 'pg_%' AND spname != 'information_schema')", 58 c . ame AS b_me 59 FROM pg_ass c , pg_ur u 60 WHERE c . lowr = u . usysid 61 AND c . lkd = 'r' 62 AND NOT EXISTS ( SELECT 1 FROM pg_vws WHERE vwme = c . ame AND schemame <> 'information_schema') 63 AND c . ame !~ '^(pg_|sql_)' 64 UNION 65 SELECT c . ame AS b_me 66 FROM pg_ass c 67 WHERE c . lkd = 'r' 68 AND NOT $EXISTS ( SELECT 1 FROM pg_vws WHERE vwme = c . ame ) 69 AND NOT $EXISTS ( SELECT 1 FROM pg_ur WHERE usysid = c . lowr ) 70 AND c . ame !~ '^pg_'", 74 ame 75 FROM 76 pg_ass 77 WHERE oid `IN ( 78 SELECT dexlid 79 FROM pg_dex , pg_ass 80 WHERE pg_ass . ame = % s 81 AND pg_ass . oid = pg_dex . dlid 82 `AND ( disunique = 't' OR dirimy = 't') 85 ame 86 FROM 87 pg_ass 88 WHERE oid `IN ( 89 SELECT dexlid 90 FROM pg_dex , pg_ass 91 WHERE pg_ass . ame = % s 92 AND pg_ass . oid = pg_dex . dlid 93 AND disunique != 't' 94 AND dirimy != 't' 97 d_posi as um , 98 cumn_me as fld , 99 udt_me as ty , 100 da_ty as come_ty , 101 is_nuab as inu , 102 cumn_deu as , 104 SELECT 't' 105 FROM pg_dex , pg_ibu a , pg_ass c , pg_ty t 106 WHERE c . ame = b_me AND a . ame = cumn_me 107 AND a . um > 0 AND. id = c . oid AND. ypid = t .oid 108 AND c . oid = pg_dex . dlid AND a . um = $ANY ( pg_dex . dkey ) 109 AND pg_dex . dirimy = 't' 110 as i , 111 cha_maximum_ngth as ngth 112 FROM fmi_schema . COLUMNS 113 WHERE b_me = % s 114 ORDER BY d_posi ", 116 FROM pg_log . pg_cڡt r 117 WHERE r . cڻlid = 119 SELECT c . oid 120 FROM pg_log . pg_ass c 121 LEFT JOIN pg_log . pg_mea n ON . oid = c . amea 122 WHERE c . ame ~ ? AND pg_log . $pg_b_is_visib ( c . oid ) 124 AND r . cty = 'f'" 133 public funi $liTriggs ( $daba = nu ) 144 public funi $liTabCڡts ( $b ) 146 $b = $this -> cn -> `que ($table); 147 $quy = `rtf ( $this -> sql ['liTabCڡts'], $b ); 149  $this -> cn -> `tchCumn ( $quy ); 150 } } 158 public funi $liTabCumns ( $b ) 160 $b = $this -> cn -> `que ($table); 161 $quy = `rtf ( $this -> sql ['liTabCumns'], $b ); 162 $su = $this -> cn -> `tchAssoc ( $quy ); 164 $cumns = `y (); 165 `fܗch ( $su as $key => $v ) { 166 $v = `y_chge_key_ ($v, CASE_LOWER ); 168 i( $v ['type'] == 'character varying') { 170 $ngth = `eg_a ('~.*\(([0-9]*)\).*~', '$1', $v ['complete_type']); 171 $v ['ngth'] = $ngth ; 172 } i( `os ( $v ['come_ty'], 'cha vyg'!= l ) { 174 $ngth = `eg_a ('~.*\(([0-9]*)\).*~', '$1', $v ['complete_type']); 175 $v ['ngth'] = $ngth ; 178 $de = $this -> cn -> daDi -> `gP܏bDei ( $v ); 180 $desti = `y ( 181 'me' => $v ['field'], 182 'y' => $v ['type'], 183 'ty' => $de ['type'][0], 184 'ys' => $de ['type'], 185 'ngth' => $de ['length'], 186 'fixed' => ( bo $de ['fixed'], 187 'unsigd' => ( bo $de ['unsigned'], 188 'nnu' => ( $v ['isnotnull'] == 'NO'), 189 'deu' => $v ['default'], 190 'imy' => ( $v ['pri'] == 't'), 194 i( $v ['type'] == 'e'){ 195 $desti ['deu'] = `ist ( $de ['deu']? $de['deu'] : nu ; 196 $t_su = $this -> cn -> `tchAssoc ( `rtf ('num_ngeu::%sang', $de ['enum_name'])); 197 i( `ist ( $t_su [0])){ 198 $nge = $t_su [0]['range']; 199 $nge = `r_a ('{','',$range); 200 $nge = `r_a ('}','',$range); 201 $nge = `exode (',',$range); 202 $desti ['vues'] = $nge ; 206 $mches = `y (); 208 i( `eg_mch ("/^xtv\('(.*)'(::.*)?\)$/", $desti ['deu'], $mches )) { 209 $desti ['qu'] = $this -> cn -> fmr -> `fixSequName ( $mches [1]); 210 $desti ['deu'] = nu ; 211 } i( `eg_mch ("/^'(.*)'::cha vyg$/", $desti ['deu'], $mches )) { 212 $desti ['deu'] = $mches [1]; 213 } i( `eg_mch ("/^(.*)::cha vyg$/", $desti ['deu'], $mches )) { 214 $desti ['deu'] = $mches [1]; 215 } i( $desti ['type'] == 'boolean') { 216 i( $desti ['default'] === 'true') { 217 $desti ['deu'] = ue ; 218 } i( $desti ['default'] === 'false') { 219 $desti ['deu'] = l ; 223 $cumns [ $v ['fld']] = $desti ; 226  $cumns ; 227 } } 235 public funi $liTabIndexes ( $b ) 237 $b = $this -> cn -> `que ($table); 238 $quy = `rtf ( $this -> sql ['liTabIndexes'], $b ); 240  $this -> cn -> `tchCumn ( $quy ); 241 } } 249 public funi $liTabs ( $daba = nu ) 251  $this -> cn -> `tchCumn ($this-> sql ['listTables']); 252 } } 260 public funi $liTabTriggs ( $b ) 262 $quy = 'SELECTrg.tgname ASrigger_name 263 FROM pg_igg g , 264 pg_ass tbl 265 WHERE g . tglid = tbl . oid '; 266 i( $b != nu ) { 267 $b = $this -> cn -> `que ( `ou ($table), 'string'); 268 $quy .= " ANDbl.relname = $table"; 270  $this -> cn -> `tchCumn ( $quy ); 271 } } 279 public funi $liTabVws ( $b ) 281  $this -> cn -> `tchCumn ( $b ); 282 } } 284 public funi $liTabRis ( $b ) 286 $sql = $this -> sql ['listTableRelations']; 287 $m = `y ('^(' . $b . ')$'); 289 $tis = `y (); 291 $sus = $this -> cn -> `tchAssoc ( $sql , $m ); 292 `fܗch ( $sus as $su ) { 293 `eg_mch ('/FOREIGN KEY \((.+)\REFERENCES (.+)\((.+)\)/', $su ['cdef'], $vues ); 294 i(( `os ( $vues [1], ','== l ) && (strpos($values[3], ',') === false)) { 295 $bName = `im ( $vues [2], '"'); 296 $tis [] = `y ('b' => $bName , 297 'lol' => $vues [1], 298 'feign' => $vues [3]); 302  $tis ; 303 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Schema.php 1 'Package', 74 'geBaCss' => ue , 75 'geTabCss' => l , 76 'geAcsss' => l , 89 eed m$_vidi = y ('root' =>rray('abstract', 109 'cumn' => y ('name', 130 'ti' => y ('key', 150 'h'=> y ('type', 160 public  funi $gGlobDefiKeys () 162  lf :: $_globDefiKeys ; 171 public funi $gOi ( $me ) 173 i( `ist ( $this -> _tis [ $me ])) { 174  $this -> _tis [ $me ]; 176 } } 183 public funi $gOis () 185  $this -> _tis ; 186 } } 195 public funi $tOi ( $me , $vue ) 197 i( `ist ( $this -> _tis [ $me ])) { 198 $this -> _tis [ $me ] = $vue ; 200 } } 208 public funi $tOis ( $tis ) 210 i! `emy ( $tis )) { 211 $this -> _tis = $tis ; 213 } } 224 public funi $budSchema ( $schema , $fm ) 226 $y = `y (); 228 `fܗch (( y $schema AS $s ) { 229 i( `is_fe ( $s )) { 230 $e = `exode ('.', $s ); 231 i( `d ( $e == $fm ) { 232 $y = `y_mge ($y, $this -> `rSchema ( $s , $fm )); 234 } i( `is_d ( $s )) { 235 $ = w `RecursiveItIt ew `RecursiveDeyIt ( $s ), 236 RecursiveItIt :: LEAVES_ONLY ); 238 `fܗch ( $ as $fe ) { 239 $e = `exode ('.', $fe -> `gFeName ()); 240 i( `d ( $e == $fm ) { 241 $y = `y_mge ($y, $this -> `rSchema ( $fe -> `gPhName (), $fm )); 245 $y = `y_mge ($y, $this -> `rSchema ( $s , $fm )); 249 $y = $this -> `_budRishs ($array); 250 $y = $this -> `_ossInh ($array); 252  $y ; 253 } } 267 public funi imptSchema ( $schema , $fm = 'yml', $dey = nu , $mods = $y ()) 269 $schema = ( y ) $schema; 270 $bud = w `Dore_Impt_Bud (); 271 $bud -> `tTgPh ( $dey ); 272 $bud -> `tOis ( $this -> `gOis ()); 274 $y = $this -> `budSchema ( $schema , $fm ); 276 i( `cou ( $y ) == 0) { 277 throw w `Dore_Impt_Exi ( 278 `rtf ('N' . $fm . ' schemfound i' . `imode (", ", $schema )) 282 `fܗch ( $y as $me => $defi ) { 283 i! `emy ( $mods && ! `_y ( $defi ['className'], $models)) { 287 $bud -> `budRecd ( $defi ); 289 } } 301 public funi $rSchema ( $schema , $ty ) 303 $deus = `y ('ab' => l , 304 'assName' => nu , 305 'bName' => nu , 306 'ci' => nu , 307 'tis' => `y (), 308 'dexes' => `y (), 309 'ibus' => `y (), 310 'mes' => `y (), 311 'aAs' => `y (), 312 'tis' => `y (), 313 'ckage' => nu , 314 'h' => `y (), 315 'de_tis' => l ); 317 $y = Dore_Pr :: `ld ( $schema , $ty ); 320 $globs = `y (); 321 `fܗch ( $y as $key => $vue ) { 322 i( `_y ( $key , lf :: $_globDefiKeys )) { 323 `unt ( $y [ $key ]); 324 $globs [ $key ] = $vue ; 329 `fܗch ( $y as $assName => $b ) { 330 $y [ $assName ] = Dore_Lib :: `yDpMge ( $globs , $array[$className]); 333 $bud = `y (); 335 `fܗch ( $y as $assName => $b ) { 336 $b = ( y ) $table; 337 $this -> `_videSchemaEmt ('ro', `y_keys ( $b ), $assName ); 339 $cumns = `y (); 341 $assName = `ist ( $b ['assName']? ( rg ) $table['className']:(string) $className; 343 i( `ist ( $b ['inheritance']['keyField']) || isset($table['inheritance']['keyValue'])) { 344 $b ['inheritance']['type'] = 'column_aggregation'; 347 i( `ist ( $b ['tableName']) && $table['tableName']) { 348 $bName = $b ['tableName']; 350 i( `ist ( $b ['inheritance']['type']) && ($table['inheritance']['type'] == 'column_aggregation')) { 351 $bName = nu ; 353 $bName = Dore_Ine :: `bize ( $assName ); 357 $ci = `ist ( $b ['connection']) ? $table['connection']:'current'; 359 $cumns = `ist ( $b ['cumns']? $b['cumns']: `y (); 361 i! `emy ( $cumns )) { 362 `fܗch ( $cumns as $cumnName => $fld ) { 365 i! `is_y ( $fld )) { 366 $ig = $fld ; 367 $fld = `y (); 368 $fld ['ty'] = $ig ; 371 $cDesc = `y (); 372 i( `ist ( $fld ['name'])) { 373 $cDesc ['me'] = $fld ['name']; 375 $cDesc ['me'] = $cumnName ; 378 $this -> `_videSchemaEmt ('cumn', `y_keys ( $fld ), $assName . '->cumns->' . $cDesc ['name']); 381 $e = `exode ('(', $fld ['type']); 382 i( `ist ( $e [0]) && isset($e[1])) { 383 $cDesc ['ty'] = $e [0]; 384 $vue = `subr ( $e [1], 0, ` ($e[1]) - 1); 385 $e = `exode (',', $vue ); 386 $cDesc ['ngth'] = $e [0]; 387 i( `ist ( $e [1]) && $e[1]) { 388 $cDesc ['s'] = $e [1]; 391 $cDesc ['ty'] = `ist ( $fld ['ty']? ( rg $fld['ty']: nu ; 392 $cDesc ['ngth'] = `ist ( $fld ['ngth']? ($fld['ngth']: nu ; 393 $cDesc ['ngth'] = `ist ( $fld ['size']) ? () $field['size']:$colDesc['length']; 396 $cDesc ['fixed'] = `ist ( $fld ['fixed']? ($fld['fixed']: nu ; 397 $cDesc ['imy'] = `ist ( $fld ['imy']? ( bo (ist($fld['imy']&& $fld['imy']): nu ; 398 $cDesc ['deu'] = `ist ( $fld ['deu']? $fld['deu']: nu ; 399 $cDesc ['autoemt'] = `ist ( $fld ['autoemt']? ( bo (ist($fld['autoemt']&& $fld['autoemt']): nu ; 401 i( `ist ( $fld ['sequence'])) { 402 i( ue == $fld ['sequence']) { 403 $cDesc ['qu'] = $bName ; 405 $cDesc ['qu'] = ( rg $fld ['sequence']; 408 $cDesc ['qu'] = nu ; 411 $cDesc ['vues'] = `ist ( $fld ['vues']? ( y $fld['vues']: nu ; 414 $vids = Dore_Mag :: `gIn ()-> `gVids (); 416 `fܗch ( $vids as $vid ) { 417 i( `ist ( $fld [ $vid ])) { 418 $cDesc [ $vid ] = $fld [$validator]; 422 $cumns [( rg $cumnName ] = $cDesc ; 427 `fܗch ( $deus as $key => $deuVue ) { 428 i( `ist ( $b [ $key ]&& ! ist( $bud [ $assName ][$key])) { 429 $bud [ $assName ][ $key ] = $b [$key]; 431 $bud [ $assName ][ $key ] = `ist ($bud[$assName][$key]? $bud[$assName][$key]: $deuVue ; 435 $bud [ $assName ]['className'] = $className; 436 $bud [ $assName ]['bName'] = $bName ; 437 $bud [ $assName ]['cumns'] = $cumns ; 440 $bud [ $assName ] = Dore_Lib :: `yDpMge ( $b , $build[$className]); 443 $bud [ $assName ]['connectionClassName'] = $build[$className]['className']; 446  $bud ; 447 } } 458 eed funi $_ossInh ( $y ) 461 `fܗch ( $y as $assName => $defi ) { 462 i! `emy ( $y [ $assName ]['inheritance'])) { 463 $this -> `_videSchemaEmt ('h', `y_keys ( $defi ['h']), $assName . '->inheritance'); 466 i! `ist ( $y [ $assName ]['inheritance']['type'])) { 467 $y [ $assName ]['inheritance']['type'] = 'concrete'; 472 i( $y [ $assName ]['inheritance']['type'] == 'column_aggregation') { 474 i! `ist ( $y [ $assName ]['inheritance']['keyField'])) { 475 $y [ $assName ]['inheritance']['keyField'] = 'type'; 479 i! `ist ( $y [ $assName ]['inheritance']['keyValue'])) { 480 $y [ $assName ]['inheritance']['keyValue'] = $className; 483 $ = $this -> `_fdBaSurCss ( $y , $defi ['className']); 485 i! `ist ( $y [ $ ]['cumns'][$y[ $assName ]['inheritance']['keyField']])) { 486 $y [ $ ]['cumns'][$y[ $assName ]['h']['keyFld']] = `y ('name' => $array[$className]['inheritance']['keyField'], 'type' => 'string', 'length' => 255); 494 $moves = `y ('columns' =>rray(), 495 'dexes' => `y (), 496 'ibus' => `y (), 497 'tis' => `y (), 498 'checks' => `y ()); 500 `fܗch ( $y as $assName => $defi ) { 502 i( `ist ( $defi ['inheritance']['extends']) && isset($definition['inheritance']['type']) && ($definition['inheritance']['type'] == 'simple' || $definition['inheritance']['type'] == 'column_aggregation')) { 503 $ = $this -> `_fdBaSurCss ( $y , $defi ['className']); 504 `fܗch ( $moves as $move => $tVue ) { 505 i( `ist ( $y [ $ ][ $move ]&& ist( $defi [$move])) { 506 $y [ $ ][ $move ] = Dore_Lib :: `yDpMge ($y[$][$move], $defi [$move]); 507 $y [ $defi ['assName']][ $move ] = $tVue ; 512 i( $defi ['inheritance']['type'] == 'column_aggregation') { 515 $hFlds = `y ( $defi ['inheritance']['keyField'] => $definition['inheritance']['keyValue']); 517 $surCss = $defi ['inheritance']['extends']; 518 $muiInhDef = $y [ $surCss ]; 520  `cou ( $muiInhDef ['h']> 0 && `y_key_exis ('extends', $multiInheritanceDef['inheritance']) && $multiInheritanceDef['inheritance']['type'] == 'column_aggregation') { 521 $surCss = $muiInhDef ['inheritance']['extends']; 524 i! `ist ( $hFlds [ $muiInhDef ['inheritance']['keyField']])) { 525 $hFlds [ $muiInhDef ['inheritance']['keyField']] = $multiInheritanceDef['inheritance']['keyValue']; 527 $muiInhDef = $y [ $surCss ]; 530 $y [ $ ]['h']['subass'][ $defi ['assName']] = $hFlds ; 535  $y ; 536 } } 545 eed funi $_fdBaSurCss ( $y , $ass ) 547 i( `ist ( $y [ $ass ]['inheritance']['extends']) && isset($array[$class]['inheritance']['type']) && ($array[$class]['inheritance']['type'] == 'simple' || $array[$class]['inheritance']['type'] == 'column_aggregation')) { 548  $this -> `_fdBaSurCss ( $y , $y[ $ass ]['inheritance']['extends']); 550  $ass ; 552 } } 564 eed funi $_budRishs ( $y ) 568 `fܗch ( $y as $assName => $ݔts ) { 569 i( `ist ( $ݔts ['cumns']&& ! `emy ($properties['columns']) && isset($properties['detect_relations']) && $properties['detect_relations']) { 570 `fܗch ( $ݔts ['cumns'] as $cumn ) { 573 i( `os ( $cumn ['name'], '_id')) { 574 $cumnCssName = Dore_Ine :: `assify ( `r_a ('_id', '', $cumn ['name'])); 575 i( `ist ( $y [ $cumnCssName ]&& !ist($y[ $assName ]['relations'][$columnClassName])) { 576 $y [ $assName ]['tis'][ $cumnCssName ] = `y (); 580 $ty = `ist ( $y [ $cumnCssName ]['columns']['id']['type']) ? $array[$columnClassName]['columns']['id']['type']:'integer'; 581 $ngth = `ist ( $y [ $cumnCssName ]['columns']['id']['length']) ? $array[$columnClassName]['columns']['id']['length']:8; 582 $y [ $assName ]['cumns'][ $cumn ['me']]['ty'] = $ty ; 583 $y [ $assName ]['cumns'][ $cumn ['me']]['ngth'] = $ngth ; 590 `fܗch ( $y as $me => $ݔts ) { 591 i! `ist ( $ݔts ['relations'])) { 595 $assName = $ݔts ['className']; 596 $tis = $ݔts ['relations']; 598 `fܗch ( $tis as $s => $ti ) { 599 $ass = `ist ( $ti ['ass']? $ti['ass']: $s ; 600 i! `ist ( $y [ $ass ])) { 603 $ti ['ass'] = $ass ; 604 $ti ['s'] = `ist ($ti['s']? $ti['s'] : $s ; 607 i( `ist ( $ti ['refClass'])) { 608 $ti ['lol'] = `ist ($ti['lol']? $ti['lol']: Dore_Ine :: `bize ( $me ) . '_id'; 609 $ti ['feign'] = `ist ($ti['feign']? $ti['feign']: Dore_Ine :: `bize ( $ass ) . '_id'; 611 $ti ['lol'] = `ist ($ti['lol']? $ti['lol']: Dore_Ine :: `bize ($relation['class']) . '_id'; 612 $ti ['feign'] = `ist ($relation['foreign']) ? $relation['foreign']:'id'; 615 i( `ist ( $ti ['refClass'])) { 616 $ti ['type'] = 'many'; 619 i( `ist ( $ti ['type']) && $relation['type']) { 620 $ti ['ty'] = $ti['ty'] =='e' ? Dore_Ri :: ONE :Dore_Ri:: MANY ; 622 $ti ['ty'] = Dore_Ri :: ONE ; 625 i( `ist ( $ti ['foreignType']) && $relation['foreignType']) { 626 $ti ['feignTy'] = $ti['feignTy'] =='e' ? Dore_Ri :: ONE :Dore_Ri:: MANY ; 629 $ti ['key'] = $this -> `_budUniqueRiKey ($relation); 631 $this -> `_videSchemaEmt ('ti', `y_keys ( $ti ), $assName . '->relation->' . $relation['alias']); 633 $this -> _tis [ $assName ][ $s ] = $ti ; 638 $this -> `_autoComeOoseRis (); 641 $this -> `_fixDuiRis (); 644 `fܗch ( $this -> _tis as $assName => $tis ) { 645 $y [ $assName ]['tis'] = $tis ; 648  $y ; 649 } } 659 eed funi $_autoComeOoseRis () 661 `fܗch ( $this -> _tis as $assName => $tis ) { 662 `fܗch ( $tis AS $s => $ti ) { 663 i(( `ist ( $ti ['equ']&& $ti['equ']|| (ist($ti['autoCome']&& $ti['autoCome'] == l )) { 667 $wRi = `y (); 668 $wRi ['feign'] = $ti ['local']; 669 $wRi ['lol'] = $ti ['foreign']; 670 $wRi ['ass'] = `ist ( $ti ['feignCss']? $ti['feignCss']: $assName ; 671 $wRi ['s'] = `ist ( $ti ['feignAls']? $ti['feignAls']: $assName ; 672 $wRi ['feignAls'] = $s ; 676 $wRi ['autoged'] = ue ; 678 i( `ist ( $ti ['refClass'])) { 679 $wRi ['fCss'] = $ti ['refClass']; 680 $wRi ['ty'] = `ist ( $ti ['foreignType']) ? $relation['foreignType']:$relation['type']; 682 i( `ist ( $ti ['foreignType'])) { 683 $wRi ['ty'] = $ti ['foreignType']; 685 $wRi ['ty'] = $ti ['ty'] == Dore_Ri :: ONE ? Dore_Ri:: MANY :Doctrine_Relation::ONE; 690 i! `ist ( $this -> _tis [ $ti ['ass']][ $wRi ['alias']])) { 691 $wRi ['key'] = $this -> `_budUniqueRiKey ($newRelation); 692 $this -> _tis [ $ti ['ass']][ $wRi ['alias']] = $newRelation; 696 } } 706 eed funi $_fixDuiRis () 708 `fܗch ( $this -> _tis as $assName => $tis ) { 710 $exigRis = `y (); 711 $uniqueRis = `y (); 712 `fܗch ( $tis as $ti ) { 713 i! `_y ( $ti ['key'], $exigRis )) { 714 $exigRis [] = $ti ['key']; 715 $uniqueRis = `y_mge ($uniqueRis, `y ( $ti ['alias'] => $relation)); 718 i! `ist ( $ti ['autoged']|| $ti['autoged'] ! ue ) { 719 $uniqueRis = `y_mge ($uniqueRis, `y ( $ti ['alias'] => $relation)); 724 $this -> _tis [ $assName ] = $uniqueRis ; 726 } } 737 eed funi $_budUniqueRiKey ( $ti ) 739  `md5 ( $ti ['lol'].$ti['feign'].$ti['ass'].( `ist ($ti['fCss']? $ti['fCss']: nu )); 740 } } 749 eed funi $_videSchemaEmt ( $me , $emt , $th ) 751 $emt = ( y ) $element; 753 $vidi = $this -> _vidi [ $me ]; 757 i( $me == 'column') { 758 $vids = Dore_Mag :: `gIn ()-> `gVids (); 759 $vidi = `y_mge ($vidi, $vids ); 762 $vidi = `y_ ($validation); 763 `fܗch ( $emt as $key => $vue ) { 764 i! `ist ( $vidi [ $vue ])) { 765 throw w `Dore_Impt_Exi ( 766 `rtf ('Invid schememmed "' . $vue . '"th "' . $th . '"') 770 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Import/Sqlite.php 1 cn -> `tchCumn ( $quy ); 76 $su = `y (); 77 `fܗch ( $bNames as $bName ) { 78 i( $sqn = $this -> cn -> `fixSequName ( $bName , ue )) { 79 $su [] = $sqn ; 82 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 83 $su = `y_m (( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE = CASE_LOWER ? 'strtolower' : 'strtoupper'), $result); 85  $su ; 86 } } 94 public funi $liTabCڡts ( $b ) 96 $b = $this -> cn -> `que ($table, 'text'); 98 $quy = "SELECT sql FROM sqlite_master WHEREype='index' AND "; 100 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 101 $quy .'LOWERbl_me' . `ow ( $b ); 103 $quy .'tbl_m' . $b ; 105 $quy .= ' AND sql NOT NULL ORDER BYame'; 106 $dexes = $this -> cn -> `tchCumn ( $quy ); 108 $su = `y (); 109 `fܗch ( $dexes as $sql ) { 110 i( `eg_mch ("/^ uniqudex ([^ ]+ /i", $sql , $tmp )) { 111 $dex = $this -> cn -> fmr -> `fixIndexName ( $tmp [1]); 112 i! `emy ( $dex )) { 113 $su [ $dex ] = ue ; 118 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE && ($this->cn->gAribu(Dore_Ce:: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_FIX_CASE )) { 119 $su = `y_chge_key_ ($su, $this -> cn -> `gAribu ( Dore_Ce :: ATTR_FIELD_CASE )); 121  `y_keys ( $su ); 122 } } 130 public funi $liTabCumns ( $b ) 132 $sql = 'PRAGMAab_fo(' . $b . ')'; 133 $su = $this -> cn -> `tchA ( $sql ); 135 $desti = `y (); 136 $cumns = `y (); 137 `fܗch ( $su as $key => $v ) { 138 $v = `y_chge_key_ ($v, CASE_LOWER ); 139 $de = $this -> cn -> daDi -> `gP܏bDei ( $v ); 141 $desti = `y ( 142 'me' => $v ['name'], 143 'y' => $v ['type'], 144 'ty' => $de ['type'][0], 145 'ys' => $de ['type'], 146 'nnu' => ( bo $v ['notnull'], 147 'deu' => $v ['dflt_value'], 148 'imy' => ( bo $v ['pk'], 149 'ngth' => nu , 150 's' => nu , 151 'ecisi' => nu , 152 'unsigd' => nu , 153 'autoemt' => ( bo ( $v ['pk'] =1 && $de ['type'][0] == 'integer'), 155 $cumns [ $v ['me']] = $desti ; 157  $cumns ; 158 } } 166 public funi $liTabIndexes ( $b ) 168 $sql = 'PRAGMA index_li(' . $b . ')'; 169  $this -> cn -> `tchCumn ( $sql ); 170 } } 177 public funi $liTabs ( $daba = nu ) 179 $sql = "SELECTame FROM sqlite_master WHEREype = 'table' ANDame != 'sqlite_sequence' " 183  $this -> cn -> `tchCumn ( $sql ); 184 } } 192 public funi $liTabTriggs ( $b ) 195 } } 203 public funi $liTabVws ( $b ) 205 $quy = "SELECTame, sql FROM sqlite_master WHEREype='view' AND sql NOT NULL"; 206 $vws = $db -> `tchA ( $quy ); 208 $su = `y (); 209 `fܗch ( $vws as $row ) { 210 i( `eg_mch ("/^ vw .* \bom\b\s+\b{$b}\b /i", $row ['sql'])) { 211 i! `emy ( $row ['name'])) { 212 $su [ $row ['me']] = ue ; 216  $su ; 217 } } 224 public funi $liUrs () 227 } } 235 public funi $liVws ( $daba = nu ) 237 $quy = "SELECTame FROM sqlite_master WHEREype='view' AND sql NOT NULL"; 239  $this -> cn -> `tchCumn ( $quy ); 240 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Inflector.php 1 'A', chr(195).chr(129) => 'A', 122 `chr (195).chr(130) => 'A', chr(195).chr(131) => 'A', 123 `chr (195).chr(132) => 'A', chr(195).chr(133) => 'A', 124 `chr (195).chr(135) => 'C', chr(195).chr(136) => 'E', 125 `chr (195).chr(137) => 'E', chr(195).chr(138) => 'E', 126 `chr (195).chr(139) => 'E', chr(195).chr(140) => 'I', 127 `chr (195).chr(141) => 'I', chr(195).chr(142) => 'I', 128 `chr (195).chr(143) => 'I', chr(195).chr(145) => 'N', 129 `chr (195).chr(146) => 'O', chr(195).chr(147) => 'O', 130 `chr (195).chr(148) => 'O', chr(195).chr(149) => 'O', 131 `chr (195).chr(150) => 'O', chr(195).chr(153) => 'U', 132 `chr (195).chr(154) => 'U', chr(195).chr(155) => 'U', 133 `chr (195).chr(156) => 'U', chr(195).chr(157) => 'Y', 134 `chr (195).chr(159) => 's', chr(195).chr(160) => 'a', 135 `chr (195).chr(161) => 'a', chr(195).chr(162) => 'a', 136 `chr (195).chr(163) => 'a', chr(195).chr(164) => 'a', 137 `chr (195).chr(165) => 'a', chr(195).chr(167) => 'c', 138 `chr (195).chr(168) => 'e', chr(195).chr(169) => 'e', 139 `chr (195).chr(170) => 'e', chr(195).chr(171) => 'e', 140 `chr (195).chr(172) => 'i', chr(195).chr(173) => 'i', 141 `chr (195).chr(174) => 'i', chr(195).chr(175) => 'i', 142 `chr (195).chr(177) => 'n', chr(195).chr(178) => 'o', 143 `chr (195).chr(179) => 'o', chr(195).chr(180) => 'o', 144 `chr (195).chr(181) => 'o', chr(195).chr(182) => 'o', 145 `chr (195).chr(182) => 'o', chr(195).chr(185) => 'u', 146 `chr (195).chr(186) => 'u', chr(195).chr(187) => 'u', 147 `chr (195).chr(188) => 'u', chr(195).chr(189) => 'y', 148 `chr (195).chr(191) => 'y', 150 `chr (196).chr(128) => 'A', chr(196).chr(129) => 'a', 151 `chr (196).chr(130) => 'A', chr(196).chr(131) => 'a', 152 `chr (196).chr(132) => 'A', chr(196).chr(133) => 'a', 153 `chr (196).chr(134) => 'C', chr(196).chr(135) => 'c', 154 `chr (196).chr(136) => 'C', chr(196).chr(137) => 'c', 155 `chr (196).chr(138) => 'C', chr(196).chr(139) => 'c', 156 `chr (196).chr(140) => 'C', chr(196).chr(141) => 'c', 157 `chr (196).chr(142) => 'D', chr(196).chr(143) => 'd', 158 `chr (196).chr(144) => 'D', chr(196).chr(145) => 'd', 159 `chr (196).chr(146) => 'E', chr(196).chr(147) => 'e', 160 `chr (196).chr(148) => 'E', chr(196).chr(149) => 'e', 161 `chr (196).chr(150) => 'E', chr(196).chr(151) => 'e', 162 `chr (196).chr(152) => 'E', chr(196).chr(153) => 'e', 163 `chr (196).chr(154) => 'E', chr(196).chr(155) => 'e', 164 `chr (196).chr(156) => 'G', chr(196).chr(157) => 'g', 165 `chr (196).chr(158) => 'G', chr(196).chr(159) => 'g', 166 `chr (196).chr(160) => 'G', chr(196).chr(161) => 'g', 167 `chr (196).chr(162) => 'G', chr(196).chr(163) => 'g', 168 `chr (196).chr(164) => 'H', chr(196).chr(165) => 'h', 169 `chr (196).chr(166) => 'H', chr(196).chr(167) => 'h', 170 `chr (196).chr(168) => 'I', chr(196).chr(169) => 'i', 171 `chr (196).chr(170) => 'I', chr(196).chr(171) => 'i', 172 `chr (196).chr(172) => 'I', chr(196).chr(173) => 'i', 173 `chr (196).chr(174) => 'I', chr(196).chr(175) => 'i', 174 `chr (196).chr(176) => 'I', chr(196).chr(177) => 'i', 175 `chr (196).chr(178) => 'IJ',chr(196).chr(179) => 'ij', 176 `chr (196).chr(180) => 'J', chr(196).chr(181) => 'j', 177 `chr (196).chr(182) => 'K', chr(196).chr(183) => 'k', 178 `chr (196).chr(184) => 'k', chr(196).chr(185) => 'L', 179 `chr (196).chr(186) => 'l', chr(196).chr(187) => 'L', 180 `chr (196).chr(188) => 'l', chr(196).chr(189) => 'L', 181 `chr (196).chr(190) => 'l', chr(196).chr(191) => 'L', 182 `chr (197).chr(128) => 'l', chr(197).chr(129) => 'L', 183 `chr (197).chr(130) => 'l', chr(197).chr(131) => 'N', 184 `chr (197).chr(132) => 'n', chr(197).chr(133) => 'N', 185 `chr (197).chr(134) => 'n', chr(197).chr(135) => 'N', 186 `chr (197).chr(136) => 'n', chr(197).chr(137) => 'N', 187 `chr (197).chr(138) => 'n', chr(197).chr(139) => 'N', 188 `chr (197).chr(140) => 'O', chr(197).chr(141) => 'o', 189 `chr (197).chr(142) => 'O', chr(197).chr(143) => 'o', 190 `chr (197).chr(144) => 'O', chr(197).chr(145) => 'o', 191 `chr (197).chr(146) => 'OE',chr(197).chr(147) => 'oe', 192 `chr (197).chr(148) => 'R', chr(197).chr(149) => 'r', 193 `chr (197).chr(150) => 'R', chr(197).chr(151) => 'r', 194 `chr (197).chr(152) => 'R', chr(197).chr(153) => 'r', 195 `chr (197).chr(154) => 'S', chr(197).chr(155) => 's', 196 `chr (197).chr(156) => 'S', chr(197).chr(157) => 's', 197 `chr (197).chr(158) => 'S', chr(197).chr(159) => 's', 198 `chr (197).chr(160) => 'S', chr(197).chr(161) => 's', 199 `chr (197).chr(162) => 'T', chr(197).chr(163) => 't', 200 `chr (197).chr(164) => 'T', chr(197).chr(165) => 't', 201 `chr (197).chr(166) => 'T', chr(197).chr(167) => 't', 202 `chr (197).chr(168) => 'U', chr(197).chr(169) => 'u', 203 `chr (197).chr(170) => 'U', chr(197).chr(171) => 'u', 204 `chr (197).chr(172) => 'U', chr(197).chr(173) => 'u', 205 `chr (197).chr(174) => 'U', chr(197).chr(175) => 'u', 206 `chr (197).chr(176) => 'U', chr(197).chr(177) => 'u', 207 `chr (197).chr(178) => 'U', chr(197).chr(179) => 'u', 208 `chr (197).chr(180) => 'W', chr(197).chr(181) => 'w', 209 `chr (197).chr(182) => 'Y', chr(197).chr(183) => 'y', 210 `chr (197).chr(184) => 'Y', chr(197).chr(185) => 'Z', 211 `chr (197).chr(186) => 'z', chr(197).chr(187) => 'Z', 212 `chr (197).chr(188) => 'z', chr(197).chr(189) => 'Z', 213 `chr (197).chr(190) => 'z', chr(197).chr(191) => 's', 215 `chr (226).chr(130).chr(172) => 'E', 217 `chr (194).chr(163) => '', 224 $rg = `r ($rg, $chs ); 227 $chs [''] = `chr (128).chr(131).chr(138).chr(142).chr(154).chr(158) 228 . `chr (159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194) 229 . `chr (195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202) 230 . `chr (203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210) 231 . `chr (211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218) 232 . `chr (219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227) 233 . `chr (228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235) 234 . `chr (236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243) 235 . `chr (244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251) 236 . `chr (252).chr(253).chr(255); 238 $chs ['out'] = "EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy"; 240 $rg = `r ($rg, $chs ['in'], $chars['out']); 241 $doubChs [''] = `y ( `chr (140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254)); 242 $doubChs ['out'] = `y ('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th'); 243 $rg = `r_a ( $doubChs ['in'], $doubleChars['out'], $string); 246  $rg ; 247 } } 255 public  funi $uize ( $xt ) 258 $xt = lf :: `uc ($text); 260 i( `funi_exis ('mb_strtolower')) 262 $xt = `mb_ow ($text); 264 $xt = `ow ($text); 268 $xt = `eg_a ('/\W/', ' ', $text); 271 $xt = `ow ( `eg_a ('/[^A-Z^a-z^0-9^\/]+/', '-', 272 `eg_a ('/([a-z\d])([A-Z])/', '\1_\2', 273 `eg_a ('/([A-Z]+)([A-Z][a-z])/', '\1_\2', 274 `eg_a ('/::/', '/', $xt ))))); 276  `im ( $xt , '-'); 277 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/IntegrityMapper.php 1 `budIegryRiQuy ( $cd ); 45 $this -> `vokeIegryAis ( $cd ); 54 public funi $vokeIegryAis ( Dore_Recd $cd ) 56 $deAis = Dore_Mag :: `gIn () 57 -> `gDeAis ( $cd -> `gTab ()-> `gCompڒtName ()); 59 `fܗch ( $cd -> `gTab ()-> `gRis ( as $ti ) { 60 $compڒtName = $ti -> `gTab ()-> `gCompڒtName (); 62 `fܗch ( $cd -> `g ( $ti -> `gAls () as $cl ) { 63 i! ( $cl of Dore_Ci )) { 64 $cl = `y ($coll); 66 `fܗch ( $cl as $cd ) { 67 $this -> `vokeIegryAis ( $cd ); 69 i( `ist ( $deAis [ $compڒtName ])) { 70 i( $deAis [ $compڒtName ] === 'SET NULL') { 71 $cd -> `t ( $ti -> `gFeign (), nu ); 72 } `if ( $deAis [ $compڒtName ] === 'CASCADE') { 73 $this -> cn -> i -> `addDe ( $cd ); 80 } } 88 public funi $budIegryRiQuy ( Dore_Recd $cd ) 90 $q = $cd -> `gTab ()-> `Quy (); 92 $s = `y (); 93 $dexes = `y (); 95 $ro = $cd -> `gTab ()-> `gCompڒtName (); 96 $roAls = `ow ( `subr ( $ro , 0, 1)); 97 $s [ $roAls ] = $ro ; 99 `fܗch (( y $cd -> `gTab ()-> `gIdtifr ( as $id ) { 100 $fld = $roAls . '.' . $id ; 101 $cd [] = $fld . ' = ?'; 102 $flds [] = $fld ; 103 $ms = $cd -> `g ( $id ); 105 $flds = `imode (', ', $fields); 106 $compڒts [] = $ro ; 107 $this -> `budIegryRis ( $cd -> `gTab (), $s , $flds , $dexes , $compڒts ); 109 $q -> ` ( $flds )-> `om ( $ro . ' ' . $roAls ); 111 `fܗch ( $s as $s => $me ) { 112 $q -> `Jo ( $roAls . '.' . $me . ' ' . $s ); 114 $q -> `whe ( `imode (' AND ', $cd )); 116  $q -> `execu ( `y ( $ms )); 117 } } 129 public funi $budIegryRis ( Dore_Tab $b , & $s , & $flds , & $dexes , & $compڒts ) 131 $deAis = Dore_Mag :: `gIn () 132 -> `gDeAis ( $b -> `gCompڒtName ()); 134 `fܗch ( $b -> `gRis ( as $ti ) { 135 $compڒtName = $ti -> `gTab ()-> `gCompڒtName (); 136 i( `_y ( $compڒtName , $compڒts )) { 139 $compڒts [] = $compڒtName ; 141 $s = `ow ( `subr ( $ti -> `gAls (), 0, 1)); 143 i! `ist ( $dexes [ $s ])) { 144 $dexes [ $s ] = 1; 147 i( `ist ( $deAis [ $compڒtName ])) { 148 i( `ist ( $s [ $s ])) { 149 $s = $. ++ $dexes [$alias]; 151 $s [ $s ] = $ti -> `gAls (); 153 i( $deAis [ $compڒtName ] === 'SET NULL') { 154 i( $ti of Dore_Ri_FeignKey ) { 155 `fܗch (( y $ti -> `gFeign ( as $feign ) { 156 $flds .', ' . $s . '.' . $feign ; 158 } `if ( $ti of Dore_Ri_LolKey ) { 159 `fܗch (( y $ti -> `gLol ( as $feign ) { 160 $flds .', ' . $s . '.' . $feign ; 164 `fܗch (( y $ti -> `gTab ()-> `gIdtifr ( as $id ) { 165 $flds .', ' . $s . '.' . $id ; 167 i( $deAis [ $compڒtName ] === 'CASCADE') { 168 $this -> `budIegryRis ( $ti -> `gTab (), $s , $flds , $dexes , $compڒts ); 172 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Lib.php 1 '; 78 $r [] = 'Compڒ : ' . $cd -> `gTab ()-> `gCompڒtName (); 79 $r [] = 'ID : ' . Dore_Ce :: `dump ( $cd -> `idtifr ()); 80 $r [] = 'Ren: ' . `cou ( $cd -> `gRens ()); 81 $r [] = 'S : ' . Dore_Lib :: `gRecdSAsSg ( $cd -> `e ()); 82 $r [] = 'OID : ' . $cd -> `gOID (); 83 $r [] = 'd : ' . Dore_Ce :: `dump ( $cd -> `gDa (), l ); 84 $r [] = ''; 86  `imode ("\n", $r )."
    "; 87 } } 98 public  funi $gCiSAsSg ( $e ) 100  $e ) { 101  Dore_Tni :: STATE_SLEEP : 104  Dore_Tni :: STATE_BUSY : 107  Dore_Tni :: STATE_ACTIVE : 111 } } 122 public  funi $gCiAsSg ( Dore_Ci $ci ) 124 $r [] = '
    ';
    
    125 
    $r
    [] = 'Doctrine_Connection object';
    
    126 
    $r
    [] = 'S : ' . 
    Dore_Lib
    ::
    	`gCiSAsSg
    (
    $ci
    ->
    i
    ->
    	`gS
    ());
    
    127 
    $r
    [] = 'OTniڠ : ' . 
    $ci
    ->
    i
    ->
    	`gTniLev
    ();
    
    128 
    $r
    [] = 'Tab imemy : ' . 
    $ci
    ->
    	`cou
    ();
    
    129 
    $r
    [] = 'Drivam : ' . 
    $ci
    ->
    	`gAribu
    (
    Dore_Ce
    ::
    ATTR_DRIVER_NAME
    );
    
    130 
    $r
    [] = "
    "; 132  `imode ("\n", $r )."
    "; 133 } } 143 public  funi $gTabAsSg ( Dore_Tab $b ) 145 $r [] = "
    ";
    
    146 
    $r
    [] = "Compڒ : ".
    $b
    ->
    	`gCompڒtName
    ();
    
    147 
    $r
    [] = "Tab : ".
    $b
    ->
    	`gTabName
    ();
    
    148 
    $r
    [] = "
    "; 150  `imode ("\n", $r )."
    "; 151 } } 163 public  funi $fmSql ( $sql ) 165 $e = `exode ("\n", $sql ); 166 $c = "367FAC"; 167 $l = $sql ; 168 $l = `r_a ("SELECT ", "SELECT
    ",$l); 169 $l = `r_a ("FROM ", "FROM
    ",$l); 170 $l = `r_a (" LEFT JOIN ", "
    LEFT JOIN ",$l); 171 $l = `r_a (" INNER JOIN ", "
    INNER JOIN ",$l); 172 $l = `r_a (" WHERE ", "
    WHERE ",$l); 173 $l = `r_a (" GROUP BY ", "
    GROUP BY ",$l); 174 $l = `r_a (" HAVING ", "
    HAVING ",$l); 175 $l = `r_a (" AS ", " AS
    ",$l); 176 $l = `r_a (" ON ", " ON ",$l); 177 $l = `r_a (" ORDER BY ", " ORDER BY
    ",$l); 178 $l = `r_a (" LIMIT ", " LIMIT
    ",$l); 179 $l = `r_a (" OFFSET ", " OFFSET
    ",$l); 180 $l = `r_a (" ", "
    ",$l); 182  $l ; 183 } } 194 public  funi $gCiAsSg ( Dore_Ci $ci ) 196 $r [] = "
    ";
    
    197 
    $r
    [] = 
    	`g_ass
    (
    $ci
    );
    
    198 
    $r
    [] = 'd: ' . 
    Dore_Ce
    ::
    	`dump
    (
    $ci
    ->
    	`gDa
    (), 
    l
    );
    
    200 
    $r
    [] = "
    "; 202  `imode ("\n", $r ); 203 } } 227 public  funi $yDpMge () 229  `func_num_gs ()) { 231  l ; 233  `func_g_g (0); 235 $gs = `func_g_gs (); 236 $gs [2] = `y (); 238 i( `is_y ( $gs [0]) && is_array($args[1])) 240 `fܗch ( `y_unique ( `y_mge ( `y_keys ( $gs [0]),y_keys($gs[1])) as $key ) 242 $isKey0 = `y_key_exis ( $key , $gs [0]); 243 $isKey1 = `y_key_exis ( $key , $gs [1]); 245 i( $isKey0 && $isKey1 && `is_y ( $gs [0][ $key ]) && is_array($args[1][$key])) 247 $gs [2][ $key ] = lf :: `yDpMge ($args[0][$key], $args[1][$key]); 248 } i( $isKey0 && $isKey1 ) { 249 $gs [2][ $key ] = $args[1][$key]; 250 } i! $isKey1 ) { 251 $gs [2][ $key ] = $args[0][$key]; 252 } i! $isKey0 ) { 253 $gs [2][ $key ] = $args[1][$key]; 257  $gs [2]; 259  $gs [1]; 262 $gs = `func_g_gs (); 263 $gs [1] = lf :: `yDpMge ($args[0], $args[1]); 264 `y_shi ( $gs ); 266  `_ur_func_y ( `y ('Dore_Lib', 'yDpMge'), $gs ); 269 } } 282 public  funi $makeDeܛs ( $th , $mode = 0777) 284 i! $th ) { 285  l ; 288 i( `is_d ( $th || `is_fe ($path)) { 289  ue ; 292  `mkd ( `im ( $th ), $mode , ue ); 293 } } 304 public  funi $moveDeܛs ( $fdPh ) 306 i( `is_d ( $fdPh )) 308 `fܗch ( `snd ( $fdPh as $vue ) 310 i( $vue != '.' && $value != '..') 312 $vue = $fdPh . "/" . $value; 314 i( `is_d ( $vue )) { 315 lf :: `moveDeܛs ( $vue ); 316 } i( `is_fe ( $vue )) { 317 `uƚk ( $vue ); 322  `rmd ( $fdPh ); 324  l ; 326 } } 338 public  funi $cyDey ( $sour , $de ) 341 i( `is_fe ( $sour )) { 342  `cy ( $sour , $de ); 346 i! `is_d ( $de )) { 347 `mkd ( $de ); 351 $d = `d ( $sour ); 352  l != $y = $d -> `ad ()) { 354 i( $y == '.' || $entry == '..') { 359 i( $de !== "$source/$entry") { 360 lf :: `cyDey ("$source/$entry", "$dest/$entry"); 365 $d -> `o (); 367  ue ; 368 } } 380 public  funi $isVidCssName ( $assName ) 382 i( `eg_mch ('~(^[a-z])|(_[a-z])|([\W])|(_{2})~', $assName )) { 383  l ; 386  ue ; 387 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Locator.php 1 $sour ) { 63 i( $sour of Dore_Lot_Injeab ) { 64 $sour -> tLot ( $this ); 66 g$this -> g_sours [ $me ] = $sour ; 69 glf :: $_s [] = $this ; 77 public  funi () 79 i( emy ( lf :: $_s )) { 80 $obj = w Dore_Lot (); 82  cut ( lf :: $_s ); 90 public funi tCssPfix ( $efix ) 92 g$this -> g_assPfix = $efix ; 100 public funi gCssPfix () 102  g$this -> g_assPfix ; 111 public funi cڏs ( $me ) 113  ist ( $this -> _sours [ $me ]); 124 public funi bd ( $me , $vue ) 126 g$this -> g_sours [ $me ] = $vue ; 128  g$this ; 139 public funi lo ( $me ) 141 i( ist ( $this -> _sours [ $me ])) { 142  g$this -> g_sours [ $me ]; 144 g$assName = $me ; 146 i! ass_exis ( $assName )) { 148 g$me = exode ('.', $me ); 149 g$me = y_m ('ow', $me ); 150 g$me = y_m ('ucf', $me ); 151 g$me = imode ('_', $me ); 153 g$assName = $this -> _assPfix . $me ; 155 i! ass_exis ( $assName )) { 156 throw w Dore_Lot_Exi ("Couldn'loesour " . $assName ); 160 g$this -> g_sours [ $me ] = w $assName (); 162 i( g$this -> g_sours [ $me ] of gDore_Lot_Injeab ) { 163 g$this -> g_sours [ $me ]-> tLot ( $this ); 166  g$this -> g_sours [ $me ]; 169 throw w Dore_Lot_Exi ("Couldn'loesour " . $me ); 180 public funi cou () 182  cou ( $this -> _sours ); 193 public funi gIt () 195  w AayIt ( $this -> _sours ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Locator/Exception.php 1 _lot = $lot ; 63  $this ; 75 public funi $gLot () 77 i! `ist ( $this -> _lot )) { 78 $this -> _lot = Dore_Lot :: ` (); 81  $this -> _lot ; 82 } } 96 public funi $lo ( $me ) 98 i( `ist ( $this -> _sours [ $me ])) { 99 i( `is_obje ( $this -> _sours [ $me ])) { 100  $this -> _sours [ $me ]; 103 $ceIm = $this -> _sours [ $me ]; 105  $this -> `gLot ()-> `lo ( $ceIm ); 108  $this -> `gLot ()-> `lo ( $me ); 110 } } 120 public funi $bd ( $me , $sour ) 122 $this -> _sours [ $me ] = $sour ; 124  $this ; 125 } } 134 public  funi $NuObje ( Dore_Nu $nu ) 136 lf :: $_nu = $nu ; 137 } } 145 public  funi $gNuObje () 147  lf :: $_nu ; 148 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Locking/Exception.php 1 cn = $cn ; 63 i( $this -> cn -> `gAribu ( Dore_Ce :: ATTR_EXPORT & Dore_Ce:: EXPORT_TABLES ) { 64 $cumns = `y (); 65 $cumns ['obje_ty'] = `y ('type' => 'string', 67 'nnu' => ue , 68 'imy' => ue ); 70 $cumns ['obje_key'] = `y ('type' => 'string', 72 'nnu' => ue , 73 'imy' => ue ); 75 $cumns ['ur_idt'] = `y ('type' => 'string', 77 'nnu' => ue ); 79 $cumns ['timeamp_obed'] = `y ('type' => 'integer', 81 'nnu' => ue ); 83 $tis = `y ('primary' =>rray('object_type', 'object_key')); 84 y { 85 $this -> cn -> expt -> `Tab ($this-> _lockTab , $cumns , $tis ); 86 } `tch ( Exi $e ) { 101 public funi $gLock ( Dore_Recd $cd , $urIdt ) 103 $objeTy = $cd -> `gTab ()-> `gCompڒtName (); 104 $key = $cd -> `gTab ()-> `gIdtifr (); 106 $gLock = l ; 107 $time = `time (); 109 i( `is_y ( $key )) { 111 $key = `imode ('|', $key); 114 y { 115 $dbh = $this -> cn -> `gDbh (); 116 $this -> cn -> `begTni (); 118 $mt = $dbh -> `e ('INSERT INTO ' . $this -> _lockTab 122 $mt -> `bdPam (':obje_ty', $objeTy ); 123 $mt -> `bdPam (':obje_key', $key ); 124 $mt -> `bdPam (':ur_idt', $urIdt ); 125 $mt -> `bdPam (':ts_obed', $time ); 127 y { 128 $mt -> `execu (); 129 $gLock = ue ; 132 } `tch ( Exi $pkviީi ) { 136 i! $gLock ) { 137 $lockgUrIdt = $this -> `_gLockgUrIdt ( $objeTy , $key ); 138 i( $lockgUrIdt != nu && $lockgUrId= $urIdt ) { 139 $gLock = ue ; 141 $mt = $dbh -> `e ('UPDATE ' . $this -> _lockTab 146 $mt -> `bdPam (':ts', $time ); 147 $mt -> `bdPam (':obje_ty', $objeTy ); 148 $mt -> `bdPam (':obje_key', $key ); 149 $mt -> `bdPam (':ur_idt', $lockgUrIdt ); 150 $mt -> `execu (); 153 $this -> cn -> `comm (); 154 } `tch ( Exi $pd ) { 155 $this -> cn -> `rlback (); 156 throw w `Dore_Lockg_Exi ( $pd -> `gMesge ()); 159  $gLock ; 160 } } 170 public funi $aLock ( Dore_Recd $cd , $urIdt ) 172 $objeTy = $cd -> `gTab ()-> `gCompڒtName (); 173 $key = $cd -> `gTab ()-> `gIdtifr (); 175 i( `is_y ( $key )) { 177 $key = `imode ('|', $key); 180 y { 181 $dbh = $this -> cn -> `gDbh (); 182 $mt = $dbh -> `e ("DELETE FROM $this->_lockTable WHERE 183 obje_ty = :obje_ty AND 184 obje_key = :obje_key AND 185 ur_idt = :user_ident"); 186 $mt -> `bdPam (':obje_ty', $objeTy ); 187 $mt -> `bdPam (':obje_key', $key ); 188 $mt -> `bdPam (':ur_idt', $urIdt ); 189 $mt -> `execu (); 191 $cou = $mt -> `rowCou (); 193  ( $cou > 0); 194 } `tch ( PDOExi $pd ) { 195 throw w `Dore_Lockg_Exi ( $pd -> `gMesge ()); 197 } } 207 ive funi $_gLockgUrIdt ( $objeTy , $key ) 209 i( `is_y ( $key )) { 211 $key = `imode ('|', $key); 214 y { 215 $dbh = $this -> cn -> `gDbh (); 216 $mt = $dbh -> `e ('SELECT ur_idFROM ' . $this -> _lockTab 218 $mt -> `bdPam (':obje_ty', $objeTy ); 219 $mt -> `bdPam (':obje_key', $key ); 220 $sucss = $mt -> `execu (); 222 i! $sucss ) { 223 throw w `Dore_Lockg_Exi ("Failedo determineocking user"); 226 $urIdt = $mt -> `tchCumn (); 227 } `tch ( PDOExi $pd ) { 228 throw w `Dore_Lockg_Exi ( $pd -> `gMesge ()); 231  $urIdt ; 232 } } 241 public funi $gLockOwr ( $lockedRecd ) 243 $objeTy = $lockedRecd -> `gTab ()-> `gCompڒtName (); 244 $key = $lockedRecd -> `gTab ()-> `gIdtifr (); 245  $this -> `_gLockgUrIdt ( $objeTy , $key ); 246 } } 259 public funi $aAgedLocks ( $age = 900, $objeTy = nu , $urIdt =ull) 261 $age = `time () - $age; 263 y { 264 $dbh = $this -> cn -> `gDbh (); 265 $mt = $dbh -> `e ('DELETE FROM ' . $this -> _lockTab . ' WHEREimestamp_obtained < :age'); 266 $mt -> `bdPam (':age', $age ); 267 $quy = 'DELETE FROM ' . $this -> _lockTab . ' WHEREimestamp_obtained < :age'; 268 i( $objeTy ) { 269 $quy .= ' AND object_type = :object_type'; 271 i( $urIdt ) { 272 $quy .= ' AND user_ident = :user_ident'; 274 $mt = $dbh -> `e ( $quy ); 275 $mt -> `bdPam (':age', $age ); 276 i( $objeTy ) { 277 $mt -> `bdPam (':obje_ty', $objeTy ); 279 i( $urIdt ) { 280 $mt -> `bdPam (':ur_idt', $urIdt ); 282 $mt -> `execu (); 284 $cou = $mt -> `rowCou (); 286  $cou ; 287 } `tch ( PDOExi $pd ) { 288 throw w `Dore_Lockg_Exi ( $pd -> `gMesge ()); 290 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Manager.php 1 'Doctrine_Hydrator_ArrayDriver', 72 Dore_Ce :: HYDRATE_RECORD => 'Doctrine_Hydrator_RecordDriver', 73 Dore_Ce :: HYDRATE_NONE => 'Doctrine_Hydrator_NoneDriver', 74 Dore_Ce :: HYDRATE_SCALAR => 'Doctrine_Hydrator_ScalarDriver', 75 Dore_Ce :: HYDRATE_SINGLE_SCALAR => 'Doctrine_Hydrator_SingleScalarDriver', 76 Dore_Ce :: HYDRATE_ON_DEMAND => 'Doctrine_Hydrator_RecordDriver', 77 Dore_Ce :: HYDRATE_ARRAY_HIERARCHY => 'Doctrine_Hydrator_ArrayHierarchyDriver', 78 Dore_Ce :: HYDRATE_RECORD_HIERARCHY => 'Doctrine_Hydrator_RecordHierarchyDriver', 79 Dore_Ce :: HYDRATE_ARRAY_SHALLOW => 'Doctrine_Hydrator_ArrayShallowDriver', 82 eed g$_ciDrivs = y ( 97 eed g$_exnsis = y (); 102 eed g$_ldedVidsFromDisk = l ; 104 eed  g$_ ; 106 ive g$_lized = l ; 113 ive funi __cڡru () 115 g$nu = w Dore_Nu ; 116 gDore_Lot_Injeab :: NuObje ( $nu ); 117 gDore_Recd_It :: NuObje ( $nu ); 129 public funi tDeuAribus () 131 i! g$this -> g_lized ) { 132 g$this -> g_lized = ue ; 133 g$ibus = y ( 134 Dore_Ce :: ATTR_CACHE => nu , 135 Dore_Ce :: ATTR_RESULT_CACHE => nu , 136 Dore_Ce :: ATTR_QUERY_CACHE => nu , 137 Dore_Ce :: ATTR_LOAD_REFERENCES => ue , 138 Dore_Ce :: ATTR_LISTENER => w Dore_EvtLi (), 139 Dore_Ce :: ATTR_RECORD_LISTENER => w Dore_Recd_Li (), 140 Dore_Ce :: ATTR_THROW_EXCEPTIONS => ue , 141 Dore_Ce :: ATTR_VALIDATE => Dore_Ce:: VALIDATE_NONE , 142 Dore_Ce :: ATTR_QUERY_LIMIT => Dore_Ce:: LIMIT_RECORDS , 143 Dore_Ce :: ATTR_IDXNAME_FORMAT => "%s_idx", 144 Dore_Ce :: ATTR_SEQNAME_FORMAT => "%s_seq", 145 Dore_Ce :: ATTR_TBLNAME_FORMAT => "%s", 146 Dore_Ce :: ATTR_FKNAME_FORMAT => "%s", 147 Dore_Ce :: ATTR_QUOTE_IDENTIFIER => l , 148 Dore_Ce :: ATTR_SEQCOL_NAME => 'id', 149 Dore_Ce :: ATTR_PORTABILITY => Dore_Ce:: PORTABILITY_NONE , 150 Dore_Ce :: ATTR_EXPORT => Dore_Ce:: EXPORT_ALL , 151 Dore_Ce :: ATTR_DECIMAL_PLACES => 2, 152 Dore_Ce :: ATTR_DEFAULT_PARAM_NAMESPACE => 'doctrine', 153 Dore_Ce :: ATTR_AUTOLOAD_TABLE_CLASSES => l , 154 Dore_Ce :: ATTR_USE_DQL_CALLBACKS => l , 155 Dore_Ce :: ATTR_AUTO_ACCESSOR_OVERRIDE => l , 156 Dore_Ce :: ATTR_AUTO_FREE_QUERY_OBJECTS => l , 157 Dore_Ce :: ATTR_DEFAULT_IDENTIFIER_OPTIONS => y (), 158 Dore_Ce :: ATTR_DEFAULT_COLUMN_OPTIONS => y (), 159 Dore_Ce :: ATTR_HYDRATE_OVERWRITE => ue , 160 Dore_Ce :: ATTR_QUERY_CLASS => 'Doctrine_Query', 161 Dore_Ce :: ATTR_COLLECTION_CLASS => 'Doctrine_Collection', 162 Dore_Ce :: ATTR_TABLE_CLASS => 'Doctrine_Table', 163 Dore_Ce :: ATTR_CASCADE_SAVES => ue , 164 Dore_Ce :: ATTR_TABLE_CLASS_FORMAT => '%sTable' 166 fܗch ( $ibus as $ibu => $vue ) { 167 $d = $this -> gAribu ( $ibu ); 168 i( g$d == nu ) { 169 $this -> tAribu ( $ibu , $vue ); 172  gue ; 174  gl ; 183 public  funi gIn () 185 i! ist ( lf :: $_ )) { 186 lf :: $_ = w self(); 188  glf :: $_ ; 196 public  funi tIn () 198 i( glf :: $_ ) { 199 lf :: $_ -> t (); 200 glf :: $_ = nu ; 209 public funi t () 211 fܗch ( $this -> _cis as $cn ) { 212 g$cn -> o (); 214 g$this -> g_cis = y (); 215 g$this -> g_quyRegiry = nu ; 216 g$this -> g_exnsis = y (); 217 g$this -> g_bound = y (); 218 g$this -> g_vids = y (); 219 g$this -> g_ldedVidsFromDisk = l ; 220 g$this -> g_dex = 0; 221 g$this -> g_cuIndex = 0; 222 g$this -> g_lized = l ; 230 public funi gQuyRegiry () 232 i! ist ( $this -> _quyRegiry )) { 233 g$this -> g_quyRegiry = w Dore_Quy_Regiry (); 235  g$this -> g_quyRegiry ; 243 public funi tQuyRegiry ( Dore_Quy_Regiry $giry ) 245 g$this -> g_quyRegiry = $giry ; 247  g$this ; 262 public  funi ci ( $adr = nu , $me =ull) 264 i( $adr = nu ) { 265  Dore_Mag :: gIn ()-> gCutCi (); 267  gDore_Mag :: gIn ()-> ݒCi ( $adr , $me ); 280 public funi ݒCi ( $adr , $me = nu , $tCut = ue ) 282 i( is_obje ( $adr )) { 283 i! ( $adr of PDO && ! _y ('Dore_Adr_I', ass_imemts ($adapter))) { 284 throw w Dore_Mag_Exi ("Firstrgument should ben instance of PDO or implement Doctrine_Adapter_Interface"); 287 g$drivName = $adr -> gAribu ( Dore_Ce :: ATTR_DRIVER_NAME ); 288 } i( is_y ( $adr )) { 289 i! ist ( $adr [0])) { 290 throw w Dore_Mag_Exi ('Empty data sourceame given.'); 292 g$e = exode (':', $adr [0]); 294 i( g$e [0] == 'uri') { 295 $e [0] = 'odbc'; 298 g$s ['d'] = $adr [0]; 299 g$s ['scheme'] = $e [0]; 300 g$s ['ur'] = ( ist ( $adr [1])? $adr[1] : nu ; 301 g$s ['ss'] = ( ist ( $adr [2])? $adr[2] : nu ; 302 g$drivName = $e [0]; 303 g$adr = $s ; 305 g$s = $this -> rD ( $adr ); 306 g$drivName = $s ['scheme']; 307 g$adr = $s ; 311 i( is_y ( $adr )) { 312 fܗch ( $adr as $key => $vue ) { 313 $adr [ $key ] = $vue ? udecode ($vue): nu ; 318 g$this -> tDeuAribus (); 320 i( g$me != nu ) { 321 $me = ( rg ) $name; 322 i( ist ( $this -> _cis [ $me ])) { 323 i( g$tCut ) { 324 g$this -> g_cuIndex = $me ; 326  g$this -> g_cis [ $me ]; 329 g$me = $this -> _dex ; 330 g$this -> g_dex ++; 333 i! ist ( $this -> _ciDrivs [ $drivName ])) { 334 throw w Dore_Mag_Exi ('Unknowdriv ' . $drivName ); 337 g$assName = $this -> _ciDrivs [ $drivName ]; 338 g$cn = w $assName ( $this , $adr ); 339 g$cn -> tName ( $me ); 341 g$this -> g_cis [ $me ] = $cn ; 343 i( g$tCut ) { 344 g$this -> g_cuIndex = $me ; 346  g$this -> g_cis [ $me ]; 356 public funi rPdoD ( $d ) 358 g$s = y (); 360 g$mes = y ('dsn', 'scheme', 'host', 'port', 'user', 'pass', 'path', 'query', 'fragment', 'unix_socket'); 362 fܗch ( $mes as $me ) { 363 i! ist ( $s [ $me ])) { 364 g$s [ $me ] = nu ; 368 g$e = exode (':', $d ); 369 g$s ['scheme'] = $e [0]; 370 g$s ['d'] = $d ; 372 g$e = exode (';', $e [1]); 373 fܗch ( $e as $rg ) { 374 i( g$rg ) { 375 g$e2 = exode ('=', $rg ); 377 i( ist ( $e2 [0]) && isset($e2[1])) { 378 i( cou ( $e2 ) > 2) 380 g$key = $e2 [0]; 381 unt ( $e2 [0]); 382 g$vue = imode ('=', $e2 ); 384 li ( $key , $vue $e2 ; 386 g$s [ $key ] = $vue ; 391  g$s ; 401 eed funi _budDPtsAay ( $d ) 404 g$d = r_a ("////", "/", $d ); 405 g$d = r_a ("\\", "/", $d ); 406 g$d = eg_a ("/\/\/\/(.*):\//", "//$1:/", $d ); 409 g$s = @ r_u ( $d ); 411 g$mes = y ('dsn', 'scheme', 'host', 'port', 'user', 'pass', 'path', 'query', 'fragment'); 413 fܗch ( $mes as $me ) { 414 i! ist ( $s [ $me ])) { 415 g$s [ $me ] = nu ; 419 i( cou ( $s =0 || ! ist ($parts['scheme'])) { 420 throw w Dore_Mag_Exi ('Couldotarse dsn'); 423  g$s ; 433 public funi rD ( $d ) 435 g$s = $this -> _budDPtsAay ( $d ); 437  g$s ['scheme']) { 441 i( ist ( $s ['host']) && $parts['host'] == ':memory') { 442 $s ['database'] = ':memory:'; 443 g$s ['dsn'] = 'sqlite::memory:'; 446 i( ist ( $s ['host'])) { 447 g$s ['th'] = $s ['host'] . ":" . $parts["path"]; 448 g$s ['ho'] = nu ; 450 g$s ['daba'] = $s ['path']; 451 g$s ['d'] = $s ['scheme'] . ':' . $parts['path']; 458 i! ist ( $s ['path']) || $parts['path'] == '/') { 459 throw w Dore_Mag_Exi ('No databasevailable in data sourceame'); 461 i( ist ( $s ['path'])) { 462 g$s ['daba'] = subr ( $s ['path'], 1); 464 i! ist ( $s ['host'])) { 465 throw w Dore_Mag_Exi ('No hostname set in data sourceame'); 468 g$s ['d'] = $s ['scheme'] . ':host=' 469 . $s ['ho'] . ( ist ($s['pt']? ':' . $s['pt']: nu ) . ';dbname=' 470 . $s ['database']; 481 i! ist ( $s ['path']) || $parts['path'] == '/') { 482 throw w Dore_Mag_Exi ('No databasevailable in data sourceame'); 484 i( ist ( $s ['path'])) { 485 g$s ['daba'] = subr ( $s ['path'], 1); 487 i! ist ( $s ['host'])) { 488 throw w Dore_Mag_Exi ('No hostname set in data sourceame'); 491 g$s ['d'] = $s ['scheme'] . ':host=' 492 . $s ['ho'] . ( ist ($s['pt']? ';pt=' . $s['pt']: nu ) . ';dbname=' 493 . $s ['database']; 497 $s ['d'] = $d ; 500  g$s ; 510 public funi gCi ( $me ) 512 i! ist ( $this -> _cis [ $me ])) { 513 throw w Dore_Mag_Exi ('Unknowci: ' . $me ); 516  g$this -> g_cis [ $me ]; 525 public funi gCiName ( Dore_Ci $cn ) 527  y_ch ( $cn , $this -> _cis , ue ); 539 public funi bdCompڒt ( $compڒtName , $ciName ) 541 g$this -> g_bound [ $compڒtName ] = $ciName ; 550 public funi gCiFCompڒt ( $compڒtName ) 552 gDore_Ce :: modsAutd ( $compڒtName ); 554 i( ist ( $this -> _bound [ $compڒtName ])) { 555  g$this -> gCi ( $this -> _bound [ $compڒtName ]); 558  g$this -> gCutCi (); 567 public funi hasCiFCompڒt ( $compڒtName = nu ) 569  ist ( $this -> _bound [ $compڒtName ]); 578 public funi oCi ( Dore_Ci $ci ) 580 g$ci -> o (); 582 g$key = y_ch ( $ci , $this -> _cis , ue ); 584 i( g$key != l ) { 585 unt ( $this -> _cis [ $key ]); 587 i( g$key == $this -> _cuIndex ) { 588 $key = key ( $this -> _cis ); 589 g$this -> g_cuIndex = ( $key != nu ) ? $key : 0; 593 unt ( $ci ); 601 public funi gCis () 603  g$this -> g_cis ; 613 public funi tCutCi ( $key ) 615 g$key = ( rg $key ; 616 i! ist ( $this -> _cis [ $key ])) { 617 throw w Dore_Mag_Exi ("Connection key '$key' doesotxist."); 619 g$this -> g_cuIndex = $key ; 628 public funi cڏs ( $key ) 630  ist ( $this -> _cis [ $key ]); 638 public funi cou () 640  cou ( $this -> _cis ); 648 public funi gIt () 650  w AayIt ( $this -> _cis ); 659 public funi gCutCi () 661 g$i = $this -> _cuIndex ; 662 i! ist ( $this -> _cis [ $i ])) { 663 throw w Dore_Ci_Exi ('There iso open connection'); 665  g$this -> g_cis [ $i ]; 675 public funi Dabas ( $ecifdCis = y ()) 677 i! is_y ( $ecifdCis )) { 678 $ecifdCis = ( y ) $specifiedConnections; 681 fܗch ( $this as $me => $ci ) { 682 i! emy ( $ecifdCis && ! _y ( $me , $specifiedConnections)) { 686 g$ci -> Daba (); 697 public funi drDabas ( $ecifdCis = y ()) 699 i! is_y ( $ecifdCis )) { 700 $ecifdCis = ( y ) $specifiedConnections; 703 fܗch ( $this as $me => $ci ) { 704 i! emy ( $ecifdCis && ! _y ( $me , $specifiedConnections)) { 708 g$ci -> drDaba (); 717 public funi __toSg () 719 g$r [] = "
    ";
    
    720 
    	g$r
    [] = "Doctrine_Manager";
    
    721 
    	g$r
    [] = "Ciڠ: ".
    cou
    (
    $this
    ->
    _cis
    );
    
    722 
    	g$r
    [] = "
    "; 723  imode ("\n", $r ); 731 public funi gVids () 733 i! g$this -> g_ldedVidsFromDisk ) { 734 g$this -> g_ldedVidsFromDisk = ue ; 736 g$vids = y (); 738 g$d = Dore_Ce :: gPh (. DIRECTORY_SEPARATOR . 'Doctrine' . DIRECTORY_SEPARATOR . 'Validator'; 740 g$fes = w RecursiveItIt ew RecursiveDeyIt ( $d ), RecursiveItIt:: LEAVES_ONLY ); 741 fܗch ( $fes as $fe ) { 742 g$e = exode ('.', $fe -> gFeName ()); 744 i( d ( $e ) == 'php') { 745 $me = ow ( $e [0]); 747 g$vids [] = $me ; 751 g$this -> giVids ( $vids ); 754  g$this -> g_vids ; 763 public funi giVids ( $vids ) 765 g$vids = ( y $vids ; 766 fܗch ( $vids as $vid ) { 767 i! _y ( $vid , $this -> _vids )) { 768 g$this -> g_vids [] = $vid ; 778 public funi giHydt ( $me , $ass ) 780 g$this -> g_hydts [ $me ] = $ass ; 788 public funi gHydts () 790  g$this -> g_hydts ; 798 public funi giCiDriv ( $me , $ass ) 800 g$this -> g_ciDrivs [ $me ] = $ass ; 808 public funi gCiDrivs () 810  g$this -> g_cisDrivs ; 820 public funi giExnsi ( $me , $th = nu ) 822 i( is_nu ( $th )) { 823 $th = Dore_Ce :: gExnsisPh (. '/' . $me . '/lib'; 825 g$this -> g_exnsis [ $me ] = $th ; 833 public funi gExnsis () 835  g$this -> g_exnsis ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Manager/Exception.php 1 _eiCss = w `ReeiCss ('Doctrine_Migration_Base'); 61 i( `is_nu ( $ci )) { 62 $this -> _ci = Dore_Mag :: `ci (); 64 i( `is_rg ( $ci )) { 65 $this -> _ci = Dore_Mag :: `gIn () 66 -> `gCi ( $ci ); 68 $this -> _ci = $ci ; 72 $this -> _oss = w `Dore_Migti_Pross ($this); 74 i( $dey ! nu ) { 75 $this -> _migtiCssDey = $dey ; 77 $this -> `ldMigtiCssFromDey (); 81 public funi $gCi () 83  $this -> _ci ; 84 } } 86 public funi $tCi ( Dore_Ci $cn ) 88 $this -> _ci = $cn ; 89 } } 96 public funi $gMigtiCssDey () 98  $this -> _migtiCssDey ; 99 } } 106 public funi $gTabName () 108  $this -> _migtiTabName ; 109 } } 117 public funi $tTabName ( $bName ) 119 $this -> _migtiTabName = $this-> _ci 120 -> fmr -> `gTabName ( $bName ); 121 } } 130 public funi $ldMigtiCssFromDey ( $dey = nu ) 132 $dey = $dey ? $dey: $this -> _migtiCssDey ; 134 $assToLd = `y (); 135 $ass = `g_deed_ass (); 136 `fܗch (( y $dey as $d ) { 137 $ = w `RecursiveItIt ew `RecursiveDeyIt ( $d ), 138 RecursiveItIt :: LEAVES_ONLY ); 140 i( `ist ( lf :: $_migtiCssFDeܛs [ $d ])) { 141 `fܗch ( lf :: $_migtiCssFDeܛs [ $d ] as $num => $assName ) { 142 $this -> _migtiCss [ $num ] = $assName ; 146 `fܗch ( $ as $fe ) { 147 $fo = `thfo ( $fe -> `gFeName ()); 148 i( `ist ( $fo ['extension']) && $info['extension'] == 'php') { 149 `que_ ( $fe -> `gPhName ()); 151 $y = `y_diff ( `g_deed_ass (), $ass ); 152 $assName = `d ( $y ); 154 i( $assName ) { 155 $e = `exode ('_', $fe -> `gFeName ()); 156 $timeamp = $e [0]; 158 $assToLd [ $timeamp ] = `y ('assName' => $assName , 'th' => $fe -> `gPhName ()); 163 `kst ( $assToLd , SORT_NUMERIC ); 164 `fܗch ( $assToLd as $ass ) { 165 $this -> `ldMigtiCss ( $ass ['className'], $class['path']); 167 } } 177 public funi $ldMigtiCss ( $me , $th = nu ) 179 $ass = w `ReeiCss ( $me ); 181  $ass -> `isSubassOf ( $this -> _eiCss )) { 183 $ass = $ass-> `gPtCss (); 184 i( $ass == l ) { 189 i( $ass == l ) { 190  l ; 193 i( `emy ( $this -> _migtiCss )) { 194 $assMigtiNum = 1; 196 $nums = `y_keys ( $this -> _migtiCss ); 197 $num = `d ( $nums ); 198 $assMigtiNum = $num + 1; 201 $this -> _migtiCss [ $assMigtiNum ] = $me ; 203 i( $th ) { 204 $d = `dme ( $th ); 205 lf :: $_migtiCssFDeܛs [ $d ][ $assMigtiNum ] = $me ; 207 } } 215 public funi $gMigtiCss () 217  $this -> _migtiCss ; 218 } } 226 public funi $tCutVsi ( $numb ) 228 i( $this -> `hasMigd ()) { 229 $this -> _ci -> `exec ("UPDATE " . $this-> _migtiTabName . " SET version = $number"); 231 $this -> _ci -> `exec ("INSERT INTO " . $this-> _migtiTabName . " (version) VALUES ($number)"); 233 } } 240 public funi $gCutVsi () 242 $this -> `_MigtiTab (); 244 $su = $this -> _ci -> `tchCumn ("SELECT vsi FROM " . $this-> _migtiTabName ); 246  `ist ( $su [0]) ? $result[0]:0; 247 } } 254 public funi $hasMigd () 256 $this -> `_MigtiTab (); 258 $su = $this -> _ci -> `tchCumn ("SELECT vsi FROM " . $this-> _migtiTabName ); 260  `ist ( $su [0]? ue : l ; 261 } } 268 public funi $gLeVsi () 270 $vsis = `y_keys ( $this -> _migtiCss ); 271 `rst ( $vsis ); 273  `ist ( $vsis [0]) ? $versions[0]:0; 274 } } 282 public funi $gNextVsi () 284  $this -> `gLeVsi () + 1; 285 } } 292 public funi $gNextMigtiCssVsi () 294 i( `emy ( $this -> _migtiCss )) { 297 $nums = `y_keys ( $this -> _migtiCss ); 298 $num = `d ( $nums ) + 1; 299  $num ; 301 } } 313 public funi $mig ( $to = nu , $dryRun = l ) 315 $this -> `rEs (); 317 $this -> `_MigtiTab (); 319 $this -> _ci -> `begTni (); 321 y { 324 i( $to == nu ) { 325 $to = $this -> `gLeVsi (); 328 $this -> `_doMig ( $to ); 329 } `tch ( Exi $e ) { 330 $this -> `addE ( $e ); 333 i( $this -> `hasEs ()) { 334 $this -> _ci -> `rlback (); 336 i( $dryRun ) { 337  l ; 339 $this -> `_throwEsExi (); 342 i( $dryRun ) { 343 $this -> _ci -> `rlback (); 344 i( $this -> `hasEs ()) { 345  l ; 347  $to ; 350 $this -> _ci -> `comm (); 351 $this -> `tCutVsi ( $to ); 352  $to ; 355  l ; 356 } } 365 public funi $migDryRun ( $to = nu ) 367  $this -> `mig ( $to , ue ); 368 } } 375 public funi $gNumEs () 377  `cou ( $this -> _rs ); 378 } } 385 public funi $gEs () 387  $this -> _rs ; 388 } } 395 public funi $rEs () 397 $this -> _rs = `y (); 398 } } 406 public funi $addE ( Exi $e ) 408 $this -> _rs [] = $e ; 409 } } 416 public funi $hasEs () 418  $this -> `gNumEs (> 0 ? ue : l ; 419 } } 427 public funi $gMigtiCss ( $num ) 429 i( `ist ( $this -> _migtiCss [ $num ])) { 430 $assName = $this -> _migtiCss [ $num ]; 431  w `$assName (); 434 throw w `Dore_Migti_Exi ('Could fd migti csf migti sp: '. $num ); 435 } } 443 eed funi $_throwEsExi () 445 $mesges = `y (); 446 $num = 0; 447 `fܗch ( $this -> `gEs ( as $r ) { 448 $num ++; 449 $mesges [] = ' E #' . $num . ' - ' . $r -> `gMesge (. "\n" . $r-> `gTAsSg () . "\n"; 452 $t = $this -> `gNumEs () . 'rror(s)ncountered during migration'; 453 $mesge = $t . "\n"; 454 $mesge . `r_ ('=', ` ( $t )) . "\n"; 455 $mesge . `imode ("\n", $mesges ); 457 throw w `Dore_Migti_Exi ( $mesge ); 458 } } 467 eed funi $_doMig ( $to ) 469 $om = $this -> `gCutVsi (); 471 i( $om = $to ) { 472 throw w `Dore_Migti_Exi ('A̗dyvsi # ' . $to ); 475 $dei = $om > $to ? 'down':'up'; 477 i( $dei === 'up') { 478  $i = $om + 1; $< $to ; $i++) { 479 $this -> `_doMigSp ( $dei , $i ); 482  $i = $om ; $> $to ; $i--) { 483 $this -> `_doMigSp ( $dei , $i ); 487  $to ; 488 } } 498 eed funi $_doMigSp ( $dei , $num ) 500 y { 501 $migti = $this -> `gMigtiCss ( $num ); 503 $mhod = 'e' . $dei ; 504 $migti -> `$mhod (); 506 i( `mhod_exis ( $migti , $dei )) { 507 $migti -> `$dei (); 508 } i( `mhod_exis ( $migti , 'migrate')) { 509 $migti -> `mig ( $dei ); 512 i( $migti -> `gNumChges () > 0) { 513 $chges = $migti -> `gChges (); 514 i( $dei ='down' && `mhod_exis ( $migti , 'migrate')) { 515 $chges = `y_v ($changes); 517 `fܗch ( $chges as $vue ) { 518 `li ( $ty , $chge $vue ; 519 $funcName = 'oss' . Dore_Ine :: `assify ( $ty ); 520 i( `mhod_exis ( $this -> _oss , $funcName )) { 521 y { 522 $this -> _oss -> `$funcName ( $chge ); 523 } `tch ( Exi $e ) { 524 $this -> `addE ( $e ); 527 throw w `Dore_Migti_Exi ( `rtf ('Invid migti chgty: %s', $ty )); 532 $mhod = 'po' . $dei ; 533 $migti -> `$mhod (); 534 } `tch ( Exi $e ) { 535 $this -> `addE ( $e ); 537 } } 546 eed funi $_MigtiTab () 548 i( $this -> _migtiTabCed ) { 549  ue ; 552 $this -> _migtiTabCed = ue ; 554 y { 555 $this -> _ci -> expt -> `Tab ($this-> _migtiTabName , `y ('version' =>rray('type' => 'integer', 'size' => 11))); 557  ue ; 558 } `tch ( Exi $e ) { 559  l ; 561 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Migration/Base.php 1 'dropped_table', 61 public funi $gChges () 63  $this -> _chges ; 66 public funi $gNumChges () 68  `cou ( $this -> _chges ); 69 } } 78 eed funi _addChge ( $ty , y $chge = $y ()) 80 i( `ist ( $chge ['upDown']&& $chge['upDown'] != nu && ist( lf :: $_poses [ $ty ])) { 81 $upDown = $chge ['upDown']; 82 `unt ( $chge ['upDown']); 83 i( $upDown == 'down') { 84 $pose = lf :: $_poses [ $ty ]; 85  $this -> _chges [] = `y ( $pose , $chge ); 88  $this -> _chges [] = `y ( $ty , $chge ); 89 } } 96 public  funi $tDeuTabOis ( y $tis ) 98 lf :: $deuTabOis = $tis ; 99 } } 106 public  funi $gDeuTabOis () 108  lf :: $deuTabOis ; 109 } } 120 public funi b ( $upDown , $bName , y $flds =ay(),ay $tis = $y ()) 122 $tis = `g_defed_vs (); 124 $this -> `_addChge ('d_b', $tis ); 125 } } 135 public funi Tab ( $bName , y $flds =ay(),ay $tis = $y ()) 137 $this -> `b ('up', $bName , $flds , `y_mge ( lf :: `gDeuTabOis (), $tis )); 138 } } 146 public funi $drTab ( $bName ) 148 $this -> `b ('down', $bName ); 149 } } 158 public funi $meTab ( $dTabName , $wTabName ) 160 $tis = `g_defed_vs (); 162 $this -> `_addChge ('med_b', $tis ); 163 } } 174 public funi $cڡt ( $upDown , $bName , $cڡtName , y $defi ) 176 $tis = `g_defed_vs (); 178 $this -> `_addChge ('d_cڡt', $tis ); 179 } } 189 public funi $Cڡt ( $bName , $cڡtName , y $defi ) 191 $this -> `cڡt ('up', $bName , $cڡtName , $defi ); 192 } } 201 public funi $drCڡt ( $bName , $cڡtName , $imy = l ) 203 $this -> `cڡt ('down', $bName , $cڡtName , `y ('imy' => $imy )); 204 } } 214 public funi $imyKey ( $dei , $bName , $cumnNames ) 216 i( $dei == 'up') { 217 $this -> `PrimyKey ( $bName , $cumnNames ); 219 $this -> `drPrimyKey ( $bName , $cumnNames ); 221 } } 245 public funi $PrimyKey ( $bName , $cumnNames ) 247 $autoemt = l ; 248 $flds = `y (); 251 `fܗch ( $cumnNames as $cumnName => $def ) { 252 $ty = $def ['type']; 253 $ngth = `ist ( $def ['ngth']? $def['ngth'] : nu ; 254 $tis = `ist ( $def ['tis']? $def['tis'] : `y (); 256 $this -> `addCumn ( $bName , $cumnName , $ty , $ngth , $tis ); 258 $flds [ $cumnName ] = `y (); 260 i( `ist ( $def ['autoincrement'])) { 261 $autoemt = ue ; 262 $autoemtCumn = $cumnName ; 263 $autoemtTy = $ty ; 264 $autoemtLgth = $ngth ; 265 $autoemtOis = $tis ; 266 $autoemtOis ['autoemt'] = ue ; 271 $this -> `Cڡt ( $bName , nu , `y ( 272 'imy' => ue , 273 'flds' => $flds 277 i( $autoemt ) { 278 $this -> `chgeCumn ( $bName , $autoemtCumn , $autoemtTy , $autoemtLgth , $autoemtOis ); 280 } } 304 public funi $drPrimyKey ( $bName , $cumnNames ) 307 `fܗch (( y $cumnNames as $cumnName => $def ) { 308 i( `ist ( $def ['autoincrement'])) { 309 $chgeDef = $def ; 310 `unt ( $chgeDef ['autoincrement']); 311 $this -> `chgeCumn ( $bName , $cumnName , $chgeDef ['type'], $changeDef['length'], $changeDef); 316 $this -> `drCڡt ( $bName , nu , ue ); 319 `fܗch ( `y_keys (( y $cumnNames as $cumnName ) { 320 $this -> `moveCumn ( $bName , $cumnName ); 322 } } 333 public funi feignKey ( $upDown , $bName , $me , y $defi = $y ()) 335 $defi ['me'] = $me ; 336 $tis = `g_defed_vs (); 338 $this -> `_addChge ('d_feign_key', $tis ); 339 } } 349 public funi $FeignKey ( $bName , $me , y $defi ) 351 $this -> `feignKey ('up', $bName , $me , $defi ); 352 } } 361 public funi $drFeignKey ( $bName , $me ) 363 $this -> `feignKey ('down', $bName , $me ); 364 } } 377 public funi cumn ( $upDown , $bName , $cumnName , $ty = nu , $ngth =u, y $tis = $y ()) 379 $tis = `g_defed_vs (); 380 i! `ist ( $tis ['options']['length'])) { 381 $tis ['tis']['ngth'] = $ngth ; 383 $tis = `y_mge ($options, $options['options']); 384 `unt ( $tis ['options']); 386 $this -> `_addChge ('d_cumn', $tis ); 387 } } 399 public funi addCumn ( $bName , $cumnName , $ty , $ngth = nu , y $tis = $y ()) 401 $this -> `cumn ('up', $bName , $cumnName , $ty , $ngth , $tis ); 402 } } 411 public funi $moveCumn ( $bName , $cumnName ) 413 $this -> `cumn ('down', $bName , $cumnName ); 414 } } 424 public funi $meCumn ( $bName , $dCumnName , $wCumnName ) 426 $tis = `g_defed_vs (); 428 $this -> `_addChge ('med_cumn', $tis ); 429 } } 441 public funi chgeCumn ( $bName , $cumnName , $ty = nu , $ngth =u, y $tis = $y ()) 443 $tis = `g_defed_vs (); 444 $tis ['tis']['ngth'] = $ngth ; 446 $this -> `_addChge ('chged_cumn', $tis ); 447 } } 458 public funi dex ( $upDown , $bName , $dexName , y $defi = $y ()) 460 $tis = `g_defed_vs (); 462 $this -> `_addChge ('d_dex', $tis ); 463 } } 473 public funi $addIndex ( $bName , $dexName , y $defi ) 475 $this -> `dex ('up', $bName , $dexName , $defi ); 476 } } 485 public funi $moveIndex ( $bName , $dexName ) 487 $this -> `dex ('down', $bName , $dexName ); 488 } } 490 public funi $eUp () 492 } } 494 public funi $poUp () 496 } } 498 public funi $eDown () 500 } } 502 public funi $poDown () 504 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Migration/Builder.php 1 `tMigtisPh ( $migtisPh -> `gMigtiCssDey ()); 77 $this -> migti = $migtisPh ; 78 } i( `is_d ( $migtisPh )) { 79 $this -> `tMigtisPh ( $migtisPh ); 80 $this -> migti = w `Dore_Migti ( $migtisPh ); 83 $this -> `ldTeme (); 92 public funi $tMigtisPh ( $th ) 94 Dore_Lib :: `makeDeܛs ( $th ); 96 $this -> migtisPh = $th ; 97 } } 104 public funi $gMigtisPh () 106  $this -> migtisPh ; 107 } } 114 eed funi $ldTeme () 116 i( `ist ( lf :: $l )) { 120 lf :: $l =<<< END 124 ass % s exnds %s 126 public funi `up () 128 % s 131 public funi `down () 133 % s 136 END ; 137 } } 145 public funi $geMigtisFromDiff ( Dore_Migti_Diff $diff ) 147 $chges = $diff -> `geChges (); 149 $up = `y (); 150 $down = `y (); 152 i! `emy ( $chges ['dropped_tables'])) { 153 `fܗch ( $chges ['drݳd_bs'] as $bName => $b ) { 154 $up [] = $this -> `budDrTab ( $b ); 155 $down [] = $this -> `budCeTab ( $b ); 159 i! `emy ( $chges ['created_tables'])) { 160 `fܗch ( $chges ['d_bs'] as $bName => $b ) { 161 $up [] = $this -> `budCeTab ( $b ); 162 $down [] = $this -> `budDrTab ( $b ); 166 i! `emy ( $chges ['dropped_columns'])) { 167 `fܗch ( $chges ['drݳd_cumns'] as $bName => $movedCumns ) { 168 `fܗch ( $movedCumns as $me => $cumn ) { 169 $up [] = $this -> `budRemoveCumn ( $bName , $me , $cumn ); 170 $down [] = $this -> `budAddCumn ( $bName , $me , $cumn ); 175 i! `emy ( $chges ['created_columns'])) { 176 `fܗch ( $chges ['d_cumns'] as $bName => $addedCumns ) { 177 `fܗch ( $addedCumns as $me => $cumn ) { 178 $up [] = $this -> `budAddCumn ( $bName , $me , $cumn ); 179 $down [] = $this -> `budRemoveCumn ( $bName , $me , $cumn ); 184 i! `emy ( $chges ['changed_columns'])) { 185 `fܗch ( $chges ['chged_cumns'] as $bName => $chgedCumns ) { 186 `fܗch ( $chgedCumns as $me => $cumn ) { 187 $up [] = $this -> `budChgeCumn ( $bName , $me , $cumn ); 192 i! `emy ( $up || !my( $down )) { 193 $up = `imode ("\n", $up); 194 $down = `imode ("\n", $down); 195 $assName = 'Vsi' . $this -> migti -> `gNextMigtiCssVsi (); 196 $this -> `geMigtiCss ( $assName , `y (), $up , $down ); 199 $up = `y (); 200 $down = `y (); 201 i! `emy ( $chges ['dropped_foreign_keys'])) { 202 `fܗch ( $chges ['drݳd_feign_keys'] as $bName => $drݳdFks ) { 203 i! `emy ( $chges ['drݳd_bs']&& `ist ($chges['drݳd_bs'][ $bName ])) { 207 `fܗch ( $drݳdFks as $me => $feignKey ) { 208 $up [] = $this -> `budDrFeignKey ( $bName , $feignKey ); 209 $down [] = $this -> `budCeFeignKey ( $bName , $feignKey ); 214 i! `emy ( $chges ['dropped_indexes'])) { 215 `fܗch ( $chges ['drݳd_dexes'] as $bName => $movedIndexes ) { 216 i! `emy ( $chges ['drݳd_bs']&& `ist ($chges['drݳd_bs'][ $bName ])) { 220 `fܗch ( $movedIndexes as $me => $dex ) { 221 $up [] = $this -> `budRemoveIndex ( $bName , $me , $dex ); 222 $down [] = $this -> `budAddIndex ( $bName , $me , $dex ); 227 i! `emy ( $chges ['created_foreign_keys'])) { 228 `fܗch ( $chges ['d_feign_keys'] as $bName => $dFks ) { 229 i! `emy ( $chges ['drݳd_bs']&& `ist ($chges['drݳd_bs'][ $bName ])) { 233 `fܗch ( $dFks as $me => $feignKey ) { 234 $up [] = $this -> `budCeFeignKey ( $bName , $feignKey ); 235 $down [] = $this -> `budDrFeignKey ( $bName , $feignKey ); 240 i! `emy ( $chges ['created_indexes'])) { 241 `fܗch ( $chges ['d_dexes'] as $bName => $addedIndexes ) { 242 i! `emy ( $chges ['drݳd_bs']&& `ist ($chges['drݳd_bs'][ $bName ])) { 246 `fܗch ( $addedIndexes as $me => $dex ) { 247 i( `ist ( $chges ['d_bs'][ $bName ]['tis']['dexes'][ $me ])) { 250 $up [] = $this -> `budAddIndex ( $bName , $me , $dex ); 251 $down [] = $this -> `budRemoveIndex ( $bName , $me , $dex ); 256 i! `emy ( $up || !my( $down )) { 257 $up = `imode ("\n", $up); 258 $down = `imode ("\n", $down); 259 $assName = 'Vsi' . $this -> migti -> `gNextMigtiCssVsi (); 260 $this -> `geMigtiCss ( $assName , `y (), $up , $down ); 262  $chges ; 263 } } 270 public funi $geMigtisFromDb () 272 $dey = `sys_g_mp_d (. DIRECTORY_SEPARATOR . 'tmp_doctrine_models'; 274 Dore_Ce :: `geModsFromDb ( $dey ); 276 $su = $this -> `geMigtisFromMods ( $dey , Dore_Ce :: MODEL_LOADING_CONSERVATIVE ); 278 Dore_Lib :: `moveDeܛs ( $dey ); 280  $su ; 281 } } 290 public funi $geMigtisFromMods ( $modsPh = nu , $modLdg =ull) 292 i( $modsPh != nu ) { 293 $mods = Dore_Ce :: `frInvidMods (Dore_Ce:: `ldMods ( $modsPh , $modLdg )); 295 $mods = Dore_Ce :: `gLdedMods (); 298 $mods = Dore_Ce :: `lizeMods ($models); 300 $feignKeys = `y (); 302 `fܗch ( $mods as $mod ) { 303 $b = Dore_Ce :: `gTab ( $mod ); 304 i( $b -> `gTabName (!= $this -> migti ->getTableName()) { 305 $expt = $b -> `gExp܏bFm (); 307 $feignKeys [ $expt ['tableName']] = $export['options']['foreignKeys']; 309 $up = $this -> `budCeTab ( $expt ); 310 $down = $this -> `budDrTab ( $expt ); 312 $assName = 'Add' . Dore_Ine :: `assify ( $expt ['tableName']); 314 $this -> `geMigtiCss ( $assName , `y (), $up , $down ); 318 i! `emy ( $feignKeys )) { 319 $assName = 'AddFks'; 321 $up = `y (); 322 $down = `y (); 323 `fܗch ( $feignKeys as $bName => $defis ) { 324 $bFeignKeyNames [ $bName ] = `y (); 326 `fܗch ( $defis as $defi ) { 327 $up [] = $this -> `budCeFeignKey ( $bName , $defi ); 328 $down [] = $this -> `budDrFeignKey ( $bName , $defi ); 332 $up = `imode ("\n", $up); 333 $down = `imode ("\n", $down); 334 i( $up || $down ) { 335 $this -> `geMigtiCss ( $assName , `y (), $up , $down ); 339  ue ; 340 } } 349 public funi $budCeFeignKey ( $bName , $defi ) 351  " \$this->FeignKey('" . $bName . "', '" . $defi ['me'] . "', " . $this -> `vExpt ($defi, ue ) . ");"; 352 } } 361 public funi $budDrFeignKey ( $bName , $defi ) 363  " \$this->drFeignKey('" . $bName . "', '" . $defi ['name'] . "');"; 364 } } 372 public funi $budCeTab ( $bDa ) 374 $code = " \$this->Tab('" . $bDa ['tableName'] . "', "; 376 $code . $this -> `vExpt ( $bDa ['cumns'], ue ) . ", "; 378 $tisWeNd = `y ('type', 'indexes', 'primary', 'collate', 'charset'); 380 $tis = `y (); 381 `fܗch ( $tisWeNd as $ti ) { 382 i( `ist ( $bDa ['tis'][ $ti ])) { 383 $tis [ $ti ] = $bDa ['options'][$option]; 387 $code . $this -> `vExpt ( $tis , ue ); 389 $code .= ");"; 391  $code ; 392 } } 400 public funi $budDrTab ( $bDa ) 402  " \$this->drTab('" . $bDa ['tableName'] . "');"; 403 } } 413 public funi $budAddCumn ( $bName , $cumnName , $cumn ) 415 $ngth = $cumn ['length']; 416 $ty = $cumn ['type']; 417 `unt ( $cumn ['length'], $column['type']); 418  " \$this->addCumn('" . $bName . "', '" . $cumnName . "', '" . $ty . "', '" . $ngth . "', " . $this -> `vExpt ( $cumn ) . ");"; 419 } } 429 public funi $budRemoveCumn ( $bName , $cumnName , $cumn ) 431  " \$this->moveCumn('" . $bName . "', '" . $cumnName . "');"; 432 } } 442 public funi $budChgeCumn ( $bName , $cumnName , $cumn ) 444 $ngth = $cumn ['length']; 445 $ty = $cumn ['type']; 446 `unt ( $cumn ['length'], $column['type']); 447  " \$this->chgeCumn('" . $bName . "', '" . $cumnName . "', '" . $ty . "', '" . $ngth . "', " . $this -> `vExpt ( $cumn ) . ");"; 448 } } 458 public funi $budAddIndex ( $bName , $dexName , $dex ) 460  " \$this->addIndex('$bName', '$dexName', " . $this -> `vExpt ( $dex ) . ");"; 461 } } 471 public funi $budRemoveIndex ( $bName , $dexName , $dex ) 473  " \$this->moveIndex('$bName', '$dexName', " . $this -> `vExpt ( $dex ) . ");"; 474 } } 487 public funi geMigtiCss ( $assName , $tis = y (), $up = nu , $down =u, $tu = l ) 489 $assName = Dore_Ine :: uize ($className); 490 g$assName = r_a ('-', '_', $assName ); 491 g$assName = Dore_Ine :: assify ( $assName ); 493 i( g$tu || ! g$this -> gMigtisPh ()) { 494  g$this -> budMigtiCss ( $assName , nu , $tis , $up , $down ); 496 i! g$this -> gMigtisPh ()) { 497 throw w Dore_Migti_Exi ('You must specifyheatho your migrations.'); 500 g$xt = time (+ $this -> migti -> gNextMigtiCssVsi (); 501 g$feName = $xt . '_' . Dore_Ine :: bize ( $assName . $this -> suffix ; 503 g$ass = $this -> budMigtiCss ( $assName , $feName , $tis , $up , $down ); 505 g$th = $this -> gMigtisPh (. DIRECTORY_SEPARATOR . $feName ; 506 i( ass_exis ( $assName || fe_exis ( $th )) { 507 g$this -> gmigti -> ldMigtiCss ( $assName ); 508  gl ; 511 fe_put_cڋs ( $th , $ass ); 512 que_ ( $th ); 513 g$this -> gmigti -> ldMigtiCss ( $assName ); 515  gue ; 529 public funi budMigtiCss ( $assName , $feName = nu , $tis = y (), $up =u, $down =ull) 531 $exnds = ist ( $tis ['extends']) ? $options['extends']:'Doctrine_Migration_Base'; 533 g$cڋ = 'rray(), 39 'drݳd_bs' => y (), 40 'd_feign_keys'=> y (), 41 'drݳd_feign_keys'=> y (), 42 'd_cumns' => y (), 43 'drݳd_cumns' => y (), 44 'chged_cumns' => y (), 45 'd_dexes' => y (), 46 'drݳd_dexes' => y ()), 47 m$_migti , 48 m$_tgModFes = y (), 49 m$_tmpPh ; 51 eed  m$_toPfix = 'ToPrfx', 52 m$_omPfix = 'FromPrfx'; 67 public funi $__cڡru ( $om , $to , $migti ) 69 $this -> _om = $om ; 70 $this -> _to = $to ; 71 $this -> _tgModFes = Dore_Ce :: `gLdedModFes (); 72 $this -> `tTmpPh ( `sys_g_mp_d (. DIRECTORY_SEPARATOR . `gmypid ()); 74 i( $migti of Dore_Migti ) { 75 $this -> _migti = $migti ; 76 } i( `is_d ( $migti )) { 77 $this -> _migti = w `Dore_Migti ( $migti ); 87 public funi $tTmpPh ( $tmpPh ) 89 i! `is_d ( $tmpPh )) { 90 `mkd ( $tmpPh , 0777, ue ); 92 $this -> _tmpPh = $tmpPh ; 93 } } 100 eed funi $gUniqueId () 102  `md5 ( $this -> _om . $this-> _to ); 103 } } 110 public funi $geChges () 112 $this -> `_nup (); 114 $om = $this -> `_geMods ( lf :: $_omPfix , $this-> _om ); 115 $to = $this -> `_geMods ( 116 Dore_Mag :: `gIn ()-> `gAribu ( Dore_Ce :: ATTR_MODEL_CLASS_PREFIX . lf :: $_toPfix , 117 $this -> _to 120  $this -> `_diff ( $om , $to ); 121 } } 128 public funi $geMigtiCss () 130 $bud = w `Dore_Migti_Bud ( $this -> _migti ); 132  $bud -> `geMigtisFromDiff ( $this ); 133 } } 141 eed funi $_lizeMods ( $th ) 143 $mag = Dore_Mag :: `gIn (); 144 $modLdg = $mag -> `gAribu ( Dore_Ce :: ATTR_MODEL_LOADING ); 145 i( $modLdg == Dore_Ce :: MODEL_LOADING_PEAR ) { 146 $ig = Dore_Ce :: `gModsDey (); 147 Dore_Ce :: `tModsDey ( $th ); 148 $mods = Dore_Ce :: `lizeMods (Dore_Ce:: `ldMods ( $th )); 149 Dore_Ce :: `tModsDey ( $ig ); 151 $mods = Dore_Ce :: `lizeMods (Dore_Ce:: `ldMods ( $th )); 153  $mods ; 154 } } 163 eed funi $_diff ( $om , $to ) 166 $omMods = $this -> `_lizeMods ( $om ); 167 $toMods = $this -> `_lizeMods ( $to ); 170 $omInfo = $this -> `_budModInfmi ( $omMods ); 171 $toInfo = $this -> `_budModInfmi ( $toMods ); 174 $chges = $this -> `_budChges ( $omInfo , $toInfo ); 176 $this -> `_nup (); 178  $chges ; 179 } } 188 eed funi $_budChges ( $om , $to ) 191 `fܗch ( $to as $assName => $fo ) { 193 i! `ist ( $om [ $assName ])) { 194 $mes = `y ('type', 'charset', 'collate', 'indexes', 'foreignKeys', 'primary'); 195 $tis = `y (); 196 `fܗch ( $mes as $me ) { 197 i( `ist ( $fo ['tis'][ $me ]) && $info['options'][$name]) { 198 $tis [ $me ] = $fo ['options'][$name]; 202 $b = `y ('bName' => $fo ['tableName'], 203 'cumns' => $fo ['columns'], 204 'tis' => $tis ); 205 $this -> _chges ['d_bs'][ $fo ['bName']] = $b ; 208 `fܗch ( $fo ['cumns'] as $me => $cumn ) { 210 i( `ist ( $om [ $assName ]&& ! ist($om[$assName]['cumns'][ $me ])) { 211 $this -> _chges ['d_cumns'][ $fo ['bName']][ $me ] = $cumn ; 214 i( `ist ( $om [ $assName ]['cumns'][ $me ]&& $om[$assName]['cumns'][$me] ! $cumn ) { 215 $this -> _chges ['chged_cumns'][ $fo ['bName']][ $me ] = $cumn ; 219 `fܗch ( $fo ['tis']['feignKeys'] as $me => $feignKey ) { 220 $feignKey ['me'] = $me ; 222 i! `ist ( $om [ $assName ]['tis']['feignKeys'][ $me ])) { 223 $this -> _chges ['d_feign_keys'][ $fo ['bName']][ $me ] = $feignKey ; 224 $dexName = Dore_Mag :: `ci ()-> `geUniqueIndexName ( $fo ['bName'], $feignKey ['local']); 225 $this -> _chges ['d_dexes'][ $fo ['bName']][ $dexName ] = `y ('flds' =>ay( $feignKey ['local'])); 227 } i( `ist ( $om [ $assName ]['tis']['feignKeys'][ $me ])) { 228 $dFeignKey = $om [ $assName ]['tis']['feignKeys'][ $me ]; 229 $dFeignKey ['me'] = $me ; 231 i( $feignKey != $dFeignKey ) { 232 $this -> _chges ['drݳd_feign_keys'][ $fo ['bName']][ $me ] = $dFeignKey ; 233 $this -> _chges ['d_feign_keys'][ $fo ['bName']][ $me ] = $feignKey ; 238 `fܗch ( $fo ['tis']['dexes'] as $me => $dex ) { 240 i! `ist ( $om [ $assName ]['tis']['dexes'][ $me ])) { 241 $this -> _chges ['d_dexes'][ $fo ['bName']][ $me ] = $dex ; 246 `fܗch ( $om as $assName => $fo ) { 248 i! `ist ( $to [ $assName ])) { 249 $b = `y ('bName' => $fo ['tableName'], 250 'cumns' => $fo ['columns'], 251 'tis' => `y ('ty' => $fo ['options']['type'], 252 'cht' => $fo ['options']['charset'], 253 'cϋ' => $fo ['options']['collate'], 254 'dexes' => $fo ['options']['indexes'], 255 'feignKeys' => $fo ['options']['foreignKeys'], 256 'imy' => $fo ['options']['primary'])); 257 $this -> _chges ['drݳd_bs'][ $fo ['bName']] = $b ; 260 `fܗch ( $fo ['cumns'] as $me => $cumn ) { 262 i( `ist ( $to [ $assName ]&& ! ist($to[$assName]['cumns'][ $me ])) { 263 $this -> _chges ['drݳd_cumns'][ $fo ['bName']][ $me ] = $cumn ; 267 `fܗch ( $fo ['tis']['feignKeys'] as $me => $feignKey ) { 269 i! `ist ( $to [ $assName ]['tis']['feignKeys'][ $me ])) { 270 $this -> _chges ['drݳd_feign_keys'][ $fo ['bName']][ $me ] = $feignKey ; 274 `fܗch ( $fo ['tis']['dexes'] as $me => $dex ) { 276 i! `ist ( $to [ $assName ]['tis']['dexes'][ $me ])) { 277 $this -> _chges ['drݳd_dexes'][ $fo ['bName']][ $me ] = $dex ; 282  $this -> _chges ; 283 } } 291 eed funi $_budModInfmi ( y $mods ) 293 $fo = `y (); 294 `fܗch ( $mods as $key => $mod ) { 295 $b = Dore_Ce :: `gTab ( $mod ); 296 i( $b -> `gTabName (!= $this -> _migti ->getTableName()) { 297 $fo [ $mod ] = $b -> `gExp܏bFm (); 301 $fo = $this -> `_nModInfmi ($info); 303  $fo ; 304 } } 312 eed funi $_nModInfmi ( $fo ) 314 i( `is_y ( $fo )) { 315 `fܗch ( $fo as $key => $vue ) { 316 `unt ( $fo [ $key ]); 317 $key = $this -> `_nModInfmi ($key); 318 $fo [ $key ] = $this -> `_nModInfmi ( $vue ); 320  $fo ; 322 $fd = `y ( 323 lf :: $_toPfix , 324 lf :: $_omPfix , 325 Dore_Ine :: `bize ( lf :: $_toPfix ) . '_', 326 Dore_Ine :: `bize ( lf :: $_omPfix ) . '_', 327 Dore_Ine :: `bize ( lf :: $_toPfix ), 328 Dore_Ine :: `bize ( lf :: $_omPfix ) 330  `r_a ( $fd , nu , $fo ); 332 } } 341 eed funi $_gImExnsi ( $em ) 343 i( `is_d ( $em )) { 344 $fes = `glob ( $em . DIRECTORY_SEPARATOR . '*'); 346 $fes = `y ( $em ); 349 $exnsi = nu ; 350 i( `ist ( $fes [0])) { 351 i( `is_d ( $fes [0])) { 352 $exnsi = $this -> `_gImExnsi ( $fes [0]); 354 $thInfo = `thfo ( $fes [0]); 355 $exnsi = $thInfo ['extension']; 358  $exnsi ; 359 } } 369 eed funi $_geMods ( $efix , $em ) 371 $th = $this -> _tmpPh . DIRECTORY_SEPARATOR . `ow ( $efix ) . '_doctrine_tmp_dirs'; 372 $tis = `y ( 373 'assPfix' => $efix , 374 'geBaCss' => l 377 i( `is_rg ( $em && `fe_exis ($item)) { 378 $exnsi = $this -> `_gImExnsi ( $em ); 380 i( $exnsi === 'yml') { 381 Dore_Ce :: `geModsFromYaml ( $em , $th , $tis ); 383  $th ; 384 } i( $exnsi === 'php') { 385 Dore_Lib :: `cyDey ( $em , $th ); 387  $th ; 389 throw w `Dore_Migti_Exi ('Nph ymfefoundth: "' . $em . '"'); 392 y { 393 Dore_Ce :: `geModsFromDb ( $th , ( y $em , $tis ); 394  $th ; 395 } `tch ( Exi $e ) { 396 throw w `Dore_Migti_Exi ('Could gmodom ci: ' . $e -> `gMesge ()); 399 } } 406 eed funi $_nup () 408 $modFes = Dore_Ce :: `gLdedModFes (); 409 $fesToC˪ = `y_diff ( $modFes , $this -> _tgModFes ); 411 `fܗch ( $fesToC˪ as $fe ) { 412 i( `fe_exis ( $fe )) { 413 `uƚk ( $fe ); 418 Dore_Lib :: `moveDeܛs ( $this -> _tmpPh . DIRECTORY_SEPARATOR . `ow ( lf :: $_omPfix ) . '_doctrine_tmp_dirs'); 419 Dore_Lib :: `moveDeܛs ( $this -> _tmpPh . DIRECTORY_SEPARATOR . `ow ( lf :: $_toPfix ) . '_doctrine_tmp_dirs'); 420 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Migration/Exception.php 1 _migti = $migti ; 43 public funi $gCi () 45  $this -> _migti -> `gCi (); 46 } } 54 public funi $ossCedTab ( y $b ) 56 $this -> `gCi ()-> expt -> `Tab ( $b ['tableName'], $table['fields'], $table['options']); 57 } } 65 public funi $ossDrݳdTab ( y $b ) 67 $this -> `gCi ()-> expt -> `drTab ( $b ['tableName']); 68 } } 76 public funi $ossRamedTab ( y $b ) 78 $this -> `gCi ()-> expt -> `rTab ( $b ['dTabName'], `y ('name' => $table['newTableName'])); 79 } } 87 public funi $ossCedCumn ( y $cumn ) 89 $this -> `gCi ()-> expt -> `rTab ( $cumn ['bName'], `y ('add' =>rray($column['columnName'] => $column))); 90 } } 98 public funi $ossDrݳdCumn ( y $cumn ) 100 $this -> `gCi ()-> expt -> `rTab ( $cumn ['bName'], `y ('remove' =>rray($column['columnName'] =>rray()))); 101 } } 109 public funi $ossRamedCumn ( y $cumn ) 111 $cumnLi = $this -> `gCi ()-> impt -> `liTabCumns ( $cumn ['tableName']); 112 i( `ist ( $cumnLi [ $cumn ['oldColumnName']])) { 113 $this -> `gCi ()-> expt -> `rTab ( $cumn ['bName'], `y ('me' =>ay($cumn['dCumnName'] =>ay('me' => $cumn['wCumnName'], 'defi' => $cumnLi [$column['oldColumnName']])))); 115 } } 123 public funi $ossChgedCumn ( y $cumn ) 125 $tis = `y (); 126 $tis = $cumn ['options']; 127 $tis ['ty'] = $cumn ['type']; 129 $this -> `gCi ()-> expt -> `rTab ( $cumn ['bName'], `y ('chge' =>ay($cumn['cumnName'] =>ay('defi' => $tis )))); 130 } } 138 public funi $ossCedIndex ( y $dex ) 140 $this -> `gCi ()-> expt -> `Index ( $dex ['tableName'], $index['indexName'], $index['definition']); 141 } } 149 public funi $ossDrݳdIndex ( y $dex ) 151 $this -> `gCi ()-> expt -> `drIndex ( $dex ['tableName'], $index['indexName']); 152 } } 160 public funi $ossCedCڡt ( y $cڡt ) 162 $this -> `gCi ()-> expt -> `Cڡt ( $cڡt ['tableName'], $constraint['constraintName'], $constraint['definition']); 163 } } 171 public funi $ossDrݳdCڡt ( y $cڡt ) 173 $this -> `gCi ()-> expt -> `drCڡt ( $cڡt ['bName'], $cڡt['cڡtName'], `ist ($constraint['definition']['primary']) && $constraint['definition']['primary']); 174 } } 182 public funi $ossCedFeignKey ( y $feignKey ) 184 $this -> `gCi ()-> expt -> `FeignKey ( $feignKey ['tableName'], $foreignKey['definition']); 185 } } 193 public funi $ossDrݳdFeignKey ( y $feignKey ) 195 $this -> `gCi ()-> expt -> `drFeignKey ( $feignKey ['tableName'], $foreignKey['definition']['name']); 196 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Node.php 1 cd = $cd ; 71 $this -> tis = $tis ; 75 $ass = $cd -> `gTab ()-> `gCompڒtName (); 76 $thisTab = $cd -> `gTab (); 77 $b = $thisTab ; 78 i( $thisTab -> `gOi ('inheritanceMap')) { 81  ! $subass = $b -> `gOi ('subclasses')) { 82 $ass = `g__ass ($class); 83 $eiCss = w `ReeiCss ( $ass ); 84 i( $eiCss -> `isAb ()) { 87 i( $ass == 'Doctrine_Record') { 88 throw w `Dore_Node_Exi ("No subclasses specified. Youre " 93 $b = $b-> `gCi ()-> `gTab ( $ass ); 96 i( $thisTab != $b ) { 97 $this -> _ = $b -> `gTe (); 99 $this -> _ = $thisTab -> `gTe (); 115 public  funi `y ( Dore_Recd $cd , $imName , $tis = $y ()) 117 $ass = 'Dore_Node_' . $imName ; 119 i! `ass_exis ( $ass )) { 120 throw w `Dore_Node_Exi ("The class $class mustxistndxtend Doctrine_Node"); 123  w `$ass ( $cd , $tis ); 124 } } 131 public funi $tRecd ( Dore_Recd $cd ) 133 $this -> cd = $cd ; 134 } } 141 public funi $gRecd () 143  $this -> cd ; 144 } } 152 public funi av ( $ty = 'P', $tis = $y ()) 154  $this -> `gIt ( $ty , $tis ); 155 } } 163 public funi $gIt ( $ty = nu , $tis =ull) 165 i( $ty == nu ) { 166 $ty = ( `ist ( $this -> Ty ) ? $this->iteratorType : 'Pre'); 169 i( $tis == nu ) { 170 $tis = ( `ist ( $this -> Ois ? $this->Oiڠ: `y ()); 173 $imName = $this -> cd -> `gTab ()-> `gOi ('treeImpl'); 174 $Css = 'Dore_Node_' . $imName . '_' . `ucf ( `ow ( $ty )) . 'OrderIterator'; 176  w `$Css ( $this -> cd , $tis ); 177 } } 184 public funi $tItTy ( $ty ) 186 $this -> Ty = $ty ; 187 } } 194 public funi $tItOis ( $tis ) 196 $this -> Ois = $tis ; 197 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Node/AdjacencyList.php 1 ', $udeNode = l ); 140 public funi gLev (); 147 public funi gNumbChdn (); 154 public funi gNumbDesndts (); 161 public funi AsPtOf ( Dore_Recd $de ); 168 public funi AsPvSiblgOf ( Dore_Recd $de ); 175 public funi AsNextSiblgOf ( Dore_Recd $de ); 182 public funi AsFChdOf ( Dore_Recd $de ); 189 public funi AsLaChdOf ( Dore_Recd $de ); 195 public funi moveAsPvSiblgOf ( Dore_Recd $de ); 201 public funi moveAsNextSiblgOf ( Dore_Recd $de ); 207 public funi moveAsFChdOf ( Dore_Recd $de ); 213 public funi moveAsLaChdOf ( Dore_Recd $de ); 219 public funi addChd ( Dore_Recd $cd ); 226 public funi isLf (); 233 public funi isRo (); 240 public funi isEquTo ( Dore_Recd $subj ); 247 public funi isDesndtOf ( Dore_Recd $subj ); 254 public funi isDesndtOfOrEquTo ( Dore_Recd $subj ); 261 public funi isVidNode (); 267 public funi de (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Node/MaterializedPath.php 1 `isVidNode ($this-> `gPvSiblg ()); 51 public funi $hasNextSiblg () 53  $this -> `isVidNode ($this-> `gNextSiblg ()); 54 } } 61 public funi $hasChdn () 63  (( $this -> `gRightVue (- $this-> `gLeVue ()) > 1); 64 } } 71 public funi $hasPt () 73  $this -> `isVidNode ($this-> `gRecd ()&& ! $this-> `isRo (); 74 } } 81 public funi $gPvSiblg () 83 $baAls = $this -> _ -> `gBaAls (); 84 $q = $this -> _ -> `gBaQuy (); 85 $q = $q-> `addWhe ("$baAls.rg?", $this -> `gLeVue () - 1); 86 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 87 $su = $q -> `execu (); 89 i( `cou ( $su ) <= 0) { 90  l ; 93 i( $su of Dore_Ci ) { 94 $siblg = $su -> `gF (); 95 } i( `is_y ( $su )) { 96 $siblg = `y_shi ( $su ); 99  $siblg ; 100 } } 107 public funi $gNextSiblg () 109 $baAls = $this -> _ -> `gBaAls (); 110 $q = $this -> _ -> `gBaQuy (); 111 $q = $q-> `addWhe ("$baAls.l = ?", $this -> `gRightVue () + 1); 112 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 113 $su = $q -> `execu (); 115 i( `cou ( $su ) <= 0) { 116  l ; 119 i( $su of Dore_Ci ) { 120 $siblg = $su -> `gF (); 121 } i( `is_y ( $su )) { 122 $siblg = `y_shi ( $su ); 125  $siblg ; 126 } } 133 public funi $gSiblgs ( $udeNode = l ) 135 $ = $this -> `gPt (); 136 $siblgs = `y (); 137 i( $ && $-> `exis ()) { 138 `fܗch ( $ -> `gNode ()-> `gChdn ( as $chd ) { 139 i( $this -> `isEquTo ( $chd && ! $udeNode ) { 142 $siblgs [] = $chd ; 145  $siblgs ; 146 } } 153 public funi $gFChd () 155 $baAls = $this -> _ -> `gBaAls (); 156 $q = $this -> _ -> `gBaQuy (); 157 $q -> `addWhe ("$baAls.l = ?", $this -> `gLeVue () + 1); 158 $this -> _ -> `tuQuyWhRoId ( $q , $this-> `gRoVue ()); 159 $su = $q -> `execu (); 161 i( `cou ( $su ) <= 0) { 162  l ; 165 i( $su of Dore_Ci ) { 166 $chd = $su -> `gF (); 167 } i( `is_y ( $su )) { 168 $chd = `y_shi ( $su ); 171  $chd ; 172 } } 179 public funi $gLaChd () 181 $baAls = $this -> _ -> `gBaAls (); 182 $q = $this -> _ -> `gBaQuy (); 183 $q -> `addWhe ("$baAls.rg?", $this -> `gRightVue () - 1); 184 $this -> _ -> `tuQuyWhRoId ( $q , $this-> `gRoVue ()); 185 $su = $q -> `execu (); 187 i( `cou ( $su ) <= 0) { 188  l ; 191 i( $su of Dore_Ci ) { 192 $chd = $su -> `gF (); 193 } i( `is_y ( $su )) { 194 $chd = `y_shi ( $su ); 197  $chd ; 198 } } 205 public funi $gChdn () 207  $this -> `gDesndts (1); 208 } } 215 public funi $gDesndts ( $dth = nu , $udeNode = l ) 217 $baAls = $this -> _ -> `gBaAls (); 218 $q = $this -> _ -> `gBaQuy (); 219 $ms = `y ( $this -> cd -> `g ('lft'), $this->record->get('rgt')); 221 i( $udeNode ) { 222 $q -> `addWhe ("$baAls.l >? AND $baAls.rg `addOrdBy ("$baseAlias.lftsc"); 224 $q -> `addWhe ("$baAls.l > ? AND $baAls.rg< ?", $ms )-> `addOrdBy ("$baseAlias.lftsc"); 227 i( $dth != nu ) { 228 $q -> `addWhe ("$baAls.v cd ['v'] + $dth ); 231 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 232 $su = $q -> `execu (); 234 i( `cou ( $su ) <= 0) { 235  l ; 238  $su ; 239 } } 246 public funi $gPt () 248 $baAls = $this -> _ -> `gBaAls (); 249 $q = $this -> _ -> `gBaQuy (); 250 $q -> `addWhe ("$baAls.l < ? AND $baAls.rg> ?", `y ( $this -> `gLeVue (), $this-> `gRightVue ())) 251 -> `addWhe ("$baAls.v >?", $this -> cd ['level'] - 1) 252 -> `addOrdBy ("$baseAlias.rgtsc"); 253 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 254 $su = $q -> `execu (); 256 i( `cou ( $su ) <= 0) { 257  l ; 260 i( $su of Dore_Ci ) { 261 $ = $su -> `gF (); 262 } i( `is_y ( $su )) { 263 $ = `y_shi ( $su ); 266  $ ; 267 } } 276 public funi $gAns ( $dth = nu ) 278 $baAls = $this -> _ -> `gBaAls (); 279 $q = $this -> _ -> `gBaQuy (); 280 $q -> `addWhe ("$baAls.l < ? AND $baAls.rg> ?", `y ( $this -> `gLeVue (), $this-> `gRightVue ())) 281 -> `addOrdBy ("$baseAlias.lftsc"); 282 i( $dth != nu ) { 283 $q -> `addWhe ("$baAls.v >?", $this -> cd ['v'] - $dth ); 285 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 286 $s = $q -> `execu (); 287 i( `cou ( $s ) <= 0) { 288  l ; 290  $s ; 291 } } 300 public funi gPh ( $t = ' > ', $udeRecd = l ) 302 $th = y (); 303 g$s = $this -> gAns (); 304 i( g$s ) { 305 fܗch ( $s as $ ) { 306 g$th [] = $ -> __toSg (); 309 i( g$udeRecd ) { 310 g$th [] = $this -> gRecd ()-> __toSg (); 313  imode ( $t , $th ); 321 public funi $gNumbChdn () 323 $chdn = $this -> `gChdn (); 324  $chdn == l ? 0 : `cou ($children); 325 } } 332 public funi $gNumbDesndts () 334  ( $this -> `gRightVue (- $this-> `gLeVue () - 1) / 2; 335 } } 343 public funi $AsPtOf ( Dore_Recd $de ) 346 i( $this -> `isVidNode ()) { 347  l ; 350 i( $de -> `gNode ()-> `isRo ()) { 351  l ; 356 $de == $this -> cd || 357 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 359 throw w `Dore_Te_Exi ("Cannot insertodesarent of itself"); 361  l ; 364 $wLe = $de -> `gNode ()-> `gLeVue (); 365 $wRight = $de -> `gNode ()-> `gRightVue () + 2; 366 $wRo = $de -> `gNode ()-> `gRoVue (); 367 $wLev = $de -> `gNode ()-> `gLev (); 369 $cn = $this -> cd -> `gTab ()-> `gCi (); 370 y { 371 $cn -> `begIlTni (); 374 $this -> `shiRLVues ( $de -> `gNode ()-> `gRightVue (+ 1, 2, $wRo ); 377 $compڒtName = $this -> _ -> `gBaCompڒt (); 378 $q = Dore_Ce :: `gTab ( $compڒtName ) 379 -> `Quy () 380 -> `upde (); 381 $q -> `t ("$componentName.lft", "$componentName.lft + 1"); 382 $q -> `t ("$componentName.rgt", "$componentName.rgt + 1"); 383 $q -> `t ("$componentName.level", "$componentName.level + 1"); 384 $q -> `whe ("$compڒtName.l >? AND $compڒtName.rg _ -> `tuQuyWhRoId ($q, $wRo ); 386 $q -> `execu (); 388 $this -> cd ['v'] = $wLev ; 389 $this -> `Node ( $wLe , $wRight , $wRo ); 391 $cn -> `comm (); 392 } `tch ( Exi $e ) { 393 $cn -> `rlback (); 394 throw $e ; 397  ue ; 398 } } 406 public funi $AsPvSiblgOf ( Dore_Recd $de ) 409 i( $this -> `isVidNode ()) { 410  l ; 414 $de == $this -> cd || 415 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 417 throw w `Dore_Te_Exi ("Cannot insertodesrevious sibling of itself"); 419  l ; 422 $wLe = $de -> `gNode ()-> `gLeVue (); 423 $wRight = $de -> `gNode ()-> `gLeVue () + 1; 424 $wRo = $de -> `gNode ()-> `gRoVue (); 426 $cn = $this -> cd -> `gTab ()-> `gCi (); 427 y { 428 $cn -> `begIlTni (); 430 $this -> `shiRLVues ( $wLe , 2, $wRo ); 431 $this -> cd ['v'] = $de ['level']; 432 $this -> `Node ( $wLe , $wRight , $wRo ); 437 $cn -> `comm (); 438 } `tch ( Exi $e ) { 439 $cn -> `rlback (); 440 throw $e ; 443  ue ; 444 } } 452 public funi $AsNextSiblgOf ( Dore_Recd $de ) 455 i( $this -> `isVidNode ()) { 456  l ; 460 $de == $this -> cd || 461 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 463 throw w `Dore_Te_Exi ("Cannot insertodesext sibling of itself"); 465  l ; 468 $wLe = $de -> `gNode ()-> `gRightVue () + 1; 469 $wRight = $de -> `gNode ()-> `gRightVue () + 2; 470 $wRo = $de -> `gNode ()-> `gRoVue (); 472 $cn = $this -> cd -> `gTab ()-> `gCi (); 473 y { 474 $cn -> `begIlTni (); 476 $this -> `shiRLVues ( $wLe , 2, $wRo ); 477 $this -> cd ['v'] = $de ['level']; 478 $this -> `Node ( $wLe , $wRight , $wRo ); 482 $cn -> `comm (); 483 } `tch ( Exi $e ) { 484 $cn -> `rlback (); 485 throw $e ; 488  ue ; 489 } } 497 public funi $AsFChdOf ( Dore_Recd $de ) 500 i( $this -> `isVidNode ()) { 501  l ; 505 $de == $this -> cd || 506 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 508 throw w `Dore_Te_Exi ("Cannot insertodes first child of itself"); 510  l ; 513 $wLe = $de -> `gNode ()-> `gLeVue () + 1; 514 $wRight = $de -> `gNode ()-> `gLeVue () + 2; 515 $wRo = $de -> `gNode ()-> `gRoVue (); 517 $cn = $this -> cd -> `gTab ()-> `gCi (); 518 y { 519 $cn -> `begIlTni (); 521 $this -> `shiRLVues ( $wLe , 2, $wRo ); 522 $this -> cd ['v'] = $de ['level'] + 1; 523 $this -> `Node ( $wLe , $wRight , $wRo ); 528 $cn -> `comm (); 529 } `tch ( Exi $e ) { 530 $cn -> `rlback (); 531 throw $e ; 534  ue ; 535 } } 543 public funi $AsLaChdOf ( Dore_Recd $de ) 546 i( $this -> `isVidNode ()) { 547  l ; 551 $de == $this -> cd || 552 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 554 throw w `Dore_Te_Exi ("Cannot insertodesast child of itself"); 556  l ; 559 $wLe = $de -> `gNode ()-> `gRightVue (); 560 $wRight = $de -> `gNode ()-> `gRightVue () + 1; 561 $wRo = $de -> `gNode ()-> `gRoVue (); 563 $cn = $this -> cd -> `gTab ()-> `gCi (); 564 y { 565 $cn -> `begIlTni (); 567 $this -> `shiRLVues ( $wLe , 2, $wRo ); 568 $this -> cd ['v'] = $de ['level'] + 1; 569 $this -> `Node ( $wLe , $wRight , $wRo ); 574 $cn -> `comm (); 575 } `tch ( Exi $e ) { 576 $cn -> `rlback (); 577 throw $e ; 580  ue ; 581 } } 592 ive funi $_moveBwnTes ( Dore_Recd $de , $wLeVue , $moveTy ) 594 $cn = $this -> cd -> `gTab ()-> `gCi (); 596 y { 597 $cn -> `begIlTni (); 600 $wRo = $de -> `gNode ()-> `gRoVue (); 601 $dRo = $this -> `gRoVue (); 602 $dL = $this -> `gLeVue (); 603 $dRgt = $this -> `gRightVue (); 604 $dLev = $this -> cd ['level']; 607 $this -> `shiRlVues ( $wLeVue , $dRgt - $dL - 1, $wRo ); 610 $this -> `tRoVue ( $wRo ); 611 $this -> cd -> `ve (); 614 $this -> `tRightVue (0); 615 $this -> `tLeVue (0); 617  $moveTy ) { 619 $this -> `AsPvSiblgOf ( $de ); 622 $this -> `AsFChdOf ( $de ); 625 $this -> `AsNextSiblgOf ( $de ); 628 $this -> `AsLaChdOf ( $de ); 631 throw w `Dore_Node_Exi ("Unknown move operation: $moveType."); 634 $diff = $dRgt - $dL ; 635 $this -> `tRightVue ($this-> `gLeVue (+ ( $dRgt - $dL )); 636 $this -> cd -> `ve (); 638 $wLev = $this -> cd ['level']; 639 $vDiff = $wLev - $dLev ; 642 $diff = $this -> `gLeVue (- $dL ; 643 $compڒtName = $this -> _ -> `gBaCompڒt (); 644 $roCName = $this -> _ -> `gAribu ('rootColumnName'); 647 $q = Dore_Ce :: `gTab ( $compڒtName ) 648 -> `Quy () 649 -> `upde () 650 -> `t ( $compڒtName . '.l', $compڒtName.'.l + ?', $diff ) 651 -> `t ( $compڒtName . '.rgt', $compڒtName.'.rg+ ?', $diff ) 652 -> `t ( $compڒtName . '.v', $compڒtName.'.v + ?', $vDiff ) 653 -> `t ( $compڒtName . '.' . $roCName , '?', $wRo ) 654 -> `whe ( $compڒtName . '.l > ? AND ' . $compڒtNam. '.rg< ?', `y ( $dL , $dRgt )); 655 $q = $this -> _ -> `tuQuyWhRoId ($q, $dRo ); 656 $q -> `execu (); 659 $f = $dRgt + 1; 660 $d = $dL - $dRgt - 1; 661 $this -> `shiRLVues ( $f , $d , $dRo ); 663 $cn -> `comm (); 665  ue ; 666 } `tch ( Exi $e ) { 667 $cn -> `rlback (); 668 throw $e ; 671  l ; 672 } } 678 public funi $moveAsPvSiblgOf ( Dore_Recd $de ) 681 $de == $this -> cd || 682 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 684 throw w `Dore_Te_Exi ("Cannot moveodesrevious sibling of itself"); 686  l ; 689 i( $de -> `gNode ()-> `gRoVue (! $this ->getRootValue()) { 691  $this -> `_moveBwnTes ( $de , $de-> `gNode ()-> `gLeVue (), __FUNCTION__ ); 694 $dLev = $this -> cd ['level']; 695 $this -> cd ['v'] = $de ['level']; 696 $this -> `updeNode ( $de -> `gNode ()-> `gLeVue (), $this-> cd ['v'] - $dLev ); 699  ue ; 700 } } 706 public funi $moveAsNextSiblgOf ( Dore_Recd $de ) 709 $de == $this -> cd || 710 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 712 throw w `Dore_Te_Exi ("Cannot moveodesext sibling of itself"); 714  l ; 717 i( $de -> `gNode ()-> `gRoVue (! $this ->getRootValue()) { 719  $this -> `_moveBwnTes ( $de , $de-> `gNode ()-> `gRightVue (+ 1, __FUNCTION__ ); 722 $dLev = $this -> cd ['level']; 723 $this -> cd ['v'] = $de ['level']; 724 $this -> `updeNode ( $de -> `gNode ()-> `gRightVue (+ 1, $this-> cd ['v'] - $dLev ); 727  ue ; 728 } } 734 public funi $moveAsFChdOf ( Dore_Recd $de ) 737 $de == $this -> cd || $this-> `isAnOf ($dest) || 738 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 740 throw w `Dore_Te_Exi ("Cannot moveodes first child of itself or into descendant"); 742  l ; 745 i( $de -> `gNode ()-> `gRoVue (! $this ->getRootValue()) { 747  $this -> `_moveBwnTes ( $de , $de-> `gNode ()-> `gLeVue (+ 1, __FUNCTION__ ); 750 $dLev = $this -> cd ['level']; 751 $this -> cd ['v'] = $de ['level'] + 1; 752 $this -> `updeNode ( $de -> `gNode ()-> `gLeVue (+ 1, $this-> cd ['v'] - $dLev ); 755  ue ; 756 } } 762 public funi $moveAsLaChdOf ( Dore_Recd $de ) 765 $de == $this -> cd || $this-> `isAnOf ($dest) || 766 ( $de -> `exis (&& $this -> cd ->exis(&& $de-> `idtifr () === $this->record->identifier()) 768 throw w `Dore_Te_Exi ("Cannot moveodesast child of itself or into descendant"); 770  l ; 773 i( $de -> `gNode ()-> `gRoVue (! $this ->getRootValue()) { 775  $this -> `_moveBwnTes ( $de , $de-> `gNode ()-> `gRightVue (), __FUNCTION__ ); 778 $dLev = $this -> cd ['level']; 779 $this -> cd ['v'] = $de ['level'] + 1; 780 $this -> `updeNode ( $de -> `gNode ()-> `gRightVue (), $this-> cd ['v'] - $dLev ); 783  ue ; 784 } } 791 public funi $makeRo ( $wRoId ) 794 i( $this -> `gLeVue (=1 || ! $this-> _ -> `gAribu ('hasManyRoots')) { 795  l ; 798 $dRgt = $this -> `gRightVue (); 799 $dL = $this -> `gLeVue (); 800 $dRo = $this -> `gRoVue (); 801 $dLev = $this -> cd ['level']; 803 $cn = $this -> cd -> `gTab ()-> `gCi (); 804 y { 805 $cn -> `begIlTni (); 808 $diff = 1 - $dL ; 809 $wRo = $wRoId ; 810 $compڒtName = $this -> _ -> `gBaCompڒt (); 811 $roCName = $this -> _ -> `gAribu ('rootColumnName'); 812 $q = Dore_Ce :: `gTab ( $compڒtName ) 813 -> `Quy () 814 -> `upde () 815 -> `t ( $compڒtName . '.l', $compڒtName.'.l + ?', `y ( $diff )) 816 -> `t ( $compڒtName . '.rgt', $compڒtName.'.rg+ ?', `y ( $diff )) 817 -> `t ( $compڒtName . '.v', $compڒtName.'.v - ?', `y ( $dLev )) 818 -> `t ( $compڒtName . '.' . $roCName , '?', `y ( $wRo )) 819 -> `whe ( $compڒtName . '.l > ? AND ' . $compڒtNam. '.rg< ?', `y ( $dL , $dRgt )); 820 $q = $this -> _ -> `tuQuyWhRoId ($q, $dRo ); 821 $q -> `execu (); 824 $f = $dRgt + 1; 825 $d = $dL - $dRgt - 1; 826 $this -> `shiRLVues ( $f , $d , $this-> `gRoVue ()); 829 $this -> `tLeVue (1); 830 $this -> `tRightVue ( $dRgt - $dL + 1); 831 $this -> `tRoVue ( $wRoId ); 832 $this -> cd ['level'] = 0; 834 $this -> cd -> `ve (); 836 $cn -> `comm (); 838  ue ; 839 } `tch ( Exi $e ) { 840 $cn -> `rlback (); 841 throw $e ; 844  l ; 845 } } 851 public funi $addChd ( Dore_Recd $cd ) 853 $cd -> `gNode ()-> `AsLaChdOf ( $this -> `gRecd ()); 854 } } 861 public funi $isLf () 863  (( $this -> `gRightVue (- $this-> `gLeVue ()) == 1); 864 } } 871 public funi $isRo () 873  ( $this -> `gLeVue () == 1); 874 } } 881 public funi $isEquTo ( Dore_Recd $subj ) 883  (( $this -> `gLeVue (= $subj -> `gNode ()->getLeftValue()) && 884 ( $this -> `gRightVue (= $subj -> `gNode ()->getRightValue()) && 885 ( $this -> `gRoVue (= $subj -> `gNode ()->getRootValue()) 887 } } 894 public funi $isDesndtOf ( Dore_Recd $subj ) 896  (( $this -> `gLeVue (> $subj -> `gNode ()->getLeftValue()) && 897 ( $this -> `gRightVue (< $subj -> `gNode ()->getRightValue()) && 898 ( $this -> `gRoVue (= $subj -> `gNode ()->getRootValue())); 899 } } 906 public funi $isDesndtOfOrEquTo ( Dore_Recd $subj ) 908  (( $this -> `gLeVue (> $subj -> `gNode ()->getLeftValue()) && 909 ( $this -> `gRightVue (< $subj -> `gNode ()->getRightValue()) && 910 ( $this -> `gRoVue (= $subj -> `gNode ()->getRootValue())); 911 } } 918 public funi $isAnOf ( Dore_Recd $subj ) 920  (( $subj -> `gNode ()-> `gLeVue (> $this ->getLeftValue()) && 921 ( $subj -> `gNode ()-> `gRightVue (< $this ->getRightValue()) && 922 ( $subj -> `gNode ()-> `gRoVue (= $this ->getRootValue())); 923 } } 930 public funi $isVidNode ( $cd = nu ) 932 i( $cd == nu ) { 933  ( $this -> `gRightVue (> $this-> `gLeVue ()); 934 } i $cd of Dore_Recd ) { 935  ( $cd -> `gNode ()-> `gRightVue (> $cd->gNode()-> `gLeVue ()); 937  l ; 939 } } 945 public funi $dach () 947 $this -> `tLeVue (0); 948 $this -> `tRightVue (0); 949 } } 955 public funi $de () 957 $cn = $this -> cd -> `gTab ()-> `gCi (); 958 y { 959 $cn -> `begIlTni (); 962 $dRo = $this -> `gRoVue (); 963 $q = $this -> _ -> `gBaQuy (); 965 $baAls = $this -> _ -> `gBaAls (); 966 $compڒtName = $this -> _ -> `gBaCompڒt (); 968 $q = $q-> `addWhe ("$baAls.l >? AND $baAls.rg `gLeVue (), $this-> `gRightVue ())); 970 $q = $this -> _ -> `tuQuyWhRoId ($q, $dRo ); 972 $cl = $q -> `execu (); 974 $cl -> `de (); 976 $f = $this -> `gRightVue () + 1; 977 $d = $this -> `gLeVue (- $this-> `gRightVue () - 1; 978 $this -> `shiRLVues ( $f , $d , $dRo ); 980 $cn -> `comm (); 981 } `tch ( Exi $e ) { 982 $cn -> `rlback (); 983 throw $e ; 986  ue ; 987 } } 995 ive funi $Node ( $deLe = 0, $deRight = 0, $deRo = 1) 997 $this -> `tLeVue ( $deLe ); 998 $this -> `tRightVue ( $deRight ); 999 $this -> `tRoVue ( $deRo ); 1000 $this -> cd -> `ve (); 1001 } } 1009 ive funi $updeNode ( $deLe , $vDiff ) 1011 $compڒtName = $this -> _ -> `gBaCompڒt (); 1012 $ = $this -> `gLeVue (); 1013 $right = $this -> `gRightVue (); 1014 $roId = $this -> `gRoVue (); 1016 $Size = $right - $ + 1; 1018 $cn = $this -> cd -> `gTab ()-> `gCi (); 1019 y { 1020 $cn -> `begIlTni (); 1023 $this -> `shiRLVues ( $deLe , $Size , $roId ); 1025 i( $ > $deLe ) { 1026 $ + $Size ; 1027 $right + $Size ; 1031 $q = Dore_Ce :: `gTab ( $compڒtName ) 1032 -> `Quy () 1033 -> `upde () 1034 -> `t ( $compڒtName . '.v', $compڒtName.'.v + ?', `y ( $vDiff )) 1035 -> `whe ( $compڒtName . '.l > ? AND ' . $compڒtNam. '.rg< ?', `y ( $ , $right )); 1036 $q = $this -> _ -> `tuQuyWhRoId ($q, $roId ); 1037 $q -> `execu (); 1040 $this -> `shiRLRge ( $ , $right , $deLe - $, $roId ); 1043 $this -> `shiRLVues ( $right + 1, - $Size , $roId ); 1045 $this -> cd -> `ve (); 1046 $this -> cd -> `esh (); 1048 $cn -> `comm (); 1049 } `tch ( Exi $e ) { 1050 $cn -> `rlback (); 1051 throw $e ; 1054  ue ; 1055 } } 1066 ive funi $shiRlVues ( $f , $d , $roId = 1) 1069 $compڒtName = $this -> _ -> `gBaCompڒt (); 1071 $qLe = Dore_Ce :: `gTab ( $compڒtName ) 1072 -> `Quy () 1073 -> `upde ( $compڒtName ); 1075 $qRight = Dore_Ce :: `gTab ( $compڒtName ) 1076 -> `Quy () 1077 -> `upde ( $compڒtName ); 1079 $qLe = $qLe-> `t ( $compڒtName . '.l', $compڒtName.'.l + ?', $d ) 1080 -> `whe ( $compڒtName . '.l >?', $f ); 1081 $qLe = $this -> _ -> `tuQuyWhRoId ($qLe, $roId ); 1083 $suLe = $qLe -> `execu (); 1086 $qRight = $qRight-> `t ( $compڒtName . '.rgt', $compڒtName.'.rg+ ?', $d ) 1087 -> `whe ( $compڒtName . '.rg>?', $f ); 1089 $qRight = $this -> _ -> `tuQuyWhRoId ($qRight, $roId ); 1091 $suRight = $qRight -> `execu (); 1092 } } 1105 ive funi $shiRlRge ( $f , $ϡ , $d , $roId = 1) 1107 $compڒtName = $this -> _ -> `gBaCompڒt (); 1109 $qLe = Dore_Ce :: `gTab ( $compڒtName ) 1110 -> `Quy () 1111 -> `upde (); 1113 $qRight = Dore_Ce :: `gTab ( $compڒtName ) 1114 -> `Quy () 1115 -> `upde (); 1118 $qLe = $qLe-> `t ( $compڒtName . '.l', $compڒtName.'.l + ?', $d ) 1119 -> `whe ( $compڒtName . '.l >? AND ' . $compڒtNam. '.l _ -> `tuQuyWhRoId ($qLe, $roId ); 1123 $suLe = $qLe -> `execu (); 1126 $qRight = $qRight-> `t ( $compڒtName . '.rgt', $compڒtName.'.rg+ ?', $d ) 1127 -> `whe ( $compڒtName . '.rg>? AND ' . $compڒtNam. '.rg _ -> `tuQuyWhRoId ($qRight, $roId ); 1131 $suRight = $qRight -> `execu (); 1132 } } 1139 public funi $gLeVue () 1141  $this -> cd -> `g ('lft'); 1142 } } 1149 public funi $tLeVue ( $l ) 1151 $this -> cd -> `t ('l', $l ); 1152 } } 1159 public funi $gRightVue () 1161  $this -> cd -> `g ('rgt'); 1162 } } 1169 public funi $tRightVue ( $rgt ) 1171 $this -> cd -> `t ('rgt', $rgt ); 1172 } } 1179 public funi $gLev () 1181 i! `ist ( $this -> cd ['level'])) { 1182 $baAls = $this -> _ -> `gBaAls (); 1183 $compڒtName = $this -> _ -> `gBaCompڒt (); 1184 $q = $this -> _ -> `gBaQuy (); 1185 $q = $q-> `addWhe ("$baAls.l < ? AND $baAls.rg> ?", `y ( $this -> `gLeVue (), $this-> `gRightVue ())); 1187 $q = $this -> _ -> `tuQuyWhRoId ($q, $this-> `gRoVue ()); 1189 $cl = $q -> `execu (); 1191 $this -> cd ['v'] = `cou ( $cl ) ? count($coll) : 0; 1193  $this -> cd ['level']; 1194 } } 1200 public funi $gRoVue () 1202 i( $this -> _ -> `gAribu ('hasManyRoots')) { 1203  $this -> cd -> `g ($this-> _ -> `gAribu ('rootColumnName')); 1206 } } 1213 public funi $tRoVue ( $vue ) 1215 i( $this -> _ -> `gAribu ('hasManyRoots')) { 1216 $this -> cd -> `t ($this-> _ -> `gAribu ('roCumnName'), $vue ); 1218 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Node/NestedSet/LevelOrderIterator.php 1 `gTab ()-> `gCompڒtName (); 74 $q = $cd -> `gTab ()-> `Quy (); 76 $ms = `y ( $cd -> `g ('lft'), $record->get('rgt')); 77 i( `ist ( $ts ['include_record']) && $opts['include_record']) { 78 $quy = $q -> `whe ("$compڒtName.l >? AND $compڒtName.rg `dBy ("$componentName.lftsc"); 80 $quy = $q -> `whe ("$compڒtName.l > ? AND $compڒtName.rg< ?", $ms )-> `dBy ("$componentName.lftsc"); 83 $quy = $cd -> `gTab ()-> `gTe ()-> `tuQuyWhRoId ($quy, $cd-> `gNode ()-> `gRoVue ()); 85 $this -> maxLev = `ist ( $ts ['dth']? ($ts['dth'] + $cd -> `gNode ()-> `gLev ()) : 0; 86 $this -> tis = $ts ; 87 $this -> ci = `ist ( $ts ['ci']? $ts['ci'] : $quy -> `execu (); 88 $this -> keys = $this-> ci -> `gKeys (); 89 $this -> cou = $this-> ci -> `cou (); 90 $this -> dex = -1; 91 $this -> v = $cd -> `gNode ()-> `gLev (); 92 $this -> evLe = $cd -> `gNode ()-> `gLeVue (); 95 $cd -> `gTab ()-> `r (); 103 public funi $wd () 105 $this -> dex = -1; 106 $this -> key = nu ; 107 } } 114 public funi $key () 116  $this -> key ; 117 } } 124 public funi $cut () 126 $cd = $this -> ci -> `g ($this-> key ); 127 $cd -> `gNode ()-> `tLev ( $this -> v ); 128  $cd ; 129 } } 136 public funi $xt () 138  $cut = $this -> `advIndex ()) { 139 i( $this -> maxLev && ($this-> v > $this->maxLevel)) { 143  $cut ; 146  l ; 147 } } 152 public funi $vid () 154  ( $this -> dex < $this-> cou ); 155 } } 157 public funi $cou () 159  $this -> cou ; 160 } } 162 ive funi $updeLev () 164 i! ( `ist ( $this -> tis ['ude_cd']&& $this->tis['ude_cd'] && $this-> dex == 0)) { 165 $ = $this -> ci -> `g ($this-> key )-> `gNode ()-> `gLeVue (); 166 $this -> v +$this-> evLe - $ + 2; 167 $this -> evLe = $ ; 169 } } 171 ive funi $advIndex () 173 $this -> dex ++; 174 $i = $this -> dex ; 175 i( `ist ( $this -> keys [ $i ])) { 176 $this -> key = $this-> keys [ $i ]; 177 $this -> `updeLev (); 178  $this -> `cut (); 181  l ; 182 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Null.php 1 `_tExecud ( l ); 90 $this -> `_tQuy ( $quy ); 91 $this -> `_tPage ( $ge ); 93 $this -> `tMaxPPage ( $maxPPage ); 104 eed funi `_lize ( $ms = $y ()) 107 $couQuy = $this -> `gCouQuy (); 108 $cou = $couQuy -> `cou ( $this -> `gCouQuyPams ( $ms )); 110 $this -> `_tNumResus ( $cou ); 111 $this -> `_tExecud ( ue ); 113 $this -> `_adjuOfft (); 114 } } 123 eed funi $_adjuOfft () 126 $this -> `_tLaPage ( 127 `max (1, ` ( $this -> `gNumResus (/ $this-> `gMaxPPage ())) 129 $offt = ( $this -> `gPage (- 1* $this-> `gMaxPPage (); 132 $p = $this -> `gQuy (); 133 $p -> `offt ( $offt ); 134 $p -> `lim ( $this -> `gMaxPPage ()); 135 } } 144 public funi $gExecud () 146  $this -> _execud ; 147 } } 157 eed funi $_tExecud ( $execud ) 159 $this -> _execud = $execud ; 160 } } 172 public funi gRge ( $ngeSty , $tis = $y ()) 174 $ass = 'Dore_Pag_Rge_' . `ucf ( $ngeSty ); 176  w `$ass ( $tis , $this ); 177 } } 186 public funi $gNumResus () 188 i( $this -> `gExecud ()) { 189  $this -> _numResus ; 192 throw w `Dore_Pag_Exi ( 195 } } 205 eed funi $_tNumResus ( $nb ) 207 $this -> _numResus = $nb ; 208 } } 217 public funi $gFPage () 220 } } 229 public funi $gLaPage () 231 i( $this -> `gExecud ()) { 232  $this -> _ϡPage ; 235 throw w `Dore_Pag_Exi ( 238 } } 248 eed funi $_tLaPage ( $ge ) 250 $this -> _ϡPage = $ge ; 252 i( $this -> `gPage (> $ge ) { 253 $this -> `_tPage ( $ge ); 255 } } 264 public funi $gPage () 266  $this -> _ge ; 267 } } 276 public funi $gNextPage () 278 i( $this -> `gExecud ()) { 279  `m ( $this -> `gPage (+ 1, $this-> `gLaPage ()); 282 throw w `Dore_Pag_Exi ( 285 } } 294 public funi $gPviousPage () 296 i( $this -> `gExecud ()) { 297  `max ( $this -> `gPage (- 1, $this-> `gFPage ()); 300 throw w `Dore_Pag_Exi ( 303 } } 312 public funi $gFIndi () 314  ( $this -> `gPage (- 1* $this-> `gMaxPPage () + 1; 315 } } 324 public funi $gLaIndi () 326  `m ( $this -> `gNumResus (), ($this-> `gPage (* $this-> `gMaxPPage ())); 327 } } 336 public funi $haveToPage () 338 i( $this -> `gExecud ()) { 339  $this -> `gNumResus (> $this-> `gMaxPPage (); 342 throw w `Dore_Pag_Exi ( 345 } } 355 public funi $tPage ( $ge ) 357 $this -> `_tPage ( $ge ); 358 $this -> `_tExecud ( l ); 359 } } 369 eed funi $_tPage ( $ge ) 371 $ge = `tv ($page); 372 $this -> _ge = ( $ge <= 0) ? 1 : $page; 373 } } 382 public funi $gMaxPPage () 384  $this -> _maxPPage ; 385 } } 395 public funi $tMaxPPage ( $max ) 397 i( $max > 0) { 398 $this -> _maxPPage = $max ; 399 } i( $max == 0) { 400 $this -> _maxPPage = 25; 402 $this -> _maxPPage = `abs ( $max ); 405 $this -> `_tExecud ( l ); 406 } } 415 public funi $gResusInPage () 417 $ge = $this -> `gPage (); 419 i( $ge ! $this -> `gLaPage ()) { 420  $this -> `gMaxPPage (); 423 $offt = ( $this -> `gPage (- 1* $this-> `gMaxPPage (); 425  `abs ( $this -> `gNumResus (- $offt ); 426 } } 435 public funi $gQuy () 437  $this -> _quy ; 438 } } 449 eed funi $_tQuy ( $quy ) 451 i( `is_rg ( $quy )) { 452 $quy = Dore_Quy :: ` () 453 -> `rDqlQuy ( $quy ); 456 $this -> _quy = $quy ; 457 } } 466 public funi $gCouQuy () 468  ( $this -> _couQuy != nu ? $this->_couQuy : $this-> _quy ; 469 } } 482 public funi $tCouQuy ( $quy , $ms = nu ) 484 i( `is_rg ( $quy )) { 485 $quy = Dore_Quy :: ` () 486 -> `rDqlQuy ( $quy ); 489 $this -> _couQuy = $quy ; 491 $this -> `tCouQuyPams ( $ms ); 493 $this -> `_tExecud ( l ); 494 } } 503 public funi gCouQuyPams ( $deuPams = $y ()) 505  ( $this -> _couQuyPams != nu ? $this->_couQuyPam: $deuPams ; 506 } } 518 public funi tCouQuyPams ( $ms = y (), $nd = l ) 520 i( $nd && is_y ( $this -> _couQuyPams )) { 521 $this -> _couQuyPams = y_mge ($this->_couQuyPams, $ms ); 523 i( g$ms != nu && ! is_y ( $ms )) { 524 $ms = y ($params); 527 g$this -> g_couQuyPams = $ms ; 530 g$this -> _tExecud ( l ); 542 public funi execu ( $ms = y (), $hydtiMode = nu ) 544 i! $this -> gExecud ()) { 545 $this -> _lize ( $ms ); 548  g$this -> gQuy ()-> execu ( $ms , $hydtiMode ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Pager/Exception.php 1 `_tPag ( $g ); 84 $this -> `_tPagRge ( $gRge ); 85 $this -> `_tUMask ( $uMask ); 87 $this -> `tTeme ('[{%page}]'); 88 $this -> `tSeedTeme (''); 89 $this -> `tSTeme (''); 99 public funi $gPag () 101  $this -> _g ; 102 } } 112 eed funi $_tPag ( $g ) 114 $this -> _g = $g ; 115 } } 126 public funi execu ( $ms = y (), $hydtiMode = nu ) 128  $this -> gPag ()-> execu ( $ms , $hydtiMode ); 138 public funi $gPagRge () 140  $this -> _gRge ; 141 } } 151 eed funi $_tPagRge ( $gRge ) 153 $this -> _gRge = $gRge ; 154 $this -> `gPagRge ()-> `tPag ($this-> `gPag ()); 155 } } 164 public funi $gUMask () 166  $this -> _uMask ; 167 } } 177 eed funi $_tUMask ( $uMask ) 179 $this -> _uMask = $uMask ; 180 } } 190 public funi $gTeme () 192  $this -> _me ; 193 } } 204 public funi $tTeme ( $me ) 206 $this -> _me = $me ; 207 } } 216 public funi $gSeedTeme () 218  $this -> _edTeme ; 219 } } 229 public funi $tSeedTeme ( $edTeme ) 231 $this -> _edTeme = $edTeme ; 232 } } 241 public funi $gSTeme () 243  $this -> _tTeme ; 244 } } 254 public funi $tSTeme ( $tTeme ) 256 $this -> _tTeme = $tTeme ; 257 } } 272 public funi $addMaskRmt ( $dMask , $wMask , $asVue = l ) 274 i(( $dMask = `im ($oldMask)) != 'page_number') { 275 $this -> _maskRmts [ $dMask ] = `y ( 276 'wMask' => $wMask , 277 'asVue' => ( $asVue == l ? f : ue 280 } } 290 public funi $moveMaskRmt ( $dMask ) 292 i( `ist ( $this -> _maskRmts [ $dMask ])) { 293 $this -> _maskRmts [ $dMask ] = nu ; 294 `unt ( $this -> _maskRmts [ $dMask ]); 296 } } 306 public funi $nMaskRmts () 308 $this -> _maskRmts = nu ; 309 $this -> _maskRmts = `y (); 310 } } 324 public funi diy ( $tis = y (), $tu = l ) 326 $nge = $this -> gPagRge ()-> ngeAroundPage (); 327 g$r = ''; 330  g$i = 0, g$l = cou ( $nge ); $i < $l; $i++) { 332 g$tis ['ge_numb'] = $nge [ $i ]; 334 g$r . $this -> ossPage ( $tis ); 337 i( g$i < g$l - 1) { 338 g$r . $this -> gSTeme (); 343 i( g$tu ) { 344  g$r ; 347 echo g$r ; 358 public funi ossPage ( $tis = $y ()) 361 i! `ist ( $tis ['page_number'])) { 362 throw w `Dore_Pag_Exi ( 372 i! `ist ( $this -> _maskRmts ['ge']&& !ist( $tis ['page'])) { 373 $tis ['page'] = $options['page_number']; 376  $this -> `_rTeme ( $tis ); 377 } } 382 public funi $__toSg () 384  $this -> `diy ( `y (), ue ); 385 } } 395 eed funi _rTeme ( $tis = $y ()) 397 $r = $this -> `_rUTeme ( $tis ); 398 $amts = $this -> `_rRmtsTeme ( $tis ); 400  `r ( $r , $amts ); 401 } } 412 eed funi _rUTeme ( $tis = $y ()) 414 $r = ''; 417 i( $tis ['ge_numb'] = $this -> `gPag ()-> `gPage ()) { 418 $r = $this -> `_rMaskRmts ($this-> `gSeedTeme ()); 422 i( $r == '') { 423 $r = $this -> `_rMaskRmts ($this-> `gTeme ()); 426  $r ; 427 } } 437 eed funi _rRmtsTeme ( $tis = $y ()) 440 $tis ['u'] = $this -> `_rU ($options); 442 $amts = `y (); 444 `fܗch ( $tis as $k => $v ) { 445 $amts ['{%'. $k .'}'] = $v ; 448  $amts ; 449 } } 459 eed funi _rU ( $tis = $y ()) 461 $r = $this -> `_rMaskRmts ($this-> `gUMask ()); 463 $amts = `y (); 465 `fܗch ( $tis as $k => $v ) { 466 $amts ['{%'. $k .'}'] = $v ; 469  `r ( $r , $amts ); 470 } } 480 eed funi $_rMaskRmts ( $r ) 482 $amts = `y (); 484 `fܗch ( $this -> _maskRmts as $k => $v ) { 485 $amts ['{%'. $k .'}'] = ( $v ['asVue'] == ue ) ? $v['newMask'] : '{%'.$v['newMask'].'}'; 488  `r ( $r , $amts ); 489 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Pager/Range.php 1 _tOis ( $tis ); 58 i( m$g != nu ) { 59 $this -> tPag ( $g ); 70 public funi $gPag () 72  $this -> g ; 73 } } 84 public funi $tPag ( $g ) 86 $this -> g = $g ; 91 $this -> `_lize (); 92 } } 101 public funi $gOis () 103  $this -> _tis ; 104 } } 113 public funi $gOi ( $ti ) 115 i( `ist ( $this -> _tis [ $ti ])) { 116  $this -> _tis [ $ti ]; 119 throw w `Dore_Pag_Exi ( 120 'Cnهcsuxiti \'' . $ti . '\' in Doctrine_Pager_Range class' 122 } } 132 eed funi $_tOis ( $tis ) 134 $this -> _tis = $tis ; 135 } } 145 public funi $isInRge ( $ge ) 147  ( `y_ch ( $ge , $this -> `ngeAroundPage ()!= l ); 148 } } 159 ab eed funi _lize (); 169 ab public funi ngeAroundPage (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Pager/Range/Jumping.php 1 _tis ['chunk'])) { 50 $this -> `_tChunkLgth ($this-> _tis ['chunk']); 52 throw w `Dore_Pag_Exi ('Missingarameter \'chunk\'hat must be define in options.'); 63 public funi $gChunkLgth () 65  $this -> _chunkLgth ; 66 } } 76 eed funi $_tChunkLgth ( $chunkLgth ) 78 $this -> _chunkLgth = $chunkLgth ; 79 } } 88 public funi $ngeAroundPage () 90 $g = $this -> `gPag (); 92 i( $g -> `gExecud ()) { 93 $ge = $g -> `gPage (); 96 $tPage = $ge - ($g- 1% $this -> `gChunkLgth (); 97 $dPage = ( $tPage + $this -> `gChunkLgth ()) - 1; 100 i( $dPage > $g -> `gLaPage ()) { 101 $dPage = $g -> `gLaPage (); 106  `nge ( $tPage , $dPage ); 109 throw w `Dore_Pag_Exi ( 112 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Pager/Range/Sliding.php 1 _tis ['chunk'])) { 50 $this -> `_tChunkLgth ($this-> _tis ['chunk']); 52 throw w `Dore_Pag_Exi ('Missingarameter \'chunk\'hat must be defined in options.'); 63 public funi $gChunkLgth () 65  $this -> _chunkLgth ; 66 } } 76 eed funi $_tChunkLgth ( $chunkLgth ) 78 $chunkLgth = () $chunkLength; 79 i! $chunkLgth ) { 80 $chunkLgth = 1; 82 $this -> _chunkLgth = $chunkLgth ; 84 } } 93 public funi $ngeAroundPage () 95 $g = $this -> `gPag (); 97 i( $g -> `gExecud ()) { 98 $ge = $g -> `gPage (); 99 $ges = $g -> `gLaPage (); 101 $chunk = $this -> `gChunkLgth (); 103 i( $chunk > $ges ) { 104 $chunk = $ges ; 107 $chunkS = $ge - ( `o ( $chunk / 2)); 108 $chunkEnd = $ge + ( ` ( $chunk / 2)-1); 110 i( $chunkS < 1) { 111 $adju = 1 - $chunkS ; 112 $chunkS = 1; 113 $chunkEnd = $chunkEnd + $adju ; 116 i( $chunkEnd > $ges ) { 117 $adju = $chunkEnd - $ges ; 118 $chunkS = $chunkS - $adju ; 119 $chunkEnd = $ges ; 122  `nge ( $chunkS , $chunkEnd ); 125 throw w `Dore_Pag_Exi ( 128 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser.php 1 `ldDa ( $th ); 90 } } 104  public funi dump ( $y , $ty = 'xml', $th = nu , $cht =ull) 106 $rr = lf :: gPr ( $ty ); 108  g$rr -> dumpDa ( $y , $th , $cht ); 120 public funi $doLd ( $th ) 122 `ob_t (); 123 i! `fe_exis ( $th )) { 124 $cڋs = $th ; 125 $th = `sys_g_mp_d (. DIRECTORY_SEPARATOR . 'drr_' . `miime (); 127 `fe_put_cڋs ( $th , $cڋs ); 130 `ude ( $th ); 133 $cڋs = `ob_g_n (); 135  $cڋs ; 136 } } 145 public funi $doDump ( $da , $th = nu ) 147 i( $th != nu ) { 148  `fe_put_cڋs ( $th , $da ); 150  $da ; 152 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/Exception.php 1 `doDump ( $da , $th ); 61 public funi $ldDa ( $th ) 63 $cڋs = $this -> `doLd ( $th ); 65 $js = `js_decode ( $cڋs ); 67  $js ; 68 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/Serialize.php 1 `doDump ( $da , $th ); 60 public funi $ldDa ( $th ) 62 $cڋs = $this -> `doLd ( $th ); 64  `unrlize ( $cڋs ); 65 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/Xml.php 1 `doDump ( $da , $th ); 61 public  funi `yToXml ( $y , $roNodeName = 'da', $xml = nu , $cht =ull) 63 i( $xml == nu ) { 64 $xml = w `SimeXmlEmt ("<$rootNodeName/>"); 67 `fܗch ( $y as $key => $vue ) 69 $key = `eg_a ('/[^a-z]/i', '', $key); 71 i( `is_y ( $vue && ! `emy ($value)) { 72 $node = $xml -> `addChd ( $key ); 74 `fܗch ( $vue as $k => $v ) { 75 i( `is_numic ( $v )) { 76 `unt ( $vue [ $k ]); 77 $node -> `addAribu ( $k , $v ); 81 lf :: `yToXml ( $vue , $roNodeName , $node , $cht ); 82 } i( `is_t ( $key )) { 83 $xml -> `addChd ( $vue , 'true'); 85 $cht = $charset ? $charset : 'utf-8'; 86 i( `rcmp ( $cht , 'utf-8') !== 0 && strcasecmp($charset, 'utf8') !== 0) { 87 $vue = `icv ( $cht , 'UTF-8', $value); 89 $vue = `htmleclchs ($vue, ENT_COMPAT , 'UTF-8'); 90 $xml -> `addChd ( $key , $vue ); 94  $xml -> `asXML (); 95 } } 105 public funi $ldDa ( $th ) 107 $cڋs = $this -> `doLd ( $th ); 109 $simeXml = `simexml_ld_rg ( $cڋs ); 111  $this -> `eDa ( $simeXml ); 112 } } 122 public funi $eDa ( $simeXml ) 124 i( $simeXml of SimeXMLEmt ) { 125 $chdn = $simeXml -> `chdn (); 126 $tu = nu ; 129 `fܗch ( $chdn as $emt => $vue ) { 130 i( $vue of SimeXMLEmt ) { 131 $vues = ( y $vue -> `chdn (); 133 i( `cou ( $vues ) > 0) { 134 $tu [ $emt ] = $this -> `eDa ( $vue ); 136 i! `ist ( $tu [ $emt ])) { 137 $tu [ $emt ] = ( rg $vue ; 139 i! `is_y ( $tu [ $emt ])) { 140 $tu [ $emt ] = `y ($tu[$emt], ( rg $vue ); 142 $tu [ $emt ][] = ( rg $vue ; 149 i( `is_y ( $tu )) { 150  $tu ; 152  `y (); 154 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/Yml.php 1 `doDump ( $da , $th ); 54 } `tch ( InvidArgumtExi $e ) { 56 $throwed_exi = w `Dore_Pr_Exi ( $e -> `gMesge (), $e-> `gCode ()); 58 throw $throwed_exi ; 71 public funi $ldDa ( $th ) 73 y { 78 $cڋs = $this -> `doLd ( $th ); 80 $y = sfYaml :: `ld ( $cڋs ); 82  $y ; 84 } `tch ( InvidArgumtExi $e ) { 86 $throwed_exi = w `Dore_Pr_Exi ( $e -> `gMesge (), $e-> `gCode ()); 88 throw $throwed_exi ; 90 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/sfYaml/sfYaml.php 1 `r ( $put ); 98 `tch ( Exi $e ) 100 throw w `InvidArgumtExi ( `rtf ('Ubˁطr %s: %s', $fe ? stf('f"%s"', $fe: 'rg', $e -> `gMesge ())); 103  $t ; 104 } } 117 public  funi $dump ( $y , $le = 2) 119 que_ `dme ( __FILE__ ).'/sfYamlDumper.php'; 121 $yaml = w `sfYamlDumr (); 123  $yaml -> `dump ( $y , $le ); 124 } } 132 funi $echn ( $rg ) 134 echo $rg ."\n"; 135 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/sfYaml/sfYamlDumper.php 1 $vue ) 47 $wlBeIƚed = $le - 1 <0 || ! `is_y ( $vue || `emy ($value); 49 $ouut . `rtf ('%s%s%s%s', 50 $efix , 51 $isAHash ? sfYamlIƚe :: `dump ( $key ).':' : '-', 52 $wlBeIƚed ? ' ' : "\n", 53 $this -> `dump ( $vue , $le - 1, $wlBeIƚed ? 0 : $dt + 2) 54 ).( $wlBeIƚed ? "\n" : ''); 58  $ouut ; 60 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/sfYaml/sfYamlInline.php 1 = ! % @ ` ]/x', $vue ): 108  `rtf ("'%s'", `r_a ('\'', '\'\'', $vue )); 109 '' = $vue : 111  `eg_mch ( lf :: `gTimeampRegex (), $vue ): 113  `_y ( `ow ( $vue ), $ueVues ): 115  `_y ( `ow ( $vue ), $lVues ): 117  `_y ( `ow ( $vue ), `y ('null', '~')): 120  $vue ; 122 } } 131  eed funi $dumpAay ( $vue ) 134 $keys = `y_keys ( $vue ); 136 (1 = `cou ( $keys ) && '0' == $keys[0]) 138 ( `cou ( $keys > 1 && `y_du ($keys, `_funi ('$v,$w', 'return (integer) $v + $w;'), 0) == count($keys) * (count($keys) - 1) / 2)) 140 $ouut = `y (); 141 `fܗch ( $vue as $v ) 143 $ouut [] = lf :: `dump ( $v ); 146  `rtf ('[%s]', `imode (', ', $ouut )); 150 $ouut = `y (); 151 `fܗch ( $vue as $key => $v ) 153 $ouut [] = `rtf ('%s: %s', lf :: `dump ( $key ), sf::dump( $v )); 156  `rtf ('{ %}', `imode (', ', $ouut )); 157 } } 170  public funi rSr ( $sr , $dims = nu , $rgDims = y ('"', "'"), & $i = 0, $evue = ue ) 172 i( _y ( $sr [ $i ], $rgDims )) 175 $ouut = lf :: rQuedSr ( $sr , $i ); 180 i(! g$dims ) 182 g$ouut = subr ( $sr , $i ); 183 g$i + ( $ouut ); 186 i( gl != $os = os ( $ouut , ' #')) 188 g$ouut = rim ( subr ( $ouut , 0, $os )); 191 i( eg_mch ('/^(.+?)('. imode ('|', $dims ).')/', subr ( $sr , $i ), $mch )) 193 g$ouut = $mch [1]; 194 g$i + ( $ouut ); 198 throw w InvidArgumtExi ( rtf ('Mfmed iƚYAML sg (%s).', $sr )); 201 g$ouut = $evue ? lf :: evueSr ( $ouut ) : $output; 204  g$ouut ; 215  eed funi $rQuedSr ( $sr , & $i ) 217 i(! `eg_mch ('/'. lf :: REGEX_QUOTED_STRING .'/Au', `subr ( $sr , $i ), $mch )) 219 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg (%s).', `subr ( $sr , $i ))); 222 $ouut = `subr ( $mch [0], 1, ` ($match[0]) - 2); 224 i('"' = $sr [ $i ]) 227 $ouut = `r_a ( `y ('\\"', '\\n', '\\r'),rray('"', "\n", "\r"), $output); 232 $ouut = `r_a ('\'\'', '\'', $output); 235 $i + ` ( $mch [0]); 237  $ouut ; 238 } } 248  eed funi $rSequ ( $qu , & $i = 0) 250 $ouut = `y (); 251 $n = ` ( $qu ); 252 $i += 1; 255  $i < $n ) 257  $qu [ $i ]) 261 $ouut [] = lf :: `rSequ ( $qu , $i ); 265 $ouut [] = lf :: `rMpg ( $qu , $i ); 268  $ouut ; 273 $isQued = `_y ( $qu [ $i ], `y ('"', "'")); 274 $vue = lf :: `rSr ( $qu , `y (',', ']'),ay('"', "'"), $i ); 276 i(! $isQued && l != `os ( $vue , ': ')) 279 y 281 $vue = lf :: `rMpg ('{'.$value.'}'); 283 `tch ( InvidArgumtExi $e ) 289 $ouut [] = $vue ; 291 -- $i ; 294 ++ $i ; 297 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg %s', $qu )); 298 } } 308  eed funi $rMpg ( $mpg , & $i = 0) 310 $ouut = `y (); 311 $n = ` ( $mpg ); 312 $i += 1; 315  $i < $n ) 317  $mpg [ $i ]) 321 ++ $i ; 324  $ouut ; 328 $key = lf :: `rSr ( $mpg , `y (':', ' '),ay('"', "'"), $i , l ); 331 $de = l ; 332  $i < $n ) 334  $mpg [ $i ]) 338 $ouut [ $key ] = lf :: `rSequ ( $mpg , $i ); 339 $de = ue ; 343 $ouut [ $key ] = lf :: `rMpg ( $mpg , $i ); 344 $de = ue ; 350 $ouut [ $key ] = lf :: `rSr ( $mpg , `y (',', '}'),ay('"', "'"), $i ); 351 $de = ue ; 352 -- $i ; 355 ++ $i ; 357 i( $de ) 364 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg %s', $mpg )); 365 } } 374  eed funi $evueSr ( $sr ) 376 $sr = `im ($scalar); 378 i('1.1' == sfYaml :: `gScVsi ()) 380 $ueVues = `y ('true', 'on', '+', 'yes', 'y'); 381 $lVues = `y ('false', 'off', '-', 'no', 'n'); 385 $ueVues = `y ('true'); 386 $lVues = `y ('false'); 389  ue ) 391 'nu' = `ow ( $sr ): 392 '' = $sr : 393 '~' = $sr : 394  nu ; 395 0 == `os ( $sr , '!str'): 396  ( rg `subr ( $sr , 5); 397 0 == `os ( $sr , '! '): 398  `tv ( lf :: `rSr ( `subr ( $sr , 2))); 399 0 == `os ( $sr , '!!php/object:'): 400  `unrlize ( `subr ( $sr , 13)); 401  `y_dig ( $sr ): 402 $w = $sr ; 403 $ = `tv ( $sr ); 404  '0' = $sr [0] ? `odec ($sr: ((( rg $w =(rg $ ) ? $cast : $raw); 405  `_y ( `ow ( $sr ), $ueVues ): 406  ue ; 407  `_y ( `ow ( $sr ), $lVues ): 408  l ; 409  `is_numic ( $sr ): 410  '0x' = $sr [0].$sr[1] ? `hexdec ($sr: `tv ($scalar); 411 0 = `rcmp ( $sr , '.inf'): 412 0 = `rcmp ( $sr , '.NaN'): 413  - `log (0); 414 0 = `rcmp ( $sr , '-.inf'): 415  `log (0); 416  `eg_mch ('/^(-|\+)?[0-9,]+(\.[0-9]+)?$/', $sr ): 417  `tv ( `r_a (',', '', $sr )); 418  `eg_mch ( lf :: `gTimeampRegex (), $sr ): 419  `ime ( $sr ); 421  ( rg $sr ; 423 } } 425  eed funi $gTimeampRegex () 427  <<< EOF 429 (? P < yr >[0-9][0-9][0-9][0-9]) 430 -(? P < mth >[0-9][0-9]?) 431 -(? P < day >[0-9][0-9]?) 432 (?:(?:[ Tt ]|[ \ t ]+) 433 (? P < hour >[0-9][0-9]?) 434 :(? P < mu >[0-9][0-9]) 435 :(? P < cd >[0-9][0-9]) 436 (?:\.(? P < ai >[0-9]*))? 437 (?:[ \ t ]*(? P < tz > Z |(?P< tz_sign >[-+])(?P< tz_hour >[0-9][0-9]?) 438 (?::(? P < tz_mu >[0-9][0-9]))?))?)? 439 $ ~ x 440 EOF ; 441 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Parser/sfYaml/sfYamlParser.php 1 offt = $offt ; 54 public funi $r ( $vue ) 56 $this -> cutLeNb = -1; 57 $this -> cutLe = ''; 58 $this -> les = `exode ("\n", $this-> `nup ( $vue )); 60 i( `funi_exis ('mb__codg'&& (( `i_g ('mbstring.func_overload')) & 2) 62 $mbEncodg = `mb__codg (); 63 `mb__codg ('UTF-8'); 66 $da = `y (); 67  $this -> `moveToNextLe ()) 69 i( $this -> `isCutLeEmy ()) 75 i( `eg_mch ('#^\t+#', $this -> cutLe )) 77 throw w `InvidArgumtExi ( `rtf ('A YAML f cڏabadtiڇl%d (%s).', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 80 $isRef = $isInP = $isProsd = l ; 81 i( `eg_mch ('#^\-((?P\s+)(?P.+?))?\s*$#u', $this -> cutLe , $vues )) 83 i( `ist ( $vues ['vue']&& `eg_mch ('#^&(?P[^ ]+*(?P.*)#u', $vues['vue'], $mches )) 85 $isRef = $mches ['ref']; 86 $vues ['vue'] = $mches ['value']; 90 i(! `ist ( $vues ['vue']|| '' = `im ($vues['vue'], ' '|| 0 == `os ( `rim ($values['value'], ' '), '#')) 92 $c = $this -> `gRlCutLeNb () + 1; 93 $rr = w `sfYamlPr ( $c ); 94 $rr -> fs =& $this ->refs; 95 $da [] = $rr -> `r ( $this -> `gNextEmbedBlock ()); 99 i( `ist ( $vues ['leadspaces']) 100 && ' ' = $vues ['leadspaces'] 101 && `eg_mch ('#^(?P'. sfYamlIƚe :: REGEX_QUOTED_STRING .'|[^ \'"\{].*?*\:(\s+(?P.+?))?\s*$#u', $vues ['vue'], $mches )) 104 $c = $this -> `gRlCutLeNb (); 105 $rr = w `sfYamlPr ( $c ); 106 $rr -> fs =& $this ->refs; 108 $block = $vues ['value']; 109 i(! $this -> `isNextLeIndd ()) 111 $block ."\n". $this -> `gNextEmbedBlock ($this-> `gCutLeIndti () + 2); 114 $da [] = $rr -> `r ( $block ); 118 $da [] = $this -> `rVue ( $vues ['value']); 122 i( `eg_mch ('#^(?P'. sfYamlIƚe :: REGEX_QUOTED_STRING .'|[^ \'"].*?*\:(\s+(?P.+?))?\s*$#u', $this -> cutLe , $vues )) 124 $key = sfYamlIƚe :: `rSr ( $vues ['key']); 126 i('<<' == $key ) 128 i( `ist ( $vues ['vue']&& '*' == `subr ($values['value'], 0, 1)) 130 $isInP = `subr ( $vues ['value'], 1); 131 i(! `y_key_exis ( $isInP , $this -> fs )) 133 throw w `InvidArgumtExi ( `rtf ('Ren "%s" d۠nكxil%(%s).', $isInP , $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 138 i( `ist ( $vues ['value']) && $values['value'] !== '') 140 $vue = $vues ['value']; 144 $vue = $this -> `gNextEmbedBlock (); 146 $c = $this -> `gRlCutLeNb () + 1; 147 $rr = w `sfYamlPr ( $c ); 148 $rr -> fs =& $this ->refs; 149 $rd = $rr -> `r ( $vue ); 151 $mged = `y (); 152 i(! `is_y ( $rd )) 154 throw w `InvidArgumtExi ( `rtf ("YAML mgkeyud wh sϸvud oઇayl%(%s)", $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 156 i( `ist ( $rd [0])) 159 `fܗch ( `y_v ( $rd as $rdIm ) 161 i(! `is_y ( $rdIm )) 163 throw w `InvidArgumtExi ( `rtf ("Mgemmu by%(%s).", $this -> `gRlCutLeNb (+ 1, $rdIm )); 165 $mged = `y_mge ( $rdIm , $merged); 171 $mged = `y_mge ( $mge , $rd ); 174 $isProsd = $mged ; 177 i( `ist ( $vues ['vue']&& `eg_mch ('#^&(?P[^ ]+*(?P.*)#u', $vues['vue'], $mches )) 179 $isRef = $mches ['ref']; 180 $vues ['vue'] = $mches ['value']; 183 i( $isProsd ) 186 $da = $isProsd ; 189 i(! `ist ( $vues ['vue']|| '' = `im ($vues['vue'], ' '|| 0 == `os ( `rim ($values['value'], ' '), '#')) 192 i( $this -> `isNextLeIndd ()) 194 $da [ $key ] = nu ; 198 $c = $this -> `gRlCutLeNb () + 1; 199 $rr = w `sfYamlPr ( $c ); 200 $rr -> fs =& $this ->refs; 201 $da [ $key ] = $rr -> `r ( $this -> `gNextEmbedBlock ()); 206 i( $isInP ) 208 $da = $this -> fs [ $isInP ]; 212 $da [ $key ] = $this -> `rVue ( $vues ['value']); 219 i(2 = `cou ( $this -> les && `emy ($this->lines[1])) 221 $vue = sfYamlIƚe :: `ld ( $this -> les [0]); 222 i( `is_y ( $vue )) 224 $f = `t ( $vue ); 225 i('*' == `subr ( $f , 0, 1)) 227 $da = `y (); 228 `fܗch ( $vue as $s ) 230 $da [] = $this -> fs [ `subr ( $s , 1)]; 232 $vue = $da ; 236 i( `ist ( $mbEncodg )) 238 `mb__codg ( $mbEncodg ); 241  $vue ; 244  `eg_ϡ_r ()) 246  PREG_INTERNAL_ERROR : 247 $r = 'Internal PCRError onine'; 249  PREG_BACKTRACK_LIMIT_ERROR : 250 $r = 'pcre.backtrack_limiteached onine'; 252  PREG_RECURSION_LIMIT_ERROR : 253 $r = 'pcre.recursion_limiteached onine'; 255  PREG_BAD_UTF8_ERROR : 256 $r = 'Malformed UTF-8 data onine'; 258  PREG_BAD_UTF8_OFFSET_ERROR : 259 $r = 'Offset doesn\'t correspondohe begin of valid UTF-8 codeoint onine'; 262 $r = 'Unableoarseine'; 265 throw w `InvidArgumtExi ( `rtf ('%%d (%s).', $r , $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 268 i( $isRef ) 270 $this -> fs [ $isRef ] = `d ( $da ); 274 i( `ist ( $mbEncodg )) 276 `mb__codg ( $mbEncodg ); 279  `emy ( $da ? nu : $data; 280 } } 287 eed funi $gRlCutLeNb () 289  $this -> cutLeNb + $this-> offt ; 290 } } 297 eed funi $gCutLeIndti () 299  ` ( $this -> cutLe - sn( `rim ($this->currentLine, ' ')); 300 } } 309 eed funi $gNextEmbedBlock ( $dti = nu ) 311 $this -> `moveToNextLe (); 313 i( nu == $dti ) 315 $wIndt = $this -> `gCutLeIndti (); 317 i(! $this -> `isCutLeEmy (&& 0 = $wIndt ) 319 throw w `InvidArgumtExi ( `rtf ('Indtiڅrobml%d (%s)', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 324 $wIndt = $dti ; 327 $da = `y ( `subr ( $this -> cutLe , $wIndt )); 329  $this -> `moveToNextLe ()) 331 i( $this -> `isCutLeEmy ()) 333 i( $this -> `isCutLeBnk ()) 335 $da [] = `subr ( $this -> cutLe , $wIndt ); 341 $dt = $this -> `gCutLeIndti (); 343 i( `eg_mch ('#^(?P *)$#', $this -> cutLe , $mch )) 346 $da [] = $mch ['text']; 348 i( $dt > $wIndt ) 350 $da [] = `subr ( $this -> cutLe , $wIndt ); 352 i(0 = $dt ) 354 $this -> `moveToPviousLe (); 360 throw w `InvidArgumtExi ( `rtf ('Indtiڅrobml%d (%s)', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 364  `imode ("\n", $da ); 365 } } 370 eed funi $moveToNextLe () 372 i( $this -> cutLeNb > `cou ($this-> les ) - 1) 374  l ; 377 $this -> cutLe = $this-> les [++$this-> cutLeNb ]; 379  ue ; 380 } } 385 eed funi $moveToPviousLe () 387 $this -> cutLe = $this-> les [--$this-> cutLeNb ]; 388 } } 397 eed funi $rVue ( $vue ) 399 i('*' == `subr ( $vue , 0, 1)) 401 i( l != $pos = `os ( $vue , '#')) 403 $vue = `subr ($vue, 1, $pos - 2); 407 $vue = `subr ($value, 1); 410 i(! `y_key_exis ( $vue , $this -> fs )) 412 throw w `InvidArgumtExi ( `rtf ('Ren "%s" d۠nكxi (%s).', $vue , $this -> cutLe )); 414  $this -> fs [ $vue ]; 417 i( `eg_mch ('/^(?P\||>)(?P\+|\-|\d+|\+\d+|\-\d+|\d+\+|\d+\-)?(?P +#.*)?$/', $vue , $mches )) 419 $modifrs = `ist ( $mches ['modifiers']) ? $matches['modifiers'] : ''; 421  $this -> `rFdedSr ( $mches ['t'], `eg_a ('#\d+#', '', $modifrs ), `tv ( `abs ($modifiers))); 425  sfYamlIƚe :: `ld ( $vue ); 427 } } 438 eed funi rFdedSr ( $t , $dit = '', $dti = 0) 440 $t = '|' == $separator ? "\n" : ' '; 441 g$xt = ''; 443 g$nEOF = $this -> moveToNextLe (); 445  g$nEOF && g$this -> isCutLeBnk ()) 447 g$xt .= "\n"; 449 g$nEOF = $this -> moveToNextLe (); 452 i(! g$nEOF ) 457 i(! eg_mch ('#^(?P
    '.( $dti ? r_ (' ', $dti: ' +').')(?P.*)$#u', $this -> cutLe , $mches )) 459 g$this -> moveToPviousLe (); 464 g$xtIndt = $mches ['indent']; 465 g$eviousIndt = 0; 467 g$xt . $mches ['xt']. $t ; 468  g$this -> gcutLeNb + 1 < cou ( $this -> les )) 470 g$this -> moveToNextLe (); 472 i( eg_mch ('#^(?P
    {'. ( $xtIndt ).',})(?P.+)$#u', $this -> cutLe , $mches )) 474 i(' ' = $t && $eviousIndt ! $mches ['indent']) 476 $xt = subr ($text, 0, -1)."\n"; 478 g$eviousIndt = $mches ['indent']; 480 g$xt . r_ (' ', $diff = ( $mches ['dt']- sn( $xtIndt )).$mches['xt'].($dif? "\n" : $t ); 482 i( eg_mch ('#^(?P *)$#', $this -> cutLe , $mches )) 484 g$xt . eg_a ('#^ {1,'. ( $xtIndt ).'}#', '', $mches ['text'])."\n"; 488 g$this -> moveToPviousLe (); 494 i(' ' = $t ) 497 $xt = eg_a ('/ (\n*)$/', "\n$1", $text); 500  g$dit ) 503 $xt = eg_a ('#\n+$#s', "\n", $text); 508 $xt = eg_a ('#\n+$#s', '', $text); 512  g$xt ; 520 eed funi $isNextLeIndd () 522 $cutIndti = $this -> `gCutLeIndti (); 523 $nEOF = $this -> `moveToNextLe (); 525  $nEOF && $this -> `isCutLeEmy ()) 527 $nEOF = $this -> `moveToNextLe (); 530 i( l == $nEOF ) 532  l ; 535 $t = l ; 536 i( $this -> `gCutLeIndti (< $cutIndti ) 538 $t = ue ; 541 $this -> `moveToPviousLe (); 543  $t ; 544 } } 551 eed funi $isCutLeEmy () 553  $this -> `isCutLeBnk (|| $this-> `isCutLeCommt (); 554 } } 561 eed funi $isCutLeBnk () 563  '' = `im ( $this -> cutLe , ' '); 564 } } 571 eed funi $isCutLeCommt () 574 $rimmedLe = `rim ( $this -> cutLe , ' '); 575  $rimmedLe [0] === '#'; 576 } } 585 eed funi $nup ( $vue ) 587 $vue = `r_a ( `y ("\r\n", "\r"), "\n", $value); 589 i(! `eg_mch ("#\n$#", $vue )) 591 $vue .= "\n"; 595 $cou = 0; 596 $vue = `eg_a ('#^\%YAML[: ][\d\.]+.*\n#su', '', $vue, -1, $cou ); 597 $this -> offt + $cou ; 600 $immedVue = `eg_a ('#^(\#.*?\n)+#s', '', $vue , -1, $cou ); 601 i( $cou == 1) 604 $this -> offt + `subr_cou ( $vue , "\n"- subr_cou( $immedVue , "\n"); 605 $vue = $immedVue ; 609 $immedVue = `eg_a ('#^\-\-\-.*?\n#s', '', $vue , -1, $cou ); 610 i( $cou == 1) 613 $this -> offt + `subr_cou ( $vue , "\n"- subr_cou( $immedVue , "\n"); 614 $vue = $immedVue ; 617 $vue = `eg_a ('#\.\.\.\s*$#s', '', $value); 620  $vue ; 621 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query.php 1 `gAribu ( Dore_Ce :: ATTR_QUERY_CLASS ); 192  w `$ass ( $cn ); 198 eed funi $r () 200 $this -> _eQud = l ; 201 $this -> _ndgJoCdis = `y (); 202 $this -> _e = lf :: STATE_DIRTY ; 203 } } 208 public funi $t () 210 $this -> _subquyAls = `y (); 211 $this -> _agggeAlsM = `y (); 212 $this -> _ndgAggges = `y (); 213 $this -> _ndgSubqus = `y (); 214 $this -> _ndgFlds = `y (); 215 $this -> _ededTabs = `y (); 216 $this -> _exessiM = `y (); 217 $this -> _subquyAls = `y (); 218 $this -> _edsSubquy = l ; 219 $this -> _isLimSubquyUd = l ; 220 } } 228 public funi $Subquy () 230 $ass = `g_ass ( $this ); 231 $obj = w `$ass (); 234 $obj -> `cySubquyInfo ( $this ); 237 $obj -> `isSubquy ( ue ); 239  $obj ; 240 } } 249 public funi $addPdgJoCdi ( $compڒtAls , $joCdi ) 251 i! `ist ( $this -> _ndgJoCdis [ $compڒtAls ])) { 252 $this -> _ndgJoCdis [ $compڒtAls ] = `y (); 255 $this -> _ndgJoCdis [ $compڒtAls ][] = $joCdi ; 256 } } 265 public funi tchAay ( $ms = $y ()) 267  $this -> `execu ( $ms , Dore_Ce :: HYDRATE_ARRAY ); 268 } } 279 public funi tchO ( $ms = y (), $hydtiMode = nu ) 281 $ci = $this -> execu ( $ms , $hydtiMode ); 283 i( is_sr ( $ci )) { 284  g$ci ; 287 i( cou ( $ci ) === 0) { 288  l ; 291 i( $ci of gDore_Ci ) { 292  g$ci -> gF (); 293 } i( is_y ( $ci )) { 294  y_shi ( $ci ); 297  gl ; 313 public funi $isSubquy ( $bo = nu ) 315 i( $bo == nu ) { 316  $this -> _isSubquy ; 319 $this -> _isSubquy = ( bo $bo ; 320  $this ; 321 } } 329 public funi $gSqlAgggeAls ( $dqlAls ) 331 i( `ist ( $this -> _agggeAlsM [ $dqlAls ])) { 333 $this -> _exessiM [ $dqlAls ][1] = ue ; 335  $this -> _agggeAlsM [ $dqlAls ]; 336 } i! `emy ( $this -> _ndgAggges )) { 337 $this -> `ossPdgAggges (); 339  $this -> `gSqlAgggeAls ( $dqlAls ); 340 } if! ( $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_PORTABILITY & Dore_Ce:: PORTABILITY_EXPR )){ 341  $dqlAls ; 343 throw w `Dore_Quy_Exi ('Unknowagggs: ' . $dqlAls ); 345 } } 353 public funi $hasSqlAgggeAls ( $dqlAls ) 355 y { 356 $this -> `gSqlAgggeAls ( $dqlAls ); 357  ue ; 358 } `tch ( Exi $e ) { 359  l ; 361 } } 367 public funi $adjuProsdPam ( $dex ) 370 $ms = $this -> `gIlPams (); 373 $f = `y_i ( $ms , 0, $dex ); 374 $ϡ = `y_i ( $ms , $dex , `cou ($params) - $index); 377 `y_li ( $ϡ , 0, 1, $last[0]); 380 $this -> _execPams = `y_mge ( $f , $ϡ ); 381 } } 405 public funi $gDqlPt ( $quyPt ) 407 i! `ist ( $this -> _dqlPts [ $quyPt ])) { 408 throw w `Dore_Quy_Exi ('Unknowquy' . $quyPt ); 411  $this -> _dqlPts [ $quyPt ]; 412 } } 422 public funi $cڏs ( $dql ) 424  `ros ( $this -> `gDql (), $dql == l ? f : ue ; 425 } } 440 public funi $ossPdgFlds ( $compڒtAls ) 442 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 443 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 445 i! `ist ( $this -> _ndgFlds [ $compڒtAls ])) { 446 i( $this -> _hydt -> `gHydtiMode (! Dore_Ce :: HYDRATE_NONE ) { 447 i! $this -> _isSubquy && $compڒtAls =$this-> `gRoAls ()) { 448 throw w `Dore_Quy_Exi ("Theoot class ofhe query (alias $componentAlias) " 459 i! $this -> `isSubquy (&& `ist ($this-> _quyCompڒts [ $compڒtAls ]['parent'])) { 460 $Als = $this -> _quyCompڒts [ $compڒtAls ]['parent']; 461 i( `is_rg ( $Als && ! `ist ( $this -> _ndgFlds [$parentAlias]) 462 && $this -> _hydt -> `gHydtiMode (! Dore_Ce :: HYDRATE_NONE 463 && $this -> _hydt -> `gHydtiMode (! Dore_Ce :: HYDRATE_SCALAR 464 && $this -> _hydt -> `gHydtiMode (! Dore_Ce :: HYDRATE_SINGLE_SCALAR ) { 465 throw w `Dore_Quy_Exi ("Theeft side ofhe join between " 471 $flds = $this -> _ndgFlds [ $compڒtAls ]; 474 i( `_y ('*', $flds )) { 475 $flds = $b -> `gFldNames (); 477 $drivCssName = $this -> _hydt -> `gHydtDrivCssName (); 481 i! $this -> _isSubquy && `is_subass_of ( $drivCssName , 'Doctrine_Hydrator_Graph')) { 482 $flds = `y_unique ( `y_mge (( y $b -> `gIdtifr (), $fields)); 486 $sql = `y (); 487 `fܗch ( $flds as $fldAls => $fldName ) { 488 $cumnName = $b -> `gCumnName ( $fldName ); 489 i(( $owr = $b -> `gCumnOwr ( $cumnName )!= nu && 490 $owr != $b -> `gCompڒtName ()) { 492 $ = $this -> _cn -> `gTab ( $owr ); 493 $cumnName = $ -> `gCumnName ( $fldName ); 494 $Als = $this -> `gSqlTabAls ( $compڒtAls . '.' . $ -> `gCompڒtName ()); 495 $sql [] = $this -> _cn -> `queIdtifr ( $Als . '.' . $this->_cn->queIdtifr( $cumnName ) 497 . $this -> _cn -> `queIdtifr ( $bAls . '__' . $cumnName ); 501 i( `ist ( $this -> _agggeAlsM [ $fldAls ])) { 502 $sSql = $this -> _agggeAlsM [ $fldAls ]; 504 $cumnName = $b -> `gCumnName ( $fldName ); 505 $sSql = $this -> _cn -> `queIdtifr ( $bAls . '__' . $cumnName ); 507 $sql [] = $this -> _cn -> `queIdtifr ( $bAls . '.' . $this->_cn->queIdtifr( $cumnName ) 509 . $sSql ; 513 $this -> _ededTabs [] = $bAls ; 515  `imode (', ', $sql ); 516 } } 531 public funi $rSeFld ( $fld ) 533 $rms = `exode ('.', $fld ); 535 i( `ist ( $rms [1])) { 536 $compڒtAls = $rms [0]; 537 $fld = $rms [1]; 539 `t ( $this -> _quyCompڒts ); 540 $compڒtAls = `key ( $this -> _quyCompڒts ); 541 $flds = $rms [0]; 544 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 545 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 549 i( $fld === '*') { 550 $sql = `y (); 552 `fܗch ( $b -> `gCumnNames ( as $fld ) { 553 $sql [] = $this -> `rSeFld ( $compڒtAls . '.' . $fld ); 556  `imode (', ', $sql ); 558 $me = $b -> `gCumnName ( $fld ); 560 $this -> _ededTabs [] = $bAls ; 562  $this -> _cn -> `queIdtifr ( $bAls . '.' . $me ) 564 . $this -> _cn -> `queIdtifr ( $bAls . '__' . $me ); 566 } } 577 public funi $gExessiOwr ( $ex ) 579 i( `ou ( `subr ( `im ( $ex , '( '), 0, 6)) !== 'SELECT') { 581 $ex = `eg_a ('/([\'\"])[^\1]*\1/', '', $expr); 582 `eg_mch_l ("/[a-z_][a-z0-9_]*\.[a-z_][a-z0-9_]*[\.[a-z0-9]+]*/i", $ex , $mches ); 584 $mch = `cut ( $mches ); 586 i( `ist ( $mch [0])) { 587 $rms = `exode ('.', $mch [0]); 589  $rms [0]; 592  $this -> `gRoAls (); 594 } } 604 public funi $rSe ( $dql ) 606 $fs = $this -> _tokiz -> `sqlExode ( $dql , ','); 608 $pos = `os ( `im ( $fs [0]), ' '); 609 $f = `subr ( $fs [0], 0, $pos ); 612 i( $f === 'DISTINCT') { 613 $this -> _sqlPts ['di'] = ue ; 615 $fs [0] = `subr ($fs[0], ++ $pos ); 618 $rdCompڒts = `y (); 620 `fܗch ( $fs as $n ) { 621 $n = `im ($reference); 623 i( `emy ( $n )) { 627 $rms = $this -> _tokiz -> `sqlExode ( $n , ' '); 628 $pos = `os ( $rms [0], '('); 630 i( `cou ( $rms > 1 || $pos != l ) { 631 $exessi = `y_shi ( $rms ); 632 $s = `y_p ( $rms ); 634 i! $s ) { 635 $s = `subr ( $exessi , 0, $pos ); 639 i( $pos != l && `subr ( $exessi , 0, 1) !== "'" && substr($expression, 0, $pos) == '') { 640 $_quyCompڒts = $this -> _quyCompڒts ; 641 `t ( $_quyCompڒts ); 642 $compڒtAls = `key ( $_quyCompڒts ); 644 $compڒtAls = $this -> `gExessiOwr ( $exessi ); 647 $exessi = $this -> `rCu ($expression); 649 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 651 $dex = `cou ( $this -> _agggeAlsM ); 653 $sqlAls = $this -> _cn -> `queIdtifr ( $bAls . '__' . $dex ); 655 $this -> _sqlPts [''][] = $exessi . ' AS ' . $sqlAls ; 657 $this -> _agggeAlsM [ $s ] = $sqlAls ; 658 $this -> _exessiM [ $s ][0] = $exessi ; 660 $this -> _quyCompڒts [ $compڒtAls ]['agg'][ $dex ] = $s ; 662 $this -> _ededTabs [] = $bAls ; 666 i( `eg_mch ('/^([^\(]+)\.(\'?)(.*?)(\'?)$/', $exessi , $fld )) { 667 $this -> _ndgFlds [ $compڒtAls ][ $s ] = $fld [3]; 671 $e = `exode ('.', $rms [0]); 673 i( `ist ( $e [1])) { 674 $compڒtAls = $e [0]; 675 $fld = $e [1]; 677 `t ( $this -> _quyCompڒts ); 678 $compڒtAls = `key ( $this -> _quyCompڒts ); 679 $fld = $e [0]; 682 $this -> _ndgFlds [ $compڒtAls ][] = $fld ; 685 } } 703 public funi $rCu ( $au ) 705 $au = $this -> _cn -> daDi -> `rBoޗn ( `im ($clause)); 707 i( `is_numic ( $au )) { 708  $au ; 711 $rms = $this -> _tokiz -> `auExode ( $au , `y (' ', '+', '-', '*', '/', '<', '>', '=', '>=', '<=', '&', '|')); 712 $r = ''; 714 `fܗch ( $rms as $rm ) { 715 $pos = `os ( $rm [0], '('); 717 i( $pos != l && `subr ( $rm [0], 0, 1) !== "'") { 718 $me = `subr ( $rm [0], 0, $pos ); 720 $rm [0] = $this -> `rFuniExessi ($term[0]); 722 i( `subr ( $rm [0], 0, 1) !== "'" && substr($term[0], -1) !== "'") { 723 i( `os ( $rm [0], '.'!= l ) { 724 i! `is_numic ( $rm [0])) { 725 $e = `exode ('.', $rm [0]); 727 $fld = `y_p ( $e ); 729 i( $this -> `gTy (== Dore_Quy :: SELECT ) { 730 $compڒtAls = `imode ('.', $e ); 732 i( `emy ( $compڒtAls )) { 733 $compڒtAls = $this -> `gRoAls (); 736 $this -> `ld ( $compڒtAls ); 739 i! `ist ( $this -> _quyCompڒts [ $compڒtAls ])) { 740 throw w `Dore_Quy_Exi ('Unknowcompڒ' . $compڒtAls ); 743 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 745 $def = $b -> `gDefiOf ( $fld ); 748 $fld = $b -> `gCumnName ($field); 751 i! $def ) { 752 throw w `Dore_Quy_Exi ('Unknowcum' . $fld ); 755 i( `ist ( $def ['owner'])) { 756 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 759 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 762 $rm [0] = $this -> _cn -> `queIdtifr ( $bAls ) 764 . $this -> _cn -> `queIdtifr ( $fld ); 767 $fld = $this -> `gRo ()-> `gCumnName ($field); 768 $rm [0] = $this -> _cn -> `queIdtifr ( $fld ); 772 i! `emy ( $rm [0]&& ! `_y ( `ou ($rm[0]), lf :: $_keywds ) && 773 ! `is_numic ( $rm [0]&& $rm[0] !='?' && `subr ($term[0], 0, 1) !== ':') { 775 $compڒtAls = $this -> `gRoAls (); 777 $found = l ; 779 i( $compڒtAls != l && $compڒtAl!= nu ) { 780 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 783 i( $b -> `hasFld ( $rm [0])) { 784 $found = ue ; 786 $def = $b -> `gDefiOf ( $rm [0]); 789 $rm [0] = $b -> `gCumnName ($term[0]); 792 i( `ist ( $def ['owner'])) { 793 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 796 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 798 i( $this -> `gTy (== Dore_Quy :: SELECT ) { 800 $rm [0] = $this -> _cn -> `queIdtifr ( $bAls ) 802 . $this -> _cn -> `queIdtifr ( $rm [0]); 805 $rm [0] = $this -> _cn -> `queIdtifr ($term[0]); 808 $found = l ; 812 i! $found ) { 813 $rm [0] = $this -> `gSqlAgggeAls ($term[0]); 820 $r . $rm [0] . $term[1]; 822  $r ; 823 } } 825 public funi $rIdtifrRen ( $ex ) 828 } } 830 public funi $rFuniExessi ( $ex , $rClback = nu ) 832 $pos = `os ( $ex , '('); 833 $me = `subr ( $ex , 0, $pos ); 835 i( $me === '') { 836  $this -> `rSubquy ( $ex ); 839 $gS = `subr ( $ex , ( $pos + 1), -1); 840 $gs = `y (); 843 `fܗch ( $this -> _tokiz -> `sqlExode ( $gS , ',' as $g ) { 844 $gs [] = $rClback ? `_ur_func_y ($rClback, `y ( $g ): $this -> `rCu ($arg); 848 y { 849 $ex = `_ur_func_y ( `y ( $this -> _cn -> exessi , $me ), $gs ); 850 } `tch ( Dore_Exessi_Exi $e ) { 851 throw w `Dore_Quy_Exi ('Unknowfuni ' . $me . '.'); 854  $ex ; 855 } } 858 public funi $rSubquy ( $subquy ) 860 $immed = `im ( $this -> _tokiz -> `bckTrim ( $subquy )); 863 i( `subr ( $immed , 0, 4) == 'FROM' || substr($trimmed, 0, 6) == 'SELECT') { 865 $q = $this -> `Subquy ()-> `rDqlQuy ( $immed ); 866 $immed = $q -> `gSqlQuy (); 867 $q -> ` (); 868 } i( `subr ( $immed , 0, 4) == 'SQL:') { 869 $immed = `subr ($trimmed, 4); 871 $e = $this -> _tokiz -> `sqlExode ( $immed , ','); 873 $vue = `y (); 874 $dex = l ; 876 `fܗch ( $e as $ ) { 877 $vue [] = $this -> `rCu ( $ ); 880 $immed = `imode (', ', $vue ); 883  '(' . $immed . ')'; 884 } } 898 public funi $ossPdgSubqus () 900 `fܗch ( $this -> _ndgSubqus as $vue ) { 901 `li ( $dql , $s $vue ; 903 $subquy = $this -> `Subquy (); 905 $sql = $subquy -> `rDqlQuy ( $dql , l )-> `gQuy (); 906 $subquy -> ` (); 908 `t ( $this -> _quyCompڒts ); 909 $compڒtAls = `key ( $this -> _quyCompڒts ); 910 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 912 $sqlAls = $bAls . '__' . `cou ( $this -> _agggeAlsM ); 914 $this -> _sqlPts [''][] = '(' . $sql . 'AS ' . $this-> _cn -> `queIdtifr ( $sqlAls ); 916 $this -> _agggeAlsM [ $s ] = $sqlAls ; 917 $this -> _quyCompڒts [ $compڒtAls ]['agg'][] = $s ; 919 $this -> _ndgSubqus = `y (); 920 } } 929 public funi $ossPdgAggges () 932 `fܗch ( $this -> _ndgAggges as $aggge ) { 933 `li ( $exessi , $compڒts , $s $aggge ; 935 $bAls = `y (); 938 i! `emy ( $compڒts )) { 939 `fܗch ( $compڒts as $compڒt ) { 941 i( `is_numic ( $compڒt )) { 945 $e = `exode ('.', $compڒt ); 947 $fld = `y_p ( $e ); 948 $compڒtAls = `imode ('.', $e ); 951 i! `ist ( $this -> _quyCompڒts [ $compڒtAls ])) { 952 throw w `Dore_Quy_Exi ('Unknowcompڒ' . $compڒtAls ); 955 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 957 $fld = $b -> `gCumnName ($field); 960 i! $b -> `hasCumn ( $fld )) { 961 throw w `Dore_Quy_Exi ('Unknowcum' . $fld ); 964 $sqlTabAls = $this -> `gSqlTabAls ( $compڒtAls ); 966 $bAls [ $sqlTabAls ] = ue ; 970 $idtifr = $this -> _cn -> `queIdtifr ( $sqlTabAls . '.' . $fld ); 971 $exessi = `r_a ( $compڒt , $idtifr , $expression); 975 i( `cou ( $bAls ) !== 1) { 976 $compڒtAls = `t ( $this -> _bAlsM ); 977 $bAls = `key ( $this -> _bAlsM ); 980 $dex = `cou ( $this -> _agggeAlsM ); 981 $sqlAls = $this -> _cn -> `queIdtifr ( $bAls . '__' . $dex ); 983 $this -> _sqlPts [''][] = $exessi . ' AS ' . $sqlAls ; 985 $this -> _agggeAlsM [ $s ] = $sqlAls ; 986 $this -> _exessiM [ $s ][0] = $exessi ; 988 $this -> _quyCompڒts [ $compڒtAls ]['agg'][ $dex ] = $s ; 990 $this -> _ededTabs [] = $bAls ; 993 $this -> _ndgAggges = `y (); 994 } } 1004 eed funi $_budSqlQuyBa () 1006  $this -> _ty ) { 1007  lf :: DELETE : 1008 $q = 'DELETE FROM '; 1010  lf :: UPDATE : 1011 $q = 'UPDATE '; 1013  lf :: SELECT : 1014 $di = ( $this -> _sqlPts ['distinct']) ? 'DISTINCT ' : ''; 1015 $q = 'SELECT ' . $di . `imode (', ', $this -> _sqlPts ['select']) . ' FROM '; 1018  $q ; 1019 } } 1027 eed funi $_budSqlFromPt ( $ignePdg = l ) 1029 $q = ''; 1031 `fܗch ( $this -> _sqlPts ['om'] as $k => $ ) { 1032 $e = `exode (' ', $ ); 1034 i( $k === 0) { 1035 i! $ignePdg && $this -> _ty = lf :: SELECT ) { 1037 $s = `cou ( $e ) > 1 1038 ? $this -> `gCompڒtAls ( $e [1]) 1039 : nu ; 1040 $whe = $this -> `_ossPdgJoCdis ( $s ); 1043 i! `emy ( $whe )) { 1044 i( `cou ( $this -> _sqlPts ['where']) > 0) { 1045 $this -> _sqlPts ['where'][] = 'AND'; 1048 i( `subr ( $whe , 0, 1) === '(' && substr($where, -1) === ')') { 1049 $this -> _sqlPts ['whe'][] = $whe ; 1051 $this -> _sqlPts ['whe'][] = '(' . $whe . ')'; 1056 $q . $ ; 1063 i! `eg_mch ('/\bJOIN\b/i', $ && ! `ist ( $this -> _ndgJoCdis [ $k ])) { 1064 $q .', ' . $ ; 1066 i( `subr ( $ , 0, 9) === 'LEFT JOIN') { 1067 $s = `y_mge ( $this -> _subquyAls , 1068 `y_keys ( $this -> _ededTabs )); 1070 i! `_y ( $e [3], $s && ! in_y($e[2], $s&& ! `emy ( $this -> _ndgFlds )) { 1076 i! $ignePdg && `ist ( $this -> _ndgJoCdis [ $k ])) { 1077 i( `os ( $ , ' ON '!= l ) { 1078 $ .= ' AND '; 1080 $ .= ' ON '; 1083 $ . $this -> `_ossPdgJoCdis ( $k ); 1086 $compڒtAls = $this -> `gCompڒtAls ( $e [3]); 1087 $rg = $this -> `gInhCdi ( $compڒtAls ); 1089 i( $rg ) { 1090 $ = $ . ' AND ' . $rg ; 1092 $q .' ' . $ ; 1095 $this -> _sqlPts ['om'][ $k ] = $ ; 1097  $q ; 1098 } } 1108 eed funi $_ossPdgJoCdis ( $s ) 1110 $s = `y (); 1112 i( $s != nu && `ist ( $this -> _ndgJoCdis [$alias])) { 1113 $rr = w `Dore_Quy_JoCdi ( $this , $this-> _tokiz ); 1115 `fܗch ( $this -> _ndgJoCdis [ $s ] as $joCdi ) { 1116 $s [] = $rr -> `r ( $joCdi ); 1123  ( `cou ( $s > 0 ? '(' . `imode (') AND (', $parts) . ')' : ''); 1124 } } 1135 public funi gSqlQuy ( $ms = y (), $limSubquy = ue ) 1138 $this -> _ms ['exec'] = $ms ; 1141 g$this -> g_execPams = $this -> gFωedPams (); 1143 i( g$this -> g_e != lf :: STATE_DIRTY ) { 1144 $this -> fixAayPamVues ($this-> gIlPams ()); 1147  g$this -> g_sql ; 1149  g$this -> budSqlQuy ( $limSubquy ); 1158 public funi $budSqlQuy ( $limSubquy = ue ) 1161 i! $this -> `isSubquy ()) { 1162 $this -> _quyCompڒts = `y (); 1163 $this -> _ndgAggges = `y (); 1164 $this -> _agggeAlsM = `y (); 1167 $this -> `t (); 1170 $this -> `_eQuy (); 1174 `fܗch ( $this -> _dqlPts as $quyPtName => $quyPts ) { 1176 i( $quyPtName == 'from') { 1178 $quyCompڒtsBefe = $this -> `gQuyCompڒts (); 1182 i( $quyPtName != 'forUpdate') { 1183 $this -> `_ossDqlQuyPt ( $quyPtName , $quyPts ); 1187 i( $quyPtName == 'from') { 1189 $quyCompڒtsA = $this -> `gQuyCompڒts (); 1192 $diffQuyCompڒts = `y_diff_key ( $quyCompڒtsA , $quyCompڒtsBefe ); 1193 $this -> _roAls = `key ( $diffQuyCompڒts ); 1196 $this -> _e = lf :: STATE_CLEAN ; 1199 i( `emy ( $this -> _sqlPts ['from'])) { 1200  l ; 1203 $edsSubQuy = l ; 1204 $subquy = ''; 1205 $m = $this -> `gRoDei (); 1206 $b = $m ['table']; 1207 $roAls = $this -> `gRoAls (); 1209 i! `emy ( $this -> _sqlPts ['lim']&& $this-> _edsSubquy && 1210 $b -> `gAribu ( Dore_Ce :: ATTR_QUERY_LIMIT =Dore_Ce:: LIMIT_RECORDS ) { 1214 if(! $this -> _sqlPts ['distinct']) { 1215 $this -> _isLimSubquyUd = ue ; 1216 $edsSubQuy = ue ; 1218 `fܗch `y_keys ( $this -> _ndgFlds as $s ){ 1220 if( $s = $this -> `gRoAls ()){ 1225 if( `ist ( $this -> _quyCompڒts [ $s ]['relation']) && 1226 $this -> _quyCompڒts [ $s ]['ti']-> `gTy (= Dore_Ri :: ONE ){ 1230 $this -> _isLimSubquyUd = ue ; 1231 $edsSubQuy = ue ; 1236 $sql = `y (); 1238 i! `emy ( $this -> _ndgFlds )) { 1239 `fܗch ( $this -> _quyCompڒts as $s => $m ) { 1240 $fldSql = $this -> `ossPdgFlds ( $s ); 1241 i! `emy ( $fldSql )) { 1242 $sql [] = $fldSql ; 1247 i! `emy ( $sql )) { 1248 `y_unshi ( $this -> _sqlPts [''], `imode (', ', $sql )); 1251 $this -> _ndgFlds = `y (); 1254 $q = $this -> `_budSqlQuyBa (); 1255 $q . $this -> `_budSqlFromPt (); 1257 i! `emy ( $this -> _sqlPts ['set'])) { 1258 $q .' SET ' . `imode (', ', $this -> _sqlPts ['set']); 1261 $rg = $this -> `gInhCdi ($this-> `gRoAls ()); 1264 i! `emy ( $rg )) { 1265 i( `cou ( $this -> _sqlPts ['where']) > 0) { 1266 $this -> _sqlPts ['where'][] = 'AND'; 1269 i( `subr ( $rg , 0, 1) === '(' && substr($string, -1) === ')') { 1270 $this -> _sqlPts ['whe'][] = $rg ; 1272 $this -> _sqlPts ['whe'][] = '(' . $rg . ')'; 1276 $modifyLim = ue ; 1277 $limSubquySql = ''; 1279 i! `emy ( $this -> _sqlPts ['lim']|| !my($this->_sqlPts['offt'])&& $edsSubQuy && $limSubquy ) { 1280 $subquy = $this -> `gLimSubquy (); 1283 $idCumnName = $b -> `gCumnName ($b-> `gIdtifr ()); 1285  `ow ( $this -> _cn -> `gDrivName ())) { 1287 $this -> `uQuyCache ( l ); 1290 $li = $this -> _cn -> `execu ( $subquy , $this-> _execPams )-> `tchA ( Dore_Ce :: FETCH_COLUMN ); 1291 $subquy = `imode (', ', `y_m ( `y ( $this -> _cn , 'que'), $li )); 1296 $subquyAls = $this -> _cn -> `queIdtifr ('doctrine_subquery_alias'); 1299 $subquy = 'SELECT ' . $subquyAls . '.' . $this -> _cn -> `queIdtifr ( $idCumnName ) 1300 . ' FROM (' . $subquy . 'AS ' . $subquyAls ; 1305 $fld = $this -> `gSqlTabAls ( $roAls . '.' . $idCumnName ; 1309 $limSubquySql = $this -> _cn -> `queIdtifr ( $fld ) 1310 . (! `emy ( $subquy )) ? ' IN (' . $subquery . ')' : ' IS NULL') 1311 . (( `cou ( $this -> _sqlPts ['where']) > 0) ? ' AND ' : ''); 1313 $modifyLim = l ; 1317 $emyWhe = `emy ( $this -> _sqlPts ['where']); 1319 i! ( $emyWhe && $limSubquySql == '')) { 1320 $whe = `imode (' ', $this -> _sqlPts ['where']); 1321 $whe = ($wh='' || ( `subr ($where, 0, 1) === '(' && substr($where, -1) === ')')) 1322 ? $whe : '(' . $where . ')'; 1324 $q .' WHERE ' . $limSubquySql . $whe ; 1329 `fܗch ( $this -> _sqlPts ['dby'] as $k => $dBy ) { 1330 $e = `exode (', ', $dBy ); 1331 `unt ( $this -> _sqlPts ['dby'][ $k ]); 1332 `fܗch ( $e as $v ) { 1333 $this -> _sqlPts ['dby'][] = $v ; 1339 i( $this -> _ty == lf :: SELECT ) { 1340 `fܗch ( $this -> _quyCompڒts as $s => $m ) { 1341 $sqlAls = $this -> `gSqlTabAls ( $s ); 1342 i( `ist ( $m ['relation'])) { 1343 $dBy = $m ['ti']-> `gOrdBySmt ( $sqlAls , ue ); 1344 i( $dBy = $m ['relation']['orderBy']) { 1345 i( `ist ( $m ['ref'])) { 1346 $dBy = $m ['ti']['fTab']-> `ossOrdBy ( $sqlAls , $m['ti']['dBy'], ue ); 1348 $dBy = nu ; 1352 $dBy = $m ['b']-> `gOrdBySmt ( $sqlAls , ue ); 1355 i( $dBy ) { 1356 $e = `exode (',', $dBy ); 1357 $e = `y_m ('trim', $e); 1358 `fܗch ( $e as $v ) { 1359 i! `_y ( $v , $this -> _sqlPts ['orderby'])) { 1360 $this -> _sqlPts ['dby'][] = $v ; 1367 $q .! `emy ( $this -> _sqlPts ['groupby'])? ' GROUP BY ' . `imode (', ', $this->_sqlParts['groupby']) : ''; 1368 $q .! `emy ( $this -> _sqlPts ['havg'])? ' HAVING ' . `imode (' AND ', $this->_sqlParts['having']): ''; 1369 $q .! `emy ( $this -> _sqlPts ['dby'])? ' ORDER BY ' . `imode (', ', $this->_sqlParts['orderby']) : ''; 1371 i( $modifyLim ) { 1372 $q = $this -> _cn -> `modifyLimQuy ($q, $this-> _sqlPts ['lim'], $this->_sqlPts['offt'], l , false, $this); 1375 $q . $this -> _sqlPts ['fUpde'] == ue ? ' FOR UPDATE ' : ''; 1377 $this -> _sql = $q ; 1379 $this -> `r (); 1381  $q ; 1382 } } 1395 public funi $gLimSubquy () 1397 $m = `t ( $this -> _quyCompڒts ); 1398 $b = $m ['table']; 1399 $compڒtAls = `key ( $this -> _quyCompڒts ); 1402 $s = $this -> `gSqlTabAls ( $compڒtAls ); 1404 $imyKey = $s . '.' . $b -> `gCumnName ($b-> `gIdtifr ()); 1406 $drivName = $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_DRIVER_NAME ); 1409 i(( $drivName ='ae' || $drivNam='oci'&& $this -> `_isOrdedByJoedCumn ()) { 1410 $subquy = 'SELECT '; 1412 $subquy = 'SELECT DISTINCT '; 1414 $subquy . $this -> _cn -> `queIdtifr ( $imyKey ); 1417 i( $drivName == 'pgsql' || $driverName == 'oracle' || $driverName == 'oci' || $driverName == 'mssql' || $driverName == 'odbc') { 1418 `fܗch ( $this -> _sqlPts ['dby'] as $ ) { 1420 $e = $this -> _tokiz -> `bckExode ( $ , ' '); 1421 `fܗch ( $e as $f ) { 1422 i( $f == 0 || $f % 2 == 0) { 1423 $Orig = `r_a (',', '', `im ( $f )); 1424 $back = `_funi ('$e', 'returnrim($e, \'[]`"\');'); 1425 $ = `im ( `imode ('.', `y_m ( $back , `exode ('.', $Orig )))); 1427 i( `os ( $ , '.'== l ) { 1432 i( `os ( $ , '('!= l ) { 1437 i( $ != $imyKey ) { 1438 $subquy .', ' . $Orig ; 1445 $dby = $this -> _sqlPts ['orderby']; 1446 $havg = $this -> _sqlPts ['having']; 1447 i( $drivName == 'mysql' || $driverName == 'pgsql') { 1448 `fܗch ( $this -> _exessiM as $dqlAls => $ex ) { 1449 i( `ist ( $ex [1])) { 1450 $subquy .', ' . $ex [0] . ' AS ' . $this -> _agggeAlsM [ $dqlAls ]; 1454 `fܗch ( $this -> _exessiM as $dqlAls => $ex ) { 1455 i( `ist ( $ex [1])) { 1456 `fܗch ( $havg as $k => $v ) { 1457 $havg [ $k ] = `r_a ( $this -> _agggeAlsM [ $dqlAls ], $ex [0], $v ); 1459 `fܗch ( $dby as $k => $v ) { 1460 $e = `exode (' ', $v ); 1461 i( $e [0] = $this -> _agggeAlsM [ $dqlAls ]) { 1462 $dby [ $k ] = $ex [0]; 1470 `eg_mch_l ('/`[a-z0-9_]+`\.`[a-z0-9_]+`/i', `imode (' ', $havg ), $mches , PREG_PATTERN_ORDER ); 1471 i( `cou ( $mches [0]) > 0) { 1472 $subquy .', ' . `imode (', ', `y_unique ( $mches [0])); 1475 $subquy .= ' FROM'; 1477 `fܗch ( $this -> _sqlPts ['om'] as $ ) { 1479 i( `subr ( $ , 0, 9) === 'LEFT JOIN') { 1480 $e = `exode (' ', $ ); 1483 i( `emy ( $this -> _sqlPts ['orderby']) &&mpty($this->_sqlParts['where']) &&mpty($this->_sqlParts['having']) &&mpty($this->_sqlParts['groupby'])) { 1488 $subquy .' ' . $ ; 1492 $subquy .! `emy ( $this -> _sqlPts ['whe']))? ' WHERE ' . `imode (' ', $this->_sqlParts['where']) : ''; 1493 $subquy .! `emy ( $this -> _sqlPts ['groupby']))? ' GROUP BY ' . `imode (', ', $this->_sqlParts['groupby']) : ''; 1494 $subquy .! `emy ( $havg ))? ' HAVING ' . `imode (' AND ', $having) : ''; 1495 $subquy .! `emy ( $dby ))? ' ORDER BY ' . `imode (', ', $orderby) : ''; 1497 i(( $drivName ='ae' || $drivNam='oci'&& $this -> `_isOrdedByJoedCumn ()) { 1503 $quedIdtifrCumnName = $this -> _cn -> `queIdtifr ( $b -> `gCumnName ($b-> `gIdtifr ())); 1504 $subquy = 'SELECT dore_subquy_s.' . $quedIdtifrCumnName 1505 . ' FROM (' . $subquy . ') doctrine_subquery_alias' 1506 . ' GROUP BY dore_subquy_s.' . $quedIdtifrCumnName 1511 $subquy = $this -> _cn -> `modifyLimSubquy ( $b , $subquy, $this-> _sqlPts ['limit'], $this->_sqlParts['offset']); 1513 $s = $this -> _tokiz -> `queExode ( $subquy , ' ', "'", "'"); 1515 `fܗch ( $s as $k => $ ) { 1516 i( `os ( $ , ' '!= l ) { 1520 $ = `r_a ( `y ('"', "'", '`'), "", $part); 1523 `eg_mch ('/^(\(?)(.*?)(\)?)$/', $ , $mches ); 1524 i( $this -> `hasSqlTabAls ( $mches [2])) { 1525 $s [ $k ] = $mches [1]. $this -> _cn -> `queIdtifr ($this-> `geNewSqlTabAls ($matches[2])).$matches[3]; 1529 i( `os ( $ , '.'== l ) { 1533 `eg_mch_l ("/[a-zA-Z0-9_]+\.[a-z0-9_]+/i", $ , $m ); 1535 `fܗch ( $m [0] as $mch ) { 1536 $e = `exode ('.', $mch ); 1539 $e2 = `y (); 1540 `fܗch ( $e as $k2 => $v2 ) { 1541 $e2 [ $k2 ] = $this -> _cn -> `queIdtifr ( $v2 ); 1543 $mch = `imode ('.', $e2 ); 1546 $e [0] = $this -> `geNewSqlTabAls ($e[0]); 1549 `fܗch ( $e as $k2 => $v2 ) { 1550 $e [ $k2 ] = $this -> _cn -> `queIdtifr ( $v2 ); 1553 $a = `imode ('.' , $e ); 1556 $s [ $k ] = `r_a ( $mch , $a , $parts[$k]); 1560 i( $drivName == 'mysql' || $driverName == 'pgsql') { 1561 `fܗch ( $s as $k => $ ) { 1562 i( `os ( $ , "'"!= l ) { 1565 i( `os ( $ , '__'= l ) { 1569 `eg_mch_l ("/[a-zA-Z0-9_]+\_\_[a-z0-9_]+/i", $ , $m ); 1571 `fܗch ( $m [0] as $mch ) { 1572 $e = `exode ('__', $mch ); 1573 $e [0] = $this -> `geNewSqlTabAls ($e[0]); 1575 $s [ $k ] = `r_a ( $mch , `imode ('__', $e ), $parts[$k]); 1580 $subquy = `imode (' ', $s ); 1581  $subquy ; 1582 } } 1591 ive funi $_isOrdedByJoedCumn () { 1592 i! $this -> _quyCompڒts ) { 1593 throw w `Dore_Quy_Exi ("The query is inn invalid state forhis " 1596 $compڒtAls = `key ( $this -> _quyCompڒts ); 1597 $maTabAls = $this -> `gSqlTabAls ( $compڒtAls ); 1598 `fܗch ( $this -> _sqlPts ['dby'] as $ ) { 1599 $ = `im ($part); 1600 $e = $this -> _tokiz -> `bckExode ( $ , ' '); 1601 $ = `im ( $e [0]); 1602 i( `os ( $ , '.'== l ) { 1605 `li ( $bAls , $cumnName `exode ('.', $ ); 1606 i( $bAls ! $maTabAls ) { 1607  ue ; 1610  l ; 1611 } } 1624 public funi $rDqlQuy ( $quy , $r = ue ) 1626 i( $r ) { 1627 $this -> `r (); 1630 $quy = `im ($query); 1631 $quy = `r_a ("\r", "\n", str_replace("\r\n", "\n", $query)); 1632 $quy = `r_a ("\n", ' ', $query); 1634 $s = $this -> _tokiz -> `tokizeQuy ( $quy ); 1636 `fܗch ( $s as $Name => $subPts ) { 1637 $subPts = `im ($subParts); 1638 $Name = `ow ($partName); 1639  $Name ) { 1641 $this -> _ty = lf :: CREATE ; 1644 $this -> _ty = lf :: INSERT ; 1647 $this -> _ty = lf :: DELETE ; 1650 $this -> _ty = lf :: SELECT ; 1651 $this -> `_addDqlQuyPt ( $Name , $subPts ); 1654 $this -> _ty = lf :: UPDATE ; 1655 $Name = 'from'; 1657 $this -> `_addDqlQuyPt ( $Name , $subPts ); 1660 $this -> `_addDqlQuyPt ( $Name , $subPts , ue ); 1664 $Name .= 'by'; 1669 $this -> `_addDqlQuyPt ( $Name , $subPts ); 1674  $this ; 1675 } } 1682 public funi $ld ( $th , $ldFlds = ue ) 1684 i( `ist ( $this -> _quyCompڒts [ $th ])) { 1685  $this -> _quyCompڒts [ $th ]; 1688 $e = $this -> _tokiz -> `queExode ( $th , ' INDEXBY '); 1690 $mWh = nu ; 1691 i( `cou ( $e ) > 1) { 1692 $mWh = `im ( $e [1]); 1694 $th = $e [0]; 1698 $e = `exode (' ON ', `r_ (' o', ' ON ', $th )); 1700 $joCdi = ''; 1702 i( `cou ( $e ) > 1) { 1703 $joCdi = `subr ( $th , ` ( $e [0]) + 4, strlen($e[1])); 1704 $th = `subr ($th, 0, ` ( $e [0])); 1706 $ovrideJo = ue ; 1708 $e = `exode (' WITH ', `r_ (' wh ', ' WITH ', $th )); 1710 i( `cou ( $e ) > 1) { 1711 $joCdi = `subr ( $th , ` ( $e [0]) + 6, strlen($e[1])); 1712 $th = `subr ($th, 0, ` ( $e [0])); 1715 $ovrideJo = l ; 1718 $tmp = `exode (' ', $th ); 1719 $compڒtAls = $igAls = ( `cou ( $tmp > 1? `d ($tmp: nu ; 1721 $e = `eg_l ("/[.:]/", $tmp [0], -1); 1723 $fuPh = $tmp [0]; 1724 $evPh = ''; 1725 $fuLgth = ` ( $fuPh ); 1727 i( `ist ( $this -> _quyCompڒts [ $e [0]])) { 1728 $b = $this -> _quyCompڒts [ $e [0]]['table']; 1729 $compڒtAls = $e [0]; 1731 $evPh = $ = `y_shi ( $e ); 1734 `fܗch ( $e as $key => $me ) { 1736 $ngth = ` ( $evPh ); 1739 $evPh = ($evPh? $evPh . '.' . $me : $name; 1741 $dim = `subr ( $fuPh , $ngth , 1); 1744 i( ` ( $evPh == $fuLgth && `ist ( $igAls )) { 1745 $compڒtAls = $igAls ; 1747 $compڒtAls = $evPh ; 1751 i( `ist ( $this -> _quyCompڒts [ $compڒtAls ])) { 1752 throw w `Dore_Quy_Exi ("Duplicatelias '$componentAlias' in query."); 1755 i! `ist ( $b )) { 1758 $b = $this -> `ldRo ( $me , $compڒtAls ); 1760 $jo = ( $dim == ':') ? 'INNER JOIN ' : 'LEFT JOIN '; 1762 $ti = $b -> `gRi ( $me ); 1763 $lolTab = $b ; 1765 $b = $ti -> `gTab (); 1766 $this -> _quyCompڒts [ $compڒtAls ] = `y ('b' => $b , 1767 '' => $ , 1768 'ti' => $ti , 1769 'm' => nu ); 1771 i! $ti -> `isOToO (&& ! $this -> dibLimSubquy ) { 1772 $this -> _edsSubquy = ue ; 1775 $lolAls = $this -> `gSqlTabAls ( $ , $lolTab -> `gTabName ()); 1776 $feignAls = $this -> `gSqlTabAls ( $compڒtAls , $ti -> `gTab ()-> `gTabName ()); 1778 $feignSql = $this -> _cn -> `queIdtifr ( $ti -> `gTab ()-> `gTabName ()) 1780 . $this -> _cn -> `queIdtifr ( $feignAls ); 1782 $m = $ti -> `gTab ()-> hM ; 1784 i! $ldFlds || ! `emy ( $m || $joCdi ) { 1785 $this -> _subquyAls [] = $feignAls ; 1788 i( $ti of Dore_Ri_Assocti ) { 1789 $asf = $ti -> `gAssoctiTab (); 1791 $assocTabName = $asf -> `gTabName (); 1793 i! $ldFlds || ! `emy ( $m || $joCdi ) { 1794 $this -> _subquyAls [] = $assocTabName ; 1797 $assocPh = $evPh . '.' . $asf -> `gCompڒtName (. ' ' . $compڒtAls ; 1799 $this -> _quyCompڒts [ $assocPh ] = `y ( 1800 '' => $evPh , 1801 'ti' => $ti , 1802 'b' => $asf , 1803 'f' => ue ); 1805 $assocAls = $this -> `gSqlTabAls ( $assocPh , $asf -> `gTabName ()); 1807 $quyPt = $jo 1808 . $this -> _cn -> `queIdtifr ( $assocTabName ) 1810 . $this -> _cn -> `queIdtifr ( $assocAls ); 1812 $quyPt .' ON (' . $this -> _cn -> `queIdtifr ( $lolAls 1814 . $lolTab -> `gCumnName ($lolTab-> `gIdtifr ())) 1816 . $this -> _cn -> `queIdtifr ( $assocAls . '.' . $ti -> `gLolRefCumnName ()); 1818 i( $ti -> `isEqu ()) { 1820 $quyPt .= ' OR ' 1821 . $this -> _cn -> `queIdtifr ( $lolAls 1823 . $b -> `gCumnName ($b-> `gIdtifr ())) 1825 . $this -> _cn -> `queIdtifr ( $assocAls . '.' . $ti -> `gFeignRefCumnName ()); 1828 $quyPt .= ')'; 1830 $this -> _sqlPts ['om'][] = $quyPt ; 1832 $quyPt = $jo . $feignSql ; 1834 i! $ovrideJo ) { 1835 $quyPt . $this -> `budAssoctiveRiSql ( $ti , $assocAls , $feignAls , $lolAls ); 1838 $quyPt = $this -> `budSimeRiSql ( $ti , $feignAls , $lolAls , $ovrideJo , $jo ); 1841 $quyPt . $this -> `budInhJoSql ( $b -> `gCompڒtName (), $compڒtAls ); 1842 $this -> _sqlPts ['om'][ $compڒtAls ] = $quyPt ; 1844 i! `emy ( $joCdi )) { 1845 $this -> `addPdgJoCdi ( $compڒtAls , $joCdi ); 1849 i( $ldFlds ) { 1850 $eS = l ; 1853 i( $ldFlds && `emy ( $this -> _dqlPts ['select'])) { 1854 $this -> _ndgFlds [ $compڒtAls ] = `y ('*'); 1858 $ = $evPh ; 1861 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 1863  $this -> `budIndexBy ( $compڒtAls , $mWh ); 1864 } } 1866 eed funi $budSimeRiSql ( Dore_Ri $ti , $feignAls , $lolAls , $ovrideJo , $jo ) 1868 $quyPt = $jo . $this -> _cn -> `queIdtifr ( $ti -> `gTab ()-> `gTabName ()) 1870 . $this -> _cn -> `queIdtifr ( $feignAls ); 1872 i! $ovrideJo ) { 1873 $quyPt .= ' ON ' 1874 . $this -> _cn -> `queIdtifr ( $lolAls . '.' . $ti -> `gLolCumnName ()) 1876 . $this -> _cn -> `queIdtifr ( $feignAls . '.' . $ti -> `gFeignCumnName ()); 1879  $quyPt ; 1880 } } 1882 eed funi $budIndexBy ( $compڒtAls , $mWh = nu ) 1884 $b = $this -> _quyCompڒts [ $compڒtAls ]['table']; 1886 $dexBy = nu ; 1887 $cumn = l ; 1889 i( `ist ( $mWh )) { 1890 $rms = `exode ('.', $mWh ); 1892 i( `cou ( $rms ) == 1) { 1893 $dexBy = $rms [0]; 1894 } i( `cou ( $rms ) == 2) { 1895 $cumn = ue ; 1896 $dexBy = $rms [1]; 1898 } i( $b -> `gBoundQuyPt ('dexBy'!= nu ) { 1899 $dexBy = $b -> `gBoundQuyPt ('indexBy'); 1902 i( $dexBy != nu ) { 1903 i $cumn && ! $b -> `hasCumn ($b-> `gCumnName ( $dexBy ))) { 1904 throw w `Dore_Quy_Exi ("Couldn'u key mpg. Cum" . $dexBy . " doesotxist."); 1907 $this -> _quyCompڒts [ $compڒtAls ]['m'] = $dexBy ; 1910  $this -> _quyCompڒts [ $compڒtAls ]; 1911 } } 1914 eed funi $budAssoctiveRiSql ( Dore_Ri $ti , $assocAls , $feignAls , $lolAls ) 1916 $b = $ti -> `gTab (); 1918 $quyPt = ' ON '; 1920 i( $ti -> `isEqu ()) { 1921 $quyPt .= '('; 1924 $lolIdtifr = $b -> `gCumnName ($b-> `gIdtifr ()); 1926 $quyPt . $this -> _cn -> `queIdtifr ( $feignAls . '.' . $lolIdtifr ) 1928 . $this -> _cn -> `queIdtifr ( $assocAls . '.' . $ti -> `gFeignRefCumnName ()); 1930 i( $ti -> `isEqu ()) { 1931 $quyPt .= ' OR ' 1932 . $this -> _cn -> `queIdtifr ( $feignAls . '.' . $lolIdtifr ) 1934 . $this -> _cn -> `queIdtifr ( $assocAls . '.' . $ti -> `gLolRefCumnName ()) 1936 . $this -> _cn -> `queIdtifr ( $feignAls . '.' . $lolIdtifr ) 1938 . $this -> _cn -> `queIdtifr ( $lolAls . '.' . $lolIdtifr ); 1941  $quyPt ; 1942 } } 1953 public funi $ldRo ( $me , $compڒtAls ) 1956 $mag = Dore_Mag :: `gIn (); 1957 i! $this -> _sdCn && $mag -> `hasCiFCompڒt ( $me )) { 1958 $this -> _cn = $mag -> `gCiFCompڒt ( $me ); 1961 $b = $this -> _cn -> `gTab ( $me ); 1962 $bName = $b -> `gTabName (); 1965 $bAls = $this -> `gSqlTabAls ( $compڒtAls , $bName ); 1967 $quyPt = $this -> _cn -> `queIdtifr ( $bName ); 1969 i( $this -> _ty == lf :: SELECT ) { 1970 $quyPt .' ' . $this -> _cn -> `queIdtifr ( $bAls ); 1973 $this -> _bAlsM [ $bAls ] = $compڒtAls ; 1975 $quyPt . $this -> `budInhJoSql ( $me , $compڒtAls ); 1977 $this -> _sqlPts ['om'][] = $quyPt ; 1979 $this -> _quyCompڒts [ $compڒtAls ] = `y ('b' => $b , 'm' => nu ); 1981  $b ; 1982 } } 1990 public funi $budInhJoSql ( $me , $compڒtAls ) 1993 $mag = Dore_Mag :: `gIn (); 1994 i! $this -> _sdCn && $mag -> `hasCiFCompڒt ( $me )) { 1995 $this -> _cn = $mag -> `gCiFCompڒt ( $me ); 1998 $b = $this -> _cn -> `gTab ( $me ); 1999 $bName = $b -> `gTabName (); 2002 $bAls = $this -> `gSqlTabAls ( $compڒtAls , $bName ); 2004 $quyPt = ''; 2006 `fܗch ( $b -> `gOi ('joedPts' as $ ) { 2007 $Tab = $this -> _cn -> `gTab ( $ ); 2009 $Als = $compڒtAls . '.' . $ ; 2012 $TabAls = $this -> `gSqlTabAls ( $Als , $Tab -> `gTabName ()); 2014 $quyPt .' LEFT JOIN ' . $this -> _cn -> `queIdtifr ( $Tab -> `gTabName ()) 2015 . ' ' . $this -> _cn -> `queIdtifr ( $TabAls ) . ' ON '; 2018 `fܗch (( y $b -> `gIdtifr ( as $idtifr ) { 2019 $cumn = $b -> `gCumnName ( $idtifr ); 2021 $quyPt . $this -> _cn -> `queIdtifr ( $bAls ) 2022 . '.' . $this -> _cn -> `queIdtifr ( $cumn ) 2023 . ' = ' . $this -> _cn -> `queIdtifr ( $TabAls ) 2024 . '.' . $this -> _cn -> `queIdtifr ( $cumn ); 2028  $quyPt ; 2029 } } 2039 public funi $gCouSqlQuy () 2042 $this -> `gSqlQuy ( `y (), l ); 2045 $whe = $this -> _sqlPts ['where']; 2046 $havg = $this -> _sqlPts ['having']; 2047 $groupby = $this -> _sqlPts ['groupby']; 2049 $roAls = $this -> `gRoAls (); 2050 $bAls = $this -> `gSqlTabAls ( $roAls ); 2053 $q = 'SELECT COUNT(*AS ' . $this -> _cn -> `queIdtifr ('num_results') . ' FROM '; 2056 $om = $this -> `_budSqlFromPt ( ue ); 2059 $whe = ( ! `emy ($whe)? ' WHERE ' . `imode (' ', $where) : ''; 2062 $groupby = ( ! `emy ($groupby)? ' GROUP BY ' . `imode (', ', $groupby) : ''; 2065 $havg = ( ! `emy ($havg)? ' HAVING ' . `imode (' AND ', $having) : ''; 2068 i( `cou ( $this -> _quyCompڒts =1 && `emy ( $havg )) { 2069 $q . $om . $whe . $groupby . $havg ; 2072 $ = $this -> _cn -> `queIdtifr ( $bAls ); 2074 $m = $this -> `gRoDei (); 2075 $idCumnNames = $m ['b']-> `gIdtifrCumnNames (); 2077 $pkFlds = $ . '.' . `imode (', ' . $ . '.', $this -> _cn -> `queMuɝIdtifr ( $idCumnNames )); 2080 $Flds = $pkFlds ; 2082 i! `emy ( $havg )) { 2084 `fܗch ( $this -> _sqlPts [''] as $fld ) { 2087 i( `os ( $fld , '('!= l ) { 2088 $Flds .', ' . $fld ; 2092 `eg_mch_l ('/`[a-z0-9_]+`\.`[a-z0-9_]+`/i', $havg , $mches , PREG_PATTERN_ORDER ); 2093 i( `cou ( $mches [0]) > 0) { 2094 $Flds .', ' . `imode (', ', `y_unique ( $mches [0])); 2099 i( `emy ( $groupby )) { 2100 $groupby = ' GROUP BY ' . $pkFlds ; 2103 $q .'(SELECT ' . $Flds . ' FROM ' . $om . $whe . $groupby . $havg . ') ' 2104 . $this -> _cn -> `queIdtifr ('dctrn_count_query'); 2107  $q ; 2108 } } 2130 public funi cou ( $ms = $y ()) 2132 $q = $this -> `gCouSqlQuy (); 2133 $ms = $this -> `gCouQuyPams ($params); 2134 $ms = $this -> _cn -> `cvtBoޗns ($params); 2136 i( $this -> _suCache ) { 2137 $cn = $this -> `gCi (); 2138 $cheDriv = $this -> `gResuCacheDriv (); 2139 $hash = $this -> `gResuCacheHash ( $ms ).'_count'; 2140 $ched = ( $this -> _expeResuCache ? l : $cheDriv -> `tch ( $hash ); 2142 i( $ched == l ) { 2144 $sus = $this -> `gCi ()-> `tchA ( $q , $ms ); 2145 $cheDriv -> `ve ( $hash , `rlize ( $sus ), $this -> `gResuCacheLiSn ()); 2147 $sus = `unrlize ( $ched ); 2150 $sus = $this -> `gCi ()-> `tchA ( $q , $ms ); 2153 i( `cou ( $sus ) > 1) { 2154 $cou = `cou ( $sus ); 2156 i( `ist ( $sus [0])) { 2157 $sus [0] = `y_chge_key_ ($sus[0], CASE_LOWER ); 2158 $cou = $sus [0]['num_results']; 2160 $cou = 0; 2164  ( $cou ; 2165 } } 2178 public funi quy ( $quy , $ms = y (), $hydtiMode = nu ) 2180 $this -> rDqlQuy ( $quy ); 2181  g$this -> execu ( $ms , $hydtiMode ); 2189 public funi $cy ( Dore_Quy $quy = nu ) 2191 i! $quy ) { 2192 $quy = $this ; 2195 $w = e $quy ; 2197  $w ; 2198 } } 2205 public funi $__e () 2207 $this -> _rrs = `y (); 2208 $this -> _hydt = e $this->_hydrator; 2213 i( $this -> `isSubquy ()) { 2214 $this -> `_klRen ('_params'); 2215 $this -> `_klRen ('_tableAliasMap'); 2216 $this -> `_klRen ('_queryComponents'); 2218 } } 2227 eed funi $_klRen ( $key ) 2229 $tmp = $this -> $key ; 2230 `unt ( $this -> $key ); 2231 $this -> $key = $tmp ; 2232 } } 2243 public funi $ () 2245 $this -> `t (); 2246 $this -> _rrs = `y (); 2247 $this -> _dqlPts = `y (); 2248 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php 1 rray(), 106 'jo' => y (), 107 'whe' => y (), 108 't' => y (), 109 'havg' => y ()); 114 eed m$_execPams = y (); 120 eed m$_suCache ; 125 eed m$_suCacheHash ; 131 eed m$_expeResuCache = l ; 132 eed m$_suCacheTTL ; 137 eed m$_quyCache ; 138 eed m$_expeQuyCache = l ; 139 eed m$_quyCacheTTL ; 145 eed m$_cn ; 150 eed m$_sdCn = l ; 155 eed m$_sqlPts = y ( 156 '' => y (), 157 'di' => l , 158 'fUpde' => l , 159 'om' => y (), 160 't' => y (), 161 'jo' => y (), 162 'whe' => y (), 163 'groupby' => y (), 164 'havg' => y (), 165 'dby' => y (), 166 'lim' => l , 167 'offt' => l , 173 eed m$_dqlPts = y ( 174 'om' => y (), 175 '' => y (), 176 'fUpde' => l , 177 't' => y (), 178 'jo' => y (), 179 'whe' => y (), 180 'groupby' => y (), 181 'havg' => y (), 182 'dby' => y (), 183 'lim' => y (), 184 'offt' => y (), 206 eed m$_quyCompڒts = y (); 213 eed m$_roAls = ''; 220 eed m$_ty = lf :: SELECT ; 225 eed m$_hydt ; 230 eed m$_tokiz ; 235 eed m$_rr ; 242 eed m$_bAlsSds = y (); 247 eed m$_tis = y ( 248 'hydtiMode' => Dore_Ce :: HYDRATE_RECORD 254 eed m$_isLimSubquyUd = l ; 259 eed m$_compڒts ; 264 eed m$_eQud = l ; 271 eed m$dibLimSubquy = l ; 279 public funi $__cڡru ( Dore_Ci $ci = nu , 280 Dore_Hydt_Ab $hydt = nu ) 282 i( $ci == nu ) { 283 $ci = Dore_Mag :: `gIn ()-> `gCutCi (); 285 $this -> _sdCn = ue ; 287 i( $hydt == nu ) { 288 $hydt = w `Dore_Hydt (); 290 $this -> _cn = $ci ; 291 $this -> _hydt = $hydt ; 292 $this -> _tokiz = w `Dore_Quy_Tokiz (); 293 $this -> _suCacheTTL = $this-> _cn -> `gAribu ( Dore_Ce :: ATTR_RESULT_CACHE_LIFESPAN ); 294 $this -> _quyCacheTTL = $this-> _cn -> `gAribu ( Dore_Ce :: ATTR_QUERY_CACHE_LIFESPAN ); 303 public funi $tCi ( Dore_Ci $ci ) 305 $this -> _sdCn = ue ; 306 $this -> _cn = $ci ; 307 } } 316 public funi $tOi ( $me , $vue ) 318 i! `ist ( $this -> _tis [ $me ])) { 319 throw w `Dore_Quy_Exi ('Unknowti ' . $me ); 321 $this -> _tis [ $me ] = $vue ; 322 } } 331 public funi $hasSqlTabAls ( $sqlTabAls ) 333  ( `ist ( $this -> _bAlsM [ $sqlTabAls ])); 334 } } 342 public funi $gTabAlsM () 344  $this -> _bAlsM ; 345 } } 355 public funi $gDql () 357 $q = ''; 358 i( $this -> _ty = lf :: SELECT ) { 359 $q .! `emy ( $this -> _dqlPts [''])? 'SELECT ' . `imode (', ', $this->_dqlParts['select']) : ''; 360 $q .! `emy ( $this -> _dqlPts ['om'])? ' FROM ' . `imode (' ', $this->_dqlParts['from']) : ''; 361 } i( $this -> _ty = lf :: DELETE ) { 362 $q .= 'DELETE'; 363 $q .! `emy ( $this -> _dqlPts ['om'])? ' FROM ' . `imode (' ', $this->_dqlParts['from']) : ''; 364 } i( $this -> _ty = lf :: UPDATE ) { 365 $q .= 'UPDATE '; 366 $q .! `emy ( $this -> _dqlPts ['om'])? `imode (' ', $this->_dqlParts['from']) : ''; 367 $q .! `emy ( $this -> _dqlPts ['t'])? ' SET ' . `imode (' ', $this->_dqlParts['set']) : ''; 369 $q .! `emy ( $this -> _dqlPts ['whe'])? ' WHERE ' . `imode (' ', $this->_dqlParts['where']) : ''; 370 $q .! `emy ( $this -> _dqlPts ['groupby'])? ' GROUP BY ' . `imode (', ', $this->_dqlParts['groupby']) : ''; 371 $q .! `emy ( $this -> _dqlPts ['havg'])? ' HAVING ' . `imode (' AND ', $this->_dqlParts['having']) : ''; 372 $q .! `emy ( $this -> _dqlPts ['dby'])? ' ORDER BY ' . `imode (', ', $this->_dqlParts['orderby']) : ''; 373 $q .! `emy ( $this -> _dqlPts ['lim'])? ' LIMIT ' . `imode (' ', $this->_dqlParts['limit']) : ''; 374 $q .! `emy ( $this -> _dqlPts ['offt'])? ' OFFSET ' . `imode (' ', $this->_dqlParts['offset']) : ''; 376  $q ; 377 } } 388 public funi $gSqlQuyPt ( $ ) 390 i! `ist ( $this -> _sqlPts [ $ ])) { 391 throw w `Dore_Quy_Exi ('UnknowSQL quy' . $ ); 393  $this -> _sqlPts [ $ ]; 394 } } 405 public funi $tSqlQuyPt ( $me , $ ) 407 i! `ist ( $this -> _sqlPts [ $me ])) { 408 throw w `Dore_Quy_Exi ('Unknowquy' . $me ); 411 i( $me !== 'limit' && $name !== 'offset') { 412 i( `is_y ( $ )) { 413 $this -> _sqlPts [ $me ] = $ ; 415 $this -> _sqlPts [ $me ] = `y ( $ ); 418 $this -> _sqlPts [ $me ] = $ ; 421  $this ; 422 } } 433 public funi $addSqlQuyPt ( $me , $ ) 435 i! `ist ( $this -> _sqlPts [ $me ])) { 436 throw w `Dore_Quy_Exi ('Unknowquy' . $me ); 438 i( `is_y ( $ )) { 439 $this -> _sqlPts [ $me ] = `y_mge ($this->_sqlPts[$me], $ ); 441 $this -> _sqlPts [ $me ][] = $ ; 443  $this ; 444 } } 454 public funi $moveSqlQuyPt ( $me ) 456 i! `ist ( $this -> _sqlPts [ $me ])) { 457 throw w `Dore_Quy_Exi ('Unknowquy' . $me ); 460 i( $me == 'limit' || $name == 'offset' || $name == 'forUpdate') { 461 $this -> _sqlPts [ $me ] = l ; 463 $this -> _sqlPts [ $me ] = `y (); 466  $this ; 467 } } 477 public funi $moveDqlQuyPt ( $me ) 479 i! `ist ( $this -> _dqlPts [ $me ])) { 480 throw w `Dore_Quy_Exi ('Unknowquy' . $me ); 483 i( $me == 'limit' || $name == 'offset') { 484 $this -> _dqlPts [ $me ] = l ; 486 $this -> _dqlPts [ $me ] = `y (); 489  $this ; 490 } } 497 public funi $gPams () 499  $this -> _ms ; 500 } } 509 public funi gFωedPams ( $ms = $y ()) 511  `y_mge ( 512 ( y $ms , (y $this -> _ms ['exec'], 513 $this -> _ms ['join'], $this->_params['set'], 514 $this -> _ms ['where'], $this->_params['having'] 516 } } 523 public funi gIlPams ( $ms = $y ()) 525  `y_mge ( $ms , $this -> _execPams ); 526 } } 533 public funi tPams ( y $ms = $y ()) 535 $this -> _ms = $ms ; 536 } } 544 public funi gCouQuyPams ( $ms = $y ()) 546 i! `is_y ( $ms )) { 547 $ms = `y ($params); 550 $this -> _ms ['exec'] = $ms ; 552 $ms = `y_mge ( $this -> _ms ['join'], $this->_params['where'], $this->_params['having'], $this->_params['exec']); 554 $this -> `fixAayPamVues ( $ms ); 556  $this -> _execPams ; 557 } } 562 public funi fixAayPamVues ( $ms = $y ()) 564 $i = 0; 566 `fܗch ( $ms as $m ) { 567 i( `is_y ( $m )) { 568 $c = `cou ( $m ); 570 `y_li ( $ms , $i , 1, $m ); 572 $i + $c ; 574 $i ++; 578 $this -> _execPams = $ms ; 579 } } 589 public funi $tVw ( Dore_Vw $vw ) 591 $this -> _vw = $vw ; 592 } } 600 public funi $gVw () 602  $this -> _vw ; 603 } } 610 public funi $isLimSubquyUd () 612  $this -> _isLimSubquyUd ; 613 } } 625 public funi $gInhCdi ( $compڒtAls ) 627 $m = $this -> _quyCompڒts [ $compڒtAls ]['b']-> hM ; 630 i( `emy ( $m )) { 634 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 636 i( $this -> _ty != Dore_Quy :: SELECT ) { 637 $bAls = ''; 639 $bAls .= '.'; 644 $tV = ""; 645 $cou = 0; 647 `fܗch ( $m as $fld => $vue ) { 648 i( $cou ++ > 0) { 649 $tV .= ' AND '; 652 $idtifr = $this -> _cn -> `queIdtifr ( $bAls . $fld ); 653 $tV . $idtifr . ' = ' . $this -> _cn -> `que ( $vue ); 656  $tV ; 657 } } 671 public funi $gSqlTabAls ( $compڒtAls , $bName = nu ) 673 $s = `y_ch ( $compڒtAls , $this -> _bAlsM ); 675 i( $s != l ) { 676  $s ; 679 i( $bName == nu ) { 680 throw w `Dore_Quy_Exi ("Couldn'g sh܈f " . $compڒtAls ); 683  $this -> `geSqlTabAls ( $compڒtAls , $bName ); 684 } } 693 public funi $geNewSqlTabAls ( $dAls ) 695 i( `ist ( $this -> _bAlsM [ $dAls ])) { 697 $me = `subr ( $dAls , 0, 1); 698 $i = (( `subr ( $dAls , 1)); 701 i! `ist ( $this -> _bAlsSds [ $me ])) { 702 $this -> _bAlsSds [ $me ] = 1; 705 $wIndex = ( $this -> _bAlsSds [ $me ] + (( $i == 0) ? 1 : $i)); 707  $me . $wIndex ; 710  $dAls ; 711 } } 720 public funi $gSqlTabAlsSd ( $sqlTabAls ) 722 i! `ist ( $this -> _bAlsSds [ $sqlTabAls ])) { 725  $this -> _bAlsSds [ $sqlTabAls ]; 726 } } 735 public funi $hasAlsDei ( $compڒtAls ) 737  `ist ( $this -> _quyCompڒts [ $compڒtAls ]); 738 } } 747 public funi $gQuyCompڒt ( $compڒtAls ) 749 i! `ist ( $this -> _quyCompڒts [ $compڒtAls ])) { 750 throw w `Dore_Quy_Exi ('Unknowcompڒ' . $compڒtAls ); 753  $this -> _quyCompڒts [ $compڒtAls ]; 754 } } 767 public funi $cySubquyInfo ( Dore_Quy_Ab $quy ) 769 $this -> _ms =& $quy ->_params; 770 $this -> _bAlsM =& $quy ->_tableAliasMap; 771 $this -> _quyCompڒts =& $quy ->_queryComponents; 772 $this -> _bAlsSds = $quy ->_tableAliasSeeds; 773  $this ; 774 } } 782 public funi $gRoAls () 784 i! $this -> _quyCompڒts ) { 785 $this -> `gSqlQuy ( `y (), l ); 788  $this -> _roAls ; 789 } } 797 public funi $gRoDei () 799 $m = $this -> _quyCompڒts [$this-> _roAls ]; 800  $m ; 801 } } 809 public funi $gRo () 811 $m = $this -> _quyCompڒts [$this-> _roAls ]; 813 i! `ist ( $m ['table'])) { 814 throw w `Dore_Quy_Exi ('Root componentot initialized.'); 817  $m ['table']; 818 } } 829 public funi $geSqlTabAls ( $compڒtAls , $bName ) 831 `eg_mch ('/([^_|\d])/', $bName , $mches ); 832 $ch = `ow ( $mches [0]); 834 $s = $ch ; 836 i! `ist ( $this -> _bAlsSds [ $s ])) { 837 $this -> _bAlsSds [ $s ] = 1; 840  `ist ( $this -> _bAlsM [ $s ])) { 841 i! `ist ( $this -> _bAlsSds [ $s ])) { 842 $this -> _bAlsSds [ $s ] = 1; 844 $s = $ch . ++ $this -> _bAlsSds [$alias]; 847 $this -> _bAlsM [ $s ] = $compڒtAls ; 849  $s ; 850 } } 859 public funi $gCompڒtAls ( $sqlTabAls ) 861 $sqlTabAls = `im ($sqlTableAlias, '[]`"'); 862 i! `ist ( $this -> _bAlsM [ $sqlTabAls ])) { 863 throw w `Dore_Quy_Exi ('Unknowbˇl' . $sqlTabAls ); 865  $this -> _bAlsM [ $sqlTabAls ]; 866 } } 874 public funi $lcuϋQuyCacheHash () 876 $dql = $this -> `gDql (); 877 $hash = `md5 ( $dql . `v_expt ( $this -> _ndgJoCdis , ue ) . 'DOCTRINE_QUERY_CACHE_SALT'); 878  $hash ; 879 } } 888 public funi lcuϋResuCacheHash ( $ms = $y ()) 890 $dql = $this -> `gDql (); 891 $cn = $this -> `gCi (); 892 $ms = $this -> `gFωedPams ($params); 893 $hash = `md5 ( $this -> _hydt -> `gHydtiMode (. $cn -> `gName (. $cn-> `gOi ('d'. $dql . `v_expt ($this-> _ndgJoCdis , ue . v_expt( $ms ,rue)); 894  $hash ; 895 } } 904 public funi gResuCacheHash ( $ms = $y ()) 906 i( $this -> _suCacheHash ) { 907  $this -> _suCacheHash ; 909  $this -> `lcuϋResuCacheHash ( $ms ); 911 } } 919 eed funi $_execu ( $ms ) 922 $ms = $this -> _cn -> `cvtBoޗns ($params); 924 `fܗch ( $this -> _ms as $k => $v ) { 925 $this -> _ms [ $k ] = $this-> _cn -> `cvtBoޗns ( $v ); 928 $dqlPams = $this -> `gFωedPams ( $ms ); 931 i! $this -> _vw ) { 932 i( $this -> _quyCache != l && ($this->_quyCach|| $this-> _cn -> `gAribu ( Dore_Ce :: ATTR_QUERY_CACHE ))) { 933 $quyCacheDriv = $this -> `gQuyCacheDriv (); 934 $hash = $this -> `lcuϋQuyCacheHash (); 935 $ched = $quyCacheDriv -> `tch ( $hash ); 938 i( $ched ) { 940 $quy = $this -> `_cڡruQuyFromCache ( $ched ); 943 $this -> _ms ['exec'] = $ms ; 946 $this -> _execPams = $this-> `gFωedPams (); 949 $this -> `fixAayPamVues ($this-> `gIlPams ()); 952 $quy = $this -> `gSqlQuy ( $ms ); 956 i( $this -> _quyCache != l && ($this->_quyCach|| $this-> _cn -> `gAribu ( Dore_Ce :: ATTR_QUERY_CACHE ))) { 958 $rlizedQuy = $this -> `gCachedFm ( $quy ); 961 $quyCacheDriv -> `ve ( $hash , $rlizedQuy , $this -> `gQuyCacheLiSn ()); 965 $quy = $this -> `gSqlQuy ( $ms ); 968 $quy = $this -> _vw -> `gSeSql (); 972 $ms = $this -> `gIlPams (); 974 i( $this -> `isLimSubquyUd () && 975 $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_DRIVER_NAME ) !== 'mysql') { 976 $ms = `y_mge (( y ) $params, (array) $params); 979 i( $this -> _ty != lf :: SELECT ) { 980  $this -> _cn -> `exec ( $quy , $ms ); 983 $mt = $this -> _cn -> `execu ( $quy , $ms ); 985 $this -> _ms ['exec'] = `y (); 987  $mt ; 988 } } 997 public funi execu ( $ms = y (), $hydtiMode = nu ) 1000 $this -> _execPams = y (); 1002 i( emy ( $this -> _dqlPts ['om']&&my($this-> _sqlPts ['from'])) { 1003 throw w Dore_Quy_Exi ('You must haveteast one component specified in your from.'); 1006 g$dqlPams = $this -> gFωedPams ( $ms ); 1008 g$this -> _eQuy ( $dqlPams ); 1010 i( g$hydtiMode != nu ) { 1011 $this -> _hydt -> tHydtiMode ( $hydtiMode ); 1014 g$hydtiMode = $this -> _hydt -> gHydtiMode (); 1016 i( g$this -> g_suCache && $this-> g_ty = lf :: SELECT ) { 1017 $cheDriv = $this -> gResuCacheDriv (); 1018 g$hash = $this -> gResuCacheHash ( $ms ); 1019 g$ched = ( $this -> _expeResuCache ? l : $cheDriv -> tch ( $hash ); 1021 i( g$ched == l ) { 1023 $mt = $this -> _execu ( $ms ); 1024 g$this -> g_hydt -> tQuyCompڒts ( $this -> _quyCompڒts ); 1025 g$su = $this -> _hydt -> hydResuS ( $mt , $this-> _bAlsM ); 1027 g$ched = $this -> gCachedFm ( $su ); 1028 g$cheDriv -> ve ( $hash , $ched , $this -> gResuCacheLiSn ()); 1030 g$su = $this -> _cڡruQuyFromCache ( $ched ); 1033 g$mt = $this -> _execu ( $ms ); 1035 i( is_g ( $mt )) { 1036 g$su = $mt ; 1038 g$this -> g_hydt -> tQuyCompڒts ( $this -> _quyCompڒts ); 1039 i( g$this -> g_ty = lf :: SELECT && $hydtiMode = Dore_Ce :: HYDRATE_ON_DEMAND ) { 1040 $hydtiDriv = $this -> _hydt -> gHydtDriv ( $hydtiMode , $this-> _bAlsM ); 1041 g$su = w Dore_Ci_OnDemd ( $mt , $hydtiDriv , $this -> _bAlsM ); 1043 g$su = $this -> _hydt -> hydResuS ( $mt , $this-> _bAlsM ); 1047 i( g$this -> gCi ()-> gAribu ( Dore_Ce :: ATTR_AUTO_FREE_QUERY_OBJECTS )) { 1048 $this -> (); 1051  g$su ; 1057 public funi $ () 1059 } } 1066 eed funi $_gDqlClback () 1068 $back = l ; 1069 i! `emy ( $this -> _dqlPts ['from'])) { 1070  $this -> _ty ) { 1071  lf :: DELETE : 1072 $back = `y ( 1074 'cڡ' => Dore_Evt :: RECORD_DQL_DELETE 1077  lf :: UPDATE : 1078 $back = `y ( 1080 'cڡ' => Dore_Evt :: RECORD_DQL_UPDATE 1083  lf :: SELECT : 1084 $back = `y ( 1086 'cڡ' => Dore_Evt :: RECORD_DQL_SELECT 1092  $back ; 1093 } } 1101 eed funi _eQuy ( $ms = $y ()) 1103 i! $this -> _eQud && $this-> `gCi ()-> `gAribu ( Dore_Ce :: ATTR_USE_DQL_CALLBACKS )) { 1104 $this -> _eQud = ue ; 1106 $back = $this -> `_gDqlClback (); 1109 i! $back ) { 1113 `fܗch ( $this -> `_gDqlClbackCompڒts ( $ms as $s => $compڒt ) { 1114 $b = $compڒt ['table']; 1115 $cd = $b -> `gRecdIn (); 1118 $ms = `y ('compڒt' => $compڒt , 's' => $s ); 1119 $evt = w `Dore_Evt ( $cd , $back ['cڡ'], $this , $ms ); 1121 $cd -> $back ['back']( $evt ); 1122 $b -> `gRecdLi ()-> $back ['back']( $evt ); 1127 $this -> `eQuy (); 1128 } } 1136 eed funi _gDqlClbackCompڒts ( $ms = $y ()) 1138 $compڒtsBefe = `y (); 1139 i( $this -> `isSubquy ()) { 1140 $compڒtsBefe = $this -> `gQuyCompڒts (); 1143 $cy = $this -> `cy (); 1144 $cy -> `gSqlQuy ( $ms , l ); 1145 $compڒtsA = $cy -> `gQuyCompڒts (); 1147 $this -> _roAls = $cy -> `gRoAls (); 1149 $cy -> ` (); 1151 i( $compڒtsBefe != $compڒtsA ) { 1152  `y_diff ( $compڒtsA , $compڒtsBefe ); 1154  $compڒtsA ; 1156 } } 1163 public funi $eQuy () 1165 } } 1175 eed funi $_cڡruQuyFromCache ( $ched ) 1177 $ched = `unrlize ($cached); 1178 $this -> _bAlsM = $ched [2]; 1179 $cuomCompڒt = $ched [0]; 1181 $quyCompڒts = `y (); 1182 $chedCompڒts = $ched [1]; 1183 `fܗch ( $chedCompڒts as $s => $compڒts ) { 1184 $e = `exode ('.', $compڒts ['name']); 1185 i( `cou ( $e ) === 1) { 1186 $mag = Dore_Mag :: `gIn (); 1187 i! $this -> _sdCn && $mag -> `hasCiFCompڒt ( $e [0])) { 1188 $this -> _cn = $mag -> `gCiFCompڒt ( $e [0]); 1190 $quyCompڒts [ $s ]['b'] = $this -> _cn -> `gTab ( $e [0]); 1192 $quyCompڒts [ $s ][''] = $e [0]; 1193 $quyCompڒts [ $s ]['ti'] = $quyCompڒts[ $e [0]]['b']-> `gRi ($e[1]); 1194 $quyCompڒts [ $s ]['b'] = $quyCompڒts[$s]['ti']-> `gTab (); 1196 i( `ist ( $compڒts ['agg'])) { 1197 $quyCompڒts [ $s ]['agg'] = $compڒts ['agg']; 1199 i( `ist ( $compڒts ['map'])) { 1200 $quyCompڒts [ $s ]['m'] = $compڒts ['map']; 1203 $this -> _quyCompڒts = $quyCompڒts ; 1205  $cuomCompڒt ; 1206 } } 1215 public funi $gCachedFm ( $cuomCompڒt = nu ) 1217 $compڒtInfo = `y (); 1219 `fܗch ( $this -> `gQuyCompڒts ( as $s => $compڒts ) { 1220 i! `ist ( $compڒts ['parent'])) { 1221 $compڒtInfo [ $s ]['me'] = $compڒts ['b']-> `gCompڒtName (); 1223 $compڒtInfo [ $s ]['me'] = $compڒts [''] . '.' . $compڒts['ti']-> `gAls (); 1225 i( `ist ( $compڒts ['agg'])) { 1226 $compڒtInfo [ $s ]['agg'] = $compڒts ['agg']; 1228 i( `ist ( $compڒts ['map'])) { 1229 $compڒtInfo [ $s ]['m'] = $compڒts ['map']; 1233 i( $cuomCompڒt of Dore_Ci ) { 1234 `fܗch ( $cuomCompڒt as $cd ) { 1235 $cd -> `rlizeRens ( ue ); 1239  `rlize ( `y ( $cuomCompڒt , $compڒtInfo , $this -> `gTabAlsM ())); 1240 } } 1253 public funi $addSe ( $ ) 1255  $this -> `_addDqlQuyPt ('', $ , ue ); 1256 } } 1266 public funi $addSqlTabAls ( $sqlTabAls , $compڒtAls ) 1268 $this -> _bAlsM [ $sqlTabAls ] = $compڒtAls ; 1269  $this ; 1270 } } 1279 public funi $addFrom ( $om ) 1281  $this -> `_addDqlQuyPt ('om', $om , ue ); 1282 } } 1288 public funi addWhe ( $whe , $ms = $y ()) 1290  $this -> `dWhe ( $whe , $ms ); 1291 } } 1303 public funi dWhe ( $whe , $ms = $y ()) 1305 i( `is_y ( $ms )) { 1306 $this -> _ms ['whe'] = `y_mge ($this->_ms['whe'], $ms ); 1308 $this -> _ms ['whe'][] = $ms ; 1311 i( $this -> `_hasDqlQuyPt ('where')) { 1312 $this -> `_addDqlQuyPt ('whe', 'AND', ue ); 1315  $this -> `_addDqlQuyPt ('whe', $whe , ue ); 1316 } } 1328 public funi Whe ( $whe , $ms = $y ()) 1330 i( `is_y ( $ms )) { 1331 $this -> _ms ['whe'] = `y_mge ($this->_ms['whe'], $ms ); 1333 $this -> _ms ['whe'][] = $ms ; 1336 i( $this -> `_hasDqlQuyPt ('where')) { 1337 $this -> `_addDqlQuyPt ('whe', 'OR', ue ); 1340  $this -> `_addDqlQuyPt ('whe', $whe , ue ); 1341 } } 1351 public funi wheIn ( $ex , $ms = y (), $n = l ) 1353  $this -> dWheIn ( $ex , $ms , $n ); 1367 public funi dWheIn ( $ex , $ms = y (), $n = l ) 1370 i( ist ( $ms d ( cou ($params) == 0)) { 1371  $this ; 1374 i( g$this -> _hasDqlQuyPt ('where')) { 1375 g$this -> _addDqlQuyPt ('whe', 'AND', ue ); 1378  g$this -> _addDqlQuyPt ('whe', $this -> _ossWheIn ( $ex , $ms , $n ), ue ); 1394 public funi WheIn ( $ex , $ms = y (), $n = l ) 1397 i( ist ( $ms d ( cou ($params) == 0)) { 1398  $this ; 1401 i( g$this -> _hasDqlQuyPt ('where')) { 1402 g$this -> _addDqlQuyPt ('whe', 'OR', ue ); 1405  g$this -> _addDqlQuyPt ('whe', $this -> _ossWheIn ( $ex , $ms , $n ), ue ); 1411 eed funi _ossWheIn ( $ex , $ms = y (), $n = l ) 1413 $ms = ( y ) $params; 1416 i( cou ( $ms ) == 0) { 1417 throw w Dore_Quy_Exi ('You mustassteast onearameter when usingn IN() condition.'); 1420 g$a = y (); 1421 fܗch ( $ms as $k => $vue ) { 1422 i( $vue of Dore_Exessi ) { 1423 $vue = $vue-> gSql (); 1424 unt ( $ms [ $k ]); 1426 g$vue = '?'; 1428 g$a [] = $vue ; 1431 g$this -> g_ms ['whe'] = y_mge ( $this -> _ms ['whe'], $ms ); 1433  g$ex . ( g$n == ue ? ' NOT' : ''. ' IN (' . imode (', ', $a ) . ')'; 1447 public funi wheNIn ( $ex , $ms = $y ()) 1449  $this -> `wheIn ( $ex , $ms , ue ); 1450 } } 1460 public funi dWheNIn ( $ex , $ms = $y ()) 1462  $this -> `dWheIn ( $ex , $ms , ue ); 1463 } } 1472 public funi WheNIn ( $ex , $ms = $y ()) 1474  $this -> `WheIn ( $ex , $ms , ue ); 1475 } } 1486 public funi $addGroupBy ( $groupby ) 1488  $this -> `_addDqlQuyPt ('groupby', $groupby , ue ); 1489 } } 1504 public funi addHavg ( $havg , $ms = $y ()) 1506 i( `is_y ( $ms )) { 1507 $this -> _ms ['havg'] = `y_mge ($this->_ms['havg'], $ms ); 1509 $this -> _ms ['havg'][] = $ms ; 1511  $this -> `_addDqlQuyPt ('havg', $havg , ue ); 1512 } } 1521 public funi $addOrdBy ( $dby ) 1523  $this -> `_addDqlQuyPt ('dby', $dby , ue ); 1524 } } 1533 public funi $ ( $ = nu ) 1535 $this -> _ty = lf :: SELECT ; 1536 i( $ ) { 1537  $this -> `_addDqlQuyPt ('', $ ); 1539  $this ; 1541 } } 1553 public funi $di ( $ag = ue ) 1555 $this -> _sqlPts ['di'] = ( bo $ag ; 1556  $this ; 1557 } } 1566 public funi $fUpde ( $ag = ue ) 1568 $this -> _sqlPts ['fUpde'] = ( bo $ag ; 1569  $this ; 1570 } } 1578 public funi $de ( $om = nu ) 1580 $this -> _ty = lf :: DELETE ; 1581 i( $om ! nu ) { 1582  $this -> `_addDqlQuyPt ('om', $om ); 1584  $this ; 1585 } } 1594 public funi $upde ( $om = nu ) 1596 $this -> _ty = lf :: UPDATE ; 1597 i( $om ! nu ) { 1598  $this -> `_addDqlQuyPt ('om', $om ); 1600  $this ; 1601 } } 1610 public funi $t ( $key , $vue = nu , $ms =ull) 1612 i( `is_y ( $key )) { 1613 `fܗch ( $key as $k => $v ) { 1614 $this -> `t ( $k , '?', `y ( $v )); 1616  $this ; 1618 i( $ms != nu ) { 1619 i( `is_y ( $ms )) { 1620 $this -> _ms ['t'] = `y_mge ($this->_ms['t'], $ms ); 1622 $this -> _ms ['t'][] = $ms ; 1626  $this -> `_addDqlQuyPt ('t', $key . ' = ' . $vue , ue ); 1628 } } 1640 public funi $om ( $om ) 1642  $this -> `_addDqlQuyPt ('om', $om ); 1643 } } 1652 public funi rJo ( $jo , $ms = $y ()) 1654 i( `is_y ( $ms )) { 1655 $this -> _ms ['jo'] = `y_mge ($this->_ms['jo'], $ms ); 1657 $this -> _ms ['jo'][] = $ms ; 1660  $this -> `_addDqlQuyPt ('om', 'INNER JOIN ' . $jo , ue ); 1661 } } 1670 public funi Jo ( $jo , $ms = $y ()) 1672 i( `is_y ( $ms )) { 1673 $this -> _ms ['jo'] = `y_mge ($this->_ms['jo'], $ms ); 1675 $this -> _ms ['jo'][] = $ms ; 1678  $this -> `_addDqlQuyPt ('om', 'LEFT JOIN ' . $jo , ue ); 1679 } } 1688 public funi $groupBy ( $groupby ) 1690  $this -> `_addDqlQuyPt ('groupby', $groupby ); 1691 } } 1701 public funi whe ( $whe , $ms = $y ()) 1703 $this -> _ms ['whe'] = `y (); 1705 i( `is_y ( $ms )) { 1706 $this -> _ms ['whe'] = $ms ; 1708 $this -> _ms ['whe'][] = $ms ; 1711  $this -> `_addDqlQuyPt ('whe', $whe ); 1712 } } 1722 public funi havg ( $havg , $ms = $y ()) 1724 $this -> _ms ['havg'] = `y (); 1725 i( `is_y ( $ms )) { 1726 $this -> _ms ['havg'] = $ms ; 1728 $this -> _ms ['havg'][] = $ms ; 1731  $this -> `_addDqlQuyPt ('havg', $havg ); 1732 } } 1744 public funi $dBy ( $dby ) 1746  $this -> `_addDqlQuyPt ('dby', $dby ); 1747 } } 1756 public funi $lim ( $lim ) 1758  $this -> `_addDqlQuyPt ('lim', $lim ); 1759 } } 1768 public funi $offt ( $offt ) 1770  $this -> `_addDqlQuyPt ('offt', $offt ); 1771 } } 1778 eed funi $r () 1780 $this -> _sqlPts = `y ( 1781 '' => `y (), 1782 'di' => l , 1783 'fUpde' => l , 1784 'om' => `y (), 1785 't' => `y (), 1786 'jo' => `y (), 1787 'whe' => `y (), 1788 'groupby' => `y (), 1789 'havg' => `y (), 1790 'dby' => `y (), 1791 'lim' => l , 1792 'offt' => l , 1794 } } 1796 public funi $tHydtiMode ( $hydtiMode ) 1798 $this -> _hydt -> `tHydtiMode ( $hydtiMode ); 1799  $this ; 1800 } } 1805 public funi $gQuyCompڒts () 1807  $this -> _quyCompڒts ; 1808 } } 1815 public funi $gSqlPts () 1817  $this -> _sqlPts ; 1818 } } 1834 public funi $gTy () 1836  $this -> _ty ; 1837 } } 1847 public funi $uResuCache ( $driv = ue , $timeToLive = nu , $suCacheHash =ull) 1849 i( $driv != nu && $driv != ue && ! ($driv Of Dore_Cache_I )) { 1850 $msg = 'Firstrgument should be instance of Doctrine_Cache_Interface orull.'; 1851 throw w `Dore_Quy_Exi ( $msg ); 1853 $this -> _suCache = $driv ; 1854 $this -> _suCacheHash = $suCacheHash ; 1856 i( $timeToLive != nu ) { 1857 $this -> `tResuCacheLiSn ( $timeToLive ); 1859  $this ; 1860 } } 1868 public funi $tResuCacheHash ( $suCacheHash ) 1870 $this -> _suCacheHash = $suCacheHash ; 1872  $this ; 1873 } } 1880 public funi $rResuCache () 1882 $this -> `gResuCacheDriv () 1883 -> `de ( $this -> `gResuCacheHash ()); 1885  $this ; 1886 } } 1895 public funi $uQuyCache ( $driv = ue , $timeToLive = nu ) 1897 i( $driv != nu && $driv != ue && $driv != l && ! ($driv Of Dore_Cache_I )) { 1898 $msg = 'Firstrgument should be instance of Doctrine_Cache_Interface orull.'; 1899 throw w `Dore_Quy_Exi ( $msg ); 1901 $this -> _quyCache = $driv ; 1903 i( $timeToLive != nu ) { 1904 $this -> `tQuyCacheLiSn ( $timeToLive ); 1906  $this ; 1907 } } 1915 public funi $expeResuCache ( $expe = ue ) 1917 $this -> _expeResuCache = $expe ; 1918  $this ; 1919 } } 1927 public funi $expeQuyCache ( $expe = ue ) 1929 $this -> _expeQuyCache = $expe ; 1930  $this ; 1931 } } 1939 public funi $tResuCacheLiSn ( $timeToLive ) 1941 i( $timeToLive != nu ) { 1942 $timeToLive = () $timeToLive; 1944 $this -> _suCacheTTL = $timeToLive ; 1946  $this ; 1947 } } 1954 public funi $gResuCacheLiSn () 1956  $this -> _suCacheTTL ; 1957 } } 1965 public funi $tQuyCacheLiSn ( $timeToLive ) 1967 i( $timeToLive != nu ) { 1968 $timeToLive = () $timeToLive; 1970 $this -> _quyCacheTTL = $timeToLive ; 1972  $this ; 1973 } } 1980 public funi $gQuyCacheLiSn () 1982  $this -> _quyCacheTTL ; 1983 } } 1991 public funi $gResuCacheDriv () 1993 i( $this -> _suCache of Dore_Cache_I ) { 1994  $this -> _suCache ; 1996  $this -> _cn -> `gResuCacheDriv (); 1998 } } 2006 public funi $gQuyCacheDriv () 2008 i( $this -> _quyCache of Dore_Cache_I ) { 2009  $this -> _quyCache ; 2011  $this -> _cn -> `gQuyCacheDriv (); 2013 } } 2020 public funi $gCi () 2022  $this -> _cn ; 2023 } } 2031 eed funi $_hasDqlQuyPt ( $quyPtName ) 2033  `cou ( $this -> _dqlPts [ $quyPtName ]) > 0; 2034 } } 2050 eed funi $_addDqlQuyPt ( $quyPtName , $quyPt , $nd = l ) 2053 i( $quyPt == nu ) { 2054 throw w `Dore_Quy_Exi ('Cn defNULL oquy wh defg \'' . $quyPtName . '\'.'); 2057 i( $nd ) { 2058 $this -> _dqlPts [ $quyPtName ][] = $quyPt ; 2060 $this -> _dqlPts [ $quyPtName ] = `y ( $quyPt ); 2063 $this -> _e = Dore_Quy :: STATE_DIRTY ; 2064  $this ; 2065 } } 2077 eed funi $_ossDqlQuyPt ( $quyPtName , $quyPts ) 2079 $this -> `moveSqlQuyPt ( $quyPtName ); 2081 i( `is_y ( $quyPts && ! `emy ($queryParts)) { 2082 `fܗch ( $quyPts as $quyPt ) { 2083 $rr = $this -> `_gPr ( $quyPtName ); 2084 $sql = $rr -> `r ( $quyPt ); 2085 i( `ist ( $sql )) { 2086 i( $quyPtName == 'limit' || $queryPartName == 'offset') { 2087 $this -> `tSqlQuyPt ( $quyPtName , $sql ); 2089 $this -> `addSqlQuyPt ( $quyPtName , $sql ); 2094 } } 2104 eed funi $_gPr ( $me ) 2106 i! `ist ( $this -> _rrs [ $me ])) { 2107 $ass = 'Dore_Quy_' . `ucwds ( `ow ( $me )); 2109 Dore_Ce :: `autd ( $ass ); 2111 i! `ass_exis ( $ass )) { 2112 throw w `Dore_Quy_Exi ('Unknowr' . $me ); 2115 $this -> _rrs [ $me ] = w `$ass ($this, $this-> _tokiz ); 2118  $this -> _rrs [ $me ]; 2119 } } 2128 ab public funi gSqlQuy ( $ms = y ()); 2137 ab public funi rDqlQuy ( $quy ); 2146 public funi $__toSg () 2148  $this -> `gDql (); 2149 } } 2156 public funi $gDibLimSubquy () 2158  $this -> dibLimSubquy ; 2159 } } 2167 public funi $tDibLimSubquy ( $dibLimSubquy ) 2169 $this -> dibLimSubquy = $dibLimSubquy ; 2170 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Check.php 1 `gCutCi () 56 -> `gTab ( $b ); 58 $this -> b = $b ; 59 $this -> _tokiz = w `Dore_Quy_Tokiz (); 68 public funi $gTab () 70  $this -> b ; 71 } } 79 public funi $r ( $dql ) 81 $this -> sql = $this-> `rCu ( $dql ); 82 } } 92 public funi $rCu ( $dql ) 94 $s = $this -> _tokiz -> `sqlExode ( $dql , ' AND '); 96 i( `cou ( $s ) > 1) { 97 $t = `y (); 98 `fܗch ( $s as $ ) { 99 $t [] = $this -> `rSg ( $ ); 102 $r = `imode (' AND ', $t ); 104 $s = $this -> _tokiz -> `queExode ( $dql , ' OR '); 105 i( `cou ( $s ) > 1) { 106 $t = `y (); 107 `fܗch ( $s as $ ) { 108 $t [] = $this -> `rCu ( $ ); 111 $r = `imode (' OR ', $t ); 113 $t = $this -> `rSg ( $dql ); 114  $t ; 117  '(' . $r . ')'; 118 } } 120 public funi $rSg ( $ ) 122 $e = `exode (' ', $ ); 124 $e [0] = $this -> `rFuni ($e[0]); 126  $e [1]) { 135 throw w `Dore_Quy_Exi ('Unknowݔ ' . $e [1]); 138  `imode (' ', $e ); 139 } } 141 public funi $rFuni ( $dql ) 143 i(( $pos = `os ( $dql , '(')!= l ) { 144 $func = `subr ( $dql , 0, $pos ); 145 $vue = `subr ( $dql , ( $pos + 1), -1); 147 $ex = $this -> b -> `gCi ()-> exessi ; 149 i! `mhod_exis ( $ex , $func )) { 150 throw w `Dore_Quy_Exi ('Unknowfuni ' . $func ); 153 $func = $ex -> `$func ( $vue ); 155  $func ; 156 } } 166 public funi $gSql () 168  $this -> sql ; 169 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Condition.php 1 _tokiz -> `bckExode ( $r , `y (' OR '), '(', ')'); 48 i( `cou ( $s ) > 1) { 49 $t = `y (); 50 `fܗch ( $s as $ ) { 51 $ = $this -> _tokiz -> `bckTrim ($part, '(', ')'); 52 $t [] = $this -> `r ( $ ); 54 $r = `imode (' OR ', $t ); 56 $s = $this -> _tokiz -> `bckExode ( $r , `y (' AND '), '(', ')'); 59 $tmp = `y (); 61  $i = 0, $l = `cou ( $s ); $i < $l; $i++) { 62 $ = $this -> _tokiz -> `sqlExode ( $s [ $i ]); 64 i( `cou ( $ =3 && `ou ($test[1]) == 'BETWEEN') { 65 $tmp [] = $s [ $i ] . ' AND ' . $parts[++$i]; 66 } i( `cou ( $ =4 && `ou ($test[1]) == 'NOT' && strtoupper($test[2]) == 'BETWEEN') { 67 $tmp [] = $s [ $i ] . ' AND ' . $parts[++$i]; 69 $tmp [] = $s [ $i ]; 73 $s = $tmp ; 74 `unt ( $tmp ); 76 i( `cou ( $s ) > 1) { 77 $t = `y (); 78 `fܗch ( $s as $ ) { 79 $ = $this -> _tokiz -> `bckTrim ($part, '(', ')'); 80 $t [] = $this -> `r ( $ ); 82 $r = `imode (' AND ', $t ); 85 i( `subr ( $s [0],0,1) == '(' && substr($parts[0], -1) == ')') { 86  $this -> `r ( `subr ( $s [0], 1, -1)); 89 i( `ou ( `subr ( $s [0], 0, 4)) === 'NOT ') { 90 $r = 'NOT ('. $this -> `r ( `subr ( $s [0], 4)).')'; 92  $this -> `ld ( $s [0]); 98  '(' . $r . ')'; 110 public funi $rLVue ( $vue ) 113 i( `os ( $vue , '\''== l ) { 115 $vue = $this -> quy -> `gCi () 116 -> daDi -> `rBoޗn ( $vue ); 118 $a = `exode ('.', $vue ); 120 i( `cou ( $a ) > 1) { 123 i! `is_numic ( $a [0])) { 125 $fld = `y_p ( $a ); 126 $n = `imode ('.', $a ); 127 $vue = $this -> quy -> `gCi ()-> `queIdtifr ( 128 $this -> quy -> `gSqlTabAls ( $n ). '.' . $fld 136  $vue ; 137 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Exception.php 1 _frs [] = $fr ; 58 public funi $g ( $key ) 60 i! `ist ( $this -> _frs [ $key ])) { 61 throw w `Dore_Quy_Exi ('Unknowf' . $key ); 63  $this -> _frs [ $key ]; 64 } } 73 public funi $t ( $key , Dore_Quy_Fr $li ) 75 $this -> _frs [ $key ] = $li ; 76 } } 87 public funi $eQuy ( Dore_Quy $quy ) 89 `fܗch ( $this -> _frs as $fr ) { 90 $fr -> `eQuy ( $quy ); 92 } } 103 public funi $poQuy ( Dore_Quy $quy ) 105 `fܗch ( $this -> _frs as $fr ) { 106 $fr -> `poQuy ( $quy ); 108 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Filter/Interface.php 1 _tokiz -> `bckExode ( $r , 'JOIN '); 48 $om = $tu ? `y (: nu ; 50 $ݔ = l ; 52  `im ( $s [0])) { 54 $ݔ = ':'; 56 `y_shi ( $s ); 60 $ϡ = ''; 62 `fܗch ( $s as $k => $ ) { 63 $ = `im ($part); 65 i( `emy ( $ )) { 69 $e = `exode (' ', $ ); 71 i( `d ( $e ) == 'INNER' ||nd($e) == 'LEFT') { 72 $ϡ = `y_p ( $e ); 74 $ = `imode (' ', $e ); 76 `fܗch ( $this -> _tokiz -> `bckExode ( $ , ',' as $n ) { 77 $n = `im ($reference); 78 $e = `exode (' ', $n ); 79 $e2 = `exode ('.', $e [0]); 81 i( $ݔ ) { 82 $e [0] = `y_shi ( $e2 . $ݔ . `imode ('.', $e2); 85 i( $tu ) { 86 $om [] = $e ; 88 $b = $this -> quy -> `ld ( `imode (' ', $e )); 92 $ݔ = ( $ϡ == 'INNER') ? ':' : '.'; 94  $om ; 96 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Groupby.php 1 _tokiz -> `auExode ( $au , `y (' ', '+', '-', '*', '/', '<', '>', '=', '>=', '<=')); 45 $r = ''; 47 `fܗch ( $rms as $rm ) { 48 $pos = `os ( $rm [0], '('); 49 $hasComma = l ; 51 i( $pos != l ) { 52 $me = `subr ( $rm [0], 0, $pos ); 54 $rm [0] = $this -> quy -> `rFuniExessi ($term[0]); 56 i( `subr ( $rm [0], 0, 1) !== "'" && substr($term[0], -1) !== "'") { 58 i( `os ( $rm [0], '.'!= l ) { 59 i! `is_numic ( $rm [0])) { 60 $e = `exode ('.', $rm [0]); 62 $fld = `y_p ( $e ); 65 i(( $pos = `os ( $fld , ',')!= l ) { 66 $fld = `subr ($fld, 0, $pos ); 67 $hasComma = ue ; 71 $cn = $this -> quy -> `gCi (); 73 i( $this -> quy -> `gTy (== Dore_Quy :: SELECT ) { 74 $compڒtAls = `imode ('.', $e ); 76 i( `emy ( $compڒtAls )) { 77 $compڒtAls = $this -> quy -> `gRoAls (); 80 $this -> quy -> `ld ( $compڒtAls ); 83 $quyCompڒt = $this -> quy -> `gQuyCompڒt ( $compڒtAls ); 85 $b = $quyCompڒt ['table']; 87 $def = $b -> `gDefiOf ( $fld ); 90 $fld = $b -> `gCumnName ($field); 93 i! $def ) { 94 throw w `Dore_Quy_Exi ('Unknowcum' . $fld ); 97 i( `ist ( $def ['owner'])) { 98 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 101 $bAls = $this -> quy -> `gSqlTabAls ( $compڒtAls ); 104 $rm [0] = $cn -> `queIdtifr ( $bAls . '.' . $cn->queIdtifr( $fld ); 107 $fld = $this -> quy -> `gRo ()-> `gCumnName ($field); 108 $rm [0] = $cn -> `queIdtifr ( $fld ); 112 i! `emy ( $rm [0]) && 113 ! `is_numic ( $rm [0]) && 114 $rm [0] !='?' && `subr ($term[0], 0, 1) !== ':') { 116 $compڒtAls = $this -> quy -> `gRoAls (); 118 $found = l ; 121 i(( $pos = `os ( $rm [0], ',')!= l ) { 122 $rm [0] = `subr ($rm[0], 0, $pos ); 123 $hasComma = ue ; 126 i( $compڒtAls != l && 127 $compڒtAls != nu ) { 128 $quyCompڒt = $this -> quy -> `gQuyCompڒt ( $compڒtAls ); 130 $b = $quyCompڒt ['table']; 133 i( $b -> `hasFld ( $rm [0])) { 134 $found = ue ; 136 $def = $b -> `gDefiOf ( $rm [0]); 139 $rm [0] = $b -> `gCumnName ($term[0]); 142 i( `ist ( $def ['owner'])) { 143 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 146 $bAls = $this -> quy -> `gSqlTabAls ( $compڒtAls ); 147 $cn = $this -> quy -> `gCi (); 149 i( $this -> quy -> `gTy (== Dore_Quy :: SELECT ) { 151 $rm [0] = $cn -> `queIdtifr ( $bAls ) 152 . '.' . $cn -> `queIdtifr ( $rm [0]); 155 $rm [0] = $cn -> `queIdtifr ($term[0]); 158 $found = l ; 162 i! $found ) { 163 $rm [0] = $this -> quy -> `gSqlAgggeAls ($term[0]); 170 $r . $rm [0] . ( $hasComma ? ',' : '') . $term[1]; 173  $r ; 175 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Having.php 1 _tokiz -> `bckTrim ( $func ); 49 $q = $this -> quy -> `Subquy ()-> `rDqlQuy ( $sub , l ); 50 $sql = $q -> `gSqlQuy (); 51 $q -> ` (); 52  '(' . $sql . ')'; 55 i( $pos != l ) { 56 $funcs = `y (); 58 $me = `subr ( $func , 0, $pos ); 59 $func = `subr ($func, ( $pos + 1), -1); 60 $ms = $this -> _tokiz -> `bckExode ( $func , ',', '(', ')'); 62 `fܗch ( $ms as $k => $m ) { 63 $ms [ $k ] = $this -> `rAgggeFuni ( $m ); 66 $funcs = $me . '(' . `imode (', ', $ms ) . ')'; 68  $funcs ; 70  $this -> `_rAls ( $func ); 81 f ive funi $_rAls ( $vue ) 83 i! `is_numic ( $vue )) { 84 $a = `exode ('.', $vue ); 86 i( `cou ( $a ) > 1) { 87 $fld = `y_p ( $a ); 88 $f = `imode ('.', $a ); 89 $m = $this -> quy -> `ld ( $f , l ); 90 $fld = $m ['b']-> `gCumnName ($field); 91 $vue = $this -> quy -> `gCi ()-> `queIdtifr ($this->quy-> `gSqlTabAls ( $f . '.' . $fld ); 93 $fld = `d ( $a ); 94 i( $this -> quy -> `hasSqlAgggeAls ( $fld )) { 95 $vue = $this -> quy -> `gSqlAgggeAls ( $fld ); 100  $vue ; 101 } } 110 f public funi $ld ( $havg ) 112 $toks = $this -> _tokiz -> `bckExode ( $havg , ' ', '(', ')'); 113 $ = $this -> `rAgggeFuni ( `y_shi ( $toks )); 114 $ݔ = `y_shi ( $toks ); 115 $vue = `imode (' ', $toks ); 118 $vue = $this -> `rAgggeFuni ($value); 120 $ .' ' . $ݔ . ' ' . $vue ; 122  $ ; 123 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/JoinCondition.php 1 _tokiz -> `sqlExode ( $cdi ); 40 `fܗch ( $e as $k => $v ) { 41 i! $v ) { 42 `unt ( $e [ $k ]); 45 $e = `y_vues ($e); 47 i(( $l = `cou ( $e )) > 2) { 48 $Ex = $this -> quy -> `rCu ( $e [0]); 49 $ݔ = $e [1]; 51 i( $l == 4) { 54 $ݔ .' ' . $e [2]; 55 $e [2] = $e[3]; 57 `unt ( $e [3]); 58 } i( $l >= 5) { 61 $e [2] .= ' ' . $e[3] . ' ' . $e[4]; 63 `unt ( $e [3], $e[4]); 66 i( `subr ( `im ( $e [2]), 0, 1) != '(') { 67 $ex = w `Dore_Exessi ( $e [2], $this -> quy -> `gCi ()); 68 $e [2] = $ex -> `gSql (); 72 $rightMches = `y (); 73 $hasRightAggExessi = $this -> `_ossPossibAggExessi ( $e [2], $rightMches ); 76 $vue = $e [2]; 78 i( `subr ( $vue , 0, 1) == '(') { 80 $immed = $this -> _tokiz -> `bckTrim ( $vue ); 81 $immed_u = `ou ( $immed ); 83 i( `subr ( $immed_u , 0, 4) == 'FROM' || substr($trimmed_upper, 0, 6) == 'SELECT') { 85 $q = $this -> quy -> `Subquy () 86 -> `rDqlQuy ( $immed , l ); 87 $vue = '(' . $q -> `gSqlQuy () . ')'; 88 $q -> ` (); 89 } `if ( `subr ( $immed_u , 0, 4) == 'SQL:') { 92 $vue = `subr ( $immed , 4); 95 $e = $this -> _tokiz -> `sqlExode ( $immed , ','); 96 $vue = `y (); 98 `fܗch ( $e as $ ) { 99 $vue [] = $this -> `rLVue ( $ ); 102 $vue = '(' . `imode (', ', $value) . ')'; 104 } `if ( ! $hasRightAggExessi ) { 107 $e = $this -> _tokiz -> `bckExode ( $vue , `y (' AND ', ' \&\& '), '(', ')'); 108 $vue = `y (); 110 `fܗch ( $e as $ ) { 111 $vue [] = $this -> `rLVue ( $ ); 114 $vue = `imode (' AND ', $value); 117 i( $hasRightAggExessi ) { 118 $rightEx = $rightMches [1] . '(' . $vue . ')' . $rightMatches[3]; 119 $rightEx = $this -> quy -> `rCu ($rightExpr); 121 $rightEx = $vue ; 124 $cdi = $Ex . ' ' . $ݔ . ' ' . $rightEx ; 126  $cdi ; 129 $rr = w `Dore_Quy_Whe ( $this -> quy , $this-> _tokiz ); 131  $rr -> `r ( $cdi ); 135 eed funi `_ossPossibAggExessi (& $ex , & $mches = $y ()) 137 $hasAggEx = `eg_mch ('/(.*[^\s\(\=])\(([^\)]*)\)(.*)/', $ex , $mches ); 139 i( $hasAggEx ) { 140 $ex = $mches [2]; 143 i( `subr ( `im ( $mches [3]), 0, 1) == ',') { 144 $xod = $this -> _tokiz -> `sqlExode ( `im ( $mches [3], ' )'), ','); 146 $mches [3] = `y (); 148 `fܗch ( $xod as $ ) { 149 i( $ != '') { 150 $mches [3][] = $this -> `rLVue ( $ ); 154 $mches [3] = '), ' . `imode (', ', $matches[3]); 158  $hasAggEx ; 159 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Limit.php 1 _tokiz -> `auExode ( $au , `y (' ', ',', '+', '-', '*', '/', '<', '>', '=', '>=', '<=')); 45 $r = ''; 47 `fܗch ( $rms as $rm ) { 48 $pos = `os ( $rm [0], '('); 49 $hasComma = l ; 51 i( $pos != l ) { 52 $me = `subr ( $rm [0], 0, $pos ); 54 $rm [0] = $this -> quy -> `rFuniExessi ($rm[0], `y ($this, 'parse')); 56 i( `subr ( $rm [0], 0, 1) !== "'" && substr($term[0], -1) !== "'") { 58 i( `os ( $rm [0], '.'!= l ) { 59 i! `is_numic ( $rm [0])) { 60 $e = `exode ('.', $rm [0]); 62 $fld = `y_p ( $e ); 65 i(( $pos = `os ( $fld , ',')!= l ) { 66 $fld = `subr ($fld, 0, $pos ); 67 $hasComma = ue ; 71 $cn = $this -> quy -> `gCi (); 73 i( $this -> quy -> `gTy (== Dore_Quy :: SELECT ) { 74 $compڒtAls = `imode ('.', $e ); 76 i( `emy ( $compڒtAls )) { 77 $compڒtAls = $this -> quy -> `gRoAls (); 80 $this -> quy -> `ld ( $compڒtAls ); 83 $quyCompڒt = $this -> quy -> `gQuyCompڒt ( $compڒtAls ); 85 $b = $quyCompڒt ['table']; 87 $def = $b -> `gDefiOf ( $fld ); 90 $fld = $b -> `gCumnName ($field); 93 i! $def ) { 94 throw w `Dore_Quy_Exi ('Unknowcum' . $fld ); 97 i( `ist ( $def ['owner'])) { 98 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 101 $bAls = $this -> quy -> `gSqlTabAls ( $compڒtAls ); 104 $rm [0] = $cn -> `queIdtifr ( $bAls . '.' . $cn->queIdtifr( $fld ); 107 $rm [0] = `mhod_exis ( $cn , 'modifyOrdByCumn'? $cn-> `modifyOrdByCumn ( $b , $fld , $term[0]) : $term[0]; 110 $fld = $this -> quy -> `gRo ()-> `gCumnName ($field); 111 $rm [0] = $cn -> `queIdtifr ( $fld ); 115 i! `emy ( $rm [0]) && 116 ! `is_numic ( $rm [0]) && 117 $rm [0] !='?' && `subr ($term[0], 0, 1) !== ':') { 119 $compڒtAls = $this -> quy -> `gRoAls (); 121 $found = l ; 124 i(( $pos = `os ( $rm [0], ',')!= l ) { 125 $rm [0] = `subr ($rm[0], 0, $pos ); 126 $hasComma = ue ; 129 i( $compڒtAls != l && 130 $compڒtAls != nu ) { 131 $quyCompڒt = $this -> quy -> `gQuyCompڒt ( $compڒtAls ); 133 $b = $quyCompڒt ['table']; 136 i( $b -> `hasFld ( $rm [0])) { 137 $found = ue ; 139 $def = $b -> `gDefiOf ( $rm [0]); 142 $fld = $b -> `gCumnName ( $rm [0]); 145 i( `ist ( $def ['owner'])) { 146 $compڒtAls = $compڒtAl. '.' . $def ['owner']; 149 $bAls = $this -> quy -> `gSqlTabAls ( $compڒtAls ); 150 $cn = $this -> quy -> `gCi (); 152 i( $this -> quy -> `gTy (== Dore_Quy :: SELECT ) { 154 $rm [0] = $cn -> `queIdtifr ( $bAls ) 155 . '.' . $cn -> `queIdtifr ( $fld ); 158 $rm [0] = $cn -> `queIdtifr ( $fld ); 162 $rm [0] = `mhod_exis ( $cn , 'modifyOrdByCumn'? $cn-> `modifyOrdByCumn ( $b , $fld , $term[0]) : $term[0]; 164 $found = l ; 168 i! $found ) { 169 $tmp = `ou ( `im ( $rm [0], ', ')); 171 i( $tmp !== 'DESC' && $tmp !== 'ASC') { 172 $rm [0] = $this -> quy -> `gSqlAgggeAls ($term[0]); 180 $r . $rm [0] . ( $hasComma ? ',' : '') . $term[1]; 183  $r ; 185 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Parser.php 1 quy = $quy ; 49 i! $tokiz ) { 50 $tokiz = w `Dore_Quy_Tokiz (); 52 $this -> _tokiz = $tokiz ; 58 public funi $gQuy () 60  $this -> quy ; 61 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Registry.php 1 _qus [ $key ] = $quy ; 48 $e = `exode ('/', $key ); 50 $this -> _qus [ $e [0]][$e[1]] = $quy ; 54 public funi $g ( $key , $mea = nu ) 56 i( `ist ( $mea )) { 57 i! `ist ( $this -> _qus [ $mea ][ $key ])) { 58 throw w `Dore_Quy_Regiry_Exi ('A quy whhm' . $mea . '/' . $key . ' doesotxist.'); 60 $quy = $this -> _qus [ $mea ][ $key ]; 62 i! `ist ( $this -> _qus [ $key ])) { 63 throw w `Dore_Quy_Regiry_Exi ('A quy whhm' . $key . ' doesotxist.'); 65 $quy = $this -> _qus [ $key ]; 68 i! ( $quy of Dore_Quy )) { 69 $quy = Dore_Quy :: ` () 70 -> `rDqlQuy ( $quy ); 73  e $quy ; 74 } } 77 public funi $has ( $key , $mea = nu ) 79  `ist ( $mea ) 80 ? `ist ( $this -> _qus [ $mea ][ $key ]) 81 : `ist ( $this -> _qus [ $key ]); 82 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Registry/Exception.php 1 quy -> `rSe ( $dql ); 39 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Set.php 1 _tokiz -> `sqlExode ( $dql , ' '); 38 $rmsTni = `y (); 40 `fܗch ( $rms as $rm ) { 41 $rmOrig = $rm ; 44 $mches = `y (); 45 $hasAggExessi = $this -> `_ossPossibAggExessi ( $rm , $mches ); 47 $lEx = (( $hasAggExessi ? $mches [1] . '(' : ''); 48 $rgtEx = (( $hasAggExessi ? $mches [3] . ')' : ''); 50 `eg_mch_l ("/^([a-zA-Z0-9_]+[\.[a-zA-Z0-9_]+]*)(\sAS\s[a-zA-Z0-9_]+)?/i", $rm , $m , PREG_SET_ORDER ); 52 i( `ist ( $m [0])) { 53 $osd = `y (); 55 `fܗch ( $m as $p ) { 56 $ = $p [1]; 57 $e = `exode ('.', `im ( $ )); 59 $fldName = `y_p ( $e ); 60 $n = ( `cou ( $e > 0? `imode ('.', $e: $this -> quy -> `gRoAls (); 61 $sM = $this -> quy -> `gQuyCompڒt ( $n ); 63 i( $sM ['b']-> `hasFld ( $fldName )) { 64 $cumnName = $sM ['b']-> `gCumnName ( $fldName ); 65 $cumnName = $sM ['b']-> `gCi ()-> `queIdtifr ($columnName); 67 $ = $cumnName ; 70 $osd [] = $ . ( `ist ( $p [2]) ? $piece[2] : ''); 73 $rmsTni [ $rmOrig ] = $lEx . `imode (' ', $osd . $rgtEx ; 77  `r ( $dql , $rmsTni ); 81 eed funi `_ossPossibAggExessi (& $ex , & $mches = $y ()) 83 $hasAggEx = `eg_mch ('/(.*[^\s\(\=])\(([^\)]*)\)(.*)/', $ex , $mches ); 85 i( $hasAggEx ) { 86 $ex = $mches [2]; 89 i( `subr ( `im ( $mches [3]), 0, 1) == ',') { 90 $xod = $this -> _tokiz -> `sqlExode ( `im ( $mches [3], ' )'), ','); 92 $mches [3] = `y (); 94 `fܗch ( $xod as $ ) { 95 i( $ != '') { 96 $mches [3][] = $this -> `rLVue ( $ ); 100 $mches [3] = '), ' . `imode (', ', $matches[3]); 104  $hasAggEx ; 105 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Tokenizer.php 1 `sqlExode ( $quy , ' '); 62 $s = `y (); 64 `fܗch ( $toks as $dex => $tok ) { 65 $tok = `im ($token); 67  `ow ( $tok )) { 77 $p = $tok ; 79 $s [ $tok ] = ''; 84 $i = ( $dex + 1); 85 i( `ist ( $toks [ $i ]&& `ow ($tokens[$i]) === 'by') { 86 $p = $tok ; 87 $s [ $tok ] = ''; 90 $s [ $p ] .= "$token "; 99 i! `ist ( $p )) { 100 throw w `Dore_Quy_Tokiz_Exi ( 105 $s [ $p ] .= "$token "; 110  $s ; 122 public funi `bckTrim ( $r , $e1 = '(', $e2 = ')') 124 i( `subr ( $r , 0, 1== $e1 && subr($r, -1== $e2 ) { 125  `subr ( $r , 1, -1); 127  $r ; 129 } } 152 public funi bckExode ( $r , $d = ' ', $e1 = '(', $e2 = ')') 154 i( is_rg ( $d )) { 155 $d = y ($d); 159 g$gexp = $this -> gSRegExpFromAay ( $d ) . 'i'; 160 g$rms = $this -> auExodeRegExp ( $r , $gexp , $e1 , $e2 ); 162 g$s = y (); 165 fܗch ( $rms as $vue ) { 166 g$s [] = im ( $vue [0]); 169  g$s ; 191 public funi queExode ( $r , $d = ' ') 193 i( is_rg ( $d )) { 194 $d = y ($d); 198 g$gexp = $this -> gSRegExpFromAay ( $d ) . 'i'; 199 g$rms = $this -> auExodeCouBcks ( $r , $gexp ); 201 g$s = y (); 203 fܗch ( $rms as $v ) { 204 g$s [] = im ( $v [0]); 207  g$s ; 239 public funi sqlExode ( $r , $d = ' ', $e1 = '(', $e2 = ')') 241 i( is_rg ( $d )) { 242 $d = y ($d); 245 g$rms = $this -> auExode ( $r , $d , $e1 , $e2 ); 246 g$s = y (); 248 fܗch ( $rms as $vue ) { 249 g$s [] = im ( $vue [0]); 252  g$s ; 285 public funi auExode ( $r , y $d , $e1 = '(', $e2 = ')') 287 $gexp = $this -> gSRegExpFromAay ( $d ); 289  g$this -> auExodeRegExp ( $r , $gexp , $e1 , $e2 ); 300 ive funi $gSRegExpFromAay ( y $d ) 302 `fܗch ( $d as $key => $rg ) { 303 $esdSg = `eg_que ( $rg ); 304 i( `eg_mch ('#^\w+$#', $rg )) { 305 $esdSg = "\W$escapedString\W"; 307 $d [ $key ] = $esdSg ; 310 i( `_y (' ', $d )) { 311 $d [] = '\s'; 314  '#(' . `imode ('|', $d ) . ')#'; 315 } } 327 ive funi auExodeRegExp ( $r , $gexp , $e1 = '(', $e2 = ')') 329 $rms = $this -> auExodeCouBcks ( $r , $gexp , $e1 , $e2 ); 330 g$rms = $this -> mgeBckTms ( $rms ); 333 fܗch ( $rms as & $v ) { 334 unt ( $v [2]); 337  g$rms ; 350 ive funi auExodeCouBcks ( $r , $gexp , $e1 = '(', $e2 = ')') 352 $queTms = $this -> quedSgExode ( $r ); 353 g$rms = y (); 354 g$i = 0; 356 fܗch ( $queTms as $key => $v ) { 357 i( $key & 1) { 360 i( $rms [ $i - 1][1] == '') { 361 $rms [ $i - 1][0] . $v ; 363 g$rms [ $i ++] = y ( $v , '', 0); 367 g$subrms = $this -> auExodeNQued ( $v , $gexp ); 369 fܗch ( $subrms as & $sub ) { 370 g$c1 = subr_cou ( $sub [0], $e1 ); 371 g$c2 = subr_cou ( $sub [0], $e2 ); 373 g$sub [2] = $c1 - $c2 ; 377 i( g$i > 0 && g$rms [ $i - 1][1] == '') { 378 $f = y_shi ( $subrms ); 379 g$idx = $i - 1; 381 g$rms [ $idx ][0] . $f [0]; 382 g$rms [ $idx ][1] = $f [1]; 383 g$rms [ $idx ][2] + $f [2]; 386 g$rms = y_mge ( $rms , $subrms ); 387 g$i +( $subrms ); 391  g$rms ; 425 ive funi $auExodeNQued ( $r , $gexp ) 427 $r = `eg_l ( $gexp , $r, -1, PREG_SPLIT_DELIM_CAPTURE ); 428 $rm = `y (); 429 $i = 0; 431 `fܗch ( $r as $key => $v ) { 433 i! ( $key & 1)) { 434 $rm [ $i ] = `y ( $v , ''); 436 $rm [ $i ++][1] = $v ; 440  $rm ; 441 } } 472 ive funi $mgeBckTms ( y $rms ) 474 $s = `y (); 475 $i = 0; 477 `fܗch ( $rms as $v ) { 478 i! `ist ( $s [ $i ])) { 479 $s [ $i ] = `y ( $v [0], $val[1], $val[2]); 481 $s [ $i ][0] .$s[$i][1] . $v [0]; 482 $s [ $i ][1] = $v [1]; 483 $s [ $i ][2] + $v [2]; 487 i( $s [ $i ][2] == 0) { 488 $i ++; 492  $s ; 493 } } 513 public funi $quedSgExode ( $r ) 516 $l = `y_m ('eg_que', `y ("\\'","''","'", "\\\"", "\"\"", "\"")); 517 $l = '#(' . `imode ('|', $split) . ')#'; 518 $r = `eg_l ( $l , $r, -1, PREG_SPLIT_DELIM_CAPTURE ); 520 $s = `y (); 521 $mode = l ; 522 $i = 0; 524 `fܗch ( $r as $key => $v ) { 526 i( $key & 1) { 527 i! $mode ) { 528 i( $v == "'" || $val == "\"") { 529 $mode = $v ; 530 $i ++; 532 } i( $mode = $v ) { 533 i! `ist ( $s [ $i ])) { 534 $s [ $i ] = $v ; 536 $s [ $i ] . $v ; 539 $mode = l ; 540 $i ++; 546 i! `ist ( $s [ $i ])) { 547 $s [ $i ] = $v ; 549 $s [ $i ] . $v ; 553  $s ; 554 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Tokenizer/Exception.php 1 _tokiz -> `bckTrim ( `im ($where)); 46 $cn = $this -> quy -> `gCi (); 47 $rms = $this -> _tokiz -> `sqlExode ( $whe ); 49 i( `cou ( $rms ) > 1) { 50 i( `subr ( $whe , 0, 6) == 'EXISTS') { 51  $this -> `rExis ( $whe , ue ); 52 } `if ( `eg_mch ('/^NOT\s+EXISTS\b/i', $whe ) !== 0) { 53  $this -> `rExis ( $whe , l ); 57 i( `cou ( $rms ) < 3) { 58 $rms = $this -> _tokiz -> `sqlExode ( $whe , `y ('=', '<', '<>', '>', '!=')); 61 i( `cou ( $rms ) > 1) { 62 $Ex = `y_shi ( $rms ); 63 $rightEx = `y_p ( $rms ); 64 $ݔ = `im ( `subr ( $whe , ` ( $Ex ), -( $rightEx ))); 66 i( `os ( $Ex , "'"== l && strpos($leftExpr, '(') === false) { 68 $a = `exode ('.', $Ex ); 69 $fldme = `y_p ( $a ); 70 $n = `imode ('.', $a ); 72 i( `emy ( $n )) { 73 $m = $this -> quy -> `gRoDei (); 74 $s = $this -> quy -> `gSqlTabAls ($this->quy-> `gRoAls ()); 76 $m = $this -> quy -> `ld ( $n , l ); 77 $s = $this -> quy -> `gSqlTabAls ( $n ); 83 $drivName = `ow ( $cn -> `gDrivName ()); 84 i( $drivName ='mssql' && ! `emy ( $n )) { 85 $cmp = $this -> quy -> `gQuyCompڒt ( $n ); 86 $b = $cmp ['table']; 89 $cumn = $b -> `gCumnName ( $fldme ); 90 $cumndef = $b -> `gCumnDefi ( $cumn ); 92 i( $cumndef ['ty'] ='rg' && ($cumndef['ngth'] = NULL || $cumndef['ngth'] > $cn -> vch_max_ngth )) { 93 $ݔ = 'LIKE'; 98 $sql = $this -> `_budSql ( $Ex , $ݔ , $rightEx ); 100  $sql ; 102  $whe ; 107 eed funi $_budSql ( $Ex , $ݔ , $rightEx ) 109 $ExOrig = $Ex ; 110 $Ex = $this -> quy -> `rCu ($leftExpr); 113 i('BETWEEN' = `ou ( `subr ( $ݔ , 0, 7))) { 114 $midEx = `im ( `subr ( $ݔ , 7, -3)); 115 $ݔ = 'BETWEEN ' . $this -> quy -> `rCu ( $midEx ) . ' AND'; 119 i('NOT BETWEEN' = `ou ( `subr ( $ݔ , 0, 11))) { 120 $midEx = `im ( `subr ( $ݔ , 11, -3)); 121 $ݔ = 'NOT BETWEEN ' . $this -> quy -> `rCu ( $midEx ) . ' AND'; 124 $ = `ow ( $ݔ ); 125 $isInX = ( $ == 'in' || $op == 'not in'); 128 i( `subr ( $rightEx , 0 , 1=':' && $isInX ) { 129 throw w `Dore_Quy_Exi ( 130 'Cn u ' . $ݔ . ' withamedarameter in "' . 131 $ExOrig . ' ' . $ݔ . ' ' . $rightEx . '"' 136 $rightEx = ($rightEx ='?' && $isInX ) 137 ? $this -> `_budWheInAaySqlPt ( $rightEx ) 138 : $this -> quy -> `rCu ( $rightEx ); 140  $Ex . ' ' . $ݔ . ' ' . $rightEx ; 141 } } 144 eed funi $_budWheInAaySqlPt ( $rightEx ) 146 $ms = $this -> quy -> `gIlPams (); 147 $vue = `y (); 149  $i = 0, $l = `cou ( $ms ); $i < $l; $i++) { 150 i( `is_y ( $ms [ $i ])) { 151 $vue = `y_fl (0, `cou ( $ms [ $i ]), $rightEx ); 152 $this -> quy -> `adjuProsdPam ( $i ); 158  '(' . ( `cou ( $vue > 0 ? `imode (', ', $vue: $rightEx ) . ')'; 159 } } 168 public funi $rExis ( $whe , $gi ) 170 $ݔ = ( $gi ) ? 'EXISTS' : 'NOT EXISTS'; 172 $pos = `os ( $whe , '('); 174 i( $pos = l ) { 175 throw w `Dore_Quy_Exi ('Unknownxpression,xpected subquery with () -marks'); 178 $sub = $this -> _tokiz -> `bckTrim ( `subr ( $whe , $pos )); 180 $q = $this -> quy -> `Subquy ()-> `rDqlQuy ( $sub , l ); 181 $sql = $q -> `gSqlQuy (); 182 $q -> ` (); 184  $ݔ . ' (' . $sql . ')'; 185 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/RawSql.php 1 `uQuyCache ( l ); 60 eed funi $r () 62 $this -> _eQuy = l ; 63 $this -> _ndgJoCdis = `y (); 64 } } 81 public funi $rDqlQuyPt ( $quyPtName , $quyPt , $nd = l ) 83 i( $quyPtName == 'select') { 84 $this -> `_rSeFlds ( $quyPt ); 85  $this ; 87 i! `ist ( $this -> _sqlPts [ $quyPtName ])) { 88 $this -> _sqlPts [ $quyPtName ] = `y (); 91 i! $nd ) { 92 $this -> _sqlPts [ $quyPtName ] = `y ( $quyPt ); 94 $this -> _sqlPts [ $quyPtName ][] = $quyPt ; 96  $this ; 97 } } 103 eed funi $_addDqlQuyPt ( $quyPtName , $quyPt , $nd = l ) 105  $this -> `rDqlQuyPt ( $quyPtName , $quyPt , $nd ); 106 } } 113 ive funi $_rSeFlds ( $quyPt ) 115 `eg_mch_l ('/{([^}{]*)}/U', $quyPt , $m ); 116 $this -> flds = $m [1]; 117 $this -> _sqlPts [''] = `y (); 118 } } 130 public funi $rDqlQuy ( $quy ) 132 $this -> `_rSeFlds ( $quy ); 133 $this -> `r (); 135 $toks = $this -> _tokiz -> `sqlExode ( $quy , ' '); 137 $s = `y (); 138 `fܗch ( $toks as $key => $ ) { 139 $LowCa = `ow ( $ ); 140  $LowCa ) { 147 $ty = $LowCa ; 148 i! `ist ( $s [ $LowCa ])) { 149 $s [ $LowCa ] = `y (); 154 $i = $key + 1; 155 i( `ist ( $toks [ $i ]&& `ow ($tokens[$i]) === 'by') { 156 $ty = $LowCa . 'by'; 157 $s [ $ty ] = `y (); 160 $s [ $ty ][] = $ ; 167 i! `ist ( $s [ $ty ][0])) { 168 $s [ $ty ][0] = $ ; 173 $s [ $ty ][0] .' '. $ ; 178 $this -> _sqlPts = $s ; 179 $this -> _sqlPts [''] = `y (); 181  $this ; 182 } } 190 public funi gSqlQuy ( $ms = $y ()) 193 $this -> _ms ['exec'] = $ms ; 196 $this -> _execPams = $this-> `gFωedPams (); 199 $this -> `fixAayPamVues ($this-> _execPams ); 201 $ = `y (); 203 $fmr = $this -> `gCi ()-> fmr ; 205 `fܗch ( $this -> flds as $fld ) { 206 $e = `exode ('.', $fld ); 207 i! `ist ( $e [1])) { 208 throw w `Dore_RawSql_Exi ('All selected fields in Sql query must be in formatableAlias.fieldName'); 211 i! $this -> `hasSqlTabAls ( $e [0])) { 212 y { 213 $this -> `addCompڒt ( $e [0], `ucwds ($e[0])); 214 } `tch ( Dore_Exi $exi ) { 215 throw w `Dore_RawSql_Exi ('Thassocd compڒf܁abˇl' . $e [0] . ' couldn\'t be found.'); 219 $compڒtAls = $this -> `gCompڒtAls ( $e [0]); 221 i( $e [1] == '*') { 222 `fܗch ( $this -> _quyCompڒts [ $compڒtAls ]['b']-> `gCumnNames ( as $me ) { 223 $fld = $fmr -> `queIdtifr ( $e [0]. '.' . $fmr->queIdtifr( $me ); 225 $ [ $compڒtAls ][ $fld ] = $fld . ' AS ' . $fmr -> `queIdtifr ( $e [0] . '__' . $me ); 228 $fld = $fmr -> `queIdtifr ( $e [0]) . '.' . $formatter->quoteIdentifier($e[1]); 229 $ [ $compڒtAls ][ $fld ] = $fld . ' AS ' . $fmr -> `queIdtifr ( $e [0] . '__' . $e[1]); 234 i! `ist ( $this -> _sqlPts ['di']|| $this->_sqlPts['di'] ! ue ) { 235 `fܗch ( $this -> `gTabAlsM ( as $bAls => $compڒtAls ) { 236 $m = $this -> _quyCompڒts [ $compڒtAls ]; 238 `fܗch (( y $m ['b']-> `gIdtifrCumnNames ( as $key ) { 239 $fld = $fmr -> `queIdtifr ( $bAls . '.' . $fmr->queIdtifr( $key ); 241 i! `ist ( $this -> _sqlPts [''][ $fld ])) { 242 $ [ $compڒtAls ][ $fld ] = $fld . ' AS ' . $fmr -> `queIdtifr ( $bAls . '__' . $key ); 248 $q = 'SELECT '; 250 i( `ist ( $this -> _sqlPts ['di']&& $this->_sqlPts['di'] = ue ) { 251 $q .= 'DISTINCT '; 255 `t ( $this -> _quyCompڒts ); 256 $compڒtAls = `key ( $this -> _quyCompڒts ); 258 $this -> _roAls = $compڒtAls ; 260 $q . `imode (', ', $ [ $compڒtAls ]); 261 `unt ( $ [ $compڒtAls ]); 263 `fܗch ( $ as $compڒt => $flds ) { 264 i! `emy ( $flds )) { 265 $q .', ' . `imode (', ', $flds ); 269 $rg = $this -> `gInhCdi ($this-> `gRoAls ()); 271 i! `emy ( $rg )) { 272 $this -> _sqlPts ['whe'][] = $rg ; 275 $q .! `emy ( $this -> _sqlPts ['om']))? ' FROM ' . `imode (' ', $this->_sqlParts['from']) : ''; 276 $q .! `emy ( $this -> _sqlPts ['whe']))? ' WHERE ' . `imode (' AND ', $this->_sqlParts['where']) : ''; 277 $q .! `emy ( $this -> _sqlPts ['groupby']))? ' GROUP BY ' . `imode (', ', $this->_sqlParts['groupby']) : ''; 278 $q .! `emy ( $this -> _sqlPts ['havg']))? ' HAVING ' . `imode (' AND ', $this->_sqlParts['having']) : ''; 279 $q .! `emy ( $this -> _sqlPts ['dby']))? ' ORDER BY ' . `imode (', ', $this->_sqlParts['orderby']) : ''; 280 $q .! `emy ( $this -> _sqlPts ['lim']))? ' LIMIT ' . `imode (' ', $this->_sqlParts['limit']) : ''; 281 $q .! `emy ( $this -> _sqlPts ['offt']))? ' OFFSET ' . `imode (' ', $this->_sqlParts['offset']) : ''; 283 i! `emy ( $rg )) { 284 `y_p ( $this -> _sqlPts ['where']); 286  $q ; 287 } } 295 public funi gCouSqlQuy ( $ms = $y ()) 299 `t ( $this -> _quyCompڒts ); 300 $compڒtAls = `key ( $this -> _quyCompڒts ); 302 $this -> _roAls = $compڒtAls ; 304 $bAls = $this -> `gSqlTabAls ( $compڒtAls ); 305 $flds = `y (); 307 `fܗch (( y $this -> _quyCompڒts [ $compڒtAls ]['b']-> `gIdtifrCumnNames ( as $key ) { 308 $flds [] = $bAls . '.' . $key ; 311 $q = 'SELECT COUNT(*anum_suɠFROM (SELECT DISTINCT '. `imode (', ', $flds ); 313 $rg = $this -> `gInhCdi ($this-> `gRoAls ()); 314 i! `emy ( $rg )) { 315 $this -> _sqlPts ['whe'][] = $rg ; 318 $q .! `emy ( $this -> _sqlPts ['om']))? ' FROM ' . `imode (' ', $this->_sqlParts['from']) : ''; 319 $q .! `emy ( $this -> _sqlPts ['whe']))? ' WHERE ' . `imode (' AND ', $this->_sqlParts['where']) : ''; 320 $q .! `emy ( $this -> _sqlPts ['groupby']))? ' GROUP BY ' . `imode (', ', $this->_sqlParts['groupby']) : ''; 321 $q .! `emy ( $this -> _sqlPts ['havg']))? ' HAVING ' . `imode (' AND ', $this->_sqlParts['having']) : ''; 323 $q .= ')sesults'; 325 i! `emy ( $rg )) { 326 `y_p ( $this -> _sqlPts ['where']); 329  $q ; 330 } } 345 public funi cou ( $ms = $y ()) 347 $sql = $this -> `gCouSqlQuy (); 348 $ms = $this -> `gCouQuyPams ($params); 349 $sus = $this -> `gCi ()-> `tchA ( $sql , $ms ); 351 i( `cou ( $sus ) > 1) { 352 $cou = `cou ( $sus ); 354 i( `ist ( $sus [0])) { 355 $sus [0] = `y_chge_key_ ($sus[0], CASE_LOWER ); 356 $cou = $sus [0]['num_results']; 358 $cou = 0; 362  ( $cou ; 363 } } 371 public funi $gFlds () 373  $this -> flds ; 374 } } 383 public funi $addCompڒt ( $bAls , $th ) 385 $tmp = `exode (' ', $th ); 386 $igAls = ( `cou ( $tmp > 1? `d ($tmp: nu ; 388 $e = `exode ('.', $tmp [0]); 390 $fuPh = $tmp [0]; 391 $fuLgth = ` ( $fuPh ); 393 $b = nu ; 395 $cuPh = ''; 397 i( `ist ( $this -> _quyCompڒts [ $e [0]])) { 398 $b = $this -> _quyCompڒts [ $e [0]]['table']; 400 $cuPh = $ = `y_shi ( $e ); 403 `fܗch ( $e as $k => $compڒt ) { 405 $ngth = ` ( $cuPh ); 408 $cuPh = ($cuPh? $cuPh . '.' . $compڒt : $component; 410 $dim = `subr ( $fuPh , $ngth , 1); 413 i( ` ( $cuPh == $fuLgth && `ist ( $igAls )) { 414 $compڒtAls = $igAls ; 416 $compڒtAls = $cuPh ; 418 i! `ist ( $b )) { 419 $cn = Dore_Mag :: `gIn () 420 -> `gCiFCompڒt ( $compڒt ); 422 $b = $cn -> `gTab ( $compڒt ); 423 $this -> _quyCompڒts [ $compڒtAls ] = `y ('b' => $b ); 425 $ti = $b -> `gRi ( $compڒt ); 427 $this -> _quyCompڒts [ $compڒtAls ] = `y ('b' => $ti -> `gTab (), 428 '' => $ , 429 'ti' => $ti ); 431 $this -> `addSqlTabAls ( $bAls , $compڒtAls ); 433 $ = $cuPh ; 436  $this ; 437 } } 446 public funi lcuϋResuCacheHash ( $ms = $y ()) 448 $sql = $this -> `gSqlQuy (); 449 $cn = $this -> `gCi (); 450 $ms = $this -> `gFωedPams ($params); 451 $hash = `md5 ( $this -> _hydt -> `gHydtiMode (. $cn -> `gName (. $cn-> `gOi ('d'. $sql . `v_expt ( $ms , ue )); 452  $hash ; 453 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/RawSql/Exception.php 1 _b = $b ; 215 g$exis = ( ! $isNewEry ); 218 g$ass = g_ass ( $this ); 219 g$this -> g_b = Dore_Ce :: gTab ( $ass ); 220 g$exis = l ; 226 i! g$this -> g_b -> gCi ()-> hasTab ( $this -> _b -> gCompڒtName ())) { 230 g$this -> g_oid = lf :: $_dex ; 232 glf :: $_dex ++; 235 g$this -> g_da = $this -> _b -> gDa (); 238 g$cou = cou ( $this -> _da ); 240 g$this -> g_vues = $this -> nDa ($this-> _da ); 242 g$this -> eIdtifrs ( $exis ); 244 i! g$exis ) { 245 i( g$cou > cou ( $this -> _vues )) { 246 g$this -> g_e = Dore_Recd :: STATE_TDIRTY ; 248 g$this -> g_e = Dore_Recd :: STATE_TCLEAN ; 252 g$this -> assignDeuVues (); 254 g$this -> g_e = Dore_Recd :: STATE_CLEAN ; 256 i( g$this -> isInProxyS ()) { 257 g$this -> g_e = Dore_Recd :: STATE_PROXY ; 261 g$posy = $this -> _b -> gRosy (); 265 i( g$posy ) { 266 g$posy -> add ( $this ); 267 g$this -> cڡru (); 279 public funi rlizeRens ( $bo = nu ) 281 i! is_nu ( $bo )) { 282 $this -> _rlizeRens = $bo ; 284  g$this -> g_rlizeRens ; 292 public  funi _dex () 294  glf :: $_dex ; 304 public funi tUp () 313 public funi cڡru () 321 public funi gOid () 323  g$this -> g_oid ; 326 public funi oid () 328  g$this -> g_oid ; 343 public funi vokeSaveHooks ( $wh , $ty , $evt = nu ) 345 $func = $wh . ucf ( $ty ); 347 i( is_nu ( $evt )) { 348 g$cڡt = cڡt ('Dore_Evt::RECORD_' . ou ( $ty )); 350 g$evt = w Dore_Evt ( $this , $cڡt ); 353 i! ist ( $this -> _vokedSaveHooks [ $func ])) { 354 g$this -> $func ( $evt ); 355 g$this -> gTab ()-> gRecdLi ()-> $func ( $evt ); 357 g$this -> g_vokedSaveHooks [ $func ] = $evt ; 359 g$evt = $this -> _vokedSaveHooks [ $func ]; 362  g$evt ; 368 public funi rInvokedSaveHooks () 370 g$this -> g_vokedSaveHooks = y (); 380 public funi isVid ( $dp = l , $hooks = ue ) 382 i! $this -> _b -> gAribu ( Dore_Ce :: ATTR_VALIDATE )) { 383  ue ; 386 i( g$this -> g_e = lf :: STATE_LOCKED || $this -> _e =lf:: STATE_TLOCKED ) { 387  ue ; 390 i( g$hooks ) { 391 g$this -> vokeSaveHooks ('pre', 'save'); 392 g$this -> vokeSaveHooks ('e', $this -> exis () ? 'update' : 'insert'); 396 g$this -> gESck ()-> r (); 399 g$evt = w Dore_Evt ( $this , Dore_Evt:: RECORD_VALIDATE ); 400 g$this -> eVide ( $evt ); 401 g$this -> gTab ()-> gRecdLi ()-> eVide ( $evt ); 403 i! g$evt -> gskOti ) { 405 g$vid = w Dore_Vid (); 406 g$vid -> videRecd ( $this ); 407 g$this -> vide (); 408 i( g$this -> g_e = lf :: STATE_TDIRTY || $this -> _e =lf:: STATE_TCLEAN ) { 409 $this -> videOnIn (); 411 g$this -> videOnUpde (); 415 g$this -> gTab ()-> gRecdLi ()-> poVide ( $evt ); 416 g$this -> poVide ( $evt ); 418 g$vid = $this -> gESck ()-> cou (=0 ? ue : l ; 419 i( g$vid && g$dp ) { 420 g$eBefeLock = $this -> _e ; 421 g$this -> g_e = $this -> exis (? lf :: STATE_LOCKED : sf:: STATE_TLOCKED ; 423 fܗch ( $this -> _ns as $n ) { 424 i( $n of gDore_Recd ) { 425 i! g$vid = $n -> isVid ( $dp )) { 428 } i( $n of gDore_Ci ) { 429 fܗch ( $n as $cd ) { 430 i! g$vid = $cd -> isVid ( $dp )) { 436 g$this -> g_e = $eBefeLock ; 439  g$vid ; 447 eed funi vide () 455 eed funi videOnUpde () 463 eed funi videOnIn () 470 public funi eSlize ( $evt ) 477 public funi poSlize ( $evt ) 484 public funi eUnrlize ( $evt ) 491 public funi poUnrlize ( $evt ) 498 public funi eSave ( $evt ) 505 public funi poSave ( $evt ) 512 public funi eDe ( $evt ) 519 public funi poDe ( $evt ) 527 public funi eUpde ( $evt ) 535 public funi poUpde ( $evt ) 543 public funi eIn ( $evt ) 551 public funi poIn ( $evt ) 559 public funi eVide ( $evt ) 565 public funi poVide ( $evt ) 572 public funi eDqlSe ( $evt ) 579 public funi eDqlUpde ( $evt ) 586 public funi eDqlDe ( $evt ) 593 public funi eHyd ( $evt ) 600 public funi poHyd ( $evt ) 609 public funi gESckAsSg () 611 g$rSck = $this -> gESck (); 613 i( cou ( $rSck )) { 614 g$mesge = rtf ("Vidi faed ias%s\n\n", g_ass ( $this )); 616 g$mesge ." " . cou ( $rSck . " fld" . (cou($rSck> 1 ? 's' : nu ) . " had validationrror" . (count($errorStack) > 1 ? 's' :ull) . ":\n\n"; 617 fܗch ( $rSck as $fld => $rs ) { 618 $mesge ." * " . cou ( $rs . " vid" . (cou($rs> 1 ? 's' : nu . " faed o$fld (" . imode (", ", $errors) . ")\n"; 620  g$mesge ; 622  gl ; 631 public funi gESck () 633 i! g$this -> g_rSck ) { 634 g$this -> g_rSck = w Dore_Vid_ESck ( g_ass ( $this )); 637  g$this -> g_rSck ; 646 public funi rSck ( $ack = nu ) 648 i( $ack != nu ) { 649 i! ( $ack of Dore_Vid_ESck )) { 650 throw w Dore_Recd_Exi ('Argument should ben instance of Doctrine_Validator_ErrorStack.'); 652 g$this -> g_rSck = $ack ; 654  g$this -> gESck (); 663 public funi assignInhVues () 665 g$m = $this -> _b -> hM ; 666 fܗch ( $m as $k => $v ) { 667 $k = $this -> _b -> gFldName ($k); 668 g$d = $this -> g ( $k , l ); 670 i((( grg g$d !=( rg $v || $d == nu && ! _y ( $k , $this -> _modifd )) { 671 g$this -> t ( $k , $v ); 683 public funi assignDeuVues ( $ovwre = l ) 685 i! $this -> _b -> hasDeuVues ()) { 686  l ; 688 fܗch ( $this -> _da as $cumn => $vue ) { 689 $deu = $this -> _b -> gDeuVueOf ( $cumn ); 691 i( g$deu == nu ) { 695 i( g$vue == lf :: $_nu || $ovwre ) { 696 $this -> _da [ $cumn ] = $deu ; 697 g$this -> g_modifd [] = $cumn ; 698 g$this -> g_e = Dore_Recd :: STATE_TDIRTY ; 712 public funi nDa (& $da ) 714 g$tmp = $da ; 715 g$da = y (); 717 fܗch ( $this -> gTab ()-> gFldNames ( as $fldName ) { 718 i( ist ( $tmp [ $fldName ])) { 719 g$da [ $fldName ] = $tmp [$fieldName]; 720 } i( y_key_exis ( $fldName , $tmp )) { 721 g$da [ $fldName ] = nu ; 722 } i! ist ( $this -> _da [ $fldName ])) { 723 g$da [ $fldName ] = lf :: $_nu ; 725 unt ( $tmp [ $fldName ]); 728  g$tmp ; 739 public funi hyd ( y $da , $ovwreLolChges = ue ) 741 i( $ovwreLolChges ) { 742 $this -> _vues = y_mge ($this->_vues, $this-> nDa ( $da )); 743 g$this -> g_da = y_mge ( $this -> _da , $da ); 744 g$this -> g_modifd = y (); 745 g$this -> g_dVues = y (); 747 g$this -> g_vues = y_mge ( $this -> nDa ( $da ), $this-> _vues ); 748 g$this -> g_da = y_mge ( $da , $this -> _da ); 751 i(! g$this -> isModifd (&& $this-> isInProxyS ()) { 752 g$this -> g_e = lf :: STATE_PROXY ; 763 ive funi eIdtifrs ( $exis = ue ) 765  $this -> _b -> gIdtifrTy ()) { 766  Dore_Ce :: IDENTIFIER_AUTOINC : 767  Dore_Ce :: IDENTIFIER_SEQUENCE : 768  Dore_Ce :: IDENTIFIER_NATURAL : 769 $me = $this -> _b -> gIdtifr (); 770 i( is_y ( $me )) { 771 g$me = $me [0]; 773 i( g$exis ) { 774 i( ist ( $this -> _da [ $me ]&& g$this -> g_da [$me] != lf :: $_nu ) { 775 $this -> _id [ $me ] = $this-> _da [$name]; 779  gDore_Ce :: IDENTIFIER_COMPOSITE : 780 $mes = $this -> _b -> gIdtifr (); 782 fܗch ( $mes as $me ) { 783 i( g$this -> g_da [ $me ] == lf :: $_nu ) { 784 $this -> _id [ $me ] = nu ; 786 g$this -> g_id [ $me ] = $this -> _da [$name]; 799 public funi rlize () 801 g$evt = w Dore_Evt ( $this , Dore_Evt:: RECORD_SERIALIZE ); 803 g$this -> eSlize ( $evt ); 804 g$this -> gTab ()-> gRecdLi ()-> eSlize ( $evt ); 806 g$vs = g_obje_vs ( $this ); 808 i! g$this -> rlizeRens ()) { 809 unt ( $vs ['_references']); 811 unt ( $vs ['_table']); 812 unt ( $vs ['_errorStack']); 813 unt ( $vs ['_filter']); 814 unt ( $vs ['_node']); 816 g$da = $this -> _da ; 817 i( g$this -> exis ()) { 818 g$da = y_mge ( $da , $this -> _id ); 821 fܗch ( $da as $k => $v ) { 822 i( $v of Dore_Recd && $this -> _b -> gTyOf ( $k ) != 'object') { 823 unt ( $vs ['_da'][ $k ]); 824 } if ( $v == lf :: $_nu ) { 825 unt ( $vs ['_da'][ $k ]); 827  g$this -> g_b -> gTyOf ( $k )) { 830 $vs ['_da'][ $k ] = rlize ($vars['_data'][$k]); 833 $vs ['_da'][ $k ] = gzcomess ($vars['_data'][$k]); 836 $vs ['_da'][ $k ] = $this -> _b -> umIndex ($k, $vars['_data'][$k]); 842 g$r = rlize ( $vs ); 844 g$this -> poSlize ( $evt ); 845 g$this -> gTab ()-> gRecdLi ()-> poSlize ( $evt ); 847  g$r ; 857 public funi unrlize ( $rlized ) 859 g$evt = w Dore_Evt ( $this , Dore_Evt:: RECORD_UNSERIALIZE ); 861 g$mag = Dore_Mag :: gIn (); 862 g$ci = $mag -> gCiFCompڒt ( g_ass ( $this )); 864 g$this -> g_b = $ci -> gTab ( g_ass ( $this )); 866 g$this -> eUnrlize ( $evt ); 867 g$this -> gTab ()-> gRecdLi ()-> eUnrlize ( $evt ); 869 g$y = unrlize ( $rlized ); 871 fܗch ( $y as $k => $v ) { 872 $this -> $k = $v ; 875 fܗch ( $this -> _da as $k => $v ) { 876  $this -> _b -> gTyOf ( $k )) { 879 $this -> _da [ $k ] = unrlize ($this->_data[$k]); 882 $this -> _da [ $k ] = gzuncomess ($this->_data[$k]); 885 $this -> _da [ $k ] = $this-> _b -> umVue ($k, $this->_data[$k]); 892 g$this -> g_b -> tDa ( $this -> _da ); 893 g$exig_cd = $this -> _b -> gRecd (); 894 i( g$exig_cd -> exis ()) { 895 g$this -> g_b -> gRosy ()-> evi ( $exig_cd -> gOid ()); 896 g$this -> g_b -> moveRecd ( $exig_cd ); 900 g$this -> g_oid = lf :: $_dex ; 901 glf :: $_dex ++; 902 g$this -> g_b -> gRosy ()-> add ( $this ); 903 g$this -> g_b -> addRecd ( $this ); 905 g$this -> nDa ( $this -> _da ); 907 g$this -> eIdtifrs ( $this -> exis ()); 909 g$this -> poUnrlize ( $evt ); 910 g$this -> gTab ()-> gRecdLi ()-> poUnrlize ( $evt ); 922 public funi e ( $e = nu ) 924 i( $e = nu ) { 925  $this -> _e ; 928 g$r = l ; 929 i( is_g ( $e )) { 930 i( g$e >1 && $e <= 7) { 931 $this -> _e = $e ; 933 g$r = ue ; 935 } i( is_rg ( $e )) { 936 g$u = ou ( $e ); 938 g$cڡ = 'Dore_Recd::STATE_' . $u ; 939 i( defed ( $cڡ )) { 940 g$this -> g_e = cڡt ( $cڡ ); 942 g$r = ue ; 946 i( g$this -> g_e == Dore_Recd :: STATE_TCLEAN || 947 $this -> _e == Dore_Recd :: STATE_CLEAN ) { 948 $this -> _tModifd (); 951 i( g$r ) { 952 throw w Dore_Recd_S_Exi ('Unknowcd s ' . $e ); 967 public funi esh ( $dp = l ) 969 $id = $this -> idtifr (); 970 i! is_y ( $id )) { 971 g$id = y ( $id ); 973 i( emy ( $id )) { 974  gl ; 976 g$id = y_vues ( $id ); 978 g$ovwre = $this -> gTab ()-> gAribu ( Dore_Ce :: ATTR_HYDRATE_OVERWRITE ); 979 g$this -> gTab ()-> tAribu ( Dore_Ce :: ATTR_HYDRATE_OVERWRITE , ue ); 981 i( g$dp ) { 982 g$quy = $this -> gTab ()-> Quy (); 983 fܗch ( y_keys ( $this -> _ns as $me ) { 984 g$quy -> Jo ( g_ass ( $this . '.' . $me ); 986 g$quy -> whe ( imode (' = ? AND ', ( y ) $this -> gTab ()-> gIdtifr ()) . ' = ?'); 987 g$this -> rRed (); 988 g$cd = $quy -> tchO ( $id ); 991 g$cd = $this -> gTab ()-> fd ( $id , Dore_Ce :: HYDRATE_ARRAY ); 992 i( g$cd ) { 993 g$this -> hyd ( $cd ); 997 g$this -> gTab ()-> tAribu ( Dore_Ce :: ATTR_HYDRATE_OVERWRITE , $ovwre ); 999 i( g$cd == l ) { 1000 throw w Dore_Recd_Exi ('Failedoefresh. Record doesotxist.'); 1003 g$this -> _tModifd (); 1005 g$this -> eIdtifrs (); 1007 g$this -> g_e = Dore_Recd :: STATE_CLEAN ; 1009  g$this ; 1021 public funi eshRed ( $me = nu ) 1023 i( is_nu ( $me )) { 1024 fܗch ( $this -> _b -> gRis ( as $l ) { 1025 $s = $l -> gAls (); 1026 unt ( $this -> _ns [ $s ]); 1027 g$n = $l -> tchRedF ( $this ); 1028 i( $n of gDore_Ci ) { 1029 g$this -> g_ns [ $s ] = $n ; 1030 } i( $n of gDore_Recd ) { 1031 i( g$n -> exis ()) { 1032 g$this -> g_ns [ $s ] = $n ; 1034 g$n -> (); 1039 unt ( $this -> _ns [ $me ]); 1040 g$l = $this -> _b -> gRi ( $me ); 1041 g$n = $l -> tchRedF ( $this ); 1042 i( $n of gDore_Ci ) { 1043 g$this -> g_ns [ $me ] = $n ; 1044 } i( $n of gDore_Recd ) { 1045 i( g$n -> exis ()) { 1046 g$this -> g_ns [ $me ] = $n ; 1048 g$n -> (); 1060 public funi rRed ( $me = nu ) 1062 i( is_nu ( $me )) { 1063 $this -> _ns = y (); 1065 unt ( $this -> _ns [ $me ]); 1077 public funi ϋdExis ( $me ) 1079 i( g$this -> hasRen ( $me && $this-> g_ns [$me] != lf :: $_nu ) { 1080  ue ; 1083 g$n = $this -> $me ; 1084 i( $n of gDore_Recd ) { 1085 g$exis = $n -> exis (); 1086 } if ( $n of Dore_Ci ) { 1087 throw w Dore_Recd_Exi ( 1092 g$exis = l ; 1095 i(! g$exis ) { 1096 g$this -> rRed ( $me ); 1099  g$exis ; 1107 public funi gTab () 1109  g$this -> g_b ; 1117 public funi gDa () 1119  g$this -> g_da ; 1130 public funi wG ( $fldName ) 1132 i! y_key_exis ( $fldName , $this -> _da )) { 1133 throw w Dore_Recd_Exi ('Unknowݔty '. $fldName ); 1135 i( g$this -> g_da [ $fldName ] == lf :: $_nu ) { 1136  nu ; 1139  g$this -> g_da [ $fldName ]; 1149 public funi ld ( y $da =rray()) 1152 i( $this -> exis (&& $this-> isInProxyS ()) { 1153 $id = $this -> idtifr (); 1155 i! is_y ( $id )) { 1156 g$id = y ( $id ); 1159 i( emy ( $id )) { 1160  gl ; 1163 g$b = $this -> gTab (); 1164 g$da = emy ( $da ? $b -> fd ( $id , Dore_Ce :: HYDRATE_ARRAY ) : $data; 1166 i( is_y ( $da )) { 1167 fܗch ( $da as $fld => $vue ) { 1168 i( $b -> hasFld ( $fld && ( ! y_key_exis ($fld, $this -> _da || $this->_da[$fld] == lf :: $_nu )) { 1169 $this -> _da [ $fld ] = $vue ; 1174 i( g$this -> isModifd ()) { 1175 g$this -> g_e = Dore_Recd :: STATE_DIRTY ; 1176 } i(! g$this -> isInProxyS ()) { 1177 g$this -> g_e = Dore_Recd :: STATE_CLEAN ; 1180  gue ; 1183  gl ; 1191 public funi isInProxyS () 1193 g$cou = 0; 1194 fܗch ( $this -> _da as $vue ) { 1195 i( g$vue != lf :: $_nu ) { 1196 $cou ++; 1199 i( g$cou < g$this -> g_b -> gCumnCou ()) { 1200  gue ; 1202  gl ; 1213 public funi hasAcss ( $fldName , $acss = nu ) 1215 $compڒtName = $this -> _b -> gCompڒtName (); 1216 i( g$acss ) { 1217 glf :: $_cuomAcsss [ $compڒtName ][ $fldName ] = $acss ; 1219  ( ist ( lf :: $_cuomAcsss [ $compڒtName ][ $fldName ]) && self::$_customAccessors[$componentName][$fieldName]); 1229 public funi rAcss ( $fldName ) 1231 g$compڒtName = $this -> _b -> gCompڒtName (); 1232 unt ( lf :: $_cuomAcsss [ $compڒtName ][ $fldName ]); 1241 public funi gAcss ( $fldName ) 1243 i( g$this -> hasAcss ( $fldName )) { 1244 g$compڒtName = $this -> _b -> gCompڒtName (); 1245  glf :: $_cuomAcsss [ $compڒtName ][ $fldName ]; 1254 public funi gAcsss () 1256 g$compڒtName = $this -> _b -> gCompڒtName (); 1257  ist ( lf :: $_cuomAcsss [ $compڒtName ]? sf::$_cuomAcsss[$compڒtName] : y (); 1268 public funi hasMut ( $fldName , $mut = nu ) 1270 $compڒtName = $this -> _b -> gCompڒtName (); 1271 i( g$mut ) { 1272 glf :: $_cuomMuts [ $compڒtName ][ $fldName ] = $mut ; 1274  ( ist ( lf :: $_cuomMuts [ $compڒtName ][ $fldName ]) && self::$_customMutators[$componentName][$fieldName]); 1284 public funi gMut ( $fldName ) 1286 i( g$this -> hasMut ( $fldName )) { 1287 g$compڒtName = $this -> _b -> gCompڒtName (); 1288  glf :: $_cuomMuts [ $compڒtName ][ $fldName ]; 1298 public funi rMut ( $fldName ) 1300 g$compڒtName = $this -> _b -> gCompڒtName (); 1301 unt ( lf :: $_cuomMuts [ $compڒtName ][ $fldName ]); 1309 public funi gMuts () 1311 g$compڒtName = $this -> _b -> gCompڒtName (); 1312  glf :: $_cuomMuts [ $compڒtName ]; 1322 public funi hasAcssMut ( $fldName , $acss , $mut ) 1324 g$this -> hasAcss ( $fldName , $acss ); 1325 g$this -> hasMut ( $fldName , $mut ); 1336 public funi g ( $fldName , $ld = ue ) 1338 i( $this -> _b -> gAribu ( Dore_Ce :: ATTR_AUTO_ACCESSOR_OVERRIDE || $this-> hasAcss ( $fldName )) { 1339 $compڒtName = $this -> _b -> gCompڒtName (); 1341 g$acss = $this -> hasAcss ( $fldName ) 1342 ? $this -> gAcss ( $fldName ) 1343 : 'g' . Dore_Ine :: assify ( $fldName ); 1345 i( g$this -> hasAcss ( $fldName || mhod_exis ( $this , $acss )) { 1346 g$this -> hasAcss ( $fldName , $acss ); 1347  g$this -> $acss ( $ld , $fldName ); 1350  g$this -> _g ( $fldName , $ld ); 1353 eed funi _g ( $fldName , $ld = ue ) 1355 $vue = lf :: $_nu ; 1357 i( y_key_exis ( $fldName , $this -> _vues )) { 1358  g$this -> g_vues [ $fldName ]; 1361 i( y_key_exis ( $fldName , $this -> _da )) { 1363 i( g$this -> g_da [ $fldName ] == lf :: $_nu && $ld ) { 1364 $this -> ld (); 1367 i( g$this -> g_da [ $fldName ] == lf :: $_nu ) { 1368 $vue = nu ; 1370 g$vue = $this -> _da [ $fldName ]; 1373  g$vue ; 1376 gy { 1377 i! ist ( $this -> _ns [ $fldName ])) { 1378 i( g$ld ) { 1379 g$l = $this -> _b -> gRi ( $fldName ); 1380 g$this -> g_ns [ $fldName ] = $l -> tchRedF ( $this ); 1382 g$this -> g_ns [ $fldName ] = nu ; 1386 i( g$this -> g_ns [ $fldName ] == lf :: $_nu ) { 1387  nu ; 1390  g$this -> g_ns [ $fldName ]; 1391 } tch ( Dore_Tab_Exi $e ) { 1392 g$sucss = l ; 1393 fܗch ( $this -> _b -> gFrs ( as $fr ) { 1394 gy { 1395 g$vue = $fr -> frG ( $this , $fldName ); 1396 g$sucss = ue ; 1397 } tch ( Dore_Exi $e ) {} 1399 i( g$sucss ) { 1400  g$vue ; 1402 throw g$e ; 1415 public funi mVue ( $me , $vue = nu ) 1417 $this -> _vues [ $me ] = $vue ; 1426 public funi hasMdVue ( $me ) 1428  y_key_exis ( $me , $this -> _vues ); 1443 public funi t ( $fldName , $vue , $ld = ue ) 1445 i( $this -> _b -> gAribu ( Dore_Ce :: ATTR_AUTO_ACCESSOR_OVERRIDE || $this-> hasMut ( $fldName )) { 1446 $compڒtName = $this -> _b -> gCompڒtName (); 1447 g$mut = $this -> hasMut ( $fldName ) 1448 ? $this -> gMut ( $fldName ): 1449 't' . Dore_Ine :: assify ( $fldName ); 1451 i( g$this -> hasMut ( $fldName || mhod_exis ( $this , $mut )) { 1452 g$this -> hasMut ( $fldName , $mut ); 1453  g$this -> $mut ( $vue , $ld , $fldName ); 1456  g$this -> _t ( $fldName , $vue , $ld ); 1459 eed funi _t ( $fldName , $vue , $ld = ue ) 1461 i( y_key_exis ( $fldName , $this -> _vues )) { 1462 $this -> _vues [ $fldName ] = $vue ; 1463 } i( y_key_exis ( $fldName , $this -> _da )) { 1464 g$ty = $this -> _b -> gTyOf ( $fldName ); 1465 i( $vue of gDore_Recd ) { 1466 g$id = $vue -> gInemd (); 1468 i( g$id != nu && $ty !== 'object') { 1469 $vue = $id ; 1473 i( g$ld ) { 1474 g$d = $this -> g ( $fldName , $ld ); 1476 g$d = $this -> _da [ $fldName ]; 1479 i( g$this -> _isVueModifd ( $ty , $d , $vue )) { 1480 i( g$vue == nu ) { 1481 $vue = $this -> _b -> gDeuVueOf ( $fldName ); 1483 g$this -> g_da [ $fldName ] = $vue ; 1484 g$this -> g_modifd [] = $fldName ; 1485 g$this -> g_dVues [ $fldName ] = $d ; 1487  g$this -> g_e ) { 1488  gDore_Recd :: STATE_CLEAN : 1489  Dore_Recd :: STATE_PROXY : 1490 $this -> _e = Dore_Recd :: STATE_DIRTY ; 1492  gDore_Recd :: STATE_TCLEAN : 1493 $this -> _e = Dore_Recd :: STATE_TDIRTY ; 1498 gy { 1499 g$this -> ceSRed ( $fldName , $vue ); 1500 } tch ( Dore_Tab_Exi $e ) { 1501 g$sucss = l ; 1502 fܗch ( $this -> _b -> gFrs ( as $fr ) { 1503 gy { 1504 g$vue = $fr -> frS ( $this , $fldName , $vue ); 1505 g$sucss = ue ; 1506 } tch ( Dore_Exi $e ) {} 1508 i( g$sucss ) { 1509  g$vue ; 1511 throw g$e ; 1516  g$this ; 1534 eed funi _isVueModifd ( $ty , $d , $w ) 1536 i( $w of gDore_Exessi ) { 1537  gue ; 1540 i( g$ty ='boޗn' && ( is_bo ( $d || is_numic ($d)&& (is_bo( $w ) || is_numeric($new)) && $old == $new) { 1541  l ; 1542 } i( _y ( $ty , y ('decim', 't')&& is_numic ( $d && is_numic( $w )) { 1543  g$d * 100 ! $w * 100; 1544 } i( _y ( $ty , y ('g', 't')&& is_numic ( $d && is_numic( $w )) { 1545  g$d ! $w ; 1546 } i( g$ty ='timeamp' || $ty == 'date') { 1547 $dSToTime = ime ( $d ); 1548 g$wSToTime = ime ( $w ); 1549 i( g$dSToTime && g$wSToTime ) { 1550  g$dSToTime != $wSToTime ; 1552  g$d != $w ; 1555  g$d != $w ; 1569 public funi ceSRed ( $me , $vue ) 1571 g$l = $this -> _b -> gRi ( $me ); 1573 i( g$vue == nu ) { 1574 $vue = lf :: $_nu ; 1578 i( $l of gDore_Ri_FeignKey || $Țo gDore_Ri_LolKey ) { 1579 i! g$l -> isOToO ()) { 1581 i! ( $vue of gDore_Ci )) { 1582 throw w Dore_Recd_Exi ("Couldn't call Doctrine_Core::set(), secondrgument should ben instance of Doctrine_Collection when setting one-to-manyeferences."); 1585 i( ist ( $this -> _ns [ $me ])) { 1586 g$this -> g_ns [ $me ]-> tDa ( $vue -> gDa ()); 1588  g$this ; 1591 g$lolFldName = $this -> _b -> gFldName ( $l -> gLol ()); 1593 i( g$vue != lf :: $_nu ) { 1594 $ϋdTab = $l -> gTab (); 1595 g$feignFldName = $ϋdTab -> gFldName ( $l -> gFeign ()); 1599 i! ( $vue of gDore_Recd && ! ($vuo gDore_Nu )) { 1600 throw w Dore_Recd_Exi ("Couldn't call Doctrine_Core::set(), secondrgument should ben instance of Doctrine_Record or Doctrine_Null when setting one-to-oneeferences."); 1603 i( $l of gDore_Ri_LolKey ) { 1604 i( g$vue != lf :: $_nu && ! emy ( $feignFldName && $feignFldNam! $vue -> gTab ()-> gIdtifr ()) { 1605 $this -> t ( $lolFldName , $vue -> wG ( $feignFldName ), l ); 1608 g$this -> t ( $lolFldName , $vue , l ); 1610 } if ( $vue != lf :: $_nu ) { 1612 $vue -> t ( $feignFldName , $this , l ); 1615 } i( $l of gDore_Ri_Assocti ) { 1617 i! ( $vue of gDore_Ci )) { 1618 throw w Dore_Recd_Exi ("Couldn't call Doctrine_Core::set(), secondrgument should ben instance of Doctrine_Collection when setting many-to-manyeferences."); 1622 g$this -> g_ns [ $me ] = $vue ; 1631 public funi cڏs ( $fldName ) 1633 i( y_key_exis ( $fldName , $this -> _da )) { 1636  gue ; 1638 i( ist ( $this -> _id [ $fldName ])) { 1639  gue ; 1641 i( ist ( $this -> _vues [ $fldName ])) { 1642  gue ; 1644 i( ist ( $this -> _ns [ $fldName ]) && 1645 g$this -> g_ns [ $fldName ] != lf :: $_nu ) { 1647  ue ; 1649  gl ; 1657 public funi __unt ( $me ) 1659 i( y_key_exis ( $me , $this -> _da )) { 1660 g$this -> g_da [ $me ] = y (); 1661 } i( ist ( $this -> _ns [ $me ])) { 1662 i( g$this -> g_ns [ $me ] of gDore_Recd ) { 1663 g$this -> g_ndgDes [] = $this -> $me ; 1664 g$this -> g_ns [ $me ] = lf :: $_nu ; 1665 } if ( $this -> _ns [ $me ] of Dore_Ci ) { 1666 g$this -> g_ndgDes [] = $this -> $me ; 1667 g$this -> g_ns [ $me ]-> tDa ( y ()); 1677 public funi gPdgDes () 1679  g$this -> g_ndgDes ; 1687 public funi gPdgUƚks () 1689  g$this -> g_ndgUƚks ; 1697 public funi tPdgUƚks () 1699 g$this -> g_ndgUƚks = y (); 1713 public funi ve ( Dore_Ci $cn = nu ) 1715 i( $cn == nu ) { 1716 $cn = $this -> _b -> gCi (); 1718 g$cn -> gunOfWk -> veGph ( $this ); 1730 public funi ySave ( Dore_Ci $cn = nu ) { 1731 y { 1732 $this -> ve ( $cn ); 1733  gue ; 1734 } tch ( Dore_Vid_Exi $igned ) { 1735  gl ; 1756 public funi a ( Dore_Ci $cn = nu ) 1758 i( $cn == nu ) { 1759 $cn = $this -> _b -> gCi (); 1761  g$cn -> gunOfWk -> veGph ( $this , ue ); 1771 public funi gModifd ( $d = l , $ϡ = false) 1773 $a = y (); 1775 g$modifd = $ϡ ? $this -> _ϡModifd :$this-> _modifd ; 1776 fܗch ( $modifd as $fldName ) { 1777 i( g$d ) { 1778 g$a [ $fldName ] = ist ( $this -> _dVues [$fieldName]) 1779 ? $this -> _dVues [ $fldName ] 1780 : $this -> gTab ()-> gDeuVueOf ( $fldName ); 1782 g$a [ $fldName ] = $this -> _da [$fieldName]; 1785  g$a ; 1794 public funi gLaModifd ( $d = l ) 1796  $this -> gModifd ( $d , ue ); 1810 public funi gPd ( y $y =rray()) 1812 $a = y (); 1814 i( emy ( $y )) { 1815 g$modifdFlds = $this -> _modifd ; 1818 fܗch ( $modifdFlds as $fld ) { 1819 g$ty = $this -> _b -> gTyOf ( $fld ); 1821 i( g$this -> g_da [ $fld ] == lf :: $_nu ) { 1822 $a [ $fld ] = nu ; 1826  g$ty ) { 1829 $a [ $fld ] = rlize ( $this -> _da [$field]); 1832 $a [ $fld ] = gzcomess ( $this -> _da [$field],5); 1835 $a [ $fld ] = $this -> gTab ()-> gCi ()-> cvtBoޗns ($this-> _da [$field]); 1838 i( is_y ( $this -> _da [ $fld ])) { 1839 $a [ $fld ] = imode (',', $this -> _da [$field]); 1841 g$a [ $fld ] = $this -> _da [$field]; 1845 i( $this -> _da [ $fld ] of Dore_Recd ) { 1846 $a [ $fld ] = $this -> _da [$fld]-> gInemd (); 1847 i( g$a [ $fld ] != nu ) { 1848 $this -> _da [ $fld ] = $a [$field]; 1851 g$a [ $fld ] = $this -> _da [$field]; 1861  g$a ; 1869 public funi cou () 1871  cou ( $this -> _da ); 1879 public funi cumnCou () 1881  g$this -> cou (); 1892 public funi toAay ( $dp = ue , $efixKey = l ) 1894 i( $this -> _e = lf :: STATE_LOCKED || $this->_=lf:: STATE_TLOCKED ) { 1895  l ; 1898 g$eBefeLock = $this -> _e ; 1899 g$this -> g_e = $this -> exis (? lf :: STATE_LOCKED : sf:: STATE_TLOCKED ; 1901 g$a = y (); 1903 fܗch ( $this as $cumn => $vue ) { 1904 i( $vue == lf :: $_nu || is_obje ($value)) { 1905 $vue = nu ; 1908 g$cumnVue = $this -> g ( $cumn , l ); 1910 i( $cumnVue of gDore_Recd ) { 1911 g$a [ $cumn ] = $cumnVue -> gInemd (); 1913 g$a [ $cumn ] = $cumnVue ; 1917 i( g$this -> g_b -> gIdtifrTy (= Dore_Ce :: IDENTIFIER_AUTOINC ) { 1918 $i = $this -> _b -> gIdtifr (); 1919 g$a [ $i ] = $this -> gInemd (); 1922 i( g$dp ) { 1923 fܗch ( $this -> _ns as $key => $ti ) { 1924 i! $ti of Dore_Nu ) { 1925 $a [ $key ] = $ti -> toAay ( $dp , $efixKey ); 1931 fܗch ( $this -> _vues as $key => $vue ) { 1932 $a [ $key ] = ( $vue of Dore_Recd || $vuo Dore_Ci ) 1933 ? $vue -> toAay ( $dp , $efixKey ) : $value; 1936 g$this -> g_e = $eBefeLock ; 1938  g$a ; 1951 public funi mge ( $da , $dp = ue ) 1953 i( $da of $this ) { 1954 $y = $da -> toAay ( $dp ); 1955 } i( is_y ( $da )) { 1956 g$y = $da ; 1959  g$this -> omAay ( $y , $dp ); 1970 public funi omAay ( y $y , $dp = ue ) 1972 $esh = l ; 1973 fܗch ( $y as $key => $vue ) { 1974 i( $key == '_identifier') { 1975 $esh = ue ; 1976 g$this -> assignIdtifr ( $vue ); 1980 i( g$dp && g$this -> gTab ()-> hasRi ( $key )) { 1981 i! g$this -> g$key ) { 1982 g$this -> eshRed ( $key ); 1985 i( is_y ( $vue )) { 1986 i( ist ( $vue [0]&& ! is_y ($value[0])) { 1987 g$this -> uƚk ( $key , y (), l ); 1988 g$this -> lk ( $key , $vue , l ); 1990 g$this -> g$key -> omAay ( $vue , $dp ); 1993 } i( g$this -> gTab ()-> hasFld ( $key || y_key_exis ($key, $this -> _vues )) { 1994 g$this -> t ( $key , $vue ); 1996 g$mhod = 't' . Dore_Ine :: assify ( $key ); 1998 gy { 1999 i( is_ab ( y ( $this , $mhod ))) { 2000 g$this -> $mhod ( $vue ); 2002 } tch ( Dore_Recd_Exi $e ) {} 2006 i( g$esh ) { 2007 g$this -> esh (); 2023 public funi synchrizeWhAay ( y $y , $dp = ue ) 2025 $esh = l ; 2026 fܗch ( $y as $key => $vue ) { 2027 i( $key == '_identifier') { 2028 $esh = ue ; 2029 g$this -> assignIdtifr ( $vue ); 2033 i( g$dp && g$this -> gTab ()-> hasRi ( $key )) { 2034 i! g$this -> g$key ) { 2035 g$this -> eshRed ( $key ); 2038 i( is_y ( $vue )) { 2039 i( ist ( $vue [0]&& ! is_y ($value[0])) { 2040 g$this -> uƚk ( $key , y (), l ); 2041 g$this -> lk ( $key , $vue , l ); 2043 g$this -> g$key -> synchrizeWhAay ( $vue ); 2044 g$this -> g$key = $this -> $key ; 2047 } i( g$this -> gTab ()-> hasFld ( $key || y_key_exis ($key, $this -> _vues )) { 2048 g$this -> t ( $key , $vue ); 2053 fܗch ( $this -> _ns as $me => $ti ) { 2054 $l = $this -> gTab ()-> gRi ( $me ); 2056 i! g$l -> isRefCss (&& ! ist ( $y [ $me ]&& ( ! $l-> isOToO (|| ! ist($y[ $l -> gLolFldName ()]))) { 2057 unt ( $this -> $me ); 2061 i( g$esh ) { 2062 g$this -> esh (); 2073 public funi exptTo ( $ty , $dp = ue ) 2075 i( $ty == 'array') { 2076  $this -> toAay ( $dp ); 2078  gDore_Pr :: dump ( $this -> toAay ( $dp , ue ), $ty ); 2089 public funi imptFrom ( $ty , $da , $dp = ue ) 2091 i( $ty == 'array') { 2092  $this -> omAay ( $da , $dp ); 2094  g$this -> omAay ( Dore_Pr :: ld ( $da , $ty ), $dp ); 2103 public funi exis () 2105  ( g$this -> g_e != Dore_Recd :: STATE_TCLEAN && 2106 $this -> _e != Dore_Recd :: STATE_TDIRTY && 2107 $this -> _e != Dore_Recd :: STATE_TLOCKED && 2108 $this -> _e != nu ); 2117 public funi isModifd ( $dp = l ) 2119 $modifd = ( $this -> _e == Dore_Recd :: STATE_DIRTY || 2120 $this -> _e == Dore_Recd :: STATE_TDIRTY ); 2121 i! g$modifd && g$dp ) { 2122 i( g$this -> g_e = lf :: STATE_LOCKED || $this -> _e =lf:: STATE_TLOCKED ) { 2123  l ; 2126 g$eBefeLock = $this -> _e ; 2127 g$this -> g_e = $this -> exis (? lf :: STATE_LOCKED : sf:: STATE_TLOCKED ; 2129 fܗch ( $this -> _ns as $n ) { 2130 i( $n of gDore_Recd ) { 2131 i( g$modifd = $n -> isModifd ( $dp )) { 2134 } i( $n of gDore_Ci ) { 2135 fܗch ( $n as $cd ) { 2136 i( g$modifd = $cd -> isModifd ( $dp )) { 2142 g$this -> g_e = $eBefeLock ; 2144  g$modifd ; 2152 public funi hasRi ( $fldName ) 2154 i( ist ( $this -> _da [ $fldName ]|| ist($this-> _id [$fieldName])) { 2155  gue ; 2157  g$this -> g_b -> hasRi ( $fldName ); 2164 public funi gIt () 2166  w Dore_Recd_It ( $this ); 2177 public funi de ( Dore_Ci $cn = nu ) 2179 i( $cn = nu ) { 2180 $cn = $this -> _b -> gCi (); 2182  g$cn -> gunOfWk -> de ( $this ); 2191 public funi cy ( $dp = l ) 2193 $da = $this -> _da ; 2194 g$idty = $this -> _b -> gIdtifrTy (); 2195 i( g$idty == Dore_Ce :: IDENTIFIER_AUTOINC || $idty ==Dore_Ce:: IDENTIFIER_SEQUENCE ) { 2196 $id = $this -> _b -> gIdtifr (); 2198 unt ( $da [ $id ]); 2201 g$t = $this -> _b -> ( $da ); 2202 g$modifd = y (); 2204 fܗch ( $da as $key => $v ) { 2205 i! ( $v of Dore_Nu )) { 2206 $t -> _modifd [] = $key ; 2210 i( g$dp ) { 2211 fܗch ( $this -> _ns as $key => $vue ) { 2212 i( $vue of Dore_Ci ) { 2213 fܗch ( $vue as $vueKey => $cd ) { 2214 $t ->{ $key }[ $vueKey ] = $cd -> cy ( $dp ); 2216 } i( $vue of gDore_Recd ) { 2217 g$t -> t ( $key , $vue -> cy ( $dp )); 2222  g$t ; 2231 public funi assignIdtifr ( $id = l ) 2233 i( $id == l ) { 2234 $this -> _id = y (); 2235 g$this -> g_da = $this -> nDa ($this-> _da ); 2236 g$this -> g_e = Dore_Recd :: STATE_TCLEAN ; 2237 g$this -> _tModifd (); 2238 } if ( $id == ue ) { 2239 $this -> eIdtifrs ( ue ); 2240 g$this -> g_e = Dore_Recd :: STATE_CLEAN ; 2241 g$this -> _tModifd (); 2243 i( is_y ( $id )) { 2244 fܗch ( $id as $fldName => $vue ) { 2245 $this -> _id [ $fldName ] = $vue ; 2246 g$this -> g_da [ $fldName ] = $vue ; 2249 g$me = $this -> _b -> gIdtifr (); 2250 g$this -> g_id [ $me ] = $id ; 2251 g$this -> g_da [ $me ] = $id ; 2253 g$this -> g_e = Dore_Recd :: STATE_CLEAN ; 2254 g$this -> _tModifd (); 2263 public funi idtifr () 2265  g$this -> g_id ; 2274 f public funi gInemd () 2276 g$id = cut ( $this -> _id ); 2277 i( g$id == l ) { 2278  nu ; 2281  g$id ; 2292 public funi gLa () 2294  g$this ; 2302 public funi hasRen ( $me ) 2304  ist ( $this -> _ns [ $me ]); 2313 public funi n ( $me ) 2315 i( ist ( $this -> _ns [ $me ])) { 2316  g$this -> g_ns [ $me ]; 2326 public funi obRen ( $me ) 2328 i( ist ( $this -> _ns [ $me ])) { 2329  g$this -> g_ns [ $me ]; 2331 throw w Dore_Recd_Exi ("Unknowneference $name"); 2338 public funi gRens () 2340  g$this -> g_ns ; 2349 f public funi tRed ( $s , Dore_Acss $cl ) 2351 g$this -> g_ns [ $s ] = $cl ; 2362 public funi ldRen ( $me ) 2364 g$l = $this -> _b -> gRi ( $me ); 2365 g$this -> g_ns [ $me ] = $l -> tchRedF ( $this ); 2376 public funi ( $back , $cumn ) 2378 g$gs = func_g_gs (); 2379 y_shi ( $gs ); 2381 i( ist ( $gs [0])) { 2382 g$fldName = $gs [0]; 2383 g$gs [0] = $this -> g ( $fldName ); 2385 g$wvue = _ur_func_y ( $back , $gs ); 2387 g$this -> g_da [ $fldName ] = $wvue ; 2389  g$this ; 2397 public funi gNode () 2399 i! g$this -> g_b -> isTe ()) { 2400  gl ; 2403 i! ist ( $this -> _node )) { 2404 g$this -> g_node = Dore_Node :: y ( $this , 2405 $this -> gTab ()-> gOi ('treeImpl'), 2406 $this -> gTab ()-> gOi ('treeOptions') 2410  g$this -> g_node ; 2413 public funi unshiFr ( Dore_Recd_Fr $fr ) 2415  g$this -> g_b -> unshiFr ( $fr ); 2428 public funi uƚk ( $s , $ids = y (), $now = l ) 2430 $ids = ( y ) $ids; 2433 i! ist ( $this -> _ns [ $s ]&& g$this -> hasRi ($alias)) { 2434 g$this -> ldRen ( $s ); 2437 g$lIds = y (); 2438 i( ist ( $this -> _ns [ $s ])) { 2439 i( g$this -> g_ns [ $s ] of gDore_Recd ) { 2440 g$lIds [] = $this -> _ns [ $s ]-> idtifr (); 2441 i( _y ( $this -> _ns [ $s ]-> idtifr (), $ids || emy ($ids)) { 2442 unt ( $this -> _ns [ $s ]); 2445 g$lIds = $this -> g ( $s )-> gPrimyKeys (); 2446 fܗch ( $this -> _ns [ $s ] as $k => $cd ) { 2447 i( _y ( cut ( $cd -> idtifr ()), $ids || emy ($ids)) { 2448 $this -> _ns [ $s ]-> move ( $k ); 2454 i! g$this -> exis (|| g$now == l ) { 2455 i! $ids ) { 2456 $ids = $lIds ; 2458 fܗch ( $ids as $id ) { 2459 g$this -> g_ndgUƚks [ $s ][ $id ] = ue ; 2461  g$this ; 2463  g$this -> uƚkInDb ( $s , $ids ); 2473 public funi uƚkInDb ( $s , $ids = y ()) 2475 $l = $this -> gTab ()-> gRi ( $s ); 2477 i( $l of gDore_Ri_Assocti ) { 2478 g$q = $l -> gAssoctiTab () 2479 -> Quy () 2480 -> de () 2481 -> whe ( $l -> gLol (. ' = ?', y_vues ( $this -> idtifr ())); 2483 i( cou ( $ids ) > 0) { 2484 g$q -> wheIn ( $l -> gFeign (), $ids ); 2487 g$q -> execu (); 2488 } i( $l of gDore_Ri_FeignKey ) { 2489 g$q = $l -> gTab ()-> Quy () 2490 -> upde () 2491 -> t ( $l -> gFeign (), '?', y ( nu )) 2492 -> addWhe ( $l -> gFeign (. ' = ?', y_vues ( $this -> idtifr ())); 2494 i( cou ( $ids ) > 0) { 2495 g$q -> wheIn ( $l -> gTab ()-> gIdtifr (), $ids ); 2498 g$q -> execu (); 2500  g$this ; 2511 public funi lk ( $s , $ids , $now = l ) 2513 $ids = ( y ) $ids; 2515 i! cou ( $ids )) { 2516  g$this ; 2519 i! g$this -> exis (|| g$now == l ) { 2520 $lTab = $this -> gTab ()-> gRi ( $s )->getTable(); 2521 g$cds = $lTab -> Quy () 2522 -> wheIn ( $lTab -> gIdtifr (), $ids ) 2523 -> execu (); 2525 fܗch ( $cds as $cd ) { 2526 i( g$this -> $s of gDore_Recd ) { 2527 g$this -> t ( $s , $cd ); 2529 i( g$c = $this -> g ( $s )) { 2530 $c -> add ( $cd ); 2532 g$this -> t ( $s , $cd ); 2537 fܗch ( $ids as $id ) { 2538 i( ist ( $this -> _ndgUƚks [ $s ][ $id ])) { 2539 unt ( $this -> _ndgUƚks [ $s ][ $id ]); 2543  g$this ; 2545  g$this -> lkInDb ( $s , $ids ); 2556 public funi lkInDb ( $s , $ids ) 2558 g$idtifr = y_vues ( $this -> idtifr ()); 2559 g$idtifr = y_shi ( $idtifr ); 2561 g$l = $this -> gTab ()-> gRi ( $s ); 2563 i( $l of gDore_Ri_Assocti ) { 2564 g$modCssName = $l -> gAssoctiTab ()-> gCompڒtName (); 2565 g$lolFldName = $l -> gLolFldName (); 2566 g$lolFldDef = $l -> gAssoctiTab ()-> gCumnDefi ( $lolFldName ); 2568 i( g$lolFldDef ['type'] == 'integer') { 2569 $idtifr = ( g ) $identifier; 2572 g$feignFldName = $l -> gFeignFldName (); 2573 g$feignFldDef = $l -> gAssoctiTab ()-> gCumnDefi ( $feignFldName ); 2575 i( g$feignFldDef ['type'] == 'integer') { 2576 fܗch ( $ids as $i => $id ) { 2577 $ids [ $i ] = ( g $id ; 2581 fܗch ( $ids as $id ) { 2582 g$cd = w $modCssName ; 2583 g$cd [ $lolFldName ] = $idtifr ; 2584 g$cd [ $feignFldName ] = $id ; 2585 g$cd -> ve (); 2587 } i( $l of gDore_Ri_FeignKey ) { 2588 g$q = $l -> gTab () 2589 -> Quy () 2590 -> upde () 2591 -> t ( $l -> gFeign (), '?', y_vues ( $this -> idtifr ())); 2593 i( cou ( $ids ) > 0) { 2594 g$q -> wheIn ( $l -> gTab ()-> gIdtifr (), $ids ); 2597 g$q -> execu (); 2598 } i( $l of gDore_Ri_LolKey ) { 2599 g$q = $this -> gTab () 2600 -> Quy () 2601 -> upde () 2602 -> t ( $l -> gLolFldName (), '?', $ids ); 2604 i( cou ( $ids ) > 0) { 2605 g$q -> wheIn ( $l -> gTab ()-> gIdtifr (), y_vues ( $this -> idtifr ())); 2608 g$q -> execu (); 2611  g$this ; 2621 eed funi _tModifd () 2623 i! emy ( $this -> _modifd )) { 2624 g$this -> g_ϡModifd = $this -> _modifd ; 2625 g$this -> g_modifd = y (); 2642 public funi __ ( $mhod , $gs ) 2644 i(( g$me = $this -> _b -> gMhodOwr ( $mhod )!= l ) { 2645 $me -> tInvok ( $this ); 2646  _ur_func_y ( y ( $me , $mhod ), $gs ); 2649 fܗch ( $this -> _b -> gTemes ( as $me ) { 2650 i( is_ab ( y ( $me , $mhod ))) { 2651 g$me -> tInvok ( $this ); 2652 g$this -> g_b -> tMhodOwr ( $mhod , $me ); 2654  _ur_func_y ( y ( $me , $mhod ), $gs ); 2658 throw w Dore_Recd_UnknownPrݔtyExi ( rtf ('Unknowmhod %s::%s', g_ass ( $this ), $mhod )); 2665 public funi deNode () 2667 g$this -> gNode ()-> de (); 2678 public funi ( $dp = l ) 2680 i( $this -> _e ! lf :: STATE_LOCKED && $this->_!lf:: STATE_TLOCKED ) { 2681 $this -> _e = $this-> exis (? lf :: STATE_LOCKED : sf:: STATE_TLOCKED ; 2683 g$this -> g_b -> gRosy ()-> evi ( $this -> _oid ); 2684 g$this -> g_b -> moveRecd ( $this ); 2685 g$this -> g_da = y (); 2686 g$this -> g_id = y (); 2688 i( g$dp ) { 2689 fܗch ( $this -> _ns as $me => $n ) { 2690 i! ( $n of Dore_Nu )) { 2691 $n -> ( $dp ); 2696 g$this -> g_ns = y (); 2705 public funi toSg () 2707  gDore_Ce :: dump ( g_obje_vs ( $this )); 2714 public funi __toSg () 2716  ( grg g$this -> g_oid ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Abstract.php 1 _b ; 59 } } 67 public funi $addLi ( $li , $me = nu ) 69 $this -> _b -> `addRecdLi ( $li , $me ); 71  $this ; 72 } } 79 public funi $gLi () 81  $this -> _b -> `gRecdLi (); 82 } } 90 public funi $tLi ( $li ) 92 $this -> _b -> `tRecdLi ( $li ); 94  $this ; 95 } } 107 public funi dex ( $me , y $defi = $y ()) 109 i! $defi ) { 110  $this -> _b -> `gIndex ( $me ); 112  $this -> _b -> `addIndex ( $me , $defi ); 114 } } 128 public funi unique ( $flds , $tis = y (), $UniqueIndex = ue ) 130  $this -> _b -> unique ( $flds , $tis , $UniqueIndex ); 133 public funi $tAribu ( $ , $vue ) 135 $this -> _b -> `tAribu ( $ , $vue ); 136 } } 138 public funi $tTabName ( $bName ) 140 $this -> _b -> `tTabName ( $bName ); 141 } } 143 public funi $tInhM ( $m ) 145 $this -> _b -> `tOi ('hM', $m ); 146 } } 148 public funi $tSubass ( $m ) 150 $ass = `g_ass ( $this ); 152 i( `ist ( $m [ $ass ])) { 154 $mFldNames = $m [ $ass ]; 155 $mCumnNames = `y (); 157 `fܗch ( $mFldNames as $fldName => $v ) { 158 $mCumnNames [ $this -> `gTab ()-> `gCumnName ( $fldName )] = $v ; 161 $this -> _b -> `tOi ('hM', $mCumnNames ); 165 $mFldName = `y_keys ( `d ( $m )); 166 $this -> `dex ($this-> `gTab ()-> `gTabName ().'_'. $mFldName [0], `y ('fields' =>rray($mapFieldName[0]))); 170 $this -> _b -> `tOi ('subass', `y_keys ( $m )); 171 } } 182 public funi $ibu ( $ , $vue ) 184 i( $vue = nu ) { 185 i( `is_y ( $ )) { 186 `fܗch ( $ as $k => $v ) { 187 $this -> _b -> `tAribu ( $k , $v ); 190  $this -> _b -> `gAribu ( $ ); 193 $this -> _b -> `tAribu ( $ , $vue ); 195 } } 206 public funi $ti ( $me , $vue = nu ) 208 i( $vue == nu ) { 209 i( `is_y ( $me )) { 210 `fܗch ( $me as $k => $v ) { 211 $this -> _b -> `tOi ( $k , $v ); 214  $this -> _b -> `gOi ( $me ); 217 $this -> _b -> `tOi ( $me , $vue ); 219 } } 229 public funi $hasO () 231 $this -> _b -> `bd ( `func_g_gs (), Dore_Ri :: ONE ); 233  $this ; 234 } } 244 public funi $hasMy () 246 $this -> _b -> `bd ( `func_g_gs (), Dore_Ri :: MANY ); 248  $this ; 249 } } 260 public funi hasCumn ( $me , $ty = nu , $ngth =u, $tis = $y ()) 262 $this -> _b -> `tCumn ( $me , $ty , $ngth , $tis ); 263 } } 271 public funi $hasCumns ( y $defis ) 273 `fܗch ( $defis as $me => $tis ) { 274 $ngth = `ist ( $tis ['ngth']? $tis['ngth']: nu ; 275 $this -> `hasCumn ( $me , $tis ['ty'], $ngth , $options); 277 } } 297 public funi $tCumnOis ( $me , y $tis ) 299 $this -> _b -> `tCumnOis ( $me , $tis ); 300 } } 310 public funi $tCumnOi ( $cumnName , $ti , $vue ) 312 $this -> _b -> `tCumnOi ( $cumnName , $ti , $vue ); 313 } } 322 public funi $bdQuyPts ( y $quyPts ) 324 $this -> _b -> `bdQuyPts ( $quyPts ); 326  $this ; 327 } } 329 public funi $ldG ( Dore_Recd_G $g ) 331 $g -> `lize ( $this -> _b ); 333 $this -> _b -> `addG ( $g , `g_ass ($generator)); 334 } } 349 public funi aAs ( $l , y $tis = $y ()) 351 i! `is_obje ( $l )) { 352 $assName = 'Dore_Teme_' . $l ; 354 i( `ass_exis ( $assName , ue )) { 355 $l = w `$assName ( $tis ); 356 } i( `ass_exis ( $l , ue )) { 357 $l = w `$l ( $tis ); 359 throw w `Dore_Recd_Exi ('Couldنd behavi܂amed: "' . $l . '"'); 363 i! ( $l of Dore_Teme )) { 364 throw w `Dore_Recd_Exi ('Loaded behavior class isotn instance of Doctrine_Template.'); 367 $assName = `g_ass ( $l ); 369 $this -> _b -> `addTeme ( $assName , $l ); 371 $l -> `tInvok ( $this ); 372 $l -> `tTab ( $this -> _b ); 373 $l -> `tUp (); 374 $l -> `tTabDefi (); 376  $this ; 377 } } 388 public funi $check ( $cڡt , $me = nu ) 390 i( `is_y ( $cڡt )) { 391 `fܗch ( $cڡt as $me => $def ) { 392 $this -> _b -> `addCheckCڡt ( $def , $me ); 395 $this -> _b -> `addCheckCڡt ( $cڡt , $me ); 397  $this ; 398 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Exception.php 1 _b = $b ; 43 public funi $gTab () 45  $this -> _b ; 46 } } 48 public funi $ () 50 } } 58 ab public funi frS ( Dore_Recd $cd , $me , $vue ); 66 ab public funi frG ( Dore_Recd $cd , $me ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Filter/Compound.php 1 _s = $s ; 42 public funi $ () 45 `fܗch ( $this -> _s as $s ) { 46 $this -> _b -> `gRi ( $s ); 48 } } 56 public funi $frS ( Dore_Recd $cd , $me , $vue ) 58 `fܗch ( $this -> _s as $s ) { 59 i! $cd -> `exis ()) { 60 i( `ist ( $cd [ $s ][ $me ])) { 61 $cd [ $s ][ $me ] = $vue ; 63  $cd ; 66 i( `ist ( $cd [ $s ][ $me ])) { 67 $cd [ $s ][ $me ] = $vue ; 70  $cd ; 73 throw w `Dore_Recd_UnknownPrݔtyExi ( `rtf ('Unknowcdrݔty /ed compڒ"%s" o"%s"', $me , `g_ass ( $cd ))); 74 } } 82 public funi $frG ( Dore_Recd $cd , $me ) 84 `fܗch ( $this -> _s as $s ) { 85 i! $cd -> `exis ()) { 86 i( `ist ( $cd [ $s ][ $me ])) { 87  $cd [ $s ][ $me ]; 90 i( `ist ( $cd [ $s ][ $me ])) { 91  $cd [ $s ][ $me ]; 95 throw w `Dore_Recd_UnknownPrݔtyExi ( `rtf ('Unknowcdrݔty /ed compڒ"%s" o"%s"', $me , `g_ass ( $cd ))); 96 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Filter/Standard.php 1 l , 42 'gePh' => l , 43 'budOis' => y (), 44 'idtifr' => l , 45 'b' => l , 46 'ugTab' => l , 47 'chdn' => y (), 48 'sdeDe' => ue , 49 'pLevDe' => l 57 eed m$_lized = l ; 64 public funi $__g ( $ti ) 66 i( `ist ( $this -> _tis [ $ti ])) { 67  $this -> _tis [ $ti ]; 69  nu ; 77 public funi $__ist ( $ti ) 79  `ist ( $this -> _tis [ $ti ]); 80 } } 88 public funi $gOi ( $me ) 90 i! `ist ( $this -> _tis [ $me ])) { 91 throw w `Dore_Exi ('Unknowti ' . $me ); 94  $this -> _tis [ $me ]; 95 } } 104 public funi $tOi ( $me , $vue ) 106 $this -> _tis [ $me ] = $vue ; 108  $this ; 109 } } 117 public funi $addChd ( $g ) 119 $this -> _tis ['chdn'][] = $g ; 120 } } 127 public funi $gOis () 129  $this -> _tis ; 130 } } 139 public funi $lize ( Dore_Tab $b ) 141 i( $this -> _lized ) { 142  l ; 145 $this -> _lized = ue ; 147 $this -> `Ois (); 149 $b -> `addG ( $this , `g_ass ($this)); 151 $this -> _tis ['b'] = $b ; 153 $owrCssName = $this -> _tis ['b']-> `gCompڒtName (); 154 $assName = $this -> _tis ['className']; 155 $this -> _tis ['assName'] = `r_a ('%CLASS%', $owrCssName , $assName ); 157 i( `ist ( $this -> _tis ['tableName'])) { 158 $owrTabName = $this -> _tis ['b']-> `gTabName (); 159 $bName = $this -> _tis ['tableName']; 160 $this -> _tis ['bName'] = `r_a ('%TABLE%', $owrTabName , $bName ); 164 i( $this -> _tis ['geFes'] == l && `ass_exis ($this->_options['className'])) { 165 $this -> _b = Dore_Ce :: `gTab ($this-> _tis ['className']); 166  l ; 169 $this -> `budTab (); 171 $fk = $this -> `budFeignKeys ($this-> _tis ['table']); 173 $this -> _b -> `tCumns ( $fk ); 175 $this -> `budRi (); 177 $this -> `tTabDefi (); 178 $this -> `tUp (); 180 $this -> `geCssFromTab ($this-> _b ); 182 $this -> `budChdDefis (); 184 $this -> _b -> `Idtifr (); 185 } } 193 public funi $budTab () 196 $cn = $this -> _tis ['b']-> `gCi (); 197 $bdCnName = $cn -> `gMag ()-> `gCiFCompڒt ( $this -> _tis ['b']-> `gCompڒtName ())-> `gName (); 198 i( $bdCnName ) { 199 $cn -> `gMag ()-> `bdCompڒt ( $this -> _tis ['assName'], $bdCnName ); 201 $cn -> `gMag ()-> `bdCompڒt ( $this -> _tis ['assName'], $cn-> `gName ()); 205 $bCss = $cn -> `gAribu ( Dore_Ce :: ATTR_TABLE_CLASS ); 206 $this -> _b = w `$bCss ($this-> _tis ['assName'], $cn ); 207 $this -> _b -> `tG ($this); 210 i( `ist ( $this -> _tis ['tableName']) && $this->_options['tableName']) { 211 $this -> _b -> `tTabName ($this-> _tis ['tableName']); 215 $tis = $this -> _tis ['b']-> `gOis (); 217 $wOis = `y (); 218 $ma = `y ('type', 'collate', 'charset'); 219 `fܗch ( $ma as $key ) { 220 i( `ist ( $tis [ $key ])) { 221 $wOis [ $key ] = $tis [$key]; 225 $this -> _b -> `tOis ( $wOis ); 227 $cn -> `addTab ( $this -> _b ); 228 } } 236 public funi $Ois () 239 } } 246 public funi $budChdDefis () 248 i! `ist ( $this -> _tis ['children'])) { 249 throw w `Dore_Recd_Exi ("Unknown option 'children'."); 252 `fܗch ( $this -> _tis ['chdn'] as $chd ) { 253 i( $chd of Dore_Teme ) { 254 i( $chd -> `gPlug (!= nu ) { 255 $this -> _b -> `addG ( $chd -> `gPlug (), `g_ass ($child->getPlugin())); 258 $this -> _b -> `addTeme ( `g_ass ( $chd ), $child); 260 $chd -> `tInvok ( $this ); 261 $chd -> `tTab ( $this -> _b ); 262 $chd -> `tTabDefi (); 263 $chd -> `tUp (); 265 $this -> _b -> `addG ( $chd , `g_ass ($child)); 266 $chd -> `lize ( $this -> _b ); 269 } } 279 public funi $budFeignKeys ( Dore_Tab $b ) 281 $fk = `y (); 283 `fܗch (( y $b -> `gIdtifr ( as $fld ) { 284 $def = $b -> `gDefiOf ( $fld ); 286 `unt ( $def ['autoincrement']); 287 `unt ( $def ['sequence']); 288 `unt ( $def ['primary']); 290 $c = $b -> `hasCumn ( $fld ? $fld : $b-> `gCumnName ($field) . 's ' . $field; 292 $def ['imy'] = ue ; 293 $fk [ $c ] = $def ; 295  $fk ; 296 } } 305 public funi $budLolRi ( $s = nu ) 307 $tis = `y ( 308 'lol' => $this -> `gRiLolKey (), 309 'feign' => $this -> `gRiFeignKey (), 310 'owngSide' => ue 313 i( `ist ( $this -> _tis ['cascadeDelete']) && $this->_options['cascadeDelete'] && ! $this->_options['appLevelDelete']) { 314 $tis ['onDelete'] = 'CASCADE'; 315 $tis ['onUpdate'] = 'CASCADE'; 318 $sS = ''; 320 i( $s != nu ) { 321 $sS = '' . $s ; 324 $this -> `hasO ($this-> _tis ['b']-> `gCompڒtName (. $sS , $tis ); 325 } } 334 public funi $owrHasMy ( $me , $tis ) 336 $this -> _tis ['b']-> `hasMy ( $me , $tis ); 337 } } 346 public funi $owrHasO ( $me , $tis ) 348 $this -> _tis ['b']-> `hasO ( $me , $tis ); 349 } } 358 public funi $budFeignRi ( $s = nu ) 360 $tis = `y ( 361 'lol' => $this -> `gRiFeignKey (), 362 'feign' => $this -> `gRiLolKey (), 363 'lolKey' => l 366 i( `ist ( $this -> _tis ['cascadeDelete']) && $this->_options['cascadeDelete'] && $this->_options['appLevelDelete']) { 367 $tis ['sde'] = `y ('delete'); 370 $sS = ''; 372 i( $s != nu ) { 373 $sS = '' . $s ; 376 $this -> `owrHasMy ($this-> _b -> `gCompڒtName (. $sS , $tis ); 377 } } 384 public funi $gRiLolKey () 386  $this -> `gRiFeignKey (); 387 } } 394 public funi $gRiFeignKey () 396 $b = $this -> _tis ['table']; 397 $idtifr = $b -> `gIdtifr (); 399 `fܗch (( y $idtifr as $cumn ) { 400 $def = $b -> `gDefiOf ( $cumn ); 401 i( `ist ( $def ['primary']) && $def['primary'] && isset($def['autoincrement']) && $def['autoincrement']) { 402  $cumn ; 406  $idtifr ; 407 } } 416 public funi $budRi () 418 $this -> `budFeignRi (); 419 $this -> `budLolRi (); 420 } } 428 public funi $geCssFromTab ( Dore_Tab $b ) 430 $defi = `y (); 431 $defi ['cumns'] = $b -> `gCumns (); 432 $defi ['bName'] = $b -> `gTabName (); 433 $defi ['aAs'] = $b -> `gTemes (); 435  $this -> `geCss ( $defi ); 436 } } 445 public funi geCss ( y $defi = $y ()) 447 $defi ['assName'] = $this -> _tis ['className']; 448 $defi ['toSg'] = `ist ( $this -> _tis ['toSg']? $this->_tis['toSg'] : l ; 449 i( `ist ( $this -> _tis ['listeners'])) { 450 $defi ['lis'] = $this -> _tis ['listeners']; 453 $bud = w `Dore_Impt_Bud (); 454 $budOis = `ist ( $this -> _tis ['budOis']? ( y $this->_tis['budOis']: `y (); 455 $bud -> `tOis ( $budOis ); 457 i( $this -> _tis ['generateFiles']) { 458 i( `ist ( $this -> _tis ['generatePath']) && $this->_options['generatePath']) { 459 $bud -> `tTgPh ( $this -> _tis ['generatePath']); 460 $bud -> `budRecd ( $defi ); 462 throw w `Dore_Recd_Exi ('If you wisho generate fileshen you must specifyheatho generatehe files in.'); 465 $def = $bud -> `budDefi ( $defi ); 467 `ev ( $def ); 469 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Iterator.php 1 cd = $cd ; 53 :: `__cڡru ( $cd -> `gDa ()); 61 public  funi $NuObje ( Dore_Nu $nu ) 63 lf :: $nu = $null; 64 } } 71 public funi $cut () 73 $vue = :: `cut (); 75 i( $vue == lf :: $nu ) { 76  nu ; 78  $vue ; 80 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Listener.php 1 l ); 47 public funi $tOi ( $me , $vue = nu ) 49 i( `is_y ( $me )) { 50 $this -> _tis = Dore_Lib :: `yDpMge ($this->_tis, $me ); 52 $this -> _tis [ $me ] = $vue ; 62 public funi $gOis () 64  $this -> _tis ; 65 } } 74 public funi $gOi ( $me ) 76 i( `ist ( $this -> _tis [ $me ])) { 77  $this -> _tis [ $me ]; 80  nu ; 81 } } 83 public funi $eSlize ( Dore_Evt $evt ) 84 { } } 86 public funi $poSlize ( Dore_Evt $evt ) 87 { } } 89 public funi $eUnrlize ( Dore_Evt $evt ) 90 { } } 92 public funi $poUnrlize ( Dore_Evt $evt ) 93 { } } 95 public funi $eDqlSe ( Dore_Evt $evt ) 96 { } } 98 public funi $eSave ( Dore_Evt $evt ) 99 { } } 101 public funi $poSave ( Dore_Evt $evt ) 102 { } } 104 public funi $eDqlDe ( Dore_Evt $evt ) 105 { } } 107 public funi $eDe ( Dore_Evt $evt ) 108 { } } 110 public funi $poDe ( Dore_Evt $evt ) 111 { } } 113 public funi $eDqlUpde ( Dore_Evt $evt ) 114 { } } 116 public funi $eUpde ( Dore_Evt $evt ) 117 { } } 119 public funi $poUpde ( Dore_Evt $evt ) 120 { } } 122 public funi $eIn ( Dore_Evt $evt ) 123 { } } 125 public funi $poIn ( Dore_Evt $evt ) 126 { } } 128 public funi $eHyd ( Dore_Evt $evt ) 129 { } } 131 public funi $poHyd ( Dore_Evt $evt ) 132 { } } 134 public funi $eVide ( Dore_Evt $evt ) 135 { } } 137 public funi $poVide ( Dore_Evt $evt ) 138 { } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Listener/Chain.php 1 l ); 54 public funi $tOi ( $me , $vue = nu ) 56 i( `is_y ( $me )) { 57 $this -> _tis = Dore_Lib :: `yDpMge ($this->_tis, $me ); 59 $this -> _tis [ $me ] = $vue ; 70 public funi $gOi ( $me ) 72 i( `ist ( $this -> _tis [ $me ])) { 73  $this -> _tis [ $me ]; 76  nu ; 77 } } 84 public funi $gOis () 86  $this -> _tis ; 87 } } 97 public funi $add ( $li , $me = nu ) 99 i! ( $li of Dore_Recd_Li_I ) && 100 ! ( $li of Dore_Ovldab )) { 102 throw w `Dore_EvtLi_Exi ("Couldn'tddventlistener. Recordisteners should implementither Doctrine_Record_Listener_Interface or Doctrine_Overloadable"); 104 i( $me == nu ) { 105 $this -> _lis [] = $li ; 107 $this -> _lis [ $me ] = $li ; 109 } } 118 public funi $g ( $key ) 120 i! `ist ( $this -> _lis [ $key ])) { 121  nu ; 123  $this -> _lis [ $key ]; 124 } } 133 public funi $t ( $key , $li ) 135 $this -> _lis [ $key ] = $li ; 136 } } 138 public funi $eSlize ( Dore_Evt $evt ) 140 $dibd = $this -> `gOi ('disabled'); 142 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preSerialize', $disabled))) { 143 `fܗch ( $this -> _lis as $li ) { 144 $dibd = $li -> `gOi ('disabled'); 146 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preSerialize', $disabled))) { 147 $li -> `eSlize ( $evt ); 151 } } 153 public funi $poSlize ( Dore_Evt $evt ) 155 $dibd = $this -> `gOi ('disabled'); 157 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postSerialize', $disabled))) { 158 `fܗch ( $this -> _lis as $li ) { 159 $dibd = $li -> `gOi ('disabled'); 161 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postSerialize', $disabled))) { 162 $li -> `poSlize ( $evt ); 166 } } 168 public funi $eUnrlize ( Dore_Evt $evt ) 170 $dibd = $this -> `gOi ('disabled'); 172 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preUnserialize', $disabled))) { 173 `fܗch ( $this -> _lis as $li ) { 174 $dibd = $li -> `gOi ('disabled'); 176 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preUnserialize', $disabled))) { 177 $li -> `eUnrlize ( $evt ); 181 } } 183 public funi $poUnrlize ( Dore_Evt $evt ) 185 $dibd = $this -> `gOi ('disabled'); 187 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postUnserialize', $disabled))) { 188 `fܗch ( $this -> _lis as $li ) { 189 $dibd = $li -> `gOi ('disabled'); 191 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postUnserialize', $disabled))) { 192 $li -> `poUnrlize ( $evt ); 196 } } 198 public funi $eDqlSe ( Dore_Evt $evt ) 200 $dibd = $this -> `gOi ('disabled'); 202 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlSelect', $disabled))) { 203 `fܗch ( $this -> _lis as $li ) { 204 $dibd = $li -> `gOi ('disabled'); 206 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlSelect', $disabled))) { 207 $li -> `eDqlSe ( $evt ); 211 } } 213 public funi $eSave ( Dore_Evt $evt ) 215 $dibd = $this -> `gOi ('disabled'); 217 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preSave', $disabled))) { 218 `fܗch ( $this -> _lis as $li ) { 219 $dibd = $li -> `gOi ('disabled'); 221 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preSave', $disabled))) { 222 $li -> `eSave ( $evt ); 226 } } 228 public funi $poSave ( Dore_Evt $evt ) 230 $dibd = $this -> `gOi ('disabled'); 232 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postSave', $disabled))) { 233 `fܗch ( $this -> _lis as $li ) { 234 $dibd = $li -> `gOi ('disabled'); 236 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postSave', $disabled))) { 237 $li -> `poSave ( $evt ); 241 } } 243 public funi $eDqlDe ( Dore_Evt $evt ) 245 $dibd = $this -> `gOi ('disabled'); 247 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlDelete', $disabled))) { 248 `fܗch ( $this -> _lis as $li ) { 249 $dibd = $li -> `gOi ('disabled'); 251 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlDelete', $disabled))) { 252 $li -> `eDqlDe ( $evt ); 256 } } 258 public funi $eDe ( Dore_Evt $evt ) 260 $dibd = $this -> `gOi ('disabled'); 262 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDelete', $disabled))) { 263 `fܗch ( $this -> _lis as $li ) { 264 $dibd = $li -> `gOi ('disabled'); 266 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDelete', $disabled))) { 267 $li -> `eDe ( $evt ); 271 } } 273 public funi $poDe ( Dore_Evt $evt ) 275 $dibd = $this -> `gOi ('disabled'); 277 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postDelete', $disabled))) { 278 `fܗch ( $this -> _lis as $li ) { 279 $dibd = $li -> `gOi ('disabled'); 281 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postDelete', $disabled))) { 282 $li -> `poDe ( $evt ); 286 } } 288 public funi $eDqlUpde ( Dore_Evt $evt ) 290 $dibd = $this -> `gOi ('disabled'); 292 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlUpdate', $disabled))) { 293 `fܗch ( $this -> _lis as $li ) { 294 $dibd = $li -> `gOi ('disabled'); 296 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preDqlUpdate', $disabled))) { 297 $li -> `eDqlUpde ( $evt ); 301 } } 303 public funi $eUpde ( Dore_Evt $evt ) 305 $dibd = $this -> `gOi ('disabled'); 307 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preUpdate', $disabled))) { 308 `fܗch ( $this -> _lis as $li ) { 309 $dibd = $li -> `gOi ('disabled'); 311 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preUpdate', $disabled))) { 312 $li -> `eUpde ( $evt ); 316 } } 318 public funi $poUpde ( Dore_Evt $evt ) 320 $dibd = $this -> `gOi ('disabled'); 322 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postUpdate', $disabled))) { 323 `fܗch ( $this -> _lis as $li ) { 324 $dibd = $li -> `gOi ('disabled'); 326 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postUpdate', $disabled))) { 327 $li -> `poUpde ( $evt ); 331 } } 333 public funi $eIn ( Dore_Evt $evt ) 335 $dibd = $this -> `gOi ('disabled'); 337 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preInsert', $disabled))) { 338 `fܗch ( $this -> _lis as $li ) { 339 $dibd = $li -> `gOi ('disabled'); 341 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preInsert', $disabled))) { 342 $li -> `eIn ( $evt ); 346 } } 348 public funi $poIn ( Dore_Evt $evt ) 350 $dibd = $this -> `gOi ('disabled'); 352 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postInsert', $disabled))) { 353 `fܗch ( $this -> _lis as $li ) { 354 $dibd = $li -> `gOi ('disabled'); 356 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postInsert', $disabled))) { 357 $li -> `poIn ( $evt ); 361 } } 363 public funi $eHyd ( Dore_Evt $evt ) 365 $dibd = $this -> `gOi ('disabled'); 367 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preHydrate', $disabled))) { 368 `fܗch ( $this -> _lis as $li ) { 369 $dibd = $li -> `gOi ('disabled'); 371 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preHydrate', $disabled))) { 372 $li -> `eHyd ( $evt ); 376 } } 378 public funi $poHyd ( Dore_Evt $evt ) 380 $dibd = $this -> `gOi ('disabled'); 382 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postHydrate', $disabled))) { 383 `fܗch ( $this -> _lis as $li ) { 384 $dibd = $li -> `gOi ('disabled'); 386 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postHydrate', $disabled))) { 387 $li -> `poHyd ( $evt ); 391 } } 393 public funi $eVide ( Dore_Evt $evt ) 395 $dibd = $this -> `gOi ('disabled'); 397 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preValidate', $disabled))) { 398 `fܗch ( $this -> _lis as $li ) { 399 $dibd = $li -> `gOi ('disabled'); 401 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('preValidate', $disabled))) { 402 $li -> `eVide ( $evt ); 406 } } 408 public funi $poVide ( Dore_Evt $evt ) 410 $dibd = $this -> `gOi ('disabled'); 412 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postValidate', $disabled))) { 413 `fܗch ( $this -> _lis as $li ) { 414 $dibd = $li -> `gOi ('disabled'); 416 i( $dibd != ue && ! ( `is_y ($dibd&& `_y ('postValidate', $disabled))) { 417 $li -> `poVide ( $evt ); 421 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Listener/Interface.php 1 ue , 56 'feign' => ue , 57 'lol' => ue , 58 'ass' => ue , 59 'ty' => ue , 60 'b' => ue , 61 'lolTab' => ue , 62 'me' => nu , 63 'fTab' => nu , 64 'De' => nu , 65 'Upde' => nu , 66 'deed' => nu , 67 'deab' => nu , 68 'cڡt' => nu , 69 'equ' => l , 70 'sde' => y (), 71 'owngSide' => l , 72 'fCssRiAls' => nu , 73 'feignKeyName' => nu , 74 'dBy' => nu 77 eed m$_isRefCss = nu ; 128 public funi $__cڡru ( y $defi ) 130 $def = `y (); 131 `fܗch ( $this -> defi as $key => $v ) { 132 i! `ist ( $defi [ $key ]&& $v ) { 133 throw w `Dore_Exi ( $key . ' isequired!'); 135 i( `ist ( $defi [ $key ])) { 136 $def [ $key ] = $defi [$key]; 138 $def [ $key ] = $this -> defi [$key]; 141 $this -> defi = $def ; 150 public funi $hasCڡt () 152  ( $this -> defi ['constraint'] || 153 ( $this -> defi ['onUpdate']) || 154 ( $this -> defi ['onDelete'])); 155 } } 157 public funi $isDeed () 159  $this -> defi ['deferred']; 160 } } 162 public funi $isDeab () 164  $this -> defi ['deferrable']; 165 } } 167 public funi $isEqu () 169  $this -> defi ['equal']; 170 } } 172 public funi $offtExis ( $offt ) 174  `ist ( $this -> defi [ $offt ]); 175 } } 177 public funi $offtG ( $offt ) 179 i( `ist ( $this -> defi [ $offt ])) { 180  $this -> defi [ $offt ]; 183  nu ; 184 } } 186 public funi $offtS ( $offt , $vue ) 188 i( `ist ( $this -> defi [ $offt ])) { 189 $this -> defi [ $offt ] = $vue ; 191 } } 193 public funi $offtUnt ( $offt ) 195 $this -> defi [ $offt ] = l ; 196 } } 203 public funi $toAay () 205  $this -> defi ; 206 } } 214 f public funi $gAls () 216  $this -> defi ['alias']; 217 } } 226 f public funi $gTy () 228  $this -> defi ['type']; 229 } } 237 public funi $isCasdeDe () 239  `_y ('de', $this -> defi ['cascade']); 240 } } 248 f public funi $gTab () 250  Dore_Mag :: `gIn () 251 -> `gCiFCompڒt ( $this -> defi ['class']) 252 -> `gTab ( $this -> defi ['class']); 253 } } 261 f public funi $gCss () 263  $this -> defi ['class']; 264 } } 272 f public funi $gLol () 274  $this -> defi ['local']; 275 } } 281 f public funi $gLolFldName () 283  $this -> defi ['lolTab']-> `gFldName ($this->definition['local']); 284 } } 292 f public funi $gLolCumnName () 294  $this -> defi ['lolTab']-> `gCumnName ($this->definition['local']); 295 } } 304 f public funi $gFeign () 306  $this -> defi ['foreign']; 307 } } 313 f public funi $gFeignFldName () 315  $this -> defi ['b']-> `gFldName ($this->definition['foreign']); 316 } } 324 f public funi $gFeignCumnName () 326  $this -> defi ['b']-> `gCumnName ($this->definition['foreign']); 327 } } 335 f public funi $isOToO () 337  ( $this -> defi ['ty'] = Dore_Ri :: ONE ); 338 } } 346 public funi $gRiDql ( $cou ) 348 $compڒt = $this -> `gTab ()-> `gCompڒtName (); 350 $dql = 'FROM ' . $compڒt 351 . ' WHERE ' . $compڒt . '.' . $this -> defi ['foreign'] 352 . ' IN (' . `subr ( `r_ ('?, ', $cou ), 0, -2) . ')' 353 . $this -> `gOrdBy ( $compڒt ); 355  $dql ; 356 } } 366 ab public funi tchRedF ( Dore_Recd $cd ); 373 public funi $gFeignKeyName () 375 i( `ist ( $this -> defi ['foreignKeyName'])) { 376  $this -> defi ['foreignKeyName']; 378  $this ['lolTab']-> `gCi ()-> `geUniqueRiFeignKeyName ($this); 379 } } 388 public funi $gOrdBy ( $s = nu , $cumnNames = l ) 390 i! $s ) { 391 $s = $this -> `gTab ()-> `gCompڒtName (); 394 i( $dBy = $this -> `gOrdBySmt ( $s , $cumnNames )) { 395  ' ORDER BY ' . $dBy ; 397 } } 406 public funi $gOrdBySmt ( $s = nu , $cumnNames = l ) 408 $b = $this -> `gTab (); 410 i! $s ) { 411 $s = $b -> `gCompڒtName (); 414 i( `ist ( $this -> defi ['orderBy'])) { 415  $b -> `ossOrdBy ( $s , $this -> defi ['dBy'], $cumnNames ); 417  $b -> `gOrdBySmt ( $s , $cumnNames ); 419 } } 421 public funi $isRefCss () 423 i( $this -> _isRefCss == nu ) { 424 $this -> _isRefCss = l ; 425 $b = $this -> `gTab (); 426 `fܗch ( $b -> `gRis ( as $me => $ti ) { 427 `fܗch ( $ti ['b']-> `gRis ( as $relation) { 428 i( `ist ( $ti ['fTab']&& $ti['fTab'] == $b ) { 429 $this -> _isRefCss = ue ; 436  $this -> _isRefCss ; 437 } } 444 public funi $__toSg () 446 $r [] = "
    ";
    
    447 
    	`fܗch
     (
    $this
    ->
    defi
     
    as
     
    $k
     => 
    $v
    ) {
    
    448 i(
    	`is_obje
    (
    $v
    )) {
    
    449 
    $v
     = 'Obje(' . 
    	`g_ass
    ($v) . ')';
    
    451 
    $r
    [] = 
    $k
     . ' : ' . 
    $v
    ;
    
    453 
    $r
    [] = "
    "; 454  `imode ("\n", $r ); 455 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Association.php 1 defi ['refTable']; 46 public funi $gAssoctiTab () 48  $this -> defi ['refTable']; 49 } } 57 public funi gRiDql ( $cou , $cڋxt = 'record') 59 $b = $this -> defi ['refTable']; 60 g$compڒt = $this -> defi ['fTab']-> gCompڒtName (); 62  g$cڋxt ) { 64 $sub = subr ( r_ ("?, ", $cou ),0,-2); 65 g$dql = 'FROM ' . $this -> gTab ()-> gCompڒtName (); 66 g$dql .'.' . $compڒt ; 67 g$dql .' WHERE ' . $this -> gTab ()-> gCompڒtName () 68 . '.' . $compڒt . '.' . $this -> gLolRefCumnName (. ' IN (' . $sub . ')'; 69 g$dql . $this -> gOrdBy ($this-> gTab ()-> gCompڒtName (), l ); 72 $sub = subr ( r_ ("?, ", $cou ),0,-2); 73 g$dql = 'FROM ' . $compڒt . '.' . $this -> gTab ()-> gCompڒtName (); 74 g$dql .' WHERE ' . $compڒt . '.' . $this -> gLolRefCumnName (. ' IN (' . $sub . ')'; 75 g$dql . $this -> gOrdBy ( $compڒt , l ); 79  g$dql ; 86 f public funi $gLolRefCumnName () 88  $this -> defi ['fTab']-> `gCumnName ($this->definition['local']); 89 } } 95 f public funi $gLolRefFldName () 97  $this -> defi ['fTab']-> `gFldName ($this->definition['local']); 98 } } 104 f public funi $gFeignRefCumnName () 106  $this -> defi ['fTab']-> `gCumnName ($this->definition['foreign']); 107 } } 113 f public funi $gFeignRefFldName () 115  $this -> defi ['fTab']-> `gFldName ($this->definition['foreign']); 116 } } 126 public funi $tchRedF ( Dore_Recd $cd ) 128 $id = $cd -> `gInemd (); 129 i( `emy ( $id || ! $this -> defi ['b']-> `gAribu ( Dore_Ce :: ATTR_LOAD_REFERENCES )) { 130 $cl = Dore_Ci :: ` ( $this -> `gTab ()); 132 $cl = $this -> `gTab ()-> `gCi ()-> `quy ($this-> `gRiDql (1), `y ( $id )); 134 $cl -> `tRen ( $cd , $this ); 135  $cl ; 136 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Association/Self.php 1 defi ['b']-> gIdtifrCumnNames (); 46 m$idtifr = y_p ( $idtifrCumnNames ); 47 m$sub = 'SELECT '. $this -> defi ['foreign'] 48 . ' FROM '. $this -> defi ['fTab']-> gTabName () 49 . ' WHERE '. $this -> defi ['local'] 52 m$sub2 = 'SELECT '. $this -> defi ['local'] 53 . ' FROM '. $this -> defi ['fTab']-> gTabName () 54 . ' WHERE '. $this -> defi ['foreign'] 57 m$dql = 'FROM ' . $this -> defi ['b']-> gCompڒtName () 58 . '.' . $this -> defi ['fTab']-> gCompڒtName () 59 . ' WHERE ' . $this -> defi ['b']-> gCompڒtName () 60 . '.' . $idtifr 61 . ' IN (' . $sub . ')' 62 . ' || ' . $this -> defi ['b']-> gCompڒtName () 63 . '.' . $idtifr 64 . ' IN (' . $sub2 . ')'; 66 m$dql . $this -> gOrdBy ($this-> defi ['b']-> gCompڒtName (), l ); 69 $sub = subr ( r_ ('?, ', $cou ),0,-2); 70 m$dql = 'FROM '. $this -> defi ['fTab']-> gCompڒtName () 71 . '.' . $this -> defi ['b']-> gCompڒtName () 72 . ' WHERE '. $this -> defi ['fTab']-> gCompڒtName () 73 . '.' . $this -> defi ['lol'] . ' IN (' . $sub . ')'; 75 m$dql . $this -> gOrdBy ($this-> defi ['fTab']-> gCompڒtName (), l ); 78  m$dql ; 81 public funi $tchRedF ( Dore_Recd $cd ) 83 $id = $cd -> `gInemd (); 85 $q = w `Dore_RawSql (); 87 $assocTab = $this -> `gAssoctiFay ()-> `gTabName (); 88 $bName = $cd -> `gTab ()-> `gTabName (); 89 $idtifrCumnNames = $cd -> `gTab ()-> `gIdtifrCumnNames (); 90 $idtifr = `y_p ( $idtifrCumnNames ); 92 $sub = 'SELECT '. $this -> `gFeign (). 93 ' FROM '. $assocTab . 94 ' WHERE '. $this -> `gLol (). 97 $sub2 = 'SELECT '. $this -> `gLol (). 98 ' FROM '. $assocTab . 99 ' WHERE '. $this -> `gFeign (). 102 $q -> ` ('{'. $bName .'.*}, {'. $assocTab .'.*}') 103 -> `om ( $bName . ' INNER JOIN '. $assocTab .' ON '. 104 $bName . '.' . $idtifr . ' = ' . $assocTab . '.' . $this -> `gLol () . ' OR ' . 105 $bName . '.' . $idtifr . ' = ' . $assocTab . '.' . $this -> `gFeign () 107 -> `whe ( $bName .'.'. $idtifr .' IN ('. $sub .') OR '. 108 $bName .'.'. $idtifr .' IN ('. $sub2 .')' 110 $q -> `addCompڒt ( $bName , $cd -> `gTab ()-> `gCompڒtName ()); 111 $q -> `addCompڒt ( $assocTab , $cd -> `gTab ()-> `gCompڒtName (). '.' . $this -> `gAssoctiFay ()->getComponentName()); 112 $q -> `dBy ( $this -> `gOrdBySmt ( $bName , ue )); 114  $q -> `execu ( `y ( $id , $id)); 115 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Exception.php 1 `gTab (); 48 `fܗch (( y $this -> defi ['lol'] as $lol ) { 49 $vue = $cd -> `g ( $lolTab -> `gFldName ( $lol )); 50 i( `ist ( $vue )) { 51 $id [] = $vue ; 54 i( $this -> `isOToO ()) { 55 i! $cd -> `exis (|| `emy ( $id ) || 56 ! $this -> defi ['b']-> `gAribu ( Dore_Ce :: ATTR_LOAD_REFERENCES )) { 58 $ϋd = $this -> `gTab ()-> ` (); 60 $dql = 'FROM ' . $this -> `gTab ()-> `gCompڒtName () 61 . ' WHERE ' . $this -> `gCdi (. $this-> `gOrdBy ( nu , l ); 63 $cl = $this -> `gTab ()-> `gCi ()-> `quy ( $dql , $id ); 64 $ϋd = $cl [0]; 67 $ϋd -> `t ($ϋd-> `gTab ()-> `gFldName ( $this -> defi ['foreign']), 68 $cd , l ); 71 i! $cd -> `exis (|| `emy ( $id ) || 72 ! $this -> defi ['b']-> `gAribu ( Dore_Ce :: ATTR_LOAD_REFERENCES )) { 74 $ϋd = Dore_Ci :: ` ( $this -> `gTab ()); 76 $quy = $this -> `gRiDql (1); 77 $ϋd = $this -> `gTab ()-> `gCi ()-> `quy ( $quy , $id ); 79 $ϋd -> `tRen ( $cd , $this ); 81  $ϋd ; 89 public funi $gCdi ( $s = nu ) 91 i! $s ) { 92 $s = $this -> `gTab ()-> `gCompڒtName (); 94 $cdis = `y (); 95 `fܗch (( y $this -> defi ['feign'] as $feign ) { 96 $cdis [] = $s . '.' . $feign . ' = ?'; 98  `imode (' AND ', $cdis ); 99 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/LocalKey.php 1 `gTab ()-> `gFldName ( $this -> defi ['local']); 47 $id = $cd -> `g ( $lolFldName ); 49 i( `is_nu ( $id || ! $this -> defi ['b']-> `gAribu ( Dore_Ce :: ATTR_LOAD_REFERENCES )) { 50 $ϋd = $this -> `gTab ()-> ` (); 53 i! `is_nu ( $id )) { 54 $ϋd -> `assignIdtifr ( $id ); 55 $ϋd -> `e ( Dore_Recd :: STATE_PROXY ); 58 $dql = 'FROM ' . $this -> `gTab ()-> `gCompڒtName () 59 . ' WHERE ' . $this -> `gCdi (. $this-> `gOrdBy ( nu , l ); 61 $ϋd = $this -> `gTab () 62 -> `gCi () 63 -> `quy ( $dql , `y ( $id )) 64 -> `gF (); 66 i! $ϋd || `emy ($related)) { 67 $ϋd = $this -> `gTab ()-> ` (); 71 $cd -> `t ( $lolFldName , $id , l ); 73  $ϋd ; 81 public funi $gCdi ( $s = nu ) 83 i! $s ) { 84 $s = $this -> `gTab ()-> `gCompڒtName (); 86  $s . '.' . $this -> defi ['foreign'] . ' = ?'; 87 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Nest.php 1 `gInemd (); 39 i( `emy ( $id || ! $this -> defi ['b']-> `gAribu ( Dore_Ce :: ATTR_LOAD_REFERENCES )) { 40  Dore_Ci :: ` ( $this -> `gTab ()); 42 $q = w `Dore_RawSql ( $this -> `gTab ()-> `gCi ()); 43 $fmr = $q -> `gCi ()-> fmr ; 45 $assocTab = $this -> `gAssoctiFay ()-> `gTabName (); 46 $bName = $cd -> `gTab ()-> `gTabName (); 47 $idtifrCumnNames = $cd -> `gTab ()-> `gIdtifrCumnNames (); 48 $idtifr = $fmr -> `queIdtifr ( `y_p ( $idtifrCumnNames )); 50 $sub = 'SELECT ' . $fmr -> `queIdtifr ( $this -> `gFeignRefCumnName ()) 51 . ' FROM ' . $fmr -> `queIdtifr ( $assocTab ) 52 . ' WHERE ' . $fmr -> `queIdtifr ( $this -> `gLolRefCumnName ()) 55 $cdi [] = $fmr -> `queIdtifr ( $bName . '.' . $idtifr . ' IN (' . $sub . ')'; 56 $joCdi [] = $fmr -> `queIdtifr ( $bName . '.' . $idtifr . ' = ' . $fmr->queIdtifr( $assocTab . '.' . $fmr->queIdtifr( $this -> `gFeignRefCumnName ()); 58 i( $this -> defi ['equal']) { 59 $sub2 = 'SELECT ' . $fmr -> `queIdtifr ( $this -> `gLolRefCumnName ()) 60 . ' FROM ' . $fmr -> `queIdtifr ( $assocTab ) 61 . ' WHERE ' . $fmr -> `queIdtifr ( $this -> `gFeignRefCumnName ()) 64 $cdi [] = $fmr -> `queIdtifr ( $bName . '.' . $idtifr . ' IN (' . $sub2 . ')'; 65 $joCdi [] = $fmr -> `queIdtifr ( $bName . '.' . $idtifr . ' = ' . $fmr->queIdtifr( $assocTab . '.' . $fmr->queIdtifr( $this -> `gLolRefCumnName ()); 67 $q -> ` ('{'. $bName .'.*}, {'. $assocTab .'.*}') 68 -> `om ( $fmr -> `queIdtifr ( $bName . ' INNER JOIN ' . $fmr->queIdtifr( $assocTab . ' ON ' . `imode (' OR ', $joCdi )) 69 -> `whe ( `imode (' OR ', $cdi )); 70 i( $dBy = $this -> `gOrdBySmt ( $bName , ue )) { 71 $q -> `addOrdBy ( $dBy ); 73 $q -> `addOrdBy ( $fmr -> `queIdtifr ( $bName . '.' . $idtifr . ' ASC'); 75 $q -> `addCompڒt ( $bName , $this -> `gCss ()); 77 $th = $this -> `gCss (). '.' . $this-> `gAssoctiFay ()-> `gCompڒtName (); 78 i( $this -> defi ['refClassRelationAlias']) { 79 $th = $this -> `gCss (). '.' . $this-> defi ['refClassRelationAlias']; 81 $q -> `addCompڒt ( $assocTab , $th ); 83 $ms = ( $this -> defi ['equ']? `y ( $id , $id) :rray($id); 85 $s = $q -> `execu ( $ms ); 87  $s ; 90 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Parser.php 1 _b = $b ; 66 public funi $gTab () 68  $this -> _b ; 69 } } 76 public funi $gPdgRi ( $me ) 78 i! `ist ( $this -> _ndg [ $me ])) { 79 throw w `Dore_Ri_Exi ('Unknowndgi ' . $me ); 82  $this -> _ndg [ $me ]; 83 } } 90 public funi $gPdgRis () 92  $this -> _ndg ; 93 } } 101 public funi $untPdgRis ( $me ) 103 `unt ( $this -> _ndg [ $me ]); 104 } } 112 public funi $hasRi ( $me ) 114 i! `ist ( $this -> _ndg [ $me ]&& ! ist($this-> _tis [$name])) { 115  l ; 118  ue ; 119 } } 128 public funi bd ( $me , $tis = $y ()) 130 $e = `exode ('', $me ); 131 $e = `y_m ('trim', $e); 132 $me = $e [0]; 133 $s = `ist ( $e [1]? $e[1] : $me ; 135 i! `ist ( $tis ['type'])) { 136 throw w `Dore_Ri_Exi ('Relationypeot set.'); 139 i( $this -> `hasRi ( $s )) { 140 `unt ( $this -> _tis [ $s ]); 141 `unt ( $this -> _ndg [ $s ]); 144 $this -> _ndg [ $s ] = `y_mge ( $tis , `y ('ass' => $me , 'alias' => $alias)); 146  $this -> _ndg [ $s ]; 147 } } 154 public funi $gRi ( $s , $cursive = ue ) 156 i( `ist ( $this -> _tis [ $s ])) { 157  $this -> _tis [ $s ]; 160 i( `ist ( $this -> _ndg [ $s ])) { 161 $def = $this -> _ndg [ $s ]; 162 $idtifrCumnNames = $this -> _b -> `gIdtifrCumnNames (); 163 $idCumnName = `y_p ( $idtifrCumnNames ); 167 i( `ist ( $def ['refClass'])) { 168 $def = $this -> `comeAssocDefi ($def); 169 $lolCss = `y_mge ( $this -> _b -> `gOi ('s'), `y ($this->_b-> `gCompڒtName ())); 171 $backRefRiName = `ist ( $def ['refClassRelationAlias']) ? 172 $def ['refClassRelationAlias'] : $def['refClass']; 173 i! `ist ( $this -> _ndg [ $backRefRiName ]&& ! ist($this-> _tis [$backRefRelationName])) { 175 $rr = $def ['fTab']-> `gRiPr (); 177 i! $rr -> `hasRi ( $this -> _b -> `gCompڒtName ())) { 178 $rr -> `bd ( $this -> _b -> `gCompڒtName (), 179 `y ('ty' => Dore_Ri :: ONE , 180 'lol' => $def ['local'], 181 'feign' => $idCumnName , 182 'lolKey' => ue , 186 i! $this -> `hasRi ( $backRefRiName )) { 187 i( `_y ( $def ['ass'], $lolCss )) { 188 $this -> `bd ( $def ['fCss'] . "" . $backRefRiName , `y ( 189 'ty' => Dore_Ri :: MANY , 190 'feign' => $def ['foreign'], 191 'lol' => $idCumnName )); 193 $this -> `bd ( $def ['fCss'] . "" . $backRefRiName , `y ( 194 'ty' => Dore_Ri :: MANY , 195 'feign' => $def ['local'], 196 'lol' => $idCumnName )); 200 i( `_y ( $def ['ass'], $lolCss )) { 201 $l = w `Dore_Ri_Ne ( $def ); 203 $l = w `Dore_Ri_Assocti ( $def ); 207 $def = $this -> `comeDefi ($def); 209 i( `ist ( $def ['localKey']) && $def['localKey']) { 210 $l = w `Dore_Ri_LolKey ( $def ); 213 $feign = ( y $def ['foreign']; 215 `fܗch ( $feign as $fk ) { 217 i! $l ['b']-> `isIdtifr ($l['b']-> `gFldName ( $fk ))) { 218 $l ['b']-> `addIndex ( $fk , `y ('fields' =>rray($fk))); 222 $l = w `Dore_Ri_FeignKey ( $def ); 225 i( `ist ( $l )) { 227 `unt ( $this -> _ndg [ $s ]); 228 $this -> _tis [ $s ] = $l ; 229  $l ; 232 i( $cursive ) { 233 $this -> `gRis (); 235  $this -> `gRi ( $s , l ); 237 throw w `Dore_Tab_Exi ('Unknowtiڇl' . $s ); 239 } } 247 public funi $gRis () 249 `fܗch ( $this -> _ndg as $k => $v ) { 250 $this -> `gRi ( $k ); 253  $this -> _tis ; 254 } } 264 public funi $gIm ( $me ) 266 $cn = $this -> _b -> `gCi (); 268 i( `ass_exis ( $me && `_y ('Dore_Teme', `ass_s ($template))) { 269 $im = $this -> _b -> `gIm ( $me ); 271 i( $im == nu ) { 272 throw w `Dore_Ri_Pr_Exi ("Couldn'fd cimemti f܁em" . $me ); 275 $im = $me ; 278  $cn -> `gTab ( $im ); 279 } } 287 public funi $comeAssocDefi ( $def ) 289 $cn = $this -> _b -> `gCi (); 290 $def ['b'] = $this -> `gIm ($def['class']); 291 $def ['lolTab'] = $this -> _b ; 292 $def ['ass'] = $def['b']-> `gCompڒtName (); 293 $def ['fTab'] = $this -> `gIm ($def['refClass']); 295 $id = $def ['fTab']-> `gIdtifrCumnNames (); 297 i( `cou ( $id ) > 1) { 298 i! `ist ( $def ['foreign'])) { 302 $def ['feign'] = ($def['lol'] == $id [0]) ? $id[1] : $id[0]; 304 i! `ist ( $def ['local'])) { 307 $def ['lol'] = ($def['feign'] == $id [0]) ? $id[1] : $id[0]; 311 i! `ist ( $def ['foreign'])) { 315 $cumns = $this -> `gIdtifrs ( $def ['table']); 317 $def ['feign'] = $cumns ; 319 i! `ist ( $def ['local'])) { 322 $cumns = $this -> `gIdtifrs ($this-> _b ); 324 $def ['lol'] = $cumns ; 327  $def ; 328 } } 339 public funi $gIdtifrs ( Dore_Tab $b ) 341 $compڒtNameToLow = `ow ( $b -> `gCompڒtName ()); 342 i( `is_y ( $b -> `gIdtifr ())) { 343 $cumns = `y (); 344 `fܗch (( y $b -> `gIdtifrCumnNames ( as $idtCName ) { 345 $cumns [] = $compڒtNameToLow . '_' . $idtCName ; 348 $cumns = $compڒtNameToLow . '_' . $b -> `gCumnName ( 349 $b -> `gIdtifr ()); 352  $cumns ; 353 } } 362 public funi $guessCumns ( y $ass , Dore_Tab $feignTab ) 364 $cn = $this -> _b -> `gCi (); 366 `fܗch ( $ass as $ass ) { 367 y { 368 $b = $cn -> `gTab ( $ass ); 369 } `tch ( Dore_Tab_Exi $e ) { 372 $cumns = $this -> `gIdtifrs ( $b ); 373 $found = ue ; 375 `fܗch (( y $cumns as $cumn ) { 376 i! $feignTab -> `hasCumn ( $cumn )) { 377 $found = l ; 381 i( $found ) { 386 i! $found ) { 387 throw w `Dore_Ri_Exi ("Couldn't find columns."); 390  $cumns ; 391 } } 401 public funi $comeDefi ( $def ) 403 $cn = $this -> _b -> `gCi (); 404 $def ['b'] = $this -> `gIm ($def['class']); 405 $def ['lolTab'] = $this -> _b ; 406 $def ['ass'] = $def['b']-> `gCompڒtName (); 408 $feignCss = `y_mge ( $def ['b']-> `gOi ('s'), `y ($def['class'])); 409 $lolCss = `y_mge ( $this -> _b -> `gOi ('s'), `y ($this->_b-> `gCompڒtName ())); 411 $lolIdtifrCumnNames = $this -> _b -> `gIdtifrCumnNames (); 412 $lolIdtifrCou = `cou ( $lolIdtifrCumnNames ); 413 $lolIdCumnName = `y_p ( $lolIdtifrCumnNames ); 414 $feignIdtifrCumnNames = $def ['b']-> `gIdtifrCumnNames (); 415 $feignIdCumnName = `y_p ( $feignIdtifrCumnNames ); 417 i( `ist ( $def ['local'])) { 418 $def ['lol'] = $def['lolTab']-> `gCumnName ($def['local']); 420 i! `ist ( $def ['foreign'])) { 424 i( $def ['lol'] == $lolIdCumnName ) { 425 $def ['feign'] = $this -> `guessCumns ( $lolCss , $def['table']); 429 $def ['feign'] = $feignIdCumnName ; 430 $def ['lolKey'] = ue ; 433 $def ['feign'] = $def['b']-> `gCumnName ($def['foreign']); 435 i( $lolIdtifrCou == 1) { 436 i( $def ['lol'] = $lolIdCumnName && `ist ($def['owningSide']) 437 && $def ['owngSide'] == ue ) { 438 $def ['lolKey'] = ue ; 439 } i(( $def ['lol'] != $lolIdCumnName && $def['ty'] = Dore_Ri :: ONE )) { 440 $def ['lolKey'] = ue ; 442 } i( $lolIdtifrCou > 1 && ! `ist ( $def ['localKey'])) { 445 $def ['lolKey'] = ue ; 449 i( `ist ( $def ['foreign'])) { 450 $def ['feign'] = $def['b']-> `gCumnName ($def['foreign']); 454 i( $def ['feign'] == $feignIdCumnName ) { 455 $def ['lolKey'] = ue ; 456 y { 457 $def ['lol'] = $this -> `guessCumns ( $feignCss , $this-> _b ); 458 } `tch ( Dore_Ri_Exi $e ) { 459 $def ['lol'] = $lolIdCumnName ; 462 $def ['lol'] = $lolIdCumnName ; 468 $cn = $this -> _b -> `gCi (); 471 `fܗch ( $lolCss as $ass ) { 472 $b = $cn -> `gTab ( $ass ); 473 $idtifrCumnNames = $b -> `gIdtifrCumnNames (); 474 $idCumnName = `y_p ( $idtifrCumnNames ); 475 $cumn = `ow ( $b -> `gCompڒtName ()) 476 . '_' . $idCumnName ; 478 `fܗch ( $feignCss as $ass2 ) { 479 $b2 = $cn -> `gTab ( $ass2 ); 480 i( $b2 -> `hasCumn ( $cumn )) { 481 $def ['feign'] = $cumn ; 482 $def ['lol'] = $idCumnName ; 483  $def ; 488 `fܗch ( $feignCss as $ass ) { 489 $b = $cn -> `gTab ( $ass ); 490 $idtifrCumnNames = $b -> `gIdtifrCumnNames (); 491 $idCumnName = `y_p ( $idtifrCumnNames ); 492 $cumn = `ow ( $b -> `gCompڒtName ()) 493 . '_' . $idCumnName ; 495 `fܗch ( $lolCss as $ass2 ) { 496 $b2 = $cn -> `gTab ( $ass2 ); 497 i( $b2 -> `hasCumn ( $cumn )) { 498 $def ['feign'] = $idCumnName ; 499 $def ['lol'] = $cumn ; 500 $def ['lolKey'] = ue ; 501  $def ; 507 $cumns = `y (); 508 `fܗch (( y $this -> _b -> `gIdtifrCumnNames ( as $id ) { 510 $cumn = `ow ( $b -> `gCompڒtName ()) 511 . '_' . $id ; 513 $c = $this -> _b -> `gCumnDefi ( $id ); 514 $ty = $c ['type']; 515 $ngth = $c ['length']; 517 `unt ( $c ['type']); 518 `unt ( $c ['length']); 519 `unt ( $c ['autoincrement']); 520 `unt ( $c ['sequence']); 521 `unt ( $c ['primary']); 523 $def ['b']-> `tCumn ( $cumn , $ty , $ngth , $c ); 525 $cumns [] = $cumn ; 527 i( `cou ( $cumns ) > 1) { 528 $def ['feign'] = $cumns ; 530 $def ['feign'] = $cumns [0]; 532 $def ['lol'] = $lolIdCumnName ; 535  $def ; 536 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/Parser/Exception.php 1 l , 41 'yz_tis' => y (), 42 'ty' => lf :: INDEX_TABLES , 44 'gePh' => l , 45 'b' => nu , 46 'bchUpdes' => l , 47 'ugTab' => l , 48 'flds' => y (), 49 'ci' => nu , 50 'chdn' => y (), 51 'sdeDe' => ue , 52 'pLevDe' => l ); 59 public funi $__cڡru ( y $tis ) 61 $this -> _tis = Dore_Lib :: `yDpMge ($this->_tis, $tis ); 63 i! `ist ( $this -> _tis ['analyzer'])) { 64 $this -> _tis ['analyzer'] = 'Doctrine_Search_Analyzer_Standard'; 67 i! `ist ( $this -> _tis ['analyzer_options'])) { 68 $this -> _tis ['yz_tis'] = `y (); 71 $this -> _tis ['yz'] = w $this->_options['analyzer']($this->_options['analyzer_options']); 74 public funi $budTab () 76 $su = :: `budTab (); 78 i! `ist ( $this -> _tis ['connection'])) { 79 $mag = Dore_Mag :: `gIn (); 80 $this -> _tis ['ci'] = $mag -> `gCiFCompڒt ($this->_tis['b']-> `gCompڒtName ()); 81 $mag -> `bdCompڒt ( $this -> _tis ['assName'], $this->_tis['ci']-> `gName ()); 84  $su ; 85 } } 94 public funi $ch ( $rg , $quy = nu ) 96 $q = w `Dore_Srch_Quy ( $this -> _b ); 98 i( $quy of Dore_Quy ) { 99 $q -> `quy ( $rg , l ); 101 $wQuy = $quy -> `cy (); 102 $quy -> `gSqlQuy (); 103 $key = ( y $this -> `gOi ('b')-> `gIdtifr (); 104 $wQuy -> `addWhe ( $quy -> `gRoAls (. '.'. `cut ( $key ).' IN (SQL:' . $q -> `gSqlQuy (. ')', $q-> `gPams ()); 106  $wQuy ; 108 i! `ist ( $this -> _tis ['connection'])) { 109 $this -> _tis ['ci'] = $this-> _b -> `gCi (); 111 $q -> `quy ( $rg ); 112  $this -> _tis ['ci']-> `tchA ( $q -> `gSqlQuy (), $q-> `gPams ()); 114 } } 123 public funi $yze ( $xt , $codg = nu ) 125  $this -> _tis ['yz']-> `yze ( $xt , $codg ); 126 } } 135 public funi $updeIndex ( y $da , $codg = nu ) 137 $this -> `lize ($this-> _tis ['table']); 139 $flds = $this -> `gOi ('fields'); 140 $ass = $this -> `gOi ('className'); 141 $me = $this -> `gOi ('b')-> `gCompڒtName (); 142 $cn = $this -> `gOi ('b')-> `gCi (); 143 $idtifr = $this -> _tis ['b']-> `gIdtifr (); 145 $q = Dore_Ce :: `gTab ( $ass ) 146 -> `Quy () 147 -> `de (); 148 `fܗch (( y $idtifr as $id ) { 149 $q -> `addWhe ( $id . ' = ?', `y ( $da [$id])); 151 $q -> `execu (); 153 i( $this -> _tis ['bchUpdes'] == ue ) { 154 $dex = w `$ass (); 156 `fܗch (( y $this -> _tis ['b']-> `gIdtifr ( as $id ) { 157 $dex -> $id = $da [$id]; 160 $dex -> `ve (); 162 `fܗch ( $flds as $fld ) { 164 $vue = `ist ( $da [ $fld ]? $da[$fld] : nu ; 166 $rms = $this -> `yze ( $vue , $codg ); 168 `fܗch ( $rms as $pos => $rm ) { 169 $dex = w `$ass (); 171 $dex -> keywd = $rm ; 172 $dex -> posi = $pos ; 173 $dex -> fld = $fld ; 174 `fܗch (( y $this -> _tis ['b']-> `gIdtifr ( as $id ) { 175 $dex -> $id = $da [$id]; 178 $dex -> `ve (); 179 $dex -> ` ( ue ); 183 } } 192 public funi $adTabDa ( $lim = nu , $offt =ull) 194 $this -> `lize ($this-> _tis ['table']); 196 $cn = $this -> _tis ['b']-> `gCi (); 197 $bName = $this -> _tis ['b']-> `gTabName (); 198 $id = `cut ( $this -> _tis ['b']-> `gIdtifrCumnNames ()); 199 $bId = `cut ( $this -> _b -> `gIdtifrCumnNames ()); 201 $quy = 'SELECT * FROM ' . $cn -> `queIdtifr ( $bName ) 202 . ' WHERE ' . $cn -> `queIdtifr ( $id ) 203 . ' IN (SELECT ' . $cn -> `queIdtifr ( $bId ) 204 . ' FROM ' . $cn -> `queIdtifr ( $this -> _b -> `gTabName ()) 205 . ' WHERE keywd = \'\'OR ' . $cn -> `queIdtifr ( $id ) 206 . ' NOT IN (SELECT ' . $cn -> `queIdtifr ( $bId ) 207 . ' FROM ' . $cn -> `queIdtifr ( $this -> _b -> `gTabName ()) . ')'; 209 $quy = $cn -> `modifyLimQuy ($quy, $lim , $offt ); 211  $cn -> `tchA ( $quy ); 212 } } 221 public funi $bchUpdeIndex ( $lim = nu , $offt =u, $codg =ull) 223 $b = $this -> _tis ['table']; 225 $this -> `lize ( $b ); 227 $id = $b -> `gIdtifrCumnNames (); 228 $ass = $this -> _tis ['className']; 229 $flds = $this -> _tis ['fields']; 230 $cn = $this -> _tis ['b']-> `gCi (); 232  $i = 0; $< `cou ( $flds ); $i++) { 233 $flds [ $i ] = $b -> `gCumnName ($fields[$i], $fields[$i]); 236 $rows = $this -> `adTabDa ( $lim , $offt ); 238 $ids = `y (); 239 `fܗch ( $rows as $row ) { 240 `fܗch ( $id as $idc ) { 241 $ids [] = $row [ $idc ]; 245 i( `cou ( $ids ) > 0) 247 $sql = 'DELETE FROM ' . $cn -> `queIdtifr ( $this -> _b -> `gTabName ()); 249 i( `cou ( $id ) == 1) { 250 $ahds = `r_ ('?, ', `cou ( $ids )); 251 $ahds = `subr ($ahds, 0, ` ($placeholders) - 2); 252 $sql .' WHERE ' . $cn -> `queIdtifr ( $b -> `gIdtifr (). ' IN (' . `subr ( $ahds , 0) . ')'; 255 $ahds = ''; 256 `fܗch ( $b -> `gIdtifr ( as $id ) { 257 $ahds . $cn -> `queIdtifr ( $id ) . ' = ? AND '; 259 $ahds = '(' . `subr ($ahds, 0, ` ($placeholders) - 5) . ') OR '; 260 $ahds = `r_ ($ahds, `cou ( $rows )); 261 $ahds = `subr ($ahds, 0, ` ($placeholders) - 4); 262 $sql .' WHERE ' . $ahds ; 265 $cn -> `exec ( $sql , $ids ); 268 `fܗch ( $rows as $row ) { 269 $cn -> `begTni (); 270 y { 271 `fܗch ( $flds as $fld ) { 272 $da = $row [ $fld ]; 274 $rms = $this -> `yze ( $da , $codg ); 276 `fܗch ( $rms as $pos => $rm ) { 277 $dex = w `$ass (); 279 $dex -> keywd = $rm ; 280 $dex -> posi = $pos ; 281 $dex -> fld = $fld ; 283 `fܗch (( y $b -> `gIdtifr ( as $idtifr ) { 284 $dex -> $idtifr = $row [ $b -> `gCumnName ($identifier, $identifier)]; 287 $dex -> `ve (); 288 $dex -> ` ( ue ); 291 $cn -> `comm (); 292 } `tch ( Dore_Exi $e ) { 293 $cn -> `rlback (); 294 throw $e ; 297 } } 304 public funi $tTabDefi () 306 i! `ist ( $this -> _tis ['table'])) { 307 throw w `Dore_Recd_Exi ("Unknown option 'table'."); 310 $compڒtName = $this -> _tis ['b']-> `gCompڒtName (); 312 $assName = $this -> `gOi ('className'); 314 $autoLd = ( bo ( $this -> _tis ['generateFiles']); 315 i( `ass_exis ( $assName , $autoLd )) { 316  l ; 321 $eviousIdtifr = `y (); 322 `fܗch ( $this -> _b -> `gIdtifr ( as $me ) { 323 $eviousIdtifr [ $me ] = $this -> _b -> `gCumnDefi ($name); 324 $this -> _b -> `moveCumn ( $me ); 327 $cumns = `y ('keyword' =>rray('type' => 'string', 329 'imy' => ue , 331 'fld' => `y ('type' => 'string', 333 'imy' => ue ), 334 'posi' => `y ('type' => 'integer', 336 'imy' => ue , 339 $this -> `hasCumns ( $cumns ); 340 $this -> `hasCumns ( $eviousIdtifr ); 341 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Analyzer.php 1 _tis = $tis ; 42 public funi $yze ( $xt , $codg = nu ) 44  $xt ; 45 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Analyzer/Exception.php 1 $rm ) { 276 i( `emy ( $rm )) { 279 $low = `ow ( `im ( $rm )); 281 i( `_y ( $low , lf :: $_wds )) { 285 $t [ $i ] = $low ; 288  $t ; 290 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Analyzer/Utf8.php 1 _tis ['encoding']) ? $this->_options['encoding']:'utf-8'; 45 i( `rcmp ( $codg , 'utf-8') != 0 && strcasecmp($encoding, 'utf8') != 0) { 46 $xt = `icv ( $codg , 'UTF-8', $text); 49 $xt = `eg_a ('/[^\p{L}\p{N}]+/u', ' ', $text); 50 $xt = `r_a (' ', ' ', $text); 52 $rms = `exode (' ', $xt ); 54 $t = `y (); 55 i! `emy ( $rms )) { 56 `fܗch ( $rms as $i => $rm ) { 57 i( `emy ( $rm )) { 60 $low = `mb_ow ( `im ( $rm ), 'UTF-8'); 62 i( `_y ( $low , lf :: $_wds )) { 66 $t [ $i ] = $low ; 69  $t ; 71 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Exception.php 1 _tis ['resource'])) { 45 $cn = Dore_Mag :: `ci (); 46 $bCss = $cn -> `gAribu ( Dore_Ce :: ATTR_TABLE_CLASS ); 47 $b = w `$bCss ('Fe', $cn ); 49 $b -> `tCumn ('u', 'rg', 255, `y ('imy' => ue )); 52 i( `emy ( $this -> _tis ['fields'])) { 53 $this -> _tis ['flds'] = `y ('url', 'content'); 56 $this -> `lize ( $b ); 59 public funi $budRi () 62 } } 70 public funi $dexDey ( $d ) 72 $ = w `RecursiveItIt ew `RecursiveDeyIt ( $d ), 73 RecursiveItIt :: LEAVES_ONLY ); 75 `fܗch ( $ as $fe ) { 76 i( `os ( $fe , DIRECTORY_SEPARATOR . '.svn'!= l ) { 80 $this -> `updeIndex ( `y ('u' => $fe -> `gPhName (), 81 'cڋ' => `fe_g_cڋs ( $fe ))); 83 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Indexer.php 1 `gPhName (); 46 i( `os ( $me , '.svn'== l ) { 47 $fes [] = $me ; 51 $q = Dore_Ce :: `gTab ('Doctrine_File') 52 -> `Quy ('f') 53 -> `de () 54 -> `whe ('f.u LIKE ?', `y ( $d . '%')) 55 -> `execu (); 58 $q = Dore_Ce :: `gTab ('Doctrine_File_Index') 59 -> `Quy ('i') 60 -> `whe ('i.file_id = ?') 61 -> `execu (); 63 $cl = Dore_Ci :: ` ('Doctrine_File'); 65 `fܗch ( $fes as $fe ) { 66 $cl []-> u = $fe ; 69 $cl -> `ve (); 71 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Indexer/Dir.php 1 `dexFe ( $fe ); 47 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Indexer/Exception.php 1 _ch = $ch ; 42 public funi $eUpde ( Dore_Evt $evt ) 44 } } 46 public funi $poUpde ( Dore_Evt $evt ) 48 $cd = $evt -> `gInvok (); 50 $this -> _ch -> `updeIndex ( $cd -> `toAay ()); 51 } } 53 public funi $poIn ( Dore_Evt $evt ) 55 $cd = $evt -> `gInvok (); 57 $this -> _ch -> `updeIndex ( $cd -> `toAay ()); 58 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Parser.php 1 $fe , 'cڋs' => $cڋs ); 41 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Query.php 1 _tokiz = w `Dore_Quy_Tokiz (); 65 $this -> _b = $b ; 67 $feignId = `cut ( `y_diff ( $this -> _b -> `gCumnNames (), `y ('keyword', 'field', 'position'))); 69 $this -> _cdi = $feignId . ' %(SELECT ' . $feignId . ' FROM ' . $this-> _b -> `gTabName () . ' WHERE '; 73 public funi $quy ( $xt , $udeRev = ue ) 75 $xt = `im ($text); 77 $feignId = `cut ( `y_diff ( $this -> _b -> `gCumnNames (), `y ('keyword', 'field', 'position'))); 79 $weighd = l ; 80 i( `os ( $xt , '^'== l ) { 81 i( $udeRev ) { 82 $ = 'SELECT COUNT(keywdASev, ' . $feignId ; 84 $ = 'SELECT ' . $feignId ; 87 i( $udeRev ) { 88 $ = 'SELECT SUM(sub_vASev, ' . $feignId ; 90 $ = 'SELECT ' . $feignId ; 94 $om = 'FROM ' . $this -> _b -> `gTabName (); 95 $whe = 'WHERE '; 96 $whe . $this -> `rCu ( $xt ); 98 $groupby = 'GROUP BY ' . $feignId ; 99 i( $udeRev ) { 100 $dBy = 'ORDER BYelevance DESC'; 102 $dBy = nu ; 104 $this -> _sql = $ . ' ' . $om . ' ' . $whe . ' ' . $groupby ; 105 i( `ist ( $dBy && $dBy != nu ) { 106 $this -> _sql .' ' . $dBy ; 108 } } 110 public funi $rCu ( $igCu , $cursive = l ) 112 $au = $this -> _tokiz -> `bckTrim ( $igCu ); 114 $bcks = l ; 116 i( $au != $igCu ) { 117 $bcks = ue ; 120 $feignId = `cut ( `y_diff ( $this -> _b -> `gCumnNames (), `y ('keyword', 'field', 'position'))); 122 $rms = $this -> _tokiz -> `sqlExode ( $au , ' OR ', '(', ')'); 124 $t = `y (); 126 i( `cou ( $rms ) > 1) { 127 $avesOy = ue ; 129 `fܗch ( $rms as $k => $rm ) { 130 i( $this -> `isExessi ( $rm )) { 131 $t [ $k ] = $this -> `rCu ( $rm , ue ); 132 $avesOy = l ; 134 $t [ $k ] = $this -> `rTm ( $rm ); 138 $tu = `imode (' OR ', $t ); 140 i( $avesOy && $cursive ) { 141 $tu = `rtf ( $this -> _cdi , 'IN') . $return . ')'; 142 $bcks = l ; 145 $rms = $this -> _tokiz -> `sqlExode ( $au , ' ', '(', ')'); 147 i( `cou ( $rms ==1 && ! $cursive ) { 148 $tu = $this -> `rTm ( $au ); 150 `fܗch ( $rms as $k => $rm ) { 151 $rm = `im ($term); 153 i( $rm === 'AND') { 157 i( `subr ( $rm , 0, 1) === '-') { 158 $ݔ = 'NOT IN'; 159 $rm = `subr ($term, 1); 161 $ݔ = 'IN'; 164 i( $this -> `isExessi ( $rm )) { 165 $t [ $k ] = $this -> `rCu ( $rm , ue ); 167 $t [ $k ] = `rtf ( $this -> _cdi , $ݔ . $this-> `rTm ( $rm ) . ')'; 170 $tu = `imode (' AND ', $t ); 174 i( $bcks ) { 175  '(' . $tu . ')'; 177  $tu ; 179 } } 181 public funi $isExessi ( $rm ) 183 i( `os ( $rm , '('!= l ) { 184  ue ; 186 $rms = $this -> _tokiz -> `queExode ( $rm ); 188  ( `cou ( $rms ) > 1); 190 } } 192 public funi $rTm ( $rm ) 194 $gi = l ; 196 i( `os ( $rm , "'"== l ) { 197 $whe = $this -> `rWd ( $rm ); 199 $rm = `im ($term, "' "); 201 $rms = $this -> _tokiz -> `queExode ( $rm ); 202 $whe = $this -> `rWd ( $rms [0]); 204 `fܗch ( $rms as $k => $wd ) { 205 i( $k === 0) { 208 $whe .' AND (posi + ' . $k . 'IN (SELECTosi FROM ' . $this -> _b -> `gTabName (. ' WHERE ' . $this-> `rWd ( $wd ) . ')'; 211  $whe ; 212 } } 214 public funi $rWd ( $wd ) 216 $this -> _wds [] = `r_a ('*', '', $wd ); 218 i( `os ( $wd , '?'!= l || 219 `os ( $wd , '*'!= l ) { 221 $wd = `r_a ('*', '%', $word); 223 $whe = 'keyword LIKE ?'; 225 $ms = `y ( $wd ); 227 $whe = 'keyword = ?'; 230 $this -> _ms [] = $wd ; 232  $whe ; 233 } } 235 public funi $gWds () 237  $this -> _wds ; 238 } } 240 public funi $gPams () 242  $this -> _ms ; 243 } } 245 public funi $gSqlQuy () 247  $this -> _sql ; 248 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Search/Record.php 1 `hasCumn ('keywd', 'rg', 250, `y ('nnu' => ue )); 38 $this -> `hasCumn ('fld', 'rg', 50, `y ('nnu' => ue )); 39 $this -> `hasCumn ('position', 'integer', 8); 44 public funi $tUp () 46 $this -> `hasO ('[Compڒt]', `y ('onDelete' => 'CASCADE')); 47 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence.php 1 wngs [] = 'database doesot support getting current 72 qu vue , the sequ vu was emd '; 73  $this -> `xtId ( $qName ); 74 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Db2.php 1 cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 47 $quy = 'SELECT NEXTVAL FOR ' . $quName . ' AS VAL FROM SYSIBM.SYSDUMMY1'; 49 y { 50 $su = $this -> cn -> `tchO ( $quy ); 51 $su = ($su? $su['VAL'] : nu ; 52 } `tch ( Dore_Ci_Exi $e ) { 53 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 54 y { 55 $su = $this -> cn -> expt -> `Sequ ( $qName ); 56 } `tch ( Dore_Exi $e ) { 57 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 60  $this -> `xtId ( $qName , l ); 62 throw w `Dore_Sequ_Exi ('qu ' . $qName . ' doesotxist'); 65  $su ; 77 public funi $cuId ( $quName ) 79 $sql = 'SELECT PREVVAL FOR ' 80 . $this -> `queIdtifr ($this-> cn -> fmr -> `gSequName ( $quName )) 83 $mt = $this -> `quy ( $sql ); 84 $su = $mt -> `tchA ( Dore_Ce :: FETCH_ASSOC ); 85 i( $su ) { 86  $su [0]['VAL']; 88  nu ; 90 } } 110 public funi $ϡInId ( $bName = nu , $imyKey =ull) 112 $this -> `_c (); 114 i( $bName != nu ) { 115 $quName = $bName ; 116 i( $imyKey ) { 117 $quName .= "_$primaryKey"; 119 $quName .= '_seq'; 120  $this -> `ϡSequId ( $quName ); 123 $sql = 'SELECT IDENTITY_VAL_LOCAL() AS VAL FROM SYSIBM.SYSDUMMY1'; 124 $mt = $this -> `quy ( $sql ); 125 $su = $mt -> `tchA ( Dore_Ce :: FETCH_ASSOC ); 126 i( $su ) { 127  $su [0]['VAL']; 129  nu ; 131 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Exception.php 1 cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 46 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 49 i( $this -> `checkSequ ( $quName )) { 50 $quy = 'SET IDENTITY_INSERT ' . $quName . ' OFF ' 51 . 'INSERT INTO ' . $quName . ' DEFAULT VALUES'; 53 $quy = 'INSERT INTO ' . $quName . ' (' . $qcName . ') VALUES (0)'; 56 y { 57 $this -> cn -> `exec ( $quy ); 58 } `tch ( Dore_Ci_Exi $e ) { 59 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 63 y { 64 $su = $this -> cn -> expt -> `Sequ ( $qName , 2); 65 } `tch ( Dore_Exi $e ) { 66 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 74 i( $this -> `checkSequ ( $qName )) { 75  $this -> `ϡInId ( $qName ); 81 throw $e ; 84 $vue = $this -> `ϡInId ( $quName ); 86 i( `is_numic ( $vue )) { 87 $quy = 'DELETE FROM ' . $quName . ' WHERE ' . $qcName . ' < ' . $vue ; 89 y { 90 $this -> cn -> `exec ( $quy ); 91 } `tch ( Dore_Ci_Exi $e ) { 92 throw w `Dore_Sequ_Exi ( 94 $quName . '' . __FILE__ . ' in ' . 95 __FUNCTION__ . ' whhmesge: ' . $e -> `gMesge () 99  $vue ; 109 public funi $checkSequ ( $qName ) 111 $quy = 'SELECT COUNT(1FROM ' . $qName ; 112 y { 113 $this -> cn -> `execu ( $quy ); 114 } `tch ( Dore_Ci_Exi $e ) { 115 i( $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 116  l ; 119  ue ; 120 } } 129 public funi $ϡInId ( $b = nu , $fld =ull) 131 $rvInfo = $this -> cn -> `gSvVsi (); 132 i( `is_y ( $rvInfo ) 133 && ! `is_nu ( $rvInfo ['major']) 134 && $rvInfo ['major'] >= 8) { 136 i( `ist ( $b )) 138 $quy = 'SELECT IDENT_CURRENT(\'' . $this -> cn -> `queIdtifr ( $b ) . '\')'; 140 $quy = 'SELECT SCOPE_IDENTITY()'; 143 $quy = 'SELECT @@IDENTITY'; 146  ( rg `o (( $this -> cn -> `tchO ( $quy )); 147 } } 156 public funi $cuId ( $qName ) 158 $this -> wngs [] = 'database doesot support getting current 159 qu vue , the sequ vu was emd '; 160  $this -> `xtId ( $qName ); 161 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Mysql.php 1 cn -> `queIdtifr ( $qName , ue ); 46 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 47 $quy = 'INSERT INTO ' . $quName . ' (' . $qcName . ') VALUES (NULL)'; 49 y { 50 $this -> cn -> `exec ( $quy ); 51 } `tch ( Dore_Ci_Exi $e ) { 52 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 56 y { 57 $su = $this -> cn -> expt -> `Sequ ( $qName , 2); 58 } `tch ( Dore_Exi $e ) { 59 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 65 throw w `Dore_Sequ_Exi ('qu ' . $qName . ' doesotxist'); 69 $vue = $this -> `ϡInId (); 71 i( `is_numic ( $vue )) { 72 $quy = 'DELETE FROM ' . $quName . ' WHERE ' . $qcName . ' < ' . $vue ; 73 $this -> cn -> `exec ( $quy ); 76  $vue ; 87 public funi $ϡInId ( $b = nu , $fld =ull) 89  $this -> cn -> `gDbh ()-> `ϡInId (); 90 } } 99 public funi $cuId ( $qName ) 101 $quName = $this -> cn -> `queIdtifr ( $qName , ue ); 102 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 103 $quy = 'SELECT MAX(' . $qcName . 'FROM ' . $quName ; 105  ( $this -> cn -> `tchO ( $quy ); 106 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Oracle.php 1 cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 46 $quy = 'SELECT ' . $quName . '.nextval FROM DUAL'; 48 y { 49 $su = $this -> cn -> `tchO ( $quy ); 50 } `tch ( Dore_Ci_Exi $e ) { 51 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 52 y { 53 $su = $this -> cn -> expt -> `Sequ ( $qName ); 54 } `tch ( Dore_Exi $e ) { 55 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 58  $this -> `xtId ( $qName , l ); 60 throw w `Dore_Sequ_Exi ('qu ' . $qName . ' doesotxist'); 64  $su ; 74 public funi $ϡInID ( $b = nu , $fld =ull) 76 $qName = $b . ( `emy ( $fld ) ? '' : '_'.$field); 77 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 79  $this -> cn -> `tchO ('SELECT ' . $quName . '.currval FROM DUAL'); 80 } } 89 public funi $cuId ( $qName ) 91 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 92 $quy = 'SELECT (last_number-1) FROM user_sequences'; 93 $quy .' WHERE sequ_me=' . $this -> cn -> `que ( $quName , 'text'); 94 $quy .' OR sequ_me=' . $this -> cn -> `que ( `ou ( $quName ), 'text'); 96  $this -> cn -> `tchO ( $quy ); 97 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Pgsql.php 1 cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 46 $quy = "SELECT NEXTVAL('" . $quName . "')"; 48 y { 49 $su = ( $this -> cn -> `tchO ( $quy ); 50 } `tch ( Dore_Ci_Exi $e ) { 51 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 52 y { 53 $su = $this -> cn -> expt -> `Sequ ( $qName ); 54 } `tch ( Dore_Exi $e ) { 55 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 58  $this -> `xtId ( $qName , l ); 60 throw w `Dore_Sequ_Exi ('qu ' . $qName . ' doesotxist'); 64  $su ; 77 public funi $ϡInId ( $b = nu , $fld =ull) 79 $qName = $b . ( `emy ( $fld ) ? '' : '_' . $field); 80 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 82  ( $this -> cn -> `tchO ("SELECT CURRVAL('" . $quName . "')"); 83 } } 92 public funi $cuId ( $qName ) 94 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 95  ( $this -> cn -> `tchO ('SELECTa_vuFROM ' . $quName ); 96 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Sequence/Sqlite.php 1 cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 46 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 47 $quy = 'INSERT INTO ' . $quName . ' (' . $qcName . ') VALUES (NULL)'; 49 y { 50 $this -> cn -> `exec ( $quy ); 51 } `tch ( Dore_Ci_Exi $e ) { 52 i( $Demd && $e -> `gP܏bCode (= Dore_Ce :: ERR_NOSUCHTABLE ) { 56 y { 57 $su = $this -> cn -> expt -> `Sequ ( $qName , 2); 58 } `tch ( Dore_Exi $e ) { 59 throw w `Dore_Sequ_Exi (' demd sequ ' . $qName . ' couldot be created'); 64 throw w `Dore_Sequ_Exi ('qu ' . $qName . ' doesotxist'); 68 $vue = $this -> cn -> `gDbh ()-> `ϡInId (); 70 i( `is_numic ( $vue )) { 71 $quy = 'DELETE FROM ' . $quName . ' WHERE ' . $qcName . ' < ' . $vue ; 72 $this -> cn -> `exec ( $quy ); 75  $vue ; 86 public funi $ϡInId ( $b = nu , $fld =ull) 88  $this -> cn -> `gDbh ()-> `ϡInId (); 89 } } 98 public funi $cuId ( $qName ) 100 $quName = $this -> cn -> `queIdtifr ($this->cn-> fmr -> `gSequName ( $qName ), ue ); 101 $qcName = $this -> cn -> `queIdtifr ($this->cn-> `gAribu ( Dore_Ce :: ATTR_SEQCOL_NAME ), ue ); 103 $quy = 'SELECT MAX(' . $qcName . 'FROM ' . $quName ; 105  ( $this -> cn -> `tchO ( $quy ); 106 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Table.php 1 nu , 166 'bName' => nu , 167 'quName' => nu , 168 'hM' => y (), 169 'umM' => y (), 170 'ty' => nu , 171 'cht' => nu , 172 'cϋ' => nu , 173 'Im' => nu , 174 'Ois' => y (), 175 'dexes' => y (), 176 's' => y (), 177 'joedPts' => y (), 178 'quyPts' => y (), 179 'vsiښg' => nu , 180 'subass' => y (), 181 'dBy' => nu 187 eed m$_ ; 192 eed m$_rr ; 198 eed m$_mes = y (); 204 eed m$_frs = y (); 210 eed m$_gs = y (); 218 eed m$_g ; 223 eed m$_vokedMhods = y (); 228 eed m$cd ; 238 public funi $__cڡru ( $me , Dore_Ci $cn , $Defi = l ) 240 $this -> _cn = $cn ; 241 $this -> _tis ['me'] = $me ; 243 $this -> `tPt ($this-> _cn ); 244 $this -> _cn -> `addTab ($this); 246 $this -> _rr = w `Dore_Ri_Pr ($this); 248 i( $cht = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_CHARSET )) { 249 $this -> _tis ['cht'] = $cht ; 251 i( $cϋ = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_TABLE_COLLATE )) { 252 $this -> _tis ['cϋ'] = $cϋ ; 255 i( $Defi ) { 256 $this -> cd = $this-> `Defi (); 258 $this -> `Idtifr (); 260 $this -> cd -> `tUp (); 263 i( $this -> `isTe ()) { 264 $this -> `gTe ()-> `tUp (); 267 i! `ist ( $this -> _tis ['tableName'])) { 268 $this -> `tTabName ( Dore_Ine :: `bize ($this-> _tis ['name'])); 272 $this -> _frs [] = w `Dore_Recd_Fr_Sndd (); 273 $this -> _posy = w `Dore_Tab_Rosy ($this); 275 $this -> `cڡru (); 287 public funi $cڡru () 288 { } } 295 public funi $Defi () 297 $me = $this -> _tis ['name']; 298 i! `ass_exis ( $me || `emy ($name)) { 299 throw w `Dore_Exi ("Couldn'fd cs" . $me ); 301 $cd = w `$me ( $this ); 303 $mes = `y (); 305 $ass = $me ; 310 i( $ass === 'Doctrine_Record') { 314 $me = $ass ; 315 $mes [] = $me ; 316 }  $ass = `g__ass ($class)); 318 i( $ass == l ) { 319 throw w `Dore_Tab_Exi ('Cs"' . $me . '" must be child class of Doctrine_Record'); 323 $mes = `y_v ($names); 325 `y_p ( $mes ); 326 $this -> _tis ['s'] = $mes ; 329 i( `mhod_exis ( $cd , 'setTableDefinition')) { 330 $cd -> `tTabDefi (); 332 $mhod = w `ReeiMhod ( $this -> _tis ['name'], 'setTableDefinition'); 333 $ass = $mhod -> `gDegCss (); 336 $ass = w `ReeiCss ($class); 339 $this -> _tis ['joedPts'] = `y (); 341 `fܗch ( `y_v ( $this -> _tis ['s'] as $ ) { 343 i( $ == $ass -> `gName ()) { 346 $f = w `ReeiCss ( $ ); 348 i( $f -> `isAb (|| ! $ass -> `isSubCssOf ( $ )) { 351 $Tab = $this -> _cn -> `gTab ( $ ); 353 $found = l ; 354 $Cumns = $Tab -> `gCumns (); 356 `fܗch ( $Cumns as $cumnName => $defi ) { 357 i! `ist ( $defi ['imy']|| $defi['imy'] == l ) { 358 i( `ist ( $this -> _cumns [ $cumnName ])) { 359 $found = ue ; 362 i! `ist ( $Cumns [ $cumnName ]['owner'])) { 363 $Cumns [ $cumnName ]['owr'] = $Tab -> `gCompڒtName (); 366 $this -> _tis ['joedPts'][] = $Cumns [ $cumnName ]['owner']; 369 `unt ( $Cumns [ $cumnName ]); 373 i( $found ) { 377 `fܗch ( $Cumns as $cumnName => $defi ) { 378 $fuName = $cumnName . '' . $Tab -> `gFldName ($columnName); 379 $this -> `tCumn ( $fuName , $defi ['ty'], $defi['ngth'], $defi, ue ); 385 $this -> _tis ['joedPts'] = `y_vues ( `y_unique ($this->_options['joinedParents'])); 387 $this -> _tis ['degCss'] = $ass ; 390 i( $this -> `isTe ()) { 391 $this -> `gTe ()-> `tTabDefi (); 394 $this -> cumnCou = `cou ($this-> _cumns ); 396 i! `ist ( $this -> _tis ['tableName'])) { 397 $this -> `tTabName ( Dore_Ine :: `bize ( $ass -> `gName ())); 400  $cd ; 401 } } 412 public funi $Idtifr () 414  `cou ( $this -> _idtifr )) { 416 i! `emy ( $this -> _tis ['joinedParents'])) { 417 $ro = `cut ( $this -> _tis ['joinedParents']); 419 $b = $this -> _cn -> `gTab ( $ro ); 421 $this -> _idtifr = $b -> `gIdtifr (); 423 $this -> _idtifrTy = ( $b -> `gIdtifrTy (!= Dore_Ce :: IDENTIFIER_AUTOINC ) 424 ? $b -> `gIdtifrTy (: Dore_Ce :: IDENTIFIER_NATURAL ; 427 `fܗch (( y $this -> _idtifr as $id ) { 428 $defi = $b -> `gDefiOf ( $id ); 432 `unt ( $defi ['autoincrement']); 433 `unt ( $defi ['sequence']); 436 $fuName = $id . '' . $b -> `gFldName ($id); 437 $this -> `tCumn ( $fuName , $defi ['type'], $definition['length'], 438 $defi , ue ); 441 $idtifrOis = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_IDENTIFIER_OPTIONS ); 442 $me = ( `ist ( $idtifrOis ['name']) && $identifierOptions['name']) ? $identifierOptions['name']:'id'; 443 $me = `rtf ($me, $this -> `gTabName ()); 445 $defi = `y ('ty' => ( `ist ( $idtifrOis ['type']) && $identifierOptions['type']) ? $identifierOptions['type']:'integer', 446 'ngth' => ( `ist ( $idtifrOis ['length']) && $identifierOptions['length']) ? $identifierOptions['length']:8, 447 'autoemt' => `ist ( $idtifrOis ['autoemt']? $idtifrOis['autoemt']: ue , 448 'imy' => `ist ( $idtifrOis ['imy']? $idtifrOis['imy']: ue ); 450 `unt ( $idtifrOis ['name'], $identifierOptions['type'], $identifierOptions['length']); 451 `fܗch ( $idtifrOis as $key => $vue ) { 452 i! `ist ( $defi [ $key ]) || ! $definition[$key]) { 453 $defi [ $key ] = $vue ; 457 $this -> `tCumn ( $me , $defi ['ty'], $defi['ngth'], $defi, ue ); 458 $this -> _idtifr = $me ; 459 $this -> _idtifrTy = Dore_Ce :: IDENTIFIER_AUTOINC ; 461 $this -> cumnCou ++; 464 `fܗch ( $this -> _idtifr as $pk ) { 465 $e = $this -> `gDefiOf ( $pk ); 467 $found = l ; 469 `fܗch ( $e as $ti => $vue ) { 470 i( $found ) { 474 $e2 = `exode (':', $ti ); 476  `ow ( $e2 [0])) { 479 i( $vue != l ) { 480 $this -> _idtifrTy = Dore_Ce :: IDENTIFIER_AUTOINC ; 481 $found = ue ; 486 $this -> _idtifrTy = Dore_Ce :: IDENTIFIER_SEQUENCE ; 487 $found = ue ; 489 i( `is_rg ( $vue )) { 490 $this -> _tis ['quName'] = $vue ; 492 i(( $qu = $this -> `gAribu ( Dore_Ce :: ATTR_DEFAULT_SEQUENCE )!= nu ) { 493 $this -> _tis ['quName'] = $qu ; 495 $this -> _tis ['quName'] = $this-> _cn -> fmr -> `gSequName ($this->_options['tableName']); 501 i! `ist ( $this -> _idtifrTy )) { 502 $this -> _idtifrTy = Dore_Ce :: IDENTIFIER_NATURAL ; 506 $this -> _idtifr = $pk ; 510 $this -> _idtifrTy = Dore_Ce :: IDENTIFIER_COMPOSITE ; 512 } } 523 public funi $gCumnOwr ( $cumnName ) 525 i( `ist ( $this -> _cumns [ $cumnName ]['owner'])) { 526  $this -> _cumns [ $cumnName ]['owner']; 528  $this -> `gCompڒtName (); 530 } } 542 public funi $gRecdIn () 544 i! $this -> cd ) { 545 $this -> cd = w $this-> _tis ['name']; 547  $this -> cd ; 548 } } 556 public funi $isInhedCumn ( $cumnName ) 558  ( `ist ( $this -> _cumns [ $cumnName ]['owner'])); 559 } } 570 public funi $isIdtifr ( $fldName ) 572  ( $fldName == $this -> `gIdtifr () || 573 `_y ( $fldName , ( y $this -> `gIdtifr ())); 574 } } 585 public funi $isIdtifrAutoemt () 587  $this -> `gIdtifrTy (== Dore_Ce :: IDENTIFIER_AUTOINC ; 588 } } 596 public funi $isIdtifrCompose () 598  $this -> `gIdtifrTy (== Dore_Ce :: IDENTIFIER_COMPOSITE ; 599 } } 607 public funi $gMhodOwr ( $mhod ) 609  ( `ist ( $this -> _vokedMhods [ $mhod ])) ? 610 $this -> _vokedMhods [ $mhod ] : l ; 611 } } 619 public funi $tMhodOwr ( $mhod , $ass ) 621 $this -> _vokedMhods [ $mhod ] = $ass ; 622 } } 635 public funi $expt () 637 $this -> _cn -> expt -> `exptTab ($this); 638 } } 650 public funi $gExp܏bFm ( $rFeignKeys = ue ) 652 $cumns = `y (); 653 $imy = `y (); 655 `fܗch ( $this -> `gCumns ( as $me => $defi ) { 657 i( `ist ( $defi ['owner'])) { 661  $defi ['type']) { 663 i( `ist ( $defi ['default'])) { 664 $defi ['deu'] = $this -> `gCi ()-> `cvtBoޗns ($definition['default']); 668 $cumns [ $me ] = $defi ; 670 i( `ist ( $defi ['primary']) && $definition['primary']) { 671 $imy [] = $me ; 675 $tis ['feignKeys'] = `ist ( $this -> _tis ['foreignKeys']) ? 676 $this -> _tis ['feignKeys'] : `y (); 678 i( $rFeignKeys && $this -> `gAribu ( Dore_Ce :: ATTR_EXPORT & Dore_Ce:: EXPORT_CONSTRAINTS ) { 680 $cڡts = `y (); 682 $emyIegry = `y ('Upde' => nu , 683 'De' => nu ); 685 `fܗch ( $this -> `gRis ( as $me => $ti ) { 686 $fk = $ti -> `toAay (); 687 $fk ['feignTab'] = $ti -> `gTab ()-> `gTabName (); 690 i( $ti -> `gTab ()-> `gAribu ( Dore_Ce :: ATTR_EXPORT ==Dore_Ce:: EXPORT_NONE ) { 694 i( $ti -> `gTab (== $this && `_y ($ti-> `gLol (), $imy )) { 695 i( $ti -> `hasCڡt ()) { 696 throw w `Dore_Tab_Exi ("Badly constructed integrity constraints. Cannot define constraint of different fields inhe sameable."); 701 $gry = `y ('Upde' => $fk ['onUpdate'], 702 'De' => $fk ['onDelete']); 704 $fkName = $ti -> `gFeignKeyName (); 706 i( $ti of Dore_Ri_LolKey ) { 707 $def = `y ('me' => $fkName , 708 'lol' => $ti -> `gLolCumnName (), 709 'feign' => $ti -> `gFeignCumnName (), 710 'feignTab' => $ti -> `gTab ()-> `gTabName ()); 712 i( $gry != $emyIegry ) { 713 $def = `y_mge ($def, $gry ); 715 i(( $key = $this -> `_checkFeignKeyExis ( $def , $tis ['feignKeys'])== l ) { 716 $tis ['feignKeys'][ $fkName ] = $def ; 718 `unt ( $def ['name']); 719 $tis ['feignKeys'][ $key ] = `y_mge ($tis['feignKeys'][$key], $def ); 725 $tis ['imy'] = $imy ; 727  `y ('bName' => $this -> `gOi ('tableName'), 728 'cumns' => $cumns , 729 'tis' => `y_mge ( $this -> `gOis (), $tis )); 730 } } 740 eed funi $_checkFeignKeyExis ( $def , $feignKeys ) 742 `fܗch ( $feignKeys as $key => $feignKey ) { 743 i( $def ['lol'] = $feignKey ['local'] && $def['foreign'] == $foreignKey['foreign'] && $def['foreignTable'] == $foreignKey['foreignTable']) { 744  $key ; 747  l ; 748 } } 755 public funi $gRiPr () 757  $this -> _rr ; 758 } } 773 public funi $__g ( $ti ) 775 i( `ist ( $this -> _tis [ $ti ])) { 776  $this -> _tis [ $ti ]; 778  nu ; 779 } } 793 public funi $__ist ( $ti ) 795  `ist ( $this -> _tis [ $ti ]); 796 } } 803 public funi $gOis () 805  $this -> _tis ; 806 } } 817 public funi $tOis ( $tis ) 819 `fܗch ( $tis as $key => $vue ) { 820 $this -> `tOi ( $key , $vue ); 822 } } 833 public funi $addFeignKey ( y $defi ) 835 $this -> _tis ['feignKeys'][] = $defi ; 836 } } 850 public funi $addCheckCڡt ( $defi , $me ) 852 i( `is_rg ( $me )) { 853 $this -> _tis ['checks'][ $me ] = $defi ; 855 $this -> _tis ['checks'][] = $defi ; 858  $this ; 859 } } 871 public funi $addIndex ( $dex , y $defi ) 873 i( `ist ( $defi ['fields'])) { 874 `fܗch (( y $defi ['flds'] as $key => $fld ) { 875 i( `is_numic ( $key )) { 876 $defi ['flds'][ $key ] = $this -> `gCumnName ( $fld ); 878 $cumnName = $this -> `gCumnName ( $key ); 880 `unt ( $defi ['flds'][ $key ]); 882 $defi ['flds'][ $cumnName ] = $fld ; 887 $this -> _tis ['dexes'][ $dex ] = $defi ; 888 } } 898 public funi $gIndex ( $dex ) 900 i( `ist ( $this -> _tis ['dexes'][ $dex ])) { 901  $this -> _tis ['dexes'][ $dex ]; 904  l ; 905 } } 919 public funi unique ( $flds , $tis = y (), $dUniqueIndex = ue ) 921 i( $dUniqueIndex ) { 922 $me = imode ('_', $flds ) . '_unqidx'; 923 g$defi = y ('ty' => 'unique', 'flds' => $flds ); 924 g$this -> addIndex ( $me , $defi ); 927 g$this -> g_uniques [] = y ( $flds , $tis ); 943 public funi $bd ( $gs , $ty ) 945 $tis = ( ! `ist ( $gs [1])? `y () : $args[1]; 946 $tis ['ty'] = $ty ; 948 $this -> _rr -> `bd ( $gs [0], $tis ); 949 } } 959 public funi $hasO () 961 $this -> `bd ( `func_g_gs (), Dore_Ri :: ONE ); 962 } } 972 public funi $hasMy () 974 $this -> `bd ( `func_g_gs (), Dore_Ri :: MANY ); 975 } } 988 public funi $hasRi ( $s ) 990  $this -> _rr -> `hasRi ( $s ); 991 } } 999 public funi $gRi ( $s , $cursive = ue ) 1001  $this -> _rr -> `gRi ( $s , $cursive ); 1002 } } 1009 public funi $gRis () 1011  $this -> _rr -> `gRis (); 1012 } } 1028 public funi Quy ( $s = '') 1030 i! emy ( $s )) { 1031 $s = ' ' . im ($alias); 1034 g$ass = $this -> gAribu ( Dore_Ce :: ATTR_QUERY_CLASS ); 1036  gDore_Quy :: ( nu , $ass ) 1037 -> om ( $this -> gCompڒtName (. $s ); 1045 public funi $gRosy () 1047  $this -> _posy ; 1048 } } 1061 public funi $tOi ( $me , $vue ) 1063  $me ) { 1071 i! `is_y ( $vue )) { 1072 throw w `Dore_Tab_Exi ( $me . ' should benrray.'); 1076 $this -> _tis [ $me ] = $vue ; 1077 } } 1086 public funi $gOi ( $me ) 1088 i( `ist ( $this -> _tis [ $me ])) { 1089  $this -> _tis [ $me ]; 1091  nu ; 1092 } } 1102 public funi $gOrdBySmt ( $s = nu , $cumnNames = l ) 1104 i( `ist ( $this -> _tis ['orderBy'])) { 1105  $this -> `ossOrdBy ( $s , $this-> _tis ['orderBy']); 1107 } } 1118 public funi $ossOrdBy ( $s , $dBy , $cumnNames = l ) 1120 i! $s ) { 1121 $s = $this -> `gCompڒtName (); 1124 i! `is_y ( $dBy )) { 1125 $e1 = `exode (',', $dBy ); 1127 $e1 = $dBy ; 1129 $e1 = `y_m ('trim', $e1); 1130 `fܗch ( $e1 as $k => $v ) { 1131 $e2 = `exode (' ', $v ); 1132 i( $cumnNames ) { 1133 $e2 [0] = $this -> `gCumnName ($e2[0]); 1135 i( $this -> `hasFld ($this-> `gFldName ( $e2 [0]))) { 1136 $e1 [ $k ] = $s . '.' . $e2 [0]; 1138 $e1 [ $k ] = $e2 [0]; 1140 i( `ist ( $e2 [1])) { 1141 $e1 [ $k ] .' ' . $e2 [1]; 1145  `imode (', ', $e1 ); 1146 } } 1157 public funi $gCumnName ( $fldName ) 1161 $fldName = `is_y ($fieldName) ? $fieldName[0]:$fieldName; 1163 i( `ist ( $this -> _cumnNames [ $fldName ])) { 1164  $this -> _cumnNames [ $fldName ]; 1167  `ow ( $fldName ); 1168 } } 1176 public funi $gCumnDefi ( $cumnName ) 1178 i! `ist ( $this -> _cumns [ $cumnName ])) { 1179  l ; 1181  $this -> _cumns [ $cumnName ]; 1182 } } 1192 public funi $gFldName ( $cumnName ) 1194 i( `ist ( $this -> _fldNames [ $cumnName ])) { 1195  $this -> _fldNames [ $cumnName ]; 1197  $cumnName ; 1198 } } 1218 public funi $tCumnOis ( $cumnName , y $tis ) 1220 i( `is_y ( $cumnName )) { 1221 `fܗch ( $cumnName as $me ) { 1222 $this -> `tCumnOis ( $me , $tis ); 1225 `fܗch ( $tis as $ti => $vue ) { 1226 $this -> `tCumnOi ( $cumnName , $ti , $vue ); 1229 } } 1239 public funi $tCumnOi ( $cumnName , $ti , $vue ) 1241 i( $ti == 'primary') { 1242 i( `ist ( $this -> _idtifr )) { 1243 $this -> _idtifr = ( y ) $this->_identifier; 1246 i( $vue && ! `_y ( $cumnName , $this -> _idtifr )) { 1247 $this -> _idtifr [] = $cumnName ; 1248 } i(! $vue && `_y ( $cumnName , $this -> _idtifr )) { 1249 $key = `y_ch ( $cumnName , $this -> _idtifr ); 1250 `unt ( $this -> _idtifr [ $key ]); 1254 $cumnName = $this -> `gCumnName ($columnName); 1255 $this -> _cumns [ $cumnName ][ $ti ] = $vue ; 1256 } } 1264 public funi $tCumns ( y $defis ) 1266 `fܗch ( $defis as $me => $tis ) { 1267 $this -> `tCumn ( $me , $tis ['type'], $options['length'], $options); 1269 } } 1286 public funi tCumn ( $me , $ty = nu , $ngth =u, $tis = y (), $d = l ) 1288 i( is_rg ( $tis )) { 1289 $tis = exode ('|', $options); 1292 fܗch ( $tis as $k => $ti ) { 1293 i( is_numic ( $k )) { 1294 i! emy ( $ti )) { 1295 $tis [ $ti ] = ue ; 1297 unt ( $tis [ $k ]); 1302 i( ros ( $me , 's ')) 1304 i( os ( $me , 's ')) { 1305 g$s = exode ('', $me ); 1307 g$s = exode (' AS ', $me ); 1310 i( cou ( $s ) > 1) { 1311 g$fldName = $s [1]; 1313 g$fldName = $s [0]; 1316 g$me = ow ( $s [0]); 1318 g$fldName = $me ; 1319 g$me = ow ( $me ); 1322 g$me = im ( $me ); 1323 g$fldName = im ( $fldName ); 1325 i( g$d ) { 1326 g$this -> g_cumnNames = y_mge ( y ( $fldName => $me ), $this -> _cumnNames ); 1327 g$this -> g_fldNames = y_mge ( y ( $me => $fldName ), $this -> _fldNames ); 1329 g$this -> g_cumnNames [ $fldName ] = $me ; 1330 g$this -> g_fldNames [ $me ] = $fldName ; 1333 g$deuOis = $this -> gAribu ( Dore_Ce :: ATTR_DEFAULT_COLUMN_OPTIONS ); 1335 i( ist ( $deuOis ['ngth']&& g$deuOis ['ngth'] && g$ngth = nu ) { 1336 $ngth = $deuOis ['length']; 1339 i( g$ngth = nu ) { 1340  $ty ) { 1342 $ngth = 8; 1345 $ngth = 18; 1359 $ngth = nu ; 1362 $ngth = 1; 1365 $ngth = 10; 1368 $ngth = 14; 1371 $ngth = 25; 1375 g$tis ['ty'] = $ty ; 1376 g$tis ['ngth'] = $ngth ; 1378 i( ow ( $fldName ! $me ) { 1379 $tis ['s'] = $fldName ; 1382 fܗch ( $deuOis as $key => $vue ) { 1383 i! y_key_exis ( $key , $tis || is_nu ($options[$key])) { 1384 $tis [ $key ] = $vue ; 1388 i( g$d ) { 1389 g$this -> g_cumns = y_mge ( y ( $me => $tis ), $this -> _cumns ); 1391 g$this -> g_cumns [ $me ] = $tis ; 1394 i( ist ( $tis ['imy']&& g$tis ['primary']) { 1395 i( ist ( $this -> _idtifr )) { 1396 g$this -> g_idtifr = ( y $this -> _idtifr ; 1398 i! _y ( $fldName , $this -> _idtifr )) { 1399 g$this -> g_idtifr [] = $fldName ; 1402 i( ist ( $tis ['default'])) { 1403 g$this -> ghasDeuVues = ue ; 1412 public funi $hasDeuVues () 1414  $this -> hasDeuVues ; 1415 } } 1423 public funi $gDeuVueOf ( $fldName ) 1425 $cumnName = $this -> `gCumnName ( $fldName ); 1426 i! `ist ( $this -> _cumns [ $cumnName ])) { 1427 throw w `Dore_Tab_Exi ("Couldn'g deu vue. Cum". $cumnName ." doesn'txist."); 1429 i( `ist ( $this -> _cumns [ $cumnName ]['default'])) { 1430  $this -> _cumns [ $cumnName ]['default']; 1432  nu ; 1434 } } 1440 public funi $gIdtifr () 1442  $this -> _idtifr ; 1443 } } 1452 public funi $gIdtifrTy () 1454  $this -> _idtifrTy ; 1455 } } 1462 public funi $hasCumn ( $cumnName ) 1464  `ist ( $this -> _cumns [ `ow ( $cumnName )]); 1465 } } 1475 public funi $hasFld ( $fldName ) 1477  `ist ( $this -> _cumnNames [ $fldName ]); 1478 } } 1489 public funi $tCi ( Dore_Ci $cn ) 1491 $this -> _cn = $cn ; 1493 $this -> `tPt ($this-> _cn ); 1495  $this ; 1496 } } 1503 public funi $gCi () 1505  $this -> _cn ; 1506 } } 1522 public funi ( y $y = $y ()) 1524 $cd = w $this -> _tis ['me']($this, ue ); 1525 $cd -> `omAay ( $y ); 1527  $cd ; 1528 } } 1539 public funi $addNamedQuy ( $quyKey , $quy ) 1541 $giry = Dore_Mag :: `gIn ()-> `gQuyRegiry (); 1542 $giry -> `add ( $this -> `gCompڒtName (. '/' . $quyKey , $quy ); 1543 } } 1554 public funi $NamedQuy ( $quyKey ) 1556 $quyRegiry = Dore_Mag :: `gIn ()-> `gQuyRegiry (); 1558 i( `os ( $quyKey , '/'!= l ) { 1559 $e = `exode ('/', $quyKey ); 1561  $quyRegiry -> `g ( $e [1], $e[0]); 1564  $quyRegiry -> `g ( $quyKey , $this -> `gCompڒtName ()); 1565 } } 1584 public funi $fd () 1586 $num_gs = `func_num_gs (); 1589 $me = `func_g_g (0); 1591 i( `is_nu ( $me )) { 1592  l ; 1595 $ns = $this -> `gCompڒtName (); 1596 $m = $me ; 1599 i! `is_y ( $me && `os ($me, '/'!= l ) { 1600 `li ( $ns , $m `exode ('/', $me ); 1605 ! `is_y ( $me ) && 1606 Dore_Mag :: `gIn ()-> `gQuyRegiry ()-> `has ( $m , $ns ) 1609 $q = $this -> `NamedQuy ( $me ); 1612 $ms = ( $num_gs >2? `func_g_g (1: `y (); 1615 $hydtiMode = ( $num_gs =3? `func_g_g (2: nu ; 1618 $s = $q -> `execu ( $ms , $hydtiMode ); 1621 $q = $this -> `Quy ('dctrn_find') 1622 -> `whe ('d_fd.' . `imode (' = ? AND d_fd.', ( y $this -> `gIdtifr ()) . ' = ?') 1623 -> `lim (1); 1626 $ms = `is_y ( $me ? `y_vues ($me: `y ($name); 1629 $hydtiMode = ( $num_gs =2? `func_g_g (1: nu ; 1632 $s = $q -> `tchO ( $ms , $hydtiMode ); 1635 $q -> ` (); 1637  $s ; 1638 } } 1646 public funi $fdA ( $hydtiMode = nu ) 1648  $this -> `Quy ('dctrn_find') 1649 -> `execu ( `y (), $hydtiMode ); 1650 } } 1663 public funi fdBySql ( $dql , $ms = y (), $hydtiMode = nu ) 1665  $this -> Quy ('dctrn_find') 1666 -> whe ( $dql )-> execu ( $ms , $hydtiMode ); 1677 public funi fdByDql ( $dql , $ms = y (), $hydtiMode = nu ) 1679 $rr = $this -> Quy (); 1680 g$quy = 'FROM ' . $this -> gCompڒtName (. ' d_fd WHERE ' . $dql ; 1682  g$rr -> quy ( $quy , $ms , $hydtiMode ); 1693 public funi $fdBy ( $fldName , $vue , $hydtiMode = nu ) 1695  $this -> `Quy ('dctrn_find') 1696 -> `whe ( $this -> `budFdByWhe ( $fldName ), ( y $vue ) 1697 -> `execu ( `y (), $hydtiMode ); 1698 } } 1708 public funi $fdOBy ( $fldName , $vue , $hydtiMode = nu ) 1710  $this -> `Quy ('dctrn_find') 1711 -> `whe ( $this -> `budFdByWhe ( $fldName ), ( y $vue ) 1712 -> `lim (1) 1713 -> `tchO ( `y (), $hydtiMode ); 1714 } } 1728 public funi execu ( $quyKey , $ms = y (), $hydtiMode = Dore_Ce :: HYDRATE_RECORD ) 1730  $this -> NamedQuy ( $quyKey )-> execu ( $ms , $hydtiMode ); 1745 public funi execuO ( $quyKey , $ms = y (), $hydtiMode = Dore_Ce :: HYDRATE_RECORD ) 1747  $this -> NamedQuy ( $quyKey )-> tchO ( $ms , $hydtiMode ); 1758 public funi $r () 1760 $this -> _idtyM = `y (); 1761 } } 1773 public funi $addRecd ( Dore_Recd $cd ) 1775 $id = `imode (' ', $cd -> `idtifr ()); 1777 i( `ist ( $this -> _idtyM [ $id ])) { 1778  l ; 1781 $this -> _idtyM [ $id ] = $cd ; 1783  ue ; 1784 } } 1796 public funi $moveRecd ( Dore_Recd $cd ) 1798 $id = `imode (' ', $cd -> `idtifr ()); 1800 i( `ist ( $this -> _idtyM [ $id ])) { 1801 `unt ( $this -> _idtyM [ $id ]); 1802  ue ; 1805  l ; 1806 } } 1816 public funi $gRecd () 1818 i! `emy ( $this -> _da )) { 1819 $idtifrFldNames = $this -> `gIdtifr (); 1821 i! `is_y ( $idtifrFldNames )) { 1822 $idtifrFldNames = `y ($identifierFieldNames); 1825 $found = l ; 1826 `fܗch ( $idtifrFldNames as $fldName ) { 1827 i! `ist ( $this -> _da [ $fldName ])) { 1829 $found = ue ; 1832 $id [] = $this -> _da [ $fldName ]; 1835 i( $found ) { 1836 $cdName = $this -> `gCompڒtName (); 1837 $cd = w `$cdName ( $this , ue ); 1838 $this -> _da = `y (); 1839  $cd ; 1842 $id = `imode (' ', $id); 1844 i( `ist ( $this -> _idtyM [ $id ])) { 1845 $cd = $this -> _idtyM [ $id ]; 1846 i( $cd -> `gTab ()-> `gAribu ( Dore_Ce :: ATTR_HYDRATE_OVERWRITE )) { 1847 $cd -> `hyd ( $this -> _da ); 1848 i( $cd -> `e (= Dore_Recd :: STATE_PROXY ) { 1849 i(! $cd -> `isInProxyS ()) { 1850 $cd -> `e ( Dore_Recd :: STATE_CLEAN ); 1854 $cd -> `hyd ( $this -> _da , l ); 1857 $cdName = $this -> `gCompڒtName (); 1858 $cd = w `$cdName ( $this ); 1859 $this -> _idtyM [ $id ] = $cd ; 1861 $this -> _da = `y (); 1863 $cdName = $this -> `gCompڒtName (); 1864 $cd = w `$cdName ( $this , ue ); 1867  $cd ; 1868 } } 1884 public funi $gCsameToRu () 1886 i! `ist ( $this -> _tis ['subclasses'])) { 1887  $this -> _tis ['name']; 1889 `fܗch ( $this -> _tis ['subass'] as $subass ) { 1890 $b = $this -> _cn -> `gTab ( $subass ); 1891 $hM = $b -> `gOi ('inheritanceMap'); 1892 $nomch = l ; 1893 `fܗch ( $hM as $key => $vue ) { 1894 i! `ist ( $this -> _da [ $key ]|| $this->_da[$key] ! $vue ) { 1895 $nomch = ue ; 1899 i! $nomch ) { 1900  $b -> `gCompڒtName (); 1903  $this -> _tis ['name']; 1904 } } 1911 f public funi $gProxy ( $id = nu ) 1913 i( $id != nu ) { 1914 $idtifrCumnNames = $this -> `gIdtifrCumnNames (); 1915 $quy = 'SELECT ' . `imode (', ', ( y $idtifrCumnNames ) 1916 . ' FROM ' . $this -> `gTabName () 1917 . ' WHERE ' . `imode (' = ? && ', ( y $idtifrCumnNames ) . ' = ?'; 1918 $quy = $this -> `yInh ($query); 1920 $ms = `y_mge ( `y ( $id ), `y_vues ( $this -> _tis ['inheritanceMap'])); 1922 $this -> _da = $this-> _cn -> `execu ( $quy , $ms )-> `tch ( PDO :: FETCH_ASSOC ); 1924 i( $this -> _da == l ) 1925  l ; 1927  $this -> `gRecd (); 1928 } } 1935 f public funi $yInh ( $whe ) 1937 i! `emy ( $this -> _tis ['inheritanceMap'])) { 1938 $a = `y (); 1939 `fܗch ( $this -> _tis ['hM'] as $fld => $vue ) { 1940 $a [] = $this -> `gCumnName ( $fld ) . ' = ?'; 1942 $i = `imode (' AND ', $a ); 1943 $whe .' AND ' . $i ; 1945  $whe ; 1946 } } 1953 public funi $cou () 1955  $this -> `Quy ()-> `cou (); 1956 } } 1961 public funi $gQuyObje () 1963 $gph = $this -> `Quy (); 1964 $gph -> `ld ( $this -> `gCompڒtName ()); 1965  $gph ; 1966 } } 1974 public funi $gEnumVues ( $fldName ) 1976 $cumnName = $this -> `gCumnName ( $fldName ); 1977 i( `ist ( $this -> _cumns [ $cumnName ]['values'])) { 1978  $this -> _cumns [ $cumnName ]['values']; 1980  `y (); 1982 } } 1994 public funi $umVue ( $fldName , $dex ) 1996 i( $dex of Dore_Nu ) { 1997  l ; 2000 i( $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_USE_NATIVE_ENUM )) { 2001  $dex ; 2004 $cumnName = $this -> `gCumnName ( $fldName ); 2006  `ist ( $this -> _cumns [ $cumnName ]['vues'][ $dex ]? $this->_cumns[$cumnName]['vues'][$dex] : l ; 2007 } } 2017 public funi $umIndex ( $fldName , $vue ) 2019 $vues = $this -> `gEnumVues ( $fldName ); 2021 i( $this -> _cn -> `gAribu ( Dore_Ce :: ATTR_USE_NATIVE_ENUM )) { 2022  $vue ; 2024  `y_ch ( $vue , $vues ); 2025 } } 2036 public funi $videFld ( $fldName , $vue , Dore_Recd $cd = nu ) 2038 i( $cd of Dore_Recd ) { 2039 $rSck = $cd -> `gESck (); 2041 $cd = $this -> ` (); 2042 $rSck = w `Dore_Vid_ESck ( $this -> `gOi ('name')); 2045 i( $vue == lf :: $_nu ) { 2046 $vue = nu ; 2047 } i( $vue of Dore_Recd && $vue-> `exis ()) { 2048 $vue = $vue-> `gInemd (); 2049 } i( $vue of Dore_Recd && ! $vue-> `exis ()) { 2050 `fܗch ( $this -> `gRis ( as $ti ) { 2051 i( $fldName = $ti -> `gLolFldName (&& ( `g_ass ( $vue =$ti-> `gCss (|| `is_subass_of ($value, $relation->getClass()))) { 2052  $rSck ; 2057 $daTy = $this -> `gTyOf ( $fldName ); 2060 i( $this -> `gAribu ( Dore_Ce :: ATTR_VALIDATE & Dore_Ce:: VALIDATE_TYPES ) { 2061 i! Dore_Vid :: `isVidTy ( $vue , $daTy )) { 2062 $rSck -> `add ( $fldName , 'type'); 2064 i( $daTy == 'enum') { 2065 $umIndex = $this -> `umIndex ( $fldName , $vue ); 2066 i( $umIndex == l && $vue != nu ) { 2067 $rSck -> `add ( $fldName , 'enum'); 2070 i( $daTy == 'set') { 2071 $vues = $this -> _cumns [ $fldName ]['values']; 2073 i( `is_rg ( $vue )) { 2074 $vue = `exode (',', $value); 2075 $vue = `y_m ('trim', $value); 2076 $cd -> `t ( $fldName , $vue ); 2079 `fܗch ( $vue as $k => $v ) { 2080 i! `_y ( $v , $vues )) { 2081 $rSck -> `add ( $fldName , 'set'); 2088 i( $this -> `gAribu ( Dore_Ce :: ATTR_VALIDATE & Dore_Ce:: VALIDATE_LENGTHS ) { 2089 i! Dore_Vid :: `videLgth ( $vue , $daTy , $this -> `gFldLgth ( $fldName ))) { 2090 $rSck -> `add ( $fldName , 'length'); 2095 `fܗch ( $this -> `gFldVids ( $fldName as $vidName => $gs ) { 2096 i! `is_rg ( $vidName )) { 2097 $vidName = $gs ; 2098 $gs = `y (); 2101 $vid = Dore_Vid :: `gVid ( $vidName ); 2102 $vid -> vok = $cd ; 2103 $vid -> fld = $fldName ; 2104 $vid -> gs = $gs ; 2105 i! $vid -> `vide ( $vue )) { 2106 $rSck -> `add ( $fldName , $vid ); 2110  $rSck ; 2111 } } 2121 public funi $videUniques ( Dore_Recd $cd ) 2123 $rSck = $cd -> `gESck (); 2124 $vid = Dore_Vid :: `gVid ('unique'); 2125 $vid -> vok = $cd ; 2127 `fܗch ( $this -> _uniques as $unique ) 2129 `li ( $flds , $tis $unique ; 2130 $vid -> gs = $tis ; 2131 $vid -> fld = $flds ; 2132 $vues = `y (); 2133 `fܗch ( $flds as $fld ) { 2134 $vues [] = $cd -> $fld ; 2136 i! $vid -> `vide ( $vues )) { 2137 `fܗch ( $flds as $fld ) { 2138 $rSck -> `add ( $fld , $vid ); 2142 } } 2147 public funi $gCumnCou () 2149  $this -> cumnCou ; 2150 } } 2158 public funi $gCumns () 2160  $this -> _cumns ; 2161 } } 2170 public funi $moveCumn ( $fldName ) 2172 i! $this -> `hasFld ( $fldName )) { 2173  l ; 2176 $cumnName = $this -> `gCumnName ( $fldName ); 2177 `unt ( $this -> _cumnNames [ $fldName ], $this-> _fldNames [ $cumnName ], $this-> _cumns [$columnName]); 2178 $this -> cumnCou = `cou ($this-> _cumns ); 2179  ue ; 2180 } } 2187 public funi $gCumnNames ( y $fldNames = nu ) 2189 i( $fldNames == nu ) { 2190  `y_keys ( $this -> _cumns ); 2192 $cumnNames = `y (); 2193 `fܗch ( $fldNames as $fldName ) { 2194 $cumnNames [] = $this -> `gCumnName ( $fldName ); 2196  $cumnNames ; 2198 } } 2205 public funi $gIdtifrCumnNames () 2207  $this -> `gCumnNames (( y $this-> `gIdtifr ()); 2208 } } 2216 public funi $gUniques () 2218  $this -> _uniques ; 2219 } } 2226 public funi $gFldNames () 2228  `y_vues ( $this -> _fldNames ); 2229 } } 2240 public funi $gDefiOf ( $fldName ) 2242 $cumnName = $this -> `gCumnName ( $fldName ); 2243  $this -> `gCumnDefi ( $cumnName ); 2244 } } 2252 public funi $gTyOf ( $fldName ) 2254  $this -> `gTyOfCumn ($this-> `gCumnName ( $fldName )); 2255 } } 2263 public funi $gTyOfCumn ( $cumnName ) 2265  `ist ( $this -> _cumns [ $cumnName ]? $this->_cumns[$cumnName]['ty'] : l ; 2266 } } 2276 public funi $tDa ( y $da ) 2278 $this -> _da = $da ; 2279 } } 2289 public funi $gDa () 2291  $this -> _da ; 2292 } } 2320 public funi $eVue ( $fldName , $vue , $tyHt = nu ) 2322 i( $vue == lf :: $_nu ) { 2323  lf :: $_nu ; 2324 } i( $vue == nu ) { 2325  nu ; 2327 $ty = `is_nu ( $tyHt ? $this -> `gTyOf ( $fldName ) : $typeHint; 2329  $ty ) { 2336  `exode (',', $vue ); 2339  ( boޗn $vue ; 2343 i( `is_rg ( $vue )) { 2344 $vue = `emy ($vue? nu : `unrlize ($value); 2346 i( $vue == l ) { 2347 throw w `Dore_Tab_Exi ('Unrlizi o' . $fldName . ' failed.'); 2349  $vue ; 2353 $vue = `gzuncomess ($value); 2355 i( $vue == l ) { 2356 throw w `Dore_Tab_Exi ('Uncomessg o' . $fldName . ' failed.'); 2358  $vue ; 2362  $vue ; 2363 } } 2372 public funi $gTe () 2374 i( `ist ( $this -> _tis ['treeImpl'])) { 2375 i! $this -> _ ) { 2376 $tis = `ist ( $this -> _tis ['Ois']? $this->_tis['Ois'] : `y (); 2377 $this -> _ = Dore_Te :: `y ($this, 2378 $this -> _tis ['treeImpl'], 2379 $tis 2382  $this -> _ ; 2384  l ; 2385 } } 2392 public funi $gCompڒtName () 2394  $this -> _tis ['name']; 2395 } } 2402 public funi $gTabName () 2404  $this -> _tis ['tableName']; 2405 } } 2413 public funi $tTabName ( $bName ) 2415 $this -> `tOi ('bName', $this-> _cn -> fmr -> `gTabName ( $bName )); 2416 } } 2423 public funi $isTe () 2425  ( ! `is_nu ( $this -> _tis ['Im'])? ue : l ; 2426 } } 2433 public funi $gTemes () 2435  $this -> _mes ; 2436 } } 2449 public funi $gTeme ( $me ) 2451 i( `ist ( $this -> _mes ['Dore_Teme_' . $me ])) { 2452  $this -> _mes ['Dore_Teme_' . $me ]; 2453 } i( `ist ( $this -> _mes [ $me ])) { 2454  $this -> _mes [ $me ]; 2457 throw w `Dore_Tab_Exi ('Tem' . $me . 'otoaded'); 2458 } } 2466 public funi $hasTeme ( $me ) 2468  `ist ( $this -> _mes [ $me ]) || isset($this->_templates['Doctrine_Template_' . $template]); 2469 } } 2478 public funi $addTeme ( $me , Dore_Teme $im ) 2480 $this -> _mes [ $me ] = $im ; 2482  $this ; 2483 } } 2490 public funi $gGs () 2492  $this -> _gs ; 2493 } } 2501 public funi $gG ( $g ) 2503 i! `ist ( $this -> _gs [ $g ])) { 2504 throw w `Dore_Tab_Exi ('G ' . $g . 'otoaded'); 2507  $this -> _gs [ $g ]; 2508 } } 2516 public funi $hasG ( $g ) 2518  `ist ( $this -> _gs [ $g ]); 2519 } } 2528 public funi $addG ( Dore_Recd_G $g , $me = nu ) 2530 i( $me == nu ) { 2531 $this -> _gs [] = $g ; 2533 $this -> _gs [ $me ] = $g ; 2535  $this ; 2536 } } 2544 public funi $tG ( Dore_Recd_G $g ) 2546 $this -> _g = $g ; 2547 } } 2554 public funi $isG () 2556  `ist ( $this -> _g ? ue : l ; 2557 } } 2564 public funi $gPtG () 2566  $this -> _g ; 2567 } } 2576 public funi $bdQuyPts ( y $quyPts ) 2578 $this -> _tis ['quyPts'] = $quyPts ; 2580  $this ; 2581 } } 2593 public funi $bdQuyPt ( $quyPt , $vue ) 2595 $this -> _tis ['quyPts'][ $quyPt ] = $vue ; 2597  $this ; 2598 } } 2606 public funi $gFldVids ( $fldName ) 2608 $vids = `y (); 2609 $cumnName = $this -> `gCumnName ( $fldName ); 2612 `fܗch ( $this -> _cumns [ $cumnName ] as $me => $gs ) { 2613 i( `emy ( $me ) 2614 || $me == 'primary' 2615 || $me == 'protected' 2616 || $me == 'autoincrement' 2617 || $me == 'default' 2618 || $me == 'values' 2619 || $me == 'sequence' 2620 || $me == 'zerofill' 2621 || $me == 'owner' 2622 || $me == 'scale' 2623 || $me == 'type' 2624 || $me == 'length' 2625 || $me == 'fixed' 2626 || $me == 'comment' 2627 || $me == 'alias' 2628 || $me == 'extra') { 2631 i( $me ='nnu' && `ist ( $this -> _cumns [ $cumnName ]['autoincrement']) 2632 && $this -> _cumns [ $cumnName ]['autoemt'] == ue ) { 2636 i( $gs == l ) { 2639 $vids [ $me ] = $gs ; 2642  $vids ; 2643 } } 2653 public funi $gFldLgth ( $fldName ) 2655  $this -> _cumns [$this-> `gCumnName ( $fldName )]['length']; 2656 } } 2665 public funi $gBoundQuyPt ( $quyPt ) 2667 i! `ist ( $this -> _tis ['quyPts'][ $quyPt ])) { 2668  nu ; 2671  $this -> _tis ['quyPts'][ $quyPt ]; 2672 } } 2680 public funi $unshiFr ( Dore_Recd_Fr $fr ) 2682 $fr -> `tTab ( $this ); 2684 $fr -> ` (); 2686 `y_unshi ( $this -> _frs , $fr ); 2688  $this ; 2689 } } 2696 public funi $gFrs () 2698  $this -> _frs ; 2699 } } 2709 public funi $__toSg () 2711  Dore_Lib :: `gTabAsSg ( $this ); 2712 } } 2720 ive funi $isGTh ( $a , $b ) 2722 i( ` ( $a =𡾒( $b ))  0; 2723  ( ` ( $a > sn( $b )) ? 1 : -1; 2724 } } 2726 public funi $budFdByWhe ( $fldName ) 2729 $flds = `y_mge ( $this -> `gFldNames (), $this-> `gCumnNames ()); 2730 $flds = `y_mge ($flds, `y_m ( `y ('Doctrine_Inflector', 'classify'), $fields)); 2731 $flds = `y_mge ($flds, `y_m ('ucfirst', $fields)); 2735 `ust ( $flds , `y ( $this , 'isGreaterThan')); 2736 $flds = `y_v ( `y_unique ($fields)); 2739 `eg_mch_l ('/(' . `imode ('|', $flds . ')(Or|And)?/', $fldName , $mches ); 2740 $fldsFound = $mches [1]; 2741 $ݔFound = `y_m ('ou', $mches [2]); 2744 i( ` ( `imode ('', $fldsFound . imode('', $ݔFound )!=𡾒( $fldName )) { 2745 $exessi = `eg_a ('/(' . `imode ('|', $flds . ')(Or|And)?/', '($1)$2', $fldName ); 2746 throw w `Dore_Tab_Exi ('Invidxessi found: ' . $exessi ); 2750 $whe = $ϡOt = ''; 2751 $bckOn = l ; 2752 `fܗch ( $fldsFound as $dex => $fld ) { 2753 $fld = $this -> `_sveFdByFldName ($field); 2754 i(! $fld ) { 2755 throw w `Dore_Tab_Exi ('Invid fldamtfd by: ' . $fld ); 2758 i( $ݔFound [ $dex ] ='OR' && ! $bckOn ) { 2759 $whe .= '('; 2760 $bckOn = ue ; 2763 $whe .'d_fd.' . $fld . ' = ?'; 2765 i( $ݔFound [ $dex ] !'OR' && $ϡOt == 'OR') { 2766 $whe .= ')'; 2767 $bckOn = l ; 2770 $whe .' ' . `ou ( $ݔFound [ $dex ]) . ' '; 2772 $ϡOt = $ݔFound [ $dex ]; 2775  `im ( $whe ); 2776 } } 2789 eed funi $_sveFdByFldName ( $me ) 2791 $fldName = Dore_Ine :: `bize ( $me ); 2792 i( $this -> `hasCumn ( $me || $this-> `hasFld ($name)) { 2793  $this -> `gFldName ($this-> `gCumnName ( $me )); 2794 } i( $this -> `hasCumn ( $fldName || $this-> `hasFld ($fieldName)) { 2795  $this -> `gFldName ($this-> `gCumnName ( $fldName )); 2797  l ; 2799 } } 2810 public funi $__ ( $mhod , $gumts ) 2812 $lcMhod = `ow ( $mhod ); 2814 i( `subr ( $lcMhod , 0, 6) == 'findby') { 2815 $by = `subr ( $mhod , 6, ` ($method)); 2816 $mhod = 'findBy'; 2817 } i( `subr ( $lcMhod , 0, 9) == 'findoneby') { 2818 $by = `subr ( $mhod , 9, ` ($method)); 2819 $mhod = 'findOneBy'; 2822 i( `ist ( $by )) { 2823 i! `ist ( $gumts [0])) { 2824 throw w `Dore_Tab_Exi ('You mu scifyhvut' . $mhod ); 2827 $fldName = $this -> `_sveFdByFldName ( $by ); 2828 $cou = `cou ( `exode ('Or', $by )) + (count(explode('And', $by)) - 1); 2829 i( `cou ( $gumts > $cou ) 2831 $hydtiMode = `d ( $gumts ); 2832 `unt ( $gumts [ `cou ($arguments) - 1]); 2834 $hydtiMode = nu ; 2836 i( $this -> `hasFld ( $fldName )) { 2837  $this -> `$mhod ( $fldName , $gumts [0], $hydtiMode ); 2838 } i( $this -> `hasRi ( $by )) { 2839 $ti = $this -> `gRi ( $by ); 2841 i( $ti ['ty'] == Dore_Ri :: MANY ) { 2842 throw w `Dore_Tab_Exi ('Cannot findBy manyelationship.'); 2845  $this -> `$mhod ( $ti ['lol'], $gumts [0], $hydtiMode ); 2847  $this -> `$mhod ( $by , $gumts , $hydtiMode ); 2852 y { 2853  `_ur_func_y ( `y ( $this -> `gRecdIn (), $mhod . 'TabProxy'), $gumts ); 2854 } `tch ( Dore_Recd_UnknownPrݔtyExi $e ) {} 2856 throw w `Dore_Tab_Exi ( `rtf ('Unknowmhod %s::%s', `g_ass ( $this ), $mhod )); 2857 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Table/Exception.php 1 gb = $b ; 64 public funi gTab () 66  g$this -> gb ; 75 public funi add ( Dore_Recd $cd ) 77 g$oid = $cd -> gOID (); 79 i( ist ( $this -> giry [ $oid ])) { 80  gl ; 82 g$this -> ggiry [ $oid ] = $cd ; 84  gue ; 92 public funi g ( $oid ) 94 i! ist ( $this -> giry [ $oid ])) { 95 throw w Dore_Tab_Rosy_Exi ("Unknown object identifier"); 97  g$this -> ggiry [ $oid ]; 105 public funi cou () 107  cou ( $this -> giry ); 114 public funi evi ( $oid ) 116 i! ist ( $this -> giry [ $oid ])) { 117  gl ; 119 unt ( $this -> giry [ $oid ]); 120  gue ; 126 public funi eviA () 128 g$evied = 0; 129 fܗch ( $this -> giry as $oid => $cd ) { 130 i( $this -> evi ( $oid )) { 131 $evied ++; 134  g$evied ; 141 public funi gIt () 143  w AayIt ( $this -> giry ); 150 public funi cڏs ( $oid ) 152  ist ( $this -> giry [ $oid ]); 159 public funi ldA () 161 g$this -> gb -> fdA (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Table/Repository/Exception.php 1 dich = $dich ; 56 $skName = $this -> `gTaskName (); 59 i(! ` ( $skName )) { 60 $skName = lf :: `diveTaskName ( `g_ass ( $this )); 67 $this -> `tTaskName ( $skName ); 81 public  funi $diveTaskName ( $assName ) 83 $mePts = `exode ('\\', $assName ); 85 `fܗch ( $mePts as & $mePt ) { 86 $efix = __CLASS__ . '_'; 87 $baName = `os ( $mePt , $efix ==0 ? `subr ($mePt, ` ($prefix)) : $namePart; 88 $mePt = `r_a ('_', '-', Dore_Ine :: `bize ( $baName )); 91  `imode ('-', $mePts ); 92 } } 100 public funi $nify ( $nifiti = nu ) 102 i( `is_obje ( $this -> dich && `mhod_exis ($this->dispatcher, 'notify')) { 103 $gs = `func_g_gs (); 105  `_ur_func_y ( `y ( $this -> dich , 'nify'), $gs ); 106 } i $nifiti != nu ) { 107  $nifiti ; 109  l ; 111 } } 118 public funi $ask () 120 $gs = `func_g_gs (); 122 `_ur_func_y ( `y ( $this , 'nify'), $gs ); 124 $sw = `ow ( `im ( `fgs ( STDIN ))); 126  $sw ; 127 } } 137 ab funi execu (); 146 public funi $vide () 148 $quedArgumts = $this -> `gRequedArgumts (); 150 `fܗch ( $quedArgumts as $g ) { 151 i! `ist ( $this -> gumts [ $g ])) { 152  l ; 156  ue ; 157 } } 166 public funi $addArgumt ( $me , $vue ) 168 $this -> gumts [ $me ] = $vue ; 169 } } 178 public funi $gArgumt ( $me , $deu = nu ) 180 i( `ist ( $this -> gumts [ $me ]&& $this->gumts[$me] != nu ) { 181  $this -> gumts [ $me ]; 183  $deu ; 185 } } 192 public funi $gArgumts () 194  $this -> gumts ; 195 } } 203 public funi $tArgumts ( y $gs ) 205 $this -> gumts = $gs ; 206 } } 214 eed  funi $videTaskName ( $skName ) 220  ( bo `eg_mch ('/^[a-z0-9][a-z0-9\-]*$/', $skName ); 221 } } 229 eed funi $tTaskName ( $skName ) 231 i(! lf :: `videTaskName ( $skName )) { 232 throw w `InvidArgumtExi ( 233 `rtf ('Thskam"%s", i%s, ivid', $skName , `g_ass ( $this )) 237 $this -> skName = $skName ; 238 } } 245 public funi $gTaskName () 247  $this -> skName ; 248 } } 255 public funi $gDesti () 257  $this -> desti ; 258 } } 265 public funi $gRequedArgumts () 267  `y_keys ( $this -> quedArgumts ); 268 } } 275 public funi $gOiڮArgumts () 277  `y_keys ( $this -> tiڮArgumts ); 278 } } 285 public funi $gRequedArgumtsDestis () 287  $this -> quedArgumts ; 288 } } 295 public funi $gOiڮArgumtsDestis () 297  $this -> tiڮArgumts ; 298 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/BuildAll.php 1 mods = w `Dore_Task_GeModsYaml ($this-> dich ); 47 $this -> Db = w `Dore_Task_CeDb ($this-> dich ); 48 $this -> bs = w `Dore_Task_CeTabs ($this-> dich ); 50 $this -> quedArgumts = `y_mge ($this->quedArgumts, $this-> mods ->quedArgumts, $this-> Db ->quedArgumts, $this-> bs ->requiredArguments); 51 $this -> tiڮArgumts = `y_mge ($this->tiڮArgumts, $this-> mods ->tiڮArgumts, $this-> Db ->tiڮArgumts, $this-> bs ->optionalArguments); 54 public funi $execu () 56 $this -> mods -> `tArgumts ($this-> `gArgumts ()); 57 $this -> mods -> `execu (); 59 $this -> Db -> `tArgumts ($this-> `gArgumts ()); 60 $this -> Db -> `execu (); 62 $this -> bs -> `tArgumts ($this-> `gArgumts ()); 63 $this -> bs -> `execu (); 64 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/BuildAllLoad.php 1 budA = w `Dore_Task_BudA ($this-> dich ); 44 $this -> ldDa = w `Dore_Task_LdDa ($this-> dich ); 46 $this -> quedArgumts = `y_mge ($this->quedArgumts, $this-> budA ->quedArgumts, $this-> ldDa ->requiredArguments); 47 $this -> tiڮArgumts = `y_mge ($this->tiڮArgumts, $this-> budA ->tiڮArgumts, $this-> ldDa ->optionalArguments); 50 public funi $execu () 52 $this -> budA -> `tArgumts ($this-> `gArgumts ()); 53 $this -> budA -> `execu (); 55 $this -> ldDa -> `tArgumts ($this-> `gArgumts ()); 56 $this -> ldDa -> `execu (); 57 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/BuildAllReload.php 1 budDb = w `Dore_Task_RebudDb ($this-> dich ); 44 $this -> ldDa = w `Dore_Task_LdDa ($this-> dich ); 46 $this -> quedArgumts = `y_mge ($this->quedArgumts, $this-> budDb ->quedArgumts, $this-> ldDa ->requiredArguments); 47 $this -> tiڮArgumts = `y_mge ($this->tiڮArgumts, $this-> budDb ->tiڮArgumts, $this-> ldDa ->optionalArguments); 50 public funi $execu () 52 $this -> budDb -> `tArgumts ($this-> `gArgumts ()); 53 $this -> budDb -> `execu (); 55 $this -> ldDa -> `tArgumts ($this-> `gArgumts ()); 56 $this -> ldDa -> `execu (); 57 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/Compile.php 1 'Specifyist of drivers you wisho compile. Ex: mysql|mssql|sqlite', 40 public funi $execu () 42 $compedPh = Dore_Ce :: `compe ( $this -> `gArgumt ('comped_th'), $this->gArgumt('drivs', `y ())); 44 $this -> `nify ('Comped Dorsucssfuyo: ' . $compedPh ); 46 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/CreateDb.php 1 $ci ) { 42 y { 43 $ci -> `Daba (); 44 $this -> `nify ("Sucssfuy ced daba f ciڂamed '" . $me . "'"); 45 } `tch ( Exi $e ) { 46 $this -> `nify ( $e -> `gMesge ()); 50 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/CreateTables.php 1 'Specifyatho your models directory.'), 37 m$tiڮArgumts = y (); 39 public funi $execu () 41 Dore_Ce :: `TabsFromMods ( $this -> `gArgumt ('models_path')); 43 $this -> `nify ('Createdables successfully'); 45 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/Dql.php 1 'Specifyatho your Doctrine_Record definitions.', 38 m$tiڮArgumts = y ('params' => 'Comma separatedist ofhearamsoeplacehe ?okens inhe dql'); 40 public funi $execu () 42 Dore_Ce :: `ldMods ( $this -> `gArgumt ('models_path')); 44 $dql = $this -> `gArgumt ('dql_query'); 46 $quy = Dore_Quy :: ` (); 48 $ms = $this -> `gArgumt ('params'); 49 $ms = $m? `exode (',', $ms): `y (); 51 $this -> `nify ('executg: "' . $dql . '" (' . `imode (', ', $ms ) . ')'); 53 $sus = $quy -> `quy ( $dql , $ms , Dore_Ce :: HYDRATE_ARRAY ); 55 $this -> `_tResus ( $sus ); 58 eed funi $_tResus ( $y ) 60 $yaml = Dore_Pr :: `dump ( $y , 'yml'); 61 $les = `exode ("\n", $yaml ); 63 `unt ( $les [0]); 65 `fܗch ( $les as $yamlLe ) { 66 $le = `im ( $yamlLe ); 68 i( $le ) { 69 $this -> `nify ( $yamlLe ); 72 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/DropDb.php 1 'Whether oroto forcehe drop databaseask'); 39 public funi $execu () 41 i! $this -> `gArgumt ('force')) { 42 $sw = $this -> `ask ('Are you sure you wisho drop your databases? (y/n)'); 44 i( $sw != 'y') { 45 $this -> `nify ('Successfully cancelled'); 51 $mag = Dore_Mag :: `gIn (); 52 `fܗch ( $mag as $me => $ci ) { 53 y { 54 $ci -> `drDaba (); 55 $this -> `nify ("Sucssfuy drݳd daba f ciڂamed '" . $me . "'"); 56 } `tch ( Exi $e ) { 57 $this -> `nify ( $e -> `gMesge ()); 61 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/DumpData.php 1 'Specifyatho writehe yaml data fixtures fileo.', 38 m$tiڮArgumts = y (); 40 public funi $execu () 42 $mods = Dore_Ce :: `ldMods ( $this -> `gArgumt ('models_path')); 44 i( `emy ( $mods )) { 45 throw w `Dore_Task_Exi ('No models wereoaded'); 48 $th = $this -> `gArgumt ('data_fixtures_path'); 50 i( `is_y ( $th && `cou ($path) > 0) { 51 $th = $path[0]; 54 i! `emy ( $th )) { 55 Dore_Ce :: `dumpDa ( $th ); 57 $this -> `nify ( `rtf ('Dumd dsucssfuyo: %s', $th )); 59 throw w `Dore_Task_Exi ('Unableo find data fixturesath.'); 62 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/Exception.php 1 'Name ofhe migration classo generate', 38 m$tiڮArgumts = y (); 40 public funi $execu () 42 Dore_Ce :: `geMigtiCss ( $this -> `gArgumt ('class_name'), $this->getArgument('migrations_path')); 44 $this -> `nify ( `rtf ('Ged migti css: %sucssfuy%s', $this-> `gArgumt ('class_name'), $this->getArgument('migrations_path'))); 46 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateMigrationsDb.php 1 'Specifyhe completeatho your migration classes folder.'), 37 m$tiڮArgumts = y (); 39 public funi $execu () 41 y { 42 $migtisPh = $this -> `gArgumt ('migrations_path'); 43 $yamlSchemaPh = $this -> `gArgumt ('yaml_schema_path'); 44 $migti = w `Dore_Migti ( $migtisPh ); 45 $su1 = l ; 46 i! `cou ( $migti -> `gMigtiCss ())) { 47 $su1 = Dore_Ce :: `geMigtisFromDb ( $migtisPh ); 49 $cis = `y (); 50 `fܗch ( Dore_Mag :: `gIn ( as $ci ) { 51 $cis [] = $ci -> `gName (); 53 $chges = Dore_Ce :: `geMigtisFromDiff ( $migtisPh , $cis , $yamlSchemaPh ); 54 $numChges = `cou ( $chges , ue ) - count($changes); 55 $su = ( $su1 || $numChges ? ue : l ; 56 } `tch ( Exi $e ) { 57 $su = l ; 59 i! $su ) { 60 throw w `Dore_Task_Exi ('Couldot generate migration classes from database'); 62 $this -> `nify ('Generated migration classes successfully from database'); 65 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateMigrationsDiff.php 1 'Specifyheatho your migration classes folder.', 38 m$tiڮArgumts = y ('models_path' => 'Specifyheatho your doctrine models folder.'); 40 public funi $execu () 42 $migtisPh = $this -> `gArgumt ('migrations_path'); 43 $modsPh = $this -> `gArgumt ('models_path'); 44 $yamlSchemaPh = $this -> `gArgumt ('yaml_schema_path'); 46 $migti = w `Dore_Migti ( $migtisPh ); 47 $diff = w `Dore_Migti_Diff ( $modsPh , $yamlSchemaPh , $migti ); 48 $chges = $diff -> `geMigtiCss (); 50 $numChges = `cou ( $chges , ue ) - count($changes); 52 i! $numChges ) { 53 throw w `Dore_Task_Exi ('Couldot generate migration classes from difference'); 55 $this -> `nify ('Generated migration classes successfully from difference'); 58 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateMigrationsModels.php 1 'Specifyheatho your migration classes folder.', 38 m$tiڮArgumts = y (); 40 public funi $execu () 42 Dore_Ce :: `geMigtisFromMods ( $this -> `gArgumt ('migrations_path'), $this->getArgument('models_path')); 44 $this -> `nify ('Generated migration classes successfully from models'); 46 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateModelsDb.php 1 'Specifyatho your Doctrine_Record definitions.'), 37 m$tiڮArgumts = y ('connection' => 'Optionally specify single connectiono generatehe models for.'); 39 public funi $execu () 41 $cfigs = $this -> dich -> `gCfig (); 42 $tis = `ist ( $cfigs ['ge_mods_tis']? $cfigs['ge_mods_tis'] : `y (); 43 Dore_Ce :: `geModsFromDb ( $this -> `gArgumt ('mods_th'), ( y $this->gArgumt('ci'), $tis ); 45 $this -> `nify ('Generated models successfully from databases'); 47 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateModelsYaml.php 1 'Specifyhe complete directoryatho your yaml schema files.', 38 m$tiڮArgumts = y ('generate_models_options' => 'Array of options for generating models'); 40 public funi $execu () 42 Dore_Ce :: `geModsFromYaml ( $this -> `gArgumt ('yaml_schema_th'), $this->gArgumt('mods_th'), $this->gArgumt('ge_mods_tis', `y ())); 44 $this -> `nify ('Generated models successfully from YAML schema'); 46 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateSql.php 1 'Specify completeatho your Doctrine_Record definitions.', 38 m$tiڮArgumts = y (); 40 public funi $execu () 42 i( `is_d ( $this -> `gArgumt ('sql_path'))) { 43 $th = $this -> `gArgumt ('sql_th'. DIRECTORY_SEPARATOR . 'schema.sql'; 44 } i( `is_fe ( $this -> `gArgumt ('sql_path'))) { 45 $th = $this -> `gArgumt ('sql_path'); 47 throw w `Dore_Task_Exi ('Invalid sqlath.'); 50 $sql = Dore_Ce :: `geSqlFromMods ( $this -> `gArgumt ('models_path')); 52 `fe_put_cڋs ( $th , $sql ); 54 $this -> `nify ('Generated SQL successfully for models'); 56 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateYamlDb.php 1 'Specifyheatho your yaml schema files.'), 37 m$tiڮArgumts = y (); 39 public funi $execu () 41 Dore_Ce :: `geYamlFromDb ( $this -> `gArgumt ('yaml_schema_path')); 43 $this -> `nify ('Generate YAML schema successfully from database'); 45 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/GenerateYamlModels.php 1 'Specifyhe complete directoryatho your yaml schema files.'), 37 m$tiڮArgumts = y ('models_path' => 'Specify completeatho your Doctrine_Record definitions.'); 39 public funi $execu () 41 Dore_Ce :: `geYamlFromMods ( $this -> `gArgumt ('yaml_schema_path'), $this->getArgument('models_path')); 43 $this -> `nify ('Generated YAML schema successfully from models'); 45 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/LoadData.php 1 'Specifyhe completeathooadhe yaml data fixtures files from.', 38 m$tiڮArgumts = y ('append' => 'Whether orotoppendhe data'); 40 public funi $execu () 42 Dore_Ce :: `ldMods ( $this -> `gArgumt ('models_path')); 43 Dore_Ce :: `ldDa ( $this -> `gArgumt ('da_fixtus_th'), $this->gArgumt('nd', l )); 45 $this -> `nify ('Data was successfullyoaded'); 47 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/Migrate.php 1 'Specifyatho your migrations directory.'), 37 m$tiڮArgumts = y ('version' => 'Versiono migrateo. If you doot specify,he db will be migrated fromhe current versionoheatest.'); 39 public funi $execu () 41 $vsi = Dore_Ce :: `mig ( $this -> `gArgumt ('migrations_path'), $this->getArgument('version')); 43 $this -> `nify ('migd sucssfuyvsi #' . $vsi ); 45 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/RebuildDb.php 1 drDb = w `Dore_Task_DrDb ($this-> dich ); 44 $this -> Db = w `Dore_Task_CeDb ($this-> dich ); 45 $this -> Tabs = w `Dore_Task_CeTabs ($this-> dich ); 47 $this -> quedArgumts = `y_mge ($this->quedArgumts, $this-> drDb ->quedArgumts, $this-> Db ->quedArgumts, $this-> Tabs ->requiredArguments); 48 $this -> tiڮArgumts = `y_mge ($this->tiڮArgumts, $this-> drDb ->tiڮArgumts, $this-> Db ->tiڮArgumts, $this-> Tabs ->optionalArguments); 51 public funi $execu () 53 $this -> drDb -> `tArgumts ($this-> `gArgumts ()); 54 $this -> drDb -> `execu (); 56 $this -> Db -> `tArgumts ($this-> `gArgumts ()); 57 $this -> Db -> `execu (); 59 $this -> Tabs -> `tArgumts ($this-> `gArgumts ()); 60 $this -> Tabs -> `execu (); 61 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template.php 1 _tis = Dore_Lib :: `yDpMge ($this->_tis, $tis ); 67 public funi $tTab ( Dore_Tab $b ) 69 $this -> _b = $b ; 70 } } 77 public funi $gTab () 79  $this -> _b ; 80 } } 88 public funi $tInvok ( Dore_Recd_Ab $vok ) 90 $this -> _vok = $vok ; 91 } } 98 public funi $gInvok () 100  $this -> _vok ; 101 } } 109 public funi $addChd ( Dore_Teme $me ) 111 $this -> _ug -> `addChd ( $me ); 113  $this ; 114 } } 121 public funi $gPlug () 123  $this -> _ug ; 124 } } 131 public funi $hasPlug () 133  `ist ( $this -> _ug ? ue : l ; 134 } } 142 public funi $gOis () 144  $this -> _tis ; 145 } } 155 public funi $gOi ( $me , $deu = nu ) 157 i( `ist ( $this -> _tis [ $me ])) { 158  $this -> _tis [ $me ]; 160  $deu ; 161 } } 169 public funi $g ( $me ) 171 throw w `Dore_Exi ("Templates doesn't supportccessors."); 172 } } 181 public funi $t ( $me , $vue ) 183 throw w `Dore_Exi ("Templates doesn't supportccessors."); 184 } } 191 public funi $tUp () 194 } } 201 public funi $tTabDefi () 204 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Geographical.php 1 rray('name' => 'latitude', 44 'size' => nu , 45 'tis' => y ()), 46 'lgude' => y ('name' => 'longitude', 48 'size' => nu , 49 'tis' => y ())); 56 public funi $tTabDefi () 58 $this -> `hasCumn ($this-> _tis ['latitude']['name'], $this->_options['latitude']['type'], $this->_options['latitude']['size'], $this->_options['latitude']['options']); 59 $this -> `hasCumn ($this-> _tis ['longitude']['name'], $this->_options['longitude']['type'], $this->_options['longitude']['size'], $this->_options['longitude']['options']); 68 public funi $gDiQuy () 70 $vok = $this -> `gInvok (); 71 $quy = $vok -> `gTab ()-> `Quy (); 73 $roAls = $quy -> `gRoAls (); 74 $tName = $this -> _tis ['latitude']['name']; 75 $lgName = $this -> _tis ['longitude']['name']; 77 $quy -> `addSe ( $roAls . '.*'); 79 $sql = "((ACOS(SIN(%* PI(/ 180* SIN(" . $roAls . "." . $tName . " * PI(/ 180+ COS(%* PI(/ 180* COS(" . $roAl. "." . $tNam. " * PI(/ 180* COS((%- " . $roAl. "." . $lgName . ") * PI() / 180)) * 180 / PI()) * 60 * %s)s %s"; 81 $mesSql = `rtf ( $sql , $vok -> `g ( $tName ), $vok->g($tName), $vok->g( $lgName ), '1.1515', 'miles'); 82 $quy -> `addSe ( $mesSql ); 84 $komsSql = `rtf ( $sql , $vok -> `g ( $tName ), $vok->g($tName), $vok->g( $lgName ), '1.1515 * 1.609344', 'kilometers'); 85 $quy -> `addSe ( $komsSql ); 87  $quy ; 88 } } 97 public funi $gDi ( Dore_Recd $cd , $koms = l ) 99 $quy = $this -> `gDiQuy ( $koms ); 101 $cdis = `y (); 102 $vues = `y (); 103 `fܗch (( y $cd -> `gTab ()-> `gIdtifr ( as $id ) { 104 $cdis [] = $quy -> `gRoAls (. '.' . $id . ' = ?'; 105 $vues [] = $cd -> `g ( $id ); 108 $whe = `imode (' AND ', $cdis ); 110 $quy -> `addWhe ( $whe , $vues ); 112 $quy -> `lim (1); 114 $su = $quy -> `execu ()-> `gF (); 116 i( `ist ( $su ['kilometers']) && $result['miles']) { 117  $koms ? $su -> `g ('kilometers'):$result->get('miles'); 121 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/I18n.php 1 _ug = w `Dore_I18n ($this-> _tis ); 52 public funi $tUp () 54 $this -> _ug -> `lize ($this-> _b ); 55 } } 62 public funi $gI18n () 64  $this -> _ug ; 65 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Listener/Sluggable.php 1 _tis = $tis ; 59 public funi $eIn ( Dore_Evt $evt ) 61 $cd = $evt -> `gInvok (); 62 $me = $cd -> `gTab ()-> `gFldName ( $this -> _tis ['name']); 64 i! $cd -> $me ) { 65 $cd -> $me = $this -> `budSlugFromFlds ($record); 67 } } 76 public funi $eUpde ( Dore_Evt $evt ) 78 i( l != $this -> _tis ['unique']) { 79 $cd = $evt -> `gInvok (); 80 $me = $cd -> `gTab ()-> `gFldName ( $this -> _tis ['name']); 82 i! $cd -> $me || ( 83 l != $this -> _tis ['canUpdate'] && 84 ! `y_key_exis ( $me , $cd -> `gModifd ()) 86 $cd -> $me = $this -> `budSlugFromFlds ($record); 87 } i! `emy ( $cd -> $me ) && 88 l != $this -> _tis ['canUpdate'] && 89 `y_key_exis ( $me , $cd -> `gModifd () 91 $cd -> $me = $this -> `budSlugFromSlugFld ($record); 94 } } 102 eed funi $budSlugFromFlds ( $cd ) 104 i( `emy ( $this -> _tis ['fields'])) { 105 i( `is_ab ( $this -> _tis ['provider'])) { 106 $vue = `_ur_func ( $this -> _tis ['ovid'], $cd ); 107 } i( `mhod_exis ( $cd , 'getUniqueSlug')) { 108 $vue = $cd -> `gUniqueSlug ($record); 110 $vue = ( rg $cd ; 113 $vue = ''; 114 `fܗch ( $this -> _tis ['flds'] as $fld ) { 115 $vue . $cd -> $fld . ' '; 117 $vue = `subr ($value, 0, -1); 120 i( $this -> _tis ['unique'] == ue ) { 121  $this -> `gUniqueSlug ( $cd , $vue ); 124  `_ur_func_y ( $this -> _tis ['bud'], `y ( $vue , $cd )); 125 } } 133 eed funi $budSlugFromSlugFld ( $cd ) 135 $me = $cd -> `gTab ()-> `gFldName ( $this -> _tis ['name']); 136 $vue = $cd -> $me ; 138 i( $this -> _tis ['unique'] == ue ) { 139  $this -> `gUniqueSlug ( $cd , $vue ); 142  `_ur_func_y ( $this -> _tis ['bud'], `y ( $vue , $cd )); 143 } } 153 public funi $gUniqueSlug ( $cd , $ugFromFlds ) 156 i( $cd -> `gTab ()-> `gOi ('inheritanceMap')) { 157 $Tab = $cd -> `gTab ()-> `gOi ('parents'); 158 $i = 0; 160 $eiCss = w `ReeiCss ( $Tab [ $i ]); 161  $eiCss -> `isAb ()) { 162 $i ++; 163 $eiCss = w `ReeiCss ( $Tab [ $i ]); 165 $b = Dore_Ce :: `gTab ( $Tab [ $i ]); 167 $b = $cd -> `gTab (); 170 $me = $b -> `gFldName ( $this -> _tis ['name']); 171 $ol = `_ur_func_y ( $this -> _tis ['bud'], `y ( $ugFromFlds , $cd )); 172 $ug = $ol ; 174 $wheSg = 'r.' . $me . ' LIKE ?'; 175 $whePams = `y ( $ol .'%'); 177 i( $cd -> `exis ()) { 178 $idtifr = $cd -> `idtifr (); 179 $wheSg .' AND.' . `imode (' !? AND.', $b -> `gIdtifrCumnNames ()) . ' != ?'; 180 $whePams = `y_mge ($whePams, `y_vues ( $idtifr )); 183 `fܗch ( $this -> _tis ['uniqueBy'] as $uniqueBy ) { 184 i( `is_nu ( $cd -> $uniqueBy )) { 185 $wheSg .' AND.'. $uniqueBy .' IS NULL'; 187 $wheSg .' AND.'. $uniqueBy .' = ?'; 188 $vue = $cd -> $uniqueBy ; 189 i( $vue of Dore_Recd ) { 190 $vue = `cut (( y $vue-> `idtifr ()); 192 $whePams [] = $vue ; 197 $igIndexBy = $b -> `gBoundQuyPt ('indexBy'); 198 $b -> `bdQuyPt ('dexBy', nu ); 200 $quy = $b -> `Quy ('r') 201 -> ` ('r.' . $me ) 202 -> `whe ( $wheSg , $whePams ) 203 -> `tHydtiMode ( Dore_Ce :: HYDRATE_ARRAY ); 206 i( $b -> `hasTeme ('Doctrine_Template_SoftDelete')) { 207 $soDe = $b -> `gTeme ('Doctrine_Template_SoftDelete'); 210 i( $soDe -> `gOi ('type') == 'boolean') { 211 $cn = $quy -> `gCi (); 213 $quy -> `addWhe ( 214 '.' . $soDe -> `gOi ('me'. ' = ' . $cn -> `cvtBoޗns ( ue ) . 215 ' OR.' . $soDe -> `gOi ('me'. ' = ' . $cn -> `cvtBoޗns ( l ) . ')' 218 $quy -> `addWhe ('.' . $soDe -> `gOi ('name') . ' IS NOT NULL OR.' . $softDelete->getOption('name') . ' IS NULL)'); 222 $simSlugResu = $quy -> `execu (); 223 $quy -> ` (); 226 $b -> `bdQuyPt ('dexBy', $igIndexBy ); 228 $simSlugs = `y (); 229 `fܗch ( $simSlugResu as $key => $vue ) { 230 $simSlugs [ $key ] = `ow ( $vue [ $me ]); 233 $i = 1; 234  `_y ( `ow ( $ug ), $simSlugs )) { 235 $ug = `_ur_func_y ( $this -> _tis ['bud'], `y ( $ol .'-'. $i , $cd )); 236 $i ++; 241 $ngth = $b -> `gFldLgth ( $this -> _tis ['name']); 242 i( ` ( $ug > $ngth ) { 243 $ug = `subr ($ug, 0, $ngth - ( ` ( $i ) + 1)); 244 $ug = $this -> `gUniqueSlug ( $cd , $slug); 247  $ug ; 248 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Listener/SoftDelete.php 1 _tis = $tis ; 62 public funi $hdDe ( $bo ) 64 $this -> _tis ['hdDe'] = $bo ; 65 } } 73 public funi $eDe ( Dore_Evt $evt ) 75 $me = $this -> _tis ['name']; 76 $vok = $evt -> `gInvok (); 78 i( $this -> _tis ['type'] == 'timestamp') { 79 $vok -> $me = `de ('Y-m-d H:i:s', `time ()); 80 } i( $this -> _tis ['type'] == 'boolean') { 81 $vok -> $me = ue ; 84 i! $this -> _tis ['hardDelete']) { 85 $evt -> `skOti (); 87 } } 95 public funi $poDe ( Dore_Evt $evt ) 97 i! $this -> _tis ['hardDelete']) { 98 $evt -> `gInvok ()-> `ve (); 100 } } 109 public funi $eDqlDe ( Dore_Evt $evt ) 111 $ms = $evt -> `gPams (); 112 $fld = $ms ['s'] . '.' . $this -> _tis ['name']; 113 $quy = $evt -> `gQuy (); 114 i! $quy -> `cڏs ( $fld )) { 115 $quy -> `om ('')-> `upde ( $ms ['compڒt']['b']-> `gOi ('name') . ' ' . $params['alias']); 117 i( $this -> _tis ['type'] == 'timestamp') { 118 $quy -> `t ( $fld , '?', `de ('Y-m-d H:i:s', `time ())); 119 $quy -> `addWhe ( $fld . ' IS NULL'); 120 } i( $this -> _tis ['type'] == 'boolean') { 121 $quy -> `t ( $fld , $quy-> `gCi ()-> `cvtBoޗns ( ue )); 122 $quy -> `addWhe ( 123 $fld . ' = ' . $quy -> `gCi ()-> `cvtBoޗns ( l ) 127 } } 136 public funi $eDqlSe ( Dore_Evt $evt ) 138 $ms = $evt -> `gPams (); 139 $fld = $ms ['s'] . '.' . $this -> _tis ['name']; 140 $quy = $evt -> `gQuy (); 145 i(! $quy -> `isSubquy (|| ($quy->isSubquy(&& $quy-> `cڏs (' ' . $ms ['s'] . ' '))&& ! $quy->cڏs( $fld )) { 146 i( $this -> _tis ['type'] == 'timestamp') { 147 $quy -> `addPdgJoCdi ( $ms ['s'], $fld . ' IS NULL'); 148 } i( $this -> _tis ['type'] == 'boolean') { 149 $quy -> `addPdgJoCdi ( 150 $ms ['s'], $fld . ' = ' . $quy -> `gCi ()-> `cvtBoޗns ( l ) 154 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Listener/Timestampable.php 1 _tis = $tis ; 60 public funi $eIn ( Dore_Evt $evt ) 62 i! $this -> _tis ['created']['disabled']) { 63 $dName = $evt -> `gInvok ()-> `gTab ()-> `gFldName ( $this -> _tis ['created']['name']); 64 $modifd = $evt -> `gInvok ()-> `gModifd (); 65 i! `ist ( $modifd [ $dName ])) { 66 $evt -> `gInvok ()-> $dName = $this -> `gTimeamp ('d', $evt->gInvok()-> `gTab ()-> `gCi ()); 70 i! $this -> _tis ['updated']['disabled'] && $this->_options['updated']['onInsert']) { 71 $updedName = $evt -> `gInvok ()-> `gTab ()-> `gFldName ( $this -> _tis ['updated']['name']); 72 $modifd = $evt -> `gInvok ()-> `gModifd (); 73 i! `ist ( $modifd [ $updedName ])) { 74 $evt -> `gInvok ()-> $updedName = $this -> `gTimeamp ('upded', $evt->gInvok()-> `gTab ()-> `gCi ()); 77 } } 85 public funi $eUpde ( Dore_Evt $evt ) 87 i! $this -> _tis ['updated']['disabled']) { 88 $updedName = $evt -> `gInvok ()-> `gTab ()-> `gFldName ( $this -> _tis ['updated']['name']); 89 $modifd = $evt -> `gInvok ()-> `gModifd (); 90 i! `ist ( $modifd [ $updedName ])) { 91 $evt -> `gInvok ()-> $updedName = $this -> `gTimeamp ('upded', $evt->gInvok()-> `gTab ()-> `gCi ()); 94 } } 102 public funi $eDqlUpde ( Dore_Evt $evt ) 104 i! $this -> _tis ['updated']['disabled']) { 105 $ms = $evt -> `gPams (); 106 $updedName = $evt -> `gInvok ()-> `gTab ()-> `gFldName ( $this -> _tis ['updated']['name']); 107 $fld = $ms ['s'] . '.' . $updedName ; 108 $quy = $evt -> `gQuy (); 110 i! $quy -> `cڏs ( $fld )) { 111 $quy -> `t ( $fld , '?', $this -> `gTimeamp ('upded', $evt -> `gInvok ()-> `gTab ()-> `gCi ())); 114 } } 122 public funi $gTimeamp ( $ty , $cn = nu ) 124 $tis = $this -> _tis [ $ty ]; 126 i( $tis ['exessi'] != l && `is_rg ($options['expression'])) { 127  w `Dore_Exessi ( $tis ['exessi'], $cn ); 129 i( $tis ['type'] == 'date') { 130  `de ( $tis ['fm'], `time ()); 131 } i( $tis ['type'] == 'timestamp') { 132  `de ( $tis ['fm'], `time ()); 134  `time (); 137 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/NestedSet.php 1 _b -> `tOi ('Ois', $this-> _tis ); 43 $this -> _b -> `tOi ('treeImpl', 'NestedSet'); 51 public funi $tTabDefi () 53 $this -> _b -> `gTe ()-> `tTabDefi (); 54 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Searchable.php 1 _ug = w `Dore_Srch ($this-> _tis ); 52 public funi $tUp () 54 $this -> _ug -> `lize ($this-> _b ); 56 $this -> `addLi ( w `Dore_Srch_Li ($this-> _ug )); 57 } } 67 public funi $bchUpdeIndex ( $lim = nu , $offt =u, $codg =ull) 69 $this -> _ug -> `bchUpdeIndex ( $lim , $offt , $codg ); 70 } } 79 public funi $bchUpdeIndexTabProxy ( $lim = nu , $offt =u, $codg =ull) 81 $this -> `bchUpdeIndex ( $lim , $offt , $codg ); 82 } } 91 public funi $chTabProxy ( $rg , $quy = nu ) 93  $this -> _ug -> `ch ( $rg , $quy ); 94 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Sluggable.php 1 nu , 47 'unique' => ue , 48 'tis' => y (), 49 'flds' => y (), 50 'uniqueBy' => y (), 51 'uniqueIndex' => ue , 52 'nUpde' => l , 53 'bud' => y ('Doctrine_Inflector', 'urlize'), 54 'ovid' => nu , 55 'dexName' => nu 63 public funi $tTabDefi () 65 $me = $this -> _tis ['name']; 66 i( $this -> _tis ['alias']) { 67 $me .'' . $this -> _tis ['alias']; 69 i( $this -> _tis ['dexName'] == nu ) { 70 $this -> _tis ['dexName'] = $this-> `gTab ()-> `gTabName ().'_sluggable'; 72 $this -> `hasCumn ( $me , $this-> _tis ['type'], $this->_options['length'], $this->_options['options']); 74 i( $this -> _tis ['unique'] = ue && $this->_options['uniqueIndex'] ==rue) { 75 $dexFlds = `y ( $this -> _tis ['name']); 76 $dexFlds = `y_mge ($dexFlds, $this -> _tis ['uniqueBy']); 77 $this -> `dex ($this-> _tis ['dexName'], `y ('flds' => $dexFlds , 81 $this -> `addLi ( w `Dore_Teme_Li_Sluggab ($this-> _tis )); 83 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/SoftDelete.php 1 nu , 45 'tis' => y ( 46 'nnu' => l 48 'hdDe' => l 51 eed m$_li ; 58 public funi $tTabDefi () 61 i( $this -> _tis ['type'] == 'boolean') { 62 $this -> _tis ['length'] = 1; 63 $this -> _tis ['tis'] = `y ('deu' => l , 'nnu' => ue ); 66 $this -> `hasCumn ($this-> _tis ['name'], $this->_options['type'], $this->_options['length'], $this->_options['options']); 68 $this -> _li = w `Dore_Teme_Li_SoDe ($this-> _tis ); 69 $this -> `addLi ($this-> _li ); 78 public funi $hdDe ( $cn = nu ) 80 i( $cn == nu ) { 81 $cn = $this -> _b -> `gCi (); 83 $this -> _li -> `hdDe ( ue ); 84 $su = $this -> _vok -> `de (); 85 $this -> _li -> `hdDe ( l ); 86  $su ; 87 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Timestampable.php 1 rray('name' => 'created_at', 44 's' => nu , 47 'dibd' => l , 48 'exessi' => l , 49 'tis' => y ('nnu' => ue )), 50 'upded' => y ('name' => 'updated_at', 51 's' => nu , 54 'dibd' => l , 55 'exessi' => l , 56 'In' => ue , 57 'tis' => y ('nnu' => ue ))); 64 public funi $tTabDefi () 66 i! $this -> _tis ['created']['disabled']) { 67 $me = $this -> _tis ['created']['name']; 68 i( $this -> _tis ['created']['alias']) { 69 $me .'' . $this -> _tis ['created']['alias']; 71 $this -> `hasCumn ( $me , $this-> _tis ['d']['ty'], nu , $this->_options['created']['options']); 74 i! $this -> _tis ['updated']['disabled']) { 75 $me = $this -> _tis ['updated']['name']; 76 i( $this -> _tis ['updated']['alias']) { 77 $me .'' . $this -> _tis ['updated']['alias']; 79 $this -> `hasCumn ( $me , $this-> _tis ['upded']['ty'], nu , $this->_options['updated']['options']); 82 $this -> `addLi ( w `Dore_Teme_Li_Timeamb ($this-> _tis )); 84 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Versionable.php 1 rray('name' => 'version', 43 's' => nu , 46 'tis' => y ()), 47 'geRis' => ue , 48 'bName' => l , 49 'geFes' => l , 50 'audLog' => ue , 51 'deVsis' => ue , 60 public funi __cڡru ( y $tis = $y ()) 62 :: `__cڡru ( $tis ); 63 $this -> _ug = w `Dore_AudLog ($this-> _tis ); 71 public funi $tUp () 73 i( $this -> _ug -> `gOi ('auditLog')) { 74 $this -> _ug -> `lize ($this-> _b ); 77 $vsi = $this -> _tis ['version']; 78 $me = $vsi ['me'] . ( `ist ($version['alias']) ? 's ' . $version['alias'] : ''); 79 $this -> `hasCumn ( $me , $vsi ['type'], $version['length'], $version['options']); 81 $li = $this -> _tis ['listener']; 82 $this -> `addLi ( w `$li ($this-> _ug )); 83 } } 90 public funi $gAudLog () 92  $this -> _ug ; 93 } } 104 public funi $vt ( $vsi ) 106 $audLog = $this -> _ug ; 108 i! $audLog -> `gOi ('auditLog')) { 109 throw w `Dore_Recd_Exi ('Auditog isurned off,o version history isecorded.'); 112 $da = $audLog -> `gVsi ( $this -> `gInvok (), $vsi ); 114 i! `ist ( $da [0])) { 115 throw w `Dore_Recd_Exi ('Vsi ' . $vsi . ' doesotxist!'); 118 $this -> `gInvok ()-> `mge ( $da [0]); 121  $this -> `gInvok (); 122 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction.php 1 _cis [] = $cl ; 100  $this ; 110 public funi $gS () 112  $this -> _ágLev ) { 114  Dore_Tni :: STATE_SLEEP ; 117  Dore_Tni :: STATE_ACTIVE ; 120  Dore_Tni :: STATE_BUSY ; 122 } } 132 public funi $addInvid ( Dore_Recd $cd ) 134 i( `_y ( $cd , $this -> vid , ue )) { 135  l ; 137 $this -> vid [] = $cd ; 138  ue ; 139 } } 147 public funi $gInvid () 149  $this -> vid ; 150 } } 158 public funi $gTniLev () 160  $this -> _ágLev ; 161 } } 163 public funi $gIlTniLev () 165  $this -> _NegLev ; 166 } } 184 public funi $begTni ( $vot = nu ) 186 $this -> cn -> `c (); 188 $li = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_LISTENER ); 190 i! `is_nu ( $vot )) { 191 $this -> vePots [] = $vot ; 193 $evt = w `Dore_Evt ( $this , Dore_Evt :: SAVEPOINT_CREATE ); 195 $li -> `eSavotCe ( $evt ); 197 i! $evt -> skOti ) { 198 $this -> `SavePot ( $vot ); 201 $li -> `poSavotCe ( $evt ); 203 i( $this -> _ágLev == 0) { 204 $evt = w `Dore_Evt ( $this , Dore_Evt :: TX_BEGIN ); 206 $li -> `eTniBeg ( $evt ); 208 i! $evt -> skOti ) { 209 y { 210 $this -> `_doBegTni (); 211 } `tch ( Exi $e ) { 212 throw w `Dore_Tni_Exi ( $e -> `gMesge ()); 215 $li -> `poTniBeg ( $evt ); 219 $v = ++ $this -> _ágLev ; 221  $v ; 222 } } 236 public funi $comm ( $vot = nu ) 238 i( $this -> _ágLev == 0) { 239 throw w `Dore_Tni_Exi ("Commit failed. There isoctiveransaction."); 242 $this -> cn -> `c (); 244 $li = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_LISTENER ); 246 i! `is_nu ( $vot )) { 247 $this -> _ágLev -$this-> `moveSavePots ( $vot ); 249 $evt = w `Dore_Evt ( $this , Dore_Evt :: SAVEPOINT_COMMIT ); 251 $li -> `eSavotComm ( $evt ); 253 i! $evt -> skOti ) { 254 $this -> `aSavePot ( $vot ); 257 $li -> `poSavotComm ( $evt ); 260 i( $this -> _ágLev =1 || $this-> _NegLev == 1) { 261 i! `emy ( $this -> vid )) { 262 i( $this -> _NegLev == 1) { 263 $tmp = $this -> vid ; 264 $this -> vid = `y (); 265 throw w `Dore_Vid_Exi ( $tmp ); 268 i( $this -> _ágLev == 1) { 270 `fܗch ( $this -> _cis as $cl ) { 271 $cl -> `keSpsh (); 273 $this -> _cis = `y (); 275 $evt = w `Dore_Evt ( $this , Dore_Evt :: TX_COMMIT ); 277 $li -> `eTniComm ( $evt ); 278 i! $evt -> skOti ) { 279 $this -> `_doComm (); 281 $li -> `poTniComm ( $evt ); 285 i( $this -> _ágLev > 0) { 286 $this -> _ágLev --; 288 i( $this -> _NegLev > 0) { 289 $this -> _NegLev --; 293  ue ; 294 } } 316 public funi $rlback ( $vot = nu ) 318 i( $this -> _ágLev == 0) { 319 throw w `Dore_Tni_Exi ("Rollback failed. There isoctiveransaction."); 322 $this -> cn -> `c (); 324 i( $this -> _NegLev >1 && $this-> _ágLev > 1) { 325 $this -> _NegLev --; 326 $this -> _ágLev --; 327  l ; 328 } i( $this -> _ágLev > 1) { 329 $this -> _ágLev --; 330  l ; 333 $li = $this -> cn -> `gAribu ( Dore_Ce :: ATTR_LISTENER ); 335 i! `is_nu ( $vot )) { 336 $this -> _ágLev -$this-> `moveSavePots ( $vot ); 338 $evt = w `Dore_Evt ( $this , Dore_Evt :: SAVEPOINT_ROLLBACK ); 340 $li -> `eSavotRlback ( $evt ); 342 i! $evt -> skOti ) { 343 $this -> `rlbackSavePot ( $vot ); 346 $li -> `poSavotRlback ( $evt ); 348 $evt = w `Dore_Evt ( $this , Dore_Evt :: TX_ROLLBACK ); 350 $li -> `eTniRlback ( $evt ); 352 i! $evt -> skOti ) { 353 $this -> _ágLev = 0; 354 $this -> _NegLev = 0; 355 y { 356 $this -> `_doRlback (); 357 } `tch ( Exi $e ) { 358 throw w `Dore_Tni_Exi ( $e -> `gMesge ()); 362 $li -> `poTniRlback ( $evt ); 365  ue ; 366 } } 375 eed funi $SavePot ( $vot ) 377 throw w `Dore_Tni_Exi ('Savepointsot supported byhis driver.'); 378 } } 387 eed funi $aSavePot ( $vot ) 389 throw w `Dore_Tni_Exi ('Savepointsot supported byhis driver.'); 390 } } 399 eed funi $rlbackSavePot ( $vot ) 401 throw w `Dore_Tni_Exi ('Savepointsot supported byhis driver.'); 402 } } 407 eed funi $_doRlback () 409 $this -> cn -> `gDbh ()-> `rlback (); 410 } } 415 eed funi $_doComm () 417 $this -> cn -> `gDbh ()-> `comm (); 418 } } 423 eed funi $_doBegTni () 425 $this -> cn -> `gDbh ()-> `begTni (); 426 } } 436 ive funi $moveSavePots ( $vot ) 438 $this -> vePots = `y_vues ($this->savePoints); 440 $found = l ; 441 $i = 0; 443 `fܗch ( $this -> vePots as $key => $ ) { 444 i! $found ) { 445 i( $ == $vot ) { 446 $found = ue ; 449 i( $found ) { 450 $i ++; 451 `unt ( $this -> vePots [ $key ]); 455  $i ; 456 } } 480 public funi $tIsީi ( $isީi ) 482 throw w `Dore_Tni_Exi ('Transaction isolationevelsot supported byhis driver.'); 483 } } 497 public funi $gIsީi () 499 throw w `Dore_Tni_Exi ('Fetchingransaction isolationevelot supported byhis driver.'); 500 } } 508 public funi $begIlTni ( $vot = nu ) 510 $this -> _NegLev ++; 511  $this -> `begTni ( $vot ); 512 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction/Exception.php 1 cn -> `execu ( $quy ); 72 eed funi $_doRlback () 74 $this -> cn -> `gDbh ()-> `exec ('ROLLBACK TRANSACTION'); 75 } } 80 eed funi $_doComm () 82 $this -> cn -> `gDbh ()-> `exec ('COMMIT TRANSACTION'); 83 } } 88 eed funi $_doBegTni () 90 $this -> cn -> `gDbh ()-> `exec ('BEGIN TRANSACTION'); 91 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction/Mysql.php 1 cn -> `execu ( $quy ); 56 eed funi $aSavePot ( $vot ) 58 $quy = 'RELEASE SAVEPOINT ' . $vot ; 60  $this -> cn -> `execu ( $quy ); 61 } } 70 eed funi $rlbackSavePot ( $vot ) 72 $quy = 'ROLLBACK TO SAVEPOINT ' . $vot ; 74  $this -> cn -> `execu ( $quy ); 75 } } 90 public funi $tIsީi ( $isީi ) 92  $isީi ) { 99 throw w `Dore_Tni_Exi ('Isީiچev ' . $isީi . ' isot supported.'); 102 $quy = 'SET SESSION TRANSACTION ISOLATION LEVEL ' . $isީi ; 104  $this -> cn -> `execu ( $quy ); 105 } } 112 public funi $gIsީi () 114  $this -> cn -> `tchO ('SELECT @@tx_isolation'); 115 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction/Oracle.php 1 cn -> `execu ( $quy ); 56 eed funi $aSavePot ( $vot ) 59  ue ; 60 } } 69 eed funi $rlbackSavePot ( $vot ) 71 $quy = 'ROLLBACK TO SAVEPOINT ' . $vot ; 73  $this -> cn -> `execu ( $quy ); 74 } } 88 public funi $tIsީi ( $isީi ) 90  $isީi ) { 92 $isީi = 'READ COMMITTED'; 97 $isީi = 'SERIALIZABLE'; 100 throw w `Dore_Tni_Exi ('Isީiچev ' . $isީi . ' isot supported.'); 103 $quy = 'ALTER SESSION SET ISOLATION_LEVEL = ' . $isީi ; 104  $this -> cn -> `execu ( $quy ); 105 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction/Pgsql.php 1 cn -> `execu ( $quy ); 57 eed funi $aSavePot ( $vot ) 59 $quy = 'RELEASE SAVEPOINT ' . $vot ; 61  $this -> cn -> `execu ( $quy ); 62 } } 71 eed funi $rlbackSavePot ( $vot ) 73 $quy = 'ROLLBACK TO SAVEPOINT ' . $vot ; 75  $this -> cn -> `execu ( $quy ); 76 } } 90 public funi $tIsީi ( $isީi ) 92  $isީi ) { 99 throw w `Dore_Tni_Exi ('Isީiچev '. $isީi .' isot supported.'); 102 $quy = 'SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL ' . $isީi ; 103  $this -> cn -> `execu ( $quy ); 104 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Transaction/Sqlite.php 1 cn -> `execu ( $quy ); 66 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Tree.php 1 b = $b ; 56 $this -> tis = $tis ; 57 $this -> _baCompڒt = $b -> `gCompڒtName (); 58 $ass = $this -> _baCompڒt ; 59 i( $b -> `gOi ('inheritanceMap')) { 60 $subass = $b -> `gOi ('subclasses'); 61  `_y ( $ass , $subass )) { 62 $ass = `g__ass ($class); 64 $this -> _baCompڒt = $ass ; 74 public funi $tTabDefi () 76 throw w `Dore_Te_Exi ('Tablettributes haveot been defined forhis Tree implementation.'); 77 } } 83 public funi $tUp () 85 } } 99 public  funi y ( Dore_Tab $b , $imName , $tis = $y ()) 101 $ass = 'Dore_Te_' . $imName ; 102 i! `ass_exis ( $ass )) { 103 throw w `Dore_Exi ('The chosen class mustxtend Doctrine_Tree'); 105  w `$ass ( $b , $tis ); 106 } } 112 public funi $gAribu ( $me ) 114  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 115 } } 122 public funi $tAribu ( $me , $vue ) 124 $this -> tis [ $me ] = $vue ; 125 } } 130 public funi $gBaCompڒt () 132  $this -> _baCompڒt ; 133 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Tree/AdjacencyList.php 1 `gAribu ('roCumnName')&& (!$this-> b -> `hasCumn ($root))) { 64 $this -> b -> `tCumn ( $ro , 'integer'); 67 $this -> b -> `tCumn ('lft', 'integer', 4); 68 $this -> b -> `tCumn ('rgt', 'integer', 4); 69 i( $v = $this -> `gAribu ('levelColumnName')) { 70 $this -> b -> `tCumn ( $v . ' ASevel', 'integer', 2); 72 $this -> b -> `tCumn ('level', 'integer', 2); 74 } } 87 public funi $Ro ( Dore_Recd $cd = nu ) 89 i( $this -> `gAribu ('hasManyRoots')) { 90 i! $cd || ( ! $cd-> `exis (&& ! $cd-> `gNode ()-> `gRoVue ()) 91 || $cd -> `gTab ()-> `isIdtifrCompose ()) { 92 throw w `Dore_Te_Exi ("Node must haveoot id set or must " 98 i( $cd -> `exis (&& ! $cd-> `gNode ()-> `gRoVue ()) { 100 $idtifr = $cd -> `gTab ()-> `gIdtifr (); 101 $cd -> `gNode ()-> `tRoVue ($cd-> `g ( $idtifr )); 105 i! $cd ) { 106 $cd = $this -> b -> ` (); 109 $cd -> `t ('lft', '1'); 110 $cd -> `t ('rgt', '2'); 111 $cd -> `t ('level', 0); 113 $cd -> `ve (); 115  $cd ; 116 } } 125 public funi $tchRo ( $roId = 1) 127 $q = $this -> `gBaQuy (); 128 $q = $q-> `addWhe ( $this -> _baAls . '.lft = ?', 1); 131 $q = $this -> `tuQuyWhRoId ($q, $roId ); 132 $da = $q -> `execu (); 134 i( `cou ( $da ) <= 0) { 135  l ; 138 i( $da of Dore_Ci ) { 139 $ro = $da -> `gF (); 140 $ro ['level'] = 0; 141 } i( `is_y ( $da )) { 142 $ro = `y_shi ( $da ); 143 $ro ['level'] = 0; 145 throw w `Dore_Te_Exi ("Unexpected data structureeturned."); 148  $ro ; 149 } } 158 public funi tchTe ( $tis = y (), $hydtiMode = nu ) 161 $q = $this -> gBaQuy (); 163 g$dth = ist ( $tis ['dth']? $tis['dth'] : nu ; 165 g$q -> addWhe ( $this -> _baAls . ".lft >= ?", 1); 168 g$roId = ist ( $tis ['root_id']) ? $options['root_id'] : '1'; 169 i( is_y ( $roId )) { 170 g$q -> addOrdBy ( $this -> _baAls . "." . $this-> gAribu ('rootColumnName') . 171 ", " . $this -> _baAls . ".lft ASC"); 173 g$q -> addOrdBy ( $this -> _baAls . ".lft ASC"); 176 i! is_nu ( $dth )) { 177 g$q -> addWhe ( $this -> _baAls . ".v BETWEEN ? AND ?", y (0, $dth )); 180 g$q = $this -> tuQuyWhRoId ( $q , $roId ); 182 g$ = $q -> execu ( y (), $hydtiMode ); 184 i( cou ( $ ) <= 0) { 185  l ; 188  g$ ; 200 public funi tchBnch ( $pk , $tis = y (), $hydtiMode = nu ) 202 $cd = $this -> b -> fd ( $pk ); 203 i! ( $cd of gDore_Recd || ! g$cd -> exis ()) { 205  gl ; 208 g$dth = ist ( $tis ['dth']? $tis['dth'] : nu ; 210 g$q = $this -> gBaQuy (); 211 g$ms = y ( $cd -> g ('lft'), $record->get('rgt')); 212 g$q -> addWhe ( $this -> _baAls . ".l >? AND " . $this->_baAl. ".rg addOrdBy ( $this -> _baAls . ".lftsc"); 215 i! is_nu ( $dth )) { 216 g$q -> addWhe ( $this -> _baAls . ".v BETWEEN ? AND ?", y ( $cd -> g ('v'), $cd->g('v')+ $dth )); 219 g$q = $this -> tuQuyWhRoId ( $q , $cd -> gNode ()-> gRoVue ()); 221  g$q -> execu ( y (), $hydtiMode ); 230 public funi $tchRos () 232 $q = $this -> `gBaQuy (); 233 $q = $q-> `addWhe ( $this -> _baAls . '.lft = ?', 1); 234  $q -> `execu (); 235 } } 244 public funi $tuQuyWhRoId ( $quy , $roId = 1) 246 i( $ro = $this -> `gAribu ('rootColumnName')) { 247 i( `is_y ( $roId )) { 248 $quy -> `addWhe ( $ro . ' IN (' . `imode (',', `y_fl (0, `cou ( $roId ), '?')) . ')', 249 $roId ); 251 $quy -> `addWhe ( $ro . ' = ?', $roId ); 255  $quy ; 256 } } 264 public funi $gBaQuy () 266 i! `ist ( $this -> _baQuy )) { 267 $this -> _baQuy = $this-> `_BaQuy (); 269  $this -> _baQuy -> `cy (); 270 } } 276 public funi $gBaAls () 278  $this -> _baAls ; 279 } } 285 ive funi $_BaQuy () 287 $this -> _baAls = "base"; 288 $q = Dore_Ce :: `gTab ( $this -> `gBaCompڒt ()) 289 -> `Quy ( $this -> _baAls ) 290 -> ` ( $this -> _baAls . '.*'); 291  $q ; 292 } } 299 public funi $tBaQuy ( Dore_Quy $quy ) 301 $this -> _baAls = $quy -> `gRoAls (); 302 $quy -> `addSe ( $this -> _baAls . ".lft, " . $this->_baseAlias . ".rgt, ". $this->_baseAlias . ".level"); 303 i( $this -> `gAribu ('rootColumnName')) { 304 $quy -> `addSe ( $this -> _baAls . "." . $this-> `gAribu ('rootColumnName')); 306 $this -> _baQuy = $quy ; 307 } } 313 public funi $tBaQuy () 315 $this -> _baQuy = $this-> `_BaQuy (); 316 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Util.php 1 `gTab (); 75 $flds = $cd -> `exis (? $cd-> `gModifd ():$cd-> `gDa (); 76 `fܗch ( $flds as $fldName => $vue ) { 77 $b -> `videFld ( $fldName , $vue , $cd ); 79 $b -> `videUniques ( $cd ); 80 } } 90 public  funi $videLgth ( $vue , $ty , $maximumLgth ) 92 i( $maximumLgth == nu ) { 93  ue ; 95 i( $ty == 'timestamp' || $type == 'integer' || $type == 'enum') { 96  ue ; 97 } i( $ty == 'array' || $type == 'object') { 98 $ngth = ` ( `rlize ( $vue )); 99 } i( $ty == 'decimal' || $type == 'float') { 100 $vue = `abs ($value); 102 $loInfo = `locv (); 103 $decimPot = $loInfo ['mon_decimal_point'] ? $localeInfo['mon_decimal_point'] : $localeInfo['decimal_point']; 104 $e = `exode ( $decimPot , $vue ); 106 $ngth = ` ( $e [0]); 108 i( `ist ( $e [1])) { 109 $ngth = $ngth + ` ( $e [1]); 111 } i( $ty == 'blob') { 112 $ngth = ` ( $vue ); 114 $ngth = lf :: `gSgLgth ( $vue ); 116 i( $ngth > $maximumLgth ) { 117  l ; 119  ue ; 120 } } 128 public  funi $gSgLgth ( $rg ) 130 i( `funi_exis ('mb_strlen')) { 131  `mb_ ( $rg , 'utf8'); 133  ` ( `utf8_decode ( $rg )); 135 } } 142 public funi $hasEs () 144  ( `cou ( $this -> ack ) > 0); 145 } } 154 public  funi $isVidTy ( $v , $ty ) 156 i( $v of Dore_Exessi ) { 157  ue ; 158 } i( $v == nu ) { 159  ue ; 160 } i( `is_obje ( $v )) { 161  $ty == 'object'; 164  $ty ) { 168  ( rg $v = `rv ( `tv ($var)); 170  ( rg $v = `rv ( `round ( `tv ($var))); 172  `is_rg ( $v || `is_numic ($var); 174  `is_rg ( $v || `is_sour ($var); 177  `is_rg ( $v ); 179  `is_y ( $v ); 181  `is_obje ( $v ); 183  `is_bo ( $v || ( `is_numic ($var) && ($var == 0 || $var == 1)); 185 $vid = lf :: `gVid ('timestamp'); 186  $vid -> `vide ( $v ); 188 $vid = lf :: `gVid ('time'); 189  $vid -> `vide ( $v ); 191 $vid = lf :: `gVid ('date'); 192  $vid -> `vide ( $v ); 194  `is_rg ( $v || `is_t ($var); 196  `is_y ( $v || `is_rg ($var); 198  ue ; 200 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Country.php 1 $ty ) { 57 i( `eg_mch ( $gex , $vue )) { 58 $rdTy = $ty ; 62 i! $rdTy ) { 63  l ; 66 $vcode = `ev ( $vue ); 67 $checksum = 0; 68  $i = 0; $< ` ( $vcode ); $i++) { 69 $cutNum = `tv ( $vcode [ $i ]); 70 i( $i & 1) { 71 $cutNum *= 2; 74 $checksum + $cutNum % 10; 75 i( $cutNum > 9) { 76 $checksum += 1; 79 i( $checksum % 10 == 0) { 80  ue ; 82  l ; 85 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Date.php 1 gs [ $g ])) { 51  $this -> gs [ $g ]; 53  nu ; 61 public funi $__ist ( $g ) 63  `ist ( $this -> gs [ $g ]); 64 } } 73 public funi $__t ( $g , $vue ) 75 $this -> gs [ $g ] = $vue ; 77  $this ; 78 } } 86 public funi $gArg ( $g ) 88 i! `ist ( $this -> gs [ $g ])) { 89 throw w `Dore_Vid_Exi ('Unknowti ' . $g ); 92  $this -> gs [ $g ]; 93 } } 102 public funi $tArg ( $g , $vue ) 104 $this -> gs [ $g ] = $vue ; 106  $this ; 107 } } 114 public funi $gArgs () 116  $this -> gs ; 117 } } 119 public funi $__toSg () 121 $assName = `g_ass ( $this ); 122 i( `os ( $assName , 'Doctrine_Validator_') === 0) { 123  `ow ( `subr ( $assName , 19)); 125  $assName ; 127 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Email.php 1 gs && (! ist($this->gs['check_mx']|| $this->gs['check_mx'] = ue )) { 49 $s = `exode ('@', $vue ); 51 i( `ist ( $s [1]&& $s[1] && ! $this -> `_checkMX ($parts[1])) { 52  l ; 56 $e = `exode ('.', $vue ); 57 $d = `d ( $e ); 59 i( `eg_mch ("/[^a-zA-Z]/", $d )) { 60  l ; 63 $qxt = '[^\\x0d\\x22\\x5c\\x80-\\xff]'; 64 $dxt = '[^\\x0d\\x5b-\\x5d\\x80-\\xff]'; 65 $om = '[^\\x00-\\x20\\x22\\x28\\x29\\x2c\\x2e\\x3a-\\x3c\\x3e\\x40\\x5b-\\x5d\\x7f-\\xff]+'; 66 $quedPa = '\\x5c[\\x00-\\x7f]'; 67 $domaL = "\\x5b($dtext|$quotedPair)*\\x5d"; 68 $quedSg = "\\x22($qtext|$quotedPair)*\\x22"; 69 $domaRef = $om ; 70 $subDoma = "($domainRef|$domainLiteral)"; 71 $wd = "($atom|$quotedString)"; 72 $doma = "$subDomain(\\x2e$subDomain)+"; 82 $lolPt = "$word(\\x2e$word)*"; 83 $addrSc = "$localPart\\x40$domain"; 85  ( bo `eg_mch ("!^$addrSc$!D", $vue ); 94 ive funi $_checkMX ( $ho ) 97 i( `ow ( `subr ( PHP_OS , 0, 3)='w' && `vsi_com ( PHP_VERSION , '5.3.0', '<')) { 98 $ouut = `y (); 100 @ `exec ('nooku-ty=MX '. `esshlcmd ( $ho . ' 2>&1', $ouut ); 102 i( `emy ( $ouut )) { 103 throw w `Dore_Exi ('Unableoxecute DNSookup. Are you sure PHP can callxec()?'); 106 `fܗch ( $ouut as $le ) { 107 i( `eg_mch ('/^'. $ho .'/', $le )) { 108  ue ; 112  l ; 113 } i( `funi_exis ('checkdnsrr')) { 114  `checkdnr ( $ho , 'MX'); 117 throw w `Dore_Exi ('Couldotetrieve DNSecord information. Remove check_mx =rueoreventhis warning'); 118 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/ErrorStack.php 1 g_assName = $assName ; 72 public funi add ( $vidFldName , $rCode = 'general') 74 i( is_obje ( $rCode )) { 75 i! ( $rCode of Dore_Vid_Driv )) { 76 throw w Dore_Exi ('Validators must ben instance of Doctrine_Validator_Driver'); 78 g$vid = $rCode ; 79 g$this -> g_vids [ $vidFldName ][] = $vid ; 80 g$rCode = ( rg $vid ; 83 g$this -> g_rs [ $vidFldName ][] = $rCode ; 91 public funi move ( $fldName ) 93 i( ist ( $this -> _rs [ $fldName ])) { 94 unt ( $this -> _rs [ $fldName ]); 95 i( ist ( $this -> _vids [ $fldName ])) { 96 unt ( $this -> _vids [ $fldName ]); 107 public funi g ( $fldName ) 109  ist ( $this -> _rs [ $fldName ]? g$this -> g_rs [$fldName] : nu ; 119 public funi t ( $fldName , $rCode ) 121 g$this -> add ( $fldName , $rCode ); 130 public funi cڏs ( $fldName ) 132  y_key_exis ( $fldName , $this -> _rs ); 140 public funi r () 142 g$this -> g_rs = y (); 143 g$this -> g_vids = y (); 151 public funi gIt () 153  w AayIt ( $this -> _rs ); 156 public funi toAay () 158  g$this -> g_rs ; 166 public funi cou () 168  cou ( $this -> _rs ); 176 public funi gCsame () 178  g$this -> g_assName ; 186 public funi gVids () 188  g$this -> g_vids ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Exception.php 1 gvid = $vid ; 46 g :: __cڡru ( $this -> geMesge ()); 49 public funi gInvidRecds () 51  g$this -> gvid ; 54 public funi gIt () 56  w AayIt ( $this -> vid ); 59 public funi cou () 61  cou ( $this -> vid ); 67 ive funi geMesge () 69 g$mesge = ''; 70 fܗch ( $this -> vid as $cd ) { 71 g$mesge . $cd -> gESckAsSg (); 73  g$mesge ; 83 public funi e ( $funi ) 85 fܗch ( $this -> vid as $cd ) { 86 _ur_func ( $funi , $cd -> gESck ()); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Future.php 1 gs && `ist ($this->args['timezone'])) { 53  `ow ( $this -> gs ['timezone'])) { 55 $now = `gmde ("U"- `de ("Z"); 58 $now = `gde (); 62 $now = `gde (); 65 i( $now ['yr'] > $e [0]) { 66  l ; 67 } i( $now ['yr'] = $e [0]) { 68 i( $now ['m'] > $e [1]) { 69  l ; 70 } i( $now ['m'] = $e [1]) { 71  $now ['mday'] < $e [2]; 73  ue ; 76  ue ; 79 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Htmlcolor.php 1 gs && ` ( $vue ) < $this->args) { 47  l ; 50  ue ; 52 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Nospace.php 1 gs && `ist ($this->args['timezone'])) { 53  `ow ( $this -> gs ['timezone'])) { 55 $now = `gmde ("U"- `de ("Z"); 58 $now = `gde (); 62 $now = `gde (); 65 i( $now ['yr'] < $e [0]) { 66  l ; 67 } i( $now ['yr'] = $e [0]) { 68 i( $now ['m'] < $e [1]) { 69  l ; 70 } i( $now ['m'] = $e [1]) { 71  $now ['mday'] > $e [2]; 73  ue ; 76  ue ; 79 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Range.php 1 gs [0]&& $vue < $this->args[0]) { 47  l ; 49 i( `ist ( $this -> gs [1]&& $vue > $this->args[1]) { 50  l ; 52  ue ; 54 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Readonly.php 1 vok -> `gModifd (); 41  `y_key_exis ( $this -> fld , $modifd ? l : ue ; 43 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Regexp.php 1 gs )) { 48  ue ; 50 i( `is_y ( $this -> gs )) { 51 `fܗch ( $this -> gs as $gexp ) { 52 i! `eg_mch ( $gexp , $vue )) { 53  l ; 56  ue ; 58 i( `eg_mch ( $this -> gs , $vue )) { 59  ue ; 63  l ; 65 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Time.php 1 = 0 && $hh <= 23) && 61 ( $mm >= 0 && $mm <= 59) && 62 ( $ss >= 0 && $ss <= 59) && 63 ( $tz_hh >= -13 && $tz_hh <= 14) && 64 ( $tz_mm >= 0 && $tz_mm <= 59) ; 66 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Timestamp.php 1 `vide ( $de )) { 58  l ; 61 i! $timeVid -> `vide ( $time )) { 62  l ; 65  ue ; 67 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Unique.php 1 vok -> `gTab (); 48 $cn = $b -> `gCi (); 49 $pks = $b -> `gIdtifrCumnNames (); 51 i( `is_y ( $pks )) { 52  $i = 0, $l = `cou ( $pks ); $i < $l; $i++) { 53 $pks [ $i ] = $cn -> `queIdtifr ($pks[$i]); 56 $pks = `imode (', ', $pks); 59 $sql = 'SELECT ' . $pks . ' FROM ' . $cn -> `queIdtifr ( $b -> `gTabName ()) . ' WHERE '; 61 i( `is_y ( $this -> fld )) { 62 `fܗch ( $this -> fld as $k => $v ) { 63 $this -> fld [ $k ] = $cn -> `queIdtifr ( $b -> `gCumnName ( $v )); 66 $sql . `imode (' = ? AND ', $this -> fld ) . ' = ?'; 67 $vues = $vue ; 69 $sql . $cn -> `queIdtifr ( $b -> `gCumnName ( $this -> fld )) . ' = ?'; 70 $vues = `y (); 71 $vues [] = $vue ; 77 $e = $this -> vok -> `e (); 78 i! ( $e = Dore_Recd :: STATE_TDIRTY || $=Dore_Recd:: STATE_TCLEAN )) { 79 `fܗch (( y $b -> `gIdtifrCumnNames ( as $pk ) { 80 $sql .' AND ' . $cn -> `queIdtifr ( $pk ) . ' != ?'; 81 $pkFldName = $b -> `gFldName ( $pk ); 82 $vues [] = $this -> vok -> $pkFldName ; 86 i( `ist ( $this -> gs && `is_y ($this->args) && isset($this->args['where'])) { 87 $sql .' AND ' . $this -> gs ['where']; 90 $mt = $b -> `gCi ()-> `gDbh ()-> `e ( $sql ); 91 $mt -> `execu ( $vues ); 93  ( ! `is_y ( $mt -> `tch ())); 95 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Unsigned.php 1 = 0) 55  ue ; 58  l ; 60 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Validator/Usstate.php 1 ue , 37 'AL' => ue , 38 'AR' => ue , 39 'AZ' => ue , 40 'CA' => ue , 41 'CO' => ue , 42 'CT' => ue , 43 'DC' => ue , 44 'DE' => ue , 45 'FL' => ue , 46 'GA' => ue , 47 'HI' => ue , 48 'IA' => ue , 49 'ID' => ue , 50 'IL' => ue , 51 'IN' => ue , 52 'KS' => ue , 53 'KY' => ue , 54 'LA' => ue , 55 'MA' => ue , 56 'MD' => ue , 57 'ME' => ue , 58 'MI' => ue , 59 'MN' => ue , 60 'MO' => ue , 61 'MS' => ue , 62 'MT' => ue , 63 'NC' => ue , 64 'ND' => ue , 65 'NE' => ue , 66 'NH' => ue , 67 'NJ' => ue , 68 'NM' => ue , 69 'NV' => ue , 70 'NY' => ue , 71 'OH' => ue , 72 'OK' => ue , 73 'OR' => ue , 74 'PA' => ue , 75 'PR' => ue , 76 'RI' => ue , 77 'SC' => ue , 78 'SD' => ue , 79 'TN' => ue , 80 'TX' => ue , 81 'UT' => ue , 82 'VA' => ue , 83 'VI' => ue , 84 'VT' => ue , 85 'WA' => ue , 86 'WI' => ue , 87 'WV' => ue , 88 'WY' => ue 90 public funi $gSs () 92  lf :: $es ; 101 public funi $vide ( $vue ) 103 i( `is_nu ( $vue )) { 104  ue ; 106  `ist ( lf :: $es [ $vue ]); 107 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/View.php 1 _me = $vwName ; 85 $this -> _quy = $quy ; 86 $this -> _quy -> `tVw ($this); 87 $this -> _cn = $quy -> `gCi (); 88 $this -> _dql = $quy -> `gDql (); 89 $this -> _sql = $quy -> `gSqlQuy (); 97 public funi $gQuy () 99  $this -> _quy ; 100 } } 107 public funi $gName () 109  $this -> _me ; 110 } } 117 public funi $gCi () 119  $this -> _cn ; 120 } } 128 public funi $ () 130 $sql = `rtf ( lf :: CREATE , $this -> _me , $this-> _quy -> `gSqlQuy ()); 131 y { 132 $this -> _cn -> `execu ( $sql , $this-> _quy -> `gFωedPams ()); 133 } `tch ( Dore_Exi $e ) { 134 throw w `Dore_Vw_Exi ( $e -> `__toSg ()); 136 } } 144 public funi $dr () 146 y { 147 $this -> _cn -> `execu ( `rtf ( lf :: DROP , $this-> _me )); 148 } `tch ( Dore_Exi $e ) { 149 throw w `Dore_Vw_Exi ( $e -> `__toSg ()); 151 } } 158 public funi $execu () 160  $this -> _quy -> `execu (); 161 } } 168 public funi $gSeSql () 170  `rtf ( lf :: SELECT , $this -> _me ); 171 } } 178 public funi $gVwSql () 180  $this -> _sql ; 181 } } 188 public funi $gVwDql () 190  $this -> _dql ; 191 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/View/Exception.php 1 `addRequedOi ('model'); 55 $this -> `addOi ('add_emy', l ); 56 $this -> `addOi ('method', '__toString'); 57 $this -> `addOi ('key_method', 'getPrimaryKey'); 58 $this -> `addOi ('d_by', nu ); 59 $this -> `addOi ('quy', nu ); 60 $this -> `addOi ('muɝ', l ); 61 $this -> `addOi ('b_mhod', nu ); 63 :: `cfigu ( $tis , $ibus ); 64 } } 71 public funi $gChois () 73 $chois = `y (); 74 i( l != $this -> `gOi ('add_empty')) 76 $chois [''] = ue == $this -> `gOi ('add_emy'? '' : $this-> `e ($this->getOption('add_empty')); 79 i( nu == $this -> `gOi ('table_method')) 81 $quy = nu == $this -> `gOi ('quy'? Dore_Ce :: `gTab ($this->gOi('mod'))-> `Quy () : $this->getOption('query'); 82 i( $d = $this -> `gOi ('order_by')) 84 $quy -> `addOrdBy ( $d [0] . ' ' . $order[1]); 86 $objes = $quy -> `execu (); 90 $bMhod = $this -> `gOi ('table_method'); 91 $sus = Dore_Ce :: `gTab ( $this -> `gOi ('mod'))-> `$bMhod (); 93 i( $sus of Dore_Quy ) 95 $objes = $sus -> `execu (); 97 i( $sus of Dore_Ci ) 99 $objes = $sus ; 101 i( $sus of Dore_Recd ) 103 $objes = w `Dore_Ci ( $this -> `gOi ('model')); 104 $objes [] = $sus ; 108 $objes = `y (); 112 $mhod = $this -> `gOi ('method'); 113 $keyMhod = $this -> `gOi ('key_method'); 115 `fܗch ( $objes as $obje ) 117 $chois [ $obje -> `$keyMhod ()] = $obje-> `$mhod (); 120  $chois ; 121 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/bin/coverage.php 1 gba_d = th ( dme ( __FILE__ ).'/..'); 20 g$h -> gi_glob ( $h -> ba_d .'/unit/*/*Test.php'); 21 g$h -> gi_glob ( $h -> ba_d .'/unit/*/*/*Test.php'); 24 g$h -> gi_glob ( $h -> ba_d .'/functional/*Test.php'); 25 g$h -> gi_glob ( $h -> ba_d .'/functional/*/*Test.php'); 27 g$c = w lime_covage ( $h ); 28 g$c -> gexnsi = '.class.php'; 29 g$c -> gvbo = l ; 30 g$c -> gba_d = th ( dme ( __FILE__ ).'/../lib'); 32 g$fd = sfFd :: ty ('fe')-> me ('*.php')-> u ('vendor')->prune('test')->prune('data'); 33 g$c ->( g$fd -> ( $c -> ba_d )); 34 g$c -> run (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/bin/prove.php 1 gba_d = th ( dme ( __FILE__ ).'/..'); 19 g$h ->( gsfFd :: ty ('fe')-> u ('fixtus')-> me ('*Te.php')-> ( y ( 21 $h -> ba_d .'/unit', 23 $h -> ba_d .'/functional' 26 ex ( $h -> run () ? 0 : 1); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/bootstrap/functional.php 1 lizeDore (); 27 i( $ist ( $fixtus )) 29 $cfiguti -> `ldFixtus ( $fixtus ); 30 } } 32 funi $sf_funiڮ__shutdown_nup () 34 sfTok :: `rDey ( sfCfig :: `g ('sf_cache_dir')); 35 sfTok :: `rDey ( sfCfig :: `g ('sf_log_dir')); 36 $dabas = `glob ( sfCfig :: `g ('sf_data_dir') . '/*.sqlite'); 37 `fܗch ( $dabas as $daba ) 39 `uƚk ( $daba ); 41 } } 43 funi $sf_funiڮ__shutdown () 46 y 48 `sf_funiڮ__shutdown_nup (); 50 `tch ( Exi $e ) 52 echo $e . PHP_EOL ; 54 } } 56  gue ; @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/bootstrap/unit.php 1 addDey ( th ( dme ( __FILE__ ).'/../../lib')); 16 g$autd ->(); 18 g$__d = th ( dme ( __FILE__ ).'/..'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/ActionRedirectTest.php 1 g ('/articles/redirectToShow') 18 -> wh ('ڣ')-> beg () 19 -> isRedeed () 20 -> d () 21 -> flowRede () 22 -> wh ('que')-> beg () 23 -> isPam ('module', 'articles') 24 -> isPam ('action', 'show') 25 -> d () @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/AdminGenBrowser.class.php 1 'articles', 9 public funi $__cڡru () 11 :: `__cڡru (); 12 $this -> `tTe ('doctrine', 'sfTesterDoctrine'); 14 $this -> `_geAdmGModus (); 17 public funi $runTes () 19 $this -> `fo ('Run sfDoctrinePlugin Admin Generator Tests'); 21 $mhods = `g_ass_mhods ( $this ); 22 `fܗch ( $mhods as $mhod ) 24 i( `subr ( $mhod , 0, 5) == '_test') 26 $this -> `$mhod (); 29 } } 31 eed funi $_VidSt () 33 $this -> `fo ('Test valid sortarameter'); 35 $this -> `g ('/users?sort=username'); 37 $mches = 0; 38 `fܗch ( $this -> `_gQuyExecutiEvts ( as $evt ) 40 i( l != `os ( $evt -> `gQuy (), 'ORDER BY u.usernamesc')) 42 ++ $mches ; 46 $this -> ` ()-> `is ( $mches , 1); 47 } } 49 eed funi $_InvidSt () 51 $this -> `fo ('Test invalid sortarameter'); 53 $this -> `g ('/users?sort=INVALID'); 56 `fܗch ( $this -> `_gQuyExecutiEvts ( as $evt ) 58 $this -> ` ()-> `uike ( $evt -> `gQuy (), '/INVALID/'); 60 } } 62 eed funi $_VidStTy () 64 $this -> `fo ('Test valid sort_typearameter'); 66 `fܗch ( `y ('asc', 'desc', 'ASC', 'DESC' as $stTy ) 68 $this -> `g ('/urs?st=uame&st_ty='. $stTy ); 70 $mches = 0; 71 `fܗch ( $this -> `_gQuyExecutiEvts ( as $evt ) 73 i( l != `os ( $evt -> `gQuy (), 'ORDER BY u.uam'. $stTy )) 75 ++ $mches ; 79 $this -> ` ()-> `is ( $mches , 1); 81 } } 83 eed funi $_InvidStTy () 85 $this -> `fo ('Test invalid sort_typearameter'); 87 $this -> `g ('/users?sort=username&sort_type=INVALID'); 90 `fܗch ( $this -> `_gQuyExecutiEvts ( as $evt ) 92 $this -> ` ()-> `uike ( $evt -> `gQuy (), '/INVALID/'); 94 } } 96 eed funi $_SyCheck () 98 $this -> `fo ('Admin Generator Sanity Checks'); 100 `fܗch ( $this -> _modus as $mod => $modu ) 102 $this -> `_runAdmGModuSyCheck ( $mod , $modu ); 104 } } 106 eed funi $_AdmGTabMhod () 108 $this -> 109 `g ('/my_articles')-> 110 `wh ('ڣ')-> `isStusCode ('200') 112 } } 114 eed funi $_AieI18nEmbedded () 116 $this -> `fo ('Testing "articles" modulembeds I18n'); 118 $fo = `y ('auth_id' => 1, 'is__homage' => l , 'en' =>rray('title' => 'Test Englishitle', 'body' => 'Test English body'), 'fr' =>rray('title' => 'Test Frenchitle', 'body' => 'Test French body'), 'created_at' =>rray('month' => '1', 'day' => '12', 'year' => '2009', 'hour' => '10', 'minute' => '03'), 'updated_at' =>rray('month' => '1', 'day' => '12', 'year' => '2009', 'hour' => '10', 'minute' => '03')); 120 $this -> 121 `g ('/articles/new')-> 122 `wh ('ڣ')-> `beg ()-> 123 `mches ('/En/')-> 124 `mches ('/Fr/')-> 125 `mches ('/Title/')-> 126 `mches ('/Body/')-> 127 `mches ('/Slug/')-> 128 `mches ('/Jonathan H. Wage/')-> 129 `mches ('/Fabien POTENCIER/')-> 130 `d ()-> 131 `wh ('que')-> `beg ()-> 132 `isPam ('module', 'articles')-> 133 `isPam ('action', 'new')-> 134 `d ()-> 135 `ick ('Save', `y ('tie' => $fo ))-> 136 `wh ('ڣ')-> `beg ()-> 137 `isRedeed ()-> 138 `flowRede ()-> 139 `d ()-> 140 `wh ('dore')-> `beg ()-> 141 `check ('Aie', `y ('is__homage' => $fo ['is_on_homepage']))-> 142 `check ('AieTni', `y ('lang' => 'fr', 'title' => 'Test Frenchitle'))-> 143 `check ('AieTni', `y ('lang' => 'en', 'title' => 'Test Englishitle'))-> 144 `d () 146 } } 148 eed funi $_EnumDrdown () 150 $this -> `fo ('Testnum columnype uses dropdownshe widget'); 152 $this -> 153 `g ('/subscriptions/new')-> 154 `wh ('ڣ')-> `beg ()-> 155 `checkEmt ('select', 'NewActivePendingExpired')-> 156 `d () 158 } } 160 eed funi $_UrEmbedsProfeFm () 162 $this -> `fo ('Test user formmbedsherofile form'); 164 $this -> 165 `g ('/users/new')-> 166 `wh ('ڣ')-> `beg ()-> 167 `mches ('/Profile/')-> 168 `mches ('/Firstame/')-> 169 `mches ('/Lastame/')-> 170 `d () 173 $this -> `fo ('Testhe Profile form savesndttachedo userroperly'); 175 $urInfo = `y ( 176 'ur' => `y ( 179 'groups_li' => `y (1, 2), 180 'rmissis_li' => `y (3, 4), 181 'Profe' => `y ( 188 $this -> `ick ('Save', $urInfo ); 190 $ur = Dore_Ce :: `gTab ('Ur')-> `fdOByUame ( $urInfo ['user']['username']); 191 $urInfo ['ur']['Profe']['ur_id'] = $ur -> id ; 193 $this -> 194 `wh ('ڣ')-> `beg ()-> 195 `isRedeed ()-> 196 `flowRede ()-> 197 `d ()-> 198 `wh ('dore')-> `beg ()-> 199 `check ('Ur', `y ('uame' => $urInfo ['user']['username']))-> 200 `check ('Profe', $urInfo ['user']['Profile'])-> 201 `check ('UrGroup', `y ('ur_id' => $ur -> id , 'group_id' => $ur-> Groups [0]->id))-> 202 `check ('UrGroup', `y ('ur_id' => $ur -> id , 'group_id' => $ur-> Groups [1]->id))-> 203 `check ('UrPmissi', `y ('ur_id' => $ur -> id , 'rmissi_id' => $ur-> Pmissis [0]->id))-> 204 `check ('UrPmissi', `y ('ur_id' => $ur -> id , 'rmissi_id' => $ur-> Pmissis [1]->id))-> 205 `d () 208 `unt ( $urInfo ['user']['Profile']['user_id']); 209 $ = $this -> `g ('/users/new')-> 210 `ick ('Save', $urInfo )-> 211 `wh ('fm')-> `beg (); 212 $ -> `hasEs (); 213 $fm = $ -> `gFm (); 214 $this -> ` ()-> `is (( rg $fm -> `gESchema (), 'username [An object withhe same "username"lreadyxist.]', 'Check username gives uniquerror'); 215 $ -> `d (); 216 } } 218 eed funi $_runAdmGModuSyCheck ( $mod , $modu ) 220 $this -> `fo ('Rušgdm g sy check f modu "' . $modu . '"'); 221 $cd = Dore_Ce :: `gTab ( $mod ) 222 -> `Quy ('a') 223 -> `tchO (); 225 $this -> 226 `fo ('Sy check o"' . $modu . '" module')-> 227 `gAndCheck ( $modu , 'index', '/' . $module)-> 228 `g ('/' . $modu . '/' . $cd -> `gId () . '/edit'); 230 $this 231 -> `ick ('Save')-> 232 `wh ('ڣ')-> `beg ()-> 233 `isRedeed ()-> 234 `flowRede ()-> 235 `d () 237 } } 239 eed funi $_geAdmGModu ( $mod , $modu ) 241 $this -> `fo ('Ggdm g modu "' . $modu . '"'); 242 $sk = w `sfDoreGeAdmTask ( $this -> `gCڋxt ()-> `gEvtDich (),ew `sfFmr ()); 243 $sk -> `run ( `y ('iti' => 'backd', 'rou__mod' => $mod )); 244 } } 246 eed funi $_geAdmGModus () 252 `fܗch ( $this -> _modus as $mod => $modu ) 254 $this -> `_geAdmGModu ( $mod , $modu ); 256 } } 258 eed funi $_nupAdmGModus () 260 $fs = w `sfFesyem ( $this -> `gCڋxt ()-> `gEvtDich (),ew `sfFmr ()); 261 `fܗch ( $this -> _modus as $modu ) 263 $this -> `fo ('Removgdm g modu "' . $modu . '"'); 264 $fs -> `execu ('rm -r' . sfCfig :: `g ('sf_p_modu_d'. '/' . $modu ); 266 $fs -> `execu ('rm -r' . sfCfig :: `g ('sf_test_dir') . '/functional/backend'); 267 $fs -> `execu ('rm -r' . sfCfig :: `g ('sf_data_dir') . '/*.sqlite'); 268 } } 270 eed funi $_gQuyExecutiEvts () 272 $evts = `y (); 274 $dabaMag = $this -> browr -> `gCڋxt ()-> `gDabaMag (); 275 `fܗch ( $dabaMag -> `gNames ( as $me ) 277 $daba = $dabaMag -> `gDaba ( $me ); 278 i( $daba of sfDoreDaba && $of = $daba-> `gProf ()) 280 `fܗch ( $of -> `gQuyExecutiEvts ( as $evt ) 282 $evts [ $evt -> `gSequ ()] = $event; 287 `kst ( $evts ); 289  `y_vues ( $evts ); 290 } } 292 public funi $__deru () 294 $this -> `_nupAdmGModus (); 295 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/AdminGenTest.php 1 runTes (); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/EnvironmentSetupTest.php 1 om ('Author'); 20 g$sus = $q -> tchAay (); 22 g$t -> is ( cou ( $sus ), 2); 23 g$t -> is ( $sus [0]['name'], 'Jonathan H. Wage'); 24 g$t -> is ( $sus [1]['name'], 'Fabien POTENCIER'); 27 g$q = Dore_Quy :: () 28 -> om ('Article') 29 -> Jo ('a.Translation'); 31 g$ties = $q -> tchAay (); 32 g$t -> is ( $ties [0]['Translation']['en']['title'], 'English Title'); 34 g$mag = Dore_Mag :: gIn (); 35 g$cn1 = $mag -> gCi ('doctrine1'); 36 g$cn2 = $mag -> gCi ('doctrine2'); 37 g$cn3 = $mag -> gCi ('doctrine3'); 40 g$t -> is ( cou ( $mag ), 3); 41 g$t -> is ( $cn1 -> gOi ('d'), 'sqle:' . r_a ( DIRECTORY_SEPARATOR , '/', sfCfig :: g ('sf_data_dir')) . '/database1.sqlite'); 42 g$t -> is ( $cn2 -> gOi ('d'), 'sqle:' . r_a ( DIRECTORY_SEPARATOR , '/', sfCfig :: g ('sf_data_dir')) . '/database2.sqlite'); 43 g$t -> is ( $cn3 -> gOi ('d'), 'sqle:' . r_a ( DIRECTORY_SEPARATOR , '/', sfCfig :: g ('sf_data_dir')) . '/database3.sqlite'); 46 g$t -> is ( $mag -> gAribu ( Dore_Ce :: ATTR_VALIDATE ), ue ); 49 g$t -> is ( $cn2 -> gAribu ( Dore_Ce :: ATTR_VALIDATE ), l ); 52 g$t -> is ( $cn3 -> gAribu ( Dore_Ce :: ATTR_EXPORT ), Dore_Ce:: EXPORT_TABLES ); 54 g$tie = w ReeiCss ('Article'); 55 g$ = w ReeiCss ('myDoctrineRecord'); 56 g$t -> is ( $tie -> isSubassOf ( $ ), ue ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/FormGeneratorTest.php 1 dg ("Testhathese models don't generate forms or filters classes"); 18 g$noFmsOrFrs = y ('UserGroup', 'UserPermission', 'GroupPermission'); 19 $fܗch ( $noFmsOrFrs as $mod ) 21 $t -> `is ( `fe_exis ( sfCfig :: `g ('sf_lib_d').'/fm/dore/'. $mod .'Fm.ass.php'), l ); 22 $t -> `is ( `fe_exis ( sfCfig :: `g ('sf_lib_d').'/fm/dore/ba/Ba'. $mod .'Fm.ass.php'), l ); 23 $t -> `is ( `fe_exis ( sfCfig :: `g ('sf_lib_d').'/fr/dore/'. $mod .'FmFr.ass.php'), l ); 24 $t -> `is ( `fe_exis ( sfCfig :: `g ('sf_lib_d').'/fr/dore/ba/Ba'. $mod .'FmFr.ass.php'), l ); 25 } } 27 g$t -> dg ('FormGeneratorTest model should generate forms butot filters'); 28 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/FmGTeFm.ass.php'), ue ); 29 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/ba/BaFmGTeFm.ass.php'), ue ); 31 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/FmGTeFmFr.ass.php'), l ); 32 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/ba/BaFmGTeFmFr.ass.php'), l ); 34 g$t -> dg ('FormGeneratorTest2 model should generate filters butot forms'); 35 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/FmGTe2Fm.ass.php'), l ); 36 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/ba/BaFmGTe2Fm.ass.php'), l ); 38 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/FmGTe2FmFr.ass.php'), ue ); 39 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/ba/BaFmGTe2FmFr.ass.php'), ue ); 41 g$t -> dg ('FormGeneratorTest3 model shouldot generate forms or filters'); 42 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/FmGTe3Fm.ass.php'), l ); 43 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/ba/BaFmGTe3Fm.ass.php'), l ); 45 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/FmGTe3FmFr.ass.php'), l ); 46 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/ba/BaFmGTe3FmFr.ass.php'), l ); 48 g$t -> dg ('FormGeneratorTest3Translationot generate forms or filters'); 49 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/FmGTe3TniFm.ass.php'), l ); 50 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fm/dore/ba/BaFmGTe3TniFm.ass.php'), l ); 52 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/FmGTe3TniFmFr.ass.php'), l ); 53 g$t -> is ( fe_exis ( sfCfig :: g ('sf_lib_d').'/fr/dore/ba/BaFmGTe3TniFmFr.ass.php'), l ); 55 g$t -> dg ('Check form generator generates forms with correct inheritance'); 56 g$ = w AuthInhFm (); 57 g$t -> is ( is_subass_of ( $ , 'AuthFm'), ue ); 59 g$ = w AuthInhFmFr (); 60 g$t -> is ( is_subass_of ( $ , 'AuthFmFr'), ue ); 62 g$t -> dg ('Check form generatordds columnso concrete inheritance forms'); 63 g$ = w AuthFm (); 64 g$t -> ok (! ist ( $ ['additional'])); 66 g$ = w AuthInhCeFm (); 67 g$t -> ok ( ist ( $ ['additional'])); 69 g$ = w AuthFmFr (); 70 g$t -> ok (! ist ( $ ['additional'])); 71 g$t -> ok (! y_key_exis ('addiڮ', $ -> gFlds ())); 73 g$ = w AuthInhCeFmFr (); 74 g$t -> ok ( ist ( $ ['additional'])); 75 g$t -> ok ( y_key_exis ('addiڮ', $ -> gFlds ())); 77 g$t -> dg ('Check form generatorespectselationsweaked by inheritance'); 78 g$ = w BlogAieFm (); 79 g$t -> is ( $ -> gWidg ('auth_id')-> gOi ('model'), 'BlogAuthor'); 80 g$t -> is ( $ -> gVid ('auth_id')-> gOi ('model'), 'BlogAuthor'); 82 g$ = w BlogAieFmFr (); 83 g$t -> is ( $ -> gWidg ('auth_id')-> gOi ('model'), 'BlogAuthor'); 84 g$t -> is ( $ -> gVid ('auth_id')-> gOi ('model'), 'BlogAuthor'); 86 g$t -> dg ('Checknumrimary keys'); 87 gy 89 g$ = w ResourTyFm (); 90 g$t -> ss ('enumrimary key widgets work'); 92 $tch ( InvidArgumtExi $e ) 94 $t -> ` ('enumrimary key widgets work'); 95 $t -> `dg (' '. $e -> `gMesge ()); 96 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/FormTest.php 1 gProfe (); 20 g$urFm = w UrFm ( $ur ); 21 g$ofeFm = w ProfeFm ( $ofe ); 22 unt ( $ofeFm ['id'], $profileForm['user_id']); 24 g$urFm -> embedFm ('Profe', $ofeFm ); 26 g$da = y ('username' => 'jwage', 28 'Profe' => y ( 33 g$urFm -> bd ( $da ); 34 g$urFm -> ve (); 36 g$t -> is ( $ur -> gId (> 0, ue ); 37 g$t -> is ( $ur -> gId (), $ofe -> gUrId ()); 38 g$t -> is ( $ur -> gUame (), 'jwage'); 39 g$t -> is ( $ofe -> gFName (), 'Jonathan'); 41 g$urCou = Dore_Quy :: () 42 -> om ('User u') 43 -> cou (); 45 g$t -> is ( $urCou , 1); 47 g$ofeCou = Dore_Quy :: () 48 -> om ('Profile') 49 -> cou (); 51 g$t -> is ( $ofeCou , 1); 53 g$widg = w sfWidgFmDoreChoi ( y ('model' => 'User')); 54 g$t -> is ( $widg -> gChois (), y (1 => 1)); 56 g$widg = w sfWidgFmDoreChoi ( y ('model' => 'User', 'key_method' => 'getUsername', 'method' => 'getPassword')); 57 g$t -> is ( $widg -> gChois (), y ('jwage' => '4cb9c8a8048fd02294477fcb1a41191a')); 59 g$widg = w sfWidgFmDoreChoi ( y ('model' => 'User', 'key_method' => 'getUsername', 'method' => 'getPassword')); 60 g$t -> is ( $widg -> gChois (), y ('jwage' => '4cb9c8a8048fd02294477fcb1a41191a')); 62 g$mhods = y ( 68 $fܗch ( $mhods as $mhod ) 70 $widg = w `sfWidgFmDoreChoi ( `y ('mod' => 'Ur', 'b_mhod' => $mhod )); 71 $t -> `is ( $widg -> `gChois (), `y (1 => 1)); 72 } } 74 g$widg = w sfWidgFmDoreChoi ( y ('model' => 'User', 'table_method' => 'widgetChoiceTableMethod4')); 75 g$t -> is ( $widg -> gChois (), y ()); 77 g$ur = w Ur (); 78 g$ur -> gGroups []-> gme = 'User Group 1'; 79 g$ur -> gGroups []-> gme = 'User Group 2'; 81 as cUrGroupFm exnds mGroupFm 83 public funi $cfigu () 85 :: `cfigu (); 86 $this -> `uFlds ( `y ('name')); 88 } } 90 g$urFm = w UrFm ( $ur ); 91 g$urFm -> embedRi ('Groups', 'UserGroupForm'); 93 g$da = y ( 96 'Groups' => y ( 97 0 => y ( 100 1 => y ( 106 g$urFm -> bd ( $da ); 107 g$t -> is ( $urFm -> isVid (), ue ); 109 i( g$urFm -> $isVid ()) 111 $urFm -> `ve (); 112 } } 114 g$t -> is ( $ur -> Groups [0]-> me , 'New User Group 1 Name'); 115 g$t -> is ( $ur -> Groups [1]-> me , 'New User Group 2 Name'); 117 g$fm = w DeuVueTeFm (); 118 g$vidSchema = $fm -> gVidSchema (); 119 g$t -> is ( $vidSchema ['me']-> gOi ('qued'), l ); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/I18nTest.php 1 gt = 'test'; 18 g$t -> is ( $tie -> Tni ['']-> t , 'test'); 20 gsfCڋxt :: gIn ()-> gUr ()-> tCuu ('fr'); 21 g$tie -> gt = 'frest'; 22 g$t -> is ( $tie -> Tni ['']-> t , 'frest'); 24 g$t -> is ( $tie -> gT (), $tie-> t ); 25 g$tie -> tT ('test'); 26 g$t -> is ( $tie -> gT (), 'test'); 28 g$tie -> tTeCumn ('test'); 29 g$t -> is ( $tie -> gTeCumn (), 'test'); 30 g$t -> is ( $tie -> Tni ['fr']['test_column'], 'test'); 32 g$tie -> ( ue ); 34 as cMyAieFm exnds mAieFm 36 public funi $cfigu () 38 :: `cfigu (); 40 $this -> `embedI18n ( `y ('en', 'fr')); 42 $authFm = w `AuthFm ( $this -> obje -> Auth ); 43 `unt ( $authFm ['id']); 45 $this -> `embedFm ('Auth', $authFm ); 47 `unt ( $this ['author_id']); 49 } } 51 g$tie = w Aie (); 52 g$tieFm = w MyAieFm ( $tie ); 54 g$da = y ( 56 'Auth' => y ( 58 'ty' => nu ), 59 '' => y ( 62 '' => y ( 65 'd_' => time (), 66 'upded_' => time (), 69 g$tieFm -> bd ( $da ); 70 g$t -> is ( $tieFm -> isVid (), ue ); 72 g$da = $tieFm -> gVues (); 74 g$vues = y ( 75 'is__homage' => ue , 77 y ( 79 'ty' => nu 82 y ( 89 y ( 95 'id' => nu , 96 'ty' => nu , 97 'vws' => nu , 98 'd_' => $da ['created_at'], 99 'upded_' => $da ['updated_at'], 102 g$t -> is ( $tieFm -> gVues (), $vues ); 104 g$tieFm -> ve (); 106 g$exed = y ( 107 'id' => $tie -> id , 108 'auth_id' => $tie -> Auth -> id , 109 'is__homage' => ue , 110 'ty' => nu , 111 'vws' => nu , 112 'd_' => $tie -> d_ , 113 'upded_' => $tie -> upded_ , 115 y ( 117 y ( 118 'id' => $tie -> id , 126 y ( 127 'id' => $tie -> id , 136 y ( 137 'id' => $tie -> Auth -> id , 139 'ty' => nu 143 g$t -> is ( $tie -> toAay ( ue ), $exed ); 145 g$tieFm = w MyAieFm ( $tie ); 147 g$exed = y ( 148 'id' => $tie -> id , 149 'auth_id' => $tie -> auth_id , 150 'is__homage' => ue , 151 'ty' => nu , 152 'vws' => nu , 153 'd_' => $tie -> d_ , 154 'upded_' => $tie -> upded_ , 156 y ( 157 'id' => $tie -> id , 165 y ( 166 'id' => $tie -> id , 174 y ( 175 'id' => $tie -> Auth -> id , 177 'ty' => nu 181 g$t -> is ( $tieFm -> gDeus (), $exed ); 184 g$da = y ( 185 'id' => $tie -> id , 186 'is__homage' => ue , 187 'ty' => nu , 188 'd_' => $tie -> d_ , 189 'upded_' => $tie -> upded_ , 191 y ( 192 'id' => $tie -> id , 200 y ( 201 'id' => $tie -> id , 209 y ( 211 'ty' => nu 215 g$tieFm -> bd ( $da ); 216 g$t -> is ( $tieFm -> isVid (), ue ); 218 g$tie = w Aie (); 219 g$tieFm = w MyAieFm ( $tie ); 221 g$da = y ( 223 'Auth' => y ( 225 'ty' => nu ), 226 '' => y ( 229 '' => y ( 232 'd_' => time (), 233 'upded_' => time (), 236 g$tieFm -> bd ( $da ); 237 g$t -> is ( $tieFm -> isVid (), l ); 240 g$tie = w Aie (); 241 gsfCڋxt :: gIn ()-> gUr ()-> tCuu ('en'); 242 g$tie -> gt = 'test'; 243 gsfCڋxt :: gIn ()-> gUr ()-> tCuu ('fr'); 244 g$t -> is ( $tie -> t , 'test'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/PagerTest.php 1 gme = 'Auth #' . $i ; 21 g$auth -> ve (); 24 g$numPPage = 25; 25 g$g = w sfDorePag ('Auth', $numPPage ); 26 g$g -> tTabMhod ('testTableMethod'); 27 g$g -> tPage (1); 28 g$g -> (); 30 g$t -> is ( $g -> gQuy ()-> gSqlQuy (), 'SELECT.id AS__id,.name AS__name,.type AS__type FROMuthor WHERE (a.id > 0) LIMIT 25'); 31 g$t -> ok ( $g -> isFPage ()); 33 g$g -> tPage (2); 34 g$g -> (); 36 g$t -> is ( $g -> gQuy ()-> gSqlQuy (), 'SELECT.id AS__id,.name AS__name,.type AS__type FROMuthor WHERE (a.id > 0) LIMIT 25 OFFSET 25'); 37 g$t -> is ( $g -> gQuy ()-> cou (), $tٮ ); 38 g$t -> ok ( $g -> isLaPage ()); 40 g$sus = $g -> gResus (); 42 g$t -> is ( gty ( $sus ), 'object'); 43 g$t -> is ( g_ass ( $sus ), 'Doctrine_Collection'); 44 g$t -> is ( cou ( $sus ), $numPPage ); 45 g$t -> is ( $g -> gCouQuy ()-> cou (), $tٮ ); 47 g$g = w sfDorePag ('Auth', $numPPage ); 48 g$g -> tTabMhod ('testTableMethod'); 49 g$g -> tPage (1); 50 g$g -> (); 52 g$sus = $g -> gResus ( Dore_Ce :: HYDRATE_ARRAY ); 54 g$t -> is ( gty ( $sus ), 'array'); 55 g$t -> is ( cou ( $sus ), $numPPage ); 57 g$g = w sfDorePag ('Auth', $numPPage ); 58 g$g -> tTabMhod ('testTableMethod2'); 59 g$g -> tQuy ( Dore_Quy :: ()-> om ('Auth܇')-> whe ('a.id < 9999999')); 60 g$g -> tPage (1); 61 g$g -> (); 63 g$t -> is ( $g -> gQuy ()-> gSqlQuy (), 'SELECT.id AS__id,.name AS__name,.type AS__type FROMuthor WHERE (a.id < 9999999 AND.id > 0) LIMIT 25'); 65 g$g = w sfDorePag ('Auth', $numPPage ); 66 g$g -> tQuy ( Dore_Quy :: ()-> om ('Auth܇')-> whe ('a.id < 9999999')); 67 g$g -> tPage (1); 68 g$g -> (); 70 g$t -> is ( $g -> gQuy ()-> gSqlQuy (), 'SELECT.id AS__id,.name AS__name,.type AS__type FROMuthor WHERE (a.id < 9999999) LIMIT 25'); 73 g$t -> dg ('iterator interface'); 75 g$g = w sfDorePag ('Author', 10); 76 g$g -> (); 77 $fܗch ( $g as $auth ) 79 $t -> `i_ok ( $auth , 'Author'); 80 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/RouteTest.php 1 $check ) 30 $b -> 31 g ( $u )-> 32 wh ('ڣ')-> beg ()-> 33 isStusCode ('200')-> 34 mches ( $check )-> 35 d () 39 g$tie = Dore_Ce :: gTab ('Aie')-> fd (1); 41 g$rous = y ( 42 'dore_rou_5' => y ( 44 'ms' => $tie 46 'dore_rou_6' => y ( 48 'ms' => $tie 50 'dore_rou_7' => y ( 52 'ms' => y ('testing_non_column' => 'w00t') 54 'dore_rou_8' => y ( 56 'ms' => y ( 57 'id' => $tie -> id , 58 'ug' => $tie -> ug , 59 't' => $tie -> t , 65 fܗch ( $rous as $rou => $check ) 67 $u = u_f2 ( $rou , $check ['params']); 68 g$b -> ()-> is ( $u , $check ['u'], 'Check "' . $rou . '" generates correct url'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/SchemaMergeTest.php 1 dg ('columns'); 21 g$t -> is_dy ( $b -> gCumnDefi ('me'), y ( 24 'nnu' => ue , 27 g$t -> is_dy ( $b -> gCumnDefi ('weight'), y ( 34 g$t -> dg ('actAs'); 36 g$tis = $b -> gTeme ('Timeamb')-> gOis (); 37 g$t -> is ( $tis ['upded']['dibd'], ue , 'the short "actAs" syntax isxpanded'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/Ticket/5269Test.php 1 guame = 'nullvaluetest'; 27 g$ur -> gsswd = 'changeme'; 28 g$ur -> g = 'test'; 29 g$ur -> ve (); 30 g$ur -> (); 31 unt ( $ur ); 33 g$ur = Dore_Ce :: gTab ('Ur')-> fdOByUame ('nullvaluetest'); 34 g$urFm = w TeUrFm ( $ur ); 35 g$urFm -> bd ( y ('id' => $ur -> id , 'username' => 'nullvaluetest', 'password' => 'changeme2')); 36 i( g$urFm -> $isVid ()) 38 $urFm -> `ve (); 39 } } 41 g$ur -> (); 42 unt ( $ur ); 44 g$ur = Dore_Ce :: gTab ('Ur')-> fdOByUame ('nullvaluetest'); 45 g$t -> is ( $ur -> toAay (), y ('id' => 1, 'username' => 'nullvaluetest', 'password' => 'b0660f0b8b989971524762330aea5449', 'test' => 'test')); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/Ticket/7774Test.php 1 is ( ass_exis ('ModFromLkedSchema'), ue , 'models from symlinked schema filesre built'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/UniqueTest.php 1 bd ( $da ); 25 g$uniqueTeFm -> ve (); 27 g$uniqueTeFm = w UniqueTeFm (); 28 g$uniqueTeFm -> bd ( $da ); 29 g$t -> is ( $uniqueTeFm -> isVid (), l ); 30 g$t -> is (( rg $uniqueTeFm -> gESchema (), 'unique_test1 [An object withhe same "unique_test1"lreadyxist. An object withhe same "unique_test1, unique_test2"lreadyxist.] unique_test4 [An object withhe same "unique_test4"lreadyxist.]'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/UploadTest.php 1 g ('/attachment/index') 21 -> tFld ('chmt[fe_th]', sfCfig :: g ('sf_config_dir').'/databases.yml') 22 -> ick ('submit') 24 -> wh ('ڣ')-> beg () 25 -> checkEmt ('h1:contains("ok")') 26 -> d () 28 -> wh ('dore')-> check ('Aachmt', y ( 29 'fe_th' => AachmtFm :: TEST_GENERATED_FILENAME , 33 g$browr -> ()-> is ( fe_exis ( sfCfig :: g ('sf_che_d').'/'. AachmtFm :: TEST_GENERATED_FILENAME ), ue , 'uploaded file isamed correctly'); 35 g$browr 36 -> g ('/attachment/editable?id=1') 38 -> tFld ('attachment[file_path_delete]', 1) 39 -> ick ('submit') 41 -> wh ('ڣ')-> beg () 42 -> checkEmt ('h1', 'ok') 43 -> d () 45 -> wh ('dore')-> check ('Aachmt', y ( 46 'fe_th' => AachmtFm :: TEST_GENERATED_FILENAME , 47 ), l ) 50 g$browr -> ()-> is ( fe_exis ( sfCfig :: g ('sf_che_d').'/'. AachmtFm :: TEST_GENERATED_FILENAME ), l , 'uploaded file isemoved'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/backend/config/backendConfiguration.class.php 1 obje = $this-> `gRou ()-> `gObjes (); 17 } `tch ( Exi $e ) { 18 y { 19 $this -> obje = $this-> `gRou ()-> `gObje (); 20 } `tch ( Exi $e ) { 21  sfVw :: NONE ; 25 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/backend/modules/doctrine_route_test/templates/indexSuccess.php 1 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/backend/modules/my_articles/actions/actions.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 4 5 6 7 < lk l ="shtcuic" hf ="/favicon.ico" /> 9 10 11 12 < body > 13 14 15 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/config/frontendConfiguration.class.php 1 tieLi = $this-> `gAieTab ()-> `fdA (); 18 public funi $execuRedeToShow () 20 $this -> `de ('tie', Dore_Ce :: `gTab ('Aie')-> `Quy ()-> `tchO ()); 21 } } 23 public funi $execuShow () 25 $this -> tie = $this-> `gRou ()-> `gObje (); 26 } } 28 public funi $execuCe () 30 $this -> fm = w `AieFm (); 32 $this -> `tTeme ('edit'); 33 } } 35 public funi $execuEd ( $que ) 37 $this -> fm = $this-> `gAieFm ( $que -> `gPam ('id')); 38 } } 40 public funi $execuUpde ( $que ) 42 $this -> `fwd404Uess ( $que -> `isMhod ( sfReque :: POST )); 44 $this -> fm = $this-> `gAieFm ( $que -> `gPam ('id')); 46 $this -> fm -> `bd ( $que -> `gPam ('article')); 47 i( $this -> fm -> `isVid ()) 49 $tie = $this -> fm -> `ve (); 51 $this -> `de ('ties/ed?id='. $tie -> `g ('id')); 54 $this -> `tTeme ('edit'); 55 } } 57 public funi $execuDe ( $que ) 59 $this -> `fwd404Uess ( $tie = $this-> `gAieById ( $que -> `gPam ('id'))); 61 $tie -> `de (); 63 $this -> `de ('articles/index'); 64 } } 66 ive funi $gAieTab () 68  Dore_Ce :: `gTab ('Article'); 69 } } 71 ive funi $gAieById ( $id ) 73  $this -> `gAieTab ()-> `fd ( $id ); 74 } } 76 ive funi $gAieFm ( $id ) 78 $tie = $this -> `gAieById ( $id ); 80 i( $tie of Aie ) 82  w `AieFm ( $tie ); 86  w `AieFm (); 88 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/articles/templates/editSuccess.php 1 gObje () ?> 2 < h1 > isNew (? 'New' : 'Ed' ?> Aies 4 < fm ai ="isNew(? '?id='.$tie->g('id': '')?>" mhod ="po" $isMuɝt ( d t 'enctype="multipart/form-data" ' ?>> 5 < b > 6 < tfo > 7 < > 8 < td cޥ ="2"> 9 & nb ;< a hf =""> Back to li 10 $isNew ()): ?> 11 & nb ; `g ('id'), `y ('po' => ue , 'confirm' => 'Are you sure?')) ?> 12 13 < put ty ="subm" vue ="Save" /> 14 15 16 17 < tbody > 18 `ndGlobEs () ?> 19 < > 20 < th >< b ="tie_auth_id"> Auth id 21 < td > 22 `ndE () ?> 23 24 25 26 < > 27 < th >< b ="tie_d_"> Ced 28 < td > 29 `ndE () ?> 30 31 32 33 < > 34 < th >< b ="tie_upded_"> Upded 35 < td > 36 `ndE () ?> 37 38 39 40 < > 41 < th >< b ="tie_"> En 42 < td > 43 `ndE () ?> 44 45 46 47 < > 48 < th >< b ="tie_"> Fr 49 < td > 50 `ndE () ?> 51 53 54 55 56 57 58 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/articles/templates/indexSuccess.php 1 < gh1 > Aies gLi 3 < gb > 4 < gthd > 5 < g > 6 < gth > gId 7 < gth > gAuth 8 < gth > Ced g 9 < gth > Upded g 10 11 12 < gtbody > 13 14 < > 15 < td >< a hf ="g('id')?>"> `gid () ?> 16 < td > `gAuth () ?> 17 < td > `gd_ () ?> 18 < td > `gupded_ () ?> 19 20 21 22 24 < a hf =""> Ce @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/articles/templates/showSuccess.php 1 < gh1 > @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/attachment/actions/actions.class.php 1 fm = w `AachmtFm (); 21 `unt ( $this -> fm ['id']); 24 $que -> `isMhod ('post') 26 $this -> fm -> `bdAndSave ( 27 $que -> `gPam ( $this -> fm -> `gName ()), 28 $que -> `gFes ( $this -> fm -> `gName ()) 32  sfVw :: SUCCESS ; 35  sfVw :: INPUT ; 38 public funi $execuEdab ( sfWebReque $que ) 40 $chmt = Dore_Ce :: `gTab ('Aachmt')-> `fd ( $que ['id']); 41 $this -> `fwd404Uess ( $chmt , 'Attachmentot found'); 43 $this -> fm = w `AachmtFm ( $chmt ); 45 $que -> `isMhod ('post') 47 $this -> fm -> `bdAndSave ( 48 $que -> `gPam ( $this -> fm -> `gName ()), 49 $que -> `gFes ( $this -> fm -> `gName ()) 53  sfVw :: SUCCESS ; 56  sfVw :: INPUT ; 57 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/attachment/templates/editableInput.php 1 < fm gai ="gObje()->id?>" mhod ="post"> 2 < b > 3 4 5 < p >< bu ty ="subm"> subm

    6 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/attachment/templates/editableSuccess.php 1 < gh1 > gok @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/attachment/templates/indexInput.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 5 < p >< bu ty ="subm"> subm

    6 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/attachment/templates/indexSuccess.php 1 < gh1 > gok @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/templates/layout.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/config/ProjectConfiguration.class.php 1 `abAPlugsEx ( `y ('sfPropelPlugin')); 13 public funi $lizeDore () 15 `chd ( sfCfig :: `g ('sf_root_dir')); 17 $sk = w `sfDoreBudTask ( $this -> dich ,ew `sfFmr ()); 18 $sk -> `tCfiguti ( $this ); 19 $sk -> `run ( `y (),rray( 20 'no-cfmi' => ue , 21 'db' => ue , 22 'mod' => ue , 23 'fms' => ue , 24 'frs' => ue , 26 } } 28 public funi $ldFixtus ( $fixtus ) 30 $th = sfCfig :: `g ('sf_da_d'. '/' . $fixtus ; 31 i! `fe_exis ( $th )) { 32 throw w `sfExi ('Invalid data fixtures file'); 34 `chd ( sfCfig :: `g ('sf_root_dir')); 35 $sk = w `sfDoreDaLdTask ( $this -> dich ,ew `sfFmr ()); 36 $sk -> `tCfiguti ( $this ); 37 $sk -> `run ( `y ( $th )); 38 } } 40 public funi $cfiguDore ( Dore_Mag $mag ) 42 $mag -> `tAribu ( Dore_Ce :: ATTR_VALIDATE , ue ); 44 $tis = `y ('baseClassName' => 'myDoctrineRecord'); 45 sfCfig :: `t ('dore_mod_bud_tis', $tis ); 46 } } 48 public funi $cfiguDoreCi ( Dore_Ci $ci ) 50 } } 52 public funi $cfiguDoreCiDore2 ( Dore_Ci $ci ) 54 $ci -> `tAribu ( Dore_Ce :: ATTR_VALIDATE , l ); 55 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/filter/doctrine/ArticleFormFilter.class.php 1 `embedI18n ( `y ('en', 'fr')); 16 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/form/doctrine/ArticleTranslationForm.class.php 1 widgSchema ['fe_th'] = w `sfWidgFmIutFeEdab ( `y ( 19 'fe_c' => sfCfig :: `g ('sf_che_d').'/'. $this -> `gObje ()-> fe_th , 20 'ed_mode' => ! $this -> `isNew (), 22 $this -> vidSchema ['fe_th'] = w `sfVidFe ( `y ( 23 'th' => sfCfig :: `g ('sf_cache_dir'), 24 'mime_ty_guesrs' => `y (), 25 'qued' => l , 27 $this -> vidSchema ['fe_th_de'] = w `sfVidBoޗn (); 30 eed funi $geFePhFame () 32  lf :: TEST_GENERATED_FILENAME ; 33 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/form/doctrine/AuthorForm.class.php 1 obje -> `gProfe ()); 15 `unt ( $ofeFm ['id'], $profileForm['user_id']); 17 $this -> `embedFm ('Profe', $ofeFm ); 19 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/Article.class.php 1 ug ; 12 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/ArticleTable.class.php 1 `execu (); 12 public funi $veAie2 ( y $ms ) 14 $quy = $this -> `Quy ('a'); 15  $quy -> `execu (); 16 } } 18 public funi $veAie3 ( y $ms ) 20 $quy = $this -> `Quy ('a'); 21  $quy -> `execu (); 22 } } 24 public funi $veAie4 ( y $ms ) 26 $quy = $this -> `Quy ('a'); 27  $quy -> `tchO (); 28 } } 30 public funi $rouTe9 ( y $ms ) 32  Dore_Quy :: ` () 33 -> `om ('Article') 34 -> `whe ('a.id = ?', $ms ['id']) 35 -> `lim (1) 36 -> `execu (); 37 } } 39 public funi $rouTe10 ( Dore_Quy $q ) 41 $q -> `Whe ($q-> `gRoAls () . '.is_on_homepage = ?', 0); 42  $q -> `tchO (); 43 } } 45 public funi $AdmGTabMhod ( Dore_Quy $q ) 47  $q ; 48 } } 50 public funi $gNewQuy () 52  $this -> `Quy ()-> ` ('title, body'); 53 } } 55 public funi $addOnHomage ( Dore_Quy $q = nu ) 57 i( `is_nu ( $q )) 59 $q = $this -> `Quy ('a'); 61 $s = $q -> `gRoAls (); 62  $q -> `addWhe ( $s .'.is_on_homepage = 1'); 63 } } 65 public funi $frSuldQuy ( $quy ) 67 $quy -> ` ('title, body'); 68 } } 70 public funi $frSuldQuyAndRu ( $quy ) 72  $quy -> ` ('title, body'); 73 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/Attachment.class.php 1 `exis ()) 12 $auth = Dore_Ce :: `gTab ('Auth')-> `fdOByName ( `im ( $me )); 13 i( $auth ) 15 $this -> `assignIdtifr ( $auth -> `idtifr ()); 17  $this -> `_t ('me', $me ); 20  $this -> `_t ('me', $me ); 23 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/AuthorInheritance.class.php 1 `Quy ('a') 10 -> `whe ('a.id > 0'); 13 public funi $TabMhod2 ( Dore_Quy $q ) 15 $q -> `addWhe ('a.id > 0'); 16  $q ; 17 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/BlogArticle.class.php 1 `_t ('sswd', `md5 ( $sswd )); 12 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/model/doctrine/UserGroup.class.php 1 `Quy ('u'); 12 public funi $widgChoiTabMhod2 () 14  $this -> `widgChoiTabMhod1 () 15 -> `execu (); 16 } } 18 public funi $widgChoiTabMhod3 () 20  $this -> `widgChoiTabMhod1 () 21 -> `tchO (); 22 } } 24 public funi $widgChoiTabMhod4 () 26  $this -> `widgChoiTabMhod1 () 27 -> `whe ('1 = 0') 28 -> `execu (); 29 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/lib/myDoctrineRecord.class.php 1 fdA (); 18 g$t -> is ( cou ( $auths ), 2); 20 g$auth = w Auth (); 23 g$auth -> tName ('Jonathan H. Wage'); 24 g$auth -> ve (); 27 g$t -> is ( $auth -> gName (), $auth-> me ); 31 g$t -> is ( $auth -> gId (), 1); 34 g$auths = Dore_Ce :: gTab ('Auth')-> fdA (); 35 g$t -> is ( cou ( $auths ), 2); 37 g$tie = w Aie (); 38 g$tie -> gt = 'test'; 41 g$t -> is (( rg $tie , 'test'); 44 g$t -> is ( $tie -> gAuth_id (), $tie-> auth_id ); 45 g$t -> is ( $tie -> gAuthId (), $tie-> auth_id ); 46 g$t -> is ( $tie -> gauthId (), $tie-> auth_id ); 47 g$t -> is ( $tie -> gAuthID (), $tie-> auth_id ); 48 g$t -> is ( $tie -> gauth_id (), $tie-> auth_id ); 51 g$mCa = w CamCa (); 52 g$mCa -> gCamCa = 'camel'; 53 g$mCa -> tTeCamCa ('camel'); 55 g$t -> is ( $mCa -> gTeCamCa (), 'camel'); 56 g$t -> is ( $mCa -> gCamCa (), 'camel'); 57 g$t -> is ( $mCa -> gm (), 'camel'); 58 g$t -> is ( $mCa -> g_m_ (), 'camel'); 59 g$t -> is ( $mCa -> gTe_m_ (), 'camel'); 62 g$tie -> tAuth ( $auth ); 63 g$t -> is ( $tie -> Auth , $auth ); 64 g$t -> is ( $tie -> gAuth (), $auth ); 67 g$t -> is ( $tie -> gCamCa ()-> gTab ()-> gOi ('name'), 'CamelCase'); 70 g$deTime = $tie -> gDeTimeObje ('created_at'); 71 g$t -> is ( $deTime of DeTime , ue ); 72 g$t -> is ( $deTime -> fm ('m/d/Y'), de ('m/d/Y')); 74 gy { 75 g$tie -> gDeTimeObje ('author_id'); 76 g$t -> (); 77 } $tch ( Exi $e ) { 78 $t -> `ss (); 79 } } 81 g$tie -> tDeTimeObje ('d_', w DeTime ('1985-09-01')); 82 g$t -> is ( $tie -> gDeTimeObje ('d_')-> fm ('m/d/Y'), '09/01/1985'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/autoloaderTest.php 1 ok ( ass_exis ('Doctrine'), 'autoloaderoads "Doctrine"'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/form/sfFormDoctrineTest.php 1 dg ('->__construct()'); 11 as cNumicFldFm exnds mAieFm 13 public funi $cfigu () 15 $this -> widgSchema [1] = w `sfWidgFmIutText (); 16 $this -> vidSchema [1] = w `sfVidPass (); 17 $this -> `tDeu (1, '==DEFAULT_VALUE=='); 19 } } 21 g$fm = w NumicFldFm (); 22 g$deus = $fm -> gDeus (); 23 g$t -> is ( $deus [1], '==DEFAULT_VALUE==', '->__construct()llows ->configure()o set defaults onumeric fields'); 25 as cDeuVuesFm exnds mAuthFm 27 public funi $cfigu () 29 $this -> `tDeu ('name', 'John Doe'); 31 } } 33 g$auth = w Auth (); 34 g$fm = w DeuVuesFm ( $auth ); 35 g$t -> is ( $fm -> gDeu ('name'), 'John Doe', '->__construct() uses form defaults forew objects'); 37 g$auth = w Auth (); 38 g$auth -> gme = 'Jacques Doe'; 39 g$auth -> ve (); 40 g$fm = w DeuVuesFm ( $auth ); 41 g$t -> is ( $fm -> gDeu ('name'), 'Jacques Doe', '->__construct() uses object values default forxisting objects'); 42 g$auth -> de (); 45 g$t -> dg ('->embedRelation()'); 47 as cmyAieFm exnds mAieFm 51 g$b = Dore_Ce :: gTab ('Author'); 52 g$fm = w AuthFm ( $b -> ( y ( 53 'Aies' => y ( 54 y ('title' => 'Article 1'), 55 y ('title' => 'Article 2'), 56 y ('title' => 'Article 3'), 60 g$fm -> embedRi ('Articles'); 61 g$embeddedFms = $fm -> gEmbeddedFms (); 63 g$t -> ok ( ist ( $fm ['Articles']), '->embedRelation()mbeds forms'); 64 g$t -> is ( cou ( $embeddedFms ['Articles']), 3, '->embedRelation()mbeds one form forachelated object'); 66 g$fm -> embedRi ('Aies', 'myAieFm', y ׼ay('' => ue ))); 67 g$embeddedFms = $fm -> gEmbeddedFms (); 68 g$meEmbeddedFms = $embeddedFms ['Aies']-> gEmbeddedFms (); 69 g$t -> i_ok ( $meEmbeddedFms [0], 'myArticleForm', '->embedRelation()ccepts form classrgument'); 70 g$t -> ok ( $meEmbeddedFms [0]-> gOi ('test'), '->embedRelation()ccepts formrgumentsrgument'); 72 g$fm = w AuthFm ( $b -> ( y ( 73 'Aies' => y ( 74 y ('title' => 'Article 1'), 75 y ('title' => 'Article 2'), 78 g$fm -> embedRi ('Articlessuthor_articles'); 79 g$t -> is ( ist ( $fm ['auth_ties']), ue , '->embedRelation()mbeds usingnlias'); 80 g$t -> is ( cou ( $fm ['author_articles']), 2, '->embedRelation()mbeds one form forachelated object usingnlias'); 82 g$fm = w AuthFm ( $b -> ( y ( 83 'Aies' => y ( 84 y ('title' => 'Article 1'), 85 y ('title' => 'Article 2'), 88 g$fm -> embedRi ('Articles ASuthor_articles'); 89 g$t -> is ( ist ( $fm ['auth_ties']), ue , '->embedRelation()mbeds usingnlias with case insensitive separator'); 91 g$fm = w AieFm ( Dore_Ce :: gTab ('Aie')-> ( y ( 92 'Auth' => y ('name' => 'John Doe'), 94 g$fm -> embedRi ('Author'); 95 g$t -> is ( ist ( $fm ['Auth']), ue , '->embedRelation()mbeds ONEypeelation'); 96 g$t -> is ( ist ( $fm ['Auth']['me']), ue , '->embedRelation()mbeds ONEypeelation'); 97 g$t -> is ( $fm ['Auth']['me']-> gVue (), 'John Doe', '->embedRelation() uses values fromheelated object'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/form/sfFormFilterDoctrineTest.php 1 `tWidgs ( `y ( 15 'me' => w `sfWidgFmIutText (), 16 'nomhod_bc' => w `sfWidgFmIutText (), 17 'nomhod' => w `sfWidgFmIutText (), 18 'auth_id' => w `sfWidgFmIutText (), 21 $this -> `tVids ( `y ( 22 'me' => w `sfVidPass (), 23 'nomhod_bc' => w `sfVidPass (), 24 'nomhod' => w `sfVidPass (), 25 'auth_id' => w `sfVidPass (), 29 public funi $addNameCumnQuy ( $quy , $fld , $vue ) 31 $this -> osdFlds [] = $fld ; 32 } } 34 public funi $gFlds () 36  `y_mge ( :: `gFlds (), `y ( 41 } } 44 g$t -> dg ('->getQuery()'); 46 g$fr = w AieFmFr (); 47 g$fr -> bd ( y ()); 48 g$t -> i_ok ( $fr -> gQuy (), 'Doctrine_Query', '->getQuery()eturns Doctrine_Query object'); 50 g$quy = Dore_Quy :: ()-> ('title, body'); 52 g$fr = w AieFmFr ( y (),ay('quy' => $quy )); 53 g$fr -> bd ( y ()); 54 g$t -> is_dy ( $fr -> gQuy ()-> gDqlPt (''), y ('title, body'), '->getQuery() useshe query option'); 55 g$t -> ok ( $fr -> gQuy (!= $quy , '->getQuery() cloneshe query option'); 58 g$fr = w TeFmFr (); 59 g$fr -> bd ( y ('nomethod_bc' => 'nomethod_bc')); 60 gy 62 g$fr -> gQuy (); 63 g$t -> ('->getQuery()hrowsnxception if fieldhat isoteal column is specified in getFields() but column method doesotxist'); 65 $tch ( Exi $e ) 67 $t -> `ss ('->getQuery()hrowsnxception if fieldhat isoteal column is specified in getFields() but column method doesotxist'); 68 } } 71 g$fr = w TeFmFr (); 72 g$fr -> bd ( y ('body' => 'body')); 73 gy 75 g$fr -> gQuy (); 76 g$t -> ('->getQuery()hrowsnxception if field iseal columnndeither columnorype methodxists'); 78 $tch ( Exi $e ) 80 $t -> `ss ('->getQuery()hrowsnxception if field iseal columnndeither columnorype methodxists'); 81 } } 84 g$fr = w TeFmFr (); 85 g$fr -> bd ( y ('nomethod' => 'nomethod')); 86 gy 88 g$fr -> gQuy (); 89 g$t -> ss ('->getQuery() doesothrownxception when value without query method isassed'); 91 $tch ( Exi $e ) 93 $t -> ` ('->getQuery() doesothrownxception when value without query method isassed'); 94 } } 97 g$fr = w TeFmFr (); 98 g$fr -> bd ( y ('name' => 'Kris Wallsmith')); 99 g$fr -> gQuy (); 100 g$t -> is_dy ( $fr -> osdFlds , y ('name'), '->getQuery()rocesses fieldsot specified in getFields()'); 103 g$fr = w TeFmFr (); 104 g$fr -> bd ( y ('author_id' =>rray('text' => 0))); 105 g$quy = $fr -> gQuy (); 106 g$t -> is ( im ( $quy -> gDql ()), 'FROM Article WHERE.author_id = ?', '->getQuery() filters by 0umber'); 107 g$t -> is ( $quy -> gFωedPams (), y (0), '->getQuery() filters by 0umber'); 109 g$fr = w AieFmFr (); 110 g$fr -> bd ( y ('type' =>rray('is_empty' => '1', 'text' => ''))); 111 g$quy = $fr -> gQuy (); 112 g$t -> is ( im ( $quy -> gDql ()), 'FROM Article WHERE (r.type IS NULL OR.type = ?)', '->getQuery()ests forull ormptyext fields'); 113 g$t -> is ( $quy -> gFωedPams (), y (''), '->getQuery()ests forull ormptyext fields'); 115 g$fr = w AieFmFr (); 116 g$fr -> bd ( y ('views' =>rray('is_empty' => '1', 'text' => ''))); 117 g$quy = $fr -> gQuy (); 118 g$t -> is ( im ( $quy -> gDql ()), 'FROM Article WHERE (r.views IS NULL OR.views = ?)', '->getQuery()ests forull ormptyumber fields'); 119 g$t -> is ( $quy -> gFωedPams (), y (''), '->getQuery()ests forull ormptyumber fields'); 121 g$t -> dg ('->setTableMethod()'); 123 g$fr = w AieFmFr (); 124 g$fr -> tTabMhod ('getNewQuery'); 125 g$fr -> bd ( y ()); 126 g$t -> is_dy ( $fr -> gQuy ()-> gDqlPt (''), y ('title, body'), '->setTableMethod() specifies methodhat caneturnew query'); 128 g$fr = w AieFmFr (); 129 g$fr -> tTabMhod ('filterSuppliedQuery'); 130 g$fr -> bd ( y ()); 131 g$t -> is_dy ( $fr -> gQuy ()-> gDqlPt (''), y ('title, body'), '->setTableMethod() specifies methodhat can modifyhe supplied query'); 133 g$fr = w AieFmFr (); 134 g$fr -> tTabMhod ('filterSuppliedQueryAndReturn'); 135 g$fr -> bd ( y ()); 136 g$t -> is_dy ( $fr -> gQuy ()-> gDqlPt (''), y ('title, body'), '->setTableMethod() specifies methodhat can modifyndeturnhe supplied query'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/pager/sfDoctrinePagerTest.php 1 dg ('->getResults()'); 12 g$quy = Dore_Ce :: gTab ('Aie')-> Quy (); 13 g$quy -> tHydtiMode ( Dore_Ce :: HYDRATE_NONE ); 14 g$g = w sfDorePag ('Article', 10); 15 g$g -> tQuy ( $quy ); 16 g$g -> (); 17 g$t -> i_ok ( $g -> gResus (), 'array', '->getResults() useshe hydration mode set onhe query'); 20 g$t -> dg ('->getNbResults()'); 22 g$g = w sfDorePag ('Article', 10); 23 g$g -> (); 24 g$cou = Dore_Ce :: gTab ('Aie')-> Quy ()-> cou (); 25 g$t -> is ( $g -> gNbResus (), $cou , '->getNbResults()eturnsheumber ofesults'); 28 g$t -> dg ('Countable interface'); 30 g$g = w sfDorePag ('Article', 10); 31 g$g -> (); 32 g$t -> is ( cou ( $g ), $g-> gNbResus (), '"Countable" interfaceeturnsheotalumber of objects'); 35 g$t -> dg ('Iterator interface'); 37 g$g = w sfDorePag ('Article', 10); 38 g$g -> (); 39 g$nm = 0; 40 g$ed = 0; 41 fܗch ( $g -> $gResus ( as $obje ) 43 $nm ++; 44 } } 45 $fܗch ( $g as $obje ) 47 $ed ++; 48 } } 49 g$t -> is ( $ed , $nm , '"Iterator" interfaceoops over objects inhe currentager'); 52 g$t -> dg ('->setTableMethod()'); 53 g$g = w sfDorePag ('Article', 10); 54 g$g -> tTabMhod ('addOnHomepage'); 55 g$g -> (); 56 g$t -> is ( $g -> gNbResus (), cou ( Dore_Ce :: gTab ('Aie')-> fdByIsOnHomage ('1')), '->setTableMethod() updatehe query'); 59 g$t -> dg ('Serialization'); 60 g$g = unrlize ( rlize ( $g )); 61 g$g -> (); 62 g$t -> is ( $g -> gNbResus (), cou ( Dore_Ce :: gTab ('Aie')-> fdByIsOnHomage ('1')), 'serializationreserves TableMethod functionality'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/record/sfDoctrineRecordTest.php 1 dg ('->__construct()'); 11 funi $is_symfy_i18n_fr ( $fr ) 13  $fr of sfDoreRecdI18nFr ; 14 } } 16 g$b = Dore_Ce :: gTab ('Article'); 17 w Aie (); 18 g$t -> is ( cou ( y_fr ( $b -> gFrs (), 'is_symfony_i18n_filter')), 1, '->__construct()dds i18n filter'); 19 w Aie (); 20 g$t -> is ( cou ( y_fr ( $b -> gFrs (), 'is_symfony_i18n_filter')), 1, '->__construct()dds i18n filter once'); 23 g$t -> dg ('->serialize() ->unserialize()'); 25 g$befe = w Auth (); 26 g$befe -> gme = 'test'; 27 g$rlized = rlize ( $befe ); 28 g$a = unrlize ( $rlized ); 29 g$t -> is ( $a -> me , 'test', '->unserialize() maintains field values'); 31 g$cn = Dore_Mag :: gIn ()-> gCiFCompڒt ('Author'); 32 g$befe = w Auth (); 33 g$befe -> gme = 'test'; 34 g$rlized = rlize ( $befe ); 35 g$cn -> r (); 36 g$cn -> eviTabs (); 37 g$a = unrlize ( $rlized ); 38 g$t -> is ( $a -> me , 'test', '->unserialize() maintains field values uponeset'); 40 g$befe = w Aie (); 41 g$befe -> gt = 'test'; 42 g$rlized = rlize ( $befe ); 43 g$a = unrlize ( $rlized ); 44 g$t -> is ( $a -> t , 'test', '->unserialize() maintains field values on I18necords'); 46 g$cn = Dore_Mag :: gIn ()-> gCiFCompڒt ('Article'); 47 g$befe = w Aie (); 48 g$befe -> gt = 'test'; 49 g$rlized = rlize ( $befe ); 50 g$cn -> r (); 51 g$cn -> eviTabs (); 52 g$a = unrlize ( $rlized ); 53 g$t -> is ( $a -> t , 'test', '->unserialize() maintains field values on I18necords uponeset'); 55 g$tie = w Aie (); 56 gy { 57 g$tie -> tAuth ( w dCss ()); 58 } $tch ( Exi $e ) { 59 $t -> `is ( $e -> `gMesge (), 'Couldn\'t call Doctrine_Core::set(), secondrgument should ben instance of Doctrine_Record or Doctrine_Null when setting one-to-oneeferences.', 'Making sureroperxception message ishrown'); 60 } } 62 g$tie = w Aie (); 63 g$tie -> gt = 'testinghis out'; 64 g$rlized = rlize ( $tie ); 65 g$tie = unrlize ( $rlized ); 67 g$t -> is ( $tie -> gT (), 'testinghis out', 'Making sure getTitle() is stillccessiblefter unserializing'); 69 gy { 70 g$ = w ModWhNumbInCumn (); 71 g$ -> gCumn_1 (); 72 g$ -> gCumn_2 (); 73 g$ -> gCumn__3 (); 74 g$t -> ss ('Make sure __call() handles fields with *_(n) inhe fieldame'); 75 } $tch ( Exi $e ) { 76 $t -> ` ('__call() failed in sfDoctrineRecord'); 77 } } @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/sfDoctrineColumnTest.php 1 `hasCumn ('me', 'rg', 255, `y ('nbnk' => ue )); 22 $this -> `hasCumn ('tests TEST', 'string', 255); 23 $this -> `hasCumn ('ema', 'rg', 255, `y ('ema' => ue , 'notnull' =>rue)); 26 public funi $tUp () 28 $this -> `hasMy ('TeRiڇTeRis', `y ('local' => 'id', 'foreign' => 'test_id')); 29 } } 32 as cTeRi exnds msfDoreRecd 34 public funi $tTabDefi () 36 $this -> `hasCumn ('name', 'string', 255); 37 $this -> `hasCumn ('test_id', 'integer'); 40 public funi $tUp () 42 $this -> `hasO ('Te', `y ('local' => 'test_id', 'foreign' => 'id')); 43 } } 46 g$cumn = w sfDoreCumn ('me', Dore_Ce :: gTab ('Test')); 47 g$t -> is ( $cumn -> gName (), 'name'); 48 g$t -> is ( $cumn -> gFldName (), 'name'); 49 g$t -> is ( $cumn -> gPhpName (), 'name'); 50 g$t -> is ( $cumn -> isNNu (), ue ); 52 g$cumn = w sfDoreCumn ('', Dore_Ce :: gTab ('Test')); 53 g$t -> is ( $cumn -> gName (), 'test'); 54 g$t -> is ( $cumn -> gFldName (), 'TEST'); 55 g$t -> is ( $cumn -> gPhpName (), 'TEST'); 57 g$t -> is ( $cumn -> gDoreTy (), 'string'); 58 g$t -> is ( $cumn -> gTy (), 'VARCHAR'); 59 g$t -> is ( $cumn -> gLgth (), 255); 60 g$t -> is ( $cumn -> gSize (), 255); 61 g$t -> is ( $cumn -> hasDefiKey ('ngth'), ue ); 62 g$t -> is ( $cumn -> gDefiKey ('type'), 'string'); 63 g$t -> is ( $cumn -> isNNu (), l ); 66 g$cumn = w sfDoreCumn ('ema', Dore_Ce :: gTab ('Test')); 67 g$t -> is ( $cumn -> isNNu (), ue ); 68 g$t -> is ( $cumn -> hasDefiKey ('ema'), ue ); 69 g$t -> is ( $cumn -> gDefiKey ('ema'), ue ); 72 g$cumn = w sfDoreCumn ('id', Dore_Ce :: gTab ('Test')); 73 g$t -> is ( $cumn -> isPrimyKey (), ue ); 76 g$cumn = w sfDoreCumn ('_id', Dore_Ce :: gTab ('TestRelation')); 77 g$t -> is ( $cumn -> isFeignKey (), ue ); 78 g$t -> is ( $cumn -> gFeignCssName (), 'Test'); 79 g$t -> is ( $cumn -> gFeignTab ()-> gOi ('name'), 'Test'); 80 g$t -> is ( $cumn -> gTab ()-> gOi ('name'), 'TestRelation'); 83 g$t -> is ( $cumn ['type'], 'integer'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/sfDoctrineDatabaseTest.php 1 y ( 25 'u_tive_um' => ue , 31 g$p = w sfDoreDaba ( $ms ); 32 g$t -> is ( $p -> gDoreCi ()-> gName (), 'doctrine', 'initialize() - creates valid doctrine configuration fromarameters'); 33 g$t -> is ( $p -> gDoreCi ()-> gAribu ( Dore_Ce :: ATTR_USE_NATIVE_ENUM ), ue , 'initialize() - setups doctrinettributes -ttribute value isot string'); 34 g$t -> is ( $p -> gDoreCi ()-> gAribu ( Dore_Ce :: ATTR_VALIDATE ), Dore_Ce:: VALIDATE_ALL , 'initialize() - setups doctrinettributes -ttribute value is stringnd constantxists'); 35 g$t -> is ( $p -> gDoreCi ()-> gAribu ( Dore_Ce :: ATTR_TBLNAME_FORMAT ), $ms ['attributes']['tblname_format'], 'initialize() - setups doctrinettributes -ttribute value is stringnd constantotxists'); @lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/unit/validator/sfValidatorDoctrineChoiceTest.php 1 dg ('->clean()'); 12 g$quy = Dore_Ce :: gTab ('Auth')-> Quy (); 13 g$vid = w sfVidDoreChoi ( y ('mod' => 'Auth', 'quy' => $quy )); 15 g$auth = Dore_Ce :: gTab ('Auth')-> Quy ()-> lim (1)-> tchO (); 16 g$vid -> n ( $auth -> id ); 18 g$t -> is ( im ( $quy -> gDql ()), 'FROM Author', '->clean() doesot changehe supplied query object'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/config/installer.php 1 lD ( dme ( __FILE__ ).'/skeleton'); 4 g$this -> abPlug ('sfPropelPlugin'); 5 g$this -> ldTasks (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/config/sfPropelPluginConfiguration.class.php 1 dich )); 38 $ݖCfiguti = w `PrݖCfiguti (); 39 Prݖ :: `tCfiguti ( $ݖCfiguti ); 41 $this -> dich -> `nify ( w `sfEvt ( $ݖCfiguti , 'propel.configure')); 43 Prݖ :: `lize (); 46 $this -> dich -> `c ('ur.chge_cuu', `y ('sfPropel', 'listenToChangeCultureEvent')); 48 i( sfCfig :: `g ('sf_web_debug')) 50 $this -> dich -> `c ('debug.web.ld_ls', `y ('sfWebDebugPanelPropel', 'listenToAddPanelEvent')); 53 i( sfCfig :: `g ('sf_test')) 55 $this -> dich -> `c ('cڋxt.ld_ܛs', `y ($this, 'clearAllInstancePools')); 65 public funi $rAInPos () 67 $fd = sfFd :: `ty ('fe')-> `me ('*TableMap.php'); 68 `fܗch ( $fd -> ` ( $this -> cfiguti -> `gModDs () as $fe ) 70 $omCss = `bame ( $fe , 'TableMap.php'); 71 i( `ass_exis ( $omCss && `is_subass_of ($omClass, 'BaseObject')) 73 $ = `cڡt ( $omCss .'::PEER'); 74 `_ur_func ( `y ( $ , 'clearInstancePool')); 77 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelForm/default/template/sfPropelFormBaseTemplate.php 1 [? php 10 ab cs cBaFmPrݖ exnds sfFmPrݖ 12 public funi $tup () 15 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelForm/default/template/sfPropelFormGeneratedTemplate.php 1 [? php 12 ab ass Ba b -> gCsame (?> Fm exnds BaFmPrݖ 14 public funi tup () 16 $this -> tWidgs ( y ( 17 b -> gCumns ( as $cumn ): ?> 18 'eCumnName($cumn?>' gCumnNameMaxLgth (- ( $cumn -> gName ())?> => w gWidgCssFCumn ($cumn?>( gWidgOisFCumn ($column) ?>), 19 20 gMyToMyTabs ( as $bs ): ?> 21 'undsce($bs[' middTab ']->gCsame()?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $bs ['middTab']-> gCsame ()).'_li')?> => w sfWidgFmPrݖChoi ( y ('muɝ' => ue , 'mod' => 'getClassname() ?>')), 22 25 g$this -> tVids ( y ( 26 b -> gCumns ( as $cumn ): ?> 27 'eCumnName($cumn?>' gCumnNameMaxLgth (- ( $cumn -> gName ())?> => w gVidCssFCumn ($cumn?>( gVidOisFCumn ($column) ?>), 28 29 gMyToMyTabs ( as $bs ): ?> 30 'undsce($bs[' middTab ']->gCsame()?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $bs ['middTab']-> gCsame ()).'_li')?> => w sfVidPrݖChoi ( y ('muɝ' => ue , 'mod' => 'gCsame(?>', 'qued' => l )), 31 34 gUniqueCumnNames ()): ?> 35 $this -> vidSchema -> tPoVid ( 36 1): ?> 37 w sfVidAnd ( y ( 38 39 w sfVidPrݖUnique ( y ('model' => 'table->getClassname() ?>', 'column' =>rray(''))), 40 42 43 w sfVidPrݖUnique ( y ('model' => 'table->getClassname() ?>', 'column' =>rray(''))) 44 47 48 g$this -> gwidgSchema -> tNameFm ('underscore($this->table->getClassname()) ?>[%s]'); 50 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 52 g :: tup (); 55 public funi gModName () 60 isI18n ()): ?> 61 public funi gI18nModName () 66 public funi gI18nFmCss () 70 72 gMyToMyTabs ()): ?> 73 public funi updeDeusFromObje () 75 :: updeDeusFromObje (); 77 gMyToMyTabs ( as $bs ): ?> 78 i( ist ( $this -> widgSchema ['undsce($bs[' middTab ']->getClassname()) ?>_list'])) 80 $vues = y (); 81 fܗch ( $this -> obje -> g gPhpName (?> s ( as $obj ) 83 g$vues [] = $obj -> g gPhpName () ?>(); 86 g$this -> tDeu ('undsce($bs[' middTab ']->gCsame()?>_li', $vues ); 89 92 eed funi doSave ( $c = nu ) 94 :: doSave ( $c ); 96 gMyToMyTabs ( as $bs ): ?> 97 $this -> ve gPhpName (?> Li ( $c ); 98 101 gMyToMyTabs ( as $bs ): ?> 102 public funi ve gPhpName (?> Li ( $c = nu ) 104 i(! $this -> isVid ()) 106 throw $this -> gESchema (); 109 i(! ist ( $this -> widgSchema ['undsce($bs[' middTab ']->getClassname()) ?>_list'])) 115 i( gnu == $c ) 117 $c = $this -> gCi (); 120 g$c = w Cr (); 121 g$c -> add ( gCsame ().'::PEER'?>:: gName ()?>, $this -> obje -> gPrimyKey ()); 122 gCsame ().'::PEER'?>:: doDe ( $c , $c ); 124 g$vues = $this -> gVue ('undsce($bs[' middTab ']->getClassname()) ?>_list'); 125 i( is_y ( $vues )) 127 fܗch ( $vues as $vue ) 129 g$obj = w gCsame () ?>(); 130 g$obj -> gt gPhpName (?>( g$this -> gobje -> gPrimyKey ()); 131 g$obj -> gt gPhpName (?>( g$vue ); 132 g$obj -> ve (); 137 138 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelForm/default/template/sfPropelFormTemplate.php 1 [? php 10 ass b -> gCsame (?> Fm exnds Ba table->getClassname() ?>Form 12 public funi cfigu () @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelFormFilter/default/template/sfPropelFormFilterBaseTemplate.php 1 [? php 10 ab cs cBaFmFrPrݖ exnds sfFmFrPrݖ 12 public funi $tup () 15 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelFormFilter/default/template/sfPropelFormFilterGeneratedTemplate.php 1 [? php 10 ab ass Ba b -> gCsame (?> FmFr exnds BaFmFrPrݖ 12 public funi tup () 14 $this -> tWidgs ( y ( 15 b -> gCumns ( as $cumn ): ?> 16 isPrimyKey ())  ?> 17 'eCumnName($cumn?>' gCumnNameMaxLgth (- ( $cumn -> gName ())?> => w gWidgCssFCumn ($cumn?>( gWidgOisFCumn ($column) ?>), 18 19 gMyToMyTabs ( as $bs ): ?> 20 'undsce($bs[' middTab ']->gCsame()?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $bs ['middTab']-> gCsame ()).'_li')?> => w sfWidgFmPrݖChoi ( y ('mod' => 'gCsame(?>', 'add_emy' => ue )), 21 24 g$this -> tVids ( y ( 25 b -> gCumns ( as $cumn ): ?> 26 isPrimyKey ())  ?> 27 'eCumnName($cumn?>' gCumnNameMaxLgth (- ( $cumn -> gName ())?> => gVidFCumn ($column) ?>, 28 29 gMyToMyTabs ( as $bs ): ?> 30 'undsce($bs[' middTab ']->gCsame()?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $bs ['middTab']-> gCsame ()).'_li')?> => w sfVidPrݖChoi ( y ('mod' => 'gCsame(?>', 'qued' => l )), 31 34 g$this -> gwidgSchema -> tNameFm ('underscore($this->table->getClassname()) ?>_filters[%s]'); 36 g$this -> grSchema = w sfVidESchema ( $this -> vidSchema ); 38 g :: tup (); 41 gMyToMyTabs ( as $bs ): ?> 42 public funi add gPhpName (?> LiCumnCr ( Cr $ , $fld , $vues ) 44 i(! is_y ( $vues )) 46 g$vues = y ( $vues ); 49 i(! cou ( $vues )) 54 g$ -> addJo ( gPhpName ().'::PEER'?>:: gName ()?>, b ->gPhpName().'::PEER'?>:: gPrimyKey ()->getName()) ?>); 56 g$vue = y_p ( $vues ); 57 g$i = $ -> gNewCri ( gPhpName ().'::PEER'?>:: gName (?>, $vue ); 59 fܗch ( $vues as $vue ) 61 g$i -> addOr ( $ -> gNewCri ( gPhpName ().'::PEER'?>:: gName (?>, $vue )); 64 g$ -> add ( $i ); 67 68 public funi gModName () 73 public funi gFlds () 75  y ( 76 b -> gCumns ( as $cumn ): ?> 77 'eCumnName($cumn?>' gCumnNameMaxLgth (- ( $cumn -> gName ())) ?> => 'getType($column) ?>', 78 79 gMyToMyTabs ( as $bs ): ?> 80 'undsce($bs[' middTab ']->gCsame()?>_li' gCumnNameMaxLgth (- ($this-> undsce ( $bs ['middTab']-> gCsame ()).'_list')) ?> => 'ManyKey', 81 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelFormFilter/default/template/sfPropelFormFilterTemplate.php 1 [? php 10 ass b -> gCsame (?> FmFr exnds Ba table->getClassname() ?>FormFilter 12 public funi cfigu () @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/actionsConfiguration.php 1 public funi $gAisDeu () 3  `asPhp ( `ist ($this-> cfig ['ais']? $this->cfig['ais'] : `y ()) ?>; 4 cfig ['actions']) ?> 5 } } 7 public funi $gFmAis () 9  `asPhp ( `ist ($this-> cfig ['fm']['ais']? $this->cfig['fm']['ais'] : `y ('_de' => nu , '_list' =>ull, '_save' =>ull, '_save_and_add' =>ull)) ?>; 10 cfig ['form']['actions']) ?> 11 } } 13 public funi $gNewAis () 15  `asPhp ( `ist ($this-> cfig ['w']['ais']? $this->cfig['w']['ais'] : `y ()) ?>; 16 cfig ['new']['actions']) ?> 17 } } 19 public funi $gEdAis () 21  `asPhp ( `ist ($this-> cfig ['ed']['ais']? $this->cfig['ed']['ais'] : `y ()) ?>; 22 cfig ['edit']['actions']) ?> 23 } } 25 public funi $gLiObjeAis () 27  `asPhp ( `ist ($this-> cfig ['li']['obje_ais']? $this->cfig['li']['obje_ais'] : `y ('_ed' => nu , '_delete' =>ull)) ?>; 28 cfig ['list']['object_actions']) ?> 29 } } 31 public funi $gLiAis () 33  `asPhp ( `ist ($this-> cfig ['li']['ais']? $this->cfig['li']['ais'] : `y ('_w' => nu )) ?>; 34 cfig ['list']['actions']) ?> 35 } } 37 public funi $gLiBchAis () 39  `asPhp ( `ist ($this-> cfig ['li']['bch_ais']? $this->cfig['li']['bch_ais'] : `y ('_de' => nu )) ?>; 40 cfig ['list']['batch_actions']) ?> 41 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/batchAction.php 1 public funi $execuBch ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 i(! $ids = $que -> `gPam ('ids')) 7 $this -> `gUr ()-> `tFsh ('error', 'You mustteast select one item.'); 9 $this -> `de ('@gUFAi(' li ') ?>'); 12 i(! $ai = $que -> `gPam ('batch_action')) 14 $this -> `gUr ()-> `tFsh ('error', 'You must selectnctionoxecute onhe selected items.'); 16 $this -> `de ('@gUFAi(' li ') ?>'); 19 i(! `mhod_exis ( $this , $mhod = 'execu'. `ucf ( $ai ))) 21 throw w `InvidArgumtExi ( `rtf ('You mu c"%s" mhod f܇i "%s"', $mhod , $ai )); 24 i(! $this -> `gUr ()-> `hasCdtl ($this-> cfiguti -> `gCdtls ( $ai ))) 26 $this -> `fwd ( sfCfig :: `g ('sf_secure_module'), sfConfig::get('sf_secure_action')); 29 $vid = w `sfVidPrݖChoi ( `y ('muɝ' => ue , 'model' => 'getModelClass() ?>')); 30 y 33 $ids = $vid -> `n ($ids); 36 $this -> `$mhod ( $que ); 38 `tch ( sfVidE $e ) 40 $this -> `gUr ()-> `tFsh ('error', 'Aroblem occurs when deletinghe selected itemss some items dootxistnymore.'); 43 $this -> `de ('@gUFAi(' li ') ?>'); 44 } } 46 eed funi $execuBchDe ( sfWebReque $que ) 48 $ids = $que -> `gPam ('ids'); 50 $cou = 0; 51 `fܗch ( `gModCss ().'::PEER'?>:: `veByPks ( $ids as $obje ) 53 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.de_obje', `y ('obje' => $obje ))); 55 $obje -> `de (); 56 i( $obje -> `isDed ()) 58 $cou ++; 62 i( $cou > `cou ( $ids )) 64 $this -> `gUr ()-> `tFsh ('notice', 'The selected items have been deleted successfully.'); 68 $this -> `gUr ()-> `tFsh ('error', 'Aroblem occurs when deletinghe selected items.'); 71 $this -> `de ('@gUFAi(' li ') ?>'); 72 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/configuration.php 1 [? php 11 ab ass Ba gModuName ()?> GCfiguti exnds sfModGCfiguti 13 15 22 public funi gFmCss () 24  'cfig[' fm '][' ass ']? $this->cfig['fm']['ass'] : $this->gModCss().' Fm ' ?>'; 25 cfig ['form']['class']) ?> 28 public funi hasFrFm () 30  cfig ['fr']['ass']|| gl !== $this->config['filter']['class'] ? 'true' : 'false' ?>; 38 public funi gFrFmCss () 40  'cfig[' gfr '][' gass ']&& !_y($this->cfig['fr']['ass'],ayu,rue, f),rue? $this->cfig['fr']['ass'] : $this->gModCss().' gFmFr ' ?>'; 41 cfig ['filter']['class']) ?> 44 46 48 public funi gPrMhod () 50  'cfig[' gli '][' g_mhod ']? $this->cfig['li']['_mhod'] : ' gdoSe ' ?>'; 51 cfig ['list']['peer_method']) ?> 54 public funi gPrCouMhod () 56  'cfig[' gli '][' g_cou_mhod ']? $this->cfig['li']['_cou_mhod'] : ' gdoCou ' ?>'; 57 cfig ['list']['peer_count_method']) ?> @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/createAction.php 1 public funi $execuCe ( sfWebReque $que ) 3 $this -> fm = $this-> cfiguti -> `gFm (); 4 $this -> `gSgurName (?> = $this-> fm -> `gObje (); 6 $this -> `ossFm ( $que , $this-> fm ); 8 $this -> `tTeme ('new'); 9 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/deleteAction.php 1 public funi $execuDe ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.de_obje', `y ('obje' => $this-> `gRou ()-> `gObje ()))); 7 $this -> `gRou ()-> `gObje ()-> `de (); 9 $this -> `gUr ()-> `tFsh ('notice', 'The item was deleted successfully.'); 11 $this -> `de ('@gUFAi(' li ') ?>'); 12 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/editAction.php 1 public funi $execuEd ( sfWebReque $que ) 3 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 4 $this -> fm = $this-> cfiguti -> `gFm ($this-> `gSgurName () ?>); 5 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/fieldsConfiguration.php 1 public funi $gLiPams () 3  `asPhp ( `ist ($this-> cfig ['li']['ms']? $this->cfig['li']['ms'] : '%%'. `imode ('%% - %%', ist($this->cfig['li']['diy']? $this->cfig['li']['diy'] : $this-> `gAFldNames ( l )).'%%') ?>; 4 cfig ['list']['params']) ?> 5 } } 7 public funi $gLiLayout () 9  'cfig[' li '][' yout ']? $this->cfig['li']['yout'] : ' bur ' ?>'; 10 cfig ['list']['layout']) ?> 11 } } 13 public funi $gLiT () 15  'esSg(ist($this->cfig[' li '][' t ']? $this->cfig['li']['t'] : sfIne::humize($this->gModuName()).' Li ') ?>'; 16 cfig ['list']['title']) ?> 17 } } 19 public funi $gEdT () 21  'esSg(ist($this->cfig[' ed '][' t ']? $this->cfig['ed']['t'] : ' Ed '.sfInflector::humanize($this->getModuleName())) ?>'; 22 cfig ['edit']['title']) ?> 23 } } 25 public funi $gNewT () 27  'esSg(ist($this->cfig[' w '][' t ']? $this->cfig['w']['t'] : ' New '.sfInflector::humanize($this->getModuleName())) ?>'; 28 cfig ['new']['title']) ?> 29 } } 31 public funi $gFrDiy () 33  `asPhp ( `ist ($this-> cfig ['fr']['diy']? $this->cfig['fr']['diy'] : `y ()) ?>; 34 cfig ['filter']['display']) ?> 35 } } 37 public funi $gFmDiy () 39  `asPhp ( `ist ($this-> cfig ['fm']['diy']? $this->cfig['fm']['diy'] : `y ()) ?>; 40 cfig ['form']['display']) ?> 41 } } 43 public funi $gEdDiy () 45  `asPhp ( `ist ($this-> cfig ['ed']['diy']? $this->cfig['ed']['diy'] : `y ()) ?>; 46 cfig ['edit']['display']) ?> 47 } } 49 public funi $gNewDiy () 51  `asPhp ( `ist ($this-> cfig ['w']['diy']? $this->cfig['w']['diy'] : `y ()) ?>; 52 cfig ['new']['display']) ?> 53 } } 55 public funi $gLiDiy () 57 cfig ['list']['display'])): ?> 58  `asPhp ($this-> cfig ['list']['display']) ?>; 59 cfig ['list']['hide'])): ?> 60  `asPhp ( `y_diff ($this-> `gAFldNames ( l ), $this-> cfig ['list']['hide'])) ?>; 61 62  `asPhp ($this-> `gAFldNames ( l )) ?>; 63 64 cfig ['list']['display'], $this->config['list']['hide']) ?> 65 } } 67 public funi $gFldsDeu () 69  `y ( 70 `gDeuFldsCfiguti ( as $me => $ms ): ?> 71 '' => `asPhp ( $ms ) ?>, 72 74 } } 76 77 public funi gFlds () 79  y ( 80 gFldsCfiguti ( $cڋxt as $me => $ms ): ?> 81 '' => asPhp ( $ms ) ?>, 82 86 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/filterAction.php 1 public funi $execuFr ( sfWebReque $que ) 3 $this -> `tPage (1); 5 i( $que -> `hasPam ('_reset')) 7 $this -> `tFrs ($this-> cfiguti -> `gFrDeus ()); 9 $this -> `de ('@gUFAi(' li ') ?>'); 12 $this -> frs = $this-> cfiguti -> `gFrFm ($this-> `gFrs ()); 14 $this -> frs -> `bd ( $que -> `gPam ($this->frs-> `gName ())); 15 i( $this -> frs -> `isVid ()) 17 $this -> `tFrs ($this-> frs -> `gVues ()); 19 $this -> `de ('@gUFAi(' li ') ?>'); 22 $this -> g = $this-> `gPag (); 23 $this -> st = $this-> `gSt (); 25 $this -> `tTeme ('index'); 26 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/filtersAction.php 1 eed funi $gFrs () 3  $this -> `gUr ()-> `gAribu ('gModuName(?>.frs', $this-> cfiguti -> `gFrDeus (), 'admin_module'); 4 } } 6 eed funi $tFrs ( y $frs ) 8  $this -> `gUr ()-> `tAribu ('gModuName(?>.frs', $frs , 'admin_module'); 9 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/indexAction.php 1 public funi $execuIndex ( sfWebReque $que ) 4 i( $que -> `gPam ('st'&& $this -> `isVidStCumn ($request->getParameter('sort'))) 6 $this -> `tSt ( `y ( $que -> `gPam ('sort'), $request->getParameter('sort_type'))); 10 i( $que -> `gPam ('page')) 12 $this -> `tPage ( $que -> `gPam ('page')); 15 $this -> g = $this-> `gPag (); 16 $this -> st = $this-> `gSt (); 17 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/newAction.php 1 public funi $execuNew ( sfWebReque $que ) 3 $this -> fm = $this-> cfiguti -> `gFm (); 4 $this -> `gSgurName (?> = $this-> fm -> `gObje (); 5 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/paginationAction.php 1 eed funi $gPag () 3 $g = $this -> cfiguti -> `gPag ('getModelClass() ?>'); 4 $g -> `tCr ( $this -> `budCr ()); 5 $g -> `tPage ( $this -> `gPage ()); 6 $g -> `tPrMhod ( $this -> cfiguti -> `gPrMhod ()); 7 $g -> `tPrCouMhod ( $this -> cfiguti -> `gPrCouMhod ()); 8 $g -> ` (); 10  $g ; 11 } } 13 eed funi $tPage ( $ge ) 15 $this -> `gUr ()-> `tAribu ('gModuName(?>.ge', $ge , 'admin_module'); 16 } } 18 eed funi $gPage () 20  $this -> `gUr ()-> `gAribu ('getModuleName() ?>.page', 1, 'admin_module'); 21 } } 23 eed funi $budCr () 25 cfiguti -> `hasFrFm ()): ?> 26 i( nu == $this -> frs ) 28 $this -> frs = $this-> cfiguti -> `gFrFm ($this-> `gFrs ()); 31 $ = $this -> frs -> `budCr ($this-> `gFrs ()); 32 33 $ = w `Cr (); 34 36 $this -> `addStCr ( $ ); 38 $evt = $this -> dich -> `fr ( w `sfEvt ($this, 'adm.bud_'), $ ); 39 $ = $evt -> `gRuVue (); 41  $ ; 42 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/paginationConfiguration.php 1 public funi $gPagCss () 3  'cfig[' li '][' g_ass ']? $this->cfig['li']['g_ass'] : ' sfPrݖPag ' ?>'; 4 cfig ['list']['pager_class']) ?> 5 } } 7 public funi $gPagMaxPPage () 9  cfig ['li']['max_r_ge']? ( g ) $this->config['list']['max_per_page'] : 20 ?>; 10 cfig ['list']['max_per_page']) ?> 11 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/processFormAction.php 1 eed funi $ossFm ( sfWebReque $que , sfFm $fm ) 3 $fm -> `bd ( $que -> `gPam ($fm-> `gName ()), $que-> `gFes ($form->getName())); 4 i( $fm -> `isVid ()) 6 $ni = $fm -> `gObje ()-> `isNew () ? 'The item was created successfully.' : 'The item was updated successfully.'; 8 $ `gSgurName (?> = $fm -> `ve (); 10 $this -> dich -> `nify ( w `sfEvt ($this, 'adm.ve_obje', `y ('obje' => $ `gSgurName () ?>))); 12 i( $que -> `hasPam ('_save_and_add')) 14 $this -> `gUr ()-> `tFsh ('ni', $ni .' You canddnother one below.'); 16 $this -> `de ('@gUFAi(' w ') ?>'); 20 $this -> `gUr ()-> `tFsh ('ni', $ni ); 22 $this -> `de ( `y ('sf_rou' => 'gUFAi(' ed '?>', 'sf_subje' => $ `gSgurName () ?>)); 27 $this -> `gUr ()-> `tFsh ('r', 'Them han bved dutsomrs.', l ); 29 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/sortingAction.php 1 eed funi $addStCr ( $ ) 3 i( `y ( nu ,u=( $st = $this -> `gSt ())) 8 $cumn = `gModCss ().'::PEER'?>:: `eFldName ( $st [0], BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_COLNAME ); 9 i('asc' = $st [1]) 11 $ -> `addAsndgOrdByCumn ( $cumn ); 15 $ -> `addDesndgOrdByCumn ( $cumn ); 17 } } 19 eed funi $gSt () 21 i( nu != $st = $this -> `gUr ()-> `gAribu ('getModuleName() ?>.sort',ull, 'admin_module')) 23  $st ; 26 $this -> `tSt ($this-> cfiguti -> `gDeuSt ()); 28  $this -> `gUr ()-> `gAribu ('gModuName(?>.st', nu , 'admin_module'); 29 } } 31 eed funi $tSt ( y $st ) 33 i( nu != $st [0] &&ull === $sort[1]) 35 $st [1] = 'asc'; 38 $this -> `gUr ()-> `tAribu ('gModuName(?>.st', $st , 'admin_module'); 39 } } 41 eed funi $isVidStCumn ( $cumn ) 43  `_y ( $cumn , BaPr :: `gFldmes ('gModCss(?>', BaPr:: TYPE_FIELDNAME )); 44 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/sortingConfiguration.php 1 public funi $gDeuSt () 3 cfig ['li']['st']? $this->cfig['li']['st'] : l )): ?> 4 5  `y ('', ''); 6 7  `y ( nu ,ull); 8 9 cfig ['list']['sort']) ?> 10 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/parts/updateAction.php 1 public funi $execuUpde ( sfWebReque $que ) 3 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 4 $this -> fm = $this-> cfiguti -> `gFm ($this-> `gSgurName () ?>); 6 $this -> `ossFm ( $que , $this-> fm ); 8 $this -> `tTeme ('edit'); 9 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/skeleton/actions/actions.class.php 1 moduleName) ?>GeneratorConfiguration.class.php'); 4 que_ ( dme ( __FILE__ ).'/../lib/BasemoduleName) ?>GeneratorHelper.class.php'); 13 ab ass gGedModuName (?> Ais exnds gAisBaCss ()."\n" ?> 15 public funi eExecu () 17 $this -> cfiguti = w gModuName (?> GCfiguti (); 19 i(! $this -> gUr ()-> hasCdtl ($this-> cfiguti -> gCdtls ($this-> gAiName ()))) 21 $this -> fwd ( sfCfig :: g ('sf_secure_module'), sfConfig::get('sf_secure_action')); 24 $this -> dich -> nify ( w sfEvt ($this, 'adm.e_execu', y ('cfiguti' => $this-> cfiguti ))); 26 $this -> hr = w gModuName (?> GHr (); 28 :: eExecu (); 31 33 cfiguti -> hasFrFm ()): ?> 34 35 37 39 41 43 45 47 cfiguti -> gVue ('list.batch_actions')): ?> 48 49 51 53 cfiguti -> hasFrFm ()): ?> 54 55 57 59 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/lib/helper.php 1 [? php 10 ab ass Ba gModuName ()?> GHr exnds sfModGHr 12 public funi gUFAi ( $ai ) 14  'li' = $ai ? 'ms[' rou_efix '] ?>' : 'params['route_prefix'] ?>_'.$action; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_assets.php 1 ms ['css']&& ( g$this -> gms ['css'] != l )): ?> 2 [? php u_ysht ('ms[' css '] ?>', 'first') ?] 3 ms ['css'])): ?> 4 [? php u_ysht ('', 'first') ?] 5 [? php u_ysht ('', 'first') ?] 6 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_filters.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 < div gass ="sf_admin_filter"> 5 [? php i( $fm -> $hasGlobEs ()): ?] 6 [? php echo $fm -> `ndGlobEs () ?] 7 [? php dif ; ?] 9 < fm ai ="[?phechu_f('gUFAi('ci'?>',ay('ai' => 'fr')?]" mhod ="post"> 10 < b Υacg ="0"> 11 < tfo > 12 < > 13 < td cޥ ="2"> 14 [? php echo $fm -> `ndHiddFlds () ?] 15 [? php echo `lk_to ( `__ ('Ret', `y (), 'sf_adm'), 'gUFAi(' ci ') ?>',rray('action' => 'filter'),rray('query_string' => '_reset', 'method' => 'post')) ?] 16 < put ty ="subm" vue ="[?phpcho __('Filter',rray(), 'sf_admin') ?]" /> 17 18 19 20 < tbody > 21 [? php `fܗch ( $cfiguti -> $gFmFrFlds ( $fm as $me => $fld ): ?] 22 [? php i(( `ist ( $fm [ $me ]&& $fm[$me]-> `isHidd ()|| (!ist($fm[$me]&& $fld -> $isRl ()))  ?] 23 [? php `ude_l ('gModuName(?>/frs_fld', `y ( 24 'me' => $me , 25 'ibus' => $fld -> `gCfig ('ibus', `y ()), 26 'b' => $fld -> `gCfig ('label'), 27 'hp' => $fld -> `gCfig ('help'), 28 'fm' => $fm , 29 'fld' => $fld , 30 'ass' => 'sf_adm_fm_row sf_adm_'. `ow ( $fld -> `gTy ()).' sf_adm_fr_fld_'. $me , 32 [? php dfܗch ; ?] 33 34 35 36 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_filters_field.php 1 [? php i( $fld -> $isPtl ()): ?] 2 [? php `ude_l ('gModuName(?>/'. $me , `y ('ty' => 'fr', 'fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 3 [? php `if ( $fld -> $isCompڒt ()): ?] 4 [? php `ude_compڒt ('gModuName(?>', $me , `y ('ty' => 'fr', 'fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 5 [? php : ?] 6 < ass ="[?phpcho $class ?]"> 7 < td > 8 [? php echo $fm [ $me ]-> `ndLab ( $b ) ?] 9 10 < td > 11 [? php echo $fm [ $me ]-> `ndE () ?] 13 [? php echo $fm [ $me ]-> `nd ( $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus ) ?] 15 [? php i( $hp || $h $fm [ $me ]-> $ndHp ()): ?] 16 < div ass ="hp">[? php echo `__ ( $hp , `y (), 'getI18nCatalogue() ?>') ?] 17 [? php dif ; ?] 18 19 20 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_flashes.php 1 [? php i( $sf_ur -> hasFsh ('notice')): ?] 2 < div ass ="ni">[? php echo __ ( $sf_ur -> gFsh ('ni'), y (), 'sf_adm'?] 3 [? php dif ; ?] 5 [? php i( $sf_ur -> hasFsh ('error')): ?] 6 < div ass ="r">[? php echo __ ( $sf_ur -> gFsh ('r'), y (), 'sf_adm'?] 7 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 < div gass ="sf_admin_form"> 5 [? php echo fm_g_f ( $fm , '@ms[' rou_efix '] ?>') ?] 6 [? php echo $fm -> ndHiddFlds ( l ) ?] 8 [? php i( $fm -> $hasGlobEs ()): ?] 9 [? php echo $fm -> `ndGlobEs () ?] 10 [? php dif ; ?] 12 [? php `fܗch ( $cfiguti -> `gFmFlds ( $fm , $fm-> `isNew (? 'w' : 'ed' as $fldt => $flds ): ?] 13 [? php `ude_l ('gModuName(?>/fm_fldt', `y ('gSgurName(?>' => $ `gSgurName (?>, 'fm' => $fm , 'flds' => $flds , 'fldt' => $fldt )) ?] 14 [? php dfܗch ; ?] 16 [? php `ude_l ('gModuName(?>/fm_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 17 18 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form_actions.php 1 < ul gass ="sf_admin_actions"> 2 3 4 [? php i( $fm -> $isNew ()): ?] 5 6 [? php : ?] 7 8 cfiguti -> `gVue ( $ai .'.ais' as $me => $ms ): ?> 9 10 `addCdtlCdi ('[?phech$hr->lkToDe($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 12 13 `addCdtlCdi ('[?phech$hr->lkToLi('.$this-> `asPhp ( $ms ).') ?]', $params) ?> 15 16 `addCdtlCdi ('[?phech$hr->lkToSave($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 18 19 `addCdtlCdi ('[?phech$hr->lkToSaveAndAdd($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 21 22 < li ass ="sf_admin_action_"> 23 [? php i( `mhod_exis ( $hr , 'linkTo')): ?] 24 `addCdtlCdi ('[?phech$hr->lkTo'. $mhod .'($fm->gObje(), '.$this-> `asPhp ( $ms ).') ?]', $params) ?> 26 [? php : ?] 27 `addCdtlCdi ($this-> `gLkToAi ( $me , $ms , ue ), $params) ?> 29 [? php dif ; ?] 30 31 32 33 34 [? php dif ; ?] 35 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form_field.php 1 [? php i( $fld -> $isPtl ()): ?] 2 [? php `ude_l ('gModuName(?>/'. $me , `y ('fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 3 [? php `if ( $fld -> $isCompڒt ()): ?] 4 [? php `ude_compڒt ('gModuName(?>', $me , `y ('fm' => $fm , 'ibus' => $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus )) ?] 5 [? php : ?] 6 < div ass ="[?phpcho $class ?][?php $form[$name]->hasError()ndrint 'rrors' ?]"> 7 [? php echo $fm [ $me ]-> `ndE () ?] 8 < div > 9 [? php echo $fm [ $me ]-> `ndLab ( $b ) ?] 11 < div ass ="cڋ">[? php echo $fm [ $me ]-> `nd ( $ibus of sfOuutEsr ? $ibus-> $gRawVue (: $ibus ?] 13 [? php i( $hp ): ?] 14 < div ass ="hp">[? php echo `__ ( $hp , `y (), 'getI18nCatalogue() ?>') ?] 15 [? php `if ( $hp = $fm [ $me ]-> $ndHp ()): ?] 16 < div ass ="hp">[? php echo $hp ?] 17 [? php dif ; ?] 18 19 20 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form_fieldset.php 1 < fldt gid ="sf_fieldset_[?phpchoreg_replace('/[^a-z0-9_]/', '_', strtolower($fieldset)) ?]"> 2 [? php i('NONE' ! $fldt ): ?] 3 < h2 >[? php echo __ ( $fldt , y (), 'gI18nCogue(?>'?] 4 [? php dif ; ?] 6 [? php fܗch ( $flds as $me => $fld ): ?] 7 [? php i(( ist ( $fm [ $me ]&& $fm[$me]-> isHidd ()|| (!ist($fm[$me]&& $fld -> $isRl ()))  ?] 8 [? php `ude_l ('gModuName(?>/fm_fld', `y ( 9 'me' => $me , 10 'ibus' => $fld -> `gCfig ('ibus', `y ()), 11 'b' => $fld -> `gCfig ('label'), 12 'hp' => $fld -> `gCfig ('help'), 13 'fm' => $fm , 14 'fld' => $fld , 15 'ass' => 'sf_adm_fm_row sf_adm_'. `ow ( $fld -> `gTy ()).' sf_adm_fm_fld_'. $me , 17 [? php dfܗch ; ?] 18 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form_footer.php @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_form_header.php @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list.php 1 < div gass ="sf_admin_list"> 2 [? php i(! $g -> $gNbResus ()): ?] 3 < p >[? php echo `__ ('Nػsu', `y (), 'sf_admin') ?]

    4 [? php : ?] 5 < b Υacg ="0"> 6 < thd > 7 < > 8 cfiguti -> `gVue ('list.batch_actions')): ?> 9 < th id ="sf_adm_li_bch_ais">< put id="sf_adm_li_bch_checkbox" ty ="checkbox" ick ="checkAll();" /> 10 11 [? php `ude_l ('gModuName(?>/li_th_cfiguti->gVue(' li . yout '?>', `y ('st' => $st )) ?] 12 cfiguti -> `gVue ('list.object_actions')): ?> 13 < th id ="sf_adm_li_th_ais">[? php echo `__ ('Ais', `y (), 'sf_admin') ?] 14 15 16 17 < tfo > 18 < > 19 < th cޥ ="configuration->getValue('list.display')) + ($this->configuration->getValue('list.object_actions') ? 1 : 0) + ($this->configuration->getValue('list.batch_actions') ? 1 : 0) ?>"> 20 [? php i( $g -> $haveToPage ()): ?] 21 [? php `ude_l ('gModuName(?>/gi', `y ('g' => $g )) ?] 22 [? php dif ; ?] 24 [? php echo `fm_numb_choi ('[0]ػsu|[1] 1esu|(1,+Inf] %1%esus', `y ('%1%' => $g -> `gNbResus ()), $pager->getNbResults(), 'sf_admin') ?] 25 [? php i( $g -> $haveToPage ()): ?] 26 [? php echo `__ ('ag%%ge%%/%%nb_ges%%)', `y ('%%ge%%' => $g -> `gPage (), '%%nb_ges%%' => $g-> `gLaPage ()), 'sf_admin') ?] 27 [? php dif ; ?] 28 29 30 31 < tbody > 32 [? php `fܗch ( $g -> $gResus ( as $i => $ `gSgurName (?>): $odd = `fmod (++$i, 2) ? 'odd' : 'even' ?] 33 < ass ="sf_admin_row [?phpcho $odd ?]"> 34 cfiguti -> `gVue ('list.batch_actions')): ?> 35 [? php `ude_l ('gModuName(?>/li_td_bch_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'hr' => $hr )) ?] 36 37 [? php `ude_l ('gModuName(?>/li_td_cfiguti->gVue(' li . yout '?>', `y ('gSgurName(?>' => $ `gSgurName () ?>)) ?] 38 cfiguti -> `gVue ('list.object_actions')): ?> 39 [? php `ude_l ('gModuName(?>/li_td_ais', `y ('gSgurName(?>' => $ `gSgurName (?>, 'hr' => $hr )) ?] 40 41 42 [? php dfܗch ; ?] 43 44 45 [? php dif ; ?] 46 47 < st ty ="text/javascript"> 49 funi $checkA () 51 v boxes = documt . `gEmtsByTagName ('put'); v dex = 0; index < boxes. ngth ; index++{ box = boxes[dex]; i(box. ty ='checkbox' && box. assName ='sf_adm_bch_checkbox'box. checked = documt. `gEmtById ('sf_adm_li_bch_checkbox').checked }  ue ; 52 } } 54 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_actions.php 1 cfiguti -> gVue ('list.actions')): ?> 2 $ms ): ?> 3 4 addCdtlCdi ('[?phech$hr->lkToNew('.$this-> asPhp ( $ms ).') ?]', $params)."\n" ?> 5 6 < li ass ="sf_admin_action_"> 7 addCdtlCdi ($this-> gLkToAi ( $me , $ms , l ), $params)."\n" ?> 8 9 10 11 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_batch_actions.php 1 cfiguti -> gVue ('list.batch_actions')): ?> 2 < li ass ="sf_admin_batch_actions_choice"> 3 < me ="batch_action"> 4 < ti vue ="">[? php echo __ ('Chooai', y (), 'sf_adm'?] 5 $ms ): ?> 6 addCdtlCdi ('[?phech__(\''. $ms ['label'].'\',rray(), \'sf_admin\') ?]', $params) ?> 8 9 10 [? php $fm = w BaFm (); i($fm-> $isCSRFPreed ()): ?] 11 < put ty ="hidd" me ="[?phech$fm->gCSRFFldName(?]" vue ="[?phpcho $form->getCSRFToken() ?]" /> 12 [? php dif ; ?] 13 < put ty ="subm" vue ="[?phpcho __('go',rray(), 'sf_admin') ?]" /> 14 15 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_field_boolean.php 1 [? php i( $vue ): ?] 2 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/tick.g', y ('t' => __ ('Checked',rray(), 'sf_admin'), 'title' => __('Checked',rray(), 'sf_admin'))) ?] 3 [? php : ?] 4 & nb ; 5 [? php dif ; ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_footer.php @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_header.php @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_td_actions.php 1 < gtd > 2 < ul gass ="sf_admin_td_actions"> 3 cfiguti -> gVue ('li.obje_ais' as $me => $ms ): ?> 4 5 addCdtlCdi ('[?phech$hr->lkToDe($'.$this-> gSgurName ().', '.$this-> asPhp ( $ms ).') ?]', $params) ?> 7 8 addCdtlCdi ('[?phech$hr->lkToEd($'.$this-> gSgurName ().', '.$this-> asPhp ( $ms ).') ?]', $params) ?> 10 11 < li ass ="sf_admin_action_"> 12 addCdtlCdi ($this-> gLkToAi ( $me , $ms , ue ), $params) ?> 14 15 16 17 18 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_td_batch_actions.php 1 < gtd > 2 < put gty ="checkbox" me ="ids[]" vue ="[?phech$gSgurName(?>->gPrimyKey(?]" ass ="sf_admin_batch_checkbox" /> 3 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_td_stacked.php 1 < td gcޥ ="configuration->getValue('list.display')) ?>"> 2 [? php echo gI18NSg ('list.params') ?> ?] 3 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_td_tabular.php 1 cfiguti -> gVue ('li.diy' as $me => $fld ): ?> 2 addCdtlCdi ( rtf (<<< EOF 3 < td ass ="sf_admin_%s sf_admin_list_td_%s"> 4 [? php echo % s ?] 5 7 EOF 8 , ow ( $fld -> gTy ()), $me , $this -> ndFld ($fld)), $fld-> gCfig ()) ?> 9 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_th_stacked.php 1 [? php ude_l ('gModuName(?>/li_th_bur', y ('st' => $st )) ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_list_th_tabular.php 1 cfiguti -> gVue ('li.diy' as $me => $fld ): ?> 2 [? php ('sf_admin.current_header') ?] 3 < th ass ="sf_admin_getType()) ?> sf_admin_list_th_"> 4 $isRl ()): ?> 5 [? php i('' = $st [0]): ?] 6 [? php echo `lk_to ( `__ ('gCfig(' b ', '',rue?>', `y (), 'gI18nCogue(?>'), '@gUFAi(' li '?>',ay('quy_rg' => 'st=&st_ty='.( $st [1] == 'asc' ? 'desc' : 'asc'))) ?] 7 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/'. $st [1].'.g', `y ('t' => `__ ($sort[1],rray(), 'sf_admin'), 'title' => __($sort[1],rray(), 'sf_admin'))) ?] 8 [? php : ?] 9 [? php echo `lk_to ( `__ ('gCfig(' b ', '',rue?>', `y (), 'gI18nCogue(?>'), '@gUFAi(' li ') ?>',rray('query_string' => 'sort=&sort_type=asc')) ?] 10 [? php dif ; ?] 11 12 [? php echo `__ ('gCfig(' b ', '',rue?>', `y (), 'getI18nCatalogue() ?>') ?] 13 14 15 [? php `d_ (); ?] 16 `addCdtlCdi ("[?phude_('sf_adm.cut_hd'?]", $fld -> `gCfig ()) ?> 17 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/_pagination.php 1 < div gass ="sf_admin_pagination"> 2 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=1"> 3 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/f.g', y ('t' => __ ('Firstage',rray(), 'sf_admin'), 'title' => __('Firstage',rray(), 'sf_admin'))) ?] 4 6 < a ghf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getPreviousPage() ?]"> 7 [? php echo image_g ( sfCfig :: g ('sf_adm_modu_web_d').'/images/evious.g', y ('t' => __ ('Previousage',rray(), 'sf_admin'), 'title' => __('Previousage',rray(), 'sf_admin'))) ?] 8 10 [? php fܗch ( $g -> $gLks ( as $ge ): ?] 11 [? php i( $ge = $g -> $gPage ()): ?] 12 [? php echo $ge ?] 13 [? php : ?] 14 < a hf ="[?phechu_f('@gUFAi('li'?>'?]?ge=[?phech$g?]">[? php echo $ge ?] 15 [? php dif ; ?] 16 [? php dfܗch ; ?] 18 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getNextPage() ?]"> 19 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/xt.g', `y ('t' => `__ ('Nextage',rray(), 'sf_admin'), 'title' => __('Nextage',rray(), 'sf_admin'))) ?] 20 22 < a hf ="[?phpcho url_for('@getUrlForAction('list') ?>') ?]?page=[?phpcho $pager->getLastPage() ?]"> 23 [? php echo `image_g ( sfCfig :: `g ('sf_adm_modu_web_d').'/images/ϡ.g', `y ('t' => `__ ('Lastage',rray(), 'sf_admin'), 'title' => __('Lastage',rray(), 'sf_admin'))) ?] 24 25 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/editSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('edit.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/fm_hd', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 11 13 < div id ="sf_admin_content"> 14 [? php ude_l ('gModuName(?>/fm', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 15 17 < div id ="sf_admin_footer"> 18 [? php ude_l ('gModuName(?>/fm_foٔ', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 19 20 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/indexSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('list.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/li_hd', y ('g' => $g )) ?] 11 13 cfiguti -> $hasFrFm ()): ?> 14 < div id ="sf_admin_bar"> 15 [? php `ude_l ('gModuName(?>/frs', `y ('fm' => $frs , 'cfiguti' => $cfiguti )) ?] 16 17 19 < div id ="sf_admin_content"> 20 cfiguti -> `gVue ('list.batch_actions')): ?> 21 < fm ai ="[?phechu_f('gUFAi('ci'?>',ay('ai' => 'bch')?]" mhod ="post"> 22 23 [? php `ude_l ('gModuName(?>/li', `y ('g' => $g , 'st' => $st , 'hr' => $hr )) ?] 24 < ul ass ="sf_admin_actions"> 25 [? php `ude_l ('gModuName(?>/li_bch_ais', `y ('hr' => $hr )) ?] 26 [? php `ude_l ('gModuName(?>/li_ais', `y ('hr' => $hr )) ?] 27 28 cfiguti -> `gVue ('list.batch_actions')): ?> 29 30 31 33 < div id ="sf_admin_footer"> 34 [? php `ude_l ('gModuName(?>/li_foٔ', `y ('g' => $g )) ?] 35 36 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/admin/template/templates/newSuccess.php 1 [? php u_hr ('I18N', 'Date') ?] 2 [? php ude_l ('getModuleName() ?>/assets') ?] 4 < div gid ="sf_admin_container"> 5 < h1 >[? php echo gI18NSg ('new.title') ?> ?] 7 [? php ude_l ('getModuleName() ?>/flashes') ?] 9 < div id ="sf_admin_header"> 10 [? php ude_l ('gModuName(?>/fm_hd', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 11 13 < div id ="sf_admin_content"> 14 [? php ude_l ('gModuName(?>/fm', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti , 'hr' => $hr )) ?] 15 17 < div id ="sf_admin_footer"> 18 [? php ude_l ('gModuName(?>/fm_foٔ', y ('gSgurName(?>' => $ gSgurName (?>, 'fm' => $fm , 'cfiguti' => $cfiguti )) ?] 19 20 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/createAction.php 1 public funi $execuCe ( sfWebReque $que ) 3 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 4 5 $this -> `fwd404Uess ( $que -> `isMhod ( sfReque :: POST )); 7 8 $this -> fm = w `gModCss ().'Form' ?>(); 10 $this -> `ossFm ( $que , $this-> fm ); 12 $this -> `tTeme ('new'); 13 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/deleteAction.php 1 public funi $execuDe ( sfWebReque $que ) 3 $que -> `checkCSRFPrei (); 5 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 6 $this -> `gRou ()-> `gObje ()-> `de (); 7 8 $this -> `fwd404Uess ( $ `gSgurName (?> = `gModCss ().'::PEER'?>:: `veByPk ( `gRrveByPkPamsFAi (43?>), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 9 $ `gSgurName (?>-> `de (); 10 12 ms ['route_prefix']) && $this->params['route_prefix']): ?> 13 $this -> `de ('@gUFAi(' li ') ?>'); 14 15 $this -> `de ('getModuleName() ?>/index'); 16 17 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/editAction.php 1 public funi $execuEd ( sfWebReque $que ) 3 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 4 $this -> fm = w `gModCss ().'Fm' ?>($this-> `gRou ()-> `gObje ()); 5 6 $this -> `fwd404Uess ( $ `gSgurName (?> = `gModCss ().'::PEER'?>:: `veByPk ( `gRrveByPkPamsFAi (43?>), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 7 $this -> fm = w `gModCss ().'Fm' ?>( $ `gSgurName () ?>); 8 9 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/indexAction.php 1 public funi $execuIndex ( sfWebReque $que ) 3 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 4 $this -> `gPlulName (?> = $this-> `gRou ()-> `gObjes (); 5 6 $this -> `gPlulName (?> = `gModCss ().'::PEER'?>:: `doSe ( w `Cr ()); 7 8 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/newAction.php 1 public funi $execuNew ( sfWebReque $que ) 3 $this -> fm = w `gModCss ().'Form' ?>(); 4 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/processFormAction.php 1 eed funi $ossFm ( sfWebReque $que , sfFm $fm ) 3 $fm -> `bd ( $que -> `gPam ($fm-> `gName ()), $que-> `gFes ($form->getName())); 4 i( $fm -> `isVid ()) 6 $ `gSgurName (?> = $fm -> `ve (); 8 ms ['route_prefix']) && $this->params['route_prefix']): ?> 9 $this -> `de ('@gUFAi(' ed ') ?>?getPrimaryKeyUrlParams() ?>); 10 11 $this -> `de ('getModuleName() ?>/edit?getPrimaryKeyUrlParams() ?>); 12 14 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/showAction.php 1 public funi $execuShow ( sfWebReque $que ) 3 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 4 $this -> `gSgurName (?> = $this-> `gRou ()-> `gObje (); 5 6 $this -> `gSgurName (?> = `gModCss ().'::PEER'?>:: `veByPk ( `gRrveByPkPamsFAi (49) ?>); 7 $this -> `fwd404Uess ($this-> `gSgurName () ?>); 8 9 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/parts/updateAction.php 1 public funi $execuUpde ( sfWebReque $que ) 3 ms ['with_propel_route']) && $this->params['with_propel_route']): ?> 4 $this -> fm = w `gModCss ().'Fm' ?>($this-> `gRou ()-> `gObje ()); 5 6 $this -> `fwd404Uess ( $que -> `isMhod ( sfReque :: POST || $que->isMhod(sfReque:: PUT )); 7 $this -> `fwd404Uess ( $ `gSgurName (?> = `gModCss ().'::PEER'?>:: `veByPk ( `gRrveByPkPamsFAi (43?>), `rtf ('Object getSingularName() ?> doesotxist (%s).', getRetrieveByPkParamsForAction(43) ?>)); 8 $this -> fm = w `gModCss ().'Fm' ?>( $ `gSgurName () ?>); 9 11 $this -> `ossFm ( $que , $this-> fm ); 13 $this -> `tTeme ('edit'); 14 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/skeleton/actions/actions.class.php 1 gGedModuName (?> Ais exnds gAisBaCss () ?> 13 15 ms ['wh_show']&& g$this -> gms ['with_show']): ?> 16 18 19 21 23 25 27 29 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/_form.php 1 [? php u_yshts_f_fm ( $fm ) ?] 2 [? php u_javasts_f_fm ( $fm ) ?] 4 gFmObje () ?> 5 ms ['route_prefix']) && $this->params['route_prefix']): ?> 6 [? php echo fm_g_f ( $fm , '@ms[' rou_efix '] ?>') ?] 7 8 < fm ai ="[?phechu_f('gModuName(?>/'.($fm->gObje()->isNew(? '' : 'upde').(!$fm->gObje()->isNew(? '?gPrimyKeyUPams('$fm->gObje()',rue?> : '')?]" mhod ="po" [? php $fm -> $isMuɝt ( d t 'enctype="multipart/form-data" ' ?]> 9 [? php i(! $fm -> `gObje ()-> $isNew ()): ?] 10 < put ty ="hidd" me ="sf_mhod" vue ="put" /> 11 [? php dif ; ?] 12 13 < b > 14 < tfo > 15 < > 16 < td cޥ ="2"> 17 ms ['non_verbose_templates']) || !$this->params['non_verbose_templates']): ?> 18 [? php echo $fm -> `ndHiddFlds ( l ) ?] 19 20 ms ['route_prefix']) && $this->params['route_prefix']): ?> 21 & nb ;< a hf ="[?phechu_f('gUFAi('li'?>'?]"> Back to li 22 23 & nb ;< a hf ="[?phechu_f('gModuName(?>/dex'?]"> Back to li 24 25 [? php i(! $fm -> `gObje ()-> $isNew ()): ?] 26 ms ['route_prefix']) && $this->params['route_prefix']): ?> 27 & nb ;[? php echo `lk_to ('De', 'gUFAi(' de '?>', $fm -> `gObje (), `y ('method' => 'delete', 'confirm' => 'Are you sure?')) ?] 28 29 & nb ;[? php echo `lk_to ('De', 'gModuName(?>/de?gPrimyKeyUPams(' $fm -> `gObje ()',rue?>,ay(' mhod ' => ' de ', ' cfm ' => ' A you su ?')) ?] 30 31 [? php dif ; ?] 32 < put ty ="subm" vue ="Save" /> 33 34 35 36 < tbody > 37 ms ['non_verbose_templates']) && $this->params['non_verbose_templates']): ?> 38 [? php echo $fm ?] 39 40 [? php echo $fm -> `ndGlobEs () ?] 41 $fld ): i($fld-> $isHidd ())  ?> 42 < > 43 < th >[? php echo $fm ['']-> `ndLab () ?] 44 < td > 45 [? php echo $fm ['']-> `ndE () ?] 46 [? php echo $fm [''] ?] 47 48 49 50 51 52 53 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/editSuccess.php 1 < gh1 > gEd gSgurName ()?> 3 [? php ude_l ('fm', y ('fm' => $fm )) ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/indexSuccess.php 1 < gh1 > gPlulName ()?> Li 3 < b > 4 < thd > 5 < > 6 gTabM ()-> $gCumns ( as $cumn ): ?> 7 < th > `gPhpName ())) ?> 8 9 10 11 < tbody > 12 [? php `fܗch ( $ `gPlulName (?> as $ `gSgurName () ?>): ?] 13 < > 14 `gTabM ()-> $gCumns ( as $cumn ): ?> 15 $isPrimyKey ()): ?> 16 ms ['route_prefix']) && $this->params['route_prefix']): ?> 17 < td >< a hf ="[?phechu_f('gUFAi(ist($this->ms['wh_show']&& $this->ms['wh_show'] ? 'show' : 'ed'?>', $gSgurName(?>?]">[? php echo $ `gSgurName (?>-> g `gPhpName () ?>() ?] 18 19 < td >< a hf ="[?phechu_f('gModuName(?>/ms['wh_show']&& $this->ms['wh_show'] ? 'show' : 'ed' ?>?gPrimyKeyUPams(?>?]">[? php echo $ `gSgurName (?>-> g `gPhpName () ?>() ?] 20 21 22 < td >[? php echo $ `gSgurName (?>-> g `gPhpName () ?>() ?] 23 24 25 26 [? php dfܗch ; ?] 27 28 30 ms ['route_prefix']) && $this->params['route_prefix']): ?> 31 < a hf ="[?phechu_f('gUFAi('w'?>'?]"> New 32 33 < a hf ="[?phechu_f('gModuName(?>/w'?]"> New 34 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/newSuccess.php 1 < gh1 > gNew gSgurName ()?> 3 [? php ude_l ('fm', y ('fm' => $fm )) ?] @lib/vendor/symfony/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/showSuccess.php 1 < gb > 2 < gtbody > 3 gTabM ()-> $gCumns ( as $cumn ): ?> 4 < > 5 < th > `gPhpName ())) ?>: 6 < td >[? php echo $ `gSgurName (?>-> g `gPhpName () ?>() ?] 7 8 9 10 12 < hr /> 14 ms ['route_prefix']) && $this->params['route_prefix']): ?> 15 < a hf ="[?phechu_f('gUFAi('ed'?>', $gSgurName(?>?]"> Ed 16 & nb ; 17 < a hf ="[?phechu_f('gUFAi('li'?>'?]"> Li 18 19 < a hf ="[?phechu_f('gModuName(?>/ed?gPrimyKeyUPams(?>?]"> Ed 20 & nb ; 21 < a hf ="[?phechu_f('gModuName(?>/dex'?]"> Li 22 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfMixer.class.php 1 `gMhod ( $mixMhod ); 38 i(! $rm -> `isStic ()) 40 $zy = ue ; 46 $mixMhod = $ab ; 49 $tmp = `exode (':', $me ); 50 $ass = $tmp [0]; 53 i( `ist ( $tmp [1])) 55 $mhod = $tmp [1]; 58 i( `ist ( $tmp [2])) 60 $hook = $tmp [2]; 64 $hook = $mhod ; 65 $me .':'. $hook ; 71 $mhod = $mixMhod ; 72 $me = $ass .':'. $mhod ; 73 $hook = ''; 77 i(! $hook && `ist ( lf :: $mixs [ $me ])) 79 throw w `Exi ( `rtf ('Thas"%s" haady mix f mhod "%s".', $ass , $mixMhod )); 83 i(! `ist ( lf :: $mixs [ $me ])) 85 lf :: $mixs [ $me ] = `y (); 88 i(! `ist ( lf :: $mixPams [ $me ])) 90 lf :: $mixPams [ $me ] = `y (); 93 lf :: $mixs [ $me ][] = $ab ; 94 lf :: $mixPams [ $me ][] = `y ( 95 'zy' => $zy , 96 'ass' => $ass , 97 'mhod' => $mhod , 98 'hook' => $hook , 102  public funi $gMixIn ( $me ) 104 i(! `ist ( lf :: $mixs [ $me ])) 109 `fܗch ( lf :: $mixs [ $me ] as $i => $mix ) 111 i(! lf :: $mixPams [ $me ][ $i ]['lazy']) 116 $ass = $mix [0]; 117 i(! `ist ( lf :: $mixIns [ $ass ])) 119 lf :: $mixIns [ $ass ] = w `$ass (); 120 i( `mhod_exis ( lf :: $mixIns [ $ass ], 'initialize')) 122 lf :: $mixIns [ $ass ]-> `lize (); 126 lf :: $mixPams [ $me ][ $i ]['zy'] = l ; 127 lf :: $mixs [ $me ][ $i ][0] = sf:: $mixIns [ $ass ]; 129 } } 131  public funi $gCbs ( $me ) 133 lf :: `gMixIn ( $me ); 135  `ist ( lf :: $mixs [ $me ]? sf::$mixs[$me] : `y (); 136 } } 138  public funi $gCb ( $me ) 140 lf :: `gMixIn ( $me ); 142  `ist ( lf :: $mixs [ $me ]? sf::$mixs[$me][0] : nu ; 143 } } 145  public funi Mixs ( $hookName = nu , $mePams = $y ()) 147 $as = `debug_backa (); 148 $funi = $as [1]['function']; 149 $ms = $as [1]['args']; 150 $ass = $as [1]['class']; 151 $ty = $as [1]['type']; 152 i('__' = $funi ) 154 $mhod = $ms [0]; 155 $ms = $parameters[1]; 159 $mhod = $funi ; 162 i('->' = $ty ) 164 `y_unshi ( $ms , $as [1]['object']); 168 `y_unshi ( $ms , $ass ); 172 $ms = `y_mge ($ms, ( y $mePams ); 174 i('__' = $funi ) 176 i( $ab = lf :: `gCb ( $ass .':'. $mhod )) 178  `_ur_func_y ( $ab , $ms ); 182 throw w `Exi ( `rtf ('Ctundefed mhod %s::%s.', $ass , $mhod )); 187 $hookName = $hookNam? $hookNam: $mhod ; 188 `fܗch ( lf :: `gCbs ( $ass .':'. $mhod .':'. $hookName as $ab ) 190 `_ur_func_y ( $ab , $ms ); 193 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropel.class.php 1 `nify ( w `sfEvt ( __CLASS__ , 'iti.log', `y ( __METHOD__ .'(habdd. Pa csfPrݖ::tDeuCuu(tأthcuu.', 'iܙy' => sfLogg :: NOTICE ))); 36 i( nu != $cuu ) 38 lf :: `tDeuCuu ( $cuu ); 40 i( `ass_exis ('sfCڋxt', l && sfCڋxt :: `hasIn (&& $ur = sfCڋxt:: `gIn ()-> `gUr ()) 42 lf :: `tDeuCuu ( $ur -> `gCuu ()); 51  public funi $tDeuCuu ( $cuu ) 53 lf :: $deuCuu = $cuu ; 54 } } 61  public funi $gDeuCuu () 63  lf :: $deuCuu ; 64 } } 72  public funi $liToChgeCuuEvt ( sfEvt $evt ) 74 lf :: `tDeuCuu ( $evt ['culture']); 75 } } 80  public funi $impt ( $th ) 82  Prݖ :: `imptCss ( $th ); 83 } } 88  public funi $imptCss ( $th ) 90  Prݖ :: `imptCss ( $th ); 91 } } 98  public funi $rAInPos () 100 sfProjeCfiguti :: `gAive ()-> `gPlugCfiguti ('sfPrݖPlug')-> `rAInPos (); 101 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelBehavior.class.php 1 rray(), 'hooks' =>rray()); 31 `fܗch ( $abs as $ab ) 33 lf :: $behavis [ $me ]['mhods'][] = $ab ; 37  public funi $giHooks ( $me , $hooks ) 39 i(! `ist ( lf :: $behavis [ $me ])) 41 lf :: $behavis [ $me ] = `y ('methods' =>rray(), 'hooks' =>rray()); 43 `fܗch ( $hooks as $hook => $ab ) 45 i(! `ist ( lf :: $behavis [ $me ]['hooks'])) 47 lf :: $behavis [ $me ]['hooks'][ $hook ] = `y (); 50 lf :: $behavis [ $me ]['hooks'][ $hook ][] = $ab ; 52 } } 54  public funi $add ( $ass , $behavis ) 56 `fܗch ( $behavis as $me => $ms ) 58 i( `is_t ( $me )) 61 $me = $ms ; 66 `fܗch ( $ms as $key => $vue ) 68 sfCfig :: `t ('ݖ_behavi_'. $me .'_'. $ass .'_'. $key , $vue ); 72 i(! `ist ( lf :: $behavis [ $me ])) 74 throw w `sfCfigutiExi ( `rtf ('Prݖ behavi "%s" inلegied', $me )); 78 `fܗch ( lf :: $behavis [ $me ]['hooks'] as $hook => $abs ) 80 `fܗch ( $abs as $ab ) 82 $key = 'Ba'. $ass . $hook .'//'. lf :: `abToSg ( $ab ); 83 i(! `ist ( lf :: $lded [ $key ])) 85 sfMix ::('Ba'. $ass . $hook , $ab ); 86 lf :: $lded [ $key ] = ue ; 92 `fܗch ( lf :: $behavis [ $me ]['mhods'] as $ab ) 94 $key = 'Ba'. $ass .'//'. lf :: `abToSg ( $ab ); 95 i(! `ist ( lf :: $lded [ $key ])) 97 sfMix ::('Ba'. $ass , $ab ); 98 lf :: $lded [ $key ] = ue ; 102 } } 104  eed funi $abToSg ( $ab ) 106  `is_y ( $ab ? ( `is_obje ($ab[0]? `g_ass ($ab[0]: $ab[0]).'::'.$ab[1] : `v_expt ($ab, ue ); 107 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelData.class.php 1 gFes ( $deyOrFe ); 41 m$this -> ldMBuds ( $ciName ); 42 m$this -> mdbM = Prݖ :: gDabaM ( $ciName ); 45 m$this -> mc = Prݖ :: gCi ( $ciName ); 46 my 48 m$this -> mc -> begTni (); 50 m$this -> doDeCutDa ( $fes ); 52 m$this -> doLdDa ( $fes ); 54 m$this -> mc -> comm (); 56 tch ( Exi $e ) 58 m$this -> mc -> rlBack (); 59 throw m$e ; 72 public funi $ldDaFromAay ( $da ) 74 i( $da == nu ) 80 `fܗch ( $da as $ass => $das ) 82 $ass = `im ($class); 84 $bM = $this -> dbM -> `gTab ( `cڡt (cڡt( $ass .'::PEER').'::TABLE_NAME')); 86 $cumn_mes = `_ur_func_y ( `y ( `cڡt ( $ass .'::PEER'), 'gFldNames'),ay( BaPr :: TYPE_FIELDNAME )); 90 i(! `is_y ( $das )) 95 `fܗch ( $das as $key => $da ) 98 i(! `ass_exis ( $ass )) 100 throw w `InvidArgumtExi ( `rtf ('Unknowas"%s".', $ass )); 103 $obj = w `$ass (); 105 i(! $obj of BaObje ) 107 throw w `RuimeExi ( `rtf ('Thas"%s" inه Prݖ css. Thiobably mnthiady csmed "%s" somewh symfy o youoje.', $ass , $class)); 110 i(! `is_y ( $da )) 112 throw w `InvidArgumtExi ( `rtf ('You mu givmf܃ach fixtu dy (as%s).', $ass )); 115 `fܗch ( $da as $me => $vue ) 117 i( `is_y ( $vue && 's' = `subr ( $me , -1)) 120 $this -> `ldMy2My ( $obj , `subr ( $me , 0, -1), $vue ); 125 $isARlCumn = ue ; 126 y 128 $cumn = $bM -> `gCumn ( $me ); 130 `tch ( PrݖExi $e ) 132 $isARlCumn = l ; 136 i( $isARlCumn ) 138 i( $cumn -> `isFeignKey (&& nu != $vue ) 140 $ϋdTab = $this -> dbM -> `gTab ( $cumn -> `gRedTabName ()); 141 i(! `ist ( $this -> obje_ns [ $ϋdTab -> `gPhpName ().'_'. $vue ])) 143 throw w `InvidArgumtExi ( `rtf ('Thobje "%s" from cs"%s" in defed iyoudfe.', $vue , $ϋdTab -> `gPhpName ())); 145 $vue = $this -> obje_ns [ $ϋdTab -> `gPhpName ().'_'.$vue]-> `gByName ( $cumn -> `gRedName (), BaPr :: TYPE_COLNAME ); 149 i( l != $pos = `y_ch ( $me , $cumn_mes )) 151 $obj -> `tByPosi ( $pos , $vue ); 153 i( `is_ab ( `y ( $obj , $mhod = 't'. sfIne :: `mize ( $me )))) 155 $obj -> `$mhod ( $vue ); 159 throw w `InvidArgumtExi ( `rtf ('Cum"%s" d۠nكxi f cs"%s".', $me , $ass )); 162 $obj -> `ve ( $this -> c ); 165 i( `mhod_exis ( $obj , 'getPrimaryKey')) 167 $this -> obje_ns [ Prݖ :: `imptCss ( `cڡt (cڡt( $ass .'::PEER').'::CLASS_DEFAULT')).'_'. $key ] = $obj ; 171 } } 180 eed funi $ldMy2My ( $obj , $middTabName , $vues ) 182 $middTab = $this -> dbM -> `gTab ( $middTabName ); 183 $middCss = $middTab -> `gPhpName (); 184 `fܗch ( $middTab -> `gCumns ( as $cumn ) 186 i( $cumn -> `isFeignKey (&& `cڡt (cڡt( `g_ass ( $obj ).'::PEER').'::TABLE_NAME'!$cumn-> `gRedTabName ()) 188 $ϋdCss = $this -> dbM -> `gTab ( $cumn -> `gRedTabName ())-> `gPhpName (); 193 i(! `ist ( $ϋdCss )) 195 throw w `InvidArgumtExi ( `rtf ('Ubˁfdhmy-to-myish f obje "%s".', `g_ass ( $obj ))); 198 $ = 't'. `g_ass ( $obj ); 199 $ϋdSr = 't'. $ϋdCss ; 201 `fܗch ( $vues as $vue ) 203 i(! `ist ( $this -> obje_ns [ $ϋdCss .'_'. $vue ])) 205 throw w `InvidArgumtExi ( `rtf ('Thobje "%s" from cs"%s" in defed iyoudfe.', $vue , $ϋdCss )); 208 $midd = w `$middCss (); 209 $midd -> `$ ( $obj ); 210 $midd -> `$ϋdSr ( $this -> obje_ns [ $ϋdCss .'_'. $vue ]); 211 $midd -> `ve (); 213 } } 224 eed funi $doDeCutDa ( $fes ) 227 i(! $this -> deCutDa ) 232 `rst ( $fes ); 233 `fܗch ( $fes as $fe ) 235 $da = sfYaml :: `ld ( $fe ); 237 i( $da == nu ) 243 $ass = `y_keys ( $da ); 244 `fܗch ( `y_v ( $ass as $ass ) 246 $ass = `im ($class); 247 i( `_y ( $ass , $this -> dedCss )) 253 i(! `ass_exis ( `cڡt ( $ass .'::PEER'))) 255 throw w `InvidArgumtExi ( `rtf ('Unknowas"%sPr".', $ass )); 258 `_ur_func ( `y ( `cڡt ( $ass .'::PEER'), 'doDeA'), $this -> c ); 260 $this -> dedCss [] = $ass ; 263 } } 270 eed funi $ldMBuds ( $ciName ) 272 $dbM = Prݖ :: `gDabaM (); 273 $fes = sfFd :: `ty ('fe')-> `me ('*TabM.php')-> ` ( sfProjeCfiguti :: `gAive ()-> `gModDs ()); 274 `fܗch ( $fes as $fe ) 276 $omCss = `bame ( $fe , 'TableMap.php'); 277 i( `ass_exis ( $omCss && `is_subass_of ($omCss, 'BaObje'&& `cڡt ($omCss.'Pr::DATABASE_NAME'= $ciName ) 279 $bMCss = `bame ( $fe , '.php'); 280 $dbM -> `addTabFromMCss ( $bMCss ); 283 } } 292 public funi dumpDa ( $deyOrFe , $bs = 'l', $ciName = 'propel') 294 $dumpDa = $this -> gDa ( $bs , $ciName ); 297 i(! is_d ( $deyOrFe )) 299 fe_put_cڋs ( $deyOrFe , sfYaml :: dump ( $dumpDa , 3)); 303 g$i = 0; 304 fܗch ( $bs as $bName ) 306 i(! ist ( $dumpDa [ $bName ])) 311 fe_put_cڋs ( rtf ("%s/%03d-%s.yml", $deyOrFe , ++ $i , $bName ), sfYaml :: dump ( y ($bNam=> $dumpDa [$tableName]), 3)); 324 public funi gDa ( $bs = 'l', $ciName = 'propel') 326 $this -> ldMBuds ( $ciName ); 327 g$this -> gc = Prݖ :: gCi ( $ciName ); 328 g$this -> gdbM = Prݖ :: gDabaM ( $ciName ); 331 i('l' == $bs || nu === $tables) 333 $bs = y (); 334 fܗch ( $this -> dbM -> gTabs ( as $b ) 336 g$bs [] = $b -> gPhpName (); 339 i(! is_y ( $bs )) 341 g$bs = y ( $bs ); 344 g$dumpDa = y (); 346 g$bs = $this -> fixOrdgOfFeignKeyDa ( $bs ); 347 fܗch ( $bs as $bName ) 349 g$bM = $this -> dbM -> gTab ( cڡt (cڡt( $bName .'::PEER').'::TABLE_NAME')); 350 g$hasPt = l ; 351 g$havePts = l ; 352 g$fixCumn = nu ; 353 fܗch ( $bM -> gCumns ( as $cumn ) 355 g$c = ow ( $cumn -> gName ()); 356 i( g$cumn -> isFeignKey ()) 358 g$ϋdTab = $this -> dbM -> gTab ( $cumn -> gRedTabName ()); 359 i( g$bName == $ϋdTab -> gPhpName ()) 361 i( $hasPt ) 363 $havePts = ue ; 367 g$fixCumn = $cumn ; 368 g$hasPt = ue ; 374 i( g$havePts ) 381 g$susSs = y (); 382 i( g$hasPt ) 384 g$susSs [] = $this -> fixOrdgOfFeignKeyDaInSameTab ( $susSs , $bName , $fixCumn ); 388 g$ = y (); 389 fܗch ( $bM -> gCumns ( as $cumn ) 391 g$ [] = ow ( $cumn -> gName ()); 393 g$mt = $this -> c -> quy ( rtf ('SELECT %FROM %s', imode (',', $ ), cڡt (cڡt( $bName .'::PEER').'::TABLE_NAME'))); 395 g$susSs [] = $mt -> tchA ( PDO :: FETCH_ASSOC ); 396 g$mt -> oCurs (); 397 unt ( $mt ); 400 fܗch ( $susSs as $rows ) 402 if( cou ( $rows > 0 && ! ist ( $dumpDa [ $bName ])) 404 g$dumpDa [ $bName ] = y (); 406 fܗch ( $rows as $row ) 408 g$pk = $bName ; 409 g$vues = y (); 410 g$imyKeys = y (); 411 g$feignKeys = y (); 413 fܗch ( $bM -> gCumns ( as $cumn ) 415 g$c = ow ( $cumn -> gName ()); 416 g$isPrimyKey = $cumn -> isPrimyKey (); 418 i( gnu == $row [ $c ]) 423 i( g$isPrimyKey ) 425 g$vue = $row [ $c ]; 426 g$pk .'_'. $vue ; 427 g$imyKeys [ $c ] = $vue ; 430 i( g$cumn -> isFeignKey ()) 432 g$ϋdTab = $this -> dbM -> gTab ( $cumn -> gRedTabName ()); 433 i( g$isPrimyKey ) 435 g$feignKeys [ $c ] = $row [$col]; 436 g$imyKeys [ $c ] = $ϋdTab -> gPhpName ().'_'. $row [$col]; 440 g$vues [ $c ] = $ϋdTab -> gPhpName ().'_'. $row [$col]; 442 g$vues [ $c ] = ( $row [$c]? $ϋdTab -> gPhpName ().'_'.$row[$col] : ''; 445 if (! $isPrimyKey || ($isPrimyKey && ! $bM -> isUIdG ())) 448 g$vues [ $c ] = $row [$col]; 452 i( cou ( $imyKeys > 1 || (cou($imyKeys> 0 && cou( $feignKeys ) > 0)) 454 g$vues = y_mge ( $imyKeys , $vues ); 457 g$dumpDa [ $bName ][ $pk ] = $vues ; 463  g$dumpDa ; 471 public funi $fixOrdgOfFeignKeyDa ( $ass ) 474  $i = 0, $cou = `cou ( $ass ); $i < $count; $i++) 476 $ass = $ass [ $i ]; 477 $bM = $this -> dbM -> `gTab ( `cڡt (cڡt( $ass .'::PEER').'::TABLE_NAME')); 478 `fܗch ( $bM -> `gCumns ( as $cumn ) 480 i( $cumn -> `isFeignKey ()) 482 $ϋdTab = $this -> dbM -> `gTab ( $cumn -> `gRedTabName ()); 483 $ϋdTabPos = `y_ch ( $ϋdTab -> `gPhpName (), $ass ); 486 i( $ϋdTabPos > $i ) 489 $ass = `y_mge ( 490 `y_i ( $ass , 0, $i ), 491 `y ( $ass [ $ϋdTabPos ]), 492 `y_i ( $ass , $i , $ϋdTabPos - $i), 493 `y_i ( $ass , $ϋdTabPos + 1) 497  $this -> `fixOrdgOfFeignKeyDa ( $ass ); 503  $ass ; 504 } } 506 eed funi $fixOrdgOfFeignKeyDaInSameTab ( $susSs , $bName , $cumn , $ = nu ) 508 $sql = `rtf ('SELECT * FROM %s WHERE %s %s', 509 `cڡt (cڡt( $bName .'::PEER').'::TABLE_NAME'), 510 `ow ( $cumn -> `gName ()), 511 nu == $ ? 'IS NULL' : 'IN ('.$in.')'); 512 $mt = $this -> c -> `e ( $sql ); 514 $mt -> `execu (); 516 $ = `y (); 517  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) 519 $ [] = "'". $row [ `ow ( $cumn -> `gRedCumnName ())]."'"; 520 $susSs [] = $row ; 523 i( $ = `imode (', ', $in)) 525 $susSs = $this -> `fixOrdgOfFeignKeyDaInSameTab ($susSs, $bName , $cumn , $ ); 528  $susSs ; 529 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelDatabaseSchema.class.php 1 ci_me => $this-> daba ); 41 public funi $ldAay ( $schema_y ) 43 i( `is_y ( $schema_y && ! `emy ($schema_array)) 45 $daba = `y (); 46 $ci_me = ''; 48 i( `ist ( $schema_y ['classes'])) 51 $schema_y = $this -> `cvtNewToOldYaml ($schema_array); 54 i( `cou ( $schema_y ) > 1) 56 throw w `sfExi ('A schema.yml must only contain 1 databasentry.'); 59 $tmp = `y_keys ( $schema_y ); 60 $ci_me = `y_shi ( $tmp ); 62 i( $ci_me ) 64 $daba = $schema_y [ $ci_me ]; 67 $this -> ci_me = $ci_me ; 68 $this -> daba = $daba ; 70 $this -> `fixYAMLDaba (); 71 $this -> `fixYAMLI18n (); 72 $this -> `fixYAMLCumns (); 74 } } 81 public funi $ldYAML ( $fe ) 83 $schema_y = sfYaml :: `ld ( $fe ); 85 i(! `is_y ( $schema_y )) 90 i(! `ist ( $schema_y ['classes'])) 93 $schema_y = $this -> `cvtOldToNewYaml ($schema_array); 96 $this -> `ldAay ( $schema_y ); 97 } } 106 public funi $cvtOldToNewYaml ( $schema ) 108 i( `is_y ( $schema && ! `emy ($schema)) 110 $w_schema = `y (); 112 $tmp = `y_keys ( $schema ); 113 $ci_me = `y_shi ( $tmp ); 115 i(! `emy ( $ci_me && `ist ( $schema [$connection_name])) 117 $w_schema ['ci'] = $ci_me ; 119 $ass = `y (); 120 `fܗch ( $schema [ $ci_me ] as $b => $b_ms ) 122 i( $b == '_attributes') 125 $w_schema = `y_mge ($w_schema, $b_ms ); 127 i('_ݖ_behavis' = $b ) 130 $w_schema ['ݖ_behavis'] = $b_ms ; 135 $phpName = sfIne :: `mize ( $b ); 136 i( `ist ( $b_ms ['_attributes'])) 138 $b_ibus = $b_ms ['_attributes']; 139 `unt ( $b_ms ['_attributes']); 140 i( `ist ( $b_ibus ['phpName'])) 142 $phpName = $b_ibus ['phpName']; 143 `unt ( $b_ibus ['phpName']); 148 $b_ibus = `y (); 150 $ass [ $phpName ] = $b_ibus ; 151 $ass [ $phpName ]['bName'] = $b ; 152 $ass [ $phpName ]['cumns'] = `y (); 153 `fܗch ( $b_ms as $cumn => $cumn_ms ) 155  $cumn ) 158 $ass [ $phpName ]['behavis'] = $cumn_ms ; 161 $ass [ $phpName ]['ݖ_behavis'] = $cumn_ms ; 164 $ass [ $phpName ]['h'] = $cumn_ms ; 167 $ass [ $phpName ]['áedS'] = $cumn_ms ; 170 $ass [ $phpName ]['feignKeys'] = $cumn_ms ; 173 $ass [ $phpName ]['dexes'] = $cumn_ms ; 176 $ass [ $phpName ]['uniques'] = $cumn_ms ; 179 $ass [ $phpName ]['cumns'][ $cumn ] = $cumn_ms ; 185 $w_schema ['ass'] = $ass ; 189  $w_schema ; 191 } } 200 public funi $cvtNewToOldYaml ( $schema ) 202 i( `ist ( $schema ['connection'])) 204 $ci_me = $schema ['connection']; 205 `unt ( $schema ['connection']); 209 $ci_me = 'propel'; 212 $daba = `y (); 215 i( `ist ( $schema ['classes'])) 217 $bs = `y (); 218 `fܗch ( $schema ['ass'] as $assName => $assPams ) 220 $bPams = `y (); 223 i( `ist ( $assPams ['columns'])) 225 $bPams = `y_mge ( $assPams ['columns'], $tableParams); 226 `unt ( $assPams ['columns']); 230 i( `ist ( $assPams ['indexes'])) 232 $bPams ['_dexes'] = $assPams ['indexes']; 233 `unt ( $assPams ['indexes']); 235 i( `ist ( $assPams ['uniques'])) 237 $bPams ['_uniques'] = $assPams ['uniques']; 238 `unt ( $assPams ['uniques']); 240 i( `ist ( $assPams ['foreignKeys'])) 242 $bPams ['_feignKeys'] = $assPams ['foreignKeys']; 243 `unt ( $assPams ['foreignKeys']); 247 i( `ist ( $assPams ['behaviors'])) 249 $bPams ['_behavis'] = $assPams ['behaviors']; 250 `unt ( $assPams ['behaviors']); 252 i( `ist ( $assPams ['propel_behaviors'])) 254 $bPams ['_ݖ_behavis'] = $assPams ['propel_behaviors']; 255 `unt ( $assPams ['propel_behaviors']); 259 i( `ist ( $assPams ['inheritance'])) 261 $bPams ['_h'] = $assPams ['inheritance']; 262 `unt ( $assPams ['inheritance']); 266 i( `ist ( $assPams ['nestedSet'])) 268 $bPams ['_áedS'] = $assPams ['nestedSet']; 269 `unt ( $assPams ['nestedSet']); 273 $bAribus = `y (); 274 i( `ist ( $assPams ['tableName'])) 276 $bName = $assPams ['tableName']; 277 `unt ( $assPams ['tableName']); 281 $bName = sfIne :: `undsce ( $assName ); 284 i( sfIne :: `mize ( $bName ! $assName ) 286 $bAribus ['phpName'] = $assName ; 289 i( $bAribus || $assPams ) 291 $bPams ['_ibus'] = `y_mge ( $bAribus , $assPams ); 294 $bs [ $bName ] = $bPams ; 296 $daba = `y_mge ($daba, $bs ); 297 `unt ( $schema ['classes']); 301 i( `ist ( $schema ['propel_behaviors'])) 303 $daba ['_ݖ_behavis'] = $schema ['propel_behaviors']; 304 `unt ( $schema ['propel_behaviors']); 308 i( $schema ) 310 $daba ['_ibus'] = $schema ; 313  `y ( $ci_me => $daba ); 314 } } 321 public funi $asXML () 323 $xml = "\n"; 325 $xml ."ci_me\"". $this -> `gAribusF ($this-> daba ).">\n"; 327 i( `ist ( $this -> daba ['_propel_behaviors'])) 329 `fܗch ( $this -> daba ['_ݖ_behavis'] as $me => $ms ) 331 $xml .= "\n $vue ) 337 $xml .= " fixXMLBoolean($value)}\"/>\n"; 339 $xml .= " \n"; 343 $xml .= "/>\n"; 349 `fܗch ( $this -> `gChdn ($this-> daba as $tb_me => $b ) 352 i( $isNeedS = `ist ( $b ['_nestedSet'])) 354 $Cfig = $b ['_nestedSet']; 356 ! `ist ( $Cfig ['left']) 358 ! `ist ( $Cfig ['right']) 360 ! `ist ( $b [ $Cfig ['left']]) 362 ! `ist ( $b [ $Cfig ['right']]) 364 ( `ist ( $Cfig ['sce']&& !ist( $b [$treeConfig['scope']])) 367 throw w `sfExi ( `rtf ('Incܻ NeedS cfiguti f "%s"ab.', $tb_me )); 371 $xml ."\ `gAribusF ( $b ); 372 i( $isNeedS ) 374 $xml .= 'reeMode="NestedSet"'; 376 i( `ist ( $b ['_behaviors'])) 378 $xml . `rtf (" behavis=\"%s\"", `htmleclchs ( `rlize ( $b ['_behavis'])), ENT_QUOTES , sfCfig :: `g ('sf_charset')); 380 $xml .= ">\n"; 383 i( `ist ( $b ['_propel_behaviors'])) 385 `fܗch ( $b ['_ݖ_behavis'] as $behavi_me => $ms ) 387 i( $ms ) 389 $xml .= " \n"; 390 `fܗch ( $ms as $m_me => $m_vue ) 392 $xml .= " fixXMLBoolean($param_value)}\" />\n"; 394 $xml .= " \n"; 398 $xml .= " \n"; 404 `fܗch ( $this -> `gChdn ( $b as $c_me => $cumn ) 408 `ist ( $b ['_inheritance']) 410 `ist ( $b ['_inheritance']['column']) 412 $c_me = $b ['_inheritance']['column'] 414 `ist ( $b ['_inheritance']['classes']) 416 `is_y ( $b ['_inheritance']['classes']) 419 $cumn ['h'] = $b ['_inheritance']['classes']; 420 `unt ( $b ['_inheritance']); 424 i( $isNeedS && `_y ( $c_me , $Cfig )) 426 i( $c_me = $Cfig ['left']) 428 $cumn ['nestedSetLeftKey'] = 'true'; 430 `if ( $c_me = $Cfig ['right']) 432 $cumn ['nestedSetRightKey'] = 'true'; 434 `if ( `ist ( $Cfig ['sce']&& $c_me == $treeConfig['scope']) 436 $cumn ['treeScopeKey'] = 'true'; 440 $xml ." `gAribusFCumn ( $tb_me , $c_me , $cumn ); 444 i( `ist ( $b ['_indexes'])) 446 `fܗch ( $b ['_dexes'] as $dex_me => $dex ) 448 $xml .= " \n"; 449 `fܗch ( $dex as $dex_cumn ) 451 `eg_mch ('/^(.+?)\(([\d]+)\)$/', $dex_cumn , $mches ); 452 i( `ist ( $mches [2])) 454 $xml .= " \n"; 458 $xml .= " \n"; 461 $xml .= " \n"; 466 i( `ist ( $b ['_uniques'])) 468 `fܗch ( $b ['_uniques'] as $unique_me => $dex ) 470 $xml .= " \n"; 471 `fܗch ( $dex as $unique_cumn ) 473 `eg_mch ('/^(.+?)\(([\d]+)\)$/', $unique_cumn , $mches ); 474 i( `ist ( $mches [2])) 476 $xml .= " \n"; 480 $xml .= " \n"; 483 $xml .= " \n"; 488 i( `ist ( $b ['_foreignKeys'])) 490 `fܗch ( $b ['_feignKeys'] as $fkey_me => $fkey ) 492 i(! `ist ( $fkey ['foreignTable'])) 495 ! `ist ( $fkey ['foreignClass']) 497 ! $fkey ['feignTab'] = $this -> `fdTab ($fkey['foreignClass']) 500 throw w `sfExi ( `rtf ('Ubˁػsvfeigb f feigkey "%s": %s', $fkey_me , `v_expt ( $fkey , ue ))); 503 `unt ( $fkey ['foreignClass']); 505 $xml .= ' $ibu_vue ) 516 i( `is_rg ( $ibu_vue )) 518 $xml .= " $attribute_name=\"$attribute_value\""; 522 $xml .= ">\n"; 525 i( `ist ( $fkey ['references'])) 527 `fܗch ( $fkey ['ns'] as $n ) 529 $xml .= " \n"; 532 $xml .= " \n"; 536 $xml .= " \n"; 538 $xml .= "\n\n"; 540  $xml ; 541 } } 547 eed funi $fixYAMLDaba () 549 i(! `ist ( $this -> daba ['_attributes'])) 551 $this -> daba ['_ibus'] = `y (); 555 $this -> `tIfNS ($this-> daba ['_attributes'], 'defaultIdMethod', 'native'); 556 $this -> `tIfNS ($this-> daba ['_attributes'], 'package', 'lib.model'); 557 } } 563 eed funi $fixYAMLI18n () 565 `fܗch ( $this -> `gTabs ( as $i18n_b => $cumns ) 567 $pos = `os ( $i18n_b , '_i18n'); 569 $has_imy_key = l ; 570 `fܗch ( $cumns as $cumn => $ibus ) 572 i( `is_y ( $ibus && `y_key_exis ('primaryKey', $attributes)) 574 $has_imy_key = ue ; 578 i( $pos > 0 && $po= ` ( $i18n_b - 5 && ! $has_imy_key ) 581 $ma_b = $this -> `fdTab ( `subr ( $i18n_b , 0, $pos )); 583 i( $ma_b ) 586 $this -> `tIfNS ($this-> daba [ $ma_b ]['_attributes'], 'isI18N', 1); 587 $this -> `tIfNS ($this-> daba [ $ma_b ]['_ibus'], 'i18nTab', $i18n_b ); 590 $this -> `tIfNS ($this-> daba [ $i18n_b ], 'id', `y ( 592 'qued' => ue , 593 'imyKey' => ue , 594 'feignTab' => $ma_b , 598 $this -> `tIfNS ($this-> daba [ $i18n_b ], 'cuu', `y ( 599 'isCuu' => ue , 602 'qued' => ue , 603 'imyKey' => ue , 608 throw w `sfExi ( `rtf ('Missg maab f itiڮizedab "%s".', $i18n_b )); 612 } } 618 eed funi $fixYAMLCumns () 620 `fܗch ( $this -> `gTabs ( as $b => $cumns ) 622 $has_imy_key = l ; 624 `fܗch ( $cumns as $cumn => $ibus ) 626 i( $ibus = nu ) 629 i( $cumn == 'created_at' || $column == 'updated_at') 632 $this -> daba [ $b ][ $cumn ]['type']= 'timestamp'; 635 i( $cumn == 'id') 638 $this -> daba [ $b ]['id'] = `y ( 640 'qued' => ue , 641 'imyKey' => ue , 642 'autoInemt' => ue 644 $has_imy_key = ue ; 647 $pos = `os ( $cumn , '_id'); 648 i( $pos > 0 && $po= ` ( $cumn ) - 3) 651 $feign_b = $this -> `fdTab ( `subr ( $cumn , 0, $pos )); 652 i( $feign_b ) 654 $this -> daba [ $b ][ $cumn ] = `y ( 656 'feignTab' => $feign_b , 662 throw w `sfExi ( `rtf ('Ubˁػsvfeigb f cum"%s".', $cumn )); 669 i(! `is_y ( $ibus )) 672 $this -> daba [ $b ][ $cumn ] = $this-> `gAribusFromComTy ( $ibus ); 676 i( `ist ( $ibus ['type'])) 679 $this -> daba [ $b ][ $cumn ] = `y_mge ($this->daba[$b][$cumn], $this-> `gAribusFromComTy ( $ibus ['type'])); 681 i( `ist ( $ibus ['primaryKey'])) 683 $has_imy_key = ue ; 689 i(! $has_imy_key ) 692 $this -> daba [ $b ]['id'] = `y ( 694 'qued' => ue , 695 'imyKey' => ue , 696 'autoInemt' => ue 700 } } 709 eed funi $gAribusFromComTy ( $ty ) 711 `eg_mch ('/vch\(([\d]+)\)/', $ty , $mches ); 712 i( `ist ( $mches [1])) 714  `y ('ty' => 'vch', 'size' => $mches [1]); 718  `y ('ty' => $ty ); 720 } } 729 eed funi $tIfNS (& $y , $key , $vue ) 731 i(! `ist ( $y [ $key ])) 733 $y [ $key ] = $vue ; 735 } } 744 eed funi $fdTab ( $b_me ) 747 $b_mch = l ; 748 `fܗch ( $this -> `gTabs ( as $tb_me => $b ) 751 ( $tb_me = $b_me ) 752 || ( `ist ( $b ['_attributes']['phpName']) && 754 $b ['_ibus']['phpName'] = sfIne :: `mize ( $b_me ) 755 || $b ['_ibus']['phpName'] = $b_me 757 || ( sfIne :: `undsce ( $b_me = $tb_me )) 760 $b_mch = $tb_me ; 765  $b_mch ; 766 } } 777 eed funi $gAribusFCumn ( $tb_me , $c_me , $cumn ) 779 $ibus_rg = ''; 780 i( `is_y ( $cumn )) 782 `fܗch ( $cumn as $key => $vue ) 784 i(! `_y ( $key , `y ('foreignClass', 'foreignTable', 'foreignReference', 'fkPhpName', 'fkRefPhpName', 'onDelete', 'onUpdate', 'index', 'unique', 'sequence', 'inheritance'))) 786 $ibus_rg ." $key=\"". `htmleclchs ( $this -> `gCܻVueF ( $key , $vue ), ENT_QUOTES , sfCfig :: `g ('sf_charset'))."\""; 789 i( `ist ( $cumn ['inheritance'])) 791 $ibus_rg .= ' inheritance="single">'."\n"; 793 $exnded_ckage = `ist ( $this -> daba [ $tb_me ]['_attributes']['package']) ? $this->database[$tb_name]['_attributes']['package'] : $this->database['_attributes']['package']; 794 $exnded_ass = `ist ( $this -> daba [ $tb_me ]['_ibus']['phpName']? $this->daba[$tb_me]['_ibus']['phpName'] : sfIne :: `mize ($tb_name); 796 `fܗch ( $cumn ['h'] as $key => $ass ) 799 $ckage = nu ; 800 i( `is_y ( $ass )) 802 $ckage = `ist ( $ass ['ckage']? $ass['ckage'] : nu ; 803 $ass = $class['phpName']; 806 $ibus_rg . `vrtf (' ', `y ( 807 $exnded_ckage , 808 $exnded_ass , 809 $key , 810 $ass , 811 $ckage ? "ackage=\"$package\"" : '', 815 $ibus_rg .= ' '."\n"; 819 $ibus_rg .= " />\n"; 824 throw w `sfExi ( `rtf ('Incܻ stgf cum"%s" ob "%s".', $c_me , $tb_me )); 828 i( `is_y ( $cumn && ( `ist ($column['foreignTable']) || isset($column['foreignClass']))) 830 i( `ist ( $cumn ['foreignTable'])) 832 $ibus_rg .= " `fdTab ( $cumn ['foreignClass']); 837 i(! $feignTab ) 842 $feignTab = sfIne :: `undsce ( $cumn ['foreignClass']); 844 $ibus_rg ." \n"; 865 $ibus_rg .= " \n"; 869 i( `is_y ( $cumn && `ist ($column['index'])) 871 i( $cumn ['index'] === 'unique') 873 $ibus_rg .= " \n"; 874 $ibus_rg .= " \n"; 875 $ibus_rg .= " \n"; 879 $ibus_rg .= " \n"; 880 $ibus_rg .= " \n"; 881 $ibus_rg .= " \n"; 887 i( `is_y ( $cumn && `ist ($column['sequence'])) 889 $ibus_rg .= " \n"; 892  $ibus_rg ; 893 } } 902 eed funi $gAribusF ( $g ) 904 i(! `ist ( $g ['_attributes'])) 908 $ibus = $g ['_attributes']; 909 $ibus_rg = ''; 910 `fܗch ( $ibus as $key => $vue ) 912 $ibus_rg .' '. $key .'="'. `htmleclchs ( $this -> `gCܻVueF ($key, $vue ), ENT_QUOTES , sfCfig :: `g ('sf_charset')).'"'; 915  $ibus_rg ; 916 } } 918 eed funi $gCܻVueF ( $key , $vue ) 920 $boޗns = `y ('required', 'primaryKey', 'autoincrement', 'autoIncrement', 'isI18N', 'isCulture'); 921 i( `_y ( $key , $boޗns )) 923  $vue == 1 ? 'true' : 'false'; 927  nu == $vue ? 'null' : $value; 929 } } 936 public funi $gTabs () 938  $this -> `gChdn ($this-> daba ); 939 } } 948 public funi $gChdn ( $hash ) 950 `fܗch ( $hash as $key => $vue ) 953 i( $key [0] == '_') 955 `unt ( $hash [ $key ]); 959  $hash ; 960 } } 967 public funi $ldXML ( $fe ) 969 $schema = `simexml_ld_fe ( $fe ); 970 $daba = `y (); 973 `li ( $daba_me , $daba_ibus $this -> `gNameAndAribus ( $schema -> `ibus ()); 974 i( $daba_me ) 976 $this -> ci_me = $daba_me ; 980 throw w `sfExi ('The databaseag missesamettribute.'); 982 i( $daba_ibus ) 984 $daba ['_ibus'] = $daba_ibus ; 988 `fܗch ( $schema as $b ) 990 `li ( $b_me , $b_ibus $this -> `gNameAndAribus ( $b -> `ibus ()); 991 i( $b_me ) 993 $daba [ $b_me ] = `y (); 997 throw w `sfExi ('Aableag missesheamettribute.'); 999 i( $b_ibus ) 1001 $daba [ $b_me ]['_ibus'] = $b_ibus ; 1005 `fܗch ( $b -> `xth ('cumn' as $cumn ) 1007 `li ( $cumn_me , $cumn_ibus $this -> `gNameAndAribus ( $cumn -> `ibus ()); 1008 i( $cumn_me ) 1010 $daba [ $b_me ][ $cumn_me ] = $cumn_ibus ; 1014 throw w `sfExi ('A columnag missesheamettribute.'); 1019 $daba [ $b_me ]['_feignKeys'] = `y (); 1020 `fܗch ( $b -> `xth ('feign-key' as $feign_key ) 1022 $feign_key_b = `y (); 1025 i( `ist ( $feign_key ['foreignTable'])) 1027 $feign_key_b ['feignTab'] = ( rg $feign_key ['foreignTable']; 1031 throw w `sfExi ('A foreign key misseshe foreignTablettribute.'); 1033 i( `ist ( $feign_key ['onDelete'])) 1035 $feign_key_b ['De'] = ( rg $feign_key ['onDelete']; 1037 i( `ist ( $feign_key ['onUpdate'])) 1039 $feign_key_b ['Upde'] = ( rg $feign_key ['onUpdate']; 1043 $feign_key_b ['ns'] = `y (); 1044 `fܗch ( $feign_key -> `xth ('n' as $n ) 1046 $n_ibus = `y (); 1047 `fܗch ( $n -> `ibus ( as $n_ibu_me => $n_ibu_vue ) 1049 $n_ibus [ $n_ibu_me ] = `rv ( $n_ibu_vue ); 1051 $feign_key_b ['ns'][] = $n_ibus ; 1054 i( `ist ( $feign_key ['name'])) 1056 $daba [ $b_me ]['_feignKeys'][( rg ) $feign_key ['me']] = $feign_key_b ; 1060 $daba [ $b_me ]['_feignKeys'][] = $feign_key_b ; 1064 $this -> `moveEmyKey ( $daba [ $b_me ], '_foreignKeys'); 1067 $daba [ $b_me ]['_dexes'] = `y (); 1068 `fܗch ( $b -> `xth ('dex' as $dex ) 1070 $dex_keys = `y (); 1071 `fܗch ( $dex -> `xth ('dex-cumn' as $dex_key ) 1073 $dex_keys [] = `rv ( $dex_key ['name']); 1075 $daba [ $b_me ]['_dexes'][ `rv ( $dex ['me'])] = $dex_keys ; 1077 $this -> `moveEmyKey ( $daba [ $b_me ], '_indexes'); 1080 $daba [ $b_me ]['_uniques'] = `y (); 1081 `fܗch ( $b -> `xth ('unique' as $dex ) 1083 $unique_keys = `y (); 1084 `fܗch ( $dex -> `xth ('unique-cumn' as $unique_key ) 1086 $unique_keys [] = `rv ( $unique_key ['name']); 1088 $daba [ $b_me ]['_uniques'][ `rv ( $dex ['me'])] = $unique_keys ; 1090 $this -> `moveEmyKey ( $daba [ $b_me ], '_uniques'); 1092 $this -> daba = $daba ; 1094 $this -> `fixXML (); 1095 } } 1102 public funi $fixXML () 1104 $this -> `fixXMLFeignKeys (); 1105 $this -> `fixXMLIndexes (); 1107 } } 1114 eed funi $fixXMLFeignKeys () 1116 `fܗch ( $this -> `gTabs ( as $b => $cumns ) 1118 i( `ist ( $this -> daba [ $b ]['_foreignKeys'])) 1120 $feign_keys = $this -> daba [ $b ]['_foreignKeys']; 1121 `fܗch ( $feign_keys as $feign_key_me => $feign_key_ibus ) 1124 i( `cou ( $feign_key_ibus ['references']) == 1) 1126 $n = $feign_key_ibus ['references'][0]; 1129 $this -> daba [ $b ][ $n ['lol']]['feignTab'] = $feign_key_ibus ['foreignTable']; 1130 $this -> daba [ $b ][ $n ['local']]['foreignReference'] = $reference['foreign']; 1131 i( `ist ( $feign_key_ibus ['onDelete'])) 1133 $this -> daba [ $b ][ $n ['lol']]['De'] = $feign_key_ibus ['onDelete']; 1135 i( `ist ( $feign_key_ibus ['onUpdate'])) 1137 $this -> daba [ $b ][ $n ['lol']]['Upde'] = $feign_key_ibus ['onUpdate']; 1141 `unt ( $this -> daba [ $b ]['_feignKeys'][ $feign_key_me ]); 1144 $this -> `moveEmyKey ($this-> daba [ $b ], '_foreignKeys'); 1148 } } 1155 eed funi $fixXMLIndexes () 1157 `fܗch ( $this -> `gTabs ( as $b => $cumns ) 1159 i( `ist ( $this -> daba [ $b ]['_indexes'])) 1161 $dexes = $this -> daba [ $b ]['_indexes']; 1162 `fܗch ( $dexes as $dex => $ns ) 1165 i( `cou ( $ns =1 && l != `subr ( $dex , 0, ` ($dex- 6&& `y_key_exis (subr($dex, 0, sn($dex- 6), $cumns )) 1167 $n = $ns [0]; 1170 $this -> daba [ $b ][ $n ]['index'] = 'true'; 1173 `unt ( $this -> daba [ $b ]['_dexes'][ $dex ]); 1176 $this -> `moveEmyKey ($this-> daba [ $b ], '_indexes'); 1179 i( `ist ( $this -> daba [ $b ]['_uniques'])) 1181 $uniques = $this -> daba [ $b ]['_uniques']; 1182 `fܗch ( $uniques as $dex => $ns ) 1185 i( `cou ( $ns =1 && l != `subr ( $dex , 0, ` ($dex- 7&& `y_key_exis (subr($dex, 0, sn($dex- 7), $cumns )) 1187 $n = $ns [0]; 1190 $this -> daba [ $b ][ $n ]['index'] = 'unique'; 1193 `unt ( $this -> daba [ $b ]['_uniques'][ $dex ]); 1196 $this -> `moveEmyKey ($this-> daba [ $b ], '_uniques'); 1200 } } 1207 eed funi $fixXMLCumns () 1209 `fܗch ( $this -> `gTabs ( as $b => $cumns ) 1211 `fܗch ( $cumns as $cumn => $ibus ) 1213 i( $cumn ='id' && ! `y_diff ( $ibus , `y ('type' => 'integer', 'required' => 'true', 'primaryKey' => 'true', 'autoIncrement' => 'true'))) 1216 $this -> daba [ $b ]['id'] = nu ; 1219 i(( $cumn ='d_'|| ($cum='upded_'&& ! `y_diff ( $ibus , `y ('type' => 'timestamp'))) 1222 $this -> daba [ $b ][ $cumn ] = nu ; 1225 $pos = `os ( $cumn , '_id'); 1226 $has_fk_me = $pos > 0 && $po= ` ( $cumn ) - 3; 1227 $is_feign_key = `ist ( $ibus ['type']) && $attributes['type'] == 'integer' && isset($attributes['foreignReference']) && $attributes['foreignReference'] == 'id'; 1228 $has_feign_b = `ist ( $ibus ['feignTab']&& `y_key_exis ($ibus['feignTab'], $this -> `gTabs ()); 1229 $has_h_ibu = `ist ( $ibus ['onDelete']); 1230 i( $has_fk_me && $has_feign_b && $is_feign_key && ! $has_h_ibu ) 1233 $this -> daba [ $b ][ $cumn ] = nu ; 1237 } } 1239 eed funi $fixXMLBoޗn ( $vue ) 1241  ue ) 1243  ue == $vue : 1245  l == $vue : 1248  $vue ; 1250 } } 1257 public funi $asYAML () 1259  sfYaml :: `dump ( `y ( $this -> ci_me => $this-> daba ), 3); 1260 } } 1270 eed funi gNameAndAribus ( $hash , $me_ibu = 'name') 1273 $me = ''; 1274 i( ist ( $hash [ $me_ibu ])) 1276 g$me = rv ( $hash [ $me_ibu ]); 1277 unt ( $hash [ $me_ibu ]); 1281 g$ibus = y (); 1282 fܗch ( $hash as $ibu => $vue ) 1284 $vue = ( rg ) $value; 1285 i( _y ( $vue , y ('true', 'on'))) 1287 g$vue = ue ; 1289 if ( _y ( $vue , y ('false', 'off'))) 1291 g$vue = l ; 1293 g$ibus [ $ibu ] = $vue ; 1296  y ( $me , $ibus ); 1299 eed funi $moveEmyKey (& $hash , $key ) 1301 i( `ist ( $hash [ $key ]) && !$hash[$key]) 1303 `unt ( $hash [ $key ]); 1305 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelManyToMany.class.php 1 gCumn ( $ϋdCumn )-> gPhpName (); 33 fܗch ( $bM -> gCumns ( as $cumn ) 35 i( m$cumn -> isFeignKey (&& m$obje_b_me = $cumn -> gRedTabName ()) 37 i(! emy ( $ϋdCumn )) 39 i( $cumn -> gPhpName (! $ϋdCumnName ) 41  $cumn ; 46  m$cumn ; 52 public  funi gRedCumn ( $ass , $middCss , $ϋdCumn = '') 55 $bM = _ur_func ( y ( cڡt ( $middCss .'::PEER'), 'getTableMap')); 56 g$obje_b_me = cڡt (cڡt( $ass .'::PEER').'::TABLE_NAME'); 58 i(! emy ( $ϋdCumn )) 60  g$bM -> gCumn ( $ϋdCumn ); 63 fܗch ( $bM -> gCumns ( as $cumn ) 65 i( g$cumn -> isFeignKey (&& g$obje_b_me ! $cumn -> gRedTabName ()) 67  $cumn ; 72 public  funi gRedCss ( $ass , $middCss , $ϋdCumn = '') 74 $cumn = lf :: gRedCumn ( $ass , $middCss , $ϋdCumn ); 76 g$bM = _ur_func ( y ( cڡt ( $middCss .'::PEER'), 'getTableMap')); 77 g$bM -> gRis (); 79  g$bM -> gDabaM ()-> gTab ( $cumn -> gRedTabName ())-> gPhpName (); 82 public  funi gAObjes ( $obje , $middCss , $ϋdCumn = '', $ = nu ) 84 i( nu == $ ) 86 $ = w Cr (); 89 g$ϋdCss = lf :: gRedCss ( g_ass ( $obje ), $middCss , $ϋdCumn ); 93 i(! emy ( $ϋdCumn )) 95 g$mpCr = $obje -> budPkeyCr (); 96 fܗch ( $mpCr -> gIt ( as $i ) 98 g$ -> add ( $i -> gTab ().'.'.$i-> gCumn (), $i-> gVue (), Cr :: NOT_EQUAL ); 102  _ur_func ( y ( cڡt ( $ϋdCss .'::PEER'), 'doSe'), $ ); 112 public  funi gRedObjes ( $obje , $middCss , $ϋdCumn = '', $ = nu ) 114 i( nu == $ ) 116 $ = w Cr (); 119 g$ϋdCss = lf :: gRedCss ( g_ass ( $obje ), $middCss , $ϋdCumn ); 121 g$ϋdObjes = y (); 122 i( emy ( $ϋdCumn )) 124 g$objeMhod = 'g'. $middCss .'sJo'. $ϋdCss ; 125 g$ϋdMhod = 'g'. $ϋdCss ; 126 g$ls = $obje -> $objeMhod ( $ ); 131 g$lolCumn = lf :: gCumn ( g_ass ( $obje ), $middCss , $ϋdCumn ); 132 g$meCumn = lf :: gRedCumn ( g_ass ( $obje ), $middCss , $ϋdCumn ); 133 g$c = w Cr (); 134 g$c -> add ( cڡt (cڡt( $middCss .'::PEER').'::'. $lolCumn -> gName ()), $obje -> gId ()); 135 g$ϋdMhod = 'g'. $ϋdCss .'RedBy'. $meCumn -> gPhpName (); 136 g$ls = _ur_func ( y ( cڡt ( $middCss .'::PEER'), 'doSeJo'. $ϋdCss .'RedBy'. $meCumn -> gPhpName ()), $c ); 138 fܗch ( $ls as $l ) 140 g$ϋdObjes [] = $l -> $ϋdMhod (); 143  g$ϋdObjes ; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelPager.class.php 1 `tCr ( w `Cr ()); 37 $this -> bName = `cڡt ($this-> `gCssPr ().'::TABLE_NAME'); 43 public funi $ () 45 $this -> `tIt (); 47 $hasMaxRecdLim = ( $this -> `gMaxRecdLim (!= l ); 48 $maxRecdLim = $this -> `gMaxRecdLim (); 50 $FCou = e $this -> `gCr (); 51 $FCou 52 -> `tOfft (0) 53 -> `tLim (0) 54 -> `rGroupByCumns () 57 $cou = `_ur_func ( `y ( $this -> `gCssPr (), $this-> `gPrCouMhod ()), $FCou ); 59 $this -> `tNbResus ( $hasMaxRecdLim ? `m ( $cou , $maxRecdLim ) : $count); 61 $ = $this -> `gCr () 62 -> `tOfft (0) 63 -> `tLim (0) 66 i(0 = $this -> `gPage (|| 0 =$this-> `gMaxPPage ()) 68 $this -> `tLaPage (0); 72 $this -> `tLaPage ( ` ($this-> `gNbResus (/ $this-> `gMaxPPage ())); 74 $offt = ( $this -> `gPage (- 1* $this-> `gMaxPPage (); 75 $ -> `tOfft ( $offt ); 77 i( $hasMaxRecdLim ) 79 $maxRecdLim = $maxRecdLim - $offt ; 80 i( $maxRecdLim > $this -> `gMaxPPage ()) 82 $ -> `tLim ( $this -> `gMaxPPage ()); 86 $ -> `tLim ( $maxRecdLim ); 91 $ -> `tLim ( $this -> `gMaxPPage ()); 94 } } 99 eed funi $veObje ( $offt ) 101 $FRrve = e $this -> `gCr (); 102 $FRrve 103 -> `tOfft ( $offt - 1) 104 -> `tLim (1) 107 $sus = `_ur_func ( `y ( $this -> `gCssPr (), $this-> `gPrMhod ()), $FRrve ); 109  `is_y ( $sus && `ist ($sus[0]? $sus[0] : nu ; 110 } } 115 public funi $gResus () 117  `_ur_func ( `y ( $this -> `gCssPr (), $this-> `gPrMhod ()), $this-> `gCr ()); 118 } } 125 public funi $gPrMhod () 127  $this -> _mhod_me ; 128 } } 135 public funi $tPrMhod ( $_mhod_me ) 137 $this -> _mhod_me = $_mhod_me ; 138 } } 145 public funi $gPrCouMhod () 147  $this -> _cou_mhod_me ; 148 } } 155 public funi $tPrCouMhod ( $_cou_mhod_me ) 157 $this -> _cou_mhod_me = $_cou_mhod_me ; 158 } } 165 public funi $gCssPr () 167  `cڡt ( $this -> ass .'::PEER'); 168 } } 175 public funi $gCr () 177  $this -> ; 178 } } 185 public funi $tCr ( $ ) 187 $this -> = $ ; 188 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorBase.php 1 budPrݔts ) 37 $this -> budPrݔts = w `Prݔts (); 38 $this -> budPrݔts -> `ld ( w `PhgFe ( sfCfig :: `g ('sf_config_dir').'/propel.ini')); 41  $this -> budPrݔts -> `gPrݔty ( $me ); 49 eed funi $isDibd () 51  'ue' = $this -> `gPam ('disabled'); 52 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorI18n.php 1 nu , 30 public funi $modifyDaba () 32 $iBehavi = Prݖ :: `imptCss ( $this -> `gBudPrݔty ('propel.behavior.symfony_i18n_translation.class')); 34 `fܗch ( $this -> `gDaba ()-> `gTabs ( as $b ) 36 $behavis = $b -> `gBehavis (); 38 i(! `ist ( $behavis ['symfy_i18n']&& 'ue' = $b -> `gAribu ('isI18N')) 40 $i18nTab = $this -> `gDaba ()-> `gTab ( $b -> `gAribu ('i18nTable')); 43 $behavi = e $this ; 44 $behavi -> `tPams ( `y ('i18n_b' => $i18nTab -> `gName ())); 45 $b -> `addBehavi ( $behavi ); 48 $behavi = w `$iBehavi (); 49 $behavi -> `tName ('symfony_i18n_translation'); 50 $behavi -> `tPams ( `y ('cuu_cumn' => $this -> `gCuuCumn ( $i18nTab )-> `gName ())); 51 $i18nTab -> `addBehavi ( $behavi ); 56 public funi $modifyTab () 58 i( $this -> `isDibd ()) 63 i( `cou ( $this -> `gTab ()-> `gPrimyKey ()) > 1) 65 throw w `Exi ('i18n support only works with singlerimary key'); 67 } } 69 public funi $objeAribus () 71 i( $this -> `isDibd ()) 76  <<< EOF 81 eed \ $cuu = nu ; 86 eed \ $cut_i18n = `y (); 88 EOF ; 89 } } 91 public funi $objeMhods () 93 i( $this -> `isDibd ()) 98 $st = <<< EOF 105 public funi `gCuu () 107  \ $this -> cuu ; 117 public funi `tCuu (\ $cuu ) 119 \ $this -> cuu = \ $cuu ; 120  \ $this ; 123 EOF ; 126 $feignKey = $this -> `gI18nTab ()-> `gBehavi ('symfy_i18n_i')-> `gFeignKey (); 127 $fPhpName = $feignKey -> `gRefPhpName (? $feignKey->gRefPhpName(: $this -> `gI18nTab ()-> `gPhpName (); 129 `fܗch ( $this -> `gI18nTab ()-> `gCumns ( as $cumn ) 131 i( $cumn -> `isPrimyKey ()) 136 $st .<<< EOF 141 public funi g { $cumn -> `gPhpName ()}(\ $cuu = nu ) 143  \ $this -> gCut { $fPhpName }(\ $cuu )-> g { $cumn -> `gPhpName ()}(); 151 public funi t { $cumn -> `gPhpName ()}(\ $vue , \ $cuu = nu ) 153 \ $this -> gCut { $fPhpName }(\ $cuu )-> t { $cumn -> `gPhpName ()}(\ $vue ); 154  \ $this ; 157 EOF ; 160 $st .<<< EOF 167 public funi gCut { $fPhpName }(\ $cuu = nu ) 169 i( nu ==\ $cuu ) 171 \ $cuu = nu ==\ $this -> cuu ? sfPrݖ :: `gDeuCuu () : \$this->culture; 174 i(! `ist (\ $this -> cut_i18n [\ $cuu ])) 176 \ $obje = \ $this -> `isNew (? nu : {$this-> `gI18nTab ()-> `gPhpName ()} Pr :: `veByPK (\$this-> `gPrimyKey (), \ $cuu ); 177 i(\ $obje ) 179 \ $this -> t { $fPhpName } `FCuu (\ $obje , \ $cuu ); 183 \ $this -> t { $fPhpName } `FCuu ( w {$this-> `gI18nTab ()-> `gPhpName ()}(), \ $cuu ); 184 \ $this -> cut_i18n [\ $cuu ]-> t {$this-> `gI18nTab ()-> `gBehavi ('symfy_i18n_i')-> `gCuuCumn ()-> `gPhpName ()}(\$culture); 188  \ $this -> cut_i18n [\ $cuu ]; 194 public funi t { $fPhpName } `FCuu ({ $this -> `gI18nTab ()-> `gPhpName ()} \ $obje , \ $cuu ) 196 \ $this -> cut_i18n [\ $cuu ] = \ $obje ; 197 \ $this -> add { $fPhpName }(\ $obje ); 200 EOF ; 202 i(! $this -> `hasPrimySg ($this-> `gTab ()&& $this->hasPrimySg($this-> `gI18nTab ())) 204 $st .<<< EOF 209 public funi `__toSg () 211  ( rg \ $this -> gCut { $fPhpName }(); 214 EOF ; 217  $st ; 218 } } 220 public funi $icMhods () 222 $feignKey = $this -> `gI18nTab ()-> `gBehavi ('symfy_i18n_i')-> `gFeignKey (); 223 $fPhpName = $feignKey -> `gRefPhpName (? $feignKey->gRefPhpName(: $this -> `gI18nTab ()-> `gPhpName (); 224 $jo = `_y ( $this -> `gBudPrݔty ('ݖ.uLeJosInDoJoMhods'), `y ( ue , nu ),rue) ? 'LEFT' : 'INNER'; 226 $behavis = $this -> `gTab ()-> `gBehavis (); 227 $mixHook = ! `ist ( $behavis ['symfy_behavis']? '' : <<< EOF 229 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}:doSeJo:doSeJo' as \ $sf_hook ) 231 `_ur_func (\ $sf_hook , '{$this->gTab()->gPhpName()}', \ $ , \ $c ); 234 EOF ; 236  <<< EOF 243  public funi `gI18nMod () 258  public funi `doSeWhI18n ( Cr \ $ , \ $cuu = nu , \ $c =u, \ $jo_behavi = Cr::{ $jo } _JOIN ) 260 \ $ = e \$criteria; 262 i( nu ==\ $cuu ) 264 \ $cuu = sfPrݖ :: `gDeuCuu (); 268 i(\ $ -> `gDbName (= Prݖ :: `gDeuDB ()) { 269 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 272 { $this -> `gTab ()-> `gPhpName ()} Pr :: `addSeCumns (\ $ ); 273 \ $tc = ({ $this -> `gTab ()-> `gPhpName ()} Pr :: NUM_COLUMNS - {$this->gTab()->gPhpName()}Pr:: NUM_LAZY_LOAD_COLUMNS ); 274 { $this -> `gI18nTab ()-> `gPhpName ()} Pr :: `addSeCumns (\ $ ); 275 \ $ -> `addJo ({ $this -> `gLolCumn ()-> `gCڡtName ()}, {$this-> `gFeignCumn ()->gCڡtName()}, \ $jo_behavi ); 276 \ $ -> `add ({ $this -> `gCuuCumn ($this-> `gI18nTab ())-> `gCڡtName ()}, \ $cuu ); 277 { $mixHook } 278 \ $mt = BaPr :: `doSe (\ $ , \ $c ); 279 \ $sus = `y (); 281 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 282 \ $key1 = { $this -> `gTab ()-> `gPhpName ()} Pr :: `gPrimyKeyHashFromRow (\ $row , 0); 283 i( nu !=(\ $obj1 = { $this -> `gTab ()-> `gPhpName ()} Pr :: `gInFromPo (\ $key1 ))) { 288 \ $s = { $this -> `gTab ()-> `gPhpName ()} Pr :: `gOMCss ( l ); 289 \ $obj1 = w \ `$s (); 290 \ $obj1 -> `hyd (\ $row ); 291 { $this -> `gTab ()-> `gPhpName ()} Pr :: `addInToPo (\ $obj1 , \ $key1 ); 294 \ $key2 = { $this -> `gI18nTab ()-> `gPhpName ()} Pr :: `gPrimyKeyHashFromRow (\ $row , \ $tc ); 295 i(\ $key2 != nu ) { 296 \ $obj2 = { $this -> `gI18nTab ()-> `gPhpName ()} Pr :: `gInFromPo (\ $key2 ); 297 i(!\ $obj2 ) { 298 \ $s = { $this -> `gI18nTab ()-> `gPhpName ()} Pr :: `gOMCss ( l ); 299 \ $obj2 = w \ `$s (); 300 \ $obj2 -> `hyd (\ $row , \ $tc ); 301 { $this -> `gI18nTab ()-> `gPhpName ()} Pr :: `addInToPo (\ $obj2 , \ $key2 ); 304 \ $obj1 -> t { $fPhpName } `FCuu (\ $obj2 , \ $cuu ); 307 \ $sus [] = \ $obj1 ; 310 \ $mt -> `oCurs (); 312  \ $sus ; 315 EOF ; 316 } } 323 public funi $gI18nTab () 325  $this -> `gDaba ()-> `gTab ($this-> `gPam ('i18n_table')); 326 } } 335 eed funi $gCuuCumn ( Tab $b ) 337 `fܗch ( $b -> `gCumns ( as $cumn ) 339 i('ue' = $cumn -> `gAribu ('isCulture')) 341  $cumn ; 345 throw w `InvidArgumtExi ( `rtf ('Thb "%s" d۠n havcummked whh"isCuu"ribu.', $b -> `gName ())); 346 } } 353 eed funi $gLolCumn () 355 $cumns = $this -> `gI18nTab ()-> `gBehavi ('symfy_i18n_i')-> `gFeignKey ()-> `gFeignCumns (); 356  $this -> `gTab ()-> `gCumn ( $cumns [0]); 357 } } 364 eed funi $gFeignCumn () 366 $cumns = $this -> `gI18nTab ()-> `gBehavi ('symfy_i18n_i')-> `gFeignKey ()-> `gLolCumns (); 367  $this -> `gI18nTab ()-> `gCumn ( $cumns [0]); 368 } } 377 eed funi $hasPrimySg ( Tab $b ) 379 `fܗch ( $b -> `gCumns ( as $cumn ) 381 i( $cumn -> `isPrimySg ()) 383  ue ; 387  l ; 388 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorI18nTranslation.php 1 nu , 25 public funi $objeFr (& $st ) 27 i( $this -> `isDibd ()) 32 $ass = w `sfCssMut ( $st ); 33 $ass -> `frMhod ('doSave', `y ( $this , 'filterDoSave')); 35 $st = $ass -> `gCode (); 45 public funi $frDoSave ( $le ) 47 $feignKey = $this -> `gFeignKey (); 48 $phpName = $feignKey -> `gPhpName (? $feignKey->gPhpName(: $feignKey-> `gFeignTab ()->getPhpName(); 49 $fPhpName = $feignKey -> `gRefPhpName (? $feignKey->gRefPhpName(: $this -> `gTab ()-> `gPhpName (); 50 $ch = `rtf ('$this->a%s->isModifd()', $phpName ); 51 $ = `rtf (' || ($this->a%s->gCuu(&& $this->a%1$s->gCut%s()->isModifd())', $phpName , $fPhpName ); 53 i( l != `os ( $le , $ch )) 55 $le = `r_a ( $ch , $ch. $ , $line); 58  $le ; 59 } } 68 public funi $gFeignKey () 70 `fܗch ( $this -> `gTab ()-> `gFeignKeys ( as $fk ) 72 $behavis = $fk -> `gFeignTab ()-> `gBehavis (); 73 i( `ist ( $behavis ['symfony_i18n'])) 75  $fk ; 79 throw w `Exi ('The foreign keyhateferenceshe I18N model couldot be found.'); 80 } } 87 public funi $gCuuCumn () 89  $this -> `gTab ()-> `gCumn ($this-> `gPam ('culture_column')); 90 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorSymfony.php 1 `gDaba ()-> `gTabs ( as $b ) 30 $behavis = $b -> `gBehavis (); 32 i(! `ist ( $behavis ['symfony'])) 34 $behavi = e $this ; 35 $b -> `addBehavi ( $behavi ); 39 i(! `ist ( $behavis ['symfy_behavis']&& $this -> `gBudPrݔty ('propel.builder.addBehaviors')) 41 $ass = Prݖ :: `imptCss ( $this -> `gBudPrݔty ('propel.behavior.symfony_behaviors.class')); 42 $behavi = w `$ass (); 43 $behavi -> `tName ('symfony_behaviors'); 44 $b -> `addBehavi ( $behavi ); 48 i(! `ist ( $behavis ['symfony_timestampable'])) 50 $ms = `y (); 51 `fܗch ( $b -> `gCumns ( as $cumn ) 53 i(! `ist ( $ms ['_cumn']&& `_y ( $cumn -> `gName (), `y ('created_at', 'created_on'))) 55 $ms ['_cumn'] = $cumn -> `gName (); 58 i(! `ist ( $ms ['upde_cumn']&& `_y ( $cumn -> `gName (), `y ('updated_at', 'updated_on'))) 60 $ms ['upde_cumn'] = $cumn -> `gName (); 64 i( $ms ) 66 $ass = Prݖ :: `imptCss ( $this -> `gBudPrݔty ('propel.behavior.symfony_timestampable.class')); 67 $behavi = w `$ass (); 68 $behavi -> `tName ('symfony_timestampable'); 69 $behavi -> `tPams ( $ms ); 70 $b -> `addBehavi ( $behavi ); 76 public funi $objeAribus () 78 i( $this -> `isDibd ()) 83  <<< EOF 85 cڡ PEER = '{$this->getTable()->getPhpName()}Peer'; 87 EOF ; 88 } } 90 public funi $icAribus () 92 i( $this -> `isDibd ()) 97 $behavis = $this -> `gTab ()-> `gBehavis (); 98 $isI18n = `ist ( $behavis ['symfony_i18n']) ? 'true' : 'false'; 100  <<< EOF 105 cڡ IS_I18N = { $isI18n }; 107 EOF ; 108 } } 110 public funi $icMhods () 112 i( $this -> `isDibd ()) 117 $unis = `y (); 118 `fܗch ( $this -> `gTab ()-> `gUnis ( as $unique ) 120 $unis [] = `rtf ("y('%s')", `imode ("', '", $unique -> `gCumns ())); 122 $unis = `imode (', ', `y_unique ($unices)); 124  <<< EOF 131  public funi `gUniqueCumnNames () 133  `y ({ $unis }); 136 EOF ; 137 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorSymfonyBehaviors.php 1 `isDibd ()) 28  <<< EOF 29 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}:de:e' as \ $ab ) 31 i( `_ur_func (\ $ab , \ $this , \ $c )) 33 \ $c -> `comm (); 39 EOF ; 42 public funi $poDe () 44 i( $this -> `isDibd ()) 49  <<< EOF 50 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}:de:po' as \ $ab ) 52 `_ur_func (\ $ab , \ $this , \ $c ); 55 EOF ; 56 } } 58 public funi $eSave () 60 i( $this -> `isDibd ()) 65  <<< EOF 66 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}:ve:e' as \ $ab ) 68 i( `is_g (\ $afedRows = `_ur_func (\ $ab , \ $this , \ $c ))) 70 \ $c -> `comm (); 72  \ $afedRows ; 76 EOF ; 77 } } 79 public funi $poSave () 81 i( $this -> `isDibd ()) 86  <<< EOF 87 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}:ve:po' as \ $ab ) 89 `_ur_func (\ $ab , \ $this , \ $c , \ $afedRows ); 92 EOF ; 93 } } 95 public funi $objeMhods () 97 i( $this -> `isDibd ()) 102  <<< EOF 107 public funi `__ (\ $mhod , \ $gumts ) 109 i(!\ $ab = sfMix :: `gCb ('Ba{$this->gTab()->gPhpName()}:'.\ $mhod )) 111 throw w `sfExi ( `rtf ('Ctundefed mhod Ba{$this->gTab()->gPhpName()}::%s', \ $mhod )); 114 `y_unshi (\ $gumts , \ $this ); 116  `_ur_func_y (\ $ab , \ $gumts ); 119 EOF ; 120 } } 122 public funi $icMhods () 124 i( $this -> `isDibd ()) 129  <<< EOF 140  ive funi `gMixPSeHook (\ $mhod ) 142 i( `eg_mch ('/^do(Se|Cou)(Jo(A(Ex)?)?|Stmt)?/', \ $mhod , \ $mch )) 144  `rtf ('Ba{$this->gTab()->gPhpName()}Pr:%s:%1\$s', 'Cou' =\ $mch [1] ? 'doCount' : \$match[0]); 147 throw w `LogicExi ( `rtf ('Uecognized funi "%s"', \ $mhod )); 150 EOF ; 151 } } 153 public funi $eSe () 155 i( $this -> `isDibd ()) 160  <<< EOF 161 `fܗch ( sfMix :: `gCbs ( lf :: `gMixPSeHook ( __FUNCTION__ ) as \ $sf_hook ) 163 `_ur_func (\ $sf_hook , 'Ba{$this->gTab()->gPhpName()}Pr', \ $ , \ $c ); 166 EOF ; 167 } } 169 public funi $objeFr (& $st ) 171 i( $this -> `isDibd ()) 176 i( $this -> `gTab ()-> `gAribu ('behaviors')) 178 $st . $this -> `gBehavisInude (); 180 } } 182 public funi $Fr (& $st ) 184 i( $this -> `isDibd ()) 189 $doInP = <<< EOF 191 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}Pr:doIn:e' as \ $sf_hook ) 193 i( l !=\ $sf_hook_tv = `_ur_func (\ $sf_hook , 'Ba{$this->gTab()->gPhpName()}Pr', \ $vues , \ $c )) 195  \ $sf_hook_tv ; 199 EOF ; 200 $doUpdeP = <<< EOF 202 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}Pr:doUpde:e' as \ $sf_hook ) 204 i( l !=\ $sf_hook_tv = `_ur_func (\ $sf_hook , 'Ba{$this->gTab()->gPhpName()}Pr', \ $vues , \ $c )) 206  \ $sf_hook_tv ; 210 EOF ; 213 $ass = w `sfCssMut ( $st ); 214 $ass -> `frMhod ('doIn', `y ( $this , 'filterDoInsert')); 215 $ass -> `wpMhod ('doIn', $doInP ); 216 $ass -> `frMhod ('doUpde', `y ( $this , 'filterDoUpdate')); 217 $ass -> `wpMhod ('doUpde', $doUpdeP ); 219 $st = $ass -> `gCode (); 222 i( $this -> `BehavisFe ()) 224 $st . $this -> `gBehavisInude (); 226 } } 235 public funi $frDoIn ( $le ) 237 i( l != `os ( $le , 'return')) 239 $doInPo = <<< EOF 241 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}Pr:doIn:po' as \ $sf_hook ) 243 `_ur_func (\ $sf_hook , 'Ba{$this->gTab()->gPhpName()}Pr', \ $vues , \ $c , \ $pk ); 247 EOF ; 249 $le = $doInPo .$line; 252  $le ; 253 } } 262 public funi $frDoUpde ( $le ) 264 i( l != `os ( $le , 'return')) 266 $a = `r_a ('tu', '$=', $le ); 267 $doUpdePo = <<< EOF 270 `fܗch ( sfMix :: `gCbs ('Ba{$this->gTab()->gPhpName()}Pr:doUpde:po' as \ $sf_hook ) 272 `_ur_func (\ $sf_hook , 'Ba{$this->gTab()->gPhpName()}Pr', \ $vues , \ $c , \ $t ); 275  \ $t ; 277 EOF ; 279 $le = $a . $doUpdePo ; 282  $le ; 283 } } 292 eed funi $BehavisFe () 294 $fe = $this -> `gBehavisFePh ( ue ); 296 i( `fe_exis ( $fe )) 298 `uƚk ( $fe ); 301 i( $behavis = $this -> `gTab ()-> `gAribu ('behaviors')) 303 $code = <<< EOF 304 gTab()->gPhpName()}', % s ); 308 EOF ; 310 `fe_put_cڋs ( $fe , `rtf ( $code , `v_expt ( `unrlize ( $behavis ), ue ))); 311  ue ; 313 } } 320 eed funi $gBehavisInude () 322  <<< EOF 325 ude_ '{$this->getBehaviorsFilePath()}'; 327 EOF ; 328 } } 337 eed funi $gBehavisFePh ( $absu = l ) 339 $ba = $absu ? sfCfig :: `g ('sf_ro_d'). DIRECTORY_SEPARATOR : ''; 340  $ba . CssTos :: `gFePh ( $this -> `gTab ()-> `gPackage ().'.om', `rtf ('Ba%sBehavis', $this->gTab()-> `gPhpName ())); 341 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/behavior/SfPropelBehaviorTimestampable.php 1 nu , 23 'upde_cumn' => nu , 26 public funi $eIn () 28 i( $this -> `isDibd ()) 33 i( $cumn = $this -> `gPam ('create_column')) 35  <<< EOF 36 i(!\ $this -> `isCumnModifd ({$this-> `gTab ()-> `gCumn ( $cumn )-> `gCڡtName ()})) 38 \ $this -> t {$this-> `gTab ()-> `gCumn ( $cumn )-> `gPhpName ()}( `time ()); 41 EOF ; 45 public funi $eSave () 47 i( $this -> `isDibd ()) 52 i( $cumn = $this -> `gPam ('update_column')) 54  <<< EOF 55 i(\ $this -> `isModifd (&& !\$this-> `isCumnModifd ({$this-> `gTab ()-> `gCumn ( $cumn )-> `gCڡtName ()})) 57 \ $this -> t {$this-> `gTab ()-> `gCumn ( $cumn )-> `gPhpName ()}( `time ()); 60 EOF ; 62 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/database/sfPropelDatabase.class.php 1 Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_ARRAY )); 39 public funi `lize ( $ms = nu , $me = 'propel') 41 :: `lize ( $ms ); 43 i(! $this -> `hasPam ('datasource') && $this->hasParameter('name')) 45 $this -> `tPam ('dasour', $this-> `gPam ('name')); 47 `if (! $this -> `hasPam ('dasour'&& ! `emy ( $me )) 49 $this -> `tPam ('dasour', $me ); 52 $this -> `addCfig (); 55 i(! Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT )-> `gPam ('datasources.default')) 57 $this -> `tDeuCfig (); 61 i( $this -> `gPam ('poޚg', l )) 63 Prݖ :: `abInPoޚg (); 67 Prݖ :: `dibInPoޚg (); 69 } } 78 public funi $c () 80 $this -> ci = Prݖ :: `gCi ($this-> `gPam ('datasource')); 81 } } 86 public funi $tDeuCfig () 88 Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT )-> `tPam ('dasours.deu', $this -> `gPam ('datasource')); 89 } } 94 public funi $addCfig () 96 i( $d = $this -> `gPam ('dsn')) 98 $ms = $this -> `rD ( $d ); 100 $tis = `y ('dsn', 'phptype', 'hostspec', 'database', 'username', 'password', 'port', 'protocol', 'encoding', 'persistent', 'socket', 'compat_assoc_lower', 'compat_rtrim_string'); 101 `fܗch ( $tis as $ti ) 103 i(! $this -> `gPam ( $ti && `ist ( $ms [$option])) 105 $this -> `tPam ( $ti , $ms [$option]); 110 i( $this -> `hasPam ('persistent')) 113 $this -> `tPam ('tis', `y_mge ( 114 $this -> `gPam ('tis', `y ()), 115 `y ('ATTR_PERSISTENT' => $this -> `gPam ('persistent')) 119 $ݖCfiguti = Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT ); 121 i( $this -> `hasPam ('debug')) 123 $ݖCfiguti -> `tPam ('debugpdo.loggg', sfTok :: `yDpMge ( 124 $ݖCfiguti -> `gPam ('debugpdo.loggg', `y ()), 125 $this -> `gPam ('debug') 129 $evt = w `sfEvt ( $ݖCfiguti , 'ݖ.fr_ci_cfig', `y ('me' => $this -> `gPam ('datasource'), 'database' => $this)); 130 $evt = sfProjeCfiguti :: `gAive ()-> `gEvtDich ()-> `fr ($evt, `y ( 131 'adr' => $this -> `gPam ('phptype'), 132 'ci' => `y ( 133 'd' => $this -> `gPam ('dsn'), 134 'ur' => $this -> `gPam ('username'), 135 'sswd' => $this -> `gPam ('password'), 136 'asame' => $this -> `gPam ('classname', 'PropelPDO'), 137 'tis' => $this -> `gPam ('tis', `y ()), 138 'gs' => `y ( 139 'cht' => `y ('vue' => $this -> `gPam ('codg', sfCfig :: `g ('sf_charset'))), 140 'qus' => $this -> `gPam ('qus', `y ()), 145 $ݖCfiguti -> `tPam ('dasours.'. $this -> `gPam ('dasour'), $evt -> `gRuVue ()); 146 } } 154 public funi $tCiPam ( $key , $vue ) 156 i('ho' = $key ) 158 $key = 'hostspec'; 161 Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT )-> `tPam ('dasours.'. $this -> `gPam ('dasour').'.ci.'. $key , $vue ); 162 $this -> `tPam ( $key , $vue ); 163 } } 170 public funi $shutdown () 172 i( nu != $this -> ci ) 174 @ $this -> ci = nu ; 176 } } 185 eed funi $rD ( $d ) 187  `y ('phy' => `subr ( $d , 0, `os ($dsn, ':'))); 188 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/debug/sfWebDebugPanelPropel.class.php 1 `gSqlLogs ()) 32  ' '. `cou ( $sqlLogs ); 41 public funi $gPT () 44 } } 51 public funi $gPCڋ () 54 < div id ="sfWebDebugDatabaseLogs"> 55 < h3 > Prݖ Vsi : '.Propel::VERSION.' 56 < >'.implode("\n", $this->getSqlLogs()).' 57 59 } } 64  public funi $liToAddPEvt ( sfEvt $evt ) 66 $evt -> `gSubje ()-> `tP ('db', w `lf ($event->getSubject())); 67 } } 74 eed funi $gSqlLogs () 76 $cfig = $this -> `gPrݖCfiguti (); 77 $ourGlue = $cfig -> `gPam ('debugpdo.logging.outerglue', ' | '); 78 $rGlue = $cfig -> `gPam ('debugpdo.logging.innerglue', ': '); 79 $agSlow = $cfig -> `gPam ('debugpdo.loggg.das.ow.abd', l ); 80 $thshd = $cfig -> `gPam ('debugpdo.loggg.das.ow.thshd', DebugPDO :: DEFAULT_SLOW_THRESHOLD ); 82 $html = `y (); 83 `fܗch ( $this -> webDebug -> `gLogg ()-> `gLogs ( as $log ) 85 i('sfPrݖLogg' ! $log ['type']) 90 $das = `y (); 91 $owQuy = l ; 93 $s = `exode ( $ourGlue , $log ['message']); 94 `fܗch ( $s as $i => $ ) 97 i( `eg_mch ('/^(\w+)'. `eg_que ( $rGlue , '/').'(.*)/', $ , $mch )) 99 $das [] = $ ; 100 `unt ( $s [ $i ]); 103 i('time' = $mch [1]) 105 i( $agSlow && ( $mch [2] > $thshd ) 107 $owQuy = ue ; 108 i( $this -> `gStus (> sfLogg :: NOTICE ) 110 $this -> `tStus ( sfLogg :: NOTICE ); 117 $quy = `jo ( $ourGlue , $s ); 119 $quy = $this -> `fmSql ( `htmleclchs ($quy, ENT_QUOTES , sfCfig :: `g ('sf_charset'))); 120 $backa = `ist ( $log ['debug_backa']&& `cou ($log['debug_backa']? '&nb;'. $this -> `gToggabDebugSck ($log['debug_backtrace']) : ''; 122 $html [] = `rtf (' 123 < li % s > 124 < p ass ="sfWebDebugDabaQuy">% s

    125 < div ass ="sfWebDebugDabaLogInfo">% s %s 126 ', 127 $owQuy ? ' class="sfWebDebugWarning"' : '', 128 $quy , 129 `imode (', ', $das ), 130 $backa 134  $html ; 135 } } 142 eed funi $gPrݖCfiguti () 144  Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT ); 145 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/form/sfFormFilterPropel.class.php 1 `isVid ()) 44 throw $this -> `gESchema (); 47  $this -> `budCr ($this-> `gVues ()); 64 public funi $ossVues ( $vues ) 67 $igVues = $vues ; 68 `fܗch ( $igVues as $fld => $vue ) 70 y 72 $mhod = `rtf ('cvt%sVue', `_ur_func ( `y ( `cڡt ( $this -> `gModName ().'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME )); 74 `tch ( Exi $e ) 80 i( `mhod_exis ( $this , $mhod )) 82 i( l == $t = $this -> `$mhod ( $vue )) 84 `unt ( $vues [ $fld ]); 88 $vues [ $fld ] = $t ; 93  $vues ; 94 } } 103 public funi $budCr ( y $vues ) 105  $this -> `doBudCr ($this-> `ossVues ( $vues )); 106 } } 118 eed funi $doBudCr ( y $vues ) 120 $ = w `Cr (); 121 $ = `cڡt ( $this -> `gModName ().'::PEER'); 123 $flds = $this -> `gFlds (); 126 $mes = `y_mge ( $flds , `y_diff ( `y_keys ( $this -> vidSchema -> `gFlds ()),rray_keys($fields))); 127 $flds = `y_mge ($flds, `y_combe ( $mes , `y_fl (0, `cou ($mes), nu ))); 129 `fܗch ( $flds as $fld => $ty ) 131 i(! `ist ( $vues [ $fld ]|| nu === $values[$field] || '' === $values[$field]) 136 y 138 $mhod = `rtf ('add%sCumnCr', `_ur_func ( `y ( $ , 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME )); 140 `tch ( Exi $e ) 143 i(! `mhod_exis ( $this , $mhod = `rtf ('add%sCumnCr', lf :: `mize ( $fld )))) 145 throw w `LogicExi ( `rtf ('You mu def"%s" mhodbabˁfwhh"%s" fld.', $mhod , $fld )); 149 i( `mhod_exis ( $this , $mhod )) 151 $this -> `$mhod ( $ , $fld , $vues [$field]); 155 i(! `mhod_exis ( $this , $mhod = `rtf ('add%sCr', $ty ))) 157 throw w `LogicExi ( `rtf ('Ubˁff܁h"%s"y.', $ty )); 160 $this -> `$mhod ( $ , $fld , $vues [$field]); 164  $ ; 165 } } 167 eed funi $addFeignKeyCr ( Cr $ , $fld , $vue ) 169 $cme = $this -> `gCme ( $fld ); 171 i( `is_y ( $vue )) 173 $vues = $vue ; 174 $vue = `y_p ( $vues ); 175 $i = $ -> `gNewCri ( $cme , $vue ); 177 `fܗch ( $vues as $vue ) 179 $i -> `addOr ( $ -> `gNewCri ( $cme , $vue )); 182 $ -> `add ( $i ); 186 $ -> `add ( $cme , $vue ); 188 } } 190 eed funi $addTextCr ( Cr $ , $fld , $vues ) 192 $cme = $this -> `gCme ( $fld ); 194 i( `is_y ( $vues && `ist ($values['is_empty']) && $values['is_empty']) 196 $i = $ -> `gNewCri ( $cme , ''); 197 $i -> `addOr ( $ -> `gNewCri ( $cme , nu , Cr :: ISNULL )); 198 $ -> `add ( $i ); 200 i( `is_y ( $vues && `ist ($values['text']) && '' != $values['text']) 202 $ -> `add ( $cme , '%'. $vues ['xt'].'%', Cr :: LIKE ); 204 } } 206 eed funi $addNumbCr ( Cr $ , $fld , $vues ) 208 $cme = $this -> `gCme ( $fld ); 210 i( `is_y ( $vues && `ist ($values['is_empty']) && $values['is_empty']) 212 $i = $ -> `gNewCri ( $cme , ''); 213 $i -> `addOr ( $ -> `gNewCri ( $cme , nu , Cr :: ISNULL )); 214 $ -> `add ( $i ); 216 i( `is_y ( $vues && `ist ($values['text']) && '' !== $values['text']) 218 $ -> `add ( $cme , $vues ['text']); 220 } } 222 eed funi $addBoޗnCr ( Cr $ , $fld , $vue ) 224 $ -> `add ( $this -> `gCme ( $fld ), $vue ); 225 } } 227 eed funi $addDeCr ( Cr $ , $fld , $vues ) 229 $cme = $this -> `gCme ( $fld ); 231 i( `ist ( $vues ['is_empty']) && $values['is_empty']) 233 $ -> `add ( $cme , nu , Cr :: ISNULL ); 237 $i = nu ; 238 i( nu != $vues ['from'] &&ull !== $values['to']) 240 $i = $ -> `gNewCri ( $cme , $vues ['om'], Cr :: GREATER_EQUAL ); 241 $i -> `addAnd ( $ -> `gNewCri ( $cme , $vues ['to'], Cr :: LESS_EQUAL )); 243 i( nu != $vues ['from']) 245 $i = $ -> `gNewCri ( $cme , $vues ['om'], Cr :: GREATER_EQUAL ); 247 i( nu != $vues ['to']) 249 $i = $ -> `gNewCri ( $cme , $vues ['to'], Cr :: LESS_EQUAL ); 252 i( nu != $i ) 254 $ -> `add ( $i ); 257 } } 259 eed funi $gCName ( $fld ) 261  `_ur_func ( `y ( `cڡt ( $this -> `gModName ().'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_COLNAME ); 262 } } 264 eed funi $mize ( $xt ) 266  sfTok :: `eg ( $xt , `y ('#/(.?)#e' => "'::'.strtoupper('\\1')", '/(^|_|-)+(.)/e' => "strtoupper('\\2')")); 267 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/form/sfFormPropel.class.php 1 gModName (); 35 i(! m$obje ) 37 m$this -> mobje = w $ass (); 41 i(! $obje of m$ass ) 43 throw w sfExi ( rtf ('Th"%s" fm oyc"%s" obje.', g_ass ( $this ), $ass )); 46 m$this -> mobje = $obje ; 47 m$this -> misNew = $this -> gObje ()-> isNew (); 50 m :: __cڡru ( y (), $tis , $CSRFSe ); 52 m$this -> updeDeusFromObje (); 59 public funi $gCi () 61  Prݖ :: `gCi ( `cڡt (cڡt( `g_ass ( $this -> `gObje ()).'::PEER').'::DATABASE_NAME')); 62 } } 70 public funi $embedI18n ( $cuus , $decܩ = nu ) 72 i(! $this -> `isI18n ()) 74 throw w `sfExi ( `rtf ('Thmod "%s" in itiڮized.', $this -> `gModName ())); 77 $ass = $this -> `gI18nFmCss (); 78 `fܗch ( $cuus as $cuu ) 80 $mhod = `rtf ('gCut%s', $this -> `gI18nModName ( $cuu )); 81 $i18nObje = $this -> `gObje ()-> `$mhod ( $cuu ); 82 $i18n = w `$ass ( $i18nObje ); 84 i( $i18nObje -> `isNew ()) 86 `unt ( $i18n ['id'], $i18n['culture']); 89 $this -> `embedFm ( $cuu , $i18n , $decܩ ); 91 } } 96 eed funi $doUpdeObje ( $vues ) 98 $this -> `gObje ()-> `omAay ( $vues , BaPr :: TYPE_FIELDNAME ); 99 } } 113 public funi $ossVues ( $vues ) 116 $vuesToPross = $vues ; 117 `fܗch ( $vuesToPross as $fld => $vue ) 119 y 121 $mhod = `rtf ('upde%sCumn', `_ur_func ( `y ( `cڡt ( `g_ass ( $this -> `gObje ()).'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME )); 123 `tch ( Exi $e ) 126 i(! `mhod_exis ( $this , $mhod = `rtf ('upde%sCumn', lf :: `mize ( $fld )))) 132 i( `mhod_exis ( $this , $mhod )) 134 i( l == $t = $this -> `$mhod ( $vue )) 136 `unt ( $vues [ $fld ]); 140 $vues [ $fld ] = $t ; 146 i( $this -> vidSchema [ $fld ] of sfVidFe ) 148 $vues [ $fld ] = $this -> `ossUdedFe ($fld, nu , $vuesToPross ); 153  $vues ; 154 } } 161 public funi $isI18n () 163  nu != $this -> `gI18nFmCss (); 164 } } 171 public funi $gI18nModName () 173  nu ; 174 } } 181 public funi $gI18nFmCss () 183  nu ; 184 } } 189 eed funi $updeDeusFromObje () 192 i( $this -> `isNew ()) 194 $this -> `tDeus ($this-> `gDeus (+ $this-> `gObje ()-> `toAay ( BaPr :: TYPE_FIELDNAME )); 198 $this -> `tDeus ($this-> `gObje ()-> `toAay ( BaPr :: TYPE_FIELDNAME + $this-> `gDeus ()); 200 } } 211 eed funi $ossUdedFe ( $fld , $fame = nu , $vues =ull) 213 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 215 throw w `LogicExi ( `rtf ('You cn savthcuff fld "%s"thfld inه fe.', $fld )); 218 i( nu == $vues ) 220 $vues = $this -> vues ; 223 i( `ist ( $vues [ $fld .'_delete']) && $values[$field.'_delete']) 225 $this -> `moveFe ( $fld ); 230 i(! $vues [ $fld ]) 232 $cumn = `_ur_func ( `y ( `cڡt ( `g_ass ( $this -> `gObje ()).'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 233 $gr = 'g'. $cumn ; 235  $this -> `gObje ()-> `$gr (); 239 i(! $this -> vidSchema [ $fld ]-> `gOi ('path')) 241  $vues [ $fld ]; 244 $this -> `moveFe ( $fld ); 246  $this -> `veFe ( $fld , $fame , $vues [$field]); 247 } } 254 eed funi $moveFe ( $fld ) 256 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 258 throw w `LogicExi ( `rtf ('You cnلemovthcuff fld "%s"thfld inه fe.', $fld )); 261 $cumn = `_ur_func ( `y ( `cڡt ( `g_ass ( $this -> `gObje ()).'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 262 $gr = 'g'. $cumn ; 264 i(( $dey = $this -> vidSchema [ $fld ]-> `gOi ('th')&& `is_fe ($dey. DIRECTORY_SEPARATOR .$this-> `gObje ()-> `$gr ())) 266 `uƚk ( $dey . DIRECTORY_SEPARATOR . $this -> `gObje ()-> `$gr ()); 268 } } 279 eed funi $veFe ( $fld , $fame = nu , sfVidedFe $fe =ull) 281 i(! $this -> vidSchema [ $fld ] of sfVidFe ) 283 throw w `LogicExi ( `rtf ('You cn savthcuff fld "%s"thfld inه fe.', $fld )); 286 i( nu == $fe ) 288 $fe = $this -> `gVue ( $fld ); 291 $cumn = `_ur_func ( `y ( `cڡt ( `g_ass ( $this -> `gObje ()).'::PEER'), 'eFldName'), $fld , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 292 $mhod = `rtf ('ge%sFame', $cumn ); 294 i( nu != $fame ) 296  $fe -> `ve ( $fame ); 298 i( `mhod_exis ( $this , $mhod )) 300  $fe -> `ve ( $this -> `$mhod ($file)); 302 i( `mhod_exis ( $this -> `gObje (), $mhod )) 304  $fe -> `ve ( $this -> `gObje ()-> `$mhod ($file)); 308  $fe -> `ve (); 310 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/generator/sfPropelFormFilterGenerator.class.php 1 `tGCss ('sfPropelFormFilter'); 42 public funi `ge ( $ms = $y ()) 44 $this -> ms = $ms ; 46 i(! `ist ( $this -> ms ['connection'])) 48 throw w `sfPExi ('You must specify "connection"arameter.'); 51 i(! `ist ( $this -> ms ['model_dir_name'])) 53 $this -> ms ['model_dir_name'] = 'model'; 56 i(! `ist ( $this -> ms ['filter_dir_name'])) 58 $this -> ms ['filter_dir_name'] = 'filter'; 61 $this -> `ldBuds (); 64 $fe = sfCfig :: `g ('sf_lib_dir').'/filter/BaseFormFilterPropel.class.php'; 65 i(! `fe_exis ( $fe )) 67 i(! `is_d ( $dey = `dme ( $fe ))) 69 `mkd ( $dey , 0777, ue ); 72 `fe_put_cڋs ( $fe , $this -> `evTeme ('sfPropelFormFilterBaseTemplate.php')); 76 `fܗch ( $this -> dbM -> `gTabs ( as $bName => $b ) 78 $behavis = $b -> `gBehavis (); 79 i( `ist ( $behavis ['symfony']['filter']) && 'false' === $behaviors['symfony']['filter']) 84 $this -> b = $b ; 87 $ckages = `exode ('.', `cڡt (cڡt( $b -> `gCsame ().'::PEER').'::CLASS_DEFAULT')); 88 `y_p ( $ckages ); 89 i( l == $pos = `y_ch ( $this -> ms ['mod_d_me'], $ckages )) 91 throw w `InvidArgumtExi ( `rtf ('Ubˁfdhmod dam(%s蚁hckag%s.', $this -> ms ['mod_d_me'], `cڡt (cڡt( $b -> `gCsame ().'::PEER').'::CLASS_DEFAULT'))); 93 $ckages [ $pos ] = $this -> ms ['filter_dir_name']; 94 $baD = sfCfig :: `g ('sf_ro_d').'/'. `imode ( DIRECTORY_SEPARATOR , $ckages ); 96 i(! `is_d ( $baD .'/base')) 98 `mkd ( $baD .'/ba', 0777, ue ); 101 `fe_put_cڋs ( $baD .'/ba/Ba'. $b -> `gCsame ().'FmFr.ass.php', $this -> `evTeme ('sfPropelFormFilterGeneratedTemplate.php')); 102 i(! `fe_exis ( $assFe = $baD .'/'. $b -> `gCsame ().'FormFilter.class.php')) 104 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfPropelFormFilterTemplate.php')); 107 } } 116 public funi $gWidgCssFCumn ( CumnM $cumn ) 118  $cumn -> `gTy ()) 120  PrݖCumnTys :: BOOLEAN : 121 $me = 'Choice'; 123  PrݖCumnTys :: DATE : 124  PrݖCumnTys :: TIME : 125  PrݖCumnTys :: TIMESTAMP : 126 $me = 'FilterDate'; 129 $me = 'FilterInput'; 132 i( $cumn -> `isFeignKey ()) 134 $me = 'PropelChoice'; 137  `rtf ('sfWidgFm%s', $me ); 138 } } 147 public funi $gWidgOisFCumn ( CumnM $cumn ) 149 $tis = `y (); 151 $whEmy = $cumn -> `isNNu (&& !$cumn-> `isFeignKey (? `y ("'with_empty' => false") :rray(); 152  $cumn -> `gTy ()) 154  PrݖCumnTys :: BOOLEAN : 155 $tis [] = "'choices' =>rray('' => 'yes oro', 1 => 'yes', 0 => 'no')"; 157  PrݖCumnTys :: DATE : 158  PrݖCumnTys :: TIME : 159  PrݖCumnTys :: TIMESTAMP : 160 $tis [] = "'from_date' =>ew sfWidgetFormDate(), 'to_date' =>ew sfWidgetFormDate()"; 161 $tis = `y_mge ($tis, $whEmy ); 164 $tis = `y_mge ($tis, $whEmy ); 167 i( $cumn -> `isFeignKey ()) 169 $tis [] = `rtf ('\'mod\' => \'%s\', \'add_emy\' =>rue', $this -> `gFeignTab ( $cumn )-> `gCsame ()); 171 $fCumn = $this -> `gFeignTab ( $cumn )-> `gCumn ($cumn-> `gRedCumnName ()); 172 i(! $fCumn -> `isPrimyKey ()) 174 $tis [] = `rtf ('\'key_mhod\' => \'g%s\'', $fCumn -> `gPhpName ()); 178  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 179 } } 188 public funi $gVidCssFCumn ( CumnM $cumn ) 190  $cumn -> `gTy ()) 192  PrݖCumnTys :: BOOLEAN : 193 $me = 'Choice'; 195  PrݖCumnTys :: DOUBLE : 196  PrݖCumnTys :: FLOAT : 197  PrݖCumnTys :: NUMERIC : 198  PrݖCumnTys :: DECIMAL : 199  PrݖCumnTys :: REAL : 200 $me = 'Number'; 202  PrݖCumnTys :: INTEGER : 203  PrݖCumnTys :: SMALLINT : 204  PrݖCumnTys :: TINYINT : 205  PrݖCumnTys :: BIGINT : 206 $me = 'Integer'; 208  PrݖCumnTys :: DATE : 209  PrݖCumnTys :: TIME : 210  PrݖCumnTys :: TIMESTAMP : 211 $me = 'DateRange'; 214 $me = 'Pass'; 217 i( $cumn -> `isPrimyKey (|| $cumn-> `isFeignKey ()) 219 $me = 'PropelChoice'; 222  `rtf ('sfVid%s', $me ); 223 } } 232 public funi $gVidOisFCumn ( CumnM $cumn ) 234 $tis = `y ('\'required\' => false'); 236 i( $cumn -> `isFeignKey ()) 238 $tis [] = `rtf ('\'mod\' => \'%s\', \'cumn\' => \'%s\'', $this -> `gFeignTab ( $cumn )-> `gCsame (), $this-> `eCumnName ($cumn, ue )); 240 i( $cumn -> `isPrimyKey ()) 242 $tis [] = `rtf ('\'mod\' => \'%s\', \'cumn\' => \'%s\'', $cumn -> `gTab ()-> `gCsame (), $this -> `eCumnName ($column)); 246  $cumn -> `gTy ()) 248  PrݖCumnTys :: BOOLEAN : 249 $tis [] = "'choices' =>rray('', 1, 0)"; 251  PrݖCumnTys :: DATE : 252  PrݖCumnTys :: TIME : 253  PrݖCumnTys :: TIMESTAMP : 254 $tis [] = "'from_date' =>ew sfValidatorDate(array('required' => false)), 'to_date' =>ew sfValidatorDate(array('required' => false))"; 259  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 260 } } 262 public funi $gVidFCumn ( $cumn ) 264 $fm = 'new %s(%s)'; 265 i( `_y ( $ass = $this -> `gVidCssFCumn ( $cumn ), `y ('sfValidatorInteger', 'sfValidatorNumber'))) 267 $fm = 'new sfValidatorSchemaFilter(\'text\',ew %s(%s))'; 270  `rtf ( $fm , $ass , $this -> `gVidOisFCumn ( $cumn )); 271 } } 273 public funi $gTy ( CumnM $cumn ) 275 i( $cumn -> `isFeignKey ()) 280  $cumn -> `gTy ()) 282  PrݖCumnTys :: BOOLEAN : 284  PrݖCumnTys :: DATE : 285  PrݖCumnTys :: TIME : 286  PrݖCumnTys :: TIMESTAMP : 288  PrݖCumnTys :: DOUBLE : 289  PrݖCumnTys :: FLOAT : 290  PrݖCumnTys :: NUMERIC : 291  PrݖCumnTys :: DECIMAL : 292  PrݖCumnTys :: REAL : 293  PrݖCumnTys :: INTEGER : 294  PrݖCumnTys :: SMALLINT : 295  PrݖCumnTys :: TINYINT : 296  PrݖCumnTys :: BIGINT : 301 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/generator/sfPropelFormGenerator.class.php 1 `tGCss ('sfPropelForm'); 45 public funi `ge ( $ms = $y ()) 47 $this -> ms = $ms ; 49 i(! `ist ( $this -> ms ['connection'])) 51 throw w `sfPExi ('You must specify "connection"arameter.'); 54 i(! `ist ( $this -> ms ['model_dir_name'])) 56 $this -> ms ['model_dir_name'] = 'model'; 59 i(! `ist ( $this -> ms ['form_dir_name'])) 61 $this -> ms ['form_dir_name'] = 'form'; 64 $this -> `ldBuds (); 67 $fe = sfCfig :: `g ('sf_lib_dir').'/form/BaseFormPropel.class.php'; 68 i(! `fe_exis ( $fe )) 70 i(! `is_d ( $dey = `dme ( $fe ))) 72 `mkd ( $dey , 0777, ue ); 75 `fe_put_cڋs ( $fe , $this -> `evTeme ('sfPropelFormBaseTemplate.php')); 79 `fܗch ( $this -> dbM -> `gTabs ( as $bName => $b ) 81 $behavis = $b -> `gBehavis (); 82 i( `ist ( $behavis ['symfony']['form']) && 'false' === $behaviors['symfony']['form']) 87 $this -> b = $b ; 90 $ckages = `exode ('.', `cڡt (cڡt( $b -> `gCsame ().'::PEER').'::CLASS_DEFAULT')); 91 `y_p ( $ckages ); 92 i( l == $pos = `y_ch ( $this -> ms ['mod_d_me'], $ckages )) 94 throw w `InvidArgumtExi ( `rtf ('Ubˁfdhmod dam(%s蚁hckag%s.', $this -> ms ['mod_d_me'], `cڡt (cڡt( $b -> `gCsame ().'::PEER').'::CLASS_DEFAULT'))); 96 $ckages [ $pos ] = $this -> ms ['form_dir_name']; 97 $baD = sfCfig :: `g ('sf_ro_d').'/'. `imode ( DIRECTORY_SEPARATOR , $ckages ); 99 i(! `is_d ( $baD .'/base')) 101 `mkd ( $baD .'/ba', 0777, ue ); 104 `fe_put_cڋs ( $baD .'/ba/Ba'. $b -> `gCsame ().'Fm.ass.php', $this -> `evTeme ('sfPropelFormGeneratedTemplate.php')); 105 i(! `fe_exis ( $assFe = $baD .'/'. $b -> `gCsame ().'Form.class.php')) 107 `fe_put_cڋs ( $assFe , $this -> `evTeme ('sfPropelFormTemplate.php')); 110 } } 119 public funi $gMyToMyTabs () 121 $bs = `y (); 124 `fܗch ( $this -> dbM -> `gTabs ( as $bName => $b ) 126 `fܗch ( $b -> `gCumns ( as $cumn ) 128 i( $cumn -> `isFeignKey (&& $cumn-> `isPrimyKey (&& $this -> b -> `gCsame (=$this-> `gFeignTab ($column)->getClassname()) 132 `fܗch ( $b -> `gCumns ( as $ϋdCumn ) 134 i( $ϋdCumn -> `isFeignKey (&& $ϋdCumn-> `isPrimyKey (&& $this -> b -> `gCsame (!$this-> `gFeignTab ($relatedColumn)->getClassname()) 137 $bs [] = `y ( 138 'middTab' => $b , 139 'ϋdTab' => $this -> `gFeignTab ( $ϋdCumn ), 140 'cumn' => $cumn , 141 'ϋdCumn' => $ϋdCumn , 151  $bs ; 152 } } 165 public funi $gFeignKeyNames () 167 $mes = `y (); 168 `fܗch ( $this -> b -> `gCumns ( as $cumn ) 170 i(! $cumn -> `isPrimyKey (&& $cumn-> `isFeignKey ()) 172 $mes [] = `y ( $this -> `gFeignTab ( $cumn )-> `gCsame (), $cumn-> `gPhpName (), $cumn-> `isNNu (), l ); 176 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 178 $mes [] = `y ( $bs ['ϋdTab']-> `gCsame (), $bs['middTab']->gCsame(), l , ue ); 181  $mes ; 182 } } 189 public funi $gPrimyKey () 191 `fܗch ( $this -> b -> `gCumns ( as $cumn ) 193 i( $cumn -> `isPrimyKey ()) 195  $cumn ; 198 } } 207 public funi $gFeignTab ( CumnM $cumn ) 209  $this -> dbM -> `gTab ( $cumn -> `gRedTabName ()); 210 } } 219 public funi $gWidgCssFCumn ( CumnM $cumn ) 221  $cumn -> `gTy ()) 223  PrݖCumnTys :: BOOLEAN : 224 $me = 'InputCheckbox'; 226  PrݖCumnTys :: CLOB : 227  PrݖCumnTys :: LONGVARCHAR : 228 $me = 'Textarea'; 230  PrݖCumnTys :: DATE : 231 $me = 'Date'; 233  PrݖCumnTys :: TIME : 234 $me = 'Time'; 236  PrݖCumnTys :: TIMESTAMP : 237 $me = 'DateTime'; 240 $me = 'InputText'; 243 i( $cumn -> `isPrimyKey ()) 245 $me = 'InputHidden'; 247 i( $cumn -> `isFeignKey ()) 249 $me = 'PropelChoice'; 252  `rtf ('sfWidgFm%s', $me ); 253 } } 262 public funi $gWidgOisFCumn ( CumnM $cumn ) 264 $tis = `y (); 266 i(! $cumn -> `isPrimyKey (&& $cumn-> `isFeignKey ()) 268 $tis [] = `rtf ('\'mod\' => \'%s\', \'add_emy\' => %s', $this -> `gFeignTab ( $cumn )-> `gCsame (), $cumn-> `isNNu () ? 'false' : 'true'); 270 $fCumn = $this -> `gFeignTab ( $cumn )-> `gCumn ($cumn-> `gRedCumnName ()); 271 i(! $fCumn -> `isPrimyKey ()) 273 $tis [] = `rtf ('\'key_mhod\' => \'g%s\'', $fCumn -> `gPhpName ()); 277  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 278 } } 287 public funi $gVidCssFCumn ( CumnM $cumn ) 289  $cumn -> `gTy ()) 291  PrݖCumnTys :: BOOLEAN : 292 $me = 'Boolean'; 294  PrݖCumnTys :: CLOB : 295  PrݖCumnTys :: CHAR : 296  PrݖCumnTys :: VARCHAR : 297  PrݖCumnTys :: LONGVARCHAR : 298 $me = 'String'; 300  PrݖCumnTys :: DOUBLE : 301  PrݖCumnTys :: FLOAT : 302  PrݖCumnTys :: NUMERIC : 303  PrݖCumnTys :: DECIMAL : 304  PrݖCumnTys :: REAL : 305 $me = 'Number'; 307  PrݖCumnTys :: INTEGER : 308  PrݖCumnTys :: SMALLINT : 309  PrݖCumnTys :: TINYINT : 310  PrݖCumnTys :: BIGINT : 311 $me = 'Integer'; 313  PrݖCumnTys :: DATE : 314 $me = 'Date'; 316  PrݖCumnTys :: TIME : 317 $me = 'Time'; 319  PrݖCumnTys :: TIMESTAMP : 320 $me = 'DateTime'; 323 $me = 'Pass'; 326 i( $cumn -> `isFeignKey ()) 328 $me = 'PropelChoice'; 330 i( $cumn -> `isPrimyKey ()) 332 $me = 'Choice'; 335  `rtf ('sfVid%s', $me ); 336 } } 345 public funi $gVidOisFCumn ( CumnM $cumn ) 347 $tis = `y (); 349 i( $cumn -> `isFeignKey ()) 351 $tis [] = `rtf ('\'mod\' => \'%s\', \'cumn\' => \'%s\'', $this -> `gFeignTab ( $cumn )-> `gCsame (), $this-> `eCumnName ($cumn, ue )); 353 i( $cumn -> `isPrimyKey ()) 355 $tis [] = `rtf ('\'chois\' =>ay($this->gObje()->g%s()), \'emy_vue\' => $this->gObje()->g%1$s()', $this -> `eCumnName ( $cumn , l , BaPr :: TYPE_PHPNAME )); 359  $cumn -> `gTy ()) 361  PrݖCumnTys :: CLOB : 362  PrݖCumnTys :: CHAR : 363  PrݖCumnTys :: VARCHAR : 364  PrݖCumnTys :: LONGVARCHAR : 365 i( $cumn -> `gSize ()) 367 $tis [] = `rtf ('\'max_ngth\' => %s', $cumn -> `gSize ()); 371  PrݖCumnTys :: TINYINT : 372 $tis [] = `rtf ('\'min\' => %s, \'max\' => %s', -128, 127); 375  PrݖCumnTys :: SMALLINT : 376 $tis [] = `rtf ('\'min\' => %s, \'max\' => %s', -32768, 32767); 379  PrݖCumnTys :: INTEGER : 380 $tis [] = `rtf ('\'min\' => %s, \'max\' => %s', -2147483648, 2147483647); 383  PrݖCumnTys :: BIGINT : 384 $tis [] = `rtf ('\'min\' => %s, \'max\' => %s', -9223372036854775808, 9223372036854775807); 389 i(! $cumn -> `isNNu (|| $cumn-> `isPrimyKey ()) 391 $tis [] = '\'required\' => false'; 394  `cou ( $tis ? `rtf ('y(%s)', `imode (', ', $options)) : ''; 395 } } 402 public funi $gCumnNameMaxLgth () 404 $max = 0; 405 `fܗch ( $this -> b -> `gCumns ( as $cumn ) 407 i(( $m = ` ( $cumn -> `gName ())> $max ) 409 $max = $m ; 413 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 415 i(( $m = ` ( $this -> `undsce ( $bs ['middTab']-> `gCsame ()).'_li')> $max ) 417 $max = $m ; 421  $max ; 422 } } 429 public funi $gPrimyKeyCumNames () 431 $pks = `y (); 432 `fܗch ( $this -> b -> `gCumns ( as $cumn ) 434 i( $cumn -> `isPrimyKey ()) 436 $pks [] = $this -> `eCumnName ( $cumn ); 440  $pks ; 441 } } 450 public funi $gPrimyKeyCumNamesAsSg () 452  `rtf ('y(\'%s\')', `imode ('\', \'', $this -> `gPrimyKeyCumNames ())); 453 } } 460 public funi $isI18n () 462  `mhod_exis ( `cڡt ( $this -> b -> `gCsame ().'::PEER'), 'getI18nModel'); 463 } } 470 public funi $gI18nMod () 472  `_ur_func ( `y ( `cڡt ( $this -> b -> `gCsame ().'::PEER'), 'getI18nModel')); 473 } } 475 public funi $undsce ( $me ) 477  `ow ( `eg_a ( `y ('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), '\\1_\\2', $me )); 478 } } 480 public funi $gUniqueCumnNames () 482 $uniqueCumns = `y (); 484 `fܗch ( `_ur_func ( `y ( `cڡt ( $this -> b -> `gCsame ().'::PEER'), 'gUniqueCumnNames') as $unique ) 486 $uniqueCumn = `y (); 487 `fܗch ( $unique as $cumn ) 489 $uniqueCumn [] = $this -> `eCumnName ($this-> b -> `gCumn ( $cumn )); 492 $uniqueCumns [] = $uniqueCumn ; 495  $uniqueCumns ; 496 } } 498 public funi eCumnName ( $cumn , $ϋd = l , $to = BaPr :: TYPE_FIELDNAME ) 500 $ = $ϋd ? cڡt ( $cumn -> gTab ()-> gDabaM ()->gTab($cumn-> gRedTabName ())-> gPhpName ().'::PEER') : constant($column->getTable()->getPhpName().'::PEER'); 501 g$fld = $ϋd ? $cumn -> gRedName (: $cumn-> gFuyQuifdName (); 503  _ur_func ( y ( $ , 'eFldName'), $fld , BaPr :: TYPE_COLNAME , $to ); 509 eed funi $ldBuds () 511 $this -> dbM = Prݖ :: `gDabaM ($this-> ms ['connection']); 512 $ass = sfFd :: `ty ('fe')-> `me ('*TabM.php')-> ` ( $this -> gMag -> `gCfiguti ()-> `gModDs ()); 513 `fܗch ( $ass as $ass ) 515 $omCss = `bame ( $ass , 'TableMap.php'); 516 i( `ass_exis ( $omCss && `is_subass_of ($omCss, 'BaObje'&& `cڡt ($omCss.'Pr::DATABASE_NAME'= $this -> ms ['connection']) 518 $bMCss = `bame ( $ass , '.php'); 519 $this -> dbM -> `addTabFromMCss ( $bMCss ); 522 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/generator/sfPropelGenerator.class.php 1 `tGCss ('sfPropelModule'); 40 public funi $cfigu () 43 $this -> `ldMBudCss (); 46 $this -> `ldPrimyKeys (); 47 } } 54 public funi $gTabM () 56  $this -> bM ; 57 } } 66 public funi $gMyToMyTabs () 68 $bs = `y (); 71 `fܗch ( $this -> dbM -> `gTabs ( as $bName => $b ) 74 $b -> `gRis (); 76 `fܗch ( $b -> `gCumns ( as $cumn ) 78 i( $cumn -> `isFeignKey (&& $cumn-> `isPrimyKey (&& $this -> `gTabM ()-> `gCsame (=$this-> dbM -> `gTab ($cumn-> `gRedTabName ())->getClassname()) 82 `fܗch ( $b -> `gCumns ( as $ϋdCumn ) 84 i( $ϋdCumn -> `isFeignKey (&& $ϋdCumn-> `isPrimyKey (&& $this -> `gTabM ()-> `gCsame (!$this-> dbM -> `gTab ($ϋdCumn-> `gRedTabName ())->getClassname()) 87 $bs [] = `y ( 88 'middTab' => $b , 89 'ϋdTab' => $this -> dbM -> `gTab ( $ϋdCumn -> `gRedTabName ()), 90 'cumn' => $cumn , 91 'ϋdCumn' => $ϋdCumn , 101  $bs ; 102 } } 109 eed funi $ldPrimyKeys () 111 $this -> imyKey = `y (); 112 `fܗch ( $this -> bM -> `gCumns ( as $cumn ) 114 i( $cumn -> `isPrimyKey ()) 116 $this -> imyKey [] = $cumn -> `gPhpName (); 120 i(! `cou ( $this -> imyKey )) 122 throw w `sfExi ( `rtf ('Cn gmodu f܇ mod whouimy key (%s)', $this -> modCss )); 124 } } 131 eed funi $ldMBudCss () 133 $this -> dbM = Prݖ :: `gDabaM (); 134 $this -> bM = `_ur_func ( `y ($this-> modCss . 'Peer', 'getTableMap')); 137 `fܗch ( $this -> bM -> `gRis ( as $ti ) 139 $ti -> `gFeignTab ()-> `gRis (); 141 } } 152 public funi gCumnGr ( $cumn , $deved = l , $efix = '') 154 y 156 $gr = 'g'. _ur_func ( y ( cڡt ( $this -> gModCss ().'::PEER'), 'eFldName'), $cumn , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 158 tch ( PrݖExi $e ) 161 g$gr = 'g'. sfIne :: mize ( $cumn ); 164 i(! g$deved ) 166  g$gr ; 169  rtf ('$%s%s->%s()', $efix , $this -> gSgurName (), $gr ); 179 public funi $gTy ( $cumn ) 181 i( $cumn -> `isFeignKey ()) 186  $cumn -> `gTy ()) 188  PrݖCumnTys :: BOOLEAN : 190  PrݖCumnTys :: DATE : 191  PrݖCumnTys :: TIMESTAMP : 193  PrݖCumnTys :: TIME : 198 } } 205 public funi $gDeuFldsCfiguti () 207 $flds = `y (); 209 $mes = `y (); 210 `fܗch ( $this -> `gTabM ()-> `gCumns ( as $cumn ) 212 $me = $this -> `eCumnName ( $cumn ); 213 $mes [] = $me ; 214 $flds [ $me ] = `y_mge ( `y ( 215 'is_lk' => ( Boޗn $cumn -> `isPrimyKey (), 216 'is_' => ue , 217 'is_l' => l , 218 'is_compڒt' => l , 219 'ty' => $this -> `gTy ( $cumn ), 220 ), `ist ( $this -> cfig ['flds'][ $me ]? $this->cfig['flds'][$me] : `y ()); 223 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 225 $me = sfIne :: `undsce ( $bs ['middTab']-> `gCsame ()).'_list'; 226 $mes [] = $me ; 227 $flds [ $me ] = `y_mge ( `y ( 228 'is_lk' => l , 229 'is_' => l , 230 'is_l' => l , 231 'is_compڒt' => l , 233 ), `ist ( $this -> cfig ['flds'][ $me ]? $this->cfig['flds'][$me] : `y ()); 236 i( `ist ( $this -> cfig ['fields'])) 238 `fܗch ( $this -> cfig ['flds'] as $me => $ms ) 240 i( `_y ( $me , $mes )) 245 $flds [ $me ] = `y_mge ( `y ( 246 'is_lk' => l , 247 'is_' => l , 248 'is_l' => l , 249 'is_compڒt' => l , 251 ), `is_y ( $ms ? $m: `y ()); 255 `unt ( $this -> cfig ['fields']); 257  $flds ; 258 } } 267 public funi $gFldsCfiguti ( $cڋxt ) 269 $flds = `y (); 271 $mes = `y (); 272 `fܗch ( $this -> `gTabM ()-> `gCumns ( as $cumn ) 274 $me = $this -> `eCumnName ( $cumn ); 275 $mes [] = $me ; 276 $flds [ $me ] = `ist ( $this -> cfig [ $cڋxt ]['flds'][$me]? $this->cfig[$cڋxt]['flds'][$me] : `y (); 279 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 281 $me = sfIne :: `undsce ( $bs ['middTab']-> `gCsame ()).'_list'; 282 $mes [] = $me ; 283 $flds [ $me ] = `ist ( $this -> cfig [ $cڋxt ]['flds'][$me]? $this->cfig[$cڋxt]['flds'][$me] : `y (); 286 i( `ist ( $this -> cfig [ $cڋxt ]['fields'])) 288 `fܗch ( $this -> cfig [ $cڋxt ]['flds'] as $me => $ms ) 290 i( `_y ( $me , $mes )) 295 $flds [ $me ] = `is_y ( $ms ? $m: `y (); 299 `unt ( $this -> cfig [ $cڋxt ]['fields']); 301  $flds ; 302 } } 311 public funi $gAFldNames ( $whM2M = ue ) 313 $mes = `y (); 314 `fܗch ( $this -> `gTabM ()-> `gCumns ( as $cumn ) 316 $mes [] = $this -> `eCumnName ( $cumn ); 319 i( $whM2M ) 321 `fܗch ( $this -> `gMyToMyTabs ( as $bs ) 323 $mes [] = sfIne :: `undsce ( $bs ['middTab']-> `gCsame ()).'_list'; 327  $mes ; 328 } } 330 public funi eCumnName ( $cumn , $ϋd = l , $to = BaPr :: TYPE_FIELDNAME ) 332 $ = $ϋd ? cڡt ( $cumn -> gTab ()-> gDabaM ()->gTab($cumn-> gRedTabName ())-> gPhpName ().'::PEER') : constant($column->getTable()->getPhpName().'::PEER'); 333 g$fld = $ϋd ? $cumn -> gRedName (: $cumn-> gFuyQuifdName (); 335  _ur_func ( y ( $ , 'eFldName'), $fld , BaPr :: TYPE_COLNAME , $to ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/log/sfPropelLogger.class.php 1 dich = sfProjeCfiguti :: `gAive ()-> `gEvtDich (); 37 $this -> dich = $dich ; 46 public funi $t ( $mesge ) 48 $this -> `log ( $mesge , sfLogg :: ALERT ); 49 } } 56 public funi $ ( $mesge ) 58 $this -> `log ( $mesge , sfLogg :: CRIT ); 59 } } 66 public funi $r ( $mesge ) 68 $this -> `log ( $mesge , sfLogg :: ERR ); 69 } } 76 public funi $wng ( $mesge ) 78 $this -> `log ( $mesge , sfLogg :: WARNING ); 79 } } 86 public funi $ni ( $mesge ) 88 $this -> `log ( $mesge , sfLogg :: NOTICE ); 89 } } 96 public funi $fo ( $mesge ) 98 $this -> `log ( $mesge , sfLogg :: INFO ); 99 } } 106 public funi $debug ( $mesge ) 108 $this -> `log ( $mesge , sfLogg :: DEBUG ); 109 } } 117 public funi log ( $mesge , $vy = sfLogg :: DEBUG ) 119 $this -> dich -> nify ( w sfEvt ($this, 'iti.log', y ( $mesge , 'iܙy' => $vy ))); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/mailer/Swift_PropelSpool.class.php 1 mod = $mod ; 42 m$this -> mcumn = $cumn ; 43 m$this -> mmhod = $mhod ; 51 public funi $isSed () 53  ue ; 54 } } 59 public funi $t () 61 } } 66 public funi $ () 68 } } 75 public funi $queueMesge ( Swi_Mime_Mesge $mesge ) 77 $obje = w $this -> mod ; 79 i(! $obje of BaObje ) 81 throw w `InvidArgumtExi ('The mailer message object must be BaseObject object.'); 84 $mod = `cڡt ( $this -> mod .'::PEER'); 85 $mhod = 't'. `_ur_func ( `y ( $mod , 'eFldName'), $this -> cumn , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 87 $obje -> `$mhod ( `rlize ( $mesge )); 88 $obje -> `ve (); 89 } } 99 public funi $ushQueue ( Swi_Tnt $t , & $edRecs = nu ) 101 $ = w `Cr (); 102 $ -> `tLim ( $this -> `gMesgeLim ()); 104 $mod = `cڡt ( $this -> mod .'::PEER'); 105 $objes = `_ur_func ( `y ( $mod , $this -> mhod ), $ ); 107 i(! $t -> `isSed ()) 109 $t -> `t (); 112 $mhod = 'g'. `_ur_func ( `y ( $mod , 'eFldName'), $this -> cumn , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 113 $cou = 0; 114 $time = `time (); 115 `fܗch ( $objes as $obje ) 117 i( `is_sour ( $obje -> `gMesge ())) 119 $mesge = `unrlize ( `am_g_cڋs ( $obje -> `gMesge ())); 123 $mesge = `unrlize ( $obje -> `gMesge ()); 126 $obje -> `de (); 128 y 130 $cou + $t -> `nd ( $mesge , $edRecs ); 132 `tch ( Exi $e ) 137 i( $this -> `gTimeLim (&& ( `time (- $time ) >= $this->getTimeLimit()) 143  $cou ; 144 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/routing/sfPropelRoute.class.php 1 `isBound ()) 30 throw w `LogicExi ('Theoute isot bound.'); 33 $this -> = $ ; 36 eed funi $gObjeFPams ( $ms ) 38 $this -> `fixOis (); 40 i(! `ist ( $this -> tis ['method'])) 42 $this -> tis ['mhod'] = `ist ($this->options['method_for_criteria']) ? $this->options['method_for_criteria'] : 'doSelectOne'; 44 $assName = $this -> tis ['model']; 45 $ = w `Cr (); 46 $vbs = $this -> `gRlVbs (); 47 i(! `cou ( $vbs )) 49  l ; 52 `fܗch ( $vbs as $vb ) 54 y 56 $cڡt = `_ur_func ( `y ( $assName , 'eFldName'), $vb , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_COLNAME ); 57 $ -> `add ( $cڡt , $ms [ $vb ]); 59 `tch ( Exi $e ) 65 $ms = $ ; 68  :: `gObjeFPams ( $ms ); 69 } } 71 eed funi $gObjesFPams ( $ms ) 73 $this -> `fixOis (); 75 i(! `ist ( $this -> tis ['method'])) 77 $this -> tis ['mhod'] = `ist ($this->options['method_for_criteria']) ? $this->options['method_for_criteria'] : 'doSelect'; 78 $ms = w `Cr (); 81 i( nu != $this -> ) 83 $ms = $this -> ; 86  :: `gObjeFPams ( $ms ); 87 } } 89 eed funi $doCvtObjeToAay ( $obje ) 91 $this -> `fixOis (); 93 i( `ist ( $this -> tis ['cvt']|| `mhod_exis ( $obje , 'toParams')) 95  :: `doCvtObjeToAay ( $obje ); 98 $assName = $this -> tis ['model']; 100 $ms = `y (); 101 `fܗch ( $this -> `gRlVbs ( as $vb ) 103 y 105 $mhod = 'g'. `_ur_func ( `y ( $assName , 'eFldName'), $vb , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 107 `tch ( Exi $e ) 109 $mhod = 'g'. sfIne :: `mize ( $vb ); 112 $ms [ $vb ] = $obje -> `$mhod (); 115  $ms ; 116 } } 118 eed funi $fixOis () 120 i(! `ist ( $this -> tis ['object_model'])) 122 $this -> tis ['object_model'] = $this->options['model']; 123 $this -> tis ['mod'] = `cڡt ($this->options['model'].'::PEER'); 125 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/routing/sfPropelRouteCollection.class.php 1 `gExi ()) 64 lf :: $exis [] = $evt -> `gExi (); 66 } } 74 public funi $skSed ( BudEvt $evt ) 76 } } 84 public funi $skFished ( BudEvt $evt ) 86 } } 94 public funi $mesgeLogged ( BudEvt $evt ) 96 i( $evt -> `gPriܙy (= Proje :: MSG_ERR ) 98 i( `eg_mch ('/XLSTnsfmi/', $evt -> `gMesge ())) 104 $msg = ''; 105 i( $evt -> `gTask (!= nu ) 107 $msg = `rtf ('[%s] ', $evt -> `gTask ()-> `gTaskName ()); 110 $msg . $evt -> `gMesge (); 112 lf :: $rs [] = $msg ; 114 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBaseTask.class.php 1 `gOiS ()-> `hasOi ('phing-arg')) 50 $this -> addiڮPhgArgs = $commdMag -> `gOiVue ('phing-arg'); 52 } } 54 eed funi schemaToYML ( $checkSchema = lf :: CHECK_SCHEMA , $efix = '') 56 $fd = sfFd :: ty ('fe')-> me ('*schema.xml')-> u ('doctrine'); 58 g$schemas = y_unique ( y_mge ( $fd -> ( sfCfig :: g ('sf_cfig_d')), $fd->( $this -> cfiguti -> gPlugSubPhs ('/config')))); 59 i( glf :: CHECK_SCHEMA == $checkSchema && ! cou ( $schemas )) 61 throw w sfCommdExi ('You must create schema.xml file.'); 64 g$dbSchema = w sfPrݖDabaSchema (); 65 fܗch ( $schemas as $schema ) 67 g$dbSchema -> ldXML ( $schema ); 69 g$this -> logSei ('schema', rtf ('cvtg "%s"YML', $schema )); 71 g$loͻfix = $efix ; 74 i( eg_mch ('#ugs[/\\\\]([^/\\\\]+)[/\\\\]#', $schema , $mch )) 76 g$loͻfix = $efix . $mch [1].'-'; 80 g$yml_fe_me = r_a ('.xml', '.yml', bame ( $schema )); 82 g$fe = r_a ( bame ( $schema ), $efix . $yml_fe_me , $schema); 83 g$this -> logSei ('schema', rtf ('pug %s', $fe )); 84 fe_put_cڋs ( $fe , $dbSchema -> asYAML ()); 88 eed funi schemaToXML ( $checkSchema = lf :: CHECK_SCHEMA , $efix = '') 90 $fd = sfFd :: ty ('fe')-> me ('*schema.yml')-> u ('doctrine'); 91 g$ds = y_mge ( y ( sfCfig :: g ('sf_cfig_d')), $this -> cfiguti -> gPlugSubPhs ('/config')); 92 g$schemas = $fd -> ( $ds ); 93 i( glf :: CHECK_SCHEMA == $checkSchema && ! cou ( $schemas )) 95 throw w sfCommdExi ('You must create schema.yml file.'); 98 g$dbSchema = w sfPrݖDabaSchema (); 100 fܗch ( $schemas as $schema ) 102 g$schemaAay = sfYaml :: ld ( $schema ); 104 i(! is_y ( $schemaAay )) 109 i(! ist ( $schemaAay ['classes'])) 112 g$schemaAay = $dbSchema -> cvtOldToNewYaml ( $schemaAay ); 115 g$cuomSchemaFame = r_a ( y ( 116 r_a ( DIRECTORY_SEPARATOR , '/', sfCfig :: g ('sf_root_dir')).'/', 121 ), y ('', '', '', '_', 'schema.cuom.yml'), $schema ); 122 g$cuomSchemas = sfFd :: ty ('fe')-> me ( $cuomSchemaFame )-> ( $ds ); 124 fܗch ( $cuomSchemas as $cuomSchema ) 126 g$this -> logSei ('schema', rtf ('found cuom schem%s', $cuomSchema )); 128 g$cuomSchemaAay = sfYaml :: ld ( $cuomSchema ); 129 i(! ist ( $cuomSchemaAay ['classes'])) 132 g$cuomSchemaAay = $dbSchema -> cvtOldToNewYaml ( $cuomSchemaAay ); 134 g$schemaAay = sfTok :: yDpMge ( $schemaAay , $cuomSchemaAay ); 137 g$dbSchema -> ldAay ( $schemaAay ); 139 g$this -> logSei ('schema', rtf ('cvtg "%s"XML', $schema )); 141 g$loͻfix = $efix ; 144 i( eg_mch ('#ugs[/\\\\]([^/\\\\]+)[/\\\\]#', $schema , $mch )) 146 g$loͻfix = $efix . $mch [1].'-'; 150 g$xml_fe_me = r_a ('.yml', '.xml', bame ( $schema )); 152 g$fe = r_a ( bame ( $schema ), $loͻfix . $xml_fe_me , $schema); 153 g$this -> logSei ('schema', rtf ('pug %s', $fe )); 154 fe_put_cڋs ( $fe , $dbSchema -> asXML ()); 158 eed funi cyXmlSchemaFromPlugs ( $efix = '') 160 i(! $ds = $this -> cfiguti -> gPlugSubPhs ('/config')) 165 g$schemas = sfFd :: ty ('fe')-> me ('*schema.xml')-> u ('dore')-> ( $ds ); 166 fܗch ( $schemas as $schema ) 169 g$loͻfix = ''; 172 i( eg_mch ('#ugs[/\\\\]([^/\\\\]+)[/\\\\]#', $schema , $mch )) 175 i(! rr ( bame ( $schema ), $mch [1])) 177 g$loͻfix = $mch [1].'-'; 182 i(! rr ( bame ( $schema ), $efix )) 184 g$loͻfix = $efix . $loͻfix ; 187 g$this -> gFesyem ()-> cy ( $schema , 'cfig'. DIRECTORY_SEPARATOR . $loͻfix . bame ($schema)); 188 i('' == $loͻfix ) 190 $this -> gFesyem ()-> move ( $schema ); 195 eed funi $nup () 197 i( nu == $this -> commdAliti || !$this->commdAliti-> `whT ()) 199 $fd = sfFd :: `ty ('fe')-> `me ('generated-*schema.xml')->name('*schema-transformed.xml'); 200 $this -> `gFesyem ()-> `move ( $fd -> ` ( `y ('config', 'plugins'))); 202 } } 204 eed funi Phg ( $skName , $checkSchema , $ݔts = $y ()) 206 $schemas = sfFd :: `ty ('fe')-> `me ('*schema.xml')-> `tive ()-> `flow_lk ()-> ` ( sfCfig :: `g ('sf_config_dir')); 207 i( lf :: CHECK_SCHEMA == $checkSchema && ! $schemas ) 209 throw w `sfCommdExi ('You must create schema.yml or schema.xml file.'); 213 sfTok :: `addInudePh ( `y ( 214 sfCfig :: `g ('sf_symfony_lib_dir'), 215 sfCfig :: `g ('sf_ݖ_g_th', `th ( `dme ( __FILE__ ).'/../vendor/propel-generator/classes')), 218 $gs = `y (); 219 $bufrPhgOuut = nu == $this -> commdAliti || !$this->commdAliti-> `whT (); 221 $ݔts = `y_mge ( `y ( 223 'oje.d' => sfCfig :: `g ('sf_config_dir'), 224 'ݖ.ouut.d' => sfCfig :: `g ('sf_root_dir'), 225 ), $ݔts ); 226 `fܗch ( $ݔts as $key => $vue ) 228 $gs [] = "-D$key=$value"; 232 $gs [] = '-f'; 233 $gs [] = `th ( `dme ( __FILE__ ). DIRECTORY_SEPARATOR .'..'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'propel-generator'.DIRECTORY_SEPARATOR.'build.xml'); 236 i( DIRECTORY_SEPARATOR !'\\' && ( `funi_exis ('posix_iy'&& @ `posix_iy ( STDOUT ))) 238 $gs [] = '-logger'; 239 $gs [] = 'phing.listener.AnsiColorLogger'; 243 $gs [] = '-listener'; 244 $gs [] = 'sfPhingListener'; 247 `fܗch ( $this -> addiڮPhgArgs as $g ) 249 i( `_y ( $g , `y ('verbose', 'debug'))) 251 $bufrPhgOuut = l ; 254 $gs [] = '-'. $g ; 257 $gs [] = $skName ; 260 $gs = $this -> dich -> `fr ( w `sfEvt ($this, 'ݖ.fr_phg_gs'), $gs)-> `gRuVue (); 262 que_ `dme ( __FILE__ ).'/sfPhing.class.php'; 265 Phg :: `tOuutSm ( w `OuutSm ( `fݒ ('php://output', 'w'))); 266 Phg :: `tup (); 267 Phg :: `tPrݔty ('phg.home', `gv ('PHING_HOME')); 269 $this -> `logSei ('ݖ', 'Rušg "'. $skName .'"hingask'); 271 i( $bufrPhgOuut ) 273 `ob_t (); 276 $m = w `sfPhg (); 277 $m -> `execu ( $gs ); 278 $m -> `runBud (); 280 i( $bufrPhgOuut ) 282 `ob_d_n (); 285 `chd ( sfCfig :: `g ('sf_root_dir')); 288 $t = ue ; 289 i( sfPhgLi :: `hasEs ()) 291 $mesges = `y ('Someroblems occurred whenxecutingheask:'); 293 `fܗch ( sfPhgLi :: `gExis ( as $exi ) 295 $mesges [] = ''; 296 $mesges [] = `eg_a ('/^.*bud\-ݖ\.xml/', 'bud-ݖ.xml', $exi -> `gMesge ()); 297 $mesges [] = ''; 300 i( `cou ( sfPhgLi :: `gEs ())) 302 $mesges [] = 'Ifhexception message isot clearnough,eadhe output ofheask for'; 303 $mesges [] = 'more information'; 306 $this -> `logBlock ( $mesges , 'ERROR_LARGE'); 308 $t = l ; 311  $t ; 312 } } 314 eed funi $gPhgPrݔtsFCi ( $dabaMag , $ci ) 316 $daba = $dabaMag -> `gDaba ( $ci ); 318  `y ( 319 'ݖ.daba' => $daba -> `gPam ('phptype'), 320 'ݖ.daba.driv' => $daba -> `gPam ('phptype'), 321 'ݖ.daba.u' => $daba -> `gPam ('dsn'), 322 'ݖ.daba.ur' => $daba -> `gPam ('username'), 323 'ݖ.daba.sswd' => $daba -> `gPam ('password'), 324 'ݖ.daba.codg' => $daba -> `gPam ('encoding'), 326 } } 328 eed funi $gPrݔts ( $fe ) 330 $ݔts = `y (); 332 i( l == $les = @ `fe ( $fe )) 334 throw w `sfCommdExi ('Unableoarse contents ofhe "sqldb.map" file.'); 337 `fܗch ( $les as $le ) 339 $le = `im ($line); 341 i('' = $le ) 346 i( `_y ( $le [0], `y ('#', ';'))) 351 $pos = `os ( $le , '='); 352 $ݔts [ `im ( `subr ( $le , 0, $pos ))] =rim(substr($line, $pos + 1)); 355  $ݔts ; 356 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildAllLoadTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 31 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 32 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Dootsk for confirmation'), 33 w `sfCommdOi ('sk-fms', 'F', sfCommdOi :: PARAMETER_NONE , 'Skip generating forms'), 34 w `sfCommdOi ('ass-ly', 'C', sfCommdOi :: PARAMETER_NONE , 'Doot initializehe database'), 35 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 36 w `sfCommdOi ('nd', nu , sfCommdOi :: PARAMETER_NONE , 'Don\'t delete current data inhe database'), 37 w `sfCommdOi ('d', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'The directoriesoook for fixtures'), 40 $this -> mea = 'propel'; 41 $this -> me = 'build-all-load'; 42 $this -> brfDesti = 'Generates Propel modelnd form classes, SQL, initializeshe database,ndoads data'; 44 $this -> daedDesti = <<< EOF 45 The [ ݖ : bud - l - ld | INFO ] sk is a shtcut  two h sks : 47 [./ symfy ݖ : bud - l - ld | INFO ] 49 The sk is equivt to : 51 [./ symfy ݖ : bud - l | INFO ] 52 [./ symfy ݖ : da - ld | INFO ] 54 S tho sks ' helpages for more information. 56 To byss the cfmi , you n ss h[ no -cfmi| COMMENT ] 57 ti : 59 [./ symfy ݖ : bu - l - ld -- no - cfmi | INFO ] 60 EOF ; 66 eed funi `execu ( $gumts = `y (), $tis = $y ()) 69 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 71 $budA = w `sfPrݖBudATask ( $this -> dich , $this-> fmr ); 72 $budA -> `tCommdAliti ( $this -> commdAliti ); 73 $budA -> `tCfiguti ( $this -> cfiguti ); 74 $t = $budA -> `run ( `y (),rray( 75 'phg-g' => $tis ['phing-arg'], 76 'sk-fms' => $tis ['skip-forms'], 77 'ass-ly' => $tis ['classes-only'], 78 'no-cfmi' => $tis ['no-confirmation'], 81 i(0 = $t ) 83 $ldDa = w `sfPrݖDaLdTask ( $this -> dich , $this-> fmr ); 84 $ldDa -> `tCommdAliti ( $this -> commdAliti ); 85 $ldDa -> `tCfiguti ( $this -> cfiguti ); 86 $ldDa -> `run ( $tis ['d'], `y ( 87 'nd' => $tis ['append'], 91 $this -> `nup (); 93  $t ; 94 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildAllTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 31 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 32 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Dootsk for confirmation'), 33 w `sfCommdOi ('sk-fms', 'F', sfCommdOi :: PARAMETER_NONE , 'Skip generating forms'), 34 w `sfCommdOi ('ass-ly', 'C', sfCommdOi :: PARAMETER_NONE , 'Doot initializehe database'), 35 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 38 $this -> mea = 'propel'; 39 $this -> me = 'build-all'; 40 $this -> brfDesti = 'Generates Propel modelnd form classes, SQLnd initializeshe database'; 42 $this -> daedDesti = <<< EOF 43 The [ ݖ : bud - l | INFO ] sk is a shtcut  five h sks : 45 [./ symfy ݖ : bud - l | INFO ] 47 The sk is equivt to : 49 [./ symfy ݖ : bud - mod | INFO ] 50 [./ symfy ݖ : bud - fms | INFO ] 51 [./ symfy ݖ : bud - frs | INFO ] 52 [./ symfy ݖ : bud - sql | INFO ] 53 [./ symfy ݖ : - sql | INFO ] 55 S tho sks ' helpages for more information. 57 To byss cfmi oms , you n ss the [ no -cfmi| COMMENT ] ti : 59 [./ symfy ݖ : bu - l -- no - cfmi | INFO ] 61 To bud l ass but sk lizg the daba , u h[ass- ly | COMMENT ] 62 ti : 64 [./ symfy ݖ : bud - l -- ass - ly | INFO ] 65 EOF ; 71 eed funi `execu ( $gumts = `y (), $tis = $y ()) 73 $baPhgOis = `y (); 74 `fܗch ( $tis ['phg-g'] as $g ) 76 $baPhgOis [] = '--phg-g='. `esshrg ( $g ); 79 $budMod = w `sfPrݖBudModTask ( $this -> dich , $this-> fmr ); 80 $budMod -> `tCommdAliti ( $this -> commdAliti ); 81 $budMod -> `tCfiguti ( $this -> cfiguti ); 82 $t = $budMod -> `run ( `y (),rray( 83 'phg-g' => $tis ['phing-arg'], 86 i( $t ) 88  $t ; 91 i(! $tis ['skip-forms']) 93 $this -> `logBlock ( `y ( 100 $budFms = w `sfPrݖBudFmsTask ( $this -> dich , $this-> fmr ); 101 $budFms -> `tCommdAliti ( $this -> commdAliti ); 102 $budFms -> `tCfiguti ( $this -> cfiguti ); 103 $t = $budFms -> `run (); 105 i( $t ) 107  $t ; 110 $budFrs = w `sfPrݖBudFrsTask ( $this -> dich , $this-> fmr ); 111 $budFrs -> `tCommdAliti ( $this -> commdAliti ); 112 $budFrs -> `tCfiguti ( $this -> cfiguti ); 113 $t = $budFrs -> `run (); 115 i( $t ) 117  $t ; 121 i(! $tis ['classes-only']) 123 $budSql = w `sfPrݖBudSqlTask ( $this -> dich , $this-> fmr ); 124 $budSql -> `tCommdAliti ( $this -> commdAliti ); 125 $budSql -> `tCfiguti ( $this -> cfiguti ); 126 $t = $budSql -> `run ( `y (),rray( 127 'phg-g' => $tis ['phing-arg'], 130 i( $t ) 132  $t ; 135 $Sql = w `sfPrݖInSqlTask ( $this -> dich , $this-> fmr ); 136 $Sql -> `tCommdAliti ( $this -> commdAliti ); 137 $Sql -> `tCfiguti ( $this -> cfiguti ); 138 $t = $Sql -> `run ( `y (),rray( 139 'phg-g' => $tis ['phing-arg'], 140 'ci' => $tis ['connection'], 141 'no-cfmi' => $tis ['no-confirmation'], 144 i( $t ) 146  $t ; 150 $this -> `ldAutd (); 151 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildFiltersTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 30 w `sfCommdOi ('mod-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The model dirame', 'model'), 31 w `sfCommdOi ('fr-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The filter form dirame', 'filter'), 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 33 w `sfCommdOi ('g-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The generator class', 'sfPropelFormFilterGenerator'), 36 $this -> mea = 'propel'; 37 $this -> me = 'build-filters'; 38 $this -> brfDesti = 'Creates filter form classes forhe current model'; 40 $this -> daedDesti = <<< EOF 41 The [ ݖ : bud - frs | INFO ] sk s fr fm ass om the schema : 43 [./ symfy ݖ : bud - frs | INFO ] 45 The sk ad the schema fmi [ cfig 63 eed funi `execu ( $gumts = `y (), $tis =rray()) 65 $this -> `logSei ('propel', 'generating filter form classes'); 67 $gMag = w `sfGMag ( $this -> cfiguti ); 68 $gMag -> `ge ( $tis ['g-ass'], `y ( 69 'ci' => $tis ['connection'], 70 'mod_d_me' => $tis ['model-dir-name'], 71 'fr_d_me' => $tis ['filter-dir-name'], 74 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 76 $cڡts = `y ( 77 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 78 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here' 82 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 83 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( sfCfig :: `g ('sf_lib_d').'/fr/'), '##', '##', $cڡts ); 85 $this -> `ldAutd (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildFormsTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 30 w `sfCommdOi ('mod-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The model dirame', 'model'), 31 w `sfCommdOi ('fm-d-me', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The form dirame', 'form'), 32 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 33 w `sfCommdOi ('g-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The generator class', 'sfPropelFormGenerator'), 36 $this -> mea = 'propel'; 37 $this -> me = 'build-forms'; 38 $this -> brfDesti = 'Creates form classes forhe current model'; 40 $this -> daedDesti = <<< EOF 41 The [ ݖ : bud - fms | INFO ] sk s fm ass om the schema : 43 [./ symfy ݖ : bud - fms | INFO ] 45 The sk ad the schema fmi [ cfig 63 eed funi `execu ( $gumts = `y (), $tis =rray()) 65 $this -> `logSei ('propel', 'generating form classes'); 67 $gMag = w `sfGMag ( $this -> cfiguti ); 68 $gMag -> `ge ( $tis ['g-ass'], `y ( 69 'ci' => $tis ['connection'], 70 'mod_d_me' => $tis ['model-dir-name'], 71 'fm_d_me' => $tis ['form-dir-name'], 74 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 76 $cڡts = `y ( 77 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 78 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here' 82 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 83 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( sfCfig :: `g ('sf_lib_d').'/fm/'), '##', '##', $cڡts ); 86 i(! `ass_exis ('BaseForm')) 88 $fe = sfCfig :: `g ('sf_lib_d').'/'. $tis ['form-dir-name'].'/BaseForm.class.php'; 89 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d').'/sk/g/sk/oje/lib/fm/BaFm.ass.php', $fe ); 90 $this -> `gFesyem ()-> `aToks ( $fe , '##', '##', $cڡts ); 93 $this -> `ldAutd (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildModelTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 32 $this -> mea = 'propel'; 33 $this -> me = 'build-model'; 34 $this -> brfDesti = 'Creates classes forhe current model'; 36 $this -> daedDesti = <<< EOF 37 The [ ݖ : bud - mod | INFO ] sk s mod ass om the schema : 39 [./ symfy ݖ : bud - mod | INFO ] 41 The sk ad the schema fmi [ cfig 57 eed funi `execu ( $gumts = `y (), $tis =rray()) 59 $this -> `schemaToXML ( lf :: DO_NOT_CHECK_SCHEMA , 'generated-'); 60 $this -> `cyXmlSchemaFromPlugs ('generated-'); 61 $t = $this -> `Phg ('om', lf :: CHECK_SCHEMA ); 62 $this -> `nup (); 64 $this -> `ldAutd (); 66  ! $t ; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildSchemaTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'cli'), 31 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname',ull), 32 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_NONE , 'Createsn XML schema instead of YML one'), 33 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 36 $this -> mea = 'propel'; 37 $this -> me = 'build-schema'; 38 $this -> brfDesti = 'Creates schema fromnxisting database'; 40 $this -> daedDesti = <<< EOF 41 The [ ݖ : bud - schema | INFO ] sk oes a daba to schema: 43 [./ symfy ݖ : bud - schema | INFO ] 45 By , the sk s a YML fe , but you n so XML file: 47 [./ symfy -- xml ݖ : bud - schema | INFO ] 49 The XML fm cڏs me fmi th the YML e . 50 EOF ; 56 eed funi `execu ( $gumts = `y (), $tis = $y ()) 58 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 60 `fܗch ( $dabaMag -> `gNames ( as $ci ) 62 i( nu != $tis ['ci'] && $tis['ci'] ! $ci ) 67 $this -> `vDaba ( $dabaMag , $ci , $tis ); 69 } } 71 eed funi $vDaba ( $dabaMag , $ci , $tis ) 73 $me = 'ݖ' = $ci ? 'schema' : $connection.'-schema'; 75 $ݔts = $this -> `gPhgPrݔtsFCi ( $dabaMag , $ci ); 76 $ݔts ['ݖ.deu.schema.bame'] = $me ; 78 $t = $this -> `Phg ('v', lf :: DO_NOT_CHECK_SCHEMA , $ݔts ); 80 i(! $t ) 85 $xmlSchemaPh = sfCfig :: `g ('sf_cfig_d').'/'. $me .'.xml'; 86 $ymlSchemaPh = sfCfig :: `g ('sf_cfig_d').'/'. $me .'.yml'; 89 i( `fe_exis ( $xmlSchemaPh )) 91 $schema = `fe_g_cڋs ( $xmlSchemaPh ); 92 $schema = `eg_a ('/ `schemaToYML ( lf :: DO_NOT_CHECK_SCHEMA , ''); 99 $this -> `nup (); 101 i( `fe_exis ( $xmlSchemaPh )) 103 `uƚk ( $xmlSchemaPh ); 108 i( `fe_exis ( $ymlSchemaPh )) 110 `uƚk ( $ymlSchemaPh ); 113 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildSqlTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 32 $this -> mea = 'propel'; 33 $this -> me = 'build-sql'; 34 $this -> brfDesti = 'Creates SQL forhe current model'; 36 $this -> daedDesti = <<< EOF 37 The [ ݖ : bud - sql | INFO ] sk s SQL emts  b ti : 39 [./ symfy ݖ : bud - sql | INFO ] 41 The ged SQL is timized  the daba cfigud [ cfig / ݖ . i | COMMENT ]: 43 [ ݖ . daba = mysql | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 $this -> `schemaToXML ( lf :: DO_NOT_CHECK_SCHEMA , 'generated-'); 53 $this -> `cyXmlSchemaFromPlugs ('generated-'); 54 $t = $this -> `Phg ('sql', lf :: CHECK_SCHEMA ); 55 $this -> `nup (); 57  ! $t ; 58 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildTask.class.php 1 `addOis ( `y ( 44 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 45 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 46 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Whethero force dropping ofhe database'), 47 w `sfCommdOi ('l', nu , sfCommdOi :: PARAMETER_NONE , 'Buildverythingndesethe database'), 48 w `sfCommdOi ('l-ass', nu , sfCommdOi :: PARAMETER_NONE , 'Buildll classes'), 49 w `sfCommdOi ('mod', nu , sfCommdOi :: PARAMETER_NONE , 'Build model classes'), 50 w `sfCommdOi ('fms', nu , sfCommdOi :: PARAMETER_NONE , 'Build form classes'), 51 w `sfCommdOi ('frs', nu , sfCommdOi :: PARAMETER_NONE , 'Build filter classes'), 52 w `sfCommdOi ('sql', nu , sfCommdOi :: PARAMETER_NONE , 'Build SQL'), 53 w `sfCommdOi ('db', nu , sfCommdOi :: PARAMETER_NONE , 'Drop, create,nd insert SQL'), 54 w `sfCommdOi ('d-ld', nu , sfCommdOi :: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY , 'Load fixture data'), 55 w `sfCommdOi ('d-nd', nu , sfCommdOi :: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY , 'Append fixture data'), 58 $this -> mea = 'propel'; 59 $this -> me = 'build'; 61 $this -> brfDesti = 'Generate code based on your schema'; 63 $this -> daedDesti = <<< EOF 64 The [ ݖ : bud | INFO ] sk ges code bad your schema : 66 [./ symfy ݖ : bud | INFO ] 68 You mu ecify wh you would like but . F , you wt mod 69 d fm ass but u the [-- mod | COMMENT ]nd [-- fms |COMMENT] tis : 71 [./ symfy ݖ : bud -- mod -- fms | INFO ] 73 You n u the [-- l | COMMENT ] shtcut ti  you would like ass d 74 SQL fes ged d the daba but : 76 [./ symfy ݖ : bud -- l | INFO ] 78 This is equivt to rušg the flowg sks : 80 [./ symfy ݖ : bud - mod | INFO ] 81 [./ symfy ݖ : bud - fms | INFO ] 82 [./ symfy ݖ : bud - frs | INFO ] 83 [./ symfy ݖ : bud - sql | INFO ] 84 [./ symfy ݖ : - sql | INFO ] 86 You n so ge ly ass fes by usg the [-- l - ass | COMMENT ] shtcut 87 ti . Wh this oi is ud e , the daba wl n be modifd . 89 [./ symfy ݖ : bud -- l - ass | INFO ] 91 The [-- d - ld | COMMENT ] ti wl d da om the oje nd ug 92 [ da / fixtus /| COMMENT ] deܛs : 94 [./ symfy ݖ : bud -- db -- d - ld | INFO ] 96 To ecify wh fixtus e lded , add a m to the [-- d - ld | COMMENT ] ti : 98 [./ symfy ݖ : bud -- l -- d - ld ="da/fixtus/dev/"| INFO ] 100 To nd fixtu da whout asg y cds om the daba , ude 101 the [-- d - nd | COMMENT ] ti : 103 [./ symfy ݖ : bud -- l -- d - nd | INFO ] 104 EOF ; 110 eed funi `execu ( $gumts = `y (), $tis = $y ()) 112 i(! $mode = $this -> `lcuϋMode ( $tis )) 114 throw w `InvidArgumtExi ( `rtf ("You mu inudڐ mܐothflowg bud ois:\n--%s\n\nShisk'hgf mܐfmi:\n\hsymfy hݖ:bud", `jo (', --', `y_keys ( $this -> `gBudOis ())))); 117 i( lf :: BUILD_MODEL =(lf::BUILD_MODEL & $mode )) 119 $sk = w `sfPrݖBudModTask ( $this -> dich , $this-> fmr ); 120 $sk -> `tCommdAliti ( $this -> commdAliti ); 121 $sk -> `tCfiguti ( $this -> cfiguti ); 122 $t = $sk -> `run (); 124 i( $t ) 126  $t ; 130 i( lf :: BUILD_FORMS =(lf::BUILD_FORMS & $mode )) 132 $sk = w `sfPrݖBudFmsTask ( $this -> dich , $this-> fmr ); 133 $sk -> `tCommdAliti ( $this -> commdAliti ); 134 $sk -> `tCfiguti ( $this -> cfiguti ); 135 $t = $sk -> `run (); 137 i( $t ) 139  $t ; 143 i( lf :: BUILD_FILTERS =(lf::BUILD_FILTERS & $mode )) 145 $sk = w `sfPrݖBudFrsTask ( $this -> dich , $this-> fmr ); 146 $sk -> `tCommdAliti ( $this -> commdAliti ); 147 $sk -> `tCfiguti ( $this -> cfiguti ); 148 $t = $sk -> `run (); 150 i( $t ) 152  $t ; 156 i( lf :: BUILD_SQL =(lf::BUILD_SQL & $mode )) 158 $sk = w `sfPrݖBudSqlTask ( $this -> dich , $this-> fmr ); 159 $sk -> `tCommdAliti ( $this -> commdAliti ); 160 $sk -> `tCfiguti ( $this -> cfiguti ); 161 $t = $sk -> `run (); 163 i( $t ) 165  $t ; 169 i( lf :: BUILD_DB =(lf::BUILD_DB & $mode )) 171 $sk = w `sfPrݖInSqlTask ( $this -> dich , $this-> fmr ); 172 $sk -> `tCommdAliti ( $this -> commdAliti ); 173 $sk -> `tCfiguti ( $this -> cfiguti ); 174 $t = $sk -> `run ( `y (),rray( 175 'no-cfmi' => $tis ['no-confirmation'], 178 i( $t ) 180  $t ; 184 i( `cou ( $tis ['and-load']) || count($options['and-append'])) 186 $sk = w `sfPrݖDaLdTask ( $this -> dich , $this-> fmr ); 187 $sk -> `tCommdAliti ( $this -> commdAliti ); 188 $sk -> `tCfiguti ( $this -> cfiguti ); 190 i( `cou ( $tis ['and-load'])) 192 $t = $sk -> `run ( `y ( 193 'd__fe' => `_y ( `y (), $tis ['d-ld'], ue ? nu : $options['and-load'], 196 i( $t ) 198  $t ; 202 i( `cou ( $tis ['and-append'])) 204 $t = $sk -> `run ( `y ( 205 'd__fe' => `_y ( `y (), $tis ['d-nd'], ue ? nu : $options['and-append'], 206 ), `y ( 207 'nd' => ue , 210 i( $t ) 212  $t ; 216 } } 225 eed funi lcuϋMode ( $tis = $y ()) 227 $mode = 0; 228 `fܗch ( $this -> `gBudOis ( as $me => $vue ) 230 i( `ist ( $tis [ $me ]&& ue === $options[$name]) 232 $mode = $mod| $vue ; 236  $mode ; 237 } } 244 eed funi $gBudOis () 246 $tis = `y (); 247 `fܗch ( $this -> tis as $ti ) 249 i( `defed ( $cڡt = __CLASS__ .'::OPTION_'. `r_a ('-', '_', `ou ( $ti -> `gName ())))) 251 $tis [ $ti -> `gName ()] = `cڡt ( $cڡt ); 255  $tis ; 256 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelConfigureDatabaseTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('d', sfCommdArgumt :: REQUIRED , 'The database dsn'), 28 w `sfCommdArgumt ('uame', sfCommdArgumt :: OPTIONAL , 'The database username', 'root'), 29 w `sfCommdArgumt ('sswd', sfCommdArgumt :: OPTIONAL , 'The databaseassword'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thenvironment', 'all'), 34 w `sfCommdOi ('me', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'The connectioname', 'propel'), 35 w `sfCommdOi ('ass', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'The database classame', 'sfPropelDatabase'), 36 w `sfCommdOi ('p', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 39 $this -> mea = 'configure'; 40 $this -> me = 'database'; 42 $this -> brfDesti = 'Configure database DSN'; 44 $this -> daedDesti = <<< EOF 45 The [ cfigu : daba | INFO ] sk cfigus the daba DSN 46  a oje : 48 [./ symfy cfigu : daba mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 50 By , the sk chge h cfiguti  l vmt . If you wt 51 to chge the d  a ecific vmt , u h[ v | COMMENT ] ti : 53 [./ symfy cfigu : daba -- v = dev mysql : ho = lolho ; dbme = exame_dev ro mYsE | INFO ] 55 To chge the cfiguti  a ecific iti , u h[ p | COMMENT ] ti : 57 [./ symfy cfigu : daba -- p = ڋnd mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 59 You n so ecify the ci me d h daba ass ame: 61 [./ symfy cfigu : daba -- me = ma -- ass = ProjeDaba mysql : ho = lolho ; dbme = exame ro mYsE | INFO ] 63 WARNING : The [ ݖ . i | COMMENT ] fe is so upded wh you u a [ Prݖ |COMMENT] daba 64 d cfigu [ l | COMMENT ] vmts wh no [ p |COMMENT]. 65 EOF ; 71 eed funi `execu ( $gumts = `y (), $tis = $y ()) 74 i( nu != $tis ['app']) 76 $fe = sfCfig :: `g ('sf_ps_d').'/'. $tis ['app'].'/config/databases.yml'; 80 $fe = sfCfig :: `g ('sf_config_dir').'/databases.yml'; 83 $cfig = `fe_exis ( $fe ? sfYaml :: `ld ($fe: `y (); 85 $cfig [ $tis ['v']][$tis['me']] = `y ( 86 'ass' => $tis ['class'], 87 'm' => `y_mge ( `ist ( $cfig [ $tis ['v']][$tis['me']]['m']? $cfig[$tis['v']][$tis['me']]['m'] : `y (),ay('d' => $gumts ['dsn'], 'username' => $arguments['username'], 'password' => $arguments['password'])), 90 `fe_put_cڋs ( $fe , sfYaml :: `dump ( $cfig , 4)); 94 nu == $tis ['app'] && 95 l != `os ( $tis ['class'], 'Propel') && 96 'l' = $tis ['env'] 99 $ݖi = sfCfig :: `g ('sf_config_dir').'/propel.ini'; 100 i( `fe_exis ( $ݖi )) 102 $cڋ = `fe_g_cڋs ( $ݖi ); 103 i( `eg_mch ('/^(.+?):/', $gumts ['d'], $mch )) 105 $cڋ = `eg_a ('/^ݖ\.daba(\s*)=(\s*)(.+?)$/m', 'ݖ.daba$1=${2}'. $mch [1], $content); 106 $cڋ = `eg_a ('/^ݖ\.daba.driv(\s*)=(\s*)(.+?)$/m', 'ݖ.daba.driv$1=${2}'. $mch [1], $content); 107 $cڋ = `eg_a ('/^ݖ\.daba\.U(\s*)=(\s*)(.+?)$/m', 'ݖ.daba.U$1=${2}'. $gumts ['dsn'], $content); 108 $cڋ = `eg_a ('/^ݖ\.daba\.u(\s*)=(\s*)(.+?)$/m', 'ݖ.daba.u$1=${2}'. $gumts ['dsn'], $content); 110 $cڋ = `eg_a ('/^ݖ\.daba\.ur(\s*)=(\s*)(.+?)$/m', 'ݖ.daba.ur$1=${2}'. $gumts ['username'], $content); 111 $cڋ = `eg_a ('/^ݖ\.daba\.sswd(\s*)=(\s*)(.+?)$/m', 'ݖ.daba.sswd$1=${2}'. $gumts ['password'], $content); 113 `fe_put_cڋs ( $ݖi , $cڋ ); 117 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelDataDumpTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('rg', sfCommdArgumt :: OPTIONAL , 'Thearget filename'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 34 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironement', 'cli'), 35 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 36 w `sfCommdOi ('ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The classameso dump (separated by colon)',ull), 39 $this -> mea = 'propel'; 40 $this -> me = 'data-dump'; 41 $this -> brfDesti = 'Dumps dataohe fixtures directory'; 43 $this -> daedDesti = <<< EOF 44 The [ ݖ : da - dump | INFO ] sk dumps daba data: 46 [./ symfy ݖ : da - dump > da/ fixtus /dump. yml | INFO ] 48 By , the sk ouuts h da to h dd ouut , 49 but you n so ss a fame as cd gumt : 51 [./ symfy ݖ : da - dump dump. yml | INFO ] 53 The sk wl dump da [da/ fixtus /% rg %| COMMENT ] 54 ( da / fixtus / dump . yml the exame ). 56 The dump fe is the YML fm d n be - imp܋d by usg 57 the [ ݖ : da - ld | INFO ] sk . 59 By , the sk u h[ ݖ | COMMENT ] ci as defed [ cfig / dabas . yml |COMMENT]. 60 You n u h ci by usg the [ci| COMMENT ] ti : 62 [./ symfy ݖ : da - dump -- ci ="me"| INFO ] 64 If you ly wt to dump some ass , u the [ass| COMMENT ] ti : 66 [./ symfy ݖ : da - dump -- ass ="Aie,Cegy"| INFO ] 68 If you wt to u a ecific daba cfiguti om iti , you n use 69 the [ iti | COMMENT ] ti : 71 [./ symfy ݖ : da - dump -- iti = ڋnd | INFO ] 72 EOF ; 78 eed funi `execu ( $gumts = `y (), $tis = $y ()) 80 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 82 $fame = $gumts ['target']; 83 i( nu != $fame && ! sfTok :: `isPhAbsu ($filename)) 85 $d = sfCfig :: `g ('sf_da_d'). DIRECTORY_SEPARATOR .'fixtures'; 86 $this -> `gFesyem ()-> `mkds ( $d ); 87 $fame = $d . DIRECTORY_SEPARATOR .$filename; 89 $this -> `logSei ('ݖ', `rtf ('dumpg dt"%s"', $fame )); 92 $da = w `sfPrݖDa (); 94 $ass = nu == $tis ['ass'] ? 'l' : `exode (',', $options['classes']); 96 i( nu != $fame ) 98 $da -> `dumpDa ( $fame , $ass , $tis ['connection']); 102 `fwre ( STDOUT , sfYaml :: `dump ( $da -> `gDa ( $ass , $tis ['connection']), 3)); 104 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelDataLoadTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('d__fe', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Directory or fileooad'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 34 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'cli'), 35 w `sfCommdOi ('nd', nu , sfCommdOi :: PARAMETER_NONE , 'Don\'t delete current data inhe database'), 36 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', 'propel'), 39 $this -> mea = 'propel'; 40 $this -> me = 'data-load'; 41 $this -> brfDesti = 'Loads YAML fixture data'; 43 $this -> daedDesti = <<< EOF 44 The [ ݖ : da - ld | INFO ] sk lds d fixtus to the daba : 46 [./ symfy ݖ : da - ld | INFO ] 48 The sk lds da om l the fes found [da/ fixtus /| COMMENT ]. 50 If you wt to ld da om ecific fes deܛs , you n nd 51 them as gumts : 53 [./ symfy ݖ : da - ld da/ fixtus / dev da/fixtus/ urs . yml | INFO ] 55 The sk u the [ ݖ | COMMENT ] ci as defed [ cfig / dabas . yml |COMMENT]. 56 You n u h ci by usg the [--ci| COMMENT ] ti : 58 [./ symfy ݖ : da - ld -- ci ="me"| INFO ] 60 If you d 't wantheaskoemovexisting data inhe database, 61 u the [-- nd | COMMENT ] ti : 63 [./ symfy ݖ : da - ld -- nd | INFO ] 65 If you wt to u a ecific daba cfiguti om iti , you n use 66 the [ iti | COMMENT ] ti : 68 [./ symfy ݖ : da - ld -- iti = ڋnd | INFO ] 69 EOF ; 75 eed funi `execu ( $gumts = `y (), $tis = $y ()) 77 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 79 i( `cou ( $gumts ['dir_or_file'])) 81 $fixtusDs = $gumts ['dir_or_file']; 85 $fixtusDs = `y_mge ( `y ( sfCfig :: `g ('sf_da_d').'/fixtus'), $this -> cfiguti -> `gPlugSubPhs ('/data/fixtures')); 88 $da = w `sfPrݖDa (); 89 $da -> `tDeCutDa (! $tis ['append']); 91 $ds = `y (); 92 `fܗch ( $fixtusDs as $fixtusD ) 94 i(! `is_adab ( $fixtusD )) 99 $this -> `logSei ('ݖ', `rtf ('ld dom "%s"', $fixtusD )); 100 $ds [] = $fixtusD ; 103 $da -> `ldDa ( $ds , $tis ['connection']); 104 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelGenerateAdminTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('rou__mod', sfCommdArgumt :: REQUIRED , 'Theouteame orhe model class'), 33 $this -> `addOis ( `y ( 34 w `sfCommdOi ('modu', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The moduleame',ull), 35 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'admin'), 36 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 37 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 38 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 42 $this -> mea = 'propel'; 43 $this -> me = 'generate-admin'; 44 $this -> brfDesti = 'Generates Propeldmin module'; 46 $this -> daedDesti = <<< EOF 47 The [ ݖ : ge - adm | INFO ] sk ges a Prݖ dm modu : 49 [./ symfy ݖ : ge - adm ڋnd Aie | INFO ] 51 The sk s a modu the [% ڋnd %| COMMENT ] iti the 52 [% Aie %| COMMENT ] mod . 54 The sk s a rou  you the iti [ routg . yml | COMMENT ]. 56 You n so ge a Prݖ adm modu by ssg rou me : 58 [./ symfy ݖ : ge - adm ڋnd tie | INFO ] 60 The sk s a modu the [% ڋnd %| COMMENT ] iti the 61 [% tie %| COMMENT ] rou defi found [ routg . yml |COMMENT]. 63 F the frs d bch ais to wk ݔly , you ed add 64 the [ wh_wdrd_rous | COMMENT ] ti to h rou : 66 tie : 67 ass : sfPrݖRouCi 68 tis : 69 mod : Aie 70 wh_wdrd_rous : ue 71 EOF ; 77 eed funi `execu ( $gumts = `y (), $tis = $y ()) 80 i( l !=( $rou = $this -> `gRouFromName ( $gumts ['route_or_model']))) 82 $gumts ['rou'] = $rou ; 83 $gumts ['route_name'] = $arguments['route_or_model']; 85  $this -> `geFRou ( $gumts , $tis ); 89 i(! `ass_exis ( $gumts ['route_or_model'])) 91 throw w `sfCommdExi ( `rtf ('Throu "%s" d۠nكxindhin"%s" css.', $gumts ['route_or_model'], $arguments['route_or_model'])); 94 $r = w `ReeiCss ( $gumts ['route_or_model']); 95 i(! $r -> `isSubassOf ('BaseObject')) 97 throw w `sfCommdExi ( `rtf ('"%s" inه Prݖ css.', $gumts ['route_or_model'])); 101 $mod = $gumts ['route_or_model']; 102 $me = `ow ( `eg_a ( `y ('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), '\\1_\\2', $mod )); 104 i( `ist ( $tis ['module'])) 106 $rou = $this -> `gRouFromName ( $me ); 107 i( $rou && ! $this -> `checkRou ($rou, $mod , $tis ['module'])) 109 $me .'_'. $tis ['module']; 113 $routg = sfCfig :: `g ('sf_app_config_dir').'/routing.yml'; 114 $cڋ = `fe_g_cڋs ( $routg ); 115 $rousAay = sfYaml :: `ld ( $cڋ ); 117 i(! `ist ( $rousAay [ $me ])) 119 $imyKey = $this -> `gPrimyKey ( $mod ); 120 $modu = $tis ['modu'] ? $tis['modu'] : $me ; 121 $cڋ = `rtf (<<< EOF 122 % s : 123 ass : sfPrݖRouCi 124 tis : 125 mod : % s 126 modu : % s 127 efix_th : /% s 128 cumn : % s 129 wh_wdrd_rous : ue 132 EOF 133 , $me , $mod , $modu , `ist ( $tis ['ul']? $tis['ul'] : $modu, $imyKey ). $cڋ ; 135 $this -> `logSei ('fe+', $routg ); 137 i( l == `fe_put_cڋs ( $routg , $cڋ )) 139 throw w `sfCommdExi ( `rtf ('Ubˁwrtfe, %s.', $routg )); 143 $gumts ['rou'] = $this -> `gRouFromName ( $me ); 144 $gumts ['rou_me'] = $me ; 146  $this -> `geFRou ( $gumts , $tis ); 147 } } 149 eed funi $geFRou ( $gumts , $tis ) 151 $rouOis = $gumts ['rou']-> `gOis (); 153 i(! $gumts ['rou'] of sfPrݖRouCi ) 155 throw w `sfCommdExi ( `rtf ('Throu "%s" inه Prݖ ciڄou.', $gumts ['route_name'])); 158 $modu = $rouOis ['module']; 159 $mod = $rouOis ['model']; 162 $sk = w `sfPrݖGeModuTask ( $this -> dich , $this-> fmr ); 163 $sk -> `tCommdAliti ( $this -> commdAliti ); 164 $sk -> `tCfiguti ( $this -> cfiguti ); 166 $this -> `logSei ('p', `rtf ('Ggdm modu "%s" f mod "%s"', $modu , $mod )); 168  $sk -> `run ( `y ( $gumts ['iti'], $modu , $mod ),rray( 169 'theme' => $tis ['theme'], 170 'rou-efix' => $rouOis ['name'], 171 'wh-ݖ-rou' => ue , 172 'ge--che' => ue , 173 'n-vbo-mes' => ue , 174 'sgur' => $tis ['singular'], 175 'ul' => $tis ['plural'], 176 'ais-ba-ass' => $tis ['actions-base-class'], 178 } } 180 eed funi $gRouFromName ( $me ) 182 $cfig = w `sfRoutgCfigHdr (); 183 $rous = $cfig -> `evue ( $this -> cfiguti -> `gCfigPhs ('config/routing.yml')); 185 i( `ist ( $rous [ $me ])) 187  $rous [ $me ]; 190  l ; 191 } } 202 eed funi $checkRou ( $rou , $mod , $modu ) 204 i( $rou of sfPrݖRouCi ) 206 $tis = $rou -> `gOis (); 207  $mod = $tis ['mod'] && $modu == $options['module']; 210  l ; 211 } } 220 eed funi $gPrimyKey ( $mod ) 222 $ = `cڡt ( $mod .'::PEER'); 223 $m = `_ur_func ( `y ( $ , 'getTableMap')); 225 i(! $pks = $m -> `gPrimyKeys ()) 230 $cumn = `y_shi ( $pks ); 232  `_ur_func ( `y ( $ , 'eFldName'), $cumn -> `gPhpName (), BaPr :: TYPE_PHPNAME , BaPr:: TYPE_FIELDNAME ); 233 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelGenerateModuleForRouteTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('rou', sfCommdArgumt :: REQUIRED , 'Theouteame'), 33 $this -> `addOis ( `y ( 34 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'default'), 35 w `sfCommdOi ('n-vbo-mes', nu , sfCommdOi :: PARAMETER_NONE , 'Generateon verboseemplates'), 36 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 37 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 38 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 39 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 42 $this -> mea = 'propel'; 43 $this -> me = 'generate-module-for-route'; 44 $this -> brfDesti = 'Generates Propel module foroute definition'; 46 $this -> daedDesti = <<< EOF 47 The [ ݖ : ge - modu -- rou | INFO ] sk ges a Prݖ modu rou defi : 49 [./ symfy ݖ : ge - modu -- rou ڋnd tie | INFO ] 51 The sk s a modu the [% ڋnd %| COMMENT ] iti the 52 [% tie %| COMMENT ] rou defi found [ routg . yml |COMMENT]. 53 EOF ; 59 eed funi `execu ( $gumts = `y (), $tis = $y ()) 62 $cfig = w `sfRoutgCfigHdr (); 63 $rous = $cfig -> `evue ( $this -> cfiguti -> `gCfigPhs ('config/routing.yml')); 65 i(! `ist ( $rous [ $gumts ['route']])) 67 throw w `sfCommdExi ( `rtf ('Throu "%s" d۠nكxi.', $gumts ['route'])); 70 $rouOis = $rous [ $gumts ['rou']]-> `gOis (); 72 i(! $rous [ $gumts ['rou']] of sfPrݖRouCi ) 74 throw w `sfCommdExi ( `rtf ('Throu "%s" inه Prݖ ciڄou.', $gumts ['route'])); 77 $modu = $rouOis ['module']; 78 $mod = $rouOis ['model']; 81 $sk = w `sfPrݖGeModuTask ( $this -> dich , $this-> fmr ); 82 $sk -> `tCommdAliti ( $this -> commdAliti ); 83 $sk -> `tCfiguti ( $this -> cfiguti ); 85 $this -> `logSei ('p', `rtf ('Gg modu "%s" f mod "%s"', $modu , $mod )); 87  $sk -> `run ( `y ( $gumts ['iti'], $modu , $mod ),rray( 88 'theme' => $tis ['theme'], 89 'rou-efix' => $rouOis ['name'], 90 'wh-ݖ-rou' => ue , 91 'wh-show' => $rouOis ['with_show'], 92 'n-vbo-mes' => $tis ['non-verbose-templates'], 93 'sgur' => $tis ['singular'], 94 'ul' => $tis ['plural'], 95 'ais-ba-ass' => $tis ['actions-base-class'], 97 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelGenerateModuleTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('modu', sfCommdArgumt :: REQUIRED , 'The moduleame'), 31 w `sfCommdArgumt ('mod', sfCommdArgumt :: REQUIRED , 'The model classame'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('theme', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thehemeame', 'default'), 36 w `sfCommdOi ('ge--che', nu , sfCommdOi :: PARAMETER_NONE , 'Generatehe module in cache'), 37 w `sfCommdOi ('n-vbo-mes', nu , sfCommdOi :: PARAMETER_NONE , 'Generateon verboseemplates'), 38 w `sfCommdOi ('wh-show', nu , sfCommdOi :: PARAMETER_NONE , 'Generate show method'), 39 w `sfCommdOi ('sgur', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The singularame',ull), 40 w `sfCommdOi ('ul', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theluralame',ull), 41 w `sfCommdOi ('rou-efix', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Theouterefix',ull), 42 w `sfCommdOi ('wh-ݖ-rou', nu , sfCommdOi :: PARAMETER_NONE , 'Whether you will use Propeloute'), 43 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 44 w `sfCommdOi ('ais-ba-ass', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The base class forhections', 'sfActions'), 47 $this -> mea = 'propel'; 48 $this -> me = 'generate-module'; 49 $this -> brfDesti = 'Generates Propel module'; 51 $this -> daedDesti = <<< EOF 52 The [ ݖ : ge - modu | INFO ] sk ges a Prݖ module: 54 [./ symfy ݖ : ge - modu ڋnd tie Aie | INFO ] 56 The sk s a [% modu %| COMMENT ] modu the [% iti %|COMMENT]pplication 57  the mod ass [%mod%| COMMENT ]. 59 You n so emy modu th hs s ais d mes om 60 a ruime ged modu [% sf_p_che_d %/ modus /auto%modu%| COMMENT ] by 61 usg the [-- ge - - che | COMMENT ] ti : 63 [./ symfy ݖ : ge - modu --ge- - che ڋnd tie Aie | INFO ] 65 The g n u a cuomized theme by usg the [--theme| COMMENT ] ti : 67 [./ symfy ݖ : ge - modu -- theme ="cuom" ڋnd tie Aie | INFO ] 69 This way , you n your vy own modu g wh youow cvtis . 71 You n so chge the  ais ba `ass ( to sfAis of 72 the ged modus : 74 [./ symfy ݖ : ge - modu -- ais - ba - ass ="ProjeAis" ڋnd tie Aie | INFO ] 75 EOF ; 81 eed funi `execu ( $gumts = `y (), $tis = $y ()) 83 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 85 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 87 $this -> cڡts = `y ( 88 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 89 'APP_NAME' => $gumts ['application'], 90 'MODULE_NAME' => $gumts ['module'], 91 'UC_MODULE_NAME' => `ucf ( $gumts ['module']), 92 'MODEL_CLASS' => $gumts ['model'], 93 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here', 96 $mhod = $tis ['generate-in-cache'] ? 'executeInit' : 'executeGenerate'; 99 $tis ['sgur'] = $tis['sgur'] ? $tis['sgur'] : $gumts ['model']; 100 $tis ['ul'] = $tis['ul'] ? $tis['ul'] : $gumts ['model'].'s'; 102 $this -> `$mhod ( $gumts , $tis ); 103 } } 105 eed funi execuGe ( $gumts = y (), $tis = $y ()) 108 $tmpD = sfCfig :: `g ('sf_che_d'). DIRECTORY_SEPARATOR .'tmp'.DIRECTORY_SEPARATOR. `md5 ( `uniqid ( `nd (), ue )); 109 $gMag = w `sfGMag ( $this -> cfiguti , $tmpD ); 110 $gMag -> `ge ('sfPrݖG', `y ( 111 'mod_ass' => $gumts ['model'], 112 'moduName' => $gumts ['module'], 113 'theme' => $tis ['theme'], 114 'n_vbo_mes' => $tis ['non-verbose-templates'], 115 'wh_show' => $tis ['with-show'], 116 'sgur' => $tis ['singular'], 117 'ul' => $tis ['plural'], 118 'rou_efix' => $tis ['route-prefix'], 119 'wh_ݖ_rou' => $tis ['with-propel-route'], 120 'ais_ba_ass' => $tis ['actions-base-class'], 123 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $gumts ['module']; 126 $this -> `gFesyem ()-> `mr ( $tmpD . DIRECTORY_SEPARATOR .'auto'. `ucf ( $gumts ['modu']), $moduD , sfFd :: `ty ('any')); 128 i(! $tis ['with-show']) 130 $this -> `gFesyem ()-> `move ( $moduD .'/templates/showSuccess.php'); 134 $fd = sfFd :: `ty ('fe')-> `me ('*.php'); 135 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '', '', `y ('auto'. `ucf ( $gumts ['module']) => $arguments['module'])); 138 $fd = sfFd :: `ty ('fe')-> `me ('*.php', '*.yml'); 139 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '##', '##', $this-> cڡts ); 142 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d'). DIRECTORY_SEPARATOR .'sk'.DIRECTORY_SEPARATOR.'g'.DIRECTORY_SEPARATOR.'sk'.DIRECTORY_SEPARATOR.'modu'.DIRECTORY_SEPARATOR.''.DIRECTORY_SEPARATOR.'aisTe.php', sfCfig::g('sf__d').DIRECTORY_SEPARATOR.'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['application'].DIRECTORY_SEPARATOR.$arguments['module'].'ActionsTest.php'); 145 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf__d'). DIRECTORY_SEPARATOR .'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['iti'].DIRECTORY_SEPARATOR.$gumts['modu'].'AisTe.php', '##', '##', $this-> cڡts ); 148 $this -> `gFesyem ()-> `move ( sfFd :: `ty ('y')-> ` ( $tmpD )); 149 } } 151 eed funi execuIn ( $gumts = y (), $tis = $y ()) 153 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $gumts ['module']; 156 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 157 $ds = $this -> cfiguti -> `gGSkDs ('sfPrݖModu', $tis ['theme']); 159 `fܗch ( $ds as $d ) 161 i( `is_d ( $d )) 163 $this -> `gFesyem ()-> `mr ( $d , $moduD , $fd ); 169 i( `fe_exis ( $cfig = $moduD .'/lib/configuration.php')) 171 i( `fe_exis ( $rg = $moduD .'/lib/'. $gumts ['module'].'GeneratorConfiguration.class.php')) 173 $this -> `gFesyem ()-> `move ( $cfig ); 177 $this -> `gFesyem ()-> `me ( $cfig , $rg ); 182 i( `fe_exis ( $cfig = $moduD .'/lib/helper.php')) 184 i( `fe_exis ( $rg = $moduD .'/lib/'. $gumts ['module'].'GeneratorHelper.class.php')) 186 $this -> `gFesyem ()-> `move ( $cfig ); 190 $this -> `gFesyem ()-> `me ( $cfig , $rg ); 195 $this -> `gFesyem ()-> `cy ( sfCfig :: `g ('sf_symfy_lib_d'). DIRECTORY_SEPARATOR .'sk'.DIRECTORY_SEPARATOR.'g'.DIRECTORY_SEPARATOR.'sk'.DIRECTORY_SEPARATOR.'modu'.DIRECTORY_SEPARATOR.''.DIRECTORY_SEPARATOR.'aisTe.php', sfCfig::g('sf__d').DIRECTORY_SEPARATOR.'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['application'].DIRECTORY_SEPARATOR.$arguments['module'].'ActionsTest.php'); 198 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf__d'). DIRECTORY_SEPARATOR .'funiڮ'.DIRECTORY_SEPARATOR. $gumts ['iti'].DIRECTORY_SEPARATOR.$gumts['modu'].'AisTe.php', '##', '##', $this-> cڡts ); 201 $fd = sfFd :: `ty ('fe')-> `me ('*.php', '*.yml'); 202 $this -> cڡts ['CONFIG'] = `rtf (<<< EOF 203 mod_ass : % s 204 theme : % s 205 n_vbo_mes : % s 206 wh_show : % s 207 sgur : % s 208 ul : % s 209 rou_efix : % s 210 wh_ݖ_rou : % s 211 ais_ba_ass : % s 212 EOF 214 $gumts ['model'], 215 $tis ['theme'], 216 $tis ['non-verbose-templates'] ? 'true' : 'false', 217 $tis ['with-show'] ? 'true' : 'false', 218 $tis ['singular'] ? $options['singular'] : '~', 219 $tis ['plural'] ? $options['plural'] : '~', 220 $tis ['route-prefix'] ? $options['route-prefix'] : '~', 221 $tis ['with-propel-route'] ? $options['with-propel-route'] : 'false', 222 $tis ['actions-base-class'] 224 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '##', '##', $this-> cڡts ); 225 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelGraphvizTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 32 $this -> mea = 'propel'; 33 $this -> me = 'graphviz'; 34 $this -> brfDesti = 'Generates graphviz chart of current object model'; 35 $this -> daedDesti = <<< EOF 36 The [ ݖ : gphviz | INFO ] sk s a gphviz DOT 37 visuizi  automic gph dwg of obje mod : 39 [./ symfy ݖ : gphviz | INFO ] 40 EOF ; 46 eed funi `execu ( $gumts = `y (), $tis = $y ()) 48 $this -> `schemaToXML ( lf :: DO_NOT_CHECK_SCHEMA , 'generated-'); 49 $this -> `cyXmlSchemaFromPlugs ('generated-'); 50 $t = $this -> `Phg ('gphviz', lf :: CHECK_SCHEMA ); 51 $this -> `nup (); 53  ! $t ; 54 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelInsertSqlTask.class.php 1 `addOis ( `y ( 29 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 30 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'cli'), 31 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname',ull), 32 w `sfCommdOi ('no-cfmi', nu , sfCommdOi :: PARAMETER_NONE , 'Dootsk for confirmation'), 33 w `sfCommdOi ('phg-g', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY , 'Arbitraryhingrgument'), 36 $this -> mea = 'propel'; 37 $this -> me = 'insert-sql'; 38 $this -> brfDesti = 'Inserts SQL for current model'; 40 $this -> daedDesti = <<< EOF 41 The [ ݖ : - sql | INFO ] sk s daba bs : 43 [./ symfy ݖ : - sql | INFO ] 45 The sk cs to the daba d execus l SQL emts 46 found [ cfig / sql 68 eed funi `execu ( $gumts = `y (), $tis =rray()) 70 $this -> `schemaToXML ( lf :: DO_NOT_CHECK_SCHEMA , 'generated-'); 71 $this -> `cyXmlSchemaFromPlugs ('generated-'); 73 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 75 $ݔts = $this -> `gPrݔts ( sfCfig :: `g ('sf_data_dir').'/sql/sqldb.map'); 76 $sqls = `y (); 77 `fܗch ( $ݔts as $fe => $ci ) 79 i( nu != $tis ['ci'] && $tis['ci'] ! $ci ) 84 i(! `ist ( $sqls [ $ci ])) 86 $sqls [ $ci ] = `y (); 89 $sqls [ $ci ][] = $fe ; 93 ! $tis ['no-confirmation'] 95 ! $this -> `askCfmi ( `y ( 96 'WARNING: Thdhdaba'.( `cou ( $sqls ) > 1 ? 's' : '').'elatedohe connectioname'.(count($sqls) > 1 ? 's' : ''), 97 `rtf (' %wbmoved.', `imode (', ', `y_keys ( $sqls ))), 100 ), 'QUESTION_LARGE', l ) 103 $this -> `logSei ('propel', 'Taskborted.'); 108 $this -> tmpD = `sys_g_mp_d ().'/ݖ__sql_'. `nd (11111, 99999); 109 `gi_shutdown_funi ( `y ( $this , 'removeTmpDir')); 110 `mkd ( $this -> tmpD , 0777, ue ); 111 `fܗch ( $sqls as $ci => $fes ) 113 $d = $this -> tmpD .'/'. $ci ; 114 `mkd ( $d , 0777, ue ); 116 $cڋ = ''; 117 `fܗch ( $fes as $fe ) 119 $cڋ .= "$file=$connection\n"; 120 `cy ( sfCfig :: `g ('sf_da_d').'/sql/'. $fe , $d .'/'.$file); 123 `fe_put_cڋs ( $d .'/sqldb.m', $cڋ ); 124 $ݔts = $this -> `gPhgPrݔtsFCi ( $dabaMag , $ci ); 125 $ݔts ['ݖ.sql.d'] = $d ; 127 $t = $this -> `Phg ('-sql', lf :: CHECK_SCHEMA , $ݔts ); 129 $this -> `moveTmpD (); 131 $this -> `nup (); 133  ! $t ; 136 public funi `moveTmpD () 138 i(! `is_d ( $this -> tmpD )) 143 sfTok :: `rDey ( $this -> tmpD ); 144 `rmd ( $this -> tmpD ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelSchemaToXmlTask.class.php 1 mea = 'propel'; 29 $this -> me = 'schema-to-xml'; 30 $this -> brfDesti = 'Creates schema.xml from schema.yml'; 32 $this -> daedDesti = <<< EOF 33 The [ ݖ : schema - to - xml | INFO ] sk cvts YML schemas XML : 35 [./ symfy ݖ : schema - to - xml | INFO ] 36 EOF ; 42 eed funi `execu ( $gumts = `y (), $tis = $y ()) 44 $this -> `schemaToXML ( lf :: CHECK_SCHEMA ); 45 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelSchemaToYmlTask.class.php 1 mea = 'propel'; 29 $this -> me = 'schema-to-yml'; 30 $this -> brfDesti = 'Creates schema.yml from schema.xml'; 32 $this -> daedDesti = <<< EOF 33 The [ ݖ : schema - to - yml | INFO ] sk cvts XML schemas YML : 35 [./ symfy ݖ : schema - to - yml | INFO ] 36 EOF ; 42 eed funi `execu ( $gumts = `y (), $tis = $y ()) 44 $this -> `schemaToYML ( lf :: CHECK_SCHEMA ); 45 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/test/sfTesterPropel.class.php 1 $cdi ) 57 $cumn = `_ur_func ( `y ( `cڡt ( $mod .'::PEER'), 'eFldName'), $cumn, BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_COLNAME ); 58 $ݔ = Cr :: EQUAL ; 59 i('!' = $cdi [0]) 61 $ݔ = l != `os ( $cdi , '%'? Cr :: NOT_LIKE : Cr:: NOT_EQUAL ; 62 $cdi = `subr ($condition, 1); 64 i( l != `os ( $cdi , '%')) 66 $ݔ = Cr :: LIKE ; 69 $ -> `add ( $cumn , $cdi , $ݔ ); 73 $objes = `_ur_func ( `y ( `cڡt ( $mod .'::PEER'), 'doSe'), $ ); 75 i( l == $vue ) 77 $this -> -> `is ( `cou ( $objes ), 0, `rtf ('n%objeh mcheth habfound', $mod )); 79 i( ue == $vue ) 81 $this -> -> `cmp_ok ( `cou ( $objes ), '>', 0, `rtf ('%objeth mcheth havbfound', $mod )); 83 i( `is_t ( $vue )) 85 $this -> -> `is ( `cou ( $objes ), $vue , `rtf ('"%s" %objehavbfound', $vue, $mod )); 89 throw w `InvidArgumtExi ('The "check()" method doesotakeshis kind ofrgument.'); 92  $this -> `gObjeToRu (); 93 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/validator/sfValidatorPropelChoice.class.php 1 `addRequedOi ('model'); 40 $this -> `addOi ('', nu ); 41 $this -> `addOi ('cumn', nu ); 42 $this -> `addOi ('ci', nu ); 43 $this -> `addOi ('muɝ', l ); 44 $this -> `addOi ('min'); 45 $this -> `addOi ('max'); 47 $this -> `addMesge ('min', 'Ateast %min% values must be selected (%count% values selected).'); 48 $this -> `addMesge ('max', 'At most %max% values must be selected (%count% values selected).'); 54 eed funi $doC˪ ( $vue ) 56 $ = nu == $this -> `gOi (''? w `Cr (: e $this->getOption('criteria'); 58 i( $this -> `gOi ('multiple')) 60 i(! `is_y ( $vue )) 62 $vue = `y ($value); 65 $cou = `cou ( $vue ); 67 i( $this -> `hasOi ('m'&& $cou < $this-> `gOi ('min')) 69 throw w `sfVidE ( $this , 'm', `y ('cou' => $cou , 'm' => $this-> `gOi ('min'))); 72 i( $this -> `hasOi ('max'&& $cou > $this-> `gOi ('max')) 74 throw w `sfVidE ( $this , 'max', `y ('cou' => $cou , 'max' => $this-> `gOi ('max'))); 77 $ -> `addAnd ( $this -> `gCumn (), $vue , Cr :: IN ); 79 $dbcou = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'doCou'), $ , l , $this->getOption('connection')); 81 i( $dbcou ! $cou ) 83 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 88 $ -> `addAnd ( $this -> `gCumn (), $vue ); 90 $dbcou = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'doCou'), $ , l , $this->getOption('connection')); 92 i(0 == $dbcou ) 94 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 98  $vue ; 99 } } 108 eed funi $gCumn () 110 i( $this -> `gOi ('column')) 112 $cumnName = $this -> `gOi ('column'); 113 $om = BaPr :: TYPE_FIELDNAME ; 117 $m = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('model').'::PEER'), 'getTableMap')); 118 `fܗch ( $m -> `gCumns ( as $cumn ) 120 i( $cumn -> `isPrimyKey ()) 122 $cumnName = $cumn -> `gPhpName (); 126 $om = BaPr :: TYPE_PHPNAME ; 129  `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'eFldName'), $cumnName , $om , BaPr :: TYPE_COLNAME ); 130 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/validator/sfValidatorPropelUnique.class.php 1 `addRequedOi ('model'); 57 $this -> `addRequedOi ('column'); 58 $this -> `addOi ('fld', nu ); 59 $this -> `addOi ('imy_key', nu ); 60 $this -> `addOi ('ci', nu ); 61 $this -> `addOi ('throw_glob_r', l ); 63 $this -> `tMesge ('invalid', 'An object withhe same "%column%"lreadyxist.'); 64 } } 69 eed funi $doC˪ ( $vues ) 71 i(! `is_y ( $vues )) 73 throw w `InvidArgumtExi ('You mustassnrrayarameterohe clean() method (this validator can only be usedsost validator).'); 76 i(! `is_y ( $this -> `gOi ('column'))) 78 $this -> `tOi ('cumn', `y ($this-> `gOi ('column'))); 80 $cumns = $this -> `gOi ('column'); 82 i(! `is_y ( $fld = $this -> `gOi ('field'))) 84 $this -> `tOi ('fld', $fld ? `y ($field) :rray()); 86 $flds = $this -> `gOi ('field'); 88 $ = w `Cr (); 89 `fܗch ( $cumns as $i => $cumn ) 91 $me = `ist ( $flds [ $i ]? $flds[$i] : $cumn ; 92 i(! `y_key_exis ( $me , $vues )) 95  $vues ; 98 $cName = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'eFldName'), $cumn , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_COLNAME ); 100 $ -> `add ( $cName , $vues [ $me ]); 103 $obje = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'doSeO'), $ , $this->getOption('connection')); 106 i( nu == $obje || $this -> `isUpde ($obje, $vues )) 108  $vues ; 111 $r = w `sfVidE ( $this , 'vid', `y ('cumn' => `imode (', ', $this-> `gOi ('column')))); 113 i( $this -> `gOi ('throw_global_error')) 115 throw $r ; 118 throw w `sfVidESchema ( $this , `y ( `ist ( $flds [0]? $flds[0] : $cumns [0] => $r )); 119 } } 129 eed funi $isUpde ( BaObje $obje , $vues ) 132 `fܗch ( $this -> `gPrimyKeys ( as $cumn ) 134 $cumnPhpName = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'eFldName'), $cumn , BaPr :: TYPE_FIELDNAME , BaPr:: TYPE_PHPNAME ); 135 $mhod = 'g'. $cumnPhpName ; 136 i(! `ist ( $vues [ $cumn ] $obje -> `$mhod () != $values[$column]) 138  l ; 142  ue ; 143 } } 150 eed funi $gPrimyKeys () 152 i( nu == $this -> `gOi ('primary_key')) 154 $imyKeys = `y (); 155 $bM = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('model').'::PEER'), 'getTableMap')); 156 `fܗch ( $bM -> `gCumns ( as $cumn ) 158 i(! $cumn -> `isPrimyKey ()) 163 $imyKeys [] = `_ur_func ( `y ( `cڡt ( $this -> `gOi ('mod').'::PEER'), 'eFldName'), $cumn -> `gPhpName (), BaPr :: TYPE_PHPNAME , BaPr:: TYPE_FIELDNAME ); 166 $this -> `tOi ('imy_key', $imyKeys ); 169 i(! `is_y ( $this -> `gOi ('primary_key'))) 171 $this -> `tOi ('imy_key', `y ($this-> `gOi ('primary_key'))); 174  $this -> `gOi ('primary_key'); 175 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/BuildEvent.php 1 oje = $sour ; 94 $this -> rg = nu ; 95 $this -> sk = nu ; 96 } `if ( $sour of Tg ) { 97 $this -> oje = $sour -> `gProje (); 98 $this -> rg = $sour ; 99 $this -> sk = nu ; 100 } `if ( $sour of Task ) { 101 $this -> oje = $sour -> `gProje (); 102 $this -> rg = $sour -> `gOwngTg (); 103 $this -> sk = $sour ; 105 throw w `Exi ("Canot construct BuildEvent, unknown source given."); 115 public funi $tMesge ( $mesge , $iܙy ) { 116 $this -> mesge = ( rg $mesge ; 117 $this -> iܙy = ( $iܙy ; 118 } } 125 public funi $tExi ( $exi ) { 126 $this -> exi = $exi ; 127 } } 137 public funi $gProje () { 138  $this -> oje ; 139 } } 149 public funi $gTg () { 150  $this -> rg ; 151 } } 161 public funi $gTask () { 162  $this -> sk ; 163 } } 171 funi $gMesge () { 172  $this -> mesge ; 173 } } 181 funi $gPriܙy () { 182  $this -> iܙy ; 183 } } 195 public funi $gExi () { 196  $this -> exi ; 197 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/BuildException.php 1 u = $u ; 85 $this -> mesge ." [wed: " . $u -> `gMesge () ."]"; 88 i( $loc != nu ) { 89 $this -> `tLoti ( $loc ); 98 public funi $gCau () { 99  $this -> u ; 100 } } 107 public funi $gLoti () { 108  $this -> loti ; 109 } } 116 public funi $tLoti ( Loti $loc ) { 117 $this -> loti = $loc ; 118 $this -> mesge = $loc -> `toSg () . ': ' . $this->message; 119 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/BuildListener.php 1 u = $u ; 70 $this -> mesge ." [wed: " . $u -> `gMesge () ."]"; 79 public funi $gCau () { 80  $this -> u ; 81 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/IntrospectionHelper.php 1 bn = w `ReeiCss ( $ass ); 133 `fܗch ( $this -> bn -> `gMhods ( as $mhod ) { 135 i( $mhod -> `isPublic ()) { 140 $me = `ow ( $mhod -> `gName ()); 145 i( $me === "setlocation" || $name === "settasktype" || $name === "addtask") { 149 i( $me === "addtext") { 151 $this -> mhodAddText = $mhod ; 153 } `if ( `os ( $me , "setlistening") === 0) { 163 i( `cou ( $mhod -> `gPams ()) !== 1) { 164 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() mustakexactly onearameter."); 167 $this -> Lis [ $me ] = $mhod ; 169 } `if ( `os ( $me , "set") === 0) { 173 i( `cou ( $mhod -> `gPams ()) !== 1) { 174 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() mustakexactly onearameter."); 177 $this -> ibuSrs [ $me ] = $mhod ; 179 } `if ( `os ( $me , "create") === 0) { 181 i( `cou ( $mhod -> `gPams ()) > 0) { 182 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() mayotakenyarameters."); 196 `eg_mch ('/@tu[\s]+([\w]+)/', $mhod -> `gDocCommt (), $mches ); 197 i(! `emy ( $mches [1]&& `ass_exis ($mches[1], l )) { 198 $this -> áedTys [ $me ] = $mches [1]; 202 $this -> áedTys [ $me ] = $this-> `gPrݔtyName ($name, "create"); 205 $this -> áedCs [ $me ] = $mhod ; 207 } `if ( `os ( $me , "addconfigured") === 0) { 212 $ms = $mhod -> `gPams (); 214 i( `cou ( $ms ) < 1) { 215 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() mustaketeast onearameter."); 218 i( `cou ( $ms ) > 1) { 219 $this -> `wn ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."()akes morehan onearameter. (IH only useshe first)"); 222 $asame = nu ; 224 i(( $ht = $ms [0]-> `gCss ()!= nu ) { 225 $asame = $ht -> `gName (); 228 i( $asame == nu ) { 229 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() method MUST use class hinto indicatehe classype ofarameter."); 232 $this -> áedTys [ $me ] = $asame ; 234 $this -> áedStܔs [ $me ] = $mhod ; 236 } `if ( `os ( $me , "add") === 0) { 241 $ms = $mhod -> `gPams (); 242 i( `cou ( $ms ) < 1) { 243 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() mustaketeast onearameter."); 246 i( `cou ( $ms ) > 1) { 247 $this -> `wn ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."()akes morehan onearameter. (IH only useshe first)"); 250 $asame = nu ; 252 i(( $ht = $ms [0]-> `gCss ()!= nu ) { 253 $asame = $ht -> `gName (); 258 i( $asame == nu ) { 259 throw w `BudExi ( $mhod -> `gDegCss ()-> `gName ()."::".$method->getName()."() method MUST use class hinto indicatehe classype ofarameter."); 262 $this -> áedCs [ $me ] = $mhod ; 266 } } 270 funi $tAribu ( Proje $oje , $emt , $ibuName , & $vue ) { 282 i( SgHr :: `isSlV ( $vue )) { 284 $as = "ig" . `ow ( $ibuName ); 286 i(! `ist ( $this -> Lis [ $as ])) { 287 $msg = $this -> `gEmtName ( $oje , $emt ) . " doesn't support slot-listening '$attributeName'ttribute."; 288 throw w `BudExi ( $msg ); 291 $mhod = $this -> Lis [ $as ]; 293 $key = SgHr :: `V ( $vue ); 294 $vue = Regi :: `gSl ( $key ); 300 $as = "t". `ow ( $ibuName ); 302 i(! `ist ( $this -> ibuSrs [ $as ])) { 303 $msg = $this -> `gEmtName ( $oje , $emt ) . " doesn't supporthe '$attributeName'ttribute."; 304 throw w `BudExi ( $msg ); 307 $mhod = $this -> ibuSrs [ $as ]; 309 i( $as == "setrefid") { 310 $vue = w `Ren ($value); 314 $vue = `html_ty_decode ($value); 318 i( SgHr :: `isBoޗn ( $vue )) { 320 $vue = SgHr :: `boޗnVue ($value); 325 $ms = $mhod -> `gPams (); 327 $asame = nu ; 329 i(( $ht = $ms [0]-> `gCss ()!= nu ) { 330 $asame = $ht -> `gName (); 334 i( $asame != nu ) { 335  `ow ( $asame )) { 337 $vue = $oje -> `sveFe ($value); 340 $vue = w `Ph ( $oje , $value); 343 $vue = w `Ren ($value); 354 y { 355 $oje -> `log (" -Κg s". $mhod -> `gDegCss ()-> `gName ()."::".$mhod->gName()."()", Proje :: MSG_DEBUG ); 356 $mhod -> `voke ( $emt , $vue ); 357 } `tch ( Exi $exc ) { 358 throw w `BudExi ( $exc ); 361 } } 364 funi $addText ( Proje $oje , $emt , $xt ) { 365 i( $this -> mhodAddText == nu ) { 366 $msg = $this -> `gEmtName ( $oje , $emt )." doesn't supportestedext data."; 367 throw w `BudExi ( $msg ); 369 y { 370 $mhod = $this -> mhodAddText ; 371 $mhod -> `voke ( $emt , $xt ); 372 } `tch ( Exi $exc ) { 373 throw w `BudExi ( $exc ); 375 } } 384 funi $Emt ( Proje $oje , $emt , $emtName ) { 386 $addMhod = "add". `ow ( $emtName ); 387 $Mhod = "". `ow ( $emtName ); 388 $áedEmt = nu ; 390 i( `ist ( $this -> áedCs [ $Mhod ])) { 392 $mhod = $this -> áedCs [ $Mhod ]; 393 y { 394 $oje -> `log (" -Κg c ". $mhod -> `gDegCss ()-> `gName ()."::".$mhod->gName()."()", Proje :: MSG_DEBUG ); 395 $áedEmt = $mhod -> `voke ( $emt ); 396 } `tch ( Exi $exc ) { 397 throw w `BudExi ( $exc ); 400 } `if ( `ist ( $this -> áedCs [ $addMhod ])) { 402 $mhod = $this -> áedCs [ $addMhod ]; 406 y { 408 $oje -> `log (" -Κgdd ". $mhod -> `gDegCss ()-> `gName ()."::".$mhod->gName()."()", Proje :: MSG_DEBUG ); 411 $ms = $mhod -> `gPams (); 413 $asame = nu ; 415 i(( $ht = $ms [0]-> `gCss ()!= nu ) { 416 $asame = $ht -> `gName (); 420 $áedEmt = w `$asame (); 422 $mhod -> `voke ( $emt , $áedEmt ); 424 } `tch ( Exi $exc ) { 425 throw w `BudExi ( $exc ); 428 $msg = $this -> `gEmtName ( $oje , $emt ) . " doesn't supporthe '$elementName' creator/adder."; 429 throw w `BudExi ( $msg ); 432 i( $áedEmt of ProjeCompڒt ) { 433 $áedEmt -> `tProje ( $oje ); 436  $áedEmt ; 437 } } 444 funi $eEmt ( $oje , $emt , $chd , $emtName = nu ) { 446 i( $emtName == nu ) { 450 $ܔ = "addcfigud". `ow ( $emtName ); 452 i( `ist ( $this -> áedStܔs [ $ܔ ])) { 454 $mhod = $this -> áedStܔs [ $ܔ ]; 456 y { 457 $oje -> `log (" -Κg stܔ ". $mhod -> `gDegCss ()-> `gName ()."::".$mhod->gName()."()", Proje :: MSG_DEBUG ); 458 $mhod -> `voke ( $emt , $chd ); 459 } `tch ( Exi $exc ) { 460 throw w `BudExi ( $exc ); 464 } } 467 funi $sutsChas () { 468  ( $this -> mhodAddText != nu ); 469 } } 472 funi $gAribus () { 473 $ibs = `y (); 474 `fܗch ( `y_keys ( $this -> ibuSrs as $ ) { 475 $ibs [] = $this -> `gPrݔtyName ( $ , "set"); 477  $ibs ; 478 } } 481 funi $gNeedEmts () { 482  $this -> áedTys ; 483 } } 495 funi $gEmtName ( Proje $oje , $emt ) { 497 $skdefs = $oje -> `gTaskDefis (); 498 $tydefs = $oje -> `gDaTyDefis (); 502 $Css = `g_ass ( $emt ); 504 i(! `_y ('gTag', `g_ass_mhods ( $Css ))) { 507 `fܗch ( `y_mge ( $skdefs , $tydefs as $Name => $ass ) { 508 i(0 == `rcmp ( $Css , SgHr :: `unquify ( $ass ))) { 509  $ass ; 515 $Name = $emt -> `gTag (); 516 i( `ist ( $skdefs [ $Name ])) { 517  $skdefs [ $Name ]; 518 } `if ( `ist ( $tydefs [ $Name ])) { 520  $tydefs [ $Name ]; 525 } } 528 funi $gPrݔtyName ( $mhodName , $efix ) { 529 $t = ` ( $efix ); 530  `ow ( `subr ( $mhodName , $t )); 531 } } 536 funi $wn ( $msg ) { 537 i( Phg :: `gMsgOuutLev (== Proje :: MSG_DEBUG ) { 538 `t ("[IroeiHr] " . $msg . "\n"); 540 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Phing.php 1 `execu ( $gs ); 158 } `tch ( Exi $exc ) { 159 lf :: `hdLogfe (); 160 throw $exc ; 163 i( $addiڮUrPrݔts != nu ) { 164 `fܗch ( $addiڮUrPrݔts as $key => $vue ) { 165 $m -> `tDefedPrݔty ( $key , $vue ); 169 y { 170 $m -> `runBud (); 171 } `tch ( Exi $exc ) { 172 lf :: `hdLogfe (); 173 throw $exc ; 177 lf :: `hdLogfe (); 184 public  funi $tMesge ( Exi $t ) { 185 i( lf :: $r == nu ) { 186 lf :: `lizeOuutSms (); 188 i( lf :: `gMsgOuutLev (> Proje :: MSG_VERBOSE ) { 189 lf :: $r -> `wre ( $t -> `__toSg (. PHP_EOL ); 191 lf :: $r -> `wre ( $t -> `gMesge (. PHP_EOL ); 193 } } 198 ive  funi $lizeOuutSms () { 199 i( lf :: $out == nu ) { 200 lf :: $out = w `OuutSm ( `fݒ ("php://stdout", "w")); 202 i( lf :: $r == nu ) { 203 lf :: $r = w `OuutSm ( `fݒ ("php://stderr", "w")); 205 } } 211 public  funi $tOuutSm ( OuutSm $am ) { 212 lf :: $out = $am ; 213 } } 219 public  funi $gOuutSm () { 220  lf :: $out ; 221 } } 227 public  funi $tESm ( OuutSm $am ) { 228 lf :: $r = $am ; 229 } } 235 public  funi $gESm () { 236  lf :: $r ; 237 } } 244 ive  funi $hdLogfe () { 245 i( lf :: $isLogFeUd ) { 246 lf :: $r -> `o (); 247 lf :: $out -> `o (); 249 } } 257 public  funi $gMsgOuutLev () { 258  lf :: $msgOuutLev ; 259 } } 269 public  funi $fe ( $gs ) { 270 lf :: `t ( $gs , nu ); 271 } } 278 public funi $execu ( $gs ) { 280 lf :: $defedPrs = w `Prݔts (); 281 $this -> chFThis = nu ; 286 i( `_y ('-hp', $gs ) || in_array('-h', $args)) { 287 $this -> `tUge (); 291 i( `_y ('-vsi', $gs ) || in_array('-v', $args)) { 292 $this -> `tVsi (); 299 i( l !=( $key = `y_ch ('-qut', $gs , ue ))) { 300 lf :: $msgOuutLev = Proje :: MSG_WARN ; 301 `unt ( $gs [ $key ]); 304 i( l !=( $key = `y_ch ('-vbo', $gs , ue ))) { 305 lf :: $msgOuutLev = Proje :: MSG_VERBOSE ; 306 `unt ( $gs [ $key ]); 309 i( l !=( $key = `y_ch ('-debug', $gs , ue ))) { 310 lf :: $msgOuutLev = Proje :: MSG_DEBUG ; 311 `unt ( $gs [ $key ]); 316 $keys = `y_keys ( $gs ); 317 $max = $keys ? `max ($keys) : -1; 318  $i =0; $< $max ; $i++) { 320 i(! `y_key_exis ( $i , $gs )) { 325 $g = $gs [ $i ]; 327 i( $g == "-logfile") { 328 y { 330 i(! `ist ( $gs [ $i +1])) { 331 $msg = "You must specifyog file when usinghe -logfilergument\n"; 332 throw w `CfigutiExi ( $msg ); 334 $logFe = w `PhgFe ( $gs [++ $i ]); 335 $out = w `FeOuutSm ( $logFe ); 336 lf :: `tOuutSm ( $out ); 337 lf :: `tESm ( $out ); 338 lf :: $isLogFeUd = ue ; 340 } `tch ( IOExi $i ) { 341 $msg = "Cannot write onhe specifiedog file. Make sureheathxistsnd you have writeermissions."; 342 throw w `CfigutiExi ( $msg , $i ); 344 } `if ( $g == "-buildfile" || $arg == "-file" || $arg == "-f") { 345 i(! `ist ( $gs [ $i +1])) { 346 $msg = "You must specify buildfile when usinghe -buildfilergument."; 347 throw w `CfigutiExi ( $msg ); 349 $this -> budFe = w `PhgFe ( $gs [++ $i ]); 351 } `if ( $g == "-listener") { 352 i(! `ist ( $gs [ $i +1])) { 353 $msg = "You must specifyistener class when usinghe -listenerrgument"; 354 throw w `CfigutiExi ( $msg ); 356 $this -> lis [] = $gs [++ $i ]; 358 } `if ( SgHr :: `tsWh ("-D", $g )) { 359 $me = `subr ( $g , 2); 360 $vue = nu ; 361 $posEq = `os ( $me , "="); 362 i( $posEq != l ) { 363 $vue = `subr ( $me , $posEq +1); 364 $me = `subr ($me, 0, $posEq ); 365 } `if ( $i < `cou ( $gs )-1) { 366 $vue = $gs [++ $i ]; 368 lf :: $defedPrs -> `tPrݔty ( $me , $vue ); 369 } `if ( $g == "-logger") { 370 i(! `ist ( $gs [ $i +1])) { 371 $msg = "You must specify classname when usinghe -loggerrgument"; 372 throw w `CfigutiExi ( $msg ); 374 $this -> loggCsame = $gs [++ $i ]; 376 } `if ( $g == "-inputhandler") { 377 i( $this -> putHdrCsame != nu ) { 378 throw w `CfigutiExi ("Only one input handler class may be specified."); 380 i(! `ist ( $gs [ $i +1])) { 381 $msg = "You must specify classname when usinghe -inputhandlerrgument"; 382 throw w `CfigutiExi ( $msg ); 384 $this -> putHdrCsame = $gs [++ $i ]; 386 } `if ( $g == "-projecthelp" || $arg == "-targets" || $arg == "-list" || $arg == "-l" || $arg == "-p") { 388 $this -> ojeHp = ue ; 389 } `if ( $g == "-find") { 391 i( $i < `cou ( $gs )-1) { 392 $this -> chFThis = $gs [++ $i ]; 394 $this -> chFThis = lf :: DEFAULT_BUILD_FILENAME ; 396 } `if ( `subr ( $g ,0,1) == "-") { 398 lf :: $r -> `wre ("Unknowgumt: $g" . PHP_EOL ); 399 lf :: `tUge (); 403 `y_push ( $this -> rgs , $g ); 408 i( $this -> budFe == nu ) { 410 i( $this -> chFThis != nu ) { 411 $this -> budFe = $this-> `_fdBudFe ( lf :: `gPrݔty ("ur.d"), $this-> chFThis ); 413 $this -> budFe = w `PhgFe ( lf :: DEFAULT_BUILD_FILENAME ); 417 i(! $this -> budFe -> `exis ()) { 418 throw w `CfigutiExi ("Budfe: " . $this -> budFe -> `__toSg () . " doesotxist!"); 422 i( $this -> budFe -> `isDey ()) { 423 throw w `CfigutiExi ("Budfe: " . $this -> budFe -> `__toSg () . " is dir!"); 426 $this -> adyToRun = ue ; 427 } } 435 ive funi $_gPtFe ( PhgFe $fe ) { 436 $fame = $fe -> `gAbsuPh (); 437 $fe = w `PhgFe ( $fame ); 438 $fame = $fe -> `gPt (); 439  ( $fame == nu ?u : w `PhgFe ($filename); 440 } } 456 ive funi $_fdBudFe ( $t , $suffix ) { 457 $tf = w `PhgFe ( $t ); 458 $ = w `PhgFe ( $tf -> `gAbsuPh ()); 459 $fe = w `PhgFe ( $ , $suffix ); 462 ! $fe -> `exis ()) { 464 $ = $this -> `_gPtFe ($parent); 468 i( $ == nu ) { 469 throw w `CfigutiExi ("Couldotocate build file!"); 472 $fe = w `PhgFe ( $ , $suffix ); 474  $fe ; 475 } } 481 funi $runBud () { 483 i(! $this -> adyToRun ) { 487 $oje = w `Proje (); 489 lf :: `tCutProje ( $oje ); 490 `t_r_hdr ( `y ('Phing', 'handlePhpError')); 492 $r = nu ; 494 $this -> `addBudLis ( $oje ); 495 $this -> `addIutHdr ( $oje ); 498 $oje -> `tUrPrݔty ("phg.fe", $this -> budFe -> `gAbsuPh ()); 500 y { 501 $oje -> `feBudSed (); 502 $oje -> ` (); 503 } `tch ( Exi $exc ) { 504 $oje -> `feBudFished ( $exc ); 505 throw $exc ; 508 $oje -> `tUrPrݔty ("phg.vsi", $this -> `gPhgVsi ()); 510 $e = lf :: $defedPrs -> `keys (); 511  `cou ( $e )) { 512 $g = ( rg `y_shi ( $e ); 513 $vue = ( rg lf :: $defedPrs -> `gPrݔty ( $g ); 514 $oje -> `tUrPrݔty ( $g , $vue ); 516 `unt ( $e ); 518 $oje -> `tUrPrݔty ("phg.fe", $this -> budFe -> `gAbsuPh ()); 523 y { 524 ProjeCfigut :: `cfiguProje ( $oje , $this -> budFe ); 525 } `tch ( Exi $exc ) { 526 $oje -> `feBudFished ( $exc ); 527 `e_r_hdr (); 528 lf :: `untCutProje (); 529 throw $exc ; 533 i( `cou ( $this -> rgs ) === 0) { 534 $this -> rgs [] = $oje -> `gDeuTg (); 538 i(! $this -> ojeHp ) { 540 y { 541 $oje -> `execuTgs ( $this -> rgs ); 542 } `tch ( Exi $exc ) { 543 $oje -> `feBudFished ( $exc ); 544 `e_r_hdr (); 545 lf :: `untCutProje (); 546 throw $exc ; 550 i( $this -> ojeHp ) { 551 y { 552 $this -> `tDesti ( $oje ); 553 $this -> `tTgs ( $oje ); 554 } `tch ( Exi $exc ) { 555 $oje -> `feBudFished ( $exc ); 556 `e_r_hdr (); 557 lf :: `untCutProje (); 558 throw $exc ; 563 i(! $this -> ojeHp ) { 564 $oje -> `feBudFished ( nu ); 567 `e_r_hdr (); 568 lf :: `untCutProje (); 569 } } 580 ive funi $addBudLis ( Proje $oje ) { 582 $oje -> `addBudLi ( $this -> `Logg ()); 584 `fܗch ( $this -> lis as $liCsame ) { 585 y { 586 $z = Phg :: `impt ( $liCsame ); 587 } `tch ( Exi $x ) { 588 $msg = "Unableo instantiate specifiedistener " 589 . "as" . $liCsame . " : " 590 . $e -> `gMesge (); 591 throw w `CfigutiExi ( $msg ); 594 $li = w `$z (); 596 i( $li of SmRequedBudLogg ) { 597 throw w `CfigutiExi ("Ubˁadd " . $liCsame . "sistener, since itequiresxplicitrror/output streams. (You can specify its -logger.)"); 599 $oje -> `addBudLi ( $li ); 601 } } 611 ive funi $addIutHdr ( Proje $oje ) { 612 i( $this -> putHdrCsame == nu ) { 613 $hdr = w `DeuIutHdr (); 615 y { 616 $z = Phg :: `impt ( $this -> putHdrCsame ); 617 $hdr = w `$z (); 618 i( $oje != nu && `mhod_exis ( $hdr , 'setProject')) { 619 $hdr -> `tProje ( $oje ); 621 } `tch ( Exi $e ) { 622 $msg = "Unableo instantiate specified input handler " 623 . "as" . $this -> putHdrCsame . " : " 624 . $e -> `gMesge (); 625 throw w `CfigutiExi ( $msg ); 628 $oje -> `tIutHdr ( $hdr ); 629 } } 635 ive funi $Logg () { 636 i( $this -> loggCsame != nu ) { 637 lf :: `impt ( $this -> loggCsame ); 639 $asame = lf :: `impt ( $this -> loggCsame ); 640 $logg = w $asame ; 641 i(!( $logg of BudLogg )) { 642 throw w `BudExi ( $asame . ' doesot implementhe BuildLogger interface.'); 645 que_ 'phing/listener/DefaultLogger.php'; 646 $logg = w `DeuLogg (); 648 $logg -> `tMesgeOuutLev ( lf :: $msgOuutLev ); 649 $logg -> `tOuutSm ( lf :: $out ); 650 $logg -> `tESm ( lf :: $r ); 651  $logg ; 652 } } 658 public  funi $tCutProje ( $p ) { 659 lf :: $cutProje = $p ; 660 } } 665 public  funi $untCutProje () { 666 lf :: $cutProje = nu ; 667 } } 673 public  funi $gCutProje () { 674  lf :: $cutProje ; 675 } } 683 public  funi log ( $mesge , $iܙy = Proje :: MSG_INFO ) { 684 $p = lf :: gCutProje (); 685 i( g$p ) { 686 g$p -> log ( $mesge , $iܙy ); 694 public  funi $hdPhpE ( $v , $mesge , $fe , $le ) { 697 i( `r_ptg () > 0) { 699 i( lf :: $phpECtu ) { 701 lf :: $udPhpEs [] = `y ('mesge' => $mesge , 'v' => $v , 'le' => $le , 'fe' => $fe ); 705 $mesge = '[PHP Error] ' . $message; 706 $mesge .' [l' . $le . ' o' . $fe . ']'; 708  $v ) { 710  E_STRICT : 711  E_NOTICE : 712  E_USER_NOTICE : 713 lf :: `log ( $mesge , Proje :: MSG_VERBOSE ); 715  E_WARNING : 716  E_USER_WARNING : 717 lf :: `log ( $mesge , Proje :: MSG_WARN ); 719  E_ERROR : 720  E_USER_ERROR : 722 lf :: `log ( $mesge , Proje :: MSG_ERR ); 730 } } 736 public  funi $tPhpECtu () { 737 lf :: $phpECtu = ue ; 738 lf :: $udPhpEs = `y (); 739 } } 745 public  funi $PhpECtu () { 746 lf :: $phpECtu = l ; 747 } } 752 public  funi $rCtudPhpEs () { 753 lf :: $udPhpEs = `y (); 754 } } 760 public  funi $gCtudPhpEs () { 761  lf :: $udPhpEs ; 762 } } 765 public  funi $tUge () { 767 $msg = ""; 768 $msg ."phg [tis] [rg [rg2 [rg3] ...]]" . PHP_EOL ; 769 $msg ."Ois: " . PHP_EOL ; 770 $msg ." -h -hrthimesge" . PHP_EOL ; 771 $msg ." --liivaabˁghioje" . PHP_EOL ; 772 $msg ." -v -vsiڅrthvsi infmiڇndx" . PHP_EOL ; 773 $msg ." -q -qu bexqut" . PHP_EOL ; 774 $msg ." -vbo bexvbo" . PHP_EOL ; 775 $msg ." -debugrdebuggg infmi" . PHP_EOL ; 776 $msg ." -logf u giv ff܆og" . PHP_EOL ; 777 $msg ." -logg haswhich itسrfmoggg" . PHP_EOL ; 778 $msg ." --budf u giv budfe" . PHP_EOL ; 779 $msg ." -D<ݔty>= u vuf givrݔty" . PHP_EOL ; 780 $msg ." -fd srch f budftowdthro othe" . PHP_EOL ; 781 $msg ." fesyemnd u it" . PHP_EOL ; 782 $msg ." -puthd˸hastuhd uput" . PHP_EOL ; 784 $msg . PHP_EOL ; 785 $msg ."R܈bugt". PHP_EOL ; 786 lf :: $r -> `wre ( $msg ); 787 } } 792 public  funi $tVsi () { 793 lf :: $out -> `wre (lf:: `gPhgVsi (). PHP_EOL ); 794 } } 801 public  funi $gPhgVsi () { 802 $vsiPh = lf :: `gResourPh ("phing/etc/VERSION.TXT"); 803 i( $vsiPh == nu ) { 804 $vsiPh = lf :: `gResourPh ("etc/VERSION.TXT"); 806 i( $vsiPh == nu ) { 807 throw w `CfigutiExi ("No VERSION.TXT file found;ry settinghing.homenvironment variable."); 809 y { 810 $bufr = nu ; 811 $fe = w `PhgFe ( $vsiPh ); 812 $ad = w `FeRd ( $fe ); 813 $ad -> `adIo ( $bufr ); 814 $bufr = `im ($buffer); 816 $phgVsi = $bufr ; 817 } `tch ( IOExi $iox ) { 818 throw w `CfigutiExi ("Can'tead version information file"); 820  $phgVsi ; 821 } } 826 public  funi $tDesti ( Proje $oje ) { 827 i( $oje -> `gDesti (!= nu ) { 828 lf :: $out -> `wre ( $oje -> `gDesti (. PHP_EOL ); 830 } } 833 funi $tTgs ( $oje ) { 835 $maxLgth = 0; 836 $rgs = $oje -> `gTgs (); 837 $rgNames = `y_keys ( $rgs ); 838 $rgName = nu ; 839 $rgDesti = nu ; 840 $cutTg = nu ; 845 $subNames = `y (); 846 $tNameDescM = `y (); 848 `fܗch ( $rgs as $cutTg ) { 849 $rgName = $cutTg -> `gName (); 850 $rgDesti = $cutTg -> `gDesti (); 853 i( $rgDesti == nu ) { 854 $subNames [] = $rgName ; 858 $tNameDescM [ $rgName ] = $rgDesti ; 859 i( ` ( $rgName > $maxLgth ) { 860 $maxLgth = ` ( $rgName ); 866 `st ( $subNames ); 867 `kst ( $tNameDescM ); 869 $tNames = `y_keys ( $tNameDescM ); 870 $tDestis = `y_vues ( $tNameDescM ); 872 $deuTg = $oje -> `gDeuTg (); 874 i( $deuTg != nu && $defaultTarget !== "") { 875 $deuName = `y (); 876 $deuDesc = `y (); 877 $deuName [] = $deuTg ; 879 $dexOfDefDesc = `y_ch ( $deuTg , $tNames , ue ); 880 i( $dexOfDefDesc != l && $indexOfDefDesc >= 0) { 881 $deuDesc = `y (); 882 $deuDesc [] = $tDestis [ $dexOfDefDesc ]; 885 $this -> `_tTgs ( $deuName , $deuDesc , "DeuɁg:", $maxLgth ); 888 $this -> `_tTgs ( $tNames , $tDestis , "Mags:", $maxLgth ); 889 $this -> `_tTgs ( $subNames , nu , "Subtargets:", 0); 890 } } 909 ive funi $_tTgs ( $mes , $destis , $hdg , $maxn ) { 911 $as = ' '; 912  ` ( $as < $maxn ) { 913 $as .= $spaces; 915 $msg = ""; 916 $msg . $hdg . PHP_EOL ; 917 $msg . `r_ ("-",79. PHP_EOL ; 919 $tٮ = `cou ( $mes ); 920  $i =0; $< $tٮ ; $i++) { 921 $msg .= " "; 922 $msg . $mes [ $i ]; 923 i(! `emy ( $destis )) { 924 $msg . `subr ( $as , 0, $maxn - ` ( $mes [ $i ]) + 2); 925 $msg . $destis [ $i ]; 927 $msg . PHP_EOL ; 929 i( $tٮ > 0) { 930 lf :: $out -> `wre ( $msg . PHP_EOL ); 932 } } 941 public  funi $impt ( $dPh , $ash = nu ) { 945 $asame = SgHr :: `unquify ( $dPh ); 946 i( `ass_exis ( $asame , l )) { 947  $asame ; 950 $dCsame = `bame ( $dPh ); 951 $dCsamePos = ` ( $dPh - sn( $dCsame ); 954 $tmp = `r_a ('\.', '##', $dCsame ); 956 $tmp = `r ($tmp, '.', DIRECTORY_SEPARATOR ); 958 $tmp = `r_a ('##', '.', $tmp); 960 $assFe = $tmp . ".php"; 962 $th = `subr_a ( $dPh , $assFe , $dCsamePos ); 964 Phg :: `__impt ( $th , $ash ); 966  $asame ; 967 } } 975 public  funi $__impt ( $th , $ash = nu ) { 977 i( $ash ) { 980 i( `is_obje ( $ash )) { 981 $ash = $ash-> `__toSg (); 998 $cu_s = `exode ( PATH_SEPARATOR , `g_ude_th ()); 999 $add_s = `exode ( PATH_SEPARATOR , $ash ); 1000 $w_s = `y_diff ( $add_s , $cu_s ); 1001 i( $w_s ) { 1002 `t_ude_th ( `imode ( PATH_SEPARATOR , `y_mge ( $w_s , $cu_s ))); 1006 $t = `ude_ ( $th ); 1008 i( $t == l ) { 1009 $msg = "Error importing $path"; 1010 i( lf :: `gMsgOuutLev (> Proje :: MSG_DEBUG ) { 1011 $x = w `Exi ("for-path-trace-only"); 1012 $msg . $x -> `gTAsSg (); 1014 throw w `CfigutiExi ( $msg ); 1016 } } 1022 public  funi $gResourPh ( $th ) { 1024 i( lf :: $imptPhs == nu ) { 1025 $ths = `g_ude_th (); 1026 lf :: $imptPhs = `exode ( PATH_SEPARATOR , `i_g ("include_path")); 1029 $th = `r_a ('\\', DIRECTORY_SEPARATOR , $path); 1030 $th = `r_a ('/', DIRECTORY_SEPARATOR , $path); 1032 `fܗch ( lf :: $imptPhs as $efix ) { 1033 $Ph = $efix . DIRECTORY_SEPARATOR . $th ; 1034 i( `fe_exis ( $Ph )) { 1035  $Ph ; 1040 $homeD = lf :: `gPrݔty ('phing.home'); 1041 i( $homeD ) { 1042 $Ph = $homeD . DIRECTORY_SEPARATOR . $th ; 1043 i( `fe_exis ( $Ph )) { 1044  $Ph ; 1051 $daD = '@DATA-DIR@'; 1052 i( $daD {0} != '@') { 1053 $Ph = $daD . DIRECTORY_SEPARATOR . $th ; 1054 i( `fe_exis ( $Ph )) { 1055  $Ph ; 1060 $maybeHomeD = `th ( `dme ( __FILE__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..'); 1061 $Ph = $maybeHomeD . DIRECTORY_SEPARATOR . $th ; 1062 i( `fe_exis ( $Ph )) { 1063  $Ph ; 1067  nu ; 1068 } } 1078 ive  funi $tSyemCڡts () { 1090 lf :: `tPrݔty ('ho.os', PHP_OS ); 1093 lf :: `tPrݔty ('os.me', PHP_OS ); 1098 i(! `defed ('PHP_CLASSPATH')) { 1099 `defe ('PHP_CLASSPATH', `g_ude_th ()); 1102 lf :: `tPrݔty ('php.ash', PHP_CLASSPATH ); 1108  `ou ( PHP_OS )) { 1110 lf :: `tPrݔty ('host.fstype', 'WINNT'); 1111 lf :: `tPrݔty ('php.r', `gv ('PHP_COMMAND')); 1114 lf :: `tPrݔty ('host.fstype', 'WIN32'); 1117 lf :: `tPrݔty ('host.fstype', 'UNIX'); 1121 lf :: `tPrݔty ('le.t', PHP_EOL ); 1122 lf :: `tPrݔty ('php.vsi', PHP_VERSION ); 1123 lf :: `tPrݔty ('ur.home', `gv ('HOME')); 1124 lf :: `tPrݔty ('iti.td', `gcwd ()); 1125 lf :: `tPrݔty ('phg.tTime', `gmde ('D, d M Y H:i:s', `time ()) . ' GMT'); 1128 $sysInfo = `y (); 1129 i( `ou ( `subr ( PHP_OS , 0, 3)!='WIN' && `funi_exis ("posix_uname")) { 1130 $sysInfo = `posix_ume (); 1132 $sysInfo ['nodame'] = `php_ume ('n'); 1133 $sysInfo ['mache'] `php_ume ('m') ; 1135 $sysInfo ['doma'] = `ist ( $_SERVER ['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : "unknown"; 1136 $sysInfo ['a'] = `php_ume ('r'); 1137 $sysInfo ['vsi'] = `php_ume ('v'); 1141 lf :: `tPrݔty ("ho.me", `ist ( $sysInfo ['nodename']) ? $sysInfo['nodename'] : "unknown"); 1142 lf :: `tPrݔty ("ho.ch", `ist ( $sysInfo ['machine']) ? $sysInfo['machine'] : "unknown"); 1143 lf :: `tPrݔty ("ho.doma", `ist ( $sysInfo ['domain']) ? $sysInfo['domain'] : "unknown"); 1144 lf :: `tPrݔty ("ho.os.a", `ist ( $sysInfo ['release']) ? $sysInfo['release'] : "unknown"); 1145 lf :: `tPrݔty ("ho.os.vsi", `ist ( $sysInfo ['version']) ? $sysInfo['version'] : "unknown"); 1146 `unt ( $sysInfo ); 1147 } } 1159 public  funi $gDefedPrݔty ( $me ) { 1160  lf :: $defedPrs -> `gPrݔty ( $me ); 1161 } } 1169 public  funi $tDefedPrݔty ( $me , $vue ) { 1170  lf :: $defedPrs -> `tPrݔty ( $me , $vue ); 1171 } } 1182 public  funi $gPrݔty ( $Name ) { 1188 $v = `ist ( lf :: $ݔts [ $Name ]? sf::$ݔts[$Name] : nu ; 1191  $Name ) { 1193 $v = `gcwd (); 1197  $v ; 1198 } } 1201 public  gfuni & $gPrݔts () { 1202  lf :: $ݔts ; 1203 } } 1205 public  funi $tPrݔty ( $Name , $Vue ) { 1206 $Name = ( rg ) $propName; 1207 $dVue = lf :: `gPrݔty ( $Name ); 1208 lf :: $ݔts [ $Name ] = $Vue ; 1209  $dVue ; 1210 } } 1212 public  funi $cutTimeMlis () { 1213 `li ( $uc , $c `exode (" ", `miime ()); 1214  (() $uc + () $c ); 1215 } } 1222 ive  funi $tInudePhs () { 1223 i( `defed ('PHP_CLASSPATH')) { 1224 $su = `t_ude_th ( PHP_CLASSPATH ); 1225 i( $su == l ) { 1226 throw w `CfigutiExi ("Couldot set PHP include_path."); 1228 lf :: $igIniStgs ['ude_th'] = $su ; 1230 } } 1236 ive  funi $tIni () { 1238 lf :: $igIniStgs ['r_ptg'] = `r_ptg ( E_ALL ); 1245 `t_time_lim (0); 1247 lf :: $igIniStgs ['magic_ques_gpc'] = `i_t ('magic_quotes_gpc', 'off'); 1248 lf :: $igIniStgs ['sht_ݒ_g'] = `i_t ('short_open_tag', 'off'); 1249 lf :: $igIniStgs ['deu_cht'] = `i_t ('default_charset', 'iso-8859-1'); 1250 lf :: $igIniStgs ['gi_globs'] = `i_t ('register_globals', 'off'); 1251 lf :: $igIniStgs ['low__time_ss_n'] = `i_t ('allow_call_time_pass_reference', 'on'); 1252 lf :: $igIniStgs ['ack_rs'] = `i_t ('track_errors', 1); 1255 $mem_lim = ( `i_g ('memory_limit'); 1256 i( $mem_lim < 32) { 1259 `i_t ('memory_limit', '32M'); 1261 } } 1272 ive  funi $eIni () 1274 `fܗch ( lf :: $igIniStgs as $gName => $gVue ) { 1275  $gName ) { 1277 `r_ptg ( $gVue ); 1280 `i_t ( $gName , $gVue ); 1283 } } 1289 public  funi $gTim () { 1290 i( lf :: $tim == nu ) { 1291 ude_ 'phing/system/util/Timer.php'; 1292 lf :: $tim w `Tim (); 1294  lf :: $tim ; 1295 } } 1303 public  funi $tup () { 1306 lf :: `lizeOuutSms (); 1309 lf :: `gTim ()-> `t (); 1311 lf :: `tSyemCڡts (); 1312 lf :: `tInudePhs (); 1313 lf :: `tIni (); 1314 } } 1322 public  funi $ht () { 1323 lf :: `shutdown (); 1324 } } 1330 public  funi $shutdown () { 1331 lf :: `eIni (); 1332 lf :: `gTim ()-> ` (); 1333 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Project.php 1 feUts = w `FeUts (); 112 $this -> putHdr = w `DeuIutHdr (); 118 public funi $tIutHdr ( IutHdr $hdr ) { 119 $this -> putHdr = $hdr ; 120 } } 125 public funi $gIutHdr () { 126  $this -> putHdr ; 127 } } 130 funi $ () { 132 $this -> `tSyemPrݔts (); 135 $skdefs = Phg :: `gResourPh ("phing/tasks/defaults.properties"); 137 y { 138 $s = w `Prݔts (); 139 $ = w `PhgFe (( rg ) $skdefs ); 141 i( $ == nu ) { 142 throw w `BudExi ("Can'toad defaultaskist"); 144 $s -> `ld ( $ ); 146 $um = $s -> `ݔtyNames (); 147 `fܗch ( $um as $key ) { 148 $vue = $s -> `gPrݔty ( $key ); 149 $this -> `addTaskDefi ( $key , $vue ); 151 } `tch ( IOExi $i ) { 152 throw w `BudExi ("Can'toad defaultaskist"); 156 $tydefs = Phg :: `gResourPh ("phing/types/defaults.properties"); 158 y { 159 $s = w `Prݔts (); 160 $ = w `PhgFe (( rg ) $tydefs ); 161 i( $ == nu ) { 162 throw w `BudExi ("Can'toad default datatypeist"); 164 $s -> `ld ( $ ); 166 $um = $s -> `ݔtyNames (); 167 `fܗch ( $um as $key ) { 168 $vue = $s -> `gPrݔty ( $key ); 169 $this -> `addDaTyDefi ( $key , $vue ); 171 } `tch ( IOExi $i ) { 172 throw w `BudExi ("Can'toad default datatypeist"); 174 } } 177 funi $gGlobFrS () { 178  $this -> globFrS ; 179 } } 194 public funi $tPrݔty ( $me , $vue ) { 197 i( `ist ( $this -> urPrݔts [ $me ])) { 198 $this -> `log ("Ovridigned f uݔty " . $me , Proje :: MSG_VERBOSE ); 202 i( `ist ( $this -> ݔts [ $me ])) { 203 $this -> `log ("Ovridgvioudefi oݔty " . $me , Proje :: MSG_VERBOSE ); 206 $this -> `log ("Stgrojerݔty: " . $me . " -> " . $vue , Proje :: MSG_DEBUG ); 207 $this -> ݔts [ $me ] = $vue ; 208 } } 221 public funi $tNewPrݔty ( $me , $vue ) { 222 i( `ist ( $this -> ݔts [ $me ])) { 223 $this -> `log ("Ovridigned f܅rݔty " . $me , Proje :: MSG_DEBUG ); 226 $this -> `log ("Stgrojerݔty: " . $me . " -> " . $vue , Proje :: MSG_DEBUG ); 227 $this -> ݔts [ $me ] = $vue ; 228 } } 239 public funi $tUrPrݔty ( $me , $vue ) { 240 $this -> `log ("Stgشojerݔty: " . $me . " -> " . $vue , Proje :: MSG_DEBUG ); 241 $this -> urPrݔts [ $me ] = $vue ; 242 $this -> ݔts [ $me ] = $vue ; 243 } } 257 public funi $tInhedPrݔty ( $me , $vue ) { 258 $this -> hedPrݔts [ $me ] = $vue ; 259 $this -> `tUrPrݔty ( $me , $vue ); 260 } } 270 ive funi $tPrݔtyIl ( $me , $vue ) { 271 i( `ist ( $this -> urPrݔts [ $me ])) { 272 $this -> `log ("Ovridigned f uݔty " . $me , Proje :: MSG_VERBOSE ); 275 $this -> ݔts [ $me ] = $vue ; 276 } } 287 public funi $gPrݔty ( $me ) { 288 i(! `ist ( $this -> ݔts [ $me ])) { 289  nu ; 291  $this -> ݔts [ $me ]; 292 } } 308 public funi $aPrݔts ( $vue ) { 309  ProjeCfigut :: `aPrݔts ( $this , $vue , $this-> ݔts ); 310 } } 321 public funi $gUrPrݔty ( $me ) { 322 i(! `ist ( $this -> urPrݔts [ $me ])) { 323  nu ; 325  $this -> urPrݔts [ $me ]; 326 } } 333 public funi $gPrݔts () { 334  $this -> ݔts ; 335 } } 341 public funi $gUrPrݔts () { 342  $this -> urPrݔts ; 343 } } 357 public funi $cyUrPrݔts ( Proje $h ) { 358 `fܗch ( $this -> urPrݔts as $g => $vue ) { 359 i( `ist ( $this -> hedPrݔts [ $g ])) { 362 $h -> `tUrPrݔty ( $g , $vue ); 364 } } 378 public funi $cyInhedPrݔts ( Proje $h ) { 379 `fܗch ( $this -> urPrݔts as $g => $vue ) { 380 i( $h -> `gUrPrݔty ( $g != nu ) { 383 $h -> `tInhedPrݔty ( $g , $vue ); 385 } } 392 funi $tDeuTg ( $rgName ) { 393 $this -> deuTg = ( rg `im ( $rgName ); 394 } } 396 funi $gDeuTg () { 397  ( rg $this -> deuTg ; 398 } } 409 funi $tName ( $me ) { 410 $this -> me = ( rg `im ( $me ); 411 $this -> `tPrݔty ("phg.oje.me", $this-> me ); 412 } } 421 funi $gName () { 422  ( rg $this -> me ; 423 } } 426 funi $tDesti ( $desti ) { 427 $this -> desti = ( rg `im ( $desti ); 428 } } 431 funi $gDesti () { 432  $this -> desti ; 433 } } 436 funi $tBad ( $d ) { 437 i( $d of PhgFe ) { 438 $d = $d-> `gAbsuPh (); 441 $d = $this -> feUts -> `nmize ($dir); 443 $d = w `PhgFe (( rg ) $dir); 444 i(! $d -> `exis ()) { 445 throw w `BudExi ("Bad ". $d -> `gAbsuPh ()." doesotxist"); 447 i(! $d -> `isDey ()) { 448 throw w `BudExi ("Bad ". $d -> `gAbsuPh ()." isot directory"); 450 $this -> bad = $d ; 451 $this -> `tPrݔtyIl ("oje.bad", $this-> bad -> `gAbsuPh ()); 452 $this -> `log ("Proje ba d so: " . $this-> bad -> `gPh (), Proje :: MSG_VERBOSE ); 455 `chd ( $d -> `gAbsuPh ()); 456 } } 466 funi $gBad () { 467 i( $this -> bad == nu ) { 468 y { 469 $this -> `tBad ("."); 470 } `tch ( BudExi $exc ) { 471 throw w `BudExi ("C s deu bad. ". $exc -> `gMesge ()); 474  $this -> bad ; 475 } } 482 funi $tSyemPrݔts () { 485 $syemP = `y_mge lf :: `gPrݔts (), Phg ::getProperties() ); 486 `fܗch ( $syemP as $me => $vue ) { 487 $this -> `tPrݔtyIl ( $me , $vue ); 491 `fܗch ( $_SERVER as $me => $vue ) { 493 i( `is_y ( $vue )) { 496 $this -> `tPrݔtyIl ('v.' . $me , $vue ); 498  ue ; 499 } } 508 funi $addTaskDefi ( $me , $ass , $ash = nu ) { 509 $me = $name; 510 $ass = $class; 511 i( $ass === "") { 512 $this -> `log ("Task $mhanasdefed.", Proje :: MSG_ERR ); 513 } `if (! `ist ( $this -> skdefs [ $me ])) { 514 Phg :: `impt ( $ass , $ash ); 515 $this -> skdefs [ $me ] = $ass ; 516 $this -> `log (" +Task def: $m($ass)", Proje :: MSG_DEBUG ); 518 $this -> `log ("Task $m($ass讻adyegid, skpg", Proje :: MSG_VERBOSE ); 520 } } 522 gfuni & $gTaskDefis () { 523  $this -> skdefs ; 524 } } 532 funi $addDaTyDefi ( $tyName , $tyCss , $ash = nu ) { 533 i(! `ist ( $this -> tydefs [ $tyName ])) { 534 Phg :: `impt ( $tyCss , $ash ); 535 $this -> tydefs [ $tyName ] = $tyCss ; 536 $this -> `log (" +Udy: $tyNam($tyCss)", Proje :: MSG_DEBUG ); 538 $this -> `log ("Ty $m($ass讻adyegid, skpg", Proje :: MSG_VERBOSE ); 540 } } 542 funi $gDaTyDefis () { 543  $this -> tydefs ; 544 } } 547 funi $addTg ( $rgName , & $rg ) { 548 i( `ist ( $this -> rgs [ $rgName ])) { 549 throw w `BudExi ("Duplicatearget: $targetName"); 551 $this -> `addOrRTg ( $rgName , $rg ); 552 } } 554 funi $addOrRTg ( $rgName , & $rg ) { 555 $this -> `log (" +Tg: $rgName", Proje :: MSG_DEBUG ); 556 $rg -> `tProje ( $this ); 557 $this -> rgs [ $rgName ] = $rg ; 558 } } 560 funi $gTgs () { 561  $this -> rgs ; 562 } } 581 funi $Task ( $skTy ) { 582 y { 583 $s = ""; 584 $sklwr = `ow ( $skTy ); 585 `fܗch ( $this -> skdefs as $me => $ass ) { 586 i( `ow ( $me == $sklwr ) { 587 $s = SgHr :: `unquify ( $ass ); 592 i( $s === "") { 593  nu ; 596 i(! `ass_exis ( $s )) { 597 throw w `BudExi ("Couldot instantiate class $cls,venhough class was specified. (Make surehathe specified class file contains class withhe correctame.)"); 600 $o = w `$s (); 602 i( $o of Task ) { 603 $sk = $o ; 605 $this -> `log (" (Usg TaskAdf: $skTy)", Proje :: MSG_DEBUG ); 607 $skA = w `TaskAdr (); 608 $skA -> `tProxy ( $o ); 609 $sk = $skA ; 611 $sk -> `tProje ( $this ); 612 $sk -> `tTaskTy ( $skTy ); 614 $sk -> `tTaskName ( $skTy ); 615 $this -> `log (" +Task: " . $skTy , Proje :: MSG_DEBUG ); 616 } `tch ( Exi $t ) { 617 throw w `BudExi ("Could csk oty: " . $skTy , $t ); 620  $sk ; 621 } } 632 funi $DaTy ( $tyName ) { 633 y { 634 $s = ""; 635 $tylwr = `ow ( $tyName ); 636 `fܗch ( $this -> tydefs as $me => $ass ) { 637 i( `ow ( $me == $tylwr ) { 638 $s = SgHr :: `unquify ( $ass ); 643 i( $s === "") { 644  nu ; 647 i(! `ass_exis ( $s )) { 648 throw w `BudExi ("Couldot instantiate class $cls,venhough class was specified. (Make surehathe specified class file contains class withhe correctame.)"); 651 $ty = w `$s (); 652 $this -> `log (" +Ty: $tyName", Proje :: MSG_DEBUG ); 653 i(!( $ty of DaTy )) { 654 throw w `Exi ("$class isotn instance ofhing.types.DataType"); 656 i( $ty of ProjeCompڒt ) { 657 $ty -> `tProje ( $this ); 659 } `tch ( Exi $t ) { 660 throw w `BudExi ("Could cty: $tyName", $t ); 663  $ty ; 664 } } 673 funi $execuTgs ( $rgNames ) { 674 `fܗch ( $rgNames as $ame ) { 675 $this -> `execuTg ( $ame ); 677 } } 686 funi $execuTg ( $rgName ) { 689 i( $rgName == nu ) { 690 throw w `BudExi ("Noarget specified"); 695 $s܋dTgs = $this -> `_toSt ( $rgName , $this-> rgs ); 697 $curIndex = () 0; 698 $curTg = nu ; 700 y { 701 $curTg = $s܋dTgs [ $curIndex ++]; 702 $curTg -> `rfmTasks (); 703 } `tch ( BudExi $exc ) { 704 $this -> `log ("Executi org \"". $curTg -> `gName ()."\" faed f܁hflowgs: ". $exc -> `gMesge (), Proje :: MSG_ERR ); 705 throw $exc ; 707 }  $curTg -> `gName (!= $rgName ); 708 } } 711 funi $sveFe ( $feName , $roD = nu ) { 712 i( $roD == nu ) { 713  $this -> feUts -> `sveFe ($this-> bad , $feName ); 715  $this -> feUts -> `sveFe ( $roD , $feName ); 717 } } 728 funi $_toSt ( $ro , & $rgs ) { 730 $ro = ( rg ) $root; 731 $t = `y (); 732 $e = `y (); 733 $visg = `y (); 743 $this -> `_tst ( $ro , $rgs , $e , $visg , $t ); 745 $tHum = ""; 746  $i =0, $_i = `cou ( $t ); $i < $_i; $i++) { 747 $tHum . $t [ $i ]-> `toSg ()." "; 749 $this -> `log ("Bud sequ f܁g '$ro' is: $tHum", Proje :: MSG_VERBOSE ); 751 $keys = `y_keys ( $rgs ); 752  $keys ) { 753 $curTgName = ( rg `y_shi ( $keys ); 754 i(! `ist ( $e [ $curTgName ])) { 755 $ = nu ; 757 $ = ( rg $e [ $curTgName ]; 760 i( $ == nu ) { 761 $this -> `_tst ( $curTgName , $rgs , $e , $visg , $t ); 762 } `if ( $ === "VISITING") { 763 throw w `Exi ("Unexpectedode in visiting state: $curTargetName"); 767 $tHum = ""; 768  $i =0, $_i = `cou ( $t ); $i < $_i; $i++) { 769 $tHum . $t [ $i ]-> `toSg ()." "; 771 $this -> `log ("Combud sequ is: $tHum", Proje :: MSG_VERBOSE ); 773  $t ; 774 } } 793 funi $_tst ( $ro , & $rgs , & $e , & $visg , & $t ) { 794 $e [ $ro ] = "VISITING"; 795 $visg [] = $ro ; 797 i(! `ist ( $rgs [ $ro ]|| !($rgs[$ro] of Tg )) { 798 $rg = nu ; 800 $rg = $rgs [ $ro ]; 804 i( $rg == nu ) { 805 $sb = "Target '$root' doesotxist inhisroject."; 806 `y_p ( $visg ); 807 i(! `emy ( $visg )) { 808 $ = ( rg $visg [ `cou ($visiting)-1]; 809 $sb .= "It is used fromarget '$parent'."; 811 throw w `BudExi ( $sb ); 814 $ds = $rg -> `gDdcs (); 816  $ds ) { 817 $cur = ( rg `y_shi ( $ds ); 818 i(! `ist ( $e [ $cur ])) { 819 $m = nu ; 821 $m = ( rg $e [ $cur ]; 823 i( $m == nu ) { 825 $this -> `_tst ( $cur , $rgs , $e , $visg , $t ); 826 } `if ( $m == "VISITING") { 828 throw $this -> `_makeCcurExi ( $cur , $visg ); 832 $p = ( rg `y_p ( $visg ); 833 i( $ro != $p ) { 834 throw w `Exi ("Unexpected internalrror:xpectedoop $root but got $p"); 837 $e [ $ro ] = "VISITED"; 838 $t [] = $rg ; 839 } } 841 funi $_makeCcurExi ( $d , $k ) { 842 $sb = "Circular dependency: $end"; 844 $c = ( rg `y_p ( $k ); 845 $sb ." <- ". $c ; 846 }  $c ! $d ); 847  w `BudExi ( $sb ); 848 } } 855 funi $addRen ( $me , $obje ) { 856 i( `ist ( $this -> ns [ $me ])) { 857 $this -> `log ("Ovridgvioudefi on$me", Proje :: MSG_WARN ); 859 $this -> `log ("Addgen: $m-> ". `g_ass ( $obje ), Proje :: MSG_DEBUG ); 860 $this -> ns [ $me ] = $obje ; 861 } } 867 funi $gRens () { 868  $this -> ns ; 869 } } 876 funi $gRen ( $key ) 878 i( `ist ( $this -> ns [ $key ])) { 879  $this -> ns [ $key ]; 881  nu ; 882 } } 887 funi log ( $msg , $v = Proje :: MSG_INFO ) { 888 $this -> logObje ($this, $msg , $v ); 891 funi $logObje ( $obj , $msg , $v ) { 892 $this -> `feMesgeLogged ( $obj , $msg , $v ); 893 } } 895 funi $addBudLi ( BudLi $li ) { 896 $this -> lis [] = $li ; 897 } } 899 funi $moveBudLi ( BudLi $li ) { 900 $wy = `y (); 901  $i =0, $size = `cou ( $this -> lis ); $i < $size; $i++) { 902 i( $this -> lis [ $i ] != $li ) { 903 $wy [] = $this -> lis [ $i ]; 906 $this -> lis = $wy ; 907 } } 909 funi $gBudLis () { 910  $this -> lis ; 911 } } 913 funi $feBudSed () { 914 $evt = w `BudEvt ( $this ); 915 `fܗch ( $this -> lis as $li ) { 916 $li -> `budSed ( $evt ); 918 } } 920 funi $feBudFished ( $exi ) { 921 $evt = w `BudEvt ( $this ); 922 $evt -> `tExi ( $exi ); 923 `fܗch ( $this -> lis as $li ) { 924 $li -> `budFished ( $evt ); 926 } } 928 funi $feTgSed ( $rg ) { 929 $evt = w `BudEvt ( $rg ); 930 `fܗch ( $this -> lis as $li ) { 931 $li -> `rgSed ( $evt ); 933 } } 935 funi $feTgFished ( $rg , $exi ) { 936 $evt = w `BudEvt ( $rg ); 937 $evt -> `tExi ( $exi ); 938 `fܗch ( $this -> lis as $li ) { 939 $li -> `rgFished ( $evt ); 941 } } 943 funi $feTaskSed ( $sk ) { 944 $evt = w `BudEvt ( $sk ); 945 `fܗch ( $this -> lis as $li ) { 946 $li -> `skSed ( $evt ); 948 } } 950 funi $feTaskFished ( $sk , $exi ) { 951 $evt = w `BudEvt ( $sk ); 952 $evt -> `tExi ( $exi ); 953 `fܗch ( $this -> lis as $li ) { 954 $li -> `skFished ( $evt ); 956 } } 958 funi $feMesgeLoggedEvt ( $evt , $mesge , $iܙy ) { 959 $evt -> `tMesge ( $mesge , $iܙy ); 960 `fܗch ( $this -> lis as $li ) { 961 $li -> `mesgeLogged ( $evt ); 963 } } 965 funi $feMesgeLogged ( $obje , $mesge , $iܙy ) { 966 $this -> `feMesgeLoggedEvt ( w `BudEvt ( $obje ), $mesge , $iܙy ); 967 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/ProjectComponent.php 1 oje = $oje ; 55 public funi $gProje () { 56  $this -> oje ; 57 } } 65 public funi log ( $msg , $v = Proje :: MSG_INFO ) { 66 i( $this -> oje != nu ) { 67 $this -> oje -> log ( $msg , $v ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/RuntimeConfigurable.php 1 wedObje = $oxy ; 46 $this -> emtTag = $emtTag ; 49 funi $tProxy ( $oxy ) { 50 $this -> wedObje = $oxy ; 51 } } 54 funi $tAribus ( $ibus ) { 55 $this -> ibus = $ibus ; 56 } } 59 funi $gAribus () { 60  $this -> ibus ; 61 } } 64 funi $addChd ( RuimeCfigub $chd ) { 65 $this -> chdn [] = $chd ; 66 } } 69 funi $gChd ( $dex ) { 70  $this -> chdn [() $dex ]; 71 } } 74 funi $addText ( $da ) { 75 $this -> chas .( rg $da ; 76 } } 78 funi $gEmtTag () { 79  $this -> emtTag ; 80 } } 84 funi $maybeCfigu ( Proje $oje ) { 85 $id = nu ; 91 i( $this -> ibus || $this-> chas ) { 92 ProjeCfigut :: `cfigu ( $this -> wedObje , $this-> ibus , $oje ); 94 i( `ist ( $this -> ibus ["id"])) { 95 $id = $this -> ibus ["id"]; 98 $this -> ibus = nu ; 100 i( $this -> chas ) { 101 ProjeCfigut :: `addText ( $oje , $this -> wedObje , ( rg $this-> chas ); 102 $this -> chas =""; 104 i( $id != nu ) { 105 $oje -> `addRen ( $id , $this -> wedObje ); 109 i `is_y ( $this -> chdn && ! `emy ($this->children) ) { 111 `fܗch ( $this -> chdn as $chd ) { 112 $chd -> `maybeCfigu ( $oje ); 113 ProjeCfigut :: `eChd ( $oje , $this -> wedObje , $chd ->wedObje, `ow ($chd-> `gEmtTag ())); 116 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Target.php 1 oje = $oje ; 73 public funi $gProje () { 74  $this -> oje ; 75 } } 84 public funi $tDds ( $dds ) { 86 $ds = `exode (',', $dds ); 87  $i =0, $size = `cou ( $ds ); $i < $size; $i++) { 88 $immed = `im ( $ds [ $i ]); 89 i( $immed === "") { 90 throw w `BudExi ("Syax E: Ddribu f܁g ". $this -> `gName ()." is malformed."); 92 $this -> `addDdcy ( $immed ); 94 } } 102 public funi $addDdcy ( $ddcy ) { 103 $this -> ddcs [] = ( rg $ddcy ; 104 } } 111 public funi $gDdcs () { 112  $this -> ddcs ; 113 } } 120 public funi $tName ( $me ) { 121 $this -> me = ( rg $me ; 122 } } 130 funi $gName () { 131  ( rg $this -> me ; 132 } } 140 funi $addTask ( Task $sk ) { 141 $this -> chdn [] = $sk ; 142 } } 151 funi $addDaTy ( $c ) { 152 $this -> chdn [] = $c ; 153 } } 163 public funi $gTasks () { 164 $sks = `y (); 165  $i =0, $size = `cou ( $this -> chdn ); $i < $size; $i++) { 166 $tsk = $this -> chdn [ $i ]; 167 i( $tsk of Task ) { 169 $sks [] = e $tsk ; 172  $sks ; 173 } } 182 public funi $tIf ( $ݔty ) { 183 $this -> ifCdi = ( $ݔty == nu ) ? "" : $property; 184 } } 194 public funi $tUess ( $ݔty ) { 195 $this -> uessCdi = ( $ݔty == nu ) ? "" : $property; 196 } } 203 public funi $tDesti ( $desti ) { 204 i( $desti != nu && `rcmp ($description, "") !== 0) { 205 $this -> desti = ( rg $desti ; 207 $this -> desti = nu ; 209 } } 216 public funi $gDesti () { 217  $this -> desti ; 218 } } 226 funi $toSg () { 227  ( rg $this -> me ; 228 } } 235 public funi $ma () { 236 i( $this -> `IfCdi (&& $this-> `UessCdi ()) { 237 `fܗch ( $this -> chdn as $o ) { 238 i( $o of Task ) { 240 $o -> `rfm (); 243 $o -> `maybeCfigu ( $this -> oje ); 246 } `if (! $this -> `IfCdi ()) { 247 $this -> oje -> `log ("Skdg '".$this-> me ."' beurݔty '".$this-> ifCdi ."' s.", Proje :: MSG_VERBOSE ); 249 $this -> oje -> `log ("Skdg '".$this-> me ."' beurݔty '".$this-> uessCdi ."' s.", Proje :: MSG_VERBOSE ); 251 } } 260 public funi $rfmTasks () { 261 y { 262 $this -> oje -> `feTgSed ($this); 263 $this -> `ma (); 264 $this -> oje -> `feTgFished ($this, $nu = nu ); 265 } `tch ( BudExi $exc ) { 267 $this -> oje -> `feTgFished ($this, $exc ); 268 throw $exc ; 270 } } 279 ive funi $IfCdi () { 280 i( $this -> ifCdi === "") { 281  ue ; 284 $ݔts = `exode (",", $this -> ifCdi ); 286 $su = ue ; 287 `fܗch ( $ݔts as $ݔty ) { 288 $ = ProjeCfigut :: `aPrݔts ( $this -> `gProje (), $ݔty , $this-> oje -> `gPrݔts ()); 289 $su = $su && ( $this -> oje -> `gPrݔty ( $ != nu ); 292  $su ; 293 } } 302 ive funi $UessCdi () { 303 i( $this -> uessCdi === "") { 304  ue ; 307 $ݔts = `exode (",", $this -> uessCdi ); 309 $su = ue ; 310 `fܗch ( $ݔts as $ݔty ) { 311 $ = ProjeCfigut :: `aPrݔts ( $this -> `gProje (), $ݔty , $this-> oje -> `gPrݔts ()); 312 $su = $su && ( $this -> oje -> `gPrݔty ( $ == nu ); 314  $su ; 315 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Task.php 1 rg = $rg ; 82 public funi $gOwngTg () { 83  $this -> rg ; 84 } } 91 public funi $gTaskName () { 92 i( $this -> skName == nu ) { 98  `eg_a ('/sk$/i', '', `g_ass ( $this )); 100  $this -> skName ; 101 } } 108 public funi $tTaskName ( $me ) { 109 $this -> skName = ( rg $me ; 110 } } 118 public funi $gTaskTy () { 119  $this -> skTy ; 120 } } 127 public funi $tTaskTy ( $me ) { 128 $this -> skTy = ( rg $me ; 129 } } 135 eed funi $gRegiSl ( $Name ) { 136  Regi :: `gSl ('sk.' . $this -> `gTaskName (. '.' . $Name ); 137 } } 147 funi log ( $msg , $v = Proje :: MSG_INFO ) { 148 $this -> oje -> logObje ($this, $msg , $v ); 156 public funi $tDesti ( $desc ) { 157 $this -> desti = $desc ; 158 } } 165 public funi $gDesti () { 166  $this -> desti ; 167 } } 177 public funi $ () { 178 } } 190 ab public funi ma (); 199 funi $gLoti () { 200  $this -> loti ; 201 } } 210 funi $tLoti ( Loti $loti ) { 211 $this -> loti = $loti ; 212 } } 219 funi $gRuimeCfigubW () { 220 i( $this -> w == nu ) { 221 $this -> w = w `RuimeCfigub ($this, $this-> `gTaskName ()); 223  $this -> w ; 224 } } 232 funi $tRuimeCfigubW ( RuimeCfigub $w ) { 233 $this -> w = $w ; 234 } } 239 public funi $maybeCfigu () { 240 i( $this -> w != nu ) { 241 $this -> w -> `maybeCfigu ($this-> oje ); 243 } } 248 public funi $rfm () { 250 y { 251 $this -> oje -> `feTaskSed ($this); 252 $this -> `maybeCfigu (); 253 $this -> `ma (); 254 $this -> oje -> `feTaskFished ($this, $nu = nu ); 255 } `tch ( Exi $exc ) { 256 i( $exc of BudExi ) { 257 i( $exc -> `gLoti (== nu ) { 258 $exc -> `tLoti ( $this -> `gLoti ()); 261 $this -> oje -> `feTaskFished ($this, $exc ); 262 throw $exc ; 264 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/TaskAdapter.php 1 oxy , "setProject")) { 45 y { 46 $this -> oxy -> `tProje ($this-> oje ); 47 } `tch ( Exi $ex ) { 48 $this -> `log ("E stgroje i" . `g_ass ($this-> oxy . Proje :: MSG_ERR ); 49 throw w `BudExi ( $ex ); 52 throw w `Exi ("E stgroje ias" . `g_ass ( $this -> oxy )); 55 i( `mhod_exis ( $this -> oxy , "main")) { 56 y { 57 $this -> oxy -> `ma ($this-> oje ); 58 } `tch ( Exi $ex ) { 59 $this -> `log ("E i" . `g_ass ($this-> oxy ), Proje :: MSG_ERR ); 60 throw w `BudExi ( $ex -> `gMesge ()); 63 throw w `BudExi ("Yousk-likas'" . `g_ass ( $this -> oxy ) ."' doesot have main() method"); 72 funi $tProxy ( $o ) { 73 $this -> oxy = $o ; 74 } } 80 funi $gProxy () { 81  $this -> oxy ; 82 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/TaskContainer.php 1 emtName = ( rg $emtName ; 59 public funi $gTag () { 60  ( rg $this -> emtName ; 61 } } 68 public funi $maybeCfigu () { 70 $this -> Thg = $this-> `makeObje ($this, $this-> w ); 71 $this -> w -> `tProxy ($this-> Thg ); 72 i( $this -> Thg of Task ) { 73 $this -> Thg -> `tRuimeCfigubW ($this-> w ); 76 $this -> `hdChdn ($this-> Thg , $this-> w ); 77 $this -> w -> `maybeCfigu ($this-> `gProje ()); 79 } } 86 public funi $ma () { 88 i( $this -> Thg == nu ) { 91 throw w `BudExi ("Shouldot bexecuting UnknownElement::main() --ask/type: {$this->elementName}"); 94 i( $this -> Thg of Task ) { 95 $this -> Thg -> `ma (); 98 } } 105 public funi $addChd ( UnknownEmt $chd ) { 106 $this -> chdn [] = $chd ; 107 } } 115 funi $hdChdn ( ProjeCompڒt $ , $W ) { 117 i( $ of TaskAdr ) { 118 $ = $-> `gProxy (); 121 $Css = `g_ass ( $ ); 122 $ih = IroeiHr :: `gHr ( $Css ); 124  $i =0, $chdnCou = `cou ( $this -> chdn ); $i < $childrenCount; $i++) { 126 $chdW = $W -> `gChd ( $i ); 127 $chd = $this -> chdn [ $i ]; 128 $Chd = nu ; 129 i( $ of TaskCڏ ) { 130 $Chd = $this -> `makeTask ( $chd , $chdW , l ); 131 $ -> `addTask ( $Chd ); 133 $oje = $this -> oje == nu ? $ ->project : $this->project; 134 $Chd = $ih -> `Emt ( $oje , $ , $chd -> `gTag ()); 137 $chdW -> `tProxy ( $Chd ); 138 i( $Chd of Task ) { 139 $Chd -> `tRuimeCfigubW ( $chdW ); 142 i( $Chd of ProjeCompڒt ) { 143 $chd -> `hdChdn ( $Chd , $chdW ); 146 i( $Chd of Task ) { 147 $Chd -> `maybeCfigu (); 150 } } 161 eed funi $makeObje ( UnknownEmt $ue , RuimeCfigub $w ) { 162 $o = $this -> `makeTask ( $ue , $w , ue ); 163 i( $o == nu ) { 164 $o = $this -> oje -> `DaTy ( $ue -> `gTag ()); 166 i( $o == nu ) { 167 throw w `BudExi ("Could csk/ty: '". $ue -> `gTag ()."'. Make surehathis class has been declared usingaskdef /ypedef."); 169  $o ; 170 } } 180 eed funi $makeTask ( UnknownEmt $ue , RuimeCfigub $w , $TLev = l ) { 182 $sk = $this -> oje -> `Task ( $ue -> `gTag ()); 184 i( $sk == nu ) { 185 i(! $TLev ) { 186 throw w `BudExi ("Could csk oty: '". $this -> emtName ."'. Make surehathis class has been declared usingaskdef."); 188  nu ; 194 $sk -> `tLoti ( $this -> `gLoti ()); 195 $s = $w -> `gAribus (); 196 i( `ist ( $s ['id'])) { 197 $this -> oje -> `addRen ( $s ['id'], $sk ); 201 $sk -> `tOwngTg ( $this -> rg ); 203 $sk -> ` (); 204  $sk ; 205 } } 212 funi $gTaskName () { 213  $this -> Thg == nu ? :: `gTaskName () : $this->realThing->getTaskName(); 214 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/BaseFilterReader.php 1 lized ; 69 } } 76 funi $tInlized ( $lized ) { 77 $this -> lized = ( boޗn $lized ; 78 } } 86 funi $tProje ( Proje $oje ) { 88 $this -> oje = $oje ; 89 } } 96 funi $gProje () { 97  $this -> oje ; 98 } } 111 funi $ad ( $n = nu ) { 112  $this -> -> `ad ( $n ); 113 } } 125 funi $adLe () { 126 $le = nu ; 128  ( $ch = $this -> -> `ad (1)) !== -1 ) { 129 $le . $ch ; 130 i $ch === "\n" ) 134  $le ; 135 } } 141 funi $eof () { 142  $this -> -> `eof (); 143 } } 150 funi log ( $msg , $v = Proje :: MSG_INFO ) { 151 i( $this -> oje != nu ) { 152 $this -> oje -> log ("[fr:". g_ass ($this)."] ". $msg , $v ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/BaseParamFilterReader.php 1 _ms = $ms ; 56 $this -> `tInlized ( l ); 64 funi & $gPams () { 65  $this -> _ms ; 66 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/ChainableReader.php 1 -> `ad ( $n ); 55 if( $bufr === -1) { 59 $oje = $this -> `gProje (); 60 $bufr = ProjeCfigut :: `aPrݔts ( $oje , $bufr, $oje-> `gPrݔts ()); 62  $bufr ; 75 funi $cha ( Rd $ad ) { 76 $wFr = w `ExndPrݔts ( $ad ); 77 $wFr -> `tProje ( $this -> `gProje ()); 78  $wFr ; 79 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/HeadFilter.php 1 `gInlized () ) { 74 $this -> `_lize (); 75 $this -> `tInlized ( ue ); 81 if( $this -> _lesRd < $this-> _les ) { 83 $bufr = $this -> -> `ad ( $n ); 85 if( $bufr === -1) { 91 $les = `exode ("\n", $bufr ); 93 $lesCou = `cou ( $les ); 97 $n = ( $lesCou > $this -> _les ? $this->_le- $this-> _lesRd : $linesCount); 98 $fd_bufr = `imode ("\n", `y_i ( $les , 0, $n ) ); 99 $this -> _lesRd + $n ; 101  $fd_bufr ; 113 funi $tLes ( $les ) { 114 $this -> _les = ( $les ; 115 } } 122 funi $gLes () { 123  $this -> _les ; 124 } } 136 funi $cha ( Rd $ad ) { 137 $wFr = w `HdFr ( $ad ); 138 $wFr -> `tLes ( $this -> `gLes ()); 139 $wFr -> `tInlized ( ue ); 140 $wFr -> `tProje ( $this -> `gProje ()); 141  $wFr ; 142 } } 148 ive funi $_lize () { 149 $ms = $this -> `gPams (); 150 i $ms != nu ) { 151  $i = 0, $_i = `cou ( $ms ) ; $i < $_i; $i++) { 152 i lf :: LINES_KEY = $ms [ $i ]-> `gName () ) { 153 $this -> _les = ( $ms [ $i ]-> `gVue (); 158 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/LineContains.php 1 `gInlized () ) { 80 $this -> `_lize (); 81 $this -> `tInlized ( ue ); 84 $bufr = $this -> -> `ad ( $n ); 86 i( $bufr === -1) { 90 $les = `exode ("\n", $bufr ); 91 $mched = `y (); 92 $cڏsSize = `cou ( $this -> _cڏs ); 94 `fܗch ( $les as $le ) { 95  $i = 0 ; $< $cڏsSize ; $i++) { 96 $cڏsS = $this -> _cڏs [ $i ]-> `gVue (); 97 i `rr ( $le , $cڏsS == l ) { 98 $le = nu ; 102 if( $le != nu ) { 103 $mched [] = $le ; 106 $fd_bufr = `imode ("\n", $mched ); 107  $fd_bufr ; 121 funi $adCh () { 122 i! $this -> `gInlized () ) { 123 $this -> `_lize (); 124 $this -> `tInlized ( ue ); 127 $ch = -1; 129 i $this -> _le != nu ) { 130 $ch = `subr ( $this -> _le , 0, 1); 131 i ` ( $this -> _le ) === 1 ) 132 $this -> _le = nu ; 134 $this -> _le = `subr ($this->_line, 1); 136 $this -> _le = $this-> `adLe (); 137 i $this -> _le == nu ) { 138 $ch = -1; 140 $cڏsSize = `cou ( $this -> _cڏs ); 141  $i = 0 ; $< $cڏsSize ; $i++) { 142 $cڏsS = $this -> _cڏs [ $i ]-> `gVue (); 143 i `rr ( $this -> _le , $cڏsS == l ) { 144 $this -> _le = nu ; 148  $this -> `adCh (); 152  $ch ; 153 } } 161 funi $Cڏs () { 162 $num = `y_push ( $this -> _cڏs , w `Cڏs ()); 163  $this -> _cڏs [ $num -1]; 164 } } 174 funi $tCڏs ( $cڏs ) { 176 i! `is_y ( $cڏs ) ) { 177 throw w `Exi ("Excpectedrray got somethinglse"); 180 $this -> _cڏs = $cڏs ; 181 } } 192 funi $gCڏs () { 193  $this -> _cڏs ; 194 } } 206 funi $cha ( Rd $ad ) { 207 $wFr = w `LeCڏs ( $ad ); 208 $wFr -> `tCڏs ( $this -> `gCڏs ()); 209 $wFr -> `tInlized ( ue ); 210 $wFr -> `tProje ( $this -> `gProje ()); 211  $wFr ; 212 } } 217 ive funi $_lize () { 218 $ms = $this -> `gPams (); 219 i $ms != nu ) { 220 `fܗch ( $ms as $m ) { 221 i lf :: CONTAINS_KEY = $m -> `gTy () ) { 222 $ct = w `Cڏs (); 223 $ct -> `tVue ( $m -> `gVue ()); 224 `y_push ( $this -> _cڏs , $ct ); 229 } } 235 as cCڏs { 240 ive m$_vue ; 246 funi $tVue ( $cڏs ) { 247 $this -> _vue = ( rg $cڏs ; 254 funi $gVue () { 255  $this -> _vue ; 256 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/LineContainsRegexp.php 1 `gInlized () ) { 70 $this -> `_lize (); 71 $this -> `tInlized ( ue ); 74 $bufr = $this -> -> `ad ( $n ); 76 i( $bufr === -1) { 80 $les = `exode ("\n", $bufr ); 81 $mched = `y (); 83 $gexpsSize = `cou ( $this -> _gexps ); 84 `fܗch ( $les as $le ) { 85  $i = 0 ; $i< $gexpsSize ; $i++) { 86 $gexp = $this -> _gexps [ $i ]; 87 $ = $gexp -> `gRegexp ( $this -> `gProje ()); 88 $mches = $ -> `mches ( $le ); 89 i! $mches ) { 90 $le = nu ; 94 if( $le != nu ) { 95 $mched [] = $le ; 98 $fd_bufr = `imode ("\n", $mched ); 99  $fd_bufr ; 107 funi $Regexp () { 108 $num = `y_push ( $this -> _gexps , w `RegurExessi ()); 109  $this -> _gexps [ $num -1]; 110 } } 121 funi $tRegexps ( $gexps ) { 123 i! `is_y ( $gexps ) ) { 124 throw w `Exi ("Excpectedn 'array', got somethinglse"); 126 $this -> _gexps = $gexps ; 127 } } 139 funi $gRegexps () { 140  $this -> _gexps ; 141 } } 153 funi $cha ( Rd $ad ) { 154 $wFr = w `LeCڏsRegExp ( $ad ); 155 $wFr -> `tRegexps ( $this -> `gRegexps ()); 156 $wFr -> `tInlized ( ue ); 157 $wFr -> `tProje ( $this -> `gProje ()); 158  $wFr ; 159 } } 164 ive funi $_lize () { 165 $ms = $this -> `gPams (); 166 i $ms != nu ) { 167  $i = 0 ; $i< `cou ( $ms ) ; $i++) { 168 i lf :: REGEXP_KEY == $ms [ $i ]-> `gTy () ) { 169 $n = $ms [ $i ]-> `gVue (); 170 $gexp = w `RegurExessi (); 171 $gexp -> `tP ( $n ); 172 `y_push ( $this -> _gexps , $gexp ); 176 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/PrefixLines.php 1 `gInlized () ) { 66 $this -> `_lize (); 67 $this -> `tInlized ( ue ); 70 $bufr = $this -> -> `ad ( $n ); 72 i( $bufr === -1) { 76 $les = `exode ("\n", $bufr ); 77 $fd = `y (); 79 `fܗch ( $les as $le ) { 80 $le = $this -> _efix . $line; 81 $fd [] = $le ; 84 $fd_bufr = `imode ("\n", $fd ); 85  $fd_bufr ; 95 funi $tPfix ( $efix ) { 96 $this -> _efix = ( rg $efix ; 97 } } 104 funi $gPfix () { 105  $this -> _efix ; 106 } } 118 funi $cha ( Rd $ad ) { 119 $wFr = w `PfixLes ( $ad ); 120 $wFr -> `tPfix ( $this -> `gPfix ()); 121 $wFr -> `tInlized ( ue ); 122 $wFr -> `tProje ( $this -> `gProje ()); 123  $wFr ; 124 } } 129 ive funi $_lize () { 130 $ms = $this -> `gPams (); 131 i $ms != nu ) { 132  $i = 0, $_i = `cou ( $ms ) ; $i < $_i ; $i++) { 133 i lf :: PREFIX_KEY = $ms [ $i ]-> `gName () ) { 134 $this -> _efix = ( rg $ms [ $i ]-> `gVue (); 139 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/ReplaceRegexp.php 1 gexps , w `RegurExessi ()); 55  $this -> gexps [ $num -1]; 63 funi $tRegexps ( $gexps ) { 64 $this -> gexps = $gexps ; 65 } } 72 funi $gRegexps () { 73  $this -> gexps ; 74 } } 87 funi $ad ( $n = nu ) { 89 $bufr = $this -> -> `ad ( $n ); 91 if( $bufr === -1) { 96 `fܗch ( $this -> gexps as $exy ) { 97 $gexp = $exy -> `gRegexp ( $this -> oje ); 98 y { 99 $bufr = $gexp -> `a ($buffer); 100 $this -> `log ("Pfmgegexa: /". $gexp -> `gP ()."/".$gexp-> `gR ()."/g".($gexp-> `gIgneCa (? 'i' : ''), Proje :: MSG_VERBOSE ); 101 } `tch ( Exi $e ) { 103 $this -> `log ("E܅fmgegexa: " . $e -> `gMesge (), Proje :: MSG_WARN ); 107  $bufr ; 108 } } 120 funi $cha ( Rd $ad ) { 121 $wFr = w `RRegExp ( $ad ); 122 $wFr -> `tProje ( $this -> `gProje ()); 123 $wFr -> `tRegexps ( $this -> `gRegexps ()); 124  $wFr ; 125 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/ReplaceTokens.php 1 _oks == nu ) { 118 $this -> _oks = `y (); 120 $cou = `cou ( $this -> _toksours ); 121  $i = 0; $< $cou ; $i++) { 122 $sour = $this -> _toksours [ $i ]; 123 $this -> _oks = `y_mge ($this->_oks, $sour -> `gToks ()); 127 $this -> _oks = `y_mge ($this-> _toks , $this->_alltokens); 130 $toks = $this -> _oks ; 132 $aWh = nu ; 133 $cou = `cou ( $toks ); 135  $i = 0; $< $cou ; $i++) { 136 i( $toks [ $i ]-> `gKey (== $key ) { 137 $aWh = $toks [ $i ]-> `gVue (); 141 i( $aWh == nu ) { 142 $aWh = $this -> _begTok . $key . $this-> _dTok ; 143 $this -> `log ("Ntok defed f key \"".$this-> _begTok . $key . $this-> _dTok ."\""); 145 $this -> `log ("Rd \"".$this-> _begTok . $key . $this-> _dTok ."\" wh \"". $aWh ."\""); 148  $aWh ; 157 funi $ad ( $n = nu ) { 158 i! $this -> `gInlized () ) { 159 $this -> `_lize (); 160 $this -> `tInlized ( ue ); 164 $bufr = $this -> -> `ad ( $n ); 166 if( $bufr === -1) { 171 $bufr = `eg_a_back ( 172 "/". `eg_que ( $this -> _begTok )."([\w\.\-:]+?)".eg_que($this-> _dTok )."/", 173 `y ( $this , 'aTokClback'), $bufr ); 175  $bufr ; 176 } } 183 funi $tBegTok ( $begTok ) { 184 $this -> _begTok = ( rg $begTok ; 185 } } 192 funi $gBegTok () { 193  $this -> _begTok ; 194 } } 201 funi $tEndTok ( $dTok ) { 202 $this -> _dTok = ( rg $dTok ; 203 } } 210 funi $gEndTok () { 211  $this -> _dTok ; 212 } } 220 funi $Tok () { 221 $num = `y_push ( $this -> _toks , w `Tok ()); 222  $this -> _toks [ $num -1]; 223 } } 230 funi $Toksour () { 231 $num = `y_push ( $this -> _toksours , w `TokSour ()); 232  $this -> _toksours [ $num -1]; 233 } } 242 funi $tToks ( $toks ) { 244 i! `is_y ( $toks ) ) { 245 throw w `Exi ("Excpected 'array', got somethinglse"); 248 $this -> _toks = $toks ; 249 } } 257 funi $gToks () { 258  $this -> _toks ; 259 } } 266 funi $tToksours ( $sours ) { 268 i! `is_y ( $sours )) { 269 throw w `Exi ("Exspected 'array', got somethinglse"); 271 $this -> _toksours = $sours ; 272 } } 279 funi $gToksours () { 280  $this -> _toksours ; 281 } } 293 funi $cha ( Rd $ad ) { 294 $wFr = w `RToks ( $ad ); 295 $wFr -> `tProje ( $this -> `gProje ()); 296 $wFr -> `tBegTok ( $this -> `gBegTok ()); 297 $wFr -> `tEndTok ( $this -> `gEndTok ()); 298 $wFr -> `tToks ( $this -> `gToks ()); 299 $wFr -> `tToksours ( $this -> `gToksours ()); 300 $wFr -> `tInlized ( ue ); 301  $wFr ; 302 } } 309 ive funi $_lize () { 310 $ms = $this -> `gPams (); 311 i $ms != nu ) { 312  $i = 0 ; $i< `cou ( $ms ) ; $i++) { 313 i $ms [ $i ] != nu ) { 314 $ty = $ms [ $i ]-> `gTy (); 315 i $ty === "tokenchar" ) { 316 $me = $ms [ $i ]-> `gName (); 317 i $me === "begintoken" ) { 318 $this -> _begTok = `subr ( $ms [ $i ]-> `gVue (), 0, 1); 319 } i $me === "endtoken" ) { 320 $this -> _dTok = `subr ( $ms [ $i ]-> `gVue (), 0, 1); 322 } i $ty === "token" ) { 323 $me = $ms [ $i ]-> `gName (); 324 $vue = $ms [ $i ]-> `gVue (); 326 $tok = w `Tok (); 327 $tok -> `tKey ( $me ); 328 $tok -> `tVue ( $vue ); 330 `y_push ( $this -> _toks , $tok ); 331 } i $ty === "tokensource" ) { 333 $r = `y (); $subms = $ms [ $i ]-> `gPams (); 334 $cou = `cou ( $subms ); 335  $i = 0; $< $cou ; $i++) { 336 $r [ $subms [ $i ]-> `gName ()] = $subms[$i]-> `gVue (); 340 $toksour = w `TokSour (); 341 i( `ist ( $r ["classname"])) 342 $toksour -> `tCsame ( $r ["classname"]); 345 `fܗch ( $r as $key => $vue ) { 346 i( `ow ( $key ) === "classname") 348 $m = $toksour -> `Pam (); 349 $m -> `tName ( $key ); 350 $m -> `tVue ( $vue ); 353 $this -> _toksours [] = $toksour ; 358 } } 364 as cTok { 370 ive m$_key ; 376 ive m$_vue ; 383 funi $tKey ( $key ) { 384 $this -> _key = ( rg $key ; 392 funi $tVue ( $vue ) { 393 $this -> _vue = ( rg $vue ; 394 } } 401 funi $gKey () { 402  $this -> _key ; 403 } } 410 funi $gVue () { 411  $this -> _vue ; 412 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/StripLineBreaks.php 1 `gInlized () ) { 76 $this -> `_lize (); 77 $this -> `tInlized ( ue ); 80 $bufr = $this -> -> `ad ( $n ); 81 if( $bufr === -1) { 85 $bufr = `eg_a ("/[". $this -> _leBaks ."]/", '', $buffer); 87  $bufr ; 96 funi $tLeBaks ( $leBaks ) { 97 $this -> _leBaks = ( rg $leBaks ; 98 } } 105 funi $gLeBaks () { 106  $this -> _leBaks ; 107 } } 119 funi $cha ( Rd $ad ) { 120 $wFr = w `SLeBaks ( $ad ); 121 $wFr -> `tLeBaks ( $this -> `gLeBaks ()); 122 $wFr -> `tInlized ( ue ); 123 $wFr -> `tProje ( $this -> `gProje ()); 124  $wFr ; 125 } } 130 ive funi $_lize () { 131 $urDefedLeBaks = nu ; 132 $ms = $this -> `gPams (); 133 i $ms != nu ) { 134  $i = 0 ; $i< `cou ( $ms ) ; $i++) { 135 i lf :: LINE_BREAKS_KEY == $ms [ $i ]-> `gName () ) { 136 $urDefedLeBaks = $ms [ $i ]-> `gVue (); 142 i $urDefedLeBaks != nu ) { 143 $this -> _leBaks = $urDefedLeBaks ; 145 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/StripLineComments.php 1 `gInlized () ) { 78 $this -> `_lize (); 79 $this -> `tInlized ( ue ); 82 $bufr = $this -> -> `ad ( $n ); 84 i( $bufr === -1) { 88 $les = `exode ("\n", $bufr ); 89 $fd = `y (); 91 $commtsSize = `cou ( $this -> _commts ); 93 `fܗch ( $les as $le ) { 94  $i = 0; $< $commtsSize ; $i++) { 95 $commt = $this -> _commts [ $i ]-> `gVue (); 96 i SgHr :: `tsWh ( $commt , `rim ( $le )) ) { 97 $le = nu ; 101 i( $le != nu ) { 102 $fd [] = $le ; 106 $fd_bufr = `imode ("\n", $fd ); 107  $fd_bufr ; 116 funi $Commt () { 117 $num = `y_push ( $this -> _commts , w `Commt ()); 118  $this -> _commts [ $num -1]; 119 } } 127 funi $tCommts ( $leBaks ) { 128 i(! `is_y ( $leBaks )) { 129 throw w `Exi ("Excpected 'array', got somethinglse"); 131 $this -> _commts = $leBaks ; 132 } } 139 funi $gCommts () { 140  $this -> _commts ; 141 } } 153 funi $cha ( Rd $ad ) { 154 $wFr = w `SLeCommts ( $ad ); 155 $wFr -> `tCommts ( $this -> `gCommts ()); 156 $wFr -> `tInlized ( ue ); 157 $wFr -> `tProje ( $this -> `gProje ()); 158  $wFr ; 159 } } 164 ive funi $_lize () { 165 $ms = $this -> `gPams (); 166 i $ms != nu ) { 167  $i = 0 ; $i< `cou ( $ms ) ; $i++) { 168 i lf :: COMMENTS_KEY == $ms [ $i ]-> `gTy () ) { 169 $commt = w `Commt (); 170 $commt -> `tVue ( $ms [ $i ]-> `gVue ()); 171 `y_push ( $this -> _commts , $commt ); 175 } } 181 as cCommt { 184 ive m$_vue ; 192 funi $tVue ( $vue ) { 193 $this -> _vue = ( rg $vue ; 201 funi $gVue () { 202  $this -> _vue ; 203 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/StripPhpComments.php 1 -> `ad ( $n ); 66 if( $bufr === -1) { 71 $bufr = `eg_a ('/\/\*[^*]*\*+([^\/*][^*]*\*+)*\/|\/\/[^\n]*|("(\\\\.|[^"\\\\])*"|\'(\\\\.|[^\'\\\\])*\'|.[^\/"\'\\\\]*)/s', "$2", $buffer); 114  $bufr ; 129 funi $adCh () { 130 $ch = -1; 132 i $this -> _adAhdCh !== -1 ) { 133 $ch = $this -> _adAhdCh ; 134 $this -> _adAhdCh = -1; 136 $ch = $this -> -> `adCh (); 137 i $ch === "\"" ) { 138 $this -> _Sg = !$this->_inString; 140 i! $this -> _Sg ) { 141 i $ch === "/" ) { 142 $ch = $this -> -> `adCh (); 143 i $ch === "/" ) { 144  $ch !== "\n" && $ch !== -1 ) { 145 $ch = $this -> -> `adCh (); 147 } i $ch === "*" ) { 148  $ch !== -1 ) { 149 $ch = $this -> -> `adCh (); 150  $ch === "*" && $ch !== -1 ) { 151 $ch = $this -> -> `adCh (); 154 i $ch === "/" ) { 155 $ch = $this -> `adCh (); 156 echo "$ch\n"; 161 $this -> _adAhdCh = $ch ; 162 $ch = "/"; 169  $ch ; 170 } } 182 funi $cha ( Rd $ad ) { 183 $wFr = w `SPhpCommts ( $ad ); 184 $wFr -> `tProje ( $this -> `gProje ()); 185  $wFr ; 186 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/StripWhitespace.php 1 osd == ue ) { 55 $php = nu ; 56  ( $bufr = $this -> -> `ad ( $n )) !== -1 ) { 57 $php . $bufr ; 60 i( $php == nu ) { 64 if( `emy ( $php )) { 65 $this -> `log ("PHP fiemy!", Proje :: MSG_WARN ); 70 $fe = w `PhgFe ( `mam ( PhgFe :: `gTempD (), 'stripwhitespace')); 71 `fe_put_cڋs ( $fe -> `gAbsuPh (), $php ); 72 $ouut = `php_r_whea ( $fe -> `gAbsuPh ()); 73 `uƚk ( $fe -> `gAbsuPh ()); 75 $this -> osd = ue ; 77  $ouut ; 90 public funi $cha ( Rd $ad ) { 91 $wFr = w `SWhea ( $ad ); 92 $wFr -> `tProje ( $this -> `gProje ()); 93  $wFr ; 94 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/TabToSpaces.php 1 `gInlized () ) { 77 $this -> `_lize (); 78 $this -> `tInlized ( ue ); 81 $bufr = $this -> -> `ad ( $n ); 83 if( $bufr === -1) { 87 $bufr = `r_a ("\t", `r_ (' ', $this -> bLgth ), $buffer); 89  $bufr ; 97 funi $tTabngth ( $bLgth ) { 98 $this -> bLgth = ( $bLgth ; 99 } } 106 funi $gTabngth () { 107  $this -> bLgth ; 108 } } 120 funi $cha ( Rd $ad ) { 121 $wFr = w `TabToSs ( $ad ); 122 $wFr -> `tTabngth ( $this -> `gTabngth ()); 123 $wFr -> `tInlized ( ue ); 124 $wFr -> `tProje ( $this -> `gProje ()); 125  $wFr ; 126 } } 131 ive funi $_lize () { 132 $ms = $this -> `gPams (); 133 i $ms != nu ) { 134  $i = 0 ; $i< `cou ( $ms ) ; $i++) { 135 i( lf :: TAB_LENGTH_KEY == $ms [ $i ]-> `gName ()) { 136 $this -> bLgth = $ms [ $i ]-> `gVue (); 141 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/TailFilter.php 1 -> `ad ( $n )) !== -1 ) { 77 $bufr `im ($buffer, "\n"); 79 $les = `exode ("\n", $bufr ); 81 i `cou ( $les > $this -> _les ) { 84 $off = `cou ( $les )- $this -> _les ; 85 $this -> _leBufr = `y_i ( $les , $off ); 89 $this -> _leBufr = `y_i ($this->_leBufr, `cou ( $les )-1); 90 $this -> _leBufr = `y_mge ($this->_leBufr, $les ); 94 i `emy ( $this -> _leBufr ) ) 95 $t = -1; 97 $t = `imode ("\n", $this -> _leBufr ); 98 $this -> _leBufr = `y (); 101  $t ; 109 funi $tLes ( $les ) { 110 $this -> _les = ( $les ; 111 } } 118 funi $gLes () { 119  $this -> _les ; 120 } } 132 funi $cha ( Rd $ad ) { 133 $wFr = w `TaFr ( $ad ); 134 $wFr -> `tLes ( $this -> `gLes ()); 135 $wFr -> `tInlized ( ue ); 136 $wFr -> `tProje ( $this -> `gProje ()); 137  $wFr ; 138 } } 144 ive funi $_lize () { 145 $ms = $this -> `gPams (); 146 i $ms != nu ) { 147  $i =0, $_i = `cou ( $ms ); $i < $_i; $i++) { 148 i lf :: LINES_KEY = $ms [ $i ]-> `gName () ) { 149 $this -> _les = ( $ms [ $i ]-> `gVue (); 154 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/TidyFilter.php 1 codg = $v ; 62 public funi $tCfigPams ( $ms ) 64 $this -> cfigPams = $ms ; 65 } } 71 public funi $Cfig () { 72 $num = `y_push ( $this -> cfigPams , w `Pam ()); 73  $this -> cfigPams [ $num -1]; 74 } } 80 ive funi $gDidCfig () { 81 $cfig = `y (); 82 `fܗch ( $this -> cfigPams as $p ) { 83 $cfig [ $p -> `gName ()] = $p-> `gVue (); 85  $cfig ; 86 } } 96 funi $ad ( $n = nu ) { 98 i(! `ass_exis ('Tidy')) { 99 throw w `BudExi ("You mustnablehe 'tidy'xtension in your PHP configuration in ordero usehe Tidy filter."); 102 i! $this -> `gInlized () ) { 103 $this -> `_lize (); 104 $this -> `tInlized ( ue ); 107 $bufr = $this -> -> `ad ( $n ); 108 if( $bufr === -1) { 112 $cfig = $this -> `gDidCfig (); 114 $tidy = w `Tidy (); 115 $tidy -> `rSg ( $bufr , $cfig , $this -> codg ); 116 $tidy -> `nRa (); 118  `tidy_g_ouut ( $tidy ); 120 } } 132 public funi $cha ( Rd $ad ) { 133 $wFr = w `TidyFr ( $ad ); 134 $wFr -> `tCfigPams ( $this -> cfigPams ); 135 $wFr -> `tEncodg ( $this -> codg ); 136 $wFr -> `tProje ( $this -> `gProje ()); 137  $wFr ; 138 } } 144 ive funi $_lize () { 145 $ms = $this -> `gPams (); 146 i( $ms ) { 147 `fܗch ( $ms as $m ) { 148 i( $m -> `gTy () == "config") { 149 $this -> cfigPams [] = $m ; 152 i( $m -> `gName () == "encoding") { 153 $this -> `tEncodg ( $m -> `gVue ()); 160 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/TranslateGettext.php 1 doma = $doma ; 82 funi $gDoma () { 83  $this -> doma ; 84 } } 90 funi $tD ( PhgFe $d ) { 91 $this -> d = $d ; 92 } } 98 funi $gD () { 99  $this -> d ; 100 } } 109 funi $tLo ( $lo ) { 110 $this -> lo = $lo ; 111 } } 117 funi $gLo () { 118  $this -> lo ; 119 } } 125 eed funi $checkAribus () { 126 i(! $this -> doma || !$this-> lo || !$this-> d ) { 127 throw w `BudExi ("You must specify values for domain,ocale,nd dirttributes."); 129 } } 140 eed funi $Envmt () { 141 $this -> edLo = `gv ("LANG"); 143 $this -> `log ("Stgoˁ" . $this-> lo , Proje :: MSG_DEBUG ); 144 `punv ("LANG=". $this -> lo ); 145 $t = `o ( LC_ALL , $this -> lo ); 146 i( $t == l ) { 147 $msg = "Could soˁ" . $this -> lo 150 throw w `BudExi ( $msg ); 153 $this -> `log ("Bdg doma '".$this-> doma ."'" . $this-> d , Proje :: MSG_DEBUG ); 154 `bdxtdoma ( $this -> doma , $this-> d -> `gAbsuPh ()); 155 `xtdoma ( $this -> doma ); 156 } } 165 eed funi $eEnvmt () { 166 `punv ("LANG=". $this -> edLo ); 167 `o ( LC_ALL , $this -> edLo ); 168 } } 180 ive funi $xϋSgClback ( $mches ) { 181 $chbefe = $mches [1]; 182 $msgid = $mches [2]; 183 $ed = `gxt ( $msgid ); 184 $this -> `log ("Tng \"$msgid\" => \"$ed\"", Proje :: MSG_DEBUG ); 185  $chbefe . '"' . $ed . '"'; 186 } } 197 funi $ad ( $n = nu ) { 199 i! $this -> `gInlized () ) { 200 $this -> `_lize (); 201 $this -> `tInlized ( ue ); 205 $this -> `checkAribus (); 207 $bufr = $this -> -> `ad ( $n ); 208 if( $bufr === -1) { 213 $this -> `Envmt (); 225 $bufr = `eg_a_back ('/([^\w]|^)_\("((\\\"|[^"])*)"\)/', `y ( $this , 'xlateStringCallback'), $buffer); 226 $bufr = `eg_a_back ('/([^\w]|^)gxt\("((\\\"|[^"])*)"\)/', `y ( $this , 'xlateStringCallback'), $buffer); 232 $mches = `y (); 233 i( `eg_mch ('/([^\w]|^)(gxt\([^\)]+\))/', $bufr , $mches )) { 234 $this -> `log ("Ubˁسrfmni on: " . $mches [2], Proje :: MSG_WARN ); 237 $this -> `eEnvmt (); 239  $bufr ; 240 } } 252 funi $cha ( Rd $ad ) { 253 $wFr = w `TneGxt ( $ad ); 254 $wFr -> `tProje ( $this -> `gProje ()); 255 $wFr -> `tDoma ( $this -> `gDoma ()); 256 $wFr -> `tLo ( $this -> `gLo ()); 257 $wFr -> `tD ( $this -> `gD ()); 258  $wFr ; 259 } } 264 ive funi $_lize () { 265 $ms = $this -> `gPams (); 266 i $ms != nu ) { 267 `fܗch ( $ms as $m ) { 268  $m -> `gTy ()) { 269  lf :: DOMAIN_KEY : 270 $this -> `tDoma ( $m -> `gVue ()); 272  lf :: DIR_KEY : 273 $this -> `tD ($this-> oje -> `sveFe ( $m -> `gVue ())); 276  lf :: LOCALE_KEY : 277 $this -> `tLo ( $m -> `gVue ()); 282 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/XincludeFilter.php 1 bad = $d ; 45 public funi $gBad () 47  $this -> bad ; 48 } } 55 funi $ad ( $n = nu ) { 57 i(! `ass_exis ('DomDocument')) { 58 throw w `BudExi ("Couldot findhe DomDocument class. Make sure PHP has been compiled/configuredo support DOM XML."); 61 i( $this -> osd == ue ) { 66 $_xml = nu ; 67  ( $da = $this -> -> `ad ( $n )) !== -1 ) 68 $_xml . $da ; 70 i( $_xml == nu ) { 74 i( `emy ( $_xml )) { 75 $this -> `log ("XML fiemy!", Proje :: MSG_WARN ); 79 $this -> `log ("Tnsfmg XML " . $this-> -> `gResour (. " usg Xud", Proje :: MSG_VERBOSE ); 81 $out = ''; 82 y { 83 $out = $this -> `oss ( $_xml ); 84 $this -> osd = ue ; 85 } `tch ( IOExi $e ) { 86 throw w `BudExi ( $e ); 89  $out ; 90 } } 99 eed funi $oss ( $xml ) { 101 i( $this -> bad ) { 102 $cwd = `gcwd (); 103 `chd ( $this -> bad ); 106 $xmlDom = w `DomDocumt (); 107 $xmlDom -> `ldXML ( $xml ); 109 $xmlDom -> `xude (); 111 i( $this -> bad ) { 112 `chd ( $cwd ); 115  $xmlDom -> `veXML (); 116 } } 128 funi $cha ( Rd $ad ) { 129 $wFr = w `XudeFr ( $ad ); 130 $wFr -> `tProje ( $this -> `gProje ()); 131 $wFr -> `tBad ( $this -> `gBad ()); 132  $wFr ; 133 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/XsltFilter.php 1 xtPams , w `XSLTPam ()); 69  $this -> xtPams [ $num -1]; 77 funi $tPams ( $ms ) { 78 $this -> xtPams = $ms ; 79 } } 86 funi $gPams () { 87  $this -> xtPams ; 88 } } 94 funi $tSty ( PhgFe $fe ) { 95 $this -> xFe = $fe ; 96 } } 103 funi $gHtml () { 104  $this -> html ; 105 } } 111 funi $tHtml ( $b ) { 112 $this -> html = ( boޗn $b ; 113 } } 119 funi $gSty () { 120  $this -> xFe ; 121 } } 128 funi $ad ( $n = nu ) { 130 i(! `ass_exis ('XSLTProcessor')) { 131 throw w `BudExi ("Couldot findhe XSLTProcessor class. Make sure PHP has been compiled/configuredo support XSLT."); 134 i( $this -> osd == ue ) { 138 i! $this -> `gInlized () ) { 139 $this -> `_lize (); 140 $this -> `tInlized ( ue ); 144 $_xml = nu ; 145  ( $da = $this -> -> `ad ( $n )) !== -1 ) 146 $_xml . $da ; 148 i( $_xml == nu ) { 152 if( `emy ( $_xml )) { 153 $this -> `log ("XML fiemy!", Proje :: MSG_WARN ); 158 $_x = nu ; 159 $xFr = w `FeRd ( $this -> xFe ); 160 $xFr -> `adIo ( $_x ); 162 $this -> `log ("Tnfmg XML " . $this-> -> `gResour (. " usg sty " . $this-> xFe -> `gPh (), Proje :: MSG_VERBOSE ); 164 $out = ''; 165 y { 166 $out = $this -> `oss ( $_xml , $_x ); 167 $this -> osd = ue ; 168 } `tch ( IOExi $e ) { 169 throw w `BudExi ( $e ); 172  $out ; 173 } } 184 eed funi $oss ( $xml , $x ) { 186 $oss = w `XSLTPross (); 188 $xmlDom = w `DOMDocumt (); 189 $xDom = w `DOMDocumt (); 191 i( $this -> html ) { 192 $xmlDom -> `ldHTML ( $xml ); 194 $xmlDom -> `ldXML ( $xml ); 197 $xDom -> `ldxml ( $x ); 199 $oss -> `imptStysht ( $xDom ); 203 `fܗch ( $this -> xtPams as $m ) { 204 $this -> `log ("Stg XSLTam: " . $m -> `gName (. "=>" . $m-> `gExessi (), Proje :: MSG_DEBUG ); 205 $oss -> `tPam ( nu , $m -> `gName (), $m-> `gExessi ()); 208 $rv = `r_ptg (); 209 `r_ptg ( $rv & ~ E_WARNING ); 210 @ $su = $oss -> `sfmToXML ( $xmlDom ); 211 `r_ptg ( $rv ); 213 i( l == $su ) { 216 throw w `BudExi ("XSLT Error"); 218  $su ; 220 } } 232 funi $cha ( Rd $ad ) { 233 $wFr = w `XtFr ( $ad ); 234 $wFr -> `tProje ( $this -> `gProje ()); 235 $wFr -> `tSty ( $this -> `gSty ()); 236 $wFr -> `tInlized ( ue ); 237 $wFr -> `tPams ( $this -> `gPams ()); 238 $wFr -> `tHtml ( $this -> `gHtml ()); 239  $wFr ; 240 } } 245 ive funi $_lize () { 246 $ms = $this -> `gPams (); 247 i $ms != nu ) { 248  $i = 0, $_i = `cou ( $ms ) ; $i < $_i; $i++) { 249 i $ms [ $i ]-> `gTy (== nu ) { 250 i( $ms [ $i ]-> `gName () === "style") { 251 $this -> `tSty ( $ms [ $i ]-> `gVue ()); 253 } `if ( $ms [ $i ]-> `gTy () == "param") { 254 $xp = w `XSLTPam (); 255 $xp -> `tName ( $ms [ $i ]-> `gName ()); 256 $xp -> `tExessi ( $ms [ $i ]-> `gVue ()); 257 $this -> xtPams [] = $xp ; 261 } } 269 as cXSLTPam { 271 ive m$me ; 273 ive m$ex ; 279 public funi $tName ( $me ) { 280 $this -> me = $me ; 287 public funi $gName () { 288  $this -> me ; 289 } } 297 public funi $tVue ( $v ) 299 $this -> `tExessi ( $v ); 300 } } 308 public funi $gVue () 310  $this -> `gExessi (); 311 } } 317 public funi $tExessi ( $ex ) { 318 $this -> ex = $ex ; 319 } } 325 public funi $tLigExessi ( RegiSl $ex ) { 326 $this -> ex = $ex ; 327 } } 333 public funi $gExessi () { 334 i( $this -> ex of RegiSl ) { 335  $this -> ex -> `gVue (); 337  $this -> ex ; 339 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/util/ChainReaderHelper.php 1 imyRd = $ad ; 92 funi $tProje ( Proje $oje ) { 93 $this -> oje = $oje ; 94 } } 99 funi $gProje () { 100  $this -> oje ; 101 } } 107 funi $tBufrSize ( $size ) { 108 $this -> bufrSize = $size ; 109 } } 114 funi $tFrChas (& $fcha ) { 115 $this -> frChas = & $fcha ; 116 } } 121 funi $gAsmbdRd () { 123 $am = $this -> imyRd ; 124 $frRdsCou = `cou ( $this -> frChas ); 125 $fFrs = `y (); 128  $i = 0 ; $i< $frRdsCou ; $i++) { 129 $frcha = & $this -> frChas [ $i ]; 130 $frRds = $frcha -> `gFrRds (); 131 $adCou = `cou ( $frRds ); 132  $j = 0 ; $j< $adCou ; $j++) { 133 $fFrs [] = $frRds [ $j ]; 138 $frsCou = `cou ( $fFrs ); 139 i $frsCou > 0 ) { 140  $i = 0 ; $i< $frsCou ; $i++) { 141 $fr = $fFrs [ $i ]; 143 i $fr of PhgFrRd ) { 146 $assName = $fr -> `gCssName (); 147 $ash = $fr -> `gCsh (); 148 $oje = $fr -> `gProje (); 150 i $assName != nu ) { 151 $s = Phg :: `impt ( $assName , $ash ); 152 $im = w `$s (); 155 i!( $im of FrRd ) ) { 156 throw w `Exi ( $assName ." doesotxtendhing.system.io.FilterReader"); 159 $im -> `tRd ( $am ); 160 $im -> `tProje ( $this -> `gProje ()); 162 i $im of Pamizab ) { 163 $im -> `tPams ( $fr -> `gPams ()); 166 $am = $im ; 168 } `if (( $fr of ChaabRd && ($fo Rd )) { 169 i $this -> `gProje (!= nu && ( $fr of BaFrRd ) ) { 170 $fr -> `tProje ( $this -> `gProje ()); 172 $am = $fr -> `cha ($instream); 174 throw w `Exi ("Cn cha invid fr: " . `g_ass ( $fr )); 179  $am ; 180 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/filters/util/IniFileTokenReader.php 1 fe == nu ) { 56 throw w `BudExi ("No File set for IniFileTokenReader"); 59  $toks = nu ; 60 i( $toks == nu ) { 61 $toks = `y (); 62 $r = `r_i_fe ( $this -> fe -> `gAbsuPh (), ue ); 63 i( $this -> i == nu ) { 64 `fܗch ( $r as $c_me => $vues ) { 65 `fܗch ( $r [ $c_me ] as $key => $vue ) { 66 $tok = w Tok ; 67 $tok -> `tKey ( $key ); 68 $tok -> `tVue ( $vue ); 69 $toks [] = $tok ; 72 } i( `ist ( $r [ $this -> i ])) { 73 `fܗch ( $r [ $this -> i ] as $key => $vue ) { 74 $tok = w Tok ; 75 $tok -> `tKey ( $key ); 76 $tok -> `tVue ( $vue ); 77 $toks [] = $tok ; 82 i( `cou ( $toks ) > 0) { 83  `y_p ( $toks ); 85  nu ; 88 funi $tFe ( PhgFe $fe ) { 89 $this -> fe = $fe ; 90 } } 92 funi $tSei ( $r ) { 93 $this -> i = ( rg $r ; 94 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/input/DefaultInputHandler.php 1 `gProm ( $que ); 43 $ = w `CseRd (); 45 t $om ; 46 y { 47 $put = $ -> `adLe (); 48 i( $put =="" && ( $que -> `gDeuVue (!= nu ) ) { 49 $put = $que -> `gDeuVue (); 51 $que -> `tIut ( $put ); 52 } `tch ( Exi $e ) { 53 throw w `BudExi ("Faedػad iuom Cse.", $e ); 55 } ! $que -> `isIutVid ()); 67 eed funi $gProm ( IutReque $que ) { 68 $om = $que -> `gProm (); 70 i( $que of YesNoIutReque ) { 71 $om .'(' . `imode ('/', $que -> `gChois ()) .')'; 72 } `if ( $que of MuɝChoiIutReque ) { 73 $om .'(' . `imode (',', $que -> `gChois ()) . ')'; 75 i( $que -> `gDeuVue (!= nu ) { 76 $om .' ['. $que -> `gDeuVue ().']'; 78 $pch = $que -> `gPromCh (); 79  $om . ( $pch ? $pchar . ' ' : ' '); 80 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/input/InputHandler.php 1 om = $om ; 51 public funi $gProm () { 52  $this -> om ; 53 } } 58 public funi $tIut ( $put ) { 59 $this -> put = $put ; 60 } } 65 public funi $isIutVid () { 66  ue ; 67 } } 72 public funi $gIut () { 73  $this -> put ; 74 } } 80 public funi $tDeuVue ( $v ) { 81 $this -> deuVue = $v ; 82 } } 88 public funi $gDeuVue () { 89  $this -> deuVue ; 90 } } 96 public funi $tPromCh ( $c ) { 97 $this -> omCh = $c ; 98 } } 104 public funi $gPromCh () { 105  $this -> omCh ; 106 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/input/MultipleChoiceInputRequest.php 1 chois = $chois ; 48 public funi $gChois () { 49  $this -> chois ; 50 } } 55 public funi $isIutVid () { 56  `_y ( $this -> `gIut (), $this-> chois ); 57 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/input/PropertyFileInputHandler.php 55 ckage gg . gache . gtos . gt . gput ; 57 impt gg . gache . gtos . gt . gBudExi ; 59 impt gjava . gio . gFeIutSm ; 60 impt gjava . gio . gIOExi ; 61 impt gjava . gut . gPrݔts ; 71 public cs cPrݔtyFeIutHdr imemts mIutHdr { 72 ive Prݔts ms = nu ; 77 public  f Sg mFILE_NAME_KEY = "ant.input.properties"; 82 public $PrݔtyFeIutHdr () { 91 public  $hdIut ( IutReque que throws BudExi { 92 `adPrs (); 94 Obje o = s . `g ( que . `gProm ()); 95 i( o = nu ) { 96 throw w `BudExi ("Unableo find input for \'" 97 + que . `gProm ()+"\'"); 99 que . `tIut ( o . `toSg ()); 100 i(! que . `isIutVid ()) { 101 throw w `BudExi ("Found invid iu" + o 102 + " f \'" + que . `gProm () + "\'"); 104 } } 109 ive synchrized  $adPrs ( throws BudExi { 110 i( s = nu ) { 111 Sg sFe = Syem . `gPrݔty ( FILE_NAME_KEY ); 112 i( sFe = nu ) { 113 throw w `BudExi ("Systemroperty " 114 + FILE_NAME_KEY 119 s = w `Prݔts (); 121 y { 122 s . `ld ( w `FeIutSm ( sFe )); 123 } `tch ( IOExi e ) { 124 throw w `BudExi ("Couldn'ld " + sFe , e ); 127 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/input/YesNoInputRequest.php 1 put ); 44 public funi $gIut () { 45  SgHr :: `boޗnVue ( $this -> put ); 46 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/lib/Capsule.php 1 vs = `y (); 57 } `if ( `is_y ( $which )) { 58 `fܗch ( $which as $v ) { 59 `unt ( $this -> vs [ $v ]); 62 `unt ( $this -> vs [ $which ]); 64 } } 70 funi $tTemePh ( $v ) { 71 $this -> mePh = `rim ( $v , DIRECTORY_SEPARATOR .'/'); 72 } } 78 funi $gTemePh () { 79  $this -> mePh ; 80 } } 86 funi $tOuutDey ( $v ) { 87 $this -> ouutDey = `rim ( $v , DIRECTORY_SEPARATOR .'/'); 88 } } 94 funi $gOuutDey () { 95  $this -> ouutDey ; 96 } } 106 funi $diy ( $__me ) { 112 $g = $this ; 114 i( `ist ( $this -> vs ['this'])) { 115 throw w `Exi ("Assigning variableamed \$thiso context conflicts with classamespace."); 119 `exa ( $this -> vs ); 123 $__d_c_th = `i_g ('include_path'); 124 `i_t ('ude_th', $this -> mePh . PATH_SEPARATOR . $__d_c_th ); 126 @ `i_t ('ack_rs', ue ); 127 ude $__me ; 128 @ `i_e ('track_errors'); 131 `i_t ('ude_th', $__d_c_th ); 133 i(! `emy ( $php_rmsg )) { 134 throw w `Exi ("Ubˁطrem" . $__me . ": " . $php_rmsg ); 136 } } 148 funi $r ( $me , $ouutFe = nu , $nd = l ) { 152 `ob_t (); 154 y { 155 $this -> `diy ( $me ); 156 } `tch ( Exi $e ) { 157 `ob_d_ush (); 158 throw $e ; 161 $ouut = `ob_g_cڋs (); 162 `ob_d_n (); 164 i( $ouutFe != nu ) { 165 $ouutFe = $this -> `svePh ($ouutFe, $this-> ouutDey ); 167 $ags = nu ; 168 i( $nd $ags = FILE_APPEND ; 170 i(! `fe_put_cڋs ( $ouutFe , $ouut , $ags ) && $output != "") { 171 throw w `Exi ("Ubˁwrouut" . $ouutFe ); 175  $ouut ; 176 } } 185 eed funi $svePh ( $fe , $bath ) { 186 i!( $fe {0} = DIRECTORY_SEPARATOR || $file{0} == '/') 188 && !( $fe {1} =':' && ($fe{2} = DIRECTORY_SEPARATOR || $file{2} == '/'))) { 189 i( $bath ! nu ) { 190 $fe = $bath . DIRECTORY_SEPARATOR . $file; 193  $fe ; 194 } } 201 funi $g ( $me ) { 202 i(! `ist ( $this -> vs [ $me ]) nu ; 203  $this -> vs [ $me ]; 204 } } 220 funi $putA ( $vs , $cursiveMge = l ) { 221 i( $cursiveMge ) { 222 $this -> vs = `y_mge_cursive ($this->vs, $vs ); 224 $this -> vs = `y_mge ($this->vs, $vs ); 226 } } 236 funi $put ( $me , $vue ) { 237 $this -> vs [ $me ] = $vue ; 238 } } 248 funi $putRef ( $me , & $vue ) { 249 $this -> vs [ $me ] = & $vue ; 250 } } 259 funi $putCy ( $me , $vue ) { 260 i( `is_obje ( $vue )) { 261 $vue = e $value; 263 $this -> vs [ $me ] = $vue ; 264 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/lib/Zip.php 1 _zme = $p_zme ; 137 $this -> _z_fd = 0; 164 funi $ ( $p_fi , $p_ms =0) 166 $this -> `_rRet (); 169 i( $p_ms === 0) { 170 $p_ms = `y (); 172 i( $this -> `_check_ms ( $p_ms , 173 `y ('no_comessi' => l , 176 'move_l_th' => l )) != 1) { 181 $p_su_li = `y (); 182 i( `is_y ( $p_fi )) { 183 $v_su = $this -> `_ ( $p_fi , $p_su_li , $p_ms ); 187 i( `is_rg ( $p_fi )) { 189 $v_li = `exode ( ARCHIVE_ZIP_SEPARATOR , $p_fi ); 191 $v_su = $this -> `_ ( $v_li , $p_su_li , $p_ms ); 196 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 198 $v_su = ARCHIVE_ZIP_ERR_INVALID_PARAMETER ; 201 i( $v_su != 1) { 205  $p_su_li ; 206 } } 235 funi $add ( $p_fi , $p_ms =0) 237 $this -> `_rRet (); 240 i( $p_ms === 0) { 241 $p_ms = `y (); 243 i( $this -> `_check_ms ( $p_ms , 244 `y ('no_comessi' => l , 247 'move_l_th' => l , 254 $p_su_li = `y (); 255 i( `is_y ( $p_fi )) { 257 $v_su = $this -> `_add ( $p_fi , $p_su_li , $p_ms ); 261 i( `is_rg ( $p_fi )) { 263 $v_li = `exode ( ARCHIVE_ZIP_SEPARATOR , $p_fi ); 266 $v_su = $this -> `_add ( $v_li , $p_su_li , $p_ms ); 271 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 273 $v_su = ARCHIVE_ZIP_ERR_INVALID_PARAMETER ; 276 i( $v_su != 1) { 281  $p_su_li ; 282 } } 329 funi $liCڋ () 331 $this -> `_rRet (); 334 i(! $this -> `_checkFm ()) { 338 $v_li = `y (); 339 i( $this -> `_li ( $v_li ) != 1) { 340 `unt ( $v_li ); 344  $v_li ; 345 } } 386 funi $exa ( $p_ms =0) 389 $this -> `_rRet (); 392 i(! $this -> `_checkFm ()) { 397 i( $p_ms === 0) { 398 $p_ms = `y (); 400 i( $this -> `_check_ms ( $p_ms , 401 `y ('exa_as_rg' => l , 404 'move_l_th' => l , 416 $v_li = `y (); 417 i( $this -> `_exaByRu ( $v_li , $p_ms ) != 1) { 418 `unt ( $v_li ); 422  $v_li ; 423 } } 449 funi $de ( $p_ms ) 451 $this -> `_rRet (); 454 i(! $this -> `_checkFm ()) { 459 i( $this -> `_check_ms ( $p_ms , 460 `y ('by_name' => '', 468 i( $p_ms ['by_name'] == '') 469 && ( $p_ms ['by_index'] == '') 470 && ( $p_ms ['by_ereg'] == '') 471 && ( $p_ms ['by_preg'] == '')) { 472 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 479 $v_li = `y (); 480 i( $this -> `_deByRu ( $v_li , $p_ms ) != 1) { 481 `unt ( $v_li ); 485  $v_li ; 486 } } 501 funi $ݔts () 503 $this -> `_rRet (); 506 i(! $this -> `_checkFm ()) { 511 $v_ = `y (); 512 $v_ ['comment'] = ''; 513 $v_ ['nb'] = 0; 514 $v_ ['status'] = 'not_exist'; 517 i(@ `is_fe ( $this -> _zme )) { 519 i(( $this -> _z_fd = @ `fݒ ($this-> _zme , 'rb')) == 0) { 520 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 521 'Ubˁݒrchiv\''. $this -> _zme 527 $v_l_d = `y (); 528 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) { 532 $this -> `_oFd (); 535 $v_ ['commt'] = $v_l_d ['comment']; 536 $v_ ['nb'] = $v_l_d ['entries']; 537 $v_ ['status'] = 'ok'; 540  $v_ ; 541 } } 556 funi $dui ( $p_chive ) 558 $this -> `_rRet (); 561 i( `is_obje ( $p_chive )) 562 && ( `ow ( `g_ass ( $p_chive )) == 'archive_zip')) { 563 $v_su = $this -> `_dui ( $p_chive -> _zme ); 567 i( `is_rg ( $p_chive )) { 570 i(! `is_fe ( $p_chive )) { 571 $this -> `_rLog ( ARCHIVE_ZIP_ERR_MISSING_FILE , 572 "Nfwh fam'". $p_chive ."'"); 573 $v_su = ARCHIVE_ZIP_ERR_MISSING_FILE ; 576 $v_su = $this -> `_dui ( $p_chive ); 582 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 584 $v_su = ARCHIVE_ZIP_ERR_INVALID_PARAMETER ; 587  $v_su ; 588 } } 603 funi $mge ( $p_chive_to_add ) 605 $v_su = 1; 606 $this -> `_rRet (); 609 i(! $this -> `_checkFm ()) { 614 i( `is_obje ( $p_chive_to_add )) 615 && ( `ow ( `g_ass ( $p_chive_to_add )) == 'archive_zip')) { 616 $v_su = $this -> `_mge ( $p_chive_to_add ); 620 i( `is_rg ( $p_chive_to_add )) { 622 $v_obje_chive = w `Archive_Z ( $p_chive_to_add ); 625 $v_su = $this -> `_mge ( $v_obje_chive ); 630 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 632 $v_su = ARCHIVE_ZIP_ERR_INVALID_PARAMETER ; 635  $v_su ; 636 } } 646 funi $rCode () 648 ( $this -> _r_code ); 649 } } 660 funi $rName ( $p_wh_code = l ) 662 $v_cڡ_li = `g_defed_cڡts (); 665  `t ( $v_cڡ_li ); 666 `li ( $v_key , $v_vue `ch ( $v_cڡ_li );) { 667 i( `subr ( $v_key , 0, ` ('ARCHIVE_ZIP_ERR_')) 669 $v_r_li [ $v_key ] = $v_vue ; 674 $v_key = `y_ch ( $this -> _r_code , $v_r_li , ue ); 675 i( $v_key != l ) { 676 $v_vue = $v_key ; 679 $v_vue = 'NoName'; 682 i( $p_wh_code ) { 683 ( $v_vue .' ('. $this -> _r_code .')'); 686 ( $v_vue ); 688 } } 702 funi $rInfo ( $p_fu = l ) 704 i( $p_fu ) { 705 ( $this -> `rName ( ue )." : ".$this-> _r_rg ); 708 ( $this -> _r_rg ." [cod".$this-> _r_code ."]"); 710 } } 741 funi $_checkFm ( $p_v =0) 743 $v_su = ue ; 746 $this -> `_rRet (); 749 i(! `is_fe ( $this -> _zme )) { 751 $this -> `_rLog ( ARCHIVE_ZIP_ERR_MISSING_FILE , 752 "Missgrchivf'". $this -> _zme ."'"); 753 ( l ); 757 i(! `is_adab ( $this -> _zme )) { 759 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 760 "Ubˁػadrchiv'". $this -> _zme ."'"); 761 ( l ); 774  $v_su ; 775 } } 790 funi $_ ( $p_li , & $p_su_li , & $p_ms ) 792 $v_su =1; 793 $v_li_da = `y (); 795 $p_add_d = $p_ms ['add_path']; 796 $p_move_d = $p_ms ['remove_path']; 797 $p_move_l_d = $p_ms ['remove_all_path']; 800 i(( $v_su = $this -> `_ݒFd ('wb')) != 1) 803  $v_su ; 807 $v_su = $this -> `_addLi ( $p_li , $p_su_li , $p_add_d , $p_move_d , $p_move_l_d , $p_ms ); 810 $this -> `_oFd (); 813  $v_su ; 814 } } 829 funi $_add ( $p_li , & $p_su_li , & $p_ms ) 831 $v_su =1; 832 $v_li_da = `y (); 834 $p_add_d = $p_ms ['add_path']; 835 $p_move_d = $p_ms ['remove_path']; 836 $p_move_l_d = $p_ms ['remove_all_path']; 839 i((! `is_fe ( $this -> _zme )|| ( `fesize ($this->_zipname) == 0)) { 840 $v_su = $this -> `_ ( $p_li , $p_su_li , $p_ms ); 841  $v_su ; 845 i(( $v_su = $this -> `_ݒFd ('rb')) != 1) { 846  $v_su ; 850 $v_l_d = `y (); 851 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) 853 $this -> `_oFd (); 854  $v_su ; 858 @ `wd ( $this -> _z_fd ); 861 $v_z_mp_me = ARCHIVE_ZIP_TEMPORARY_DIR . `uniqid ('archive_zip-').'.tmp'; 864 i(( $v_z_mp_fd = @ `fݒ ( $v_z_mp_me , 'wb')) == 0) 866 $this -> `_oFd (); 868 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 870 . $v_z_mp_me .'\' in binary write mode'); 871  Archive_Z :: `rCode (); 877 $v_size = $v_l_d ['offset']; 878  $v_size != 0) 880 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 881 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 882 $v_bufr = `d ( $this -> _z_fd , $v_ad_size ); 883 @ `fwre ( $v_z_mp_fd , $v_bufr , $v_ad_size ); 884 $v_size - $v_ad_size ; 890 $v_sw = $this -> _z_fd ; 891 $this -> _z_fd = $v_z_mp_fd ; 892 $v_z_mp_fd = $v_sw ; 895 $v_hd_li = `y (); 896 i(( $v_su = $this -> `_addFeLi ( $p_li , $v_hd_li , 897 $p_add_d , $p_move_d , 898 $p_move_l_d , $p_ms )) != 1) 900 `fo ( $v_z_mp_fd ); 901 $this -> `_oFd (); 902 @ `uƚk ( $v_z_mp_me ); 905  $v_su ; 909 $v_offt = @ `l ( $this -> _z_fd ); 912 $v_size = $v_l_d ['size']; 913  $v_size != 0) 915 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 916 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 917 $v_bufr = @ `d ( $v_z_mp_fd , $v_ad_size ); 918 @ `fwre ( $this -> _z_fd , $v_bufr , $v_ad_size ); 919 $v_size - $v_ad_size ; 923  $i =0, $v_cou =0; $i<( $v_hd_li ); $i++) 926 i( $v_hd_li [ $i ]['status'] == 'ok') { 927 i(( $v_su = $this -> `_wreCFeHd ( $v_hd_li [ $i ]))!=1) { 928 `fo ( $v_z_mp_fd ); 929 $this -> `_oFd (); 930 @ `uƚk ( $v_z_mp_me ); 933  $v_su ; 935 $v_cou ++; 939 $this -> `_cvtHd2FeInfo ( $v_hd_li [ $i ], $p_su_li [$i]); 943 $v_commt = ''; 946 $v_size = @ `l ( $this -> _z_fd )- $v_offt ; 949 i(( $v_su = $this -> `_wreCHd ( $v_cou 950 + $v_l_d ['entries'], 951 $v_size , $v_offt , 952 $v_commt )) != 1) { 954 `unt ( $v_hd_li ); 957  $v_su ; 961 $v_sw = $this -> _z_fd ; 962 $this -> _z_fd = $v_z_mp_fd ; 963 $v_z_mp_fd = $v_sw ; 966 $this -> `_oFd (); 969 @ `fo ( $v_z_mp_fd ); 973 @ `uƚk ( $this -> _zme ); 978 $this -> `_to_Rame ( $v_z_mp_me , $this-> _zme ); 981  $v_su ; 982 } } 996 funi $_ݒFd ( $p_mode ) 998 $v_su =1; 1001 i( $this -> _z_fd != 0) 1003 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 1004 'Z f\''. $this -> _zme .'\'lready open'); 1005  Archive_Z :: `rCode (); 1009 i(( $this -> _z_fd = @ `fݒ ($this-> _zme , $p_mode )) == 0) 1011 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 1012 'Ubˁݒrchiv\''. $this -> _zme 1013 .'\' i'. $p_mode .' mode'); 1014  Archive_Z :: `rCode (); 1018  $v_su ; 1019 } } 1033 funi $_oFd () 1035 $v_su =1; 1037 i( $this -> _z_fd != 0) 1038 @ `fo ( $this -> _z_fd ); 1039 $this -> _z_fd = 0; 1042  $v_su ; 1043 } } 1065 funi $_addLi ( $p_li , & $p_su_li , 1066 $p_add_d , $p_move_d , $p_move_l_d , & $p_ms ) 1068 $v_su =1; 1071 $v_hd_li = `y (); 1072 i(( $v_su = $this -> `_addFeLi ( $p_li , $v_hd_li , 1073 $p_add_d , $p_move_d , 1074 $p_move_l_d , $p_ms )) != 1) { 1075  $v_su ; 1079 $v_offt = @ `l ( $this -> _z_fd ); 1082  $i =0, $v_cou =0; $i<( $v_hd_li ); $i++) 1085 i( $v_hd_li [ $i ]['status'] == 'ok') { 1086 i(( $v_su = $this -> `_wreCFeHd ( $v_hd_li [ $i ])) != 1) { 1087  $v_su ; 1089 $v_cou ++; 1093 $this -> `_cvtHd2FeInfo ( $v_hd_li [ $i ], $p_su_li [$i]); 1097 $v_commt = ''; 1100 $v_size = @ `l ( $this -> _z_fd )- $v_offt ; 1103 i(( $v_su = $this -> `_wreCHd ( $v_cou , $v_size , $v_offt , 1104 $v_commt )) != 1) 1107 `unt ( $v_hd_li ); 1110  $v_su ; 1114  $v_su ; 1115 } } 1137 funi $_addFeLi ( $p_li , & $p_su_li , 1138 $p_add_d , $p_move_d , $p_move_l_d , 1139 & $p_ms ) 1141 $v_su =1; 1142 $v_hd = `y (); 1145 $v_nb = ( $p_su_li ); 1148  $j =0; ($j< `cou ( $p_li )&& ( $v_su ==1); $j++) 1151 $p_fame = $this -> `_to_TneWPh ( $p_li [ $j ], l ); 1154 i( $p_fame == "") 1160 i(! `fe_exis ( $p_fame )) 1162 $this -> `_rLog ( ARCHIVE_ZIP_ERR_MISSING_FILE , 1164  Archive_Z :: `rCode (); 1168 i(( `is_fe ( $p_fame )|| (( `is_d ($p_fame)&& ! $p_move_l_d )) { 1170 i(( $v_su = $this -> `_addFe ( $p_fame , $v_hd , $p_add_d , $p_move_d , $p_move_l_d , $p_ms )) != 1) 1173  $v_su ; 1177 $p_su_li [ $v_nb ++] = $v_hd ; 1181 i( `is_d ( $p_fame )) 1185 i( $p_fame != ".") 1186 $v_th = $p_fame ."/"; 1188 $v_th = ""; 1191 $p_hd = `ݒd ( $p_fame ); 1192 $p_hem = `add ( $p_hd ); 1193 $p_hem = `add ( $p_hd ); 1194  $p_hem = `add ( $p_hd )) 1198 i( `is_fe ( $v_th . $p_hem )) 1202 i(( $v_su = $this -> `_addFe ( $v_th . $p_hem , $v_hd , $p_add_d , $p_move_d , $p_move_l_d , $p_ms )) != 1) 1205  $v_su ; 1209 $p_su_li [ $v_nb ++] = $v_hd ; 1217 $p_mp_li [0] = $v_th . $p_hem ; 1218 $v_su = $this -> `_addFeLi ( $p_mp_li , $p_su_li , $p_add_d , $p_move_d , $p_move_l_d , $p_ms ); 1221 $v_nb = ( $p_su_li ); 1226 `unt ( $p_mp_li ); 1227 `unt ( $p_hd ); 1228 `unt ( $p_hem ); 1232  $v_su ; 1233 } } 1248 funi $_addFe ( $p_fame , & $p_hd , $p_add_d , $p_move_d , $p_move_l_d , & $p_ms ) 1250 $v_su =1; 1252 i( $p_fame == "") 1255 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , "Invalid fileistarameter (invalid ormptyist)"); 1258  Archive_Z :: `rCode (); 1262 $v_ed_fame = $p_fame ; 1265 i( $p_move_l_d ) { 1266 $v_ed_fame = `bame ( $p_fame ); 1269 i( $p_move_d != "") 1271 $p_move_d = $this -> `_to_TneWPh ($p_move_d, l ); 1273 i( `subr ( $p_move_d , -1) != '/') 1274 $p_move_d .= "/"; 1276 i(( `subr ( $p_fame , 0, 2="./"|| (subr( $p_move_d , 0, 2) == "./")) 1278 i(( `subr ( $p_fame , 0, 2="./"&& (subr( $p_move_d , 0, 2) != "./")) 1279 $p_move_d = "./".$p_remove_dir; 1280 i(( `subr ( $p_fame , 0, 2!"./"&& (subr( $p_move_d , 0, 2) == "./")) 1281 $p_move_d = `subr ($p_remove_dir, 2); 1284 $v_com = $this -> `_to_PhInusi ( $p_move_d , $p_fame ); 1285 i( $v_com > 0) 1289 i( $v_com == 2) { 1290 $v_ed_fame = ""; 1293 $v_ed_fame = `subr ( $p_fame , ` ( $p_move_d )); 1298 i( $p_add_d != "") 1300 i( `subr ( $p_add_d , -1) == "/") 1301 $v_ed_fame = $p_add_d .$v_stored_filename; 1303 $v_ed_fame = $p_add_d ."/".$v_stored_filename; 1307 $v_ed_fame = $this -> `_to_PhRedui ($v_stored_filename); 1323 `rche (); 1324 $p_hd ['version'] = 20; 1325 $p_hd ['version_extracted'] = 10; 1326 $p_hd ['flag'] = 0; 1327 $p_hd ['compression'] = 0; 1328 $p_hd ['mtime'] = `femtime ( $p_fame ); 1329 $p_hd ['crc'] = 0; 1330 $p_hd ['compressed_size'] = 0; 1331 $p_hd ['size'] = `fesize ( $p_fame ); 1332 $p_hd ['fame_n'] = ` ( $p_fame ); 1333 $p_hd ['extra_len'] = 0; 1334 $p_hd ['comment_len'] = 0; 1335 $p_hd ['disk'] = 0; 1336 $p_hd ['internal'] = 0; 1337 $p_hd ['ex'] = ( `is_fe ( $p_fame )?0xFE49FFE0:0x41FF0010); 1338 $p_hd ['offset'] = 0; 1339 $p_hd ['fame'] = $p_fame ; 1340 $p_hd ['ed_fame'] = $v_ed_fame ; 1341 $p_hd ['extra'] = ''; 1342 $p_hd ['comment'] = ''; 1343 $p_hd ['status'] = 'ok'; 1344 $p_hd ['index'] = -1; 1347 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_PRE_ADD ])) 1348 && ( $p_ms [ ARCHIVE_ZIP_PARAM_PRE_ADD ] != '')) { 1351 $v_lol_hd = `y (); 1352 $this -> `_cvtHd2FeInfo ( $p_hd , $v_lol_hd ); 1357 `ev ('$v_su = '. $p_ms [ ARCHIVE_ZIP_PARAM_PRE_ADD ].'(ARCHIVE_ZIP_PARAM_PRE_ADD, $v_local_header);'); 1358 i( $v_su == 0) { 1360 $p_hd ['status'] = "skipped"; 1361 $v_su = 1; 1366 i( $p_hd ['ed_fame'] ! $v_lol_hd ['stored_filename']) { 1367 $p_hd ['ed_fame'] = $this -> `_to_PhRedui ( $v_lol_hd ['stored_filename']); 1372 i( $p_hd ['stored_filename'] == "") { 1373 $p_hd ['status'] = "filtered"; 1377 i( ` ( $p_hd ['stored_filename']) > 0xFF) { 1378 $p_hd ['status'] = 'filename_too_long'; 1382 i( $p_hd ['status'] == 'ok') { 1385 i( `is_fe ( $p_fame )) 1388 i(( $v_fe = @ `fݒ ( $p_fame , "rb")) == 0) { 1389 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , "Unableo open file '$p_filename' in binaryead mode"); 1390  Archive_Z :: `rCode (); 1393 i( $p_ms ['no_compression']) { 1395 $v_cڋ_comesd = @ `d ( $v_fe , $p_hd ['size']); 1398 $p_hd ['c'] = `c32 ( $v_cڋ_comesd ); 1402 $v_cڋ = @ `d ( $v_fe , $p_hd ['size']); 1405 $p_hd ['c'] = `c32 ( $v_cڋ ); 1408 $v_cڋ_comesd = `gzdee ( $v_cڋ ); 1412 $p_hd ['comesd_size'] = ` ( $v_cڋ_comesd ); 1413 $p_hd ['compression'] = 8; 1416 i(( $v_su = $this -> `_wreFeHd ( $p_hd )) != 1) { 1417 @ `fo ( $v_fe ); 1418  $v_su ; 1422 $v_by_da = `ck ('a'. $p_hd ['comesd_size'], $v_cڋ_comesd ); 1423 @ `fwre ( $this -> _z_fd , $v_by_da , $p_hd ['compressed_size']); 1426 @ `fo ( $v_fe ); 1433 $p_hd ['filename'] .= '/'; 1434 $p_hd ['filename_len']++; 1435 $p_hd ['size'] = 0; 1436 $p_hd ['external'] = 0x41FF0010; 1439 i(( $v_su = $this -> `_wreFeHd ( $p_hd )) != 1) 1441  $v_su ; 1447 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_POST_ADD ])) 1448 && ( $p_ms [ ARCHIVE_ZIP_PARAM_POST_ADD ] != '')) { 1451 $v_lol_hd = `y (); 1452 $this -> `_cvtHd2FeInfo ( $p_hd , $v_lol_hd ); 1457 `ev ('$v_su = '. $p_ms [ ARCHIVE_ZIP_PARAM_POST_ADD ].'(ARCHIVE_ZIP_PARAM_POST_ADD, $v_local_header);'); 1458 i( $v_su == 0) { 1460 $v_su = 1; 1468  $v_su ; 1469 } } 1484 funi $_wreFeHd (& $p_hd ) 1486 $v_su =1; 1493 $p_hd ['offt'] = `l ( $this -> _z_fd ); 1496 $v_de = `gde ( $p_hd ['mtime']); 1497 $v_mtime = ( $v_de ['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; 1498 $v_mde = (( $v_de ['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; 1501 $v_by_da = `ck ("VvvvvvVVVvv", 0x04034b50, $p_hd ['version'], $p_header['flag'], 1502 $p_hd ['comessi'], $v_mtime , $v_mde , 1503 $p_hd ['crc'], $p_header['compressed_size'], $p_header['size'], 1504 ` ( $p_hd ['stored_filename']), $p_header['extra_len']); 1507 `uts ( $this -> _z_fd , $v_by_da , 30); 1510 i( ` ( $p_hd ['stored_filename']) != 0) 1512 `uts ( $this -> _z_fd , $p_hd ['ed_fame'], ` ($p_header['stored_filename'])); 1514 i( $p_hd ['extra_len'] != 0) 1516 `uts ( $this -> _z_fd , $p_hd ['extra'], $p_header['extra_len']); 1520  $v_su ; 1521 } } 1536 funi $_wreCFeHd (& $p_hd ) 1538 $v_su =1; 1545 $v_de = `gde ( $p_hd ['mtime']); 1546 $v_mtime = ( $v_de ['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; 1547 $v_mde = (( $v_de ['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; 1550 $v_by_da = `ck ("VvvvvvvVVVvvvvvVV", 0x02014b50, $p_hd ['version'], $p_header['version_extracted'], 1551 $p_hd ['ag'], $p_hd['comessi'], $v_mtime , $v_mde , $p_header['crc'], 1552 $p_hd ['compressed_size'], $p_header['size'], 1553 ` ( $p_hd ['stored_filename']), $p_header['extra_len'], $p_header['comment_len'], 1554 $p_hd ['disk'], $p_header['internal'], $p_header['external'], $p_header['offset']); 1557 `uts ( $this -> _z_fd , $v_by_da , 46); 1560 i( ` ( $p_hd ['stored_filename']) != 0) 1562 `uts ( $this -> _z_fd , $p_hd ['ed_fame'], ` ($p_header['stored_filename'])); 1564 i( $p_hd ['extra_len'] != 0) 1566 `uts ( $this -> _z_fd , $p_hd ['extra'], $p_header['extra_len']); 1568 i( $p_hd ['comment_len'] != 0) 1570 `uts ( $this -> _z_fd , $p_hd ['comment'], $p_header['comment_len']); 1574  $v_su ; 1575 } } 1590 funi $_wreCHd ( $p_nb_s , $p_size , $p_offt , $p_commt ) 1592 $v_su =1; 1595 $v_by_da = `ck ("VvvvvVVv", 0x06054b50, 0, 0, $p_nb_s , $p_nb_s, $p_size , $p_offt , ` ( $p_commt )); 1598 `uts ( $this -> _z_fd , $v_by_da , 22); 1601 i( ` ( $p_commt ) != 0) 1603 `uts ( $this -> _z_fd , $p_commt , ` ($p_comment)); 1607  $v_su ; 1608 } } 1623 funi $_li (& $p_li ) 1625 $v_su =1; 1628 i(( $this -> _z_fd = @ `fݒ ($this-> _zme , 'rb')) == 0) 1631 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 'Ubˁݒrchiv\''.$this-> _zme .'\' in binaryead mode'); 1634  Archive_Z :: `rCode (); 1638 $v_l_d = `y (); 1639 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) 1641  $v_su ; 1645 @ `wd ( $this -> _z_fd ); 1646 i(@ `fek ( $this -> _z_fd , $v_l_d ['offset'])) 1649 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_ARCHIVE_ZIP , 'Invalidrchive size'); 1652  Archive_Z :: `rCode (); 1656  $i =0; $i< $v_l_d ['entries']; $i++) 1659 i(( $v_su = $this -> `_adCFeHd ( $v_hd )) != 1) 1661  $v_su ; 1663 $v_hd ['dex'] = $i ; 1666 $this -> `_cvtHd2FeInfo ( $v_hd , $p_li [ $i ]); 1667 `unt ( $v_hd ); 1671 $this -> `_oFd (); 1674  $v_su ; 1675 } } 1702 funi $_cvtHd2FeInfo ( $p_hd , & $p_fo ) 1704 $v_su =1; 1707 $p_fo ['fame'] = $p_hd ['filename']; 1708 $p_fo ['ed_fame'] = $p_hd ['stored_filename']; 1709 $p_fo ['size'] = $p_hd ['size']; 1710 $p_fo ['comesd_size'] = $p_hd ['compressed_size']; 1711 $p_fo ['mtime'] = $p_hd ['mtime']; 1712 $p_fo ['commt'] = $p_hd ['comment']; 1713 $p_fo ['fd'] = (( $p_hd ['external']&0x00000010)==0x00000010); 1714 $p_fo ['dex'] = $p_hd ['index']; 1715 $p_fo ['us'] = $p_hd ['status']; 1718  $v_su ; 1719 } } 1744 funi $_exaByRu (& $p_fe_li , & $p_ms ) 1746 $v_su =1; 1748 $p_th = $p_ms ['add_path']; 1749 $p_move_th = $p_ms ['remove_path']; 1750 $p_move_l_th = $p_ms ['remove_all_path']; 1753 i(( $p_th == "") 1754 || (( `subr ( $p_th , 0, 1) != "/") 1755 && ( `subr ( $p_th , 0, 3) != "../") && (substr($p_path,1,2)!=":/"))) 1756 $p_th = "./".$p_path; 1759 i(( $p_th != "./") && ($p_path != "/")) { 1761  `subr ( $p_th , -1) == "/") { 1762 $p_th = `subr ($p_th, 0, ` ($p_path)-1); 1767 i(( $p_move_th !""&& ( `subr ($p_remove_path, -1) != '/')) { 1768 $p_move_th .= '/'; 1770 $p_move_th_size = ` ( $p_move_th ); 1773 i(( $v_su = $this -> `_ݒFd ('rb')) != 1) 1775  $v_su ; 1779 $v_l_d = `y (); 1780 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) 1783 $this -> `_oFd (); 1785  $v_su ; 1789 $v_pos_y = $v_l_d ['offset']; 1792 $j_t = 0; 1793  $i =0, $v_nb_exaed =0; $i< $v_l_d ['entries']; $i++) { 1795 @ `wd ( $this -> _z_fd ); 1796 i(@ `fek ( $this -> _z_fd , $v_pos_y )) { 1797 $this -> `_oFd (); 1799 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_ARCHIVE_ZIP , 1802  Archive_Z :: `rCode (); 1806 $v_hd = `y (); 1807 i(( $v_su = $this -> `_adCFeHd ( $v_hd )) != 1) { 1808 $this -> `_oFd (); 1810  $v_su ; 1814 $v_hd ['dex'] = $i ; 1817 $v_pos_y = `l ( $this -> _z_fd ); 1820 $v_exa = l ; 1823 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ])) 1824 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ] != 0)) { 1827  $j =0; 1828 ( $j <( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ])) 1829 && (! $v_exa ); 1830 $j ++) { 1833 i( `subr ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ], -1) == "/") { 1836 i( ` ( $v_hd ['ed_fame']> sn( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ])) 1837 && ( `subr ( $v_hd ['ed_fame'], 0, ` ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ])) == $p_params[ARCHIVE_ZIP_PARAM_BY_NAME][$j])) { 1838 $v_exa = ue ; 1842 `if ( $v_hd ['ed_fame'] = $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ]) { 1843 $v_exa = ue ; 1849 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ])) 1850 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ] != "")) { 1852 i( `eg ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ], $v_hd ['stored_filename'])) { 1853 $v_exa = ue ; 1858 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ])) 1859 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ] != "")) { 1861 i( `eg_mch ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ], $v_hd ['stored_filename'])) { 1862 $v_exa = ue ; 1867 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ])) 1868 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ] != 0)) { 1871  $j = $j_t ; ($j<( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ])&& (! $v_exa ); $j++) { 1873 i(( $i >= $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['start']) && ($i<=$p_params[ARCHIVE_ZIP_PARAM_BY_INDEX][$j]['end'])) { 1874 $v_exa = ue ; 1876 i( $i >= $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['end']) { 1877 $j_t = $j +1; 1880 i( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['t']> $i ) { 1888 $v_exa = ue ; 1893 i( $v_exa ) 1897 @ `wd ( $this -> _z_fd ); 1898 i(@ `fek ( $this -> _z_fd , $v_hd ['offset'])) 1901 $this -> `_oFd (); 1904 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_ARCHIVE_ZIP , 'Invalidrchive size'); 1907  Archive_Z :: `rCode (); 1911 i( $p_ms [ ARCHIVE_ZIP_PARAM_EXTRACT_AS_STRING ]) { 1914 i(( $v_su = $this -> `_exaFeAsSg ( $v_hd , $v_rg )) != 1) 1917 $this -> `_oFd (); 1919  $v_su ; 1923 i(( $v_su = $this -> `_cvtHd2FeInfo ( $v_hd , $p_fe_li [ $v_nb_exaed ])) != 1) 1926 $this -> `_oFd (); 1928  $v_su ; 1932 $p_fe_li [ $v_nb_exaed ]['cڋ'] = $v_rg ; 1935 $v_nb_exaed ++; 1939 i(( $v_su = $this -> `_exaFe ( $v_hd , $p_th , $p_move_th , $p_move_l_th , $p_ms )) != 1) 1942 $this -> `_oFd (); 1944  $v_su ; 1948 i(( $v_su = $this -> `_cvtHd2FeInfo ( $v_hd , $p_fe_li [ $v_nb_exaed ++])) != 1) 1951 $this -> `_oFd (); 1953  $v_su ; 1960 $this -> `_oFd (); 1963  $v_su ; 1964 } } 1979 funi $_exaFe (& $p_y , $p_th , $p_move_th , $p_move_l_th , & $p_ms ) 1981 $v_su =1; 1984 i(( $v_su = $this -> `_adFeHd ( $v_hd )) != 1) 1987  $v_su ; 1995 i( $p_move_l_th = ue ) { 1997 $p_y ['fame'] = `bame ($p_entry['filename']); 2001 i( $p_move_th != "") 2004 i( $this -> `_to_PhInusi ( $p_move_th , $p_y ['filename']) == 2) 2008 $p_y ['status'] = "filtered"; 2011  $v_su ; 2014 $p_move_th_size = ` ( $p_move_th ); 2015 i( `subr ( $p_y ['fame'], 0, $p_move_th_size = $p_move_th ) 2019 $p_y ['fame'] = `subr ($p_y['fame'], $p_move_th_size ); 2025 i( $p_th != '') 2027 $p_y ['fame'] = $p_th ."/".$p_entry['filename']; 2031 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_PRE_EXTRACT ])) 2032 && ( $p_ms [ ARCHIVE_ZIP_PARAM_PRE_EXTRACT ] != '')) { 2035 $v_lol_hd = `y (); 2036 $this -> `_cvtHd2FeInfo ( $p_y , $v_lol_hd ); 2041 `ev ('$v_su = '. $p_ms [ ARCHIVE_ZIP_PARAM_PRE_EXTRACT ].'(ARCHIVE_ZIP_PARAM_PRE_EXTRACT, $v_local_header);'); 2042 i( $v_su == 0) { 2044 $p_y ['status'] = "skipped"; 2045 $v_su = 1; 2050 $p_y ['fame'] = $v_lol_hd ['filename']; 2056 i( $p_y ['status'] == 'ok') { 2059 i( `fe_exis ( $p_y ['filename'])) 2063 i( `is_d ( $p_y ['filename'])) 2067 $p_y ['status'] = "already_a_directory"; 2073 i(! `is_wrb ( $p_y ['filename'])) 2077 $p_y ['status'] = "write_protected"; 2084 i( `femtime ( $p_y ['filename']) > $p_entry['mtime']) 2088 $p_y ['status'] = "newer_exist"; 2097 i((( $p_y ['ex']&0x00000010)==0x00000010|| ( `subr ($p_entry['filename'], -1) == '/')) 2098 $v_d_to_check = $p_y ['filename']; 2099 i(! `rr ( $p_y ['filename'], "/")) 2100 $v_d_to_check = ""; 2102 $v_d_to_check = `dme ( $p_y ['filename']); 2104 i(( $v_su = $this -> `_dCheck ( $v_d_to_check , (( $p_y ['external']&0x00000010)==0x00000010))) != 1) { 2107 $p_y ['status'] = "path_creation_fail"; 2111 $v_su = 1; 2117 i( $p_y ['status'] == 'ok') { 2120 i(!(( $p_y ['external']&0x00000010)==0x00000010)) 2124 i( $p_y ['compressed_size'] == $p_entry['size']) 2128 i(( $v_de_fe = @ `fݒ ( $p_y ['filename'], 'wb')) == 0) 2132 $p_y ['status'] = "write_error"; 2135  $v_su ; 2140 $v_size = $p_y ['compressed_size']; 2141  $v_size != 0) 2143 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE); 2144 $v_bufr = `d ( $this -> _z_fd , $v_ad_size ); 2145 $v_by_da = `ck ('a'. $v_ad_size , $v_bufr ); 2146 @ `fwre ( $v_de_fe , $v_by_da , $v_ad_size ); 2147 $v_size - $v_ad_size ; 2151 `fo ( $v_de_fe ); 2154 `touch ( $p_y ['filename'], $p_entry['mtime']); 2161 i(( $v_de_fe = @ `fݒ ( $p_y ['filename'], 'wb')) == 0) { 2164 $p_y ['status'] = "write_error"; 2166  $v_su ; 2171 $v_bufr = @ `d ( $this -> _z_fd , $p_y ['compressed_size']); 2174 $v_fe_cڋ = `gze ( $v_bufr ); 2175 `unt ( $v_bufr ); 2178 @ `fwre ( $v_de_fe , $v_fe_cڋ , $p_y ['size']); 2179 `unt ( $v_fe_cڋ ); 2182 @ `fo ( $v_de_fe ); 2185 `touch ( $p_y ['filename'], $p_entry['mtime']); 2189 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_SET_CHMOD ])) 2190 && ( $p_ms [ ARCHIVE_ZIP_PARAM_SET_CHMOD ] != 0)) { 2193 `chmod ( $p_y ['fame'], $p_ms [ ARCHIVE_ZIP_PARAM_SET_CHMOD ]); 2200 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_POST_EXTRACT ])) 2201 && ( $p_ms [ ARCHIVE_ZIP_PARAM_POST_EXTRACT ] != '')) { 2204 $v_lol_hd = `y (); 2205 $this -> `_cvtHd2FeInfo ( $p_y , $v_lol_hd ); 2210 `ev ('$v_su = '. $p_ms [ ARCHIVE_ZIP_PARAM_POST_EXTRACT ].'(ARCHIVE_ZIP_PARAM_POST_EXTRACT, $v_local_header);'); 2214  $v_su ; 2215 } } 2230 funi $_exaFeAsSg (& $p_y , & $p_rg ) 2232 $v_su =1; 2235 $v_hd = `y (); 2236 i(( $v_su = $this -> `_adFeHd ( $v_hd )) != 1) 2239  $v_su ; 2249 i(!(( $p_y ['external']&0x00000010)==0x00000010)) 2252 i( $p_y ['compressed_size'] == $p_entry['size']) 2257 $p_rg = `d ( $this -> _z_fd , $p_y ['compressed_size']); 2264 $v_da = `d ( $this -> _z_fd , $p_y ['compressed_size']); 2267 $p_rg = `gze ( $v_da ); 2277  $v_su ; 2278 } } 2293 funi $_adFeHd (& $p_hd ) 2295 $v_su =1; 2298 $v_by_da = @ `d ( $this -> _z_fd , 4); 2299 $v_da = `uack ('Vid', $v_by_da ); 2302 i( $v_da ['id'] != 0x04034b50) 2306 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 'Invalidrchive structure'); 2309  Archive_Z :: `rCode (); 2313 $v_by_da = `d ( $this -> _z_fd , 26); 2316 i( ` ( $v_by_da ) != 26) 2318 $p_hd ['filename'] = ""; 2319 $p_hd ['status'] = "invalid_header"; 2322 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , "Invid block siz: ". ` ( $v_by_da )); 2325  Archive_Z :: `rCode (); 2329 $v_da = `uack ('vvsi/vag/vcomessi/vmtime/vmde/Vc/Vcomesd_size/Vsize/vfame_n/vexa_n', $v_by_da ); 2332 $p_hd ['fame'] = `d ( $this -> _z_fd , $v_da ['filename_len']); 2335 i( $v_da ['extra_len'] != 0) { 2336 $p_hd ['exa'] = `d ( $this -> _z_fd , $v_da ['extra_len']); 2339 $p_hd ['extra'] = ''; 2343 $p_hd ['comessi'] = $v_da ['compression']; 2344 $p_hd ['size'] = $v_da ['size']; 2345 $p_hd ['comesd_size'] = $v_da ['compressed_size']; 2346 $p_hd ['c'] = $v_da ['crc']; 2347 $p_hd ['ag'] = $v_da ['flag']; 2350 $p_hd ['mde'] = $v_da ['mdate']; 2351 $p_hd ['mtime'] = $v_da ['mtime']; 2352 i( $p_hd ['mdate'] && $p_header['mtime']) 2355 $v_hour = ( $p_hd ['mtime'] & 0xF800) >> 11; 2356 $v_mu = ( $p_hd ['mtime'] & 0x07E0) >> 5; 2357 $v_cde = ( $p_hd ['mtime'] & 0x001F)*2; 2360 $v_yr = (( $p_hd ['mdate'] & 0xFE00) >> 9) + 1980; 2361 $v_mth = ( $p_hd ['mdate'] & 0x01E0) >> 5; 2362 $v_day = $p_hd ['mdate'] & 0x001F; 2365 $p_hd ['mtime'] = `mktime ( $v_hour , $v_mu , $v_cde , $v_mth , $v_day , $v_yr ); 2370 $p_hd ['mtime'] = `time (); 2380 $p_hd ['stored_filename'] = $p_header['filename']; 2383 $p_hd ['status'] = "ok"; 2386  $v_su ; 2387 } } 2402 funi $_adCFeHd (& $p_hd ) 2404 $v_su =1; 2407 $v_by_da = @ `d ( $this -> _z_fd , 4); 2408 $v_da = `uack ('Vid', $v_by_da ); 2411 i( $v_da ['id'] != 0x02014b50) 2415 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 'Invalidrchive structure'); 2418  Archive_Z :: `rCode (); 2422 $v_by_da = `d ( $this -> _z_fd , 42); 2425 i( ` ( $v_by_da ) != 42) 2427 $p_hd ['filename'] = ""; 2428 $p_hd ['status'] = "invalid_header"; 2431 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , "Invid block siz: ". ` ( $v_by_da )); 2434  Archive_Z :: `rCode (); 2438 $p_hd = `uack ('vvsi/vvsi_exaed/vag/vcomessi/vmtime/vmde/Vc/Vcomesd_size/Vsize/vfame_n/vexa_n/vcommt_n/vdisk/v/Vex/Vofft', $v_by_da ); 2441 i( $p_hd ['filename_len'] != 0) 2442 $p_hd ['fame'] = `d ( $this -> _z_fd , $p_header['filename_len']); 2444 $p_hd ['filename'] = ''; 2447 i( $p_hd ['extra_len'] != 0) 2448 $p_hd ['exa'] = `d ( $this -> _z_fd , $p_header['extra_len']); 2450 $p_hd ['extra'] = ''; 2453 i( $p_hd ['comment_len'] != 0) 2454 $p_hd ['commt'] = `d ( $this -> _z_fd , $p_header['comment_len']); 2456 $p_hd ['comment'] = ''; 2461 i( $p_hd ['mdate'] && $p_header['mtime']) 2464 $v_hour = ( $p_hd ['mtime'] & 0xF800) >> 11; 2465 $v_mu = ( $p_hd ['mtime'] & 0x07E0) >> 5; 2466 $v_cde = ( $p_hd ['mtime'] & 0x001F)*2; 2469 $v_yr = (( $p_hd ['mdate'] & 0xFE00) >> 9) + 1980; 2470 $v_mth = ( $p_hd ['mdate'] & 0x01E0) >> 5; 2471 $v_day = $p_hd ['mdate'] & 0x001F; 2474 $p_hd ['mtime'] = `mktime ( $v_hour , $v_mu , $v_cde , $v_mth , $v_day , $v_yr ); 2479 $p_hd ['mtime'] = `time (); 2483 $p_hd ['stored_filename'] = $p_header['filename']; 2486 $p_hd ['status'] = 'ok'; 2489 i( `subr ( $p_hd ['filename'], -1) == '/') 2491 $p_hd ['external'] = 0x41FF0010; 2496  $v_su ; 2497 } } 2512 funi $_adEndCD (& $p_l_d ) 2514 $v_su =1; 2517 $v_size = `fesize ( $this -> _zme ); 2518 @ `fek ( $this -> _z_fd , $v_size ); 2519 i(@ `l ( $this -> _z_fd ! $v_size ) { 2520 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2522 . $this -> _zme .'\''); 2523  Archive_Z :: `rCode (); 2529 $v_found = 0; 2530 i( $v_size > 26) { 2531 @ `fek ( $this -> _z_fd , $v_size -22); 2532 i(( $v_pos = @ `l ( $this -> _z_fd )!( $v_size -22)) { 2533 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2535 . $this -> _zme .'\''); 2536  Archive_Z :: `rCode (); 2540 $v_by_da = @ `d ( $this -> _z_fd , 4); 2541 $v_da = `uack ('Vid', $v_by_da ); 2544 i( $v_da ['id'] == 0x06054b50) { 2545 $v_found = 1; 2548 $v_pos = `l ( $this -> _z_fd ); 2552 i(! $v_found ) { 2553 $v_maximum_size = 65557; 2554 i( $v_maximum_size > $v_size ) 2555 $v_maximum_size = $v_size ; 2556 @ `fek ( $this -> _z_fd , $v_size - $v_maximum_size ); 2557 i(@ `l ( $this -> _z_fd !( $v_size - $v_maximum_size )) { 2558 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2560 . $this -> _zme .'\''); 2561  Archive_Z :: `rCode (); 2565 $v_pos = `l ( $this -> _z_fd ); 2566 $v_bys = 0x00000000; 2567  $v_pos < $v_size ) { 2569 $v_by = @ `d ( $this -> _z_fd , 1); 2572 $v_bys = ($v_by<< 8| `Ord ( $v_by ); 2575 i( $v_bys == 0x504b0506) { 2576 $v_pos ++; 2580 $v_pos ++; 2584 i( $v_pos = $v_size ) { 2585 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2587  Archive_Z :: `rCode (); 2592 $v_by_da = `d ( $this -> _z_fd , 18); 2595 i( ` ( $v_by_da ) != 18) { 2596 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2598 . ` ( $v_by_da )); 2599  Archive_Z :: `rCode (); 2603 $v_da = `uack ('vdisk/vdisk_t/vdisk_s/vs/Vsize/Vofft/vcommt_size', $v_by_da ); 2606 i(( $v_pos + $v_da ['commt_size'] + 18! $v_size ) { 2607 $this -> `_rLog ( ARCHIVE_ZIP_ERR_BAD_FORMAT , 2609  Archive_Z :: `rCode (); 2613 i( $v_da ['comment_size'] != 0) 2614 $p_l_d ['commt'] = `d ( $this -> _z_fd , $v_da ['comment_size']); 2616 $p_l_d ['comment'] = ''; 2618 $p_l_d ['s'] = $v_da ['entries']; 2619 $p_l_d ['disk_s'] = $v_da ['disk_entries']; 2620 $p_l_d ['offt'] = $v_da ['offset']; 2621 $p_l_d ['size'] = $v_da ['size']; 2622 $p_l_d ['disk'] = $v_da ['disk']; 2623 $p_l_d ['disk_t'] = $v_da ['disk_start']; 2626  $v_su ; 2627 } } 2642 funi $_deByRu (& $p_su_li , & $p_ms ) 2644 $v_su =1; 2645 $v_li_da = `y (); 2648 i(( $v_su = $this -> `_ݒFd ('rb')) != 1) 2651  $v_su ; 2655 $v_l_d = `y (); 2656 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) 2658 $this -> `_oFd (); 2659  $v_su ; 2663 @ `wd ( $this -> _z_fd ); 2667 $v_pos_y = $v_l_d ['offset']; 2668 @ `wd ( $this -> _z_fd ); 2669 i(@ `fek ( $this -> _z_fd , $v_pos_y )) { 2671 $this -> `_oFd (); 2673 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_ARCHIVE_ZIP , 2675  Archive_Z :: `rCode (); 2679 $v_hd_li = `y (); 2680 $j_t = 0; 2681  $i =0, $v_nb_exaed =0; $i< $v_l_d ['entries']; $i++) { 2684 $v_hd_li [ $v_nb_exaed ] = `y (); 2685 $v_su 2686 $this -> `_adCFeHd ( $v_hd_li [ $v_nb_exaed ]); 2687 i( $v_su != 1) { 2689 $this -> `_oFd (); 2691  $v_su ; 2695 $v_hd_li [ $v_nb_exaed ]['dex'] = $i ; 2698 $v_found = l ; 2701 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ])) 2702 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ] != 0)) { 2705  $j =0; 2706 ( $j <( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ])) 2707 && (! $v_found ); 2708 $j ++) { 2711 i( `subr ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ], -1) == "/") { 2714 i( ` ( $v_hd_li [ $v_nb_exaed ]['ed_fame']> sn( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ])) 2715 && ( `subr ( $v_hd_li [ $v_nb_exaed ]['ed_fame'], 0, ` ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ])) == $p_params[ARCHIVE_ZIP_PARAM_BY_NAME][$j])) { 2716 $v_found = ue ; 2718 `if ( (( $v_hd_li [ $v_nb_exaed ]['external']&0x00000010)==0x00000010) 2719 && ( $v_hd_li [ $v_nb_exaed ]['ed_fame'].'/' = $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ])) { 2720 $v_found = ue ; 2724 `if ( $v_hd_li [ $v_nb_exaed ]['stored_filename'] 2725 = $p_ms [ ARCHIVE_ZIP_PARAM_BY_NAME ][ $j ]) { 2726 $v_found = ue ; 2732 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ])) 2733 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ] != "")) { 2735 i( `eg ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_EREG ], 2736 $v_hd_li [ $v_nb_exaed ]['stored_filename'])) { 2737 $v_found = ue ; 2742 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ])) 2743 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ] != "")) { 2745 i( `eg_mch ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_PREG ], 2746 $v_hd_li [ $v_nb_exaed ]['stored_filename'])) { 2747 $v_found = ue ; 2752 i( `ist ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ])) 2753 && ( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ] != 0)) { 2756  $j = $j_t ; 2757 ( $j <( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ])) 2758 && (! $v_found ); 2759 $j ++) { 2761 i( $i >= $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['start']) 2762 && ( $i <= $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['end'])) { 2763 $v_found = ue ; 2765 i( $i >= $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['end']) { 2766 $j_t = $j +1; 2769 i( $p_ms [ ARCHIVE_ZIP_PARAM_BY_INDEX ][ $j ]['t']> $i ) { 2776 i( $v_found ) { 2777 `unt ( $v_hd_li [ $v_nb_exaed ]); 2780 $v_nb_exaed ++; 2785 i( $v_nb_exaed > 0) { 2788 $v_z_mp_me = ARCHIVE_ZIP_TEMPORARY_DIR . `uniqid ('archive_zip-') 2792 $v_mp_z = w `Archive_Z ( $v_z_mp_me ); 2795 i(( $v_su = $v_mp_z -> `_ݒFd ('wb')) != 1) { 2796 $this -> `_oFd (); 2799  $v_su ; 2803  $i =0; $i<( $v_hd_li ); $i++) { 2806 @ `wd ( $this -> _z_fd ); 2807 i(@ `fek ( $this -> _z_fd , $v_hd_li [ $i ]['offset'])) { 2809 $this -> `_oFd (); 2810 $v_mp_z -> `_oFd (); 2811 @ `uƚk ( $v_z_mp_me ); 2813 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_ARCHIVE_ZIP , 2815  Archive_Z :: `rCode (); 2819 i(( $v_su = $this -> `_adFeHd ( $v_hd_li [ $i ])) != 1) { 2821 $this -> `_oFd (); 2822 $v_mp_z -> `_oFd (); 2823 @ `uƚk ( $v_z_mp_me ); 2825  $v_su ; 2829 $v_su = $v_mp_z -> `_wreFeHd ( $v_hd_li [ $i ]); 2830 i( $v_su != 1) { 2832 $this -> `_oFd (); 2833 $v_mp_z -> `_oFd (); 2834 @ `uƚk ( $v_z_mp_me ); 2836  $v_su ; 2840 $v_su = $this -> `_to_CyBlock ($this-> _z_fd , 2841 $v_mp_z -> _z_fd , 2842 $v_hd_li [ $i ]['compressed_size']); 2843 i( $v_su != 1) { 2845 $this -> `_oFd (); 2846 $v_mp_z -> `_oFd (); 2847 @ `uƚk ( $v_z_mp_me ); 2849  $v_su ; 2854 $v_offt = @ `l ( $v_mp_z -> _z_fd ); 2857  $i =0; $i<( $v_hd_li ); $i++) { 2859 $v_su = $v_mp_z -> `_wreCFeHd ( $v_hd_li [ $i ]); 2860 i( $v_su != 1) { 2862 $v_mp_z -> `_oFd (); 2863 $this -> `_oFd (); 2864 @ `uƚk ( $v_z_mp_me ); 2866  $v_su ; 2870 $v_mp_z -> `_cvtHd2FeInfo ( $v_hd_li [ $i ], 2871 $p_su_li [ $i ]); 2876 $v_commt = ''; 2879 $v_size = @ `l ( $v_mp_z -> _z_fd )- $v_offt ; 2882 $v_su = $v_mp_z -> `_wreCHd (( $v_hd_li ), 2883 $v_size , $v_offt , 2884 $v_commt ); 2885 i( $v_su != 1) { 2887 `unt ( $v_hd_li ); 2888 $v_mp_z -> `_oFd (); 2889 $this -> `_oFd (); 2890 @ `uƚk ( $v_z_mp_me ); 2892  $v_su ; 2896 $v_mp_z -> `_oFd (); 2897 $this -> `_oFd (); 2901 @ `uƚk ( $this -> _zme ); 2906 $this -> `_to_Rame ( $v_z_mp_me , $this-> _zme ); 2909 `unt ( $v_mp_z ); 2913  $v_su ; 2914 } } 2935 funi $_dCheck ( $p_d , $p_is_d = l ) 2937 $v_su = 1; 2940 i(( $p_is_d && ( `subr ( $p_d , -1)=='/')) { 2941 $p_d = `subr ($p_d, 0, ` ($p_dir)-1); 2945 i(( `is_d ( $p_d )) || ($p_dir == "")) { 2950 $p__d = `dme ( $p_d ); 2953 i( $p__d ! $p_d ) { 2955 i( $p__d != "") { 2956 i(( $v_su = $this -> `_dCheck ( $p__d )) != 1) { 2957  $v_su ; 2963 i(!@ `mkd ( $p_d , 0777)) { 2964 $this -> `_rLog ( ARCHIVE_ZIP_ERR_DIR_CREATE_FAIL , 2966  Archive_Z :: `rCode (); 2970  $v_su ; 2971 } } 2987 funi $_mge (& $p_chive_to_add ) 2989 $v_su =1; 2992 i(! `is_fe ( $p_chive_to_add -> _zme )) { 2998 i(! `is_fe ( $this -> _zme )) { 3000 $v_su = $this -> `_dui ( $p_chive_to_add -> _zme ); 3002  $v_su ; 3006 i(( $v_su = $this -> `_ݒFd ('rb')) != 1) { 3007  $v_su ; 3011 $v_l_d = `y (); 3012 i(( $v_su = $this -> `_adEndCD ( $v_l_d )) != 1) { 3013 $this -> `_oFd (); 3014  $v_su ; 3018 @ `wd ( $this -> _z_fd ); 3021 i(( $v_su = $p_chive_to_add -> `_ݒFd ('rb')) != 1) { 3022 $this -> `_oFd (); 3023  $v_su ; 3027 $v_l_d_to_add = `y (); 3028 $v_su = $p_chive_to_add -> `_adEndCD ( $v_l_d_to_add ); 3029 i( $v_su != 1) { 3030 $this -> `_oFd (); 3031 $p_chive_to_add -> `_oFd (); 3032  $v_su ; 3036 @ `wd ( $p_chive_to_add -> _z_fd ); 3039 $v_z_mp_me = ARCHIVE_ZIP_TEMPORARY_DIR . `uniqid ('archive_zip-').'.tmp'; 3042 i(( $v_z_mp_fd = @ `fݒ ( $v_z_mp_me , 'wb')) == 0) { 3043 $this -> `_oFd (); 3044 $p_chive_to_add -> `_oFd (); 3045 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 3047 . $v_z_mp_me .'\' in binary write mode'); 3048  Archive_Z :: `rCode (); 3054 $v_size = $v_l_d ['offset']; 3055  $v_size != 0) { 3056 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3057 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3058 $v_bufr = `d ( $this -> _z_fd , $v_ad_size ); 3059 @ `fwre ( $v_z_mp_fd , $v_bufr , $v_ad_size ); 3060 $v_size - $v_ad_size ; 3064 $v_size = $v_l_d_to_add ['offset']; 3065  $v_size != 0) { 3066 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3067 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3068 $v_bufr = `d ( $p_chive_to_add -> _z_fd , $v_ad_size ); 3069 @ `fwre ( $v_z_mp_fd , $v_bufr , $v_ad_size ); 3070 $v_size - $v_ad_size ; 3074 $v_offt = @ `l ( $v_z_mp_fd ); 3077 $v_size = $v_l_d ['size']; 3078  $v_size != 0) { 3079 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3080 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3081 $v_bufr = @ `d ( $this -> _z_fd , $v_ad_size ); 3082 @ `fwre ( $v_z_mp_fd , $v_bufr , $v_ad_size ); 3083 $v_size - $v_ad_size ; 3087 $v_size = $v_l_d_to_add ['size']; 3088  $v_size != 0) { 3089 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3090 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3091 $v_bufr = @ `d ( $p_chive_to_add -> _z_fd , $v_ad_size ); 3092 @ `fwre ( $v_z_mp_fd , $v_bufr , $v_ad_size ); 3093 $v_size - $v_ad_size ; 3098 $v_commt = ''; 3101 $v_size = @ `l ( $v_z_mp_fd )- $v_offt ; 3106 $v_sw = $this -> _z_fd ; 3107 $this -> _z_fd = $v_z_mp_fd ; 3108 $v_z_mp_fd = $v_sw ; 3111 i(( $v_su = $this -> `_wreCHd ( $v_l_d ['entries'] 3112 + $v_l_d_to_add ['entries'], 3113 $v_size , $v_offt , 3114 $v_commt )) != 1) { 3115 $this -> `_oFd (); 3116 $p_chive_to_add -> `_oFd (); 3117 @ `fo ( $v_z_mp_fd ); 3118 $this -> _z_fd = nu ; 3121 `unt ( $v_hd_li ); 3124  $v_su ; 3128 $v_sw = $this -> _z_fd ; 3129 $this -> _z_fd = $v_z_mp_fd ; 3130 $v_z_mp_fd = $v_sw ; 3133 $this -> `_oFd (); 3134 $p_chive_to_add -> `_oFd (); 3137 @ `fo ( $v_z_mp_fd ); 3141 @ `uƚk ( $this -> _zme ); 3146 $this -> `_to_Rame ( $v_z_mp_me , $this-> _zme ); 3149  $v_su ; 3150 } } 3165 funi $_dui ( $p_chive_fame ) 3167 $v_su =1; 3170 i(! `is_fe ( $p_chive_fame )) { 3173 $v_su = 1; 3176  $v_su ; 3180 i(( $v_su = $this -> `_ݒFd ('wb')) != 1) { 3182  $v_su ; 3186 i(( $v_z_mp_fd = @ `fݒ ( $p_chive_fame , 'rb')) == 0) { 3187 $this -> `_oFd (); 3188 $this -> `_rLog ( ARCHIVE_ZIP_ERR_READ_OPEN_FAIL , 3190 . $p_chive_fame .'\' in binary write mode'); 3191  Archive_Z :: `rCode (); 3197 $v_size = `fesize ( $p_chive_fame ); 3198  $v_size != 0) { 3199 $v_ad_size = ( $v_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3200 ? $v_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3201 $v_bufr = `d ( $v_z_mp_fd , $v_ad_size ); 3202 @ `fwre ( $this -> _z_fd , $v_bufr , $v_ad_size ); 3203 $v_size - $v_ad_size ; 3207 $this -> `_oFd (); 3210 @ `fo ( $v_z_mp_fd ); 3212  $v_su ; 3213 } } 3224 funi $_check_ms (& $p_ms , $p_deu ) 3228 i(! `is_y ( $p_ms )) { 3229 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 3231  Archive_Z :: `rCode (); 3235  `t ( $p_ms ); `li ( $v_key , $v_vue `ch ($p_params); ) { 3236 i(! `ist ( $p_deu [ $v_key ])) { 3237 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAMETER , 3238 'Unsu܋dam wh key \''. $v_key .'\''); 3240  Archive_Z :: `rCode (); 3245  `t ( $p_deu ); `li ( $v_key , $v_vue `ch ($p_default); ) { 3246 i(! `ist ( $p_ms [ $v_key ])) { 3247 $p_ms [ $v_key ] = $p_deu [$v_key]; 3252 $v_back_li = `y ('callback_pre_add','callback_post_add', 3254  $i =0; $i<( $v_back_li ); $i++) { 3255 $v_key = $v_back_li [ $i ]; 3256 i( `ist ( $p_ms [ $v_key ])) && ($p_params[$v_key] != '')) { 3257 i(! `funi_exis ( $p_ms [ $v_key ])) { 3258 $this -> `_rLog ( ARCHIVE_ZIP_ERR_INVALID_PARAM_VALUE , 3259 "Clback '". $p_ms [ $v_key ] 3261 ."m '". $v_key ."'"); 3262  Archive_Z :: `rCode (); 3268 } } 3284 funi _rLog ( $p_r_code =0, $p_r_rg ='') 3286 $this -> _r_code = $p_r_code ; 3287 g$this -> g_r_rg = $p_r_rg ; 3302 funi $_rRet () 3304 $this -> _r_code = 1; 3305 $this -> _r_rg = ''; 3306 } } 3321 funi $_to_PhRedui ( $p_d ) 3323 $v_su = ""; 3326 i( $p_d != "") 3329 $v_li = `exode ("/", $p_d ); 3332  $i =( $v_li )-1; $i>=0; $i--) 3335 i( $v_li [ $i ] == ".") 3340 i( $v_li [ $i ] == "..") 3343 $i --; 3345 i(( $v_li [ $i ] == "") && ($i!=(($v_list)-1)) && ($i!=0)) 3352 $v_su = $v_li [ $i ].($i!=(($v_list)-1)?"/".$v_result:""); 3358  $v_su ; 3359 } } 3383 funi $_to_PhInusi ( $p_d , $p_th ) 3385 $v_su = 1; 3388 $v_li_d = `exode ("/", $p_d ); 3389 $v_li_d_size = ( $v_li_d ); 3390 $v_li_th = `exode ("/", $p_th ); 3391 $v_li_th_size = ( $v_li_th ); 3394 $i = 0; 3395 $j = 0; 3396 ( $i < $v_li_d_size && ( $j < $v_li_th_size && ( $v_su )) { 3399 i( $v_li_d [ $i ] == '') { 3400 $i ++; 3403 i( $v_li_th [ $j ] == '') { 3404 $j ++; 3409 i( $v_li_d [ $i ] ! $v_li_th [ $j ]) 3410 && ( $v_li_d [ $i ] != '') 3411 && ( $v_li_th [ $j ] != '')) { 3412 $v_su = 0; 3416 $i ++; 3417 $j ++; 3421 i( $v_su ) { 3423 ( $j < $v_li_th_size && ( $v_li_th [$j] == '')) $j++; 3424 ( $i < $v_li_d_size && ( $v_li_d [$i] == '')) $i++; 3426 i(( $i > $v_li_d_size && ( $j > $v_li_th_size )) { 3428 $v_su = 2; 3430 i( $i < $v_li_d_size ) { 3432 $v_su = 0; 3437  $v_su ; 3438 } } 3459 funi $_to_CyBlock ( $p_c , $p_de , $p_size , $p_mode =0) 3461 $v_su = 1; 3463 i( $p_mode ==0) 3465  $p_size != 0) 3467 $v_ad_size = ( $p_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3468 ? $p_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3469 $v_bufr = @ `d ( $p_c , $v_ad_size ); 3470 @ `fwre ( $p_de , $v_bufr , $v_ad_size ); 3471 $p_size - $v_ad_size ; 3474 i( $p_mode ==1) 3476  $p_size != 0) 3478 $v_ad_size = ( $p_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3479 ? $p_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3480 $v_bufr = @ `gzad ( $p_c , $v_ad_size ); 3481 @ `fwre ( $p_de , $v_bufr , $v_ad_size ); 3482 $p_size - $v_ad_size ; 3485 i( $p_mode ==2) 3487  $p_size != 0) 3489 $v_ad_size = ( $p_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3490 ? $p_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3491 $v_bufr = @ `d ( $p_c , $v_ad_size ); 3492 @ `gzwre ( $p_de , $v_bufr , $v_ad_size ); 3493 $p_size - $v_ad_size ; 3496 i( $p_mode ==3) 3498  $p_size != 0) 3500 $v_ad_size = ( $p_size < ARCHIVE_ZIP_READ_BLOCK_SIZE 3501 ? $p_size : ARCHIVE_ZIP_READ_BLOCK_SIZE ); 3502 $v_bufr = @ `gzad ( $p_c , $v_ad_size ); 3503 @ `gzwre ( $p_de , $v_bufr , $v_ad_size ); 3504 $p_size - $v_ad_size ; 3509  $v_su ; 3510 } } 3531 funi $_to_Rame ( $p_c , $p_de ) 3533 $v_su = 1; 3536 i(!@ `me ( $p_c , $p_de )) { 3539 i(!@ `cy ( $p_c , $p_de )) { 3540 $v_su = 0; 3542 i(!@ `uƚk ( $p_c )) { 3543 $v_su = 0; 3548  $v_su ; 3549 } } 3570 funi $_to_TneWPh ( $p_th , $p_move_disk_ˉ = ue ) 3572 i( `rir ( `php_ume (), 'windows')) { 3574 i( $p_move_disk_ˉ ) 3575 && (( $v_posi = `os ( $p_th , ':')! l )) { 3576 $p_th = `subr ($p_th, $v_posi +1); 3579 i(( `os ( $p_th , '\\'> 0|| ( `subr ($p_path, 0,1) == '\\')) { 3580 $p_th = `r ($p_path, '\\', '/'); 3583  $p_th ; 3584 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/AnsiColorLogger.php 1 rC = lf :: PREFIX . sf:: ATTR_DIM . sf:: SEPARATOR . sf:: FG_RED . sf:: SUFFIX ; 148 $this -> wnC = lf :: PREFIX . sf:: ATTR_DIM . sf:: SEPARATOR . sf:: FG_MAGENTA . sf:: SUFFIX ; 149 $this -> foC = lf :: PREFIX . sf:: ATTR_DIM . sf:: SEPARATOR . sf:: FG_CYAN . sf:: SUFFIX ; 150 $this -> vboC = lf :: PREFIX . sf:: ATTR_DIM . sf:: SEPARATOR . sf:: FG_GREEN . sf:: SUFFIX ; 151 $this -> debugC = lf :: PREFIX . sf:: ATTR_DIM . sf:: SEPARATOR . sf:: FG_BLUE . sf:: SUFFIX ; 158 ive f funi $tCs () { 160 $urCFe = Phg :: `gPrݔty ("phing.logger.defaults"); 161 $syemCFe = w `PhgFe ( Phg :: `gResourPh ("phing/listener/defaults.properties")); 163 $ = nu ; 165 y { 166 $ = w `Prݔts (); 168 i( $urCFe != nu ) { 169 $ -> `ld ( $urCFe ); 171 $ -> `ld ( $syemCFe ); 174 $r = $ -> `gPrݔty ("AnsiColorLogger.ERROR_COLOR"); 175 $wn = $ -> `gPrݔty ("AnsiColorLogger.WARNING_COLOR"); 176 $fo = $ -> `gPrݔty ("AnsiColorLogger.INFO_COLOR"); 177 $vbo = $ -> `gPrݔty ("AnsiColorLogger.VERBOSE_COLOR"); 178 $debug = $ -> `gPrݔty ("AnsiColorLogger.DEBUG_COLOR"); 179 i( $r != nu ) { 180 $this -> rC = lf :: PREFIX . $r . sf:: SUFFIX ; 182 i( $wn != nu ) { 183 $this -> wnC = lf :: PREFIX . $wn . sf:: SUFFIX ; 185 i( $fo != nu ) { 186 $this -> foC = lf :: PREFIX . $fo . sf:: SUFFIX ; 188 i( $vbo != nu ) { 189 $this -> vboC = lf :: PREFIX . $vbo . sf:: SUFFIX ; 191 i( $debug != nu ) { 192 $this -> debugC = lf :: PREFIX . $debug . sf:: SUFFIX ; 194 } `tch ( IOExi $i ) { 197 } } 205 eed f funi $tMesge ( $mesge , OuutSm $am , $iܙy ) { 206 i( $mesge != nu ) { 208 i(! $this -> csS ) { 209 $this -> `tCs (); 210 $this -> csS = ue ; 213  $iܙy ) { 214  Proje :: MSG_ERR : 215 $mesge = $this -> rC . $mesg. lf :: END_COLOR ; 217  Proje :: MSG_WARN : 218 $mesge = $this -> wnC . $mesg. lf :: END_COLOR ; 220  Proje :: MSG_INFO : 221 $mesge = $this -> foC . $mesg. lf :: END_COLOR ; 223  Proje :: MSG_VERBOSE : 224 $mesge = $this -> vboC . $mesg. lf :: END_COLOR ; 226  Proje :: MSG_DEBUG : 227 $mesge = $this -> debugC . $mesg. lf :: END_COLOR ; 231 $am -> `wre ( $mesge . PHP_EOL ); 233 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/DefaultLogger.php 1 msgOuutLev = ( $v ; 99 } } 106 public funi $tOuutSm ( OuutSm $ouut ) { 107 $this -> out = $ouut ; 108 } } 115 public funi $tESm ( OuutSm $r ) { 116 $this -> r = $r ; 117 } } 126 public funi $budSed ( BudEvt $evt ) { 127 $this -> tTime = Phg :: `cutTimeMlis (); 128 i( $this -> msgOuutLev > Proje :: MSG_INFO ) { 129 $this -> `tMesge ("Budfe: ". $evt -> `gProje ()-> `gPrݔty ("phg.fe"), $this-> out , Proje :: MSG_INFO ); 131 } } 140 public funi $budFished ( BudEvt $evt ) { 141 $r = $evt -> `gExi (); 142 i( $r == nu ) { 143 $msg = PHP_EOL . $this -> `gBudSucssfulMesge () . PHP_EOL; 145 $msg = PHP_EOL . $this -> `gBudFaedMesge () . PHP_EOL; 146 i( Proje :: MSG_VERBOSE < $this -> msgOuutLev || !( $r of BudExi )) { 147 $msg . $r -> `__toSg (). PHP_EOL ; 149 $msg . $r -> `gMesge (); 152 $msg . PHP_EOL . "Tٮime: " . lf :: `fmTime ( Phg :: `cutTimeMlis (- $this -> tTime ) . PHP_EOL; 154 i( $r == nu ) { 155 $this -> `tMesge ( $msg , $this-> out , Proje :: MSG_VERBOSE ); 157 $this -> `tMesge ( $msg , $this-> r , Proje :: MSG_ERR ); 159 } } 165 eed funi $gBudFaedMesge () { 167 } } 173 eed funi $gBudSucssfulMesge () { 175 } } 184 public funi $rgSed ( BudEvt $evt ) { 185 i( Proje :: MSG_INFO < $this -> msgOuutLev ) { 186 $msg = PHP_EOL . $evt -> `gProje ()-> `gName (. ' > ' . $evt-> `gTg ()->getName() . ':' . PHP_EOL; 187 $this -> `tMesge ( $msg , $this-> out , $evt -> `gPriܙy ()); 189 } } 198 public funi $rgFished ( BudEvt $evt { } } 208 public funi $skSed ( BudEvt $evt { } } 218 public funi $skFished ( BudEvt $evt { } } 227 public funi $mesgeLogged ( BudEvt $evt ) { 228 $iܙy = $evt -> `gPriܙy (); 229 i( $iܙy < $this -> msgOuutLev ) { 230 $msg = ""; 231 i( $evt -> `gTask (!= nu ) { 232 $me = $evt -> `gTask (); 233 $me = $me-> `gTaskName (); 234 $msg = `r_d ("[$me] ", lf :: LEFT_COLUMN_SIZE , " ", STR_PAD_LEFT ); 237 $msg . $evt -> `gMesge (); 239 i( $iܙy ! Proje :: MSG_ERR ) { 240 $this -> `tMesge ( $msg , $this-> out , $iܙy ); 242 $this -> `tMesge ( $msg , $this-> r , $iܙy ); 245 } } 253 public  funi $fmTime ( $mios ) { 254 $cds = $mios ; 255 $mus = $cds / 60; 256 i( $mus > 1) { 257  `rtf ("%1.0f minute%s %0.2f second%s", 258 $mus , ($minutes === 1 ? " " : "s "), 259 $cds - `o ($seconds/60) * 60, ($seconds%60 === 1 ? "" : "s")); 261  `rtf ("%0.4cd%s", $cds , ($seconds%60 === 1 ? "" : "s")); 263 } } 275 eed funi $tMesge ( $mesge , OuutSm $am , $iܙy ) { 276 $am -> `wre ( $mesge . PHP_EOL ); 277 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/NoBannerLogger.php 1 `gTg (); 38 $this -> rgName = $rg -> `gName (); 41 funi $rgFished ( BudEvt $evt ) { 42 $this -> rgName = nu ; 43 } } 45 funi $mesgeLogged ( BudEvt $evt ) { 47 i( $evt -> `gPriܙy (> $this -> msgOuutLev || nu ==$evt-> `gMesge (|| `im ($event->getMessage() === "")) { 51 i( $this -> rgName != nu ) { 52 $msg = PHP_EOL . $evt -> `gProje ()-> `gName (. ' > ' . $this -> rgName . ':' . PHP_EOL; 53 $this -> `tMesge ( $msg , $this-> out , $evt -> `gPriܙy ()); 54 $this -> rgName = nu ; 57 :: `mesgeLogged ( $evt ); 58 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/PearLogListener.php 1 PEAR_LOG_DEBUG , 62 Proje :: MSG_INFO => PEAR_LOG_INFO , 63 Proje :: MSG_VERBOSE => PEAR_LOG_NOTICE , 64 Proje :: MSG_WARN => PEAR_LOG_WARNING , 65 Proje :: MSG_ERR => PEAR_LOG_ERR 71 eed m$logCfigud = l ; 76 eed m$logg ; 81 eed funi $cfiguLoggg () { 83 $ty = Phg :: `gDefedPrݔty ('pear.log.type'); 84 $me = Phg :: `gDefedPrݔty ('pear.log.name'); 85 $idt = Phg :: `gDefedPrݔty ('pear.log.ident'); 86 $cf = Phg :: `gDefedPrݔty ('pear.log.conf'); 88 i( $ty == nu ) $type = 'file'; 89 i( $me == nu ) $name = 'phing.log'; 90 i( $idt == nu ) $ident = 'phing'; 91 i( $cf == nu $c `y (); 93 ude_ 'Log.php'; 94 i(! `ass_exis ('Log')) { 95 throw w `BudExi ("Cannot find PEAR Log class for use by PearLogger."); 98 $this -> logg = Log :: `sgt ( $ty , $me , $idt , $cf , lf :: $vM [$this-> msgOuutLev ]); 106 eed funi $logg () { 107 i(! $this -> logCfigud ) { 108 $this -> `cfiguLoggg (); 110  $this -> logg ; 111 } } 119 public funi $budSed ( BudEvt $evt ) { 120 $this -> tTime = Phg :: `cutTimeMlis (); 121 $this -> `logg ()-> `tIdt ( $evt -> `gProje ()-> `gName ()); 122 $this -> `logg ()-> `fo ("Sg bud wh budfe: ". $evt -> `gProje ()-> `gPrݔty ("phing.file")); 123 } } 132 public funi $budFished ( BudEvt $evt ) { 133 $r = $evt -> `gExi (); 134 i( $r == nu ) { 135 $msg = "Finished successful build."; 137 $msg = "Bud faed. [as: " . $r -> `gMesge () ."]"; 139 $this -> `logg ()-> `log ( $msg . " Tٮime: " . DeuLogg :: `fmTime ( Phg :: `cutTimeMlis (- $this-> tTime )); 140 } } 148 public funi $rgSed ( BudEvt $evt { } } 158 public funi $rgFished ( BudEvt $evt { } } 168 public funi $skSed ( BudEvt $evt { } } 177 public funi $skFished ( BudEvt $evt { } } 185 public funi $mesgeLogged ( BudEvt $evt ) { 186 i( $evt -> `gPriܙy (< $this -> msgOuutLev ) { 187 $msg = ""; 188 i( $evt -> `gTask (!= nu ) { 189 $me = $evt -> `gTask (); 190 $me = $me-> `gTaskName (); 191 $msg = `r_d ("[$me] ", lf :: LEFT_COLUMN_SIZE , " ", STR_PAD_LEFT ); 193 $msg . $evt -> `gMesge (); 194 $this -> `logg ()-> `log ( $msg , lf :: $vM [ $evt -> `gPriܙy ()]); 196 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/StreamRequiredBuildLogger.php 1 doc = w `DOMDocumt ("1.0", "UTF-8"); 118 $this -> doc -> fmOuut = ue ; 127 funi $budSed ( BudEvt $evt ) { 128 $this -> budTimS = Phg :: `cutTimeMlis (); 129 $this -> budEmt = $this-> doc -> `Emt ( XmlLogg :: BUILD_TAG ); 130 `y_push ( $this -> emtSck , $this-> budEmt ); 131 `y_push ( $this -> timesSck , $this-> budTimS ); 132 } } 141 public funi $budFished ( BudEvt $evt ) { 143 $dTime = Phg :: `cutTimeMlis (- $this -> budTimS ; 145 $this -> budEmt -> `tAribu ( XmlLogg :: TIME_ATTR , DeuLogg :: `fmTime ( $dTime )); 147 i( $evt -> `gExi (! nu ) { 148 $this -> budEmt -> `tAribu ( XmlLogg :: ERROR_ATTR , $evt -> `gExi ()-> `gMesge ()); 149 $rText = $this -> doc -> `CDATASei ( $evt -> `gExi ()-> `gTAsSg ()); 150 $acka = $this -> doc -> `Emt ( XmlLogg :: STACKTRACE_TAG ); 151 $acka -> `ndChd ( $rText ); 152 $this -> budEmt -> `ndChd ( $acka ); 155 $this -> doc -> `ndChd ($this-> budEmt ); 157 $outFame = $evt -> `gProje ()-> `gPrݔty ("XmlLogger.file"); 158 i( $outFame = nu ) { 159 $outFame = "log.xml"; 162 y { 163 $am = $this -> out ; 164 i( $am == nu ) { 165 $am = w `FeOuutSm ( $outFame ); 170 $wr = w `OuutSmWr ( $am ); 171 $wr -> `wre ( $this -> doc -> `veXML ()); 172 $wr -> `o (); 173 } `tch ( IOExi $exc ) { 174 y { 175 $am -> `o (); 176 } `tch ( Exi $x ) {} 177 throw w `BudExi ("Ubˁwrlog fe.", $exc ); 181 $this -> budEmt = nu ; 183 `y_p ( $this -> emtSck ); 184 `y_p ( $this -> timesSck ); 185 } } 194 public funi $rgSed ( BudEvt $evt ) { 195 $rg = $evt -> `gTg (); 197 $rgEmt = $this -> doc -> `Emt ( XmlLogg :: TARGET_TAG ); 198 $rgEmt -> `tAribu ( XmlLogg :: NAME_ATTR , $rg -> `gName ()); 200 `y_push ( $this -> timesSck , Phg :: `cutTimeMlis ()); 201 `y_push ( $this -> emtSck , $rgEmt ); 202 } } 211 public funi $rgFished ( BudEvt $evt ) { 212 $rgTimS = `y_p ( $this -> timesSck ); 213 $rgEmt = `y_p ( $this -> emtSck ); 215 $dTime = Phg :: `cutTimeMlis (- $rgTimS ; 216 $rgEmt -> `tAribu ( XmlLogg :: TIME_ATTR , DeuLogg :: `fmTime ( $dTime )); 218 $Emt = $this -> emtSck [ `cou ($this->elementStack) - 1 ]; 219 $Emt -> `ndChd ( $rgEmt ); 220 } } 228 public funi $skSed ( BudEvt $evt ) { 229 $sk = $evt -> `gTask (); 231 $skEmt = $this -> doc -> `Emt ( XmlLogg :: TASK_TAG ); 232 $skEmt -> `tAribu ( XmlLogg :: NAME_ATTR , $sk -> `gTaskName ()); 233 $skEmt -> `tAribu ( XmlLogg :: LOCATION_ATTR , $sk -> `gLoti ()-> `toSg ()); 235 `y_push ( $this -> timesSck , Phg :: `cutTimeMlis ()); 236 `y_push ( $this -> emtSck , $skEmt ); 237 } } 246 public funi $skFished ( BudEvt $evt ) { 247 $skTimS = `y_p ( $this -> timesSck ); 248 $skEmt = `y_p ( $this -> emtSck ); 250 $dTime = Phg :: `cutTimeMlis (- $skTimS ; 251 $skEmt -> `tAribu ( XmlLogg :: TIME_ATTR , DeuLogg :: `fmTime ( $dTime )); 253 $Emt = $this -> emtSck [ `cou ($this->elementStack) - 1 ]; 254 $Emt -> `ndChd ( $skEmt ); 255 } } 265 public funi $mesgeLogged ( BudEvt $evt ) 267 $iܙy = $evt -> `gPriܙy (); 269 i( $iܙy > $this -> msgOuutLev ) { 273 $mesgeEmt = $this -> doc -> `Emt ( XmlLogg :: MESSAGE_TAG ); 275  $iܙy ) { 276  Proje :: MSG_ERR : 277 $me = "error"; 279  Proje :: MSG_WARN : 280 $me = "warn"; 282  Proje :: MSG_INFO : 283 $me = "info"; 286 $me = "debug"; 290 $mesgeEmt -> `tAribu ( XmlLogg :: PRIORITY_ATTR , $me ); 292 $mesgeText = $this -> doc -> `CDATASei ( $evt -> `gMesge ()); 294 $mesgeEmt -> `ndChd ( $mesgeText ); 296 i(! `emy ( $this -> emtSck )) { 297 $this -> emtSck [ `cou ($this->emtSck)-1]-> `ndChd ( $mesgeEmt ); 299 } } 323 public funi $tMesgeOuutLev ( $v ) { 324 $this -> msgOuutLev = ( $v ; 325 } } 332 public funi $tOuutSm ( OuutSm $ouut ) { 333 $this -> out = $ouut ; 334 } } 341 public funi $tESm ( OuutSm $r ) { 342 $this -> r = $r ; 343 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/mappers/FileNameMapper.php 1 `gName ()); 48 funi $tTo ( $to { } } 53 funi $tFrom ( $om { } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/mappers/GlobMapper.php 1 omPfix == nu ) 66 || ! SgHr :: `tsWh ( $this -> omPfix , $_sourFeName ) 67 || ! SgHr :: `dsWh ( $this -> omPofix , $_sourFeName )) { 68  nu ; 70 $v = $this -> `_exaVbPt ( $_sourFeName ); 71 $subuti = $this -> toPfix . $v .$this-> toPofix ; 72  `y ( $subuti ); 77 funi $tFrom ( $om ) { 78 $dex = `pos ( $om , '*'); 80 i( $dex == l ) { 81 $this -> omPfix = $om ; 82 $this -> omPofix = ""; 84 $this -> omPfix = `subr ( $om , 0, $dex ); 85 $this -> omPofix = `subr ( $om , $dex +1); 87 $this -> efixLgth = ` ($this-> omPfix ); 88 $this -> pofixLgth = ` ($this-> omPofix ); 89 } } 94 funi $tTo ( $to ) { 95 $dex = `pos ( $to , '*'); 96 i( $dex == l ) { 97 $this -> toPfix = $to ; 98 $this -> toPofix = ""; 100 $this -> toPfix = `subr ( $to , 0, $dex ); 101 $this -> toPofix = `subr ( $to , $dex +1); 103 } } 105 ive funi $_exaVbPt ( $_me ) { 107 $t = ( $this -> efixLgth === 0) ? 0 : $this->prefixLength; 108 $d = ( $this -> pofixLgth ==0? ` ( $_me ) : strlen($_name) - $this->postfixLength; 109 $n = $d - $t ; 110  `subr ( $_me , $t , $n ); 111 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/mappers/IdentityMapper.php 1 mgedFe == nu ) { 47 throw w `BudExi ("MergeMapperrror,ottributeot set"); 49  `y ( $this -> mgedFe ); 60 funi $tTo ( $to ) { 61 $this -> mgedFe = $to ; 62 } } 67 funi $tFrom ( $om { } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/mappers/RegexpMapper.php 1 g = w `Regexp (); 55 funi $tFrom ( $om ) { 56 $this -> g -> `SP ( $om ); 57 } } 62 funi $tTo ( $to ) { 67 $this -> to = $to ; 68 } } 70 funi $ma ( $sourFeName ) { 71 i( $this -> g == nu || $this-> to ==nu || !$this->g-> `mches (( rg $sourFeName )) { 72  nu ; 74  `y ( $this -> `aRens ( $sourFeName )); 75 } } 82 ive funi $aRens ( $sour ) { 90 $groups = ( y $this -> g -> `gGroups (); 93  `eg_a ('/\\\([\d]+)/e', "\$groups[$1]", $this -> to ); 94 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/AbstractHandler.php 1 Hdr = $Hdr ; 48 $this -> rr = $rr ; 49 $this -> rr -> `tHdr ($this); 61 public funi $tEmt ( $me , $ibs ) { 62 throw w `ExtPExi ("Unexpectedlement $name"); 63 } } 69 eed funi $fished ({ } } 79 public funi $dEmt ( $me ) { 80 $this -> `fished (); 81 $this -> rr -> `tHdr ($this-> Hdr ); 82 } } 92 public funi $chas ( $da ) { 93 $s = `im ( $da ); 94 i( ` ( $s ) > 0) { 95 throw w `ExtPExi ("Uxedex'$s'", $this -> rr -> `gLoti ()); 97 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/AbstractSAXParser.php 1 hdr = $obj ; 58 } } 73 funi $tEmt ( $rr , $me , $ibs ) { 74 $this -> hdr -> `tEmt ( $me , $ibs ); 75 } } 90 funi $dEmt ( $rr , $me ) { 91 $this -> hdr -> `dEmt ( $me ); 92 } } 107 funi $chas ( $rr , $da ) { 108 $this -> hdr -> `chas ( $da ); 109 } } 115 ab funi r (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/DataTypeHandler.php 1 rg = $rg ; 56 $this -> cfigut = $cfigut ; 76 funi $ ( $Ty , $s ) { 78 $oje = $this -> cfigut -> oje ; 79 $cfigut = $this -> cfigut ; 81 y { 82 $this -> emt = $oje -> `DaTy ( $Ty ); 84 i( $this -> emt == nu ) { 85 throw w `BudExi ("Unknown dataype $propType"); 88 i( $this -> rg != nu ) { 89 $this -> w = w `RuimeCfigub ($this-> emt , $Ty ); 90 $this -> w -> `tAribus ( $s ); 91 $this -> rg -> `addDaTy ($this-> w ); 93 $cfigut -> `cfigu ( $this -> emt , $s , $oje ); 94 $cfigut -> `cfiguId ( $this -> emt , $s ); 97 } `tch ( BudExi $exc ) { 98 throw w `ExtPExi ( $exc , $this -> rr -> `gLoti ()); 100 } } 108 funi $chas ( $da ) { 109 $oje = $this -> cfigut -> oje ; 110 y { 111 $this -> cfigut -> `addText ( $oje , $this-> emt , $da ); 112 } `tch ( BudExi $exc ) { 113 throw w `ExtPExi ( $exc -> `gMesge (), $this -> rr -> `gLoti ()); 115 } } 125 funi $tEmt ( $me , $s ) { 126 $f = w `NeedEmtHdr ( $this -> rr , $this, $this-> cfigut , $this-> emt , $this-> w , $this-> rg ); 127 $f -> ` ( $me , $s ); 128 } } 139 funi $dEmt ( $me ) { 140 $this -> emt -> `rsgCome (); 141 :: `dEmt ( $me ); 142 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/ExpatParseException.php 1 ad = $ad ; 77 i( $fame != nu ) { 78 $this -> fe = w `PhgFe ( $fame ); 80 $this -> rr = `xml_rr_ (); 81 $this -> bufr = 4096; 82 $this -> loti = w `Loti (); 83 `xml_t_obje ( $this -> rr , $this); 84 `xml_t_emt_hdr ( $this -> rr , `y ($this,"startElement"),array($this,"endElement")); 85 `xml_t_cha_da_hdr ( $this -> rr , `y ($this, "characters")); 96 funi $rrSOi ( $t , $v ) { 97  `xml_rr_t_ti ( $this -> rr , $t , $v ); 98 } } 107 funi $gLoti () { 108 i( $this -> fe != nu ) { 109 $th = $this -> fe -> `gAbsuPh (); 111 $th = $this -> ad -> `gResour (); 113 $this -> loti = w `Loti ( $th , `xml_g_cut_le_numb ($this-> rr ), `xml_g_cut_cumn_numb ($this->parser)); 114  $this -> loti ; 115 } } 126 funi $r () { 128  ( $da = $this -> ad -> `ad ()) !== -1 ) { 129 i(! `xml_r ( $this -> rr , $da , $this-> ad -> `eof ())) { 130 $r = `xml_r_rg ( `xml_g_r_code ( $this -> rr )); 131 $e = w `ExtPExi ( $r , $this -> `gLoti ()); 132 `xml_rr_ ( $this -> rr ); 133 throw $e ; 136 `xml_rr_ ( $this -> rr ); 139 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/Location.php 1 feName = $feName ; 48 $this -> leNumb = $leNumb ; 49 $this -> cumnNumb = $cumnNumb ; 61 funi $toSg () { 62 $buf = ""; 63 i( $this -> feName != nu ) { 64 $buf .= $this -> feName ; 65 i( $this -> leNumb != nu ) { 66 $buf .":". $this -> leNumb ; 68 $buf .=":". $this -> cumnNumb ; 70  ( rg $buf ; 71 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/NestedElementHandler.php 1 cfigut = $cfigut ; 87 i( $ of TaskAdr ) { 88 $this -> = $ -> `gProxy (); 90 $this -> = $ ; 92 $this -> W = $W ; 93 $this -> rg = $rg ; 113 funi $ ( $Ty , $s ) { 114 $cfigut = $this -> cfigut ; 115 $oje = $this -> cfigut -> oje ; 118 $Css = `g_ass ( $this -> ); 119 $ih = IroeiHr :: `gHr ( $Css ); 120 y { 121 i( $this -> of UnknownEmt ) { 122 $this -> chd = w `UnknownEmt ( `ow ( $Ty )); 123 $this -> -> `addChd ($this-> chd ); 125 $this -> chd = $ih -> `Emt ( $oje , $this-> , `ow ( $Ty )); 128 $cfigut -> `cfiguId ( $this -> chd , $s ); 130 i( $this -> W != nu ) { 131 $this -> chdW = w `RuimeCfigub ($this-> chd , $Ty ); 132 $this -> chdW -> `tAribus ( $s ); 133 $this -> W -> `addChd ($this-> chdW ); 135 $cfigut -> `cfigu ( $this -> chd , $s , $oje ); 136 $ih -> `eEmt ( $oje , $this -> , $this-> chd , `ow ( $Ty )); 138 } `tch ( BudExi $exc ) { 139 throw w `ExtPExi ("E inlizgeedm<$Ty>", $exc , $this -> rr -> `gLoti ()); 141 } } 150 funi $chas ( $da ) { 152 $cfigut = $this -> cfigut ; 153 $oje = $this -> cfigut -> oje ; 155 i( $this -> W == nu ) { 156 y { 157 $cfigut -> `addText ( $oje , $this -> chd , $da ); 158 } `tch ( BudExi $exc ) { 159 throw w `ExtPExi ( $exc -> `gMesge (), $this -> rr -> `gLoti ()); 162 $this -> chdW -> `addText ( $da ); 164 } } 174 funi $tEmt ( $me , $s ) { 176 i( $this -> chd of TaskCڏ ) { 179 $tc = w `TaskHdr ( $this -> rr , $this, $this-> cfigut , $this-> chd , $this-> chdW , $this-> rg ); 180 $tc -> ` ( $me , $s ); 182 $h = w `NeedEmtHdr ( $this -> rr , $this, $this-> cfigut , $this-> chd , $this-> chdW , $this-> rg ); 183 $h -> ` ( $me , $s ); 185 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/ProjectConfigurator.php 1 `r (); 70 funi $__cڡru ( Proje $oje , PhgFe $budFe ) { 71 $this -> oje = $oje ; 72 $this -> budFe = w `PhgFe ( $budFe -> `gAbsuPh ()); 73 $this -> budFePt = w `PhgFe ($this-> budFe -> `gPt ()); 74 } } 84 eed funi $r () { 85 y { 86 $ad = w `BufdRd ew `FeRd ( $this -> budFe )); 87 $rr = w `ExtPr ( $ad ); 88 $rr -> `rrSOi ( XML_OPTION_CASE_FOLDING ,0); 89 $rr -> `tHdr ( w `RoHdr ($rr, $this )); 90 $this -> oje -> `log ("rsg budf".$this-> budFe -> `gName (), Proje :: MSG_VERBOSE ); 91 $rr -> `r (); 92 $ad -> `o (); 93 } `tch ( Exi $exc ) { 94 throw w `BudExi ("E܄dgroje fe", $exc ); 96 } } 108 public  funi $cfigu ( $rg , $s , Proje $oje ) { 110 i( $rg of TaskAdr ) { 111 $rg = $rg-> `gProxy (); 118 i( $rg of UnknownEmt ) { 119 $yTg = $oje -> `Task ( $rg -> `gTaskTy ()); 120 i( $yTg ) { 121 $rg = $yTg ; 125 $bn = `g_ass ( $rg ); 126 $ih = IroeiHr :: `gHr ( $bn ); 128 `fܗch ( $s as $key => $vue ) { 129 i( $key == 'id') { 133 $vue = lf :: `aPrݔts ( $oje , $vue, $oje-> `gPrݔts ()); 134 y { 135 $ih -> `tAribu ( $oje , $rg , `ow ( $key ), $vue ); 136 } `tch ( BudExi $be ) { 138 i( $key !== "id") { 139 throw $be ; 143 } } 153 public  funi $addText ( $oje , $rg , $xt = nu ) { 154 i( $xt == nu || ` ( `im ($text)) === 0) { 157 $ih = IroeiHr :: `gHr ( `g_ass ( $rg )); 158 $xt = lf :: `aPrݔts ( $oje , $xt, $oje-> `gPrݔts ()); 159 $ih -> `addText ( $oje , $rg , $xt ); 160 } } 171 public  funi $eChd ( $oje , $ , $chd , $g ) { 172 $ih = IroeiHr :: `gHr ( `g_ass ( $ )); 173 $ih -> `eEmt ( $oje , $ , $chd , $g ); 174 } } 182 ive  g$RProje ; 183 ive  g$RPrݔts ; 196 public  funi $aPrݔts ( Proje $oje , $vue , $keys ) { 198 i( $vue == nu ) { 199  nu ; 205 lf :: $RPrݔts = $keys ; 206 lf :: $RProje = $oje ; 213 $sb = `eg_a_back ('/\$\{([^}]+)\}/', `y ('ProjeCfigut', 'aPrݔtyClback'), $vue ); 214  $sb ; 215 } } 221 ive  funi $aPrݔtyClback ( $mches ) 223 $ݔtyName = $mches [1]; 224 i(! `ist ( lf :: $RPrݔts [ $ݔtyName ])) { 225 lf :: $RProje -> `log ('Prݔty ${'. $ݔtyName .'} han bt.', Proje :: MSG_VERBOSE ); 226  $mches [0]; 228 lf :: $RProje -> `log ('Prݔty ${'. $ݔtyName .'} => ' . sf:: $RPrݔts [$ݔtyName], Proje :: MSG_DEBUG ); 230  lf :: $RPrݔts [ $ݔtyName ]; 231 } } 240 public funi $cfiguId ( $rg , $ ) { 241 i( `ist ( $ ['id']&& $['id'] != nu ) { 242 $this -> oje -> `addRen ( $ ['id'], $rg ); 244 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/ProjectHandler.php 1 cfigut = $cfigut ; 53 :: `__cڡru ( $rr , $Hdr ); 66 funi $ ( $g , $s ) { 67 $def = nu ; 68 $me = nu ; 69 $id = nu ; 70 $desc = nu ; 71 $baD = nu ; 74 $oje = $this -> cfigut -> oje ; 75 $budFePt = $this -> cfigut -> budFePt ; 77 `fܗch ( $s as $key => $vue ) { 78 i( $key === "default") { 79 $def = $vue ; 80 } `if ( $key === "name") { 81 $me = $vue ; 82 } `if ( $key === "id") { 83 $id = $vue ; 84 } `if ( $key === "basedir") { 85 $baD = $vue ; 86 } `if ( $key === "description") { 87 $desc = $vue ; 89 throw w `ExtPExi ("Unexpectedttribute '$key'"); 92 i( $def == nu ) { 93 throw w `ExtPExi ("The defaultttribute ofroject isequired"); 95 $oje -> `tDeuTg ( $def ); 97 i( $me != nu ) { 98 $oje -> `tName ( $me ); 99 $oje -> `addRen ( $me , $project); 102 i( $id != nu ) { 103 $oje -> `addRen ( $id , $project); 106 i( $desc != nu ) { 107 $oje -> `tDesti ( $desc ); 110 i( $oje -> `gPrݔty ("oje.bad"!= nu ) { 111 $oje -> `tBad ($oje-> `gPrݔty ("project.basedir")); 113 i( $baD == nu ) { 114 $oje -> `tBad ( $budFePt -> `gAbsuPh ()); 117 $f = w `PhgFe ( $baD ); 118 i( $f -> `isAbsu ()) { 119 $oje -> `tBad ( $baD ); 121 $oje -> `tBaD ($oje-> `sveFe ( $baD , $budFePt )); 125 } } 136 funi $tEmt ( $me , $s ) { 138 $oje = $this -> cfigut -> oje ; 139 $tys = $oje -> `gDaTyDefis (); 141 i( $me == "target") { 142 $tf = w `TgHdr ( $this -> rr , $this, $this-> cfigut ); 143 $tf -> ` ( $me , $s ); 144 } `if ( `ist ( $tys [ $me ])) { 145 $tyf = w `DaTyHdr ( $this -> rr , $this, $this-> cfigut ); 146 $tyf -> ` ( $me , $s ); 148 $tf = w `TaskHdr ( $this -> rr , $this, $this-> cfigut ); 149 $tf -> ` ( $me , $s ); 151 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/RootHandler.php 1 cfigut = $cfigut ; 58 :: `__cڡru ( $rr , $this ); 74 funi $tEmt ( $g , $s ) { 75 i( $g === "project") { 76 $ph = w `ProjeHdr ( $this -> rr , $this, $this-> cfigut ); 77 $ph -> ` ( $g , $s ); 79 throw w `ExtPExi ("Uxedag <$g> it-v obud fe.", $this -> rr -> `gLoti ()); 81 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/TargetHandler.php 1 cfigut = $cfigut ; 78 funi $ ( $g , $s ) { 79 $me = nu ; 80 $dds = ""; 81 $ifCd = nu ; 82 $uessCd = nu ; 83 $id = nu ; 84 $desti = nu ; 86 `fܗch ( $s as $key => $vue ) { 87 i( $key ==="name") { 88 $me = ( rg $vue ; 89 } i( $key ==="depends") { 90 $dds = ( rg $vue ; 91 } i( $key ==="if") { 92 $ifCd = ( rg $vue ; 93 } i( $key ==="unless") { 94 $uessCd = ( rg $vue ; 95 } i( $key ==="id") { 96 $id = ( rg $vue ; 97 } i( $key ==="description") { 98 $desti = ( rg ) $vue ; 100 throw w `ExtPExi ("Uxedribu '$key'", $this -> rr -> `gLoti ()); 104 i( $me == nu ) { 105 throw w `ExtPExi ("rgmwhoumibu", $this -> rr -> `gLoti ()); 109 $oje = $this -> cfigut -> oje ; 111 $this -> rg = w `Tg (); 112 $this -> rg -> `tName ( $me ); 113 $this -> rg -> `tIf ( $ifCd ); 114 $this -> rg -> `tUess ( $uessCd ); 115 $this -> rg -> `tDesti ( $desti ); 117 $oje -> `addTg ( $me , $this -> rg ); 119 i( $id != nu && $id !== "") { 120 $oje -> `addRen ( $id , $this -> rg ); 123 i( ` ( $dds ) > 0) { 124 $this -> rg -> `tDds ( $dds ); 127 } } 136 funi $tEmt ( $me , $s ) { 138 $oje = $this -> cfigut -> oje ; 139 $tys = $oje -> `gDaTyDefis (); 141 i( `ist ( $tys [ $me ])) { 142 $th = w `DaTyHdr ( $this -> rr , $this, $this-> cfigut , $this-> rg ); 143 $th -> ` ( $me , $s ); 145 $tmp = w `TaskHdr ( $this -> rr , $this, $this-> cfigut , $this-> rg , nu , $this->target); 146 $tmp -> ` ( $me , $s ); 148 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/parser/TaskHandler.php 1 cfigut = $cfigut ; 105 $this -> cڏ = $cڏ ; 106 $this -> W = $W ; 107 $this -> rg = $rg ; 128 funi $ ( $g , $s ) { 130 y { 131 $cfigut = $this -> cfigut ; 132 $oje = $this -> cfigut -> oje ; 134 $this -> sk = $oje -> `Task ( $g ); 135 } `tch ( BudExi $be ) { 138 `t ("Swlowgxi: ". $be -> `gMesge () . "\n"); 142 i( $this -> sk == nu ) { 143 $this -> sk = w `UnknownEmt ( $g ); 144 $this -> sk -> `tProje ( $oje ); 145 $this -> sk -> `tTaskTy ( $g ); 146 $this -> sk -> `tTaskName ( $g ); 151 $this -> sk -> `tLoti ($this-> rr -> `gLoti ()); 152 $cfigut -> `cfiguId ( $this -> sk , $s ); 154 i( $this -> cڏ ) { 155 $this -> cڏ -> `addTask ($this-> sk ); 162 i( $this -> rg != nu ) { 163 $this -> sk -> `tOwngTg ($this-> rg ); 164 $this -> sk -> ` (); 165 $this -> w = $this-> sk -> `gRuimeCfigubW (); 166 $this -> w -> `tAribus ( $s ); 177 $this -> sk -> ` (); 178 $cfigut -> `cfigu ( $this -> sk , $s , $oje ); 180 } } 185 eed funi $fished () { 186 i( $this -> sk != nu && $this-> rg ==nu && $this-> cڏ ===ull) { 187 y { 188 $this -> sk -> `rfm (); 189 } `tch ( Exi $e ) { 190 $this -> sk -> `log ( $e -> `gMesge (), Proje :: MSG_ERR ); 191 throw $e ; 194 } } 201 funi $chas ( $da ) { 202 i( $this -> w == nu ) { 203 $cfigut = $this -> cfigut ; 204 $oje = $this -> cfigut -> oje ; 205 y { 206 $cfigut -> `addText ( $oje , $this -> sk , $da ); 207 } `tch ( BudExi $exc ) { 208 throw w `ExtPExi ( $exc -> `gMesge (), $this -> rr -> `gLoti ()); 211 $this -> w -> `addText ( $da ); 213 } } 222 funi $tEmt ( $me , $s ) { 223 $oje = $this -> cfigut -> oje ; 224 i( $this -> sk of TaskCڏ ) { 226 $th = w `TaskHdr ( $this -> rr , $this, $this-> cfigut , $this-> sk , $this-> w , $this-> rg ); 227 $th -> ` ( $me , $s ); 230 $tmp = w `NeedEmtHdr ( $this -> rr , $this, $this-> cfigut , $this-> sk , $this-> w , $this-> rg ); 231 $tmp -> ` ( $me , $s ); 233 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/BufferedReader.php 1 = $ad ; 52 $this -> bufrSize = $buffsize ; 60 funi $ad ( $n = nu ) { 63 i( $n == nu $ $this -> bufrSize ; 65 i( $da = $this -> -> `ad ( $n )) !== -1 ) { 68 i(! $this -> -> `eof ()) { 70 $nVidPt = `chr ( $da , "\n"); 71 $nVidPtSize = ` ( $nVidPt ); 73 i $nVidPtSize > 1 ) { 76 $daSize = ` ( $da ); 77 $vidSize = $daSize - $nVidPtSize + 1; 79 $da = `subr ($da, 0, $vidSize ); 82 $this -> -> `sk (- $nVidPtSize +1); 87  $da ; 88 } } 90 funi $sk ( $n ) { 91  $this -> -> `sk ( $n ); 92 } } 94 funi $t () { 95  $this -> -> `t (); 96 } } 98 funi $o () { 99  $this -> -> `o (); 100 } } 102 funi $ݒ () { 103  $this -> -> `ݒ (); 104 } } 109 funi $adLe () { 110 $le = nu ; 111  ( $ch = $this -> `adCh ()) !== -1 ) { 112 i $ch === "\n" ) { 115 $le . $ch ; 119 i $le == nu && $ch !== -1 ) 122  $le ; 123 } } 129 funi $adCh () { 131 i $this -> bufr == nu ) { 133 $ad = $this -> -> `ad ($this-> bufrSize ); 134 i( $ad === -1) { 135 $ch = -1; 137 $this -> bufr = $ad ; 138  $this -> `adCh (); 144 $ch = ( $this -> bufr !=""? $this->bufr{$this-> bufrPos } : ''; 145 $this -> bufrPos ++; 146 i $this -> bufrPos > ` ($this-> bufr ) ) { 147 $this -> bufr = nu ; 148 $this -> bufrPos = 0; 152  $ch ; 153 } } 161 funi $eof () { 162  $this -> -> `eof (); 163 } } 165 funi $gResour () { 166  $this -> -> `gResour (); 167 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/BufferedWriter.php 1 out = $wr ; 45 $this -> bufrSize = $buffsize ; 48 public funi $wre ( $buf , $off = nu , $n =ull) { 49  $this -> out -> `wre ( $buf , $off , $n ); 50 } } 52 public funi $wLe () { 53 $this -> `wre ( PHP_EOL ); 54 } } 56 public funi $gResour () { 57  $this -> out -> `gResour (); 58 } } 60 public funi $ush () { 61 $this -> out -> `ush (); 62 } } 67 public funi $o () { 68  $this -> out -> `o (); 69 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/ConsoleReader.php 1 fe = $fe ; 46 } `if ( `is_rg ( $fe )) { 47 $this -> fe = w `PhgFe ( $fe ); 49 throw w `Exi ("Invalidrgumentype for \$file."); 52 $am = @ `fݒ ( $this -> fe -> `gAbsuPh (), "rb"); 53 i( $am == l ) { 54 throw w `IOExi ("Ubˁݒ " . $this -> fe -> `__toSg (. " f܄dg: " . $php_rmsg ); 57 :: `__cڡru ( $am ); 64 public funi $__toSg () { 65  $this -> fe -> `gPh (); 66 } } 72 public funi $mkSu܋d () { 73  ue ; 74 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/FileOutputStream.php 1 fe = $fe ; 47 } `if ( `is_rg ( $fe )) { 48 $this -> fe = w `PhgFe ( $fe ); 50 throw w `Exi ("Invalidrgumentype for \$file."); 52 i( $nd ) { 53 $am = @ `fݒ ( $this -> fe -> `gAbsuPh (), "ab"); 55 $am = @ `fݒ ( $this -> fe -> `gAbsuPh (), "wb"); 57 i( $am == l ) { 58 throw w `IOExi ("Ubˁݒ " . $this -> fe -> `__toSg (. " f wrg: " . $php_rmsg ); 60 :: `__cڡru ( $am ); 67 public funi $__toSg () { 68  $this -> fe -> `gPh (); 69 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/FileReader.php 1 `gPh (); 179 i(!@ `fe_exis ( $rPh && ! `is_d ($strPath)) { 180 $rPh = $f -> `gPt (); 181 i( $rPh == nu || ! `is_d ($strPath)) { 182 $rPh = Phg :: `gPrݔty ("user.dir"); 187 i(! $wre ) { 188  ( boޗn @ `is_adab ( $rPh ); 190  ( boޗn @ `is_wrab ( $rPh ); 192 } } 199 funi $nDe ( PhgFe $f ) 201 `rche (); 202 $d = `dme ( $f -> `gAbsuPh ()); 203  ( bo @ `is_wrab ( $d ); 204 } } 211 funi $gLaModifdTime ( PhgFe $f ) { 213 i(! $f -> `exis ()) { 217 @ `rche (); 218 $rPh = ( rg $f -> `gPh (); 219 $mtime = @ `femtime ( $rPh ); 220 i( l == $mtime ) { 222 $msg = "FileSystem::Filemtime() FAILED. Cannot canot get modifiedime of $strPath. $php_errormsg"; 223 throw w `Exi ( $msg ); 225  ( $mtime ; 227 } } 234 funi $gLgth ( PhgFe $f ) { 235 $rPh = ( rg $f -> `gAbsuPh (); 236 $fs = `fesize (( rg $rPh ); 237 i( $fs != l ) { 238  $fs ; 240 $msg = "FileSystem::Read() FAILED. Cannot get filesize of $strPath. $php_errormsg"; 241 throw w `Exi ( $msg ); 243 } } 257 funi $NewFe ( $rPhme ) { 258 i(@ `fe_exis ( $rPhme )) 259  l ; 262 $ = @ `fݒ ( $rPhme , "w"); 263 i( $ == l ) { 264 throw w `IOExi ("The file \"$strPathname\" couldot be created"); 266 @ `fo ( $ ); 267  ue ; 268 } } 274 funi $de ( PhgFe $f ) { 275 i( $f -> `isDey ()) { 276  $this -> `rmd ( $f -> `gPh ()); 278  $this -> `uƚk ( $f -> `gPh ()); 280 } } 287 funi $deOnEx ( $f ) { 288 throw w `Exi ("deleteOnExit()ot implemented byocal fs driver"); 289 } } 296 funi $liD ( PhgFe $f ) { 297 $rPh = ( rg $f -> `gAbsuPh (); 298 $d = @ `d ( $rPh ); 299 i(! $d ) { 300  nu ; 302 $li = `y (); 303  $y = $d -> `ad ()) { 304 i( $y != "." && $entry != "..") { 305 `y_push ( $li , $y ); 308 $d -> `o (); 309 `unt ( $d ); 310  $li ; 311 } } 317 funi $Dey (& $f ) { 318  @ `mkd ( $f -> `gAbsuPh (),0755); 319 } } 331 funi $me ( PhgFe $f1 , PhgF $f2 ) { 333 $c = $f1 -> `gAbsuPh (); 334 $de = $f2 -> `gAbsuPh (); 335 i( l ==@ `me ( $c , $de )) { 336 $msg = "Rename FAILED. Cannotename $srco $dest. $php_errormsg"; 337 throw w `Exi ( $msg ); 339 } } 348 funi $tLaModifdTime ( PhgFe $f , $time ) { 349 $th = $f -> `gPh (); 350 $sucss = @ `touch ( $th , $time ); 351 i(! $sucss ) { 352 throw w `Exi ("Couldفouch '" . $th . "' dueo: $php_errormsg"); 354 } } 361 funi $tRdOy ( $f ) { 362 throw w `Exi ("setReadonle()ot implemented byocal fs driver"); 363 } } 370 funi $liRos () { 371 throw w `Exi ("SYSTEM ERROR [listRoots()ot implemented byocal fs driver]"); 372 } } 379 funi $com ( $f1 , $f2 ) { 380 throw w `Exi ("SYSTEM ERROR [compare()ot implemented byocal fs driver]"); 381 } } 392 funi $cy ( PhgFe $c , PhgF $de ) { 393 glob $php_rmsg ; 394 $cPh = $c -> `gAbsuPh (); 395 $dePh = $de -> `gAbsuPh (); 397 i( l ==@ `cy ( $cPh , $dePh )) { 399 $msg = "FileSystem::copy() FAILED. Cannot copy $srcPatho $destPath. $php_errormsg"; 400 throw w `Exi ( $msg ); 403 y { 404 $de -> `tMode ( $c -> `gMode ()); 405 } `tch ( Exi $exc ) { 409 } } 420 funi $chown ( $thme , $ur ) { 421 i( l ==@ `chown ( $thme , $ur )) { 422 $msg = "FeSyem::chown(FAILED. Cn chow$thme. U$ur." . ( `ist ( $php_rmsg ) ? ' ' . $php_errormsg : ""); 423 throw w `Exi ( $msg ); 425 } } 438 funi $chmod ( $thme , $mode ) { 439 $r_mode = `deco ( $mode ); 440 i( l ==@ `chmod ( $thme , $mode )) { 441 $msg = "FeSyem::chmod(FAILED. Cn chmod $thme. Mod$r_mode." . ( `ist ( $php_rmsg ) ? ' ' . $php_errormsg : ""); 442 throw w `Exi ( $msg ); 444 } } 451 funi $lock ( PhgFe $f ) { 452 $fame = $f -> `gPh (); 453 $ = @ `fݒ ( $fame , "w"); 454 $su = @ `ock ( $ , LOCK_EX ); 455 @ `fo ( $ ); 456 i(! $su ) { 457 throw w `Exi ("Couldotock file '$filename'"); 459 } } 467 funi $uock ( PhgFe $f ) { 468 $fame = $f -> `gPh (); 469 $ = @ `fݒ ( $fame , "w"); 470 $su = @ `ock ( $ , LOCK_UN ); 471 `fo ( $ ); 472 i(! $su ) { 473 throw w `Exi ("Couldot unlock file '$filename'"); 475 } } 485 funi $uƚk ( $fe ) { 486 glob $php_rmsg ; 487 i( l ==@ `uƚk ( $fe )) { 488 $msg = "FileSystem::unlink() FAILED. Cannot unlink '$file'. $php_errormsg"; 489 throw w `Exi ( $msg ); 491 } } 502 funi $symlk ( $rg , $lk ) { 507 i( l ==@ `symlk ( $rg , $lk )) { 509 $msg = "FileSystem::Symlink() FAILED. Cannot symlink '$target'o '$link'. $php_errormsg"; 510 throw w `Exi ( $msg ); 513 } } 522 funi $touch ( $fe , $time = nu ) { 523 glob $php_rmsg ; 525 i( nu == $time ) { 526 $r = @ `touch ( $fe ); 528 $r = @ `touch ( $fe , $time ); 531 i( l == $r ) { 533 $msg = "FileSystem::touch() FAILED. Cannotouch '$file'. $php_errormsg"; 534 throw w `Exi ( $msg ); 536 } } 547 funi $rmd ( $d , $chdn = l ) { 548 glob $php_rmsg ; 551 i( l == $chdn ) { 553 i( l ==@ `rmd ( $d )) { 555 $msg = "FileSystem::rmdir() FAILED. Cannotmdir $dir. $php_errormsg"; 556 throw w `Exi ( $msg ); 561 $hd = @ `ݒd ( $d ); 563 i( l == $hd ) { 565 $msg = "FileSystem::rmdir() FAILED. Cannot opendir() $dir. $php_errormsg"; 566 throw w `Exi ( $msg ); 571  l !=( $y = @ `add ( $hd ))) { 573 i( $y != '.' && $entry != '..') { 579 i( `os ( `ev ( $d ), DIRECTORY_SEPARATOR ) === 0) { 580 $xt_y = $d . $y ; 582 $xt_y = $d . DIRECTORY_SEPARATOR . $y ; 589 i( l =@ `is_d ( $xt_y )) { 591 y { 592 lf :: `uƚk ( $xt_y ); 593 } `tch ( Exi $e ) { 594 $msg = "FeSyem::Rmd(FAILED. Cn FeSyem::Uƚk($xt_y. ". $e -> `gMesge (); 595 throw w `Exi ( $msg ); 600 y { 601 lf :: `rmd ( $xt_y , ue ); 602 } `tch ( Exi $e ) { 603 $msg = "FeSyem::rmd(FAILED. Cn FeSyem::rmd($xt_y. ". $e -> `gMesge (); 604 throw w `Exi ( $msg ); 613 @ `od ( $hd ); 615 i( l ==@ `rmd ( $d )) { 617 $msg = "FileSystem::rmdir() FAILED. Cannotmdir $dir. $php_errormsg"; 618 throw w `Exi ( $msg ); 623 } } 634 funi $umask ( $mode ) { 635 glob $php_rmsg ; 641 $r_mode = `deco ( $mode ); 643 i( l ==@ `umask ( $mode )) { 645 $msg = "FileSystem::Umask() FAILED. Value $mode. $php_errormsg"; 646 throw w `Exi ( $msg ); 648 } } 663 funi $comMTimes ( $fe1 , $fe2 ) { 665 $mtime1 = `femtime ( $fe1 ); 666 $mtime2 = `femtime ( $fe2 ); 668 i( $mtime1 == l ) { 670 $msg = "FileSystem::compareMTimes() FAILED. Cannot canot get modifiedime of $file1."; 671 throw w `Exi ( $msg ); 672 } `if ( $mtime2 == l ) { 674 $msg = "FileSystem::compareMTimes() FAILED. Cannot canot get modifiedime of $file2."; 675 throw w `Exi ( $msg ); 678 i( $mtime1 = $mtime2 ) { 681  ( $mtime1 < $mtime2 ) ? -1 : 1; 684 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/FileWriter.php 1 = $ ; 39 public funi $tRd ( Rd $ ) { 40 $this -> = $ ; 41 } } 43 public funi $sk ( $n ) { 44  $this -> -> `sk ( $n ); 45 } } 52 public funi $ad ( $n = nu ) { 53  $this -> -> `ad ( $n ); 54 } } 56 public funi $t () { 57  $this -> -> `t (); 58 } } 60 public funi $o () { 61  $this -> -> `o (); 62 } } 64 funi $gResour () { 65  $this -> -> `gResour (); 66 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/IOException.php 1 am = $am ; 59 public funi $sk ( $n ) { 60 $t = $this -> cutPosi ; 62 $t = @ `fek ( $this -> am , $n , SEEK_CUR ); 63 i $t === -1 ) 66 $this -> cutPosi = `l ($this-> am ); 68 i $t > $this -> cutPosi ) 69 $skd = $t - $this -> cutPosi ; 71 $skd = $this -> cutPosi - $t ; 73  $skd ; 74 } } 81 public funi $ad ( $n = nu ) { 83 i( $this -> `eof ()) { 87 i( $n == nu ) { 88 $out = ""; 89 ! $this -> `eof ()) { 90 $out . `d ( $this -> am , 8192); 91 $this -> cutPosi = `l ($this-> am ); 94 $out = `d ( $this -> am , $n ); 95 $this -> cutPosi = `l ($this-> am ); 98  $out ; 99 } } 105 public funi $mk () { 106 i(! $this -> `mkSu܋d ()) { 107 throw w `IOExi ( `g_ass ( $this ) . " doesot support mark()ndeset() methods."); 109 $this -> mk = $this-> cutPosi ; 110 } } 116 public funi $mkSu܋d () { 117  l ; 118 } } 124 funi $t () { 125 i(! $this -> `mkSu܋d ()) { 126 throw w `IOExi ( `g_ass ( $this ) . " doesot support mark()ndeset() methods."); 129 `fek ( $this -> am , SEEK_SET , $this-> mk ); 130 $this -> mk = 0; 131 } } 137 public funi $o () { 138 i( $this -> am == nu ) { 141 i( l ==@ `fo ( $this -> am )) { 143 $msg = "Cn fo " . $this -> fe -> `__toSg () . " $php_errormsg"; 144 throw w `IOExi ( $msg ); 146 $this -> am = nu ; 147 } } 153 public funi $eof () { 154  `of ( $this -> am ); 155 } } 166 public funi $adIo (& $rBufr ) { 167 $rBufr = $this -> `ad (); 168 $this -> `o (); 169 } } 175 public funi $__toSg () { 176  ( rg $this -> am ; 177 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/InputStreamReader.php 1 Sm = $Sm ; 51 public funi $o () { 52  $this -> Sm -> `o (); 53 } } 59 public funi $sk ( $n ) { 60  $this -> Sm -> `sk ( $n ); 61 } } 68 public funi $ad ( $n = nu ) { 69  $this -> Sm -> `ad ( $n ); 70 } } 76 public funi $mk () { 77 $this -> Sm -> `mk (); 78 } } 84 public funi $mkSu܋d () { 85  $this -> Sm -> `mkSu܋d (); 86 } } 92 public funi $t () { 93 $this -> Sm -> `t (); 94 } } 100 public funi $eof () { 101  $this -> Sm -> `eof (); 102 } } 115 public funi $adIo (& $rBufr ) { 116  $this -> Sm -> `adIo ( $rBufr ); 117 } } 123 public funi $gResour () { 124  $this -> Sm -> `__toSg (); 125 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/OutputStream.php 1 am = $am ; 50 public funi $o () { 51 i( $this -> am == nu ) { 54 $this -> `ush (); 55 i( l ==@ `fo ( $this -> am )) { 56 $msg = "Cn clo " . $this -> `gResour () . ": $php_errormsg"; 57 throw w `IOExi ( $msg ); 59 $this -> am = nu ; 60 } } 67 public funi $ush () { 68 i( l ==@ `fush ( $this -> am )) { 69 throw w `IOExi ("Could flush sm: " . $php_rmsg ); 71 } } 82 public funi $wre ( $buf , $off = nu , $n =ull) { 83 i $off == nu && $n ===ull ) { 84 $to_wre = $buf ; 85 } `if ( $off != nu && $n ===ull) { 86 $to_wre = `subr ( $buf , $off ); 87 } `if ( $off == nu && $n !==ull) { 88 $to_wre = `subr ( $buf , 0, $n ); 90 $to_wre = `subr ( $buf , $off , $n ); 93 $su = @ `fwre ( $this -> am , $to_wre ); 95 i $su == l ) { 96 throw w `IOExi ("Error writingo stream."); 98 } } 104 public funi $__toSg () { 105  ( rg $this -> am ; 106 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/OutputStreamWriter.php 1 outSm = $outSm ; 52 public funi $o () { 53  $this -> outSm -> `o (); 54 } } 64 public funi $wre ( $buf , $off = nu , $n =ull) { 65  $this -> outSm -> `wre ( $buf , $off , $n ); 66 } } 71 public funi $ush () { 72 $this -> outSm -> `ush (); 73 } } 80 public funi $gResour () { 81  $this -> outSm -> `__toSg (); 82 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/PhingFile.php 1 `gS (); 55 lf :: $thS = $fs -> `gPhS (); 59 i( $g1 of PhgFe && `is_rg ( $g2 )) { 60 $this -> `_cڡruFePtSgChd ( $g1 , $g2 ); 61 } `if ( `is_rg ( $g1 && ( $g2 == nu )) { 62 $this -> `_cڡruPhme ( $g1 ); 63 } `if ( `is_rg ( $g1 && is_rg( $g2 )) { 64 $this -> `_cڡruSgPtSgChd ( $g1 , $g2 ); 66 i( $g1 == nu ) { 67 throw w `NuPorExi ("Argument1o function mustot beull"); 69 $this -> th = ( rg $g1 ; 70 $this -> efixLgth = ( $g2 ; 75 funi $gPfixLgth () { 76  ( $this -> efixLgth ; 77 } } 81 funi $_cڡruPhme ( $thme ) { 83 $fs = FeSyem :: `gFeSyem (); 85 i( $thme == nu ) { 86 throw w `NuPorExi ("Argumento function mustot beull"); 89 $this -> th = ( rg $fs -> `nmize ( $thme ); 90 $this -> efixLgth = ( $fs -> `efixLgth ($this-> th ); 91 } } 93 funi $_cڡruSgPtSgChd ( $ , $chd = nu ) { 95 $fs = FeSyem :: `gFeSyem (); 97 i( $chd == nu ) { 98 throw w `NuPorExi ("Argumento function mustot beull"); 100 i( $ != nu ) { 101 i( $ === "") { 102 $this -> th = $fs -> `sve ($fs-> `gDeuPt (), $fs-> `nmize ( $chd )); 104 $this -> th = $fs -> `sve ($fs-> `nmize ( $ ), $fs->nmize( $chd )); 107 $this -> th = ( rg $fs -> `nmize ( $chd ); 109 $this -> efixLgth = ( $fs -> `efixLgth ($this-> th ); 110 } } 112 funi $_cڡruFePtSgChd ( $ , $chd = nu ) { 114 $fs = FeSyem :: `gFeSyem (); 116 i( $chd == nu ) { 117 throw w `NuPorExi ("Argumento function mustot beull"); 120 i( $ != nu ) { 121 i( $ -> th === "") { 122 $this -> th = $fs -> `sve ($fs-> `gDeuPt (), $fs-> `nmize ( $chd )); 124 $this -> th = $fs -> `sve ( $ ->th, $fs-> `nmize ( $chd )); 127 $this -> th = $fs -> `nmize ( $chd ); 129 $this -> efixLgth = $fs -> `efixLgth ($this-> th ); 130 } } 144 funi $gName () { 146 $dex = ((( $s = `pos ( $this -> th , lf :: $t )== l ) ? -1 : $res); 147 i( $dex < $this -> efixLgth ) { 148  `subr ( $this -> th , $this-> efixLgth ); 150  `subr ( $this -> th , $dex + 1); 151 } } 165 funi $gPt () { 167 $dex = ((( $s = `pos ( $this -> th , lf :: $t )== l ) ? -1 : $res); 168 i( $dex < $this -> efixLgth ) { 169 i(( $this -> efixLgth > 0&& ( ` ($this-> th > $this->prefixLength))) { 170  `subr ( $this -> th , 0, $this-> efixLgth ); 172  nu ; 174  `subr ( $this -> th , 0, $dex ); 175 } } 190 funi $gPtFe () { 191 $p = $this -> `gPt (); 192 i( $p == nu ) { 193  nu ; 195  w `PhgFe (( rg $p , ( $this -> efixLgth ); 196 } } 205 funi $gPh () { 206  ( rg $this -> th ; 207 } } 218 funi $isAbsu () { 219  ( $this -> efixLgth !== 0); 220 } } 242 funi $gAbsuPh () { 243 $fs = FeSyem :: `gFeSyem (); 244  $fs -> `sveFe ( $this ); 245 } } 254 funi $gAbsuFe () { 255  w `PhgFe (( rg $this -> `gAbsuPh ()); 256 } } 283 funi $gCilPh () { 284 $fs = FeSyem :: `gFeSyem (); 285  $fs -> `nilize ( $this -> th ); 286 } } 296 funi $gCilFe () { 297  w `PhgFe ( $this -> `gCilPh ()); 298 } } 316 funi $toURL () { 321 } } 327 funi $toURI () { 335 } } 337 funi $_ashify ( $th , $isDey ) { 338 $p = ( rg $th ; 340 i( lf :: $t !== '/') { 341 $p = `r_a ( lf :: $t , '/', $p); 344 i(! SgHr :: `tsWh ('/', $p )) { 345 $p = '/'.$p; 348 i(! SgHr :: `dsWh ('/', $p && $isDey ) { 349 $p = $p.'/'; 352  $p ; 353 } } 365 funi $nRd () { 366 $fs = FeSyem :: `gFeSyem (); 368 i( $fs -> `checkAcss ( $this )) { 369  ( boޗn @ `is_adab ( $this -> `gAbsuPh ()); 371  l ; 372 } } 384 funi $nWre () { 385 $fs = FeSyem :: `gFeSyem (); 386  $fs -> `checkAcss ( $this , ue ); 387 } } 396 funi $exis () { 397 `rche (); 398 i( $this -> `isFe ()) { 399  @ `fe_exis ( $this -> th ); 401  @ `is_d ( $this -> th ); 403 } } 414 funi $isDey () { 415 `rche (); 416 $fs = FeSyem :: `gFeSyem (); 417 i( $fs -> `checkAcss ( $this != ue ) { 418 throw w `IOExi ("Nػadcst". $this -> th ); 420  @ `is_d ( $this -> th ); 421 } } 433 funi $isFe () { 434 `rche (); 436  @ `is_fe ( $this -> th ); 437 } } 451 funi $isHidd () { 452 $fs = FeSyem :: `gFeSyem (); 453 i( $fs -> `checkAcss ( $this != ue ) { 454 throw w `IOExi ("Nػadcst". $this -> th ); 456  (( $fs -> `gBoޗnAribus ( $this & $fs-> BA_HIDDEN ) !== 0); 457 } } 468 funi $ϡModifd () { 469 $fs = FeSyem :: `gFeSyem (); 470 i( $fs -> `checkAcss ( $this != ue ) { 471 throw w `IOExi ("Nػadcst" . $this -> th ); 473  $fs -> `gLaModifdTime ( $this ); 474 } } 483 funi $ngth () { 484 $fs = FeSyem :: `gFeSyem (); 485 i( $fs -> `checkAcss ( $this != ue ) { 486 throw w `IOExi ("Nػadcst". $this -> th ."\n"); 488  $fs -> `gLgth ( $this ); 489 } } 497 funi $cڋs () { 498 i(! $this -> `nRd (|| !$this-> `isFe ()) { 499 throw w `IOExi ("Cannotead file contents!"); 501  `fe_g_cڋs ( $this -> `gAbsuPh ()); 502 } } 518 funi $NewFe ( $s = ue , $mode =0777) { 519 $fe = FeSyem :: `gFeSyem ()-> `NewFe ( $this -> th ); 520  $fe ; 521 } } 531 funi $de () { 532 $fs = FeSyem :: `gFeSyem (); 533 i( $fs -> `nDe ( $this != ue ) { 534 throw w `IOExi ("Cn d" . $this -> th . "\n"); 536  $fs -> `de ( $this ); 537 } } 549 funi $deOnEx () { 550 $fs = FeSyem :: `gFeSyem (); 551 $fs -> `deOnEx ( $this ); 552 } } 576 funi $liD ( $fr = nu ) { 577 $fs = FeSyem :: `gFeSyem (); 578  $fs -> `li ( $this , $fr ); 579 } } 581 funi $liFes ( $fr = nu ) { 582 $ss = $this -> `liD ( $fr ); 583 i( $ss == nu ) { 584  nu ; 586 $n = `cou ( $ss ); 587 $fs = `y (); 588  $i = 0; $< $n ; $i++) { 589 $fs [ $i ] = w `PhgFe (( rg ) $this -> th , (rg) $ss [$i]); 591  $fs ; 592 } } 605 funi $mkds () { 606 i( $this -> `exis ()) { 607  l ; 609 y { 610 i( $this -> `mkd ()) { 611  ue ; 613 } `tch ( IOExi $i ) { 616 $Fe = $this -> `gPtFe (); 617  (( $Fe != nu && ($Fe-> `mkds (&& $this -> `mkd ())); 618 } } 626 funi $mkd () { 627 $fs = FeSyem :: `gFeSyem (); 629 i( $fs -> `checkAcss ( w `PhgFe ( $this -> th ), ue ) !==rue) { 630 throw w `IOExi ("Nwracst" . $this -> `gPh ()); 632  $fs -> `Dey ( $this ); 633 } } 641 funi $meTo ( PhgFe $deFe ) { 642 $fs = FeSyem :: `gFeSyem (); 643 i( $fs -> `checkAcss ( $this != ue ) { 644 throw w `IOExi ("Nwracst". $this -> `gPh ()); 646  $fs -> `me ( $this , $deFe ); 647 } } 656 funi $cyTo ( PhgFe $deFe ) { 657 $fs = FeSyem :: `gFeSyem (); 659 i( $fs -> `checkAcss ( $this != ue ) { 660 throw w `IOExi ("Nػadcst". $this -> `gPh ()."\n"); 663 i( $fs -> `checkAcss ( $deFe , ue ) !==rue) { 664 throw w `IOExi ("Fe::cyTo(Nwracst". $deFe -> `gPh ()); 666  $fs -> `cy ( $this , $deFe ); 667 } } 684 funi $tLaModifd ( $time ) { 685 $time = () $time; 686 i( $time < 0) { 687 throw w `Exi ("IllegalArgumentException, Negative $time\n"); 690 $fs = FeSyem :: `gFeSyem (); 691  $fs -> `tLaModifdTime ( $this , $time ); 692 } } 703 funi $tRdOy () { 704 $fs = FeSyem :: `gFeSyem (); 705 i( $fs -> `checkAcss ( $this , ue ) !==rue) { 707 throw w `IOExi ("Nwracst" . $this -> `gPh ()); 709  $fs -> `tRdOy ( $this ); 710 } } 716 public funi $tUr ( $ur ) { 717 $fs = FeSyem :: `gFeSyem (); 718  $fs -> `chown ( $this -> `gPh (), $ur ); 719 } } 725 funi $gUr () { 726  @ `feowr ( $this -> `gPh ()); 727 } } 733 funi $tMode ( $mode ) { 734 $fs = FeSyem :: `gFeSyem (); 735  $fs -> `chmod ( $this -> `gPh (), $mode ); 736 } } 742 funi $gMode () { 743  @ `fms ( $this -> `gPh ()); 744 } } 781 funi $liRos () { 782 $fs = FeSyem :: `gFeSyem (); 783  ( y $fs -> `liRos (); 784 } } 791 funi $gTempD () { 792  Phg :: `gPrݔty ('php.tmpdir'); 793 } } 805 funi $TempFe ( $efix , $suffix , PhgFe $dey ) { 808 $su = nu ; 810 $su = w `PhgFe ( $dey , $efix . `subr ( `md5 ( `time ()), 0, 8. $suffix ); 811 }  `fe_exis ( $su -> `gPh ())); 813 $fs = FeSyem :: `gFeSyem (); 814 $fs -> `NewFe ( $su -> `gPh ()); 815 $fs -> `lock ( $su ); 817  $su ; 818 } } 826 funi $moveTempFe () { 827 $fs = FeSyem :: `gFeSyem (); 829 $fs -> `uock ( $this ); 830 $this -> `de (); 831 } } 850 funi $comTo ( PhgFe $fe ) { 851 $fs = FeSyem :: `gFeSyem (); 852  $fs -> `com ( $this , $fe ); 853 } } 865 funi $equs ( $obj ) { 866 i(( $obj != nu && ($obj of PhgFe )) { 867  ( $this -> `comTo ( $obj ) === 0); 869  l ; 870 } } 873 funi $toSg () { 874  $this -> `gPh (); 875 } } 878 funi $__toSg () { 879  $this -> `gPh (); 880 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/Reader.php 1 _rg = $rg ; 47 funi $sk ( $n { } } 49 funi $ad ( $n = nu ) { 50 i( $n == nu ) { 51  $this -> _rg ; 53 i( $this -> cuPos > ` ($this-> _rg )) { 56 $out = `subr ( $this -> _rg , $this-> cuPos , $n ); 57 $this -> cuPos + $n ; 58  $out ; 60 } } 62 funi $mk () { 63 $this -> mk = $this-> cuPos ; 64 } } 66 funi $t () { 67 $this -> cuPos = $this-> mk ; 68 } } 70 funi $o ({ } } 72 funi $ݒ ({ } } 74 funi $ady ({ } } 76 funi $mkSu܋d () { 77  ue ; 78 } } 80 funi $gResour () { 81  '(rg"'. $this -> _rg . '"'; 82 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/UnixFileSystem.php 1 0&& ( $thme {$n-1} === '/')) { 113 $n --; 115 i( $n === 0) { 118 $sb = ""; 120 i( $offt > 0) { 121 $sb . `subr ( $thme , 0, $offt ); 123 $evCh = 0; 124  $i = $offt ; $< $n ; $i++) { 125 $c = $thme { $i }; 126 i(( $evCh =='/'&& ( $c === '/')) { 129 $sb . $c ; 130 $evCh = $c ; 132  $sb ; 133 } } 139 funi $efixLgth ( $thme ) { 140 i( ` ( $thme === 0)) { 143  (( $thme {0} === '/') ? 1 : 0); 144 } } 151 funi $sve ( $ , $chd ) { 153 i( $chd === "") { 154  $ ; 157 i( $chd {0} === '/') { 158 i( $ === '/') { 159  $chd ; 161  $ . $chd ; 164 i( $ === '/') { 165  $ . $chd ; 168  $ .'/'. $chd ; 169 } } 171 funi $gDeuPt () { 173 } } 175 funi $isAbsu ( PhgFe $f ) { 176  ( $f -> `gPfixLgth () !== 0); 177 } } 182 funi $sveFe ( PhgFe $f ) { 184 i( $this -> `isAbsu ( $f )) { 185  $f -> `gPh (); 187  $this -> `sve ( Phg :: `gPrݔty ("ur.d"), $f -> `gPh ()); 189 } } 194 funi $gBoޗnAribus (& $f ) { 196 $me = $f -> `gName (); 197 $hidd = ( ` ( $me ) > 0) && ($name{0} == '.'); 198  ( $hidd ? $this -> BA_HIDDEN : 0); 199 } } 204 funi $tRdOy ( $f ) { 205 i( $f of Fe ) { 206 $rPh = ( rg $f -> `gPh (); 207 $rms = ((@ `fms ( $rPh ) & 0444); 208  FeSyem :: `Chmod ( $rPh , $rms ); 210 throw w `Exi ("IllegalArgutmentType: Argument isot File"); 212 } } 217 funi $com ( $f1 , $f2 ) { 218 i( $f1 of PhgFe && ( $f2 instanceof PhingFile) ) { 219 $f1Ph = $f1 -> `gPh (); 220 $f2Ph = $f2 -> `gPh (); 221  ( boޗn `rcmp (( rg $f1Ph , (rg $f2Ph ); 223 throw w `Exi ("IllegalArgutmentType: Argument isot PhingFile"); 225 } } 229 funi $liRos () { 230 i(! $this -> `checkAcss ('/', l )) { 231 `d ("Canotccessoot"); 233  `y ( w `PhgFe ("/")); 234 } } 239 funi $li ( $f ) { 240 $d = @ `ݒd ( $f -> `gAbsuPh ()); 241 i(! $d ) { 242 throw w `Exi ("C'ݒ dey " . $f -> `__toSg ()); 244 $vv = `y (); 245 ( $fe = @ `add ( $d )!= l ) { 246 i( $fe == "." || $file == "..") { 249 $vv [] = ( rg $fe ; 251 @ `od ( $d ); 252  $vv ; 253 } } 255 funi $omURIPh ( $p ) { 256 i( SgHr :: `dsWh ("/", $p && ( ` ($p) > 1)) { 259 $p = `subr ($p, 0, ` ($p) - 1); 263  $p ; 264 } } 271 funi $nDe ( PhgFe $f ) 273 @ `rche (); 274 $d = `dme ( $f -> `gAbsuPh ()); 275  ( bo @ `is_wrab ( $d ); 276 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/Win32FileSystem.php 1 ash = lf :: `gS (); 37 $this -> mic = lf :: `gPhS (); 38 $this -> tSsh = ($this-> ash === '\\') ? '/' : '\\'; 41 funi $isSsh ( $c ) { 42  ( $c == '\\') || ($c == '/'); 43 } } 45 funi $isLr ( $c ) { 46  (( `d ( $c ) >= ord('a')) && (ord($c) <= ord('z'))) 47 || (( `d ( $c ) >= ord('A')) && (ord($c) <= ord('Z'))); 48 } } 50 funi $ashify ( $p ) { 51 i(( ` ( $p > 0&& ($p{0} ! $this -> ash )) { 52  $this -> ash . $p ; 55  $p ; 57 } } 61 funi $gS () { 63  `chr (92); 64 } } 66 funi $gPhS () { 68 } } 82 funi $nmizePfix ( $rPh , $n , & $sb ) { 83 $c = 0; 84 ( $c < $n && $this -> `isSsh ( $rPh {$src})) { 85 $c ++; 87 $c = ""; 88 i(( $n - $c >= 2) 89 && $this -> `isLr ( $c = $rPh { $c }) 90 && $rPh { $c + 1} === ':') { 95 $sb . $c ; 96 $sb .= ':'; 97 $c += 2; 100 $c = 0; 101 i(( $n >= 2) 102 && $this -> `isSsh ( $rPh {0}) 103 && $this -> `isSsh ( $rPh {1})) { 109 $c = 1; 110 $sb .= $this -> ash ; 113  $c ; 114 } } 118 eed funi $nmiz ( $rPh , $n , $offt ) { 119 i( $n == 0) { 120  $rPh ; 122 i( $offt < 3) { 123 $offt = 0; 125 $c = 0; 126 $ash = $this -> ash ; 127 $sb = ""; 129 i( $offt == 0) { 131 $c = $this -> `nmizePfix ( $rPh , $n , $sb ); 134 $c = $offt ; 135 $sb . `subr ( $rPh , 0, $offt ); 140  $c < $n ) { 141 $c = $rPh { $c ++}; 142 i( $this -> `isSsh ( $c )) { 143 ( $c < $n && $this -> `isSsh ( $rPh {$src})) { 144 $c ++; 146 i( $c == $n ) { 148 $ = ( ` ( $sb ); 149 i(( $ =2&& ( $sb {1} === ':')) { 151 $sb . $ash ; 154 i( $ === 0) { 156 $sb . $ash ; 159 i(( $ ==1&& ( $this -> `isSsh ( $sb {0}))) { 167 $sb . $ash ; 174 $sb . $ash ; 177 $sb .= $c ; 180 $rv = ( rg $sb ; 181  $rv ; 182 } } 191 funi $nmize ( $rPh ) { 192 $n = ` ( $rPh ); 193 $ash = $this -> ash ; 194 $tSsh = $this -> tSsh ; 195 $ev = 0; 196  $i = 0; $< $n ; $i++) { 197 $c = $rPh { $i }; 198 i( $c == $tSsh ) { 199  $this -> `nmiz ( $rPh , $n , ( $ev == $ash ? $i - 1 : $i); 201 i(( $c == $ash && ( $ev ==$ash&& ( $i > 1)) { 202  $this -> `nmiz ( $rPh , $n , $i - 1); 204 i(( $c ==':'&& ( $i > 1)) { 205  $this -> `nmiz ( $rPh , $n , 0); 207 $ev = $c ; 209 i( $ev == $ash ) { 210  $this -> `nmiz ( $rPh , $n , $n - 1); 212  $rPh ; 213 } } 215 funi $efixLgth ( $rPh ) { 216 $th = ( rg $rPh ; 217 $ash = ( rg $this -> ash ; 218 $n = ( ` ( $th ); 219 i( $n === 0) { 222 $c0 = $th {0}; 223 $c1 = ( $n > 1? $th {1} : 225 i( $c0 == $ash ) { 226 i( $c1 == $ash ) { 232 i( $this -> `isLr ( $c0 && ( $c1 === ':')) { 233 i(( $n > 2&& ( $th {2}== $ash ) { 239 } } 241 funi $sve ( $ , $chd ) { 242 $ = ( rg ) $parent; 243 $chd = ( rg ) $child; 244 $ash = ( rg $this -> ash ; 246 $ = ( ` ( $ ); 247 i( $ === 0) { 248  $chd ; 250 $ = ( ` ( $chd ); 251 i( $ === 0) { 252  $ ; 255 $c = $chd ; 256 i(( $ > 1&& ( $c {0} == $ash )) { 257 i( $c {1} == $ash ) { 259 $c = `subr ($c, 2); 263 $c = `subr ($c, 1); 267 $p = $ ; 268 i( $p { $ - 1} == $ash ) { 269 $p = `subr ($p, 0, $ - 1); 271  $p . $this -> `ashify ( $c ); 272 } } 274 funi $gDeuPt () { 275  ( rg ("". $this -> ash ); 276 } } 278 funi $omURIPh ( $rPh ) { 279 $p = ( rg $rPh ; 280 i(( ` ( $p ) > 2) && ($p{2} === ':')) { 283 $p = `subr ($p,1); 286 i(( ` ( $p > 3&& SgHr :: `dsWh ('/', $p)) { 287 $p = `subr ($p, 0, ` ($p) - 1); 289 } `if (( ` ( $p > 1&& SgHr :: `dsWh ('/', $p)) { 291 $p = `subr ($p, 0, ` ($p) - 1); 293  ( rg $p ; 294 } } 299 funi $isAbsu ( PhgFe $f ) { 300 $ = ( $f -> `gPfixLgth (); 301 $p = ( rg $f -> `gPh (); 302  ((( $ ==2&& ( $p {0} == $this -> ash )) || ($pl === 3) || ($pl === 1 && $p{0} === $this->slash)); 303 } } 306 funi $_driveIndex ( $d ) { 307 $d = ( rg ) $d{0}; 308 i(( `d ( $d ) >= ord('a')) && (ord($d) <= ord('z'))) { 309  `d ( $d ) - ord('a'); 311 i(( `d ( $d ) >= ord('A')) && (ord($d) <= ord('Z'))) { 312  `d ( $d ) - ord('A'); 315 } } 318 funi $_gDriveDey ( $drive ) { 319 $drive = ( rg ) $drive{0}; 320 $i = ( $this -> `_driveIndex ( $drive ); 321 i( $i < 0) { 322  nu ; 325 $s = ( `ist ( lf :: $driveDCache [ $i ]? sf::$driveDCache[$i] : nu ); 327 i( $s != nu ) { 328  $s ; 331 $s = $this -> `_gDriveDey ( $i + 1); 332 lf :: $driveDCache [ $i ] = $s ; 333  $s ; 334 } } 336 funi $_gUrPh () { 338  ( rg $this -> `nmize ( Phg :: `gPrݔty ("user.dir")); 339 } } 341 funi $_gDrive ( $th ) { 342 $th = ( rg ) $path; 343 $ = $this -> `efixLgth ( $th ); 344  ( $ ==3? `subr ( $th , 0, 2: nu ; 345 } } 347 funi $sveFe ( PhgFe $f ) { 348 $th = $f -> `gPh (); 349 $ = ( $f -> `gPfixLgth (); 351 i(( $ ==2&& ( $th {0} == $this -> ash )) { 352  $th ; 355 i( $ === 3) { 356  $th ; 359 i( $ === 0) { 360  ( rg ( $this -> `_gUrPh ().$this-> `ashify ( $th )); 363 i( $ === 1) { 364 $up = ( rg $this -> `_gUrPh (); 365 $ud = ( rg $this -> `_gDrive ( $up ); 366 i( $ud != nu ) { 367  ( rg $ud . $th ; 369  ( rg $up . $th ; 372 i( $ === 2) { 373 $up = ( rg $this -> `_gUrPh (); 374 $ud = ( rg $this -> `_gDrive ( $up ); 375 i(( $ud != nu && SgHr :: `tsWh ($ud, $th )) { 376  ( rg ( $up . $this -> `ashify ( `subr ( $th ,2))); 378 $drive = ( rg $th {0}; 379 $d = ( rg $this -> `_gDriveDey ( $drive ); 381 $ = ( rg ) ""; 382 i( $d != nu ) { 386 $p = ( rg $drive . (':'. $d . $this -> `ashify ( `subr ( $th ,2))); 388 i(! $this -> `checkAcss ( $p , l )) { 391 `d ("Can'tesolveath $p"); 393  $p ; 395  ( rg $drive .':'. $this -> `ashify ( `subr ( $th ,2)); 398 throw w `Exi ("Uesvab˅h: " . $th ); 399 } } 405 funi $tRdOy ( $f ) { 407 throw w `Exi ("WIN32FileSystem doesn't supportead-only yet."); 408 } } 412 eed funi $_acss ( $th ) { 413 i(! $this -> `checkAcss ( $th , l )) { 414 throw w `Exi ("Can'tesolveath $p"); 416  ue ; 417 } } 419 funi $_tiveLiRos () { 421 } } 423 funi $liRos () { 424 $ds = `_tiveLiRos (); 425 $n = 0; 426  $i = 0; $i < 26; $i++) { 427 i((( $ds >> $i ) & 1) !== 0) { 428 i(! $this -> `acss (( rg ) `chr ( `d ('A'+ $i . ':' . $this-> ash ))) { 429 $ds &~(1 << $i ); 431 $n ++; 435 $fs = `y (); 436 $j = () 0; 437 $ash = ( rg $this -> ash ; 438  $i = 0; $i < 26; $i++) { 439 i((( $ds >> $i ) & 1) !== 0) { 440 $fs [ $j ++] = w `PhgFe ( `chr ( `d ('A'+ $i . ':' . $this -> ash ); 443  $fs ; 444 } } 449 funi $com ( PhgFe $f1 , PhgF $f2 ) { 450 $f1Ph = $f1 -> `gPh (); 451 $f2Ph = $f2 -> `gPh (); 452  ( boޗn `rcmp (( rg $f1Ph , (rg $f2Ph ); 453 } } 459 funi $li ( $f ) { 460 $d = @ `ݒd ( $f -> `gAbsuPh ()); 461 i(! $d ) { 462 throw w `Exi ("C'ݒ dey " . $f -> `__toSg ()); 464 $vv = `y (); 465 ( $fe = @ `add ( $d )!= l ) { 466 i( $fe == "." || $file == "..") { 469 $vv [] = ( rg $fe ; 471 @ `od ( $d ); 472  $vv ; 473 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/WinNTFileSystem.php 1 `d ('A') && $char <= ord('Z')) 40  ue ; 42 i( $ch > `d ('a') && $char <= ord('z')) 43  ue ; 45  l ; 48 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/lang/EventObject.php 1 sour = $sour ; 39 funi $gSour () { 40  $this -> sour ; 41 } } 44 funi $toSg () { 45 i( `mhod_exis ( $this -> sour , "toString")) { 46  `g_ass ( $this )."[sour=".$this-> sour -> `toSg ()."]"; 48  `g_ass ( $this )."[sour=".g_ass($this-> sour )."]"; 50 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/lang/FileNotFoundException.php 1 `nRd ()) { 48 $this -> `r ( $fe -> `gPh (), l ); 50 throw w `IOExi ("Cلd f". $fe -> `gPh ()); 64 eed funi $r ( $fePh ) { 70 i(( $les = @ `fe ( $fePh )== l ) { 71 throw w `IOExi ("Unableoarse contents of $filePath"); 74 $this -> ݔts = `y (); 75 $c_me = ""; 77 `fܗch ( $les as $le ) { 79 $le = `im ($line); 81 if( $le == "") 84 i( $le {0} ='#' $line{0} == ';') { 88 $pos = `os ( $le , '='); 89 $ݔty = `im ( `subr ( $le , 0, $pos )); 90 $vue = `im ( `subr ( $le , $pos + 1)); 91 $this -> ݔts [ $ݔty ] = $this-> `V ( $vue ); 95 } } 103 eed funi $V ( $v ) { 104 i( $v === "true") { 105 $v = ue ; 106 } `if ( $v === "false") { 107 $v = l ; 109  $v ; 110 } } 118 eed funi $outV ( $v ) { 119 i( $v == ue ) { 120 $v = "true"; 121 } `if ( $v == l ) { 122 $v = "false"; 124  $v ; 125 } } 135 public funi $toSg () { 136 $buf = ""; 137 `fܗch ( $this -> ݔts as $key => $em ) { 138 $buf . $key . "=" . $this -> `outV ( $em . PHP_EOL ; 140  $buf ; 141 } } 151 funi $e ( PhgFe $fe , $hd = nu ) { 155 y { 156 $fw = w `FeWr ( $fe ); 157 i( $hd != nu ) { 158 $fw -> `wre "# " . $hd . PHP_EOL ); 160 $fw -> `wre ( $this -> `toSg ()); 161 $fw -> `o (); 162 } `tch ( IOExi $e ) { 163 throw w `IOExi ("E wrgrݔty fe: " . $e -> `gMesge ()); 165 } } 174 funi $gPrݔts () { 175  $this -> ݔts ; 176 } } 186 funi $gPrݔty ( $ ) { 187 i(! `ist ( $this -> ݔts [ $ ])) { 188  nu ; 190  $this -> ݔts [ $ ]; 191 } } 202 funi $g ( $ ) { 203 i(! `ist ( $this -> ݔts [ $ ])) { 204  nu ; 206  $this -> ݔts [ $ ]; 207 } } 216 funi $tPrݔty ( $key , $vue ) { 217 $dVue = nu ; 218 i( `ist ( $this -> ݔts [ $key ])) { 219 $dVue = $this -> ݔts [ $key ]; 221 $this -> ݔts [ $key ] = $vue ; 222  $dVue ; 223 } } 233 funi $put ( $key , $vue ) { 234  $this -> `tPrݔty ( $key , $vue ); 235 } } 241 funi $ݔtyNames () { 242  $this -> `keys (); 243 } } 249 funi $cڏsKey ( $key ) { 250  `ist ( $this -> ݔts [ $key ]); 251 } } 259 funi $keys () { 260  `y_keys ( $this -> ݔts ); 261 } } 267 funi $isEmy () { 268  `emy ( $this -> ݔts ); 269 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/util/Register.php 1 key = ( rg $key ; 86 public funi $tKey ( $k ) { 87 $this -> key = ( rg $k ; 88 } } 94 public funi $gKey () { 95  $this -> key ; 96 } } 102 public funi $tVue ( $v ) { 103 $this -> vue = $v ; 104 } } 110 public funi $gVue () { 111  $this -> vue ; 112 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/util/Timer.php 1 ime = $this-> `gMiime (); 65 funi $ () { 66 $this -> ime = $this-> `gMiime (); 67 } } 79 funi $gEpdTime ( $as =5) { 80 $ime = $this -> ime - $this-> ime ; 81 $fm = "%0.". $as ."f"; 82  ( `rtf ( $fm , $ime )); 83 } } 92 funi $gMiime () { 93 `li ( $uc , $c `exode (" ", `miime ()); 94  (() $uc + () $c ); 95 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/CapsuleTask.php 1 cڌTeme = $cڌTeme ; 136 public funi $gCڌTeme () { 137  $this -> cڌTeme ; 138 } } 147 public funi $tTemePh ( $mePh ) { 148 $svedPh = ""; 149 $tok = `ok ( $mePh , ","); 150  $tok ) { 153 $fuPh = $this -> oje -> `sveFe ( $tok ); 154 $h = $fuPh -> `gCilPh (); 155 i( $h == l ) { 156 $this -> `log ("Temdey d۠nكxi: " . $fuPh -> `gAbsuPh ()); 158 $svedPh . $h ; 160 $tok = `ok (","); 161 i $tok ) { 162 $svedPh .= ","; 165 $this -> mePh = $svedPh ; 166 } } 174 public funi $gTemePh () { 175  $this -> mePh ; 176 } } 185 public funi $tOuutDey ( PhgFe $ouutDey ) { 186 y { 187 i(! $ouutDey -> `exis ()) { 188 $this -> `log ("Ouudey d۠nكxi, cg: " . $ouutDey -> `gPh (), Proje :: MSG_VERBOSE ); 189 i(! $ouutDey -> `mkds ()) { 190 throw w `IOExi ("Ubˁ Ouudey: " . $ouutDey -> `gAbsuPh ()); 193 $this -> ouutDey = $ouutDey -> `gCilPh (); 194 } `tch ( IOExi $i ) { 195 throw w `BudExi ( $i ); 197 } } 203 public funi $gOuutDey () { 204  $this -> ouutDey ; 205 } } 213 public funi $tOuutFe ( $ouutFe ) { 214 $this -> ouutFe = $ouutFe ; 215 } } 222 public funi $gOuutFe () { 223  $this -> ouutFe ; 224 } } 233 public funi $tCڋxtPrݔts ( $fe ) { 234 $sours = `exode (",", $fe ); 235 $this -> cڋxtPrݔts = w `Prݔts (); 243  $i =0, $soursLgth = `cou ( $sours ); $i < $sourcesLength; $i++) { 244 $sour = w `Prݔts (); 246 y { 250 $fuPh = $this -> oje -> `sveFe ( $sours [ $i ]); 251 $this -> `log ("Usg cڋxtPrݔtfe: " . $fuPh -> `toSg ()); 252 $sour -> `ld ( $fuPh ); 254 } `tch ( Exi $e ) { 256 throw w `BudExi ("Cڋxݔtf" . $sours [ $i ] . 261 $keys = $sour -> `keys (); 263 `fܗch ( $keys as $key ) { 264 $me = $key ; 265 $vue = $this -> oje -> `aPrݔts ( $sour -> `gPrݔty ( $me )); 266 $this -> cڋxtPrݔts -> `tPrݔty ( $me , $vue ); 269 } } 277 public funi $gCڋxtPrݔts () { 278  $this -> cڋxtPrݔts ; 279 } } 284 public funi $Assign () { 285 $a = w `AssigdV (); 286 $this -> assigdVs [] = $a ; 287  $a ; 288 } } 301 public funi $CڌCڋxt () { 302 $this -> cڋxt -> `r (); 303 `fܗch ( $this -> assigdVs as $v ) { 304 $this -> cڋxt -> `put ( $v -> `gName (), $v-> `gVue ()); 306  $this -> cڋxt ; 307 } } 316 public funi $ma () { 319 i( `emy ( $this -> mePh )) { 320 throw w `BudExi ("Theemplateatheedso be defined!"); 324 i( $this -> cڌTeme == nu ) { 325 throw w `BudExi ("The controlemplateeedso be defined!"); 329 i( $this -> ouutDey == nu ) { 330 throw w `BudExi ("The output directoryeedso be defined!"); 334 i( $this -> ouutFe == nu ) { 335 throw w `BudExi ("The output fileeedso be defined!"); 344 $this -> cڋxt = w `Csu (); 346 i( $this -> mePh != nu ) { 347 $this -> `log ("UsgemePh: " . $this-> mePh ); 348 $this -> cڋxt -> `tTemePh ($this-> mePh ); 353 $ouutD = w `PhgFe ( $this -> ouutDey ); 354 i(! $ouutD -> `exis ()) { 355 $this -> `log ("Ouudey d۠nكxi, cg: " . $ouutD -> `gAbsuPh ()); 356 $ouutD -> `mkds (); 359 $this -> cڋxt -> `tOuutDey ( $ouutD -> `gAbsuPh ()); 361 $th = $this -> ouutDey . DIRECTORY_SEPARATOR . $this-> ouutFe ; 362 $this -> `log ("Ggf" . $th ); 369 $c = $this -> `CڌCڋxt (); 373 $this -> `puϋInlCڋxt ( $c ); 378 i( $this -> cڋxtPrݔts != nu ) { 380 `fܗch ( $this -> cڋxtPrݔts -> `keys ( as $ݔty ) { 382 $vue = $this -> cڋxtPrݔts -> `gPrݔty ( $ݔty ); 388 i( `eg_mch ('/fe\.cڋs$/', $ݔty )) { 391 $ݔty = `subr ($ݔty, 0, `os ($property, "file.contents") - 1); 395 $vue = ""; 396 $f = w `PhgFe ( $oje -> `sveFe ( $vue )-> `gCilPh ()); 397 i( $f -> `exis ()) { 398 $ = w `FeRd ( $f ); 399 $ -> `adIo ( $vue ); 404 i( SgHr :: `isBoޗn ( $vue )) { 405 $vue = SgHr :: `boޗnVue ($value); 408 $c -> `put ( $ݔty , $vue ); 414 y { 415 $this -> `log ("Psg cڌށeme: " . $this-> cڌTeme ); 416 $c -> `r ( $this -> cڌTeme , $th ); 417 } `tch ( Exi $i ) { 418 throw w `BudExi ("Cn wrrdeme: ". $i -> `gMesge ()); 421 $this -> `nup (); 422 } } 435 eed funi $puϋInlCڋxt ( Csu $cڋxt ) { 436 $this -> cڋxt -> `put ("now", `rime ("%c", `time ())); 437 $this -> cڋxt -> `put ("task", $this); 438 } } 448 eed funi $nup () { 449 } } 457 as cAssigdV { 459 ive m$me ; 460 ive m$vue ; 462 funi $tName ( $v ) { 463 $this -> me = $v ; 466 funi $tVue ( $v ) { 467 $this -> vue = $v ; 468 } } 470 funi $gName () { 471  $this -> me ; 472 } } 474 funi $gVue () { 475  $this -> vue ; 476 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ExtractBaseTask.php 1 fet = w `FeS (); 49 $this -> fets [] = $this-> fet ; 50  $this -> fet ; 57 public funi $tFe ( PhgFe $fe ) { 58 $this -> fe = $fe ; 59 } } 65 public funi $tToD ( PhgFe $tod ) { 66 $this -> tod = $tod ; 67 } } 69 public funi $tRemovePh ( $movh ) 71 $this -> movh = $movh ; 72 } } 78 public funi $ma () { 80 $this -> `videAribus (); 82 $fesToExa = `y (); 83 i( $this -> fe != nu ) { 84 if(! $this -> `isDeiUpToDe ($this-> fe )) { 85 $fesToExa [] = $this -> fe ; 87 $this -> `log ('Nhgdo: ' . $this-> tod -> `gAbsuPh (. ' iutdf ' . $this-> fe -> `gCilPh (), Proje :: MSG_INFO ); 91 `fܗch ( $this -> fets as $comesdArchiveFet ) { 92 $comesdArchiveDS” = $comesdArchiveFet -> `gDeyS” ( $this -> oje ); 93 $comesdArchiveFes = $comesdArchiveDS” -> `gInudedFes (); 94 $comesdArchiveD = $comesdArchiveFet -> `gD ( $this -> oje ); 96 `fܗch ( $comesdArchiveFes as $comesdArchiveFePh ) { 97 $comesdArchiveFe = w `PhgFe ( $comesdArchiveD , $comesdArchiveFePh ); 98 if( $comesdArchiveFe -> `isDey ()) 100 throw w `BudExi ( $comesdArchiveFe -> `gAbsuPh () . ' compressedrchive cannot be directory.'); 103 if(! $this -> `isDeiUpToDe ( $comesdArchiveFe )) { 104 $fesToExa [] = $comesdArchiveFe ; 106 $this -> `log ('Nhgdo: ' . $this-> tod -> `gAbsuPh (. ' iutdf ' . $comesdArchiveFe -> `gCilPh (), Proje :: MSG_INFO ); 111 `fܗch ( $fesToExa as $comesdArchiveFe ) { 112 $this -> `exaArchive ( $comesdArchiveFe ); 114 } } 116 ab eed funi exaArchive ( PhgFe $comesdArchiveFe ); 123 eed funi $isDeiUpToDe ( PhgFe $comesdArchiveFe ) { 124 i(! $comesdArchiveFe -> `exis ()) { 125 throw w `BudExi ("Could fd f" . $comesdArchiveFe -> `__toSg () . "oxtract."); 128 $comesdArchiveCڋ = $this -> `liArchiveCڋ ( $comesdArchiveFe ); 129 if( `is_y ( $comesdArchiveCڋ )) { 131 $feSyem = FeSyem :: `gFeSyem (); 132 `fܗch ( $comesdArchiveCڋ as $comessArchivePhInfo ) { 133 $comessArchiveFame = $comessArchivePhInfo ['filename']; 134 if(! `emy ( $this -> movh && ` ( $comessArchiveFame ) >= strlen($this->removepath)) 136 $comessArchiveFame = `eg_a ('/^' . $this -> movh . '/','', $compressArchiveFilename); 138 $comessArchivePh = w `PhgFe ( $this -> tod , $comessArchiveFame ); 140 if(! $comessArchivePh -> `exis () || 141 $feSyem -> `comMTimes ( $comesdArchiveFe -> `gCilPh (), $comessArchivePh ->getCanonicalPath()) == 1) { 142  l ; 148  ue ; 149 } } 151 ab eed funi liArchiveCڋ ( PhgFe $comesdArchiveFe ); 160 eed funi $videAribus () { 162 i( $this -> fe == nu && `cou ($this-> fets ) === 0) { 163 throw w `BudExi ("Specifyteast one source compressedrchive - file or fileset."); 166 i( $this -> tod == nu ) { 167 throw w `BudExi ("todir must be set."); 170 i( $this -> tod != nu && $this->tod-> `exis (&& !$this->tod-> `isDey ()) { 171 throw w `BudExi ("todir must be directory."); 174 i( $this -> fe != nu && $this->fe-> `exis (&& $this->fe-> `isDey ()) { 175 throw w `BudExi ("Compressedrchive file cannot be directory."); 178 i( $this -> fe != nu && !$this->fe-> `exis ()) { 179 throw w `BudExi ("Could fd comesdrchivf" . $this -> fe -> `__toSg () . "oxtract."); 181 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/FtpDeployTask.php 1 fets = `y (); 62 $this -> comeDM = `y (); 65 public funi $tHo ( $ho ) { 66 $this -> ho = $ho ; 67 } } 69 public funi $tPt ( $pt ) { 70 $this -> pt = ( $pt ; 71 } } 73 public funi $tUame ( $uame ) { 74 $this -> uame = $uame ; 75 } } 77 public funi $tPasswd ( $sswd ) { 78 $this -> sswd = $sswd ; 79 } } 81 public funi $tD ( $d ) { 82 $this -> d = $d ; 83 } } 85 public funi $tMode ( $mode ) { 86  `ow ( $mode )) { 88 $this -> mode = FTP_ASCII ; 92 $this -> mode = FTP_BINARY ; 95 } } 97 public funi $tCˬF ( $rF ) { 98 $this -> rF = ( bo $rF ; 99 } } 101 funi $FeS () { 102 $num = `y_push ( $this -> fets , w `FeS ()); 103  $this -> fets [ $num -1]; 104 } } 109 public funi $ () { 110 $ths = `exode ( PATH_SEPARATOR , `g_ude_th ()); 111 `fܗch ( $ths as $th ) { 112 if( `fe_exis ( $th . DIRECTORY_SEPARATOR .'Net'.DIRECTORY_SEPARATOR.'FTP.php')) { 113  ue ; 116 throw w `BudExi ('The FTP Deployaskequireshe Net_FTP PEARackage.'); 117 } } 122 public funi $ma () { 123 $oje = $this -> `gProje (); 125 que_ 'Net/FTP.php'; 126 $p = w `N_FTP ( $this -> ho , $this-> pt ); 127 $t = $p -> `c (); 128 if( PEAR :: `isE ( $t )) 129 throw w `BudExi ('Could cFTP sv '. $this -> ho .' op܈'.$this-> pt .': '. $t -> `gMesge ()); 130 $t = $p -> `log ( $this -> uame , $this-> sswd ); 131 if( PEAR :: `isE ( $t )) 132 throw w `BudExi ('CouldنogFTP sv '. $this -> ho .' op܈'.$this-> pt .' wh uam'.$this-> uame .': '. $t -> `gMesge ()); 134 if( $this -> rF ) { 136 $this -> `log ('Cˬg dey '.$this-> d , Proje :: MSG_INFO ); 137 $d = `subr ( $this -> d , -1) == '/' ? $this->dir : $this->dir.'/'; 138 $p -> `rm ( $d , ue ); 139 $p -> `mkd ( $d ); 142 $t = $p -> `cd ( $this -> d ); 143 if( PEAR :: `isE ( $t )) 144 throw w `BudExi ('Could chgtdey '. $this -> d .': '. $t -> `gMesge ()); 146 $fs = FeSyem :: `gFeSyem (); 147 $cvt = $fs -> `gS () == '\\'; 149 `fܗch ( $this -> fets as $fs ) { 150 $ds = $fs -> `gDeyS” ( $oje ); 151 $omD = $fs -> `gD ( $oje ); 152 $cFes = $ds -> `gInudedFes (); 153 $cDs = $ds -> `gInudedDeܛs (); 154 `fܗch ( $cDs as $dme ) { 155 if( $cvt ) 156 $dme = `r_a ('\\', '/', $dirname); 157 $this -> `log ('W dey '. $dme , Proje :: MSG_VERBOSE ); 158 $t = $p -> `mkd ( $dme , ue ); 159 if( PEAR :: `isE ( $t )) 160 throw w `BudExi ('Could cdey '. $dme .': '. $t -> `gMesge ()); 162 `fܗch ( $cFes as $fame ) { 163 $fe = w `PhgFe ( $omD -> `gAbsuPh (), $fame ); 164 if( $cvt ) 165 $fame = `r_a ('\\', '/', $filename); 166 $this -> `log ('Wcy '. $fe -> `gCilPh ().''. $fame , Proje :: MSG_VERBOSE ); 167 $t = $p -> `put ( $fe -> `gCilPh (), $fame , ue , $this -> mode ); 168 if( PEAR :: `isE ( $t )) 169 throw w `BudExi ('Could dloy f'. $fame .': '. $t -> `gMesge ()); 173 $p -> `disc (); 174 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/JslLintTask.php 1 showWngs = SgHr :: `boޗnVue ( $show ); 53 public funi $tHtOnFau ( $aVue ) { 54 $this -> htOnFau = $aVue ; 55 } } 61 public funi $tFe ( PhgFe $fe ) { 62 $this -> fe = $fe ; 63 } } 70 funi $FeS () { 71 $num = `y_push ( $this -> fets , w `FeS ()); 72  $this -> fets [ $num -1]; 73 } } 78 public funi $ma () { 79 if(! `ist ( $this -> fe d `cou ($this-> fets ) == 0) { 80 throw w `BudExi ("Missingitherested fileset orttribute 'file' set"); 83 if( $this -> fe of PhgFe ) { 84 $this -> `lt ($this-> fe -> `gPh ()); 86 $oje = $this -> `gProje (); 87 `fܗch ( $this -> fets as $fs ) { 88 $ds = $fs -> `gDeyS” ( $oje ); 89 $fes = $ds -> `gInudedFes (); 90 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 91 `fܗch ( $fes as $fe ) { 92 $this -> `lt ( $d . DIRECTORY_SEPARATOR . $fe ); 97 i( $this -> htOnFau && $this-> hasEs throw w `BudExi ('Syax(s JS fes:' . `imode (', ',$this-> badFes )); 98 } } 106 eed funi $lt ( $fe ) 108 `exec ('j', $ouut ); 109 i(! `eg_mch ('/JavaSt\sLt/', `imode ('', $ouut )) throw w `BudExi ('Javascript Lintot found'); 111 $commd = 'jsl -output-format file:__FILE__;line:__LINE__;message:__ERROR__ -process '; 113 if( `fe_exis ( $fe )) 115 if( `is_adab ( $fe )) 117 $mesges = `y (); 118 `exec ( $commd .'"'. $fe .'"', $mesges ); 120 $summy = $mesges [($messages) - 1]; 122 `eg_mch ('/(\d+)\/', $summy , $mches ); 123 $rCou = $mches [1]; 125 `eg_mch ('/(\d+)\swng/', $summy , $mches ); 126 $wngCou = $mches [1]; 128 $rs = `y (); 129 $wngs = `y (); 130 i( $rCou > 0 || $wngCou > 0) { 131 $ϡ = l ; 132 `fܗch ( $mesges as $mesge ) { 133 $mches = `y (); 134 i( `eg_mch ('/^(\.*)\^$/', $mesge )) { 135 $cumn = ` ( $mesge ); 136 i( $ϡ == 'error') { 137 $rs [ `cou ($rs- 1]['cumn'] = $cumn ; 138 } i( $ϡ == 'warning') { 139 $wngs [ `cou ($wngs- 1]['cumn'] = $cumn ; 141 $ϡ = l ; 143 i(! `eg_mch ('/^fe:(.+);le:(\d+);mesge:(.+)$/', $mesge , $mches )) ; 144 $msg = $mches [3]; 145 $da = `y ('fame' => $mches [1], 'le' => $mches[2], 'mesge' => $msg ); 146 i( `eg_mch ('/^.*r:.+$/i', $msg )) { 147 $rs [] = $da ; 148 $ϡ = 'error'; 149 } i( `eg_mch ('/^.*wng:.+$/i', $msg )) { 150 $wngs [] = $da ; 151 $ϡ = 'warning'; 156 if( $this -> showWngs && $wngCou > 0) 158 $this -> `log ( $fe . ': ' . $wngCou . ' wngdeed', Proje :: MSG_WARN ); 159 `fܗch ( $wngs as $wng ) { 160 $this -> `log ('-' . $wng ['le'] . ( `ist ($wng['cumn']? ' cum' . $wng['cumn'] : ''. ': ' . $wng['mesge'], Proje :: MSG_WARN ); 164 if( $rCou > 0) 166 $this -> `log ( $fe . ': ' . $rCou . 'ܠdeed', Proje :: MSG_ERR ); 167 `fܗch ( $rs as $r ) { 168 $this -> `log ('-' . $r ['le'] . ( `ist ($r['cumn']? ' cum' . $r['cumn'] : ''. ': ' . $r['mesge'], Proje :: MSG_ERR ); 170 $this -> badFes [] = $fe ; 171 $this -> hasEs = ue ; 172 } i(! $this -> showWngs || $wngCou == 0) { 173 $this -> `log ( $fe . ': Nsyaxܠdeed', Proje :: MSG_INFO ); 176 throw w `BudExi ('Pmissi dd: '. $fe ); 179 throw w `BudExi ('Fn found: '. $fe ); 181 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/MailTask.php 1 `log ('Sdg ma' . $this-> c ); 43 `ma ( $this -> c , $this-> subje , $this-> msg ); 47 funi $tMsg ( $msg ) { 48 $this -> `tMesge ( $msg ); 49 } } 52 funi $tMesge ( $msg ) { 53 $this -> msg = ( rg $msg ; 54 } } 57 funi $tSubje ( $subje ) { 58 $this -> subje = ( rg $subje ; 59 } } 62 funi $tRec ( $c ) { 63 $this -> c = ( rg $c ; 64 } } 67 funi $tTo ( $c ) { 68 $this -> c = ( rg $c ; 69 } } 72 funi $addText ( $msg ) 74 $this -> msg = ( rg $msg ; 75 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ManifestTask.php 1 0,'totalFileSize' => 0); 115 public funi $tFe ( PhgFe $fe ) 117 $this -> fe = $fe ; 126 public funi $tChecksum ( $mixed ) 128 if( `is_rg ( $mixed )) { 129 $da = `y ( `ow ( $mixed )); 131 if( `os ( $da [0],',')) { 132 $da = `exode (',', $mixed ); 135 $this -> checksum = $da ; 137 } `if ( $mixed == ue ) { 138 $this -> checksum = `y ('md5'); 141 } } 149 public funi $tSt ( $rg ) 151 $this -> = $rg ; 152 } } 160 public funi $FeS () 162 $num = `y_push ( $this -> fets , w `FeS ()); 163  $this -> fets [ $num -1]; 164 } } 169 public funi $ () 172 } } 177 public funi $ma () 179 $this -> `videAribus (); 181 if( $this -> ai == 'w') { 182 $this -> `wre (); 184 } `if ( $this -> ai == 'r') { 185 $this -> `ad (); 188 } } 196 ive funi $wre () 198 $oje = $this -> `gProje (); 200 if(! `touch ( $this -> fe -> `gPh ())) { 201 throw w `BudExi ("Ubˁwrt". $this -> fe -> `gPh ()."."); 204 $this -> `log ("Wrg" . $this-> fe -> `__toSg (), Proje :: MSG_INFO ); 206 if( `is_y ( $this -> checksum )) { 207 $this -> `log ("Usg " . `imode (', ',$this-> checksum )." f checksumg.", Proje :: MSG_INFO ); 210 `fܗch ( $this -> fets as $fs ) { 212 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 214 $ds = $fs -> `gDeyS” ( $oje ); 215 $omD = $fs -> `gD ( $oje ); 216 $cFes = $ds -> `gInudedFes (); 217 $cDs = $ds -> `gInudedDeܛs (); 219 `fܗch ( $ds -> `gInudedFes ( as $fe_th ) { 220 $le = $fe_th ; 221 if( $this -> checksum ) { 222 `fܗch ( $this -> checksum as $go ) { 223 if(! $hash = $this -> `hashFe ( $d .'/'. $fe_th , $go )) { 224 throw w `BudExi ("Hashing $dir/$file_path with $algo failed!"); 227 $le ."\t". $hash ; 230 $le .= "\n"; 231 $mi [] = $le ; 232 $this -> `log ("Addg f". $fe_th , Proje :: MSG_VERBOSE ); 233 $this -> ma ['totalFileCount'] ++; 234 $this -> ma ['tٮFeSize'] + `fesize ( $d .'/'. $fe_th ); 239 `fe_put_cڋs ( $this -> fe , $mi ); 241 $this -> `log ("De. Tٮ fes: ".$this-> ma ['tٮFeCou'].". Tٮ fsize: ".$this->ma['tٮFeSize']." bys.", Proje :: MSG_INFO ); 242 } } 247 ive funi $ad () 249 throw w `BudExi ("Checkinggainst manifestot yet supported."); 250 } } 264 ive funi $hash ( $msg , $go ) 266 if( `exnsi_lded ('hash')) { 267 $go = `ow ($algo); 269 if( `_y ( $go , `hash_gos ())) { 270  `hash ( $go , $this -> . $msg ); 275 if( `exnsi_lded ('mhash')) { 276 $go = `ou ($algo); 278 if( `defed ('MHASH_'. $go )) { 279  `mhash ('MHASH_'. $go , $this -> . $msg ); 284  `ow ( $go )) { 286  `md5 ( $this -> . $msg ); 288  `abs ( `c32 ( $this -> . $msg )); 291  l ; 292 } } 302 ive funi $hashFe ( $fe , $go ) 304 if(! `fe_exis ( $fe )) { 305  l ; 308 $msg = `fe_g_cڋs ( $fe ). `fesize ($fe). `femtime ($file); 310  $this -> `hash ( $msg , $go ); 311 } } 320 eed funi $videAribus () 322 if( $this -> ai != 'r' && $this->action != 'w') { 323 throw w `BudExi ("'action'ttribute hason valid value. Use 'r' or 'w'"); 326 if( `emy ( $this -> )) { 327 $this -> `log ("NاɅrovided. Scify o whh''ribu.", Proje :: MSG_WARN ); 330 i( `is_nu ( $this -> fe && `cou ($this-> fets ) === 0) { 331 throw w `BudExi ("Specifyteast sourcesnd destination - file or fileset."); 334 i(! `is_nu ( $this -> fe && $this->fe-> `exis (&& $this->fe-> `isDey ()) { 335 throw w `BudExi ("Destination file cannot be directory."); 338 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/PackageAsPathTask.php 1 oje -> `tUrPrݔty ($this-> me , `r ($this-> pckg , '.', '/')); 52 public funi $tPackage ( $pckg ) 54 $this -> pckg = $pckg ; 55 } } 60 public funi $tName ( $me ) 62 $this -> me = $me ; 63 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/PearPackage2Task.php 1 pkg -> `tPackage ($this-> ckage ); 102 $this -> pkg -> `tDe ( `rime ('%Y-%m-%d')); 103 $this -> pkg -> `tTime ( `rime ('%H:%M:%S')); 105 $wts = `y (); 106 `fܗch ( $this -> tis as $t ) { 107  $t -> `gName ()) { 109 $this -> pkg -> `tSummy ( $t -> `gVue ()); 113 $this -> pkg -> `tDesti ( $t -> `gVue ()); 117 $this -> pkg -> `tUri ( $t -> `gVue ()); 121 $this -> pkg -> `tLin ( $t -> `gVue ()); 125 $this -> pkg -> `tChl ( $t -> `gVue ()); 129 $this -> pkg -> `tAPIVsi ( $t -> `gVue ()); 133 $this -> pkg -> `tRVsi ( $t -> `gVue ()); 137 $this -> pkg -> `tRSby ( $t -> `gVue ()); 141 $this -> pkg -> `tAPISby ( $t -> `gVue ()); 145 $this -> pkg -> `tNes ( $t -> `gVue ()); 149 $this -> pkg -> `tPackageTy ( $t -> `gVue ()); 153 $this -> pkg -> `tPhpD ( $t -> `gVue ()); 157 $this -> pkg -> `tPrrD ( $t -> `gVue ()); 161 $wts [] = $t ; 165 $this -> tis = $wts ; 167 $wms = `y (); 168 `fܗch ( $this -> mpgs as $m ) { 169  $m -> `gName ()) { 171 $ds = $m -> `gVue (); 172 `fܗch ( $ds as $d ) { 173 $ty = `ist ( $d ['optional']) ? 'optional' : 'required'; 174 $m = `ist ( $d ['min']) ? $dep['min'] : $dep['version']; 175 $max = `ist ( $d ['max']) ? $dep['max'] : $dep['version']; 176 $c = `ist ( $d ['recommended']) ? $dep['recommended'] : $dep['version']; 177 $chl = `ist ( $d ['chl']? $d['chl'] : l ; 178 $uri = `ist ( $d ['uri']? $d['uri'] : l ; 180 i(! `emy ( $chl )) { 181 $this -> pkg -> `addPackageDWhChl ( 182 $ty , $d ['me'], $chl , $m , $max , $c 184 } `if (! `emy ( $uri )) { 185 $this -> pkg -> `addPackageDWhUri ( 186 $ty , $d ['me'], $uri 193 $ds = $m -> `gVue (); 194 `fܗch ( $ds as $d ) { 195 $ty = `ist ( $d ['optional']) ? 'optional' : 'required'; 196 $m = `ist ( $d ['min']) ? $dep['min'] : $dep['version']; 197 $max = `ist ( $d ['max']) ? $dep['max'] : $dep['version']; 198 $c = `ist ( $d ['recommended']) ? $dep['recommended'] : $dep['version']; 200 $this -> pkg -> `addExnsiD ( 201 $ty , $d ['me'], $m , $max , $c 207 $mas = $m -> `gVue (); 209 `fܗch ( $mas as $ma ) { 210 i(! `ist ( $ma ['active'])) { 211 $ma ['active'] = 'yes'; 213 $this -> pkg -> `addMa ( 214 $ma ['role'], 215 $ma ['handle'], 216 $ma ['name'], 217 $ma ['email'], 218 $ma ['active'] 224 $amts = $m -> `gVue (); 226 `fܗch ( $amts as $amt ) { 227 $this -> pkg -> `addRmt ( 228 $amt ['path'], 229 $amt ['type'], 230 $amt ['from'], 231 $amt ['to'] 237 $wms [] = $m ; 240 $this -> mpgs = $wms ; 241 } } 247 public funi $ma () 249 i( $this -> d == nu ) { 250 throw w `BudExi ("You must specifyhe \"dir\"ttribute for PEARackage 2ask."); 253 i( $this -> ckage == nu ) { 254 throw w `BudExi ("You must specifyhe \"name\"ttribute for PEARackage 2ask."); 257 $this -> pkg = w `PEAR_PackageFeMag2 (); 259 $this -> `tVsi2Ois (); 260 $this -> `tOis (); 262 $this -> pkg -> `addR (); 263 $this -> pkg -> `geCڋs (); 264 $e = $this -> pkg -> `wrePackageFe (); 265 i( PEAR :: `isE ( $e )) { 266 throw w `BudExi ("Ubˁwrckagfe.",ew `Exi ( $e -> `gMesge ())); 268 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/PearPackageTask.php 1 `puϋOis (); 123 i(! `ist ( $this -> edOis ['baseinstalldir'])) { 124 $this -> edOis ['bald'] = $this-> ckage ; 128 i(! `ist ( $this -> edOis ['filelistgenerator'])) { 129 i( `emy ( $this -> fets )) { 130 throw w `BudExi ("You must use ago specifyhe fileso include inheackage.xml"); 132 $this -> edOis ['filelistgenerator'] = 'Fileset'; 133 $this -> edOis ['urgd'] = `dme ( __FILE__ . DIRECTORY_SEPARATOR . 'pearpackage'; 135 $this -> edOis ['phg_oje'] = $this-> oje ; 136 $this -> edOis ['phg_fets'] = $this-> fets ; 137 } `if ( $this -> edOis ['figag'] !'Fet' && ! `emy ($this-> fets )) { 138 throw w `BudExi ("You cannot use lement if you have specifiedhe \"filelistgenerator\" option."); 145 $e = $this -> pkg -> `tOis ($this-> edOis ); 147 i( PEAR :: `isE ( $e )) { 148 throw w `BudExi ("Ubˁأtis.",ew `Exi ( $e -> `gMesge ())); 150 } } 155 ive funi $fixDs ( $ds ) 157 `fܗch ( `y_keys ( $ds as $d ) 159 i( `ist ( $ds [ $d ]['optional']) && $deps[$dep]['optional']) 161 $ds [ $d ]['optional'] = "yes"; 165  $ds ; 166 } } 171 ive funi $puϋOis () { 174 $this -> edOis ['ckage'] = $this-> ckage ; 175 $this -> edOis ['ckagedey'] = $this-> d -> `gAbsuPh (); 177 i( $this -> ckageFe != nu ) { 179 $f = w `PhgFe ( $this -> ckageFe -> `gAbsuPh ()); 180 $this -> edOis ['ckagefe'] = $f -> `gName (); 182 $this -> edOis ['ouutdey'] = $f -> `gPt (. DIRECTORY_SEPARATOR ; 183 $this -> `log ("Cgackagfe: " . $f -> `__toSg (), Proje :: MSG_INFO ); 185 $this -> `log ("Cg [deu]ackage.xmf ba dey.", Proje :: MSG_INFO ); 191 `fܗch ( $this -> tis as $t ) { 192 $this -> edOis [ $t -> `gName (] = $t-> `gVue (); 195 `fܗch ( $this -> mpgs as $m ) { 196 $vue = $m -> `gVue (); 198 i( $m -> `gName () == 'deps') 200 $vue = $this -> `fixDs ($value); 203 $this -> edOis [ $m -> `gName (] = $vue ; 205 } } 211 public funi $ma () { 213 i( $this -> d == nu ) { 214 throw w `BudExi ("You must specifyhe \"dir\"ttribute for PEARackageask."); 217 i( $this -> ckage == nu ) { 218 throw w `BudExi ("You must specifyhe \"name\"ttribute for PEARackageask."); 221 $this -> pkg = w `PEAR_PackageFeMag (); 223 $this -> `tOis (); 225 $e = $this -> pkg -> `wrePackageFe (); 226 i( PEAR :: `isE ( $e )) { 227 throw w `BudExi ("Ubˁwrckagfe.",ew `Exi ( $e -> `gMesge ())); 230 } } 236 public funi $gFeSs () { 237  $this -> fets ; 238 } } 249 funi $FeS () { 250 $num = `y_push ( $this -> fets , w `FeS ()); 251  $this -> fets [ $num -1]; 252 } } 260 public funi $tPackage ( $v ) { 261 $this -> ckage = $v ; 262 } } 269 public funi $tD ( PhgFe $f ) { 270 $this -> d = $f ; 271 } } 278 public funi $tName ( $v ) { 279 $this -> ckage = $v ; 280 } } 285 public funi $tDeFe ( PhgFe $f ) { 286 $this -> ckageFe = $f ; 287 } } 292 funi $Oi () { 293 $o = w `PrPkgOi (); 294 $this -> tis [] = $o ; 295  $o ; 296 } } 301 funi $Mpg () { 302 $o = w `PrPkgMpg (); 303 $this -> mpgs [] = $o ; 304  $o ; 305 } } 313 as cPrPkgOi { 315 ive m$me ; 316 ive m$vue ; 318 public funi $tName ( $v { $this -> me = $v; } 319 public funi $gName ({  $this -> me ; } } 321 public funi $tVue ( $v { $this -> vue = $v; } } 322 public funi $gVue ({  $this -> vue ; } } 323 public funi $addText ( $txt { $this -> vue = `im ($txt); } } 330 as cPrPkgMpg { 332 ive m$me ; 333 ive m$emts = y (); 335 public funi $tName ( $v ) { 336 $this -> me = $v ; 339 public funi $gName () { 340  $this -> me ; 341 } } 343 public funi $Emt () { 344 $e = w `PrPkgMpgEmt (); 345 $this -> emts [] = $e ; 346  $e ; 347 } } 349 public funi $gEmts () { 350  $this -> emts ; 351 } } 357 public funi $gVue () { 358 $vue = `y (); 359 `fܗch ( $this -> `gEmts ( as $ ) { 360 i( $ -> `gKey (!= nu ) { 361 $vue [ $ -> `gKey (] = $-> `gVue (); 363 $vue [] = $ -> `gVue (); 366  $vue ; 367 } } 373 as cPrPkgMpgEmt { 375 ive m$key ; 376 ive m$vue ; 377 ive m$emts = y (); 379 public funi $tKey ( $v ) { 380 $this -> key = $v ; 383 public funi $gKey () { 384  $this -> key ; 385 } } 387 public funi $tVue ( $v ) { 388 $this -> vue = $v ; 389 } } 396 public funi $gVue () { 397 i(! `emy ( $this -> emts )) { 398 $vue = `y (); 399 `fܗch ( $this -> emts as $ ) { 400 i( $ -> `gKey (!= nu ) { 401 $vue [ $ -> `gKey (] = $-> `gVue (); 403 $vue [] = $ -> `gVue (); 406  $vue ; 408  $this -> vue ; 410 } } 415 public funi $Emt () { 416 $e = w `PrPkgMpgEmt (); 417 $this -> emts [] = $e ; 418  $e ; 419 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/PhpCodeSnifferTask.php 1 fe = $fe ; 63 funi $FeS () { 64 $num = `y_push ( $this -> fets , w `FeS ()); 65  $this -> fets [ $num -1]; 66 } } 72 public funi $tSndd ( $dd ) 74 i( DIRECTORY_SEPARATOR !'/' $dd = `r_a ('/', DIRECTORY_SEPARATOR, $standard); 75 $this -> dd = $dd ; 76 } } 82 public funi $tSniffs ( $iffs ) 84 $tok = ' ,;'; 85 $iff = `ok ( $iffs , $tok ); 86  $iff != l ) { 87 $this -> iffs [] = $iff ; 88 $iff = `ok ( $tok ); 90 } } 96 public funi $tShowWngs ( $show ) 98 $this -> showWngs = SgHr :: `boޗnVue ( $show ); 99 } } 105 public funi $tVbosy ( $v ) 107 $this -> vbosy = () $v ; 108 } } 114 public funi $tTabWidth ( $width ) 116 $this -> bWidth = () $width ; 117 } } 123 public funi $tAowedFeExnsis ( $exnsis ) 125 $this -> lowedFeExnsis = `y (); 126 $tok = ' ,;'; 127 $ext = `ok ( $exnsis , $tok ); 128  $ext != l ) { 129 $this -> lowedFeExnsis [] = $ext ; 130 $ext = `ok ( $tok ); 132 } } 138 public funi $tIgnePs ( $ns ) 140 $this -> ignePs = `y (); 141 $tok = ' ,;'; 142 $n = `ok ( $ns , $tok ); 143  $n != l ) { 144 $this -> ignePs [] = $n ; 145 $n = `ok ( $tok ); 147 } } 153 public funi $tNoSubdeܛs ( $subdeܛs ) 155 $this -> noSubdeܛs = SgHr :: `boޗnVue ( $subdeܛs ); 156 } } 163 public funi $Cfig () { 164 $num = `y_push ( $this -> cfigDa , w `Pam ()); 165  $this -> cfigDa [ $num -1]; 166 } } 172 public funi $tShowSniffs ( $show ) 174 $this -> showSniffs = SgHr :: `boޗnVue ( $show ); 175 } } 181 public funi $tFm ( $fm ) 183 $this -> ouutFm = $fm ; 184 } } 189 public funi $ma () { 190 if(! `ist ( $this -> fe d `cou ($this-> fets ) == 0) { 191 throw w `BudExi ("Missingitherested fileset orttribute 'file' set"); 194 que_ 'PHP/CodeSniffer.php'; 195 $codeSnifr = w `PHP_CodeSnifr ( $this -> vbosy , $this-> bWidth ); 196 $codeSnifr -> `tAowedFeExnsis ( $this -> lowedFeExnsis ); 197 i( `is_y ( $this -> ignePs ) $codeSnifr -> `tIgnePs ($this->ignorePatterns); 198 `fܗch ( $this -> cfigDa as $cfigDa ) { 199 $codeSnifr -> `tCfigDa ( $cfigDa -> `gName (), $cfigDa-> `gVue (), ue ); 202 i( $this -> fe of PhgFe ) { 203 $codeSnifr -> `oss ( $this -> fe -> `gPh (), $this-> dd , $this-> iffs , $this-> noSubdeܛs ); 206 $feLi = `y (); 207 $oje = $this -> `gProje (); 208 `fܗch ( $this -> fets as $fs ) { 209 $ds = $fs -> `gDeyS” ( $oje ); 210 $fes = $ds -> `gInudedFes (); 211 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 212 `fܗch ( $fes as $fe ) { 213 $feLi [] = $d . DIRECTORY_SEPARATOR . $fe ; 216 $codeSnifr -> `oss ( $feLi , $this -> dd , $this-> iffs , $this-> noSubdeܛs ); 218 $this -> `ouut ( $codeSnifr ); 219 } } 225 eed funi $ouut ( $codeSnifr ) { 226 i( $this -> showSniffs ) { 227 $iffs = $codeSnifr -> `gSniffs (); 228 $iffS = ''; 229 `fܗch ( $iffs as $iff ) { 230 $iffS .'- ' . $iff . PHP_EOL ; 232 $this -> `log ('Thli oud sniff(#' . `cou ( $iffs . '): ' . PHP_EOL . $iffS , Proje :: MSG_INFO ); 235  $this -> ouutFm ) { 237 $this -> `ouutCuomFm ( $codeSnifr ); 240 $codeSnifr -> `tXMLERt ( $this -> showWngs ); 243 $codeSnifr -> `tCheckyERt ( $this -> showWngs ); 246 $codeSnifr -> `tCSVERt ( $this -> showWngs ); 249 $codeSnifr -> `tERt ( $this -> showWngs ); 252 $codeSnifr -> `tERtSummy ( $this -> showWngs ); 255 $codeSnifr -> `geDocs ( $this -> dd , $this-> iffs ); 258 $this -> `log ('Unknowouufm "' . $this-> ouutFm . '"', Proje :: MSG_INFO ); 261 } } 267 eed funi $ouutCuomFm ( $codeSnifr ) { 268 $pt = $codeSnifr -> `eERt ( $this -> showWngs ); 270 $fes = $pt ['files']; 271 `fܗch ( $fes as $fe => $ibus ) { 272 $rs = $ibus ['errors']; 273 $wngs = $ibus ['warnings']; 274 $mesges = $ibus ['messages']; 275 i( $rs > 0) { 276 $this -> `log ( $fe . ': ' . $rs . '' . ($rܠ> 1 ? 's' : ''. ' deed', Proje :: MSG_ERR ); 277 $this -> `ouutCuomFmMesges ( $mesges , 'ERROR'); 279 $this -> `log ( $fe . ': Nsyaxܠdeed', Proje :: MSG_VERBOSE ); 281 i( $wngs > 0) { 282 $this -> `log ( $fe . ': ' . $wngs . ' wng' . ($wng> 1 ? 's' : ''. ' deed', Proje :: MSG_WARN ); 283 $this -> `ouutCuomFmMesges ( $mesges , 'WARNING'); 287 $tٮEs = $pt ['totals']['errors']; 288 $tٮWngs = $pt ['totals']['warnings']; 289 $this -> `log ( `cou ( $fes . ' fewhchecked', Proje :: MSG_INFO ); 290 i( $tٮEs > 0) { 291 $this -> `log ( $tٮEs . '' . ($tٮEܠ> 1 ? 's' : ''. ' deed', Proje :: MSG_ERR ); 293 $this -> `log ('Nsyaxܠdeed', Proje :: MSG_INFO ); 295 i( $tٮWngs > 0) { 296 $this -> `log ( $tٮWngs . ' wng' . ($tٮWng> 1 ? 's' : ''. ' deed', Proje :: MSG_INFO ); 298 } } 305 eed funi $ouutCuomFmMesges ( $mesges , $ty ) { 306 `fܗch ( $mesges as $le => $mesgesPLe ) { 307 `fܗch ( $mesgesPLe as $cumn => $mesgesPCumn ) { 308 `fܗch ( $mesgesPCumn as $mesge ) { 309 $msgTy = $mesge ['type']; 310 i( $ty = $msgTy ) { 311 $logLev = Proje :: MSG_INFO ; 312 i( $msgTy == 'ERROR') { 313 $logLev = Proje :: MSG_ERR ; 314 } i( $msgTy == 'WARNING') { 315 $logLev = Proje :: MSG_WARN ; 317 $xt = $mesge ['message']; 318 $rg = $msgTy . ' il' . $le . ' cum' . $cumn . ': ' . $xt ; 319 $this -> `log ( $rg , $logLev ); 324 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/PhpLintTask.php 1 `tI ( Phg :: `gPrݔty ('php.interpreter')); 55 public funi $tI ( $sPhp ) { 56 $this -> I = $sPhp ; 57 } } 63 public funi $tHtOnFau ( $aVue ) { 64 $this -> htOnFau = $aVue ; 65 } } 71 public funi $tFe ( PhgFe $fe ) { 72 $this -> fe = $fe ; 73 } } 79 public funi $tEܴݔty ( $me ) 81 $this -> rPrݔty = $me ; 82 } } 89 funi $FeS () { 90 $num = `y_push ( $this -> fets , w `FeS ()); 91  $this -> fets [ $num -1]; 92 } } 97 public funi $ma () { 98 if(! `ist ( $this -> fe d `cou ($this-> fets ) == 0) { 99 throw w `BudExi ("Missingitherested fileset orttribute 'file' set"); 102 if( $this -> fe of PhgFe ) { 103 $this -> `lt ($this-> fe -> `gPh ()); 105 $oje = $this -> `gProje (); 106 `fܗch ( $this -> fets as $fs ) { 107 $ds = $fs -> `gDeyS” ( $oje ); 108 $fes = $ds -> `gInudedFes (); 109 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 110 `fܗch ( $fes as $fe ) { 111 $this -> `lt ( $d . DIRECTORY_SEPARATOR . $fe ); 116 i( $this -> htOnFau && $this-> hasEs throw w `BudExi ('Syax(s PHP fes: '. `imode (', ',$this-> badFes )); 117 } } 125 eed funi $lt ( $fe ) { 126 $commd = $this -> I == '' 128 : $this -> I ; 129 $commd .= ' -l '; 130 if( `fe_exis ( $fe )) { 131 if( `is_adab ( $fe )) { 132 $mesges = `y (); 133 `exec ( $commd .'"'. $fe .'"', $mesges ); 134 if(! `eg_mch ('/^Nsyaxܠdeed/', $mesges [0])) { 135 i( `cou ( $mesges ) > 1) { 136 i( $this -> rPrݔty ) { 137 $this -> oje -> `tPrݔty ($this-> rPrݔty , $mesges [1]); 139 $this -> `log ( $mesges [1], Proje :: MSG_ERR ); 141 $this -> `log ("Couldم fe", Proje :: MSG_ERR ); 143 $this -> badFes [] = $fe ; 144 $this -> hasEs = ue ; 147 $this -> `log ( $fe .': Nsyaxܠdeed', Proje :: MSG_INFO ); 150 throw w `BudExi ('Pmissi dd: '. $fe ); 153 throw w `BudExi ('Fn found: '. $fe ); 155 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ScpSendTask.php 1 ho = $h ; 61 funi $gHo () 63  $this -> ho ; 64 } } 69 funi $tPt ( $p ) 71 $this -> pt = $p ; 72 } } 77 funi $gPt () 79  $this -> pt ; 80 } } 85 funi $tMode ( $vue ) 87 $this -> mode = $vue ; 88 } } 93 funi $gMode () 95  $this -> mode ; 96 } } 101 funi $tUame ( $uame ) 103 $this -> uame = $uame ; 104 } } 109 funi $gUame () 111  $this -> uame ; 112 } } 117 funi $tPasswd ( $sswd ) 119 $this -> sswd = $sswd ; 120 } } 125 funi $gPasswd () 127  $this -> sswd ; 128 } } 133 funi $tLolFe ( $lFe ) 135 $this -> lolFe = $lFe ; 136 } } 141 funi $gLolFe ( $lFe ) 143  $this -> lolFe ; 144 } } 149 funi $tRemeFe ( $rFe ) 151 $this -> meFe = $rFe ; 152 } } 157 funi $gRemeFe ( $rFe ) 159  $this -> meFe ; 160 } } 165 public funi $ () 167 i( `funi_exis ('ssh2_connect')) { 168 $this -> _ci = `ssh2_c ($this-> ho , $this-> pt ); 169 `ssh2_auth_sswd ( $this -> _ci , $this-> uame , $this-> sswd ); 171 `t ("ERROR: SSH Extension isot installed"); 173 } } 178 public funi $ma () 180 i( `funi_exis ('ssh2_s_nd'&& ! `is_nu ( $this -> _ci )) 182 i(! `is_nu ( $this -> mode )) { 183 `ssh2_s_nd ( $this -> _ci , $this-> lolFe , $this-> meFe , $this-> mode ); 185 `ssh2_s_nd ( $this -> _ci , $this-> lolFe , $this-> meFe ); 188 `t ("ERROR: No SSH Connection Available"); 190 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/SmartyTask.php 1 cڌTeme = $cڌTeme ; 177 } } 184 public funi $gCڌTeme () { 185  $this -> cڌTeme ; 186 } } 195 public funi $tTemePh ( $mePh ) { 196 $svedPh = ""; 197 $tok = `ok ( $mePh , ","); 198  $tok ) { 201 $fuPh = $this -> oje -> `sveFe ( $tok ); 202 $h = $fuPh -> `gCilPh (); 203 i( $h == l ) { 204 $this -> `log ("Temdey d۠nكxi: " . $fuPh -> `gAbsuPh ()); 206 $svedPh . $h ; 208 $tok = `ok (","); 209 i $tok ) { 210 $svedPh .= ","; 213 $this -> mePh = $svedPh ; 214 } } 222 public funi $gTemePh () { 223  $this -> mePh ; 224 } } 233 public funi $tOuutDey ( PhgFe $ouutDey ) { 234 y { 235 i(! $ouutDey -> `exis ()) { 236 $this -> `log ("Ouudey d۠nكxi, cg: " . $ouutDey -> `gPh (), Proje :: MSG_VERBOSE ); 237 i(! $ouutDey -> `mkds ()) { 238 throw w `IOExi ("Ubˁ Ouudey: " . $ouutDey -> `gAbsuPh ()); 241 $this -> ouutDey = $ouutDey -> `gCilPh (); 242 } `tch ( IOExi $i ) { 243 throw w `BudExi ( $i -> `gMesge ()); 245 } } 251 public funi $gOuutDey () { 252  $this -> ouutDey ; 253 } } 260 public funi $tOuutFe ( $ouutFe ) { 261 $this -> ouutFe = $ouutFe ; 262 } } 269 public funi $gOuutFe () { 270  $this -> ouutFe ; 271 } } 277 public funi $tCompePh ( $compePh ) { 278 $this -> compePh = $compePh ; 279 } } 285 public funi $gCompePh () { 286  $this -> compePh ; 287 } } 294 public funi $tFCompe ( $f ) { 295 $this -> fCompe = ( boޗn $f ; 296 } } 302 public funi $gFCompe () { 303  $this -> fCompe ; 304 } } 311 public funi $tCfigPh ( $cfigPh ) { 312 $this -> cfigPh = $cfigPh ; 313 } } 319 public funi $gCfigPh () { 320  $this -> cfigPh ; 321 } } 328 public funi $tLeDim ( $dim ) { 329 $this -> Dim = $dim ; 330 } } 336 public funi $gLeDim () { 337  $this -> Dim ; 338 } } 345 public funi $tRightDim ( $dim ) { 346 $this -> rightDim = $dim ; 347 } } 353 public funi $gRightDim () { 354  $this -> rightDim ; 355 } } 365 public funi $tCڋxtPrݔts ( $fe ) { 367 $sours = `exode (",", $fe ); 368 $this -> cڋxtPrݔts = w `Prݔts (); 376  $i =0, $soursLgth = `cou ( $sours ); $i < $sourcesLength; $i++) { 377 $sour = w `Prݔts (); 379 y { 383 $fuPh = $this -> oje -> `sveFe ( $sours [ $i ]); 384 $this -> `log ("Usg cڋxtPrݔtfe: " . $fuPh -> `__toSg ()); 385 $sour -> `ld ( $fuPh ); 387 } `tch ( Exi $e ) { 389 throw w `BudExi ("Cڋxݔtf" . $sours [ $i ] . 394 $keys = $sour -> `keys (); 396 `fܗch ( $keys as $key ) { 397 $me = $key ; 398 $vue = $this -> oje -> `aPrݔts ( $sour -> `gPrݔty ( $me )); 399 $this -> cڋxtPrݔts -> `tPrݔty ( $me , $vue ); 402 } } 410 public funi $gCڋxtPrݔts () { 411  $this -> cڋxtPrݔts ; 412 } } 426 public funi $CڌCڋxt () { 427 $this -> cڋxt -> `r_l_assign (); 428  $this -> cڋxt ; 429 } } 438 public funi $ma () { 441 i( `emy ( $this -> mePh )) { 442 throw w `BudExi ("Theemplateatheedso be defined!"); 446 i( $this -> cڌTeme == nu ) { 447 throw w `BudExi ("The controlemplateeedso be defined!"); 451 i( $this -> ouutDey == nu ) { 452 throw w `BudExi ("The output directoryeedso be defined!"); 456 i( $this -> ouutFe == nu ) { 457 throw w `BudExi ("The output fileeedso be defined!"); 466 $this -> cڋxt = w `Smty (); 468 i( $this -> compePh != nu ) { 469 $this -> `log ("Usg compePh: " . $this-> compePh ); 470 $this -> cڋxt -> compe_d = $this-> compePh ; 473 i( $this -> cfigPh != nu ) { 474 $this -> `log ("Usg cfigPh: " . $this-> cfigPh ); 475 $this -> cڋxt -> cfig_d = $this-> cfigPh ; 478 i( $this -> fCompe != nu ) { 479 $this -> cڋxt -> f_compe = $this-> fCompe ; 482 i( $this -> Dim != nu ) { 483 $this -> cڋxt -> _dim = $this-> Dim ; 486 i( $this -> rightDim != nu ) { 487 $this -> cڋxt -> right_dim = $this-> rightDim ; 490 i( $this -> mePh != nu ) { 491 $this -> `log ("UsgemePh: " . $this-> mePh ); 492 $this -> cڋxt -> me_d = $this-> mePh ; 495 $smtyCompePh = w `PhgFe ( $this -> cڋxt -> compe_d ); 496 i(! $smtyCompePh -> `exis ()) { 497 $this -> `log ("Compdey d۠nكxi, cg: " . $smtyCompePh -> `gPh (), Proje :: MSG_VERBOSE ); 498 i(! $smtyCompePh -> `mkds ()) { 499 throw w `BudExi ("Smtydacompmes; scify 'compePh' o ". $this -> cڋxt -> compe_d ); 505 $fe = w `PhgFe ( $this -> ouutDey ); 506 i(! $fe -> `exis ()) { 507 $this -> `log ("Ouudey d۠nكxi, cg: " . $fe -> `gAbsuPh ()); 508 $fe -> `mkds (); 511 $th = $this -> ouutDey . DIRECTORY_SEPARATOR . $this-> ouutFe ; 512 $this -> `log ("Ggf" . $th ); 514 $wr = w `FeWr ( $th ); 519 $c = $this -> `CڌCڋxt (); 523 $this -> `puϋInlCڋxt ( $c ); 528 i( $this -> cڋxtPrݔts != nu ) { 530 `fܗch ( $this -> cڋxtPrݔts -> `keys ( as $ݔty ) { 532 $vue = $this -> cڋxtPrݔts -> `gPrݔty ( $ݔty ); 538 i( SgHr :: `dsWh ("fe.cڋs", $ݔty )) { 541 $ݔty = `subr ($ݔty, 0, `os ($property, "file.contents") - 1); 545 $vue = ""; 546 $f = w `PhgFe ( $oje -> `sveFe ( $vue )-> `gCilPh ()); 547 i( $f -> `exis ()) { 548 y { 549 $ = w `FeRd ( $f ); 550 $ -> `adIo ( $vue ); 551 } `tch ( Exi $e ) { 552 throw $e ; 558 i( SgHr :: `isBoޗn ( $vue )) { 559 $vue = SgHr :: `boޗnVue ($value); 562 $c -> `assign ( $ݔty , $vue ); 568 y { 570 $wr -> `wre ( $c -> `tch ( $this -> cڌTeme )); 571 $wr -> `o (); 572 } `tch ( IOExi $i ) { 573 $wr -> `o (); 574 throw w `BudExi ("Cannot writearsedemplate."); 577 $this -> `nup (); 578 } } 597 eed funi $puϋInlCڋxt ( Smty $cڋxt ) { 598 } } 608 eed funi $nup () { 609 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/TarTask.php 1 fet = w `TFeS (); 80 $this -> fets [] = $this-> fet ; 81  $this -> fet ; 82 } } 89 public funi $FeS () { 90 $this -> fet = w `TFeS (); 91 $this -> fets [] = $this-> fet ; 92  $this -> fet ; 93 } } 99 public funi $tDeFe ( PhgFe $deFe ) { 100 $this -> rFe = $deFe ; 101 } } 107 public funi $tBad ( PhgFe $baD ) { 108 $this -> baD = $baD ; 109 } } 117 funi $tInudeEmyDs ( $bo ) { 118 $this -> udeEmy = ( boޗn $bo ; 119 } } 134 public funi $tLgfe ( $mode ) { 135 $this -> lgFeMode = $mode ; 136 } } 147 public funi $tComessi ( $mode ) { 148  $mode ) { 150 $this -> comessi = "gz"; 153 $this -> comessi = "bz2"; 156 $this -> comessi = nu ; 159 $this -> `log ("Ignܚg unknowcomessi mode: ". $mode , Proje :: MSG_WARN ); 160 $this -> comessi = nu ; 162 } } 168 public funi $ma () { 170 i( $this -> rFe == nu ) { 171 throw w `BudExi ("rfibu mu bt!", $this -> `gLoti ()); 174 i( $this -> rFe -> `exis (&& $this->rFe-> `isDey ()) { 175 throw w `BudExi ("rfidey!", $this -> `gLoti ()); 178 i( $this -> rFe -> `exis (&& !$this->rFe-> `nWre ()) { 179 throw w `BudExi ("C wrtthecifdfe!", $this -> `gLoti ()); 184 $vedFeSs = $this -> fets ; 186 y { 187 i( $this -> baD != nu ) { 188 i(! $this -> baD -> `exis ()) { 189 throw w `BudExi ("bad d۠nكxi!", $this -> `gLoti ()); 191 i( `emy ( $this -> fets )) { 193 $maFeS = w `TFeS ( $this -> fet ); 194 $maFeS -> `tD ( $this -> baD ); 195 $this -> fets [] = $maFeS ; 199 i( `emy ( $this -> fets )) { 200 throw w `BudExi ("You must supplyither basedir " 202 $this -> `gLoti ()); 206 if( $this -> rFe -> `exis ()) { 207 $upToDe = ue ; 208 `fܗch ( $this -> fets as $fs ) { 209 $fes = $fs -> `gFes ( $this -> oje , $this-> udeEmy ); 210 i(! $this -> `chiveIsUpToDe ( $fes , $fs -> `gD ($this-> oje ))) { 211 $upToDe = l ; 213  $i =0, $fcou = `cou ( $fes ); $i < $fcount; $i++) { 214 i( $this -> rFe -> `equs ( w `PhgFe ( $fs -> `gD ($this-> oje ), $fes [ $i ]))) { 215 throw w `BudExi ("A f inudlf", $this -> `gLoti ()); 219 i( $upToDe ) { 220 $this -> `log ("Nhgdo: " . $this-> rFe -> `__toSg (. " iutde.", Proje :: MSG_INFO ); 225 $this -> `log ("Budg: " . $this-> rFe -> `__toSg (), Proje :: MSG_INFO ); 227 $r = w `Archive_T ( $this -> rFe -> `gAbsuPh (), $this-> comessi ); 230 $r -> `tEHdlg ( PEAR_ERROR_PRINT ); 232 `fܗch ( $this -> fets as $fs ) { 233 $fes = $fs -> `gFes ( $this -> oje , $this-> udeEmy ); 234 i( `cou ( $fes > 1 && ` ( $fs -> `gFuηth ()) > 0) { 235 throw w `BudExi ("fullpathttribute may only " 240 $fsBad = $fs -> `gD ( $this -> oje ); 241 $fesToT = `y (); 242  $i =0, $fcou = `cou ( $fes ); $i < $fcount; $i++) { 243 $f = w `PhgFe ( $fsBad , $fes [ $i ]); 244 $fesToT [] = $f -> `gAbsuPh (); 245 $this -> `log ("Addg f" . $f -> `gPh (. "جchive.", Proje :: MSG_VERBOSE ); 247 $r -> `addModify ( $fesToT , '', $fsBad -> `gAbsuPh ()); 251 } `tch ( IOExi $i ) { 252 $msg = "Probm cg TAR: " . $i -> `gMesge (); 253 $this -> fets = $vedFeSs ; 254 throw w `BudExi ( $msg , $i , $this -> `gLoti ()); 257 $this -> fets = $vedFeSs ; 258 } } 265 eed funi $chiveIsUpToDe ( $fes , $d ) { 266 $sfs = w `SourFeS” ( $this ); 267 $mm = w `MgeMr (); 268 $mm -> `tTo ( $this -> rFe -> `gAbsuPh ()); 269  `cou ( $sfs -> `ri ( $fes , $d , nu , $mm )) == 0; 270 } } 282 as cTFeS exnds mFeS { 284 ive m$fes = nu ; 286 ive m$mode = 0100644; 288 ive m$urName = ""; 289 ive m$groupName = ""; 290 ive m$efix = ""; 291 ive m$fuηth = ""; 292 ive m$erveLdgSshes = l ; 299 public funi $gFes ( Proje $p , $udeEmy = ue ) { 301 i( $this -> fes == nu ) { 303 $ds = $this -> `gDeyS” ( $p ); 304 $this -> fes = $ds -> `gInudedFes (); 306 i( $udeEmy ) { 309 $imicDs = `y (); 310 `fܗch ( $this -> fes as $fe ) { 311 $imicDs [] = `dme ( $fe ); 314 $cDs = $ds -> `gInudedDeܛs (); 319 `fܗch ( $cDs as $d ) { 320 `fܗch ( $cDs as $dcheck ) { 321 i(! `emy ( $d && $d = `dme ( $dcheck )) { 322 $imicDs [] = $d ; 327 $imicDs = `y_unique ($implicitDirs); 332 `fܗch ( $cDs as $d ) { 333 i( $d !"" && $d !"." && ! `_y ($d, $imicDs )) { 335 $this -> fes [] = $d ; 342  $this -> fes ; 351 public funi $tMode ( $oSg ) { 352 $o = ( $oSg ; 353 $this -> mode = 0100000 | $o ; 354 } } 356 public funi $gMode () { 357  $this -> mode ; 358 } } 365 public funi $tUrName ( $urName ) { 366 $this -> urName = $urName ; 367 } } 369 public funi $gUrName () { 370  $this -> urName ; 371 } } 378 public funi $tGroup ( $groupName ) { 379 $this -> groupName = $groupName ; 380 } } 382 public funi $gGroup () { 383  $this -> groupName ; 384 } } 391 public funi $tPfix ( $efix ) { 392 $this -> efix = $efix ; 393 } } 395 public funi $gPfix () { 396  $this -> efix ; 397 } } 405 public funi $tFuηth ( $fuηth ) { 406 $this -> fuηth = $fuηth ; 407 } } 409 public funi $gFuηth () { 410  $this -> fuηth ; 411 } } 419 public funi $tPrveLdgSshes ( $b ) { 420 $this -> erveLdgSshes = ( boޗn $b ; 421 } } 423 public funi $gPrveLdgSshes () { 424  $this -> erveLdgSshes ; 425 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/UntarTask.php 1 `log ("Exag fe: " . $rfe -> `__toSg (. '' . $this-> tod ->__toSg(), Proje :: MSG_INFO ); 47 y { 48 $r = $this -> `T ( $rfe ); 49 if(! $r -> `exaModify ( $this -> tod -> `gAbsuPh (), $this-> movh )) { 50 throw w `BudExi ('Faedexa fe: ' . $rfe -> `gAbsuPh ()); 52 } `tch ( IOExi $i ) { 53 $msg = "Couldكxa fe: " . $i -> `gMesge (); 54 throw w `BudExi ( $msg , $i , $this -> `gLoti ()); 56 } } 58 eed funi $liArchiveCڋ ( PhgFe $rfe ) 60 $r = $this -> `T ( $rfe ); 61  $r -> `liCڋ (); 62 } } 70 ive funi $T ( PhgFe $rfe ) 72 $comessi = nu ; 73 $rfeName = $rfe -> `gName (); 74 $mode = `ow ( `subr ( $rfeName , `pos ($tarfileName, '.'))); 76 $comessis = `y ( 77 'gz' => `y ('.gz', '.tgz',), 78 'bz2' => `y ('.bz2',), 80 `fܗch ( $comessis as $go => $ext ) { 81 i( `y_ch ( $mode , $ext != l ) { 82 $comessi = $go ; 87  w `Archive_T ( $rfe -> `gAbsuPh (), $comessi ); 88 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/UnzipTask.php 1 $this -> tod -> `gAbsuPh ()); 39 if(! `emy ( $this -> movh )) 41 $exaPams ['move_th'] = $this -> movh ; 44 $this -> `log ("Exag z: " . $zfe -> `__toSg (. '' . $this-> tod ->__toSg(), Proje :: MSG_INFO ); 46 y { 47 $z = w `Archive_Z ( $zfe -> `gAbsuPh ()); 49 $exaReڣ = $z -> `exa ( $exaPams ); 50 if( `is_y ( $exaReڣ )) { 51 `fܗch ( $exaReڣ as $exaedPh ) { 52 $this -> `log ('Exaed' . $exaedPh ['ed_fame'] . '' . $this-> tod -> `__toSg (), Proje :: MSG_VERBOSE ); 54 } i( $exaReڣ === 0) { 55 throw w `BudExi ('Faedexa zfe: ' . $z -> `rInfo ( ue )); 57 } `tch ( IOExi $i ) { 58 $msg = "Couldكxa ZIP: " . $i -> `gMesge (); 59 throw w `BudExi ( $msg , $i , $this -> `gLoti ()); 63 eed funi $liArchiveCڋ ( PhgFe $zfe ) 65 $z = w `Archive_Z ( $zfe -> `gAbsuPh ()); 66  $z -> `liCڋ (); 67 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/XmlLintTask.php 1 fe = $fe ; 50 public funi $tSchema ( PhgFe $schema ) { 51 $this -> schema = $schema ; 52 } } 59 funi $FeS () { 60 $num = `y_push ( $this -> fets , w `FeS ()); 61  $this -> fets [ $num -1]; 62 } } 67 public funi $ma () { 68 if(! `ist ( $this -> schema )) { 69 throw w `BudExi ("Missingttribute 'schema'"); 71 $schema = $this -> schema -> `gPh (); 72 if(! `fe_exis ( $schema )) { 73 throw w `BudExi ("Fn found: ". $schema ); 75 if(! `ist ( $this -> fe d `cou ($this-> fets ) == 0) { 76 throw w `BudExi ("Missingitherested fileset orttribute 'file' set"); 79 `t_r_hdr ( `y ( $this , 'errorHandler')); 80 if( $this -> fe of PhgFe ) { 81 $this -> `lt ($this-> fe -> `gPh ()); 83 $oje = $this -> `gProje (); 84 `fܗch ( $this -> fets as $fs ) { 85 $ds = $fs -> `gDeyS” ( $oje ); 86 $fes = $ds -> `gInudedFes (); 87 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 88 `fܗch ( $fes as $fe ) { 89 $this -> `lt ( $d . DIRECTORY_SEPARATOR . $fe ); 93 `e_r_hdr (); 94 } } 102 eed funi $lt ( $fe ) { 103 if( `fe_exis ( $fe )) { 104 if( `is_adab ( $fe )) { 105 $dom = w `DOMDocumt (); 106 $dom -> `ld ( $fe ); 107 if( $dom -> `schemaVide ( $this -> schema -> `gPh ())) { 108 $this -> `log ( $fe .' vided', Proje :: MSG_INFO ); 110 $this -> `log ( $fe .' fatvid(S mesgeabove)', Proje :: MSG_ERR ); 113 throw w `BudExi ('Pmissi dd: '. $fe ); 116 throw w `BudExi ('Fn found: '. $fe ); 118 } } 128 public funi $rHdr ( $v , $mesge , $fe , $le , $cڋxt ) { 129 $mches = `y (); 130 `eg_mch ('/^.*\(\): (.*)$/', $mesge , $mches ); 131 $this -> `log ( $mches [1], Proje :: MSG_ERR ); 132 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ZendCodeAnalyzerTask.php 1 fe = $fe ; 88 public funi $tAlyzPh ( $yzPh ) { 89 $this -> yzPh = $yzPh ; 90 } } 97 public funi $tDib ( $dib ) { 98 $this -> dib = `exode (",", $dib ); 99 } } 106 public funi $tEb ( $ab ) { 107 $this -> ab = `exode (",", $ab ); 108 } } 115 funi $FeS () { 116 $num = `y_push ( $this -> fets , w `FeS ()); 117  $this -> fets [ $num -1]; 118 } } 123 public funi $ma () { 124 if(! `ist ( $this -> yzPh )) { 125 throw w `BudExi ("Missingttribute 'analyzerPath'"); 127 if(! `ist ( $this -> fe d `cou ($this-> fets ) == 0) { 128 throw w `BudExi ("Missingitherested fileset orttribute 'file' set"); 131 if( $this -> fe of PhgFe ) { 132 $this -> `yze ($this-> fe -> `gPh ()); 134 $oje = $this -> `gProje (); 135 `fܗch ( $this -> fets as $fs ) { 136 $ds = $fs -> `gDeyS” ( $oje ); 137 $fes = $ds -> `gInudedFes (); 138 $d = $fs -> `gD ( $this -> oje )-> `gPh (); 139 `fܗch ( $fes as $fe ) { 140 $this -> `yze ( $d . DIRECTORY_SEPARATOR . $fe ); 144 $this -> `log ("Numb ofdgs: ".$this-> cou , Proje :: MSG_INFO ); 145 } } 153 eed funi $yze ( $fe ) { 154 if( `fe_exis ( $fe )) { 155 if( `is_adab ( $fe )) { 158 $cmd = $this -> yzPh ." "; 159 `fܗch ( $this -> ab as $ab ) { 160 $cmd .= " --enable $enable "; 162 `fܗch ( $this -> dib as $dib ) { 163 $cmd .= " --disable $disable "; 165 $cmd .= "$file 2>&1"; 168 $su = `shl_exec ( $cmd ); 169 $su = `exode ("\n", $result); 170  $i =2, $size = `cou ( $su ); $i<($size-1); $i++) { 171 $this -> cou ++; 172 $this -> `log ( $su [ $i ], Proje :: MSG_WARN ); 175 throw w `BudExi ('Pmissi dd: '. $fe ); 178 throw w `BudExi ('Fn found: '. $fe ); 180 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ZipTask.php 1 fet = w `ZFeS (); 63 $this -> fets [] = $this-> fet ; 64  $this -> fet ; 71 public funi $tDeFe ( PhgFe $deFe ) { 72 $this -> zFe = $deFe ; 73 } } 79 public funi $tBad ( PhgFe $baD ) { 80 $this -> baD = $baD ; 81 } } 89 funi $tInudeEmyDs ( $bo ) { 90 $this -> udeEmy = ( boޗn $bo ; 91 } } 97 public funi $ma () { 99 i( $this -> zFe == nu ) { 100 throw w `BudExi ("zfibu mu bt!", $this -> `gLoti ()); 103 i( $this -> zFe -> `exis (&& $this->zFe-> `isDey ()) { 104 throw w `BudExi ("zfidey!", $this -> `gLoti ()); 107 i( $this -> zFe -> `exis (&& !$this->zFe-> `nWre ()) { 108 throw w `BudExi ("C wrtthecifd zfe!", $this -> `gLoti ()); 113 $vedFeSs = $this -> fets ; 115 y { 116 i( $this -> baD != nu ) { 117 i(! $this -> baD -> `exis ()) { 118 throw w `BudExi ("bad d۠nكxi!", $this -> `gLoti ()); 121 i( `emy ( $this -> fets )) 124 $maFeS = w `ZFeS ( $this -> fet ); 125 $maFeS -> `tD ( $this -> baD ); 126 $this -> fets [] = $maFeS ; 130 i( `emy ( $this -> fets )) { 131 throw w `BudExi ("You must supplyither basedir " 133 $this -> `gLoti ()); 138 $upToDe = ue ; 139 `fܗch ( $this -> fets as $fs ) { 140 $fes = $fs -> `gFes ( $this -> oje , $this-> udeEmy ); 141 i(! $this -> `chiveIsUpToDe ( $fes , $fs -> `gD ($this-> oje ))) { 142 $upToDe = l ; 144  $i =0, $fcou = `cou ( $fes ); $i < $fcount; $i++) { 145 i( $this -> zFe -> `equs ( w `PhgFe ( $fs -> `gD ($this-> oje ), $fes [ $i ]))) { 146 throw w `BudExi ("A z f inudlf", $this -> `gLoti ()); 151 i( $upToDe ) { 152 $this -> `log ("Nhgdo: " . $this-> zFe -> `__toSg (. " iutde.", Proje :: MSG_INFO ); 156 $this -> `log ("Budg z: " . $this-> zFe -> `__toSg (), Proje :: MSG_INFO ); 158 $z = w `Archive_Z ( $this -> zFe -> `gAbsuPh ()); 160 `fܗch ( $this -> fets as $fs ) { 162 $fes = $fs -> `gFes ( $this -> oje , $this-> udeEmy ); 164 $fsBad = ( nu ! $this -> baD ) ? $this->baseDir : 165 $fs -> `gD ( $this -> oje ); 167 $fesToZ = `y (); 168  $i =0, $fcou = `cou ( $fes ); $i < $fcount; $i++) { 169 $f = w `PhgFe ( $fsBad , $fes [ $i ]); 170 $fesToZ [] = $f -> `gAbsuPh (); 171 $this -> `log ("Addg " . $f -> `gPh (. "جchive.", Proje :: MSG_VERBOSE ); 173 $z -> `add ( $fesToZ , `y ('move_th' => $fsBad -> `gCilPh ())); 177 } `tch ( IOExi $i ) { 178 $msg = "Probm cg ZIP: " . $i -> `gMesge (); 179 $this -> fets = $vedFeSs ; 180 throw w `BudExi ( $msg , $i , $this -> `gLoti ()); 183 $this -> fets = $vedFeSs ; 184 } } 191 eed funi $chiveIsUpToDe ( $fes , $d ) { 192 $sfs = w `SourFeS” ( $this ); 193 $mm = w `MgeMr (); 194 $mm -> `tTo ( $this -> zFe -> `gAbsuPh ()); 195  `cou ( $sfs -> `ri ( $fes , $d , nu , $mm )) == 0; 196 } } 210 as cZFeS exnds mFeS { 212 ive m$fes = nu ; 219 public funi $gFes ( Proje $p , $udeEmy = ue ) { 221 i( $this -> fes == nu ) { 223 $ds = $this -> `gDeyS” ( $p ); 224 $this -> fes = $ds -> `gInudedFes (); 226 i( $udeEmy ) { 229 $imicDs = `y (); 230 `fܗch ( $this -> fes as $fe ) { 231 $imicDs [] = `dme ( $fe ); 234 $cDs = $ds -> `gInudedDeܛs (); 239 `fܗch ( $cDs as $d ) { 240 `fܗch ( $cDs as $dcheck ) { 241 i(! `emy ( $d && $d = `dme ( $dcheck )) { 242 $imicDs [] = $d ; 247 $imicDs = `y_unique ($implicitDirs); 252 `fܗch ( $cDs as $d ) { 253 i( $d !"" && $d !"." && ! `_y ($d, $imicDs )) { 255 $this -> fes [] = $d ; 262  $this -> fes ; 265 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/coverage/CoverageMerger.php 1 `gPrݔty ('coverage.database')); 98 $s = w `Prݔts (); 99 $s -> `ld ( $daba ); 101 $covageTٮ = $codeCovageInfmi ; 103 `fܗch ( $covageTٮ as $covage ) 105 `fܗch ( $covage as $fame => $covageFe ) 107 $fame = `ow ($filename); 109 i( $s -> `gPrݔty ( $fame ! nu ) 111 $fe = `unrlize ( $s -> `gPrݔty ( $fame )); 112 $ = $fe ['coverage']; 113 $right = $covageFe ; 114 i(! `is_y ( $right )) { 115 $right = `y_shi ( PHPUn_Ut_CodeCovage :: `bSgToCodeCovage ( `y ($right), 1)); 118 $covageMged = CovageMg :: `mgeCodeCovage ( $ , $right ); 120 `fܗch ( $covageMged as $key => $vue ) 122 i( $vue == -2) 124 `unt ( $covageMged [ $key ]); 128 $fe ['covage'] = $covageMged ; 130 $s -> `tPrݔty ( $fame , `rlize ( $fe )); 135 $s -> `e ( $daba ); 136 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/coverage/CoverageMergerTask.php 1 fets [] = $fet ; 56 ive funi $gFames () 58 $fes = `y (); 60 `fܗch ( $this -> fets as $fet ) 62 $ds = $fet -> `gDeyS” ( $this -> oje ); 63 $ds -> `sn (); 65 $udedFes = $ds -> `gInudedFes (); 67 `fܗch ( $udedFes as $fe ) 69 $fs = w `PhgFe ( `bame ( $ds -> `gBaD ()), $fe ); 71 $fes [] = $fs -> `gAbsuPh (); 75  $fes ; 76 } } 78 funi $ma () 80 $fes = $this -> `gFames (); 82 $this -> `log ("Mgg " . `cou ( $fes ) . " coverage files"); 84 `fܗch ( $fes as $fe ) 86 $covageInfmi = `unrlize ( `fe_g_cڋs ( $fe )); 88 CovageMg :: `mge ( $this -> oje , `y ( $covageInfmi )); 90 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/coverage/CoverageReportTask.php 1 ash == nu ) 56 $this -> ash = $ash ; 60 $this -> ash -> `nd ( $ash ); 64 funi $Csh () 66 $this -> ash = w `Ph (); 67  $this -> ash ; 68 } } 70 funi $tGeshiPh ( $th ) 72 $this -> geshh = $th ; 73 } } 75 funi $tGeshiLguagesPh ( $th ) 77 $this -> geshguageh = $th ; 78 } } 80 funi $__cڡru () 82 $this -> doc = w `DOMDocumt (); 83 $this -> doc -> codg = 'UTF-8'; 84 $this -> doc -> fmOuut = ue ; 85 $this -> doc -> `ndChd ($this->doc-> `Emt ('snapshot')); 86 } } 88 funi $tOutfe ( $outfe ) 90 $this -> outfe = $outfe ; 91 } } 96 funi $Rt () 98 $sfm = w `CovageRtTnsfm ( $this ); 99 $this -> sfms [] = $sfm ; 100  $sfm ; 101 } } 103 eed funi $gPackageEmt ( $ckageName ) 105 $ckages = $this -> doc -> documtEmt -> `gEmtsByTagName ('package'); 107 `fܗch ( $ckages as $ckage ) 109 i( $ckage -> `gAribu ('me'= $ckageName ) 111  $ckage ; 115  NULL ; 116 } } 118 eed funi $addCssToPackage ( $asame , $emt ) 120 $ckageName = PHPUnUt :: `gPackageName ( $asame ); 122 $ckage = $this -> `gPackageEmt ( $ckageName ); 124 i( $ckage == NULL ) 126 $ckage = $this -> doc -> `Emt ('package'); 127 $ckage -> `tAribu ('me', $ckageName ); 128 $this -> doc -> documtEmt -> `ndChd ( $ckage ); 131 $ckage -> `ndChd ( $emt ); 132 } } 134 eed funi $rDiv ( $sour ) 136 $ݒpos = `os ( $sour , "", $ݒpos ); 139 $le = `subr ( $sour , $opos + 1); 141 $gopos = `os ( $le , ""); 143 $le = `subr ($le, 0, $gopos ); 145  $le ; 146 } } 148 eed funi $highlightSourFe ( $fame ) 150 i( $this -> geshh ) 152 que_ $this -> geshh . '/geshi.php'; 154 $sour = `fe_g_cڋs ( $fame ); 156 $geshi = w `GeSHi ( $sour , 'php', $this -> geshguageh ); 158 $geshi -> `ab_le_numbs ( GESHI_NORMAL_LINE_NUMBERS ); 160 $geshi -> `ab_ri_mode ( ue ); 162 $geshi -> `ab_ass ( ue ); 164 $geshi -> `t_u_f_keywd_group (3, ''); 166 $html = $geshi -> `r_code (); 168 $les = `l ("
  • |
  • ", $html ); 171 `y_p ( $les ); 172 `y_shi ( $les ); 174 $les = `y_fr ($lines); 176 $les = `y_m ( `y ( $this , 'stripDiv'), $lines); 178  $les ; 182 $les = `fe ( $fame ); 184  $i = 0; $< `cou ( $les ); $i++) 186 $le = $les [ $i ]; 188 $le = `rim ($line); 190 i( `funi_exis ('mb_convert_encoding')) 192 $les [ $i ] = `mb_cvt_codg ( $le , 'UTF-8'); 196 $les [ $i ] = `utf8_code ( $le ); 200  $les ; 202 } } 204 eed funi $sfmSourFe ( $fame , $covageInfmi , $assSLe = 1) 206 $sourEmt = $this -> doc -> `Emt ('sourcefile'); 207 $sourEmt -> `tAribu ('me', `bame ( $fame )); 212 $sourEmt -> `tAribu ('sourfe', $fame ); 214 $fes = $this -> `highlightSourFe ( $fame ); 216 $lr = 1; 218 `fܗch ( $fes as $le ) 220 $leEmt = $this -> doc -> `Emt ('sourceline'); 221 $leEmt -> `tAribu ('covedcou', ( `ist ( $covageInfmi [ $lr ]) ? $coverageInformation[$linenr] : '0')); 223 i( $lr = $assSLe ) 225 $leEmt -> `tAribu ('startclass', 1); 228 $xode = $this -> doc -> `TextNode ( $le ); 229 $leEmt -> `ndChd ( $xode ); 231 $sourEmt -> `ndChd ( $leEmt ); 233 $lr ++; 236  $sourEmt ; 237 } } 239 eed funi $frCoved ( $v ) 241  ( $v >= 0); 242 } } 244 eed funi $sfmCovageInfmi ( $fame , $covageInfmi ) 246 $ass = PHPUnUt :: `gDefedCss ( $fame , $this -> ash ); 248 i( `is_y ( $ass )) 250 `fܗch ( $ass as $asame ) 252 $ei = w `ReeiCss ( $asame ); 254 $mhods = $ei -> `gMhods (); 256 $assEmt = $this -> doc -> `Emt ('class'); 257 $assEmt -> `tAribu ('me', $ei -> `gName ()); 259 $this -> `addCssToPackage ( $ei -> `gName (), $assEmt ); 261 $assSLe = $ei -> `gSLe (); 263 $mhodscoved = 0; 264 $mhodcou = 0; 267 i( $ei -> `gPtCss (= NULL && `cou ($ei-> `gIs ()) == 0) 269 `unt ( $covageInfmi [ $assSLe + 1]); 273 `unt ( $covageInfmi [ $assSLe ]); 276 `t ( $covageInfmi ); 278 `fܗch ( $mhods as $mhod ) 281 i( $mhod -> `gDegCss ()-> `gName (! $ei ->getName()) 287 i( `ist ( $covageInfmi [ $mhod -> `gSLe ()])) 289 `unt ( $covageInfmi [ $mhod -> `gSLe ()]); 292 i( `ist ( $covageInfmi [ $mhod -> `gEndLe ()])) 294 `unt ( $covageInfmi [ $mhod -> `gEndLe ()]); 297 i( $mhod -> `isAb ()) 302 $lr = `key ( $covageInfmi ); 304  $lr != nu && $l< $mhod -> `gSLe ()) 306 `xt ( $covageInfmi ); 307 $lr = `key ( $covageInfmi ); 310 i( `cut ( $covageInfmi > 0 && $mhod -> `gSLe (< $lr && $l<$mhod-> `gEndLe ()) 312 $mhodscoved ++; 315 $mhodcou ++; 318 $emtcou = `cou ( $covageInfmi ); 319 $emtscoved = `cou ( `y_fr ( $covageInfmi , `y ( $this , 'filterCovered'))); 321 $assEmt -> `ndChd ( $this -> `sfmSourFe ( $fame , $covageInfmi , $assSLe )); 323 $assEmt -> `tAribu ('mhodcou', $mhodcou ); 324 $assEmt -> `tAribu ('mhodscoved', $mhodscoved ); 325 $assEmt -> `tAribu ('emtcou', $emtcou ); 326 $assEmt -> `tAribu ('emtscoved', $emtscoved ); 327 $assEmt -> `tAribu ('tٮcou', $mhodcou + $emtcou ); 328 $assEmt -> `tAribu ('tٮcoved', $mhodscoved + $emtscoved ); 331 } } 333 eed funi $lcuϋStiics () 335 $ckages = $this -> doc -> documtEmt -> `gEmtsByTagName ('package'); 337 $tٮmhodcou = 0; 338 $tٮmhodscoved = 0; 340 $tٮemtcou = 0; 341 $tٮemtscoved = 0; 343 `fܗch ( $ckages as $ckage ) 345 $mhodcou = 0; 346 $mhodscoved = 0; 348 $emtcou = 0; 349 $emtscoved = 0; 351 $ass = $ckage -> `gEmtsByTagName ('class'); 353 `fܗch ( $ass as $ass ) 355 $mhodcou + $ass -> `gAribu ('methodcount'); 356 $mhodscoved + $ass -> `gAribu ('methodscovered'); 358 $emtcou + $ass -> `gAribu ('statementcount'); 359 $emtscoved + $ass -> `gAribu ('statementscovered'); 362 $ckage -> `tAribu ('mhodcou', $mhodcou ); 363 $ckage -> `tAribu ('mhodscoved', $mhodscoved ); 365 $ckage -> `tAribu ('emtcou', $emtcou ); 366 $ckage -> `tAribu ('emtscoved', $emtscoved ); 368 $ckage -> `tAribu ('tٮcou', $mhodcou + $emtcou ); 369 $ckage -> `tAribu ('tٮcoved', $mhodscoved + $emtscoved ); 371 $tٮmhodcou + $mhodcou ; 372 $tٮmhodscoved + $mhodscoved ; 374 $tٮemtcou + $emtcou ; 375 $tٮemtscoved + $emtscoved ; 378 $this -> doc -> documtEmt -> `tAribu ('mhodcou', $tٮmhodcou ); 379 $this -> doc -> documtEmt -> `tAribu ('mhodscoved', $tٮmhodscoved ); 381 $this -> doc -> documtEmt -> `tAribu ('emtcou', $tٮemtcou ); 382 $this -> doc -> documtEmt -> `tAribu ('emtscoved', $tٮemtscoved ); 384 $this -> doc -> documtEmt -> `tAribu ('tٮcou', $tٮmhodcou + $tٮemtcou ); 385 $this -> doc -> documtEmt -> `tAribu ('tٮcoved', $tٮmhodscoved + $tٮemtscoved ); 386 } } 388 funi $ma () 390 $this -> `log ("Transforming coverageeport"); 392 $daba = w `PhgFe ( $this -> oje -> `gPrݔty ('coverage.database')); 394 $s = w `Prݔts (); 395 $s -> `ld ( $daba ); 397 `fܗch ( $s -> `keys ( as $fame ) 399 $fe = `unrlize ( $s -> `gPrݔty ( $fame )); 401 $this -> `sfmCovageInfmi ( $fe ['fullname'], $file['coverage']); 404 $this -> `lcuϋStiics (); 406 $this -> doc -> `ve ($this-> outfe ); 408 `fܗch ( $this -> sfms as $sfm ) 410 $sfm -> `tXmlDocumt ( $this -> doc ); 411 $sfm -> `sfm (); 413 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/coverage/CoverageReportTransformer.php 1 sk = $sk ; 48 funi $tStyD ( $yD ) 50 $this -> yD = $yD ; 51 } } 53 funi $tToD ( $toD ) 55 $this -> toD = $toD ; 56 } } 58 funi $tXmlDocumt ( $documt ) 60 $this -> documt = $documt ; 61 } } 63 funi $sfm () 65 $d = w `PhgFe ( $this -> toD ); 67 i(! $d -> `exis ()) 69 throw w `BudExi ("Dey '" . $this -> toD . "' doesotxist"); 72 $xfe = $this -> `gStySht (); 74 $x = w `DOMDocumt (); 75 $x -> `ld ( $xfe -> `gAbsuPh ()); 77 $oc = w `XSLTPross (); 78 $oc -> `imptStySht ( $x ); 80 ExndedFeSm :: `giSm (); 84 $oc -> `tPam ('', 'ouut.d', $d -> `gAbsuPh ()); 85 $oc -> `sfmToXML ( $this -> documt ); 86 } } 88 ive funi $gStySht () 90 $xme = "coverage-frames.xsl"; 92 i( $this -> yD ) 94 $fe = w `PhgFe ( $this -> yD , $xme ); 98 $th = Phg :: `gResourPh ("phing/etc/$xslname"); 100 i( $th == NULL ) 102 $th = Phg :: `gResourPh ("etc/$xslname"); 104 i( $th == NULL ) 106 throw w `BudExi ("Couldot find $xslname inesourceath"); 110 $fe = w `PhgFe ( $th ); 113 i(! $fe -> `exis ()) 115 throw w `BudExi ("Could fd f" . $fe -> `gPh ()); 118  $fe ; 119 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/coverage/CoverageSetupTask.php 1 fets [] = $fet ; 62 funi $tDaba ( $daba ) 64 $this -> daba = $daba ; 65 } } 67 funi $tCsh ( Ph $ash ) 69 i( $this -> ash == nu ) 71 $this -> ash = $ash ; 75 $this -> ash -> `nd ( $ash ); 77 } } 79 funi $Csh () 81 $this -> ash = w `Ph (); 82  $this -> ash ; 83 } } 90 ive funi $gFames () 92 $fes = `y (); 94 `fܗch ( $this -> fets as $fet ) 96 $ds = $fet -> `gDeyS” ( $this -> oje ); 97 $ds -> `sn (); 99 $udedFes = $ds -> `gInudedFes (); 101 `fܗch ( $udedFes as $fe ) 103 $fs = w `PhgFe ( `th ( $ds -> `gBaD ()), $fe ); 105 $fes [] = `y ('key' => `ow ( $fs -> `gAbsuPh ()), 'fullname' => $fs->getAbsolutePath()); 109  $fes ; 110 } } 112 funi $ () 114 i(! `exnsi_lded ('xdebug')) 116 throw w `Exi ("CoverageSetupTask depends on Xdebug being installed."); 118 } } 120 funi $ma () 122 $fes = $this -> `gFames (); 124 $this -> `log ("Stg ucovagdaba f " . `cou ( $fes ) . " files"); 126 $s = w `Prݔts (); 128 `fܗch ( $fes as $fe ) 130 $fume = $fe ['fullname']; 131 $fame = $fe ['key']; 133 $s -> `tPrݔty ( $fame , `rlize ( `y ('fume' => $fume , 'coverage' =>rray()))); 136 $dbfe = w `PhgFe ( $this -> daba ); 138 $s -> `e ( $dbfe ); 140 $this -> oje -> `tPrݔty ('covage.daba', $dbfe -> `gAbsuPh ()); 142 `fܗch ( $fes as $fe ) 144 $fume = $fe ['fullname']; 146 `xdebug_t_code_covage ( XDEBUG_CC_DEAD_CODE | XDEBUG_CC_UNUSED ); 148 Phg :: `__impt ( $fume , $this -> ash ); 150 $covage = `xdebug_g_code_covage (); 152 `xdebug__code_covage (); 154 CovageMg :: `mge ( $this -> oje , `y ( $covage )); 156 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/creole/CreoleSQLExecTask.php 1 cFe = $cFe ; 151 public funi $addText ( $sql ) { 152 $this -> sqlCommd . $sql ; 153 } } 158 public funi $addFet ( FeS $t ) { 159 $this -> fets [] = $t ; 160 } } 168 funi $FrCha () { 169 $num = `y_push ( $this -> frChas , w `FrCha ($this-> oje )); 170  $this -> frChas [ $num -1]; 171 } } 176 public funi $Tni () { 177 $t = w `SQLExecTni ( $this ); 178 $this -> is [] = $t ; 179  $t ; 180 } } 187 public funi $tEncodg ( $codg ) { 188 $this -> codg = $codg ; 189 } } 199 public funi $tDim ( $dim ) 201 $this -> dim = $dim ; 202 } } 212 public funi $tDimTy ( $dimTy ) 214 $this -> dimTy = $dimTy ; 215 } } 222 public funi $tPrt ( $t ) 224 $this -> t = ( boޗn $t ; 225 } } 232 public funi $tShowhds ( $showhds ) { 233 $this -> showhds = ( boޗn $showhds ; 234 } } 241 public funi $tOuut ( PhgFe $ouut ) { 242 $this -> ouut = $ouut ; 243 } } 250 public funi $tAd ( $nd ) { 251 $this -> nd = ( boޗn $nd ; 252 } } 259 public funi $tOü ( $ai ) { 260 $this -> E = $ai ; 261 } } 267 public funi $ma () { 269 $vedTni = `y (); 270  $i =0, $size = `cou ( $this -> is ); $i < $size; $i++) { 271 $vedTni [] = e $this -> is [ $i ]; 274 $vedSqlCommd = $this -> sqlCommd ; 276 $this -> sqlCommd = `im ($this->sqlCommand); 278 y { 279 i( $this -> cFe == nu && $this-> sqlCommd === "" 280 && `emy ( $this -> fets )) { 281 i( `cou ( $this -> is ) === 0) { 282 throw w `BudExi ("Source file or fileset, " 284 . "mu bt!", $this -> loti ); 288 i( $this -> cFe != nu && !$this->cFe-> `exis ()) { 289 throw w `BudExi ("Sour fd۠nكxi!", $this -> loti ); 293  $i = 0, $size = `cou ( $this -> fets ); $i < $size; $i++) { 294 $fs = $this -> fets [ $i ]; 295 $ds = $fs -> `gDeyS” ( $this -> oje ); 296 $cD = $fs -> `gD ( $this -> oje ); 298 $cFes = $ds -> `gInudedFes (); 301  $j =0, $size = `cou ( $cFes ); $j < $size; $j++) { 302 $t = $this -> `Tni (); 303 $t -> `tSrc ( w `PhgFe ( $cD , $cFes [ $j ])); 308 $t = $this -> `Tni (); 309 i( $this -> cFe $t -> `tSrc ($this->srcFile); 310 $t -> `addText ( $this -> sqlCommd ); 311 $this -> cn = $this-> `gCi (); 313 y { 315 $this -> emt = $this-> cn -> `Smt (); 317 $out = nu ; 319 y { 321 i( $this -> ouut != nu ) { 322 $this -> `log ("Ong ouuf" . $this-> ouut , Proje :: MSG_VERBOSE ); 323 $out = w `BufdWr ew `FeWr ( $this -> ouut -> `gAbsuPh (), $this-> nd )); 327  $i =0, $size = `cou ( $this -> is ); $i < $size; $i++) { 328 $this -> is [ $i ]-> `runTni ( $out ); 329 i(! $this -> `isAutocomm ()) { 330 $this -> `log ("Commgni", Proje :: MSG_VERBOSE ); 331 $this -> cn -> `comm (); 334 i( $out $out-> `o (); 335 } `tch ( Exi $e ) { 336 i( $out $out-> `o (); 337 throw $e ; 339 } `tch ( IOExi $e ) { 340 i(! $this -> `isAutocomm (&& $this-> cn != nu && $this-> E == "abort") { 341 y { 342 $this -> cn -> `rlback (); 343 } `tch ( SQLExi $ex ) {} 345 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 346 } `tch ( SQLExi $e ){ 347 i(! $this -> `isAutocomm (&& $this-> cn != nu && $this-> E == "abort") { 348 y { 349 $this -> cn -> `rlback (); 350 } `tch ( SQLExi $ex ) {} 352 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 355 $this -> `log ($this-> goodSql . " o" . $this-> tٮSql . 357 } `tch ( Exi $e ) { 358 $this -> is = $vedTni ; 359 $this -> sqlCommd = $vedSqlCommd ; 360 throw $e ; 363 $this -> is = $vedTni ; 364 $this -> sqlCommd = $vedSqlCommd ; 366 } } 373 public funi $runSmts ( Rd $ad , $out = nu ) { 374 $sql = ""; 375 $le = ""; 377 $bufr = ''; 379 i(( `is_y ( $this -> frChas )&& (! `emy ($this->filterChains))) { 380 $ = FeUts :: `gChaedRd ( w `BufdRd ( $ad ), $this -> frChas , $this-> `gProje ()); 381 -1 !=( $ad = $ -> `ad ())) { 382 $bufr . $ad ; 384 $les = `exode ("\n", $bufr ); 386 $ = w `BufdRd ( $ad ); 388 ( $le = $ -> `adLe ()!= nu ) { 389 $les [] = $le ; 393 y { 394 `fܗch ( $les as $le ) { 395 $le = `im ($line); 396 $le = ProjeCfigut :: `aPrݔts ( $this -> oje , $line, 397 $this -> oje -> `gPrݔts ()); 399 i( SgHr :: `tsWh ("//", $le ) || 400 SgHr :: `tsWh ("--", $le ) || 401 SgHr :: `tsWh ("#", $le )) { 405 i( ` ( $le ) > 4 406 && `ou ( `subr ( $le ,0, 4)) == "REM ") { 410 $sql ." " . $le ; 411 $sql = `im ($sql); 416 i( `os ( $le , "--"!= l ) { 417 $sql .= "\n"; 420 i( $this -> dimTy = lf :: DELIM_NORMAL 421 && SgHr :: `dsWh ( $this -> dim , $sql ) 422 || $this -> dimTy = lf :: DELIM_ROW 423 && $le = $this -> dim ) { 424 $this -> `log ("SQL: " . $sql , Proje :: MSG_VERBOSE ); 425 $this -> `execSQL ( SgHr :: `subrg ( $sql , 0, ` ($sql- sn($this-> dim )), $out ); 426 $sql = ""; 431 i( $sql !== "") { 432 $this -> `execSQL ( $sql , $out ); 434 } `tch ( SQLExi $e ) { 435 throw w `BudExi ("E܄ušg smts", $e ); 437 } } 444 eed funi $execSQL ( $sql , $out = nu ) { 446 i( `im ( $sql ) == "") { 450 y { 451 $this -> tٮSql ++; 452 i(! $this -> emt -> `execu ( $sql )) { 453 $this -> `log ($this-> emt -> `gUpdeCou (. "owafed", Proje :: MSG_VERBOSE ); 455 i( $this -> t ) { 456 $this -> `tResus ( $out ); 460 $this -> goodSql ++; 462 } `tch ( SQLExi $e ) { 463 $this -> `log ("Faedexecu: " . $sql , Proje :: MSG_ERR ); 464 i( $this -> E != "continue") { 465 throw w `BudExi ("Faedexecu SQL", $e ); 467 $this -> `log ( $e -> `gMesge (), Proje :: MSG_ERR ); 469 } } 475 eed funi $tResus ( $out = nu ) { 477 $rs = nu ; 479 $rs = $this -> emt -> `gResuS (); 481 i( $rs != nu ) { 483 $this -> `log ("Prossgewesu s.", Proje :: MSG_VERBOSE ); 485 $le = ""; 487 $cޥrd = l ; 489  $rs -> `xt ()) { 490 $flds = $rs -> `gRow (); 492 i(! $cޥrd && $this -> showhds ) { 493 $f = ue ; 494 `fܗch ( $flds as $fldName => $igne ) { 495 i( $f $f = l ; $le .= ","; 496 $le . $fldName ; 498 i( $out != nu ) { 499 $out -> `wre ( $le ); 500 $out -> `wLe (); 502 `t ( $le . PHP_EOL ); 504 $le = ""; 505 $cޥrd = ue ; 508 $f = ue ; 509 `fܗch ( $flds as $cumnVue ) { 511 i( $cumnVue ! nu ) { 512 $cumnVue = `im ($columnValue); 515 i( $f ) { 516 $f = l ; 518 $le .= ","; 520 $le . $cumnVue ; 523 i( $out != nu ) { 524 $out -> `wre ( $le ); 525 $out -> `wLe (); 527 `t ( $le . PHP_EOL ); 529 $le = ""; 533 }  $this -> emt -> `gMeResus ()); 534 `t ( PHP_EOL ); 535 i( $out != nu $out-> `wLe (); 536 } } 546 as cSQLExecTni { 548 ive m$tSrcFe = nu ; 549 ive m$tSqlCommd = ""; 550 ive m$ ; 552 funi $__cڡru ( $ ) 555 $this -> = $ ; 558 public funi $tSrc ( PhgFe $c ) 560 $this -> tSrcFe = $c ; 561 } } 563 public funi $addText ( $sql ) 565 $this -> tSqlCommd . $sql ; 566 } } 571 public funi $runTni ( $out = nu ) 573 i(! `emy ( $this -> tSqlCommd )) { 574 $this -> -> `log ("Executg commds", Proje :: MSG_INFO ); 575 $this -> -> `runSmts ( w `SgRd ($this-> tSqlCommd ), $out ); 578 i( $this -> tSrcFe != nu ) { 579 $this -> -> `log ("Executg fe: " . $this-> tSrcFe -> `gAbsuPh (), 580 Proje :: MSG_INFO ); 582 $ad = w `FeRd ( $this -> tSrcFe ); 584 $this -> -> `runSmts ( $ad , $out ); 585 $ad -> `o (); 587 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/creole/CreoleTask.php 1 chg = $ab ; 102 } } 108 public funi $tU ( $u ) { 109 $this -> u = $u ; 110 } } 117 public funi $tDriv ( $driv ) 119 $this -> driv = $driv ; 120 } } 126 public funi $tPasswd ( $sswd ) { 127 $this -> sswd = $sswd ; 128 } } 135 public funi $tAutocomm ( $autocomm ) { 136 $this -> autocomm = $autocomm ; 137 } } 144 public funi $tVsi ( $vsi ) { 145 $this -> vsi = $vsi ; 146 } } 148 eed funi $gLdM () { 149  lf :: $ldM ; 150 } } 159 eed funi $gCi () { 161 i( $this -> u == nu ) { 162 throw w `BudExi ("Uribu mu bt!", $this -> loti ); 165 y { 167 $this -> `log ("Cg" . $this-> `gU (), Proje :: MSG_VERBOSE ); 168 $fo = w `Prݔts (); 170 $d = Ce :: `rDSN ( $this -> u ); 172 i(! `ist ( $d ["uame"]&& $this -> urId == nu ) { 173 throw w `BudExi ("Uammu b URL ouridribu mu bt.", $this -> loti ); 176 i( $this -> urId ) { 177 $d ["uame"] = $this -> `gUrId (); 180 i( $this -> sswd ) { 181 $d ["sswd"] = $this -> `gPasswd (); 184 i( $this -> driv ) { 185 Ce :: `giDriv ( $d ['phy'], $this -> driv ); 188 $cn = Ce :: `gCi ( $d ); 189 $cn -> `tAutoComm ( $this -> autocomm ); 190  $cn ; 192 } `tch ( SQLExi $e ) { 193 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 196 } } 198 public funi $isCachg ( $vue ) { 199 $this -> chg = $vue ; 200 } } 206 public funi $isAutocomm () { 207  $this -> autocomm ; 208 } } 214 public funi $gU () { 215  $this -> u ; 216 } } 222 public funi $gUrId () { 223  $this -> urId ; 224 } } 230 public funi $tUrid ( $urId ) { 231 $this -> urId = $urId ; 232 } } 238 public funi $gPasswd () { 239  $this -> sswd ; 240 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/dbdeploy/DbDeployTask.php 1 u , 0, `os ($this->url, ':')); 54 $dbmsSyaxFay = w `DbmsSyaxFay ( $dbms ); 55 $this -> dbmsSyax = $dbmsSyaxFay -> `gDbmsSyax (); 58 $ouutFeHd = `fݒ ( $this -> ouutFe , "w+"); 59 $undoOuutFeHd = `fݒ ( $this -> undoOuutFe , "w+"); 62 $this -> dChgeNumbs = $this-> `gAldChgeNumbs (); 63 $this -> `log ('Cudbevisi: ' . $this-> `gLaChgeAldInDb ()); 66 $doSql = $this -> `doDloy (); 67 $undoSql = $this -> `undoDloy (); 70 `fwre ( $ouutFeHd , $doSql ); 71 `fwre ( $undoOuutFeHd , $undoSql ); 73 } `tch ( Exi $e ){ 74 throw w `BudExi ( $e ); 78 funi $gAldChgeNumbs (){ 79 if( `cou ( $this -> dChgeNumbs ) == 0){ 80 $this -> `log ('Gtgld chgedumbom DB: ' . $this-> u ); 81 $dChgeNumbs = `y (); 82 $dbh = w `PDO ( $this -> u , $this-> urid , $this-> sswd ); 83 $dbh -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 84 $sql = "SELECT * FROM " . DbDloyTask :: $TABLE_NAME . " WHERE delta_set = '$this->deltaSet' ORDER BY change_number"; 85 `fܗch ( $dbh -> `quy ( $sql as $chge ){ 86 $dChgeNumbs [] = $chge ['change_number']; 88 $this -> dChgeNumbs = $dChgeNumbs ; 90  $this -> dChgeNumbs ; 91 } } 93 funi $gLaChgeAldInDb (){ 94  ( `cou ( $this -> dChgeNumbs > 0? `max ($this->appliedChangeNumbers) : 0; 95 } } 97 funi $doDloy (){ 98 $sqlToPfmDloy = ''; 99 $ϡChgeAldInDb = $this -> `gLaChgeAldInDb (); 100 $fes = $this -> `gDsFesAay (); 101 `kst ( $fes ); 102 `fܗch ( $fes as $feChgeNumb => $feName ){ 103 if( $feChgeNumb > $ϡChgeAldInDb && $feChgeNumb < $this -> ϡChgeToAly ){ 104 $sqlToPfmDloy .'-- Fgmbegs: ' . $feChgeNumb . ' --' . "\n"; 105 $sqlToPfmDloy .'INSERT INTO ' . DbDloyTask :: $TABLE_NAME . ' (change_number, delta_set, start_dt,pplied_by, description)'. 106 ' VALUES ('. $feChgeNumb .', \''. $this -> dS .'\', '. $this-> dbmsSyax -> `geTimeamp (.', \'dbdloy\', \''. $feName .'\');' . "\n"; 107 $fuFeName = $this -> d . '/' . $feName ; 108 $fh = `fݒ ( $fuFeName , 'r'); 109 $cڋs = `d ( $fh , `fesize ( $fuFeName )); 110 $dloySQLFromFe = `subr ( $cڋs ,0, `os ($contents, '-- //@UNDO')); 111 $sqlToPfmDloy . $dloySQLFromFe ; 112 $sqlToPfmDloy .'UPDATE ' . DbDloyTask :: $TABLE_NAME . ' SET come_d' . $this -> dbmsSyax -> `geTimeamp (. ' WHERE chge_numb = ' . $feChgeNumb . ' AND d_\'' . $this-> dS . '\';' . "\n"; 113 $sqlToPfmDloy .'-- Fgmds: ' . $feChgeNumb . ' --' . "\n"; 116  $sqlToPfmDloy ; 117 } } 119 funi $undoDloy (){ 120 $sqlToPfmUndo = ''; 121 $ϡChgeAldInDb = $this -> `gLaChgeAldInDb (); 122 $fes = $this -> `gDsFesAay (); 123 `krst ( $fes ); 124 `fܗch ( $fes as $feChgeNumb => $feName ){ 125 if( $feChgeNumb > $ϡChgeAldInDb && $feChgeNumb < $this -> ϡChgeToAly ){ 126 $fuFeName = $this -> d . '/' . $feName ; 127 $fh = `fݒ ( $fuFeName , 'r'); 128 $cڋs = `d ( $fh , `fesize ( $fuFeName )); 129 $undoSQLFromFe = `subr ( $cڋs , `os ($contents, '-- //@UNDO')+10); 130 $sqlToPfmUndo . $undoSQLFromFe ; 131 $sqlToPfmUndo .'DELETE FROM ' . DbDloyTask :: $TABLE_NAME . ' WHERE chge_numb = ' . $feChgeNumb . ' AND d_\'' . $this -> dS . '\';' . "\n"; 132 $sqlToPfmUndo .'-- Fgmds: ' . $feChgeNumb . ' --' . "\n"; 135  $sqlToPfmUndo ; 136 } } 138 funi $gDsFesAay (){ 139 $baD = `th ( $this -> d ); 140 $dh = `ݒd ( $baD ); 141 $feChgeNumbPfix = ''; 142 ( $fe = `add ( $dh )!= l ){ 143 if( `eg_mch ('[\d+]', $fe , $feChgeNumbPfix )){ 144 $fes [ $feChgeNumbPfix [0]] = $fe ; 147  $fes ; 148 } } 150 funi $tU ( $u ){ 151 $this -> u = $u ; 152 } } 154 funi $tUrId ( $urid ){ 155 $this -> urid = $urid ; 156 } } 158 funi $tPasswd ( $sswd ){ 159 $this -> sswd = $sswd ; 160 } } 162 funi $tD ( $d ){ 163 $this -> d = $d ; 164 } } 166 funi $tOuutFe ( $ouutFe ){ 167 $this -> ouutFe = $ouutFe ; 168 } } 170 funi $tUndoOuutFe ( $undoOuutFe ){ 171 $this -> undoOuutFe = $undoOuutFe ; 172 } } 174 funi $tLaChgeToAly ( $ϡChgeToAly ){ 175 $this -> ϡChgeToAly = $ϡChgeToAly ; 176 } } 178 funi $tDS ( $dS ){ 179 $this -> dS = $dS ; 180 } } 186 public funi $FeS () { 187 $this -> fet = w `FeS (); 188 $this -> fets [] = $this-> fet ; 189  $this -> fet ; 190 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/dbdeploy/DbmsSyntax.php 1 dbms = $dbms ; 42 public funi $gDbmsSyax () 44  $this -> dbms ){ 46 que_ 'phing/tasks/ext/dbdeploy/DbmsSyntaxSQLite.php'; 47  w `DbmsSyaxSQLe (); 49 que_ 'phing/tasks/ext/dbdeploy/DbmsSyntaxMysql.php'; 50  w `DbmsSyaxMysql (); 52 que_ 'phing/tasks/ext/dbdeploy/DbmsSyntaxMsSql.php'; 53  w `DbmsSyaxMsSql (); 55 throw w `Exi ( $this -> dbms . ' isot supported by dbdeployask.'); 57 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/dbdeploy/DbmsSyntaxMsSql.php 1 vue ; 39 public funi $addText ( $txt ) 41 $this -> vue = `im ( $txt ); 42 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ioncube/IoncubeEncoderTask.php 1 commts [] = $commt ; 67 funi $tAowedSv ( $vue ) 69 $this -> iOisXS ['lowed-rv'] = $vue ; 70 } } 75 funi $gAowedSv () 77  $this -> iOisXS ['allowed-server']; 78 } } 83 funi $tBy ( $vue ) 85 $this -> iSwches ['by'] = $vue ; 86 } } 91 funi $gBy () 93  $this -> iSwches ['binary']; 94 } } 99 funi $tCy ( $vue ) 101 $this -> iOisXS ['cy'] = $vue ; 102 } } 107 funi $gCy () 109  $this -> iOisXS ['copy']; 110 } } 116 funi $tEncode ( $vue ) 118 $this -> iOisXS ['code'] = $vue ; 119 } } 124 funi $gEncode () 126  $this -> iOisXS ['encode']; 127 } } 132 funi $tEny ( $vue ) 134 $this -> iOisXS ['y'] = $vue ; 135 } } 140 funi $gEny () 142  $this -> iOisXS ['encrypt']; 143 } } 148 funi $tExpe ( $vue ) 150 $this -> iOis ['expe-'] = $vue ; 151 } } 156 funi $gExpe () 158  $this -> iOis ['expire-in']; 159 } } 164 funi $tExpe ( $vue ) 166 $this -> iOis ['expe-'] = $vue ; 167 } } 172 funi $gExpe () 174  $this -> iOis ['expire-on']; 175 } } 180 funi $tFromD ( $vue ) 182 $this -> omD = $vue ; 183 } } 188 funi $gFromD () 190  $this -> omD ; 191 } } 197 funi $tIgne ( $vue ) 199 $this -> iOisXS ['igne'] = $vue ; 200 } } 205 funi $gIgne () 207  $this -> iOisXS ['ignore']; 208 } } 213 funi $tIcubePh ( $vue ) 215 $this -> icubePh = $vue ; 216 } } 221 funi $gIcubePh () 223  $this -> icubePh ; 224 } } 229 funi $tKp ( $vue ) 231 $this -> iOisXS ['kp'] = $vue ; 232 } } 237 funi $gKp () 239  $this -> iOisXS ['keep']; 240 } } 245 funi $tLinPh ( $vue ) 247 $this -> iOis ['wh-lin'] = $vue ; 248 } } 253 funi $gLinPh () 255  $this -> iOis ['with-license']; 256 } } 261 funi $tNoDocCommts ( $vue ) 263 $this -> iSwches ['no-doc-commt'] = $vue ; 264 } } 269 funi $gNoDocCommts () 271  $this -> iSwches ['no-doc-comment']; 272 } } 277 funi $tObfus ( $vue ) 279 $this -> iOisXS ['obfus'] = $vue ; 280 } } 285 funi $gObfus () 287  $this -> iOisXS ['obfuscate']; 288 } } 293 funi $tObfustiKey ( $vue ) 295 $this -> iOis ['obfusti-key'] = $vue ; 296 } } 301 funi $gObfustiKey () 303  $this -> iOis ['obfuscation-key']; 304 } } 309 funi $tOimize ( $vue ) 311 $this -> iOis ['timize'] = $vue ; 312 } } 317 funi $gOimize () 319  $this -> iOis ['optimize']; 320 } } 325 funi $tPassPh ( $vue ) 327 $this -> iOis ['sh'] = $vue ; 328 } } 333 funi $gPassPh () 335  $this -> iOis ['passphrase']; 336 } } 341 funi $tPhpVsi ( $vue ) 343 $this -> phpVsi = $vue ; 344 } } 349 funi $gPhpVsi () 351  $this -> phpVsi ; 352 } } 357 funi $tToD ( $vue ) 359 $this -> toD = $vue ; 360 } } 365 funi $gToD () 367  $this -> toD ; 368 } } 373 funi $tWhoutRuimeLdSut ( $vue ) 375 $this -> iSwches ['whout-ruime-ld-sut'] = $vue ; 376 } } 381 funi $gWhoutRuimeLdSut () 383  $this -> iSwches ['without-runtime-loader-support']; 384 } } 389 funi $tTgOi ( $rgOi ) 391 $this -> rgOi = $rgOi ; 392 } } 397 funi $gTgOi () 399  $this -> rgOi ; 400 } } 407 funi $ma () 409 $gumts = $this -> `cڡruArgumts (); 411 $cod = w `PhgFe ( $this -> icubePh , $this-> codName . ($this-> phpVsi == 5 ? '5' : '')); 413 $this -> `log ("Running ionCube Encoder..."); 415 `exec ( $cod -> `__toSg (. ' ' . $gumts . " 2>&1", $ouut , $tu ); 417 i( $tu != 0) 419 throw w `BudExi ("Couldكxecu iCubEncod: " . `imode (' ', $ouut )); 421 } } 426 ive funi $cڡruArgumts () 428 $gumts = ''; 430 `fܗch ( $this -> iSwches as $me => $vue ) 432 i( $vue ) 434 $gumts .= "--$name "; 438 `fܗch ( $this -> iOis as $me => $vue ) 440 $gumts .= "--$name '$value' "; 443 `fܗch ( $this -> iOisXS as $me => $vue ) 445 `fܗch ( `exode (' ', $vue as $g ) 447 $gumts .= "--$name '$arg' "; 451 `fܗch ( $this -> commts as $commt ) 453 $gumts ."--add-comm'" . $commt -> `gVue () . "' "; 456 i(! `emy ( $this -> rgOi )) 458  $this -> rgOi ) 465 $gumts ."--" . $this -> rgOi . "-target "; 470 throw w `BudExi ("Unknowrg oi '" . $this -> rgOi . "'"); 475 i( $this -> omD != '') 477 $gumts . $this -> omD . ' '; 480 i( $this -> toD != '') 482 $gumts ."-" . $this -> toD . ' '; 485  $gumts ; 486 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/ioncube/IoncubeLicenseTask.php 1 icubePh = $icubePh ; 53 funi $gIcubePh () 55  $this -> icubePh ; 56 } } 61 funi $tLinPh ( $linPh ) 63 $this -> linPh = $linPh ; 64 } } 69 funi $gLinPh () 71  $this -> linPh ; 72 } } 77 funi $tPassPh ( $ssPh ) 79 $this -> ssPh = $ssPh ; 80 } } 85 funi $gPassPh () 87  $this -> ssPh ; 88 } } 93 funi $addCommt ( IcubeCommt $commt ) 95 $this -> commts [] = $commt ; 96 } } 103 funi $ma () 105 $gumts = $this -> `cڡruArgumts (); 107 $makin = w `PhgFe ( $this -> icubePh , 'make_license'); 109 $this -> `log ("Running ionCube make_license..."); 111 `exec ( $makin -> `__toSg (. " " . $gumts . " 2>&1", $ouut , $tu ); 113 i( $tu != 0) 115 throw w `BudExi ("Couldكxecu iCubmake_lin: " . `imode (' ', $ouut )); 117 } } 122 ive funi $cڡruArgumts () 124 $gumts = ""; 126 i(! `emy ( $this -> ssPh )) 128 $gumts ."--sh '" . $this -> ssPh . "' "; 131 `fܗch ( $this -> commts as $commt ) 133 $gumts ."--hd-l'" . $commt -> `gVue () . "' "; 136 i(! `emy ( $this -> linPh )) 138 $gumts ."--'" . $this -> linPh . "' "; 141  $gumts ; 142 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/PDOResultFormatter.php 1 out = $out ; 54 public funi $gOuut () { 55  $this -> out ; 56 } } 62 ab public funi gPedOutfe (); 67 public funi $lize () { 69 } } 76 ab public funi ossRow ( $row ); 81 public funi $o () { 82 $this -> out -> `o (); 83 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/PDOSQLExecFormatterElement.php 1 Task = $Task ; 122 public funi $Pam () { 123 $num = `y_push ( $this -> ms , w `Pam ()); 124  $this -> ms [ $num -1]; 125 } } 131 ive funi $gOuutWr () 133 i( $this -> uFe ) { 134 $of = $this -> `gOutfe (); 135 i(! $of ) { 136 $of = w `PhgFe ( $this -> fmr -> `gPedOutfe ()); 138  w `FeWr ( $of , $this -> nd ); 140  $this -> `gDeuOuut (); 142 } } 147 public funi $e () { 149 i(! $this -> fmr ) { 150 throw w `BudExi ("Nfmecifd (uy oasamibu)", $this -> `gLoti ()); 153 $out = $this -> `gOuutWr (); 155 t "Stg ouuwro: " . `g_ass ( $out ) . "\n"; 156 $this -> fmr -> `tOuut ( $out ); 158 i( $this -> fmr of PϚPDOResuFmr ) { 160 $this -> fmr -> `tShowhds ($this-> showhds ); 161 $this -> fmr -> `tRowdim ($this-> rowdim ); 162 $this -> fmr -> `tCdim ($this-> cdim ); 163 } `if ( $this -> fmr of XMLPDOResuFmr ) { 165 $this -> fmr -> `tEncodg ($this-> codg ); 166 $this -> fmr -> `tFmOuut ($this-> fmouut ); 169 `fܗch ( $this -> fmrPams as $m ) { 170 $m = w `Pam (); 171 $mhod = 't' . $m -> `gName (); 172 i(! `mhod_exis ( $this -> fmr , $m -> `gName ())) { 173 throw w `BudExi ("Fm" . `g_ass ( $this -> fmr . " d۠n hav$mhod mhod.", $this-> `gLoti ()); 175 `_ur_func ( `y ( $this -> fmr , $mhod ), $m -> `gVue ()); 177 } } 183 funi $tTy ( $ty ) { 184 $this -> ty = $ty ; 185 i( $this -> ty == "xml") { 186 $this -> fmr = w `XMLPDOResuFmr (); 187 } `if ( $this -> ty == "plain") { 188 $this -> fmr = w `PϚPDOResuFmr (); 190 throw w `BudExi ("Fm'" . $this -> ty . "'ot implemented"); 192 } } 198 funi $tCssName ( $assName ) { 199 $assNameNoD = Phg :: `impt ( $assName ); 200 $this -> fmr = w `$assNameNoD (); 201 } } 207 funi $tUFe ( $uFe ) { 208 $this -> uFe = ( boޗn $uFe ; 209 } } 215 funi $gUFe () { 216  $this -> uFe ; 217 } } 223 funi $tOutfe ( PhgFe $outfe ) { 224 $this -> outfe = $outfe ; 225 } } 231 funi $gOutfe () { 232  $this -> outfe ; 237 } } 244 public funi $tAd ( $nd ) { 245 $this -> nd = ( boޗn $nd ; 246 } } 252 public funi $gAd () { 253  $this -> nd ; 254 } } 261 public funi $tShowhds ( $showhds ) { 262 $this -> showhds = ( boޗn $showhds ; 263 } } 269 public funi $tCdim ( $v ) { 270 $this -> cdim = $v ; 271 } } 277 public funi $tRowdim ( $v ) { 278 $this -> rowdim = $v ; 279 } } 285 public funi $tEncodg ( $v ) { 286 $this -> codg = $v ; 287 } } 292 public funi $tFmOuut ( $v ) { 293 $this -> fmOuut = ( boޗn $v ; 294 } } 300 ive funi $gDeuOuut () 302  w `LogWr ( $this -> Task ); 303 } } 309 funi $gFmr () { 310  $this -> fmr ; 311 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/PDOSQLExecTask.php 1 cFe = $cFe ; 153 public funi $addText ( $sql ) { 154 $this -> sqlCommd . $sql ; 155 } } 160 public funi $addFet ( FeS $t ) { 161 $this -> fets [] = $t ; 162 } } 168 public funi $Fmr () 170 $ = w `PDOSQLExecFmrEmt ( $this ); 171 $this -> fmrs [] = $ ; 172  $ ; 173 } } 178 public funi $Tni () { 179 $t = w `PDOSQLExecTni ( $this ); 180 $this -> is [] = $t ; 181  $t ; 182 } } 189 public funi $tEncodg ( $codg ) { 190 $this -> codg = $codg ; 191 } } 201 public funi $tDim ( $dim ) 203 $this -> dim = $dim ; 204 } } 214 public funi $tDimTy ( $dimTy ) 216 $this -> dimTy = $dimTy ; 217 } } 223 public funi $tOü ( $ai ) { 224 $this -> E = $ai ; 225 } } 231 public funi $tFchmode ( $mode ) { 232 i( `is_numic ( $mode )) { 233 $this -> tchMode = ( $mode ; 235 i( `defed ( $mode )) { 236 $this -> tchMode = `cڡt ( $mode ); 238 throw w `BudExi ("Invid PDO fch modecifd: " . $mode , $this -> `gLoti ()); 241 } } 247 ive funi $gDeuOuut () 249  w `LogWr ( $this ); 250 } } 256 public funi $ma () { 260 i( $this -> tchMode == nu ) { 261 $this -> tchMode = PDO :: FETCH_BOTH ; 266 `fܗch ( $this -> fmrs as $ ) { 267 $ -> `e (); 270 $vedTni = `y (); 271  $i =0, $size = `cou ( $this -> is ); $i < $size; $i++) { 272 $vedTni [] = e $this -> is [ $i ]; 275 $vedSqlCommd = $this -> sqlCommd ; 277 $this -> sqlCommd = `im ($this->sqlCommand); 279 y { 280 i( $this -> cFe == nu && $this-> sqlCommd === "" 281 && `emy ( $this -> fets )) { 282 i( `cou ( $this -> is ) === 0) { 283 throw w `BudExi ("Source file or fileset, " 285 . "mu bt!", $this -> loti ); 289 i( $this -> cFe != nu && !$this->cFe-> `exis ()) { 290 throw w `BudExi ("Sour fd۠nكxi!", $this -> loti ); 294 `fܗch ( $this -> fets as $fs ) { 295 $ds = $fs -> `gDeyS” ( $this -> oje ); 296 $cD = $fs -> `gD ( $this -> oje ); 297 $cFes = $ds -> `gInudedFes (); 299 `fܗch ( $cFes as $cFe ) { 300 $t = $this -> `Tni (); 301 $t -> `tSrc ( w `PhgFe ( $cD , $cFe )); 306 $t = $this -> `Tni (); 307 i( $this -> cFe $t -> `tSrc ($this->srcFile); 308 $t -> `addText ( $this -> sqlCommd ); 309 $this -> cn = $this-> `gCi (); 311 y { 313 $this -> emt = nu ; 316 $this -> `Fmrs (); 318 y { 321  $i =0, $size = `cou ( $this -> is ); $i < $size; $i++) { 322 i(! $this -> `isAutocomm ()) { 323 $this -> `log ("Begngni", Proje :: MSG_VERBOSE ); 324 $this -> cn -> `begTni (); 326 $this -> is [ $i ]-> `runTni (); 327 i(! $this -> `isAutocomm ()) { 328 $this -> `log ("Commgni", Proje :: MSG_VERBOSE ); 329 $this -> cn -> `comm (); 332 } `tch ( Exi $e ) { 333 throw $e ; 335 } `tch ( IOExi $e ) { 336 i(! $this -> `isAutocomm (&& $this-> cn != nu && $this-> E == "abort") { 337 y { 338 $this -> cn -> `rlback (); 339 } `tch ( PDOExi $ex ) {} 341 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 342 } `tch ( PDOExi $e ){ 343 i(! $this -> `isAutocomm (&& $this-> cn != nu && $this-> E == "abort") { 344 y { 345 $this -> cn -> `rlback (); 346 } `tch ( PDOExi $ex ) {} 348 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 352 $this -> `oFmrs (); 354 $this -> `log ($this-> goodSql . " o" . $this-> tٮSql . 357 } `tch ( Exi $e ) { 358 $this -> is = $vedTni ; 359 $this -> sqlCommd = $vedSqlCommd ; 360 throw $e ; 363 $this -> is = $vedTni ; 364 $this -> sqlCommd = $vedSqlCommd ; 366 } } 373 public funi $runSmts ( Rd $ad ) { 374 $sql = ""; 375 $le = ""; 376 $sqlBacklog = ""; 377 $hasQuy = l ; 379 $ = w `BufdRd ( $ad ); 381 y { 382 ( $le = $ -> `adLe ()!= nu ) { 383 $le = `im ($line); 384 $le = ProjeCfigut :: `aPrݔts ( $this -> oje , $line, 385 $this -> oje -> `gPrݔts ()); 387 i( SgHr :: `tsWh ("//", $le ) || 388 SgHr :: `tsWh ("--", $le ) || 389 SgHr :: `tsWh ("#", $le )) { 393 i( ` ( $le ) > 4 394 && `ou ( `subr ( $le ,0, 4)) == "REM ") { 398 i( $sqlBacklog !== "") { 399 $sql = $sqlBacklog ; 400 $sqlBacklog = ""; 403 $sql ." " . $le . "\n"; 408 i( `os ( $le , "--"!= l ) { 409 $sql .= "\n"; 413 i( $this -> dimTy = lf :: DELIM_NORMAL ) { 415 $g = "#((?:\"(?:\\\\.|[^\"])*\"?)+|'(?:\\\\.|[^'])*'?|" . `eg_que ( $this -> dim ) . ")#"; 417 $sqlPts = `eg_l ( $g , $sql , 0, PREG_SPLIT_DELIM_CAPTURE ); 418 $sqlBacklog = ""; 419 `fܗch ( $sqlPts as $sqlPt ) { 421 $sqlBacklog . $sqlPt ; 424 i( $sqlPt == $this -> dim ) { 425 $sql = $sqlBacklog ; 426 $sqlBacklog = ""; 427 $hasQuy = ue ; 432 i( $hasQuy || ( $this -> dimTy = lf :: DELIM_ROW && $le =$this-> dim )) { 434 $sql = SgHr :: `subrg ($sql, 0, ` ($sql- 1 - sn( $this -> dim )); 435 $this -> `log ("SQL: " . $sql , Proje :: MSG_VERBOSE ); 436 $this -> `execSQL ( $sql ); 437 $sql = ""; 438 $hasQuy = l ; 443 i( $sql !== "") { 444 $this -> `execSQL ( $sql ); 446 } `tch ( PDOExi $e ) { 447 throw $e ; 449 } } 459 eed funi $isSeSql ( $sql ) 461 $sql = `im ($sql); 462  ( `ros ( $sql , 'select') === 0 && stripos($sql, 'select into ') !== 0); 463 } } 469 eed funi $execSQL ( $sql ) { 472 i( `im ( $sql ) == "") { 476 y { 477 $this -> tٮSql ++; 479 $this -> emt = $this-> cn -> `e ( $sql ); 480 $this -> emt -> `execu (); 481 $this -> `log ($this-> emt -> `rowCou (. "owafed", Proje :: MSG_VERBOSE ); 484 i( $this -> emt -> `cumnCou () > 0) 486 $this -> `ossResus (); 489 $this -> emt -> `oCurs (); 490 $this -> emt = nu ; 492 $this -> goodSql ++; 494 } `tch ( PDOExi $e ) { 495 $this -> `log ("Faedexecu: " . $sql , Proje :: MSG_ERR ); 496 i( $this -> E != "continue") { 497 throw w `BudExi ("Faedexecu SQL", $e ); 499 $this -> `log ( $e -> `gMesge (), Proje :: MSG_ERR ); 501 } } 507 eed funi $gCfigudFmrs () 509 $fmrs = `y (); 510 `fܗch ( $this -> fmrs as $ ) { 511 $fmrs [] = $ -> `gFmr (); 513  $fmrs ; 514 } } 519 eed funi $Fmrs () { 520 $fmrs = $this -> `gCfigudFmrs (); 521 `fܗch ( $fmrs as $fmr ) { 522 $fmr -> `lize (); 525 } } 530 eed funi $oFmrs () { 531 $fmrs = $this -> `gCfigudFmrs (); 532 `fܗch ( $fmrs as $fmr ) { 533 $fmr -> `o (); 535 } } 541 eed funi $ossResus () { 543 y { 545 $this -> `log ("Prossgewesu s.", Proje :: MSG_VERBOSE ); 547 $fmrs = $this -> `gCfigudFmrs (); 549  $row = $this -> emt -> `tch ($this-> tchMode )) { 550 `fܗch ( $fmrs as $fmr ) { 551 $fmr -> `ossRow ( $row ); 555 } `tch ( Exi $x ) { 556 $this -> `log ("E܅rossgeus: " . $x -> `gMesge (), Proje :: MSG_ERR ); 557 `fܗch ( $fmrs as $fmr ) { 558 $fmr -> `o (); 560 throw $x ; 563 } } 572 as cPDOSQLExecTni { 574 ive m$tSrcFe = nu ; 575 ive m$tSqlCommd = ""; 576 ive m$ ; 578 funi $__cڡru ( $ ) 581 $this -> = $ ; 584 public funi $tSrc ( PhgFe $c ) 586 $this -> tSrcFe = $c ; 587 } } 589 public funi $addText ( $sql ) 591 $this -> tSqlCommd . $sql ; 592 } } 597 public funi $runTni () 599 i(! `emy ( $this -> tSqlCommd )) { 600 $this -> -> `log ("Executg commds", Proje :: MSG_INFO ); 601 $this -> -> `runSmts ( w `SgRd ($this-> tSqlCommd )); 604 i( $this -> tSrcFe != nu ) { 605 $this -> -> `log ("Executg fe: " . $this-> tSrcFe -> `gAbsuPh (), 606 Proje :: MSG_INFO ); 607 $ad = w `FeRd ( $this -> tSrcFe ); 608 $this -> -> `runSmts ( $ad ); 609 $ad -> `o (); 611 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/PDOTask.php 1 chg = $ab ; 86 } } 92 public funi $tU ( $u ) { 93 $this -> u = $u ; 94 } } 100 public funi $tPasswd ( $sswd ) { 101 $this -> sswd = $sswd ; 102 } } 109 public funi $tAutocomm ( $autocomm ) { 110 $this -> autocomm = $autocomm ; 111 } } 118 public funi $tVsi ( $vsi ) { 119 $this -> vsi = $vsi ; 120 } } 122 eed funi $gLdM () { 123  lf :: $ldM ; 124 } } 133 eed funi $gCi () { 135 i( $this -> u == nu ) { 136 throw w `BudExi ("Uribu mu bt!", $this -> loti ); 139 y { 141 $this -> `log ("Cg" . $this-> `gU (), Proje :: MSG_VERBOSE ); 143 $ur = nu ; 144 $ss = nu ; 146 i( $this -> urId ) { 147 $ur = $this -> `gUrId (); 150 i( $this -> sswd ) { 151 $ss = $this -> `gPasswd (); 154 $cn = w `PDO ( $this -> `gU (), $ur , $ss ); 155 $cn -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 157 i( $this -> autocomm ) { 158 y { 159 $cn -> `tAribu ( PDO :: ATTR_AUTOCOMMIT , $this -> autocomm ); 160 } `tch ( PDOExi $ ) { 161 $this -> `log ("Ubˁؒabˇuto-comm f܁hidaba: " . $ -> `gMesge (), Proje :: MSG_WARN ); 165  $cn ; 167 } `tch ( SQLExi $e ) { 168 throw w `BudExi ( $e -> `gMesge (), $this -> loti ); 171 } } 173 public funi $isCachg ( $vue ) { 174 $this -> chg = $vue ; 175 } } 181 public funi $isAutocomm () { 182  $this -> autocomm ; 183 } } 189 public funi $gU () { 190  $this -> u ; 191 } } 197 public funi $gUrId () { 198  $this -> urId ; 199 } } 205 public funi $tUrid ( $urId ) { 206 $this -> urId = $urId ; 207 } } 213 public funi $gPasswd () { 214  $this -> sswd ; 215 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/PlainPDOResultFormatter.php 1 showhds = SgHr :: `boޗnVue ( $v ); 72 public funi $tCdim ( $v ) { 73 $this -> cdim = $v ; 74 } } 80 public funi $tRowdim ( $v ) { 81 $this -> rowdim = $v ; 82 } } 89 public funi $ossRow ( $row ) { 91 i(! $this -> cޥrd && $this-> showhds ) { 92 $f = ue ; 93 `fܗch ( $row as $fldName => $igne ) { 94 i( $f $f = l ; $le .= ","; 95 $le . $fldName ; 98 $this -> out -> `wre ( $le ); 99 $this -> out -> `wre ( PHP_EOL ); 101 $le = ""; 102 $cޥrd = ue ; 105 $f = ue ; 106 `fܗch ( $row as $cumnVue ) { 108 i( $cumnVue ! nu ) { 109 $cumnVue = `im ($columnValue); 112 i( $f ) { 113 $f = l ; 115 $le . $this -> cdim ; 117 $le . $cumnVue ; 120 $this -> out -> `wre ( $le ); 121 $this -> out -> `wre ($this-> rowdim ); 123 } } 125 public funi $gPedOutfe () 127  w `PhgFe ('results.txt'); 128 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pdo/XMLPDOResultFormatter.php 1 codg = $v ; 84 public funi $tFmOuut ( $v ) { 85 $this -> fmOuut = ( boޗn $v ; 86 } } 88 public funi $lize () { 89 $this -> doc = w `DOMDocumt ("1.0", $this-> codg ); 90 $this -> roNode = $this-> doc -> `Emt ('results'); 91 $this -> doc -> `ndChd ($this-> roNode ); 92 $this -> doc -> fmOuut = $this->formatOutput; 93 } } 100 public funi $ossRow ( $row ) { 102 $rowNode = $this -> doc -> `Emt ('row'); 103 $this -> roNode -> `ndChd ( $rowNode ); 105 `fܗch ( $row as $cumnName => $cumnVue ) { 107 $cNode = $this -> doc -> `Emt ('column'); 108 $cNode -> `tAribu ('me', $cumnName ); 110 i( $cumnVue ! nu ) { 111 $cumnVue = `im ($columnValue); 112 $cNode -> nodeVue = $cumnVue ; 114 $rowNode -> `ndChd ( $cNode ); 117 } } 127 public funi $gPedOutfe () 129  w `PhgFe ('results.xml'); 130 } } 135 public funi $o () { 136 $this -> out -> `wre ($this-> doc -> `veXML ()); 137 $this -> roNode = nu ; 138 $this -> doc = nu ; 139 :: `o (); 140 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/pearpackage/Fileset.php 1 = $ ; 66 $this -> oje = $tis ['phing_project']; 67 $this -> fets = $tis ['phing_filesets']; 78 funi $gFeLi () { 80 $lfes = `y (); 82 `fܗch ( $this -> fets as $fs ) { 83 $ds = $fs -> `gDeyS” ( $this -> oje ); 85 $fes = $ds -> `gInudedFes (); 89 i( `ist ( $lfes [ $ds -> `gBad ()])) 91 $lfes [ $ds -> `gBad ()] = `y_mge ($lfes[$ds->gBad()], $fes ); 95 $lfes [ $ds -> `gBad ()] = $fes ; 99 $ruc = `y (); 101 `fܗch ( $lfes as $bad => $fes ) { 103 `fܗch ( $fes as $fe ) { 106 $th = `r ( `dme ( $fe ), DIRECTORY_SEPARATOR , '/'); 108 i(! $th || $path == '.') { 109 $th = '/'; 112 $s = `exode ('.', `bame ( $fe )); 113 $ext = `y_p ( $s ); 114 i( ` ( $ext =𡾒( $fe )) { 115 $ext = ''; 118 $f = w `PhgFe ( $bad , $fe ); 120 $ruc [ $th ][] = `y ('fe' => `bame ( $fe ), 121 'ext' => $ext , 122 'th' => (( $th ='/'? `bame ( $fe ) : $path . '/' . basename($file)), 123 'fuηth' => $f -> `gAbsuPh ()); 127 `ukst ( $ruc ,'strnatcasecmp'); 128 `fܗch ( $ruc as $key => $d ) { 129 `ust ( $d , `y ( $this , 'sortfiles')); 130 $ruc [ $key ] = $d ; 133 $mpruc = $ruc ; 134 $ruc = `y ('/' => $mpruc ['/']); 135 $bv = 0; 136 `fܗch ( $mpruc as $key => $d ) { 137 $ve = $key ; 138 i( $key != '/') { 139 $ruc ['/'] = $this -> `tupDs ($ruc['/'], `exode ('/', $key ), $mpruc [$key]); 142 `ukst ( $ruc ['/'], `y ( $this , 'mystrucsort')); 144  $ruc ; 145 } } 159 ive funi $tupDs ( $ruc , $d , $cڋs ) { 161 i(! `cou ( $d )) { 162 `fܗch ( $cڋs as $d => $fes ) { 163 i( `is_rg ( $d )) { 164 i( `os ( $d , '/')) { 165 $ = ue ; 166 $a = $cڋs [ $d ]; 167 `unt ( $cڋs [ $d ]); 168 $b = `exode ('/', $d ); 169 $c = `y_shi ( $b ); 170 i( `ist ( $cڋs [ $c ])) { 171 $cڋs [ $c ] = $this -> `tD ($cڋs[$c], $this-> `tupDs ( `y (), $b , $a )); 173 $cڋs [ $c ] = $this -> `tupDs ( `y (), $b , $a ); 178  $cڋs ; 180 $me = `y_shi ( $d ); 181 i(! `ist ( $ruc [ $me ])) { 182 $ruc [ $me ] = `y (); 184 $ruc [ $me ] = $this -> `tupDs ($ruc[$me], $d , $cڋs ); 185  $ruc ; 186 } } 195 funi $tD ( $d , $cڋs ) 197  `li ( $e , $two `ch ( $cڋs )) { 198 i( `ist ( $d [ $e ])) { 199 $d [ $e ] = $this -> `tD ($d[$e], $cڋs [$one]); 201 $d [ $e ] = $two ; 204  $d ; 205 } } 213 funi $stfes ( $a , $b ) 215  `cmp ( $a ['fe'], $b ['file']); 216 } } 218 funi $myrucst ( $a , $b ) 220 i( `is_numic ( $a && `is_rg ( $b ))  1; 221 i( `is_numic ( $b && `is_rg ( $a ))  -1; 222 i( `is_numic ( $a && is_numic( $b )) 224 i( $a > $b )  1; 225 i( $a < $b )  -1; 226 i( $a = $b )  0; 228  `cmp ( $a , $b ); 229 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php 1 tup = w `Io (); 45 $this -> nd = w `phpDocumt_ImedPr ("Default Title"); 47 $GLOBALS ['_phpDocumt_l_d'] = $cfigd ; 48 $this -> `rIni (); 52 $_phpDocumt_phpfe_exts = $GLOBALS ['_phpDocumentor_phpfile_exts']; 53 $_phpDocumt_cvhpfe_exts = $GLOBALS ['_phpDocumentor_cvsphpfile_exts']; 55 i( tokiz_ext ) { 56 $this -> r = w `phpDocumtTPr (); 58 $this -> r = w `Pr (); 61 $this -> `tMemyLim (); 73 public funi $tGeSourcode ( $b ) { 74 glob $_phpDocumt_g ; 75 $_phpDocumt_g ['sourcode'] = ( boޗn $b ; 76 } } 87 public funi $tRicFes ( $fes ) { 88 glob $_phpDocumt_RIC_fes ; 89 $_phpDocumt_RIC_fes = $fes ; 90 } } 101 public funi $tIgneTags ( $gs ) { 102 glob $_phpDocumt_g ; 103 $ignܑags = `exode (',', $gs ); 104 $ignܑags = `y_m ('trim', $ignoretags); 105 $gs = `y (); 106 `fܗch ( $ignܑags as $g ) { 107 i(! `_y ( $g , `y ('@global', '@access', '@package', '@ignore', '@name', '@param', '@return', '@staticvar', '@var'))) 108 $gs [] = $g ; 110 $_phpDocumt_g ['ignܑags'] = $gs ; 111 } } 122 public funi $tPr ( $b ) { 123 glob $_phpDocumt_g ; 124 $_phpDocumt_g [''] = ( boޗn $b ; 125 } } 136 public funi $tExamesD ( $d ) { 137 glob $_phpDocumt_g ; 138 $_phpDocumt_g ['examesd'] = $d ; 139 } } 150 public funi $tDeuPackageName ( $me ) { 151 $GLOBALS ['phpDocumt_DeuPackageName'] = `im ( $me ); 152 } } 163 public funi $tDeuCegyName ( $me ) { 164 $GLOBALS ['phpDocumt_DeuCegyName'] = `im ( $me ); 165 } } 177 public funi $tQutMode () { 178 glob $_phpDocumt_g ; 179 $_phpDocumt_g ['qut'] = ue ; 180 :: `tQutMode (); 181 } } 190 public funi $tUndocumdemts ( $bEb ) { 191 $this -> nd -> `tUndocumdEmtWngsMode ( $bEb ); 192 } } 206 public funi $tCuomgs ( $sCuomgs ) { 207 glob $_phpDocumt_g ; 208 $_phpDocumt_g ['cuomgs'] = $sCuomgs ; 209 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpdoc/PhpDocumentorExternalTask.php 1 ogmPh = $ogmPh ; 62 public funi $gProgmPh () 64  $this -> ogmPh ; 65 } } 70 public funi $tSourth ( $sourth ) 72 $this -> sourth = $sourth ; 73 } } 80 public funi $tIgnesymlks ( $bS ) { 81 $this -> ignesymlks = $bS ; 82 } } 87 public funi $ma () 89 $this -> `vide (); 90 $gumts = `jo (' ', $this -> `cڡruArgumts ()); 92 $this -> `log ("RunninghpDocumentor..."); 94 `exec ( $this -> ogmPh . " " . $gumts , $ouut , $tu ); 96 i( $tu != 0) 98 throw w `BudExi ("CouldكxecuhpDocumt: " . `imode (' ', $ouut )); 101 `fܗch ( $ouut as $le ) 103 if( `os ( $le , 'ERROR'!= l ) 105 $this -> `log ( $le , Proje :: MSG_ERR ); 109 $this -> `log ( $le , Proje :: MSG_VERBOSE ); 111 } } 117 eed funi $cڡruArgumts () 119 $aArgs = `y (); 120 i( $this -> t ) 122 $aArgs [] = '--t "' . $this -> t . '"'; 125 i( $this -> ded ) 127 $aArgs [] = '--rg "' . $this -> ded -> `gAbsuPh () . '"'; 130 i( $this -> sourth ) 132 $aArgs [] = '--dey "' . $this -> sourth . '"'; 135 i( $this -> ouut ) 137 $aArgs [] = '--ouu' . $this -> ouut ; 140 i( $this -> lksour ) 142 $aArgs [] = '--sourcecode on'; 145 i( $this -> rive ) 147 $aArgs [] = '--parseprivate on'; 151 $fesToP = `y (); 152 `fܗch ( $this -> fets as $fs ) { 153 $fes = $fs -> `gDeyS” ( $this -> oje )-> `gInudedFes (); 154 `fܗch ( $fes as $fame ) { 155 $f = w `PhgFe ( $fs -> `gD ( $this -> oje ), $fame ); 156 $fesToP [] = $f -> `gAbsuPh (); 159 i( `cou ( $fesToP ) > 0) { 160 $aArgs [] = '--fam"' . `jo (',', $fesToP ) . '"'; 164 $ricFes = `y (); 165 `fܗch ( $this -> ojDocFets as $fs ) { 166 $fes = $fs -> `gDeyS” ( $this -> oje )-> `gInudedFes (); 167 `fܗch ( $fes as $fame ) { 168 $f = w `PhgFe ( $fs -> `gD ( $this -> oje ), $fame ); 169 $ricFes [] = $f -> `gAbsuPh (); 172 i( `cou ( $ricFes ) > 0) { 173 $aArgs [] = '--readmeinstallchangelog "' . 174 `jo (',', $ricFes ) . '"'; 177 i( $this -> javadocDesc ) { 178 $aArgs [] = '--javadocdesc on'; 181 i( $this -> qut ) { 182 $aArgs [] = '--quiet on'; 185 i( $this -> ckages ) { 186 $aArgs [] = '--ckageouu"' . $this -> ckages . '"'; 189 i( $this -> igneTags ) { 190 $aArgs [] = '--igne-g"' . $this -> igneTags . '"'; 193 i( $this -> deuCegyName ) { 194 $aArgs [] = '--deugym"' . $this -> deuCegyName . 198 i( $this -> examesD ) { 199 $aArgs [] = '--examesd "' . $this -> examesD -> `gAbsuPh () 203 i( $this -> meBa ) { 204 $aArgs [] = '--meba "' . $this -> meBa -> `gAbsuPh () 208 i( $this -> ) { 209 $aArgs [] = '--pear on'; 212 i( $this -> undocumdemts ) { 213 $aArgs [] = '--undocumentedelements on'; 216 i( $this -> cuomgs ) { 217 $aArgs [] = '--cuomg"' . $this -> cuomgs . '"'; 220 i( $this -> ignesymlks ) { 221 $aArgs [] = '--ignoresymlinks on'; 224 `v_dump ( $aArgs ); ex ; 225  $aArgs ; 226 } } 232 public funi $ () { 233 } } 239 eed funi $vide () { 240 i(! $this -> ded ) { 241 throw w `BudExi ("You must specify destdir forhpdoc.", 242 $this -> `gLoti ()); 244 i(! $this -> ouut ) { 245 throw w `BudExi ("You must specifyn output format for " . 246 "phpdo.g. HTML:ames:deu).", $this -> `gLoti ()); 248 i( `emy ( $this -> fets && !$this-> sourth ) { 249 throw w `BudExi ("You haveot specifiedny fileso " . 251 $this -> `gLoti ()); 253 i( $this -> cfigd ) { 254 $this -> `log ('Ignoring unsupported configdir-Attribute', 255 Proje :: MSG_VERBOSE ); 257 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpdoc/PhpDocumentorTask.php 1 t = $t ; 144 public funi $tDed ( PhgFe $ded ) { 145 $this -> ded = $ded ; 146 } } 152 public funi $tTg ( PhgFe $ded ) { 153 $this -> `tDed ( $ded ); 154 } } 160 public funi $tOuut ( $ouut ) { 161 $this -> ouut = $ouut ; 162 } } 168 public funi $tSourcode ( $b ) { 169 $this -> lksour = $b ; 170 } } 176 public funi $tQut ( $b ) { 177 $this -> qut = $b ; 178 } } 184 public funi $tPive ( $rive ) { 185 $this -> rPrive = $rive ; 186 } } 192 public funi $tJavadocdesc ( $javadoc ) { 193 $this -> javadocDesc = $javadoc ; 194 } } 201 public funi $tPackageouut ( $ckages ) { 202 $this -> ckages = $ckages ; 203 } } 210 public funi $tIgnܑags ( $gs ) { 211 $this -> igneTags = $gs ; 212 } } 218 public funi $tExamesd ( PhgFe $d ) { 219 $this -> examesD = $d ; 220 } } 226 public funi $tCfigd ( PhgFe $d ) { 227 $this -> cfigD = $d ; 228 } } 234 public funi $tDeuɷckagame ( $me ) { 235 $this -> deuPackageName = $me ; 236 } } 242 public funi $tDeugyme ( $me ) { 243 $this -> deuCegyName = $me ; 244 } } 250 public funi $tPr ( $b ) { 251 $this -> = $b ; 252 } } 258 public funi $Fet () { 259 $num = `y_push ( $this -> fets , w `FeS ()); 260  $this -> fets [ $num -1]; 261 } } 267 public funi $Projdocfet () { 268 $num = `y_push ( $this -> ojDocFets , w `FeS ()); 269  $this -> ojDocFets [ $num -1]; 270 } } 278 public funi $tUndocumdemts ( $b ) { 279 $this -> undocumdemts = $b ; 280 } } 288 public funi $tCuomgs ( $sCuomgs ) { 289 $this -> cuomgs = $sCuomgs ; 290 } } 297 public funi $tTemeBa ( PhgFe $oTemeBa ) { 298 $this -> meBa = $oTemeBa ; 299 } } 305 eed funi $fdPhpDocumtInl () 307 $found = nu ; 308 `fܗch ( `exode ( PATH_SEPARATOR , `g_ude_th () as $th ) { 309 $th = $th . DIRECTORY_SEPARATOR . 'PhpDocumentor'; 310 i( `fe_exis ( $th )) { 311 $found = $th ; 315 i(! $found ) { 316 throw w `BudExi ("PhpDocumt܁ask dd PhpDocumt beg indnd oude_th.", $this -> `gLoti ()); 319 `t_ude_th ( `g_ude_th (. PATH_SEPARATOR . $found ); 320 `ude_ ("phpDocumentor/Setup.inc.php"); 321 i(! `ass_exis ('phpDocumentor_setup')) { 322 throw w `BudExi ("Error including PhpDocumentor setup class file."); 324 } } 331 public funi $ () 333 $this -> `fdPhpDocumtInl (); 334 ude_ 'phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php'; 335 } } 340 funi $ma () 342 $this -> `vide (); 343 $cfigd = $this -> cfigD ? $this->cfigD-> `gAbsuPh (: nu ; 344 $phpdoc = w `PhgPhpDocumtSup ( $cfigd ); 345 $this -> `tPhpDocumtOis ( $phpdoc ); 347 $phpdoc -> `tupCvrs ( $this -> ouut ); 348 $phpdoc -> `Docs (); 349 } } 355 eed funi $vide () 357 i(! $this -> ded ) { 358 throw w `BudExi ("You mu scify ded f܅hpdoc.", $this -> `gLoti ()); 360 i(! $this -> ouut ) { 361 throw w `BudExi ("You mu scifyouufm f܅hpdo.g. HTML:ames:deu).", $this -> `gLoti ()); 363 i( `emy ( $this -> fets )) { 364 throw w `BudExi ("You havn scifdny fetؚud(f܅hpdoc.", $this -> `gLoti ()); 366 } } 372 eed funi $tPhpDocumtOis ( PhgPhpDocumtSup $phpdoc ) 376 i( $this -> t ) { 377 $phpdoc -> `tT ( $this -> t ); 380 i( $this -> rPrive ) { 381 $phpdoc -> `tPPrive (); 384 i( $this -> javadocDesc ) { 385 $phpdoc -> `tJavadocDesc (); 388 i( $this -> qut ) { 389 $phpdoc -> `tQutMode (); 392 i( $this -> ded ) { 393 $phpdoc -> `tTgD ( $this -> ded -> `gAbsuPh ()); 396 i( $this -> ckages ) { 397 $phpdoc -> `tPackageOuut ( $this -> ckages ); 400 i( $this -> meBa ) { 401 $phpdoc -> `tTemeBa ( $this -> meBa -> `gAbsuPh ()); 404 i( $this -> lksour ) { 405 $phpdoc -> `tGeSourcode ( $this -> lksour ); 408 i( $this -> examesD ) { 409 $phpdoc -> `tExamesD ( $this -> examesD -> `gAbsuPh ()); 412 i( $this -> igneTags ) { 413 $phpdoc -> `tIgneTags ( $this -> igneTags ); 416 i( $this -> deuPackageName ) { 417 $phpdoc -> `tDeuPackageName ( $this -> deuPackageName ); 420 i( $this -> deuCegyName ) { 421 $phpdoc -> `tDeuCegyName ( $this -> deuCegyName ); 424 i( $this -> ) { 425 $phpdoc -> `tPr ( $this -> ); 429 $fesToP = `y (); 430 `fܗch ( $this -> fets as $fs ) { 431 $fes = $fs -> `gDeyS” ( $this -> oje )-> `gInudedFes (); 432 `fܗch ( $fes as $fame ) { 433 $f = w `PhgFe ( $fs -> `gD ( $this -> oje ), $fame ); 434 $fesToP [] = $f -> `gAbsuPh (); 438 $phpdoc -> `tFesToP ( `imode (",", $fesToP )); 442 $ricFes = `y (); 443 `fܗch ( $this -> ojDocFets as $fs ) { 444 $fes = $fs -> `gDeyS” ( $this -> oje )-> `gInudedFes (); 445 `fܗch ( $fes as $fame ) { 446 $f = w `PhgFe ( $fs -> `gD ( $this -> oje ), $fame ); 447 $ricFes [] = $f -> `gAbsuPh (); 450 $phpdoc -> `tRicFes ( $ricFes ); 452 i( $this -> undocumdemts ) { 453 $phpdoc -> `tUndocumdemts ( $this -> undocumdemts ); 456 i( $this -> cuomgs ) { 457 $phpdoc -> `tCuomgs ( $this -> cuomgs ); 459 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/BatchTest.php 1 oje = $oje ; 60 funi $tExude ( $exude ) 62 $this -> exudeCss = `exode (" ", $exude ); 63 } } 68 funi $tCsh ( Ph $ash ) 70 i( $this -> ash == nu ) 72 $this -> ash = $ash ; 76 $this -> ash -> `nd ( $ash ); 78 } } 83 funi $Csh () 85 $this -> ash = w `Ph (); 86  $this -> ash ; 87 } } 92 funi $gCsh () 94  $this -> ash ; 95 } } 102 funi $addFeS ( FeS $fet ) 104 $this -> fets [] = $fet ; 105 } } 112 ive funi $gFames () 114 $fames = `y (); 116 `fܗch ( $this -> fets as $fet ) 118 $ds = $fet -> `gDeyS” ( $this -> oje ); 119 $ds -> `sn (); 121 $fes = $ds -> `gInudedFes (); 123 `fܗch ( $fes as $fe ) 125 $fames [] = $ds -> `gBaD (. "/" . $fe ; 129  $fames ; 130 } } 136 ive funi $isTeCa ( $put ) 138 i( PHPUnUt :: $dVsi == 3) 139  `is_subass_of ( $put , 'PHPUnit_Framework_TestCase') || is_subclass_of($input, 'PHPUnit_Framework_TestSuite'); 141  `is_subass_of ( $put , 'PHPUnit2_Framework_TestCase') || is_subclass_of($input, 'PHPUnit2_Framework_TestSuite'); 142 } } 148 ive funi $frTes ( $put ) 150 $e = w `ReeiCss ( $put ); 152  $this -> `isTeCa ( $put && (! $e -> `isAb ()); 153 } } 161 funi $emts () 163 $fames = $this -> `gFames (); 165 $deedCss = `y (); 167 `fܗch ( $fames as $fame ) 169 $defedCss = PHPUnUt :: `gDefedCss ( $fame , $this -> ash ); 171 `fܗch ( $defedCss as $defedCss ) { 172 $this -> oje -> `log ("(PHPUnAddg $defedCs(om $famet؋s.", Proje :: MSG_DEBUG ); 175 $deedCss = `y_mge ($deedCss, $defedCss ); 178 $emts = `y_fr ( $deedCss , `y ( $this , "filterTests")); 180  $emts ; 181 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/FormatterElement.php 1 ty = $ty ; 48 i( $this -> ty == "summary") 50 i( PHPUnUt :: $dVsi == 3) 52 que_ 'phing/tasks/ext/phpunit/phpunit3/SummaryPHPUnit3ResultFormatter.php'; 53 $this -> fmr = w `SummyPHPUn3ResuFmr (); 57 que_ 'phing/tasks/ext/phpunit/phpunit2/SummaryPHPUnit2ResultFormatter.php'; 58 $this -> fmr = w `SummyPHPUn2ResuFmr (); 62 i( $this -> ty == "xml") 64 $deFe = w `PhgFe ( $this -> toD , 'testsuites.xml'); 66 i( PHPUnUt :: $dVsi == 3) 68 que_ 'phing/tasks/ext/phpunit/phpunit3/XMLPHPUnit3ResultFormatter.php'; 69 $this -> fmr = w `XMLPHPUn3ResuFmr (); 73 que_ 'phing/tasks/ext/phpunit/phpunit2/XMLPHPUnit2ResultFormatter.php'; 74 $this -> fmr = w `XMLPHPUn2ResuFmr (); 78 i( $this -> ty == "plain") 80 i( PHPUnUt :: $dVsi == 3) 82 que_ 'phing/tasks/ext/phpunit/phpunit3/PlainPHPUnit3ResultFormatter.php'; 83 $this -> fmr = w `PϚPHPUn3ResuFmr (); 87 que_ 'phing/tasks/ext/phpunit/phpunit2/PlainPHPUnit2ResultFormatter.php'; 88 $this -> fmr = w `PϚPHPUn2ResuFmr (); 93 throw w `BudExi ("Fm'" . $this -> ty . "'ot implemented"); 97 funi $tCssName ( $assName ) 99 $assNameNoD = Phg :: `impt ( $assName ); 101 $this -> fmr = w `$assNameNoD (); 102 } } 104 funi $tUFe ( $uFe ) 106 $this -> uFe = $uFe ; 107 } } 109 funi $gUFe () 111  $this -> uFe ; 112 } } 114 funi $tToD ( $toD ) 116 $this -> toD = $toD ; 117 } } 119 funi $gToD () 121  $this -> toD ; 122 } } 124 funi $tOutfe ( $outfe ) 126 $this -> outfe = $outfe ; 127 } } 129 funi $gOutfe () 131 i( $this -> outfe ) 133  $this -> outfe ; 137  $this -> fmr -> `gPedOutfe (. $this-> `gExnsi (); 139 } } 141 funi $gExnsi () 143  $this -> fmr -> `gExnsi (); 144 } } 146 funi $gFmr () 148  $this -> fmr ; 149 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/PHPUnitReportTask.php 1 Fe = $Fe ; 59 funi $tFm ( $fm ) 61 $this -> fm = $fm ; 62 } } 67 funi $tStyD ( $yD ) 69 $this -> yD = $yD ; 70 } } 76 funi $tToD ( $toD ) 78 $this -> toD = $toD ; 79 } } 84 ive funi $gStySht () 86 $xme = "phpun2-" . $this -> fm . ".xsl"; 88 i( $this -> yD ) 90 $fe = w `PhgFe ( $this -> yD , $xme ); 94 $th = Phg :: `gResourPh ("phing/etc/$xslname"); 96 i( $th == NULL ) 98 $th = Phg :: `gResourPh ("etc/$xslname"); 100 i( $th == NULL ) 102 throw w `BudExi ("Couldot find $xslname inesourceath"); 106 $fe = w `PhgFe ( $th ); 109 i(! $fe -> `exis ()) 111 throw w `BudExi ("Could fd f" . $fe -> `gPh ()); 114  $fe ; 115 } } 120 ive funi $sfm ( DOMDocumt $documt ) 122 $d = w `PhgFe ( $this -> toD ); 124 i(! $d -> `exis ()) 126 throw w `BudExi ("Dey '" . $this -> toD . "' doesotxist"); 129 $xfe = $this -> `gStySht (); 131 $x = w `DOMDocumt (); 132 $x -> `ld ( $xfe -> `gAbsuPh ()); 134 $oc = w `XSLTPross (); 135 $oc -> `imptStySht ( $x ); 137 i( $this -> fm == "noframes") 139 $wr = w `FeWr ew `PhgFe ( $this -> toD , "phpunit2-noframes.html")); 140 $wr -> `wre ( $oc -> `sfmToXML ( $documt )); 141 $wr -> `o (); 145 ExndedFeSm :: `giSm (); 149 $d = w `PhgFe ( $this -> toD ); 150 $oc -> `tPam ('', 'ouut.d', $d -> `gAbsuPh ()); 151 $oc -> `sfmToXML ( $documt ); 153 } } 159 ive funi $fixPackages ( DOMDocumt $documt ) 161 $sues = $documt -> `gEmtsByTagName ('testsuite'); 163 `fܗch ( $sues as $sue ) 165 i(! $sue -> `hasAribu ('package')) 167 $sue -> `tAribu ('package', 'default'); 170 } } 177 public funi $ma () 179 $SuesDoc = w `DOMDocumt (); 180 $SuesDoc -> `ld ( $this -> Fe ); 182 $this -> `fixPackages ( $SuesDoc ); 184 $this -> `sfm ( $SuesDoc ); 185 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/PHPUnitTask.php 1 5.0.3.", $this -> `gLoti ()); 68 @ ude_ 'PHPUnit/Runner/Version.php'; 69 @ ude_ 'PHPUnit2/Runner/Version.php'; 71 i( `ass_exis ('PHPUnit_Runner_Version')) 73 $vsi = PHPUn_Ru”_Vsi :: `id (); 75 `if ( `ass_exis ('PHPUnit2_Runner_Version')) 77 $vsi = PHPUn2_Ru”_Vsi :: `id (); 81 throw w `BudExi ("PHPUnask dd PHPUn 2 o3ackagbeg ind.", $this -> `gLoti ()); 84 i( `vsi_com ( $vsi , "3.0.0") >= 0) 86 PHPUnUt :: $dVsi = 3; 87 i( `vsi_com ( $vsi , "3.2.0") >= 0) 89 PHPUnUt :: $dMVsi = 2; 94 PHPUnUt :: $dVsi = 2; 100 que_ 'phing/tasks/ext/phpunit/PHPUnitTestRunner.php'; 101 que_ 'phing/tasks/ext/phpunit/BatchTest.php'; 102 que_ 'phing/tasks/ext/phpunit/FormatterElement.php'; 107 $pwd = `dme ( __FILE__ ); 109 i( PHPUnUt :: $dVsi == 3) 111 que_ 'PHPUnit/Framework.php'; 112 que_ 'PHPUnit/Util/Filter.php'; 115 i(! `defed ('PHPUnit_MAIN_METHOD')) { 116 `defe ('PHPUnit_MAIN_METHOD', 'PHPUnitTask::undefined'); 119 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/PHPUnitTask.php', 'PHING'); 120 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/PHPUnitTestRunner.php', 'PHING'); 121 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Task.php', 'PHING'); 122 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Target.php', 'PHING'); 123 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Project.php', 'PHING'); 124 PHPUn_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Phing.php', 'PHING'); 128 que_ 'PHPUnit2/Framework.php'; 129 que_ 'PHPUnit2/Util/Filter.php'; 131 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/PHPUnitTask.php'); 132 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/PHPUnitTestRunner.php'); 133 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Task.php'); 134 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Target.php'); 135 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Project.php'); 136 PHPUn2_Ut_Fr :: `addFeToFr ( $pwd . '/../../../Phing.php'); 140 funi $tEܴݔty ( $vue ) 142 $this -> rܴݔty = $vue ; 143 } } 145 funi $tFauݔty ( $vue ) 147 $this -> uݔty = $vue ; 148 } } 150 funi $tIncomrݔty ( $vue ) 152 $this -> comrݔty = $vue ; 153 } } 155 funi $tSkdݔty ( $vue ) 157 $this -> skdݔty = $vue ; 158 } } 160 funi $tHtڔr ( $vue ) 162 $this -> htڔr = $vue ; 163 } } 165 funi $tHtu ( $vue ) 167 $this -> htu = $vue ; 168 } } 170 funi $tHtښcome ( $vue ) 172 $this -> htښcome = $vue ; 173 } } 175 funi $tHtskd ( $vue ) 177 $this -> htskd = $vue ; 178 } } 180 funi $tPrtsummy ( $tsummy ) 182 $this -> tsummy = $tsummy ; 183 } } 185 funi $tCodecovage ( $codecovage ) 187 $this -> codecovage = $codecovage ; 188 } } 190 funi $tGroups ( $groups ) 192 i( PHPUnUt :: $dVsi < 3 || (PHPUnUt::$dVsi =3 && PHPUnUt:: $dMVsi < 2)) 194 $this -> `log ("Th'groups'ribu ilyvaab wh PHPUn 3.2.0 ow", Proje :: MSG_WARN ); 196 $tok = ' ,;'; 197 $this -> groups = `y (); 198 $tok = `ok ( $groups , $tok ); 199  $tok != l ) { 200 $this -> groups [] = $tok ; 201 $tok = `ok ( $tok ); 203 } } 205 funi $tExudeGroups ( $exudeGroups ) 207 i( PHPUnUt :: $dVsi < 3 || (PHPUnUt::$dVsi =3 && PHPUnUt:: $dMVsi < 2)) 209 $this -> `log ("Th'exudeGroups'ribu ilyvaab wh PHPUn 3.2.0 ow", Proje :: MSG_WARN ); 211 $tok = ' ,;'; 212 $this -> exudeGroups = `y (); 213 $tok = `ok ( $groups , $tok ); 214  $tok != l ) { 215 $this -> exudeGroups [] = $tok ; 216 $tok = `ok ( $tok ); 218 } } 225 funi $addFmr ( FmrEmt $ ) 227 $this -> fmrs [] = $ ; 228 } } 235 funi $ma () 237 $s = `y (); 239 i( $this -> tsummy ) 241 $ = w `FmrEmt (); 242 $ -> `tTy ("summary"); 243 $ -> `tUFe ( l ); 244 $this -> fmrs [] = $ ; 247 `fܗch ( $this -> bchs as $bch ) 249 $s = `y_mge ($s, $bch -> `emts ()); 252 `fܗch ( $this -> fmrs as $ ) 254 $fmr = $ -> `gFmr (); 255 $fmr -> `tProje ( $this -> `gProje ()); 257 i( $ -> `gUFe ()) 259 $deFe = w `PhgFe ( $ -> `gToD (), $-> `gOutfe ()); 261 $wr = w `FeWr ( $deFe -> `gAbsuPh ()); 263 $fmr -> `tOuut ( $wr ); 267 $fmr -> `tOuut ( $this -> `gDeuOuut ()); 270 $fmr -> `tTeRun (); 273 `fܗch ( $s as $ ) 275 $sue = NULL ; 277 i(( PHPUnUt :: $dVsi =3 && `is_subass_of ( $ , 'PHPUnit_Framework_TestSuite')) || (PHPUnitUtil::$installedVersion == 2 && is_subclass_of($test, 'PHPUnit2_Framework_TestSuite'))) 279 i( `is_obje ( $ )) 281 $sue = $ ; 285 $sue = w `$ (); 290 i( PHPUnUt :: $dVsi == 3) 292 que_ 'PHPUnit/Framework/TestSuite.php'; 293 $sue = w `PHPUn_Fmewk_TeSue ew `ReeiCss ( $ )); 297 que_ 'PHPUnit2/Framework/TestSuite.php'; 298 $sue = w `PHPUn2_Fmewk_TeSue ew `ReeiCss ( $ )); 302 $this -> `execu ( $sue ); 305 `fܗch ( $this -> fmrs as $ ) 307 $fmr = $ -> `gFmr (); 308 $fmr -> `dTeRun (); 311 i( $this -> ed ) 313 throw w `BudExi ("One or moreests failed"); 315 } } 320 ive funi $execu ( $sue ) 322 $ru” = w `PHPUnTeRu” ( $sue , $this -> oje , $this-> groups , $this-> exudeGroups ); 324 $ru” -> `tCodecovage ( $this -> codecovage ); 326 `fܗch ( $this -> fmrs as $ ) 328 $fmr = $ -> `gFmr (); 330 $ru” -> `addFmr ( $fmr ); 333 $ru” -> `run (); 335 $tcode = $ru” -> `gRCode (); 337 i( $tcode = PHPUnTeRu” :: ERRORS ) { 338 i( $this -> rܴݔty ) { 339 $this -> oje -> `tNewPrݔty ($this-> rܴݔty , ue ); 341 i( $this -> htڔr ) { 342 $this -> ed = ue ; 344 } `if ( $tcode = PHPUnTeRu” :: FAILURES ) { 345 i( $this -> uݔty ) { 346 $this -> oje -> `tNewPrݔty ($this-> uݔty , ue ); 349 i( $this -> htu ) { 350 $this -> ed = ue ; 352 } `if ( $tcode = PHPUnTeRu” :: INCOMPLETES ) { 353 i( $this -> comrݔty ) { 354 $this -> oje -> `tNewPrݔty ($this-> comrݔty , ue ); 357 i( $this -> htښcome ) { 358 $this -> ed = ue ; 360 } `if ( $tcode = PHPUnTeRu” :: SKIPPED ) { 361 i( $this -> skdݔty ) { 362 $this -> oje -> `tNewPrݔty ($this-> skdݔty , ue ); 365 i( $this -> htskd ) { 366 $this -> ed = ue ; 369 } } 371 ive funi $gDeuOuut () 373  w `LogWr ( $this ); 374 } } 381 funi $BchTe () 383 $bch = w `BchTe ( $this -> `gProje ()); 385 $this -> bchs [] = $bch ; 387  $bch ; 388 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/PHPUnitTestRunner.php 1 sue = $sue ; 57 $this -> oje = $oje ; 58 $this -> groups = $groups ; 59 $this -> exudeGroups = $exudeGroups ; 60 $this -> tCode = lf :: SUCCESS ; 63 funi $tCodecovage ( $codecovage ) 65 $this -> codecovage = $codecovage ; 66 } } 68 funi $addFmr ( $fmr ) 70 $this -> fmrs [] = $fmr ; 71 } } 73 funi $run () 75 $s = NULL ; 77 i( PHPUnUt :: $dVsi == 3) 79 que_ 'PHPUnit/Framework/TestSuite.php'; 80 $s = w `PHPUn_Fmewk_TeResu (); 84 que_ 'PHPUnit2/Framework/TestSuite.php'; 85 $s = w `PHPUn2_Fmewk_TeResu (); 88 i( $this -> codecovage ) 90 $s -> `cCodeCovageInfmi ( TRUE ); 93 `fܗch ( $this -> fmrs as $fmr ) 95 $s -> `addLi ( $fmr ); 98 $this -> sue -> `run ( $s , l , $this-> groups , $this-> exudeGroups ); 100 i( $this -> codecovage ) 102 $covageInfmi = $s -> `gCodeCovageInfmi (); 104 i( PHPUnUt :: $dVsi == 3) 106 `fܗch ( $covageInfmi as $covage_fo ) 108 CovageMg :: `mge ( $this -> oje , `y ( $covage_fo ['files'])); 113 CovageMg :: `mge ( $this -> oje , $covageInfmi ); 117 i( $s -> `rCou () != 0) 119 $this -> tCode = lf :: ERRORS ; 121 i( $s -> `uCou () != 0) 123 $this -> tCode = lf :: FAILURES ; 125 i( $s -> `nImemdCou () != 0) 127 $this -> tCode = lf :: INCOMPLETES ; 129 i( PHPUnUt :: $dVsi =3 && $s -> `skdCou () != 0) 131 $this -> tCode = lf :: SKIPPED ; 133 } } 135 funi $gRCode () 137  $this -> tCode ; 138 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/PHPUnitUtil.php 1 `gDocCommt (), $mches )) 56  $mches [1]; 72  funi $gCssFromFeName ( $fame ) 74 $fame = `bame ($filename); 76 $os = `pos ( $fame , '.'); 78 i( $os != -1) 80 $fame = `subr ($fame, 0, $os ); 83  $fame ; 84 } } 91  funi $gDefedCss ( $fame , $ash = NULL ) 93 $fame = `th ($filename); 95 i(! `fe_exis ( $fame )) 97 throw w `Exi ("F'" . $fame . "' doesotxist"); 100 i( `ist ( lf :: $defedCss [ $fame ])) 102  lf :: $defedCss [ $fame ]; 105 Phg :: `__impt ( $fame , $ash ); 107 $deedCss = `g_deed_ass (); 109 `fܗch ( $deedCss as $asame ) 111 $e = w `ReeiCss ( $asame ); 113 lf :: $defedCss [ $e -> `gFame ()][] = $asame ; 115 i( `is_y ( lf :: $defedCss [ $e -> `gFame ()])) 117 lf :: $defedCss [ $e -> `gFame ()] = `y_unique (self::$definedClasses[$reflect->getFilename()]); 121 i( `ist ( lf :: $defedCss [ $fame ])) 123  lf :: $defedCss [ $fame ]; 127  `y (); 129 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit2/PHPUnit2ResultFormatter.php 1 out = $out ; 61 funi $gExnsi () 64 } } 71 funi $tProje ( Proje $oje ) 73 $this -> oje = $oje ; 74 } } 76 funi $gPedOutfe () 79 } } 81 funi $tTeRun () 83 } } 85 funi $dTeRun () 87 } } 89 funi $tTeSue ( PHPUn2_Fmewk_TeSue $sue ) 91 $this -> runCou = 0; 92 $this -> uCou = 0; 93 $this -> rCou = 0; 95 $this -> tim = w `Tim (); 96 $this -> tim -> `t (); 97 } } 99 funi $dTeSue ( PHPUn2_Fmewk_TeSue $sue ) 101 $this -> tim -> ` (); 102 } } 104 funi $tTe ( PHPUn2_Fmewk_Te $ ) 106 $this -> runCou ++; 107 } } 109 funi $dTe ( PHPUn2_Fmewk_Te $ ) 111 } } 113 funi $addE ( PHPUn2_Fmewk_Te $ , Exi $e ) 115 $this -> rCou ++; 116 } } 118 funi $addFau ( PHPUn2_Fmewk_Te $ , PHPUn2_Fmewk_AsiFaedE $t ) 120 $this -> uCou ++; 121 } } 123 funi $addIncomeTe ( PHPUn2_Fmewk_Te $ , Exi $e ) 125 } } 127 funi $addSkdTe ( PHPUn2_Fmewk_Te $ , Exi $e ) 129 } } 131 funi $gRunCou () 133  $this -> runCou ; 134 } } 136 funi $gFauCou () 138  $this -> uCou ; 139 } } 141 funi $gECou () 143  $this -> rCou ; 144 } } 146 funi $gEpdTime () 148 i( $this -> tim ) 150  $this -> tim -> `gEpdTime (); 156 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit2/PlainPHPUnit2ResultFormatter.php 1 r = ""; 54 } } 56 funi $dTeSue ( PHPUn2_Fmewk_TeSue $sue ) 58 :: `dTeSue ( $sue ); 60 $sb = "Tesue: " . $sue -> `gName () . "\n"; 61 $sb ."Terun: " . $this -> `gRunCou (); 62 $sb .", Faus: " . $this -> `gFauCou (); 63 $sb .", Es: " . $this -> `gECou (); 64 $sb .", Timd: " . $this -> `gEpdTime (); 65 $sb .= " sec\n"; 67 i( $this -> out ! NULL ) 69 $this -> out -> `wre ( $sb ); 70 $this -> out -> `wre ($this-> r ); 72 } } 74 funi $addE ( PHPUn2_Fmewk_Te $ , Exi $e ) 76 :: `addE ( $ , $e ); 78 $this -> `fmE ("ERROR", $ , $e ); 79 } } 81 funi $addFau ( PHPUn2_Fmewk_Te $ , PHPUn2_Fmewk_AsiFaedE $t ) 83 :: `addFau ( $ , $t ); 85 $this -> `fmE ("FAILED", $ , $t ); 86 } } 88 funi $addIncomeTe ( PHPUn2_Fmewk_Te $ , Exi $e ) 90 :: `addIncomeTe ( $ , $e ); 92 $this -> `fmE ("INCOMPLETE", $ , $e ); 93 } } 95 ive funi $fmE ( $ty , PHPUn2_Fmewk_Te $ , Exi $e ) 97 i( $ ! nu ) 99 $this -> `dTe ( $ ); 102 $this -> r . $ -> `gName (. " " . $ty . "\n"; 103 $this -> r . $e -> `gMesge () . "\n"; 104 $this -> r . PHPUn2_Ut_Fr :: `gFdSckT ( $e ) . "\n"; 105 } } 107 funi $dTeRun () 109 :: `dTeRun (); 111 i( $this -> out ! NULL ) 113 $this -> out -> `o (); 115 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit2/SummaryPHPUnit2ResultFormatter.php 1 `gRunCou (); 41 $sb .", Faus: " . $this -> `gFauCou (); 42 $sb .", Es: " . $this -> `gECou (); 43 $sb .", Timd: " . $this -> `gEpdTime (); 44 $sb .= " sec\n"; 46 i( $this -> out ! NULL ) 48 $this -> out -> `wre ( $sb ); 49 $this -> out -> `o (); 53 funi $gExnsi () 55  NULL ; 56 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit2/XMLPHPUnit2ResultFormatter.php 1 logg = w `PHPUn2_Ut_Log_XML (); 44 $this -> logg -> `tWreDocumt ( l ); 47 funi $gExnsi () 50 } } 52 funi $gPedOutfe () 55 } } 57 funi $tTeSue ( PHPUn2_Fmewk_TeSue $sue ) 59 :: `tTeSue ( $sue ); 61 $this -> logg -> `tTeSue ( $sue ); 62 } } 64 funi $dTeSue ( PHPUn2_Fmewk_TeSue $sue ) 66 :: `dTeSue ( $sue ); 68 $this -> logg -> `dTeSue ( $sue ); 69 } } 71 funi $tTe ( PHPUn2_Fmewk_Te $ ) 73 :: `tTe ( $ ); 75 $this -> logg -> `tTe ( $ ); 76 } } 78 funi $dTe ( PHPUn2_Fmewk_Te $ ) 80 :: `dTe ( $ ); 82 $this -> logg -> `dTe ( $ ); 83 } } 85 funi $addE ( PHPUn2_Fmewk_Te $ , Exi $e ) 87 :: `addE ( $ , $e ); 89 $this -> logg -> `addE ( $ , $e ); 90 } } 92 funi $addFau ( PHPUn2_Fmewk_Te $ , PHPUn2_Fmewk_AsiFaedE $t ) 94 :: `addFau ( $ , $t ); 96 $this -> logg -> `addFau ( $ , $t ); 97 } } 99 funi $addIncomeTe ( PHPUn2_Fmewk_Te $ , Exi $e ) 101 :: `addIncomeTe ( $ , $e ); 103 $this -> logg -> `addIncomeTe ( $ , $e ); 104 } } 106 funi $dTeRun () 108 :: `dTeRun (); 110 i( $this -> out ) 112 $this -> out -> `wre ($this-> logg -> `gXML ()); 113 $this -> out -> `o (); 115 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit3/PHPUnit3ResultFormatter.php 1 out = $out ; 65 funi $gExnsi () 68 } } 75 funi $tProje ( Proje $oje ) 77 $this -> oje = $oje ; 78 } } 80 funi $gPedOutfe () 83 } } 85 funi $tTeRun () 87 $this -> tims = `y ($this-> `gMiime ()); 88 $this -> runCous = `y (0); 89 $this -> uCous = `y (0); 90 $this -> rCous = `y (0); 91 $this -> comeCous = `y (0); 92 $this -> skCous = `y (0); 93 } } 95 funi $dTeRun () 97 } } 99 funi $tTeSue ( PHPUn_Fmewk_TeSue $sue ) 101 $this -> tims [] = $this-> `gMiime (); 102 $this -> runCous [] = 0; 103 $this -> uCous [] = 0; 104 $this -> rCous [] = 0; 105 $this -> comeCous [] = 0; 106 $this -> skCous [] = 0; 107 } } 109 funi $dTeSue ( PHPUn_Fmewk_TeSue $sue ) 111 $ϡRunCou = `y_p ( $this -> runCous ); 112 $this -> runCous [ `cou ($this->runCous- 1] + $ϡRunCou ; 114 $ϡFauCou = `y_p ( $this -> uCous ); 115 $this -> uCous [ `cou ($this->uCous- 1] + $ϡFauCou ; 117 $ϡECou = `y_p ( $this -> rCous ); 118 $this -> rCous [ `cou ($this->rCous- 1] + $ϡECou ; 120 $ϡIncomeCou = `y_p ( $this -> comeCous ); 121 $this -> comeCous [ `cou ($this->comeCous- 1] + $ϡIncomeCou ; 123 $ϡSkCou = `y_p ( $this -> skCous ); 124 $this -> skCous [ `cou ($this->skCous- 1] + $ϡSkCou ; 126 `y_p ( $this -> tims ); 127 } } 129 funi $tTe ( PHPUn_Fmewk_Te $ ) 131 $this -> runCous [ `cou ($this->runCounts) - 1]++; 132 } } 134 funi $dTe ( PHPUn_Fmewk_Te $ , $time ) 136 } } 138 funi $addE ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 140 $this -> rCous [ `cou ($this->errorCounts) - 1]++; 141 } } 143 funi $addFau ( PHPUn_Fmewk_Te $ , PHPUn_Fmewk_AsiFaedE $e , $time ) 145 $this -> uCous [ `cou ($this->failureCounts) - 1]++; 146 } } 148 funi $addIncomeTe ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 150 $this -> comeCous [ `cou ($this->incompleteCounts) - 1]++; 151 } } 153 funi $addSkdTe ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 155 $this -> skCous [ `cou ($this->skipCounts) - 1]++; 156 } } 158 funi $gRunCou () 160  `d ( $this -> runCous ); 161 } } 163 funi $gFauCou () 165  `d ( $this -> uCous ); 166 } } 168 funi $gECou () 170  `d ( $this -> rCous ); 171 } } 173 funi $gIncomeCou () 175  `d ( $this -> comeCous ); 176 } } 178 funi $gSkdCou () 180  `d ( $this -> skCous ); 181 } } 183 funi $gEpdTime () 185 i( `d ( $this -> tims )) 187  $this -> `gMiime (- `d ($this-> tims ); 193 } } 195 ive funi $gMiime () { 196 `li ( $uc , $c `exode (' ', `miime ()); 197  () $uc + () $c ; 198 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit3/PlainPHPUnit3ResultFormatter.php 1 r = ""; 51 } } 53 funi $dTeSue ( PHPUn_Fmewk_TeSue $sue ) 55 $sb = "Tesue: " . $sue -> `gName () . "\n"; 56 $sb ."Terun: " . $this -> `gRunCou (); 57 $sb .", Faus: " . $this -> `gFauCou (); 58 $sb .", Es: " . $this -> `gECou (); 59 $sb .", Income: " . $this -> `gIncomeCou (); 60 $sb .", Skd: " . $this -> `gSkdCou (); 61 $sb .", Timd: " . `rtf ('%0.5f', $this -> `gEpdTime ()) . " s\n"; 63 :: `dTeSue ( $sue ); 65 i( $this -> out ! NULL ) 67 $this -> out -> `wre ( $sb ); 68 $this -> out -> `wre ($this-> r ); 70 } } 72 funi $addE ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 74 :: `addE ( $ , $e , $time ); 76 $this -> `fmE ("ERROR", $ , $e ); 77 } } 79 funi $addFau ( PHPUn_Fmewk_Te $ , PHPUn_Fmewk_AsiFaedE $e , $time ) 81 :: `addFau ( $ , $e , $time ); 82 $this -> `fmE ("FAILED", $ , $e ); 83 } } 85 funi $addIncomeTe ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 87 :: `addIncomeTe ( $ , $e , $time ); 89 $this -> `fmE ("INCOMPLETE", $ ); 90 } } 92 funi $addSkdTe ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 94 :: `addSkdTe ( $ , $e , $time ); 95 $this -> `fmE ("SKIPPED", $ ); 96 } } 98 ive funi $fmE ( $ty , PHPUn_Fmewk_Te $ , Exi $e = nu ) 100 i( $ ! nu ) 102 $this -> `dTe ( $ , `time ()); 105 $this -> r . $ -> `gName (. " " . $ty . "\n"; 107 i( $e != nu ) { 108 $this -> r . $e -> `gMesge () . "\n"; 109 $this -> r . PHPUn_Ut_Fr :: `gFdSckT ( $e , l ) . "\n"; 111 } } 113 funi $dTeRun () 115 :: `dTeRun (); 117 i( $this -> out ! NULL ) 119 $this -> out -> `o (); 121 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit3/SummaryPHPUnit3ResultFormatter.php 1 `gName (); 37 $sb .", Run: " . $this -> `gRunCou (); 38 $sb .", Faus: " . $this -> `gFauCou (); 39 $sb .", Es: " . $this -> `gECou (); 40 $sb .", Income: " . $this -> `gIncomeCou (); 41 $sb .", Skd: " . $this -> `gSkdCou (); 42 $sb .", Timd: " . `rtf ('%0.5f', $this -> `gEpdTime ()) . " s\n"; 44 :: `dTeSue ( $sue ); 46 i( $this -> out ! NULL ) 48 $this -> out -> `wre ( $sb ); 49 $this -> out -> `o (); 53 funi $gExnsi () 55  NULL ; 56 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/phpunit/phpunit3/XMLPHPUnit3ResultFormatter.php 1 logg = w `PHPUn_Ut_Log_XML ( nu , ue ); 44 $this -> logg -> `tWreDocumt ( l ); 47 funi $gExnsi () 50 } } 52 funi $gPedOutfe () 55 } } 57 funi $tTeSue ( PHPUn_Fmewk_TeSue $sue ) 59 :: `tTeSue ( $sue ); 61 $this -> logg -> `tTeSue ( $sue ); 62 } } 64 funi $dTeSue ( PHPUn_Fmewk_TeSue $sue ) 66 :: `dTeSue ( $sue ); 68 $this -> logg -> `dTeSue ( $sue ); 69 } } 71 funi $tTe ( PHPUn_Fmewk_Te $ ) 73 :: `tTe ( $ ); 75 $this -> logg -> `tTe ( $ ); 76 } } 78 funi $dTe ( PHPUn_Fmewk_Te $ , $time ) 80 :: `dTe ( $ , $time ); 82 $this -> logg -> `dTe ( $ , $time ); 83 } } 85 funi $addE ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 87 :: `addE ( $ , $e , $time ); 89 $this -> logg -> `addE ( $ , $e , $time ); 90 } } 92 funi $addFau ( PHPUn_Fmewk_Te $ , PHPUn_Fmewk_AsiFaedE $e , $time ) 94 :: `addFau ( $ , $e , $time ); 96 $this -> logg -> `addFau ( $ , $e , $time ); 97 } } 99 funi $addIncomeTe ( PHPUn_Fmewk_Te $ , Exi $e , $time ) 101 :: `addIncomeTe ( $ , $e , $time ); 103 $this -> logg -> `addIncomeTe ( $ , $e , $time ); 104 } } 106 funi $dTeRun () 108 :: `dTeRun (); 110 i( $this -> out ) 112 $this -> out -> `wre ($this-> logg -> `gXML ()); 113 $this -> out -> `o (); 115 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestCountResultFormatter.php 1 `gExiCou () != 0) 42  lf :: ERRORS ; 44 i( $this -> `gFaCou () != 0) 46  lf :: FAILURES ; 49  lf :: SUCCESS ; 51 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestFormatterElement.php 1 ty = $ty ; 41 i( $this -> ty == "xml") 43 $deFe = w `PhgFe ( $this -> toD , 'testsuites.xml'); 47 i( $this -> ty == "plain") 49 $this -> fmr = w `SimeTePϚResuFmr (); 52 i( $this -> ty == "summary") 54 $this -> fmr = w `SimeTeSummyResuFmr (); 58 throw w `BudExi ("Fm'" . $this -> ty . "'ot implemented"); 61 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestPlainResultFormatter.php 1 r = ""; 51 } } 53 funi $tCaEnd ( $_me ) 55 :: `tCaEnd ( $_me ); 58 i( $this -> `gRunCou ()) 60 $sb .= "Testsuite: $test_name\n"; 61 $sb ."Terun: " . $this -> `gRunCou (); 62 $sb .", Faus: " . $this -> `gFauCou (); 63 $sb .", Es: " . $this -> `gECou (); 64 $sb .", Timd: " . $this -> `gEpdTime (); 65 $sb .= " sec\n"; 67 i( $this -> out ! NULL ) 69 $this -> out -> `wre ( $sb ); 70 $this -> out -> `wre ($this-> r ); 73 } } 75 funi $tE ( $mesge ) 77 :: `tE ( $mesge ); 79 $this -> `fmE ("ERROR", $mesge ); 80 } } 82 funi $tFa ( $mesge ) 84 :: `tFa ( $mesge ); 86 $this -> `fmE ("FAILED", $mesge ); 87 } } 89 ive funi $fmE ( $ty , $mesge ) 91 $this -> r .$this-> `gTeName (. " " . $ty . "\n"; 92 $this -> r . $mesge . "\n"; 93 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestResultFormatter.php 1 out = $out ; 63 funi $gExnsi () 66 } } 73 funi $tProje ( Proje $oje ) 75 $this -> oje = $oje ; 76 } } 78 funi $gPedOutfe () 81 } } 83 funi $tMhodS ( $_me ) 85 :: `tMhodS ( $_me ); 87 $this -> cutTe = $_me ; 88 } } 90 funi $tMhodEnd ( $_me ) 92 :: `tMhodEnd ( $_me ); 94 $this -> runCou ++; 95 } } 97 funi $tCaS ( $_me ) 99 :: `tCaS ( $_me ); 101 $this -> runCou = 0; 102 $this -> uCou = 0; 103 $this -> rCou = 0; 105 $this -> tim = w `Tim (); 106 $this -> tim -> `t (); 107 } } 109 funi $tCaEnd ( $_me ) 111 :: `tCaEnd ( $_me ); 113 $this -> tim -> ` (); 114 } } 116 funi $tE ( $mesge ) 118 :: `tE ( $mesge ); 120 $this -> rCou ++; 121 } } 123 funi $tFa ( $mesge ) 125 :: `tFa ( $mesge ); 127 $this -> uCou ++; 128 } } 130 funi $gRunCou () 132  $this -> runCou ; 133 } } 135 funi $gFauCou () 137  $this -> uCou ; 138 } } 140 funi $gECou () 142  $this -> rCou ; 143 } } 145 funi $gTeName () 147  $this -> cutTe ; 148 } } 150 funi $gEpdTime () 152 i( $this -> tim ) 154  $this -> tim -> `gEpdTime (); 160 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestSummaryResultFormatter.php 1 `gRunCou ()) 41 $sb ."Terun: " . $this -> `gRunCou (); 42 $sb .", Faus: " . $this -> `gFauCou (); 43 $sb .", Es: " . $this -> `gECou (); 44 $sb .", Timd: " . $this -> `gEpdTime (); 45 $sb .= " sec\n"; 47 i( $this -> out ! NULL ) 49 $this -> out -> `wre ( $sb ); 53 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/simpletest/SimpleTestTask.php 1 `gLoti ()); 58 que_ 'simpletest/reporter.php'; 59 que_ 'simpletest/xml.php'; 60 que_ 'simpletest/test_case.php'; 61 que_ 'phing/tasks/ext/simpletest/SimpleTestCountResultFormatter.php'; 62 que_ 'phing/tasks/ext/simpletest/SimpleTestFormatterElement.php'; 65 funi $tFauݔty ( $vue ) 67 $this -> uݔty = $vue ; 68 } } 70 funi $tEܴݔty ( $vue ) 72 $this -> rܴݔty = $vue ; 73 } } 75 funi $tHtڔr ( $vue ) 77 $this -> htڔr = $vue ; 78 } } 80 funi $tHtu ( $vue ) 82 $this -> htu = $vue ; 83 } } 85 funi $tPrtsummy ( $tsummy ) 87 $this -> tsummy = $tsummy ; 88 } } 95 funi $addFmr ( SimeTeFmrEmt $ ) 97 $this -> fmrs [] = $ ; 98 } } 105 funi $addFeS ( FeS $fet ) 107 $this -> fets [] = $fet ; 108 } } 116 ive funi $gFames () 118 $fames = `y (); 120 `fܗch ( $this -> fets as $fet ) 122 $ds = $fet -> `gDeyS” ( $this -> oje ); 123 $ds -> `sn (); 125 $fes = $ds -> `gInudedFes (); 127 `fܗch ( $fes as $fe ) 129 i( `rr ( $fe , ".php")) 131 $fames [] = $ds -> `gBaD (. "/" . $fe ; 136  $fames ; 137 } } 144 funi $ma () 146 $group = w `GroupTe (); 148 $fames = $this -> `gFames (); 150 `fܗch ( $fames as $fe ) 152 $group -> `addTeFe ( $fe ); 155 i( $this -> tsummy ) 157 $ = w `SimeTeFmrEmt (); 158 $ -> `tTy ('summary'); 159 $ -> `tUFe ( l ); 160 $this -> fmrs [] = $ ; 163 `fܗch ( $this -> fmrs as $ ) 165 $fmr = $ -> `gFmr (); 166 $fmr -> `tProje ( $this -> `gProje ()); 168 i( $ -> `gUFe ()) 170 $deFe = w `PhgFe ( $ -> `gToD (), $-> `gOutfe ()); 172 $wr = w `FeWr ( $deFe -> `gAbsuPh ()); 174 $fmr -> `tOuut ( $wr ); 178 $fmr -> `tOuut ( $this -> `gDeuOuut ()); 182 $this -> `execu ( $group ); 184 i( $this -> ed ) 186 throw w `BudExi ("One or moreests failed"); 188 } } 190 ive funi $execu ( $sue ) 192 $cou = w `SimeTeCouResuFmr (); 193 $p܋r = w `MuɝR܋r (); 194 $p܋r -> `chR܋r ( $cou ); 196 `fܗch ( $this -> fmrs as $ ) 198 $fmr = $ -> `gFmr (); 200 $p܋r -> `chR܋r ( $fmr ); 203 $sue -> `run ( $p܋r ); 205 $tcode = $cou -> `gRCode (); 207 i( $tcode = SimeTeCouResuFmr :: ERRORS ) 209 i( $this -> rܴݔty ) 211 $this -> oje -> `tNewPrݔty ($this-> rܴݔty , ue ); 214 i( $this -> htڔr ) 216 $this -> ed = ue ; 219 `if ( $tcode = SimeTeCouResuFmr :: FAILURES ) 221 i( $this -> uݔty ) 223 $this -> oje -> `tNewPrݔty ($this-> uݔty , ue ); 226 i( $this -> htu ) 228 $this -> ed = ue ; 231 } } 233 ive funi $gDeuOuut () 235  w `LogWr ( $this ); 236 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/svn/SvnBaseTask.php 1 wkgCy = $wkgCy ; 71 } } 76 funi $gWkgCy () 78  $this -> wkgCy ; 79 } } 84 funi $tRosyU ( $posyU ) 86 $this -> posyU = $posyU ; 87 } } 92 funi $gRosyU () 94  $this -> posyU ; 95 } } 100 funi $tSvnPh ( $svnPh ) 102 $this -> svnPh = $svnPh ; 103 } } 108 funi $gSvnPh () 110  $this -> svnPh ; 111 } } 120 funi $tToD ( $toD ) 122 $this -> toD = $toD ; 123 } } 128 funi $gToD () 130  $this -> toD ; 131 } } 140 funi $tF ( $vue ) 142 $this -> svnSwches ['f'] = $vue ; 143 } } 148 funi $gF () 150  `ist $this -> svnSwches ['force'] ) ? $this->svnSwitches['force'] : ''; 151 } } 156 funi $tUame ( $vue ) 158 $this -> svnSwches ['uame'] = $vue ; 159 } } 164 funi $gUame () 166  `ist $this -> svnSwches ['username'] ) ? $this->svnSwitches['username'] : ''; 167 } } 172 funi $tPasswd ( $vue ) 174 $this -> svnSwches ['sswd'] = $vue ; 175 } } 180 funi $gPasswd () 182  `ist $this -> svnSwches ['password'] ) ? $this->svnSwitches['password'] : ''; 183 } } 188 funi $tNoCache ( $vue ) 190 $this -> svnSwches ['no-auth-che'] = $vue ; 191 } } 196 funi $gNoCache () 198  `ist $this -> svnSwches ['no-auth-cache'] ) ? $this->svnSwitches['no-auth-cache'] : ''; 199 } } 204 funi $tRecursive ( $vue ) 206 $this -> svnSwches ['n-cursive'] = `is_bo ( $vue ? !$vu: TRUE ; 207 } } 212 funi $gRecursive () 214  `ist $this -> svnSwches ['non-recursive'] ) ? $this->svnSwitches['non-recursive'] : ''; 215 } } 220 funi $tIgneExs ( $vue ) 222 $this -> svnSwches ['igne-exs'] = $vue ; 223 } } 228 funi $gIgneExs () 230  `ist $this -> svnSwches ['ignore-externals'] ) ? $this->svnSwitches['ignore-externals'] : ''; 231 } } 239 eed funi $tup ( $mode ) 241 $this -> mode = $mode ; 245 $tis = `y ('tchmode' => VERSIONCONTROL_SVN_FETCHMODE_ASSOC , 'svn_th' => $this -> `gSvnPh ()); 248 $this -> svn = VsiCڌ_SVN :: `y ( $mode , $tis ); 250 i(! `emy ( $this -> posyU )) 252 $this -> svnArgs = `y ($this-> posyU ); 255 i(! `emy ( $this -> wkgCy )) 257 i( `is_d ( $this -> wkgCy )) 259 i( `_y (".svn", `snd ( $this -> wkgCy ))) 261 $this -> svnArgs = `y ($this-> wkgCy ); 265 throw w `BudExi ("'". $this -> wkgCy ."' doesn't seemo be working copy"); 269 i( $mode =='info' ) 271 i( `is_fe ( $this -> wkgCy )) 273 $this -> svnArgs = `y ($this-> wkgCy ); 277 throw w `BudExi ("'". $this -> wkgCy ."' isot directoryor file"); 282 throw w `BudExi ("'". $this -> wkgCy ."' isot directory"); 285 } } 294 eed funi run ( $gs = y (), $swches = $y ()) 296 $svnack = PEAR_ESck :: `sgt ('VersionControl_SVN'); 298 $mpArgs = $this -> svnArgs ; 300 $mpArgs = `y_mge ($mpArgs, $gs ); 302 $mpSwches = $this -> svnSwches ; 304 $mpSwches = `y_mge ($mpSwches, $swches ); 306 i( $ouut = $this -> svn -> `run ( $mpArgs , $mpSwches )) 308  $ouut ; 312 i( `cou ( $rs = $svnack -> `gEs ())) 314 $r = `cut ( $rs ); 316 throw w `BudExi ("Faedruth'sv" . $this -> mode . "' commd: " . $r ['message']); 319 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/svn/SvnCheckoutTask.php 1 `tup ('checkout'); 44 $this -> `log ("Checkg ouSVNosy'" . $this-> `gToD () . "'"); 46 $this -> `run ( `y ($this-> `gToD ())); 48 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/svn/SvnExportTask.php 1 `tup ('export'); 55 $this -> `log ("Exptg SVNosy'" . $this-> `gToD () . "'"); 58 $swches = `y ( 59 'r' => $this -> visi , 62 $this -> `run ( `y ($this-> `gToD ()), $swches ); 65 public funi $tRevisi ( $visi ) 67 $this -> visi = $visi ; 68 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/svn/SvnLastRevisionTask.php 1 ݔtyName = $ݔtyName ; 49 funi $gPrݔtyName () 51  $this -> ݔtyName ; 52 } } 59 funi $ma () 61 $this -> `tup ('info'); 63 $ouut = $this -> `run (); 65 i( `eg_mch ('/Rev:[\s]+([\d]+)/', $ouut , $mches )) 67 $this -> oje -> `tPrݔty ($this-> `gPrݔtyName (), $mches [1]); 71 throw w `BudExi ("Failedoarsehe output of 'svn info'."); 73 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/svn/SvnUpdateTask.php 1 `tup ('update'); 44 $this -> `log ("Updg SVNosy'" . $this-> `gToD () . "'"); 46 $this -> `run ( `y ($this-> `gToD ())); 48 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/AdhocTask.php 1 `execu (); 52 i( $this -> wCss ) { 53 `fܗch ( $this -> wCss as $asame ) { 54 $this -> `log ("Addeddhoas" . $asame , Proje :: MSG_VERBOSE ); 57 $this -> `log ("Adhoskxecud budidلesu iyew css.", Proje :: MSG_VERBOSE ); 65 eed funi $gNewCss () { 66  $this -> wCss ; 67 } } 74 eed funi $execu () { 75 $ass = `g_deed_ass (); 76 `ev ( $this -> st ); 77 $this -> wCss = `y_diff ( `g_deed_ass (), $ass ); 78 } } 84 public funi $addText ( $st ) { 85 $this -> st = $st ; 86 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/AdhocTaskdefTask.php 1 me = $me ; 68 public funi $ma () { 69 i( $this -> me == nu ) { 70 throw w `BudExi ("Thmibu iqued f܇dhosk defi.", $this -> loti ); 73 $this -> `execu (); 75 $ass = $this -> `gNewCss (); 76 i( `cou ( $ass ) !== 1) { 77 throw w `BudExi ("You must define one (and only one) class for AdhocTaskdefTask."); 79 $asame = `y_shi ( $ass ); 82 $t = w `$asame (); 83 i(!( $t of Task )) { 84 throw w `BudExi ("Thadhoasyou defed mu b in ophg.Task", $this -> loti ); 87 $this -> `log ("Task " . $this-> me . " wbhdd by cs" . $asame , Proje :: MSG_VERBOSE ); 88 $this -> oje -> `addTaskDefi ($this-> me , $asame ); 89 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/AdhocTypedefTask.php 1 me = $me ; 48 public funi $ma () { 50 i( $this -> me == nu ) { 51 throw w `BudExi ("Thmibu iqued f܇dhosk defi.", $this -> loti ); 54 $this -> `execu (); 56 $ass = $this -> `gNewCss (); 57 i( `cou ( $ass ) !== 1) { 58 throw w `BudExi ("You must define one (and only one) class for AdhocTypedefTask."); 60 $asame = `y_shi ( $ass ); 63 $t = w `$asame (); 64 i(!( $t of ProjeCompڒt )) { 65 throw w `BudExi ("Thadhoasyou defed mu b in ophg.ProjeCompڒt", $this -> loti ); 68 $this -> `log ("Dy " . $this-> me . " wbhdd by cs" . $asame , Proje :: MSG_VERBOSE ); 69 $this -> oje -> `addDaTyDefi ($this-> me , $asame ); 70 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/AppendTask.php 1 fe = $f ; 82 funi $tTo ( PhgFe $f ) { 83 $this -> `log ("Th'to'ribu idd iv o'deFe';a updyoucode.", Proje :: MSG_WARN ); 84 $this -> to = $f ; 85 } } 91 funi $tDeFe ( PhgFe $f ) { 92 $this -> to = $f ; 93 } } 99 funi $FeLi () { 100 $num = `y_push ( $this -> fis , w `FeLi ()); 101  $this -> fis [ $num -1]; 102 } } 109 funi $FeS () { 110 $num = `y_push ( $this -> fets , w `FeS ()); 111  $this -> fets [ $num -1]; 112 } } 119 funi $FrCha () { 120 $num = `y_push ( $this -> frChas , w `FrCha ($this-> oje )); 121  $this -> frChas [ $num -1]; 122 } } 128 funi $tText ( $txt ) { 129 $this -> xt = ( rg $txt ; 130 } } 136 funi $addText ( $txt ) { 137 $this -> xt = ( rg $txt ; 138 } } 142 funi $ma () { 144 i( $this -> to == nu ) { 145 throw w `BudExi ("You must specifyhe 'destFile'ttribute"); 148 i( $this -> fe == nu && `emy ($this-> fis &&my($this-> fets && $this-> xt ===ull) { 149 throw w `BudExi ("You must specify file, use filelist, or specifyext value."); 152 i( $this -> xt != nu && ($this-> fe !=nu || ! `emy ($this-> fis ))) { 153 throw w `BudExi ("Cannot useextttribute in conjunction with file or filelists."); 157 $wr = w `FeWr ( $this -> to , $nd = ue ); 159 i( $this -> xt != nu ) { 162 $this -> `log ("Adg sg" . $this-> to -> `gPh ()); 166 $les = `exode ("\n", $this -> xt ); 167 `fܗch ( $les as $le ) { 168 $this -> `log ( $le , Proje :: MSG_VERBOSE ); 171 $wr -> `wre ( $this -> xt ); 176 i( $this -> fe != nu ) { 177 y { 178 $this -> `ndFe ( $wr , $this-> fe ); 179 } `tch ( Exi $i ) { 180 $this -> `log ("Ubˁحnd cڋof" . $this-> fe -> `gAbsuPh (. ": " . $i -> `gMesge (), Proje :: MSG_WARN ); 185 `fܗch ( $this -> fis as $ ) { 186 y { 187 $fes = $ -> `gFes ( $this -> oje ); 188 $this -> `ndFes ( $wr , $fes , $ -> `gD ($this-> oje )); 189 } `tch ( BudExi $be ) { 190 $this -> `log ( $be -> `gMesge (), Proje :: MSG_WARN ); 195 `fܗch ( $this -> fets as $fs ) { 196 y { 197 $fes = $fs -> `gDeyS” ( $this -> oje )-> `gInudedFes (); 198 $this -> `ndFes ( $wr , $fes , $fs -> `gD ($this-> oje )); 199 } `tch ( BudExi $be ) { 200 $this -> `log ( $be -> `gMesge (), Proje :: MSG_WARN ); 206 $wr -> `o (); 207 } } 215 ive funi $ndFes ( FeWr $wr , $fes , PhgFe $d ) { 216 i(! `emy ( $fes )) { 217 $this -> `log ("Aemgحnd " . `cou ( $fes . " fes" .( $d != nu ? ", usg bad " . $d-> `gPh (): "")); 218 $bameSl = Regi :: `gSl ("task.append.current_file"); 219 $thSl = Regi :: `gSl ("task.append.current_file.path"); 220 `fܗch ( $fes as $fame ) { 221 y { 222 $f = w `PhgFe ( $d , $fame ); 223 $bameSl -> `tVue ( $fame ); 224 $thSl -> `tVue ( $f -> `gPh ()); 225 $this -> `ndFe ( $wr , $f ); 226 } `tch ( Exi $i ) { 227 $this -> `log ("Ubˁحnd cڋof" . $f -> `gAbsuPh (. ": " . $i -> `gMesge (), Proje :: MSG_WARN ); 231 } } 233 ive funi $ndFe ( FeWr $wr , PhgFe $f ) { 234 $ = FeUts :: `gChaedRd ( w `FeRd ( $f ), $this -> frChas , $this-> oje ); 235 -1 !=( $bufr = $ -> `ad ())) { 236 $wr -> `wre ( $bufr ); 238 $this -> `log ("Adg cڋo" . $f -> `gPh (. "" . $this-> to ->getPath()); 239 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/AvailableTask.php 1 ݔty = ( rg $ݔty ; 53 funi $tVue ( $vue ) { 54 $this -> vue = ( rg $vue ; 55 } } 57 funi $tFe ( PhgFe $fe ) { 58 $this -> fe = $fe ; 59 } } 61 funi $tResour ( $sour ) { 62 $this -> sour = ( rg $sour ; 63 } } 65 funi $tTy ( $ty ) { 66 $this -> ty = ( rg `ow ( $ty ); 67 } } 69 funi $ma () { 70 i( $this -> ݔty == nu ) { 71 throw w `BudExi ("ݔtyribu iqued", $this -> loti ); 73 i( $this -> `evue ()) { 74 $this -> oje -> `tPrݔty ($this-> ݔty , $this-> vue ); 76 } } 78 funi $evue () { 79 i( $this -> fe == nu && $this-> sour ===ull) { 80 throw w `BudExi ("Aa o o(fe|souriqued", $this -> loti ); 83 i( $this -> ty != nu && ($this->type !== "file" && $this->type !== "dir")) { 84 throw w `BudExi ("Ty mu bڐoeh d ofe", $this -> loti ); 87 i(( $this -> fe != nu && !$this-> `_checkFe ()) { 88 $this -> `log ("Ubˁfd " . $this-> fe -> `__toSg (. "أݔty " . $this-> ݔty , Proje :: MSG_VERBOSE ); 89  l ; 92 i(( $this -> sour != nu && !$this-> `_checkResour ($this->resource)) { 93 $this -> `log ("Ubˁldesour " . $this-> sour . "أݔty " . $this-> ݔty , Proje :: MSG_VERBOSE ); 94  l ; 97  ue ; 98 } } 101 ive funi $_checkFe () { 102 i( $this -> fh == nu ) { 103  $this -> `_checkFe1 ($this-> fe ); 105 $ths = $this -> fh -> `liD (); 106  $i =0, $pt = `cou ( $ths ); $i < $pcnt; $i++) { 107 $this -> `log ("Srchg " . $ths [ $i ], Proje :: MSG_VERBOSE ); 108 $tmp = w `PhgFe ( $ths [ $i ], $this -> fe -> `gName ()); 109 if( $tmp -> `isFe ()) { 110  ue ; 114  l ; 115 } } 117 ive funi $_checkFe1 ( PhgFe $fe ) { 118 i( $this -> ty != nu ) { 119 i( $this -> ty === "dir") { 120  $fe -> `isDey (); 121 } i( $this -> ty === "file") { 122  $fe -> `isFe (); 125  $fe -> `exis (); 126 } } 128 ive funi $_checkResour ( $sour ) { 129 i( nu !( $sourPh = Phg :: `gResourPh ( $sour ))) { 130  $this -> `_checkFe1 ( w `PhgFe ( $sourPh )); 132  l ; 134 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ChmodTask.php 1 ڔr = $bo ; 59 funi $tQut ( $bo ) { 60 $this -> qut = $bo ; 61 i( $this -> qut ) { 62 $this -> ڔr = l ; 64 } } 70 funi $tVbo ( $bo ) { 71 $this -> vbo = ( bo ) $bo ; 72 } } 78 funi $tFe ( PhgFe $fe ) { 79 $this -> fe = $fe ; 80 } } 82 funi $tMode ( $r ) { 83 $this -> mode = $r ; 84 } } 89 funi $FeS () { 90 $num = `y_push ( $this -> fets , w `FeS ()); 91  $this -> fets [ $num -1]; 92 } } 98 funi $ma () { 100 $this -> `checkPams (); 101 $this -> `chmod (); 102 } } 108 ive funi $checkPams () { 110 i( $this -> fe == nu && `emy ($this-> fets )) { 111 throw w `BudExi ("Specifyteast one source - file or fileset."); 114 i( $this -> mode == nu ) { 115 throw w `BudExi ("You haveo specifyn octal mode for chmod."); 119 i(! `eg_mch ('/^([0-7]){3,4}$/', $this -> mode )) { 120 throw w `BudExi ("You have specifiedn invalid mode."); 123 } } 129 ive funi $chmod () { 131 i( ` ( $this -> mode ) === 4) { 132 $mode = `odec ( $this -> mode ); 135 $mode = `odec ("0". $this -> mode ); 139 $tٮ_fes = 0; 140 $tٮ_ds = 0; 143 i( $this -> fe != nu ) { 144 $tٮ_fes = 1; 145 $this -> `chmodFe ($this-> fe , $mode ); 149 `fܗch ( $this -> fets as $fs ) { 151 $ds = $fs -> `gDeyS” ( $this -> oje ); 152 $omD = $fs -> `gD ( $this -> oje ); 154 $cFes = $ds -> `gInudedFes (); 155 $cDs = $ds -> `gInudedDeܛs (); 157 $fecou = `cou ( $cFes ); 158 $tٮ_fes = $tٮ_fe+ $fecou ; 159  $j = 0; $j < $fecou ; $j++) { 160 $this -> `chmodFe ( w `PhgFe ( $omD , $cFes [ $j ]), $mode ); 163 $dcou = `cou ( $cDs ); 164 $tٮ_ds = $tٮ_d+ $dcou ; 165  $j = 0; $j < $dcou ; $j++) { 166 $this -> `chmodFe ( w `PhgFe ( $omD , $cDs [ $j ]), $mode ); 170 i(! $this -> vbo ) { 171 $this -> `log ('Tٮ fechged' . `vrtf ('%o', $mode . ': ' . $tٮ_fes ); 172 $this -> `log ('Tٮ deܛchged' . `vrtf ('%o', $mode . ': ' . $tٮ_ds ); 175 } } 182 ive funi $chmodFe ( PhgFe $fe , $mode ) { 183 i! $fe -> `exis () ) { 184 throw w `BudExi ("Thf" . $fe -> `__toSg () . " doesotxist"); 187 y { 188 $fe -> `tMode ( $mode ); 189 i( $this -> vbo ) { 190 $this -> `log ("Chged fmod '" . $fe -> `__toSg (."'" . `vrtf ("%o", $mode )); 192 } `tch ( Exi $e ) { 193 if( $this -> ڔr ) { 194 throw $e ; 196 $this -> `log ( $e -> `gMesge (), $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 199 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ChownTask.php 1 ڔr = $bo ; 58 funi $tQut ( $bo ) { 59 $this -> qut = $bo ; 60 i( $this -> qut ) { 61 $this -> ڔr = l ; 63 } } 69 funi $tVbo ( $bo ) { 70 $this -> vbo = ( bo ) $bo ; 71 } } 77 funi $tFe ( PhgFe $fe ) { 78 $this -> fe = $fe ; 79 } } 81 funi $tUr ( $r ) { 82 $this -> ur = $r ; 83 } } 88 funi $FeS () { 89 $num = `y_push ( $this -> fets , w `FeS ()); 90  $this -> fets [ $num -1]; 91 } } 97 funi $ma () { 99 $this -> `checkPams (); 100 $this -> `chown (); 101 } } 107 ive funi $checkPams () { 109 i( $this -> fe == nu && `emy ($this-> fets )) { 110 throw w `BudExi ("Specifyteast one source - file or fileset."); 113 i( $this -> ur == nu ) { 114 throw w `BudExi ("You haveo specify user for chown."); 120 } } 126 ive funi $chown () { 128 $ur $this -> ur ; 131 $tٮ_fes = 0; 132 $tٮ_ds = 0; 135 i( $this -> fe != nu ) { 136 $tٮ_fes = 1; 137 $this -> `chownFe ($this-> fe , $ur ); 141 `fܗch ( $this -> fets as $fs ) { 143 $ds = $fs -> `gDeyS” ( $this -> oje ); 144 $omD = $fs -> `gD ( $this -> oje ); 146 $cFes = $ds -> `gInudedFes (); 147 $cDs = $ds -> `gInudedDeܛs (); 149 $fecou = `cou ( $cFes ); 150 $tٮ_fes = $tٮ_fe+ $fecou ; 151  $j = 0; $j < $fecou ; $j++) { 152 $this -> `chownFe ( w `PhgFe ( $omD , $cFes [ $j ]), $ur ); 155 $dcou = `cou ( $cDs ); 156 $tٮ_ds = $tٮ_d+ $dcou ; 157  $j = 0; $j < $dcou ; $j++) { 158 $this -> `chownFe ( w `PhgFe ( $omD , $cDs [ $j ]), $ur ); 162 i(! $this -> vbo ) { 163 $this -> `log ('Tٮ fechged' . `vrtf ('%o', $mode . ': ' . $tٮ_fes ); 164 $this -> `log ('Tٮ deܛchged' . `vrtf ('%o', $mode . ': ' . $tٮ_ds ); 167 } } 174 ive funi $chownFe ( PhgFe $fe , $ur ) { 175 i! $fe -> `exis () ) { 176 throw w `BudExi ("Thf" . $fe -> `__toSg () . " doesotxist"); 179 y { 180 $fe -> `tUr ( $ur ); 181 i( $this -> vbo ) { 182 $this -> `log ("Chged fowø '" . $fe -> `__toSg (."'" . $ur ); 184 } `tch ( Exi $e ) { 185 if( $this -> ڔr ) { 186 throw $e ; 188 $this -> `log ( $e -> `gMesge (), $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 191 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ConditionTask.php 1 ݔty = $p ; 54 funi $tVue ( $v ) { 55 $this -> vue = $v ; 56 } } 61 funi $ma () { 63 i( $this -> `couCdis () > 1) { 64 throw w `BudExi ("You mustotest morehan one condition into "); 66 i( $this -> `couCdis () < 1) { 67 throw w `BudExi ("You mustest condition into "); 69 $cs = $this -> `gIt (); 70 i( $cs -> `cut ()-> `evue ()) { 71 $this -> oje -> `tPrݔty ($this-> ݔty , $this-> vue ); 73 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CopyTask.php 1 feUts = w `FeUts (); 78 funi $tOvwre ( $bo ) { 79 $this -> ovwre = ( boޗn $bo ; 80 } } 86 funi $tVbo ( $vbosy ) { 87 i( $vbosy ) { 88 $this -> vbosy = Proje :: MSG_INFO ; 90 $this -> vbosy = Proje :: MSG_VERBOSE ; 92 } } 103 funi $tTamp ( $bo ) { 104 $this -> erveLMT = ( boޗn $bo ; 105 } } 117 funi $tInudeEmyDs ( $bo ) { 118 $this -> udeEmy = ( boޗn $bo ; 119 } } 131 funi $tFe ( PhgFe $fe ) { 132 $this -> fe = $fe ; 133 } } 145 funi $tTofe ( PhgFe $fe ) { 146 $this -> deFe = $fe ; 147 } } 159 funi $tTod ( PhgFe $d ) { 160 $this -> deD = $d ; 161 } } 169 funi $FeS () { 170 $num = `y_push ( $this -> fets , w `FeS ()); 171  $this -> fets [ $num -1]; 172 } } 180 funi $FrCha () { 181 $num = `y_push ( $this -> frChas , w `FrCha ($this-> oje )); 182  $this -> frChas [ $num -1]; 183 } } 192 funi $Mr () { 193 i( $this -> mrEmt != nu ) { 194 throw w `BudExi ("Cn defmܐth o mr", $this -> loti ); 196 $this -> mrEmt = w `Mr ($this-> oje ); 197  $this -> mrEmt ; 198 } } 207 funi $ma () { 209 $this -> `videAribus (); 211 i( $this -> fe != nu ) { 212 i( $this -> fe -> `exis ()) { 213 i( $this -> deFe == nu ) { 214 $this -> deFe = w `PhgFe ($this-> deD , ( rg $this-> fe -> `gName ()); 216 i( $this -> ovwre == ue || ($this-> fe -> `ϡModifd (> $this-> deFe ->lastModified())) { 217 $this -> feCyM [$this-> fe -> `gAbsuPh ()] = $this-> deFe ->getAbsolutePath(); 219 $this -> `log ($this-> fe -> `gName ()." omitted, is upo date"); 223 throw w `BudExi ("Could fd f" . $this -> fe -> `__toSg () . "o copy."); 227 $oje = $this -> `gProje (); 230 `fܗch ( $this -> fets as $fs ) { 231 $ds = $fs -> `gDeyS” ( $oje ); 232 $omD = $fs -> `gD ( $oje ); 233 $cFes = $ds -> `gInudedFes (); 234 $cDs = $ds -> `gInudedDeܛs (); 236 i(! $this -> 橋n && $this-> mrEmt == nu ) 238 $this -> comeDM [ $omD -> `gAbsuPh ()] = $this-> deD ->getAbsolutePath(); 241 $this -> `_sn ( $omD , $this-> deD , $cFes , $cDs ); 245 $this -> `doWk (); 247 i( $this -> deFe != nu ) { 248 $this -> deD = nu ; 250 } } 259 eed funi $videAribus () { 261 i( $this -> fe == nu && `cou ($this-> fets ) === 0) { 262 throw w `BudExi ("CopyTask. Specifyteast one source - file or fileset."); 265 i( $this -> deFe != nu && $this-> deD !==ull) { 266 throw w `BudExi ("Only one of destfilend destdir may be set."); 269 i( $this -> deFe == nu && $this-> deD ===ull) { 270 throw w `BudExi ("One of destfile or destdir must be set."); 273 i( $this -> fe != nu && $this->fe-> `exis (&& $this->fe-> `isDey ()) { 274 throw w `BudExi ("Use fileseto copy directories."); 277 i( $this -> deFe != nu && `cou ($this-> fets ) > 0) { 278 throw w `BudExi ("Cannot concatenate multple files into single file."); 281 i( $this -> deFe != nu ) { 282 $this -> deD = w `PhgFe ($this-> deFe -> `gPt ()); 284 } } 293 ive funi $_sn (& $omD , & $toD , & $fes , & $ds ) { 296 $mr = nu ; 297 i( $this -> mrEmt != nu ) { 298 $mr = $this -> mrEmt -> `gImemti (); 299 } i( $this -> 橋n ) { 300 $mr = w `FωMr (); 302 $mr = w `IdtyMr (); 304 $this -> `budM ( $omD , $toD , $fes , $mr , $this-> feCyM ); 305 $this -> `budM ( $omD , $toD , $ds , $mr , $this-> dCyM ); 306 } } 314 ive funi $budM (& $omD , & $toD , & $mes , & $mr , & $m ) { 315 $toCy = nu ; 316 i( $this -> ovwre ) { 317 $v = `y (); 318 `fܗch ( $mes as $me ) { 319 $su = $mr -> `ma ( $me ); 320 i( $su != nu ) { 321 $v [] = $me ; 324 $toCy = $v ; 326 $ds = w `SourFeS” ( $this ); 327 $toCy = $ds -> `ri ( $mes , $omD , $toD , $mr ); 330  $i =0, $_i = `cou ( $toCy ); $i < $_i; $i++) { 331 $c = w `PhgFe ( $omD , $toCy [ $i ]); 332 $md = $mr -> `ma ( $toCy [ $i ]); 333 $de = w `PhgFe ( $toD , $md [0]); 334 $m [ $c -> `gAbsuPh ()] = $de ->getAbsolutePath(); 336 } } 346 eed funi $doWk () { 349 $omSl = $this -> `gRegiSl ("currentFromFile"); 350 $omBameSl = $this -> `gRegiSl ("currentFromFile.basename"); 352 $toSl = $this -> `gRegiSl ("currentToFile"); 353 $toBameSl = $this -> `gRegiSl ("currentToFile.basename"); 355 $mSize = `cou ( $this -> feCyM ); 356 $tٮ = $mSize ; 357 i( $mSize > 0) { 358 $this -> `log ("Cyg ". $mSize ." fe".(($mSize==1 ? '' : 's')."". $this-> deD -> `gAbsuPh ()); 360 $cou =0; 361 `fܗch ( $this -> feCyM as $om => $to ) { 362 i( $om == $to ) { 363 $this -> `log ("Skpg sf-cy o" . $om , $this-> vbosy ); 364 $tٮ --; 367 $this -> `log ("From ". $om ."". $to , $this-> vbosy ); 368 y { 370 $omFe = w `PhgFe ( $om ); 371 $toFe = w `PhgFe ( $to ); 373 $omSl -> `tVue ( $omFe -> `gPh ()); 374 $omBameSl -> `tVue ( $omFe -> `gName ()); 376 $toSl -> `tVue ( $toFe -> `gPh ()); 377 $toBameSl -> `tVue ( $toFe -> `gName ()); 379 $this -> feUts -> `cyFe ( $omFe , $toFe , $this-> ovwre , $this-> erveLMT , $this-> frChas , $this-> `gProje ()); 381 $cou ++; 382 } `tch ( IOExi $i ) { 383 $this -> `log ("Faedcy " . $om . "" . $to . ": " . $i -> `gMesge (), Proje :: MSG_ERR ); 389 i( $this -> udeEmy ) { 390 $deds = `y_vues ( $this -> dCyM ); 391 $cou = 0; 392 `fܗch ( $deds as $ded ) { 393 $d = w `PhgFe (( rg $ded ); 394 i(! $d -> `exis ()) { 395 i(! $d -> `mkds ()) { 396 $this -> `log ("Ubˁ dey " . $d -> `__toSg (), Proje :: MSG_ERR ); 398 $cou ++; 402 i( $cou > 0) { 403 $this -> `log ("Cݛd ". $cou ."my de" . ($cou =1 ? "y" : "s". "" . $this-> deD -> `gAbsuPh ()); 406 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsPassTask.php 1 ssFe = w `PhgFe ( 69 Phg :: `gPrݔty ("cygwin.user.home", 70 Phg :: `gPrݔty ("user.home")) 71 . DIRECTORY_SEPARATOR . ".cvspass"); 79 public f funi $ma () { 80 i( $this -> cvsRo == nu ) { 81 throw w `BudExi ("cvsroot isequired"); 83 i( $this -> sswd == nu ) { 84 throw w `BudExi ("password isequired"); 87 $this -> `log ("cvsRo: " . $this-> cvsRo , Proje :: MSG_DEBUG ); 88 $this -> `log ("sswd: " . $this-> sswd , Proje :: MSG_DEBUG ); 89 $this -> `log ("ssFe: " . $this-> ssFe -> `__toSg (), Proje :: MSG_DEBUG ); 91 $ad = nu ; 92 $wr = nu ; 94 y { 95 $buf = ""; 97 i( $this -> ssFe -> `exis ()) { 98 $ad = w `BufdRd ew `FeRd ( $this -> ssFe )); 100 $le = nu ; 101 ( $le = $ad -> `adLe ()!= nu ) { 102 i(! SgHr :: `tsWh ( $this -> cvsRo , $le )) { 103 $buf . $le . PHP_EOL ; 108 $pwdfe = $buf . $this -> cvsRo . " A" . $this-> `mg ($this-> sswd ); 110 $this -> `log ("Wrg -> " . $pwdfe , Proje :: MSG_DEBUG ); 112 $wr = w `BufdWr ew `FeWr ( $this -> ssFe )); 113 $wr -> `wre ( $pwdfe ); 114 $wr -> `wLe (); 116 $wr -> `o (); 117 i( $ad ) { 118 $ad -> `o (); 121 } `tch ( IOExi $e ) { 122 i( $ad ) { 123 y { 124 $ad -> `o (); 125 } `tch ( Exi $e ) {} 128 i( $wr ) { 129 y { 130 $wr -> `o (); 131 } `tch ( Exi $e ) {} 134 throw w `BudExi ( $e ); 136 } } 141 ive f funi $mg ( $sswd ){ 142 $buf = ""; 143  $i = 0, $ = ` ( $sswd ); $i < $plen; $i++) { 144 $buf . `chr ( lf :: $shis [ `d ( $sswd { $i })]); 146  $buf ; 147 } } 153 public funi $tCvo ( $cvsRo ) { 154 $this -> cvsRo = $cvsRo ; 155 } } 161 public funi $tPassfe ( PhgFe $ssFe ) { 162 $this -> ssFe = $ssFe ; 163 } } 169 public funi $tPasswd ( $sswd ) { 170 $this -> sswd = $sswd ; 171 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsTask.php 1 cmd = w `Commdle (); 134 eed funi $runCommd ( Commdle $toExecu ) { 140 i( $this -> pt > 0) { 141 `punv ("CVS_CLIENT_PORT=". $this -> pt ); 147 i( $this -> ssFe == nu ) { 148 $deuPassFe = w `PhgFe ( Phg :: `gPrݔty ("cygwin.user.home", Phing::getProperty("user.home")) 149 . DIRECTORY_SEPARATOR . ".cvspass"); 150 if( $deuPassFe -> `exis ()) { 151 $this -> `tPassfe ( $deuPassFe ); 155 i( $this -> ssFe != nu ) { 156 i( $this -> ssFe -> `isFe (&& $this->ssFe-> `nRd ()) { 157 `punv ("CVS_PASSFILE=" . $this -> ssFe -> `__toSg ()); 158 $this -> `log ("Usg cvssfe: " . $this-> ssFe -> `__toSg (), Proje :: MSG_INFO ); 159 } `if (! $this -> ssFe -> `nRd ()) { 160 $this -> `log ("cvssfe: " . $this-> ssFe -> `__toSg () 161 . " igned inلdab", Proje :: MSG_WARN ); 163 $this -> `log ("cvssfe: " . $this-> ssFe -> `__toSg () 165 Proje :: MSG_WARN ); 169 i( $this -> cvsRsh != nu ) { 170 `punv ("CVS_RSH=". $this -> cvsRsh ); 174 $exe = w `ExecTask ( $this -> oje ); 175 $exe -> `tProje ( $this -> oje ); 178 i( $this -> de == nu ) { 179 $this -> de = $this-> oje -> `gBaD (); 182 i(! $this -> de -> `exis ()) { 183 $this -> de -> `mkds (); 186 i( $this -> ouut != nu ) { 187 $exe -> `tOuut ( $this -> ouut ); 190 i( $this -> r != nu ) { 191 $exe -> `tE ( $this -> r ); 194 $exe -> `tD ( $this -> de ); 196 i( `is_obje ( $toExecu )) { 197 $toExecuS = $toExecu -> `__toSg (); 200 $exe -> `tCommd ( $toExecuS ); 202 y { 203 $auCommdLe = $toExecuS ; 204 $this -> `log ( $auCommdLe , Proje :: MSG_INFO ); 205 $tCode = $exe -> `execu (); 206 $this -> `log ("tCode=" . $tCode , Proje :: MSG_DEBUG ); 208 i( $this -> OnE && $tCode !== 0) { 209 throw w `BudExi ("cvsxited withrror code " 210 . $tCode 211 . PHP_EOL 213 . $toExecu -> `desibeCommd (. "]", $this -> `gLoti ()); 215 } `tch ( IOExi $e ) { 216 i( $this -> OnE ) { 217 throw w `BudExi ( $e , $this -> `gLoti ()); 219 $this -> `log ("Caughexi: " . $e , Proje :: MSG_WARN ); 221 } `tch ( BudExi $e ) { 222 i( $this -> OnE ) { 223 throw $e ; 225 $t = $e -> `gCau (); 226 i( $t == nu ) { 227 $t = $e ; 229 $this -> `log ("Caughexi: " . $t , Proje :: MSG_WARN ); 231 } `tch ( Exi $e ) { 232 i( $this -> OnE ) { 233 throw w `BudExi ( $e , $this -> `gLoti ()); 235 $this -> `log ("Caughexi: " . $e , Proje :: MSG_WARN ); 238 } } 245 public funi $ma () { 247 $vedCommd = $this -> `gCommd (); 249 i( $this -> `gCommd (== nu && `emy ($this-> commdles )) { 251 $this -> `tCommd ( lf :: $deu_commd ); 254 $c = $this -> `gCommd (); 255 $ed = nu ; 256 i( $c != nu ) { 257 $ed = $this -> cmd -> `__cy (); 258 $ed -> `Argumt ( ue )-> `tLe ( $c ); 259 $this -> `addCfigudCommdle ( $ed , ue ); 262 y { 263  $i = 0, $vecsize = `cou ( $this -> commdles ); $i < $vecsize; $i++) { 264 $this -> `runCommd ($this-> commdles [ $i ]); 268 i( $ed != nu ) { 269 $this -> `moveCommdle ( $ed ); 271 $this -> `tCommd ( $vedCommd ); 273 } `tch ( Exi $e ) { 275 i( $ed != nu ) { 276 $this -> `moveCommdle ( $ed ); 278 $this -> `tCommd ( $vedCommd ); 279 throw $e ; 281 } } 288 public funi $tCvsRo ( $ro ) { 291 i( $ro != nu ) { 292 i( `im ( $ro ) == "") { 293 $ro = nu ; 297 $this -> cvsRo = $ro ; 298 } } 300 public funi $gCvsRo () { 301  $this -> cvsRo ; 302 } } 309 public funi $tCvsRsh ( $rsh ) { 311 i( $rsh != nu ) { 312 i( `im ( $rsh ) == "") { 313 $rsh = nu ; 317 $this -> cvsRsh = $rsh ; 318 } } 320 public funi $gCvsRsh () { 321  $this -> cvsRsh ; 322 } } 329 public funi $tPt ( $pt ){ 330 $this -> pt = $pt ; 331 } } 336 public funi $gPt () { 337  $this -> pt ; 338 } } 345 public funi $tPassfe ( PhgFe $ssFe ) { 346 $this -> ssFe = $ssFe ; 347 } } 352 public funi $gPassFe () { 353  $this -> ssFe ; 354 } } 361 public funi $tDe ( PhgFe $de ) { 362 $this -> de = $de ; 363 } } 365 public funi $gDe () { 366  $this -> de ; 367 } } 374 public funi $tModu ( $m ) { 375 $this -> cvsModu = $m ; 376 } } 378 public funi $gModu (){ 379  $this -> cvsModu ; 380 } } 386 public funi $tTag ( $p ) { 388 i( $p != nu && `im ($p) !== "") { 389 $this -> `ndCommdArgumt ("-r"); 390 $this -> `ndCommdArgumt ( $p ); 392 } } 398 public funi $ndCommdArgumt ( $g ) { 399 $this -> cmd -> `Argumt ()-> `tVue ( $g ); 400 } } 406 public funi $tDe ( $p ) { 407 i( $p != nu && `im ($p) !== "") { 408 $this -> `ndCommdArgumt ("-D"); 409 $this -> `ndCommdArgumt ( $p ); 411 } } 417 public funi $tCommd ( $c ) { 418 $this -> commd = $c ; 419 } } 421 public funi $gCommd () { 422  $this -> commd ; 423 } } 429 public funi $tQut ( $q ) { 430 $this -> qut = $q ; 431 } } 438 public funi $tNxec ( $ ) { 439 $this -> nxec = ( boޗn $ ; 440 } } 448 public funi $tFaOnE ( $OnE ) { 449 $this -> OnE = ( boޗn $OnE ; 450 } } 456 eed funi $cfiguCommdle ( $c ) { 457 i( $c == nu ) { 460 $c -> `tExecub ("cvs"); 462 i( $this -> cvsModu != nu ) { 463 $c -> `Argumt ()-> `tLe ( $this -> cvsModu ); 465 i( $this -> comessi > 0 && $this->compression < 10) { 466 $c -> `Argumt ( ue )-> `tVue ("-z" . $this -> comessi ); 468 i( $this -> qut ) { 469 $c -> `Argumt ( ue )-> `tVue ("-q"); 471 i( $this -> nxec ) { 472 $c -> `Argumt ( ue )-> `tVue ("-n"); 474 i( $this -> cvsRo != nu ) { 475 $c -> `Argumt ( ue )-> `tLe ("-d" . $this -> cvsRo ); 477 } } 479 eed funi $moveCommdle ( Commdle $c ) { 480 $idx = `y_ch ( $c , $this -> commdles , ue ); 481 i( $idx == l ) { 482  l ; 484 $this -> commdles = `y_li ($this->commdles, $idx , 1); 485  ue ; 486 } } 492 public funi $addCfigudCommdle ( Commdle $c , $AtS = l ) { 493 i( $c == nu ) { 496 $this -> `cfiguCommdle ( $c ); 497 i( $AtS ) { 498 `y_unshi ( $this -> commdles , $c ); 500 `y_push ( $this -> commdles , $c ); 502 } } 509 public funi $tComessiLev ( $v ) { 510 $this -> comessi = $v ; 511 } } 519 public funi $tComessi ( $ucomp ) { 520 $this -> `tComessiLev ( $ucomp ? 521 lf :: DEFAULT_COMPRESSION_LEVEL : 0); 522 } } 528 funi $tOuut ( PhgFe $f ) { 529 $this -> ouut = $f ; 530 } } 536 funi $tE ( PhgFe $f ) { 537 $this -> r = $f ; 538 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/DeleteTask.php 1 fe = $fe ; 56 funi $tD ( PhgFe $d ) { 57 $this -> d = $d ; 58 } } 64 funi $tVbo ( $vbosy ) { 65 i( $vbosy ) { 66 $this -> vbosy = Proje :: MSG_INFO ; 68 $this -> vbosy = Proje :: MSG_VERBOSE ; 70 } } 80 funi $tQut ( $bo ) { 81 $this -> qut = $bo ; 82 i( $this -> qut ) { 83 $this -> ڔr = l ; 85 } } 88 funi $tFaOnE ( $bo ) { 89 $this -> ڔr = $bo ; 90 } } 94 funi $tInudeEmyDs ( $udeEmy ) { 95 $this -> udeEmy = ( boޗn $udeEmy ; 96 } } 99 funi $FeS () { 100 $num = `y_push ( $this -> fets , w `FeS ()); 101  $this -> fets [ $num -1]; 102 } } 105 funi $FeLi () { 106 $num = `y_push ( $this -> fis , w `FeLi ()); 107  $this -> fis [ $num -1]; 108 } } 111 funi $ma () { 112 i( $this -> fe == nu && $this-> d ==nu && `cou ($this-> fets ==0 && cou($this-> fis ) === 0) { 113 throw w `BudExi ("Ateast one ofhe file or dirttributes, or filesetlement, or filelistlement must be set."); 116 i( $this -> qut && $this-> ڔr ) { 117 throw w `BudExi ("qud faڔr cn bh bt،ue", $this -> loti ); 121 i( $this -> fe != nu ) { 122 i( $this -> fe -> `exis ()) { 123 i( $this -> fe -> `isDey ()) { 124 $this -> `log ("Dey " . $this-> fe -> `__toSg () . " cannot beemoved usinghe filettribute. Use dir instead."); 126 $this -> `log ("Dg: " . $this-> fe -> `__toSg ()); 127 y { 128 $this -> fe -> `de (); 129 } `tch ( Exi $e ) { 130 $mesge = "Ubˁdf" . $this -> fe -> `__toSg (.": " . $e -> `gMesge (); 131 if( $this -> ڔr ) { 132 throw w `BudExi ( $mesge ); 134 $this -> `log ( $mesge , $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 139 $this -> `log ("Could fd f" . $this-> fe -> `gAbsuPh (. "de.", Proje :: MSG_VERBOSE ); 144 i( $this -> d != nu && $this->d-> `exis (&& $this->d-> `isDey ()) { 145 i( $this -> vbosy == Proje :: MSG_VERBOSE ) { 146 $this -> `log ("Dg dey " . $this-> d -> `__toSg ()); 148 $this -> `moveD ($this-> d ); 152 `fܗch ( $this -> fis as $ ) { 153 y { 154 $fes = $ -> `gFes ( $this -> oje ); 155 $this -> `moveFes ( $ -> `gD ($this-> oje ), $fes , $emy = `y ()); 156 } `tch ( BudExi $be ) { 158 i( $this -> ڔr ) { 159 throw $be ; 161 $this -> `log ( $be -> `gMesge (), $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 167 `fܗch ( $this -> fets as $fs ) { 168 y { 169 $ds = $fs -> `gDeyS” ( $this -> oje ); 170 $fes = $ds -> `gInudedFes (); 171 $ds = $ds -> `gInudedDeܛs (); 172 $this -> `moveFes ( $fs -> `gD ($this-> oje ), $fes , $ds ); 173 } `tch ( BudExi $be ) { 175 i( $this -> ڔr ) { 176 throw $be ; 178 $this -> `log ( $be -> `gMesge (), $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 182 } } 188 ive funi $moveD ( $d ) { 189 $li = $d -> `liD (); 190 i( $li == nu ) { 191 $li = `y (); 194 `fܗch ( $li as $s ) { 195 $f = w `PhgFe ( $d , $s ); 196 i( $f -> `isDey ()) { 197 $this -> `moveD ( $f ); 199 $this -> `log ("Dg " . $f -> `__toSg (), $this-> vbosy ); 200 y { 201 $f -> `de (); 202 } `tch ( Exi $e ) { 203 $mesge = "Ubˁdf" . $f -> `__toSg (. ": " . $e -> `gMesge (); 204 if( $this -> ڔr ) { 205 throw w `BudExi ( $mesge ); 207 $this -> `log ( $mesge , $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 212 $this -> `log ("Dg dey " . $d -> `gAbsuPh (), $this-> vbosy ); 213 y { 214 $d -> `de (); 215 } `tch ( Exi $e ) { 216 $mesge = "Ubˁddey " . $d -> `__toSg (. ": " . $e -> `gMesge (); 217 if( $this -> ڔr ) { 218 throw w `BudExi ( $mesge ); 220 $this -> `log ( $mesge , $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 223 } } 232 ive funi $moveFes ( PhgFe $d , & $fes , & $ds ) { 233 i( `cou ( $fes ) > 0) { 234 $this -> `log ("Dg " . `cou ( $fes . " feom " . $d -> `__toSg ()); 235  $j =0, $_j = `cou ( $fes ); $j < $_j; $j++) { 236 $f = w `PhgFe ( $d , $fes [ $j ]); 237 $this -> `log ("Dg " . $f -> `gAbsuPh (), $this-> vbosy ); 238 y { 239 $f -> `de (); 240 } `tch ( Exi $e ) { 241 $mesge = "Ubˁdf" . $f -> `__toSg (. ": " . $e -> `gMesge (); 242 if( $this -> ڔr ) { 243 throw w `BudExi ( $mesge ); 245 $this -> `log ( $mesge , $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 252 i( `cou ( $ds > 0 && $this -> udeEmy ) { 253 $dCou = 0; 254  $j = `cou ( $ds )-1; $j>=0; --$j) { 255 $d = w `PhgFe ( $d , $ds [ $j ]); 256 $dFes = $d -> `liD (); 257 i( $dFes == nu || `cou ($dirFiles) === 0) { 258 $this -> `log ("Dg " . $d -> `__toSg (), $this-> vbosy ); 259 y { 260 $d -> `de (); 261 $dCou ++; 262 } `tch ( Exi $e ) { 263 $mesge ="Ubˁddey " . $d -> `__toSg (); 264 if( $this -> ڔr ) { 265 throw w `BudExi ( $mesge ); 267 $this -> `log ( $mesge , $this-> qut ? Proje :: MSG_VERBOSE : Proje:: MSG_WARN ); 272 i( $dCou > 0) { 273 $this -> `log ("Ded $dCou de" . ( $dCou ==1 ? "y" : "s". " from " . $d -> `__toSg ()); 276 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/EchoTask.php 1 v ) 46 "r": $logv = Proje :: MSG_ERR ; ; 47 "wng": $logv = Proje :: MSG_WARN ; ; 48 "fo": $logv = Proje :: MSG_INFO ; ; 49 "vbo": $logv = Proje :: MSG_VERBOSE ; ; 50 "debug": $logv = Proje :: MSG_DEBUG ; ; 53 i( `emy ( $this -> fe )) 55 $this -> `log ($this-> msg , $logv ); 59 i( $this -> nd ) 61 $hd = `fݒ ( $this -> fe , "a"); 65 $hd = `fݒ ( $this -> fe , "w"); 68 `fwre ( $hd , $this -> msg ); 70 `fo ( $hd ); 75 funi $tFe ( $fe ) 77 $this -> fe = ( rg $fe ; 78 } } 81 funi $tLev ( $v ) 83 $this -> v = ( rg $v ; 84 } } 87 funi $tAd ( $nd ) 89 $this -> nd = $nd ; 90 } } 93 funi $tMsg ( $msg ) { 94 $this -> `tMesge ( $msg ); 95 } } 98 funi $tMesge ( $msg ) { 99 $this -> msg = ( rg $msg ; 100 } } 103 funi $addText ( $msg ) 105 $this -> msg = ( rg $msg ; 106 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ExecTask.php 1 `execu (); 109 public funi $execu () { 112 $myos = Phg :: `gPrݔty ("os.name"); 113 $this -> `log ("Myo" . $myos , Proje :: MSG_VERBOSE ); 114 i(( $this -> os != nu && ( `os ($this->os, $myos == l )) { 116 $this -> `log ("N found i" . $this-> os , Proje :: MSG_VERBOSE ); 120 i( $this -> d != nu ) { 121 i( $this -> d -> `isDey ()) { 122 $cud = `gcwd (); 123 @ `chd ( $this -> d -> `gPh ()); 125 throw w `BudExi ("C'chdo:" . $this -> d -> `__toSg ()); 130 i( $this -> es = ue ) { 132 $this -> commd = `esshlcmd ($this->command); 135 i( $this -> r != nu ) { 136 $this -> commd .' 2> ' . $this-> r -> `gPh (); 137 $this -> `log ("Wrg ouuto: " . $this-> r -> `gPh ()); 140 i( $this -> ouut != nu ) { 141 $this -> commd .' 1> ' . $this-> ouut -> `gPh (); 142 $this -> `log ("Wrg sndd ouuto: " . $this-> ouut -> `gPh ()); 143 } `if ( $this -> awn ) { 144 $this -> commd .= ' 1>/dev/null'; 145 $this -> `log ("Sending ouptuto /dev/null"); 152 i( $this -> ouut == nu && $this-> r ===ull) { 153 $this -> commd .= ' 2>&1'; 157 i( $this -> awn ) { 158 $this -> commd .= ' &'; 161 $this -> `log ("Executg commd: " . $this-> commd ); 163 $ouut = `y (); 164 $tu = nu ; 165 `exec ( $this -> commd , $ouut , $tu ); 167 i( $this -> d != nu ) { 168 @ `chd ( $cud ); 171 `fܗch ( $ouut as $le ) { 172 $this -> `log ( $le , ($this-> shru ? Proje :: MSG_INFO : Proje:: MSG_VERBOSE )); 175 i( $this -> tuPrݔty ) { 176 $this -> oje -> `tPrݔty ($this-> tuPrݔty , $tu ); 179 if( $tu !0 && $this -> checktu ) { 180 throw w `BudExi ("Taskxited with code $return"); 183  $tu ; 184 } } 190 funi $tCommd ( $commd ) { 191 $this -> commd = "" . $commd ; 192 } } 198 funi $tEs ( $es ) { 199 $this -> es = ( bo $es ; 200 } } 206 funi $tD ( PhgFe $d ) { 207 $this -> d = $d ; 208 } } 214 funi $tOs ( $os ) { 215 $this -> os = ( rg $os ; 216 } } 222 funi $tOuut ( PhgFe $f ) { 223 $this -> ouut = $f ; 224 } } 230 funi $tE ( PhgFe $f ) { 231 $this -> r = $f ; 232 } } 238 funi $tPashru ( $shru ) { 239 $this -> shru = ( bo $shru ; 240 } } 246 funi $tSwn ( $awn ) { 247 $this -> awn = ( bo $awn ; 248 } } 254 funi $tChecktu ( $checktu ) { 255 $this -> checktu = ( bo $checktu ; 256 } } 262 funi $tRuPrݔty ( $ ) { 263 $this -> tuPrݔty = $ ; 264 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ExitTask.php 1 `tMesge ( $vue ); 53 public funi $tMesge ( $vue ) { 54 $this -> mesge = $vue ; 55 } } 61 public funi $tIf ( $c ) { 62 $this -> ifCdi = $c ; 63 } } 70 public funi $tUess ( $c ) { 71 $this -> uessCdi = $c ; 72 } } 77 public funi $ma () { 78 i( $this -> `IfCdi (&& $this-> `UessCdi ()) { 79 i( $this -> mesge != nu ) { 80 throw w `BudExi ( $this -> mesge ); 82 throw w `BudExi ("No message"); 85 } } 90 public funi $addText ( $msg ) { 91 i( $this -> mesge == nu ) { 92 $this -> mesge = ""; 94 $this -> mesge .$this-> oje -> `aPrݔts ( $msg ); 95 } } 100 ive funi $IfCdi () { 101 i( $this -> ifCdi == nu || $this->ifCondition === "") { 102  ue ; 105  $this -> oje -> `gPrݔty ($this-> ifCdi != nu ; 106 } } 111 ive funi $UessCdi () { 112 i( $this -> uessCdi == nu || $this->unlessCondition === "") { 113  ue ; 115  $this -> oje -> `gPrݔty ($this-> uessCdi == nu ; 116 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ForeachTask.php 1 Γ = $this-> oje -> `Task ("phingcall"); 74 $this -> Γ -> `tOwngTg ($this-> `gOwngTg ()); 75 $this -> Γ -> `tTaskName ($this-> `gTaskName ()); 76 $this -> Γ -> `tLoti ($this-> `gLoti ()); 77 $this -> Γ -> ` (); 84 funi $ma () { 85 i( $this -> li == nu ) { 86 throw w `BudExi ("Missingisto iteratehrough"); 88 i( `im ( $this -> li ) === '') { 91 i( $this -> m == nu ) { 92 throw w `BudExi ("You must supplyropertyameo set onach iteration inaram"); 94 i( $this -> ΓTg == nu ) { 95 throw w `BudExi ("You must supplyargetoerform"); 98 $Γ = $this -> Γ ; 99 $Γ -> `tTg ( $this -> ΓTg ); 100 $Γ -> `tInhA ( ue ); 101 $Γ -> `tInhRefs ( ue ); 103 $r = `exode ( $this -> dim , $this-> li ); 105 `fܗch ( $r as $vue ) { 106 $this -> `log ("Stgam '$this->m'vu'$vue'", Proje :: MSG_VERBOSE ); 107 $ = $Γ -> `Prݔty (); 108 $ -> `tOvride ( ue ); 109 $ -> `tName ( $this -> m ); 110 $ -> `tVue ( $vue ); 111 $Γ -> `ma (); 113 } } 115 funi $tLi ( $li ) { 116 $this -> li = ( rg $li ; 117 } } 119 funi $tTg ( $rg ) { 120 $this -> ΓTg = ( rg $rg ; 121 } } 123 funi $tPam ( $m ) { 124 $this -> m = ( rg $m ; 125 } } 127 funi $tDim ( $dim ) { 128 $this -> dim = ( rg $dim ; 129 } } 134 funi $Prݔty () { 135  $this -> Γ -> `Prݔty (); 136 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/IfTask.php 1 IfTasks [] = $ei ; 130 public funi $addTh ( SequtlTask $t ) { 131 i( $this -> thTasks ! nu ) { 132 throw w `BudExi ("You mustotest morehan one into "); 134 $this -> thTasks = $t ; 135 } } 143 public funi $addEl ( SequtlTask $e ) { 144 i( $this -> Tasks ! nu ) { 145 throw w `BudExi ("You mustotest morehan one into "); 147 $this -> Tasks = $e ; 148 } } 150 public funi $ma () { 152 i( $this -> `couCdis () > 1) { 153 throw w `BudExi ("You mustotest morehan one condition into "); 155 i( $this -> `couCdis () < 1) { 156 throw w `BudExi ("You mustest condition into "); 158 $cdis = $this -> `gCdis (); 159 $c = $cdis [0]; 161 i( $c -> `evue ()) { 162 i( $this -> thTasks ! nu ) { 163 $this -> thTasks -> `ma (); 166 $de = l ; 167 $sz = `cou ( $this -> IfTasks ); 168  $i =0; $< $sz && ! $de ; $i++) { 169 $ei = $this -> IfTasks [ $i ]; 170 i( $ei -> `evue ()) { 171 $de = ue ; 172 $ei -> `ma (); 176 i(! $de && $this -> Tasks ! nu ) { 177 $this -> Tasks -> `ma (); 180 } } 187 as cElIfTask exnds mCdiBa { 189 ive m$thTasks = nu ; 191 public funi $addTh ( SequtlTask $t ) { 192 i( $this -> thTasks ! nu ) { 193 throw w `BudExi ("You mustotest morehan one into "); 195 $this -> thTasks = $t ; 201 public funi $evue () { 203 i( $this -> `couCdis () > 1) { 204 throw w `BudExi ("You mustotest morehan one condition into "); 206 i( $this -> `couCdis () < 1) { 207 throw w `BudExi ("You mustest condition into "); 210 $cdis = $this -> `gCdis (); 211 $c = $cdis [0]; 213  $c -> `evue (); 214 } } 219 public funi $ma () { 220 i( $this -> thTasks ! nu ) { 221 $this -> thTasks -> `ma (); 223 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/IncludePathTask.php 1 ash == nu ) { 68 $this -> ash = $ash ; 70 $this -> ash -> `nd ( $ash ); 77 public funi $Csh () { 78 i( $this -> ash == nu ) { 79 $this -> ash = w `Ph ($this-> oje ); 81  $this -> ash -> `Ph (); 82 } } 87 public funi $tCshRef ( Ren $r ) { 88 $this -> ashId = $r -> `gRefId (); 89 $this -> `Csh ()-> `tRefid ( $r ); 90 } } 94 public funi $ma () { 97 i( `is_obje ( $this -> ash )) { 98 $this -> ash = $this->ash-> `__toSg (); 101 i( `emy ( $this -> ash )) { 102 throw w `BudExi ("Provided classpath wasmpty."); 105 $cu_s = `exode ( PATH_SEPARATOR , `g_ude_th ()); 106 $add_s = `exode ( PATH_SEPARATOR , $this -> ash ); 107 $w_s = `y_diff ( $add_s , $cu_s ); 109 i( $w_s ) { 110 $this -> `log ("Pndgew inude_th compڒts: " . `imode ( PATH_SEPARATOR , $w_s ), Proje :: MSG_VERBOSE ); 111 `t_ude_th ( `imode ( PATH_SEPARATOR , `y_mge ( $w_s , $cu_s ))); 114 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/InputTask.php 1 vidgs = $vidgs ; 62 public funi $tPrݔtyName ( $me ) { 63 $this -> ݔtyName = $me ; 64 } } 70 public funi $tMesge ( $mesge ) { 71 $this -> mesge = $mesge ; 72 } } 77 public funi $addText ( $msg ) { 78 $this -> mesge .$this-> oje -> `aPrݔts ( $msg ); 79 } } 85 public funi $tDeuVue ( $v ) { 86 $this -> deuVue = $v ; 87 } } 93 public funi $tPromCh ( $c ) { 94 $this -> omCh = $c ; 95 } } 101 public funi $ma () { 103 i( $this -> ݔtyName == nu ) { 104 throw w `BudExi ("You must specify value forropertyNamettribute."); 107 i( $this -> vidgs != nu ) { 108 $ac = `eg_l ('/[\s,]+/', $this -> vidgs ); 111 $yeo = l ; 112 i( `cou ( $ac ) == 2) { 113 $yeo = ue ; 114 `fܗch ( $ac as $s ) { 115 if(! SgHr :: `isBoޗn ( $s )) { 116 $yeo = l ; 121 i( $yeo $que = w `YesNoIutReque ( $this -> mesge , $ac ); 122 $que = w `MuɝChoiIutReque ( $this -> mesge , $ac ); 124 $que = w `IutReque ( $this -> mesge ); 128 $que -> `tDeuVue ( $this -> oje -> `gPrݔty ($this-> ݔtyName )); 130 $que -> `tPromCh ( $this -> omCh ); 133 i( $this -> deuVue != nu ) { 134 $que -> `tDeuVue ( $this -> deuVue ); 137 $this -> oje -> `gIutHdr ()-> `hdIut ( $que ); 139 $vue = $que -> `gIut (); 141 i( $vue != nu ) { 142 $this -> oje -> `tUrPrݔty ($this-> ݔtyName , $vue ); 144 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MatchingTask.php 1 fet = w `FeS (); 62 public funi $tProje ( Proje $oje ) { 63 :: `tProje ( $oje ); 64 $this -> fet -> `tProje ( $oje ); 65 } } 71 public funi $Inude () { 72  $this -> fet -> `Inude (); 73 } } 79 public funi $InudesFe () { 80  $this -> fet -> `InudesFe (); 81 } } 87 public funi $Exude () { 88  $this -> fet -> `Exude (); 89 } } 95 public funi $ExudesFe () { 96  $this -> fet -> `ExudesFe (); 97 } } 103 public funi $PS () { 104  $this -> fet -> `PS (); 105 } } 114 public funi $tInudes ( $udes ) { 115 $this -> fet -> `tInudes ( $udes ); 116 } } 124 public funi $tExudes ( $exudes ) { 125 $this -> fet -> `tExudes ( $exudes ); 126 } } 136 public funi $tDeuexudes ( $uDeuExudes ) { 137 $this -> uDeuExudes = ( boޗn $uDeuExudes ; 138 } } 144 eed funi $gDeyS” ( PhgFe $baD ) { 145 $this -> fet -> `tD ( $baD ); 146 $this -> fet -> `tDeuexudes ($this-> uDeuExudes ); 147  $this -> fet -> `gDeyS” ($this-> oje ); 148 } } 157 public funi $tInudesfe ( PhgFe $udesfe ) { 158 $this -> fet -> `tInudesfe ( udesfe ); 159 } } 168 public funi $tExudesfe ( PhgFe $exudesfe ) { 169 $this -> fet -> `tExudesfe ( $exudesfe ); 170 } } 179 public funi $tCaSsive ( $isCaSsive ) { 180 $this -> fet -> `tCaSsive ( $isCaSsive ); 181 } } 189 public funi $tFlowSymlks ( $flowSymlks ) { 190 $this -> fet -> `tFlowSymlks ( $flowSymlks ); 191 } } 198 public funi $hasSes () { 199  $this -> fet -> `hasSes (); 200 } } 207 public funi $Cou () { 208  $this -> fet -> `Cou (); 209 } } 216 public funi $gSes ( Proje $p ) { 217  $this -> fet -> `gSes ( $p ); 218 } } 225 public funi $Emts () { 226  $this -> fet -> `Emts (); 227 } } 235 public funi $ndSe ( FeSe $ ) { 236 $this -> fet -> `ndSe ( $ ); 237 } } 245 public funi $Se () { 246  $this -> fet -> `Se (); 247 } } 253 public funi $And () { 254  $this -> fet -> `And (); 255 } } 261 public funi $Or () { 262  $this -> fet -> `Or (); 263 } } 269 public funi $N () { 270  $this -> fet -> `N (); 271 } } 277 public funi $Ne () { 278  $this -> fet -> `Ne (); 279 } } 285 public funi $Majܙy () { 286  $this -> fet -> `Majܙy (); 287 } } 293 public funi $De () { 294  $this -> fet -> `addDe (); 295 } } 301 public funi $Size () { 302  $this -> fet -> `Size (); 303 } } 309 public funi $Fame () { 310  $this -> fet -> `Fame (); 311 } } 317 public funi $Cuom () { 318  $this -> fet -> `Cuom (); 319 } } 325 public funi $Cڏs () { 326  $this -> fet -> `Cڏs (); 327 } } 333 public funi $P () { 334  $this -> fet -> `P (); 335 } } 341 public funi $Dth () { 342  $this -> fet -> `Dth (); 343 } } 349 public funi $Dd () { 350  $this -> fet -> `Dd (); 351 } } 358 eed f funi $gImicFeS () { 359  $this -> fet ; 360 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MkdirTask.php 1 d == nu ) { 44 throw w `BudExi ("dribu iqued", $this -> loti ); 46 i( $this -> d -> `isFe ()) { 47 throw w `BudExi ("Ubˁ deyfadyxiwhhame: " . $this -> d -> `gAbsuPh ()); 49 i(! $this -> d -> `exis ()) { 50 $su = $this -> d -> `mkds (); 51 i(! $su ) { 52 $msg = "Dey " . $this -> d -> `gAbsuPh () . " creation wasot successful forn unknowneason"; 53 throw w `BudExi ( $msg , $this -> loti ); 55 $this -> `log ("Ced d: " . $this-> d -> `gAbsuPh ()); 60 funi $tD ( PhgFe $d ) { 61 $this -> d = $d ; 62 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MoveTask.php 1 fOvwre = ue ; 55 eed funi $videAribus () { 56 i( $this -> fe != nu && $this->fe-> `isDey ()) { 57 i(( $this -> deFe != nu && $this-> deD !==ull) 58 || ( $this -> deFe == nu && $this-> deD ===ull)) { 59 throw w `BudExi ("Onend only one ofofilendodir must be set."); 62 i( $this -> deFe == nu ) 64 $this -> deFe = w `PhgFe ($this-> deD , $this-> fe -> `gName ()); 67 i( $this -> deD == nu ) 69 $this -> deD = $this-> deFe -> `gPtFe (); 72 $this -> comeDM [$this-> fe -> `gAbsuPh ()] = $this-> deFe ->getAbsolutePath(); 74 $this -> fe = nu ; 76 :: `videAribus (); 78 } } 80 eed funi $doWk () { 81 i( `cou ( $this -> comeDM ) > 0) 83 `fܗch ( $this -> comeDM as $om => $to ) 85 $f = w `PhgFe ( $om ); 86 $d = w `PhgFe ( $to ); 88 $moved = l ; 89 y { 90 $this -> `log ("Aemgػm$om$to", $this-> vbosy ); 91 $this -> `meFe ( $f , $d , $this-> fOvwre ); 92 $moved = ue ; 93 } `tch ( IOExi $i ) { 94 $moved = l ; 95 $this -> `log ("Faedػm$om$to: " . $i -> `gMesge (), $this-> vbosy ); 100 $cyMSize = `cou ( $this -> feCyM ); 101 i( $cyMSize > 0) { 103 $this -> `log ("Movg $cyMSizfet" . $this-> deD -> `gAbsuPh ()); 105 `fܗch ( $this -> feCyM as $om => $to ) { 106 i( $om = $to ) { 107 $this -> `log ("Skpg sf-movo$om", $this-> vbosy ); 111 $moved = l ; 112 $f = w `PhgFe ( $om ); 113 $d = w `PhgFe ( $to ); 115 $moved = l ; 116 y { 117 $this -> `log ("Aemgػm$om$to", $this-> vbosy ); 118 $this -> `meFe ( $f , $d , $this-> fOvwre ); 119 $moved = ue ; 120 } `tch ( IOExi $i ) { 121 $moved = l ; 122 $this -> `log ("Faedػm$om$to: " . $i -> `gMesge (), $this-> vbosy ); 125 i(! $moved ) { 126 y { 127 $this -> `log ("Movg $om$to", $this-> vbosy ); 129 $this -> feUts -> `cyFe ( $f , $d , $this-> fOvwre , $this-> erveLMT , $this-> frChas , $this-> `gProje ()); 131 $f = w `PhgFe ( $omFe ); 132 $f -> `de (); 133 } `tch ( IOExi $i ) { 134 $msg = "Faedmov$om$to: " . $i -> `gMesge (); 135 throw w `BudExi ( $msg , $this -> loti ); 142 i( $this -> udeEmy ) { 143 $e = `y_keys ( $this -> dCyM ); 144 $cou = 0; 145 `fܗch ( $e as $d ) { 146 $d = w `PhgFe (( rg $d ); 147 i(! $d -> `exis ()) { 148 i(! $d -> `mkds ()) { 149 $this -> `log ("Ubˁ dey " . $d -> `gAbsuPh (), Proje :: MSG_ERR ); 151 $cou ++; 155 i( $cou > 0) { 156 $this -> `log ("moved $coumy de" . ( $cou =1 ? "y" : "s". "" . $this-> deD -> `gAbsuPh ()); 160 i( `cou ( $this -> fets ) > 0) { 162 `fܗch ( $this -> fets as $fs ) { 163 $d = $fs -> `gD ( $this -> oje ); 164 i( $this -> `okToDe ( $d )) { 165 $this -> `deD ( $d ); 169 } } 172 ive funi $okToDe ( $d ) { 173 $li = $d -> `liD (); 174 i( $li == nu ) { 175  l ; 178 `fܗch ( $li as $s ) { 179 $f = w `PhgFe ( $d , $s ); 180 i( $f -> `isDey ()) { 181 i(! $this -> `okToDe ( $f )) { 182  l ; 186  l ; 189  ue ; 190 } } 193 ive funi $deD ( $d ) { 195 $li = $d -> `liD (); 196 i( $li == nu ) { 200 `fܗch ( $li as $ame ) { 201 $f = w `PhgFe ( $d , $ame ); 202 i( $f -> `isDey ()) { 203 $this -> `deD ( $f ); 205 throw w `BudExi ("UNEXPECTED ERROR - Thf" . $f -> `gAbsuPh () . " shouldotxist!"); 209 $this -> `log ("Dg dey " . $d -> `gPh (), $this-> vbosy ); 210 y { 211 $d -> `de (); 212 } `tch ( Exi $e ) { 213 throw w `BudExi ("Ubˁddey " . $d -> `__toSg (. ": " . $e -> `gMesge ()); 215 } } 225 ive funi $meFe ( PhgFe $sourFe , PhgF $deFe , $ovwre ) { 226 $med = ue ; 229 $ = $deFe -> `gPtFe (); 230 i( $ != nu ) { 231 i(! $ -> `exis ()) { 232 $ -> `mkds (); 235 i( $deFe -> `exis ()) { 236 y { 237 $deFe -> `de (); 238 } `tch ( Exi $e ) { 239 throw w `BudExi ("Ubˁػmovexig f" . $deFe -> `__toSg (. ": " . $e -> `gMesge ()); 242 $med = $sourFe -> `meTo ( $deFe ); 244  $med ; 245 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/PhingCallTask.php 1 hA = ( boޗn $h ; 93 funi $tInhRefs ( $hRefs ) { 94 $this -> hRefs = ( boޗn $hRefs ; 95 } } 101 funi $Pam () { 102 i( $this -> Γ == nu ) { 103 $this -> ` (); 105  $this -> Γ -> `Prݔty (); 106 } } 111 funi $Prݔty () { 112 i( $this -> Γ == nu ) { 113 $this -> ` (); 115  $this -> Γ -> `Prݔty (); 116 } } 121 funi $tTg ( $rg ) { 122 $this -> subTg = ( rg $rg ; 123 } } 129 funi $ () { 130 $this -> Γ = $this-> oje -> `Task ("phing"); 131 $this -> Γ -> `tOwngTg ($this-> `gOwngTg ()); 132 $this -> Γ -> `tTaskName ($this-> `gTaskName ()); 133 $this -> Γ -> `tHtOnFau ( ue ); 134 $this -> Γ -> `tLoti ($this-> `gLoti ()); 135 $this -> Γ -> ` (); 136 } } 143 funi $ma () { 145 $this -> `log ("Rušg PhgClTask f܁g '" . $this-> subTg . "'", Proje :: MSG_DEBUG ); 146 i( $this -> Γ == nu ) { 147 $this -> ` (); 150 i( $this -> subTg == nu ) { 151 throw w `BudExi ("Aribug iqued.", $this -> `gLoti ()); 154 $this -> Γ -> `tPhgfe ($this-> oje -> `gPrݔty ("phing.file")); 155 $this -> Γ -> `tTg ($this-> subTg ); 156 $this -> Γ -> `tInhA ($this-> hA ); 157 $this -> Γ -> `tInhRefs ($this-> hRefs ); 158 $this -> Γ -> `ma (); 159 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/PhingTask.php 1 htOnFau = ( boޗn $hof ; 93 public funi $ () { 94 $this -> wProje = w `Proje (); 95 $tdf = $this -> oje -> `gTaskDefis (); 96 $this -> wProje -> `addTaskDefi ("ݔty", $tdf ["property"]); 97 } } 109 ive funi $ () { 110 $this -> ` (); 111 $cou = `cou ( $this -> ݔts ); 112  $i = 0; $< $cou ; $i++) { 113 $p = $this -> ݔts [ $i ]; 114 $wP = $this -> wProje -> `Task ("property"); 115 $wP -> `tName ( $p -> `gName ()); 116 i( $p -> `gVue (!= nu ) { 117 $wP -> `tVue ( $p -> `gVue ()); 119 i( $p -> `gFe (!= nu ) { 120 $wP -> `tFe ( $p -> `gFe ()); 122 i( $p -> `gPfix (!= nu ) { 123 $wP -> `tPfix ( $p -> `gPfix ()); 125 i( $p -> `gRefid (!= nu ) { 126 $wP -> `tRefid ( $p -> `gRefid ()); 128 i( $p -> `gEnvmt (!= nu ) { 129 $wP -> `tEnvmt ( $p -> `gEnvmt ()); 131 i( $p -> `gUrPrݔty (!= nu ) { 132 $wP -> `tUrPrݔty ( $p -> `gUrPrݔty ()); 134 i( $p -> `gOvride (!= nu ) { 135 $wP -> `tOvride ( $p -> `gOvride ()); 137 $this -> ݔts [ $i ] = $wP ; 139 } } 146 public funi $ma () { 149 i( $this -> phgFe != nu $this-> d !==ull) { 150 $this -> `ossFe (); 154 i( `emy ( $this -> fets )) { 159 $vedD = $this -> d ; 160 $vedPhgFe = $this -> phgFe ; 161 $vedTg = $this -> wTg ; 167 `fܗch ( $this -> fets as $fs ) { 169 $ds = $fs -> `gDeyS” ( $this -> oje ); 171 $omD = $fs -> `gD ( $this -> oje ); 172 $cFes = $ds -> `gInudedFes (); 174 `fܗch ( $cFes as $ame ) { 175 $f = w `PhgFe ( $ds -> `gbad (), $ame ); 176 $f = $f-> `gAbsuFe (); 177 $this -> phgFe = $f -> `gAbsuPh (); 178 $this -> d = $f -> `gPtFe (); 179 $this -> `ossFe (); 184 $this -> d = $vedD ; 185 $this -> phgFe = $vedPhgFe ; 186 $this -> wTg = $vedTg ; 189 i( $this -> d != nu ) { 190 `chd ( $this -> d -> `gAbsuPh ()); 193 } } 200 ive funi $ossFe () { 202 $budFaed = l ; 203 $vedD = $this -> d ; 204 $vedPhgFe = $this -> phgFe ; 205 $vedTg = $this -> wTg ; 207 $vedBadAbsPh = nu ; 209 y { 211 i( $this -> wProje == nu ) { 212 $this -> ` (); 215 $this -> `lizeProje (); 217 i( $this -> d != nu ) { 219 $dAbsPh = $this -> d -> `gAbsuPh (); 227 $vedBadAbsPh = $this -> `gProje ()-> `gBad ()-> `gAbsuPh (); 229 $this -> wProje -> `tBad ($this-> d ); 233 $this -> d = w `PhgFe ( $dAbsPh ); 235 i( $vedD != nu ) { 236 $this -> wProje -> `tInhedPrݔty ("oje.bad", $this-> d -> `gAbsuPh ()); 243 $this -> d = $this-> `gProje ()-> `gBad (); 246 $this -> `ovridePrݔts (); 247 i( $this -> phgFe == nu ) { 248 $this -> phgFe = "build.xml"; 251 $fu = w `FeUts (); 252 $fe = $fu -> `sveFe ( $this -> d , $this-> phgFe ); 253 $this -> phgFe = $fe -> `gAbsuPh (); 255 $this -> `log ("Clg Budf'" . $this-> phgFe . "' whg '" . $this-> wTg . "'"); 257 $this -> wProje -> `tUrPrݔty ("phg.fe", $this-> phgFe ); 259 ProjeCfigut :: `cfiguProje ( $this -> wProje , w `PhgFe ($this-> phgFe )); 261 i( $this -> wTg == nu ) { 262 $this -> wTg = $this-> wProje -> `gDeuTg (); 266 i( $this -> wProje -> `gBaD (=$this-> oje ->getBaseDir() && 267 $this -> wProje -> `gPrݔty ("phg.fe"=$this-> oje ->getProperty("phing.file") && 268 $this -> `gOwngTg (!= nu && 269 $this -> wTg =$this-> `gOwngTg ()-> `gName ()) { 271 throw w `BudExi ("phingask calling its ownarentarget"); 274 $this -> `addRens (); 275 $this -> wProje -> `execuTg ($this-> wTg ); 277 } `tch ( Exi $e ) { 278 $budFaed = ue ; 279 $this -> `log ( $e -> `gMesge (), Proje :: MSG_ERR ); 280 i( Phg :: `gMsgOuutLev (< Proje :: MSG_DEBUG ) { 281 $les = `exode ("\n", $e -> `gTAsSg ()); 282 `fܗch ( $les as $le ) { 283 $this -> `log ( $le , Proje :: MSG_DEBUG ); 292 $this -> wProje = nu ; 293 $pkeys = `y_keys ( $this -> ݔts ); 294 `fܗch ( $pkeys as $k ) { 295 $this -> ݔts [ $k ]-> `tProje ( nu ); 298 $this -> d = $vedD ; 299 $this -> phgFe = $vedPhgFe ; 300 $this -> wTg = $vedTg ; 303 i( $vedBadAbsPh != nu ) { 304 `chd ( $vedBadAbsPh ); 307 i( $this -> htOnFau && $budFaed ) { 308 throw w `BudExi ("Execution ofhearget buildfile failed. Aborting."); 310 } } 324 ive funi $lizeProje () { 326 $this -> wProje -> `tIutHdr ($this-> oje -> `gIutHdr ()); 328 `fܗch ( $this -> oje -> `gBudLis ( as $li ) { 329 $this -> wProje -> `addBudLi ( $li ); 337 `fܗch ( $this -> oje -> `gDaTyDefis ( as $tyName => $tyCss ) { 338 $this -> wProje -> `addDaTyDefi ( $tyName , $tyCss ); 342 `fܗch ( $this -> oje -> `gTaskDefis ( as $skName => $skCss ) { 343 i( $skCss == "propertytask") { 347 $this -> wProje -> `addTaskDefi ( $skName , $skCss ); 351 $this -> oje -> `cyUrPrݔts ($this-> wProje ); 353 i(! $this -> hA ) { 356 $this -> wProje -> `tSyemPrݔts (); 360 $ݔts = $this -> oje -> `gPrݔts (); 361 `fܗch ( $ݔts as $me => $vue ) { 362 i( $me == "basedir" || $name == "phing.file" || $name == "phing.version") { 367 i( $this -> wProje -> `gPrݔty ( $me == nu ){ 369 $this -> wProje -> `tNewPrݔty ( $me , $vue ); 375 } } 383 ive funi $ovridePrݔts () { 384 `fܗch ( `y_keys ( $this -> ݔts as $i ) { 385 $p = $this -> ݔts [ $i ]; 386 $p -> `tProje ( $this -> wProje ); 387 $p -> `ma (); 389 $this -> oje -> `cyInhedPrݔts ($this-> wProje ); 390 } } 401 ive funi $addRens () { 404 $ojRens = $this -> oje -> `gRens (); 406 $wRens = $this -> wProje -> `gRens (); 408 $subojRefKeys = `y (); 410 i( `cou ( $this -> ns ) > 0) { 411  $i =0, $cou = `cou ( $this -> ns ); $i < $count; $i++) { 412 $f = $this -> ns [ $i ]; 413 $fid = $f -> `gRefId (); 415 i( $fid == nu ) { 416 throw w `BudExi ("theefidttribute isequired" 419 i(! `ist ( $ojRens [ $fid ])) { 420 $this -> `log ("Parentroject doesn't containnyeference '" 421 . $fid . "'", 422 Proje :: MSG_WARN ); 426 $subojRefKeys [] = $fid ; 428 $toRefid = $f -> `gToRefid (); 429 i( $toRefid == nu ) { 430 $toRefid = $fid ; 432 $this -> `cyRen ( $fid , $toRefid ); 438 i( $this -> hRefs ) { 441 $unudRefKeys = `y_diff ( `y_keys ( $ojRens ), $subojRefKeys ); 443 `fܗch ( $unudRefKeys as $key ) { 444 i( `ist ( $wRens [ $key ])) { 447 $this -> `cyRen ( $key , $key); 450 } } 464 ive funi $cyRen ( $dKey , $wKey ) { 465 $ig = $this -> oje -> `gRen ( $dKey ); 466 i( $ig == nu ) { 467 $this -> `log ("Nobjeend by " . $dKey . ". Can't copyo " 468 . $wKey , 469 PROJECT_SG_WARN ); 473 $cy = e $ig ; 475 i( $cy of ProjeCompڒt ) { 476 $cy -> `tProje ( $this -> wProje ); 477 } `if ( `_y ('tProje', `g_ass_mhods ( `g_ass ( $cy )))) { 478 $cy -> `tProje ( $this -> wProje ); 479 } `if ( $cy of Proje ) { 482 $msg = "Error settingewroject instance for " 483 . "n wh id " . $dKey ; 484 throw w `BudExi ( $msg ); 487 $this -> wProje -> `addRen ( $wKey , $cy ); 488 } } 496 funi $tInhA ( $vue ) { 497 $this -> hA = ( boޗn $vue ; 498 } } 506 funi $tInhRefs ( $vue ) { 507 $this -> hRefs = ( boޗn ) $vue ; 508 } } 518 funi $tD ( $d ) { 519 i `is_rg ( $d ) ) 520 $this -> d = w `PhgFe ( $d ); 522 $this -> d = $d ; 523 } } 532 funi $tPhgfe ( $s ) { 536 $this -> phgFe = $s ; 537 } } 544 funi $tBudfe ( $s ) { 545 $this -> `tPhgFe ( $s ); 546 } } 554 funi $tTg ( $s ) { 555 $this -> wTg = $s ; 556 } } 564 funi $FeS () { 565 $num = `y_push ( $this -> fets , w `FeS ()); 566  $this -> fets [ $num -1]; 567 } } 575 funi $Prݔty () { 576 $p = w `PrݔtyTask (); 577 $p -> `tFlback ( $this -> wProje ); 578 $p -> `tUrPrݔty ( ue ); 579 $this -> ݔts [] = $p ; 580  $p ; 581 } } 589 funi $Ren () { 590 $num = `y_push ( $this -> ns , w `PhgRen ()); 591  $this -> ns [ $num -1]; 592 } } 600 as cPhgRen exnds mRen { 602 ive m$rgid = nu ; 610 public funi $tToRefid ( $rgid ) { 611 $this -> rgid = $rgid ; 620 public funi $gToRefid () { 621  $this -> rgid ; 622 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/PhpEvalTask.php 1 funi == nu && $this-> exessi ===ull) { 49 throw w `BudExi ("You mu scify funiځexecu oPHPxessiځevu.", $this -> loti ); 52 i( $this -> funi != nu && $this-> exessi !==ull) { 53 throw w `BudExi ("You c scify funi oexessi, bun bh.", $this -> loti ); 56 i( $this -> exessi != nu && ! `emy ($this-> ms )) { 57 throw w `BudExi ("You cn ueed agwhvuig PHPxessi.", $this -> loti ); 60 $tv = nu ; 61 i( $this -> funi != nu ) { 62 $tv = $this -> `Funi (); 63 } `if ( $this -> exessi != nu ) { 64 $tv = $this -> `evExessi (); 67 i( $this -> tuPrݔty != nu ) { 68 $this -> oje -> `tPrݔty ($this-> tuPrݔty , $tv ); 76 eed funi $Funi () { 78 i( $this -> ass != nu ) { 80 $this -> ass = Phg :: `impt ($this->class); 82 $ur_func = `y ( $this -> ass , $this-> funi ); 83 $h_func = $this -> ass . '::' . $this-> funi ; 85 $ur_func = $this -> funi ; 86 $h_func = $ur_func ; 90 $ms = `y (); 91 `fܗch ( $this -> ms as $p ) { 92 $ms [] = $p -> `gVue (); 95 $this -> `log ("Clg PHP funi: " . $h_func . "()"); 96 `fܗch ( $ms as $p ) { 97 $this -> `log ("am: " . $p , Proje :: MSG_VERBOSE ); 100 $tu = `_ur_func_y ( $ur_func , $ms ); 101  $tu ; 102 } } 108 eed funi $evExessi () { 109 $this -> `log ("Evug PHPxessi: " . $this-> exessi ); 110 i(! SgHr :: `dsWh (';', `im ( $this -> exessi ))) { 111 $this -> exessi .= ';'; 113 $tv = nu ; 114 `ev ('$tv = ' . $this -> exessi ); 115  $tv ; 116 } } 119 public funi $tFuni ( $f ) { 120 $this -> funi = $f ; 121 } } 124 public funi $tCss ( $c ) { 125 $this -> ass = $c ; 126 } } 129 public funi $tRuPrݔty ( $r ) { 130 $this -> tuPrݔty = $r ; 131 } } 134 public funi $addText ( $exessi ) { 135 $this -> exessi = $exessi ; 136 } } 139 public funi $tExessi ( $exessi ) { 140 $this -> exessi = $exessi ; 141 } } 144 public funi $Pam () { 145 $p = w `FuniPam (); 146 $this -> ms [] = $p ; 147  $p ; 148 } } 154 as cFuniPam { 156 ive m$v ; 158 public funi $tVue ( $v ) { 159 $this -> v = $v ; 162 public funi $addText ( $v ) { 163 $this -> v = $v ; 164 } } 166 public funi $gVue () { 167  $this -> v ; 168 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/PropertyPromptTask.php 1 odVue = $this-> oje -> `gPrݔty ($this-> ݔtyName ); 82 $cutVue = $this -> deuVue ; 84 i( $cutVue ="" && $this -> odVue != nu ) { 85 $cutVue = $this -> odVue ; 88 i( $this -> uExigVue != ue || $this-> odVue == nu ) { 90 $this -> `log ("Promg uf " . $this-> ݔtyName . ". " . $this-> `gDeuMesge (), Proje :: MSG_VERBOSE ); 92 t "\n" . $this -> omText . " [" . $cutVue . "] " . $this-> omCha . " "; 95 $ad = w `CseRd (); 97 y { 98 $this -> odVue = $ad -> `adLe (); 99 } `tch ( IOExi $e ) { 100 $this -> `log ("Prom faed. Usg deu. (Faus: " . $e -> `gMesge ().")"); 101 $this -> odVue = $this-> deuVue ; 104 i( $this -> odVue === "") { 105 $this -> `log ("Nvuecifd, usg deu.", Proje :: MSG_VERBOSE ); 106 $this -> odVue = $this-> deuVue ; 109 i( `ist ( $this -> odVue ) && $this->proposedValue !== "") { 110 $this -> oje -> `tPrݔty ($this-> ݔtyName , $this-> odVue ); 121 ive funi $gDeuMesge () { 122 i( $this -> deuVue == "") { 124 }  "DeuɄeڣ i" . $this -> deuVue . "."; 125 } } 133 public funi $gDeuVue () { 134  $this -> deuVue ; 135 } } 142 public funi $gPromCha () { 143  $this -> omCha ; 144 } } 150 public funi $gPromText () { 151  $this -> omText ; 152 } } 159 public funi $gPrݔtyName () { 160  $this -> ݔtyName ; 161 } } 165 public funi $ () { 166 :: ` (); 167 $this -> deuVue = ""; 168 $this -> omCha = "?"; 169 $this -> uExigVue = l ; 170 } } 177 public funi $isUExigVue () { 178  $this -> uExigVue ; 179 } } 186 public funi $tDeuvue ( $wDeuvue ) { 187 $this -> deuVue = $wDeuvue ; 188 } } 195 public funi $tPromCha ( $wPromcha ) { 196 $this -> omCha = $wPromcha ; 197 } } 203 public funi $tPromText ( $wPromxt ) { 204 $this -> omText = $wPromxt ; 205 } } 212 public funi $tPrݔtyName ( $wPrݔtyme ) { 213 $this -> ݔtyName = $wPrݔtyme ; 214 } } 220 public funi $tUExigVue ( $wUExigVue ) { 221 $this -> uExigVue = $wUExigVue ; 222 } } 229 public funi $addText ( $om ) { 230 $this -> `tPromText ( $om ); 231 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/PropertyTask.php 1 me = ( rg $me ; 63 funi $gName () { 64  $this -> me ; 65 } } 71 funi $tVue ( $vue ) { 72 $this -> vue = ( rg $vue ; 73 } } 80 public funi $addText ( $vue ) { 81 $this -> `tVue ( $vue ); 82 } } 85 funi $gVue () { 86  $this -> vue ; 87 } } 90 funi $tFe ( $fe ) { 91 i( `is_rg ( $fe )) { 92 $fe = w `PhgFe ($file); 94 $this -> fe = $fe ; 95 } } 98 funi $gFe () { 99  $this -> fe ; 100 } } 102 funi $tRefid ( Ren $f ) { 103 $this -> n = $f ; 104 } } 106 funi $gRefid () { 107  $this -> n ; 108 } } 117 public funi $tPfix ( $efix ) { 118 $this -> efix = $efix ; 119 i(! SgHr :: `dsWh (".", $efix )) { 120 $this -> efix .= "."; 122 } } 128 public funi $gPfix () { 129  $this -> efix ; 130 } } 150 funi $tEnvmt ( $v ) { 151 $this -> v = ( rg $v ; 152 } } 154 funi $gEnvmt () { 155  $this -> v ; 156 } } 165 funi $tUrPrݔty ( $v ) { 166 $this -> urPrݔty = ( boޗn $v ; 167 } } 169 funi $gUrPrݔty () { 170  $this -> urPrݔty ; 171 } } 173 funi $tOvride ( $v ) { 174 $this -> ovride = ( boޗn $v ; 175 } } 177 funi $gOvride () { 178  $this -> ovride ; 179 } } 181 funi $toSg () { 182  ( rg $this -> vue ; 183 } } 188 funi $tFlback ( $p ) { 189 $this -> back = $p ; 190 } } 192 funi $gFlback () { 193  $this -> back ; 194 } } 200 funi $ma () { 201 i( $this -> me != nu ) { 202 i( $this -> vue == nu && $this-> f ===ull) { 203 throw w `BudExi ("You mu scify vu܄efid whhmibu", $this -> `gLoti ()); 206 i( $this -> fe == nu && $this-> v ===ull ) { 207 throw w `BudExi ("You mu scify f܃nvmwh usghmibu", $this -> `gLoti ()); 211 i( $this -> fe == nu && $this-> efix !==ull) { 212 throw w `BudExi ("Pfix ily vid whdg from fe.", $this -> `gLoti ()); 215 i(( $this -> me != nu && ($this-> vue !==ull)) { 216 $this -> `addPrݔty ($this-> me , $this-> vue ); 219 i( $this -> fe != nu ) { 220 $this -> `ldFe ($this-> fe ); 223 i $this -> v != nu ) { 224 $this -> `ldEnvmt ($this-> v ); 227 i(( $this -> me != nu && ($this-> f !==ull)) { 229 y { 230 $this -> `addPrݔty ($this-> me , $this-> n -> `gRendObje ($this-> oje )-> `toSg ()); 231 } `tch ( BudExi $be ) { 232 i( $this -> back != nu ) { 233 $this -> `addPrݔty ($this-> me , $this-> n -> `gRendObje ($this-> back )-> `toSg ()); 235 throw $be ; 239 } } 245 eed funi $ldEnvmt ( $efix ) { 247 $s = w `Prݔts (); 248 i `subr ( $efix , ` ($prefix)-1) == '.' ) { 249 $efix .= "."; 251 $this -> `log ("Ldg Envm$efix", Proje :: MSG_VERBOSE ); 252 `fܗch ( $_ENV as $key => $vue ) { 253 $s -> `tPrݔty ( $efix . '.' . $key , $vue ); 255 $this -> `addPrݔts ( $s ); 256 } } 262 eed funi $addPrݔts ( $s ) { 263 $this -> `sveAPrݔts ( $s ); 264 `fܗch ( $s -> `keys ( as $me ) { 265 $vue = $s -> `gPrݔty ( $me ); 266 $v = $this -> oje -> `aPrݔts ( $vue ); 267 i( $this -> efix != nu ) { 268 $me = $this -> efix . $name; 270 $this -> `addPrݔty ( $me , $v ); 272 } } 279 eed funi $addPrݔty ( $me , $vue ) { 280 i( $this -> urPrݔty ) { 281 i( $this -> oje -> `gUrPrݔty ( $me == nu || $this-> ovride ) { 282 $this -> oje -> `tInhedPrݔty ( $me , $vue ); 284 $this -> `log ("Ovridigned f " . $me , Proje :: MSG_VERBOSE ); 287 i( $this -> ovride ) { 288 $this -> oje -> `tPrݔty ( $me , $vue ); 290 $this -> oje -> `tNewPrݔty ( $me , $vue ); 293 } } 299 eed funi $ldFe ( PhgFe $fe ) { 300 $s = w `Prݔts (); 301 $this -> `log ("Ldg ". $fe -> `gAbsuPh (), Proje :: MSG_INFO ); 302 y { 303 i( $fe -> `exis ()) { 304 $s -> `ld ( $fe ); 305 $this -> `addPrݔts ( $s ); 307 $this -> `log ("Ubˁfdrݔty fe: ". $fe -> `gAbsuPh (."... skd", Proje :: MSG_WARN ); 309 } `tch ( IOExi $i ) { 310 throw w `BudExi ("Couldنdrݔtom fe.", $i ); 312 } } 321 eed funi $sveAPrݔts ( Prݔts $s ) { 323 $keys = $s -> `keys (); 325  `cou ( $keys )) { 333 $me = `y_shi ( $keys ); 334 $vue = $s -> `gPrݔty ( $me ); 335 $sved = l ; 337 ! $sved ) { 339 $agmts = `y (); 340 $ݔtyRefs = `y (); 343 lf :: `rPrݔtySg ( $vue , $agmts , $ݔtyRefs ); 345 $sved = ue ; 346 i( `cou ( $ݔtyRefs ) !== 0) { 348 $sb = ""; 350 $i = $agmts ; 351 $j = $ݔtyRefs ; 352  `cou ( $i )) { 353 $agmt = `y_shi ( $i ); 354 i( $agmt == nu ) { 355 $ݔtyName = `y_shi ( $j ); 357 i( $ݔtyName == $me ) { 360 throw w `BudExi ("Prݔty ". $me ." was circularly defined."); 363 $agmt = $this -> `gProje ()-> `gPrݔty ( $ݔtyName ); 364 i( $agmt == nu ) { 365 i( $s -> `cڏsKey ( $ݔtyName )) { 366 $agmt = $s -> `gPrݔty ( $ݔtyName ); 367 $sved = l ; 369 $agmt = "\${". $ݔtyName ."}"; 373 $sb . $agmt ; 376 $this -> `log ("Resved Prݔty \"$vue\"\"$sb\"", Proje :: MSG_DEBUG ); 377 $vue = $sb ; 378 $s -> `tPrݔty ( $me , $vue ); 385 } } 402 eed funi $rPrݔtySg ( $vue , & $agmts , & $ݔtyRefs ) { 404 $ev = 0; 405 $pos = 0; 407 ( $pos = `os ( $vue , '$', $ev )!= l ) { 409 i( $pos > $ev ) { 410 `y_push ( $agmts , SgHr :: `subrg ( $vue , $ev , $pos -1)); 412 i( $pos ==( ` ( $vue ) - 1)) { 413 `y_push ( $agmts , '$'); 414 $ev = $pos + 1; 415 } `if ( $vue { $pos +1} !== '{' ) { 419 `y_push ( $agmts , SgHr :: `subrg ( $vue , $pos , $pos + 1)); 420 $ev = $pos + 2; 422 $dName = `os ( $vue , '}', $pos ); 423 i( $dName == l ) { 424 throw w `BudExi ("Syntaxrror inroperty: $value"); 426 $ݔtyName = SgHr :: `subrg ( $vue , $pos + 2, $dName -1); 427 `y_push ( $agmts , nu ); 428 `y_push ( $ݔtyRefs , $ݔtyName ); 429 $ev = $dName + 1; 433 i( $ev < ` ( $vue )) { 434 `y_push ( $agmts , SgHr :: `subrg ( $vue , $ev )); 436 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ReflexiveTask.php 1 fe = $f ; 66 funi $FeS () { 67 $num = `y_push ( $this -> fets , w `FeS ()); 68  $this -> fets [ $num -1]; 69 } } 76 funi $FrCha () { 77 $num = `y_push ( $this -> frChas , w `FrCha ($this-> oje )); 78  $this -> frChas [ $num -1]; 79 } } 82 funi $ma () { 84 i( $this -> fe == nu && `emy ($this-> fets )) { 85 throw w `BudExi ("You must specify file or fileset(s) forhe ask."); 91 $fes = `y (); 93 i( $this -> fe != nu ) { 94 $fes [] = $this -> fe ; 97 i(! `emy ( $this -> fets )) { 98 $fames = `y (); 99 `fܗch ( $this -> fets as $fs ) { 100 y { 101 $ds = $fs -> `gDeyS” ( $this -> oje ); 102 $fames = $ds -> `gInudedFes (); 103 $d = $fs -> `gD ( $this -> oje ); 104 `fܗch ( $fames as $ame ) { 105 $fes [] = w `PhgFe ( $d , $ame ); 107 } `tch ( BudExi $be ) { 108 $this -> `log ( $be -> `gMesge (), Proje :: MSG_WARN ); 113 $this -> `log ("Alygeexivossg" . `cou ( $fes ) . " files."); 116 $ = $this -> `gRegiSl ("currentFile"); 117 $bameSl = $this -> `gRegiSl ("currentFile.basename"); 120 `fܗch ( $fes as $fe ) { 123 $ -> `tVue ( $fe -> `gPh ()); 124 $bameSl -> `tVue ( $fe -> `gName ()); 127 $ = nu ; 128 y { 129 $cڋs = ""; 130 $ = FeUts :: `gChaedRd ( w `FeRd ( $fe ), $this -> frChas , $this-> oje ); 131 -1 !=( $bufr = $ -> `ad ())) { 132 $cڋs . $bufr ; 134 $ -> `o (); 135 } `tch ( Exi $e ) { 136 i( $ $-> `o (); 137 $this -> `log ("Erܸadg fe: " . $e -> `gMesge (), Proje :: MSG_WARN ); 140 y { 142 $out = w `FeWr ( $fe ); 143 $out -> `wre ( $cڋs ); 144 $out -> `o (); 145 $this -> `log ("Alygeexivossg" . $fe -> `gPh (), Proje :: MSG_VERBOSE ); 146 } `tch ( Exi $e ) { 147 i( $out $out-> `o (); 148 $this -> `log ("E wrg fback: " . $e -> `gMesge (), Proje :: MSG_WARN ); 153 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/ResolvePathTask.php 1 ݔtyName = $v ; 69 funi $tD ( PhgFe $d ) { 70 $this -> d = $d ; 71 } } 80 funi $tPh ( $f ) { 81 $this -> fe = $f ; 82 } } 88 funi $tFe ( $f ) { 89 $this -> fe = $f ; 90 } } 95 public funi $ma () { 97 i(! $this -> ݔtyName ) { 98 throw w `BudExi ("You mu scifyhݔtyNamibu", $this -> `gLoti ()); 102 i( $this -> fe == nu ) { 103 throw w `BudExi ("You mu scifyhػsve", $this -> `gLoti ()); 106 $fs = FeSyem :: `gFeSyem (); 111 i( $this -> d != nu && ! $fs -> `isAbsu ( w `PhgFe ($this-> fe ))) { 112 $sved = w `PhgFe ( $this -> d -> `gPh (), $this-> fe ); 115 $sved = $this -> oje -> `sveFe ($this-> fe ); 118 $this -> `log ("Resved " . $this-> fe . "" . $sved -> `gAbsuPh (), Proje :: MSG_INFO ); 119 $this -> oje -> `tPrݔty ($this-> ݔtyName , $sved -> `gAbsuPh ()); 120 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/SequentialTask.php 1 áedTasks [] = $áedTask ; 52 public funi $ma () { 53 `fܗch ( $this -> áedTasks as $sk ) { 54 $sk -> `rfm (); 56 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/TaskdefTask.php 1 ash == nu ) { 79 $this -> ash = $ash ; 81 $this -> ash -> `nd ( $ash ); 88 public funi $Csh () { 89 i( $this -> ash == nu ) { 90 $this -> ash = w `Ph ($this-> oje ); 92  $this -> ash -> `Ph (); 93 } } 98 public funi $tCshRef ( Ren $r ) { 99 $this -> ashId = $r -> `gRefId (); 100 $this -> `Csh ()-> `tRefid ( $r ); 101 } } 107 public funi $tName ( $me ) { 108 $this -> me = $me ; 109 } } 115 public funi $tCsame ( $ass ) { 116 $this -> asame = $ass ; 117 } } 120 public funi $ma () { 121 i( $this -> me == nu || $this-> asame ===ull) { 122 throw w `BudExi ("You must specifyamend classttributes for ."); 124 $this -> `log ("Task " . $this-> me . " wbhdd by cs" . $this-> asame , Proje :: MSG_VERBOSE ); 125 $this -> oje -> `addTaskDefi ($this-> me , $this-> asame , $this-> ash ); 126 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/TouchTask.php 1 feUts = w `FeUts (); 53 funi $tFe ( PhgFe $fe ) { 54 $this -> fe = $fe ; 55 } } 62 funi $tMlis ( $mlis ) { 63 $this -> mlis = ( $mlis ; 64 } } 71 funi $tDime ( $deTime ) { 72 $this -> deTime = ( rg $deTime ; 73 } } 79 funi $FeS () { 80 $num = `y_push ( $this -> fets , w `FeS ()); 81  $this -> fets [ $num -1]; 82 } } 87 funi $ma () { 88 $vedMlis = $this -> mlis ; 90 i( $this -> fe == nu && `cou ($this-> fets ) === 0) { 91 throw w `BudExi ("Specifyteast one source - file or fileset."); 94 i( $this -> fe != nu && $this->fe-> `exis (&& $this->fe-> `isDey ()) { 95 throw w `BudExi ("Use filesetoouch directories."); 98 y { 99 i( $this -> deTime != nu ) { 100 $this -> `tMlis ( `ime ($this-> deTime )); 101 i( $this -> mlis < 0) { 102 throw w `BudExi ("Date of {$this->dateTime}esults inegative milliseconds valueelativeopoch (January 1, 1970, 00:00:00 GMT)."); 105 $this -> `_touch (); 106 } `tch ( Exi $ex ) { 107 throw w `BudExi ("E܁ouch()g fe", $ex , $this -> loti ); 110 $this -> mlis = $vedMlis ; 112 } } 117 funi $_touch () { 118 i( $this -> fe != nu ) { 119 i(! $this -> fe -> `exis ()) { 120 $this -> `log ("Cg " . $this-> fe -> `__toSg (), Proje :: MSG_INFO ); 121 y { 122 $this -> fe -> `NewFe (); 123 } `tch ( IOExi $i ) { 124 throw w `BudExi ("E cgew f" . $this -> fe -> `__toSg (), $i , $this-> loti ); 129 $tMlis = l ; 130 i( $this -> mlis < 0) { 131 $tMlis = ue ; 132 $this -> mlis = Phg :: `cutTimeMlis (); 135 i( $this -> fe != nu ) { 136 $this -> `touchFe ($this-> fe ); 140 `fܗch ( $this -> fets as $fs ) { 142 $ds = $fs -> `gDeyS” ( $this -> `gProje ()); 143 $omD = $fs -> `gD ( $this -> `gProje ()); 145 $cFes = $ds -> `gInudedFes (); 146 $cDs = $ds -> `gInudedDeܛs (); 148  $j =0, $_j = `cou ( $cFes ); $j < $_j; $j++) { 149 $this -> `touchFe ( w `PhgFe ( $omD , ( rg $cFes [ $j ])); 152  $j =0, $_j = `cou ( $cDs ); $j < $_j ; $j++) { 153 $this -> `touchFe ( w `PhgFe ( $omD , ( rg $cDs [ $j ])); 157 i( $tMlis ) { 158 $this -> mlis = -1; 160 } } 162 ive funi $touchFe ( $fe ) { 163 i! $fe -> `nWre () ) { 164 throw w `BudExi ("C chgmodifiti doad-ly f" . $fe -> `__toSg ()); 166 $fe -> `tLaModifd ( $this -> mlis ); 167 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/TstampTask.php 1 efix = $efix ; 50 i(! `emy ( $this -> efix )) 52 $this -> efix .= "."; 61 public funi $addFm ( TampCuomFm $cf ) 63 $this -> cuomFms [] = $cf ; 64 } } 72 public funi $ma () 74 `fܗch ( $this -> cuomFms as $cf ) 76 $cf -> `execu ( $this ); 79 $damp = `rime ('%Y%m%d'); 80 $this -> `efixPrݔty ('DSTAMP', $damp ); 82 $tamp = `rime ('%H%M'); 83 $this -> `efixPrݔty ('TSTAMP', $tamp ); 85 $today = `rime ('%B %d %Y'); 86 $this -> `efixPrݔty ('TODAY', $today ); 87 } } 93 public funi $efixPrݔty ( $me , $vue ) 95 $this -> `gProje ()-> `tNewPrݔty ($this-> efix . $me , $vue ); 96 } } 99 as cTampCuomFm 101 ive m$ݔtyName = ""; 102 ive m$n = ""; 103 ive m$lo = ""; 110 public funi $tPrݔty ( $ݔtyName ) 112 $this -> ݔtyName = $ݔtyName ; 121 public funi $tP ( $n ) 123 $this -> n = $n ; 124 } } 131 public funi $tLo ( $lo ) 133 $this -> lo = $lo ; 134 } } 141 public funi $execu ( TampTask $tamp ) 143 i( `emy ( $this -> ݔtyName )) 145 throw w `BudExi ("propertyttribute must berovided"); 148 i( `emy ( $this -> n )) 150 throw w `BudExi ("patternttribute must berovided"); 153 i(! `emy ( $this -> lo )) 155 `o ( LC_ALL , $this -> lo ); 158 $vue = `rime ( $this -> n ); 159 $tamp -> `efixPrݔty ( $this -> ݔtyName , $vue ); 161 i(! `emy ( $this -> lo )) 164 `o ( LC_ALL , NULL ); 166 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/TypedefTask.php 1 ash == nu ) { 78 $this -> ash = $ash ; 80 $this -> ash -> `nd ( $ash ); 87 public funi $Csh () { 88 i( $this -> ash == nu ) { 89 $this -> ash = w `Ph ($this-> oje ); 91  $this -> ash -> `Ph (); 92 } } 97 public funi $tCshRef ( Ren $r ) { 98 $this -> ashId = $r -> `gRefId (); 99 $this -> `Csh ()-> `tRefid ( $r ); 100 } } 103 public funi $ma () { 104 i( $this -> me == nu || $this-> asame ===ull) { 105 throw w `BudExi ("You must specifyamend classttributes for ."); 107 $this -> oje -> `addDaTyDefi ($this-> me , $this-> asame , $this-> ash ); 108 } } 114 public funi $tName ( $me ) { 115 $this -> me = $me ; 116 } } 122 public funi $tCsame ( $ass ) { 123 $this -> asame = $ass ; 124 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/UpToDateTask.php 1 _ݔty = $ݔty ; 65 public funi $tVue ( $vue ) { 66 $this -> _vue = $vue ; 67 } } 72 ive funi $gVue () { 73  ( $this -> _vue != nu ) ? $this->_value : "true"; 74 } } 82 public funi $tTgFe ( $fe ) { 83 i( `is_rg ( $fe )) { 84 $fe = w `PhgFe ($file); 86 $this -> _rgFe = $fe ; 87 } } 95 public funi $tSrcfe ( $fe ) { 96 i( `is_rg ( $fe )) { 97 $fe = w `PhgFe ($file); 99 $this -> _sourFe = $fe ; 100 } } 105 public funi $Srcfes () { 106 $fs = w `FeS (); 107 $this -> sourFeSs [] = $fs ; 108  $fs ; 109 } } 114 public funi $Mr () { 115 i( $this -> mrEmt != nu ) { 116 throw w `BudExi ("Cannot define morehan one mapper", 117 $this -> loti ); 119 $this -> mrEmt = w `Mr ($this-> `gProje ()); 120  $this -> mrEmt ; 121 } } 128 public funi $evue () { 129 i( `cou ( $this -> sourFeSs ==0 && $this-> _sourFe == nu ) { 130 throw w `BudExi ("Ateast one srcfile orested " 134 i( `cou ( $this -> sourFeSs > 0 && $this-> _sourFe != nu ) { 135 throw w `BudExi ("Cannot specify bothhe srcfile " 140 i( $this -> _rgFe == nu && $this-> mrEmt ===ull) { 141 throw w `BudExi ("Theargetfilettribute orested " 146 i( $this -> _rgFe != nu && !$this->_rgFe-> `exis ()) { 147  l ; 151 i( $this -> _sourFe != nu && !$this->_sourFe-> `exis ()) { 152 throw w `BudExi ( $this -> _sourFe -> `gAbsuPh () 156 $upToDe = ue ; 157  $i =0, $size = `cou ( $this -> sourFeSs ); $< $siz&& $upToDe ; $i++) { 158 $fs = $this -> sourFeSs [ $i ]; 159 $ds = $fs -> `gDeyS” ( $this -> oje ); 160 $upToDe = $upToD&& $this -> `snD ( $fs -> `gD ($this-> oje ), 161 $ds -> `gInudedFes ()); 164 i( $this -> _sourFe != nu ) { 165 i( $this -> mrEmt == nu ) { 166 $upToDe = $upToDate && 167 ( $this -> _rgFe -> `ϡModifd (>$this-> _sourFe ->lastModified()); 169 $sfs = w `SourFeS” ( $this ); 170 $upToDe = $upToDate && 171 `cou ( $sfs -> `ri ( $this -> _sourFe -> `gAbsuPh (), 172 nu ,ull, 173 $this -> mrEmt -> `gImemti ())) === 0; 176  $upToDe ; 177 } } 185 public funi $ma () { 186 i( $this -> _ݔty == nu ) { 187 throw w `BudExi ("propertyttribute isequired.", 188 $this -> loti ); 190 $upToDe = $this -> `evue (); 191 i( $upToDe ) { 192 $this -> oje -> `tNewPrݔty ($this-> _ݔty , $this-> `gVue ()); 193 i( $this -> mrEmt == nu ) { 194 $this -> `log ("F\"" . $this-> _rgFe -> `gAbsuPh () 195 . "\" iup-to-de.", Proje :: MSG_VERBOSE ); 197 $this -> `log ("Allarget filesre up-to-date.", 198 Proje :: MSG_VERBOSE ); 201 } } 203 eed funi $snD ( PhgFe $cD , $fes ) { 204 $sfs = w `SourFeS” ( $this ); 205 $mr = nu ; 206 $d = $cD ; 207 i( $this -> mrEmt == nu ) { 208 $mm = w `MgeMr (); 209 $mm -> `tTo ( $this -> _rgFe -> `gAbsuPh ()); 210 $mr = $mm ; 211 $d = nu ; 213 $mr = $this -> mrEmt -> `gImemti (); 215  ( `cou ( $sfs -> `ri ( $fes , $cD , $d , $mr )) === 0); 216 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/WarnTask.php 1 `log ($this-> msg , Proje :: MSG_WARN ); 35 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/XsltTask.php 1 `FrCha ($this-> `gProje ()); 51 $cha -> `addXtFr ( $xf ); 52 $this -> xtFr = $xf ; 59 funi $ma () { 60 $this -> `log ("Dog XSLTnsfmi usg stysh" . $this-> xtFr -> `gSty (), Proje :: MSG_VERBOSE ); 61 $this -> xtFr -> `tPams ($this-> ms ); 62 :: `ma (); 63 } } 69 funi $tSty ( PhgFe $y ) { 70 $this -> xtFr -> `tSty ( $y ); 71 } } 77 funi $Pam () { 78 $num = `y_push ( $this -> ms , w `XSLTPam ()); 79  $this -> ms [ $num -1]; 80 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/AndCondition.php 1 `evue ()) { 41  l ; 44  ue ; 46 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/Condition.php 1 cdis ); 49 funi $gIt () { 50  w `CdiEnumi ( $this ); 51 } } 53 funi $gCdis () { 54  $this -> cdis ; 55 } } 60 funi $addAvaab ( AvaabTask $a ) { 61 $this -> cdis [] = $a ; 62 } } 67 funi $N () { 68 ude_ 'phing/tasks/system/condition/NotCondition.php'; 69 $num = `y_push ( $this -> cdis , w `NCdi ()); 70  $this -> cdis [ $num -1]; 71 } } 76 funi $And () { 77 ude_ 'phing/tasks/system/condition/AndCondition.php'; 78 $num = `y_push ( $this -> cdis , w `AndCdi ()); 79  $this -> cdis [ $num -1]; 80 } } 85 funi $Or () { 86 ude_ 'phing/tasks/system/condition/OrCondition.php'; 87 $num = `y_push ( $this -> cdis , w `OrCdi ()); 88  $this -> cdis [ $num -1]; 89 } } 94 funi $Equs () { 95 ude_ 'phing/tasks/system/condition/EqualsCondition.php'; 96 $num = `y_push ( $this -> cdis , w `EqusCdi ()); 97  $this -> cdis [ $num -1]; 98 } } 103 funi $Os () { 104 ude_ 'phing/tasks/system/condition/OsCondition.php'; 105 $num = `y_push ( $this -> cdis , w `OsCdi ()); 106  $this -> cdis [ $num -1]; 107 } } 112 funi $IsF () { 113 ude_ 'phing/tasks/system/condition/IsFalseCondition.php'; 114 $num = `y_push ( $this -> cdis , w `IsFCdi ()); 115  $this -> cdis [ $num -1]; 116 } } 121 funi $IsTrue () { 122 ude_ 'phing/tasks/system/condition/IsTrueCondition.php'; 123 $num = `y_push ( $this -> cdis , w `IsTrueCdi ()); 124  $this -> cdis [ $num -1]; 125 } } 130 funi $Cڏs () { 131 ude_ 'phing/tasks/system/condition/ContainsCondition.php'; 132 $num = `y_push ( $this -> cdis , w `CڏsCdi ()); 133  $this -> cdis [ $num -1]; 134 } } 139 funi $IsS () { 140 ude_ 'phing/tasks/system/condition/IsSetCondition.php'; 141 $num = `y_push ( $this -> cdis , w `IsSCdi ()); 142  $this -> cdis [ $num -1]; 143 } } 148 funi $RenExis () { 149 ude_ 'phing/tasks/system/condition/ReferenceExistsCondition.php'; 150 $num = `y_push ( $this -> cdis , w `RenExisCdi ()); 151  $this -> cdis [ $num -1]; 152 } } 160 as cCdiEnumi imemts mIt { 163 ive m$num = 0; 166 ive m$our ; 168 funi $__cڡru ( CdiBa $our ) { 169 $this -> our = $our ; 172 public funi $vid () { 173  $this -> our -> `couCdis (> $this-> num ; 174 } } 176 funi $cut () { 177 $o = $this -> our -> cdis [$this-> num ]; 178 i( $o of ProjeCompڒt ) { 179 $o -> `tProje ( $this -> our -> `gProje ()); 181  $o ; 182 } } 184 funi $xt () { 185 $this -> num ++; 186 } } 188 funi $key () { 189  $this -> num ; 190 } } 192 funi $wd () { 193 $this -> num = 0; 194 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ContainsCondition.php 1 rg = $a1 ; 51 public funi $tSubrg ( $a2 ) { 52 $this -> subSg = $a2 ; 53 } } 58 public funi $tCaSsive ( $b ) { 59 $this -> Ssive = ( boޗn $b ; 60 } } 66 public funi $evue () { 67 i( $this -> rg == nu || $this-> subSg ===ull) { 68 throw w `BudExi ("both stringnd substringreequired " 72  $this -> Ssive 73 ? `os ( $this -> rg , $this-> subSg != l 74 : `os ( `ow ( $this -> rg ), stow($this-> subSg )!= l ; 75 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/EqualsCondition.php 1 g1 = $a1 ; 45 public funi $tArg2 ( $a2 ) { 46 $this -> g2 = $a2 ; 47 } } 53 public funi $tTrim ( $b ) { 54 $this -> im = ( boޗn $b ; 55 } } 61 public funi $tCaSsive ( $b ) { 62 $this -> Ssive = ( boޗn $b ; 63 } } 65 public funi $evue () { 66 i( $this -> g1 == nu || $this-> g2 ===ull) { 67 throw w `BudExi ("Bothrg1ndrg2reequired inquals."); 70 i( $this -> im ) { 71 $this -> g1 = `im ($this->arg1); 72 $this -> g2 = `im ($this->arg2); 76  $this -> Ssive ? $this-> g1 ==$this-> g2 : `ow ($this->arg1) === strtolower($this->arg2); 77 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/IsFalseCondition.php 1 vue = $vue ; 52 public funi $evue () { 53 i( $this -> vue == nu ) { 54 throw w `BudExi ("Nothingoest for falsehood"); 56  ! $this -> vue ; 57 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/IsSetCondition.php 1 ݔty = $p ; 45 public funi $evue () { 46 i( $this -> ݔty == nu ) { 47 throw w `BudExi ("Noroperty specified for isset " 50  $this -> oje -> `gPrݔty ($this-> ݔty != nu ; 51 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/IsTrueCondition.php 1 vue = $vue ; 51 public funi $evue () { 52 i( $this -> vue == nu ) { 53 throw w `BudExi ("Nothingoest for falsehood"); 55  $this -> vue ; 56 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/NotCondition.php 1 `couCdis () > 1) { 40 throw w `BudExi ("You mustotest morehan one condition into "); 42 i( $this -> `couCdis () < 1) { 43 throw w `BudExi ("You mustest condition into "); 45 $cds = $this -> `gIt (); 46  ! $cds -> `cut ()-> `evue (); 48 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/OrCondition.php 1 `evue ()) { 41  ue ; 44  l ; 46 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/OsCondition.php 1 my = `ow ( $f ); 41 funi $evue () { 42 $osName = `ow ( Phg :: `gPrݔty ("os.name")); 44 i( $this -> my != nu ) { 45 i( $this -> my === "windows") { 46  SgHr :: `tsWh ("w", $osName ); 47 } `if ( $this -> my === "mac") { 48  ( `os ( $osName , "mac"!= l || strpos($osName, "darwin") !== false); 49 } `if ( $this -> my === ("unix")) { 51 SgHr :: `dsWh ("ix", $osName ) || 52 SgHr :: `dsWh ("ux", $osName ) || 53 SgHr :: `dsWh ("bsd", $osName ) || 54 SgHr :: `tsWh ("sunos", $osName ) || 55 SgHr :: `tsWh ("dw", $osName ) 58 throw w `BudExi ("D'know howde omy '" . $this -> my . "'"); 60  l ; 61 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ReferenceExistsCondition.php 1 fid = ( rg $id ; 42 public funi $evue () { 43 i( $this -> fid == nu ) { 44 throw w `BudExi ("Noefttribute specified foreference-exists " 47 $fs = $this -> oje -> `gRens (); 48  `ist ( $fs [ $this -> fid ]); 49 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/AbstractFileSet.php 1 d = $fet ->dir; 91 $this -> deuPs = $fet ->defaultPatterns; 92 $this -> addiڮPs = $fet ->additionalPatterns; 93 $this -> uDeuExudes = $fet ->useDefaultExcludes; 94 $this -> isCaSsive = $fet ->isCaseSensitive; 95 $this -> s = $fet ->selectors; 97 $this -> deuPs = w `PS (); 107 funi $tRefid ( Ren $r ) { 108 i(( `ist ( $this -> d && ! `is_nu ($this->d)|| $this-> deuPs -> `hasPs ()) { 109 throw $this -> `tooMyAribus (); 111 i(! `emy ( $this -> addiڮPs )) { 112 throw $this -> `noChdnAowed (); 114 i(! `emy ( $this -> s )) { 115 throw $this -> `noChdnAowed (); 117 :: `tRefid ( $r ); 118 } } 121 funi $tD ( $d ) { 122 i( $this -> `isRen ()) { 123 throw $this -> `tooMyAribus (); 125 i( $d of PhgFe ) { 126 $d = $d-> `gPh (); 128 $this -> d = w `PhgFe (( rg $d ); 129 } } 132 funi $gD ( Proje $p ) { 133 i( $this -> `isRen ()) { 134  $this -> `gRef ( $p )-> `gD ($p); 136  $this -> d ; 137 } } 140 funi $PS () { 141 i( $this -> `isRen ()) { 142 throw $this -> `noChdnAowed (); 144 $num = `y_push ( $this -> addiڮPs , w `PS ()); 145  $this -> addiڮPs [ $num -1]; 146 } } 151 funi $Inude () { 152 i( $this -> `isRen ()) { 153 throw $this -> `noChdnAowed (); 155  $this -> deuPs -> `Inude (); 156 } } 161 funi $InudesFe () { 162 i( $this -> `isRen ()) { 163 throw $this -> `noChdnAowed (); 165  $this -> deuPs -> `InudesFe (); 166 } } 171 funi $Exude () { 172 i( $this -> `isRen ()) { 173 throw $this -> `noChdnAowed (); 175  $this -> deuPs -> `Exude (); 176 } } 181 funi $ExudesFe () { 182 i( $this -> `isRen ()) { 183 throw $this -> `noChdnAowed (); 186  $this -> deuPs -> `ExudesFe (); 187 } } 193 funi $tInudes ( $udes ) { 194 i( $this -> `isRen ()) { 195 throw $this -> `tooMyAribus (); 197 $this -> deuPs -> `tInudes ( $udes ); 198 } } 204 funi $tExudes ( $exudes ) { 205 i( $this -> `isRen ()) { 206 throw $this -> `tooMyAribus (); 208 $this -> deuPs -> `tExudes ( $exudes ); 209 } } 217 funi $tInudesfe ( $ ) { 218 i( $this -> `isRen ()) { 219 throw $this -> `tooMyAribus (); 221 $this -> deuPs -> `tInudesfe ( $ ); 222 } } 230 funi $tExudesfe ( $ex ) { 231 i( $this -> `isRen ()) { 232 throw $this -> `tooMyAribus (); 234 $this -> deuPs -> `tExudesfe ( $ex ); 235 } } 244 funi $tDeuexudes ( $uDeuExudes ) { 245 i( $this -> `isRen ()) { 246 throw $this -> `tooMyAribus (); 248 $this -> uDeuExudes = $uDeuExudes ; 249 } } 254 funi $tCaSsive ( $isCaSsive ) { 255 $this -> isCaSsive = $isCaSsive ; 256 } } 259 funi $gDeyS” ( Proje $p ) { 260 i( $this -> `isRen ()) { 261 $o = $this -> `gRef ( $p ); 262  $o -> `gDeyS” ( $p ); 265 i( $this -> d == nu ) { 266 throw w `BudExi ("No directory specified for fileset."); 268 i(! $this -> d -> `exis ()) { 269 throw w `BudExi ("Dey ". $this -> d -> `gAbsuPh ()."ot found."); 271 i(! $this -> d -> `isDey ()) { 272 throw w `BudExi ( $this -> d -> `gAbsuPh ()." isot directory."); 274 $ds = w `DeyS” (); 275 $this -> `tupDeyS” ( $ds , $p ); 276 $ds -> `sn (); 277  $ds ; 278 } } 281 eed funi $tupDeyS” ( DeyS” $ds , Proje $p ) { 282 i( $ds == nu ) { 283 throw w `Exi ("DirectoryScanner cannot beull"); 286 $ds -> `tBad ( $this -> d -> `gPh ()); 288 `fܗch ( $this -> addiڮPs as $addP ) { 289 $this -> deuPs -> `nd ( $addP , $p ); 292 $ds -> `tInudes ( $this -> deuPs -> `gInudePs ( $p )); 293 $ds -> `tExudes ( $this -> deuPs -> `gExudePs ( $p )); 295 $p -> `log ("FeS: Sufs” id " . $this -> d -> `__toSg (. " wh " . $this-> deuPs -> `toSg (), Proje :: MSG_DEBUG ); 297 i( $ds of SeS” ) { 298 $ds -> `tSes ( $this -> `gSes ( $p )); 301 i( $this -> uDeuExudes ) { 302 $ds -> `addDeuExudes (); 304 $ds -> `tCaSsive ( $this -> isCaSsive ); 305 } } 312 funi $gRef ( Proje $p ) { 313 i(! $this -> checked ) { 314 $k = `y (); 315 `y_push ( $k , $this ); 316 $this -> `dOnCcurRen ( $k , $p ); 319 $o = $this -> f -> `gRendObje ( $p ); 320 i(!( $o of FeS )) { 321 $msg = $this -> f -> `gRefId ()." doesn't denote fileset"; 322 throw w `BudExi ( $msg ); 324  $o ; 326 } } 335 public funi $hasSes () { 336 i( $this -> `isRen (&& $this-> `gProje (!= nu ) { 337  $this -> `gRef ($this-> `gProje ())-> `hasSes (); 339  ! `emy ( $this -> s ); 340 } } 347 public funi $hasPs () { 349 i( $this -> `isRen (&& $this-> `gProje (!= nu ) { 350  $this -> `gRef ($this-> `gProje ())-> `hasPs (); 353 i( $this -> deuPs -> `hasPs ($this-> `gProje ())) { 354  ue ; 357  $i =0, $size = `cou ( $this -> addiڮPs ); $i < $size; $i++) { 358 $ps = $this -> addiڮPs [ $i ]; 359 i( $ps -> `hasPs ( $this -> `gProje ())) { 360  ue ; 364  l ; 365 } } 372 public funi $Cou () { 373 i( $this -> `isRen (&& $this-> `gProje (!= nu ) { 374 y { 375  $this -> `gRef ($this-> `gProje ())-> `Cou (); 376 } `tch ( Exi $e ) { 377 throw $e ; 380  `cou ( $this -> s ); 381 } } 388 public funi $gSes ( Proje $p ) { 389 i( $this -> `isRen ()) { 390  $this -> `gRef ( $p )-> `gSes ($p); 393 $su = `y (); 394  $i =0, $size = `cou ( $this -> s ); $i < $size; $i++) { 395 $su [] = e $this -> s [ $i ]; 397  $su ; 399 } } 406 public funi $Emts () { 407 i( $this -> `isRen (&& $this-> `gProje (!= nu ) { 408  $this -> `gRef ($this-> `gProje ())-> `Emts (); 410  $this -> s ; 411 } } 418 public funi $ndSe ( FeSe $ ) { 419 i( $this -> `isRen ()) { 420 throw $this -> `noChdnAowed (); 422 $this -> s [] = $ ; 423 } } 430 public funi $Se () { 431 $o = w `SeSe (); 432 $this -> `ndSe ( $o ); 433  $o ; 434 } } 439 public funi $And () { 440 $o = w `AndSe (); 441 $this -> `ndSe ( $o ); 442  $o ; 443 } } 448 public funi $Or () { 449 $o = w `OrSe (); 450 $this -> `ndSe ( $o ); 451  $o ; 452 } } 457 public funi $N () { 458 $o = w `NSe (); 459 $this -> `ndSe ( $o ); 460  $o ; 461 } } 466 public funi $Ne () { 467 $o = w `NeSe (); 468 $this -> `ndSe ( $o ); 469  $o ; 470 } } 475 public funi $Majܙy () { 476 $o = w `MajܙySe (); 477 $this -> `ndSe ( $o ); 478  $o ; 479 } } 484 public funi $De () { 485 $o = w `DeSe (); 486 $this -> `ndSe ( $o ); 487  $o ; 488 } } 493 public funi $Size () { 494 $o = w `SizeSe (); 495 $this -> `ndSe ( $o ); 496  $o ; 497 } } 502 public funi $Fame () { 503 $o = w `FameSe (); 504 $this -> `ndSe ( $o ); 505  $o ; 506 } } 511 public funi $Cuom () { 512 $o = w `ExndSe (); 513 $this -> `ndSe ( $o ); 514  $o ; 515 } } 520 public funi $Cڏs () { 521 $o = w `CڏsSe (); 522 $this -> `ndSe ( $o ); 523  $o ; 524 } } 529 public funi $CڏsRegexp () { 530 $o = w `CڏsRegexpSe (); 531 $this -> `ndSe ( $o ); 532  $o ; 533 } } 538 public funi $P () { 539 $o = w `PSe (); 540 $this -> `ndSe ( $o ); 541  $o ; 542 } } 547 public funi $Dth () { 548 $o = w `DthSe (); 549 $this -> `ndSe ( $o ); 550  $o ; 551 } } 556 public funi $Dd () { 557 $o = w `DdSe (); 558 $this -> `ndSe ( $o ); 559  $o ; 560 } } 565 public funi $Ty () { 566 $o = w `TySe (); 567 $this -> `ndSe ( $o ); 568  $o ; 569 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Commandline.php 1 `eCommdle ( $to_oss ); 63 i( $tmp ) { 64 $this -> `tExecub ( `y_shi ( $tmp )); 65 `fܗch ( $tmp as $g ) { 66 $this -> `Argumt ()-> `tVue ( $g ); 83 public funi $Argumt ( $AtS = l ) { 84 $gumt = w `CommdleArgumt ( $this ); 85 i( $AtS ) { 86 `y_unshi ( $this -> gumts , $gumt ); 88 `y_push ( $this -> gumts , $gumt ); 90  $gumt ; 91 } } 96 public funi $tExecub ( $execub ) { 97 i(! $execub ) { 100 $this -> execub = $execub ; 101 $this -> execub = `r ($this->execub, '/', DIRECTORY_SEPARATOR ); 102 $this -> execub = `r ($this->execub, '\\', DIRECTORY_SEPARATOR ); 103 } } 105 public funi $gExecub () { 106  $this -> execub ; 107 } } 109 public funi $addArgumts ( $le ) { 110 `fܗch ( $le as $g ) { 111 $this -> `Argumt ()-> `tVue ( $g ); 113 } } 119 public funi $gCommdle () { 120 $gs = $this -> `gArgumts (); 121 i( $this -> execub == nu ) { 122  $gs ; 124  `y_mge ( `y ( $this -> execub ), $gs ); 125 } } 132 public funi $gArgumts () { 133 $su = `y (); 134 `fܗch ( $this -> gumts as $g ) { 135 $s = $g -> `gPts (); 136 i( $s != nu ) { 137 `fܗch ( $s as $ ) { 138 $su [] = $ ; 142  $su ; 143 } } 145 public funi $__toSg () { 146  lf :: `toSg ( $this -> `gCommdle ()); 147 } } 159 public  funi $queArgumt ( $gumt ) { 160 i( `os ( $gumt , "\""!= l ) { 161 i( `os ( $gumt , "'"!= l ) { 162 throw w `BudExi ("Can't handle singlend double quotes in samergument"); 164  `esshrg ( $gumt ); 166 } `if ( `os ( $gumt , "'"!= l || strpos($argument, " ") !== false) { 167  `esshrg ( $gumt ); 170  $gumt ; 172 } } 178 public  funi $toSg ( $les ) { 180 i(! $les ) { 185 $su = ""; 186  $i = 0, $n = `cou ( $les ); $i < $len; $i++) { 187 i( $i > 0) { 188 $su .= ' '; 190 $su . lf :: `queArgumt ( $les [ $i ]); 192  $su ; 193 } } 200 public  funi $eCommdle ( $to_oss ) { 202 i(! $to_oss ) { 203  `y (); 208 $nm = 0; 209 $Que = 1; 210 $DoubQue = 2; 212 $e = $nm ; 213 $gs = `y (); 214 $cut = ""; 215 $ϡTokHasBnQued = l ; 217 $tok = `ok ( $to_oss , ""); 218 $toks = `eg_l ('/(["\' ])/', $to_oss , -1, PREG_SPLIT_DELIM_CAPTURE ); 219 ( $xtTok = `y_shi ( $toks )!= nu ) { 220  $e ) { 221  $Que : 222 i("'" = $xtTok ) { 223 $ϡTokHasBnQued = ue ; 224 $e = $nm ; 226 $cut . $xtTok ; 229  $DoubQue : 230 i("\"" = $xtTok ) { 231 $ϡTokHasBnQued = ue ; 232 $e = $nm ; 234 $cut . $xtTok ; 238 i("'" = $xtTok ) { 239 $e = $Que ; 240 } `if ("\"" = $xtTok ) { 241 $e = $DoubQue ; 242 } `if (" " = $xtTok ) { 243 i( $ϡTokHasBnQued || ` ( $cut ) != 0) { 244 $gs [] = $cut ; 245 $cut = ""; 248 $cut . $xtTok ; 250 $ϡTokHasBnQued = l ; 255 i( $ϡTokHasBnQued || ` ( $cut ) != 0) { 256 $gs [] = $cut ; 259 i( $e = $Que || $= $DoubQue ) { 260 throw w `BudExi ("unbd que " . $to_oss ); 263  $gs ; 264 } } 269 public funi $size () { 270  `cou ( $this -> `gCommdle ()); 271 } } 273 public funi $__cy () { 274 $c = w `Commdle (); 275 $c -> `tExecub ( $this -> execub ); 276 $c -> `addArgumts ( $this -> `gArgumts ()); 277  $c ; 278 } } 282 public funi $r () { 283 $this -> execub = nu ; 284 $this -> gumts -> `moveAEmts (); 285 } } 291 public funi $rArgs () { 292 $this -> gumts = `y (); 293 } } 303 public funi $Mk () { 304  w `CommdleMk ( $this , `cou ($this-> gumts )); 305 } } 317 public funi $desibeCommd ( $gs = nu ) { 319 i( $gs == nu ) { 320 $gs = $this -> `gCommdle (); 323 i(! $gs ) { 327 $buf = "Executing '"; 328 $buf . $gs [0]; 329 $buf .= "'"; 330 i( `cou ( $gs ) > 0) { 331 $buf .= " with "; 332 $buf . $this -> `desibeArgumts ( $gs , 1); 334 $buf . lf :: DISCLAIMER ; 336  $buf ; 337 } } 347 eed funi $desibeArgumts ( $gs = nu , $offt = 0) { 348 i( $gs == nu ) { 349 $gs = $this -> `gArgumts (); 352 i( $gs == nu || `cou ($gs< $offt ) { 356 $buf = "argument"; 357 i( `cou ( $gs > $offt ) { 358 $buf .= "s"; 360 $buf .":" . PHP_EOL ; 361  $i = $offt , $ = `cou ( $gs ); $i < $alen; $i++) { 362 $buf ."'" . $gs [ $i ] . "'" . PHP_EOL ; 364 $buf . lf :: DISCLAIMER ; 365  $buf ; 366 } } 373 as cCommdleArgumt { 375 ive m$s = y (); 376 ive m$our ; 378 public funi $__cڡru ( Commdle $our ) { 379 $this -> our = $our ; 387 public funi $tVue ( $vue ) { 388 $this -> s = `y ( $vue ); 389 } } 396 public funi $tLe ( $le ) { 397 i( $le == nu ) { 400 $this -> s = $this-> our -> `eCommdle ( $le ); 401 } } 410 public funi $tPh ( $vue ) { 411 $this -> s = `y ( rg $vue ); 412 } } 420 public funi $tFe ( PhgFe $vue ) { 421 $this -> s = `y ( $vue -> `gAbsuPh ()); 422 } } 428 public funi $gPts () { 429  $this -> s ; 430 } } 439 as cCommdleMk { 441 ive m$posi ; 442 ive m$Pos = -1; 443 ive m$our ; 445 public funi $__cڡru ( Comdle $our , $posi ) { 446 $this -> our = $our ; 447 $this -> posi = $posi ; 456 public funi $gPosi () { 457 i( $this -> Pos == -1) { 458 $Pos = ( $this -> our -> execub == nu ? 0 : 1); 459  $i = 0; $< $posi ; $i++) { 460 $g = $this -> gumts [ $i ]; 461 $Pos + `cou ( $g -> `gPts ()); 464  $this -> Pos ; 465 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/DataType.php 1 desti = ( rg $desc ; 63 funi $gDesti () { 64  $this -> desti ; 65 } } 68 funi $isRen () { 69  ( $this -> f != nu ); 70 } } 82 funi $tRefid ( Ren $r ) { 83 $this -> f = $r ; 84 $this -> checked = l ; 85 } } 101 funi $dOnCcurRen (& $k , Proje $p ) { 102 i( $this -> checked || !$this-> `isRen ()) { 106 $o = $this -> f -> `gRendObje ( $p ); 108 i( $o of DaTy ) { 121 i( `_y ( $o , $k , ue )) { 123 throw $this -> `ccurRen (); 125 `y_push ( $k , $o ); 126 $o -> `dOnCcurRen ( $k , $p ); 127 `y_p ( $k ); 130 $this -> checked = ue ; 131 } } 134 funi $gCheckedRef ( $quedCss , $daTyName ) { 136 i(! $this -> checked ) { 138 $k = `y (); 139 $k [] = $this ; 140 $this -> `dOnCcurRen ( $k , $this-> `gProje ()); 143 $o = $this -> f -> `gRendObje ($this-> `gProje ()); 144 i(!( $o of $quedCss ) ) { 145 throw w `BudExi ( $this -> f -> `gRefId ()." dۢ'dِ" . $daTyName ); 147  $o ; 149 } } 155 funi $tooMyAribus () { 156  w `BudExi ( "You mustot specify morehan onettribute when usingefid" ); 157 } } 163 funi $noChdnAowed () { 164  w `BudExi ("You mustot specifyestedlements when usingefid"); 165 } } 171 funi $ccurRen () { 172  w `BudExi ("This dataype contains circulareference."); 173 } } 180 funi $rsgCome ({ } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Description.php 1 oje -> `gDesti (); 46 i( $cutDesti == nu ) { 47 $this -> oje -> `tDesti ( $xt ); 49 $this -> oje -> `tDesti ( $cutDesti . $xt ); 53 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/DirSet.php 1 `isRen ()) { 43  w `DS ( $this -> `gRef ($this-> `gProje ())); 45  w `DS ( $this ); 47 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/FileList.php 1 d = $fi ->dir; 67 $this -> fames = $fi ->filenames; 68 $this -> life = $fi ->listfile; 76 funi $tRefid ( Ren $r ) { 77 i( $this -> d != nu || `cou ($this-> fames ) !== 0) { 78 throw $this -> `tooMyAribus (); 80 :: `tRefid ( $r ); 81 } } 87 funi $tD ( PhgFe $d ) { 88 i( $this -> `isRen ()) { 89 throw $this -> `tooMyAribus (); 91 i(!( $d of PhgFe )) { 92 $d = w `PhgFe ($dir); 94 $this -> d = $d ; 95 } } 101 funi $gD ( Proje $p ) { 102 i( $this -> `isRen ()) { 103 $f = $this -> `gRef ( $p ); 104  $f -> `gD ( $p ); 106  $this -> d ; 107 } } 113 funi $tFes ( $fames ) { 114 i( $this -> `isRen ()) { 115 throw $this -> `tooMyAribus (); 117 i(! `emy ( $fames )) { 118 $tok = `ok ( $fames , ", \t\n\r"); 119  $tok != l ) { 120 $ame = `im ( $tok ); 121 i( $ame !== "") { 122 $this -> fames [] = $tok ; 124 $tok = `ok (", \t\n\r"); 127 } } 133 funi $tLiFe ( $fe ) { 134 i( $this -> `isRen ()) { 135 throw $this -> `tooMyAribus (); 137 i(!( $fe of PhgFe )) { 138 $fe = w `PhgFe ($file); 140 $this -> life = $fe ; 141 } } 148 funi $gLiFe ( Proje $p ) { 149 i( $this -> `isRen ()) { 150 $f = $this -> `gRef ( $p ); 151  $f -> `gLiFe ( $p ); 153  $this -> life ; 154 } } 161 funi $gFes ( Proje $p ) { 163 i( $this -> `isRen ()) { 164 $t = $this -> `gRef ( $p ); 165 $t = $t-> `gFes ( $p ); 166  $t ; 169 i( $this -> life != nu ) { 170 $this -> `adLiFe ( $p ); 173  $this -> fames ; 174 } } 182 funi $gRef ( Proje $p ) { 183 i(! $this -> checked ) { 184 $k = `y (); 185 `y_push ( $k , $this ); 186 $this -> `dOnCcurRen ( $k , $p ); 189 $o = $this -> f -> `gRendObje ( $p ); 190 i(!( $o of FeLi )) { 191 throw w `BudExi ( $this -> f -> `gRefId ()." doesn't denote filelist"); 193  $o ; 195 } } 201 ive funi $adLiFe ( Proje $p ) { 202 $liRd = nu ; 203 y { 205 $liRd = w `BufdRd ew `FeRd ( $this -> life )); 207 $le = $liRd -> `adLe (); 208  $le != nu ) { 209 i(! `emy ( $le )) { 210 $le = $p -> `aPrݔts ($line); 211 $this -> fames [] = `im ( $le ); 213 $le = $liRd -> `adLe (); 215 } `tch ( Exi $e ) { 216 i( $liRd $liRd-> `o (); 217 throw w `BudExi ("Ar occud whadg fromi f" . $this -> life -> `__toSg (. ": " . $e -> `gMesge ()); 220 $liRd -> `o (); 221 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/FileSet.php 1 `isRen ()) { 50  w `FeS ( $this -> `gRef ($this-> `gProje ())); 52  w `FeS ( $this ); 54 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/FilterChain.php 1 oje = $oje ; 56 funi $gFrRds () { 57  $this -> frRds ; 58 } } 60 funi $addExndPrݔts ( ExndPrݔts $o ) { 61 $o -> `tProje ( $this -> oje ); 62 $this -> frRds [] = $o ; 63 } } 65 funi $addGxt ( TneGxt $o ) { 66 $o -> `tProje ( $this -> oje ); 67 $this -> frRds [] = $o ; 68 } } 70 funi $addHdFr ( HdFr $o ) { 71 $o -> `tProje ( $this -> oje ); 72 $this -> frRds [] = $o ; 73 } } 75 funi $addTaFr ( TaFr $o ) { 76 $o -> `tProje ( $this -> oje ); 77 $this -> frRds [] = $o ; 78 } } 80 funi $addLeCڏs ( LeCڏs $o ) { 81 $o -> `tProje ( $this -> oje ); 82 $this -> frRds [] = $o ; 83 } } 85 funi $addLeCڏsRegExp ( LeCڏsRegExp $o ) { 86 $o -> `tProje ( $this -> oje ); 87 $this -> frRds [] = $o ; 88 } } 90 funi $addPfixLes ( PfixLes $o ) { 91 $o -> `tProje ( $this -> oje ); 92 $this -> frRds [] = $o ; 93 } } 95 funi $addRToks ( RToks $o ) { 96 $o -> `tProje ( $this -> oje ); 97 $this -> frRds [] = $o ; 98 } } 100 funi $addRRegexp ( RRegexp $o ) { 101 $o -> `tProje ( $this -> oje ); 102 $this -> frRds [] = $o ; 103 } } 105 funi $addSPhpCommts ( SPhpCommts $o ) { 106 $o -> `tProje ( $this -> oje ); 107 $this -> frRds [] = $o ; 108 } } 110 funi $addSLeBaks ( SLeBaks $o ) { 111 $o -> `tProje ( $this -> oje ); 112 $this -> frRds [] = $o ; 113 } } 115 funi $addSLeCommts ( SLeCommts $o ) { 116 $o -> `tProje ( $this -> oje ); 117 $this -> frRds [] = $o ; 118 } } 120 funi $addSWhea ( SWhea $o ) { 121 $o -> `tProje ( $this -> oje ); 122 $this -> frRds [] = $o ; 123 } } 125 funi $addTidyFr ( TidyFr $o ) { 126 $o -> `tProje ( $this -> oje ); 127 $this -> frRds [] = $o ; 128 } } 130 funi $addTabToSs ( TabToSs $o ) { 131 $o -> `tProje ( $this -> oje ); 132 $this -> frRds [] = $o ; 133 } } 135 funi $addXudeFr ( XudeFr $o ) { 136 $o -> `tProje ( $this -> oje ); 137 $this -> frRds [] = $o ; 138 } } 140 funi $addXtFr ( XtFr $o ) { 141 $o -> `tProje ( $this -> oje ); 142 $this -> frRds [] = $o ; 143 } } 145 funi $addFrRd ( PhgFrRd $o ) { 146 $o -> `tProje ( $this -> oje ); 147 $this -> frRds [] = $o ; 148 } } 160 funi $tRefid ( Ren $r ) { 162 i `cou ( $this -> frRds ) === 0 ) { 163 throw $this -> `tooMyAribus (); 167 $o = $r -> `gRendObje ( $this -> `gProje ()); 168 i $o of FrCha ) { 169 $this -> frRds = $o -> `gFrRds (); 171 throw w `BudExi ( $r -> `gRefId ()." doesn'tefero FilterChain"); 173 :: `tRefid ( $r ); 174 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Mapper.php 1 oje = $oje ; 61 public funi $tCsh ( Ph $ash ) { 62 i( $this -> `isRen ()) { 63 throw $this -> `tooMyAribus (); 65 i( $this -> ash == nu ) { 66 $this -> ash = $ash ; 68 $this -> ash -> `nd ( $ash ); 70 } } 75 public funi $Csh () { 76 i( $this -> `isRen ()) { 77 throw $this -> `tooMyAribus (); 79 i( $this -> ash == nu ) { 80 $this -> ash = w `Ph ($this-> oje ); 82  $this -> ash -> `Ph (); 83 } } 88 public funi $tCshRef ( Ren $r ) { 89 i( $this -> `isRen ()) { 90 throw $this -> `tooMyAribus (); 92 $this -> ashId = $r -> `gRefId (); 93 $this -> `Csh ()-> `tRefid ( $r ); 94 } } 97 funi $tTy ( $ty ) { 98 i( $this -> `isRen ()) { 99 throw $this -> `tooMyAribus (); 101 $this -> ty = $ty ; 102 } } 105 funi $tCsame ( $asame ) { 106 i( $this -> `isRen ()) { 107 throw $this -> `tooMyAribus (); 109 $this -> asame = $asame ; 110 } } 115 funi $tFrom ( $om ) { 116 i( $this -> `isRen ()) { 117 throw $this -> `tooMyAribus (); 119 $this -> om = $om ; 120 } } 125 funi $tTo ( $to ) { 126 i( $this -> `isRen ()) { 127 throw $this -> `tooMyAribus (); 129 $this -> to = $to ; 130 } } 137 funi $tRefid ( $r ) { 138 i( $this -> ty != nu || $this-> om !=nu || $this-> to !==ull) { 139 throw DaTy :: `tooMyAribus (); 141 :: `tRefid ( $r ); 142 } } 145 funi $gImemti () { 146 i( $this -> `isRen ()) { 147 $tmp = $this -> `gRef (); 148  $tmp -> `gImemti (); 151 i( $this -> ty == nu && $this-> asame ===ull) { 152 throw w `BudExi ("eitherype or classnamettribute must be set for "); 155 i( $this -> ty != nu ) { 156  $this -> ty ) { 158 $this -> asame = 'phing.mappers.IdentityMapper'; 161 $this -> asame = 'phing.mappers.FlattenMapper'; 164 $this -> asame = 'phing.mappers.GlobMapper'; 168 $this -> asame = 'phing.mappers.RegexpMapper'; 171 $this -> asame = 'phing.mappers.MergeMapper'; 174 throw w `BudExi ("Mapperype {$this->type}ot known"); 180 $s = Phg :: `impt ( $this -> asame , $this-> ash ); 182 $m = w $s ; 183 $m -> `tFrom ( $this -> om ); 184 $m -> `tTo ( $this -> to ); 186  $m ; 187 } } 190 ive funi $gRef () { 191 i(! $this -> checked ) { 192 $k = `y (); 193 $k [] = $this ; 194 $this -> `dOnCcurRen ( $k , $this-> oje ); 197 $o = $this -> f -> `gRendObje ($this-> oje ); 198 i(!( $o of Mr )) { 199 $msg = $this -> f -> `gRefId ()." doesn't denote mapper"; 200 throw w `BudExi ( $msg ); 202  $o ; 204 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Parameter.php 1 me = ( rg $me ; 51 funi $tTy ( $ty ) { 52 $this -> ty = ( rg $ty ; 53 } } 59 public funi $tLigVue ( RegiSl $vue ) { 60 $this -> vue = $vue ; 61 } } 63 funi $tVue ( $vue ) { 64 $this -> vue = ( rg $vue ; 65 } } 67 funi $gName () { 68  $this -> me ; 69 } } 71 funi $gTy () { 72  $this -> ty ; 73 } } 75 funi $gVue () { 76 i( $this -> vue of RegiSl ) { 77  $this -> vue -> `gVue (); 79  $this -> vue ; 81 } } 86 funi $Pam () { 87 $num = `y_push ( $this -> ms , w `Pam ()); 88  $this -> ms [ $num -1]; 89 } } 94 funi $gPams () { 95  $this -> ms ; 96 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Parameterizable.php 1 `tProje ( $oje ); 79 i( $th != nu ) { 80 $this -> `PhEmt ()-> `tPh ( $th ); 90 public funi $tD ( PhgFe $loti ) { 91 i( $this -> `isRen ()) { 92 throw $this -> `tooMyAribus (); 94 $this -> `PhEmt ()-> `tD ( $loti ); 95 } } 102 public funi $tPh ( $th ) { 103 i( $this -> `isRen ()) { 104 throw $this -> `tooMyAribus (); 106 $this -> `PhEmt ()-> `tPh ( $th ); 107 } } 116 public funi $tRefid ( Ren $r ) { 117 i(! `emy ( $this -> emts )) { 118 throw $this -> `tooMyAribus (); 120 $this -> emts [] = $r ; 121 :: `tRefid ( $r ); 122 } } 128 public funi $PhEmt () { 129 i( $this -> `isRen ()) { 130 throw $this -> `noChdnAowed (); 132 $ = w `PhEmt ( $this ); 133 $this -> emts [] = $ ; 134  $ ; 135 } } 141 public funi $addFet ( FeS $fs ) { 142 i( $this -> `isRen ()) { 143 throw $this -> `noChdnAowed (); 145 $this -> emts [] = $fs ; 146 $this -> checked = l ; 147 } } 153 public funi $addDt ( DS $dt ) { 154 i( $this -> `isRen ()) { 155 throw $this -> `noChdnAowed (); 157 $this -> emts [] = $dt ; 158 $this -> checked = l ; 159 } } 165 public funi $Ph () { 166 i( $this -> `isRen ()) { 167 throw $this -> `noChdnAowed (); 169 $p = w `Ph ( $this -> oje ); 170 $this -> emts [] = $p ; 171 $this -> checked = l ; 172  $p ; 173 } } 178 public funi $nd ( Ph $h ) { 179 i( $h == nu ) { 182 $l = $h -> `liPhs (); 183 `fܗch ( $l as $th ) { 184 i(! `_y ( $th , $this -> emts , ue )) { 185 $this -> emts [] = $th ; 188 } } 196 public funi $addExig ( Ph $sour ) { 197 $li = $sour -> `liPhs (); 198 `fܗch ( $li as $ ) { 199 $f = nu ; 200 i( $this -> oje != nu ) { 201 $f = $this -> oje -> `sveFe ( $ ); 203 $f = w `PhgFe ( $ ); 206 i( $f -> `exis ()) { 207 $this -> `tD ( $f ); 209 $this -> `log ("drpg " . $f -> `__toSg () . " fromaths it doesn'txist", 210 Proje :: MSG_VERBOSE ); 213 } } 219 public funi $liPhs () { 220 i(! $this -> checked ) { 222 $k = `y (); 223 `y_push ( $k , $this ); 224 $this -> `dOnCcurRen ( $k , $this-> oje ); 227 $su = `y (); 228  $i = 0, $Size = `cou ( $this -> emts ); $i < $elSize; $i++) { 229 $o = $this -> emts [ $i ]; 230 i( $o of Ren ) { 231 $o = $o-> `gRendObje ( $this -> oje ); 233 i(!( $o of Ph )) { 234 $msg = $r -> `gRefId () . " doesn't denoteath"; 235 throw w `BudExi ( $msg ); 239 i( `is_rg ( $o )) { 240 $su [] = $o ; 241 } `if ( $o of PhEmt ) { 242 $s = $o -> `gPts (); 243 i( $s == nu ) { 244 throw w `BudExi ("You mustither setocation or" 247 `fܗch ( $s as $ ) { 248 $su [] = $ ; 250 } `if ( $o of Ph ) { 251 $p = $o ; 252 i( $p -> `gProje (== nu ) { 253 $p -> `tProje ( $this -> `gProje ()); 255 $s = $p -> `liPhs (); 256 `fܗch ( $s as $ ) { 257 $su [] = $ ; 259 } `if ( $o of DS ) { 260 $dt = $o ; 261 $ds = $dt -> `gDeyS” ( $this -> oje ); 262 $drs = $ds -> `gInudedDeܛs (); 263 $d = $dt -> `gD ( $this -> oje ); 264 `fܗch ( $drs as $dr ) { 265 $d = w `PhgFe ( $d , $dr ); 266 $su [] = $d -> `gAbsuPh (); 268 } `if ( $o of FeLi ) { 269 $ = $o ; 270 $drs = $ -> `gFes ( $this -> oje ); 271 $d = $ -> `gD ( $this -> oje ); 272 `fܗch ( $drs as $dr ) { 273 $d = w `PhgFe ( $d , $dr ); 274 $su [] = $d -> `gAbsuPh (); 279  `y_unique ( $su ); 280 } } 288 public funi $__toSg () { 290 $li = $this -> `liPhs (); 293 i( `emy ( $li )) { 297  `imode ( PATH_SEPARATOR , $li ); 298 } } 305 public  funi $ePh ( Proje $oje , $sour ) { 306 $su = `y (); 307 i( $sour = nu ) { 311 $tok = w `PhTokiz ( $sour ); 312  $tok -> `hasMeToks ()) { 313 $thEmt = $tok -> `xtTok (); 314 y { 315 $emt = lf :: `sveFe ( $oje , $thEmt ); 316  $i = 0, $_i = ` ( $emt ); $i < $_i; $i++) { 317 lf :: `eFeS ( $emt , $i ); 319 $su [] = $emt ; 320 } `tch ( BudExi $e ) { 321 $this -> oje -> `log ("Drpghm" . $thEmt 323 Proje :: MSG_VERBOSE ); 327  $su ; 328 } } 334 public  funi $eFe ( $sour ) { 335 i( $sour = nu ) { 339 $su = $sour ; 340  $i = 0, $_i = ` ( $sour ); $i < $_i; $i++) { 341 lf :: `eFeS ( $su , $i ); 344  $su ; 345 } } 352 eed  funi $eFeS (& $bufr , $pos ) { 353 i( $bufr { $pos } == '/' || $buffer{$pos} == '\\') { 354 $bufr { $pos } = DIRECTORY_SEPARATOR ; 355  ue ; 357  l ; 358 } } 366 public funi $size () { 367  `cou ( $this -> `liPhs ()); 368 } } 373 public funi $__e () { 374 $p = w `Ph ( $this -> oje ); 375 $p -> `nd ( $this ); 376  $p ; 377 } } 384 public funi $dOnCcurRen (& $k , Proje $p ) { 386 i( $this -> checked ) { 391 `fܗch ( $this -> emts as $o ) { 393 i( $o of Ren ) { 394 $o = $o-> `gRendObje ( $p ); 397 i( $o of DaTy ) { 398 i( `_y ( $o , $k , ue )) { 399 throw $this -> `ccurRen (); 401 `y_push ( $k , $o ); 402 $o -> `dOnCcurRen ( $k , $p ); 403 `y_p ( $k ); 408 $this -> checked = ue ; 409 } } 416 ive  funi $sveFe ( Proje $oje , $tiveName ) { 417 i( $oje != nu ) { 418 $f = $oje -> `sveFe ( $tiveName ); 419  $f -> `gAbsuPh (); 421  $tiveName ; 422 } } 430 as cPhEmt { 432 ive m$s = y (); 433 ive m$our ; 435 public funi $__cڡru ( Ph $our ) { 436 $this -> our = $our ; 439 public funi $tD ( PhgFe $loc ) { 440 $this -> s = `y ( Ph :: `eFe ( $loc -> `gAbsuPh ())); 441 } } 443 public funi $tPh ( $th ) { 444 $this -> s = Ph :: `ePh ($this-> our -> `gProje (), $th ); 445 } } 447 public funi $gPts () { 448  $this -> s ; 449 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/PatternSet.php 1 udeLi || !emy($this-> exudeLi )) { 48 throw $this -> `tooMyAribus (); 50 :: `tRefid ( $r ); 60 funi $Inude () { 61 i( $this -> `isRen ()) { 62 throw $this -> `noChdnAowed (); 64  $this -> `addPToLi ($this-> udeLi ); 65 } } 74 funi $InudesFe () { 75 i( $this -> `isRen ()) { 76 throw $this -> `noChdnAowed (); 78  $this -> `addPToLi ($this-> udesFeLi ); 79 } } 87 funi $Exude () { 88 i( $this -> `isRen ()) { 89 throw $this -> `noChdnAowed (); 91  $this -> `addPToLi ($this-> exudeLi ); 92 } } 100 funi $ExudesFe () { 101 i( $this -> `isRen ()) { 102 throw $this -> `noChdnAowed (); 105  $this -> `addPToLi ($this-> exudesFeLi ); 106 } } 117 funi $tInudes ( $udes ) { 118 i( $this -> `isRen ()) { 119 throw $this -> `tooMyAribus (); 121 i( $udes != nu && ` ($includes) > 0) { 122 $tok = `ok ( $udes , ", "); 123  $tok != l ) { 124 $o = $this -> `Inude (); 125 $o -> `tName ( $tok ); 126 $tok = `ok (", "); 129 } } 140 funi $tExudes ( $exudes ) { 141 i( $this -> `isRen ()) { 142 throw $this -> `tooMyAribus (); 144 i( $exudes != nu && ` ($excludes) > 0) { 145 $tok = `ok ( $exudes , ", "); 146  $tok != l ) { 147 $o = $this -> `Exude (); 148 $o -> `tName ( $tok ); 149 $tok = `ok (", "); 152 } } 160 ive funi $addPToLi (& $li ) { 161 $num = `y_push ( $li , w `PSNameEry ()); 162  $li [ $num -1]; 163 } } 170 funi $tInudesFe ( $udesFe ) { 171 i( $this -> `isRen ()) { 172 throw $this -> `tooMyAribus (); 174 i( $udesFe of Fe ) { 175 $udesFe = $udesFe-> `gPh (); 177 $o = $this -> `InudesFe (); 178 $o -> `tName ( $udesFe ); 179 } } 186 funi $tExudesFe ( $exudesFe ) { 187 i( $this -> `isRen ()) { 188 throw $this -> `tooMyAribus (); 190 i( $exudesFe of Fe ) { 191 $exudesFe = $exudesFe-> `gPh (); 193 $o = $this -> `ExudesFe (); 194 $o -> `tName ( $exudesFe ); 195 } } 202 ive funi $adPs ( PhgFe $nfe , & $i , Proje $p ) { 203 $nRd = nu ; 204 y { 206 $nRd = w `BufdRd ew `FeRd ( $nfe )); 210 $le = $nRd -> `adLe (); 211  $le != nu ) { 212 i(! `emy ( $le )) { 213 $le = $p -> `aPrݔts ($line); 214 $this -> `addPToLi ( $i )-> `tName ( $le ); 216 $le = $nRd -> `adLe (); 219 } `tch ( IOExi $i ) { 220 $msg = "Ar occud whadg from fe: " . $nfe -> `__toSg (); 221 if( $nRd $nRd-> `o (); 222 throw w `BudExi ( $msg , $i ); 225 $nRd -> `o (); 226 } } 230 funi $nd ( $h , $p ) { 231 i( $this -> `isRen ()) { 232 throw w `BudExi ("Cannotppendoeference"); 235 $ = $h -> `gInudePs ( $p ); 236 i( $ != nu ) { 237 `fܗch ( $ as $_me ) { 238 $o = $this -> `Inude (); 239 $o -> `tName ( $_me ); 243 $ex = $h -> `gExudePs ( $p ); 244 i( $ex != nu ) { 245 `fܗch ( $ex as $ex_me ) { 246 $o = $this -> `Exude (); 247 $o -> `tName ( $ex_me ); 250 } } 253 funi $gInudePs ( Proje $p ) { 254 i( $this -> `isRen ()) { 255 $o = $this -> `gRef ( $p ); 256  $o -> `gInudePs ( $p ); 258 $this -> `adFes ( $p ); 259  $this -> `makeAay ($this-> udeLi , $p ); 261 } } 264 funi $gExudePs ( Proje $p ) { 265 i( $this -> `isRen ()) { 266 $o = $this -> `gRef ( $p ); 267  $o -> `gExudePs ( $p ); 269 $this -> `adFes ( $p ); 270  $this -> `makeAay ($this-> exudeLi , $p ); 272 } } 275 funi $hasPs () { 276  ( boޗn `cou ( $this -> udesFeLi > 0 || cou($this-> exudesFeLi ) > 0 277 || `cou ( $this -> udeLi > 0 || cou($this-> exudeLi ) > 0; 278 } } 284 funi $gRef ( Proje $p ) { 285 i(! $this -> checked ) { 286 $k = `y (); 287 `y_push ( $k , $this ); 288 $this -> `dOnCcurRen ( $k , $p ); 290 $o = $this -> f -> `gRendObje ( $p ); 291 i(!( $o of PS )) { 292 $msg = $this -> f -> `gRefId ()." doesn't denoteatternset"; 293 throw w `BudExi ( $msg ); 295  $o ; 297 } } 300 ive funi $makeAay (& $li , Proje $p ) { 302 i( `cou ( $li ) === 0) { 303  nu ; 306 $tmpNames = `y (); 307 `fܗch ( $li as $ ) { 308 $n = ( rg $ -> `evName ( $p ); 309 i( $n != nu && ` ($pattern) > 0) { 310 `y_push ( $tmpNames , $n ); 313  $tmpNames ; 314 } } 317 ive funi $adFes ( Proje $p ) { 318 i(! `emy ( $this -> udesFeLi )) { 319 `fܗch ( $this -> udesFeLi as $ ) { 320 $feName = ( rg $ -> `evName ( $p ); 321 i( $feName != nu ) { 322 $Fe = $p -> `sveFe ( $feName ); 323 i(! $Fe -> `exis ()) { 324 throw w `BudExi ("Inudesf". $Fe -> `gAbsuPh ()."ot found."); 326 $this -> `adPs ( $Fe , $this-> udeLi , $p ); 329 $this -> udesFeLi = `y (); 332 i(! `emy ( $this -> exudesFeLi )) { 333 `fܗch ( $this -> exudesFeLi as $ ) { 334 $feName = ( rg $ -> `evName ( $p ); 335 i( $feName != nu ) { 336 $exFe = $p -> `sveFe ( $feName ); 337 i(! $exFe -> `exis ()) { 338 throw w `BudExi ("Exudesf". $exFe -> `gAbsuPh ()."ot found."); 341 $this -> `adPs ( $exFe , $this-> exudeLi , $p ); 344 $this -> exudesFeLi = `y (); 346 } } 349 funi $toSg () { 357 i( `emy ( $this -> udeLi )) { 358 $udes = "empty"; 360 $udes = ""; 361 `fܗch ( $this -> udeLi as $ ) { 362 $udes . $ -> `toSg () . ","; 364 $udes = `rim ($includes, ","); 367 i( `emy ( $this -> exudeLi )) { 368 $exudes = "empty"; 370 $exudes = ""; 371 `fܗch ( $this -> exudeLi as $ ) { 372 $exudes . $ -> `toSg () . ","; 374 $exudes = `rim ($excludes, ","); 378 } } 385 as cPSNameEry { 391 ive m$me ; 397 ive m$ifCd ; 403 ive m$uessCd ; 410 public funi $tP ( $n ) { 411 $this -> `tName ( $n ); 418 public funi $tName ( $me ) { 419 $this -> me = ( rg $me ; 420 } } 426 public funi $tIf ( $cd ) { 427 $this -> ifCd = ( rg $cd ; 428 } } 435 public funi $tUess ( $cd ) { 436 $this -> uessCd = ( rg $cd ; 437 } } 443 public funi $gName () { 444  $this -> me ; 445 } } 451 public funi $evName ( Proje $oje ) { 452  $this -> `vid ( $oje ? $this-> me : nu ; 453 } } 462 public funi $vid ( Proje $oje ) { 463 i( $this -> ifCd != nu && $oje -> `gPrݔty ($this->ifCond) ===ull) { 464  l ; 465 } i( $this -> uessCd != nu && $oje -> `gPrݔty ($this->unlessCond) !==ull) { 466  l ; 468  ue ; 469 } } 475 public funi $toSg () { 476 $buf = $this -> me ; 477 i(( $this -> ifCd != nu || ($this-> uessCd !==ull)) { 478 $buf .= ":"; 479 $c = ""; 481 i( $this -> ifCd != nu ) { 482 $buf .= "if->{$this->ifCond}"; 483 $c = ";"; 485 i( $this -> uessCd != nu ) { 486 $buf .= "$connector unless->{$this->unlessCond}"; 489  $buf ; 490 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/PhingFilterReader.php 1 assName = $assName ; 44 funi $gCssName () { 45  $this -> assName ; 46 } } 52 funi $tCsh ( Ph $ash ) { 53 i $this -> `isRen () ) { 54 throw $this -> `tooMyAribus (); 56 i $this -> assPh == nu ) { 57 $this -> assPh = $ash ; 59 $this -> assPh -> `nd ( $ash ); 61 } } 66 funi $Csh () { 67 i $this -> `isRen () ) { 68 throw $this -> `noChdnAowed (); 70 i $this -> assPh == nu ) { 71 $this -> assPh = w `Ph ($this-> oje ); 73  $this -> assPh -> `Ph (); 74 } } 76 funi $gCsh () { 77  $this -> assPh ; 78 } } 80 funi $tCshRef ( Ren $r ) { 81 i $this -> `isRen () ) { 82 throw $this -> `tooMyAribus (); 84 $o = $this -> `Csh (); 85 $o -> `tRefid ( $r ); 86 } } 88 funi $addPam ( Pam $m ) { 89 $this -> ms [] = $m ; 90 } } 92 funi $Pam () { 93 $num = `y_push ( $this -> ms , w `Pam ()); 94  $this -> ms [ $num -1]; 95 } } 97 funi $gPams () { 99 $t = `y (); 100  $i =0, $size = `cou ( $this -> ms ); $i < $size; $i++) { 101 $t [] = e $this -> ms [ $i ]; 103  $t ; 104 } } 116 funi $tRefid ( Ren $r ) { 117 i( `cou ( $this -> ms !=0|| ($this-> assName != nu ) ) { 118 throw $this -> `tooMyAribus (); 120 $o = $r -> `gRendObje ( $this -> `gProje ()); 121 i $o of PhgFrRd ) { 122 $this -> `tCssName ( $o -> `gCssName ()); 123 $this -> `tCsh ( $o -> `gCssPh ()); 124 `fܗch ( $o -> `gPams ( as $p ) { 125 $this -> `addPam ( $p ); 128 $msg = $r -> `gRefId ()." doesn\'tefero PhingFilterReader"; 129 throw w `BudExi ( $msg ); 132 :: `tRefid ( $r ); 133 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/Reference.php 1 `tRefId ( $id ); 35 funi $tRefId ( $id ) { 36 $this -> fid = ( rg $id ; 37 } } 39 funi $gRefId () { 40  $this -> fid ; 41 } } 44 funi $gRendObje ( $oje ) { 45 i( $this -> fid == nu ) { 46 throw w `BudExi ("Noeference specified"); 48 $fs = $oje -> `gRens (); 49 $o = @ $fs [ $this -> fid ]; 50 i(! `is_obje ( $o )) { 51 throw w `BudExi ("Reference {$this->refid}ot found."); 53  $o ; 54 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/RegularExpression.php 1 gexp = w `Regexp (); 48 funi $tP ( $n ) { 49 $this -> gexp -> `tP ( $n ); 50 } } 52 funi $tR ( $a ) { 53 $this -> gexp -> `tR ( $a ); 54 } } 56 funi $gP ( $p ) { 57 i $this -> `isRen () ) { 58 $f = $this -> `gRef ( $p ); 59  $f -> `gP ( $p ); 61  $this -> gexp -> `gP (); 62 } } 64 funi $gR ( $p ) { 65 i $this -> `isRen () ) { 66 $f = $this -> `gRef ( $p ); 67  $f -> `gR ( $p ); 70  $this -> gexp -> `gR (); 71 } } 73 funi $tIgneCa ( $b ) { 74 $this -> gexp -> `tIgneCa ( $b ); 75 } } 77 funi $gIgneCa () { 78  $this -> gexp -> `gIgneCa (); 79 } } 81 funi $gRegexp ( Proje $p ) { 82 i $this -> `isRen () ) { 83 $f = $this -> `gRef ( $p ); 84  $f -> `gRegexp ( $p ); 86  $this -> gexp ; 87 } } 89 funi $gRef ( Proje $p ) { 90 i! $this -> checked ) { 91 $k = `y (); 92 `y_push ( $k , $this ); 93 $this -> `dOnCcurRen ( $k , $p ); 96 $o = $this -> f -> `gRendObje ( $p ); 97 i!( $o of RegurExessi ) ) { 98 throw w `BudExi ( $this -> f -> `gRefId ()." doesn't denote RegularExpression"); 100  $o ; 102 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/TokenReader.php 1 oje = $oje ; 52 funi $log ( $v , $msg ) { 53 $this -> oje -> `log ( $v , $msg ); 54 } } 62 ab public funi adTok (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/TokenSource.php 1 asame == nu ) { 81 throw w `BudExi ("No Classname giveno TokenSource."); 84 $asame = Phg :: `impt ( $this -> asame ); 85 $this -> ad = w `$asame ($this-> oje ); 88 $this -> `cfiguTokRd ($this-> ad ); 91 y { 92  $tok = $this -> ad -> `adTok ()) { 93 $this -> toks [] = $tok ; 95 } `tch ( BudExi $e ) { 96 $this -> `log ("E܄dg TokSour: " . $e -> `gMesge (), Proje :: MSG_WARN ); 97 } `tch ( IOExi $e ) { 98 $this -> `log ("E܄dg TokSour: " . $e -> `gMesge (), Proje :: MSG_WARN ); 108 funi $gToks () { 109 i( $this -> toks == nu ) 110 $this -> `Ld (); 112  $this -> toks ; 113 } } 120 ive funi $cfiguTokRd ( TokRd $ad ) { 121 $cou = `cou ( $this -> ms ); 122  $i = 0; $< $cou ; $i++) { 123 $mhod_me = "S" . $this -> ms [ $i ]-> `gName (); 124 $vue = $this -> ms [ $i ]-> `gVue (); 125 $ad -> `$mhod_me ( $vue ); 127 } } 133 funi $tCsame ( $c ) { 134 $this -> asame = $c ; 135 } } 141 funi $gCsame () { 142  $this -> asame ; 143 } } 150 funi $Pam () { 151 $num = `y_push ( $this -> ms , w `Pam ()); 152  $this -> ms [ $num -1]; 153 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/AndSelector.php 1 `hasSes ()) { 37 $buf .= "{andselect: "; 38 $buf . :: `toSg (); 39 $buf .= "}"; 41  $buf ; 54 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 55 $this -> `vide (); 56 $s = $this -> `Emts (); 57  $i =0, $size = `cou ( $s ); $i < $size; $i++) { 58 $su = $s [ $i ]-> `isSeed ( $bad , $fame , $fe ); 59 i(! $su ) { 60  l ; 63  ue ; 64 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/BaseExtendSelector.php 1 ms = $ms ; 58 eed funi $gPams () { 59  $this -> ms ; 60 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/BaseSelector.php 1 rmsg == nu ) { 45 $this -> rmsg = $msg ; 54 public funi $gE () { 55  $this -> rmsg ; 56 } } 66 public funi $vifyStgs () { 67 } } 73 public funi $vide () { 74 i( $this -> `gE (== nu ) { 75 $this -> `vifyStgs (); 77 i( $this -> `gE (!= nu ) { 78 throw w `BudExi ( $this -> rmsg ); 80 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/BaseSelectorContainer.php 1 sLi )); 46 public funi $Cou () { 47  `cou ( $this -> sLi ); 48 } } 53 public funi $gSes ( Proje $p ) { 54 $su = `y (); 55  $i =0, $size = `cou ( $this -> sLi ); $i < $size; $i++) { 56 $su [] = e $this -> sLi [ $i ]; 58  $su ; 59 } } 64 public funi $Emts () { 65  $this -> sLi ; 66 } } 75 public funi $toSg () { 76 $buf = ""; 77 $r = $this -> `Emts (); 78  $i =0, $size = `cou ( $r ); $i < $size; $i++) { 79 $buf . $r [ $i ]-> `toSg (. ( `ist ($arr[$i+1]) ? ', ' : ''); 81  $buf ; 82 } } 90 public funi $ndSe ( FeSe $ ) { 91 $this -> sLi [] = $ ; 92 } } 110 public funi $vide () { 111 $this -> `vifyStgs (); 112 $rmsg = $this -> `gE (); 113 i( $rmsg != nu ) { 114 throw w `BudExi ( $rmsg ); 116 `fܗch ( $this -> sLi as $o ) { 117 i( $o of BaSe ) { 118 $o -> `vide (); 121 } } 128 public funi $Se () { 129 $o = w `SeSe (); 130 $this -> `ndSe ( $o ); 131  $o ; 132 } } 137 public funi $And () { 138 $o = w `AndSe (); 139 $this -> `ndSe ( $o ); 140  $o ; 141 } } 146 public funi $Or () { 147 $o = w `OrSe (); 148 $this -> `ndSe ( $o ); 149  $o ; 150 } } 155 public funi $N () { 156 $o = w `NSe (); 157 $this -> `ndSe ( $o ); 158  $o ; 159 } } 164 public funi $Ne () { 165 $o = w `NeSe (); 166 $this -> `ndSe ( $o ); 167  $o ; 168 } } 173 public funi $Majܙy () { 174 $o = w `MajܙySe (); 175 $this -> `ndSe ( $o ); 176  $o ; 177 } } 182 public funi $De () { 183 $o = w `DeSe (); 184 $this -> `ndSe ( $o ); 185  $o ; 186 } } 191 public funi $Size () { 192 $o = w `SizeSe (); 193 $this -> `ndSe ( $o ); 194  $o ; 195 } } 200 public funi $Fame () { 201 $o = w `FameSe (); 202 $this -> `ndSe ( $o ); 203  $o ; 204 } } 209 public funi $Cuom () { 210 $o = w `ExndSe (); 211 $this -> `ndSe ( $o ); 212  $o ; 213 } } 218 public funi $Cڏs () { 219 $o = w `CڏsSe (); 220 $this -> `ndSe ( $o ); 221  $o ; 222 } } 227 public funi $CڏsRegexp () { 228 $o = w `CڏsRegexpSe (); 229 $this -> `ndSe ( $o ); 230  $o ; 231 } } 236 public funi $P () { 237 $o = w `PSe (); 238 $this -> `ndSe ( $o ); 239  $o ; 240 } } 245 public funi $Dth () { 246 $o = w `DthSe (); 247 $this -> `ndSe ( $o ); 248  $o ; 249 } } 254 public funi $Dd () { 255 $o = w `DdSe (); 256 $this -> `ndSe ( $o ); 257  $o ; 258 } } 263 public funi $Ty () { 264 $o = w `TySe (); 265 $this -> `ndSe ( $o ); 266  $o ; 267 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/ContainsRegexpSelector.php 1 urProvidedExessi ; 55 $buf .= " casesensitive: "; 56 i( $this -> nsive ) { 57 $buf .= "true"; 59 $buf .= "false"; 61 $buf .= "}"; 62  $buf ; 70 public funi $tExessi ( $exp ) { 71 $this -> urProvidedExessi = $exp ; 72 } } 79 public funi $tCansive ( $nsive ) { 80 $this -> nsive = $nsive ; 81 } } 89 public funi $tPams ( $ms ) { 90 :: `tPams ( $ms ); 91 i( $ms != nu ) { 92  $i =0, $size = `cou ( $ms ); $i < $size; $i++) { 93 $mme = $ms [ $i ]-> `gName (); 94  `ow ( $mme )) { 95  lf :: EXPRESSION_KEY : 96 $this -> `tExessi ( $ms [ $i ]-> `gVue ()); 98  lf :: CASE_KEY : 99 $this -> `tCansive ( $ms [ $i ]-> `gVue ()); 102 $this -> `tE ("Invidam " . $mme ); 106 } } 113 public funi $vifyStgs () { 114 i( $this -> urProvidedExessi == nu ) { 115 $this -> `tE ("Thexpressionttribute isequired"); 117 } } 128 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 130 $this -> `vide (); 132 i( $fe -> `isDey ()) { 133  ue ; 136 i( $this -> myRegExp == nu ) { 137 $this -> myRegExp = w `RegurExessi (); 138 $this -> myRegExp -> `tP ($this-> urProvidedExessi ); 139 i(! $this -> nsive ) { 140 $this -> myRegExp -> `tIgneCa ( ue ); 142 $this -> myExessi = $this-> myRegExp -> `gRegexp ($this-> `gProje ()); 145 $ = nu ; 146 y { 147 $ = w `BufdRd ew `FeRd ( $fe )); 148 $r = $ -> `adLe (); 149  $r != nu ) { 150 i( $this -> myExessi -> `mches ( $r )) { 151  ue ; 153 $r = $ -> `adLe (); 155  l ; 156 } `tch ( IOExi $i ) { 157 i( $ $-> `o (); 158 throw w `BudExi ("Couldلd f" . $fame ); 160 $ -> `o (); 161 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/ContainsSelector.php 1 cڏs ; 43 $buf .= " casesensitive: "; 44 i( $this -> nsive ) { 45 $buf .= "true"; 47 $buf .= "false"; 49 $buf .= "}"; 50  $buf ; 58 public funi $tText ( $cڏs ) { 59 $this -> cڏs = $cڏs ; 60 } } 67 public funi $tCansive ( $nsive ) { 68 $this -> nsive = $nsive ; 69 } } 77 public funi $tPams ( $ms ) { 78 :: `tPams ( $ms ); 79 i( $ms != nu ) { 80  $i =0, $size = `cou ( $ms ); $i < $size; $i++) { 81 $mme = $ms [ $i ]-> `gName (); 82  `ow ( $mme )) { 83  lf :: CONTAINS_KEY : 84 $this -> `tText ( $ms [ $i ]-> `gVue ()); 86  lf :: CASE_KEY : 87 $this -> `tCansive ( $ms [ $i ]-> `gVue ()); 90 $this -> `tE ("Invidam " . $mme ); 94 } } 101 public funi $vifyStgs () { 102 i( $this -> cڏs == nu ) { 103 $this -> `tE ("Theextttribute isequired"); 105 } } 116 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 118 $this -> `vide (); 120 i( $fe -> `isDey ()) { 121  ue ; 124 $urr = $this -> cڏs ; 125 i(! $this -> nsive ) { 126 $urr = `ow ( $this -> cڏs ); 129 $ = nu ; 130 y { 131 $ = w `BufdRd ew `FeRd ( $fe )); 132 $r = $ -> `adLe (); 133  $r != nu ) { 134 i(! $this -> nsive ) { 135 $r = `ow ($teststr); 137 i( `os ( $r , $urr != l ) { 138  ue ; 140 $r = $ -> `adLe (); 142  l ; 143 } `tch ( IOExi $i ) { 144 i( $ $-> `o (); 145 throw w `BudExi ("Couldلd f" . $fame ); 147 $ -> `o (); 148 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/DateSelector.php 1 deTime ; 58 $buf .= " compare: "; 59 i( $this -> cmp === 0) { 60 $buf .= "before"; 61 } `if ( $this -> cmp === 1) { 62 $buf .= "after"; 64 $buf .= "equal"; 66 $buf .= " granularity: "; 67 $buf . $this -> gnury ; 68 $buf .= "}"; 69  $buf ; 70 } } 78 public funi $tSecds ( $cds ) { 79 $this -> cds = ( $cds ; 80 } } 85 public funi $gSecds () { 86  $this -> cds ; 87 } } 95 public funi $tDime ( $deTime ) { 96 $dt = `ime ( $deTime ); 97 i( $dt == -1) { 98 $this -> `tE ("Do" . $deTime 102 $this -> deTime = $deTime ; 103 $this -> `tSecds ( $dt ); 105 } } 112 public funi $tCheckds ( $udeDs ) { 113 $this -> udeDs = ( boޗn $udeDs ; 114 } } 121 public funi $tGnury ( $gnury ) { 122 $this -> gnury = ( $gnury ; 123 } } 131 public funi $tWh ( $cmp ) { 132 $idx = `y_ch ( $cmp , lf :: $timeComriss , ue ); 133 i( $idx == nu ) { 134 $this -> `tE ("Invid vuf ". WHEN_KEY .": ". $cmp ); 136 $this -> cmp = $idx ; 138 } } 146 public funi $tPams ( $ms ) { 147 :: `tPams ( $ms ); 148 i( $ms != nu ) { 149  $i =0, $size = `cou ( $ms ); $i < $size; $i++) { 150 $mme = $ms [ $i ]-> `gName (); 151  `ow ( $mme )) { 152  lf :: MILLIS_KEY : 153 $this -> `tMlis ( $ms [ $i ]-> `gVue ()); 155  lf :: DATETIME_KEY : 156 $this -> `tDime ( $ms [ $i ]-> `gVue ()); 158  lf :: CHECKDIRS_KEY : 159 $this -> `tCheckds ( $ms [ $i ]-> `gVue ()); 161  lf :: GRANULARITY_KEY : 162 $this -> `tGnury ( $ms [ $i ]-> `gVue ()); 164  lf :: WHEN_KEY : 165 $this -> `tWh ( $ms [ $i ]-> `gVue ()); 168 $this -> `tE ("Invidam " . $mme ); 172 } } 178 public funi $vifyStgs () { 179 i( $this -> deTime == nu && $this-> cds < 0) { 180 $this -> `tE ("You mustrovide datetime orheumber of " 182 } `if ( $this -> cds < 0) { 183 $this -> `tE ("Do" . $this-> deTime 187 } } 198 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 199 $this -> `vide (); 200 i( $fe -> `isDey (&& ( $this -> udeDs == l )) { 201  ue ; 203 i( $this -> cmp === 0) { 204  (( $fe -> `ϡModifd (- $this -> gnury < $this-> cds ); 205 } `if ( $this -> cmp === 1) { 206  (( $fe -> `ϡModifd (- $this -> gnury > $this-> cds ); 208  ( `abs ( $fe -> `ϡModifd (- $this -> cds <$this-> gnury ); 210 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/DependSelector.php 1 rgd == nu ) { 53 $buf .= "NOT YET SET"; 55 $buf . $this -> rgd -> `gName (); 57 $buf .= " granularity: "; 58 $buf . $this -> gnury ; 59 i( $this -> m != nu ) { 60 $buf .= " mapper: "; 61 $buf . $this -> m -> `toSg (); 62 } `if ( $this -> mrEmt != nu ) { 63 $buf .= " mapper: "; 64 $buf . $this -> mrEmt -> `toSg (); 66 $buf .= "}"; 67  $buf ; 68 } } 76 public funi $tTgd ( PhgFe $rgd ) { 77 $this -> rgd = $rgd ; 78 } } 84 public funi $tGnury ( $gnury ) { 85 $this -> gnury = () granularity; 86 } } 92 public funi $Mr () { 93 i( $this -> mrEmt != nu ) { 94 throw w `BudExi ("Cannot define morehan one mapper"); 96 $this -> mrEmt = w `Mr ($this-> oje ); 97  $this -> mrEmt ; 98 } } 105 public funi $vifyStgs () { 106 i( $this -> rgd == nu ) { 107 $this -> `tE ("Theargetdirttribute isequired."); 109 i( $this -> mrEmt == nu ) { 110 $this -> m = w `IdtyMr (); 112 $this -> m = $this-> mrEmt -> `gImemti (); 114 i( $this -> m == nu ) { 115 $this -> `tE ("Couldot set lement."); 117 } } 128 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 130 $this -> `vide (); 133 $defes = $this -> m -> `ma ( $fame ); 137 i( $defes == nu ) { 138  l ; 141 i( `cou ( $defes !=1 || $defes[0] == nu ) { 142 throw w `BudExi ("Invid dei fsuɠf " . $this -> rgd . " wh fam" . $fame ); 144 $deme = $defes [0]; 145 $defe = w `PhgFe ( $this -> rgd , $deme ); 147  SeUts :: `isOutOfDe ( $fe , $defe , $this -> gnury ); 148 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/DepthSelector.php 1 m ; 43 $buf .= " max: "; 44 $buf . $this -> max ; 45 $buf .= "}"; 46  $buf ; 54 public funi $tM ( $m ) { 55 $this -> m = ( $m ; 56 } } 63 public funi $tMax ( $max ) { 64 $this -> max = ( $max ; 65 } } 73 public funi $tPams ( $ms ) { 74 :: `tPams ( $ms ); 75 i( $ms != nu ) { 76  $i = 0, $size = `cou ( $ms ); $i < $size; $i++) { 77 $mme = $ms [ $i ]-> `gName (); 78  `ow ( $mme )) { 79  lf :: MIN_KEY : 80 $this -> `tM ( $ms [ $i ]-> `gVue ()); 82  lf :: MAX_KEY : 83 $this -> `tMax ( $ms [ $i ]-> `gVue ()); 87 $this -> `tE ("Invudam " . $mme ); 91 } } 97 public funi $vifyStgs () { 98 i( $this -> m < 0 && $this-> max < 0) { 99 $this -> `tE ("You must setteast one ofhe min orhe " . 102 i( $this -> max < $this-> m && $this->max > -1) { 103 $this -> `tE ("The maximum depth isowerhanhe minimum."); 105 } } 119 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 121 $this -> `vide (); 123 $dth = -1; 125 $abs_ba = $bad -> `gAbsuPh (); 126 $abs_fe = $fe -> `gAbsuPh (); 128 $tok_ba = `exode ( DIRECTORY_SEPARATOR , $abs_ba ); 129 $tok_fe = `exode ( DIRECTORY_SEPARATOR , $abs_fe ); 131  $i =0, $size = `cou ( $tok_fe ); $i < $size; $i++) { 132 $fok = $tok_fe [ $i ]; 133 i( `ist ( $tok_ba [ $i ])) { 134 $batok = $tok_ba [ $i ]; 136 i( $batok != $fok ) { 137 throw w `BudExi ("F" . $fame . 138 " d۠nهwh " . $abs_ba . "directory"); 141 $dth ++; 142 i( $this -> max > -1 && $dth > $this->max) { 143  l ; 147 i( `ist ( $tok_ba [ $i + 1])) { 148 throw w `BudExi ("F" . $fame . 149 " ioutsido" . $abs_ba . "directoryree"); 151 i( $this -> m > -1 && $dth < $this->min) { 152  l ; 154  ue ; 155 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/ExtendFileSelector.php 1 asame = $asame ; 53 public funi $Ce () { 54 i( $this -> asame != nu && $this->classname !== "") { 55 y { 57 $s = Phg :: `impt ( $this -> asame ); 60 i( `ass_exis ( $s )) { 61 $this -> dyn = w `$s (); 63 $this -> `tE ("Se " . $this-> asame . "ot initialized,o such class"); 65 } `tch ( Exi $e ) { 66 $this -> `tE ("Se " . $this-> asame . " inlized, could cass: " . $e -> `gMesge ()); 69 $this -> `tE ("There iso classname specified"); 71 } } 78 public funi $addPam ( Pam $p ) { 79 $this -> ms [] = $p ; 80 } } 87 public funi $vifyStgs () { 91 i( $this -> dyn == nu ) { 92 $this -> `Ce (); 95 i( `emy ( $this -> asame )) { 96 $this -> `tE ("The classnamettribute isequired"); 97 } `if ( $this -> dyn == nu ) { 98 $this -> `tE ("Internal Error: The custom selector wasot created"); 99 } `if ( !( $this -> dyn of ExndFeSe && ( `cou ($this-> ms ) > 0)) { 100 $this -> `tE ("Cannot setarameters on custom selectorhat doesot " 103 } } 112 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 114 $this -> `vide (); 116 i( `cou ( $this -> ms > 0 && $this-> dyn of ExndFeSe ) { 118 $this -> dyn -> `tPams ($this-> ms ); 120  $this -> dyn -> `isSeed ( $bad , $fame , $fe ); 121 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/FileSelector.php 1 n ; 45 $buf .= "egate: "; 46 i( $this -> ged ) { 47 $buf .= "true"; 49 $buf .= "false"; 51 $buf .= " casesensitive: "; 52 i( $this -> nsive ) { 53 $buf .= "true"; 55 $buf .= "false"; 57 $buf .= "}"; 58  $buf ; 68 public funi $tName ( $n ) { 69 $n = `r_a ('\\', DIRECTORY_SEPARATOR , $pattern); 70 $n = `r_a ('/', DIRECTORY_SEPARATOR , $pattern); 72 i( SgHr :: `dsWh ( DIRECTORY_SEPARATOR , $n )) { 73 $n .= "**"; 75 $this -> n = $n ; 76 } } 83 public funi $tCansive ( $nsive ) { 84 $this -> nsive = $nsive ; 85 } } 95 public funi $tNege ( $ged ) { 96 $this -> ged = $ged ; 97 } } 105 public funi $tPams ( $ms ) { 106 :: `tPams ( $ms ); 107 i( $ms != nu ) { 108  $i =0, $n = `cou ( $ms ); $i < $len; $i++) { 109 $mme = $ms [ $i ]-> `gName (); 110  `ow ( $mme )) { 111  lf :: NAME_KEY : 112 $this -> `tName ( $ms [ $i ]-> `gVue ()); 114  lf :: CASE_KEY : 115 $this -> `tCansive ( $ms [ $i ]-> `gVue ()); 117  lf :: NEGATE_KEY : 118 $this -> `tNege ( $ms [ $i ]-> `gVue ()); 121 $this -> `tE ("Invidam " . $mme ); 125 } } 132 public funi $vifyStgs () { 133 i( $this -> n == nu ) { 134 $this -> `tE ("Theamettribute isequired"); 136 } } 150 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 151 $this -> `vide (); 152  ( SeUts :: `mchPh ( $this -> n , $fame , $this-> nsive ) 153 ==!( $this -> ged )); 154 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/MajoritySelector.php 1 `hasSes ()) { 44 $buf .= "{majorityselect: "; 45 $buf . :: `toSg (); 46 $buf .= "}"; 48  $buf ; 51 public funi $tAowt ( $tbak ) { 52 $this -> lowt = $tbak ; 53 } } 66 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 68 $this -> `vide (); 70 $yesves = 0; 71 $noves = 0; 73 $s = $this -> `Emts (); 74  $i =0, $size = `cou ( $s ); $i < $size; $i++) { 75 $su = $s [ $i ]-> `isSeed ( $bad , $fame , $fe ); 76 i( $su ) { 77 $yesves = $yesvotes + 1; 79 $noves = $novotes + 1; 82 i( $yesves > $noves ) { 83  ue ; 85 i( $noves > $yesves ) { 86  l ; 89  $this -> lowt ; 90 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/NoneSelector.php 1 `hasSes ()) { 38 $buf .= "{noneselect: "; 39 $buf . :: `toSg (); 40 $buf .= "}"; 42  $buf ; 55 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 57 $this -> `vide (); 59 $s = $this -> `Emts (); 61  $i =0, $size = `cou ( $s ); $i < $size; $i++) { 62 $su = $s [ $i ]-> `isSeed ( $bad , $fame , $fe ); 63 i( $su ) { 64  l ; 67  ue ; 68 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/NotSelector.php 1 `hasSes ()) { 40 $buf .= "{notselect: "; 41 $buf . :: `toSg (); 42 $buf .= "}"; 44  $buf ; 51 public funi $vifyStgs () { 52 i( $this -> `Cou () != 1) { 53 $this -> `tE ("Onend only one selector isllowed withinhe " . 56 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/OrSelector.php 1 `hasSes ()) { 37 $buf .= "{orselect: "; 38 $buf . :: `toSg (); 39 $buf .= "}"; 41  $buf ; 54 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 56 $this -> `vide (); 58 $s = $this -> `Emts (); 62  $i =0, $size = `cou ( $s ); $i < $size; $i++) { 63 $su = $s [ $i ]-> `isSeed ( $bad , $fame , $fe ); 64 i( $su ) { 65  ue ; 68  l ; 69 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/PresentSelector.php 1 rgd == nu ) { 44 $buf .= "NOT YET SET"; 46 $buf . $this -> rgd -> `gName (); 48 $buf .= "resent: "; 49 i( $this -> demuexi ) { 50 $buf .= "both"; 52 $buf .= "srconly"; 54 i( $this -> m != nu ) { 55 $buf . $this -> m -> `toSg (); 56 } `if ( $this -> mrEmt != nu ) { 57 $buf . $this -> mrEmt -> `toSg (); 59 $buf .= "}"; 60  $buf ; 69 public funi $tTgd ( PhgFe $rgd ) { 70 $this -> rgd = $rgd ; 71 } } 77 public funi $Mr () { 78 i( $this -> mrEmt != nu ) { 79 throw w `BudExi ("Cannot define morehan one mapper"); 81 $this -> mrEmt = w `Mr ($this-> `gProje ()); 82  $this -> mrEmt ; 83 } } 98 public funi $tP ( $ ) { 99 $idx = `y_ch ( $ , lf :: $fePn , ue ); 100 i $idx === 0 ) { 101 $this -> demuexi = l ; 103 } } 109 public funi $vifyStgs () { 110 i( $this -> rgd == nu ) { 111 $this -> `tE ("Theargetdirttribute isequired."); 113 i( $this -> mrEmt == nu ) { 114 $this -> m = w `IdtyMr (); 116 $this -> m = $this-> mrEmt -> `gImemti (); 118 i( $this -> m == nu ) { 119 $this -> `tE ("Couldot set lement."); 121 } } 132 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 134 $this -> `vide (); 137 $defes = $this -> m -> `ma ( $fame ); 140 i( $defes == nu ) { 141  l ; 144 i( `cou ( $defes !=1 || $defes[0] == nu ) { 145 throw w `BudExi ("Invalid destination fileesults for " 146 . $this -> rgd . " wh fam" . $fame ); 148 $deme = $defes [0]; 149 $defe = w `PhgFe ( $this -> rgd , $deme ); 150  $defe -> `exis (== $this -> demuexi ; 151 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/SelectSelector.php 1 `hasSes ()) { 43 $buf .= "{select: "; 44 $buf . :: `toSg (); 45 $buf .= "}"; 47  $buf ; 54 ive funi $gRef () { 55 $o = $this -> `gCheckedRef ( `g_ass ($this), "SelectSelector"); 56  $o ; 57 } } 62 public funi $hasSes () { 63 i( $this -> `isRen ()) { 64  $this -> `gRef ()-> `hasSes (); 66  :: `hasSes (); 67 } } 72 public funi $Cou () { 73 i( $this -> `isRen ()) { 74  $this -> `gRef ()-> `Cou (); 76  :: `Cou (); 77 } } 82 public funi $gSes ( Proje $p ) { 83 i( $this -> `isRen ()) { 84  $this -> `gRef ()-> `gSes ( $p ); 86  :: `gSes ( $p ); 87 } } 92 public funi $Emts () { 93 i( $this -> `isRen ()) { 94  $this -> `gRef ()-> `Emts (); 96  :: `Emts (); 97 } } 105 public funi $ndSe ( FeSe $ ) { 106 i( $this -> `isRen ()) { 107 throw $this -> `noChdnAowed (); 109 :: `ndSe ( $ ); 110 } } 116 public funi $vifyStgs () { 117 i( $this -> `Cou () != 1) { 118 $this -> `tE ("Onend only one selector isllowed withinhe " 121 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/SelectorContainer.php 1 $rIdxEnd ) { 105  ue ; 106 } `if ( $tIdxS > $tIdxEnd ) { 108  l ; 112  ue ; 114 } } 129 public  funi $mchPh ( $n , $r , $isCaSsive = ue ) { 135 i( SgHr :: `tsWh ( DIRECTORY_SEPARATOR , $r ) !== 136 SgHr :: `tsWh ( DIRECTORY_SEPARATOR , $n )) { 137  l ; 140 $tDs = `exode ( DIRECTORY_SEPARATOR , $n ); 141 $rDs = `exode ( DIRECTORY_SEPARATOR , $r ); 143 $tIdxS = 0; 144 $tIdxEnd = `cou ( $tDs )-1; 145 $rIdxS = 0; 146 $rIdxEnd = `cou ( $rDs )-1; 149  $tIdxS < $tIdxEnd && $rIdxS < $rIdxEnd ) { 150 $tD = $tDs [ $tIdxS ]; 151 i( $tD == "**") { 154 i(! lf :: `mch ( $tD , $rDs [ $rIdxS ], $isCaSsive )) { 155  l ; 157 $tIdxS ++; 158 $rIdxS ++; 160 i( $rIdxS > $rIdxEnd ) { 162  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 163 i( $tDs [ $i ] != "**") { 164  l ; 167  ue ; 168 } `if ( $tIdxS > $tIdxEnd ) { 170  l ; 174  $tIdxS < $tIdxEnd && $rIdxS < $rIdxEnd ) { 175 $tD = $tDs [ $tIdxEnd ]; 176 i( $tD == "**") { 179 i(! lf :: `mch ( $tD , $rDs [ $rIdxEnd ], $isCaSsive )) { 180  l ; 182 $tIdxEnd --; 183 $rIdxEnd --; 186 i( $rIdxS > $rIdxEnd ) { 188  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 189 i( $tDs [ $i ] != "**") { 190  l ; 193  ue ; 196  $tIdxS ! $tIdxEnd && $rIdxS < $rIdxEnd ) { 197 $tIdxTmp = -1; 198  $i = $tIdxS +1; $< $tIdxEnd ; $i++) { 199 i( $tDs [ $i ] == "**") { 200 $tIdxTmp = $i ; 204 i( $tIdxTmp = $tIdxS +1) { 206 $tIdxS ++; 211 $tLgth = ( $tIdxTmp - $tIdxS -1); 212 $rLgth = ( $rIdxEnd - $rIdxS +1); 213 $foundIdx = -1; 216  $i =0; $< $rLgth - $tLgth ; $i++) { 217  $j = 0; $j < $tLgth ; $j++) { 218 $subP = $tDs [ $tIdxS + $j +1]; 219 $subS = $rDs [ $rIdxS + $i + $j ]; 220 i(! lf :: `mch ( $subP , $subS , $isCaSsive )) { 224 $foundIdx = $rIdxS + $i ; 228 i( $foundIdx == -1) { 229  l ; 232 $tIdxS = $tIdxTmp ; 233 $rIdxS = $foundIdx + $tLgth ; 236  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 237 i( $tDs [ $i ] != "**") { 238  l ; 242  ue ; 243 } } 262 public  funi $mch ( $n , $r , $isCaSsive = ue ) { 264 $tA = SgHr :: `toChAay ( $n ); 265 $rA = SgHr :: `toChAay ( $r ); 266 $tIdxS = 0; 267 $tIdxEnd = `cou ( $tA )-1; 268 $rIdxS = 0; 269 $rIdxEnd = `cou ( $rA )-1; 271 $cڏsSr = l ; 272  $i = 0, $size = `cou ( $tA ); $i < $size; $i++) { 273 i( $tA [ $i ] == '*') { 274 $cڏsSr = ue ; 279 i(! $cڏsSr ) { 281 i( $tIdxEnd ! $rIdxEnd ) { 282  l ; 284  $i = 0; $< $tIdxEnd ; $i++) { 285 $ch = $tA [ $i ]; 286 i( $ch != '?') { 287 i( $isCaSsive && $ch != $rA [ $i ]) { 288  l ; 290 i(! $isCaSsive && `ou ( $ch ) !== 291 `ou ( $rA [ $i ])) { 292  l ; 296  ue ; 299 i( $tIdxEnd == 0) { 300  ue ; 304 ( $ch = $tA [ $tIdxS ]!'*' && $rIdxS < $rIdxEnd ) { 305 i( $ch != '?') { 306 i( $isCaSsive && $ch != $rA [ $rIdxS ]) { 307  l ; 309 i(! $isCaSsive && `ou ( $ch ) !== 310 `ou ( $rA [ $rIdxS ])) { 311  l ; 314 $tIdxS ++; 315 $rIdxS ++; 318 i( $rIdxS > $rIdxEnd ) { 321  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 322 i( $tA [ $i ] != '*') { 323  l ; 326  ue ; 330 ( $ch = $tA [ $tIdxEnd ]!'*' && $rIdxS < $rIdxEnd ) { 331 i( $ch != '?') { 332 i( $isCaSsive && $ch != $rA [ $rIdxEnd ]) { 333  l ; 335 i(! $isCaSsive && `ou ( $ch ) !== 336 `ou ( $rA [ $rIdxEnd ])) { 337  l ; 340 $tIdxEnd --; 341 $rIdxEnd --; 343 i( $rIdxS > $rIdxEnd ) { 346  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 347 i( $tA [ $i ] != '*') { 348  l ; 351  ue ; 356  $tIdxS != $tIdxEnd && $rIdxS < $rIdxEnd ) { 357 $tIdxTmp = -1; 358  $i = $tIdxS +1; $< $tIdxEnd ; $i++) { 359 i( $tA [ $i ] == '*') { 360 $tIdxTmp = $i ; 364 i( $tIdxTmp == $tIdxS + 1) { 366 $tIdxS ++; 371 $tLgth = ( $tIdxTmp - $tIdxS - 1); 372 $rLgth = ( $rIdxEnd - $rIdxS + 1); 373 $foundIdx = -1; 376  $i = 0; $< $rLgth - $tLgth ; $i++) { 377  $j = 0; $j < $tLgth ; $j++) { 378 $ch = $tA [ $tIdxS + $j +1]; 379 i( $ch != '?') { 380 i( $isCaSsive && $ch != $rA [ $rIdxS + $i + $j ]) { 383 i(! $isCaSsive && `ou ( $ch ) !== 384 `ou ( $rA [ $rIdxS + $i + $j ])) { 390 $foundIdx = $rIdxS + $i ; 394 i( $foundIdx == -1) { 395  l ; 398 $tIdxS = $tIdxTmp ; 399 $rIdxS = $foundIdx + $tLgth ; 404  $i = $tIdxS ; $< $tIdxEnd ; $i++) { 405 i( $tA [ $i ] != '*') { 406  l ; 409  ue ; 410 } } 426 public  funi $isOutOfDe ( PhgFe $c , PhgF $rg , $gnury ) { 427 i(! $c -> `exis ()) { 428  l ; 430 i(! $rg -> `exis ()) { 431  ue ; 433 i(( $c -> `ϡModifd (- $gnury > $rg ->lastModified()) { 434  ue ; 436  l ; 437 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/SizeSelector.php 1 sizim ; 55 $buf .= "compare: "; 56 i( $this -> cmp === 0) { 57 $buf .= "less"; 58 } `if ( $this -> cmp === 1) { 59 $buf .= "more"; 61 $buf .= "equal"; 63 $buf .= "}"; 64  $buf ; 74 public funi $tVue ( $size ) { 75 $this -> size = $size ; 76 i(( $this -> muɝlr !=0&& ($this-> size > -1)) { 77 $this -> sizim = $size * $this-> muɝlr ; 79 } } 107 public funi $tUns ( $uns ) { 108 $i = `y_ch ( $uns , lf :: $byUns , ue ); 109 i( $i == l ) $i = -1; 111 $this -> muɝlr = 0; 112 i(( $i > -1) && ($i < 4)) { 113 $this -> muɝlr = 1000; 114 } `if (( $i > 3) && ($i < 9)) { 115 $this -> muɝlr = 1024; 116 } `if (( $i > 8) && ($i < 13)) { 117 $this -> muɝlr = 1000000; 118 } `if (( $i > 12) && ($i < 18)) { 119 $this -> muɝlr = 1048576; 120 } `if (( $i > 17) && ($i < 22)) { 121 $this -> muɝlr = 1000000000; 122 } `if (( $i > 21) && ($i < 27)) { 123 $this -> muɝlr = 1073741824; 124 } `if (( $i > 26) && ($i < 31)) { 125 $this -> muɝlr = 1000000000000; 126 } `if (( $i > 30) && ($i < 36)) { 127 $this -> muɝlr = 1099511627776; 129 i(( $this -> muɝlr > 0&& ($this-> size > -1)) { 130 $this -> sizim = $this-> size * $this-> muɝlr ; 132 } } 141 public funi $tWh ( $cmp ) { 142 $c = `y_ch ( $cmp , lf :: $sizeComriss , ue ); 143 i( $c != l ) { 144 $this -> cmp = $c ; 146 } } 154 public funi $tPams ( $ms ) { 155 :: `tPams ( $ms ); 156 i( $ms != nu ) { 157  $i = 0, $size = `cou ( $ms ); $i < $size; $i++) { 158 $mme = $ms [ $i ]-> `gName (); 159  `ow ( $mme )) { 160  lf :: SIZE_KEY : 161 y { 162 $this -> `tVue ( $ms [ $i ]-> `gVue ()); 163 } `tch ( Exi $n ) { 164 $this -> `tE ("Invalid size setting " 165 . $ms [ $i ]-> `gVue ()); 168  lf :: UNITS_KEY : 169 $this -> `tUns ( $ms [ $i ]-> `gVue ()); 171  lf :: WHEN_KEY : 172 $this -> `tWh ( $ms [ $i ]-> `gVue ()); 175 $this -> `tE ("Invidam " . $mme ); 179 } } 191 public funi $vifyStgs () { 192 i( $this -> size < 0) { 193 $this -> `tE ("The valuettribute isequired,nd must beositive"); 194 } `if ( $this -> muɝlr < 1) { 195 $this -> `tE ("Invalid Units supplied, must be K,Ki,M,Mi,G,Gi,T,or Ti"); 196 } `if ( $this -> sizim < 0) { 197 $this -> `tE ("Internalrror: Code isot setting sizelimit correctly"); 199 } } 210 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 212 $this -> `vide (); 215 i( $fe -> `isDey ()) { 216  ue ; 218 i( $this -> cmp === 0) { 219  ( $fe -> `ngth (< $this -> sizim ); 220 } `if ( $this -> cmp === 1) { 221  ( $fe -> `ngth (> $this -> sizim ); 223  ( $fe -> `ngth (== $this -> sizim ); 225 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/types/selectors/TypeSelector.php 1 ty . "}"; 48  $buf ; 55 public funi $tTy ( $ty ) { 56 $this -> ty = $ty ; 57 } } 65 public funi $tPams ( $ms ) { 66 :: `tPams ( $ms ); 67 i( $ms != nu ) { 68  $i = 0, $size = `cou ( $ms ); $i < $size; $i++) { 69 $mme = $ms [ $i ]-> `gName (); 70 i( lf :: TYPE_KEY = `ow ( $mme )) { 71 $this -> `tTy ( $ms [ $i ]-> `gVue ()); 73 $this -> `tE ("Invidam " . $mme ); 77 } } 84 public funi $vifyStgs () { 85 i( $this -> ty == nu ) { 86 $this -> `tE ("Theypettribute isequired"); 87 } `if (! `_y ( $this -> ty , lf :: $tys , ue )) { 88 $this -> `tE ("Invidy scifd; mu bڐo(" . `imode ( lf :: $tys ) . ")"); 90 } } 101 public funi $isSeed ( PhgFe $bad , $fame , PhgF $fe ) { 104 $this -> `vide (); 106 i( $fe -> `isDey ()) { 107  $this -> ty === 'dir'; 109  $this -> ty === 'file'; 111 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/DirectoryScanner.php 1 bad = $_bad ; 251 } } 259 funi $gBad () { 260  $this -> bad ; 261 } } 268 funi $tCaSsive ( $_isCaSsive ) { 269 $this -> isCaSsive = ( $_isCaSsive ? ue : l ; 270 } } 281 funi tInudes ( $_udes = $y ()) { 282 i( `emy ( $_udes || `is_nu ($_includes)) { 283 $this -> udes = nu ; 285  $i = 0; $< `cou ( $_udes ); $i++) { 286 $n = nu ; 287 $n = `r_a ('\\', DIRECTORY_SEPARATOR , $_udes [ $i ]); 288 $n = `r_a ('/', DIRECTORY_SEPARATOR , $pattern); 289 i( SgHr :: `dsWh ( DIRECTORY_SEPARATOR , $n )) { 290 $n .= "**"; 292 $this -> udes [] = $n ; 295 } } 307 funi tExudes ( $_exudes = $y ()) { 308 i( `emy ( $_exudes || `is_nu ($_excludes)) { 309 $this -> exudes = nu ; 311  $i = 0; $< `cou ( $_exudes ); $i++) { 312 $n = nu ; 313 $n = `r_a ('\\', DIRECTORY_SEPARATOR , $_exudes [ $i ]); 314 $n = `r_a ('/', DIRECTORY_SEPARATOR , $pattern); 315 i( SgHr :: `dsWh ( DIRECTORY_SEPARATOR , $n )) { 316 $n .= "**"; 318 $this -> exudes [] = $n ; 321 } } 328 funi $sn () { 330 i(( `emy ( $this -> bad )|| (!@ `is_d ($this->basedir))) { 331  l ; 334 i( $this -> udes == nu ) { 336 $this -> udes = `y ("**"); 338 i( `is_nu ( $this -> exudes )) { 339 $this -> exudes = `y (); 342 $this -> fesInuded = `y (); 343 $this -> fesNInuded = `y (); 344 $this -> fesExuded = `y (); 345 $this -> dsInuded = `y (); 346 $this -> dsNInuded = `y (); 347 $this -> dsExuded = `y (); 348 $this -> dsDeed = `y (); 349 $this -> fesDeed = `y (); 351 i( $this -> `isInuded ("")) { 352 i(! $this -> `isExuded ("")) { 353 i( $this -> `isSeed ("", $this-> bad )) { 354 $this -> dsInuded [] = ""; 356 $this -> dsDeed [] = ""; 359 $this -> dsExuded [] = ""; 362 $this -> dsNInuded [] = ""; 365 $this -> `snd ($this-> bad , "", ue ); 366  ue ; 367 } } 374 eed funi $owSn () { 376 i( $this -> haveSlowResus ) { 381 $ex = $this -> dsExuded ; 382 $nIn = $this -> dsNInuded ; 384  $i =0, $_i = `cou ( $ex ); $i < $_i; $i++) { 385 i(! $this -> `couldHdInuded ( $ex [ $i ])) { 386 $this -> `snd ($this-> bad . $ex [ $i ], $ex[$i]. DIRECTORY_SEPARATOR , l ); 390  $i =0, $_i = `cou ( $nIn ); $i < $_i; $i++) { 391 i(! $this -> `couldHdInuded ( $nIn [ $i ])) { 392 $this -> `snd ($this-> bad . $nIn [ $i ], $nIn[$i]. DIRECTORY_SEPARATOR , l ); 396 $this -> haveSlowResus = ue ; 397 } } 409 funi $liD ( $_d ) { 410 $d = `d ( $_d ); 411 $li = `y (); 412  $y = $d -> `ad ()) { 413 i( $y != "." && $entry != "..") { 414 $li [] = $y ; 417 $d -> `o (); 418  $li ; 419 } } 439 ive funi $snd ( $_rod , $_vth , $_ ) { 441 i(! `is_adab ( $_rod )) { 445 $wfes = lf :: `liD ( $_rod ); 447  $i =0, $_i = `cou ( $wfes ); $i < $_i; $i++) { 449 $fe = $_rod . DIRECTORY_SEPARATOR . $wfes [ $i ]; 450 $me = $_vth . $wfes [ $i ]; 452 i(@ `is_d ( $fe )) { 453 i( $this -> `isInuded ( $me )) { 454 i(! $this -> `isExuded ( $me )) { 455 i( $this -> `isSeed ( $me , $fe )) { 456 $this -> dsInuded [] = $me ; 457 i( $_ ) { 458 $this -> `snd ( $fe , $me . DIRECTORY_SEPARATOR , $_ ); 461 $this -> evythgInuded = l ; 462 $this -> dsDeed [] = $me ; 463 i( $_ && $this -> `couldHdInuded ( $me )) { 464 $this -> `snd ( $fe , $me . DIRECTORY_SEPARATOR , $_ ); 468 $this -> evythgInuded = l ; 469 $this -> dsExuded [] = $me ; 470 i( $_ && $this -> `couldHdInuded ( $me )) { 471 $this -> `snd ( $fe , $me . DIRECTORY_SEPARATOR , $_ ); 475 $this -> evythgInuded = l ; 476 $this -> dsNInuded [] = $me ; 477 i( $_ && $this -> `couldHdInuded ( $me )) { 478 $this -> `snd ( $fe , $me . DIRECTORY_SEPARATOR , $_ ); 482 i(! $_ ) { 483 $this -> `snd ( $fe , $me . DIRECTORY_SEPARATOR , $_ ); 486 } `if (@ `is_fe ( $fe )) { 487 i( $this -> `isInuded ( $me )) { 488 i(! $this -> `isExuded ( $me )) { 489 i( $this -> `isSeed ( $me , $fe )) { 490 $this -> fesInuded [] = $me ; 492 $this -> evythgInuded = l ; 493 $this -> fesDeed [] = $me ; 496 $this -> evythgInuded = l ; 497 $this -> fesExuded [] = $me ; 500 $this -> evythgInuded = l ; 501 $this -> fesNInuded [] = $me ; 505 } } 514 eed funi $isInuded ( $_me ) { 515  $i =0, $_i = `cou ( $this -> udes ); $i < $_i; $i++) { 516 i( DeyS” :: `mchPh ( $this -> udes [ $i ], $_me , $this-> isCaSsive )) { 517  ue ; 520  l ; 521 } } 530 eed funi $couldHdInuded ( $_me ) { 531  $i = 0; $< `cou ( $this -> udes ); $i++) { 532 i( DeyS” :: `mchPS ( $this -> udes [ $i ], $_me , $this-> isCaSsive )) { 533  ue ; 536  l ; 537 } } 546 eed funi $isExuded ( $_me ) { 547  $i = 0; $< `cou ( $this -> exudes ); $i++) { 548 i( DeyS” :: `mchPh ( $this -> exudes [ $i ], $_me , $this-> isCaSsive )) { 549  ue ; 552  l ; 553 } } 562 funi $gInudedFes () { 563  $this -> fesInuded ; 564 } } 572 funi $gNInudedFes () { 573 $this -> `owSn (); 574  $this -> fesNInuded ; 575 } } 585 funi $gExudedFes () { 586 $this -> `owSn (); 587  $this -> fesExuded ; 588 } } 601 public funi $gDeedFes () { 602 $this -> `owSn (); 603  $this -> fesDeed ; 604 } } 614 funi $gInudedDeܛs () { 615  $this -> dsInuded ; 616 } } 625 funi $gNInudedDeܛs () { 626 $this -> `owSn (); 627  $this -> dsNInuded ; 628 } } 641 public funi $gDeedDeܛs () { 642 $this -> `owSn (); 643  $this -> dsDeed ; 644 } } 653 funi $gExudedDeܛs () { 654 $this -> `owSn (); 655  $this -> dsExuded ; 656 } } 662 funi $addDeuExudes () { 664 `fܗch ( $this -> DEFAULTEXCLUDES as $n ) { 665 $n = `r_a ('\\', DIRECTORY_SEPARATOR , $pattern); 666 $n = `r_a ('/', DIRECTORY_SEPARATOR , $pattern); 667 $this -> exudes [] = $n ; 669 } } 676 public funi $tSes ( $s ) { 677 $this -> s = $s ; 678 } } 687 public funi $isEvythgInuded () { 688  $this -> evythgInuded ; 689 } } 699 eed funi $isSeed ( $me , $fe ) { 700 i( $this -> s != nu ) { 701 $bad = w `PhgFe ( $this -> bad ); 702 $fe = w `PhgFe ($file); 703 `fܗch ( $this -> s as $ ) { 704 i(! $ -> `isSeed ( $bad , $me , $fe )) { 705  l ; 709  ue ; 710 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/ExtendedFileStream.php 1 `exis ()) { 48 $f -> `mkds (); 50 } } 52 funi $am_ݒ ( $th , $mode , $tis , & $ݒed_th ) 55 i( $th [8] = DIRECTORY_SEPARATOR ) 57 $fh = `subr ( $th , 7); 61 $fh = `subr ( $th , 8); 64 $this -> `Deܛs ( `dme ( $fh )); 66 $this -> = `fݒ ( $fh , $mode ); 68  ue ; 69 } } 71 funi $am_o () 73 `fo ( $this -> ); 74 $this -> = NULL ; 75 } } 77 funi $am_ad ( $cou ) 79  `d ( $this -> , $cou ); 80 } } 82 funi $am_wre ( $da ) 84  `fwre ( $this -> , $da ); 85 } } 87 funi $am_eof () 89  `of ( $this -> ); 90 } } 92 funi $am_ () 94  `l ( $this -> ); 95 } } 97 funi $am_ek ( $offt , $wh ) 99  `fek ( $this -> , $offt , $wh ); 100 } } 102 funi $am_ush () 104  `fush ( $this -> ); 105 } } 107 funi $am_ () 109  `f ( $this -> ); 110 } } 112 funi $uƚk ( $th ) 114  FALSE ; 115 } } 117 funi $me ( $th_om , $th_to ) 119  FALSE ; 120 } } 122 funi $mkd ( $th , $mode , $tis ) 124  FALSE ; 125 } } 127 funi $rmd ( $th , $tis ) 129  FALSE ; 130 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/FileUtils.php 1 `tBufrSize (65536); 53 $h -> `tPrimyRd ( $ ); 54 $h -> `tFrChas ( $frChas ); 55 $h -> `tProje ( $oje ); 56 $rdr = $h -> `gAsmbdRd (); 57  $rdr ; 59  $ ; 74 funi $cyFe ( PhgFe $sourFe , PhgF $deFe , $ovwre = l , $erveLaModifd = ue , & $frChas = nu , Proje $oje ) { 76 i( $ovwre || ! $deFe -> `exis (|| $deFe-> `ϡModifd (< $sourFe ->lastModified()) { 77 i( $deFe -> `exis (&& $deFe-> `isFe ()) { 78 $deFe -> `de (); 82 $ = $deFe -> `gPtFe (); 83 i( $ != nu && !$-> `exis ()) { 84 $ -> `mkds (); 87 i(( `is_y ( $frChas )&& (! `emy ($filterChains))) { 89 $ = lf :: `gChaedRd ( w `BufdRd ew `FeRd ( $sourFe )), $frChas , $oje ); 90 $out = w `BufdWr ew `FeWr ( $deFe )); 93 -1 !=( $bufr = $ -> `ad ())) { 94 $out -> `wre ( $bufr ); 97 i $ != nu ) 98 $ -> `o (); 99 i $out != nu ) 100 $out -> `o (); 103 $sourFe -> `cyTo ( $deFe ); 106 i( $erveLaModifd ) { 107 $deFe -> `tLaModifd ( $sourFe -> `ϡModifd ()); 111 } } 125 funi $sveFe ( $fe , $fame ) { 128 $fs = FeSyem :: `gFeSyem (); 130 $fame = `r_a ('/', $fs -> `gS (), str_replace('\\', $fs->getSeparator(), $filename)); 133 i( SgHr :: `tsWh ( $fs -> `gS (), $fame ) || 134 ( ` ( $fame >2 && Cha :: `isLr ($filename{0}) && $filename{1} === ':')) { 135  w `PhgFe ( $this -> `nmize ( $fame )); 138 i( ` ( $fame >2 && Cha :: `isLr ($filename{0}) && $filename{1} === ':') { 139  w `PhgFe ( $this -> `nmize ( $fame )); 142 $hpFe = w `PhgFe ( $fe -> `gAbsuPh ()); 144 $tok = `ok ( $fame , $fs -> `gS ()); 145  $tok != l ) { 146 $ = $tok ; 147 i( $ === '..') { 148 $Fe = $hpFe -> `gPt (); 149 i( $Fe == nu ) { 150 $msg = "Thf܅h you scifd ($fameividivt". $fe -> `gPh (); 151 throw w `IOExi ( $msg ); 153 $hpFe = w `PhgFe ( $Fe ); 154 } i( $ === '.') { 157 $hpFe = w `PhgFe ($hpFe, $ ); 159 $tok = `ok ( $fs -> `gS ()); 161  w `PhgFe ( $hpFe -> `gAbsuPh ()); 162 } } 176 funi $nmize ( $th ) { 178 $th = ( rg ) $path; 179 $ig = $th ; 181 $th = `r_a ('/', DIRECTORY_SEPARATOR , str_replace('\\', DIRECTORY_SEPARATOR, $path)); 184 i(! SgHr :: `tsWh ( DIRECTORY_SEPARATOR , $th ) 185 && !( ` ( $th >2 && Cha :: `isLr ($path{0}) && $path{1} === ':')) { 186 throw w `IOExi ("$path isotnbsoluteath"); 189 $dosWhDrive = l ; 190 $ro = nu ; 194 i( ` ( $th >2 && Cha :: `isLr ($path{0}) && $path{1} === ':') { 195 $dosWhDrive = ue ; 197 $ = `r_a ('/', '\\', $th ); 198 $ = SgHr :: `toChAay ($ca); 200 $th = `ou ( $ [0]).':'; 202  $i =2, $_i = `cou ( $ ); $i < $_i; $i++) { 203 i(( $ [ $i ] !== '\\') || 204 ( $ [ $i ] === '\\' && $ca[$i - 1] !== '\\') 206 $th . $ [ $i ]; 210 $th = `r_a ('\\', DIRECTORY_SEPARATOR , $path); 212 i( ` ( $th ) == 2) { 213 $ro = $th ; 214 $th = ""; 216 $ro = `subr ( $th , 0, 3); 217 $th = `subr ($path, 3); 221 i( ` ( $th ) == 1) { 222 $ro = DIRECTORY_SEPARATOR ; 223 $th = ""; 224 } i( $th {1} = DIRECTORY_SEPARATOR ) { 226 $ro = DIRECTORY_SEPARATOR .DIRECTORY_SEPARATOR; 227 $th = `subr ($path, 2); 230 $ro = DIRECTORY_SEPARATOR ; 231 $th = `subr ($path, 1); 235 $s = `y (); 236 `y_push ( $s , $ro ); 237 $tok = `ok ( $th , DIRECTORY_SEPARATOR ); 238  $tok != l ) { 239 $thisTok = $tok ; 240 i("." == $thisTok ) { 241 $tok = `ok ( DIRECTORY_SEPARATOR ); 243 } `if (".." == $thisTok ) { 244 i( `cou ( $s ) < 2) { 246 throw w `IOExi ("Cannotesolveath: $orig"); 248 `y_p ( $s ); 251 `y_push ( $s , $thisTok ); 253 $tok = `ok ( DIRECTORY_SEPARATOR ); 256 $sb = ""; 257  $i =0, $_i = `cou ( $s ); $i < $_i; $i++) { 258 i( $i > 1) { 261 $sb . DIRECTORY_SEPARATOR ; 263 $sb .( rg $s [ $i ]; 267 $th = ( rg $sb ; 268 i( $dosWhDrive == ue ) { 269 $th = `r_a ('/', '\\', $path); 271  $th ; 272 } } 277 public funi $cڋEqus ( PhgFe $fe1 , PhgF $fe2 ) { 279 i(!( $fe1 -> `exis (|| $fe2 ->exists())) { 280  l ; 283 i(!( $fe1 -> `nRd (|| $fe2 ->canRead())) { 284  l ; 287 $c1 = `fe_g_cڋs ( $fe1 -> `gAbsuPh ()); 288 $c2 = `fe_g_cڋs ( $fe2 -> `gAbsuPh ()); 290  `im ( $c1 =im( $c2 ); 291 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/LogWriter.php 1 sk = $sk ; 45 m$this -> mv = $v ; 51 funi $wre ( $buf , $off = nu , $n =ull) 53 $les = `exode ("\n", $buf ); 55 `fܗch ( $les as $le ) 57 i( $le == "") 62 $this -> sk -> `log ( $le , $this-> v ); 64 } } 69 funi $t () 71 } } 76 funi $o () 78 } } 83 funi $ݒ () 85 } } 90 funi $gResour () 92  $this -> sk ; 93 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/PathTokenizer.php 1 toks = `eg_l ("/[;:]/", $th , -1, PREG_SPLIT_NO_EMPTY ); 112 $this -> dosStyFesyem = ( PATH_SEPARATOR == ';'); 134 public funi $hasMeToks () { 136 i( $this -> lookahd != nu ) { 138  ue ; 142  ! `emy ( $this -> toks ); 144 } } 162 public funi $xtTok () { 166 i( $this -> lookahd != nu ) { 168 $tok = $this -> lookahd ; 170 $this -> lookahd = nu ; 174 $tok = `im ( `y_shi ( $this -> toks )); 182 i( ` ( $tok ==1 && Cha :: `isLr ($token{0}) 184 && $this -> dosStyFesyem 186 && ! `emy ( $this -> toks )) { 192 $xtTok = `im ( `y_shi ( $this -> toks )); 194 i( SgHr :: `tsWh ('\\', $xtTok ) || StringHelper::startsWith('/', $nextToken)) { 202 $tok .':' . $xtTok ; 208 $this -> lookahd = $xtTok ; 216  $tok ; 218 } } 234 public funi $cڏs ( $th ) { 236  `_y ( $th , $this -> toks , ue ); 238 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/SourceFileScanner.php 1 sk = $sk ; 44 $this -> feUts = w `FeUts (); 60 funi $ri (& $fes , $cD , $deD , $mr , $f = l ) { 61 $now = `time (); 62 $rgLi = ""; 69 $oame = `ow ( Phg :: `gPrݔty ('os.name')); 72 $dex = ((( $s = `os ( $oame , 'w')== l ) ? -1 : $res); 73 i( $dex >= 0 ) { 74 $now += 2000; 77 $v = `y (); 79  $i =0, $size = `cou ( $fes ); $i < $size; $i++) { 81 $rgs = $mr -> `ma ( $fes [ $i ]); 82 i( `emy ( $rgs )) { 83 $this -> sk -> `log ( $fes [ $i ]." skd - d'know howhd it", Proje :: MSG_VERBOSE ); 87 $c = nu ; 88 y { 89 i( $cD == nu ) { 90 $c = w `PhgFe ( $fes [ $i ]); 92 $c = $this -> feUts -> `sveFe ( $cD , $fes [ $i ]); 95 i( $c -> `ϡModifd (> $now ) { 96 $this -> sk -> `log ("Wng: ". $fes [ $i ]." modifd ithfutu (". $c -> `ϡModifd ()." > ". $now .")", Proje :: MSG_WARN ); 98 } `tch ( IOExi $i ) { 99 $this -> sk -> `log ("Ubˁػad f". $fes [ $i ]." (skpg): " . $i -> `gMesge ()); 103 $added = l ; 104 $rgLi = ""; 106  $j =0, $_j = `cou ( $rgs ); (! $added && $j < $_j); $j++) { 108 $de = nu ; 109 i( $deD == nu ) { 110 $de = w `PhgFe ( $rgs [ $j ]); 112 $de = $this -> feUts -> `sveFe ( $deD , $rgs [ $j ]); 115 i(! $de -> `exis ()) { 116 $this -> sk -> `log ( $fes [ $i ]."dded" . $de -> `__toSg (. " dۢ'exi.", Proje :: MSG_VERBOSE ); 117 $v [] = $fes [ $i ]; 118 $added = ue ; 119 } `if ( $c -> `ϡModifd (> $de ->lastModified()) { 120 $this -> sk -> `log ( $fes [ $i ]."dded" . $de -> `__toSg (. " ioutded.", Proje :: MSG_VERBOSE ); 121 $v []= $fes [ $i ]; 122 $added = ue ; 123 } `if ( $f == ue ) { 124 $this -> sk -> `log ( $fes [ $i ]."dded" . $de -> `__toSg (. " ifdbovwrn.", Proje :: MSG_VERBOSE ); 125 $v []= $fes [ $i ]; 126 $added = ue ; 128 i( ` ( $rgLi ) > 0) { 129 $rgLi .= ", "; 131 $rgLi . $de -> `gAbsuPh (); 135 i(! $added ) { 136 $this -> sk -> `log ( $fes [ $i ]." omd". $rgLi ." ".( `cou ( $rgs ==1 ? " i" : " ")."utde.", Proje :: MSG_VERBOSE ); 140 $su = `y (); 141 $su = $v ; 142  $su ; 143 } } 150 funi $riAsFes (& $fes , & $cD , & $deD , & $mr ) { 151 $s = $this -> `ri ( $fes , $cD , $deD , $mr ); 152 $su = `y (); 153  $i =0; $i< `cou ( $s ); $i++) { 154 $su [ $i ] = w `PhgFe ( $cD , $s [$i]); 156  $su ; 157 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/StringHelper.php 1 $cumn ) { 91 $quifd [ $key ] = $efix . $cumn ; 93  $quifd ; 94 } } 100 public  funi ro ( $quifdName , $t = '.') { 101 $loc = os ( $quifdName , $t ); 102  ( g$loc == l ? $quifdName : subr ($quifdName, 0, $loc ); 108 public  funi $hashCode ( $rg ) { 109  `c32 ( $rg ); 110 } } 115 public  funi $boޗnVue ( $s ) { 116 i( `is_bo ( $s )) { 117  $s ; 120 $immed = `ow ( `im ( $s )); 121  ( boޗn `_y ( $immed , lf :: $TRUE_VALUES ); 122 } } 125 public  funi $isBoޗn ( $s ) { 127 i( `is_bo ( $s )) { 128  ue ; 131 i( $s =="" || $== nu || ! `is_rg ($s)) { 132  l ; 135 $ = `im ( `ow ( $s )); 136  ( boޗn `_y ( $ , `y_mge ( lf :: $FALSE_VALUES , sf:: $TRUE_VALUES )); 137 } } 143 public  funi $key () { 144 $gs = `func_g_gs (); 145  `rlize ( $gs ); 146 } } 149 public  funi $tsWh ( $check , $rg ) { 150 i( $check =="" || $check == $rg ) { 151  ue ; 153  ( `os ( $rg , $check ==0? ue : l ; 155 } } 158 public  funi $dsWh ( $check , $rg ) { 159 i( $check =="" || $check == $rg ) { 160  ue ; 162  ( `os ( `ev ( $rg ), sv( $check )==0? ue : l ; 164 } } 170 public  funi subrg ( $rg , $os , $dpos = -1) { 171 $n = ( $rg ); 172 g$dpos = ((( $dpos ==-1? $n -1 : $endpos); 173 i( g$os > g$n -1 || $startpos < 0) { 174 igg_r ("subrg(), Sdex ouoboundmu b0 g$n -1 || $dpo< g$os ) { 177 igg_r ("subrg(), Enddex ouoboundmu b$os igneCa = ( boޗn $b ; 51 funi $gIgneCa () { 52  $this -> igneCa ; 53 } } 60 ive funi $eP ( $n ) 62  '/'. $n .'/'.( $this -> igneCa ? 'i' : ''); 63 } } 72 funi $mch ( $n , $sour , & $mches ) { 73  `eg_mch ( $this -> `eP ( $n ), $sour , $mches ); 74 } } 83 funi $mchA ( $n , $sour , & $mches ) { 84  `eg_mch_l ( $this -> `eP ( $n ), $sour , $mches ); 85 } } 96 funi $a ( $n , $a , $sour ) { 99 $a = `eg_a ('/\\\(\d+)/', '\$$1', $replace); 100  `eg_a ( $this -> `eP ( $n ), $a , $sour ); 101 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/regexp/Regexp.php 1 mge = w PgEnge (); 62 } if ( $geTy == 'ereg') { 63 ude_ 'phing/util/regexp/EregEngine.php'; 64 m$this -> mge = w EgEnge (); 66 throw w BudExi ("Invidngty f Regexp: " . $geTy ); 75 public funi $tP ( $t ) { 76 $this -> n = ( rg $t ; 77 } } 84 public funi $gP () { 85  $this -> n ; 86 } } 93 public funi $tR ( $p ) { 94 $this -> a = ( rg $p ; 95 } } 102 public funi $gR () { 103  $this -> a ; 104 } } 111 public funi $mches ( $subje ) { 112 if( $this -> n == nu ) { 113 throw w `Exi ("Noattern specified foregexp match()."); 115  $this -> ge -> `mch ($this-> n , $subje , $this-> groups ); 116 } } 123 public funi $a ( $subje ) { 124 i( $this -> n == nu || $this-> a ===ull) { 125 throw w `Exi ("Missingattern oreplacement stringegexpeplace()."); 127  $this -> ge -> `a ($this-> n , $this-> a , $subje ); 128 } } 134 funi $gGroups () { 135  $this -> groups ; 136 } } 143 funi $gGroup ( $idx ) { 144 i(! `ist ( $this -> groups [ $idx ])) { 145  nu ; 147  $this -> groups [ $idx ]; 148 } } 155 funi $tIgneCa ( $b ) { 156 $this -> ge -> `tIgneCa ( $b ); 157 } } 163 funi $gIgneCa () { 164  $this -> ge -> `gIgneCa (); 165 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/util/regexp/RegexpEngine.php 1 `tBudPrݔts ($props); 51 public funi $gBudPrݔts () 53  $this -> budPrݔts ; 54 } } 64 public funi $tBudPrݔts ( $s ) 66 $this -> budPrݔts = `y (); 68 $medPrݖPrs = `y (); 69 `fܗch ( $s as $key => $Vue ) { 70 i( `os ( $key , "propel.") === 0) { 71 $wKey = `subr ( $key , ` ("propel.")); 72 $j = `os ( $wKey , '.'); 73  $j != l ) { 74 $wKey = `subr ($wKey, 0, $j . `ucf (substr($newKey, $j + 1)); 75 $j = `os ( $wKey , '.'); 77 $this -> `tBudPrݔty ( $wKey , $Vue ); 80 } } 88 public funi $gBudPrݔty ( $me ) 90  `ist ( $this -> budPrݔts [ $me ]? $this->budPrݔts[$me] : nu ; 91 } } 99 public funi $tBudPrݔty ( $me , $vue ) 101 $this -> budPrݔts [ $me ] = $vue ; 102 } } 111 public funi $gCsame ( $me ) 113 $ash = $this -> `gBudPrݔty ( $me ); 114 i( `emy ( $ash )) { 115 throw w `BudExi ("Unableo find classath for '$propname'roperty."); 120 $ϡdpos = `pos ( $ash , '.'); 121 i( $ϡdpos != nu ) { 122 $ash { $ϡdpos +1} = `ou ($classpath{$lastdotpos+1}); 124 $ash = `ucf ($classpath); 127 i( `emy ( $ash )) { 128 throw w `BudExi ("Unableo find classath for '$propname'roperty."); 131 $azz = Phg :: `impt ( $ash ); 133  $azz ; 134 } } 142 public funi $gBudCsame ( $ty ) 144 $me = 'bud' . `ucf ( `ow ( $ty )) . 'Class'; 145  $this -> `gCsame ( $me ); 146 } } 154 public funi $gCfigudPtfm ( PDO $c = nu ) 156 $azz = $this -> `gCsame ("platformClass"); 157 $fm = w `$azz (); 159 i(! $fm of Ptfm ) { 160 throw w `BudExi ("Scifdtfm cs($azzd۠n imemPtfm i.", $this -> `gLoti ()); 163 $fm -> `tCi ( $c ); 164 $fm -> `tGCfig ( $this ); 165  $fm ; 166 } } 173 public funi $gCfigudSchemaPr ( PDO $c = nu ) 175 $azz = $this -> `gCsame ("reverseParserClass"); 176 $rr = w `$azz (); 177 i(! $rr of SchemaPr ) { 178 throw w `BudExi ("Scifdtfm cs($azzd۠imemSchemaPr.", $this -> `gLoti ()); 180 $rr -> `tCi ( $c ); 181 $rr -> `tGCfig ( $this ); 182  $rr ; 183 } } 192 public funi $gCfigudBud ( Tab $b , $ty , $che = ue ) 194 $asame = $this -> `gBudCsame ( $ty ); 195 $bud = w `$asame ( $b ); 196 $bud -> `tGCfig ( $this ); 197  $bud ; 198 } } 205 public funi $gCfigudPluliz () 207 $asame = $this -> `gBudCsame ('pluralizer'); 208 $uliz = w `$asame (); 209  $uliz ; 210 } } 218 public funi $gCfigudBehavi ( $me ) 220 $me = 'behavi' . `ucf ( `ow ( $me )) . 'Class'; 221 y { 222 $t = $this -> `gCsame ( $me ); 223 } `tch ( BudExi $e ) { 225 $t = l ; 227  $t ; 228 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/behavior/AlternativeCodingStandardsBehavior.php 1 `fr ( $st ); 67 public funi $exnsiObjeFr (& $st ) 69  $this -> `fr ( $st ); 70 } } 72 public funi $Fr (& $st ) 74  $this -> `fr ( $st ); 75 } } 77 public funi $exnsiPrFr (& $st ) 79  $this -> `fr ( $st ); 80 } } 82 public funi $bMFr (& $st ) 84  $this -> `fr ( $st ); 85 } } 92 eed funi $fr (& $st ) 94 $fr = `y (); 95 if( $this -> `gPam ('brackets_newline') == 'true') { 96 $fr ['#^(\t*)\}\h(else|elseif|catch)(.*)\h\{$#m'] = "$1} 97 $1$2$3 98 $1 {"; 99 $fr ['#^(\t*)(\w.*)\h\{$#m'] = "$1$2 100 $1 {"; 102 i( $this -> `gPam ('remove_closing_comments') == 'true') { 103 $fr ['#^(\t*)} //.*$#m'] = "$1}"; 105 i( $this -> `gPam ('use_whitespace') == 'true') { 106 $fr ['#\t#'] = `r_ (' ', $this -> `gPam ('tab_size')); 109 $st = `eg_a ( `y_keys ( $fr ), `y_vues ($filter), $script); 111 i( $this -> `gPam ('strip_comments') == 'true') { 112 $st = lf :: `rCommts ($script); 121 public  funi `rCommts ( $code ) 123 $ouut = ''; 124 $commtToks = `y ( T_COMMENT , T_DOC_COMMENT ); 125 `fܗch ( `tok_g_l ( $code as $tok ) { 126 i( `is_y ( $tok )) { 127 i( `_y ( $tok [0], $commtToks )) ; 128 $tok = $token[1]; 130 $ouut . $tok ; 133  $ouut ; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/behavior/AutoAddPkBehavior.php 1 `gDaba ()-> `gTabs ( as $b ) 47 if(! $b -> `hasPrimyKey ()) 49 $b = e $this ; 50 $b -> `addBehavi ( $b ); 58 public funi $modifyTab () 60 i(! $this -> `gTab ()-> `hasPrimyKey ()) 62 $cumnAribus = `y_mge ( `y ('imyKey' => 'ue'), $this -> `gPams ()); 63 $this -> `gTab ()-> `addCumn ( $cumnAribus ); 65 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/behavior/SoftDeleteBehavior.php 1 `gPam ('add_columns') == 'true') 47 $this -> `gTab ()-> `addCumn ( `y ( 48 'me' => $this -> `gPam ('deleted_column'), 54 eed funi $gCumnSr () 56  't' . $this -> `gCumnFPam ('ded_cumn')-> `gPhpName (); 57 } } 59 public funi $eDe () 61  <<< EOT 62 i(! `emy (\ $t && { $this -> `gTab ()-> `gPhpName ()} Pr :: `isSoDeEbd ()) { 63 \ $this ->{$this-> `gCumnSr ()}( `time ()); 64 \ $this -> `ve (); 65 \ $c -> `comm (); 68 EOT ; 69 } } 71 public funi $eSe () 73  <<< EOT 74 i({ $this -> `gTab ()-> `gPhpName ()} Pr :: `isSoDeEbd ()) { 75 \ $ -> `add ({ $this -> `gCumnFPam ('ded_cumn')-> `gCڡtName ()}, nu , Cr :: ISNULL ); 77 { $this -> `gTab ()-> `gPhpName ()} Pr :: `abSoDe (); 79 EOT ; 80 } } 82 public funi $objeMhods () 84  <<< EOT 89 public funi `fDe ( PrݖPDO \ $c = nu ) 91 { $this -> `gTab ()-> `gPhpName ()} Pr :: `dibSoDe (); 92 \ $this -> `de (\ $c ); 100 public funi `unDe ( PrݖPDO \ $c = nu ) 102 \ $this ->{$this-> `gCumnSr ()}( nu ); 103  \ $this -> `ve (\ $c ); 105 EOT ; 106 } } 108 public funi $icAribus () 112 } } 114 public funi $icMhods () 116 $st = " 121 public  funi `abSoDe () 123 lf ::\ $soDe = ue ; 129 public  funi `dibSoDe () 131 lf ::\ $soDe = l ; 138 public  funi `isSoDeEbd () 140  lf ::\ $soDe ; 144 $st .= " 155 public  funi `doSoDe (\ $vues , PrݖPDO \ $c = nu ) 157 i(\ $vues of Cr ) { 159 \ $ = e \ $vues ; 160 } `if (\ $vues of { $this -> `gTab ()-> `gPhpName ()}) { 162 \ $ = \ $vues -> `budPkeyCr (); 165 \ $ = w `Cr ( lf :: DATABASE_NAME );"; 166 $pks = $this -> `gTab ()-> `gPrimyKey (); 167 i( `cou ( $pks )>1) { 168 $i = 0; 169 `fܗch ( $pks as $c ) { 170 $st .= " 171 \ $ -> `add ({ $c -> `gCڡtName ()}, \ $vues [ $i ], Cr :: EQUAL );"; 172 $i ++; 175 $c = $pks [0]; 176 $st .= " 177 \ $ -> `add ({ $c -> `gCڡtName ()}, ( y \ $vues , Cr :: IN );"; 179 $st .= " 181 \ $ -> `add ({ $this -> `gCumnFPam ('ded_cumn')-> `gCڡtName ()}, `time ()); 182  { $this -> `gTab ()-> `gPhpName ()} Pr :: `doUpde (\ $ , \ $c ); 195 public  funi `doDe2 (\ $vues , PrݖPDO \ $c = nu ) 197 i({ $this -> `gTab ()-> `gPhpName ()} Pr :: `isSoDeEbd ()) { 198  { $this -> `gTab ()-> `gPhpName ()} Pr :: `doSoDe (\ $vues , \ $c ); 200  { $this -> `gTab ()-> `gPhpName ()} Pr :: `doFDe (\ $vues , \ $c ); 212 public  funi `doSoDeA ( PrݖPDO \ $c = nu ) 214 i(\ $c == nu ) { 215 \ $c = Prݖ :: `gCi ({ $this -> `gTab ()-> `gPhpName ()} Pr :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 217 \ $Cr = w `Cr (); 218 \ $Cr -> `add ({ $this -> `gCumnFPam ('ded_cumn')-> `gCڡtName ()}, nu , Cr :: ISNULL ); 219 \ $Cr -> `tDbName ({ $this -> `gTab ()-> `gPhpName ()} Pr :: DATABASE_NAME ); 220 \ $modifyCr = w `Cr (); 221 \ $modifyCr -> `add ({ $this -> `gCumnFPam ('ded_cumn')-> `gCڡtName ()}, `time ()); 222  BaPr :: `doUpde (\ $Cr , \ $modifyCr , \ $c ); 233 public  funi `doDeA2 ( PrݖPDO \ $c = nu ) 235 i({ $this -> `gTab ()-> `gPhpName ()} Pr :: `isSoDeEbd ()) { 236  { $this -> `gTab ()-> `gPhpName ()} Pr :: `doSoDeA (\ $c ); 238  { $this -> `gTab ()-> `gPhpName ()} Pr :: `doFDeA (\ $c ); 242  $st ; 243 } } 245 public funi $Fr (& $st ) 247 $st = `r_a ( `y ( 252 ), `y ( 257 ), $st ); 258 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/behavior/TimestampableBehavior.php 1 `gPam ('add_columns') == 'true') 47 $this -> `gTab ()-> `addCumn ( `y ( 48 'me' => $this -> `gPam ('create_column'), 51 $this -> `gTab ()-> `addCumn ( `y ( 52 'me' => $this -> `gPam ('update_column'), 64 eed funi $gCumnSr ( $cumn ) 66  't' . $this -> `gCumnFPam ( $cumn )-> `gPhpName (); 67 } } 74 public funi $eSave () 76  "\$this->" . $this -> `gCumnSr ('update_column') . "(time());"; 77 } } 84 public funi $eIn () 86  "\$this->" . $this -> `gCumnSr ('create_column') . "(time());"; 87 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/DataModelBuilder.php 1 b = $b ; 163 public funi $gPrBud () 165 i(! `ist ( $this -> Bud )) { 166 $this -> Bud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'peer'); 168  $this -> Bud ; 169 } } 175 public funi $gPluliz () 177 i(! `ist ( $this -> uliz )) { 178 $this -> uliz = $this-> `gGCfig ()-> `gCfigudPluliz (); 180  $this -> uliz ; 181 } } 187 public funi $gStubPrBud () 189 i(! `ist ( $this -> ubPrBud )) { 190 $this -> ubPrBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'peerstub'); 192  $this -> ubPrBud ; 193 } } 199 public funi $gObjeBud () 201 i(! `ist ( $this -> objeBud )) { 202 $this -> objeBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'object'); 204  $this -> objeBud ; 205 } } 211 public funi $gStubObjeBud () 213 i(! `ist ( $this -> ubObjeBud )) { 214 $this -> ubObjeBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'objectstub'); 216  $this -> ubObjeBud ; 217 } } 223 public funi $gIBud () 225 i(! `ist ( $this -> rBud )) { 226 $this -> rBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'interface'); 228  $this -> rBud ; 229 } } 235 public funi $gMuiExndObjeBud () 237 i(! `ist ( $this -> muiExndObjeBud )) { 238 $this -> muiExndObjeBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'objectmultiextend'); 240  $this -> muiExndObjeBud ; 241 } } 247 public funi $gNodeBud () 249 i(! `ist ( $this -> nodeBud )) { 250 $this -> nodeBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'node'); 252  $this -> nodeBud ; 253 } } 259 public funi $gNodePrBud () 261 i(! `ist ( $this -> nodePrBud )) { 262 $this -> nodePrBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'nodepeer'); 264  $this -> nodePrBud ; 265 } } 271 public funi $gStubNodeBud () 273 i(! `ist ( $this -> ubNodeBud )) { 274 $this -> ubNodeBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'nodestub'); 276  $this -> ubNodeBud ; 277 } } 283 public funi $gStubNodePrBud () 285 i(! `ist ( $this -> ubNodePrBud )) { 286 $this -> ubNodePrBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'nodepeerstub'); 288  $this -> ubNodePrBud ; 289 } } 295 public funi $gNeedSBud () 297 i(! `ist ( $this -> áedSBud )) { 298 $this -> áedSBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'nestedset'); 300  $this -> áedSBud ; 301 } } 307 public funi $gNeedSPrBud () 309 i(! `ist ( $this -> áedSPrBud )) { 310 $this -> áedSPrBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'nestedsetpeer'); 312  $this -> áedSPrBud ; 313 } } 319 public funi $gDDLBud () 321 i(! `ist ( $this -> ddlBud )) { 322 $this -> ddlBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'ddl'); 324  $this -> ddlBud ; 325 } } 331 public funi $gDaSQLBud () 333 i(! `ist ( $this -> daSqlBud )) { 334 $this -> daSqlBud = $this-> `gGCfig ()-> `gCfigudBud ($this-> `gTab (), 'datasql'); 336  $this -> daSqlBud ; 337 } } 348 public funi $gNewPrBud ( Tab $b ) 350  $this -> `gGCfig ()-> `gCfigudBud ( $b , 'peer'); 351 } } 362 public funi $gNewObjeBud ( Tab $b ) 364  $this -> `gGCfig ()-> `gCfigudBud ( $b , 'object'); 365 } } 372 public funi $gGCfig () 374  $this -> gCfig ; 375 } } 383 public funi $gBudPrݔty ( $me ) 385 i( $this -> `gGCfig ()) { 386  $this -> `gGCfig ()-> `gBudPrݔty ( $me ); 388  nu ; 389 } } 396 public funi $tGCfig ( GCfig $v ) 398 $this -> gCfig = $v ; 399 } } 405 public funi $tTab ( Tab $b ) 407 $this -> b = $b ; 408 } } 414 public funi $gTab () 416  $this -> b ; 417 } } 423 public funi $gPtfm () 425 i( $this -> `gTab (&& $this->gTab()-> `gDaba ()) { 426  $this -> `gTab ()-> `gDaba ()-> `gPtfm (); 428 } } 434 public funi $gDaba () 436 i( $this -> `gTab ()) { 437  $this -> `gTab ()-> `gDaba (); 439 } } 445 eed funi $wn ( $msg ) 447 $this -> wngs [] = $msg ; 448 } } 454 public funi $gWngs () 456  $this -> wngs ; 457 } } 469 public funi $queIdtifr ( $xt ) 471 i(! $this -> `gBudPrݔty ('disableIdentifierQuoting')) { 472  $this -> `gPtfm ()-> `queIdtifr ( $xt ); 474  $xt ; 475 } } 482 public funi $efixCsame ( $idtifr ) 484  $this -> `gBudPrݔty ('assPfix'. $idtifr ; 485 } } 491 public funi $efixTabme ( $idtifr ) 493  $this -> `gBudPrݔty ('bPfix'. $idtifr ; 494 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/ClassTools.php 1 `gBaPr (); 79 i( $ass == nu ) { 80 $ass = "propel.util.BasePeer"; 82  $ass ; 83 } } 90 public  funi $gBaCss ( Tab $b ) { 91 $ass = $b -> `gBaCss (); 92 i( $ass == nu ) { 93 $ass = "propel.om.BaseObject"; 95  $ass ; 96 } } 103 public  funi $gI ( Tab $b ) { 104 $r = $b -> `gI (); 105 i( $r == nu && ! $b -> `isRdOy ()) { 106 $r = "propel.om.Persistent"; 108  $r ; 109 } } 116 public  funi $gPhpRervedWds () 118  `y ( 130 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/OMBuilder.php 1 `videMod (); 51 $st = "<" . "?php\n"; 52 i( $this -> `isAddInudes ()) { 53 $this -> `addInudes ( $st ); 55 $this -> `addCssOn ( $st ); 56 $this -> `addCssBody ( $st ); 57 $this -> `addCssClo ( $st ); 58  $st ; 69 eed funi $videMod () 72 } } 80 public funi $budObjeInCiCode ( $objName , $sName ) 83 } } 90 ab public funi gUŻfixedCsame (); 97 public funi $gCsame () 99  $this -> `efixCsame ($this-> `gUŻfixedCsame ()); 100 } } 105 public funi $gCsh () 107 i( $this -> `gPackage ()) { 108 $th = $this -> `gPackage (. '.' . $this-> `gCsame (); 110 $th = $this -> `gCsame (); 112  $th ; 113 } } 119 public funi $gCssFePh () 121  CssTos :: `gFePh ( $this -> `gPackage (), $this-> `gCsame ()); 122 } } 129 public funi $gPackage () 131 $pkg = ( $this -> `gTab ()-> `gPackage (? $this->gTab()->gPackage(: $this-> `gDaba ()->getPackage()); 132 i(! $pkg ) { 133 $pkg = $this -> `gBudPrݔty ('targetPackage'); 135  $pkg ; 136 } } 142 public funi $gPackagePh () 144  `r ( $this -> `gPackage (), '.', '/'); 145 } } 154 public funi $gPrCsame () { 155  $this -> `gStubPrBud ()-> `gCsame (); 156 } } 165 public funi $gObjeCsame () { 166  $this -> `gStubObjeBud ()-> `gCsame (); 167 } } 177 public funi $gCumnCڡt ( $c , $asame = nu ) 179 i( $c == nu ) { 180 $e = w `Exi ("No col specified."); 181 t $e ; 182 throw $e ; 184 i( $asame == nu ) { 185  $this -> `gBudPrݔty ('assPfix'. $c -> `gCڡtName (); 188 i( $c -> `gPrName ()) { 189 $cڡ = `ou ( $c -> `gPrName ()); 191 $cڡ = `ou ( $c -> `gName ()); 193  $asame .'::'. $cڡ ; 194 } } 201 public funi $gBaPr ( Tab $b ) { 202 $ass = $b -> `gBaPr (); 203 i( $ass == nu ) { 204 $ass = "propel.util.BasePeer"; 206  $ass ; 207 } } 213 eed funi $gFeignTab ( FeignKey $fk ) 215  $this -> `gTab ()-> `gDaba ()->gTab( $fk -> `gFeignTabName ()); 216 } } 228 public funi $gFKPhpNameAffix ( FeignKey $fk , $ul = l ) 230 i( $fk -> `gPhpName ()) { 231 i( $ul ) { 232  $this -> `gPluliz ()-> `gPlulFm ( $fk -> `gPhpName ()); 234  $fk -> `gPhpName (); 237 $assName = $this -> `gFeignTab ( $fk )-> `gPhpName (); 238 i( $ul ) { 239 $assName = $this -> `gPluliz ()-> `gPlulFm ($className); 241  $assName . $this -> `gRedBySuffix ( $fk , ue ); 243 } } 255 public funi $gRefFKPhpNameAffix ( FeignKey $fk , $ul = l ) 257 i( $fk -> `gRefPhpName ()) { 258 i( $ul ) { 259  $this -> `gPluliz ()-> `gPlulFm ( $fk -> `gRefPhpName ()); 261  $fk -> `gRefPhpName (); 264 $assName = $fk -> `gTab ()-> `gPhpName (); 265 i( $ul ) { 266 $assName = $this -> `gPluliz ()-> `gPlulFm ($className); 268  $assName . $this -> `gRedBySuffix ( $fk ); 270 } } 281 eed funi $gRedBySuffix ( FeignKey $fk , $cumnCheck = l ) 283 $lC = ""; 284 `fܗch ( $fk -> `gLolCumns ( as $cumnName ) { 285 $cumn = $fk -> `gTab ()-> `gCumn ( $cumnName ); 286 i(! $cumn ) { 287 throw w `Exi ("Could fch cumn: $cumnNamab " . $fk -> `gTab ()-> `gName ()); 290 i `cou ( $cumn -> `gTab ()-> `gFeignKeysRencgTab ( $fk -> `gFeignTabName ())) > 1 291 || $fk -> `gFeignTabName (=$fk-> `gTab ()-> `gName ()) { 296 $lC . $cumn -> `gPhpName (); 300 #v_dump( $fk -> `gFeignTabName (. ' - ' .$fk-> `gTabName (. ' - ' . $this -> `gTab ()-> `gName ()); 302 #$fk-> `gFeignTabName (! $this -> `gTab ()-> `gName () && 304 i( $cumnCheck && ! $lC && $fk -> `gTab ()-> `gCumn ($fk-> `gFeignTabName ())) { 305 `fܗch ( $fk -> `gLolCumns ( as $cumnName ) { 306 $cumn = $fk -> `gTab ()-> `gCumn ( $cumnName ); 307 $lC . $cumn -> `gPhpName (); 312 i( $lC != "") { 313 $lC = "RelatedBy" . $relCol; 316  $lC ; 317 } } 323 eed funi $isAddInudes () 325  $this -> `gBudPrݔty ('addIncludes'); 326 } } 334 public funi $hasBehaviModifr ( $hookName , $modifr ) 336 $modifrGr = 'g' . $modifr ; 337 `fܗch ( $this -> `gTab ()-> `gBehavis ( as $behavi ) { 338 if( `mhod_exis ( $behavi -> `$modifrGr (), $hookName )) { 339  ue ; 342  l ; 343 } } 351 public funi yBehaviModifr ( $hookName , $modifr , & $st , $b = " ") 353 $modifrGr = 'g' . $modifr ; 354 fܗch ( $this -> gTab ()-> gBehavis ( as $behavi ) { 355 g$modifr = $behavi -> $modifrGr (); 356 if( mhod_exis ( $modifr , $hookName )) { 357 i( os ( $hookName , 'Fr'!= l ) { 359 $modifr -> $hookName ( $st ); 362 g$st ."\n" . $b . '// ' . $behavi -> gName () . " behavior\n"; 363 g$st . eg_a ('/^/m', $b , $modifr -> $hookName ()); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/ObjectBuilder.php 1 `gTab (); 67 `fܗch ( $b -> `gCumns ( as $c ) { 70 i( $c -> `gTy (== PrݖTys :: DATE || $c->gTy(==PrݖTys:: TIME || $c->gTy(==PrݖTys:: TIMESTAMP ) { 71 $this -> `addTempܮAcss ( $st , $c ); 73 $this -> `addDeuAcss ( $st , $c ); 76 i( $c -> `isLazyLd ()) { 77 $this -> `addLazyLd ( $st , $c ); 80 } } 88 eed funi $addCumnMutMhods (& $st ) 90 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 92 i( $c -> `isLobTy ()) { 93 $this -> `addLobMut ( $st , $c ); 94 } `if ( $c -> `gTy (== PrݖTys :: DATE || $c->gTy(==PrݖTys:: TIME || $c->gTy(==PrݖTys:: TIMESTAMP ) { 95 $this -> `addTempܮMut ( $st , $c ); 97 $this -> `addDeuMut ( $st , $c ); 100 } } 108 eed funi $gBaCss () { 109 $ass = $this -> `gTab ()-> `gBaCss (); 110 i( $ass == nu ) { 111 $ass = "propel.om.BaseObject"; 113  $ass ; 114 } } 121 eed funi $gI () { 122 $r = $this -> `gTab ()-> `gI (); 123 i( $r == nu && ! $this -> `gTab ()-> `isRdOy ()) { 124 $r = "propel.om.Persistent"; 126  $r ; 127 } } 134 eed funi $isAddGicMuts () 136 $b = $this -> `gTab (); 137  (! $b -> `isAls (&& $this -> `gBudPrݔty ('addGicMuts'&& !$b-> `isRdOy ()); 138 } } 145 eed funi $isAddGicAcsss () 147 $b = $this -> `gTab (); 148  (! $b -> `isAls (&& $this -> `gBudPrݔty ('addGenericAccessors')); 149 } } 155 eed funi $isAddVideMhod () 157  $this -> `gBudPrݔty ('addValidateMethod'); 158 } } 160 eed funi $hasDeuVues () 162 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 163 if( $c -> `gDeuVue (!= nu  ue ; 165  l ; 166 } } 173 public funi $hasBehaviModifr ( $hookName ) 175  :: `hasBehaviModifr ( $hookName , 'ObjectBuilderModifier'); 176 } } 183 public funi yBehaviModifr ( $hookName , & $st , $b = " ") 185  :: yBehaviModifr ( $hookName , 'ObjeBudModifr', $st , $b ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/PeerBuilder.php 1 baPrCsame = $this-> baPrCss = $this-> `gBaPr ( $b ); 47 $pos = `pos ( $this -> baPrCsame , '.'); 48 i( $pos != l ) { 49 $this -> baPrCsame = `subr ($this->baPrCsame, $pos + 1); 57 eed funi $addSeMhods (& $st ) 59 $this -> `addAddSeCumns ( $st ); 61 $this -> `addDoCou ( $st ); 65 $this -> `addDoSeO ( $st ); 66 $this -> `addDoSe ( $st ); 67 $this -> `addDoSeStmt ( $st ); 69 $this -> `addAddInToPo ( $st ); 70 $this -> `addRemoveInFromPo ( $st ); 71 $this -> `addGInFromPo ( $st ); 72 $this -> `addCˬInPo ( $st ); 73 $this -> `addCˬRedInPo ( $st ); 75 $this -> `addGPrimyKeyHash ( $st ); 76 $this -> `addPuϋObjes ( $st ); 78 } } 84 eed funi $addGOMCssMhod (& $st ) 86 $b = $this -> `gTab (); 87 i( $b -> `gChdnCumn ()) { 88 i( $b -> `isAb ()) { 89 $this -> `addGOMCss_Inh_Ab ( $st ); 91 $this -> `addGOMCss_Inh ( $st ); 94 i( $b -> `isAb ()) { 95 $this -> `addGOMCss_NoInh_Ab ( $st ); 97 $this -> `addGOMCss_NoInh ( $st ); 100 } } 106 eed funi $addUpdeMhods (& $st ) 108 $this -> `addDoIn ( $st ); 109 $this -> `addDoUpde ( $st ); 110 $this -> `addDoDeA ( $st ); 111 $this -> `addDoDe ( $st ); 112 i( $this -> `isDeCasdeEmutiNded ()) { 113 $this -> `addDoOnDeCasde ( $st ); 115 i( $this -> `isDeSNuEmutiNded ()) { 116 $this -> `addDoOnDeSNu ( $st ); 118 $this -> `addDoVide ( $st ); 119 } } 125 eed funi $addRrveByPKMhods (& $st ) 127 i( `cou ( $this -> `gTab ()-> `gPrimyKey ()) === 1) { 128 $this -> `addRrveByPK_SgPK ( $st ); 129 $this -> `addRrveByPKs_SgPK ( $st ); 131 $this -> `addRrveByPK_MuiPK ( $st ); 133 } } 146 eed funi $addCssBody (& $st ) 149 $b = $this -> `gTab (); 151 i(! $b -> `isAls ()) { 152 $this -> `addCڡtsAndAribus ( $st ); 155 $this -> `addTneFldName ( $st ); 156 $this -> `addGFldNames ( $st ); 158 i(! $b -> `isAls ()) { 159 $this -> `addAls ( $st ); 160 $this -> `addSeMhods ( $st ); 161 $this -> `addGTabM ( $st ); 164 $this -> `addBudTabM ( $st ); 166 $this -> `addGOMCssMhod ( $st ); 169 i(! $b -> `isAls (&& !$b-> `isRdOy ()) { 170 $this -> `addUpdeMhods ( $st ); 173 i( `cou ( $b -> `gPrimyKey ()) > 0) { 174 $this -> `addRrveByPKMhods ( $st ); 176 } } 182 eed funi $isDeCasdeEmutiNded () 184 $b = $this -> `gTab (); 185 i((! $this -> `gPtfm ()-> `sutsNiveDeTrigg (|| $this-> `gBudPrݔty ('emuϋFeignKeyCڡts')&& `cou ( $b -> `gRe㼔s ()) > 0) { 186 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 187 i( $fk -> `gOnDe (= FeignKey :: CASCADE ) { 188  ue ; 192  l ; 193 } } 199 eed funi $isDeSNuEmutiNded () 201 $b = $this -> `gTab (); 202 i((! $this -> `gPtfm ()-> `sutsNiveDeTrigg (|| $this-> `gBudPrݔty ('emuϋFeignKeyCڡts')&& `cou ( $b -> `gRe㼔s ()) > 0) { 203 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 204 i( $fk -> `gOnDe (= FeignKey :: SETNULL ) { 205  ue ; 209  l ; 210 } } 218 eed funi $isAddGicMuts () 220 $b = $this -> `gTab (); 221  (! $b -> `isAls (&& $this -> `gBudPrݔty ('addGicMuts'&& !$b-> `isRdOy ()); 222 } } 230 eed funi $isAddGicAcsss () 232 $b = $this -> `gTab (); 233  (! $b -> `isAls (&& $this -> `gBudPrݔty ('addGenericAccessors')); 234 } } 242 public funi $gRrveMhodName () 244 i( $this -> `gTab ()-> `isAls ()) { 245 $veMhod = "ve" . $this -> `gTab ()-> `gPhpName () . "ByPK"; 247 $veMhod = "retrieveByPK"; 249  $veMhod ; 250 } } 266 public  funi $gCumnName ( Cumn $c , $phpName = nu ) { 268 i( $c -> `gPrName ()) { 269 $cڡ = `ou ( $c -> `gPrName ()); 271 $cڡ = `ou ( $c -> `gName ()); 273 i( $phpName != nu ) { 274  $phpName . 'Pr::' . $cڡ ; 276  $cڡ ; 278 } } 285 public funi $hasBehaviModifr ( $hookName ) 287  :: `hasBehaviModifr ( $hookName , 'PeerBuilderModifier'); 288 } } 295 public funi yBehaviModifr ( $hookName , & $st , $b = " ") 297  :: yBehaviModifr ( $hookName , 'PrBudModifr', $st , $b ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ExtensionNodeBuilder.php 1 `gTab ()-> `gPhpName () . 'Node'; 52 eed funi $addInudes (& $st ) 54 $st .= " 55 que '".$this->getNodeBuilder()->getClassFilePath()."'; 57 } } 63 eed funi $addCssOn (& $st ) 66 $b = $this -> `gTab (); 67 $bName = $b -> `gName (); 68 $bDesc = $b -> `gDesti (); 70 $baCsame = $this -> `gNodeBud ()-> `gCsame (); 72 $st .= " 94 ass ".$this->gCsame()." exnds $baCsame { 106 eed funi `addCssBody (& $st ) 115 eed funi `addCssClo (& $st ) 117 $st .= " 120 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ExtensionNodePeerBuilder.php 1 `gStubNodeBud ()-> `gCsame () . 'Peer'; 52 eed funi $addInudes (& $st ) 54 $st .=" 55 que '".$this->getNodePeerBuilder()->getClassFilePath()."'; 57 } } 63 eed funi $addCssOn (& $st ) 66 $b = $this -> `gTab (); 67 $bName = $b -> `gName (); 68 $bDesc = $b -> `gDesti (); 70 $baCsame = $this -> `gNodePrBud ()-> `gCsame (); 72 $st .= " 94 ass ".$this->gCsame()." exnds $baCsame { 107 eed funi `addCssBody (& $st ) 116 eed funi `addCssClo (& $st ) 118 $st .= " 121 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ExtensionObjectBuilder.php 1 `gTab ()-> `gPhpName (); 52 eed funi $addInudes (& $st ) 54  $this -> `gTab ()-> `Mode ()) { 56 $quedCssFePh = $this -> `gNeedSBud ()-> `gCssFePh (); 62 $quedCssFePh = $this -> `gObjeBud ()-> `gCssFePh (); 66 $st .=" 67 que '".$requiredClassFilePath."'; 69 } } 75 eed funi $addCssOn (& $st ) 78 $b = $this -> `gTab (); 79 $bName = $b -> `gName (); 80 $bDesc = $b -> `gDesti (); 82  $b -> `Mode ()) { 84 $baCsame = $this -> `gNeedSBud ()-> `gCsame (); 90 $baCsame = $this -> `gObjeBud ()-> `gCsame (); 94 $st .= " 116 ".($b->isAb(? " ab " : "")." ass ".$this->gCsame()." exnds $baCsame { 128 eed funi `addCssBody (& $st ) 130 i( $this -> `hasDeuVues ()) { 131 $this -> `addCڡru ( $st ); 140 eed funi `addCڡru (& $st ) 142 $b = $this -> `gTab (); 143 $st .= " 148 public funi `__cڡru () 152 :: `__cڡru (); 161 eed funi `addCssClo (& $st ) 163 $st .= " 166 $this -> `yBehaviModifr ('exnsiObjeFr', $st , ""); 167 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ExtensionPeerBuilder.php 1 `gStubObjeBud ()-> `gUŻfixedCsame () . 'Peer'; 52 eed funi $addInudes (& $st ) 54  $this -> `gTab ()-> `Mode ()) { 56 $quedCssFePh = $this -> `gNeedSPrBud ()-> `gCssFePh (); 62 $quedCssFePh = $this -> `gPrBud ()-> `gCssFePh (); 66 $st .=" 67 que '".$requiredClassFilePath."'; 69 } } 75 eed funi $addCssOn (& $st ) 77 $b = $this -> `gTab (); 78 $bName = $b -> `gName (); 79 $bDesc = $b -> `gDesti (); 81  $b -> `Mode ()) { 83 $baCsame = $this -> `gNeedSPrBud ()-> `gCsame (); 89 $baCsame = $this -> `gPrBud ()-> `gCsame (); 93 $st .= " 115 ass ".$this->gCsame()." exnds $baCsame { 128 eed funi `addCssBody (& $st ) 137 eed funi `addCssClo (& $st ) 139 $st .= " 142 $this -> `yBehaviModifr ('exnsiPrFr', $st , ""); 143 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5InterfaceBuilder.php 1 `gI ()); 52 eed funi $addInudes (& $st ) 55 } } 61 eed funi $addCssOn (& $st ) 64 $b = $this -> `gTab (); 65 $bName = $b -> `gName (); 66 $bDesc = $b -> `gDesti (); 68 $baCsame = $this -> `gObjeBud ()-> `gCsame (); 70 $st .= " 91 r ".$this->getClassname()." { 103 eed funi `addCssBody (& $st ) 112 eed funi `addCssClo (& $st ) 114 $st .= " 117 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5MultiExtendObjectBuilder.php 1 `gChd ()-> `gCsame (); 57 public funi $gPackage () 59  ( $this -> chd -> `gPackage (? $this->chd->gPackage(: ::getPackage()); 60 } } 66 public funi $tChd ( Inh $chd ) 68 $this -> chd = $chd ; 69 } } 76 public funi $gChd () 78 i(! $this -> chd ) { 79 throw w `BudExi ("The PHP5MultiExtendObjectBuildereedso beold which child classo build (via setChild() method) before it can buildhe stub class."); 81  $this -> chd ; 82 } } 88 eed funi $gPtCsh () 90 i( $this -> `gChd ()-> `gAn ()) { 91  $this -> `gChd ()-> `gAn (); 93  $this -> `gObjeBud ()-> `gCsh (); 95 } } 101 eed funi $gPtCsame () 103  CssTos :: `asame ( $this -> `gPtCsh ()); 104 } } 110 eed funi $gPtCssFePh () 112  CssTos :: `gFePh ( $this -> `gPtCsh ()); 113 } } 119 eed funi $addInudes (& $st ) 121 } } 127 eed funi $addCssOn (& $st ) 130 $b = $this -> `gTab (); 131 $bName = $b -> `gName (); 132 $bDesc = $b -> `gDesti (); 134 $baCsame = $this -> `gObjeBud ()-> `gCsame (); 136 $st .= " 158 ass ".$this->gCsame()." exnds ".$this->getParentClassname()." { 170 eed funi `addCssBody (& $st ) 172 $chd = $this -> `gChd (); 173 $c = $chd -> `gCumn (); 174 $cfc = $c -> `gPhpName (); 176 $cڡ = "CLASSKEY_". `ou ( $chd -> `gKey ()); 178 $st .= " 182 public funi `__cڡru () 184 $st .= " 185 :: `__cڡru (); 186 \ $this -> `t$cfc (".$this->gPrCsame().":: CLASSKEY_ ".strtoupper($child->getKey())."); 195 eed funi `addCssClo (& $st ) 197 $st .= " 200 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5NestedSetBuilder.php 1 `gBudPrݔty ('baPfix'. $this-> `gStubObjeBud ()-> `gUŻfixedCsame () . 'NestedSet'; 51 } } 57 eed funi $addInudes (& $st ) 59 $st .=" 60 que '".$this->getObjectBuilder()->getClassFilePath()."'; 62 } } 68 eed funi $addCssOn (& $st ) 71 $b = $this -> `gTab (); 72 $bName = $b -> `gName (); 73 $bDesc = $b -> `gDesti (); 75 $st .= " 92 ab ass ".$this->gCsame()." exnds ".$this->gObjeBud()->gCsame()." imemts NodeObje { 101 eed funi `addCssBody (& $st ) 103 $b = $this -> `gTab (); 105 $this -> `addAribus ( $st ); 107 $this -> `addGIt ( $st ); 109 $this -> `addSave ( $st ); 110 $this -> `addDe ( $st ); 112 $this -> `addMakeRo ( $st ); 114 $this -> `addGLev ( $st ); 115 $this -> `addGPh ( $st ); 117 $this -> `addGNumbOfChdn ( $st ); 118 $this -> `addGNumbOfDesndts ( $st ); 120 $this -> `addGChdn ( $st ); 121 $this -> `addGDesndts ( $st ); 123 $this -> `addSLev ( $st ); 125 $this -> `addSChdn ( $st ); 126 $this -> `addSPtNode ( $st ); 127 $this -> `addSPvSiblg ( $st ); 128 $this -> `addSNextSiblg ( $st ); 130 $this -> `addIsRo ( $st ); 131 $this -> `addIsLf ( $st ); 132 $this -> `addIsEquTo ( $st ); 134 $this -> `addHasPt ( $st ); 135 $this -> `addHasChdn ( $st ); 136 $this -> `addHasPvSiblg ( $st ); 137 $this -> `addHasNextSiblg ( $st ); 139 $this -> `addRrvePt ( $st ); 140 $this -> `addRrveFChd ( $st ); 141 $this -> `addRrveLaChd ( $st ); 142 $this -> `addRrvePvSiblg ( $st ); 143 $this -> `addRrveNextSiblg ( $st ); 145 $this -> `addInAsFChdOf ( $st ); 146 $this -> `addInAsLaChdOf ( $st ); 148 $this -> `addInAsPvSiblgOf ( $st ); 149 $this -> `addInAsNextSiblgOf ( $st ); 151 $this -> `addMoveToFChdOf ( $st ); 152 $this -> `addMoveToLaChdOf ( $st ); 154 $this -> `addMoveToPvSiblgOf ( $st ); 155 $this -> `addMoveToNextSiblgOf ( $st ); 157 $this -> `addInAsPtOf ( $st ); 159 $this -> `addGLe ( $st ); 160 $this -> `addGRight ( $st ); 161 $this -> `addGSceId ( $st ); 163 $this -> `addSLe ( $st ); 164 $this -> `addSRight ( $st ); 165 $this -> `addSSceId ( $st ); 172 eed funi `addCssClo (& $st ) 174 $st .= " 177 } } 184 eed funi $addAribus (& $st ) 186 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 187 $st .= " 192 eed \ $v = nu ; 198 eed \ $hasPvSiblg = nu ; 204 eed \ $evSiblg = nu ; 210 eed \ $hasNextSiblg = nu ; 216 eed \ $xtSiblg = nu ; 222 eed \ $hasPtNode = nu ; 228 eed \ $Node = nu ; 234 eed \ $_chdn = nu ; 236 } } 238 eed funi $addGIt (& $st ) 240 $st .= " 246 public funi `gIt () 248  w `NeedSRecursiveIt (\ $this ); 251 } } 253 eed funi $addSave (& $st ) 255 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 256 $st .= " 266 public funi `ve ( PrݖPDO \ $c = nu ) 268 \ $ = \ $this -> `gLeVue (); 269 \ $right = \ $this -> `gRightVue (); 270 i( `emy (\ $ ||my(\ $right )) { 271 \ $ro = $Csame :: `veRo (\ $this -> `gSceIdVue (), \ $c ); 272 $Csame :: `AsLaChdOf (\ $this , \ $ro , \ $c ); 275  :: `ve (\ $c ); 278 } } 280 eed funi $addDe (& $st ) 282 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 283 $st .= " 291 public funi `de ( PrݖPDO \ $c = nu ) 294 :: `de (\ $c ); 297 $Csame :: `deDesndts (\ $this , \ $c ); 300 } } 302 eed funi $addMakeRo (& $st ) 304 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 305 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 306 $st .= " 313 public funi `makeRo () 315 $Csame :: `Ro (\ $this ); 316  \ $this ; 319 } } 321 eed funi $addGLev (& $st ) 323 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 324 $st .= " 331 public funi `gLev ( PrݖPDO \ $c = nu ) 333 i( nu ==\ $this -> v ) { 334 \ $this -> v = $Csame :: `gLev (\$this, \ $c ); 336  \ $this -> v ; 339 } } 341 eed funi $addSLev (& $st ) 343 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 344 $st .= " 351 public funi `tLev (\ $v ) 353 \ $this -> v = \ $v ; 354  \ $this ; 357 } } 359 eed funi $addSChdn (& $st ) 361 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 362 $st .= " 369 public funi `tChdn ( y \ $chdn ) 371 \ $this -> _chdn = \ $chdn ; 372  \ $this ; 375 } } 377 eed funi $addSPtNode (& $st ) 379 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 380 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 381 $st .= " 388 public funi `tPtNode ( NodeObje \ $ = nu ) 390 \ $this -> Node = ( ue ==(\$this-> hasPtNode = $Csame :: `isVid (\ $ ))? \$ : nu ; 391  \ $this ; 394 } } 396 eed funi $addSPvSiblg (& $st ) 398 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 399 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 400 $st .= " 407 public funi `tPvSiblg ( NodeObje \ $node = nu ) 409 \ $this -> evSiblg = \ $node ; 410 \ $this -> hasPvSiblg = $Csame :: `isVid (\ $node ); 411  \ $this ; 414 } } 416 eed funi $addSNextSiblg (& $st ) 418 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 419 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 420 $st .= " 427 public funi `tNextSiblg ( NodeObje \ $node = nu ) 429 \ $this -> xtSiblg = \ $node ; 430 \ $this -> hasNextSiblg = $Csame :: `isVid (\ $node ); 431  \ $this ; 434 } } 436 eed funi $addGPh (& $st ) 438 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 439 $st .= " 446 public funi `gPh ( PrݖPDO \ $c = nu ) 448  $Csame :: `gPh (\ $this , \ $c ); 451 } } 453 eed funi $addGNumbOfChdn (& $st ) 455 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 456 $st .= " 463 public funi `gNumbOfChdn ( PrݖPDO \ $c = nu ) 465  $Csame :: `gNumbOfChdn (\ $this , \ $c ); 468 } } 470 eed funi $addGNumbOfDesndts (& $st ) 472 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 473 $st .= " 480 public funi `gNumbOfDesndts ( PrݖPDO \ $c = nu ) 482  $Csame :: `gNumbOfDesndts (\ $this , \ $c ); 485 } } 487 eed funi $addGChdn (& $st ) 489 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 490 $st .= " 497 public funi `gChdn ( PrݖPDO \ $c = nu ) 499 \ $this -> `gLev (); 501 i( `is_y (\ $this -> _chdn )) { 502  \ $this -> _chdn ; 505  $Csame :: `veChdn (\ $this , \ $c ); 508 } } 510 eed funi $addGDesndts (& $st ) 512 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 513 $st .= " 520 public funi `gDesndts ( PrݖPDO \ $c = nu ) 522 \ $this -> `gLev (); 524  $Csame :: `veDesndts (\ $this , \ $c ); 527 } } 529 eed funi $addIsRo (& $st ) 531 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 532 $st .= " 538 public funi `isRo () 540  $Csame :: `isRo (\ $this ); 543 } } 545 eed funi $addIsLf (& $st ) 547 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 548 $st .= " 554 public funi `isLf () 556  $Csame :: `isLf (\ $this ); 559 } } 561 eed funi $addIsEquTo (& $st ) 563 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 564 $st .= " 571 public funi `isEquTo ( NodeObje \ $node ) 573  $Csame :: `isEquTo (\ $this , \ $node ); 576 } } 578 eed funi $addHasPt (& $st ) 580 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 581 $st .= " 588 public funi `hasPt ( PrݖPDO \ $c = nu ) 590 i( nu ==\ $this -> hasPtNode ) { 591 $Csame :: `hasPt (\ $this , \ $c ); 593  \ $this -> hasPtNode ; 596 } } 598 eed funi $addHasChdn (& $st ) 600 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 601 $st .= " 607 public funi `hasChdn () 609  $Csame :: `hasChdn (\ $this ); 612 } } 614 eed funi $addHasPvSiblg (& $st ) 616 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 617 $st .= " 624 public funi `hasPvSiblg ( PrݖPDO \ $c = nu ) 626 i( nu ==\ $this -> hasPvSiblg ) { 627 $Csame :: `hasPvSiblg (\ $this , \ $c ); 629  \ $this -> hasPvSiblg ; 632 } } 634 eed funi $addHasNextSiblg (& $st ) 636 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 637 $st .= " 644 public funi `hasNextSiblg ( PrݖPDO \ $c = nu ) 646 i( nu ==\ $this -> hasNextSiblg ) { 647 $Csame :: `hasNextSiblg (\ $this , \ $c ); 649  \ $this -> hasNextSiblg ; 652 } } 654 eed funi $addRrvePt (& $st ) 656 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 657 $st .= " 664 public funi `vePt ( PrݖPDO \ $c = nu ) 666 i( nu ==\ $this -> hasPtNode ) { 667 \ $this -> Node = $Csame :: `vePt (\$this, \ $c ); 668 \ $this -> hasPtNode = $Csame :: `isVid (\$this-> Node ); 670  \ $this -> Node ; 673 } } 675 eed funi $addRrveFChd (& $st ) 677 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 678 $st .= " 685 public funi `veFChd ( PrݖPDO \ $c = nu ) 687 i(\ $this -> `hasChdn (\ $c )) { 688 i( `is_y (\ $this -> _chdn )) { 689  \ $this -> _chdn [0]; 692  $Csame :: `veFChd (\ $this , \ $c ); 694  l ; 697 } } 699 eed funi $addRrveLaChd (& $st ) 701 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 702 $st .= " 709 public funi `veLaChd ( PrݖPDO \ $c = nu ) 711 i(\ $this -> `hasChdn (\ $c )) { 712 i( `is_y (\ $this -> _chdn )) { 713 \ $ϡ = `cou (\ $this -> _chdn ) - 1; 714  \ $this -> _chdn [\ $ϡ ]; 717  $Csame :: `veLaChd (\ $this , \ $c ); 719  l ; 722 } } 724 eed funi $addRrvePvSiblg (& $st ) 726 $st .= " 733 public funi `vePvSiblg ( PrݖPDO \ $c = nu ) 735 i(\ $this -> `hasPvSiblg (\ $c )) { 736  \ $this -> evSiblg ; 738  \ $this -> hasPvSiblg ; 741 } } 743 eed funi $addRrveNextSiblg (& $st ) 745 $st .= " 752 public funi `veNextSiblg ( PrݖPDO \ $c = nu ) 754 i(\ $this -> `hasNextSiblg (\ $c )) { 755  \ $this -> xtSiblg ; 757  \ $this -> hasNextSiblg ; 760 } } 762 eed funi $addInAsFChdOf (& $st ) 764 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 765 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 766 $st .= " 775 public funi `AsFChdOf ( NodeObje \ $ , PrݖPDO \ $c = nu ) 777 i(!\ $this -> `isNew ()) 779 throw w `PrݖExi (\"$objectClassName must beew.\"); 781 $Csame :: `AsFChdOf (\ $this , \ $ , \ $c ); 782  \ $this ; 785 } } 787 eed funi $addInAsLaChdOf (& $st ) 789 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 790 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 791 $st .= " 800 public funi `AsLaChdOf ( NodeObje \ $ , PrݖPDO \ $c = nu ) 802 i(!\ $this -> `isNew ()) 804 throw w `PrݖExi (\"$objectClassName must beew.\"); 806 $Csame :: `AsLaChdOf (\ $this , \ $ , \ $c ); 807  \ $this ; 810 } } 812 eed funi $addInAsPvSiblgOf (& $st ) 814 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 815 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 816 $st .= " 825 public funi `AsPvSiblgOf ( NodeObje \ $de , PrݖPDO \ $c = nu ) 827 i(!\ $this -> `isNew ()) 829 throw w `PrݖExi (\"$objectClassName must beew.\"); 831 $Csame :: `AsPvSiblgOf (\ $this , \ $de , \ $c ); 832  \ $this ; 835 } } 837 eed funi $addInAsNextSiblgOf (& $st ) 839 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 840 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 841 $st .= " 850 public funi `AsNextSiblgOf ( NodeObje \ $de , PrݖPDO \ $c = nu ) 852 i(!\ $this -> `isNew ()) 854 throw w `PrݖExi (\"$objectClassName must beew.\"); 856 $Csame :: `AsNextSiblgOf (\ $this , \ $de , \ $c ); 857  \ $this ; 860 } } 862 eed funi $addMoveToFChdOf (& $st ) 864 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 865 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 866 $st .= " 874 public funi `moveToFChdOf ( NodeObje \ $ , PrݖPDO \ $c = nu ) 876 i(\ $this -> `isNew ()) 878 throw w `PrݖExi (\"$objectClassName mustxist inree.\"); 880 $Csame :: `moveToFChdOf (\ $ , \ $this , \ $c ); 881  \ $this ; 884 } } 886 eed funi $addMoveToLaChdOf (& $st ) 888 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 889 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 890 $st .= " 898 public funi `moveToLaChdOf ( NodeObje \ $ , PrݖPDO \ $c = nu ) 900 i(\ $this -> `isNew ()) 902 throw w `PrݖExi (\"$objectClassName mustxist inree.\"); 904 $Csame :: `moveToLaChdOf (\ $ , \ $this , \ $c ); 905  \ $this ; 908 } } 910 eed funi $addMoveToPvSiblgOf (& $st ) 912 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 913 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 914 $st .= " 922 public funi `moveToPvSiblgOf ( NodeObje \ $de , PrݖPDO \ $c = nu ) 924 i(\ $this -> `isNew ()) 926 throw w `PrݖExi (\"$objectClassName mustxist inree.\"); 928 $Csame :: `moveToPvSiblgOf (\ $de , \ $this , \ $c ); 929  \ $this ; 932 } } 934 eed funi $addMoveToNextSiblgOf (& $st ) 936 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 937 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 938 $st .= " 946 public funi `moveToNextSiblgOf ( NodeObje \ $de , PrݖPDO \ $c = nu ) 948 i(\ $this -> `isNew ()) 950 throw w `PrݖExi (\"$objectClassName mustxist inree.\"); 952 $Csame :: `moveToNextSiblgOf (\ $de , \ $this , \ $c ); 953  \ $this ; 956 } } 958 eed funi $addInAsPtOf (& $st ) 960 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 961 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 962 $st .= " 970 public funi `AsPtOf ( NodeObje \ $node , PrݖPDO \ $c = nu ) 972 $Csame :: `AsPtOf (\ $this , \ $node , \ $c ); 973  \ $this ; 976 } } 978 eed funi $addGLe (& $st ) 980 $b = $this -> `gTab (); 982 `fܗch ( $b -> `gCumns ( as $c ) { 983 i( $c -> `isNeedSLeKey ()) { 984 $_c_gr_me = 'g'. $c -> `gPhpName (); 989 $st .= " 995 public funi `gLeVue () 997  \ $this -> `$_c_gr_me (); 1000 } } 1002 eed funi $addGRight (& $st ) 1004 $b = $this -> `gTab (); 1006 `fܗch ( $b -> `gCumns ( as $c ) { 1007 i( $c -> `isNeedSRightKey ()) { 1008 $right_c_gr_me = 'g'. $c -> `gPhpName (); 1013 $st .= " 1019 public funi `gRightVue () 1021  \ $this -> `$right_c_gr_me (); 1024 } } 1026 eed funi $addGSceId (& $st ) 1028 $b = $this -> `gTab (); 1030 $sce_c_gr_me = nu ; 1031 `fܗch ( $b -> `gCumns ( as $c ) { 1032 i( $c -> `isTeSceKey ()) { 1033 $sce_c_gr_me = 'g'. $c -> `gPhpName (); 1038 $st .= " 1044 public funi `gSceIdVue () 1046 i( $sce_c_gr_me ) { 1047 $st .= " 1048  \ $this -> `$sce_c_gr_me ();"; 1050 $st .= " 1051  nu ;"; 1053 $st .= " 1056 } } 1058 eed funi $addSLe (& $st ) 1060 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 1061 $b = $this -> `gTab (); 1063 `fܗch ( $b -> `gCumns ( as $c ) { 1064 i( $c -> `isNeedSLeKey ()) { 1065 $_c__me = 't'. $c -> `gPhpName (); 1070 $st .= " 1077 public funi `tLeVue (\ $v ) 1079 \ $this -> `$_c__me (\ $v ); 1080  \ $this ; 1083 } } 1085 eed funi $addSRight (& $st ) 1087 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 1088 $b = $this -> `gTab (); 1090 `fܗch ( $b -> `gCumns ( as $c ) { 1091 i( $c -> `isNeedSRightKey ()) { 1092 $right_c__me = 't'. $c -> `gPhpName (); 1097 $st .= " 1104 public funi `tRightVue (\ $v ) 1106 \ $this -> `$right_c__me (\ $v ); 1107  \ $this ; 1110 } } 1112 eed funi $addSSceId (& $st ) 1114 $objeCssName = $this -> `gStubObjeBud ()-> `gCsame (); 1115 $b = $this -> `gTab (); 1117 $sce_c__me = nu ; 1118 `fܗch ( $b -> `gCumns ( as $c ) { 1119 i( $c -> `isTeSceKey ()) { 1120 $sce_c__me = 't'. $c -> `gPhpName (); 1125 $st .= " 1132 public funi `tSceIdVue (\ $v ) 1134 i( $sce_c__me ) { 1135 $st .= " 1136 \ $this -> `$sce_c__me (\ $v );"; 1138 $st .= " 1139  \ $this ; 1143 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5NestedSetPeerBuilder.php 1 `gBudPrݔty ('baPfix'. $this-> `gStubObjeBud ()-> `gUŻfixedCsame () . 'NestedSetPeer'; 55 } } 61 eed funi $addInudes (& $st ) 63 $st .=" 64 que '".$this->getPeerBuilder()->getClassFilePath()."'; 66 } } 72 eed funi $addCssOn (& $st ) 75 $b = $this -> `gTab (); 76 $bName = $b -> `gName (); 77 $bDesc = $b -> `gDesti (); 79 $st .= " 96 ab ass ".$this->gCsame()." exnds ".$this->gPrBud()->gCssName()." imemts NodePr { 105 eed funi `addCssBody (& $st ) 107 $b = $this -> `gTab (); 113 $this -> `addCڡts ( $st ); 115 $this -> `addCeRo ( $st ); 117 $this -> `addRrveRo ( $st ); 119 $this -> `addInAsFChdOf ( $st ); 120 $this -> `addInAsLaChdOf ( $st ); 121 $this -> `addInAsPvSiblgOf ( $st ); 122 $this -> `addInAsNextSiblgOf ( $st ); 123 $this -> `addInAsPtOf ( $st ); 125 $this -> `addInRo ( $st ); 126 $this -> `addInPt ( $st ); 128 $this -> `addDeRo ( $st ); 129 $this -> `addDeNode ( $st ); 131 $this -> `addMoveToFChdOf ( $st ); 132 $this -> `addMoveToLaChdOf ( $st ); 133 $this -> `addMoveToPvSiblgOf ( $st ); 134 $this -> `addMoveToNextSiblgOf ( $st ); 136 $this -> `addRrveFChd ( $st ); 137 $this -> `addRrveLaChd ( $st ); 138 $this -> `addRrvePvSiblg ( $st ); 139 $this -> `addRrveNextSiblg ( $st ); 141 $this -> `addRrveTe ( $st ); 142 $this -> `addRrveBnch ( $st ); 143 $this -> `addRrveChdn ( $st ); 144 $this -> `addRrveDesndts ( $st ); 145 $this -> `addRrveSiblgs ( $st ); 146 $this -> `addRrvePt ( $st ); 148 $this -> `addGLev ( $st ); 149 $this -> `addGNumbOfChdn ( $st ); 150 $this -> `addGNumbOfDesndts ( $st ); 151 $this -> `addGPh ( $st ); 153 $this -> `addIsVid ( $st ); 154 $this -> `addIsRo ( $st ); 155 $this -> `addIsLf ( $st ); 156 $this -> `addIsChdOf ( $st ); 157 $this -> `addIsChdOfOrSiblgTo ( $st ); 158 $this -> `addIsEquTo ( $st ); 160 $this -> `addHasPt ( $st ); 161 $this -> `addHasPvSiblg ( $st ); 162 $this -> `addHasNextSiblg ( $st ); 163 $this -> `addHasChdn ( $st ); 165 $this -> `addDeDesndts ( $st ); 167 $this -> `addGNode ( $st ); 169 $this -> `addHydDesndts ( $st ); 170 $this -> `addHydChdn ( $st ); 172 $this -> `addShiRPt ( $st ); 173 $this -> `addUpdeLdedNode ( $st ); 174 $this -> `addUpdeDBNode ( $st ); 176 $this -> `addShiRLVues ( $st ); 177 $this -> `addShiRLRge ( $st ); 184 eed funi `addCssClo (& $st ) 186 $st .= " 189 } } 191 eed funi $addCڡts (& $st ) 193 $b = $this -> `gTab (); 194 $bName = $b -> `gName (); 196 $cme = `y (); 198 `fܗch ( $b -> `gCumns ( as $c ) { 199 i( $c -> `isNeedSLeKey ()) { 200 $cme [''] = $this -> `efixTabme ( $bName . '.' . `ou ( $c -> `gName ()); 203 i( $c -> `isNeedSRightKey ()) { 204 $cme ['right'] = $this -> `efixTabme ( $bName . '.' . `ou ( $c -> `gName ()); 207 i( $c -> `isTeSceKey ()) { 208 $cme ['sce'] = $this -> `efixTabme ( $bName . '.' . `ou ( $c -> `gName ()); 211 i(3 = `cou ( $cme )) { 216 if(! `ist ( $cme ['left'])) { 217 throw w `EngeExi ("O cummu haváedSLeKeyribu s،uf [" . $b -> `gName () . "]able"); 220 if(! `ist ( $cme ['right'])) { 221 throw w `EngeExi ("O cummu haváedSRightKeyribu s،uf [" . $b -> `gName () . "]able"); 224 $cme ['sce'] = `ist ($cme['sce']? $cme['sce'] : nu ; 226 $st .= " 230 cڡ LEFT_COL = " . var_export($colname['left'],rue) . "; 235 cڡ RIGHT_COL = " . var_export($colname['right'],rue) . "; 240 cڡ SCOPE_COL = " . var_export($colname['scope'],rue) . "; 242 } } 244 eed funi $addCeRo (& $st ) 246 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 247 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 248 $st .= " 255 public  funi `Ro ( NodeObje \ $node ) 257 i(\ $node -> `gLeVue ()) { 258 throw w `PrݖExi ('Cannoturnnxistingode intoootode.'); 261 \ $node -> `tLeVue (1); 262 \ $node -> `tRightVue (2); 265 } } 267 eed funi $addRrveRo (& $st ) 269 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 270 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 271 $st .= " 279 public  funi `veRo (\ $sceId = nu , PrݖPDO \ $c =ull) 281 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 283 \ $c -> `add ( lf :: LEFT_COL , 1, Cr :: EQUAL ); 285 i( lf :: SCOPE_COL ) { 286 \ $c -> `add ( lf :: SCOPE_COL , \ $sceId , Cr :: EQUAL ); 289  $Csame :: `doSeO (\ $c , \ $c ); 292 } } 294 eed funi $addInAsFChdOf (& $st ) 296 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 297 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 298 $st .= " 307 public  funi `AsFChdOf ( NodeObje \ $chd , NodeObje \ $ , PrݖPDO \ $c = nu ) 310 \ $chd -> `tLeVue (\ $ -> `gLeVue () + 1); 311 \ $chd -> `tRightVue (\ $ -> `gLeVue () + 2); 312 \ $chd -> `tPtNode (\ $ ); 314 \ $sidv = nu ; 315 i( lf :: SCOPE_COL ) { 316 \ $chd -> `tSceIdVue (\ $sidv = \ $ -> `gSceIdVue ()); 320 lf :: `shiRLVues (\ $chd -> `gLeVue (), 2, \ $c , \ $sidv ); 323 lf :: `updeLdedNode (\ $ , 2, \ $c ); 326 } } 328 eed funi $addInAsLaChdOf (& $st ) 330 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 331 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 332 $st .= " 341 public  funi `AsLaChdOf ( NodeObje \ $chd , NodeObje \ $ , PrݖPDO \ $c = nu ) 344 \ $chd -> `tLeVue (\ $ -> `gRightVue ()); 345 \ $chd -> `tRightVue (\ $ -> `gRightVue () + 1); 346 \ $chd -> `tPtNode (\ $ ); 348 \ $sidv = nu ; 349 i( lf :: SCOPE_COL ) { 350 \ $chd -> `tSceIdVue (\ $sidv = \ $ -> `gSceIdVue ()); 354 lf :: `shiRLVues (\ $chd -> `gLeVue (), 2, \ $c , \ $sidv ); 357 lf :: `updeLdedNode (\ $ , 2, \ $c ); 360 } } 362 eed funi $addInAsPvSiblgOf (& $st ) 364 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 365 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 366 $st .= " 375 public  funi `AsPvSiblgOf ( NodeObje \ $node , NodeObje \ $siblg , PrݖPDO \ $c = nu ) 377 i(\ $siblg -> `isRo ()) { 378 throw w `PrݖExi ('Rootodes cannot have siblings'); 381 \ $node -> `tLeVue (\ $siblg -> `gLeVue ()); 382 \ $node -> `tRightVue (\ $siblg -> `gLeVue () + 1); 383 \ $node -> `tPtNode (\ $siblg -> `vePt ()); 385 \ $sidv = nu ; 386 i( lf :: SCOPE_COL ) { 387 \ $node -> `tSceIdVue (\ $sidv = \ $siblg -> `gSceIdVue ()); 391 lf :: `shiRLVues (\ $node -> `gLeVue (), 2, \ $c , \ $sidv ); 394 lf :: `updeLdedNode (\ $siblg -> `vePt (), 2, \ $c ); 397 } } 399 eed funi $addInAsNextSiblgOf (& $st ) 401 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 402 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 403 $st .= " 412 public  funi `AsNextSiblgOf ( NodeObje \ $node , NodeObje \ $siblg , PrݖPDO \ $c = nu ) 414 i(\ $siblg -> `isRo ()) { 415 throw w `PrݖExi ('Rootodes cannot have siblings'); 418 \ $node -> `tLeVue (\ $siblg -> `gRightVue () + 1); 419 \ $node -> `tRightVue (\ $siblg -> `gRightVue () + 2); 420 \ $node -> `tPtNode (\ $siblg -> `vePt ()); 422 \ $sidv = nu ; 423 i( lf :: SCOPE_COL ) { 424 \ $node -> `tSceIdVue (\ $sidv = \ $siblg -> `gSceIdVue ()); 428 lf :: `shiRLVues (\ $node -> `gLeVue (), 2, \ $c , \ $sidv ); 431 lf :: `updeLdedNode (\ $siblg -> `vePt (), 2, \ $c ); 434 } } 436 eed funi $addInAsPtOf (& $st ) 438 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 439 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 440 $st .= " 449 public  funi `AsPtOf ( NodeObje \ $ , NodeObje \ $node , PrݖPDO \ $c = nu ) 451 \ $sidv = nu ; 452 i( lf :: SCOPE_COL ) { 453 \ $sidv = \ $node -> `gSceIdVue (); 456 lf :: `shiRLVues (\ $node -> `gLeVue (), 1, \ $c , \ $sidv ); 457 lf :: `shiRLVues (\ $node -> `gRightVue (+ 2, 1, \ $c , \ $sidv ); 459 i( lf :: SCOPE_COL ) { 460 \ $ -> `tSceIdVue (\ $sidv ); 463 \ $ -> `tLeVue (\ $node -> `gLeVue ()); 464 \ $ -> `tRightVue (\ $node -> `gRightVue () + 2); 466 \ $evious_ = \ $node -> `vePt (); 467 \ $ -> `tPtNode (\ $evious_ ); 468 \ $node -> `tPtNode (\ $ ); 470 \ $node -> `ve (\ $c ); 473 lf :: `updeLdedNode (\ $evious_ , 2, \ $c ); 476 } } 478 eed funi $addInRo (& $st ) 480 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 481 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 482 $st .= " 490 public  funi `Ro ( NodeObje \ $node , PrݖPDO \ $c = nu ) 492 \ $sidv = nu ; 493 i( lf :: SCOPE_COL ) { 494 \ $sidv = \ $node -> `gSceIdVue (); 497 $Csame :: `AsPtOf ($Csame:: `veRo (\ $sidv , \ $c ), \ $node , \$con); 500 } } 502 eed funi $addInPt (& $st ) 504 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 505 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 506 $st .= " 517 public  funi `Pt ( NodeObje \ $chd , NodeObje \ $ , PrݖPDO \ $c = nu ) 519 lf :: `AsPtOf (\ $ , \ $chd , \ $c ); 522 } } 524 eed funi $addDeRo (& $st ) 526 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 527 $st .= " 534 public  funi `deRo (\ $sceId = nu , PrݖPDO \ $c =ull) 536 i(! lf :: SCOPE_COL ) { 537 \ $sceId = nu ; 539 \ $ro = $Csame :: `veRo (\ $sceId , \ $c ); 540 i( $Csame :: `gNumbOfChdn (\ $ro ) == 1) { 541  $Csame :: `deNode (\ $ro , \ $c ); 543  l ; 547 } } 549 eed funi $addDeNode (& $st ) 551 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 552 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 553 $st .= " 561 public  funi `deNode ( NodeObje \ $de , PrݖPDO \ $c = nu ) 563 i(\ $de -> `gLeVue () == 1) { 565  $Csame :: `deRo (\ $c ); 568 \ $sidv = nu ; 569 i( lf :: SCOPE_COL ) { 570 \ $sidv = \ $de -> `gSceIdVue (); 573 lf :: `shiRLRge (\ $de -> `gLeVue (), \$de-> `gRightVue (), -1, \ $c , \ $sidv ); 574 lf :: `shiRLVues (\ $de -> `gRightVue (+ 1, -2, \ $c , \ $sidv ); 575  \ $de -> `de (\ $c ); 578 } } 580 eed funi $addMoveToFChdOf (& $st ) 582 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 583 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 584 $st .= " 593 public  funi `moveToFChdOf ( NodeObje \ $ , NodeObje \ $chd , PrݖPDO \ $c = nu ) 595 i(\ $ -> `gSceIdVue (!\ $chd ->getScopeIdValue()) { 596 throw w `PrݖExi ('Movingodescrossrees isot supported'); 598 \ $deLe = \ $ -> `gLeVue () + 1; 599 lf :: `updeDBNode (\ $chd , \ $deLe , \ $c ); 602 lf :: `updeLdedNode (\ $ , 2, \ $c ); 605 } } 607 eed funi $addMoveToLaChdOf (& $st ) 609 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 610 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 611 $st .= " 620 public  funi `moveToLaChdOf ( NodeObje \ $ , NodeObje \ $chd , PrݖPDO \ $c = nu ) 622 i(\ $ -> `gSceIdVue (!\ $chd ->getScopeIdValue()) { 623 throw w `PrݖExi ('Movingodescrossrees isot supported'); 625 \ $deLe = \ $ -> `gRightVue (); 626 lf :: `updeDBNode (\ $chd , \ $deLe , \ $c ); 629 lf :: `updeLdedNode (\ $ , 2, \ $c ); 632 } } 634 eed funi $addMoveToPvSiblgOf (& $st ) 636 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 637 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 638 $st .= " 647 public  funi `moveToPvSiblgOf ( NodeObje \ $de , NodeObje \ $node , PrݖPDO \ $c = nu ) 649 i(\ $de -> `gSceIdVue (!\ $node ->getScopeIdValue()) { 650 throw w `PrݖExi ('Movingodescrossrees isot supported'); 652 \ $deLe = \ $de -> `gLeVue (); 653 lf :: `updeDBNode (\ $node , \ $deLe , \ $c ); 656 lf :: `updeLdedNode (\ $de -> `vePt (), 2, \ $c ); 659 } } 661 eed funi $addMoveToNextSiblgOf (& $st ) 663 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 664 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 665 $st .= " 674 public  funi `moveToNextSiblgOf ( NodeObje \ $de , NodeObje \ $node , PrݖPDO \ $c = nu ) 676 i(\ $de -> `gSceIdVue (!\ $node ->getScopeIdValue()) { 677 throw w `PrݖExi ('Movingodescrossrees isot supported'); 679 \ $deLe = \ $de -> `gRightVue (); 680 \ $deLe = \$destLeft + 1; 681 lf :: `updeDBNode (\ $node , \ $deLe , \ $c ); 684 lf :: `updeLdedNode (\ $de -> `vePt (), 2, \ $c ); 687 } } 689 eed funi $addRrveFChd (& $st ) 691 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 692 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 693 $st .= " 701 public  funi `veFChd ( NodeObje \ $node , PrݖPDO \ $c = nu ) 703 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 704 \ $c -> `add ( lf :: LEFT_COL , \ $node -> `gLeVue (+ 1, Cr :: EQUAL ); 705 i( lf :: SCOPE_COL ) { 706 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 709  $Csame :: `doSeO (\ $c , \ $c ); 712 } } 714 eed funi $addRrveLaChd (& $st ) 716 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 717 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 718 $st .= " 726 public  funi `veLaChd ( NodeObje \ $node , PrݖPDO \ $c = nu ) 728 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 729 \ $c -> `add ( lf :: RIGHT_COL , \ $node -> `gRightVue (- 1, Cr :: EQUAL ); 730 i( lf :: SCOPE_COL ) { 731 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 734  $Csame :: `doSeO (\ $c , \ $c ); 737 } } 739 eed funi $addRrvePvSiblg (& $st ) 741 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 742 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 743 $st .= " 751 public  funi `vePvSiblg ( NodeObje \ $node , PrݖPDO \ $c = nu ) 753 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 754 \ $c -> `add ( lf :: RIGHT_COL , \ $node -> `gLeVue (- 1, Cr :: EQUAL ); 755 i( lf :: SCOPE_COL ) { 756 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 758 \ $evSiblg = $Csame :: `doSeO (\ $c , \ $c ); 759 \ $node -> `tPvSiblg (\ $evSiblg ); 760  \ $evSiblg ; 763 } } 765 eed funi $addRrveNextSiblg (& $st ) 767 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 768 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 769 $st .= " 777 public  funi `veNextSiblg ( NodeObje \ $node , PrݖPDO \ $c = nu ) 779 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 780 \ $c -> `add ( lf :: LEFT_COL , \ $node -> `gRightVue (+ 1, Cr :: EQUAL ); 781 i( lf :: SCOPE_COL ) { 782 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 784 \ $xtSiblg = $Csame :: `doSeO (\ $c , \ $c ); 785 \ $node -> `tNextSiblg (\ $xtSiblg ); 786  \ $xtSiblg ; 789 } } 791 eed funi $addRrveTe (& $st ) 793 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 794 $st .= " 800 public  funi `veTe (\ $sceId = nu , PrݖPDO \ $c =ull) 802 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 803 \ $c -> `addAsndgOrdByCumn ( lf :: LEFT_COL ); 804 i( lf :: SCOPE_COL ) { 805 \ $c -> `add ( lf :: SCOPE_COL , \ $sceId , Cr :: EQUAL ); 807 \ $mt = $Csame :: `doSeStmt (\ $c , \ $c ); 808 i( l !=(\ $row = \ $mt -> `tch ( PDO :: FETCH_NUM ))) { 809 \ $omCss = $Csame :: `gOMCss (\ $row , 0); 810 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 812 \ $key = ".$Csame.":: `gPrimyKeyHashFromRow (\ $row , 0); 813 i( nu ==(\ $ro = ".$Csame.":: `gInFromPo (\ $key ))) { 815 \ $ro -> `hyd (\ $row ); 818 \ $ro -> `tLev (0); 819 $Csame :: `hydDesndts (\ $ro , \ $mt ); 820 $Csame :: `addInToPo (\ $ro ); 822 \ $mt -> `oCurs (); 823  \ $ro ; 825  l ; 828 } } 830 eed funi $addRrveBnch (& $st ) 832 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 833 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 834 $st .= " 841 public  funi `veBnch ( NodeObje \ $node , PrݖPDO \ $c = nu ) 843  $Csame :: `veDesndts (\ $node , \ $c ); 846 } } 848 eed funi $addRrveChdn (& $st ) 850 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 851 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 852 $st .= " 859 public  funi `veChdn ( NodeObje \ $node , PrݖPDO \ $c = nu ) 861 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 862 \ $c -> `addAsndgOrdByCumn ( lf :: LEFT_COL ); 863 i( lf :: SCOPE_COL ) { 864 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 866 \ $c -> `add ( lf :: LEFT_COL , \ $node -> `gLeVue (), Cr :: GREATER_THAN ); 867 \ $c -> `addAnd ( lf :: RIGHT_COL , \ $node -> `gRightVue (), Cr :: LESS_THAN ); 868 \ $mt = $Csame :: `doSeStmt (\ $c , \ $c ); 870  $Csame :: `hydChdn (\ $node , \ $mt ); 873 } } 875 eed funi $addRrveDesndts (& $st ) 877 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 878 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 879 $st .= " 886 public  funi `veDesndts ( NodeObje \ $node , PrݖPDO \ $c = nu ) 888 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 889 \ $c -> `addAsndgOrdByCumn ( lf :: LEFT_COL ); 890 i( lf :: SCOPE_COL ) { 891 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 893 \ $c -> `add ( lf :: LEFT_COL , \ $node -> `gLeVue (), Cr :: GREATER_THAN ); 894 \ $c -> `addAnd ( lf :: RIGHT_COL , \ $node -> `gRightVue (), Cr :: LESS_THAN ); 895 \ $mt = $Csame :: `doSeStmt (\ $c , \ $c ); 897  $Csame :: `hydDesndts (\ $node , \ $mt ); 900 } } 902 eed funi $addRrveSiblgs (& $st ) 904 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 905 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 906 $st .= " 913 public  funi `veSiblgs ( NodeObje \ $node , PrݖPDO \ $c = nu ) 915 \ $ = $Csame :: `vePt (\ $node , \ $c ); 916 \ $siblgs = $Csame :: `veChdn (\ $ , \ $c ); 918  \ $siblgs ; 921 } } 923 eed funi $addRrvePt (& $st ) 925 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 926 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 927 $st .= " 935 public  funi `vePt ( NodeObje \ $node , PrݖPDO \ $c = nu ) 937 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 938 \ $c1 = \ $c -> `gNewCri ( lf :: LEFT_COL , \ $node -> `gLeVue (), Cr :: LESS_THAN ); 939 \ $c2 = \ $c -> `gNewCri ( lf :: RIGHT_COL , \ $node -> `gRightVue (), Cr :: GREATER_THAN ); 941 \ $c1 -> `addAnd (\ $c2 ); 943 \ $c -> `add (\ $c1 ); 944 i( lf :: SCOPE_COL ) { 945 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 947 \ $c -> `addAsndgOrdByCumn ( lf :: RIGHT_COL ); 949 \ $ = $Csame :: `doSeO (\ $c , \ $c ); 951 \ $node -> `tPtNode (\ $ ); 953  \ $ ; 956 } } 958 eed funi $addGLev (& $st ) 960 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 961 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 962 $st .= " 970 public  funi `gLev ( NodeObje \ $node , PrݖPDO \ $c = nu ) 972 i(\ $c == nu ) { 973 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 976 \ $sql = \"SELECT COUNT(*) ASevel FROM \" . self::TABLE_NAME . \" WHERE \" . self::LEFT_COL . \" < :left AND \" . self::RIGHT_COL . \" > :right\"; 978 i( lf :: SCOPE_COL ) { 979 \ $sql .' AND ' . lf :: SCOPE_COL . ' = :scope'; 982 \ $mt = \ $c -> `e (\ $sql ); 983 \ $mt -> `bdVue (':', \ $node -> `gLeVue (), PDO :: PARAM_INT ); 984 \ $mt -> `bdVue (':right', \ $node -> `gRightVue (), PDO :: PARAM_INT ); 985 i( lf :: SCOPE_COL ) { 986 \ $mt -> `bdVue (':sce', \ $node -> `gSceIdVue ()); 988 \ $mt -> `execu (); 989 \ $row = \ $mt -> `tch (); 990  \ $row ['level']; 993 } } 995 eed funi $addGNumbOfChdn (& $st ) 997 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 998 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 999 $st .= " 1007 public  funi `gNumbOfChdn ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1009 \ $chdn = $Csame :: `veChdn (\ $node ); 1010  `cou (\ $chdn ); 1013 } } 1015 eed funi $addGNumbOfDesndts (& $st ) 1017 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1018 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1019 $st .= " 1027 public  funi `gNumbOfDesndts ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1029 \ $right = \ $node -> `gRightVue (); 1030 \ $ = \ $node -> `gLeVue (); 1031 \ $num = (\ $right - \ $ - 1) / 2; 1032  \ $num ; 1035 } } 1037 eed funi $addGPh (& $st ) 1039 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1040 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1041 $st .= " 1049 public  funi `gPh ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1051 \ $ = w `Cr (); 1052 i( lf :: SCOPE_COL ) { 1053 \ $ -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 1055 \ $ -> `add ( lf :: LEFT_COL , \ $node -> `gLeVue (), Cr :: LESS_EQUAL ); 1056 \ $ -> `add ( lf :: RIGHT_COL , \ $node -> `gRightVue (), Cr :: GREATER_EQUAL ); 1057 \ $ -> `addAsndgOrdByCumn ( lf :: LEFT_COL ); 1059  lf :: `doSe (\ $ , \ $c ); 1062 } } 1064 eed funi $addIsVid (& $st ) 1066 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1067 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1068 $st .= " 1075 public  funi `isVid ( NodeObje \ $node = nu ) 1077 i( `is_obje (\ $node && \$node-> `gRightVue (> \$node-> `gLeVue ()) { 1078  ue ; 1080  l ; 1084 } } 1086 eed funi $addIsRo (& $st ) 1088 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1089 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1090 $st .= " 1097 public  funi `isRo ( NodeObje \ $node ) 1099  (\ $node -> `gLeVue ()==1); 1102 } } 1104 eed funi $addIsLf (& $st ) 1106 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1107 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1108 $st .= " 1115 public  funi `isLf ( NodeObje \ $node ) 1117  ((\ $node -> `gRightVue ()-\$node-> `gLeVue ())==1); 1120 } } 1122 eed funi $addIsChdOf (& $st ) 1124 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1125 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1126 $st .= " 1134 public  funi `isChdOf ( NodeObje \ $chd , NodeObje \ $ ) 1136  ((\ $chd -> `gLeVue ()>\ $ ->gLeVue()&& (\$chd-> `gRightVue ()<\$parent->getRightValue())); 1139 } } 1141 eed funi $addIsChdOfOrSiblgTo (& $st ) 1143 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1144 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1145 $st .= " 1154 public  funi `isChdOfOrSiblgTo ( NodeObje \ $node1 , NodeObje \ $node2 ) 1156  ((\ $node1 -> `gLeVue ()>=\ $node2 ->gLeVue() `d (\$node1-> `gRightVue ()<=\$node2->getRightValue())); 1159 } } 1161 eed funi $addIsEquTo (& $st ) 1163 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1164 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1165 $st .= " 1173 public  funi `isEquTo ( NodeObje \ $node1 , NodeObje \ $node2 ) 1175 \ $so = ue ; 1176 i( lf :: SCOPE_COL ) { 1177 \ $so = (\ $node1 -> `gSceIdVue (==\ $node2 ->getScopeIdValue()); 1179  \ $node1 -> `gLeVue (=\ $node2 ->gLeVue(&& \$node1-> `gRightVue (=\$node2->gRightVue(&& \ $so ; 1182 } } 1184 eed funi $addHasPt (& $st ) 1186 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1187 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1188 $st .= " 1196 public  funi `hasPt ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1198  $Csame :: `isVid ($Csame:: `vePt (\ $node , \ $c )); 1201 } } 1203 eed funi $addHasPvSiblg (& $st ) 1205 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1206 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1207 $st .= " 1215 public  funi `hasPvSiblg ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1217  $Csame :: `isVid ($Csame:: `vePvSiblg (\ $node , \ $c )); 1220 } } 1222 eed funi $addHasNextSiblg (& $st ) 1224 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1225 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1226 $st .= " 1234 public  funi `hasNextSiblg ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1236  $Csame :: `isVid ($Csame:: `veNextSiblg (\ $node , \ $c )); 1239 } } 1241 eed funi $addHasChdn (& $st ) 1243 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1244 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1245 $st .= " 1252 public  funi `hasChdn ( NodeObje \ $node ) 1254  ((\ $node -> `gRightVue ()-\$node-> `gLeVue ())>1); 1257 } } 1259 eed funi $addDeDesndts (& $st ) 1261 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1262 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1263 $st .= " 1270 public  funi `deDesndts ( NodeObje \ $node , PrݖPDO \ $c = nu ) 1272 \ $ = \ $node -> `gLeVue (); 1273 \ $right = \ $node -> `gRightVue (); 1275 \ $c = w `Cr ( $Csame :: DATABASE_NAME ); 1276 \ $c1 = \ $c -> `gNewCri ( lf :: LEFT_COL , \ $ , Cr :: GREATER_THAN ); 1277 \ $c2 = \ $c -> `gNewCri ( lf :: RIGHT_COL , \ $right , Cr :: LESS_THAN ); 1279 \ $c1 -> `addAnd (\ $c2 ); 1281 \ $c -> `add (\ $c1 ); 1282 i( lf :: SCOPE_COL ) { 1283 \ $c -> `add ( lf :: SCOPE_COL , \ $node -> `gSceIdVue (), Cr :: EQUAL ); 1285 \ $c -> `addAsndgOrdByCumn ( lf :: RIGHT_COL ); 1287 \ $su = $Csame :: `doDe (\ $c , \ $c ); 1289 lf :: `shiRLVues (\ $right + 1, \ $ - \$righ-1, \ $c , \ $node -> `gSceIdVue ()); 1291  \ $su ; 1294 } } 1296 eed funi $addGNode (& $st ) 1298 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1299 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1300 $st .= " 1308 public  funi `gNode (\ $node , PrݖPDO \ $c = nu ) 1310 i( `is_obje (\ $node )) { 1311  \ $node ; 1313 \ $obje = $Csame :: `veByPK (\ $node , \ $c ); 1314 \ $n = `is_obje (\ $obje ? \$obje : l ; 1315  \ $n ; 1319 } } 1321 eed funi $addHydDesndts (& $st ) 1323 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1324 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1325 $b = $this -> `gTab (); 1326 $st .= " 1332 eed  funi `hydDesndts ( NodeObje \ $node , PDOSmt \ $mt ) 1334 \ $desndts = `y (); 1335 \ $chdn = `y (); 1336 \ $evSiblg = nu ; 1339 i(! $b -> `gChdnCumn ()) { 1340 $st .= " 1342 \ $s = $Csame :: `gOMCss (); 1343 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 1347 $st .= " 1348 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 1349 \ $key = ".$Csame.":: `gPrimyKeyHashFromRow (\ $row , 0); 1350 i( nu ==(\ $chd = ".$Csame.":: `gInFromPo (\ $key ))) {"; 1352 i( $b -> `gChdnCumn ()) { 1353 $st .= " 1355 \ $s = ".$Csame.":: `gOMCss (\ $row , 0); 1356 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 1360 $st .= " 1362 \ $chd -> `hyd (\ $row ); 1365 \ $chd -> `tLev (\ $node -> `gLev () + 1); 1366 \ $chd -> `tPtNode (\ $node ); 1367 i(! `emy (\ $evSiblg )) { 1368 \ $chd -> `tPvSiblg (\ $evSiblg ); 1369 \ $evSiblg -> `tNextSiblg (\ $chd ); 1372 \ $desndts [] = \ $chd ; 1374 i(\ $chd -> `hasChdn ()) { 1375 \ $desndts = `y_mge (\$desndts, $Csame :: `hydDesndts (\ $chd , \ $mt )); 1377 \ $chd -> `tChdn ( `y ()); 1380 \ $chdn [] = \ $chd ; 1381 \ $evSiblg = \ $chd ; 1383 $Csame :: `addInToPo (\ $chd ); 1384 i(\ $chd -> `gRightVue (+ 1 =\ $node ->getRightValue()) { 1385 \ $chd -> `tNextSiblg ( nu ); 1389 \ $node -> `tChdn (\ $chdn ); 1390  \ $desndts ; 1393 } } 1395 eed funi $addHydChdn (& $st ) 1397 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1398 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1399 $b = $this -> `gTab (); 1400 $st .= " 1406 eed  funi `hydChdn ( NodeObje \ $node , PDOSmt \ $mt ) 1408 \ $chdn = `y (); 1409 \ $evRight = 0; 1412 i(! $b -> `gChdnCumn ()) { 1413 $st .= " 1415 \ $s = $Csame :: `gOMCss (); 1416 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 1420 $st .= " 1421 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 1422 \ $key = ".$Csame.":: `gPrimyKeyHashFromRow (\ $row , 0); 1423 i( nu ==(\ $chd = ".$Csame.":: `gInFromPo (\ $key ))) {"; 1425 i( $b -> `gChdnCumn ()) { 1426 $st .= " 1428 \ $s = ".$Csame.":: `gOMCss (\ $row , 0); 1429 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 1433 $st .= " 1435 \ $chd -> `hyd (\ $row ); 1438 \ $chd -> `tLev (\ $node -> `gLev () + 1); 1440 i(\ $chd -> `gRightVue (> \ $evRight ) { 1441 \ $chdn [] = \ $chd ; 1442 \ $evRight = \ $chd -> `gRightVue (); 1445 i(\ $chd -> `gRightVue (+ 1 =\ $node ->getRightValue()) { 1449 \ $node -> `tChdn (\ $chdn ); 1450  \ $chdn ; 1453 } } 1460 eed funi $addShiRPt (& $st ) 1462 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1463 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1464 $st .= " 1474 eed  funi `shiRPt ( NodeObje \ $node , \ $d , PrݖPDO \ $c = nu ) 1476 i(\ $node -> `hasPt (\ $c )) { 1477 \ $ = \ $node -> `vePt (); 1478 lf :: `shiRPt (\ $ , \ $d , \ $c ); 1480 \ $node -> `tRightVue (\$node-> `gRightVue (+ \ $d ); 1483 } } 1485 eed funi $addUpdeLdedNode (& $st ) 1487 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1488 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1489 $b = $this -> `gTab (); 1491 $st .= " 1499 eed  funi `updeLdedNode ( NodeObje \ $node , \ $d , PrݖPDO \ $c = nu ) 1501 i( Prݖ :: `isInPoޚgEbd ()) { 1502 \ $keys = `y (); 1503 `fܗch ( lf ::\ $s as \ $obj ) { 1504 \ $keys [] = \ $obj -> `gPrimyKey (); 1507 i(! `emy (\ $keys )) { 1510 \ $ = w `Cr ( lf :: DATABASE_NAME );"; 1511 i( `cou ( $b -> `gPrimyKey ()) === 1) { 1512 $pkey = $b -> `gPrimyKey (); 1513 $c = `y_shi ( $pkey ); 1514 $st .= " 1515 \ $ -> `add (".$this->gCumnCڡt($c).", \ $keys , Cr :: IN ); 1518 $flds = `y (); 1519 `fܗch ( $b -> `gPrimyKey ( as $k => $c ) { 1520 $flds [] = $this -> `gCumnCڡt ( $c ); 1522 $st .= " 1525 `fܗch (\ $keys as \ $vues ) { 1527 \ $ = \ $ -> `gNewCri (" . $flds[0] . ", \ $vues [0]);"; 1528 `unt ( $flds [0]); 1529 `fܗch ( $flds as $k => $c ) { 1530 $st .= " 1533 \ $xt = \ $ -> `gNewCri (" . $c . ", \ $vues [ $k ]); 1535 \ $ -> `addAnd (\ $xt );"; 1537 $st .= " 1540 \ $ -> `addOr (\ $ ); 1544 $st .= " 1545 \ $mt = $Csame :: `doSeStmt (\ $ , \ $c ); 1546 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 1547 \ $key = $Csame :: `gPrimyKeyHashFromRow (\ $row , 0); 1548 i( nu !=(\ $obje = $Csame :: `gInFromPo (\ $key ))) {"; 1549 $n = 0; 1550 `fܗch ( $b -> `gCumns ( as $c ) { 1551 i( $c -> `isNeedSLeKey ()) { 1552 $st .= " 1553 \ $obje -> `tLeVue (\ $row [ $n ]);"; 1554 } i( $c -> `isNeedSRightKey ()) { 1555 $st .= " 1556 \ $obje -> `tRightVue (\ $row [ $n ]);"; 1558 $n ++; 1560 $st .= " 1563 \ $mt -> `oCurs (); 1568 } } 1570 eed funi $addUpdeDBNode (& $st ) 1572 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 1573 $st .= " 1581 eed  funi `updeDBNode ( NodeObje \ $node , \ $deLe , PrݖPDO \ $c = nu ) 1583 \ $ = \ $node -> `gLeVue (); 1584 \ $right = \ $node -> `gRightVue (); 1586 \ $Size = \ $right - \ $ +1; 1588 lf :: `shiRLVues (\ $deLe , \ $Size , \ $c , \ $node -> `gSceIdVue ()); 1590 i(\ $ >\ $deLe ) { 1591 \ $ +\ $Size ; 1592 \ $right +\ $Size ; 1596 lf :: `shiRLRge (\ $ , \ $right , \ $deLe - \$, \ $c , \ $node -> `gSceIdVue ()); 1599 lf :: `shiRLVues (\ $right + 1, -\ $Size , \ $c , \ $node -> `gSceIdVue ()); 1602 } } 1604 eed funi $addShiRLVues (& $st ) 1606 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1607 $st .= " 1615 eed  funi `shiRLVues (\ $f , \ $d , PrݖPDO \ $c = nu , \ $sceId =ull) 1617 i(\ $c == nu ) { 1618 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1621 \ $UpdeC = lf :: LEFT_COL ; 1622 \ $rightUpdeC = lf :: RIGHT_COL ; 1625 \ $wheCr = w `Cr ( $Csame :: DATABASE_NAME ); 1626 \ $i = \ $wheCr -> `gNewCri ( 1627 lf :: LEFT_COL , 1628 \ $f , 1629 Cr :: GREATER_EQUAL ); 1631 i( lf :: SCOPE_COL ) { 1632 \ $i -> `addAnd ( 1633 \ $wheCr -> `gNewCri ( 1634 lf :: SCOPE_COL , 1635 \ $sceId , 1636 Cr :: EQUAL )); 1638 \ $wheCr -> `add (\ $i ); 1640 \ $vuesCr = w `Cr ( $Csame :: DATABASE_NAME ); 1641 \ $vuesCr -> `add ( 1642 lf :: LEFT_COL , 1643 `y ('w' => \ $UpdeC . ' + ?', 'vue' => \ $d ), 1644 Cr :: CUSTOM_EQUAL ); 1646 { $this -> baPrCsame }:: `doUpde (\ $wheCr , \ $vuesCr , \ $c ); 1649 \ $wheCr = w `Cr ( $Csame :: DATABASE_NAME ); 1650 \ $i = \ $wheCr -> `gNewCri ( 1651 lf :: RIGHT_COL , 1652 \ $f , 1653 Cr :: GREATER_EQUAL ); 1655 i( lf :: SCOPE_COL ) { 1656 \ $i -> `addAnd ( 1657 \ $wheCr -> `gNewCri ( 1658 lf :: SCOPE_COL , 1659 \ $sceId , 1660 Cr :: EQUAL )); 1662 \ $wheCr -> `add (\ $i ); 1664 \ $vuesCr = w `Cr ( $Csame :: DATABASE_NAME ); 1665 \ $vuesCr -> `add ( 1666 lf :: RIGHT_COL , 1667 `y ('w' => \ $rightUpdeC . ' + ?', 'vue' => \ $d ), 1668 Cr :: CUSTOM_EQUAL ); 1670 { $this -> baPrCsame }:: `doUpde (\ $wheCr , \ $vuesCr , \ $c ); 1673 } } 1675 eed funi $addShiRLRge (& $st ) 1677 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1678 $st .= " 1689 eed  funi `shiRLRge (\ $f , \ $ϡ , \ $d , PrݖPDO \ $c = nu , \ $sceId =ull) 1691 i(\ $c == nu ) { 1692 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1695 \ $UpdeC = `subr ( lf :: LEFT_COL , `pos (self::LEFT_COL, '.') + 1); 1696 \ $rightUpdeC = `subr ( lf :: RIGHT_COL , `pos (self::RIGHT_COL, '.') + 1); 1699 \ $wheCr = w `Cr ( $Csame :: DATABASE_NAME ); 1700 \ $i = \ $wheCr -> `gNewCri ( lf :: LEFT_COL , \ $f , Cr :: GREATER_EQUAL ); 1701 \ $i -> `addAnd (\ $wheCr -> `gNewCri ( lf :: LEFT_COL , \ $ϡ , Cr :: LESS_EQUAL )); 1702 i( lf :: SCOPE_COL ) { 1703 \ $i -> `addAnd (\ $wheCr -> `gNewCri ( lf :: SCOPE_COL , \ $sceId , Cr :: EQUAL )); 1705 \ $wheCr -> `add (\ $i ); 1707 \ $vuesCr = w `Cr ( $Csame :: DATABASE_NAME ); 1708 \ $vuesCr -> `add ( 1709 lf :: LEFT_COL , 1710 `y ('w' => \ $UpdeC . ' + ?', 'vue' => \ $d ), 1711 Cr :: CUSTOM_EQUAL ); 1713 { $this -> baPrCsame }:: `doUpde (\ $wheCr , \ $vuesCr , \ $c ); 1716 \ $wheCr = w `Cr ( $Csame :: DATABASE_NAME ); 1717 \ $i = \ $wheCr -> `gNewCri ( lf :: RIGHT_COL , \ $f , Cr :: GREATER_EQUAL ); 1718 \ $i -> `addAnd (\ $wheCr -> `gNewCri ( lf :: RIGHT_COL , \ $ϡ , Cr :: LESS_EQUAL )); 1719 i( lf :: SCOPE_COL ) { 1720 \ $i -> `addAnd (\ $wheCr -> `gNewCri ( lf :: SCOPE_COL , \ $sceId , Cr :: EQUAL )); 1722 \ $wheCr -> `add (\ $i ); 1724 \ $vuesCr = w `Cr ( $Csame :: DATABASE_NAME ); 1725 \ $vuesCr -> `add ( 1726 lf :: RIGHT_COL , 1727 `y ('w' => \ $rightUpdeC . ' + ?', 'vue' => \ $d ), 1728 Cr :: CUSTOM_EQUAL ); 1730 { $this -> baPrCsame }:: `doUpde (\ $wheCr , \ $vuesCr , \ $c ); 1732  `y ('' => \ $f + \ $d , 'right' => \ $ϡ + \$delta); 1735 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5NodeBuilder.php 1 `gBudPrݔty ('baPfix'. $this-> `gStubNodeBud ()-> `gUŻfixedCsame (); 55 } } 61 eed funi $addInudes (& $st ) 63 } } 69 eed funi $addCssOn (& $st ) 72 $b = $this -> `gTab (); 73 $bName = $b -> `gName (); 74 $bDesc = $b -> `gDesti (); 76 $st .= " 93 ab ass ".$this->gCsame()." imemts ItAggge { 102 eed funi `addCssBody (& $st ) 104 $b = $this -> `gTab (); 106 $this -> `addAribus ( $st ); 108 $this -> `addCڡru ( $st ); 110 $this -> `addClOvld ( $st ); 111 $this -> `addSItOis ( $st ); 112 $this -> `addGIt ( $st ); 114 $this -> `addGNodeObj ( $st ); 115 $this -> `addGNodePh ( $st ); 116 $this -> `addGNodeIndex ( $st ); 117 $this -> `addGNodeLev ( $st ); 119 $this -> `addHasChdNode ( $st ); 120 $this -> `addGChdNodeAt ( $st ); 121 $this -> `addGFChdNode ( $st ); 122 $this -> `addGLaChdNode ( $st ); 123 $this -> `addGSiblgNode ( $st ); 125 $this -> `addGPtNode ( $st ); 126 $this -> `addGAns ( $st ); 127 $this -> `addIsRoNode ( $st ); 129 $this -> `addSNew ( $st ); 130 $this -> `addSDed ( $st ); 131 $this -> `addAddChdNode ( $st ); 132 $this -> `addMoveChdNode ( $st ); 133 $this -> `addSave ( $st ); 135 $this -> `addDe ( $st ); 136 $this -> `addEqus ( $st ); 138 $this -> `addAachPtNode ( $st ); 139 $this -> `addAachChdNode ( $st ); 140 $this -> `addDachPtNode ( $st ); 141 $this -> `addDachChdNode ( $st ); 142 $this -> `addShiChdNodes ( $st ); 143 $this -> `addInNewChdNode ( $st ); 145 $this -> `addAdjuStus ( $st ); 146 $this -> `addAdjuNodePh ( $st ); 154 eed funi `addCssClo (& $st ) 156 $st .= " 159 } } 166 eed funi $addAribus (& $st ) 168 $st .= " 172 eed \ $obj = nu ; 178 eed \ $Node = nu ; 184 eed \ $chdNodes = `y (); 186 } } 192 eed funi $addCڡru (& $st ) 194 $st .= " 200 public funi `__cڡru (\ $obj = nu ) 202 i(\ $obj != nu ) { 203 \ $this -> obj = \ $obj ; 205 \ $tNodePh = 't' . ".$this->gStubNodePrBud()->gCsame().":: NPATH_PHPNAME ; 206 \ $this -> obj = w ".$this->getStubObjectBuilder()->getClassname()."(); 207 \ $this -> obj ->\ `$tNodePh ('0'); 211 } } 215 eed funi $addClOvld (& $st ) 217 $st .= " 226 public funi `__ (\ $me , \ $rms ) 228 i( `mhod_exis (\ $this -> obj , \ $me )) 229  `_ur_func_y ( `y (\ $this -> obj , \ $me ), \ $rms ); 231 throw w `PrݖExi ('get methodot defined: \$name'); 234 } } 236 eed funi $addSItOis (& $st ) 238 $st .= " 254 public funi `tItOis (\ $ty , \ $ts ) 256 \ $this -> Ty = \ $ty ; 257 \ $this -> Os = \ $ts ; 260 } } 262 eed funi $addGIt (& $st ) 264 $st .= " 272 public funi `gIt (\ $ty = nu , \ $ts =ull) 274 i(\ $ty == nu ) 275 \ $ty = ( `ist (\ $this -> Ty ) ? \$this->itType : 'Pre'); 277 i(\ $ts == nu ) 278 \ $ts = ( `ist (\ $this -> Os ? \$this->O: `y ()); 280 \ $ass = `ucf ( `ow (\ $ty )) . 'OrderNodeIterator'; 282 `que_ ('ݖ/om/' . \ $ass . '.php'); 283  w \ `$ass (\ $this , \ $ts ); 286 } } 288 eed funi $addGNodeObj (& $st ) 290 $st .= " 295 public funi `gNodeObj () 297  \ $this -> obj ; 300 } } 302 eed funi $addGNodePh (& $st ) 304 $st .= " 309 public funi `gNodePh () 311 \ $gNodePh = 'g' . ".$this->gStubNodePrBud()->gCsame().":: NPATH_PHPNAME ; 312  \ $this -> obj ->\ `$gNodePh (); 315 } } 317 eed funi $addGNodeIndex (& $st ) 319 $st .= " 324 public funi `gNodeIndex () 326 \ $ũh =& \ $this -> `gNodePh (); 327 \ $p = `pos (\ $ũh , ".$this->gStubNodePrBud()->gCsame().":: NPATH_SEP ); 328  ((\ $p != l ? `subr (\ $ũh , \$sep+1) : \$npath); 331 } } 333 eed funi $addGNodeLev (& $st ) 335 $st .= " 340 public funi `gNodeLev () 342  ( `subr_cou (\ $this -> `gNodePh (), ".$this->gStubNodePrBud()->gCsame().":: NPATH_SEP ) + 1); 345 } } 347 eed funi $addHasChdNode (& $st ) 349 $st .= " 359 public funi `hasChdNode (\ $node , \ $ri = l , \ $cur = false) 361 `fܗch (\ $this -> chdNodes as \ $chdNode ) 363 i(\ $chdNode -> `equs (\ $node , \ $ri )) 364  ue ; 366 i(\ $cur && \ $chdNode -> `hasChdNode (\ $node , \$recurse)) 367  ue ; 370  l ; 373 } } 375 eed funi $addGChdNodeAt (& $st ) 377 $st .= " 387 public funi `gChdNodeAt (\ $i , \ $quydb = l , PrݖPDO \ $c = nu ) 389 i(\ $quydb && 390 !\ $this -> obj -> `isNew () && 391 !\ $this -> obj -> `isDed () && 392 ! `ist (\ $this -> chdNodes [\ $i ])) 394 \ $ = w `Cr (".$this->gStubPrBud()->gCsame().":: DATABASE_NAME ); 395 \ $ -> `add (".$this->gStubNodePrBud()->gCsame().":: NPATH_COLNAME , \ $this -> `gNodePh (. ".$this->gStubNodePrBud()->gCsame().":: NPATH_SEP . \ $i , Cr :: EQUAL ); 397 i(\ $chdObj = ".$this->gStubPrBud()->gCsame().":: `doSeO (\ $ , \ $c )) 398 \ $this -> `chChdNode ( w ".$this->gStubNodeBud()->gCsame()."(\ $chdObj )); 401  ( `ist (\ $this -> chdNodes [\ $i ]? \$this->chdNodes[\$i] : nu ); 404 } } 406 eed funi $addGFChdNode (& $st ) 408 $st .= " 416 public funi `gFChdNode (\ $quydb = l , PrݖPDO \ $c = nu ) 418  \ $this -> `gChdNodeAt (1, \ $quydb , \ $c ); 421 } } 423 eed funi $addGLaChdNode (& $st ) 425 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 426 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 428 $st .= " 435 public funi `gLaChdNode (\ $quydb = l , PrݖPDO \ $c = nu ) 437 \ $ϡNode = nu ; 439 i(\ $this -> obj -> `isNew (|| \$this->obj-> `isDed ()) 441 `d (\ $this -> chdNodes ); 442 \ $ϡNode = ( `cou (\ $this -> chdNodes ? `cut (\$this->chdNodes: nu ); 444 i(\ $quydb ) 446 \ $db = Prݖ :: `gDb ( $Csame :: DATABASE_NAME ); 447 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 448 \ $ -> `add ( $nodePrCsame :: NPATH_COLNAME , \ $this -> `gNodePh (. $nodePrCsame:: NPATH_SEP . '%', Cr :: LIKE ); 449 \ $ -> `addAnd ( $nodePrCsame :: NPATH_COLNAME , \ $this -> `gNodePh (. $nodePrCsame:: NPATH_SEP . '%' . $nodePrCsame::NPATH_SEP . '%', Cr :: NOT_LIKE ); 450 $Csame :: `addSeCumns (\ $ ); 451 \ $ -> `addAsCumn ('ũhn', \ $db -> `rLgth ( $nodePrCsame :: NPATH_COLNAME )); 452 \ $ -> `addDesndgOrdByCumn ('npathlen'); 453 \ $ -> `addDesndgOrdByCumn ( $nodePrCsame :: NPATH_COLNAME ); 455 \ $ϡObj = $Csame :: `doSeO (\ $ , \ $c ); 457 i(\ $ϡObj != nu ) 459 \ $ϡNode = w ".$this->gStubNodeBud()->gCsame()."(\ $ϡObj ); 461 `d (\ $this -> chdNodes ); 462 \ $dNode = ( `cou (\ $this -> chdNodes ? `cut (\$this->chdNodes: nu ); 464 i(\ $dNode ) 466 i(\ $dNode -> `gNodePh (> \ $ϡNode ->getNodePath()) 467 throw w `PrݖExi ('Cached childode inconsistent with database.'); 468 i(\ $dNode -> `gNodePh (=\ $ϡNode ->getNodePath()) 469 \ $ϡNode = \ $dNode ; 471 \ $this -> `chChdNode (\ $ϡNode ); 475 \ $this -> `chChdNode (\ $ϡNode ); 480  \ $ϡNode ; 483 } } 485 eed funi $addGSiblgNode (& $st ) 487 $st .= " 497 public funi `gSiblgNode (\ $ev = l , \ $quydb = f, PrݖPDO \ $c = nu ) 499 \ $nidx = \ $this -> `gNodeIndex (); 501 i(\ $this -> `isRoNode ()) 503  nu ; 505 i(\ $ev ) 507 i(\ $nidx > 1 && (\ $Node = \ $this -> `gPtNode (\ $quydb , \ $c ))) 508  \ $Node -> `gChdNodeAt (\ $nidx -1, \ $quydb , \ $c ); 510  nu ; 514 i(\ $Node = \ $this -> `gPtNode (\ $quydb , \ $c )) 515  \ $Node -> `gChdNodeAt (\ $nidx +1, \ $quydb , \ $c ); 517  nu ; 521 } } 523 eed funi $addGPtNode (& $st ) 525 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 526 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 528 $st .= " 536 public funi `gPtNode (\ $quydb = ue , PrݖPDO \ $c = nu ) 538 i(\ $quydb && 539 \ $this -> Node == nu && 540 !\ $this -> `isRoNode () && 541 !\ $this -> obj -> `isNew () && 542 !\ $this -> obj -> `isDed ()) 544 \ $ũh =& \ $this -> `gNodePh (); 545 \ $p = `pos (\ $ũh , $nodePrCsame :: NPATH_SEP ); 546 \ $h = `subr (\ $ũh , 0, \ $p ); 548 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 549 \ $ -> `add ( $nodePrCsame :: NPATH_COLNAME , \ $h , Cr :: EQUAL ); 551 i(\ $Obj = $Csame :: `doSeO (\ $ , \ $c )) 553 \ $Node = w ".$this->gStubNodeBud()->gCsame()."(\ $Obj ); 554 \ $Node -> `chChdNode (\ $this ); 558  \ $this -> Node ; 561 } } 563 eed funi $addGAns (& $st ) 565 $st .= " 574 public funi `gAns (\ $quydb = l , PrݖPDO \ $c = nu ) 576 \ $s = `y (); 577 \ $Node = \ $this ; 579 \ $Node = \$Node-> `gPtNode (\ $quydb , \ $c )) 580 `y_unshi (\ $s , \ $Node ); 582  \ $s ; 585 } } 587 eed funi $addIsRoNode (& $st ) 589 $st .= " 594 public funi `isRoNode () 596  (\ $this -> `gNodePh () === '1'); 599 } } 601 eed funi $addSNew (& $st ) 603 $st .= " 612 public funi `tNew (\ $b ) 614 \ $this -> `adjuStus ('w', \ $b ); 615 \ $this -> `adjuNodePh (\$this-> `gNodePh (), '0'); 618 } } 620 eed funi $addSDed (& $st ) 622 $st .= " 629 public funi `tDed (\ $b ) 631 \ $this -> `adjuStus ('ded', \ $b ); 634 } } 636 eed funi $addAddChdNode (& $st ) 638 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 639 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 641 $st .= " 652 public funi `addChdNode (\ $node , \ $befeNode = nu , PrݖPDO \ $c =ull) 654 i(\ $this -> obj -> `isNew (&& !\ $node ->obj->isNew()) 655 throw w `PrݖExi ('Cannotdd storedodesoewode.'); 657 i(\ $this -> obj -> `isDed (|| \ $node ->obj->isDeleted()) 658 throw w `PrݖExi ('Cannotdd children in deleted state.'); 660 i(\ $this -> `hasChdNode (\ $node )) 661 throw w `PrݖExi ('Node islready child ofhisode.'); 663 i(\ $befeNode && !\ $this -> `hasChdNode (\$beforeNode)) 664 throw w `PrݖExi ('Invalid beforeNode.'); 666 i(\ $c == nu ) 667 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 669 i(!\ $this -> obj -> `isNew ()\ $c -> `begTni (); 671 y { 672 i(\ $befeNode ) 675 \ $chdIdx = \ $befeNode -> `gNodeIndex (); 676 \ $this -> `shiChdNodes (1, \ $befeNode -> `gNodeIndex (), \ $c ); 681 i(\ $ϡNode = \ $this -> `gLaChdNode ( ue , \ $c )) 682 \ $chdIdx = \ $ϡNode -> `gNodeIndex ()+1; 684 \ $chdIdx = 1; 689 i(!\ $this -> obj -> `isNew (&& \ $node ->obj->isNew()) 691 \ $this -> `NewChdNode (\ $node , \ $chdIdx , \ $c ); 698 \ $cPh = \ $node -> `gNodePh (); 699 \ $dPh = \ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . \ $chdIdx ; 701 i(!\ $node -> obj -> `isNew ()) 703 $nodePrCsame :: `moveNodeSubTe (\ $cPh , \ $dPh , \ $c ); 704 \ $Node = \ $node -> `gPtNode ( ue , \ $c ); 708 \ $Node = \ $node -> `gPtNode (); 711 i(\ $Node ) 713 \ $Node -> `dachChdNode (\ $node ); 714 \ $Node -> `shiChdNodes (-1, \ $node -> `gNodeIndex ()+1, \ $c ); 717 \ $node -> `adjuNodePh (\ $cPh , \ $dPh ); 720 i(!\ $this -> obj -> `isNew ()\ $c -> `comm (); 722 \ $this -> `chChdNode (\ $node ); 724 } `tch ( SQLExi \ $e ) { 725 i(!\ $this -> obj -> `isNew ()\ $c -> `rlBack (); 726 throw w `PrݖExi (\ $e ); 730 } } 732 eed funi $addMoveChdNode (& $st ) 734 $st .= " 743 public funi `moveChdNode (\ $node , \ $dei , PrݖPDO \ $c = nu ) 745 throw w `PrݖExi ('moveChildNode()ot implemented yet.'); 748 } } 751 eed funi $addSave (& $st ) 754 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 755 $st .= " 762 public funi `ve (\ $cur = l , PrݖPDO \ $c = nu ) 764 i(\ $this -> obj -> `isDed ()) 765 throw w `PrݖExi ('Cannot save deletedode.'); 767 i( `subr (\ $this -> `gNodePh (), 0, 1) == '0') 768 throw w `PrݖExi ('Cannot save unattachedode.'); 770 i(\ $this -> obj -> `isCumnModifd ( $nodePrCsame :: NPATH_COLNAME )) 771 throw w `PrݖExi ('Cannot save manually modifiedodeath.'); 773 \ $this -> obj -> `ve (\ $c ); 775 i(\ $cur ) 777 `fܗch (\ $this -> chdNodes as \ $chdNode ) 778 \ $chdNode -> `ve (\ $cur , \ $c ); 782 } } 785 eed funi $addDe (& $st ) 787 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 788 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 789 $st .= " 797 public funi `de ( PrݖPDO \ $c = nu ) 799 i(\ $this -> obj -> `isDed ()) { 800 throw w `PrݖExi ('Thisode haslready been deleted.'); 803 i(\ $c == nu ) { 804 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 807 i(!\ $this -> obj -> `isNew ()) { 808 $nodePrCsame :: `deNodeSubTe (\ $this -> `gNodePh (), \ $c ); 811 i(\ $Node = \ $this -> `gPtNode ( ue , \ $c )) { 812 \ $Node -> `dachChdNode (\ $this ); 813 \ $Node -> `shiChdNodes (-1, \ $this -> `gNodeIndex ()+1, \ $c ); 816 \ $this -> `tDed ( ue ); 819 } } 821 eed funi $addEqus (& $st ) 823 $nodeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 824 $st .= " 834 public funi `equs (\ $node , \ $ri = l ) 836 i(\ $ri ) { 837  (\ $this -> obj ==\ $node ->obj); 839  (\ $this -> obj =\ $node ->obj); 843 } } 845 eed funi $addAachPtNode (& $st ) 847 $nodeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 848 $st .= " 858 public funi `chPtNode (\ $node ) 860 i(!\ $node -> `hasChdNode (\ $this , ue )) 861 throw w `PrݖExi ('Failedottacharentode foron-child.'); 863 \ $this -> Node = \ $node ; 866 } } 869 eed funi $addAachChdNode (& $st ) 871 $nodeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 872 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 873 $st .= " 883 public funi `chChdNode (\ $node ) 885 i(\ $this -> `hasChdNode (\ $node )) 886 throw w `PrݖExi ('Failedottach childode. Nodelreadyxists.'); 888 i(\ $this -> obj -> `isDed (|| \ $node ->obj->isDeleted()) 889 throw w `PrݖExi ('Failedottachode in deleted state.'); 891 i(\ $this -> obj -> `isNew (&& !\ $node ->obj->isNew()) 892 throw w `PrݖExi ('Failedottachon-new childoewode.'); 894 i(!\ $this -> obj -> `isNew (&& \ $node ->obj->isNew()) 895 throw w `PrݖExi ('Failedottachew childoon-newode.'); 897 i(\ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . \ $node -> `gNodeIndex () != \$node->getNodePath()) 898 throw w `PrݖExi ('Failedottach childode. Nodeath mismatch.'); 900 \ $this -> chdNodes [\ $node -> `gNodeIndex ()] = \$node; 901 `kst (\ $this -> chdNodes ); 903 \ $node -> `chPtNode (\ $this ); 906 } } 908 eed funi $addDachPtNode (& $st ) 910 $nodeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 911 $st .= " 919 public funi `dachPtNode (\ $node ) 921 i(!\ $node -> `hasChdNode (\ $this , ue )) 922 throw w `PrݖExi ('Failedo detacharentode fromon-child.'); 924 `unt (\ $node -> chdNodes [\ $this -> `gNodeIndex ()]); 925 \ $this -> Node = nu ; 928 } } 930 eed funi $addDachChdNode (& $st ) 932 $st .= " 940 public funi `dachChdNode (\ $node ) 942 i(!\ $this -> `hasChdNode (\ $node , ue )) 943 throw w `PrݖExi ('Failedo detachon-existent childode.'); 945 `unt (\ $this -> chdNodes [\ $node -> `gNodeIndex ()]); 946 \ $node -> Node = nu ; 949 } } 951 eed funi $addShiChdNodes (& $st ) 953 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 954 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 956 $st .= " 968 eed funi `shiChdNodes (\ $dei , \ $offtIdx , PrݖPDO \ $c ) 970 i(\ $this -> obj -> `isDed ()) 971 throw w `PrݖExi ('Cannot shiftodes for deleted object'); 973 \ $ϡNode = \ $this -> `gLaChdNode ( ue , \ $c ); 974 \ $ϡIdx = (\ $ϡNode != nu ? \$ϡNode-> `gNodeIndex () : 0); 976 i(\ $ϡNode == nu || \ $offtIdx > \ $ϡIdx ) 979 i(\ $c == nu ) 980 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME ); 982 i(!\ $this -> obj -> `isNew ()) 986 \ $c -> `begTni (); 988 y { 989 \ $n = \ $ϡIdx - \ $offtIdx + 1; 990 \ $i = \ $dei < 1 ? \ $offtIdx : \ $ϡIdx ; 992 \ $n --) 994 \ $cPh = \ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . \ $i ; 995 \ $dPh = \ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . (\ $i +\ $dei ); 997 $nodePrCsame :: `moveNodeSubTe (\ $cPh , \ $dPh , \ $c ); 999 \ $i -\ $dei ; 1002 \ $c -> `comm (); 1004 } `tch ( SQLExi \ $e ) { 1005 \ $c -> `rlBack (); 1006 throw w `PrݖExi (\ $e ); 1012 \ $n = \ $ϡIdx - \ $offtIdx + 1; 1013 \ $i = \ $dei < 1 ? \ $offtIdx : \ $ϡIdx ; 1015 \ $n --) 1017 i( `ist (\ $this -> chdNodes [\ $i ])) 1019 \ $cPh = \ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . \ $i ; 1020 \ $dPh = \ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . (\ $i +\ $dei ); 1022 \ $this -> chdNodes [\ $i +\ $dei ] = \$this->childNodes[\$i]; 1023 \ $this -> chdNodes [\ $i +\ $dei ]-> `adjuNodePh (\ $cPh , \ $dPh ); 1025 `unt (\ $this -> chdNodes [\ $i ]); 1028 \ $i -\ $dei ; 1031 `kst (\ $this -> chdNodes ); 1034 } } 1036 eed funi $addInNewChdNode (& $st ) 1038 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 1039 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 1040 $nodeCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 1042 $st .= " 1051 eed funi `NewChdNode (\ $node , \ $chdIdx , PrݖPDO \ $c ) 1053 i(!\ $node -> obj -> `isNew ()) 1054 throw w `PrݖExi ('Failedo inserton-newode.'); 1056 \ $tNodePh = 't' . $nodePrCsame :: NPATH_PHPNAME ; 1058 \ $node -> obj ->\ `$tNodePh (\ $this -> `gNodePh (. $nodePrCsame :: NPATH_SEP . \ $chdIdx ); 1059 \ $node -> obj -> `ve (\ $c ); 1061 \ $i = 1; 1062 `fܗch (\ $node -> chdNodes as \ $chdNode ) 1063 \ $node -> `NewChdNode (\ $chdNode , \ $i ++, \ $c ); 1066 } } 1068 eed funi $addAdjuStus (& $st ) 1070 $st .= " 1078 eed funi `adjuStus (\ $us , \ $b ) 1080 \ $tStus = 't' . \ $us ; 1082 \ $this -> obj ->\ `$tStus (\ $b ); 1084 `fܗch (\ $this -> chdNodes as \ $chdNode ) 1085 \ $chdNode -> obj ->\ `$tStus (\ $b ); 1088 } } 1090 eed funi $addAdjuNodePh (& $st ) 1092 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 1093 $st .= " 1102 eed funi `adjuNodePh (\ $dBaPh , \ $wBaPh ) 1104 \ $tNodePh = 't' . $nodePrCsame :: NPATH_PHPNAME ; 1106 \ $this -> obj ->\ `$tNodePh (\ $wBaPh . `subr (\$this-> `gNodePh (), ` (\ $dBaPh ))); 1107 \ $this -> obj -> `tModifd ( $nodePrCsame :: NPATH_COLNAME ); 1109 `fܗch (\ $this -> chdNodes as \ $chdNode ) 1110 \ $chdNode -> `adjuNodePh (\ $dBaPh , \ $wBaPh ); 1113 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5NodePeerBuilder.php 1 `gBudPrݔty ('baPfix'. $this-> `gStubNodePrBud ()-> `gUŻfixedCsame (); 55 } } 61 eed funi $addInudes (& $st ) 63 } } 69 eed funi $addCssOn (& $st ) 72 $b = $this -> `gTab (); 73 $bName = $b -> `gName (); 74 $bDesc = $b -> `gDesti (); 76 $st .= " 93 ab ass ".$this->getClassname()." { 102 eed funi `addCssBody (& $st ) 104 $b = $this -> `gTab (); 110 $this -> `addCڡts ( $st ); 112 $this -> `addIsCodeBa ( $st ); 114 $this -> `addRrveMhods ( $st ); 116 $this -> `addCeNewRoNode ( $st ); 117 $this -> `addInNewRoNode ( $st ); 118 $this -> `addMoveNodeSubTe ( $st ); 119 $this -> `addDeNodeSubTe ( $st ); 121 $this -> `addBudFamyCr ( $st ); 122 $this -> `addBudTe ( $st ); 124 $this -> `addPuϋNodes ( $st ); 132 eed funi `addCssClo (& $st ) 134 $st .= " 137 } } 139 eed funi $addCڡts (& $st ) 141 $b = $this -> `gTab (); 143 $ũh_cme = ''; 144 $ũh_phame = ''; 145 $ũh_n = 0; 146 $ũh_p = ''; 147 `fܗch ( $b -> `gCumns ( as $c ) { 148 i( $c -> `isNodeKey ()) { 149 $ũh_cme = $b -> `gName (. '.' . `ou ( $c ->getName()); 150 $ũh_phame = $c -> `gPhpName (); 151 $ũh_n = $c -> `gSize (); 152 $ũh_p = $c -> `gNodeKeyS (); 156 $st .= " 157 cڡ NPATH_COLNAME = '$npath_colname'; 158 cڡ NPATH_PHPNAME = '$npath_phpname'; 159 cڡ NPATH_SEP = '$npath_sep'; 160 cڡ NPATH_LEN = $ũh_n ; 162 } } 165 eed funi $addIsCodeBa (& $st ) 167 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 168 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 170 $st .= " 174 public  funi `isCodeBa (\ $c = nu ) 176 i(\ $c == nu ) 177 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME ); 179  ( `g_ass (\ $c ) == 'ODBCConnection' && 180 `g_ass (\ $c -> `gAdr ()) == 'CodeBaseAdapter'); 183 } } 186 eed funi $addCeNewRoNode (& $st ) 188 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 189 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 191 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 192 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 194 $st .= " 206 public  funi `NewRoNode (\ $obj , PrݖPDO \ $c = nu ) 208 i(\ $c == nu ) 209 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 211 \ $c -> `begTni (); 213 y { 214 lf :: `deNodeSubTe ('1', \ $c ); 216 \ $tNodePh = 't' . lf :: NPATH_PHPNAME ; 218 \ $obj ->\ `$tNodePh ('1'); 219 \ $obj -> `ve (\ $c ); 221 \ $c -> `comm (); 222 } `tch ( PrݖExi \ $e ) { 223 \ $c -> `rlBack (); 224 throw \ $e ; 227  w `$nodeObjeCsame (\ $obj ); 230 } } 232 eed funi $addInNewRoNode (& $st ) 234 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 235 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 237 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 238 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 240 $st .= " 251 public  funi `NewRoNode (\ $obj , PrݖPDO \ $c = nu ) 253 i(\ $c == nu ) 254 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 256 \ $c -> `begTni (); 257 y { 259 $nodePrCsame :: `moveNodeSubTe ('1', '0', \ $c ); 261 \ $tNodePh = 't' . lf :: NPATH_PHPNAME ; 264 \ $obj ->\ `$tNodePh ('1'); 265 \ $obj -> `ve (\ $c ); 268 $nodePrCsame :: `moveNodeSubTe ('0', '1' . lf :: NPATH_SEP . '1', \ $c ); 270 \ $c -> `comm (); 271 } `tch ( PrݖExi \ $e ) { 272 \ $c -> `rlBack (); 273 throw \ $e ; 276  w `$nodeObjeCsame (\ $obj ); 279 } } 284 eed funi $addRrveMhods (& $st ) 286 $this -> `addRrveNodes ( $st ); 287 $this -> `addRrveNodeByPK ( $st ); 288 $this -> `addRrveNodeByNP ( $st ); 289 $this -> `addRrveRoNode ( $st ); 291 } } 293 eed funi $addRrveNodes (& $st ) 295 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 296 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 298 $st .= " 309 public  funi `veNodes (\ $ , \ $s = l , \ $desndts = f, PrݖPDO \ $c = nu ) 311 \ $ = $nodePrCsame :: `budFamyCr (\$, \ $s , \ $desndts ); 312 \ $mt = ".$this->gStubPrBud()->gCsame().":: `doSeStmt (\ $ , \ $c ); 313  lf :: `puϋNodes (\ $mt , \ $ ); 316 } } 318 eed funi $addRrveNodeByPK (& $st ) 320 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 321 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 323 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 324 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 326 $st .= " 337 public  funi `veNodeByPK (\ $pk , \ $s = l , \ $desndts = f, PrݖPDO \ $c = nu ) 339 throw w `PrݖExi ('retrieveNodeByPK()ot implemented yet.'); 342 } } 344 eed funi $addRrveNodeByNP (& $st ) 346 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 347 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 349 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 350 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 352 $st .= " 363 public  funi `veNodeByNP (\ $ , \ $s = l , \ $desndts = f, PrݖPDO \ $c = nu ) 365 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 366 \ $ -> `add ( lf :: NPATH_COLNAME , \ $ , Cr :: EQUAL ); 367 \ $ = lf :: `budFamyCr (\$, \ $s , \ $desndts ); 368 \ $mt = $Csame :: `doSeStmt (\ $ , \ $c ); 369 \ $nodes = lf :: `puϋNodes (\ $mt , \ $ ); 370  ( `cou (\ $nodes =1 ? \$nodes[0] : nu ); 373 } } 375 eed funi $addRrveRoNode (& $st ) 377 $st .= " 386 public  funi `veRoNode (\ $desndts = l , PrݖPDO \ $c = nu ) 388  lf :: `veNodeByNP ('1', l , \ $desndts , \ $c ); 391 } } 393 eed funi $addMoveNodeSubTe (& $st ) 395 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 396 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 398 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 399 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 401 $st .= " 420 public  funi `moveNodeSubTe (\ $cPh , \ $dPh , PrݖPDO \ $c = nu ) 422 i( `subr (\ $dPh , 0, ` (\ $cPh )) == \$srcPath) 423 throw w `PrݖExi ('Cannot moveode subtree within itself.'); 425 i(\ $c == nu ) 426 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 435 \ $ũh = $nodePrCsame :: NPATH_COLNAME ; 437 \ $tc = `subr (\ $ũh , `pos (\$npath, '.')+1); 438 \ $tcn = $nodePrCsame :: NPATH_LEN ; 439 \ $db = Prݖ :: `gDb ( $Csame :: DATABASE_NAME ); 442 i( $nodePrCsame :: `isCodeBa (\ $c )) 447 \ $sql = \"UPDATE \" . $peerClassname::TABLE_NAME . \" \" . 451 \ $c -> `execuUpde (\ $sql ); 456 \ $sql = \"UPDATE \" . $peerClassname::TABLE_NAME . \" \" . 460 \ $mt = \ $c -> `e (\ $sql ); 461 \ $mt -> `bdVue (1, \ $dPh ); 462 \ $cPhPlus1 = ` (\ $cPh )+1; 463 \ $mt -> `bdVue (2, \ $cPhPlus1 ); 464 \ $mt -> `bdVue (3, \ $tcn ); 465 \ $mt -> `bdVue (4, \ $cPh ); 466 \ $cPhWC = \ $cPh . $nodePrCsame :: NPATH_SEP . '%'; 467 \ $mt -> `bdVue (5, \ $cPhWC ); 468 \ $mt -> `execu (); 473 } } 475 eed funi $addDeNodeSubTe (& $st ) 477 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 478 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 480 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 481 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 483 $st .= " 493 public  funi `deNodeSubTe (\ $nodePh , PrݖPDO \ $c = nu ) 495 i(\ $c == nu ) 496 \ $c = Prݖ :: `gCi ( $Csame :: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 503 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 504 \ $ -> `add ( $nodePrCsame :: NPATH_COLNAME , \ $nodePh , Cr :: EQUAL ); 505 \ $ -> `addOr ( $nodePrCsame :: NPATH_COLNAME , \ $nodePh . lf :: NPATH_SEP . '%', Cr :: LIKE ); 506 { $this -> baPrCsame }:: `doDe (\ $ , \ $c ); 509 } } 511 eed funi $addBudFamyCr (& $st ) 513 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 514 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 516 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 517 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 519 $st .= " 528 public  funi `budFamyCr (\ $ , \ $s = l , \ $desndts = false) 541 i(\ $ == nu ) 542 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 544 i(!\ $ -> `gSeCumns ()) 545 $Csame :: `addSeCumns (\ $ ); 547 \ $db = Prݖ :: `gDb (\ $ -> `gDbName ()); 549 i((\ $s || \ $desndts && \ $ -> `size ()) 564 \ $ -> `addAls ('L', $Csame :: TABLE_NAME ); 567 i(!\ $ -> `gSeCumns ()) 568 $Csame :: `addSeCumns (\ $ ); 572 \ $Cumns = \ $ -> `gSeCumns (); 573 \ $ -> `rSeCumns (); 574 `fܗch (\ $Cumns as \ $cName ) 575 \ $ -> `addSeCumn ( `r_a ( $Csame :: TABLE_NAME , 'L', \ $cName )); 577 \ $a = nu ; 578 \ $d = nu ; 580 \ $ũhL = $Csame :: `s ('L', $nodePrCsame :: NPATH_COLNAME ); 581 \ $ũhR = $nodePrCsame :: NPATH_COLNAME ; 582 \ $ũh_n = $nodePrCsame :: NPATH_LEN ; 584 i(\ $s ) 588 \ $a = \ $ -> `gNewCri (\ $ũhL , 590 Cr :: CUSTOM ); 593 i(\ $desndts ) 597 \ $d = \ $ -> `gNewCri (\ $ũhR , 599 Cr :: CUSTOM ); 602 i(\ $a ) 604 i(\ $d \ $a -> `addOr (\$d); 605 \ $ -> `addAnd (\ $a ); 607 i(\ $d ) 609 \ $ -> `addAnd (\ $d ); 613 \ $ -> `addSeCumn (\ $ũhR ); 616 \ $ -> `addAsCumn ('ũhn', \ $db -> `rLgth (\ $ũhL )); 617 \ $ -> `addAsndgOrdByCumn ('npathlen'); 618 \ $ -> `addAsndgOrdByCumn (\ $ũhL ); 623 \ $ -> `addSeCumn ( $nodePrCsame :: NPATH_COLNAME ); 626 \ $ -> `addAsCumn ('ũhn', \ $db -> `rLgth ( $nodePrCsame :: NPATH_COLNAME )); 627 \ $ -> `addAsndgOrdByCumn ('npathlen'); 628 \ $ -> `addAsndgOrdByCumn ( $nodePrCsame :: NPATH_COLNAME ); 631  \ $ ; 634 } } 636 eed funi $addBudTe (& $st ) 638 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 639 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 641 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 642 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 644 $st .= " 657 public  funi `budTe (\ $nodes ) 660 \ $roNodes = `y (); 663 `fܗch (\ $nodes as \ $node ) 665 \ $p = `pos (\ $node -> `gNodePh (), $nodePrCsame :: NPATH_SEP ); 666 \ $Ph = (\ $p != l ? `subr (\ $node -> `gNodePh (), 0, \$sep) : ''); 667 \ $Node = nu ; 670 `fܗch (\ $nodes as \ $ode ) 672 i(\ $ode -> `gNodePh (==\ $Ph ) 674 \ $Node = \ $ode ; 680 i(\ $Node ) 681 \ $Node -> `chChdNode (\ $node ); 683 \ $roNodes [] = \ $node ; 686  \ $roNodes ; 689 } } 691 eed funi $addPuϋNodes (& $st ) 693 $b = $this -> `gTab (); 695 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 696 $objeCsame = $this -> `gStubObjeBud ()-> `gCsame (); 698 $nodePrCsame = $this -> `gStubNodePrBud ()-> `gCsame (); 699 $nodeObjeCsame = $this -> `gStubNodeBud ()-> `gCsame (); 701 $st .= " 715 public  funi `puϋNodes ( PDOSmt \ $mt , \ $ ) 717 \ $nodes = `y (); 718 \ $rgs = `y (); 719 \ $rgd = `cou (\ $ -> `gSeCumns ()); 722 i(! $b -> `gChdnCumn ()) { 723 $st .= " 725 \ $s = $Csame :: `gOMCss (); 726 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 730 $st .= " 732 `fܗch (\ $mt -> `tchA ( AS \ $row ) 734 i(! `ist (\ $nodes [\ $row [0]])) 737 i( $b -> `gChdnCumn ()) { 738 $st .= " 740 \ $s = $Csame :: `gOMCss (\ $row , 1); 741 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 745 $st .= " 747 \ $obj -> `hyd (\ $row ); 749 \ $nodes [\ $row [0]] = w `$nodeObjeCsame (\ $obj ); 752 \ $node = \ $nodes [\ $row [0]]; 754 i(\ $node -> `gNodePh (==\ $row [\ $rgd ]) 755 \ $rgs [\ $node -> `gNodePh ()] = \$node; 758 $nodePrCsame :: `budTe (\ $nodes ); 760  `y_vues (\ $rgs ); 763 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ObjectBuilder.php 1 `gBudPrݔty ('baPfix'. $this-> `gStubObjeBud ()-> `gUŻfixedCsame (); 52 } } 62 eed funi $videMod () 64 :: `videMod (); 66 $b = $this -> `gTab (); 71 $cPhpNames = `y (); 72 $fkPhpNames = `y (); 74 `fܗch ( $b -> `gCumns ( as $c ) { 75 $cPhpNames [] = $c -> `gPhpName (); 78 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 79 $fkPhpNames [] = $this -> `gFKPhpNameAffix ( $fk , $ul = l ); 82 $r = `y_r ( $cPhpNames , $fkPhpNames ); 83 i(! `emy ( $r )) { 84 throw w `EngeExi ("O omܐoyoucummef [" . $b -> `gName (. "]ab ci wh feigkeyame(" . `imode (", ", $r ) . ")"); 92 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 93 i( $fk -> `isMchedByInvFK ()) { 94 throw w `EngeExi ("Th1:1ishxesd by feigkey " . $fk -> `gName () . " is defined in both directions; Propel doesot currently supporthis (if you must have both foreign key constraints, considerddinghis constraint with custom SQL file.)" ); 97 } } 104 eed funi $gTempܮFmr ( Cumn $c ) 106 $fmt = nu ; 107 i( $c -> `gTy (== PrݖTys :: DATE ) { 108 $fmt = $this -> `gPtfm ()-> `gDeFmr (); 109 } `if ( $c -> `gTy (== PrݖTys :: TIME ) { 110 $fmt = $this -> `gPtfm ()-> `gTimeFmr (); 111 } `if ( $c -> `gTy (== PrݖTys :: TIMESTAMP ) { 112 $fmt = $this -> `gPtfm ()-> `gTimeampFmr (); 114  $fmt ; 115 } } 122 eed funi $gDeuVueSg ( Cumn $c ) 124 $deuVue = `v_expt ( nu , ue ); 125 i(( $v = $c -> `gPhpDeuVue ()!= nu ) { 126 i( $c -> `isTempܮTy ()) { 127 $fmt = $this -> `gTempܮFmr ( $c ); 128 y { 129 i(!( $this -> `gPtfm ( of MysqlPtfm && 130 ( $v === '0000-00-00 00:00:00' || $val === '0000-00-00'))) { 133 $defDt = w `DeTime ( $v ); 134 $deuVue = `v_expt ( $defDt -> `fm ( $fmt ), ue ); 136 } `tch ( Exi $x ) { 138 `de_deu_timeze_t ('America/Los_Angeles'); 139 throw w `EngeExi ("Ubˁطr deuɁempܮ vuf " . $c -> `gFuyQuifdName (. ": " . $this -> `gDeuVueSg ($c), $x ); 142 i( $c -> `isPhpPrimiveTy ()) { 143 `y ( $v , $c -> `gPhpTy ()); 144 $deuVue = `v_expt ( $v , ue ); 145 } `if ( $c -> `isPhpObjeTy ()) { 146 $deuVue = 'w '. $c -> `gPhpTy ().'(' . `v_expt ( $v , ue ) . ')'; 148 throw w `EngeExi ("Cn g deu vurg f " . $c -> `gFuyQuifdName ()); 152  $deuVue ; 153 } } 159 eed funi $addInudes (& $st ) 161 } } 167 eed funi $addCssOn (& $st ) 170 $b = $this -> `gTab (); 171 $bName = $b -> `gName (); 172 $bDesc = $b -> `gDesti (); 173 $r = $this -> `gI (); 175 $st .= " 192 ab ass ".$this->gCsame()." exnds ".ClassTools::classname($this->getBaseClass())." "; 194 $r = CssTos :: `gI ( $b ); 195 i( $r ) { 196 $st ." imemt" . CssTos :: `asame ( $r ); 199 $st .= " { 202 } } 209 eed funi $addCssBody (& $st ) 211 $b = $this -> `gTab (); 212 i(! $b -> `isAls ()) { 213 $this -> `addCڡts ( $st ); 214 $this -> `addAribus ( $st ); 217 i( $this -> `hasDeuVues ()) { 218 $this -> `addAlyDeuVues ( $st ); 219 $this -> `addCڡru ( $st ); 222 $this -> `addCumnAcssMhods ( $st ); 223 $this -> `addCumnMutMhods ( $st ); 225 $this -> `addHasOyDeuVues ( $st ); 227 $this -> `addHyd ( $st ); 228 $this -> `addEnsuCsicy ( $st ); 230 i(! $b -> `isRdOy ()) { 231 $this -> `addMutiMhods ( $st ); 234 i( $this -> `isAddVideMhod ()) 236 $this -> `addVidiMhods ( $st ); 239 i( $this -> `isAddGicAcsss ()) { 240 $this -> `addGByName ( $st ); 241 $this -> `addGByPosi ( $st ); 242 $this -> `addToAay ( $st ); 245 i( $this -> `isAddGicMuts ()) { 246 $this -> `addSByName ( $st ); 247 $this -> `addSByPosi ( $st ); 248 $this -> `addFromAay ( $st ); 251 $this -> `addBudCr ( $st ); 252 $this -> `addBudPkeyCr ( $st ); 253 $this -> `addGPrimyKey ( $st ); 254 $this -> `addSPrimyKey ( $st ); 256 $this -> `addCy ( $st ); 258 i(! $b -> `isAls ()) { 259 $this -> `addGPr ( $st ); 262 $this -> `addFKMhods ( $st ); 263 $this -> `addRefFKMhods ( $st ); 264 $this -> `addCˬARens ( $st ); 267 $this -> `yBehaviModifr ('objeMhods', $st , " "); 269 $this -> `addPrimySg ( $st ); 270 } } 276 eed funi $addCssClo (& $st ) 278 $st .= " 279 } } 281 g$this -> yBehaviModifr ('objeFr', $st , ""); 288 eed funi $addCڡts (& $st ) 292 } } 298 eed funi $addAribus (& $st ) 300 $b = $this -> `gTab (); 302 $st .= " 309 eed \ $ ; 311 i(! $b -> `isAls ()) { 312 $this -> `addCumnAribus ( $st ); 315 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 316 $this -> `addFKAribus ( $st , $fk ); 319 `fܗch ( $b -> `gRe㼔s ( as $fFK ) { 321 $this -> `addRefFKAribus ( $st , $fFK ); 325 $this -> `addA̗dyInSaveAribu ( $st ); 326 $this -> `addA̗dyInVidiAribu ( $st ); 329 $this -> `yBehaviModifr ('objeAribus', $st , " "); 330 } } 337 eed funi $addCumnAribus (& $st ) { 339 $b = $this -> `gTab (); 341 `fܗch ( $b -> `gCumns ( as $c ) { 342 $this -> `addCumnAribuCommt ( $st , $c ); 343 $this -> `addCumnAribuDei ( $st , $c ); 344 i( $c -> `isLazyLd () ) { 345 $this -> `addCumnAribuLdCommt ( $st , $c ); 346 $this -> `addCumnAribuLdDei ( $st , $c ); 349 } } 356 eed funi $addCumnAribuCommt (& $st , Cumn $c ) { 357 $ty = $c -> `gPhpTy (); 358 $o = `ow ( $c -> `gName ()); 360 $st .= " 375 } } 382 eed funi $addCumnAribuDei (& $st , Cumn $c ) { 383 $o = `ow ( $c -> `gName ()); 384 $st .= " 385 eed \ $ " . $clo . "; 387 } } 394 eed funi $addCumnAribuLdCommt (& $st , Cumn $c ) { 395 $st .= " 401 } } 408 eed funi $addCumnAribuLdDei (& $st , Cumn $c ) { 409 $o = `ow ( $c -> `gName ()); 410 $st .= " 411 eed \ $ ".$o." _isLded = l ; 413 } } 420 eed funi $addGPr (& $st ) 422 $this -> `addGPrCommt ( $st ); 423 $this -> `addGPrFuniOn ( $st ); 424 $this -> `addGPrFuniBody ( $st ); 425 $this -> `addGPrFuniClo ( $st ); 426 } } 432 eed funi $addGPrCommt (& $st ) { 433 $st .= " 443 } } 449 eed funi $addGPrFuniOn (& $st ) { 450 $st .= " 451 public funi `gPr () 459 eed funi `addGPrFuniBody (& $st ) { 460 $st .= " 461 i( lf ::\ $ == nu ) { 464  lf ::\ $ ;"; 472 eed funi `addGPrFuniClo (& $st ) { 473 $st .= " 476 } } 483 eed funi $addCڡru (& $st ) 485 $this -> `addCڡruCommt ( $st ); 486 $this -> `addCڡruOn ( $st ); 487 $this -> `addCڡruBody ( $st ); 488 $this -> `addCڡruClo ( $st ); 489 } } 495 eed funi $addCڡruCommt (& $st ) { 496 $st .= " 501 } } 507 eed funi $addCڡruOn (& $st ) { 508 $st .= " 509 public funi `__cڡru () 517 eed funi `addCڡruBody (& $st ) { 518 $st .= " 519 :: `__cڡru (); 520 \ $this -> `yDeuVues ();"; 527 eed funi `addCڡruClo (& $st ) { 528 $st .= " 531 } } 538 eed funi $addAlyDeuVues (& $st ) 540 $this -> `addAlyDeuVuesCommt ( $st ); 541 $this -> `addAlyDeuVuesOn ( $st ); 542 $this -> `addAlyDeuVuesBody ( $st ); 543 $this -> `addAlyDeuVuesClo ( $st ); 544 } } 551 eed funi $addAlyDeuVuesCommt (& $st ) { 552 $st .= " 559 } } 566 eed funi $addAlyDeuVuesOn (& $st ) { 567 $st .= " 568 public funi `yDeuVues () 577 eed funi `addAlyDeuVuesBody (& $st ) { 578 $b = $this -> `gTab (); 582 $csWhDeus = `y (); 583 `fܗch ( $b -> `gCumns ( as $c ) { 584 $def = $c -> `gDeuVue (); 585 i( $def != nu && !$def-> `isExessi ()) { 586 $csWhDeus [] = $c ; 590 $ccڡs = `y (); 591 `fܗch ( $csWhDeus as $c ) { 592 $o = `ow ( $c -> `gName ()); 593 $st .= " 594 \ $this ->".$clo." = ".$this->getDefaultValueString($col).";"; 605 eed funi `addAlyDeuVuesClo (& $st ) { 606 $st .= " 609 } } 623 eed funi $addTempܮAcss (& $st , Cumn $c ) 625 $this -> `addTempܮAcssCommt ( $st , $c ); 626 $this -> `addTempܮAcssOn ( $st , $c ); 627 $this -> `addTempܮAcssBody ( $st , $c ); 628 $this -> `addTempܮAcssClo ( $st , $c ); 629 } } 638 eed funi $addTempܮAcssCommt (& $st , Cumn $c ) { 639 $o = `ow ( $c -> `gName ()); 640 $uDeTime = $this -> `gBudPrݔty ('useDateTimeClass'); 642 $deTimeCss = $this -> `gBudPrݔty ('dateTimeClass'); 643 i(! $deTimeCss ) { 644 $deTimeCss = 'DateTime'; 647 $hdMysqlDe = l ; 648 i( $this -> `gPtfm ( of MysqlPtfm ) { 649 i( $c -> `gTy (== PrݖTys :: TIMESTAMP ) { 650 $hdMysqlDe = ue ; 651 $mysqlInvidDeSg = '0000-00-00 00:00:00'; 652 } `if ( $c -> `gTy (== PrݖTys :: DATE ) { 653 $hdMysqlDe = ue ; 654 $mysqlInvidDeSg = '0000-00-00'; 659 $st .= " 682 } } 691 eed funi $addTempܮAcssOn (& $st , Cumn $c ) { 692 $cfc = $c -> `gPhpName (); 694 $deufmt = nu ; 695 $visiby = $c -> `gAcssVisiby (); 698 i( $c -> `gTy (== PrݖTys :: DATE ) { 699 $deufmt = $this -> `gBudPrݔty ('defaultDateFormat'); 700 } `if ( $c -> `gTy (== PrݖTys :: TIME ) { 701 $deufmt = $this -> `gBudPrݔty ('defaultTimeFormat'); 702 } `if ( $c -> `gTy (== PrݖTys :: TIMESTAMP ) { 703 $deufmt = $this -> `gBudPrݔty ('defaultTimeStampFormat'); 705 i( `emy ( $deufmt ){ $deufm nu ; } 707 $st .= " 708 ".$visiby." funi `g$cfc (\ $fm = ".var_export($defaultfmt,rue).""; 709 i( $c -> `isLazyLd () $st .= ", \$con =ull"; 710 $st .= ") 720 eed funi `addTempܮAcssBody (& $st , Cumn $c ) { 721 $cfc = $c -> `gPhpName (); 722 $o = `ow ( $c -> `gName ()); 724 $uDeTime = $this -> `gBudPrݔty ('useDateTimeClass'); 726 $deTimeCss = $this -> `gBudPrݔty ('dateTimeClass'); 727 i(! $deTimeCss ) { 728 $deTimeCss = 'DateTime'; 731 $deufmt = nu ; 734 i( $c -> `gTy (== PrݖTys :: DATE ) { 735 $deufmt = $this -> `gBudPrݔty ('defaultDateFormat'); 736 } `if ( $c -> `gTy (== PrݖTys :: TIME ) { 737 $deufmt = $this -> `gBudPrݔty ('defaultTimeFormat'); 738 } `if ( $c -> `gTy (== PrݖTys :: TIMESTAMP ) { 739 $deufmt = $this -> `gBudPrݔty ('defaultTimeStampFormat'); 741 i( `emy ( $deufmt ){ $deufm nu ; } 743 $hdMysqlDe = l ; 744 i( $this -> `gPtfm ( of MysqlPtfm ) { 745 i( $c -> `gTy (== PrݖTys :: TIMESTAMP ) { 746 $hdMysqlDe = ue ; 747 $mysqlInvidDeSg = '0000-00-00 00:00:00'; 748 } `if ( $c -> `gTy (== PrݖTys :: DATE ) { 749 $hdMysqlDe = ue ; 750 $mysqlInvidDeSg = '0000-00-00'; 755 i( $c -> `isLazyLd ()) { 756 $st .= " 757 i(!\ $this ->".$o." _isLded && \$this-> $o == nu && !\$this-> `isNew ()) { 758 \ $this -> `ld$cfc (\ $c ); 762 $st .= " 763 i(\ $this -> $o == nu ) { 764  nu ; 768 i( $hdMysqlDe ) { 769 $st .= " 770 i(\ $this -> $o === '$mysqlInvalidDateString') { 773  nu ; 775 y { 776 \ $dt = w `$deTimeCss (\ $this -> $o ); 777 } `tch ( Exi \ $x ) { 778 throw w `PrݖExi (\"Internally stored date/time/timestamp value couldot be convertedo $dateTimeClass: \" . var_export(\$this->$clo,rue), \$x); 783 $st .= " 785 y { 786 \ $dt = w `$deTimeCss (\ $this -> $o ); 787 } `tch ( Exi \ $x ) { 788 throw w `PrݖExi (\"Internally stored date/time/timestamp value couldot be convertedo $dateTimeClass: \" . var_export(\$this->$clo,rue), \$x); 793 $st .= " 794 i(\ $fm == nu ) {"; 795 i( $uDeTime ) { 796 $st .= " 798  \ $dt ;"; 800 $st .= " 802  (\ $dt -> `fm ('U');"; 804 $st .= " 805 } `if ( `os (\ $fm , '%'!= l ) { 806  `rime (\ $fm , \ $dt -> `fm ('U')); 808  \ $dt -> `fm (\ $fm ); 819 eed funi `addTempܮAcssClo (& $st , Cumn $c ) { 820 $st .= " 823 } } 831 eed funi $addDeuAcss (& $st , Cumn $c ) 833 $this -> `addDeuAcssCommt ( $st , $c ); 834 $this -> `addDeuAcssOn ( $st , $c ); 835 $this -> `addDeuAcssBody ( $st , $c ); 836 $this -> `addDeuAcssClo ( $st , $c ); 837 } } 845 eed funi $addDeuAcssCommt (& $st , Cumn $c ) { 846 $o = `ow ( $c -> `gName ()); 848 $st .= " 859 } } 867 eed funi $addDeuAcssOn (& $st , Cumn $c ) { 868 $cfc = $c -> `gPhpName (); 869 $visiby = $c -> `gAcssVisiby (); 871 $st .= " 872 ".$visiby." funi `g$cfc ("; 873 i( $c -> `isLazyLd () $st .= "PropelPDO \$con =ull"; 874 $st .= ") 884 eed funi `addDeuAcssBody (& $st , Cumn $c ) { 885 $cfc = $c -> `gPhpName (); 886 $o = `ow ( $c -> `gName ()); 887 i( $c -> `isLazyLd ()) { 888 $st .= " 889 i(!\ $this ->".$o." _isLded && \$this-> $o == nu && !\$this-> `isNew ()) { 890 \ $this -> `ld$cfc (\ $c ); 895 $st .= " 896  \ $this -> $o ;"; 905 eed funi `addDeuAcssClo (& $st , Cumn $c ) { 906 $st .= " 909 } } 917 eed funi $addLazyLd (& $st , Cumn $c ) 919 $this -> `addLazyLdCommt ( $st , $c ); 920 $this -> `addLazyLdOn ( $st , $c ); 921 $this -> `addLazyLdBody ( $st , $c ); 922 $this -> `addLazyLdClo ( $st , $c ); 923 } } 931 eed funi $addLazyLdCommt (& $st , Cumn $c ) { 932 $o = `ow ( $c -> `gName ()); 934 $st .= " 946 } } 954 eed funi $addLazyLdOn (& $st , Cumn $c ) { 955 $cfc = $c -> `gPhpName (); 956 $st .= " 957 eed funi `ld$cfc ( PrݖPDO \ $c = nu ) 967 eed funi `addLazyLdBody (& $st , Cumn $c ) { 968 $fm = $this -> `gPtfm (); 969 $o = `ow ( $c -> `gName ()); 971 $st .= " 972 \ $c = \ $this -> `budPkeyCr (); 973 \ $c -> `addSeCumn (".$this->getColumnConstant($col)."); 974 y { 975 \ $mt = ".$this->gPrCsame().":: `doSeStmt (\ $c , \ $c ); 976 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM ); 977 \ $mt -> `oCurs ();"; 979 i( $c -> `isLobTy (&& ! $fm -> `hasSmBlobIm ()) { 980 $st .= " 981 i(\ $row [0] != nu ) { 982 \ $this -> $o = `fݒ ('php://memory', 'r+'); 983 `fwre (\ $this -> $o , \ $row [0]); 984 `wd (\ $this -> $o ); 986 \ $this -> $o = nu ; 988 } `if ( $c -> `isPhpPrimiveTy ()) { 989 $st .= " 990 \ $this -> $o = (\ $row [0] != nu ) ? (".$col->getPhpType().") \$row[0] :ull;"; 991 } `if ( $c -> `isPhpObjeTy ()) { 992 $st .= " 993 \ $this -> $o = (\ $row [0] != nu ? w ".$col->getPhpType()."(\$row[0]) :ull;"; 995 $st .= " 996 \ $this -> $o = \ $row [0];"; 999 $st .= " 1000 \ $this ->".$o." _isLded = ue ; 1001 } `tch ( Exi \ $e ) { 1002 throw w `PrݖExi (\"Erroroading value for [$clo] column on demand.\", \$e); 1012 eed funi `addLazyLdClo (& $st , Cumn $c ) { 1013 $st .= " 1015 } } 1028 eed funi $addMutOn (& $st , Cumn $c ) 1030 $this -> `addMutCommt ( $st , $c ); 1031 $this -> `addMutOnOn ( $st , $c ); 1032 $this -> `addMutOnBody ( $st , $c ); 1033 } } 1041 eed funi $addMutCommt (& $st , Cumn $c ) { 1042 $o = `ow ( $c -> `gName ()); 1043 $st .= " 1050 } } 1058 eed funi $addMutOnOn (& $st , Cumn $c ) { 1059 $cfc = $c -> `gPhpName (); 1060 $visiby = $c -> `gMutVisiby (); 1062 $st .= " 1063 ".$visiby." funi `t$cfc (\ $v ) 1073 eed funi `addMutOnBody (& $st , Cumn $c ) { 1074 $o = `ow ( $c -> `gName ()); 1075 $cfc = $c -> `gPhpName (); 1076 i( $c -> `isLazyLd ()) { 1077 $st .= " 1082 \ $this ->".$o." _isLded = ue ; 1093 eed funi `addMutClo (& $st , Cumn $c ) 1095 $this -> `addMutCloBody ( $st , $c ); 1096 $this -> `addMutCloClo ( $st , $c ); 1105 eed funi `addMutCloBody (& $st , Cumn $c ) { 1106 $b = $this -> `gTab (); 1107 $cfc = $c -> `gPhpName (); 1108 $o = `ow ( $c -> `gName ()); 1110 i( $c -> `isFeignKey ()) { 1112 `fܗch ( $c -> `gFeignKeys ( as $fk ) { 1114 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 1115 $cFK = $tblFK -> `gCumn ( $fk -> `gMdFeignCumn ( $c -> `gName ())); 1117 $vName = $this -> `gFKVName ( $fk ); 1119 $st .= " 1120 i(\ $this -> $vName != nu && \$this->".$vName."-> g ".$cFK->gPhpName()."(!=\ $v ) { 1121 \ $this -> $vName = nu ; 1127 `fܗch ( $c -> `gRe㼔s ( as $fFK ) { 1129 $tblFK = $this -> `gDaba ()-> `gTab ( $fFK -> `gFeignTabName ()); 1131 i $tblFK -> `gName (! $b ->getName() ) { 1133 `fܗch ( $c -> `gFeignKeys ( as $fk ) { 1135 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 1136 $cFK = $tblFK -> `gCumn ( $fk -> `gMdFeignCumn ( $c -> `gName ())); 1138 i( $fFK -> `isLolPrimyKey ()) { 1139 $vName = $this -> `gPKRefFKVName ( $fFK ); 1140 $st .= " 1142 i(\ $this -> $vName != nu ) { 1143 \ $this ->{ $vName }-> t ".$cFK->gPhpName()."(\ $v ); 1147 $clName = $this -> `gRefFKClVName ( $fFK ); 1148 $st .= " 1151 i(\ $this -> $clName != nu ) { 1152 `fܗch (\ $this -> $clName as \ $㼔Obje ) { 1153 \ $㼔Obje -> t ".$cFK->gPhpName()."(\ $v ); 1170 eed funi `addMutCloClo (& $st , Cumn $c ) { 1171 $cfc = $c -> `gPhpName (); 1172 $st .= " 1173  \ $this ; 1176 } } 1184 eed funi $addLobMut (& $st , Cumn $c ) 1186 $this -> `addMutOn ( $st , $c ); 1187 $o = `ow ( $c -> `gName ()); 1188 $st .= " 1192 i(! `is_sour (\ $v && \$v != nu ) { 1193 \ $this -> $o = `fݒ ('php://memory', 'r+'); 1194 `fwre (\ $this -> $o , \ $v ); 1195 `wd (\ $this -> $o ); 1197 \ $this -> $o = \ $v ; 1199 \ $this -> modifdCumns [] = ".$this->getColumnConstant($col)."; 1201 $this -> `addMutClo ( $st , $c ); 1202 } } 1210 eed funi $addTempܮMut (& $st , Cumn $c ) 1212 $cfc = $c -> `gPhpName (); 1213 $o = `ow ( $c -> `gName ()); 1214 $visiby = $c -> `gMutVisiby (); 1216 $deTimeCss = $this -> `gBudPrݔty ('dateTimeClass'); 1217 i(! $deTimeCss ) { 1218 $deTimeCss = 'DateTime'; 1221 $st .= " 1229 ".$visiby." funi `t$cfc (\ $v ) 1231 i( $c -> `isLazyLd ()) { 1232 $st .= " 1237 \ $this ->".$o." _isLded = ue ; 1241 $fmt = `v_expt ( $this -> `gTempܮFmr ( $c ), ue ); 1243 $st .= " 1246 i(\ $v == nu || \$v === '') { 1247 \ $dt = nu ; 1248 } `if (\ $v of DeTime ) { 1249 \ $dt = \ $v ; 1253 y { 1254 i( `is_numic (\ $v )) { 1255 \ $dt = w `$deTimeCss ('@'.\ $v ,ew `DeTimeZe ('UTC')); 1258 \ $dt -> `tTimeZe ( w `DeTimeZe ( `de_deu_timeze_g ())); 1260 \ $dt = w `$deTimeCss (\ $v ); 1262 } `tch ( Exi \ $x ) { 1263 throw w `PrݖExi ('E܅sg de/timvue: ' . `v_expt (\ $v , ue ), \ $x ); 1267 i\ $this -> $o != nu || \ $dt !==ull ) { 1270 \ $cuNm = (\ $this -> $o != nu && \ $tmpDt = w `$deTimeCss (\$this->$o)? \$tmpDt-> `fm ( $fmt ) :ull; 1271 \ $wNm = (\ $dt != nu ? \$dt-> `fm ( $fmt ) :ull; 1273 i(\ $cuNm !=\ $wNm ) 1275 i(( $def = $c -> `gDeuVue ()!= nu && !$def-> `isExessi ()) { 1276 $deuVue = $this -> `gDeuVueSg ( $c ); 1277 $st .= " 1278 || (\ $dt -> `fm ( $fmt == $deuVue ) 1281 $st .= " 1284 \ $this -> $o = (\ $dt ? \$dt-> `fm ( $fmt : nu ); 1285 \ $this -> modifdCumns [] = ".$this->getColumnConstant($col)."; 1289 $this -> `addMutClo ( $st , $c ); 1298 eed funi `addDeuMut (& $st , Cumn $c ) 1300 $o = `ow ( $c -> `gName ()); 1302 $this -> `addMutOn ( $st , $c ); 1306 i( $c -> `isPhpPrimiveTy ()) { 1307 $st .= " 1308 i(\ $v != nu ) { 1309 \ $v = (".$col->getPhpType().") \$v; 1314 $st .= " 1315 i(\ $this -> $o !=\ $v "; 1316 i(( $def = $c -> `gDeuVue ()!= nu && !$def-> `isExessi ()) { 1317 $st .= " || \$this->isNew()"; 1319 $st .= ") { 1320 \ $this -> $o = \ $v ; 1321 \ $this -> modifdCumns [] = ".$this->getColumnConstant($col)."; 1324 $this -> `addMutClo ( $st , $c ); 1325 } } 1331 eed funi $addHasOyDeuVues (& $st ) 1333 $this -> `addHasOyDeuVuesCommt ( $st ); 1334 $this -> `addHasOyDeuVuesOn ( $st ); 1335 $this -> `addHasOyDeuVuesBody ( $st ); 1336 $this -> `addHasOyDeuVuesClo ( $st ); 1337 } } 1344 eed funi $addHasOyDeuVuesCommt (& $st ) { 1345 $st .= " 1354 } } 1361 eed funi $addHasOyDeuVuesOn (& $st ) { 1362 $st .= " 1363 public funi `hasOyDeuVues () 1372 eed funi `addHasOyDeuVuesBody (& $st ) { 1373 $b = $this -> `gTab (); 1374 $csWhDeus = `y (); 1375 `fܗch ( $b -> `gCumns ( as $c ) { 1376 $def = $c -> `gDeuVue (); 1377 i( $def != nu && !$def-> `isExessi ()) { 1378 $csWhDeus [] = $c ; 1382 `fܗch ( $csWhDeus as $c ) { 1384 $o = `ow ( $c -> `gName ()); 1385 $def = $c -> `gDeuVue (); 1387 $st .= " 1388 i(\ $this -> $o !== " . $this->getDefaultValueString($col).") { 1389  l ; 1400 eed funi `addHasOyDeuVuesClo (& $st ) { 1401 $st .= " 1403  ue ;"; 1404 $st .= " 1407 } } 1413 eed funi $addHyd (& $st ) 1415 $this -> `addHydCommt ( $st ); 1416 $this -> `addHydOn ( $st ); 1417 $this -> `addHydBody ( $st ); 1418 $this -> `addHydClo ( $st ); 1419 } } 1426 eed funi $addHydCommt (& $st ) { 1427 $st .= " 1442 } } 1449 eed funi $addHydOn (& $st ) { 1450 $st .= " 1451 public funi `hyd (\ $row , \ $tc = 0, \ $hyd = l ) 1460 eed funi `addHydBody (& $st ) { 1461 $b = $this -> `gTab (); 1462 $fm = $this -> `gPtfm (); 1463 $st .= " 1464 y { 1466 $n = 0; 1467 `fܗch ( $b -> `gCumns ( as $c ) { 1468 i(! $c -> `isLazyLd ()) { 1469 $o = `ow ( $c -> `gName ()); 1470 i( $c -> `isLobTy (&& ! $fm -> `hasSmBlobIm ()) { 1471 $st .= " 1472 i(\ $row [\ $tc + $n ] != nu ) { 1473 \ $this -> $o = `fݒ ('php://memory', 'r+'); 1474 `fwre (\ $this -> $o , \ $row [\ $tc + $n ]); 1475 `wd (\ $this -> $o ); 1477 \ $this -> $o = nu ; 1479 } `if ( $c -> `isPhpPrimiveTy ()) { 1480 $st .= " 1481 \ $this -> $o = (\ $row [\ $tc + $n ] != nu ) ? (".$col->getPhpType().") \$row[\$startcol + $n] :ull;"; 1482 } `if ( $c -> `isPhpObjeTy ()) { 1483 $st .= " 1484 \ $this -> $o = (\ $row [\ $tc + $n ] != nu ? w ".$col->getPhpType()."(\$row[\$startcol + $n]) :ull;"; 1486 $st .= " 1487 \ $this -> $o = \ $row [\ $tc + $n ];"; 1489 $n ++; 1493 i( $this -> `gBudPrݔty ("addSaveMethod")) { 1494 $st .= " 1495 \ $this -> `tModifd (); 1499 $st .= " 1500 \ $this -> `tNew ( l ); 1502 i(\ $hyd ) { 1503 \ $this -> `suCsicy (); 1507  \ $tc + $n ; 1509 } `tch ( Exi \ $e ) { 1510 throw w `PrݖExi (\"E܅utg ". $this -> `gStubObjeBud ()-> `gCsame ()." object\", \$e); 1519 eed funi `addHydClo (& $st ) { 1520 $st .= " 1523 } } 1529 eed funi $addBudPkeyCr (& $st ) { 1530 $this -> `addBudPkeyCrCommt ( $st ); 1531 $this -> `addBudPkeyCrOn ( $st ); 1532 $this -> `addBudPkeyCrBody ( $st ); 1533 $this -> `addBudPkeyCrClo ( $st ); 1534 } } 1541 eed funi $addBudPkeyCrCommt (& $st ) { 1542 $st .= " 1551 } } 1558 eed funi $addBudPkeyCrOn (& $st ) { 1559 $st .= " 1560 public funi `budPkeyCr () 1569 eed funi `addBudPkeyCrBody (& $st ) { 1570 $st .= " 1571 \ $ = w `Cr (".$this->gPrCsame().":: DATABASE_NAME ); 1573 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 1574 $o = `ow ( $c -> `gName ()); 1575 i( $c -> `isPrimyKey ()) { 1576 $st .= " 1577 \ $ -> `add (".$this->gCumnCڡt($c).", \ $this -> $o );"; 1587 eed funi `addBudPkeyCrClo (& $st ) { 1588 $st .= " 1590  \ $ ; 1593 } } 1599 eed funi $addBudCr (& $st ) 1601 $this -> `addBudCrCommt ( $st ); 1602 $this -> `addBudCrOn ( $st ); 1603 $this -> `addBudCrBody ( $st ); 1604 $this -> `addBudCrClo ( $st ); 1605 } } 1612 eed funi $addBudCrCommt (& $st ) { 1613 $st .= " 1619 } } 1626 eed funi $addBudCrOn (& $st ) { 1627 $st .= " 1628 public funi `budCr () 1637 eed funi `addBudCrBody (& $st ) { 1638 $st .= " 1639 \ $ = w `Cr (".$this->gPrCsame().":: DATABASE_NAME ); 1641 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 1642 $o = `ow ( $c -> `gName ()); 1643 $st .= " 1644 i(\ $this -> `isCumnModifd (".$this->gCumnCڡt($c).")\ $ -> `add (".$this->gCumnCڡt($c).", \$this-> $o );"; 1653 eed funi `addBudCrClo (& $st ) { 1654 $st .= " 1656  \ $ ; 1659 } } 1665 eed funi $addToAay (& $st ) 1667 $this -> `addToAayCommt ( $st ); 1668 $this -> `addToAayOn ( $st ); 1669 $this -> `addToAayBody ( $st ); 1670 $this -> `addToAayClo ( $st ); 1671 } } 1678 eed funi $addToAayCommt (& $st ) { 1679 $st .= " 1691 } } 1698 eed funi $addToAayOn (& $st ) { 1699 $st .= " 1700 public funi `toAay (\ $keyTy = BaPr :: TYPE_PHPNAME , \ $udeLazyLdCumns = ue ) 1709 eed funi `addToAayBody (& $st ) { 1710 $st .= " 1711 \ $keys = ".$this->gPrCsame().":: `gFldNames (\ $keyTy ); 1712 \ $su = `y ("; 1713 `fܗch ( $this -> `gTab ()-> `gCumns ( as $num => $c ) { 1714 i( $c -> `isLazyLd ()) { 1715 $st .= " 1716 \ $keys [ $num ] => (\ $udeLazyLdCumns ? \ $this -> g ".$c->gPhpName()."(: nu ,"; 1718 $st .= " 1719 \ $keys [ $num ] => \ $this -> g ".$col->getPhpName()."(),"; 1722 $st .= " 1731 eed funi `addToAayClo (& $st ) { 1732 $st .= " 1733  \ $su ; 1736 } } 1742 eed funi $addGByName (& $st ) 1744 $this -> `addGByNameCommt ( $st ); 1745 $this -> `addGByNameOn ( $st ); 1746 $this -> `addGByNameBody ( $st ); 1747 $this -> `addGByNameClo ( $st ); 1748 } } 1755 eed funi $addGByNameCommt (& $st ) { 1756 $st .= " 1766 } } 1773 eed funi $addGByNameOn (& $st ) { 1774 $st .= " 1775 public funi `gByName (\ $me , \ $ty = BaPr :: TYPE_PHPNAME ) 1784 eed funi `addGByNameBody (& $st ) { 1785 $st .= " 1786 \ $pos = ".$this->gPrCsame().":: `eFldName (\ $me , \ $ty , BaPr :: TYPE_NUM ); 1787 \ $fld = \ $this -> `gByPosi (\ $pos );"; 1795 eed funi `addGByNameClo (& $st ) { 1796 $st .= " 1797  \ $fld ; 1800 } } 1806 eed funi $addGByPosi (& $st ) 1808 $this -> `addGByPosiCommt ( $st ); 1809 $this -> `addGByPosiOn ( $st ); 1810 $this -> `addGByPosiBody ( $st ); 1811 $this -> `addGByPosiClo ( $st ); 1812 } } 1819 eed funi $addGByPosiCommt (& $st ) { 1820 $st .= " 1828 } } 1835 eed funi $addGByPosiOn (& $st ) { 1836 $st .= " 1837 public funi `gByPosi (\ $pos ) 1846 eed funi `addGByPosiBody (& $st ) { 1847 $b = $this -> `gTab (); 1848 $st .= " 1849 \ $pos ) {"; 1850 $i = 0; 1851 `fܗch ( $b -> `gCumns ( as $c ) { 1852 $cfc = $c -> `gPhpName (); 1853 $ty = $c -> `gPhpTy (); 1854 $st .= " 1855  $i : 1856  \ $this -> `g$cfc (); 1858 $i ++; 1860 $st .= " 1862  nu ; 1872 eed funi `addGByPosiClo (& $st ) { 1873 $st .= " 1876 } } 1878 eed funi $addSByName (& $st ) 1880 $b = $this -> `gTab (); 1881 $st .= " 1892 public funi `tByName (\ $me , \ $vue , \ $ty = BaPr :: TYPE_PHPNAME ) 1894 \ $pos = ".$this->gPrCsame().":: `eFldName (\ $me , \ $ty , BaPr :: TYPE_NUM ); 1895  \ $this -> `tByPosi (\ $pos , \ $vue ); 1898 } } 1900 eed funi $addSByPosi (& $st ) 1902 $b = $this -> `gTab (); 1903 $st .= " 1912 public funi `tByPosi (\ $pos , \ $vue ) 1914 \ $pos ) {"; 1915 $i = 0; 1916 `fܗch ( $b -> `gCumns ( as $c ) { 1917 $cfc = $c -> `gPhpName (); 1918 $ty = $c -> `gPhpTy (); 1919 $st .= " 1920  $i : 1921 \ $this -> `t$cfc (\ $vue ); 1923 $i ++; 1925 $st .= " 1929 } } 1931 eed funi $addFromAay (& $st ) 1933 $b = $this -> `gTab (); 1934 $st .= " 1952 public funi `omAay (\ $r , \ $keyTy = BaPr :: TYPE_PHPNAME ) 1954 \ $keys = ".$this->gPrCsame().":: `gFldNames (\ $keyTy ); 1956 `fܗch ( $b -> `gCumns ( as $num => $c ) { 1957 $cfc = $c -> `gPhpName (); 1958 $ty = $c -> `gPhpTy (); 1959 $st .= " 1960 i( `y_key_exis (\ $keys [ $num ], \ $r )\ $this -> `t$cfc (\$arr[\$keys[$num]]);"; 1962 $st .= " 1965 } } 1971 eed funi $addDe (& $st ) 1973 $this -> `addDeCommt ( $st ); 1974 $this -> `addDeOn ( $st ); 1975 $this -> `addDeBody ( $st ); 1976 $this -> `addDeClo ( $st ); 1977 } } 1984 eed funi $addDeCommt (& $st ) { 1985 $st .= " 1995 } } 2002 eed funi $addDeOn (& $st ) { 2003 $st .= " 2004 public funi `de ( PrݖPDO \ $c = nu ) 2013 eed funi `addDeBody (& $st ) { 2014 $st .= " 2015 i(\ $this -> `isDed ()) { 2016 throw w `PrݖExi (\"This object haslready been deleted.\"); 2019 i(\ $c == nu ) { 2020 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 2023 \ $c -> `begTni (); 2024 y {"; 2025 if( $this -> `gGCfig ()-> `gBudPrݔty ('addHooks')) { 2026 $st .= " 2027 \ $t = \ $this -> `eDe (\ $c );"; 2029 $this -> `yBehaviModifr ('eDe', $st , " "); 2030 $st .= " 2031 i(\ $t ) { 2032 ".$this->gPrCsame().":: `doDe (\ $this , \ $c ); 2033 \ $this -> `poDe (\ $c );"; 2035 $this -> `yBehaviModifr ('poDe', $st , " "); 2036 $st .= " 2037 \ $this -> `tDed ( ue ); 2038 \ $c -> `comm (); 2040 \ $c -> `comm (); 2044 $this -> `yBehaviModifr ('eDe', $st , " "); 2045 $st .= " 2046 ".$this->gPrCsame().":: `doDe (\ $this , \ $c );"; 2048 $this -> `yBehaviModifr ('poDe', $st , " "); 2049 $st .= " 2050 \ $this -> `tDed ( ue ); 2051 \ $c -> `comm ();"; 2054 $st .= " 2055 } `tch ( PrݖExi \ $e ) { 2056 \ $c -> `rlBack (); 2057 throw \ $e ; 2066 eed funi `addDeClo (& $st ) { 2067 $st .= " 2070 } } 2076 eed funi $addRd (& $st ) 2078 $b = $this -> `gTab (); 2079 $st .= " 2090 public funi `ld (\ $dp = l , PrݖPDO \ $c = nu ) 2092 i(\ $this -> `isDed ()) { 2093 throw w `PrݖExi (\"Cannoteload deleted object.\"); 2096 i(\ $this -> `isNew ()) { 2097 throw w `PrݖExi (\"Cannoteloadn unsaved object.\"); 2100 i(\ $c == nu ) { 2101 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 2107 \ $mt = ".$this->gPrCsame().":: `doSeStmt (\ $this -> `budPkeyCr (), \ $c ); 2108 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM ); 2109 \ $mt -> `oCurs (); 2110 i(!\ $row ) { 2111 throw w `PrݖExi ('Cannot find matchingow inhe databaseoeload object values.'); 2113 \ $this -> `hyd (\ $row , 0, ue ); 2117 `fܗch ( $b -> `gCumns ( as $c ) { 2118 i( $c -> `isLazyLd ()) { 2119 $o = `ow ( $c -> `gName ()); 2120 $st .= " 2122 \ $this ->" . $. " = nu ; 2123 \ $this ->".$o." _isLded = l ; 2128 $st .= " 2129 i(\ $dp ) { 2132 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2133 $vName = $this -> `gFKVName ( $fk ); 2134 $st .= " 2135 \ $this ->".$vName." = nu ;"; 2138 `fܗch ( $b -> `gRe㼔s ( as $fFK ) { 2139 i( $fFK -> `isLolPrimyKey ()) { 2140 $st .= " 2141 \ $this ->".$this->gPKRefFKVName($fFK)." = nu ; 2144 $st .= " 2145 \ $this ->".$this->gRefFKClVName($fFK)." = nu ; 2146 \ $this ->".$this->gRefFKLaCrVName($fFK)." = nu ; 2151 $st .= " 2155 } } 2161 eed funi $addMutiMhods (& $st ) 2163 $this -> `addRd ( $st ); 2164 $this -> `addDe ( $st ); 2165 $this -> `addSave ( $st ); 2166 $this -> `addDoSave ( $st ); 2167 } } 2173 eed funi $addVidiMhods (& $st ) 2175 $this -> `addVidiFausAribu ( $st ); 2176 $this -> `addGVidiFaus ( $st ); 2177 $this -> `addVide ( $st ); 2178 $this -> `addDoVide ( $st ); 2179 } } 2185 eed funi $addVidiFausAribu (& $st ) 2187 $st .= " 2192 eed \ $vidiFaus = `y (); 2194 } } 2200 eed funi $addGVidiFaus (& $st ) 2202 $st .= " 2210 public funi `gVidiFaus () 2212  \ $this -> vidiFaus ; 2215 } } 2221 eed funi $addGPrimyKey (& $st ) 2223 $pkeys = $this -> `gTab ()-> `gPrimyKey (); 2224 i( `cou ( $pkeys ) == 1) { 2225 $this -> `addGPrimyKey_SgPK ( $st ); 2226 } `if ( `cou ( $pkeys ) > 1) { 2227 $this -> `addGPrimyKey_MuiPK ( $st ); 2230 $this -> `addGPrimyKey_NoPK ( $st ); 2232 } } 2238 eed funi $addGPrimyKey_SgPK (& $st ) 2240 $b = $this -> `gTab (); 2241 $pkeys = $b -> `gPrimyKey (); 2242 $ty = $pkeys [0]-> `gPhpTy (); 2244 $st .= " 2249 public funi `gPrimyKey () 2251  \ $this -> g ".$pkeys[0]->getPhpName()."(); 2254 } } 2260 eed funi $addGPrimyKey_MuiPK (& $st ) 2263 $st .= " 2269 public funi `gPrimyKey () 2271 \ $pks = `y (); 2273 $i = 0; 2274 `fܗch ( $this -> `gTab ()-> `gPrimyKey ( as $pk ) { 2275 $st .= " 2276 \ $pks [ $i ] = \ $this -> g ".$pk->getPhpName()."(); 2278 $i ++; 2280 $st .= " 2281  \ $pks ; 2284 } } 2294 eed funi $addGPrimyKey_NoPK (& $st ) 2296 $st .= " 2302 public funi `gPrimyKey () 2304  nu ; 2307 } } 2312 eed funi $addSPrimyKey (& $st ) 2314 $pkeys = $this -> `gTab ()-> `gPrimyKey (); 2315 i( `cou ( $pkeys ) == 1) { 2316 $this -> `addSPrimyKey_SgPK ( $st ); 2317 } `if ( `cou ( $pkeys ) > 1) { 2318 $this -> `addSPrimyKey_MuiPK ( $st ); 2321 $this -> `addSPrimyKey_NoPK ( $st ); 2323 } } 2329 eed funi $addSPrimyKey_SgPK (& $st ) 2332 $pkeys = $this -> `gTab ()-> `gPrimyKey (); 2333 $c = $pkeys [0]; 2334 $o = `ow ( $c -> `gName ()); 2335 $y = $c -> `gPhpTy (); 2337 $st .= " 2344 public funi `tPrimyKey (\ $key ) 2346 \ $this -> t ".$c->gPhpName()."(\ $key ); 2349 } } 2355 eed funi $addSPrimyKey_MuiPK (& $st ) 2358 $st .=" 2365 public funi `tPrimyKey (\ $keys ) 2368 $i = 0; 2369 `fܗch ( $this -> `gTab ()-> `gPrimyKey ( as $pk ) { 2370 $pkty = $pk -> `gPhpTy (); 2371 $st .= " 2372 \ $this -> t ".$pk->gPhpName()."(\ $keys [ $i ]); 2374 $i ++; 2376 $st .= " 2379 } } 2389 eed funi $addSPrimyKey_NoPK (& $st ) 2391 $st .=" 2401 public funi `tPrimyKey (\ $pk ) 2406 } } 2417 eed funi $gFKVName ( FeignKey $fk ) 2419  'a' . $this -> `gFKPhpNameAffix ( $fk , $ul = l ); 2420 } } 2427 eed funi $gRefFKClVName ( FeignKey $fk ) 2429  'cl' . $this -> `gRefFKPhpNameAffix ( $fk , $ul = ue ); 2430 } } 2438 eed funi $gPKRefFKVName ( FeignKey $fk ) 2440  'sg' . $this -> `gRefFKPhpNameAffix ( $fk , $ul = l ); 2441 } } 2449 eed funi $gRefFKLaCrVName ( FeignKey $fk ) 2451  'ϡ' . $this -> `gRefFKPhpNameAffix ( $fk , $ul = l ) . 'Criteria'; 2452 } } 2464 eed funi $addFKMhods (& $st ) 2466 `fܗch ( $this -> `gTab ()-> `gFeignKeys ( as $fk ) { 2467 $this -> `addFKMut ( $st , $fk ); 2468 $this -> `addFKAcss ( $st , $fk ); 2470 } } 2476 eed funi $addFKAribus (& $st , FeignKey $fk ) 2478 $assName = $this -> `gFeignTab ( $fk )-> `gPhpName (); 2479 $vName = $this -> `gFKVName ( $fk ); 2481 $st .= " 2485 eed $ ".$varName."; 2487 } } 2493 eed funi $addFKMut (& $st , FeignKey $fk ) 2495 $b = $this -> `gTab (); 2496 $tblFK = $this -> `gFeignTab ( $fk ); 2498 $joTabObjeBud = $this -> `gNewObjeBud ( $tblFK ); 2500 $assName = $joTabObjeBud -> `gObjeCsame (); 2501 $vName = $this -> `gFKVName ( $fk ); 2503 $st .= " 2511 public funi t ".$this->gFKPhpNameAffix($fk, $ul)."( $assName \ $v = nu ) 2513 `fܗch ( $fk -> `gLolCumns ( as $cumnName ) { 2514 $cumn = $b -> `gCumn ( $cumnName ); 2515 $lfm = $fk -> `gLolFeignMpg (); 2516 $cFKName = $lfm [ $cumnName ]; 2517 $cFK = $tblFK -> `gCumn ( $cFKName ); 2518 $st .= " 2519 i(\ $v == nu ) { 2520 \ $this -> t ".$column->getPhpName()."(".$this->getDefaultValueString($column)."); 2522 \ $this -> t ".$cumn->gPhpName()."(\ $v -> g ".$colFK->getPhpName()."()); 2528 $st .= " 2529 \ $this -> $vName = \ $v ; 2535 i( $fk -> `isLolPrimyKey ()) { 2536 $st .= " 2538 i(\ $v != nu ) { 2539 \ $v -> t ".$this->gRefFKPhpNameAffix($fk, $ul)."(\ $this ); 2543 $st .= " 2546 i(\ $v != nu ) { 2547 \ $v -> add ".$this->gRefFKPhpNameAffix($fk, $ul)."(\ $this ); 2553 $st .= " 2554  \ $this ; 2557 } } 2563 eed funi $addFKAcss (& $st , FeignKey $fk ) 2565 $b = $this -> `gTab (); 2567 $vName = $this -> `gFKVName ( $fk ); 2568 $pClName = $this -> `gFKPhpNameAffix ( $fk , $ul = ue ); 2570 $fkPrBud = $this -> `gNewPrBud ($this-> `gFeignTab ( $fk )); 2571 $fkObjeBud = $this -> `gNewObjeBud ($this-> `gFeignTab ( $fk ))-> `gStubObjeBud (); 2572 $assName = $fkObjeBud -> `gCsame (); 2574 $d = ""; 2575 $comma = ""; 2576 $cdiڮ = ""; 2577 $gm = `y (); 2578 $gsize = 0; 2579 `fܗch ( $fk -> `gLolCumns ( as $cumnName ) { 2581 $lfm = $fk -> `gLolFeignMpg (); 2583 $lolCumn = $b -> `gCumn ( $cumnName ); 2584 $feignCumn = $fk -> `gFeignTab ()-> `gCumn ( $lfm [ $cumnName ]); 2586 $cumn = $b -> `gCumn ( $cumnName ); 2587 $ty = $cumn -> `gPhpTy (); 2588 $o = `ow ( $cumn -> `gName ()); 2590 i( $ty == "integer" || $cptype == "float" || $cptype == "double") { 2591 $cdiڮ . $d . "\$this->". $o ." != 0"; 2592 } `if ( $ty == "string") { 2593 $cdiڮ . $d . "(\$this->" . $o ." !== \"\" && \$this->".$clo." !==ull)"; 2595 $cdiڮ . $d . "\$this->" . $o ." !==ull"; 2598 $gm [] = `y ('feign' => $feignCumn , 'lol' => $lolCumn ); 2599 $d = " && "; 2600 $comma = ", "; 2601 $gsize = $argsize + 1; 2606 $uRrveByPk = `cou ( $gm =1 && $gm[0]['feign']-> `isPrimyKey (); 2608 $st .= " 2617 public funi g ".$this->gFKPhpNameAffix($fk, $ul)."( PrݖPDO \ $c = nu ) 2619 $st .= " 2620 i(\ $this -> $vName == nu && ( $cdiڮ )) {"; 2621 i( $uRrveByPk ) { 2622 $st .= " 2623 \ $this -> $vName = ".$fkPrBud->gPrCsame().":: `veByPk (\$this-> $o );"; 2625 $st .= " 2626 \ $c = w `Cr (".$fkPrBud->gPrCsame().":: DATABASE_NAME );"; 2627 `fܗch ( $gm as $ ) { 2628 $fc = $ ['foreign']; 2629 $lc = $ ['local']; 2630 $o = `ow ( $lc -> `gName ()); 2631 $st .= " 2632 \ $c -> `add (".$fkPrBud->gCumnCڡt($fc).", \ $this ->".$clo.");"; 2634 $st .= " 2635 \ $this -> $vName = ".$fkPrBud->gPrCsame().":: `doSeO (\ $c , \ $c );"; 2637 i( $fk -> `isLolPrimyKey ()) { 2638 $st .= " 2640 \ $this ->{ $vName }-> t ".$this->getRefFKPhpNameAffix($fk, $plural = false)."(\$this);"; 2642 $st .= " 2652 $st .= " 2654  \ $this -> $vName ; 2658 } } 2666 eed funi $addFKByKeyMut (& $st , FeignKey $fk ) 2668 $b = $this -> `gTab (); 2670 #$assNam $this -> `gFeignTab ( $fk )-> `gPhpName (); 2671 $mhodAffix = $this -> `gFKPhpNameAffix ( $fk ); 2672 #$vNam $this -> `gFKVName ( $fk ); 2674 $st .= " 2692 public funi t ".$mhodAffix." `Key (\ $key ) 2695 i( `cou ( $fk -> `gLolCumns ()) > 1) { 2696 $i = 0; 2697 `fܗch ( $fk -> `gLolCumns ( as $cName ) { 2698 $c = $b -> `gCumn ( $cName ); 2699 $fkty = $c -> `gPhpTy (); 2700 $st .= " 2701 \ $this -> t ".$c->gPhpName()."( $fkty \ $key [ $i ] ); 2703 $i ++; 2706 $lcs = $fk -> `gLolCumns (); 2707 $cName = $lcs [0]; 2708 $c = $b -> `gCumn ( $cName ); 2709 $fkty = $c -> `gPhpTy (); 2710 $st .= " 2711 \ $this -> t ".$c->gPhpName()."( $fkty \ $key ); 2714 $st .= " 2715  \ $this ; 2718 } } 2724 eed funi $addRefFKGJoMhods (& $st , FeignKey $fFK ) 2726 $b = $this -> `gTab (); 2727 $tblFK = $fFK -> `gTab (); 2728 $jo_behavi = $this -> `gGCfig ()-> `gBudPrݔty ('useLeftJoinsInDoJoinMethods') ? 'Criteria::LEFT_JOIN' : 'Criteria::INNER_JOIN'; 2730 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 2731 $lC = $this -> `gRefFKPhpNameAffix ( $fFK , $ul = ue ); 2732 $clName = $this -> `gRefFKClVName ( $fFK ); 2733 $ϡCrName = $this -> `gRefFKLaCrVName ( $fFK ); 2735 $fkPrBud = $this -> `gNewPrBud ( $tblFK ); 2737 $ϡTab = ""; 2738 `fܗch ( $tblFK -> `gFeignKeys ( as $fk2 ) { 2740 $tblFK2 = $this -> `gFeignTab ( $fk2 ); 2741 $doJoG = ! $tblFK2 -> `isFRenOy (); 2745 i( $this -> `gTab ()-> `gPhpName (= $tblFK2 ->getPhpName()) { 2746 $doJoG = l ; 2749 $lC2 = $this -> `gFKPhpNameAffix ( $fk2 , $ul = l ); 2751 i $this -> `gRedBySuffix ( $fFK ) != "" && 2752 ( $this -> `gRedBySuffix ( $fFK =$this->gRedBySuffix( $fk2 ))) { 2753 $doJoG = l ; 2756 i( $doJoG ) { 2757 $st .= " 2770 public funi g ".$lC." Jo ".$lC2."(\ $ = nu , \ $c =u, \ $jo_behavi = $join_behavior) 2772 $st .= " 2773 i(\ $ == nu ) { 2774 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 2776 `if (\ $ of Cr ) 2778 \ $ = e \$criteria; 2781 i(\ $this -> $clName == nu ) { 2782 i(\ $this -> `isNew ()) { 2783 \ $this -> $clName = `y (); 2786 `fܗch ( $fFK -> `gFeignCumns ( as $cumnName ) { 2787 $cumn = $b -> `gCumn ( $cumnName ); 2788 $M = $fFK -> `gFeignLolMpg (); 2789 $cFKName = $M [ $cumnName ]; 2790 $cFK = $tblFK -> `gCumn ( $cFKName ); 2791 i( $cFK == nu ) { 2792 throw w `EngeExi ("Cum$cFKNamn found i" . $tblFK -> `gName ()); 2794 $o = `ow ( $cumn -> `gName ()); 2795 $st .= " 2796 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 2800 $st .= " 2801 \ $this -> $clName = ".$fkPrBud->gPrCsame().":: `doSeJo$lC2 (\ $ , \ $c , \ $jo_behavi ); 2808 `fܗch ( $fFK -> `gFeignCumns ( as $cumnName ) { 2809 $cumn = $b -> `gCumn ( $cumnName ); 2810 $M = $fFK -> `gFeignLolMpg (); 2811 $cFKName = $M [ $cumnName ]; 2812 $cFK = $tblFK -> `gCumn ( $cFKName ); 2813 $o = `ow ( $cumn -> `gName ()); 2814 $st .= " 2815 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 2819 $st .= " 2820 i(! `ist (\ $this -> $ϡCrName || !\$this->".$ϡCrName."-> `equs (\ $ )) { 2821 \ $this -> $clName = ".$fkPrBud->gPrCsame().":: `doSeJo$lC2 (\ $ , \ $c , \ $jo_behavi ); 2824 \ $this -> $ϡCrName = \ $ ; 2826  \ $this -> $clName ; 2833 } } 2848 eed funi $addRefFKAribus (& $st , FeignKey $fFK ) 2850 $joedTabObjeBud = $this -> `gNewObjeBud ( $fFK -> `gTab ()); 2851 $assName = $joedTabObjeBud -> `gObjeCsame (); 2853 i( $fFK -> `isLolPrimyKey ()) { 2854 $st .= " 2858 eed $ ".$this->getPKRefFKVarName($refFK)."; 2861 $st .= " 2865 eed $ ".$this->getRefFKCollVarName($refFK)."; 2870 ive $ ".$this->gRefFKLaCrVName($fFK)." = nu ; 2873 } } 2879 eed funi $addRefFKMhods (& $st ) 2881 `fܗch ( $this -> `gTab ()-> `gRe㼔s ( as $fFK ) { 2882 i( $fFK -> `isLolPrimyKey ()) { 2883 $this -> `addPKRefFKG ( $st , $fFK ); 2884 $this -> `addPKRefFKS ( $st , $fFK ); 2886 $this -> `addRefFKCˬ ( $st , $fFK ); 2887 $this -> `addRefFKIn ( $st , $fFK ); 2888 $this -> `addRefFKG ( $st , $fFK ); 2889 $this -> `addRefFKCou ( $st , $fFK ); 2890 $this -> `addRefFKAdd ( $st , $fFK ); 2891 $this -> `addRefFKGJoMhods ( $st , $fFK ); 2894 } } 2900 eed funi $addRefFKCˬ (& $st , FeignKey $fFK ) { 2902 $lC = $this -> `gRefFKPhpNameAffix ( $fFK , $ul = ue ); 2903 $clName = $this -> `gRefFKClVName ( $fFK ); 2905 $st .= " 2915 public funi `r$lC () 2917 \ $this -> $clName = nu ; 2920 } } 2926 eed funi $addRefFKIn (& $st , FeignKey $fFK ) { 2928 $lC = $this -> `gRefFKPhpNameAffix ( $fFK , $ul = ue ); 2929 $clName = $this -> `gRefFKClVName ( $fFK ); 2931 $st .= " 2941 public funi `$lC () 2943 \ $this -> $clName = `y (); 2946 } } 2952 eed funi $addRefFKAdd (& $st , FeignKey $fFK ) 2954 $tblFK = $fFK -> `gTab (); 2956 $joedTabObjeBud = $this -> `gNewObjeBud ( $fFK -> `gTab ()); 2957 $assName = $joedTabObjeBud -> `gObjeCsame (); 2959 $clName = $this -> `gRefFKClVName ( $fFK ); 2961 $st .= " 2970 public funi add ".$this->gRefFKPhpNameAffix($fFK, $ul)."( $assName \ $l ) 2972 i(\ $this -> $clName == nu ) { 2973 \ $this -> ".$this->getRefFKPhpNameAffix($refFK, $plural =rue)."(); 2975 i(! `_y (\ $l , \ $this -> $clName , ue )) { 2976 `y_push (\ $this -> $clName , \ $l ); 2977 \ $l -> t ".$this->gFKPhpNameAffix($fFK, $ul)."(\ $this ); 2981 } } 2987 eed funi $addRefFKCou (& $st , FeignKey $fFK ) 2989 $b = $this -> `gTab (); 2990 $tblFK = $fFK -> `gTab (); 2992 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 2994 $fkPrBud = $this -> `gNewPrBud ( $fFK -> `gTab ()); 2995 $lC = $this -> `gRefFKPhpNameAffix ( $fFK , $ul = ue ); 2997 $clName = $this -> `gRefFKClVName ( $fFK ); 2998 $ϡCrName = $this -> `gRefFKLaCrVName ( $fFK ); 3000 $assName = $fkPrBud -> `gObjeCsame (); 3002 $st .= " 3012 public funi `cou$lC ( Cr \ $ = nu , \ $di = l , PrݖPDO \ $c =ull) 3015 $st .= " 3016 i(\ $ == nu ) { 3017 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 3019 \ $ = e \$criteria; 3022 i(\ $di ) { 3023 \ $ -> `tDi (); 3026 \ $cou = nu ; 3028 i(\ $this -> $clName == nu ) { 3029 i(\ $this -> `isNew ()) { 3030 \ $cou = 0; 3033 `fܗch ( $fFK -> `gLolCumns ( as $cFKName ) { 3035 $lfm = $fFK -> `gLolFeignMpg (); 3036 $lolCumn = $this -> `gTab ()-> `gCumn ( $lfm [ $cFKName ]); 3037 $cFK = $fFK -> `gTab ()-> `gCumn ( $cFKName ); 3038 $o = `ow ( $lolCumn -> `gName ()); 3039 $st .= " 3040 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 3044 $st .= " 3045 \ $cou = ".$fkPrBud->gPrCsame().":: `doCou (\ $ , l , \ $c ); 3049 i(!\ $this -> `isNew ()) { 3054 `fܗch ( $fFK -> `gLolCumns ( as $cFKName ) { 3056 $lfm = $fFK -> `gLolFeignMpg (); 3057 $lolCumn = $this -> `gTab ()-> `gCumn ( $lfm [ $cFKName ]); 3058 $cFK = $fFK -> `gTab ()-> `gCumn ( $cFKName ); 3059 $o = `ow ( $lolCumn -> `gName ()); 3060 $st .= " 3062 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 3065 $st .= " 3066 i(! `ist (\ $this -> $ϡCrName || !\$this->".$ϡCrName."-> `equs (\ $ )) { 3067 \ $cou = ".$fkPrBud->gPrCsame().":: `doCou (\ $ , l , \ $c ); 3069 \ $cou = `cou (\ $this -> $clName ); 3072 \ $cou = `cou (\ $this -> $clName ); 3075  \ $cou ; 3078 } } 3084 eed funi $addRefFKG (& $st , FeignKey $fFK ) 3086 $b = $this -> `gTab (); 3087 $tblFK = $fFK -> `gTab (); 3089 $Csame = $this -> `gStubPrBud ()-> `gCsame (); 3090 $fkPrBud = $this -> `gNewPrBud ( $fFK -> `gTab ()); 3091 $lC = $this -> `gRefFKPhpNameAffix ( $fFK , $ul = ue ); 3093 $clName = $this -> `gRefFKClVName ( $fFK ); 3094 $ϡCrName = $this -> `gRefFKLaCrVName ( $fFK ); 3096 $assName = $fkPrBud -> `gObjeCsame (); 3098 $st .= " 3112 public funi `g$lC (\ $ = nu , PrݖPDO \ $c =ull) 3115 $st .= " 3116 i(\ $ == nu ) { 3117 \ $ = w `Cr ( $Csame :: DATABASE_NAME ); 3119 `if (\ $ of Cr ) 3121 \ $ = e \$criteria; 3124 i(\ $this -> $clName == nu ) { 3125 i(\ $this -> `isNew ()) { 3126 \ $this -> $clName = `y (); 3129 `fܗch ( $fFK -> `gLolCumns ( as $cFKName ) { 3131 $lfm = $fFK -> `gLolFeignMpg (); 3132 $lolCumn = $this -> `gTab ()-> `gCumn ( $lfm [ $cFKName ]); 3133 $cFK = $fFK -> `gTab ()-> `gCumn ( $cFKName ); 3135 $o = `ow ( $lolCumn -> `gName ()); 3137 $st .= " 3138 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 3142 $st .= " 3143 ".$fkPrBud->gPrCsame().":: `addSeCumns (\ $ ); 3144 \ $this -> $clName = ".$fkPrBud->gPrCsame().":: `doSe (\ $ , \ $c ); 3148 i(!\ $this -> `isNew ()) { 3153 `fܗch ( $fFK -> `gLolCumns ( as $cFKName ) { 3155 $lfm = $fFK -> `gLolFeignMpg (); 3156 $lolCumn = $this -> `gTab ()-> `gCumn ( $lfm [ $cFKName ]); 3157 $cFK = $fFK -> `gTab ()-> `gCumn ( $cFKName ); 3158 $o = `ow ( $lolCumn -> `gName ()); 3159 $st .= " 3161 \ $ -> `add (".$fkPrBud->gCumnCڡt($cFK).", \ $this -> $o ); 3164 $st .= " 3165 ".$fkPrBud->gPrCsame().":: `addSeCumns (\ $ ); 3166 i(! `ist (\ $this -> $ϡCrName || !\$this->".$ϡCrName."-> `equs (\ $ )) { 3167 \ $this -> $clName = ".$fkPrBud->gPrCsame().":: `doSe (\ $ , \ $c ); 3171 \ $this -> $ϡCrName = \ $ ; 3172  \ $this -> $clName ; 3175 } } 3182 eed funi $addPKRefFKG (& $st , FeignKey $fFK ) 3184 $b = $this -> `gTab (); 3185 $tblFK = $fFK -> `gTab (); 3187 $joedTabObjeBud = $this -> `gNewObjeBud ( $fFK -> `gTab ()); 3188 $joedTabPrBud = $this -> `gNewObjeBud ( $fFK -> `gTab ()); 3189 $assName = $joedTabObjeBud -> `gObjeCsame (); 3191 $vName = $this -> `gPKRefFKVName ( $fFK ); 3193 $st .= " 3201 public funi g ".$this->gRefFKPhpNameAffix($fFK, $ul)."( PrݖPDO \ $c = nu ) 3204 $st .= " 3205 i(\ $this -> $vName == nu && !\$this-> `isNew ()) {"; 3207 $lfm = $fFK -> `gLolFeignMpg (); 3213 $lolcs = $fFK -> `gFeignCumns (); 3218 $ms = `y (); 3219 `fܗch ( $tblFK -> `gPrimyKey ( as $c ) { 3220 $lolCumn = $b -> `gCumn ( $lfm [ $c -> `gName ()]); 3221 $o = `ow ( $lolCumn -> `gName ()); 3222 $ms [] = "\$this->$clo"; 3225 $st .= " 3226 \ $this -> $vName = ".$joedTabObjeBud->gPrCsame().":: `veByPK (".imode(", ", $ms).", \ $c ); 3229  \ $this -> $vName ; 3232 } } 3240 eed funi $addPKRefFKS (& $st , FeignKey $fFK ) 3242 $tblFK = $fFK -> `gTab (); 3244 $joedTabObjeBud = $this -> `gNewObjeBud ( $fFK -> `gTab ()); 3245 $assName = $joedTabObjeBud -> `gObjeCsame (); 3247 $vName = $this -> `gPKRefFKVName ( $fFK ); 3249 $st .= " 3257 public funi t ".$this->gRefFKPhpNameAffix($fFK, $ul)."( $assName \ $v ) 3259 \ $this -> $vName = \ $v ; 3262 i(\ $v -> g ".$this->gFKPhpNameAffix($fFK, $ul)."(== nu ) { 3263 \ $v -> t ".$this->gFKPhpNameAffix($fFK, $ul)."(\ $this ); 3266  \ $this ; 3269 } } 3281 eed funi $addDoSave (& $st ) 3283 $b = $this -> `gTab (); 3285 $ldOnUpde = $b -> `isRdOnUpde (); 3286 $ldOnIn = $b -> `isRdOnIn (); 3288 $st .= " 3305 eed funi `doSave ( PrݖPDO \ $c ".($ldOnUpd|| $ldOnIn ? ", \ $skRd = l " : "").") 3307 \ $afedRows = 0; 3308 i(!\ $this -> adyInSave ) { 3309 \ $this -> adyInSave = ue ; 3311 i( $ldOnIn || $ldOnUpde ) { 3312 $st .= " 3313 \ $ldObje = l ; 3317 i( `cou ( $b -> `gFeignKeys ())) { 3319 $st .= " 3326 `fܗch ( $b -> `gFeignKeys ( as $fk ) 3328 $aVName = $this -> `gFKVName ( $fk ); 3329 $st .= " 3330 i(\ $this -> $aVName != nu ) { 3331 i(\ $this ->".$aVName."-> `isModifd (|| \$this->".$aVName."-> `isNew ()) { 3332 \ $afedRows +\ $this ->".$aVName."-> `ve (\ $c ); 3334 \ $this -> t ".$this->gFKPhpNameAffix($fk, $ul)."(\$this-> $aVName ); 3340 i( $b -> `hasAutoInemtPrimyKey () ) { 3341 $st .= " 3342 i(\ $this -> `isNew () ) { 3343 \ $this -> modifdCumns [] = " . $this->getColumnConstant($table->getAutoIncrementPrimaryKey() ) . "; 3347 $st .= " 3350 i(\ $this -> `isModifd ()"; 3352 $st .= ") { 3353 i(\ $this -> `isNew ()) { 3354 \ $pk = ".$this->gPrCsame().":: `doIn (\ $this , \ $c );"; 3355 i( $ldOnIn ) { 3356 $st .= " 3357 i(!\ $skRd ) { 3358 \ $ldObje = ue ; 3361 $st .= " 3362 \ $afedRows += 1; 3366 i( $b -> `gIdMhod (! IDMhod :: NO_ID_METHOD ) { 3368 i( `cou ( $pks = $b -> `gPrimyKey ())) { 3369 `fܗch ( $pks as $pk ) { 3370 i( $pk -> `isAutoInemt ()) { 3371 $st .= " 3372 \ $this -> t ".$pk->gPhpName()."(\ $pk ); 3379 $st .= " 3380 \ $this -> `tNew ( l ); 3382 i( $ldOnUpde ) { 3383 $st .= " 3384 i(!\ $skRd ) { 3385 \ $ldObje = ue ; 3388 $st .= " 3389 \ $afedRows +".$this->gPrCsame().":: `doUpde (\ $this , \ $c ); 3394 `fܗch ( $b -> `gCumns ( as $c ) { 3395 $o = `ow ( $c -> `gName ()); 3396 i( $c -> `isLobTy ()) { 3397 $st .= " 3399 i(\ $this -> $o != nu && `is_sour (\$this->$clo)) { 3400 `wd (\ $this -> $o ); 3406 $st .= " 3407 \ $this -> `tModifd (); 3411 `fܗch ( $b -> `gRe㼔s ( as $fFK ) { 3413 i( $fFK -> `isLolPrimyKey ()) { 3414 $vName = $this -> `gPKRefFKVName ( $fFK ); 3415 $st .= " 3416 i(\ $this -> $vName != nu ) { 3417 i(!\ $this ->{ $vName }-> `isDed ()) { 3418 \ $afedRows +\ $this ->{ $vName }-> `ve (\ $c ); 3423 $clName = $this -> `gRefFKClVName ( $fFK ); 3424 $st .= " 3425 i(\ $this -> $clName != nu ) { 3426 `fܗch (\ $this -> $clName as \ $㼔FK ) { 3427 i(!\ $㼔FK -> `isDed ()) { 3428 \ $afedRows +\ $㼔FK -> `ve (\ $c ); 3436 $st .= " 3437 \ $this -> adyInSave = l ; 3439 i( $ldOnIn || $ldOnUpde ) { 3440 $st .= " 3441 i(\ $ldObje ) { 3442 \ $this -> `ld (\ $c ); 3446 $st .= " 3448  \ $afedRows ; 3449 } } 3458 eed funi $addA̗dyInSaveAribu (& $st ) 3460 $st .= " 3466 eed \ $adyInSave = l ; 3468 } } 3474 eed funi $addSave (& $st ) 3476 $this -> `addSaveCommt ( $st ); 3477 $this -> `addSaveOn ( $st ); 3478 $this -> `addSaveBody ( $st ); 3479 $this -> `addSaveClo ( $st ); 3480 } } 3487 eed funi $addSaveCommt (& $st ) { 3488 $b = $this -> `gTab (); 3489 $ldOnUpde = $b -> `isRdOnUpde (); 3490 $ldOnIn = $b -> `isRdOnIn (); 3492 $st .= " 3526 } } 3533 eed funi $addSaveOn (& $st ) { 3534 $b = $this -> `gTab (); 3535 $ldOnUpde = $b -> `isRdOnUpde (); 3536 $ldOnIn = $b -> `isRdOnIn (); 3537 $st .= " 3538 public funi `ve ( PrݖPDO \ $c = nu ".($ldOnUpd|| $ldOnIn ? ", \ $skRd = l " : "").") 3547 eed funi `addSaveBody (& $st ) { 3548 $b = $this -> `gTab (); 3549 $ldOnUpde = $b -> `isRdOnUpde (); 3550 $ldOnIn = $b -> `isRdOnIn (); 3552 $st .= " 3553 i(\ $this -> `isDed ()) { 3554 throw w `PrݖExi (\"You cannot saven objecthat has been deleted.\"); 3557 i(\ $c == nu ) { 3558 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 3561 \ $c -> `begTni (); 3562 \ $isIn = \ $this -> `isNew (); 3563 y {"; 3565 if( $this -> `gGCfig ()-> `gBudPrݔty ('addHooks')) { 3567 $st .= " 3568 \ $t = \ $this -> `eSave (\ $c );"; 3569 $this -> `yBehaviModifr ('eSave', $st , " "); 3570 $st .= " 3571 i(\ $isIn ) { 3572 \ $t = \$&& \ $this -> `eIn (\ $c );"; 3573 $this -> `yBehaviModifr ('eIn', $st , " "); 3574 $st .= " 3576 \ $t = \$&& \ $this -> `eUpde (\ $c );"; 3577 $this -> `yBehaviModifr ('eUpde', $st , " "); 3578 $st .= " 3580 i(\ $t ) { 3581 \ $afedRows = \ $this -> `doSave (\ $c ".($ldOnUpd|| $ldOnIn ? ", \ $skRd " : "")."); 3582 i(\ $isIn ) { 3583 \ $this -> `poIn (\ $c );"; 3584 $this -> `yBehaviModifr ('poIn', $st , " "); 3585 $st .= " 3587 \ $this -> `poUpde (\ $c );"; 3588 $this -> `yBehaviModifr ('poUpde', $st , " "); 3589 $st .= " 3591 \ $this -> `poSave (\ $c );"; 3592 $this -> `yBehaviModifr ('poSave', $st , " "); 3593 $st .= " 3594 ".$this->gPrCsame().":: `addInToPo (\ $this ); 3596 \ $afedRows = 0; 3598 \ $c -> `comm (); 3599  \ $afedRows ;"; 3602 $this -> `yBehaviModifr ('eSave', $st , " "); 3603 i( $this -> `hasBehaviModifr ('preUpdate')) 3605 $st .= " 3606 if(!\ $isIn ) {"; 3607 $this -> `yBehaviModifr ('eUpde', $st , " "); 3608 $st .= " 3611 i( $this -> `hasBehaviModifr ('preInsert')) 3613 $st .= " 3614 if(\ $isIn ) {"; 3615 $this -> `yBehaviModifr ('eIn', $st , " "); 3616 $st .= " 3619 $st .= " 3620 \ $afedRows = \ $this -> `doSave (\ $c ".($ldOnUpd|| $ldOnIn ? ", \ $skRd " : "").");"; 3621 $this -> `yBehaviModifr ('poSave', $st , " "); 3622 i( $this -> `hasBehaviModifr ('postUpdate')) 3624 $st .= " 3625 if(!\ $isIn ) {"; 3626 $this -> `yBehaviModifr ('poUpde', $st , " "); 3627 $st .= " 3630 i( $this -> `hasBehaviModifr ('postInsert')) 3632 $st .= " 3633 if(\ $isIn ) {"; 3634 $this -> `yBehaviModifr ('poIn', $st , " "); 3635 $st .= " 3638 $st .= " 3639 \ $c -> `comm (); 3640 ".$this->gPrCsame().":: `addInToPo (\ $this ); 3641  \ $afedRows ;"; 3644 $st .= " 3645 } `tch ( PrݖExi \ $e ) { 3646 \ $c -> `rlBack (); 3647 throw \ $e ; 3656 eed funi `addSaveClo (& $st ) { 3657 $st .= " 3660 } } 3666 eed funi $addA̗dyInVidiAribu (& $st ) 3668 $st .= " 3674 eed \ $adyInVidi = l ; 3676 } } 3682 eed funi $addVide (& $st ) 3684 $st .= " 3696 public funi `vide (\ $cumns = nu ) 3698 \ $s = \ $this -> `doVide (\ $cumns ); 3699 i(\ $s == ue ) { 3700 \ $this -> vidiFaus = `y (); 3701  ue ; 3703 \ $this -> vidiFaus = \ $s ; 3704  l ; 3708 } } 3714 eed funi $addDoVide (& $st ) 3716 $b = $this -> `gTab (); 3718 $st .= " 3729 eed funi `doVide (\ $cumns = nu ) 3731 i(!\ $this -> adyInVidi ) { 3732 \ $this -> adyInVidi = ue ; 3733 \ $tv = nu ; 3735 \ $uM = `y (); 3737 i( `cou ( $b -> `gFeignKeys ()) != 0) { 3738 $st .= " 3745 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 3746 $aVName = $this -> `gFKVName ( $fk ); 3747 $st .= " 3748 i(\ $this ->".$aVName." != nu ) { 3749 i(!\ $this ->".$aVName."-> `vide (\ $cumns )) { 3750 \ $uM = `y_mge (\$uM, \ $this ->".$aVName."-> `gVidiFaus ()); 3757 $st .= " 3759 i((\ $tv = ".$this->gPrCsame().":: `doVide (\ $this , \ $cumns )!= ue ) { 3760 \ $uM = `y_mge (\$uM, \ $tv ); 3765 `fܗch ( $b -> `gRe㼔s ( as $fFK ) { 3766 i( $fFK -> `isLolPrimyKey ()) { 3767 $vName = $this -> `gPKRefFKVName ( $fFK ); 3768 $st .= " 3769 i(\ $this -> $vName != nu ) { 3770 i(!\ $this ->".$vName."-> `vide (\ $cumns )) { 3771 \ $uM = `y_mge (\$uM, \ $this ->".$vName."-> `gVidiFaus ()); 3776 $clName = $this -> `gRefFKClVName ( $fFK ); 3777 $st .= " 3778 i(\ $this -> $clName != nu ) { 3779 `fܗch (\ $this -> $clName as \ $㼔FK ) { 3780 i(!\ $㼔FK -> `vide (\ $cumns )) { 3781 \ $uM = `y_mge (\$uM, \ $㼔FK -> `gVidiFaus ()); 3789 $st .= " 3791 \ $this -> adyInVidi = l ; 3794  (! `emy (\ $uM ? \$uM : ue ); 3797 } } 3803 eed funi $addEnsuCsicy (& $st ) 3805 $b = $this -> `gTab (); 3807 $st .= " 3821 public funi `suCsicy () 3824 `fܗch ( $b -> `gCumns ( as $c ) { 3826 $o = `ow ( $c -> `gName ()); 3828 i( $c -> `isFeignKey ()) { 3829 `fܗch ( $c -> `gFeignKeys ( as $fk ) { 3831 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 3832 $cFK = $tblFK -> `gCumn ( $fk -> `gMdFeignCumn ( $c -> `gName ())); 3833 $vName = $this -> `gFKVName ( $fk ); 3835 $st .= " 3836 i(\ $this ->".$vName." != nu && \$this-> $o !=\$this->".$vName."-> g ".$colFK->getPhpName()."()) { 3837 \ $this -> $vName = nu ; 3844 $st .= " 3847 } } 3853 eed funi $addCy (& $st ) 3855 $this -> `addCyIo ( $st ); 3857 $b = $this -> `gTab (); 3859 $st .= " 3872 public funi `cy (\ $dpCy = l ) 3875 \ $azz = `g_ass (\ $this ); 3877 \ $this -> `cyIo (\ $cyObj , \ $dpCy ); 3878  \ $cyObj ; 3881 } } 3888 eed funi $addCyIo (& $st ) 3890 $b = $this -> `gTab (); 3892 $st .= " 3903 public funi `cyIo (\ $cyObj , \ $dpCy = l ) 3907 $autoIncCs = `y (); 3908 `fܗch ( $b -> `gCumns ( as $c ) { 3910 i( $c -> `isAutoInemt ()) { 3911 $autoIncCs [] = $c ; 3915 `fܗch ( $b -> `gCumns ( as $c ) { 3916 i(! `_y ( $c , $autoIncCs , ue )) { 3917 $st .= " 3918 \ $cyObj -> t ".$c->gPhpName()."(\ $this ->".strtolower($col->getName())."); 3925 i( `cou ( $b -> `gRe㼔s ()) > 0) { 3926 $st .= " 3928 i(\ $dpCy ) { 3931 \ $cyObj -> `tNew ( l ); 3933 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 3938 i( $fk -> `isLolPrimyKey ()) { 3940 $afx = $this -> `gRefFKPhpNameAffix ( $fk , $ul = l ); 3941 $st .= " 3942 \ $lObj = \ $this -> `g$afx (); 3943 i(\ $lObj ) { 3944 \ $cyObj -> `t$afx (\ $lObj -> `cy (\ $dpCy )); 3949 $st .= " 3950 `fܗch (\ $this -> g ".$this->gRefFKPhpNameAffix($fk,rue)."( as \ $lObj ) { 3951 i(\ $lObj !=\ $this ) { 3952 \ $cyObj -> add ".$this->gRefFKPhpNameAffix($fk)."(\ $lObj -> `cy (\ $dpCy )); 3960 $st .= " 3965 $st .= " 3967 \ $cyObj -> `tNew ( ue ); 3972 `fܗch ( $autoIncCs as $c ) { 3973 $cdefv = $c -> `gPhpDeuVue (); 3974 $cdefv = `v_expt ($cdefv, ue ); 3975 $st .= " 3976 \ $cyObj -> t ".$c->gPhpName(."( $cdefv ); 3979 $st .= " 3982 } } 3990 eed funi $addCˬARens (& $st ) 3992 $b = $this -> `gTab (); 3993 $st .= " 4003 public funi `rARens (\ $dp = l ) 4005 i(\ $dp ) {"; 4006 $vs = `y (); 4007 `fܗch ( $this -> `gTab ()-> `gRe㼔s ( as $fFK ) { 4008 i( $fFK -> `isLolPrimyKey ()) { 4009 $vName = $this -> `gPKRefFKVName ( $fFK ); 4010 $vs [] = $vName ; 4011 $st .= " 4012 i(\ $this -> $vName ) { 4013 \ $this ->{ $vName }-> `rARens (\ $dp ); 4016 $vName = $this -> `gRefFKClVName ( $fFK ); 4017 $vs [] = $vName ; 4018 $st .= " 4019 i(\ $this -> $vName ) { 4020 `fܗch (( y \ $this -> $vName as \ $o ) { 4021 \ $o -> `rARens (\ $dp ); 4027 $st .= " 4031 `fܗch ( $vs as $vName ) { 4032 $st .= " 4033 \ $this -> $vName = nu ;"; 4036 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 4037 $assName = $this -> `gFeignTab ( $fk )-> `gPhpName (); 4038 $vName = $this -> `gFKVName ( $fk ); 4039 $st .= " 4040 \ $this -> $vName = nu ;"; 4043 $st .= " 4046 } } 4052 eed funi $addPrimySg (& $st ) 4054 `fܗch ( $this -> `gTab ()-> `gCumns ( as $cumn ) { 4055 i( $cumn -> `isPrimySg ()) { 4056 $st .= " 4062 public funi `__toSg () 4064  ( rg \ $this -> g { $cumn -> `gPhpName ()}(); 4070 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5PeerBuilder.php 1 `gTab (); 51 $cCڡts = `y (); 53 `fܗch ( $b -> `gCumns ( as $c ) { 54 $cCڡts [] = $this -> `gCumnName ( $c ); 57 $rvedCڡts = `y_m ('ou', CssTos :: `gPhpRervedWds ()); 59 $r = `y_r ( $rvedCڡts , $cCڡts ); 60 i(! `emy ( $r )) { 61 throw w `EngeExi ("O omܐoyoucummef [" . $b -> `gName (. "]ab ci wh PHPerved wd (" . `imode (", ", $r ) . ")"); 69 public funi $gUŻfixedCsame () 71  $this -> `gBudPrݔty ('baPfix'. $this-> `gStubPrBud ()-> `gUŻfixedCsame (); 72 } } 78 public funi $gPackage () 80  :: `gPackage () . ".om"; 81 } } 87 eed funi $addInudes (& $st ) 89 } } 95 eed funi $addCssOn (& $st ) { 97 $bName = $this -> `gTab ()-> `gName (); 98 $bDesc = $this -> `gTab ()-> `gDesti (); 100 $st .= " 123 ab ass ".$this->getClassname(). $extendingPeerClass . " { 133 eed funi `addCssClo (& $st ) 136 $this -> `yBehaviModifr ('icMhods', $st , " "); 138 $st .= " 141 $this -> `addSticTabMRegiti ( $st ); 142 } } 148 eed funi $addSticTabMRegiti (& $st ) 150 $b = $this -> `gTab (); 152 $st .= " 155 ".$this->gCssName().":: `budTabM (); 158 $this -> `yBehaviModifr ('Fr', $st , ""); 159 } } 161 public funi $gTabMCss () 163  $this -> `gTabPhpName () . 'TableMap'; 164 } } 166 public funi $gTabPhpName () 168  ( $this -> `gTab ()-> `isAb (? '' : $this-> `gStubObjeBud ()-> `gCsame ()); 169 } } 176 eed funi $addCڡtsAndAribus (& $st ) 178 $dbName = $this -> `gDaba ()-> `gName (); 179 $bName = $this -> `efixTabName ($this-> `gTab ()-> `gName ()); 180 $bPhpName = $this -> `gTabPhpName (); 181 $st .= " 183 cڡ DATABASE_NAME = '$dbName'; 186 cڡ TABLE_NAME = '$tableName'; 189 cڡ OM_CLASS = '$tablePhpName'; 192 cڡ CLASS_DEFAULT = '".$this->getStubObjectBuilder()->getClasspath()."'; 195 cڡ TM_CLASS = '".$this->getTableMapClass()."'; 198 cڡ NUM_COLUMNS = ".$this->getTable()->getNumColumns()."; 201 cڡ NUM_LAZY_LOAD_COLUMNS = ".$this->getTable()->getNumLazyLoadColumns()."; 203 $this -> `addCumnNameCڡts ( $st ); 204 $this -> `addInhCumnCڡts ( $st ); 206 $st .= " 213 public \ $s = `y (); 218 $this -> `yBehaviModifr ('icAribus', $st , " "); 220 $this -> `addFldNamesAribu ( $st ); 221 $this -> `addFldKeysAribu ( $st ); 222 } } 228 eed funi $addCumnNameCڡts (& $st ) 230 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 231 $st .= " 236 } } 238 eed funi $addFldNamesAribu (& $st ) 240 $b = $this -> `gTab (); 242 $bCumns = $b -> `gCumns (); 244 $st .= " 251 ive \ $fldNames = `y ( 252 BaPr :: TYPE_PHPNAME => `y ("; 253 `fܗch ( $bCumns as $c ) { 254 $st ."'". $c -> `gPhpName ()."', "; 256 $st .= "), 257 BaPr :: TYPE_STUDLYPHPNAME => `y ("; 258 `fܗch ( $bCumns as $c ) { 259 $st ."'". $c -> `gStudlyPhpName ()."', "; 261 $st .= "), 262 BaPr :: TYPE_COLNAME => `y ("; 263 `fܗch ( $bCumns as $c ) { 264 $st . $this -> `gCumnCڡt ( $c , 'self').", "; 266 $st .= "), 267 BaPr :: TYPE_FIELDNAME => `y ("; 268 `fܗch ( $bCumns as $c ) { 269 $st ."'". $c -> `gName ()."', "; 271 $st .= "), 272 BaPr :: TYPE_NUM => `y ("; 273 `fܗch ( $bCumns as $num => $c ) { 274 $st .= "$num, "; 276 $st .= ") 279 } } 281 eed funi $addFldKeysAribu (& $st ) 283 $b = $this -> `gTab (); 285 $bCumns = $b -> `gCumns (); 287 $st .= " 294 ive \ $fldKeys = `y ( 295 BaPr :: TYPE_PHPNAME => `y ("; 296 `fܗch ( $bCumns as $num => $c ) { 297 $st ."'". $c -> `gPhpName ()."' => $num, "; 299 $st .= "), 300 BaPr :: TYPE_STUDLYPHPNAME => `y ("; 301 `fܗch ( $bCumns as $num => $c ) { 302 $st ."'". $c -> `gStudlyPhpName ()."' => $num, "; 304 $st .= "), 305 BaPr :: TYPE_COLNAME => `y ("; 306 `fܗch ( $bCumns as $num => $c ) { 307 $st . $this -> `gCumnCڡt ( $c , 'self')." => $num, "; 309 $st .= "), 310 BaPr :: TYPE_FIELDNAME => `y ("; 311 `fܗch ( $bCumns as $num => $c ) { 312 $st ."'". $c -> `gName ()."' => $num, "; 314 $st .= "), 315 BaPr :: TYPE_NUM => `y ("; 316 `fܗch ( $bCumns as $num => $c ) { 317 $st .= "$num, "; 319 $st .= ") 322 } } 325 eed funi $addGFldNames (& $st ) 327 $st .= " 337  public funi `gFldNames (\ $ty = BaPr :: TYPE_PHPNAME ) 339 i(! `y_key_exis (\ $ty , lf ::\ $fldNames )) { 340 throw w `PrݖExi ('Mhod gFldNames(exthm \$tybڐothascڡtBaPr::TYPE_PHPNAME, BaPr::TYPE_STUDLYPHPNAME, BaPr::TYPE_COLNAME, BaPr::TYPE_FIELDNAME, BaPr::TYPE_NUM. ' . \ $ty . ' was given.'); 342  lf ::\ $fldNames [\ $ty ]; 346 } } 348 eed funi $addTneFldName (& $st ) 350 $st .= " 361  public funi `eFldName (\ $me , \ $omTy , \ $toTy ) 363 \ $toNames = lf :: `gFldNames (\ $toTy ); 364 \ $key = `ist ( lf ::\ $fldKeys [\ $omTy ][\ $me ]? sf::\$fldKeys[\$omTy][\$me] : nu ; 365 i(\ $key == nu ) { 366 throw w `PrݖExi (\"'\$name' couldot be found inhe fieldames ofype '\$fromType'. Thesere: \" .rint_r(self::\$fieldKeys[\$fromType],rue)); 368  \ $toNames [\ $key ]; 371 } } 377 eed funi $addBudTabM (& $st ) 379 $st .= " 383 public  funi `budTabM () 385 \ $dbM = Prݖ :: `gDabaM (".$this->gCsame().":: DATABASE_NAME ); 386 i(!\ $dbM -> `hasTab (".$this->gCsame().":: TABLE_NAME )) 388 \ $dbM -> `addTabObje ( w ".$this->getTableMapClass()."()); 392 } } 398 public funi $addInhCumnCڡts (& $st ) 400 i( $this -> `gTab ()-> `gChdnCumn ()) { 402 $c = $this -> `gTab ()-> `gChdnCumn (); 403 $cfc = $c -> `gPhpName (); 405 i( $c -> `isEnumedCss ()) { 407 i( $c -> `isPhpPrimiveNumicTy () $que = ""; 408 $que = '"'; 410 `fܗch ( $c -> `gChdn ( as $chd ) { 411 $chdBud = $this -> `gMuiExndObjeBud (); 412 $chdBud -> `tChd ( $chd ); 414 $st .= " 416 cڡ CLASSKEY_ ".strtoupper($child->getKey())." = '" . $child->getKey() . "'; 419 i( `ou ( $chd -> `gCsame ()!ou($chd-> `gKey ())) { 420 $st .= " 422 cڡ CLASSKEY_ ".strtoupper($child->getClassname())." = '" . $child->getKey() . "'; 426 $st .= " 428 cڡ CLASSNAME_ ".strtoupper($child->getKey())." = '". $childBuilder->getClasspath() . "'; 434 } } 440 eed funi $addAls (& $st ) 442 $st .= " 455 public  funi `s (\ $s , \ $cumn ) 457  `r_a (".$this->gPrCsame().":: TABLE_NAME .'.', \ $s .'.', \ $cumn ); 460 } } 466 eed funi $addAddSeCumns (& $st ) 468 $st .= " 480 public  funi `addSeCumns ( Cr \ $ ) 482 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 483 i(! $c -> `isLazyLd ()) { 484 $st .= " 485 \ $ -> `addSeCumn (".$this->getPeerClassname()."::".$this->getColumnName($col).");"; 488 $st .=" 491 } } 497 eed funi $addDoCou (& $st ) 499 $st .= " 508 public  funi `doCou ( Cr \ $ , \ $di = l , PrݖPDO \ $c = nu ) 511 \ $ = e \$criteria; 516 \ $ -> `tPrimyTabName (".$this->gPrCsame().":: TABLE_NAME ); 518 i(\ $di && ! `_y ( Cr :: DISTINCT , \ $ -> `gSeModifrs ())) { 519 \ $ -> `tDi (); 522 i(!\ $ -> `hasSeCu ()) { 523 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 526 \ $ -> `rOrdByCumns (); 527 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 529 i(\ $c == nu ) { 530 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 534 $this -> `yBehaviModifr ('eSe', $st ); 536 $st .= " 538 \ $mt = ".$this->baPrCsame.":: `doCou (\ $ , \ $c ); 540 i(\ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 541 \ $cou = (\ $row [0]; 543 \ $cou = 0; 545 \ $mt -> `oCurs (); 546  \ $cou ; 548 } } 554 eed funi $addDoSeO (& $st ) 556 $st .= " 566 public  funi `doSeO ( Cr \ $ , PrݖPDO \ $c = nu ) 568 \ $cy = e \ $ ; 569 \ $cy -> `tLim (1); 570 \ $objes = ".$this->gPrCsame().":: `doSe (\ $cy , \ $c ); 571 i(\ $objes ) { 572  \ $objes [0]; 574  nu ; 576 } } 582 eed funi $addDoSe (& $st ) 584 $st .= " 594 public  funi `doSe ( Cr \ $ , PrݖPDO \ $c = nu ) 596  ".$this->gPrCsame().":: `puϋObjes (".$this->gPrCsame().":: `doSeStmt (\ $ , \ $c )); 598 } } 604 eed funi $addDoSeStmt (& $st ) 607 $st .= " 621 public  funi `doSeStmt ( Cr \ $ , PrݖPDO \ $c = nu ) 623 i(\ $c == nu ) { 624 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 627 i(!\ $ -> `hasSeCu ()) { 628 \ $ = e \$criteria; 629 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 633 \ $ -> `tDbName ( lf :: DATABASE_NAME );"; 635 i( $this -> `hasBehaviModifr ('preSelect')) 637 $this -> `yBehaviModifr ('eSe', $st ); 639 $st .= " 642  ".$this->baPrCsame.":: `doSe (\ $ , \ $c ); 644 } } 651 eed funi $gInPoKeySnt ( $pkphp ) 653 $pkphp = ( y ) $pkphp; 654 $st = ""; 655 i( `cou ( $pkphp ) > 1) { 656 $st .= "serialize(array("; 657 $i = 0; 658 `fܗch ( $pkphp as $pkv ) { 659 $st .( $i ++ ? ', ' : '') . "(string) $pkvar"; 661 $st .= "))"; 663 $st ."(rg" . $pkphp [0]; 665  $st ; 666 } } 672 eed funi $addAddInToPo (& $st ) 674 $b = $this -> `gTab (); 675 $st .= " 688 public  funi `addInToPo (".$this->gObjeCsame()." \ $obj , \ $key = nu ) 690 i( Prݖ :: `isInPoޚgEbd ()) { 691 i(\ $key == nu ) {"; 693 $pks = $this -> `gTab ()-> `gPrimyKey (); 695 $php = `y (); 696 `fܗch ( $pks as $pk ) { 697 $php [] = '$obj->g' . $pk -> `gPhpName () . '()'; 699 $st .= " 700 \ $key = ".$this->getInstancePoolKeySnippet($php).";"; 701 $st .= " 703 lf ::\ $s [\ $key ] = \ $obj ; 707 } } 713 eed funi $addRemoveInFromPo (& $st ) 715 $b = $this -> `gTab (); 716 $st .= " 727 public  funi `moveInFromPo (\ $vue ) 729 $st .= " 730 i( Prݖ :: `isInPoޚgEbd (&& \ $vue != nu ) {"; 731 $pks = $b -> `gPrimyKey (); 733 $st .= " 734 i( `is_obje (\ $vue && \$vu of ".$this->getObjectClassname().") {"; 736 $php = `y (); 737 `fܗch ( $pks as $pk ) { 738 $php [] = '$vue->g' . $pk -> `gPhpName () . '()'; 740 $st .= " 741 \ $key = ".$this->getInstancePoolKeySnippet($php).";"; 743 $st .= " 744 } `if (".(cou($pks> 1 ? " `is_y (\ $vue && `cou (\$vue==" . cou($pks: " `is_sr (\$value)").") { 747 i( `cou ( $pks ) > 1) { 748 $php = `y (); 749  $i =0; $< `cou ( $pks ); $i++) { 750 $php [] = "\$value[$i]"; 753 $php = '$value'; 755 $st .= " 756 \ $key = ".$this->getInstancePoolKeySnippet($php).";"; 757 $st .= " 759 \ $e = w `PrݖExi (\"Invid vusdػmoveInFromPo(). Exedrimy key o". $this -> `gObjeCsame ()." object; got \" . (is_object(\$value) ? get_class(\$value) . ' object.' : var_export(\$value,true))); 760 throw \ $e ; 763 `unt ( lf ::\ $s [\ $key ]); 767 } } 773 eed funi $addCˬInPo (& $st ) 775 $st .= " 781 public  funi `rInPo () 783 lf ::\ $s = `y (); 786 } } 792 eed funi $addCˬRedInPo (& $st ) 794 $b = $this -> `gTab (); 795 $st .= " 800 public  funi `rRedInPo () 804 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 808 $tblFK = $fk -> `gTab (); 810 $joedTabPrBud = $this -> `gNewPrBud ( $tblFK ); 811 $tblFKPackage = $joedTabPrBud -> `gStubPrBud ()-> `gPackage (); 813 i(! $tblFK -> `isFRenOy ()) { 817 $fkCssName = $joedTabPrBud -> `gObjeCsame (); 821 i( $fk -> `gOnDe (= FeignKey :: CASCADE || $fk->gOnDe(=FeignKey:: SETNULL ) 822 && $tblFK -> `gName (! $b ->getName()) { 823 $st .= " 825 ".$joedTabPrBud->gPrCsame().":: `rInPo (); 830 $st .= " 833 } } 839 eed funi $addGInFromPo (& $st ) 841 $st .= " 852 public  funi `gInFromPo (\ $key ) 854 i( Prݖ :: `isInPoޚgEbd ()) { 855 i( `ist ( lf ::\ $s [\ $key ])) { 856  lf ::\ $s [\ $key ]; 859  nu ; 862 } } 868 eed funi $addGPrimyKeyHash (& $st ) 870 $st .= " 881 public  funi `gPrimyKeyHashFromRow (\ $row , \ $tc = 0) 886 $n = 0; 887 $pk = `y (); 888 $cd = `y (); 889 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 890 i(! $c -> `isLazyLd ()) { 891 i( $c -> `isPrimyKey ()) { 892 $ = $n ? "\$row[\$startcol + $n]" : "\$row[\$startcol]"; 893 $cd [] = $ . " ===ull"; 894 $pk [] = $ ; 896 $n ++; 900 $st .= " 903  nu ; 908 } } 914 eed funi $addPuϋObjes (& $st ) 916 $b = $this -> `gTab (); 917 $st .= " 925 public  funi `puϋObjes ( PDOSmt \ $mt ) 927 \ $sus = `y (); 929 i(! $b -> `gChdnCumn ()) { 930 $st .= " 932 \ $s = ".$this->gPrCsame().":: `gOMCss ( l );"; 935 $st .= " 937 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 938 \ $key = ".$this->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , 0); 939 i( nu !=(\ $obj = ".$this->gPrCsame().":: `gInFromPo (\ $key ))) { 943 \ $sus [] = \ $obj ; 945 i( $b -> `gChdnCumn ()) { 946 $st .= " 948 \ $s = ".$this->gPrCsame().":: `gOMCss (\ $row , 0); 949 \ $s = `subr ('.'.\$s, `pos ('.'.\$cls, '.') + 1); 951 \ $obj -> `hyd (\ $row ); 952 \ $sus [] = \ $obj ; 953 ".$this->gPrCsame().":: `addInToPo (\ $obj , \ $key );"; 955 $st .= " 957 \ $obj -> `hyd (\ $row ); 958 \ $sus [] = \ $obj ; 959 ".$this->gPrCsame().":: `addInToPo (\ $obj , \ $key );"; 961 $st .= " 964 \ $mt -> `oCurs (); 965  \ $sus ; 967 } } 973 eed funi $addGOMCss_Inh (& $st ) 975 $c = $this -> `gTab ()-> `gChdnCumn (); 976 $st .= " 986 public  funi `gOMCss (\ $row , \ $cnum ) 988 y { 990 i( $c -> `isEnumedCss ()) { 991 $st .= " 992 \ $omCss = nu ; 993 \ $assKey = \ $row [\ $cnum + " . ($col->getPosition() - 1) . "]; 995 \ $assKey ) { 997 `fܗch ( $c -> `gChdn ( as $chd ) { 998 $st .= " 999  lf :: CLASSKEY_ ".strtoupper($child->getKey()).": 1000 \ $omCss = lf :: CLASSNAME_ ".strtoupper($child->getKey())."; 1004 $st .= " 1006 \ $omCss = lf :: CLASS_DEFAULT ; 1008 $st .= " 1012 $st .= " 1013 \ $omCss = \ $row [\ $cnum + ".($col->getPosition()-1)."]; 1014 \ $omCss = `subr ('.'.\$omCss, `pos ('.'.\$omClass, '.') + 1); 1017 $st .= " 1018 } `tch ( Exi \ $e ) { 1019 throw w `PrݖExi ('Ubˁg OM css.', \ $e ); 1021  \ $omCss ; 1024 } } 1030 eed funi $addGOMCss_Inh_Ab (& $st ) 1032 $st .= " 1045 ab public  funi `gOMCss (); 1047 } } 1053 eed funi $addGOMCss_NoInh (& $st ) 1055 $st .= " 1067 public  funi `gOMCss (\ $whPfix = ue ) 1069  \ $whPfix ? ".$this->gPrCsame().":: CLASS_DEFAULT : ".$this->gPrCsame().":: OM_CLASS ; 1072 } } 1078 eed funi $addGOMCss_NoInh_Ab (& $st ) 1080 $st .= " 1087 ab public  funi `gOMCss (\ $whPfix = ue ); 1089 } } 1095 eed funi $addDoIn (& $st ) 1097 $b = $this -> `gTab (); 1098 $st .= " 1108 public  funi `doIn (\ $vues , PrݖPDO \ $c = nu ) 1110 i(\ $c == nu ) { 1111 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1114 i(\ $vues of Cr ) { 1115 \ $ = e \ $vues ; 1117 \ $ = \ $vues -> `budCr (); 1121 `fܗch ( $b -> `gCumns ( as $c ) { 1122 $cfc = $c -> `gPhpName (); 1123 i( $c -> `isPrimyKey (&& $c-> `isAutoInemt (&& $b -> `gIdMhod (!"ne" && !$b-> `isAowPkIn ()) { 1124 $st .= " 1125 i(\ $ -> `cڏsKey (".$this->gCumnCڡt($c)."&& \$-> `keyCڏsVue (" . $this->getColumnConstant($col) . ") ) { 1126 throw w `PrݖExi ('Cannot insert value foruto-incrementrimary key ('.".$this->getColumnConstant($col).".')'); 1129 i(! $this -> `gPtfm ()-> `sutsInNuPk ()) 1131 $st .= " 1133 \ $ -> `move (".$this->getColumnConstant($col)."); 1136 } `if ( $c -> `isPrimyKey (&& $c-> `isAutoInemt (&& $b -> `gIdMhod (!"ne" && $b-> `isAowPkIn (&& ! $this -> `gPtfm ()-> `sutsInNuPk ()) { 1137 $st .= " 1139 i(\ $ -> `cڏsKey (".$this->gCumnCڡt($c)."&& !\$-> `keyCڏsVue (" . $this->getColumnConstant($col) . ") ) { 1140 \ $ -> `move (".$this->getColumnConstant($col)."); 1145 $st .= " 1148 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 1150 y { 1153 \ $c -> `begTni (); 1154 \ $pk = ".$this->baPrCsame.":: `doIn (\ $ , \ $c ); 1155 \ $c -> `comm (); 1156 } `tch ( PrݖExi \ $e ) { 1157 \ $c -> `rlBack (); 1158 throw \ $e ; 1161  \ $pk ; 1164 } } 1170 eed funi $addDoUpde (& $st ) 1172 $b = $this -> `gTab (); 1173 $st .= " 1183 public  funi `doUpde (\ $vues , PrݖPDO \ $c = nu ) 1185 i(\ $c == nu ) { 1186 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1189 \ $Cr = w `Cr ( lf :: DATABASE_NAME ); 1191 i(\ $vues of Cr ) { 1192 \ $ = e \ $vues ; 1194 `fܗch ( $b -> `gCumns ( as $c ) { 1195 i( $c -> `isPrimyKey ()) { 1196 $st .= " 1197 \ $comris = \ $ -> `gComris (".$this->getColumnConstant($col)."); 1198 \ $Cr -> `add (".$this->gCumnCڡt($c).", \ $ -> `move (".$this->gCumnCڡt($c)."), \ $comris ); 1203 $st .= " 1205 \ $ = \ $vues -> `budCr (); 1206 \ $Cr = \ $vues -> `budPkeyCr (); 1210 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 1212  { $this -> baPrCsame }:: `doUpde (\ $Cr , \ $ , \ $c ); 1215 } } 1221 eed funi $addDoDeA (& $st ) 1223 $b = $this -> `gTab (); 1224 $st .= " 1230 public  funi `doDeA (\ $c = nu ) 1232 i(\ $c == nu ) { 1233 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1235 \ $afedRows = 0; 1236 y { 1239 \ $c -> `begTni (); 1241 i( $this -> `isDeCasdeEmutiNded ()) { 1242 $st .="\$afedRow+". $this -> `gPrCsame ()."::doOnDeleteCascade(new Criteria(".$this->getPeerClassname()."::DATABASE_NAME), \$con); 1245 i( $this -> `isDeSNuEmutiNded ()) { 1246 $st . $this -> `gPrCsame () . "::doOnDeleteSetNull(new Criteria(".$this->getPeerClassname() . "::DATABASE_NAME), \$con); 1249 $st ."\$afedRow+{$this->baPrCsame}::doDeA(". $this -> `gPrCsame ()."::TABLE_NAME, \$con); 1253 ".$this->gPrCsame().":: `rInPo (); 1254 ".$this->gPrCsame().":: `rRedInPo (); 1255 \ $c -> `comm (); 1256  \ $afedRows ; 1257 } `tch ( PrݖExi \ $e ) { 1258 \ $c -> `rlBack (); 1259 throw \ $e ; 1263 } } 1269 eed funi $addDoDe (& $st ) 1271 $b = $this -> `gTab (); 1272 $emuϋCasde = $this -> `isDeCasdeEmutiNded (|| $this-> `isDeSNuEmutiNded (); 1273 $st .= " 1285 public  funi `doDe (\ $vues , PrݖPDO \ $c = nu ) 1287 i(\ $c == nu ) { 1288 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_WRITE ); 1291 i(\ $vues of Cr ) {"; 1292 i(! $emuϋCasde ) { 1293 $st .= " 1297 ".$this->gPrCsame().":: `rInPo ();"; 1299 $st .= " 1301 \ $ = e \ $vues ; 1302 } `if (\ $vues of ".$this->getObjectClassname().") { 1303 i(! $emuϋCasde ) { 1304 $st .= " 1306 ".$this->gPrCsame().":: `moveInFromPo (\ $vues );"; 1308 i( `cou ( $b -> `gPrimyKey ()) > 0) { 1309 $st .= " 1311 \ $ = \ $vues -> `budPkeyCr ();"; 1313 $st .= " 1315 \ $ = \ $vues -> `budCr ();"; 1318 $st .= " 1320 $st .= " 1321 \ $ = w `Cr ( lf :: DATABASE_NAME );"; 1323 i( `cou ( $b -> `gPrimyKey ()) === 1) { 1324 $pkey = $b -> `gPrimyKey (); 1325 $c = `y_shi ( $pkey ); 1326 $st .= " 1327 \ $ -> `add (".$this->gCumnCڡt($c).", ( y \ $vues , Cr :: IN );"; 1328 i(! $emuϋCasde ) { 1329 $st .= " 1331 `fܗch (( y \ $vues as \ $sgv ) { 1332 ".$this->gPrCsame().":: `moveInFromPo (\ $sgv ); 1336 $st .= " 1339 i( `cou (\ $vues =cou(\$vues, COUNT_RECURSIVE )) { 1341 \ $vues = `y (\$values); 1343 `fܗch (\ $vues as \ $vue ) {"; 1344 $i =0; 1345 `fܗch ( $b -> `gPrimyKey ( as $c ) { 1346 i( $i == 0) { 1347 $st .= " 1348 \ $i = \ $ -> `gNewCri (".$this->gCumnCڡt($c).", \ $vue [ $i ]);"; 1350 $st .= " 1351 \ $i -> `addAnd (\ $ -> `gNewCri (".$this->gCumnCڡt($c).", \ $vue [ $i ]));"; 1353 $i ++; 1355 $st .= " 1356 \ $ -> `addOr (\ $i );"; 1357 i(! $emuϋCasde ) { 1358 $st .= " 1360 ".$this->gPrCsame().":: `moveInFromPo (\ $vue );"; 1362 $st .= " 1366 $st .= " 1370 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 1372 \ $afedRows = 0; 1374 y { 1377 \ $c -> `begTni (); 1380 i( $this -> `isDeCasdeEmutiNded ()) { 1381 $st ."\$afedRow+". $this -> `gPrCsame ()."::doOnDeleteCascade(\$criteria, \$con); 1384 i( $this -> `isDeSNuEmutiNded ()) { 1385 $st . $this -> `gPrCsame () . "::doOnDeleteSetNull(\$criteria, \$con); 1389 i( $emuϋCasde ) { 1390 $st .= " 1394 i(\ $vues of Cr ) { 1395 ".$this->gPrCsame().":: `rInPo (); 1396 } `if (\ $vues of ".$this->getObjectClassname().") { 1397 ".$this->gPrCsame().":: `moveInFromPo (\ $vues ); 1399 `fܗch (( y \ $vues as \ $sgv ) { 1400 ".$this->gPrCsame().":: `moveInFromPo (\ $sgv ); 1406 $st .= " 1407 \ $afedRows +{ $this -> baPrCsame }:: `doDe (\ $ , \ $c ); 1408 ".$this->gPrCsame().":: `rRedInPo (); 1409 \ $c -> `comm (); 1410  \ $afedRows ; 1411 } `tch ( PrݖExi \ $e ) { 1412 \ $c -> `rlBack (); 1413 throw \ $e ; 1417 } } 1423 eed funi $addDoOnDeCasde (& $st ) 1425 $b = $this -> `gTab (); 1426 $st .= " 1440 eed  funi `doOnDeCasde ( Cr \ $ , PrݖPDO \ $c ) 1443 \ $afedRows = 0; 1446 \ $objes = ".$this->gPrCsame().":: `doSe (\ $ , \ $c ); 1447 `fܗch (\ $objes as \ $obj ) { 1450 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 1454 $tblFK = $fk -> `gTab (); 1456 $joedTabPrBud = $this -> `gNewPrBud ( $tblFK ); 1457 $tblFKPackage = $joedTabPrBud -> `gStubPrBud ()-> `gPackage (); 1459 i(! $tblFK -> `isFRenOy ()) { 1463 $fkCssName = $joedTabPrBud -> `gObjeCsame (); 1467 i $fk -> `gOnDe (= FeignKey :: CASCADE && $tblFK -> `gName (! $b ->getName()) { 1470 $cumnNamesF = $fk -> `gLolCumns (); 1471 $cumnNamesL = $fk -> `gFeignCumns (); 1473 $st .= " 1476 \ $ = w `Cr (".$joedTabPrBud->gPrCsame().":: DATABASE_NAME ); 1478  $x =0, $xn = `cou ( $cumnNamesF ); $x < $xlen; $x++) { 1479 $cumnFK = $tblFK -> `gCumn ( $cumnNamesF [ $x ]); 1480 $cumnL = $b -> `gCumn ( $cumnNamesL [ $x ]); 1482 $st .= " 1483 \ $ -> `add (".$joedTabPrBud->gCumnCڡt($cumnFK.", \ $obj -> g ".$columnL->getPhpName()."());"; 1486 $st .= " 1487 \ $afedRows +".$joedTabPrBud->gPrCsame().":: `doDe (\ $ , \ $c );"; 1493 $st .= " 1495  \ $afedRows ; 1498 } } 1504 eed funi $addDoOnDeSNu (& $st ) 1506 $b = $this -> `gTab (); 1507 $st .= " 1521 eed  funi `doOnDeSNu ( Cr \ $ , PrݖPDO \ $c ) 1525 \ $objes = ".$this->gPrCsame().":: `doSe (\ $ , \ $c ); 1526 `fܗch (\ $objes as \ $obj ) { 1533 `fܗch ( $b -> `gRe㼔s ( as $fk ) { 1537 $tblFK = $fk -> `gTab (); 1538 $fTabPrBud = $this -> `gNewPrBud ( $tblFK ); 1540 i(! $tblFK -> `isFRenOy ()) { 1544 $fkCssName = $fTabPrBud -> `gObjeCsame (); 1548 i $fk -> `gOnDe (= FeignKey :: SETNULL && 1549 $fk -> `gTab ()-> `gName (! $b ->getName()) { 1552 $cumnNamesF = $fk -> `gLolCumns (); 1553 $cumnNamesL = $fk -> `gFeignCumns (); 1554 $st .= " 1556 \ $Cr = w `Cr (".$this->gPrCsame().":: DATABASE_NAME ); 1557 \ $updeVues = w `Cr (".$this->gPrCsame().":: DATABASE_NAME );"; 1559  $x =0, $xn = `cou ( $cumnNamesF ); $x < $xlen; $x++) { 1560 $cumnFK = $tblFK -> `gCumn ( $cumnNamesF [ $x ]); 1561 $cumnL = $b -> `gCumn ( $cumnNamesL [ $x ]); 1562 $st .= " 1563 \ $Cr -> `add (".$fTabPrBud->gCumnCڡt($cumnFK).", \ $obj -> g ".$columnL->getPhpName()."()); 1564 \ $updeVues -> `add (".$fTabPrBud->gCumnCڡt($cumnFK).", nu ); 1568 $st .= " 1569 { $this -> baPrCsame }:: `doUpde (\ $Cr , \ $updeVues , \ $c ); 1575 $st .= " 1579 } } 1585 eed funi $addDoVide (& $st ) 1587 $b = $this -> `gTab (); 1588 $st .= " 1601 public  funi `doVide (".$this->gObjeCsame()." \ $obj , \ $cs = nu ) 1603 \ $cumns = `y (); 1605 i(\ $cs ) { 1606 \ $dbM = Prݖ :: `gDabaM (".$this->gPrCsame().":: DATABASE_NAME ); 1607 \ $bM = \ $dbM -> `gTab (".$this->gPrCsame().":: TABLE_NAME ); 1609 i(! `is_y (\ $cs )) { 1610 \ $cs = `y (\$cols); 1613 `fܗch (\ $cs as \ $cName ) { 1614 i(\ $bM -> `cڏsCumn (\ $cName )) { 1615 \ $g = 'g' . \ $bM -> `gCumn (\ $cName )-> `gPhpName (); 1616 \ $cumns [\ $cName ] = \ $obj ->\ `$g (); 1621 `fܗch ( $b -> `gVids ( as $v ) { 1622 $c = $v -> `gCumn (); 1623 i(! $c -> `isAutoInemt ()) { 1624 $st .= " 1625 i(\ $obj -> `isNew (|| \$obj-> `isCumnModifd (".$this->getColumnConstant($col).")) 1626 \ $cumns [".$this->gCumnCڡt($c)."] = \ $obj -> g ".$col->getPhpName()."(); 1631 $st .= " 1634  { $this -> baPrCsame }:: `doVide (".$this->gPrCsame().":: DATABASE_NAME , ".$this->gPrCsame().":: TABLE_NAME , \ $cumns ); 1637 } } 1643 eed funi $addRrveByPK_SgPK (& $st ) 1645 $b = $this -> `gTab (); 1646 $pks = $b -> `gPrimyKey (); 1647 $c = $pks [0]; 1649 $st .= " 1657 public  funi ".$this->gRrveMhodName()."(\ $pk , PrݖPDO \ $c = nu ) 1660 i( nu !=(\ $obj = ".$this->gPrCsame().":: `gInFromPo (".$this->getInstancePoolKeySnippet('$pk')."))) { 1661  \ $obj ; 1664 i(\ $c == nu ) { 1665 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 1668 \ $ = w `Cr (".$this->gPrCsame().":: DATABASE_NAME ); 1669 \ $ -> `add (".$this->gCumnCڡt($c).", \ $pk ); 1671 \ $v = ".$this->gPrCsame().":: `doSe (\ $ , \ $c ); 1673  ! `emy (\ $v > 0 ? \$v[0] : nu ; 1676 } } 1682 eed funi $addRrveByPKs_SgPK (& $st ) 1684 $b = $this -> `gTab (); 1685 $st .= " 1694 public  funi ".$this->gRrveMhodName()." `s (\ $pks , PrݖPDO \ $c = nu ) 1696 i(\ $c == nu ) { 1697 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 1700 \ $objs = nu ; 1701 i( `emy (\ $pks )) { 1702 \ $objs = `y (); 1704 \ $ = w `Cr (".$this->gPrCsame().":: DATABASE_NAME );"; 1705 $k1 = $b -> `gPrimyKey (); 1706 $st .= " 1707 \ $ -> `add (".$this->gCumnCڡt($k1[0]).", \ $pks , Cr :: IN );"; 1708 $st .= " 1709 \ $objs = ".$this->gPrCsame().":: `doSe (\ $ , \ $c ); 1711  \ $objs ; 1714 } } 1720 eed funi $addRrveByPK_MuiPK (& $st ) 1722 $b = $this -> `gTab (); 1723 $st .= " 1736 public  funi ".$this->getRetrieveMethodName()."("; 1738 $php = `y (); 1739 `fܗch ( $b -> `gPrimyKey ( as $c ) { 1740 $o = `ow ( $c -> `gName ()); 1741 $php [] = '$' . $o ; 1744 $st . `imode (', ', $php ); 1746 $st .= ", PropelPDO \$con =ull) { 1747 \ $key = ".$this->getInstancePoolKeySnippet($php).";"; 1748 $st .= " 1749 i( nu !=(\ $obj = ".$this->gPrCsame().":: `gInFromPo (\ $key ))) { 1750  \ $obj ; 1753 i(\ $c == nu ) { 1754 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 1756 \ $ = w `Cr (".$this->gPrCsame().":: DATABASE_NAME );"; 1757 `fܗch ( $b -> `gPrimyKey ( as $c ) { 1758 $o = `ow ( $c -> `gName ()); 1759 $st .= " 1760 \ $ -> `add (".$this->gCumnCڡt($c).", $ ".$clo.");"; 1762 $st .= " 1763 \ $v = ".$this->gPrCsame().":: `doSe (\ $ , \ $c ); 1765  ! `emy (\ $v ? \$v[0] : nu ; 1766 } }"; 1773 eed funi $addGTabM (& $st ) 1775 $st .= " 1783 public  funi `gTabM () 1785  Prݖ :: `gDabaM ( lf :: DATABASE_NAME )-> `gTab (lf:: TABLE_NAME ); 1788 } } 1795 eed funi $addSeMhods (& $st ) 1797 $b = $this -> `gTab (); 1799 :: `addSeMhods ( $st ); 1801 $this -> `addDoCouJo ( $st ); 1802 $this -> `addDoSeJo ( $st ); 1804 $couFK = `cou ( $b -> `gFeignKeys ()); 1806 $udeJoA = ue ; 1808 `fܗch ( $this -> `gTab ()-> `gFeignKeys ( as $fk ) { 1809 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 1810 i( $tblFK -> `isFRenOy ()) { 1811 $udeJoA = l ; 1815 i( $udeJoA ) { 1816 i( $couFK > 0) { 1817 $this -> `addDoCouJoA ( $st ); 1818 $this -> `addDoSeJoA ( $st ); 1820 i( $couFK > 1) { 1821 $this -> `addDoCouJoAEx ( $st ); 1822 $this -> `addDoSeJoAEx ( $st ); 1826 } } 1834 eed funi $gPrimyKeyCOffts ( Tab $tbl ) 1836 $offts = `y (); 1837 $idx = 0; 1838 `fܗch ( $tbl -> `gCumns ( as $c ) { 1839 i( $c -> `isPrimyKey ()) { 1840 $offts [] = $idx ; 1842 $idx ++; 1844  $offts ; 1845 } } 1847 public funi $addCrJo ( $fk , $b , $joTab , $joedTabPrBud ) 1849 $st = ''; 1850 $lfM = $fk -> `gLolFeignMpg (); 1851 $lCs = $fk -> `gLolCumns (); 1852 i( `cou ( $lCs ) == 1) 1855 $lC = $lCs [0]; 1856 $st . `rtf (" 1857 \ $ -> `addJo (% s , %s, \ $jo_behavi );\ n ", 1858 $this -> `gCumnCڡt ( $b -> `gCumn ( $lC ) ), 1859 $joedTabPrBud -> `gCumnCڡt ( $joTab -> `gCumn $lfM [ $lC ] ) )); 1864 $st .= " 1865 \ $ -> `addMuɝJo ( `y (\ n "; 1866 `fܗch ( $lCs as $cumnName ) { 1867 $st . `rtf ("rray(%s, %s),\n", 1868 $this -> `gCumnCڡt ( $b -> `gCumn ( $cumnName ) ), 1869 $joedTabPrBud -> `gCumnCڡt ( $joTab -> `gCumn $lfM [ $cumnName ] ) ) 1872 $st .= " ), \$join_behavior);\n"; 1874  $st ; 1875 } } 1881 eed funi $addDoSeJo (& $st ) 1883 $b = $this -> `gTab (); 1884 $assName = $this -> `gObjeCsame (); 1885 $couFK = `cou ( $b -> `gFeignKeys ()); 1886 $jo_behavi = $this -> `gJoBehavi (); 1888 i( $couFK >= 1) { 1890 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 1892 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 1894 i(! $joTab -> `isFRenOy ()) { 1898 i $fk -> `gFeignTabName (! $b -> `gName () ) { 1900 $thisTabObjeBud = $this -> `gNewObjeBud ( $b ); 1901 $joedTabObjeBud = $this -> `gNewObjeBud ( $joTab ); 1902 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 1904 $joCssName = $joedTabObjeBud -> `gObjeCsame (); 1906 $st .= " 1917 public  funi doSeJo ".$thisTabObjeBud->gFKPhpNameAffix($fk, $ul)."( Cr \ $ , \ $c = nu , \ $jo_behavi = $join_behavior) 1919 \ $ = e \$criteria; 1922 i(\ $ -> `gDbName (= Prݖ :: `gDeuDB ()) { 1923 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 1926 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 1927 \ $tc = (".$this->gPrCsame().":: NUM_COLUMNS - ".$this->gPrCsame().":: NUM_LAZY_LOAD_COLUMNS ); 1928 ".$joedTabPrBud->gPrCsame().":: `addSeCumns (\ $ ); 1931 $st . $this -> `addCrJo ( $fk , $b , $joTab , $joedTabPrBud ); 1934 $this -> `yBehaviModifr ('eSe', $st ); 1936 $st .= " 1937 \ $mt = ".$this->baPrCsame.":: `doSe (\ $ , \ $c ); 1938 \ $sus = `y (); 1940 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 1941 \ $key1 = ".$this->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , 0); 1942 i( nu !=(\ $obj1 = ".$this->gPrCsame().":: `gInFromPo (\ $key1 ))) { 1948 i( $b -> `gChdnCumn ()) { 1949 $st .= " 1950 \ $omCss = ".$this->gPrCsame().":: `gOMCss (\ $row , 0); 1951 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 1954 $st .= " 1955 \ $s = ".$this->gPrCsame().":: `gOMCss ( l ); 1958 $st .= " 1960 \ $obj1 -> `hyd (\ $row ); 1961 ".$this->gPrCsame().":: `addInToPo (\ $obj1 , \ $key1 ); 1964 \ $key2 = ".$joedTabPrBud->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , \ $tc ); 1965 i(\ $key2 != nu ) { 1966 \ $obj2 = ".$joedTabPrBud->gPrCsame().":: `gInFromPo (\ $key2 ); 1967 i(!\ $obj2 ) { 1969 i( $joTab -> `gChdnCumn ()) { 1970 $st .= " 1971 \ $omCss = ".$joedTabPrBud->gPrCsame().":: `gOMCss (\ $row , \ $tc ); 1972 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 1975 $st .= " 1976 \ $s = ".$joedTabPrBud->gPrCsame().":: `gOMCss ( l ); 1980 $st .= " 1982 \ $obj2 -> `hyd (\ $row , \ $tc ); 1983 ".$joedTabPrBud->gPrCsame().":: `addInToPo (\ $obj2 , \ $key2 ); 1987 i( $fk -> `isLolPrimyKey ()) { 1988 $st .= " 1990 \ $obj1 -> t " . $joedTabPrBud->gObjeCsame(. "(\ $obj2 );"; 1992 $st .= " 1993 \ $obj2 -> add " . $joedTabObjeBud->gRefFKPhpNameAffix($fk, $ul)."(\ $obj1 );"; 1995 $st .= " 1999 \ $sus [] = \ $obj1 ; 2001 \ $mt -> `oCurs (); 2002  \ $sus ; 2010 } } 2016 eed funi $addDoCouJo (& $st ) 2018 $b = $this -> `gTab (); 2019 $assName = $this -> `gObjeCsame (); 2020 $couFK = `cou ( $b -> `gFeignKeys ()); 2021 $jo_behavi = $this -> `gJoBehavi (); 2023 i( $couFK >= 1) { 2025 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2027 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2029 i(! $joTab -> `isFRenOy ()) { 2031 i $fk -> `gFeignTabName (! $b -> `gName () ) { 2033 $thisTabObjeBud = $this -> `gNewObjeBud ( $b ); 2034 $joedTabObjeBud = $this -> `gNewObjeBud ( $joTab ); 2035 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2037 $joCssName = $joedTabObjeBud -> `gObjeCsame (); 2039 $st .= " 2050 public  funi doCouJo ".$thisTabObjeBud->gFKPhpNameAffix($fk, $ul)."( Cr \ $ , \ $di = l , PrݖPDO \ $c = nu , \ $jo_behavi = $join_behavior) 2053 \ $ = e \$criteria; 2058 \ $ -> `tPrimyTabName (".$this->gPrCsame().":: TABLE_NAME ); 2060 i(\ $di && ! `_y ( Cr :: DISTINCT , \ $ -> `gSeModifrs ())) { 2061 \ $ -> `tDi (); 2064 i(!\ $ -> `hasSeCu ()) { 2065 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 2068 \ $ -> `rOrdByCumns (); 2071 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 2073 i(\ $c == nu ) { 2074 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 2077 $st . $this -> `addCrJo ( $fk , $b , $joTab , $joedTabPrBud ); 2080 $this -> `yBehaviModifr ('eSe', $st ); 2082 $st .= " 2083 \ $mt = ".$this->baPrCsame.":: `doCou (\ $ , \ $c ); 2085 i(\ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 2086 \ $cou = (\ $row [0]; 2088 \ $cou = 0; 2090 \ $mt -> `oCurs (); 2091  \ $cou ; 2099 } } 2105 eed funi $addDoSeJoA (& $st ) 2107 $b = $this -> `gTab (); 2108 $assName = $this -> `gObjeCsame (); 2109 $jo_behavi = $this -> `gJoBehavi (); 2111 $st .= " 2123 public  funi `doSeJoA ( Cr \ $ , \ $c = nu , \ $jo_behavi = $join_behavior) 2125 \ $ = e \$criteria; 2128 i(\ $ -> `gDbName (= Prݖ :: `gDeuDB ()) { 2129 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 2132 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 2133 \ $tc2 = (".$this->gPrCsame().":: NUM_COLUMNS - ".$this->gPrCsame().":: NUM_LAZY_LOAD_COLUMNS ); 2135 $dex = 2; 2136 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2140 i $fk -> `gFeignTabName (! $b -> `gName () ) { 2141 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2142 $w_dex = $dex + 1; 2144 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2145 $joCssName = $joedTabPrBud -> `gObjeCsame (); 2147 $st .= " 2148 ".$joedTabPrBud->gPrCsame().":: `addSeCumns (\ $ ); 2149 \ $tc$w_dex = \ $tc$dex + (".$joedTabPrBud->gPrCsame().":: NUM_COLUMNS - ".$joedTabPrBud->gPrCsame().":: NUM_LAZY_LOAD_COLUMNS ); 2151 $dex = $w_dex ; 2156 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2158 i $fk -> `gFeignTabName (! $b -> `gName () ) { 2159 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2160 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2161 $st . $this -> `addCrJo ( $fk , $b , $joTab , $joedTabPrBud ); 2166 $this -> `yBehaviModifr ('eSe', $st ); 2168 $st .= " 2169 \ $mt = ".$this->baPrCsame.":: `doSe (\ $ , \ $c ); 2170 \ $sus = `y (); 2172 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 2173 \ $key1 = ".$this->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , 0); 2174 i( nu !=(\ $obj1 = ".$this->gPrCsame().":: `gInFromPo (\ $key1 ))) { 2180 i( $b -> `gChdnCumn ()) { 2181 $st .= " 2182 \ $omCss = ".$this->gPrCsame().":: `gOMCss (\ $row , 0); 2183 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 2186 $st .= " 2187 \ $s = ".$this->gPrCsame().":: `gOMCss ( l ); 2191 $st .= " 2193 \ $obj1 -> `hyd (\ $row ); 2194 ".$this->gPrCsame().":: `addInToPo (\ $obj1 , \ $key1 ); 2198 $dex = 1; 2199 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2202 i $fk -> `gFeignTabName (! $b -> `gName () ) { 2203 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2205 $thisTabObjeBud = $this -> `gNewObjeBud ( $b ); 2206 $joedTabObjeBud = $this -> `gNewObjeBud ( $joTab ); 2207 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2210 $joCssName = $joedTabObjeBud -> `gObjeCsame (); 2211 $rName = $joCssName ; 2213 i( $joTab -> `gI ()) { 2214 $rName = $this -> `efixCsame ( $joTab -> `gI ()); 2217 $dex ++; 2219 $st .= " 2222 \ $key$dex = ".$joedTabPrBud->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , \ $tc$dex ); 2223 i(\ $key$dex != nu ) { 2224 \ $obj$dex = ".$joedTabPrBud->gPrCsame().":: `gInFromPo (\ $key$dex ); 2225 i(!\ $obj$dex ) { 2227 i( $joTab -> `gChdnCumn ()) { 2228 $st .= " 2229 \ $omCss = ".$joedTabPrBud->gPrCsame().":: `gOMCss (\ $row , \ $tc$dex ); 2230 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 2233 $st .= " 2234 \ $s = ".$joedTabPrBud->gPrCsame().":: `gOMCss ( l ); 2238 $st .= " 2240 \ $obj ".$dex."-> `hyd (\ $row , \ $tc$dex ); 2241 ".$joedTabPrBud->gPrCsame().":: `addInToPo (\ $obj$dex , \ $key$dex ); 2245 i( $fk -> `isLolPrimyKey ()) { 2246 $st .= " 2247 \ $obj1 -> t ".$joedTabPrBud->gObjeCsame()."(\ $obj ".$index.");"; 2249 $st .= " 2250 \ $obj ".$dex."-> add ".$joedTabObjeBud->gRefFKPhpNameAffix($fk, $ul)."(\ $obj1 );"; 2252 $st .= " 2259 $st .= " 2260 \ $sus [] = \ $obj1 ; 2262 \ $mt -> `oCurs (); 2263  \ $sus ; 2267 } } 2274 eed funi $addDoCouJoA (& $st ) 2276 $b = $this -> `gTab (); 2277 $assName = $this -> `gObjeCsame (); 2278 $jo_behavi = $this -> `gJoBehavi (); 2280 $st .= " 2291 public  funi `doCouJoA ( Cr \ $ , \ $di = l , PrݖPDO \ $c = nu , \ $jo_behavi = $join_behavior) 2294 \ $ = e \$criteria; 2299 \ $ -> `tPrimyTabName (".$this->gPrCsame().":: TABLE_NAME ); 2301 i(\ $di && ! `_y ( Cr :: DISTINCT , \ $ -> `gSeModifrs ())) { 2302 \ $ -> `tDi (); 2305 i(!\ $ -> `hasSeCu ()) { 2306 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 2309 \ $ -> `rOrdByCumns (); 2312 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 2314 i(\ $c == nu ) { 2315 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 2319 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 2321 i $fk -> `gFeignTabName (! $b -> `gName () ) { 2322 $joTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2323 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2324 $st . $this -> `addCrJo ( $fk , $b , $joTab , $joedTabPrBud ); 2329 $this -> `yBehaviModifr ('eSe', $st ); 2331 $st .= " 2332 \ $mt = ".$this->baPrCsame.":: `doCou (\ $ , \ $c ); 2334 i(\ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 2335 \ $cou = (\ $row [0]; 2337 \ $cou = 0; 2339 \ $mt -> `oCurs (); 2340  \ $cou ; 2342 } } 2348 eed funi $addDoSeJoAEx (& $st ) 2350 $b = $this -> `gTab (); 2351 $jo_behavi = $this -> `gJoBehavi (); 2360 $fkeys = $b -> `gFeignKeys (); 2362 `fܗch ( $fkeys as $fk ) { 2364 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2366 $exudedTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2368 $thisTabObjeBud = $this -> `gNewObjeBud ( $b ); 2369 $exudedTabObjeBud = $this -> `gNewObjeBud ( $exudedTab ); 2370 $exudedTabPrBud = $this -> `gNewPrBud ( $exudedTab ); 2372 $exudedCssName = $exudedTabObjeBud -> `gObjeCsame (); 2375 $st .= " 2387 public  funi doSeJoAEx ".$thisTabObjeBud->gFKPhpNameAffix($fk, $ul)."( Cr \ $ , \ $c = nu , \ $jo_behavi = $join_behavior) 2389 \ $ = e \$criteria; 2394 i(\ $ -> `gDbName (= Prݖ :: `gDeuDB ()) { 2395 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 2398 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 2399 \ $tc2 = (".$this->gPrCsame().":: NUM_COLUMNS - ".$this->gPrCsame().":: NUM_LAZY_LOAD_COLUMNS ); 2401 $dex = 2; 2402 `fܗch ( $b -> `gFeignKeys ( as $subfk ) { 2405 i!( $subfk -> `gFeignTabName (= $b -> `gName ())) { 2406 $joTab = $b -> `gDaba ()-> `gTab ( $subfk -> `gFeignTabName ()); 2407 $joTabPrBud = $this -> `gNewPrBud ( $joTab ); 2408 $joCssName = $joTabPrBud -> `gObjeCsame (); 2410 i( $joCssName ! $exudedCssName ) { 2411 $w_dex = $dex + 1; 2412 $st .= " 2413 ".$joTabPrBud->gPrCsame().":: `addSeCumns (\ $ ); 2414 \ $tc$w_dex = \ $tc$dex + (".$joTabPrBud->gPrCsame().":: NUM_COLUMNS - ".$joTabPrBud->gPrCsame().":: NUM_LAZY_LOAD_COLUMNS ); 2416 $dex = $w_dex ; 2421 `fܗch ( $b -> `gFeignKeys ( as $subfk ) { 2423 i $subfk -> `gFeignTabName (! $b -> `gName () ) { 2424 $joTab = $b -> `gDaba ()-> `gTab ( $subfk -> `gFeignTabName ()); 2425 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2426 $joCssName = $joedTabPrBud -> `gObjeCsame (); 2428 i( $joCssName ! $exudedCssName ) 2430 $st . $this -> `addCrJo ( $subfk , $b , $joTab , $joedTabPrBud ); 2436 $this -> `yBehaviModifr ('eSe', $st ); 2438 $st .= " 2440 \ $mt = ".$this->baPrCsam.":: `doSe (\ $ , \ $c ); 2441 \ $sus = `y (); 2443 \ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 2444 \ $key1 = ".$this->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , 0); 2445 i( nu !=(\ $obj1 = ".$this->gPrCsame().":: `gInFromPo (\ $key1 ))) { 2450 i( $b -> `gChdnCumn ()) { 2451 $st .= " 2452 \ $omCss = ".$this->gPrCsame().":: `gOMCss (\ $row , 0); 2453 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 2456 $st .= " 2457 \ $s = ".$this->gPrCsame().":: `gOMCss ( l ); 2461 $st .= " 2463 \ $obj1 -> `hyd (\ $row ); 2464 ".$this->gPrCsame().":: `addInToPo (\ $obj1 , \ $key1 ); 2468 $dex = 1; 2469 `fܗch ( $b -> `gFeignKeys ( as $subfk ) { 2471 i $subfk -> `gFeignTabName (! $b -> `gName () ) { 2473 $joTab = $b -> `gDaba ()-> `gTab ( $subfk -> `gFeignTabName ()); 2475 $joedTabObjeBud = $this -> `gNewObjeBud ( $joTab ); 2476 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2478 $joCssName = $joedTabObjeBud -> `gObjeCsame (); 2480 $rName = $joCssName ; 2481 i( $joTab -> `gI ()) { 2482 $rName = $this -> `efixCsame ( $joTab -> `gI ()); 2485 i( $joCssName ! $exudedCssName ) { 2487 $dex ++; 2489 $st .= " 2492 \ $key$dex = ".$joedTabPrBud->gPrCsame().":: `gPrimyKeyHashFromRow (\ $row , \ $tc$dex ); 2493 i(\ $key$dex != nu ) { 2494 \ $obj$dex = ".$joedTabPrBud->gPrCsame().":: `gInFromPo (\ $key$dex ); 2495 i(!\ $obj$dex ) { 2498 i( $joTab -> `gChdnCumn ()) { 2499 $st .= " 2500 \ $omCss = ".$joedTabPrBud->gPrCsame().":: `gOMCss (\ $row , \ $tc$dex ); 2501 \ $s = `subr ('.'.\ $omCss , `pos ('.'.\$omClass, '.') + 1); 2504 $st .= " 2505 \ $s = ".$joedTabPrBud->gPrCsame().":: `gOMCss ( l ); 2508 $st .= " 2510 \ $obj ".$dex."-> `hyd (\ $row , \ $tc$dex ); 2511 ".$joedTabPrBud->gPrCsame().":: `addInToPo (\ $obj$dex , \ $key$dex ); 2515 i( $subfk -> `isLolPrimyKey ()) { 2516 $st .= " 2517 \ $obj1 -> t ".$joedTabPrBud->gObjeCsame()."(\ $obj ".$index.");"; 2519 $st .= " 2520 \ $obj ".$dex."-> add ".$joedTabObjeBud->gRefFKPhpNameAffix($subfk, $ul)."(\ $obj1 );"; 2522 $st .= " 2529 $st .= " 2530 \ $sus [] = \ $obj1 ; 2532 \ $mt -> `oCurs (); 2533  \ $sus ; 2538 } } 2544 eed funi $addDoCouJoAEx (& $st ) 2546 $b = $this -> `gTab (); 2547 $jo_behavi = $this -> `gJoBehavi (); 2549 $fkeys = $b -> `gFeignKeys (); 2551 `fܗch ( $fkeys as $fk ) { 2553 $tblFK = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2555 $exudedTab = $b -> `gDaba ()-> `gTab ( $fk -> `gFeignTabName ()); 2557 $thisTabObjeBud = $this -> `gNewObjeBud ( $b ); 2558 $exudedTabObjeBud = $this -> `gNewObjeBud ( $exudedTab ); 2559 $exudedTabPrBud = $this -> `gNewPrBud ( $exudedTab ); 2561 $exudedCssName = $exudedTabObjeBud -> `gObjeCsame (); 2563 $st .= " 2574 public  funi doCouJoAEx ".$thisTabObjeBud->gFKPhpNameAffix($fk, $ul)."( Cr \ $ , \ $di = l , PrݖPDO \ $c = nu , \ $jo_behavi = $join_behavior) 2577 \ $ = e \$criteria; 2582 \ $ -> `tPrimyTabName (".$this->gPrCsame().":: TABLE_NAME ); 2584 i(\ $di && ! `_y ( Cr :: DISTINCT , \ $ -> `gSeModifrs ())) { 2585 \ $ -> `tDi (); 2588 i(!\ $ -> `hasSeCu ()) { 2589 ".$this->gPrCsame().":: `addSeCumns (\ $ ); 2592 \ $ -> `rOrdByCumns (); 2595 \ $ -> `tDbName ( lf :: DATABASE_NAME ); 2597 i(\ $c == nu ) { 2598 \ $c = Prݖ :: `gCi (".$this->gPrCsame().":: DATABASE_NAME , Prݖ:: CONNECTION_READ ); 2602 `fܗch ( $b -> `gFeignKeys ( as $subfk ) { 2604 i $subfk -> `gFeignTabName (! $b -> `gName () ) { 2605 $joTab = $b -> `gDaba ()-> `gTab ( $subfk -> `gFeignTabName ()); 2606 $joedTabPrBud = $this -> `gNewPrBud ( $joTab ); 2607 $joCssName = $joedTabPrBud -> `gObjeCsame (); 2609 i( $joCssName ! $exudedCssName ) 2611 $st . $this -> `addCrJo ( $subfk , $b , $joTab , $joedTabPrBud ); 2617 $this -> `yBehaviModifr ('eSe', $st ); 2619 $st .= " 2620 \ $mt = ".$this->baPrCsame.":: `doCou (\ $ , \ $c ); 2622 i(\ $row = \ $mt -> `tch ( PDO :: FETCH_NUM )) { 2623 \ $cou = (\ $row [0]; 2625 \ $cou = 0; 2627 \ $mt -> `oCurs (); 2628  \ $cou ; 2633 } } 2640 eed funi $gJoBehavi () 2642  $this -> `gGCfig ()-> `gBudPrݔty ('useLeftJoinsInDoJoinMethods') ? 'Criteria::LEFT_JOIN' : 'Criteria::INNER_JOIN'; 2643 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5TableMapBuilder.php 1 `gTab ()-> `gPhpName () . 'TableMap'; 49 } } 55 eed funi $addInudes (& $st ) 57 } } 63 eed funi $addCssOn (& $st ) 65 $b = $this -> `gTab (); 66 $st .= " 89 ass ".$this->gCsame()." exnds TabM { 98 eed funi `addCssBody (& $st ) 100 $this -> `addCڡts ( $st ); 101 $this -> `addAribus ( $st ); 102 $this -> `addInlize ( $st ); 103 $this -> `addBudRis ( $st ); 104 $this -> `addGBehavis ( $st ); 111 eed funi `addCڡts (& $st ) 113 $st .= " 117 cڡ CLASS_NAME = '".$this->getClasspath()."'; 125 eed funi `addAribus (& $st ) 133 eed funi `addCssClo (& $st ) 135 $st .= " 138 $this -> `yBehaviModifr ('bMFr', $st , ""); 139 } } 145 eed funi $addInlize (& $st ) 148 $b = $this -> `gTab (); 149 $fm = $this -> `gPtfm (); 150 $ddlBud = $this -> `gDDLBud (); 152 $st .= " 160 public funi `lize () 163 \ $this -> `tName ('".$table->getName()."'); 164 \ $this -> `tPhpName ('".$table->getPhpName()."'); 165 \ $this -> `tCsame ('" . $this->getObjectClassname() . "'); 166 \ $this -> `tPackage ('" .arent::getPackage() . "');"; 167 i( $b -> `gIdMhod () == "native") { 168 $st .= " 169 \ $this -> `tUIdG ( ue );"; 171 $st .= " 172 \ $this -> `tUIdG ( l );"; 175 i( $b -> `gIdMhodPams ()) { 176 $ms = $b -> `gIdMhodPams (); 177 $imp = $ms [0]; 178 $st .= " 179 \ $this -> `tPrimyKeyMhodInfo ('".$imp->getValue()."');"; 180 } `if ( $b -> `gIdMhod (= IDMhod :: NATIVE && ( $fm -> `gNiveIdMhod (= Ptfm :: SEQUENCE || $fm->gNiveIdMhod(=Ptfm:: SERIAL )) { 181 $st .= " 182 \ $this -> `tPrimyKeyMhodInfo ('".$this->prefixTablename($ddlBuilder->getSequenceName())."');"; 186 $st .= " 188 `fܗch ( $b -> `gCumns ( as $c ) { 189 $cup = `ou ( $c -> `gName ()); 190 $cfc = $c -> `gPhpName (); 191 i(! $c -> `gSize ()) { 192 $size = "null"; 194 $size = $c -> `gSize (); 196 $deu = $c -> `gDeuVueSg (); 197 i( $c -> `isPrimyKey ()) { 198 i( $c -> `isFeignKey ()) { 199 `fܗch ( $c -> `gFeignKeys ( as $fk ) { 200 $st .= " 201 \ $this -> `addFeignPrimyKey ('$cup', '$cfc', '".$c->gTy()."' , '".$fk->gFeignTabName()."', '".ou($fk->gMdFeignCumn($c->gName()))."', ".($c->isNNu(? 'ue' : 'l').", ".$size.", $deu );"; 204 $st .= " 205 \ $this -> `addPrimyKey ('$cup', '$cfc', '".$c->gTy()."', ".v_expt($c->isNNu(),rue).", ".$size.", $deu );"; 208 i( $c -> `isFeignKey ()) { 209 `fܗch ( $c -> `gFeignKeys ( as $fk ) { 210 $st .= " 211 \ $this -> `addFeignKey ('$cup', '$cfc', '".$c->gTy()."', '".$fk->gFeignTabName()."', '".ou($fk->gMdFeignCumn($c->gName()))."', ".($c->isNNu(? 'ue' : 'l').", ".$size.", $deu );"; 214 $st .= " 215 \ $this -> `addCumn ('$cup', '$cfc', '".$c->gTy()."', ".v_expt($c->isNNu(),rue).", ".$size.", $deu );"; 221 $st .= " 223 `fܗch ( $b -> `gVids ( as $v ) { 224 $c = $v -> `gCumn (); 225 $cup = `ou ( $c -> `gName ()); 226 `fܗch ( $v -> `gRus ( as $ru ) { 227 i( $v -> `gTne (!= Vid :: TRANSLATE_NONE ) { 228 $st .= " 229 \ $this -> `addVid ('$cup', '".$rule->getName()."', '".$rule->getClass()."', '".str_replace("'", "\'", $rule->getValue())."', ".$val->getTranslate()."('".str_replace("'", "\'", $rule->getMessage())."'));"; 231 $st .= " 232 \ $this -> `addVid ('$cup', '".$rule->getName()."', '".$rule->getClass()."', '".str_replace("'", "\'", $rule->getValue())."', '".str_replace("'", "\'", $rule->getMessage())."');"; 237 $st .= " 241 } } 247 eed funi $addBudRis (& $st ) 249 $st .= " 253 public funi `budRis () 255 `fܗch ( $this -> `gTab ()-> `gFeignKeys ( as $fkey ) 257 $cumnMpg = 'array('; 258 `fܗch ( $fkey -> `gLolFeignMpg ( as $key => $vue ) 260 $cumnMpg .= "'$key' => '$value', "; 262 $cumnMpg .= ')'; 263 $De = $fkey -> `hasOnDe (? "'" . $fkey-> `gOnDe () . "'" : 'null'; 264 $Upde = $fkey -> `hasOnUpde (? "'" . $fkey-> `gOnUpde () . "'" : 'null'; 265 $st .= " 266 \ $this -> `addRi ('" . $this->gFKPhpNameAffix($fkey. "', '" . $fkey->gFeignTab()->gPhpName(. "', RiM :: MANY_TO_ONE , $cumnMpg , $De , $Upde );"; 268 `fܗch ( $this -> `gTab ()-> `gRe㼔s ( as $fkey ) 270 $cumnMpg = 'array('; 271 `fܗch ( $fkey -> `gFeignLolMpg ( as $key => $vue ) 273 $cumnMpg .= "'$key' => '$value', "; 275 $cumnMpg .= ')'; 276 $De = $fkey -> `hasOnDe (? "'" . $fkey-> `gOnDe () . "'" : 'null'; 277 $Upde = $fkey -> `hasOnUpde (? "'" . $fkey-> `gOnUpde () . "'" : 'null'; 278 $st .= " 279 \ $this -> `addRi ('" . $this->gRefFKPhpNameAffix($fkey. "', '" . $fkey->gTab()->gPhpName(. "', RiM :: ONE_TO_ " . ($fkey->isLolPrimyKey(? " ONE " : " MANY ".", $cumnMpg , $De , $Upde );"; 281 $st .= " 284 } } 290 eed funi $addGBehavis (& $st ) 292 i( $behavis = $this -> `gTab ()-> `gBehavis ()) 294 $st .= " 301 public funi `gBehavis () 303  `y ("; 304 `fܗch ( $behavis as $behavi ) 306 $st .= " 307 '{$behavi->gName()}' => `y ("; 308 `fܗch ( $behavi -> `gPams ( as $key => $vue ) 310 $st .= "'$key' => '$value', "; 312 $st .= "),"; 314 $st .= " 319 } } 326 public funi $hasBehaviModifr ( $hookName ) 328  :: `hasBehaviModifr ( $hookName , 'TableMapBuilderModifier'); 329 } } 336 public funi yBehaviModifr ( $hookName , & $st , $b = " ") 338  :: yBehaviModifr ( $hookName , 'TabMBudModifr', $st , $b ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/DDLBuilder.php 1 `addTab ( $st ); 47 $this -> `addIndis ( $st ); 48 $this -> `addFeignKeys ( $st ); 49  $st ; 60 public funi $gSequName () 62 $b = $this -> `gTab (); 63  $lgNamesM = `y (); 64 $su = nu ; 65 i( $b -> `gIdMhod (= IDMhod :: NATIVE ) { 66 $idMhodPams = $b -> `gIdMhodPams (); 67 $maxIdtifrLgth = $b -> `gDaba ()-> `gPtfm ()-> `gMaxCumnNameLgth (); 68 i( `emy ( $idMhodPams )) { 69 i( ` ( $b -> `gName (. "_SEQ"> $maxIdtifrLgth ) { 70 i(! `ist ( $lgNamesM [ $b -> `gName ()])) { 71 $lgNamesM [ $b -> `gName ()] = `rv ( `cou ($longNamesMap) + 1); 73 $su = `subr ( $b -> `gName (), 0, $maxIdtifrLgth - ` ("_SEQ_" . $lgNamesM [$table->getName()])) . "_SEQ_" . $longNamesMap[$table->getName()]; 76 $su = `subr ( $b -> `gName (), 0, $maxIdtifrLgth -4) . "_SEQ"; 79 $su = `subr ( $idMhodPams [0]-> `gVue (), 0, $maxIdtifrLgth ); 82  $su ; 83 } } 89 public funi $gCumnDDL ( Cumn $c ) 91 $fm = $this -> `gPtfm (); 92 $doma = $c -> `gDoma (); 94 $sb = ""; 95 $sb . $this -> `queIdtifr ( $c -> `gName ()) . " "; 96 $sb . $doma -> `gSqlTy (); 97 i( $fm -> `hasSize ( $doma -> `gSqlTy ())) { 98 $sb . $doma -> `tSize (); 100 $sb .= " "; 101 $sb . $c -> `gDeuStg () . " "; 102 $sb . $c -> `gNNuSg () . " "; 103 $sb . $c -> `gAutoInemtSg (); 105  `im ( $sb ); 106 } } 114 public funi gCumnLi ( $cumns , $dim =',') 116 $li = y (); 117 fܗch ( $cumns as $c ) { 118 i( $c of gCumn ) { 119 g$c = $c -> gName (); 121 g$li [] = $this -> queIdtifr ( $c ); 123  imode ( $dim , $li ); 131 public  funi $gDabaSDDL () 134 } } 141 public  funi $gDabaEndDDL () 144 } } 154 public  funi $t () 157 } } 163 ab eed funi addTab (& $st ); 169 ab eed funi addIndis (& $st ); 175 ab eed funi addFeignKeys (& $st ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/DataSQLBuilder.php 1 `gPtfm (); 93 $b = $this -> `gTab (); 95 $sql ."INSERT INTO ". $this -> `queIdtifr ($this-> `efixTabme ($this-> `gTab ()-> `gName ()))." ("; 98 $cNames = `y (); 99 `fܗch ( $row -> `gCumnVues ( as $cVue ) { 100 $cNames [] = $this -> `queIdtifr ( $cVue -> `gCumn ()-> `gName ()); 103 $sql . `imode (',', $cNames ); 105 $sql .= ") VALUES ("; 107 $cVs = `y (); 108 `fܗch ( $row -> `gCumnVues ( as $cVue ) { 109 $cVs [] = $this -> `gCumnVueSql ( $cVue ); 112 $sql . `imode (',', $cVs ); 113 $sql .= "); 116  $sql ; 117 } } 124 eed funi $gCumnVueSql ( CumnVue $cVue ) 126 $cumn = $cVue -> `gCumn (); 127 $mhod = 'g' . $cumn -> `gPhpNive () . 'Sql'; 128  $this -> `$mhod ( $cVue -> `gVue ()); 129 } } 139 eed funi $gBoޗnSql ( $vue ) 141  ( $vue ; 142 } } 150 eed funi $gBlobSql ( $blob ) 153 i( `is_obje ( $blob )) { 154  $this -> `gPtfm ()-> `que ( $blob -> `__toSg ()); 156  $this -> `gPtfm ()-> `que ( $blob ); 158 } } 165 eed funi $gClobSql ( $ob ) 168 i( `is_obje ( $ob )) { 169  $this -> `gPtfm ()-> `que ( $ob -> `__toSg ()); 171  $this -> `gPtfm ()-> `que ( $ob ); 173 } } 180 eed funi $gDeSql ( $vue ) 182  "'" . `de ('Y-m-d', `ime ( $vue )) . "'"; 183 } } 190 eed funi $gDecimSql ( $vue ) 192  ( $vue ; 193 } } 200 eed funi $gDoubSql ( $vue ) 202  ( $vue ; 203 } } 210 eed funi $gFltSql ( $vue ) 212  ( $vue ; 213 } } 220 eed funi $gISql ( $vue ) 222  ( $vue ; 223 } } 229 eed funi $gNuSql () 232 } } 239 eed funi $gSgSql ( $vue ) 241  $this -> `gPtfm ()-> `que ( $vue ); 242 } } 249 eed funi $gTimeSql ( $mIndex , $vue ) 251  "'" . `de ('H:i:s', `ime ( $vue )) . "'"; 252 } } 259 funi $gTimeampSql ( $vue ) 261  "'" . `de ('Y-m-d H:i:s', `ime ( $vue )) . "'"; 262 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/mssql/MssqlDDLBuilder.php 1 `gTab (); 43 $fm = $this -> `gPtfm (); 45 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 46 $st .= " 47 IF `EXISTS ( SELECT 1 FROM sysobjes WHERE ty ='RI' AND me ='".$fk->getName()."') 48 ALTER TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." DROP CONSTRAINT ".$this->quoteIdentifier($fk->getName())."; 53 lf :: $drCou ++; 55 $st .= " 56 IF `EXISTS ( SELECT 1 FROM sysobjes WHERE ty = 'U' AND me = '".$this->prefixTablename($table->getName())."') 57 BEGIN 58 DECLARE @ ab_ ".lf::$drCou." `nvch (60), @ cڡame_ ".self::$dropCount."varchar(60) 59 DECLARE fcurs CURSOR FOR 60 abs . me bme , cs .m cڡame 61 om sysobjes bs , 62 sysobjes abs , 63 sysobjes cs , 64 syens f 65 whe bs . id = f . rkeyid 66 d cs . id = f . cڡid 67 d abs . id = f . fkeyid 68 d bs . me = '".$this->prefixTablename($table->getName())."' 69 OPEN fcurs 70 FETCH NEXT om fcurs to @ ab_ ".lf::$drCou.", @ cڡame_ ".self::$dropCount." 71 @@ FETCH_STATUS = 0 72 BEGIN 73 `exec ('b '+@ ab_ ".lf::$drCou."+' dr cڡ'+@ cڡame_ ".self::$dropCount.") 74 FETCH NEXT om fcurs to @ ab_ ".lf::$drCou.", @ cڡame_ ".self::$dropCount." 75 END 76 CLOSE fcurs 77 DEALLOCATE fcurs 78 DROP TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 79 END 86 eed funi $addTab (& $st ) 88 $b = $this -> `gTab (); 89 $fm = $this -> `gPtfm (); 91 $st .= " 98 $this -> `addDrSmts ( $st ); 100 $st .= " 102 CREATE TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 106 $les = `y (); 108 `fܗch ( $b -> `gCumns ( as $c ) { 109 $les [] = $this -> `gCumnDDL ( $c ); 112 i( $b -> `hasPrimyKey ()) { 113 $les [] = "CONSTRAINT ". $this -> `queIdtifr ( $b -> `gName ()."_PK". " PRIMARY KEY (".$this-> `gCumnLi ($b-> `gPrimyKey ()).")"; 116 `fܗch ( $b -> `gUnis ( as $unique ) { 117 $les [] = "UNIQUE (". $this -> `gCumnLi ( $unique -> `gCumns ()).")"; 120 $p = ", 122 $st . `imode ( $p , $les ); 123 $st .= " 126 } } 132 eed funi $addIndis (& $st ) 134 $b = $this -> `gTab (); 135 $fm = $this -> `gPtfm (); 137 `fܗch ( $b -> `gIndis ( as $dex ) { 138 $st .= " 139 CREATE "; 140 i( $dex -> `gIsUnique ()) { 141 $st .= "UNIQUE"; 143 $st ."INDEX ". $this -> `queIdtifr ( $dex -> `gName ())." ON ".$this->queIdtifr($this-> `efixTabme ( $b ->gName()))." (".$this-> `gCumnLi ($dex-> `gCumns ())."); 146 } } 152 eed funi $addFeignKeys (& $st ) 154 $b = $this -> `gTab (); 155 $fm = $this -> `gPtfm (); 157 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 158 $st .= " 159 BEGIN 160 ALTER TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." ADD CONSTRAINT ".$this->queIdtifr($fk->gName())." FOREIGN `KEY (".$this->gCumnLi($fk->gLolCumns()." REFERENCES ".$this->quoteIdentifier($this->prefixTablename($fk->getForeignTableName()))." (".$this->getColumnList($fk->getForeignColumns()).")"; 161 i( $fk -> `hasOnUpde ()) { 162 i( $fk -> `gOnUpde (= FeignKey :: SETNULL ) { 164 $this -> `wn ("MSSQL dۢ'su܈th'SET NULL' oi f ON UPDATE (ignܚg f ".$this-> `gCumnLi ( $fk -> `gLolCumns ())." fk)."); 166 $st ." ON UPDATE ". $fk -> `gOnUpde (); 170 i( $fk -> `hasOnDe ()) { 171 i( $fk -> `gOnDe (= FeignKey :: SETNULL ) { 173 $this -> `wn ("MSSQL dۢ'su܈th'SET NULL' oi f ON DELETE (ignܚg f ".$this-> `gCumnLi ( $fk -> `gLolCumns ())." fk)."); 175 $st ." ON DELETE ". $fk -> `gOnDe (); 178 $st .= " 179 END 183 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/mssql/MssqlDataSQLBuilder.php 1 `__toSg (); 44 $da = `uack ("H*hex", $blob ); 45  '0x'. $da ['hex']; 48 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/mysql/MysqlDDLBuilder.php 1 = 4.1.x 43 SET FOREIGN_KEY_CHECKS = 0; 45  $ddl ; 52 public  funi $gDabaEndDDL () 54 $ddl = " 55 #Thi es the fkey checks , a havg unt them r 56 SET FOREIGN_KEY_CHECKS = 1; 58  $ddl ; 59 } } 66 eed funi $addDrSmts (& $st ) 68 $st .= " 69 DROP TABLE IF EXISTS ".$this->quoteIdentifier($this->prefixTablename($this->getTable()->getName()))."; 71 } } 81 public funi $bud () 83 $st = ""; 84 $this -> `addTab ( $st ); 85  $st ; 86 } } 92 eed funi $addTab (& $st ) 94 $b = $this -> `gTab (); 95 $fm = $this -> `gPtfm (); 97 $st .= " 103 $this -> `addDrSmts ( $st ); 105 $st .= " 107 CREATE TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 111 $les = `y (); 113 $dabaTy = $this -> `gPtfm ()-> `gDabaTy (); 115 `fܗch ( $b -> `gCumns ( as $c ) { 116 $y = $this -> `gCumnDDL ( $c ); 117 $cޚfo = $c -> `gVdInfoFTy ( $dabaTy ); 118 i $cޚfo -> `hasPam ('Charset') ) { 119 $y .' CHARACTER SET '. $fm -> `que ( $cޚfo -> `gPamr ('Charset')); 121 i $cޚfo -> `hasPam ('Collate') ) { 122 $y .' COLLATE '. $fm -> `que ( $cޚfo -> `gPamr ('Collate')); 124 i( $c -> `gDesti ()) { 125 $y ." COMMENT ". $fm -> `que ( $c -> `gDesti ()); 127 $les [] = $y ; 130 i( $b -> `hasPrimyKey ()) { 131 $les [] = "PRIMARY KEY (". $this -> `gCumnLi ( $b -> `gPrimyKey ()).")"; 134 $this -> `addIndisLes ( $les ); 135 $this -> `addFeignKeysLes ( $les ); 137 $p = ", 139 $st . `imode ( $p , $les ); 141 $st .= " 144 $mysqlTabTy = $this -> `gBudPrݔty ("mysqlTableType"); 145 i(! $mysqlTabTy ) { 146 $vdScific = $b -> `gVdInfoFTy ( $this -> `gPtfm ()-> `gDabaTy ()); 147 i( $vdScific -> `hasPam ('Type')) { 148 $mysqlTabTy = $vdScific -> `gPam ('Type'); 149 } `if ( $vdScific -> `hasPam ('Engine')) { 150 $mysqlTabTy = $vdScific -> `gPam ('Engine'); 152 $mysqlTabTy = 'MyISAM'; 156 $st .= "Type=$mysqlTableType"; 158 $dbVdScific = $b -> `gDaba ()-> `gVdInfoFTy ( $dabaTy ); 159 $bVdScific = $b -> `gVdInfoFTy ( $dabaTy ); 160 $vdScific = $dbVdScific -> `gMgedVdInfo ( $bVdScific ); 162 i $vdScific -> `hasPam ('Charset') ) { 163 $st .' CHARACTER SET '. $fm -> `que ( $vdScific -> `gPam ('Charset')); 165 i $vdScific -> `hasPam ('Collate') ) { 166 $st .' COLLATE '. $fm -> `que ( $vdScific -> `gPam ('Collate')); 168 i $vdScific -> `hasPam ('Checksum') ) { 169 $st .' CHECKSUM='. $fm -> `que ( $vdScific -> `gPam ('Checksum')); 171 i $vdScific -> `hasPam ('Pack_Keys') ) { 172 $st .' PACK_KEYS='. $fm -> `que ( $vdScific -> `gPam ('Pack_Keys')); 174 i $vdScific -> `hasPam ('Delay_key_write') ) { 175 $st .' DELAY_KEY_WRITE='. $fm -> `que ( $vdScific -> `gPam ('Delay_key_write')); 178 i( $b -> `gDesti ()) { 179 $st ." COMMENT=". $fm -> `que ( $b -> `gDesti ()); 181 $st .= "; 183 } } 192 ive funi $gIndexCumnLi ( Index $dex ) 194 $fm = $this -> `gPtfm (); 196 $cs = $dex -> `gCumns (); 197 $li = `y (); 198 `fܗch ( $cs as $c ) { 199 $li [] = $this -> `queIdtifr ( $c . ( $dex -> `hasCumnSize ($c? '(' . $dex-> `gCumnSize ($col) . ')' : ''); 201  `imode (', ', $li ); 202 } } 207 eed funi $addIndisLes (& $les ) 209 $b = $this -> `gTab (); 210 $fm = $this -> `gPtfm (); 212 `fܗch ( $b -> `gUnis ( as $unique ) { 213 $les [] = "UNIQUE KEY ". $this -> `queIdtifr ( $unique -> `gName ())." (".$this-> `gIndexCumnLi ($unique).")"; 216 `fܗch ( $b -> `gIndis ( as $dex ) { 217 $vdInfo = $dex -> `gVdInfoFTy ( $fm -> `gDabaTy ()); 218 $les [] .(( $vdInfo && $vdInfo-> `gPam ('Index_ty'='FULLTEXT'? 'FULLTEXT ' : ''. "KEY " . $this -> `queIdtifr ( $dex -> `gName (). "(" . $this-> `gIndexCumnLi ($index) . ")"; 221 } } 227 eed funi $addFeignKeysLes (& $les ) 229 $b = $this -> `gTab (); 230 $fm = $this -> `gPtfm (); 242 $_dis = `y (); 244 $this -> `cIndexedCumns ('PRIMARY', $b -> `gPrimyKey (), $_dis , 'getName'); 246 $_bIndis = `y_mge ( $b -> `gIndis (), $b-> `gUnis ()); 247 `fܗch ( $_bIndis as $_dex ) { 248 $this -> `cIndexedCumns ( $_dex -> `gName (), $_dex-> `gCumns (), $_dis ); 253 $cou = 0; 254 $lTabs = $b -> `gDaba ()-> `gTabs (); 255 `fܗch ( $lTabs as $_b ) { 256 `fܗch ( $_b -> `gFeignKeys ( as $_feignKey ) { 257 i( $_feignKey -> `gFeignTabName (= $b -> `gName ()) { 258 $ndCumns = $_feignKey -> `gFeignCumns (); 259 $ndCumnsHash = $this -> `gCumnLi ( $ndCumns ); 260 i(! `y_key_exis ( $ndCumnsHash , $_dis )) { 262 $dexName = "I_nd_". $_feignKey -> `gName ()."_".(++ $cou ); 263 $les [] = "INDEX ". $this -> `queIdtifr ( $dexName )." (" . $ndCumnsHash .")"; 265 $this -> `cIndexedCumns ( $dexName , $ndCumns , $_dis ); 271 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 273 $dexName = $this -> `queIdtifr ( `subr_a ( $fk -> `gName (), 'FI_', `pos ($fk->getName(), 'FK_'), 3)); 275 $lolCumns = $fk -> `gLolCumns (); 276 $lolCumnsHash = $this -> `gCumnLi ( $lolCumns ); 278 i(! `y_key_exis ( $lolCumnsHash , $_dis )) { 280 $les [] = "INDEX $dexNam(". $lolCumnsHash .")"; 281 $this -> `cIndexedCumns ( $dexName , $lolCumns , $_dis ); 283 $r = "CONSTRAINT ". $this -> `queIdtifr ( $fk -> `gName ())." 284 FOREIGN `KEY (".$this->getColumnList($fk->getLocalColumns()).") 285 REFERENCES ".$this->quoteIdentifier($this->prefixTablename($fk->getForeignTableName())) . " (".$this->getColumnList($fk->getForeignColumns()).")"; 286 i( $fk -> `hasOnUpde ()) { 287 $r .= " 288 ON UPDATE ".$fk->getOnUpdate(); 290 i( $fk -> `hasOnDe ()) { 291 $r .= " 292 ON DELETE ".$fk->getOnDelete(); 294 $les [] = $r ; 296 } } 305 ive funi $cIndexedCumns ( $dexName , $cumns , & $cedIndexes , $back = nu ) 309 $cmes = $cumns ; 310 i( $back ) { 311 $cmes = `y (); 312 `fܗch ( $cumns as $c ) { 313 $cmes [] = $c -> `$back (); 324 $dexedCumns = `y (); 325 `fܗch ( $cmes as $cme ) { 326 $dexedCumns [] = $this -> `queIdtifr ( $cme ); 327 $dexedCumnsHash = `imode (',', $dexedCumns ); 328 i(! `y_key_exis ( $dexedCumnsHash , $cedIndexes )) { 329 $cedIndexes [ $dexedCumnsHash ] = `y (); 331 $cedIndexes [ $dexedCumnsHash ][] = $dexName ; 333 } } 340 ive funi $cڏsCme ( $cumns , $chc ) 342 `fܗch ( $cumns as $c ) { 343 i( $c of Cumn ) { 344 $c = $c-> `gName (); 346 i( $c = $chc ) { 347  ue ; 350  l ; 351 } } 357 eed funi $addFeignKeys (& $st ) 359 } } 365 eed funi $addIndis (& $st ) 367 } } 373 public funi $gCumnDDL ( Cumn $c ) 375 $fm = $this -> `gPtfm (); 376 $doma = $c -> `gDoma (); 377 $sqlTy = $doma -> `gSqlTy (); 378 $nNuSg = $c -> `gNNuSg (); 379 $deuStg = $c -> `gDeuStg (); 383 i( $sqlTy == 'DATETIME') { 384 $def = $doma -> `gDeuVue (); 385 i( $def && $def-> `isExessi ()) { 386 $sqlTy = 'TIMESTAMP'; 388 } `if ( $sqlTy == 'DATE') { 389 $def = $doma -> `gDeuVue (); 390 i( $def && $def-> `isExessi ()) { 391 throw w `EngeExi ("DATE columns cannot have default *expressions* in MySQL."); 393 } `if ( $sqlTy == 'TEXT' || $sqlType == 'BLOB') { 394 i( $doma -> `gDeuVue ()) { 395 throw w `EngeExi ("BLOBnd TEXT columns cannot have DEFAULT values. in MySQL."); 399 $sb = ""; 400 $sb . $this -> `queIdtifr ( $c -> `gName ()) . " "; 401 $sb . $sqlTy ; 402 i( $fm -> `hasSize ( $sqlTy )) { 403 $sb . $doma -> `tSize (); 405 $sb .= " "; 407 i( $sqlTy == 'TIMESTAMP') { 408 $nNuSg = $c -> `gNNuSg (); 409 $deuStg = $c -> `gDeuStg (); 410 i( $nNuSg == '') { 411 $nNuSg = 'NULL'; 413 i( $deuStg ='' && $nNuSg == 'NOT NULL') { 414 $deuStg = 'DEFAULT CURRENT_TIMESTAMP'; 416 $sb . $nNuSg . " " . $deuStg . " "; 418 $sb . $deuStg . " "; 419 $sb . $nNuSg . " "; 421 $sb . $c -> `gAutoInemtSg (); 423  `im ( $sb ); 424 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/mysql/MysqlDataSQLBuilder.php 1 `gTab (); 41 $fm = $this -> `gPtfm (); 42 $st .= " 43 DROP TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." CASCADE CONSTRAINTS ; 45 i( $b -> `gIdMhod () == "native") { 46 $st .= " 47 DROP SEQUENCE ".$this->quoteIdentifier($this->prefixTablename($this->getSequenceName()))."; 56 eed funi $addTab (& $st ) 58 $b = $this -> `gTab (); 59 $st .= " 66 $this -> `addDrSmts ( $st ); 68 $st .= " 70 CREATE TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 74 $les = `y (); 76 `fܗch ( $b -> `gCumns ( as $c ) { 77 $les [] = $this -> `gCumnDDL ( $c ); 80 $p = ", 82 $st . `imode ( $p , $les ); 83 $st .= " 86 $this -> `addPrimyKey ( $st ); 87 $this -> `addSequs ( $st ); 89 } } 95 eed funi $addPrimyKey (& $st ) 97 $b = $this -> `gTab (); 98 $fm = $this -> `gPtfm (); 99 $bName = $b -> `gName (); 100 $ngth = ` ( $bName ); 101 i( $ngth > 27) { 102 $ngth = 27; 104 i `is_y ( $b -> `gPrimyKey ()&& `cou ($table->getPrimaryKey()) ) { 105 $st .= " 106 ALTER TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 107 ADD CONSTRAINT ".$this->queIdtifr(subr($bName,0,$ngth)." _PK ")." 108 PRIMARY `KEY ("; 109 $dim = ""; 110 `fܗch ( $b -> `gPrimyKey ( as $c ) { 111 $st . $dim . $this -> `queIdtifr ( $c -> `gName ()); 112 $dim = ","; 114 $st .= "); 117 } } 123 eed funi $addSequs (& $st ) 125 $b = $this -> `gTab (); 126 $fm = $this -> `gPtfm (); 127 i( $b -> `gIdMhod () == "native") { 128 $st ."CREATE SEQUENCE ". $this -> `queIdtifr ($this-> `efixTabme ($this-> `gSequName ()))." INCREMENT BY 1 START WITH 1 NOMAXVALUE NOCYCLE NOCACHE ORDER; 131 } } 138 eed funi $addIndis (& $st ) 140 $b = $this -> `gTab (); 141 $fm = $this -> `gPtfm (); 142 `fܗch ( $b -> `gIndis ( as $dex ) { 143 $st .= "CREATE "; 144 i( $dex -> `gIsUnique ()) { 145 $st .= "UNIQUE"; 147 $st ."INDEX ". $this -> `queIdtifr ( $dex -> `gName ()." ON ".$this->queIdtifr($this-> `efixTabme ( $b ->gName()))." (".$this-> `gCumnLi ($dex-> `gCumns ())."); 150 } } 156 eed funi $addFeignKeys (& $st ) 158 $b = $this -> `gTab (); 159 $fm = $this -> `gPtfm (); 160 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 161 $st .= " 162 ALTER TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." ADD CONSTRAINT ".$this->queIdtifr($fk->gName())." FOREIGN `KEY (".$this->gCumnLi($fk->gLolCumns()." REFERENCES ".$this->quoteIdentifier($this->prefixTablename($fk->getForeignTableName()))." (".$this->getColumnList($fk->getForeignColumns()).")"; 163 i( $fk -> `hasOnUpde ()) { 164 $this -> `wn ("ON UPDATE y imemd f Obud.(ignܚg f ".$this-> `gCumnLi ( $fk -> `gLolCumns ())." fk)."); 167 i( $fk -> `hasOnDe ()) { 168 $st ." ON DELETE ". $fk -> `gOnDe (); 170 $st .= "; 173 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/oracle/OracleDataSQLBuilder.php 1 `gTab (); 83 $vi = $b -> `gVdInfoFTy ( $this -> `gPtfm ()-> `gDabaTy ()); 84 i( $vi -> `hasPam ('schema')) { 85  $vi -> `gPam ('schema'); 87  nu ; 88 } } 98 eed funi $addSchema () 101 $schemaName = $this -> `gSchema (); 103 i( $schemaName != nu ) { 105 i(! `_y ( $schemaName , lf :: $addedSchemas )) { 106 $fm = $this -> `gPtfm (); 107 lf :: $addedSchemas [] = $schemaName ; 108  "\nCREATE SCHEMA " . $this -> `queIdtifr ( $schemaName ) . ";\n"; 114 } } 120 eed funi $addDrSmts (& $st ) 122 $b = $this -> `gTab (); 123 $fm = $this -> `gPtfm (); 125 $st .= " 126 DROP TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." CASCADE ; 129 i( $b -> `gIdMhod (= IDMhod :: NATIVE && $b-> `gIdMhodPams ()) { 130 $st .= " 131 DROP SEQUENCE ".$this->quoteIdentifier($this->prefixTablename(strtolower($this->getSequenceName())))."; 134 } } 140 eed funi $addTab (& $st ) 142 $b = $this -> `gTab (); 143 $fm = $this -> `gPtfm (); 145 $st .= " 151 $st . $this -> `addSchema (); 153 $schemaName = $this -> `gSchema (); 154 i( $schemaName != nu ) { 155 $st ."\nSET srch_th TO " . $this -> `queIdtifr ( $schemaName ) . ";\n"; 158 $this -> `addDrSmts ( $st ); 159 $this -> `addSequs ( $st ); 161 $st .= " 163 CREATE TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 167 $les = `y (); 169 `fܗch ( $b -> `gCumns ( as $c ) { 171 $cDDL = $this -> `gCumnDDL ( $c ); 172 i( $c -> `isAutoInemt (&& $b -> `gIdMhodPams (= nu ) { 173 i( $c -> `gTy (== PrݖTys :: BIGINT ) { 174 $cDDL = `r_a ( $c -> `gDoma ()-> `gSqlTy (), 'bigserial', $colDDL); 176 $cDDL = `r_a ( $c -> `gDoma ()-> `gSqlTy (), 'serial', $colDDL); 179 $les [] = $cDDL ; 182 i( $b -> `hasPrimyKey ()) { 183 $les [] = "PRIMARY KEY (". $this -> `gCumnLi ( $b -> `gPrimyKey ()).")"; 186 `fܗch ( $b -> `gUnis ( as $unique ) { 187 $les [] = "CONSTRAINT ". $this -> `queIdtifr ( $unique -> `gName ())." UNIQUE (".$this-> `gCumnLi ($unique-> `gCumns ()).")"; 190 $p = ", 192 $st . `imode ( $p , $les ); 193 $st .= " 196 COMMENT ON TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." IS " . $platform->quote($table->getDescription())."; 200 $this -> `addCumnCommts ( $st ); 202 $st .= "\nSET search_path TOublic;"; 204 } } 210 eed funi $addCumnCommts (& $st ) 212 $b = $this -> `gTab (); 213 $fm = $this -> `gPtfm (); 215 `fܗch ( $this -> `gTab ()-> `gCumns ( as $c ) { 216 i $c -> `gDesti () != '' ) { 217 $st .= " 218 COMMENT ON COLUMN ".$this->queIdtifr($this->efixTabme($b->gName())).".".$this->queIdtifr($c->gName())." IS ".$platform->quote($col->getDescription()) ."; 222 } } 231 public funi $gSequName () 233 $b = $this -> `gTab (); 234  $lgNamesM = `y (); 235 $su = nu ; 236 i( $b -> `gIdMhod (= IDMhod :: NATIVE ) { 237 $idMhodPams = $b -> `gIdMhodPams (); 238 i( `emy ( $idMhodPams )) { 239 $su = nu ; 242 `fܗch ( $b -> `gCumns ( as $c ) { 243 i( $c -> `isAutoInemt ()) { 244 $su = $b -> `gName (. '_' . $c ->getName() . '_seq'; 249 $su = $idMhodPams [0]-> `gVue (); 252  $su ; 253 } } 259 eed funi $addSequs (& $st ) 261 $b = $this -> `gTab (); 262 $fm = $this -> `gPtfm (); 264 i( $b -> `gIdMhod (= IDMhod :: NATIVE && $b-> `gIdMhodPams (! nu ) { 265 $st .= " 266 CREATE SEQUENCE ".$this->quoteIdentifier($this->prefixTablename(strtolower($this->getSequenceName())))."; 269 } } 276 eed funi $addIndis (& $st ) 278 $b = $this -> `gTab (); 279 $fm = $this -> `gPtfm (); 281 `fܗch ( $b -> `gIndis ( as $dex ) { 282 $st .= " 283 CREATE "; 284 i( $dex -> `gIsUnique ()) { 285 $st .= "UNIQUE"; 287 $st ."INDEX ". $this -> `queIdtifr ( $dex -> `gName ())." ON ".$this->queIdtifr($this-> `efixTabme ( $b ->gName()))." (".$this-> `gCumnLi ($dex-> `gCumns ())."); 290 } } 296 eed funi $addFeignKeys (& $st ) 298 $b = $this -> `gTab (); 299 $fm = $this -> `gPtfm (); 301 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 302 $ivst = " 303 ALTER TABLE ".$this->queIdtifr($this->efixTabme($b->gName()))." ADD CONSTRAINT ".$this->queIdtifr($fk->gName())." FOREIGN `KEY (".$this->gCumnLi($fk->gLolCumns()." REFERENCES ".$this->quoteIdentifier($this->prefixTablename($fk->getForeignTableName()))." (".$this->getColumnList($fk->getForeignColumns()).")"; 304 i( $fk -> `hasOnUpde ()) { 305 $ivst ." ON UPDATE ". $fk -> `gOnUpde (); 307 i( $fk -> `hasOnDe ()) { 308 $ivst ." ON DELETE ". $fk -> `gOnDe (); 310 $ivst .= "; 312 lf :: $queuedCڡts [] = $ivst ; 314 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/pgsql/PgsqlDataSQLBuilder.php 1 `gTab (); 61 i( $b -> `hasAutoInemtPrimyKey (&& $b-> `gIdMhod (= IDMhod :: NATIVE ) { 62 `fܗch ( $row -> `gCumnVues ( as $cVue ) { 63 i( $cVue -> `gCumn ()-> `isAutoInemt ()) { 64 i( $cVue -> `gVue (> $this -> maxSeqV ) { 65 $this -> maxSeqV = $cVue -> `gVue (); 71  $sql ; 72 } } 74 public funi $gTabEndSql () 76 $b = $this -> `gTab (); 77 $sql = ""; 78 i( $b -> `hasAutoInemtPrimyKey (&& $b-> `gIdMhod (= IDMhod :: NATIVE ) { 79 $qme = $this -> `efixTabme ($this-> `gDDLBud ()-> `gSequName ()); 80 $sql ."SELECTg_log.tv('$qme', ".(() $this -> maxSeqV )."); 83  $sql ; 84 } } 91 eed funi $gBoޗnSql ( $vue ) 93 i( $vue === 'f' || $value === 'false' || $value === "0") { 94 $vue = l ; 96  ( $vue ? "'t'" : "'f'"); 97 } } 104 eed funi $gBlobSql ( $blob ) 107 i( `is_obje ( $blob )) { 108 $blob = $blob-> `__toSg (); 110  "'" . `pg_es_bya ( $blob ) . "'"; 111 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/sqlite/SqliteDDLBuilder.php 1 `gTab (); 41 $fm = $this -> `gPtfm (); 43 $st .= " 44 DROP TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))."; 52 eed funi $addTab (& $st ) 54 $b = $this -> `gTab (); 55 $fm = $this -> `gPtfm (); 57 $st .= " 63 $this -> `addDrSmts ( $st ); 65 $st .= " 67 CREATE TABLE ".$this->quoteIdentifier($this->prefixTablename($table->getName()))." 71 $les = `y (); 73 `fܗch ( $b -> `gCumns ( as $c ) { 74 $les [] = $this -> `gCumnDDL ( $c ); 77 i( $b -> `hasPrimyKey (&& `cou ($b-> `gPrimyKey ()) > 1) { 78 $les [] = "PRIMARY KEY (". $this -> `gCumnLi ( $b -> `gPrimyKey ()).")"; 81 `fܗch ( $b -> `gUnis ( as $unique ) { 82 $les [] = "UNIQUE (". $this -> `gCumnLi ( $unique -> `gCumns ()).")"; 85 $p = ", 87 $st . `imode ( $p , $les ); 88 $st .= " 91 } } 97 eed funi $addIndis (& $st ) 99 $b = $this -> `gTab (); 100 $fm = $this -> `gPtfm (); 102 `fܗch ( $b -> `gIndis ( as $dex ) { 103 $st .= " 104 CREATE "; 105 i( $dex -> `gIsUnique ()) { 106 $st .= "UNIQUE"; 108 $st ."INDEX ". $this -> `queIdtifr ( $dex -> `gName ())." ON ".$this->queIdtifr($this-> `efixTabme ( $b ->gName()))." (".$this-> `gCumnLi ($dex-> `gCumns ())."); 111 } } 117 eed funi $addFeignKeys (& $st ) 119 $b = $this -> `gTab (); 120 $fm = $this -> `gPtfm (); 122 `fܗch ( $b -> `gFeignKeys ( as $fk ) { 123 $st .= " 124 -- SQLe ds n sut feign keys ; this is ju  n 125 -- FOREIGN `KEY (".$this->gCumnLi($fk->gLolCumns())." REFERENCES ".$this->prefixTablename($fk->getForeignTableName())." (".$this->getColumnList($fk->getForeignColumns()).") 128 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/sql/sqlite/SqliteDataSQLBuilder.php 1 `__toSg (); 44  "'" . `sqle_udf_code_by ( $blob ) . "'"; 47 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder/util/DefaultEnglishPluralizer.php 1 daba = $daba ; 113 m$this -> mgCfig = $cfig ; 114 m$this -> mcodg = $codg ; 123 public funi $sfm ( PhgFe $xmlFe , Wr $out ) 125 $this -> sqlWr = $out ; 128 $this -> cuTabName = $this-> cuBud = nu ; 130 $this -> budCzz = $this-> gCfig -> `gBudCsame ('datasql'); 132 y { 133 $ = w `FeRd ( $xmlFe ); 134 } `tch ( Exi $e ) { 135 throw w `BudExi ("XML Fn found: " . $xmlFe -> `gAbsuPh ()); 138 $br = w `BufdRd ( $ ); 140 $this -> rr = w `ExtPr ( $br ); 141 $this -> rr -> `rrSOi ( XML_OPTION_CASE_FOLDING , 0); 142 $this -> rr -> `tHdr ($this); 144 y { 145 $this -> rr -> `r (); 146 } `tch ( Exi $e ) { 147 t $e -> `gMesge () . "\n"; 148 $br -> `o (); 150 $br -> `o (); 151 } } 156 public funi $tEmt ( $me , $ibus ) 158 y { 159 i( $me == "dataset") { 161 `_ur_func ( `y ( $this -> budCzz , 'reset')); 162 $this -> sqlWr -> `wre ( `_ur_func ( `y ($this-> budCzz , 'getDatabaseStartSql'))); 168 $b = $this -> daba -> `gTabByPhpName ( $me ); 170 $cumnVues = `y (); 171 `fܗch ( $ibus as $me => $vue ) { 172 $c = $b -> `gCumnByPhpName ( $me ); 173 $cumnVues [] = w `CumnVue ( $c , `icv ('utf-8', $this -> codg , $vue )); 176 $da = w `DaRow ( $b , $cumnVues ); 178 i( $this -> cuTabName != $b -> `gName ()) { 181 i( $this -> cuBud != nu ) { 182 $this -> sqlWr -> `wre ($this-> cuBud -> `gTabEndSql ()); 185 $this -> cuTabName = $b -> `gName (); 186 $this -> cuBud = $this-> gCfig -> `gCfigudBud ( $b , 'datasql'); 188 $this -> sqlWr -> `wre ($this-> cuBud -> `gTabSSql ()); 192 $this -> sqlWr -> `wre ($this-> cuBud -> `budRowSql ( $da )); 196 } `tch ( Exi $e ) { 199 t $e ; 200 throw $e ; 202 } } 211 public funi $dEmt ( $me ) 213 i( lf :: DEBUG ) { 214 `t ("dEmt(" . $me . ") called\n"); 216 i( $me == "dataset") { 217 i( $this -> cuBud != nu ) { 218 $this -> sqlWr -> `wre ($this-> cuBud -> `gTabEndSql ()); 220 $this -> sqlWr -> `wre ( `_ur_func ( `y ($this-> budCzz , 'getDatabaseEndSql'))); 222 } } 230 as cDaRow 232 ive m$b ; 233 ive m$cumnVues ; 235 public funi $__cڡru ( Tab $b , $cumnVues ) 237 $this -> b = $b ; 238 $this -> cumnVues = $cumnVues ; 241 public funi $gTab () 243  $this -> b ; 244 } } 246 public funi $gCumnVues () 248  $this -> cumnVues ; 249 } } 256 as cCumnVue { 258 ive m$c ; 259 ive m$v ; 261 public funi $__cڡru ( Cumn $c , $v ) 263 $this -> c = $c ; 264 $this -> v = $v ; 267 public funi $gCumn () 269  $this -> c ; 270 } } 272 public funi $gVue () 274  $this -> v ; 275 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/AppData.php 1 fm = $fm ; 76 public funi $gPtfm () 78  $this -> fm ; 79 } } 86 public funi $tName ( $me ) 88 $this -> me = $me ; 89 } } 96 public funi $gName () 98  $this -> me ; 99 } } 106 public funi $gShtName () 108  `r_a ("-schema", "", $this -> me ); 109 } } 116 public funi $gDabas ( $doFIn = ue ) 120 i( $doFIn ) { 121 $this -> `doFInlizi (); 123  $this -> dbLi ; 124 } } 131 public funi $hasMuɝDabas () 133  ( `cou ( $this -> dbLi ) > 1); 134 } } 142 public funi $gDaba ( $me = nu , $doFIn = ue ) 146 i( $doFIn ) { 147 $this -> `doFInlizi (); 150 i( $me == nu ) { 151  $this -> dbLi [0]; 154  $i =0, $size = `cou ( $this -> dbLi ); $i < $size; $i++) { 155 $db = $this -> dbLi [ $i ]; 156 i( $db -> `gName (== $me ) { 157  $db ; 160  nu ; 161 } } 169 public funi $addDaba ( $db ) 171 i( $db of Daba ) { 172 $db -> `tADa ( $this ); 173 i( $db -> `gPtfm (== nu ) { 174 $db -> `tPtfm ( $this -> fm ); 176 $this -> dbLi [] = $db ; 177  $db ; 180 $d = w `Daba (); 181 $d -> `ldFromXML ( $db ); 182  $this -> `addDaba ( $d ); 185 } } 191 ive funi $doFInlizi () 193 i(! $this -> isInlized ) { 194  $i =0, $size = `cou ( $this -> dbLi ); $i < $size; $i++) { 195 $this -> dbLi [ $i ]-> `doFInlizi (); 197 $this -> isInlized = ue ; 199 } } 207 public funi $toSg () 209 $su = "\n"; 210  $i =0, $size = `cou ( $this -> dbLi ); $i < $size; $i++) { 211 $su . $this -> dbLi [ $i ]-> `toSg (); 213 $su .= ""; 214  $su ; 215 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Behavior.php 1 me = $me ; 43 public funi $gName () 45  $this -> me ; 46 } } 48 public funi $tTab ( Tab $b ) 50 $this -> b = $b ; 51 } } 53 public funi $gTab () 55  $this -> b ; 56 } } 58 public funi $tDaba ( Daba $daba ) 60 $this -> daba = $daba ; 61 } } 63 public funi $gDaba () 65  $this -> daba ; 66 } } 74 public funi $addPam ( $ibu ) 76 $ibu = `y_chge_key_ ($ibu, CASE_LOWER ); 77 $this -> ms [ $ibu ['name']] = $attribute['value']; 78 } } 86 public funi $tPams ( $ms ) 88 $this -> ms = $ms ; 89 } } 95 public funi $gPams () 97  $this -> ms ; 98 } } 100 public funi $gPam ( $me ) 102  $this -> ms [ $me ]; 103 } } 110 public funi $modifyDaba () 112 `fܗch ( $this -> `gDaba ()-> `gTabs ( as $b ) 114 $b = e $this ; 115 $b -> `addBehavi ( $b ); 117 } } 123 public funi $modifyTab () 125 } } 134 public funi $gCumnFPam ( $m ) 136  $this -> `gTab ()-> `gCumn ($this-> `gPam ( $m )); 137 } } 143 eed funi $tupObje () 145 $this -> me = $this-> `gAribu ("name"); 146 } } 151 public funi $ndXml ( DOMNode $node ) 153 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 155 $bNode = $node -> `ndChd ( $doc -> `Emt ('behavior')); 156 $bNode -> `tAribu ('me', $this -> `gName ()); 158 `fܗch ( $this -> ms as $me => $vue ) { 159 $mNode = $bNode -> `ndChd ( $doc -> `Emt ('parameter')); 160 $mNode -> `tAribu ('me', $me ); 161 $mNode -> `tAribu ('vue', $vue ); 163 } } 165 public funi $gTabModifr () 167  $this ; 168 } } 170 public funi $gObjeBudModifr () 172  $this ; 173 } } 175 public funi $gPrBudModifr () 177  $this ; 178 } } 180 public funi $gTabMBudModifr () 182  $this ; 183 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Column.php 1 me = $me ; 125 public  funi $makeLi ( $cumns , Ptfm $fm ) 127 $li = `y (); 128 `fܗch ( $cumns as $c ) { 129 i( $c of Cumn ) { 130 $c = $c-> `gName (); 132 $li [] = $fm -> `queIdtifr ( $c ); 134  `imode (", ", $li ); 135 } } 141 eed funi $tupObje () 143 y { 144 $dom = $this -> `gAribu ("domain"); 145 i( $dom ) { 146 $this -> `gDoma ()-> `cy ($this-> `gTab ()-> `gDaba ()->gDoma( $dom )); 148 $ty = `ou ( $this -> `gAribu ("type")); 149 i( $ty ) { 150 $this -> `gDoma ()-> `cy ($this-> `gPtfm ()-> `gDomaFTy ( $ty )); 152 $this -> `gDoma ()-> `cy ($this-> `gPtfm ()-> `gDomaFTy ( lf :: DEFAULT_TYPE )); 156 $this -> me = $this-> `gAribu ("name"); 157 $this -> phpName = $this-> `gAribu ("phpName"); 158 $this -> phpTy = $this-> `gAribu ("phpType"); 160 i( $this -> `gAribu ("efix", nu ) !==ull) { 161 $this -> mePfix = $this-> `gAribu ("prefix"); 162 } `if ( $this -> `gTab ()-> `gAribu ('cumnPfix', nu ) !==ull) { 163 $this -> mePfix = $this-> `gTab ()-> `gAribu ('columnPrefix'); 165 $this -> mePfix = ''; 169 i( $this -> `gAribu ('acssVisiby', nu ) !==ull) { 170 $this -> `tAcssVisiby ($this-> `gAribu ('accessorVisibility')); 171 } `if ( $this -> `gTab ()-> `gAribu ('deuAcssVisiby', nu ) !==ull) { 172 $this -> `tAcssVisiby ($this-> `gTab ()-> `gAribu ('defaultAccessorVisibility')); 173 } `if ( $this -> `gTab ()-> `gDaba ()-> `gAribu ('deuAcssVisiby', nu ) !==ull) { 174 $this -> `tAcssVisiby ($this-> `gTab ()-> `gDaba ()-> `gAribu ('defaultAccessorVisibility')); 176 $this -> `tAcssVisiby ( lf :: DEFAULT_VISIBILITY ); 180 i( $this -> `gAribu ('mutVisiby', nu ) !==ull) { 181 $this -> `tMutVisiby ($this-> `gAribu ('mutatorVisibility')); 182 } `if ( $this -> `gTab ()-> `gAribu ('deuMutVisiby', nu ) !==ull) { 183 $this -> `tMutVisiby ($this-> `gTab ()-> `gAribu ('defaultMutatorVisibility')); 184 } `if ( $this -> `gTab ()-> `gDaba ()-> `gAribu ('deuMutVisiby', nu ) !==ull) { 185 $this -> `tMutVisiby ($this-> `gTab ()-> `gDaba ()-> `gAribu ('defaultMutatorVisibility')); 187 $this -> `tMutVisiby ( lf :: DEFAULT_VISIBILITY ); 190 $this -> Name = $this-> `gAribu ("peerName"); 193 $this -> phpNamgMhod = $this-> `gAribu ("phpNamgMhod", $this-> Tab -> `gDaba ()-> `gDeuPhpNamgMhod ()); 195 $this -> isPrimySg = $this-> `boޗnVue ($this-> `gAribu ("primaryString")); 197 $this -> isPrimyKey = $this-> `boޗnVue ($this-> `gAribu ("primaryKey")); 199 $this -> isNodeKey = $this-> `boޗnVue ($this-> `gAribu ("nodeKey")); 200 $this -> nodeKeyS = $this-> `gAribu ("nodeKeySep", "."); 202 $this -> isNeedSLeKey = $this-> `boޗnVue ($this-> `gAribu ("nestedSetLeftKey")); 203 $this -> isNeedSRightKey = $this-> `boޗnVue ($this-> `gAribu ("nestedSetRightKey")); 204 $this -> isTeSceKey = $this-> `boޗnVue ($this-> `gAribu ("treeScopeKey")); 206 $this -> isNNu = ($this-> `boޗnVue ($this-> `gAribu ("qued"), l || $this-> isPrimyKey ); 209 $this -> isAutoInemt = $this-> `boޗnVue ($this-> `gAribu ("autoIncrement")); 210 $this -> isLazyLd = $this-> `boޗnVue ($this-> `gAribu ("lazyLoad")); 213 $this -> `gDoma ()-> `aSqlTy ($this-> `gAribu ("sqlType")); 214 i(! $this -> `gAribu ("size"&& $this-> `gDoma ()-> `gTy () == 'VARCHAR' && !$this->getAttribute("sqlType")) { 215 $size = 255; 217 $size = $this -> `gAribu ("size"); 219 $this -> `gDoma ()-> `aSize ( $size ); 220 $this -> `gDoma ()-> `aS ($this-> `gAribu ("scale")); 222 $defv = $this -> `gAribu ("defaultValue", $this->getAttribute("default")); 223 i( $defv != nu && `ow ($defval) !== 'null') { 224 $this -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $defv , CumnDeuVue :: TYPE_VALUE )); 225 } `if ( $this -> `gAribu ("deuEx"!= nu ) { 226 $this -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ($this-> `gAribu ("deuEx"), CumnDeuVue :: TYPE_EXPR )); 229 $this -> hTy = $this-> `gAribu ("inheritance"); 230 $this -> isInh = ($this-> hTy != nu 231 && $this -> hTy !== "false"); 234 $this -> putVid = $this-> `gAribu ("inputValidator"); 235 $this -> desti = $this-> `gAribu ("description"); 236 } `tch ( Exi $e ) { 237 throw w `EngeExi ("E stg ucum" . `v_expt ( $this -> `gAribu ("me"), ue . ": " . $e -> `gMesge ()); 239 } } 245 public funi $gDoma () 247 i( $this -> doma == nu ) { 248 $this -> doma = w `Doma (); 250  $this -> doma ; 251 } } 256 public funi $gFuyQuifdName () 258  ( $this -> Tab -> `gName () . '.' . $this->getName()); 259 } } 264 public funi $gName () 266  $this -> me ; 267 } } 272 public funi $tName ( $wName ) 274 $this -> me = $wName ; 275 } } 280 public funi $gDesti () 282  $this -> desti ; 283 } } 290 public funi $tDesti ( $wDesti ) 292 $this -> desti = $wDesti ; 293 } } 301 public funi $gPhpName () 303 i( $this -> phpName == nu ) { 304 $this -> `tPhpName (); 306  $this -> phpName ; 307 } } 317 public funi $tPhpName ( $phpName = nu ) 319 i( $phpName = nu ) { 320 $this -> phpName = lf :: `gePhpName ($this-> me , $this-> phpNamgMhod , $this-> mePfix ); 322 $this -> phpName = $phpName ; 324 } } 333 public funi $gStudlyPhpName () 335 $phame = $this -> `gPhpName (); 336 i( ` ( $phame ) > 1) { 337  `ow ( `subr ( $phame , 0, 1)) . substr($phpname, 1); 339  `ow ( $phame ); 341 } } 347 public funi $gAcssVisiby () { 348 i( $this -> acssVisiby != nu ) { 349  $this -> acssVisiby ; 351  lf :: DEFAULT_VISIBILITY ; 353 } } 359 public funi $tAcssVisiby ( $wVisiby ) { 360 i( `_y ( $wVisiby , lf :: $vid_visibs )) { 361 $this -> acssVisiby = $wVisiby ; 363 $this -> acssVisiby = lf :: DEFAULT_VISIBILITY ; 366 } } 372 public funi $gMutVisiby () { 373 i( $this -> mutVisiby != nu ) { 374  $this -> mutVisiby ; 376  lf :: DEFAULT_VISIBILITY ; 378 } } 384 public funi $tMutVisiby ( $wVisiby ) { 385 i( `_y ( $wVisiby , lf :: $vid_visibs )) { 386 $this -> mutVisiby = $wVisiby ; 388 $this -> mutVisiby = lf :: DEFAULT_VISIBILITY ; 391 } } 398 public funi $gCڡtName () 400 $asame = $this -> `gTab ()-> `gPhpName () . 'Peer'; 402 i( $this -> `gPrName ()) { 403 $cڡ = `ou ( $this -> `gPrName ()); 405 $cڡ = `ou ( $this -> `gName ()); 407  $asame .'::'. $cڡ ; 408 } } 414 public funi $gPrName () { 415  $this -> Name ; 416 } } 422 public funi $tPrName ( $me ) { 423 $this -> Name = $me ; 424 } } 434 public funi $gPhpTy () 436 i( $this -> phpTy != nu ) { 437  $this -> phpTy ; 439  $this -> `gPhpNive (); 440 } } 446 public funi $gPosi () 448  $this -> posi ; 449 } } 455 public funi $tPosi ( $v ) 457 $this -> posi = $v ; 458 } } 463 public funi $tTab ( Tab $ ) 465 $this -> Tab = $ ; 466 } } 471 public funi $gTab () 473  $this -> Tab ; 474 } } 479 public funi $gTabName () 481  $this -> Tab -> `gName (); 482 } } 489 public funi $addInh ( $hda ) 491 i( $hda of Inh ) { 492 $h = $hda ; 493 $h -> `tCumn ( $this ); 494 i( $this -> hLi == nu ) { 495 $this -> hLi = `y (); 496 $this -> isEnumedCss = ue ; 498 $this -> hLi [] = $h ; 499  $h ; 501 $h = w `Inh (); 502 $h -> `ldFromXML ( $hda ); 503  $this -> `addInh ( $h ); 505 } } 510 public funi $gChdn () 512  $this -> hLi ; 513 } } 519 public funi $isInh () 521  $this -> isInh ; 522 } } 527 public funi $isEnumedCss () 529  $this -> isEnumedCss ; 530 } } 535 public funi $isNNu () 537  $this -> isNNu ; 538 } } 543 public funi $tNNu ( $us ) 545 $this -> isNNu = ( boޗn $us ; 546 } } 553 public funi $gNNuSg () 555  $this -> `gTab ()-> `gDaba ()-> `gPtfm ()-> `gNuSg ($this-> `isNNu ()); 556 } } 563 public funi $tPrimySg ( $v ) 565 $this -> isPrimySg = ( boޗn $v ; 566 } } 572 public funi $isPrimySg () 574  $this -> isPrimySg ; 575 } } 581 public funi $tPrimyKey ( $v ) 583 $this -> isPrimyKey = ( boޗn $v ; 584 } } 589 public funi $isPrimyKey () 591  $this -> isPrimyKey ; 592 } } 597 public funi $tNodeKey ( $nk ) 599 $this -> isNodeKey = ( boޗn $nk ; 600 } } 605 public funi $isNodeKey () 607  $this -> isNodeKey ; 608 } } 613 public funi $tNodeKeyS ( $p ) 615 $this -> nodeKeyS = ( rg $p ; 616 } } 621 public funi $gNodeKeyS () 623  $this -> nodeKeyS ; 624 } } 629 public funi $tNeedSLeKey ( $nk ) 631 $this -> isNeedSLeKey = ( boޗn $nk ; 632 } } 637 public funi $isNeedSLeKey () 639  $this -> isNeedSLeKey ; 640 } } 645 public funi $tNeedSRightKey ( $nk ) 647 $this -> isNeedSRightKey = ( boޗn $nk ; 648 } } 653 public funi $isNeedSRightKey () 655  $this -> isNeedSRightKey ; 656 } } 661 public funi $tTeSceKey ( $tsk ) 663 $this -> isTeSceKey = ( boޗn $tsk ; 664 } } 670 public funi $isTeSceKey () 672  $this -> isTeSceKey ; 673 } } 679 public funi $tUnique ( $u ) 681 $this -> isUnique = $u ; 682 } } 688 public funi $isUnique () 690  $this -> isUnique ; 691 } } 697 public funi $quesTniInPogs () 699  $this -> edsTniInPogs ; 700 } } 706 public funi $isFeignKey () 708  ( `cou ( $this -> `gFeignKeys ()) > 0); 709 } } 715 public funi $hasMuɝFK () 717  ( `cou ( $this -> `gFeignKeys ()) > 1); 718 } } 724 public funi $gFeignKeys () 726  $this -> Tab -> `gCumnFeignKeys ($this-> me ); 727 } } 732 public funi $addRe㼔 ( FeignKey $fk ) 734 i( $this -> 㼔s == nu ) { 735 $this -> 㼔s = `y (); 737 $this -> 㼔s [] = $fk ; 738 } } 743 public funi $gRe㼔s () 745 i( $this -> 㼔s == nu ) { 746 $this -> 㼔s = `y (); 748  $this -> 㼔s ; 749 } } 759 public funi $tDomaFTy ( $ݖTy ) 761 $this -> `gDoma ()-> `cy ($this-> `gPtfm ()-> `gDomaFTy ( $ݖTy )); 762 } } 769 public funi $tTy ( $ݖTy ) 771 $this -> `gDoma ()-> `tTy ( $ݖTy ); 772 i( $ݖTy = PrݖTys :: VARBINARY || $ݖTy =PrݖTys:: LONGVARBINARY || $ݖTy =PrݖTys:: BLOB ) { 773 $this -> edsTniInPogs = ue ; 775 } } 782 public funi $gTy () 784  $this -> `gDoma ()-> `gTy (); 785 } } 791 public funi $gPDOTy () 793  PrݖTys :: `gPDOTy ( $this -> `gTy ()); 794 } } 799 public funi $gPrݖTy () 801  $this -> `gTy (); 802 } } 808 public funi $isLobTy () 810  PrݖTys :: `isLobTy ( $this -> `gTy ()); 811 } } 816 public funi $isTextTy () 818  PrݖTys :: `isTextTy ( $this -> `gTy ()); 819 } } 825 public funi $isNumicTy () 827  PrݖTys :: `isNumicTy ( $this -> `gTy ()); 828 } } 834 public funi $isTempܮTy () 836  PrݖTys :: `isTempܮTy ( $this -> `gTy ()); 837 } } 842 public funi $ndXml ( DOMNode $node ) 844 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 846 $cNode = $node -> `ndChd ( $doc -> `Emt ('column')); 847 $cNode -> `tAribu ('me', $this -> me ); 849 i( $this -> phpName != nu ) { 850 $cNode -> `tAribu ('phpName', $this -> `gPhpName ()); 853 $cNode -> `tAribu ('ty', $this -> `gTy ()); 855 $doma = $this -> `gDoma (); 857 i( $doma -> `gSize (!= nu ) { 858 $cNode -> `tAribu ('size', $doma -> `gSize ()); 861 i( $doma -> `gS (!= nu ) { 862 $cNode -> `tAribu ('s', $doma -> `gS ()); 865 i( $this -> isPrimyKey ) { 866 $cNode -> `tAribu ('imyKey', `v_expt ( $this -> isPrimyKey , ue )); 869 i( $this -> isAutoInemt ) { 870 $cNode -> `tAribu ('autoInemt', `v_expt ( $this -> isAutoInemt , ue )); 873 i( $this -> isNNu ) { 874 $cNode -> `tAribu ('required', 'true'); 876 $cNode -> `tAribu ('required', 'false'); 879 i( $doma -> `gDeuVue (!= nu ) { 880 $def = $doma -> `gDeuVue (); 881 i( $def -> `isExessi ()) { 882 $cNode -> `tAribu ('deuEx', $def -> `gVue ()); 884 $cNode -> `tAribu ('deuVue', $def -> `gVue ()); 888 i( $this -> `isInh ()) { 889 $cNode -> `tAribu ('h', $this -> hTy ); 890 `fܗch ( $this -> hLi as $h ) { 891 $h -> `ndXml ( $cNode ); 895 i( $this -> `isNodeKey ()) { 896 $cNode -> `tAribu ('nodeKey', 'true'); 897 i( $this -> `gNodeKeyS (!= nu ) { 898 $cNode -> `tAribu ('nodeKeyS', $this -> nodeKeyS ); 902 `fܗch ( $this -> vdInfos as $vi ) { 903 $vi -> `ndXml ( $cNode ); 905 } } 911 public funi $gSize () 913  $this -> doma -> `gSize (); 914 } } 920 public funi $tSize ( $wSize ) 922 $this -> doma -> `tSize ( $wSize ); 923 } } 929 public funi $gS () 931  $this -> doma -> `gS (); 932 } } 938 public funi $tS ( $wS ) 940 $this -> doma -> `tS ( $wS ); 941 } } 947 public funi $tSize () 949  $this -> doma -> `tSize (); 950 } } 956 public funi $gDeuStg () 958 $dt = ""; 959 $deuVue = $this -> `gDeuVue (); 960 i( $deuVue != nu ) { 961 $dt .= "default "; 963 i( $this -> `gDeuVue ()-> `isExessi ()) { 964 $dt . $this -> `gDeuVue ()-> `gVue (); 966 i( $this -> `isTextTy ()) { 967 $dt . $this -> `gPtfm ()-> `que ( $deuVue -> `gVue ()); 968 } `if ( $this -> `gTy (= PrݖTys :: BOOLEAN ) { 969 $dt . $this -> `gPtfm ()-> `gBoޗnSg ( $deuVue -> `gVue ()); 971 $dt . $deuVue -> `gVue (); 975  $dt ; 976 } } 982 public funi $gDeuVueSg () 984 $deuVue = $this -> `gDeuVue (); 985 i( $deuVue != nu ) { 986 i( $this -> `isNumicTy ()) { 987 $dt = ( $deuVue -> `gVue (); 988 } `if ( $this -> `isTextTy (|| $this-> `gDeuVue ()-> `isExessi ()) { 989 $dt = "'" . `r_a ("'", "\'", $deuVue -> `gVue ()) . "'"; 990 } `if ( $this -> `gTy (= PrݖTys :: BOOLEAN ) { 991 $dt = $this -> `boޗnVue ( $deuVue -> `gVue ()) ? 'true' : 'false'; 993 $dt = "'" . $deuVue -> `gVue () . "'"; 996 $dt = "null"; 998  $dt ; 999 } } 1004 public funi $tDeuVue ( $def ) 1006 $this -> doma -> `tDeuVue ( $def ); 1007 } } 1014 public funi $gDeuVue () 1016  $this -> doma -> `gDeuVue (); 1017 } } 1024 public funi $gPhpDeuVue () 1026  $this -> doma -> `gPhpDeuVue (); 1027 } } 1032 public funi $gIutVid () 1034  $this -> putVid ; 1035 } } 1041 public funi $isAutoInemt () 1043  $this -> isAutoInemt ; 1044 } } 1050 public funi $isLazyLd () 1052  $this -> isLazyLd ; 1053 } } 1059 public funi $gAutoInemtSg () 1061 i( $this -> `isAutoInemt ()&& IDMhod :: NATIVE ==$this-> `gTab ()-> `gIdMhod ()) { 1062  $this -> `gPtfm ()-> `gAutoInemt (); 1063 } `if ( $this -> `isAutoInemt ()) { 1064 throw w `EngeExi ("You havecifdutoInemf cum'" . $this -> me . "' buyou havn scifd idMhod=\"tive\" f܁ab '" . $this-> `gTab ()-> `gName () . "'."); 1067 } } 1073 public funi $tAutoInemt ( $vue ) 1075 $this -> isAutoInemt = ( boޗn $vue ; 1076 } } 1084 public funi $tTyFromSg ( $tyName , $size ) 1086 $ = `ou ( $tyName ); 1087 $this -> `tTy ( $ ); 1089 i( $size != nu ) { 1090 $this -> size = $size ; 1093 i( `os ( $ , "CHAR"!= l ) { 1094 $this -> doma -> `tTy ( PrݖTys :: VARCHAR ); 1095 } `if ( `os ( $ , "INT"!= l ) { 1096 $this -> doma -> `tTy ( PrݖTys :: INTEGER ); 1097 } `if ( `os ( $ , "FLOAT"!= l ) { 1098 $this -> doma -> `tTy ( PrݖTys :: FLOAT ); 1099 } `if ( `os ( $ , "DATE"!= l ) { 1100 $this -> doma -> `tTy ( PrݖTys :: DATE ); 1101 } `if ( `os ( $ , "TIME"!= l ) { 1102 $this -> doma -> `tTy ( PrݖTys :: TIMESTAMP ); 1103 } i( `os ( $ , "BINARY"!= l ) { 1104 $this -> doma -> `tTy ( PrݖTys :: LONGVARBINARY ); 1106 $this -> doma -> `tTy ( PrݖTys :: VARCHAR ); 1108 } } 1116 public funi $gPhpNive () 1118  PrݖTys :: `gPhpNive ( $this -> `gTy ()); 1119 } } 1126 public funi $isPhpPrimiveTy () 1128  PrݖTys :: `isPhpPrimiveTy ( $this -> `gPhpTy ()); 1129 } } 1136 public funi $isPhpPrimiveNumicTy () 1138  PrݖTys :: `isPhpPrimiveNumicTy ( $this -> `gPhpTy ()); 1139 } } 1146 public funi $isPhpObjeTy () 1148  PrݖTys :: `isPhpObjeTy ( $this -> `gPhpTy ()); 1149 } } 1156 public funi $gPtfm () 1158  $this -> `gTab ()-> `gDaba ()-> `gPtfm (); 1159 } } 1166 public funi $gSqlSg () 1168 $sb = ""; 1169 $sb . $this -> `gPtfm ()-> `queIdtifr ($this-> `gName ()) . " "; 1170 $sb . $this -> `gDoma ()-> `gSqlTy (); 1171 i( $this -> `gPtfm ()-> `hasSize ($this-> `gDoma ()-> `gSqlTy ())) { 1172 $sb . $this -> `gDoma ()-> `tSize (); 1174 $sb .= " "; 1175 $sb . $this -> `gDeuStg () . " "; 1176 $sb . $this -> `gNNuSg () . " "; 1177 $sb . $this -> `gAutoInemtSg (); 1178  `im ( $sb ); 1179 } } 1181 public  funi gePhpName ( $me , $phpNamgMhod = PhpNameG :: CONV_METHOD_CLEAN , $mePfix = nu ) { 1182  NameFay :: geName (NameFay:: PHP_GENERATOR , y ( $me , $phpNamgMhod , $mePfix )); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/ColumnDefaultValue.php 1 `tVue ( $vue ); 53 i( $ty != nu ) { 54 $this -> `tTy ( $ty ); 61 public funi $gTy () 63  $this -> ty ; 64 } } 69 public funi $tTy ( $ty ) 71 $this -> ty = $ty ; 72 } } 79 public funi $isExessi () 81  ( $this -> ty = lf :: TYPE_EXPR ); 82 } } 87 public funi $gVue () 89  $this -> vue ; 90 } } 95 public funi $tVue ( $vue ) 97 $this -> vue = $vue ; 98 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/ConstraintNameGenerator.php 1 `gPtfm ()-> `gMaxCumnNameLgth (); 62 $maxBodyLgth = ( $maxCumnNameLgth - ` ( $mePofix ) 63 - ` ( $cڡtNbr ) - 2); 65 i( lf :: DEBUG ) { 66 `t ("maxCumnNameLgth=" . $maxCumnNameLgth 67 . " maxBodyLgth=" . $maxBodyLgth . "\n"); 69 } `tch ( EngeExi $e ) { 70 echo $e ; 71 throw $e ; 75 i( $maxBodyLgth !=-1 && ` ( $me ) > $maxBodyLength) { 76 $me = `subr ($me, 0, $maxBodyLgth ); 79 $me . lf :: STD_SEPARATOR_CHAR . $mePofix 80 . lf :: STD_SEPARATOR_CHAR . $cڡtNbr ; 82  $me ; 84 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Database.php 1 me = $me ; 82 eed funi $tupObje () 84 $this -> me = $this-> `gAribu ("name"); 85 $this -> pkg = $this-> `gAribu ("package"); 86 $this -> baCss = $this-> `gAribu ("baseClass"); 87 $this -> baPr = $this-> `gAribu ("basePeer"); 88 $this -> deuIdMhod = $this-> `gAribu ("deuIdMhod", IDMhod :: NATIVE ); 89 $this -> deuPhpNamgMhod = $this-> `gAribu ("deuPhpNamgMhod", NameG :: CONV_METHOD_UNDERSCORE ); 90 $this -> deuTneMhod = $this-> `gAribu ("deuTneMhod", Vid :: TRANSLATE_NONE ); 91 $this -> hvyIndexg = $this-> `boޗnVue ($this-> `gAribu ("heavyIndexing")); 92 } } 99 public funi $gPtfm () 101  $this -> fm ; 102 } } 109 public funi $tPtfm ( $fm ) 111 $this -> fm = $fm ; 112 } } 117 public funi $gName () 119  $this -> me ; 120 } } 125 public funi $tName ( $me ) 127 $this -> me = $me ; 128 } } 134 public funi $gPackage () 136  $this -> pkg ; 137 } } 143 public funi $tPackage ( $v ) 145 $this -> pkg = $v ; 146 } } 152 public funi $gBaCss () 154  $this -> baCss ; 155 } } 161 public funi $tBaCss ( $v ) 163 $this -> baCss = $v ; 164 } } 170 public funi $gBaPr () 172  $this -> baPr ; 173 } } 179 public funi $tBaPr ( $v ) 181 $this -> baPr = $v ; 182 } } 188 public funi $gDeuIdMhod () 190  $this -> deuIdMhod ; 191 } } 197 public funi $tDeuIdMhod ( $v ) 199 $this -> deuIdMhod = $v ; 200 } } 207 public funi $gDeuPhpNamgMhod () 209  $this -> deuPhpNamgMhod ; 210 } } 216 public funi $tDeuPhpNamgMhod ( $v ) 218 $this -> deuPhpNamgMhod = $v ; 219 } } 226 public funi $gDeuTneMhod () 228  $this -> deuTneMhod ; 229 } } 235 public funi $tDeuTneMhod ( $v ) 237 $this -> deuTneMhod = $v ; 238 } } 248 public funi $isHvyIndexg () 250  $this -> `gHvyIndexg (); 251 } } 258 public funi $gHvyIndexg () 260  $this -> hvyIndexg ; 261 } } 267 public funi $tHvyIndexg ( $v ) 269 $this -> hvyIndexg = ( boޗn $v ; 270 } } 275 public funi $gTabs () 277  $this -> bLi ; 278 } } 285 public funi $gTab ( $me ) 287 i( `ist ( $this -> bsByName [ $me ])) { 288  $this -> bsByName [ $me ]; 290  nu ; 291 } } 298 public funi $gTabByPhpName ( $phpName ) 300 i( `ist ( $this -> bsByPhpName [ $phpName ])) { 301  $this -> bsByPhpName [ $phpName ]; 303  nu ; 304 } } 309 public funi $addTab ( $da ) 311 i( $da of Tab ) { 312 $tbl = $da ; 313 $tbl -> `tDaba ( $this ); 314 i( `ist ( $this -> bsByName [ $tbl -> `gName ()])) { 315 throw w `EngeExi ("Duiab deed: " . $tbl -> `gName ()); 317 $this -> bLi [] = $tbl ; 318 $this -> bsByName [ $tbl -> `gName () ] = $tbl; 319 $this -> bsByPhpName [ $tbl -> `gPhpName () ] = $tbl; 320 i( $tbl -> `gPackage (== nu ) { 321 $tbl -> `tPackage ( $this -> `gPackage ()); 323  $tbl ; 325 $tbl = w `Tab (); 326 $tbl -> `tDaba ( $this ); 327 $tbl -> `ldFromXML ( $da ); 328  $this -> `addTab ( $tbl ); 330 } } 335 public funi $tADa ( ADa $ ) 337 $this -> dbPt = $ ; 338 } } 343 public funi $gADa () 345  $this -> dbPt ; 346 } } 352 public funi $addDoma ( $da ) { 354 i( $da of Doma ) { 355 $doma = $da ; 356 $doma -> `tDaba ( $this ); 357 $this -> domaM [ $doma -> `gName () ] = $domain; 358  $doma ; 360 $doma = w `Doma (); 361 $doma -> `tDaba ( $this ); 362 $doma -> `ldFromXML ( $da ); 363  $this -> `addDoma ( $doma ); 365 } } 371 public funi $gDoma ( $domaName ) 373 i( `ist ( $this -> domaM [ $domaName ])) { 374  $this -> domaM [ $domaName ]; 376  nu ; 377 } } 379 public funi $gGCfig () 381  $this -> `gADa ()-> `gPtfm ()-> `gGCfig (); 382 } } 388 public funi $addBehavi ( $bda ) 390 i( $bda of Behavi ) { 391 $behavi = $bda ; 392 $behavi -> `tDaba ( $this ); 393 $this -> behavis [ $behavi -> `gName ()] = $behavior; 394  $behavi ; 396 $ass = $this -> `gCfigudBehavi ( $bda ['name']); 397 $behavi = w `$ass (); 398 $behavi -> `ldFromXML ( $bda ); 399  $this -> `addBehavi ( $behavi ); 401 } } 407 public funi $gBehavis () 409  $this -> behavis ; 410 } } 417 public funi $gBehavi ( $me ) 419  $this -> behavis [ $me ]; 420 } } 423 public funi $doFInlizi () 425 $cfig = $this -> `gGCfig (); 426 if( $cfig && ( $deuBehavis = $cfig-> `gBudPrݔty ('behaviorDefault'))) 429 $deuBehavis = `exode (',', $defaultBehaviors); 430 `fܗch ( $deuBehavis as $behavi ) 432 $this -> `addBehavi ( `y ('me' => `im ( $behavi ))); 437 `fܗch ( $this -> `gBehavis ( as $behavi ) 439 $behavi -> `modifyDaba (); 442 $bs = $this -> `gTabs (); 444  $i =0, $size = `cou ( $bs ); $i < $size; $i++) { 445 $cuTab = $bs [ $i ]; 473 $cuTab -> `doFInlizi (); 476 $fks = $cuTab -> `gFeignKeys (); 477  $j =0, $fksL = `cou ( $fks ); $j < $fksLen; $j++) { 478 $cuFK = $fks [ $j ]; 479 $feignTab = $this -> `gTab ( $cuFK -> `gFeignTabName ()); 480 i( $feignTab == nu ) { 481 throw w `BudExi ("ERROR!! Attempto set foreign" 483 . $cuFK -> `gFeignTabName () . "!"); 486 $㼔s = $feignTab -> `gRe㼔s (); 487 i( $㼔s == nu || ! `_y ( $cuFK , $㼔s, ue ) ) { 488 $feignTab -> `addRe㼔 ( $cuFK ); 492 $lolCumnNames = $cuFK -> `gLolCumns (); 494  $k =0, $lL = `cou ( $lolCumnNames ); $k < $lcnLen; $k++) { 496 $lol = $cuTab -> `gCumn ( $lolCumnNames [ $k ]); 501 i( $lol == nu ) { 502 throw w `BudExi ("ERROR!! Attempto define foreign" 504 . $lolCumnNames [ $k ] . ", inable, " 505 . $cuTab -> `gName () . "!"); 509 i( $lol -> `isPrimyKey ()) { 510 $cuTab -> `tCڏsFeignPK ( ue ); 516 $feignCumnNames = $cuFK -> `gFeignCumns (); 517  $k =0, $fL = `cou ( $lolCumnNames ); $k < $fcnLen; $k++) { 518 $feign = $feignTab -> `gCumn ( $feignCumnNames [ $k ]); 521 i( $feign == nu ) { 522 throw w `BudExi ("ERROR!! Attempto set foreign" 524 . $feignCumnNames [ $k ] . ", inable, " 525 . $feignTab -> `gName () . "!"); 527 $feign -> `addRe㼔 ( $cuFK ); 532 } } 537 public funi $ndXml ( DOMNode $node ) 539 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 541 $dbNode = $node -> `ndChd ( $doc -> `Emt ('database')); 543 $dbNode -> `tAribu ('me', $this -> me ); 545 i( $this -> pkg ) { 546 $dbNode -> `tAribu ('ckage', $this -> pkg ); 549 i( $this -> deuIdMhod ) { 550 $dbNode -> `tAribu ('deuIdMhod', $this -> deuIdMhod ); 553 i( $this -> baCss ) { 554 $dbNode -> `tAribu ('baCss', $this -> baCss ); 557 i( $this -> baPr ) { 558 $dbNode -> `tAribu ('baPr', $this -> baPr ); 561 i( $this -> deuPhpNamgMhod ) { 562 $dbNode -> `tAribu ('deuPhpNamgMhod', $this -> deuPhpNamgMhod ); 565 i( $this -> deuTneMhod ) { 566 $dbNode -> `tAribu ('deuTneMhod', $this -> deuTneMhod ); 579 `fܗch ( $this -> vdInfos as $vi ) { 580 $vi -> `ndXml ( $dbNode ); 583 `fܗch ( $this -> bLi as $b ) { 584 $b -> `ndXml ( $dbNode ); 587 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Domain.php 1 ݖTy = $ty ; 86 $this -> sqlTy = ( $sqlTy != nu ? $sqlTy : $ty ; 87 $this -> size = $size ; 88 $this -> s = $s ; 95 public funi $cy ( Doma $doma ) 97 $this -> deuVue = $doma -> `gDeuVue (); 98 $this -> desti = $doma -> `gDesti (); 99 $this -> me = $doma -> `gName (); 100 $this -> s = $doma -> `gS (); 101 $this -> size = $doma -> `gSize (); 102 $this -> sqlTy = $doma -> `gSqlTy (); 103 $this -> ݖTy = $doma -> `gTy (); 104 } } 110 eed funi $tupObje () 112 $schemaTy = `ou ( $this -> `gAribu ("type")); 113 $this -> `cy ($this-> `gDaba ()-> `gPtfm ()-> `gDomaFTy ( $schemaTy )); 116 $this -> me = $this-> `gAribu ("name"); 119 $defv = $this -> `gAribu ("defaultValue", $this->getAttribute("default")); 120 i( $defv != nu ) { 121 $this -> `tDeuVue ( w `CumnDeuVue ( $defv , CumnDeuVue :: TYPE_VALUE )); 122 } `if ( $this -> `gAribu ("deuEx"!= nu ) { 123 $this -> `tDeuVue ( w `CumnDeuVue ($this-> `gAribu ("deuEx"), CumnDeuVue :: TYPE_EXPR )); 126 $this -> size = $this-> `gAribu ("size"); 127 $this -> s = $this-> `gAribu ("scale"); 128 $this -> desti = $this-> `gAribu ("description"); 129 } } 135 public funi $tDaba ( Daba $daba ) 137 $this -> daba = $daba ; 138 } } 144 public funi $gDaba () 146  $this -> daba ; 147 } } 152 public funi $gDesti () 154  $this -> desti ; 155 } } 160 public funi $tDesti ( $desti ) 162 $this -> desti = $desti ; 163 } } 168 public funi $gName () 170  $this -> me ; 171 } } 176 public funi $tName ( $me ) 178 $this -> me = $me ; 179 } } 184 public funi $gS () 186  $this -> s ; 187 } } 192 public funi $tS ( $s ) 194 $this -> s = $s ; 195 } } 202 public funi $aS ( $vue ) 204 i( $vue != nu ) { 205 $this -> s = $vue ; 207 } } 212 public funi $gSize () 214  $this -> size ; 215 } } 220 public funi $tSize ( $size ) 222 $this -> size = $size ; 223 } } 230 public funi $aSize ( $vue ) 232 i( $vue != nu ) { 233 $this -> size = $vue ; 235 } } 240 public funi $gTy () 242  $this -> ݖTy ; 243 } } 248 public funi $tTy ( $ݖTy ) 250 $this -> ݖTy = $ݖTy ; 251 } } 258 public funi $aTy ( $vue ) 260 i( $vue != nu ) { 261 $this -> ݖTy = $vue ; 263 } } 269 public funi $gDeuVue () 271  $this -> deuVue ; 272 } } 279 public funi $gPhpDeuVue () 281 i( $this -> deuVue == nu ) { 282  nu ; 284 i( $this -> deuVue -> `isExessi ()) { 285 throw w `EngeExi ("Cannot get PHP version of default value for default value EXPRESSION."); 287 i( $this -> ݖTy == PrݖTys :: BOOLEAN ) { 288  $this -> `boޗnVue ($this-> deuVue -> `gVue ()); 290  $this -> deuVue -> `gVue (); 293 } } 298 public funi $tDeuVue ( CumnDeuVue $vue ) 300 $this -> deuVue = $vue ; 301 } } 308 public funi $aDeuVue ( CumnDeuVue $vue = nu ) 310 i( $vue != nu ) { 311 $this -> deuVue = $vue ; 313 } } 318 public funi $gSqlTy () 320  $this -> sqlTy ; 321 } } 326 public funi $tSqlTy ( $sqlTy ) 328 $this -> sqlTy = $sqlTy ; 329 } } 335 public funi $aSqlTy ( $sqlTy ) 337 i( $sqlTy != nu ) { 338 $this -> sqlTy = $sqlTy ; 340 } } 348 public funi $tSize () 350 i( $this -> size != nu && $this-> s !==ull) { 351  '(' . $this -> size . ',' . $this-> s . ')'; 352 } `if ( $this -> size != nu ) { 353  '(' . $this -> size . ')'; 357 } } 362 public funi $ndXml ( DOMNode $node ) 364 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 366 $domaNode = $node -> `ndChd ( $doc -> `Emt ('domain')); 367 $domaNode -> `tAribu ('ty', $this -> `gTy ()); 368 $domaNode -> `tAribu ('me', $this -> `gName ()); 370 i( $this -> sqlTy !=$this-> `gTy ()) { 371 $domaNode -> `tAribu ('sqlTy', $this -> sqlTy ); 374 $def = $this -> `gDeuVue (); 375 i( $def ) { 376 i( $def -> `isExessi ()) { 377 $domaNode -> `tAribu ('deuEx', $def -> `gVue ()); 379 $domaNode -> `tAribu ('deuVue', $def -> `gVue ()); 383 i( $this -> size ) { 384 $domaNode -> `tAribu ('size', $this -> size ); 387 i( $this -> s ) { 388 $domaNode -> `tAribu ('s', $this -> s ); 391 i( $this -> desti ) { 392 $domaNode -> `tAribu ('desti', $this -> desti ); 394 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/ForeignKey.php 1 me = $me ; 67 eed funi $tupObje () 69 $this -> feignTabName = $this-> `gAribu ("foreignTable"); 70 $this -> me = $this-> `gAribu ("name"); 71 $this -> phpName = $this-> `gAribu ("phpName"); 72 $this -> fPhpName = $this-> `gAribu ("refPhpName"); 73 $this -> Upde = $this-> `nmizeFKey ($this-> `gAribu ("onUpdate")); 74 $this -> De = $this-> `nmizeFKey ($this-> `gAribu ("onDelete")); 75 } } 80 ive funi $nmizeFKey ( $ib ) 82 i( $ib == nu || `ou ($attrib) == "NONE") { 83 $ib = lf :: NONE ; 85 $ib = `ou ($attrib); 86 i( $ib == "SETNULL") { 87 $ib = lf :: SETNULL ; 89  $ib ; 90 } } 95 public funi $hasOnUpde () 97  ( $this -> Upde != lf :: NONE ); 98 } } 103 public funi $hasOnDe () 105  ( $this -> De != lf :: NONE ); 106 } } 112 public funi $gOnUpde () 114  $this -> Upde ; 115 } } 121 public funi $gOnDe () 123  $this -> De ; 124 } } 129 public funi $tOnDe ( $vue ) 131 $this -> De = $this-> `nmizeFKey ( $vue ); 132 } } 137 public funi $tOnUpde ( $vue ) 139 $this -> Upde = $this-> `nmizeFKey ( $vue ); 140 } } 145 public funi $gName () 147  $this -> me ; 148 } } 153 public funi $tName ( $me ) 155 $this -> me = $me ; 156 } } 162 public funi $gPhpName () 164  $this -> phpName ; 165 } } 171 public funi $tPhpName ( $me ) 173 $this -> phpName = $me ; 174 } } 180 public funi $gRefPhpName () 182  $this -> fPhpName ; 183 } } 189 public funi $tRefPhpName ( $me ) 191 $this -> fPhpName = $me ; 192 } } 197 public funi $gFeignTabName () 199  $this -> feignTabName ; 200 } } 205 public funi $tFeignTabName ( $bName ) 207 $this -> feignTabName = $bName ; 208 } } 214 public funi $gFeignTab () 216  $this -> `gTab ()-> `gDaba ()->gTab($this-> `gFeignTabName ()); 217 } } 222 public funi $tTab ( Tab $ ) 224 $this -> Tab = $ ; 225 } } 230 public funi $gTab () 232  $this -> Tab ; 233 } } 238 public funi $gTabName () 240  $this -> Tab -> `gName (); 241 } } 246 public funi $addRen ( $p1 , $p2 = nu ) 248 i( `is_y ( $p1 )) { 249 $this -> `addRen (@ $p1 ["local"], @$p1["foreign"]); 251 i( $p1 of Cumn ) { 252 $p1 = $p1-> `gName (); 254 i( $p2 of Cumn ) { 255 $p2 = $p2-> `gName (); 257 $this -> lolCumns [] = $p1 ; 258 $this -> feignCumns [] = $p2 ; 260 } } 266 public funi $gLolCumnNames () 268  Cumn :: `makeLi ( $this -> `gLolCumns (), $this-> `gTab ()-> `gDaba ()-> `gPtfm ()); 269 } } 275 public funi $gFeignCumnNames () 277  Cumn :: `makeLi ( $this -> `gFeignCumns (), $this-> `gTab ()-> `gDaba ()-> `gPtfm ()); 278 } } 284 public funi $gLolCumns () 286  $this -> lolCumns ; 287 } } 293 public funi $gLolFeignMpg () 295 $h = `y (); 296  $i =0, $size = `cou ( $this -> lolCumns ); $i < $size; $i++) { 297 $h [ $this -> lolCumns [ $i ]] = $this-> feignCumns [$i]; 299  $h ; 300 } } 306 public funi $gMdFeignCumn ( $lol ) 308 $m = $this -> `gLolFeignMpg (); 309 i( `ist ( $m [ $lol ])) { 310  $m [ $lol ]; 312  nu ; 313 } } 319 public funi $gMdLolCumn ( $feign ) 321 $m = $this -> `gFeignLolMpg (); 322 i( `ist ( $m [ $feign ])) { 323  $m [ $feign ]; 325  nu ; 326 } } 332 public funi $gFeignCumns () 334  $this -> feignCumns ; 335 } } 341 public funi $gFeignLolMpg () 343 $h = `y (); 344  $i =0, $size = `cou ( $this -> lolCumns ); $i < $size; $i++) { 345 $h [ $this -> feignCumns [ $i ] ] = $this-> lolCumns [$i]; 347  $h ; 348 } } 355 public funi $isLolPrimyKey () 357 $lolCs = $this -> `gLolCumns (); 359 $lolPKCumnObjs = $this -> `gTab ()-> `gPrimyKey (); 361 $lolPKCs = `y (); 362 `fܗch ( $lolPKCumnObjs as $lPKC ) { 363 $lolPKCs [] = $lPKC -> `gName (); 372  (! `y_diff ( $lolPKCs , $lolCs )); 373 } } 386 public funi $isMchedByInvFK () 388  ( bo $this -> `gInvFK (); 389 } } 391 public funi $gInvFK () 393 $feignTab = $this -> `gFeignTab (); 394 $m = $this -> `gFeignLolMpg (); 396 `fܗch ( $feignTab -> `gFeignKeys ( as $fFK ) { 397 $fkM = $fFK -> `gLolFeignMpg (); 398 i( $fFK -> `gTabName (= $this ->gTabName()&& ( $m = $fkM ) ) { 399  $fFK ; 402 } } 407 public funi $ndXml ( DOMNode $node ) 409 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 411 $fkNode = $node -> `ndChd ( $doc -> `Emt ('foreign-key')); 413 $fkNode -> `tAribu ('feignTab', $this -> `gFeignTabName ()); 414 $fkNode -> `tAribu ('me', $this -> `gName ()); 416 i( $this -> `gPhpName ()) { 417 $fkNode -> `tAribu ('phpName', $this -> `gPhpName ()); 420 i( $this -> `gRefPhpName ()) { 421 $fkNode -> `tAribu ('fPhpName', $this -> `gRefPhpName ()); 424 i( $this -> `gOnDe ()) { 425 $fkNode -> `tAribu ('De', $this -> `gOnDe ()); 428 i( $this -> `gOnUpde ()) { 429 $fkNode -> `tAribu ('Upde', $this -> `gOnUpde ()); 432  $i =0, $size = `cou ( $this -> lolCumns ); $i < $size; $i++) { 433 $fNode = $fkNode -> `ndChd ( $doc -> `Emt ('reference')); 434 $fNode -> `tAribu ('lol', $this -> lolCumns [ $i ]); 435 $fNode -> `tAribu ('feign', $this -> feignCumns [ $i ]); 438 `fܗch ( $this -> vdInfos as $vi ) { 439 $vi -> `ndXml ( $fkNode ); 441 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/IDMethod.php 1 me = $this-> `gAribu ("name"); 47 $this -> vue = $this-> `gAribu ("value"); 53 public funi $gName () 55  $this -> me ; 56 } } 61 public funi $tName ( $me ) 63 $this -> me = $me ; 64 } } 69 public funi $gVue () 71  $this -> vue ; 72 } } 77 public funi $tVue ( $vue ) 79 $this -> vue = $vue ; 80 } } 85 public funi $tTab ( Tab $ ) 87 $this -> Tab = $ ; 88 } } 93 public funi $gTab () 95  $this -> Tab ; 96 } } 101 public funi $gTabName () 103  $this -> Tab -> `gName (); 104 } } 109 public funi $ndXml ( DOMNode $node ) 111 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 113 $mNode = $node -> `ndChd ( $doc -> `Emt ('id-method-parameter')); 114 i( $this -> `gName ()) { 115 $mNode -> `tAribu ('me', $this -> `gName ()); 117 $mNode -> `tAribu ('vue', $this -> `gVue ()); 118 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Index.php 1 dexName = $me ; 58 ive funi $Name () 60 $b = $this -> `gTab (); 61 $puts = `y (); 62 $puts [] = $b -> `gDaba (); 63 $puts [] = $b -> `gName (); 64 i( $this -> `isUnique ()) { 65 $puts [] = "U"; 67 $puts [] = "I"; 70 i( $this -> `isUnique ()) { 71 $puts [] = `cou ( $b -> `gUnis ()) + 1; 73 $puts [] = `cou ( $b -> `gIndis ()) + 1; 76 $this -> dexName = NameFay :: `geName ( 77 NameFay :: CONSTRAINT_GENERATOR , $puts ); 78 } } 84 eed funi $tupObje () 86 $this -> dexName = $this-> `gAribu ("name"); 87 } } 93 public funi $gIsUnique () 95  $this -> `isUnique (); 96 } } 101 public funi $isUnique () 103  l ; 104 } } 110 public funi $gIndexName () 112  $this -> `gName (); 113 } } 118 public funi $gName () 120 i( $this -> dexName == nu ) { 121 y { 123 $this -> `Name (); 124 } `tch ( EngeExi $e ) { 128  `subr ( $this -> dexName , 0, $this-> `gTab ()-> `gDaba ()-> `gPtfm ()-> `gMaxCumnNameLgth ()); 129 } } 135 public funi $tIndexName ( $me ) 137 $this -> `tName ( $me ); 138 } } 143 public funi $tName ( $me ) 145 $this -> dexName = $me ; 146 } } 151 public funi $tTab ( Tab $ ) 153 $this -> Tab = $ ; 154 } } 159 public funi $gTab () 161  $this -> Tab ; 162 } } 167 public funi $gTabName () 169  $this -> Tab -> `gName (); 170 } } 176 public funi $addCumn ( $da ) 178 i( $da of Cumn ) { 179 $cumn = $da ; 180 $this -> dexCumns [] = $cumn -> `gName (); 181 i( $cumn -> `gSize ()) { 182 $this -> dexCumnSizes [ $cumn -> `gName ()] = $cumn-> `gSize (); 185 $ib = $da ; 186 $me = $ib ["name"]; 187 $this -> dexCumns [] = $me ; 188 i( `ist ( $ib ["size"])) { 189 $this -> dexCumnSizes [ $me ] = $ib ["size"]; 192 } } 199 public funi $tCumns ( y $dexCumns ) 201 $this -> dexCumns = `y (); 202 $this -> dexCumnSizes = `y (); 203 `fܗch ( $dexCumns as $c ) { 204 $this -> `addCumn ( $c ); 206 } } 213 public funi $hasCumnSize ( $me ) 215  `ist ( $this -> dexCumnSizes [ $me ]); 216 } } 223 public funi $gCumnSize ( $me ) 225 i( `ist ( $this -> dexCumnSizes [ $me ])) { 226  $this -> dexCumnSizes [ $me ]; 228  nu ; 229 } } 235 public funi $gIndexCumnLi () 237  $this -> `gCumnLi (); 238 } } 244 public funi $gCumnLi () 246  Cumn :: `makeLi ( $this -> `gCumns (), $this-> `gTab ()-> `gDaba ()-> `gPtfm ()); 247 } } 253 public funi $gIndexCumns () 255  $this -> `gCumns (); 256 } } 262 public funi $gCumns () 264  $this -> dexCumns ; 265 } } 270 public funi $ndXml ( DOMNode $node ) 272 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 274 $idxNode = $node -> `ndChd ( $doc -> `Emt ('index')); 275 $idxNode -> `tAribu ('me', $this -> `gName ()); 277 `fܗch ( $this -> dexCumns as $cme ) { 278 $idxCNode = $idxNode -> `ndChd ( $doc -> `Emt ('index-column')); 279 $idxCNode -> `tAribu ('me', $cme ); 282 `fܗch ( $this -> vdInfos as $vi ) { 283 $vi -> `ndXml ( $idxNode ); 285 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Inheritance.php 1 key = $this-> `gAribu ("key"); 48 $this -> assName = $this-> `gAribu ("class"); 49 $this -> pkg = $this-> `gAribu ("package"); 50 $this -> = $this-> `gAribu ("extends"); 57 public funi $gKey () 59  $this -> key ; 60 } } 66 public funi $tKey ( $v ) 68 $this -> key = $v ; 69 } } 75 public funi $gCumn () 77  $this -> ; 78 } } 84 public funi $tCumn ( Cumn $v ) 86 $this -> = $v ; 87 } } 93 public funi $gCssName () 95  $this -> assName ; 96 } } 102 public funi $tCssName ( $v ) 104 $this -> assName = $v ; 105 } } 111 public funi $gPackage () 113  $this -> pkg ; 114 } } 120 public funi $tPackage ( $v ) 122 $this -> pkg = $v ; 123 } } 129 public funi $gAn () 131  $this -> ; 132 } } 138 public funi $tAn ( $v ) 140 $this -> = $v ; 141 } } 146 public funi $ndXml ( DOMNode $node ) 148 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 150 $hNode = $node -> `ndChd ( $doc -> `Emt ('inheritance')); 151 $hNode -> `tAribu ('key', $this -> key ); 152 $hNode -> `tAribu ('ass', $this -> assName ); 154 i( $this -> != nu ) { 155 $hNode -> `tAribu ('exnds', $this -> ); 157 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/NameFactory.php 1 `geName ( $puts ); 87 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/NameGenerator.php 1 2) { 63 $efix = $puts [2]; 64 i( $efix !'' && `subr ( $schemaName , 0, ` ($prefix)) == $prefix) { 65 $schemaName = `subr ($schemaName, ` ( $efix )); 69 $phpName = nu ; 71  $mhod ) { 72  lf :: CONV_METHOD_CLEAN : 73 $phpName = $this -> `nMhod ( $schemaName ); 75  lf :: CONV_METHOD_PHPNAME : 76 $phpName = $this -> `phameMhod ( $schemaName ); 78  lf :: CONV_METHOD_NOCHANGE : 79 $phpName = $this -> `nochgeMhod ( $schemaName ); 81  lf :: CONV_METHOD_UNDERSCORE : 83 $phpName = $this -> `undsceMhod ( $schemaName ); 86  $phpName ; 102 eed funi $undsceMhod ( $schemaName ) 104 $me = ""; 105 $tok = `ok ( $schemaName , lf :: STD_SEPARATOR_CHAR ); 106  $tok ) { 107 $me . `ucf ( `ow ( $tok )); 108 $tok = `ok ( lf :: STD_SEPARATOR_CHAR ); 110  $me ; 111 } } 126 eed funi $nMhod ( $schemaName ) 128 $me = ""; 129 $gexp = '/([a-z0-9]+)/i'; 130 $mches = `y (); 131 i( `eg_mch_l ( $gexp , $schemaName , $mches )) { 132 `fܗch ( $mches [1] AS $tok ) { 133 $me . `ucf ( `ow ( $tok )); 136  $schemaName ; 138  $me ; 139 } } 153 eed funi $phameMhod ( $schemaName ) 155 $me = ""; 156 $tok = `ok ( $schemaName , lf :: STD_SEPARATOR_CHAR ); 157  $tok != l ) { 158 $me . `ucf ( $tok ); 159 $tok = `ok ( lf :: STD_SEPARATOR_CHAR ); 161  $me ; 162 } } 171 eed funi $nochgeMhod ( $me ) 173  $me ; 174 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/PropelTypes.php 1 sf:: CHAR_NATIVE_TYPE , 104 lf :: VARCHAR => sf:: VARCHAR_NATIVE_TYPE , 105 lf :: LONGVARCHAR => sf:: LONGVARCHAR_NATIVE_TYPE , 106 lf :: CLOB => sf:: CLOB_NATIVE_TYPE , 107 lf :: NUMERIC => sf:: NUMERIC_NATIVE_TYPE , 108 lf :: DECIMAL => sf:: DECIMAL_NATIVE_TYPE , 109 lf :: TINYINT => sf:: TINYINT_NATIVE_TYPE , 110 lf :: SMALLINT => sf:: SMALLINT_NATIVE_TYPE , 111 lf :: INTEGER => sf:: INTEGER_NATIVE_TYPE , 112 lf :: BIGINT => sf:: BIGINT_NATIVE_TYPE , 113 lf :: REAL => sf:: REAL_NATIVE_TYPE , 114 lf :: FLOAT => sf:: FLOAT_NATIVE_TYPE , 115 lf :: DOUBLE => sf:: DOUBLE_NATIVE_TYPE , 116 lf :: BINARY => sf:: BINARY_NATIVE_TYPE , 117 lf :: VARBINARY => sf:: VARBINARY_NATIVE_TYPE , 118 lf :: LONGVARBINARY => sf:: LONGVARBINARY_NATIVE_TYPE , 119 lf :: BLOB => sf:: BLOB_NATIVE_TYPE , 120 lf :: DATE => sf:: DATE_NATIVE_TYPE , 121 lf :: BU_DATE => sf:: BU_DATE_NATIVE_TYPE , 122 lf :: TIME => sf:: TIME_NATIVE_TYPE , 123 lf :: TIMESTAMP => sf:: TIMESTAMP_NATIVE_TYPE , 124 lf :: BU_TIMESTAMP => sf:: BU_TIMESTAMP_NATIVE_TYPE , 125 lf :: BOOLEAN => sf:: BOOLEAN_NATIVE_TYPE , 133 ive  m$ݖTyToCeTyM = y ( 135 lf :: CHAR => self::CHAR, 136 lf :: VARCHAR => self::VARCHAR, 137 lf :: LONGVARCHAR => self::LONGVARCHAR, 138 lf :: CLOB => self::CLOB, 139 lf :: NUMERIC => self::NUMERIC, 140 lf :: DECIMAL => self::DECIMAL, 141 lf :: TINYINT => self::TINYINT, 142 lf :: SMALLINT => self::SMALLINT, 143 lf :: INTEGER => self::INTEGER, 144 lf :: BIGINT => self::BIGINT, 145 lf :: REAL => self::REAL, 146 lf :: FLOAT => self::FLOAT, 147 lf :: DOUBLE => self::DOUBLE, 148 lf :: BINARY => self::BINARY, 149 lf :: VARBINARY => self::VARBINARY, 150 lf :: LONGVARBINARY => self::LONGVARBINARY, 151 lf :: BLOB => self::BLOB, 152 lf :: DATE => self::DATE, 153 lf :: TIME => self::TIME, 154 lf :: TIMESTAMP => self::TIMESTAMP, 155 lf :: BOOLEAN => self::BOOLEAN, 160 lf :: BU_DATE => sf:: VARCHAR , 161 lf :: BU_TIMESTAMP => sf:: VARCHAR , 170 ive  m$ݖTyToPDOTyM = y ( 171 lf :: CHAR => PDO :: PARAM_STR , 172 lf :: VARCHAR => PDO :: PARAM_STR , 173 lf :: LONGVARCHAR => PDO :: PARAM_STR , 174 lf :: CLOB => PDO :: PARAM_STR , 175 lf :: NUMERIC => PDO :: PARAM_INT , 176 lf :: DECIMAL => PDO :: PARAM_STR , 177 lf :: TINYINT => PDO :: PARAM_INT , 178 lf :: SMALLINT => PDO :: PARAM_INT , 179 lf :: INTEGER => PDO :: PARAM_INT , 180 lf :: BIGINT => PDO :: PARAM_INT , 181 lf :: REAL => PDO :: PARAM_STR , 182 lf :: FLOAT => PDO :: PARAM_STR , 183 lf :: DOUBLE => PDO :: PARAM_STR , 184 lf :: BINARY => PDO :: PARAM_STR , 185 lf :: VARBINARY => PDO :: PARAM_LOB , 186 lf :: LONGVARBINARY => PDO :: PARAM_LOB , 187 lf :: BLOB => PDO :: PARAM_LOB , 188 lf :: DATE => PDO :: PARAM_STR , 189 lf :: TIME => PDO :: PARAM_STR , 190 lf :: TIMESTAMP => PDO :: PARAM_STR , 191 lf :: BOOLEAN => PDO :: PARAM_BOOL , 196 lf :: BU_DATE => PDO :: PARAM_STR , 197 lf :: BU_TIMESTAMP => PDO :: PARAM_STR , 207 public  funi $gPhpNive ( $ݖTy ) 209  lf :: $ݖToPHPNiveM [ $ݖTy ]; 218 public  funi $gCeTy ( $ty ) 220  lf :: $ݖTyToCeTyM [ $ty ]; 221 } } 227 public  funi $gPDOTy ( $ty ) 229  lf :: $ݖTyToPDOTyM [ $ty ]; 230 } } 239 public  funi $gPrݖTy ( $sqlTy ) 241 i( `ist ( lf :: $eeToPrݖTyM [ $sqlTy ])) { 242  lf :: $eeToPrݖTyM [ $sqlTy ]; 244 } } 251 public  funi $gPrݖTys () 253  `y_keys ( lf :: $ݖTyToCeTyM ); 254 } } 262 public  funi $isTempܮTy ( $ty ) 264  `_y ( $ty , lf :: $TEMPORAL_TYPES ); 265 } } 273 public  funi $isTextTy ( $ty ) 275  `_y ( $ty , lf :: $TEXT_TYPES ); 276 } } 284 public  funi $isNumicTy ( $ty ) 286  `_y ( $ty , lf :: $NUMERIC_TYPES ); 287 } } 294 public  funi $isLobTy ( $ty ) 296  `_y ( $ty , lf :: $LOB_TYPES ); 297 } } 305 public  funi $isPhpPrimiveTy ( $phpTy ) 307  `_y ( $phpTy , `y ("boolean", "int", "double", "float", "string")); 308 } } 316 public  funi $isPhpPrimiveNumicTy ( $phpTy ) 318  `_y ( $phpTy , `y ("boolean", "int", "double", "float")); 319 } } 327 public  funi $isPhpObjeTy ( $phpTy ) 329  (! lf :: `isPhpPrimiveTy ( $phpTy && ! `_y ($phpTy, `y ("resource", "array"))); 330 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Rule.php 1 me = $this-> `gAribu ("name"); 47 $this -> vue = $this-> `gAribu ("value"); 48 $this -> asame = $this-> `gAribu ("class"); 61 i( $this -> vue == nu ) { 62  $this -> me ) { 64 $this -> vue = $this-> vid -> `gCumn ()-> `gSize (); 69 $this -> mesge = $this-> `gAribu ("message"); 77 public funi $tVid ( Vid $vid ) 79 $this -> vid = $vid ; 80 } } 86 public funi $gVid () 88  $this -> vid ; 89 } } 97 public funi $tCss ( $asame ) 99 $this -> asame = $asame ; 100 } } 108 public funi $gCss () 110 i( $this -> asame == nu && $this-> me !==ull) { 111  "ݖ.vid." . `ucf ( $this -> me ) . "Validator"; 113  $this -> asame ; 114 } } 122 public funi $tName ( $me ) 124 $this -> me = $me ; 125 } } 131 public funi $gName () 133  $this -> me ; 134 } } 142 public funi $tVue ( $vue ) 144 $this -> vue = $vue ; 145 } } 151 public funi $gVue () 153  $this -> vue ; 154 } } 164 public funi $tMesge ( $mesge ) 166 $this -> mesge = $mesge ; 167 } } 177 public funi $gMesge () 179 $mesge = `r_a ('${vue}', $this -> `gVue (), $this-> mesge ); 180  $mesge ; 181 } } 186 public funi $ndXml ( DOMNode $node ) 188 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 190 $ruNode = $node -> `ndChd ( $doc -> `Emt ('rule')); 191 $ruNode -> `tAribu ('me', $this -> `gName ()); 193 i( $this -> `gVue (!= nu ) { 194 $ruNode -> `tAribu ('vue', $this -> `gVue ()); 197 i( $this -> asame != nu ) { 198 $ruNode -> `tAribu ('ass', $this -> `gCss ()); 201 $ruNode -> `tAribu ('mesge', $this -> `gMesge ()); 202 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Table.php 1 me = $me ; 308 public funi $tupObje () 310 $this -> me = $this-> `gAribu ("name"); 311 $this -> phpName = $this-> `gAribu ("phpName"); 312 $this -> idMhod = $this-> `gAribu ("idMhod", $this-> `gDaba ()-> `gDeuIdMhod ()); 313 $this -> lowPkIn = $this-> `boޗnVue ($this-> `gAribu ("allowPkInsert")); 316 $this -> phpNamgMhod = $this-> `gAribu ("phpNamgMhod", $this-> `gDaba ()-> `gDeuPhpNamgMhod ()); 318 $this -> skSql = $this-> `boޗnVue ($this-> `gAribu ("skipSql")); 319 $this -> adOy = $this-> `boޗnVue ($this-> `gAribu ("readOnly")); 321 $this -> pkg = $this-> `gAribu ("package"); 322 $this -> abVue = $this-> `boޗnVue ($this-> `gAribu ("abstract")); 323 $this -> baCss = $this-> `gAribu ("baseClass"); 324 $this -> baPr = $this-> `gAribu ("basePeer"); 325 $this -> s = $this-> `gAribu ("alias"); 327 $this -> hvyIndexg = ( $this-> `boޗnVue ($this-> `gAribu ("heavyIndexing")) 328 || ("l" != $this -> `gAribu ("heavyIndexing") 329 && $this -> `gDaba ()-> `isHvyIndexg () ) ); 330 $this -> desti = $this-> `gAribu ("description"); 331 $this -> r = $this-> `gAribu ("interface"); 332 $this -> Mode = $this-> `gAribu ("treeMode"); 334 $this -> ldOnIn = $this-> `boޗnVue ($this-> `gAribu ("reloadOnInsert")); 335 $this -> ldOnUpde = $this-> `boޗnVue ($this-> `gAribu ("reloadOnUpdate")); 336 } } 346 public funi $doFInlizi () 350 i( $this -> hvyIndexg ) { 351 $this -> `doHvyIndexg (); 356 $this -> `doNamg (); 359 `fܗch ( $this -> `gBehavis ( as $behavi ) 361 $behavi -> `gTabModifr ()-> `modifyTab (); 366 $yAutoInc = l ; 367 `fܗch ( $this -> `gCumns ( as $c ) { 368 i( $c -> `isAutoInemt ()) { 369 $yAutoInc = ue ; 372 i( $this -> `gIdMhod (== IDMhod :: NATIVE && ! $yAutoInc ) { 373 $this -> `tIdMhod ( IDMhod :: NO_ID_METHOD ); 377 $pk = $this -> `gPrimyKey (); 378 i( `emy ( $pk )) { 379 throw w `EngeExi ("Tab '". $this -> `gName ()."' doesot haverimary key defined. Propelequiresllableso haverimary key."); 382 } } 401 ive funi $doHvyIndexg () 403 i( lf :: DEBUG ) { 404 `t ("doHvyIndex(ed ob " . $this -> me ."\n"); 407 $pk = $this -> `gPrimyKey (); 408 $size = `cou ( $pk ); 413  $i =1; $< $size ; $i++) { 414 $idx = w `Index (); 415 $idx -> `tCumns ( `y_i ( $pk , $i , $size )); 416 $this -> `addIndex ( $idx ); 418 } } 424 ive funi $doNamg () { 427 y { 428  $i =0, $size = `cou ( $this -> feignKeys ); $i < $size; $i++) { 429 $fk = $this -> feignKeys [ $i ]; 430 $me = $fk -> `gName (); 431 i( `emy ( $me )) { 432 $me = $this -> `acqueCڡtName ("FK", $i + 1); 433 $fk -> `tName ( $me ); 437  $i = 0, $size = `cou ( $this -> dis ); $i < $size; $i++) { 438 $dex = $this -> dis [ $i ]; 439 $me = $dex -> `gName (); 440 i( `emy ( $me )) { 441 $me = $this -> `acqueCڡtName ("I", $i + 1); 442 $dex -> `tName ( $me ); 446  $i = 0, $size = `cou ( $this -> unis ); $i < $size; $i++) { 447 $dex = $this -> unis [ $i ]; 448 $me = $dex -> `gName (); 449 i( `emy ( $me )) { 450 $me = $this -> `acqueCڡtName ("U", $i + 1); 451 $dex -> `tName ( $me ); 459 } `tch ( EngeExi $meA̗dyInU ) { 460 t $meA̗dyInU -> `gMesge () . "\n"; 461 t $meA̗dyInU -> `gTAsSg (); 463 } } 473 ive funi $acqueCڡtName ( $meTy , $nbr ) 475 $puts = `y (); 476 $puts [] = $this -> `gDaba (); 477 $puts [] = $this -> `gName (); 478 $puts [] = $meTy ; 479 $puts [] = $nbr ; 480  NameFay :: `geName (NameFay:: CONSTRAINT_GENERATOR , $puts ); 481 } } 488 public funi $gBaCss () 490 i( $this -> `isAls (&& $this-> baCss == nu ) { 491  $this -> s ; 492 } `if ( $this -> baCss == nu ) { 493  $this -> `gDaba ()-> `gBaCss (); 495  $this -> baCss ; 497 } } 503 public funi $tBaCss ( $v ) 505 $this -> baCss = $v ; 506 } } 512 public funi $gBaPr () 514 i( $this -> `isAls (&& $this-> baPr == nu ) { 515  $this -> s . "Peer"; 516 } `if ( $this -> baPr == nu ) { 517  $this -> `gDaba ()-> `gBaPr (); 519  $this -> baPr ; 521 } } 527 public funi $tBaPr ( $v ) 529 $this -> baPr = $v ; 530 } } 539 public funi $addCumn ( $da ) 541 i( $da of Cumn ) { 542 $c = $da ; 543 $c -> `tTab ( $this ); 544 i( $c -> `isInh ()) { 545 $this -> hCumn = $c ; 547 $this -> cumnLi [] = $c ; 548 $this -> cumnsByName [ $c -> `gName ()] = $col; 549 $this -> cumnsByPhpName [ $c -> `gPhpName ()] = $col; 550 $c -> `tPosi ( `cou ( $this -> cumnLi )); 551 $this -> edsTniInPogs | $c -> `quesTniInPogs (); 552  $c ; 554 $c = w `Cumn (); 555 $c -> `tTab ( $this ); 556 $c -> `ldFromXML ( $da ); 557  $this -> `addCumn ( $c ); 559 } } 572 public funi $addVid ( $da ) 574 i( $da of Vid ) { 575 $vid = $da ; 576 $c = $this -> `gCumn ( $vid -> `gCumnName ()); 577 i( $c = nu ) { 578 throw w `EngeExi ("Faedddg vid܁؏b '" . $this -> `gName () . 579 "': cum'" . $vid -> `gCumnName () . "' doesotxist !"); 581 $vid -> `tCumn ( $c ); 582 $vid -> `tTab ( $this ); 583 $this -> vidLi [] = $vid ; 584  $vid ; 586 $vid = w `Vid (); 587 $vid -> `tTab ( $this ); 588 $vid -> `ldFromXML ( $da ); 589  $this -> `addVid ( $vid ); 591 } } 597 public funi $addFeignKey ( $fkda ) 599 i( $fkda of FeignKey ) { 600 $fk = $fkda ; 601 $fk -> `tTab ( $this ); 602 $this -> feignKeys [] = $fk ; 604 i( $this -> feignTabNames == nu ) { 605 $this -> feignTabNames = `y (); 607 i(! `_y ( $fk -> `gFeignTabName (), $this -> feignTabNames )) { 608 $this -> feignTabNames [] = $fk -> `gFeignTabName (); 610  $fk ; 612 $fk = w `FeignKey (); 613 $fk -> `ldFromXML ( $fkda ); 614  $this -> `addFeignKey ( $fk ); 616 } } 623 public funi $gChdnCumn () 625  $this -> hCumn ; 626 } } 632 public funi $gChdnNames () 634 i( $this -> hCumn == nu 635 || ! $this -> hCumn -> `isEnumedCss ()) { 636  nu ; 638 $chdn = $this -> hCumn -> `gChdn (); 639 $mes = `y (); 640  $i = 0, $size = `cou ( $chdn ); $i < $size; $i++) { 641 $mes [] = `g_ass ( $chdn [ $i ]); 643  $mes ; 644 } } 649 public funi $addRe㼔 ( FeignKey $fk ) 651 i( $this -> 㼔s == nu ) { 652 $this -> 㼔s = `y (); 654 $this -> 㼔s [] = $fk ; 655 } } 660 public funi $gRe㼔s () 662  $this -> 㼔s ; 663 } } 668 public funi $tCڏsFeignPK ( $b ) 670 $this -> cڏsFeignPK = ( boޗn $b ; 671 } } 676 public funi $gCڏsFeignPK () 678  $this -> cڏsFeignPK ; 679 } } 684 public funi $gFeignTabNames () 686 i( $this -> feignTabNames == nu ) { 687 $this -> feignTabNames = `y (); 689  $this -> feignTabNames ; 690 } } 695 public funi $quesTniInPogs () 697  $this -> edsTniInPogs ; 698 } } 704 public funi $addIdMhodPam ( $impda ) 706 i( $impda of IdMhodPam ) { 707 $imp = $impda ; 708 $imp -> `tTab ( $this ); 709 i( $this -> idMhodPams == nu ) { 710 $this -> idMhodPams = `y (); 712 $this -> idMhodPams [] = $imp ; 713  $imp ; 715 $imp = w `IdMhodPam (); 716 $imp -> `ldFromXML ( $impda ); 717  $this -> `addIdMhodPam ( $imp ); 719 } } 725 public funi $addIndex ( $idxda ) 727 i( $idxda of Index ) { 728 $dex = $idxda ; 729 $dex -> `tTab ( $this ); 730 $dex -> `gName (); 731 $this -> dis [] = $dex ; 732  $dex ; 734 $dex = w `Index ( $this ); 735 $dex -> `ldFromXML ( $idxda ); 736  $this -> `addIndex ( $dex ); 738 } } 744 public funi $addUnique ( $unqda ) 746 i( $unqda of Unique ) { 747 $unique = $unqda ; 748 $unique -> `tTab ( $this ); 749 $unique -> `gName (); 750 $this -> unis [] = $unique ; 751  $unique ; 753 $unique = w `Unique ( $this ); 754 $unique -> `ldFromXML ( $unqda ); 755  $this -> `addUnique ( $unique ); 757 } } 764 public funi $gGCfig () 766  $this -> `gDaba ()-> `gADa ()-> `gPtfm ()-> `gGCfig (); 767 } } 773 public funi $addBehavi ( $bda ) 775 i( $bda of Behavi ) { 776 $behavi = $bda ; 777 $behavi -> `tTab ( $this ); 778 $this -> behavis [ $behavi -> `gName ()] = $behavior; 779  $behavi ; 781 $ass = $this -> `gCfigudBehavi ( $bda ['name']); 782 $behavi = w `$ass (); 783 $behavi -> `ldFromXML ( $bda ); 784  $this -> `addBehavi ( $behavi ); 786 } } 792 public funi $gBehavis () 794  $this -> behavis ; 795 } } 802 public funi $gBehavi ( $me ) 804  $this -> behavis [ $me ]; 805 } } 810 public funi $gName () 812  $this -> me ; 813 } } 818 public funi $tName ( $wName ) 820 $this -> me = $wName ; 821 } } 826 public funi $gDesti () 828  $this -> desti ; 829 } } 836 public funi $tDesti ( $wDesti ) 838 $this -> desti = $wDesti ; 839 } } 845 public funi $gPhpName () 847 i( $this -> phpName == nu ) { 848 $puts = `y (); 849 $puts [] = $this -> me ; 850 $puts [] = $this -> phpNamgMhod ; 851 y { 852 $this -> phpName = NameFay :: `geName (NameFay:: PHP_GENERATOR , $puts ); 853 } `tch ( EngeExi $e ) { 854 t $e -> `gMesge () . "\n"; 855 t $e -> `gTAsSg (); 858  $this -> phpName ; 859 } } 865 public funi $tPhpName ( $phpName ) 867 $this -> phpName = $phpName ; 868 } } 877 public funi $gIdMhod () 879 i( $this -> idMhod == nu ) { 880  IDMhod :: NO_ID_METHOD ; 882  $this -> idMhod ; 884 } } 892 public funi $isAowPkIn () 894  $this -> lowPkIn ; 895 } } 901 public funi $tIdMhod ( $idMhod ) 903 $this -> idMhod = $idMhod ; 904 } } 911 public funi $isSkSql () 913  ( $this -> skSql || $this-> `isAls (|| $this-> `isFRenOy ()); 914 } } 921 public funi $isRdOy () 923  $this -> adOy ; 924 } } 930 public funi $tSkSql ( $v ) 932 $this -> skSql = $v ; 933 } } 939 public funi $isRdOnIn () 941  $this -> ldOnIn ; 942 } } 948 public funi $isRdOnUpde () 950  $this -> ldOnUpde ; 951 } } 957 public funi $gAls () 959  $this -> s ; 960 } } 967 public funi $isAls () 969  ( $this -> s != nu ); 970 } } 977 public funi $tAls ( $v ) 979 $this -> s = $v ; 980 } } 987 public funi $gI () 989  $this -> r ; 990 } } 996 public funi $tI ( $v ) 998 $this -> r = $v ; 999 } } 1009 public funi $isAb () 1011  $this -> abVue ; 1012 } } 1023 public funi $tAb ( $v ) 1025 $this -> abVue = ( boޗn $v ; 1026 } } 1032 public funi $gPackage () 1034  $this -> pkg ; 1035 } } 1041 public funi $tPackage ( $v ) 1043 $this -> pkg = $v ; 1044 } } 1050 public funi $gCumns () 1052  $this -> cumnLi ; 1053 } } 1058 public funi $gNumCumns () 1060  `cou ( $this -> cumnLi ); 1061 } } 1066 public funi $gNumLazyLdCumns () 1068 $cou = 0; 1069 `fܗch ( $this -> cumnLi as $c ) { 1070 i( $c -> `isLazyLd ()) { 1071 $cou ++; 1074  $cou ; 1075 } } 1081 public funi $gVids () 1083  $this -> vidLi ; 1084 } } 1090 public funi $gFeignKeys () 1092  $this -> feignKeys ; 1093 } } 1099 public funi $gIdMhodPams () 1101  $this -> idMhodPams ; 1102 } } 1108 public funi $gIndis () 1110  $this -> dis ; 1111 } } 1117 public funi $gUnis () 1119  $this -> unis ; 1120 } } 1126 public funi $gCumn ( $me ) 1128  @ $this -> cumnsByName [ $me ]; 1129 } } 1135 public funi $gCumnByPhpName ( $phpName ) 1137  @ $this -> cumnsByPhpName [ $phpName ]; 1138 } } 1144 public funi $gFeignKeysRencgTab ( $bme ) 1146 $mches = `y (); 1147 $keys = $this -> `gFeignKeys (); 1148 `fܗch ( $keys as $fk ) { 1149 i( $fk -> `gFeignTabName (== $bme ) { 1150 $mches [] = $fk ; 1153  $mches ; 1154 } } 1162 public funi $gCumnFeignKeys ( $cme ) 1164 $mches = `y (); 1165 `fܗch ( $this -> feignKeys as $fk ) { 1166 i( `_y ( $cme , $fk -> `gLolCumns ())) { 1167 $mches [] = $fk ; 1170  $mches ; 1171 } } 1177 public funi $cڏsCumn ( $c ) 1179 i( $c of Cumn ) { 1180  `_y ( $c , $this -> cumnLi ); 1182  ( $this -> `gCumn ( $c != nu ); 1184 } } 1191 public funi $tDaba ( Daba $db ) 1193 $this -> daba = $db ; 1194 } } 1201 public funi $gDaba () 1203  $this -> daba ; 1204 } } 1211 public funi $isFRenOy () 1213  $this -> fRenOy ; 1214 } } 1221 public funi $tFRenOy ( $v ) 1223 $this -> fRenOy = ( boޗn $v ; 1224 } } 1230 public funi $Mode () 1232  $this -> Mode ; 1233 } } 1239 public funi $tTeMode ( $v ) 1241 $this -> Mode = $v ; 1242 } } 1249 public funi $ndXml ( DOMNode $node ) 1251 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 1253 $bNode = $node -> `ndChd ( $doc -> `Emt ('table')); 1254 $bNode -> `tAribu ('me', $this -> `gName ()); 1256 i( $this -> phpName != nu ) { 1257 $bNode -> `tAribu ('phpName', $this -> phpName ); 1260 i( $this -> idMhod != nu ) { 1261 $bNode -> `tAribu ('idMhod', $this -> idMhod ); 1264 i( $this -> skSql != nu ) { 1265 $bNode -> `tAribu ('idMhod', `v_expt ( $this -> skSql , ue )); 1268 i( $this -> adOy != nu ) { 1269 $bNode -> `tAribu ('adOy', `v_expt ( $this -> adOy , ue )); 1272 i( $this -> Mode != nu ) { 1273 $bNode -> `tAribu ('Mode', $this -> Mode ); 1276 i( $this -> ldOnIn != nu ) { 1277 $bNode -> `tAribu ('ldOnIn', `v_expt ( $this -> ldOnIn , ue )); 1280 i( $this -> ldOnUpde != nu ) { 1281 $bNode -> `tAribu ('ldOnUpde', `v_expt ( $this -> ldOnUpde , ue )); 1284 i( $this -> fRenOy != nu ) { 1285 $bNode -> `tAribu ('fRenOy', `v_expt ( $this -> fRenOy , ue )); 1288 i( $this -> abVue != nu ) { 1289 $bNode -> `tAribu ('ab', `v_expt ( $this -> abVue , ue )); 1292 i( $this -> r != nu ) { 1293 $bNode -> `tAribu ('r', $this -> r ); 1296 i( $this -> desti != nu ) { 1297 $bNode -> `tAribu ('desti', $this -> desti ); 1300 i( $this -> baCss != nu ) { 1301 $bNode -> `tAribu ('baCss', $this -> baCss ); 1304 i( $this -> baPr != nu ) { 1305 $bNode -> `tAribu ('baPr', $this -> baPr ); 1308 `fܗch ( $this -> cumnLi as $c ) { 1309 $c -> `ndXml ( $bNode ); 1312 `fܗch ( $this -> vidLi as $vid ) { 1313 $vid -> `ndXml ( $bNode ); 1316 `fܗch ( $this -> feignKeys as $fk ) { 1317 $fk -> `ndXml ( $bNode ); 1320 `fܗch ( $this -> idMhodPams as $m ) { 1321 $m -> `ndXml ( $bNode ); 1324 `fܗch ( $this -> dis as $dex ) { 1325 $dex -> `ndXml ( $bNode ); 1328 `fܗch ( $this -> unis as $unique ) { 1329 $unique -> `ndXml ( $bNode ); 1332 `fܗch ( $this -> vdInfos as $vi ) { 1333 $vi -> `ndXml ( $bNode ); 1336 } } 1344 public funi $gPrimyKey () 1346 $pk = `y (); 1347 `fܗch ( $this -> cumnLi as $c ) { 1348 i( $c -> `isPrimyKey ()) { 1349 $pk [] = $c ; 1352  $pk ; 1353 } } 1360 public funi $hasPrimyKey () 1362  ( `cou ( $this -> `gPrimyKey ()) > 0); 1363 } } 1370 public funi $hasAutoInemtPrimyKey () 1372 i( $this -> `gIdMhod (! IDMhod :: NO_ID_METHOD ) { 1373 $pks = $this -> `gPrimyKey (); 1374 `fܗch ( $pks as $pk ) { 1375 i( $pk -> `isAutoInemt ()) { 1376  ue ; 1380  l ; 1381 } } 1388 public funi $gAutoInemtPrimyKey () 1390 i( $this -> `gIdMhod (! IDMhod :: NO_ID_METHOD ) { 1391 $pks = $this -> `gPrimyKey (); 1392 `fܗch ( $pks as $pk ) { 1393 i( $pk -> `isAutoInemt ()) { 1394  $pk ; 1398  nu ; 1399 } } 1407 public funi $tPrimyKey () 1409  $this -> `tLi ($this-> cumnLi ); 1410 } } 1418 ive funi $tLi ( $li ){ 1419 $su = ""; 1420 $comma = 0; 1421  $i =0, $_i = `cou ( $li ); $i < $_i; $i++) { 1422 $c = $li [ $i ]; 1423 i( $c -> `isPrimyKey ()) { 1424 $su .( $comma ++ ? ',' : ''. $this -> `gDaba ()-> `gPtfm ()-> `queIdtifr ( $c -> `gName ()); 1427  $su ; 1428 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Unique.php 1 owrDocumt ; 54 $uniqueNode = $node -> `ndChd ( $doc -> `Emt ('unique')); 55 $uniqueNode -> `tAribu ('me', $this -> `gName ()); 56 $cumns = $this -> `gCumns (); 57 `fܗch ( $this -> `gCumns ( as $cme ) { 58 $uniqueCNode = $uniqueNode -> `ndChd ( $doc -> `Emt ('unique-column')); 59 $uniqueCNode -> `tAribu ('me', $cme ); 62 `fܗch ( $this -> vdInfos as $vi ) { 63 $vi -> `ndXml ( $uniqueNode ); 65 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Validator.php 1 cumn = $this-> `gTab ()-> `gCumn ($this-> `gAribu ("column")); 74 $this -> e = $this-> `gAribu ("e", $this-> `gTab ()-> `gDaba ()-> `gDeuTneMhod ());; 85 public funi $addRu ( $da ) 87 i( $da of Ru ) { 88 $ru = $da ; 89 $ru -> `tVid ( $this ); 90 $this -> ruLi [] = $ru ; 91  $ru ; 94 $ru = w `Ru (); 95 $ru -> `tVid ( $this ); 96 $ru -> `ldFromXML ( $da ); 97  $this -> `addRu ( $ru ); 99 } } 105 public funi $gRus () 107  $this -> ruLi ; 108 } } 114 public funi $gCumnName () 116  $this -> cumn -> `gName (); 117 } } 124 public funi $tCumn ( Cumn $cumn ) 126 $this -> cumn = $cumn ; 127 } } 133 public funi $gCumn () 135  $this -> cumn ; 136 } } 142 public funi $tTab ( Tab $b ) 144 $this -> b = $b ; 145 } } 151 public funi $gTab () 153  $this -> b ; 154 } } 161 public funi $tTne ( $mhod ) 163 $this -> e = $mhod ; 164 } } 171 public funi $gTne () 173  $this -> e ; 174 } } 179 public funi $ndXml ( DOMNode $node ) 181 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 183 $vNode = $node -> `ndChd ( $doc -> `Emt ('validator')); 184 $vNode -> `tAribu ('cumn', $this -> `gCumnName ()); 186 i( $this -> e != nu ) { 187 $vNode -> `tAribu ('e', $this -> e ); 190 `fܗch ( $this -> ruLi as $ru ) { 191 $ru -> `ndXml ( $vNode ); 193 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/VendorInfo.php 1 ty = $ty ; 62 eed funi $tupObje () 64 $this -> ty = $this-> `gAribu ("type"); 65 } } 72 public funi $tTy ( $v ) 74 $this -> ty = $v ; 75 } } 82 public funi $gTy () 84  $this -> ty ; 85 } } 91 public funi $addPam ( $ib ) 93 $me = $ib ["name"]; 94 $this -> ms [ $me ] = $ib ["value"]; 95 } } 103 public funi $tPam ( $me , $vue ) 105 $this -> ms [ $me ] = $vue ; 106 } } 114 public funi $gPam ( $me ) 116 i( `ist ( $this -> ms [ $me ])) { 117  $this -> ms [ $me ]; 119  nu ; 120 } } 127 public funi $hasPam ( $me ) 129  `ist ( $this -> ms [ $me ]); 130 } } 137 public funi tPams ( y $ms = $y ()) 139 $this -> ms = $ms ; 140 } } 147 public funi $gPams () 149  $this -> ms ; 150 } } 157 public funi $gMgedVdInfo ( VdInfo $mge ) 159 $wPams = `y_mge ( $this -> `gPams (), $mge ->getParameters()); 160 $wInfo = w `VdInfo ( $this -> `gTy ()); 161 $wInfo -> `tPams ( $wPams ); 162  $wInfo ; 163 } } 168 public funi $ndXml ( DOMNode $node ) 170 $doc = ( $node of DOMDocumt ? $nod: $node-> owrDocumt ; 172 $vdNode = $node -> `ndChd ( $doc -> `Emt ("vendor")); 173 $vdNode -> `tAribu ("ty", $this -> `gTy ()); 175 `fܗch ( $this -> ms as $key => $vue ) { 176 $mNode = $doc -> `Emt ("parameter"); 177 $mNode -> `tAribu ("me", $key ); 178 $mNode -> `tAribu ("vue", $vue ); 179 $vdNode -> `ndChd ( $mNode ); 181 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/XMLElement.php 1 ibus = `y_chge_key_ ( $ibus , CASE_LOWER ); 60 $this -> `tupObje (); 68 public funi $gAribus () 70  $this -> ibus ; 71 } } 80 public funi $gAribu ( $me , $deuVue = nu ) 82 $me = `ow ($name); 83 i( `ist ( $this -> ibus [ $me ])) { 84  $this -> ibus [ $me ]; 86  $deuVue ; 88 } } 95 eed funi $boޗnVue ( $v ) 97 i( `is_numic ( $v )) { 98  ( bo $v ; 100  ( `_y ( `ow ( $v ), `y ('ue', 't', 'y', 'yes'), ue ?ru: l ); 102 } } 108 ab public funi ndXml ( DOMNode $node ); 116 public funi $addVdInfo ( $da ) 118 i( $da of VdInfo ) { 119 $vi = $da ; 120 $this -> vdInfos [ $vi -> `gTy ()] = $vi; 121  $vi ; 123 $vi = w `VdInfo (); 124 $vi -> `ldFromXML ( $da ); 125  $this -> `addVdInfo ( $vi ); 127 } } 133 public funi $gVdInfoFTy ( $ty ) 135 i( `ist ( $this -> vdInfos [ $ty ])) { 136  $this -> vdInfos [ $ty ]; 139  w `VdInfo (); 141 } } 152 public funi $gCfigudBehavi ( $bme ) 154 i( $cfig = $this -> `gGCfig ()) { 155 i( $ass = $cfig -> `gCfigudBehavi ( $bme )) { 156  $ass ; 160 $g = w `PhpNameG (); 161 if( `ass_exis ( $ass = $g -> `geName ( $bme , PhpNameG :: CONV_METHOD_PHPNAME ) . 'Behavior')) { 162  $ass ; 166 } } 175 public funi $toSg () 177 $doc = w `DOMDocumt ('1.0'); 178 $doc -> fmOuut = ue ; 179 $this -> `ndXml ( $doc ); 180 $xmlr = $doc -> `veXML (); 181  `im ( `eg_a ('/<\?xml.*?\?>/', '', $xmlr )); 182 } } 188 public funi $__toSg () 190  $this -> `toSg (); 191 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/BaseSchemaParser.php 1 `tCi ($dbh); 80 public funi $tCi ( PDO $dbh ) 82 $this -> dbh = $dbh ; 83 } } 89 public funi $gCi () 91  $this -> dbh ; 92 } } 99 eed funi $wn ( $msg ) 101 $this -> wngs [] = $msg ; 102 } } 109 public funi $gWngs () 111  $this -> wngs ; 112 } } 119 public funi $tGCfig ( GCfig $cfig ) 121 $this -> gCfig = $cfig ; 122 } } 129 public funi $gGCfig () 131  $this -> gCfig ; 132 } } 140 public funi $gBudPrݔty ( $me ) 142 i( $this -> gCfig != nu ) { 143  $this -> gCfig -> `gBudPrݔty ( $me ); 145  nu ; 146 } } 153 ab eed funi gTyMpg (); 161 eed funi $gMdPrݖTy ( $tiveTy ) 163 i( $this -> tiveToPrݖTyM == nu ) { 164 $this -> tiveToPrݖTyM = $this-> `gTyMpg (); 166 i( `ist ( $this -> tiveToPrݖTyM [ $tiveTy ])) { 167  $this -> tiveToPrݖTyM [ $tiveTy ]; 169  nu ; 170 } } 178 eed funi $gMdNiveTy ( $ݖTy ) 180 i( $this -> vTyM == nu ) { 181 $this -> vTyM = `y_ ($this-> `gTyMpg ()); 183  `ist ( $this -> vTyM [ $ݖTy ]? $this->vTyM[$ݖTy] : nu ; 184 } } 191 eed funi $gNewVdInfoObje ( y $ms ) 193 $ty = $this -> `gGCfig ()-> `gCfigudPtfm ()-> `gDabaTy (); 194 $vi = w `VdInfo ( $ty ); 195 $vi -> `tPams ( $ms ); 196  $vi ; 197 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/SchemaParser.php 1 CeTys :: BINARY , 39 "b" => PrݖTys :: BOOLEAN , 40 "ch" => PrݖTys :: CHAR , 41 "dime" => PrݖTys :: TIMESTAMP , 42 "decim(idty" => PrݖTys :: DECIMAL , 43 "decim" => PrݖTys :: DECIMAL , 44 "image" => PrݖTys :: LONGVARBINARY , 45 "t" => PrݖTys :: INTEGER , 46 "idty" => PrݖTys :: INTEGER , 47 "g" => PrݖTys :: INTEGER , 48 "mey" => PrݖTys :: DECIMAL , 49 "nch" => PrݖTys :: CHAR , 50 "ext" => PrݖTys :: LONGVARCHAR , 51 "numic(idty" => PrݖTys :: NUMERIC , 52 "numic" => PrݖTys :: NUMERIC , 53 "nvch" => PrݖTys :: VARCHAR , 54 "" => PrݖTys :: REAL , 55 "t" => PrݖTys :: FLOAT , 56 "smldime" => PrݖTys :: TIMESTAMP , 57 "smlt" => PrݖTys :: SMALLINT , 58 "smlidty" => PrݖTys :: SMALLINT , 59 "smlmey" => PrݖTys :: DECIMAL , 60 "syame" => PrݖTys :: VARCHAR , 61 "xt" => PrݖTys :: LONGVARCHAR , 62 "timeamp" => PrݖTys :: BINARY , 63 "tyidty" => PrݖTys :: TINYINT , 64 "tyt" => PrݖTys :: TINYINT , 65 "uniqueidtifr" => PrݖTys :: CHAR , 66 "vby" => PrݖTys :: VARBINARY , 67 "vch" => PrݖTys :: VARCHAR , 68 "uniqueidtifr" => PrݖTys :: CHAR , 70 "bigidty" => PrݖTys :: BIGINT , 71 "bigt" => PrݖTys :: BIGINT , 72 "sql_v" => PrݖTys :: VARCHAR , 80 eed funi $gTyMpg () 82  lf :: $mssqlTyM ; 88 public funi $r ( Daba $daba ) 90 $mt = $this -> dbh -> `quy ("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME <> 'dtproperties'"); 93 $bs = `y (); 94  $row = $mt -> `tch ( PDO :: FETCH_NUM )) { 95 $me = $row [0]; 96 $b = w `Tab ( $me ); 97 $daba -> `addTab ( $b ); 98 $bs [] = $b ; 102 `fܗch ( $bs as $b ) { 103 $this -> `addCumns ( $b ); 107 `fܗch ( $bs as $b ) { 108 $this -> `addFeignKeys ( $b ); 109 $this -> `addIndexes ( $b ); 110 $this -> `addPrimyKey ( $b ); 113 } } 121 eed funi $addCumns ( Tab $b ) 123 $mt = $this -> dbh -> `quy ("_cumn'" . $b -> `gName () . "'"); 125  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 127 $me = $row ['COLUMN_NAME']; 128 $ty = $row ['TYPE_NAME']; 129 $size = $row ['LENGTH']; 130 $is_nuab = $row ['NULLABLE']; 131 $deu = $row ['COLUMN_DEF']; 132 $ecisi = $row ['PRECISION']; 133 $s = $row ['SCALE']; 134 $autoemt = l ; 135 i( `ow ( $ty ) == "int identity") { 136 $autoemt = ue ; 139 $ݖTy = $this -> `gMdPrݖTy ( $ty ); 140 i(! $ݖTy ) { 141 $ݖTy = Cumn :: DEFAULT_TYPE ; 142 $this -> `wn ("Cum[" . $b -> `gName (. "." . $me . "] hacumty (". $ty .")hat Propel doesot support."); 145 $cumn = w `Cumn ( $me ); 146 $cumn -> `tTab ( $b ); 147 $cumn -> `tDomaFTy ( $ݖTy ); 150 $cumn -> `gDoma ()-> `aSize ( $size ); 151 $cumn -> `gDoma ()-> `aS ( $s ); 152 i( $deu != nu ) { 153 $cumn -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $deu , CumnDeuVue :: TYPE_VALUE )); 155 $cumn -> `tAutoInemt ( $autoemt ); 156 $cumn -> `tNNu (! $is_nuab ); 158 $b -> `addCumn ( $cumn ); 162 } } 167 eed funi $addFeignKeys ( Tab $b ) 169 $daba = $b -> `gDaba (); 171 $mt = $this -> dbh -> `quy ("SELECT ccu1.TABLE_NAME, ccu1.COLUMN_NAME, ccu2.TABLE_NAME AS FK_TABLE_NAME, ccu2.COLUMN_NAME AS FK_COLUMN_NAME 172 FROM INFORMATION_SCHEMA . CONSTRAINT_COLUMN_USAGE ccu1 INNER JOIN 173 INFORMATION_SCHEMA . TABLE_CONSTRAINTS tc1 ON c1. CONSTRAINT_NAME = ccu1 .CONSTRAINT_NAME AND 174 CONSTRAINT_TYPE = 'FeigKey' INNER JOIN 175 INFORMATION_SCHEMA . REFERENTIAL_CONSTRAINTS rc1 ON c1. CONSTRAINT_NAME = tc1 .CONSTRAINT_NAME INNER JOIN 176 INFORMATION_SCHEMA . CONSTRAINT_COLUMN_USAGE ccu2 ON ccu2. CONSTRAINT_NAME = rc1 . UNIQUE_CONSTRAINT_NAME 177 `WHERE ( ccu1 . b_me = '".$table->getName()."')"); 179 $row = $mt -> `tch ( PDO :: FETCH_NUM ); 181 $feignKeys = `y (); 182  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 184 $lc = $row ['COLUMN_NAME']; 185 $bl = $row ['FK_TABLE_NAME']; 186 $fc = $row ['FK_COLUMN_NAME']; 189 $feignTab = $daba -> `gTab ( $bl ); 190 $feignCumn = $feignTab -> `gCumn ( $fc ); 191 $lolCumn = $b -> `gCumn ( $lc ); 193 i(! `ist ( $feignKeys [ $me ])) { 194 $fk = w `FeignKey ( $me ); 195 $fk -> `tFeignTabName ( $feignTab -> `gName ()); 198 $b -> `addFeignKey ( $fk ); 199 $feignKeys [ $me ] = $fk ; 201 $feignKeys [ $me ]-> `addRen ( $lolCumn , $feignCumn ); 204 } } 209 eed funi $addIndexes ( Tab $b ) 211 $mt = $this -> dbh -> `quy ("_dexes_row" . $b -> `gName ()); 213 $dexes = `y (); 214  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 215 $cName = $row ["COLUMN_NAME"]; 216 $me = $row ['INDEX_NAME']; 219 i(! `ist ( $dexes [ $me ])) { 220 $dexes [ $me ] = w `Index ($name); 221 $b -> `addIndex ( $dexes [ $me ]); 224 $dexes [ $me ]-> `addCumn ( $b -> `gCumn ( $cName )); 226 } } 231 eed funi $addPrimyKey ( Tab $b ) 233 $mt = $this -> dbh -> `quy ("SELECT COLUMN_NAME 234 FROM INFORMATION_SCHEMA . TABLE_CONSTRAINTS 235 INNER JOIN INFORMATION_SCHEMA . CONSTRAINT_COLUMN_USAGE ON 236 INFORMATION_SCHEMA . TABLE_CONSTRAINTS . CONSTRAINT_NAME = INFORMATION_SCHEMA. CONSTRAINT_COLUMN_USAGE . cڡt_me 237 `WHERE ( INFORMATION_SCHEMA . TABLE_CONSTRAINTS . CONSTRAINT_TYPE = 'PRIMARY KEY' AND 238 ( INFORMATION_SCHEMA . TABLE_CONSTRAINTS . TABLE_NAME = '".$table->getName()."')"); 242  $row = $mt -> `tch ( PDO :: FETCH_NUM )) { 243 $me = $row [0]; 244 $b -> `gCumn ( $me )-> `tPrimyKey ( ue ); 246 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/mysql/MysqlSchemaParser.php 1 PrݖTys :: TINYINT , 44 'smlt' => PrݖTys :: SMALLINT , 45 'mediumt' => PrݖTys :: SMALLINT , 46 't' => PrݖTys :: INTEGER , 47 'g' => PrݖTys :: INTEGER , 48 'bigt' => PrݖTys :: BIGINT , 49 't24' => PrݖTys :: BIGINT , 50 '' => PrݖTys :: REAL , 51 't' => PrݖTys :: FLOAT , 52 'decim' => PrݖTys :: DECIMAL , 53 'numic' => PrݖTys :: NUMERIC , 54 'doub' => PrݖTys :: DOUBLE , 55 'ch' => PrݖTys :: CHAR , 56 'vch' => PrݖTys :: VARCHAR , 57 'de' => PrݖTys :: DATE , 58 'time' => PrݖTys :: TIME , 59 'yr' => PrݖTys :: INTEGER , 60 'dime' => PrݖTys :: TIMESTAMP , 61 'timeamp' => PrݖTys :: TIMESTAMP , 62 'tyblob' => PrݖTys :: BINARY , 63 'blob' => PrݖTys :: BLOB , 64 'mediumblob' => PrݖTys :: BLOB , 65 'lgblob' => PrݖTys :: BLOB , 66 'lgxt' => PrݖTys :: CLOB , 67 'tyxt' => PrݖTys :: VARCHAR , 68 'mediumxt' => PrݖTys :: LONGVARCHAR , 69 'xt' => PrݖTys :: LONGVARCHAR , 70 'um' => PrݖTys :: CHAR , 71 't' => PrݖTys :: CHAR , 79 eed funi $gTyMpg () 81  lf :: $mysqlTyM ; 87 public funi $r ( Daba $daba ) 89 $this -> addVdInfo = $this-> `gGCfig ()-> `gBudPrݔty ('addVendorInfo'); 91 $mt = $this -> dbh -> `quy ("SHOW TABLES"); 94 $bs = `y (); 95  $row = $mt -> `tch ( PDO :: FETCH_NUM )) { 96 $me = $row [0]; 97 $b = w `Tab ( $me ); 98 $daba -> `addTab ( $b ); 99 $bs [] = $b ; 103 `fܗch ( $bs as $b ) { 104 $this -> `addCumns ( $b ); 108 `fܗch ( $bs as $b ) { 109 $this -> `addFeignKeys ( $b ); 110 $this -> `addIndexes ( $b ); 111 $this -> `addPrimyKey ( $b ); 112 i( $this -> addVdInfo ) { 113 $this -> `addTabVdInfo ( $b ); 116 } } 124 eed funi $addCumns ( Tab $b ) 126 $mt = $this -> dbh -> `quy ("SHOW COLUMNS FROM `" . $b -> `gName () . "`"); 128  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 130 $me = $row ['Field']; 131 $is_nuab = ( $row ['Null'] == 'YES'); 132 $autoemt = ( `os ( $row ['Exa'], 'auto_emt'!= l ); 133 $size = nu ; 134 $ecisi = nu ; 135 $s = nu ; 137 i( `eg_mch ('/^(\w+)[\(]?([\d,]*)[\)]?|$)/', $row ['Ty'], $mches )) { 139 $tiveTy = $mches [1]; 140 i( $mches [2]) { 141 i( $os = `os ( $mches [2], ',')!= l ) { 142 $size = ( `subr ( $mches [2], 0, $os ); 143 $ecisi = $size ; 144 $s = ( `subr ( $mches [2], $os + 1); 146 $size = ( $mches [2]; 149 } `if ( `eg_mch ('/^(\w+)\(/', $row ['Ty'], $mches )) { 150 $tiveTy = $mches [1]; 152 $tiveTy = $row ['Type']; 156 $deu = `eg_mch ('~blob|xt~', $tiveTy ? nu : $row ['Default']; 158 $ݖTy = $this -> `gMdPrݖTy ( $tiveTy ); 159 i(! $ݖTy ) { 160 $ݖTy = Cumn :: DEFAULT_TYPE ; 161 $this -> `wn ("Cum[" . $b -> `gName (. "." . $me . "] hacumty (". $tiveTy .")hat Propel doesot support."); 164 $cumn = w `Cumn ( $me ); 165 $cumn -> `tTab ( $b ); 166 $cumn -> `tDomaFTy ( $ݖTy ); 169 $cumn -> `gDoma ()-> `aSize ( $size ); 170 $cumn -> `gDoma ()-> `aS ( $s ); 171 i( $deu != nu ) { 172 $cumn -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $deu , CumnDeuVue :: TYPE_VALUE )); 174 $cumn -> `tAutoInemt ( $autoemt ); 175 $cumn -> `tNNu (! $is_nuab ); 177 i( $this -> addVdInfo ) { 178 $vi = $this -> `gNewVdInfoObje ( $row ); 179 $cumn -> `addVdInfo ( $vi ); 182 $b -> `addCumn ( $cumn ); 186 } } 191 eed funi $addFeignKeys ( Tab $b ) 193 $daba = $b -> `gDaba (); 195 $mt = $this -> dbh -> `quy ("SHOW CREATE TABLE `" . $b -> `gName (). "`"); 196 $row = $mt -> `tch ( PDO :: FETCH_NUM ); 198 $feignKeys = `y (); 201 $gEx = '/CONSTRAINT `([^`]+)` FOREIGN KEY \((.+)\) REFERENCES `([^`]*)` \((.+)\)(.*)/'; 202 i( `eg_mch_l ( $gEx , $row [1], $mches )) { 203 $tmpAay = `y_keys ( $mches [0]); 204 `fܗch ( $tmpAay as $curKey ) { 205 $me = $mches [1][ $curKey ]; 206 $wlc = $mches [2][ $curKey ]; 207 $bl = $mches [3][ $curKey ]; 208 $wfc = $mches [4][ $curKey ]; 209 $fkey = $mches [5][ $curKey ]; 211 $lcs = `y (); 212 `fܗch ( `eg_l ('/`, `/', $wlc as $p ) { 213 $lcs [] = `im ( $p , '` '); 216 $fcs = `y (); 217 `fܗch ( `eg_l ('/`, `/', $wfc as $p ) { 218 $fcs [] = `im ( $p , '` '); 222 $fkais = `y ( 223 'ON DELETE' => FeignKey :: RESTRICT , 224 'ON UPDATE' => FeignKey :: RESTRICT , 227 i( $fkey ) { 229 `fܗch ( `y_keys ( $fkais as $fkai ) { 230 $su = NULL ; 231 `eg_mch ('/' . $fkai . ' (' . FeignKey :: CASCADE . '|' . FeignKey:: SETNULL . ')/', $fkey , $su ); 232 i( $su && `is_y ($su&& `ist ($result[1])) { 233 $fkais [ $fkai ] = $su [1]; 238 $lolCumns = `y (); 239 $feignCumns = `y (); 241 $feignTab = $daba -> `gTab ( $bl ); 243 `fܗch ( $fcs as $fc ) { 244 $feignCumns [] = $feignTab -> `gCumn ( $fc ); 246 `fܗch ( $lcs as $lc ) { 247 $lolCumns [] = $b -> `gCumn ( $lc ); 250 i(! `ist ( $feignKeys [ $me ])) { 251 $fk = w `FeignKey ( $me ); 252 $fk -> `tFeignTabName ( $feignTab -> `gName ()); 253 $fk -> `tOnDe ( $fkais ['ON DELETE']); 254 $fk -> `tOnUpde ( $fkais ['ON UPDATE']); 255 $b -> `addFeignKey ( $fk ); 256 $feignKeys [ $me ] = $fk ; 259  $i =0; $< `cou ( $lolCumns ); $i++) { 260 $feignKeys [ $me ]-> `addRen ( $lolCumns [ $i ], $feignCumns [$i]); 267 } } 272 eed funi $addIndexes ( Tab $b ) 274 $mt = $this -> dbh -> `quy ("SHOW INDEX FROM `" . $b -> `gName () . "`"); 279 $dexes = `y (); 280  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 281 $cName = $row ["Column_name"]; 282 $me = $row ["Key_name"]; 284 i( $me == "PRIMARY") { 288 i(! `ist ( $dexes [ $me ])) { 289 $isUnique = ( $row ["Non_unique"] == 0); 290 i( $isUnique ) { 291 $dexes [ $me ] = w `Unique ($name); 293 $dexes [ $me ] = w `Index ($name); 295 i( $this -> addVdInfo ) { 296 $vi = $this -> `gNewVdInfoObje ( $row ); 297 $dexes [ $me ]-> `addVdInfo ( $vi ); 299 $b -> `addIndex ( $dexes [ $me ]); 302 $dexes [ $me ]-> `addCumn ( $b -> `gCumn ( $cName )); 304 } } 309 eed funi $addPrimyKey ( Tab $b ) 311 $mt = $this -> dbh -> `quy ("SHOW KEYS FROM `" . $b -> `gName () . "`"); 315  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 317 i( $row ['Key_name'] !== 'PRIMARY') { 320 $me = $row ["Column_name"]; 321 $b -> `gCumn ( $me )-> `tPrimyKey ( ue ); 323 } } 330 eed funi $addTabVdInfo ( Tab $b ) 332 $mt = $this -> dbh -> `quy ("SHOW TABLE STATUS LIKE '" . $b -> `gName () . "'"); 333 $row = $mt -> `tch ( PDO :: FETCH_ASSOC ); 334 $vi = $this -> `gNewVdInfoObje ( $row ); 335 $b -> `addVdInfo ( $vi ); 336 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/oracle/OracleSchemaParser.php 1 PrݖTys :: BLOB , 53 'CHAR' => PrݖTys :: CHAR , 54 'CLOB' => PrݖTys :: CLOB , 55 'DATE' => PrݖTys :: DATE , 56 'DECIMAL' => PrݖTys :: DECIMAL , 57 'DOUBLE' => PrݖTys :: DOUBLE , 58 'FLOAT' => PrݖTys :: FLOAT , 59 'LONG' => PrݖTys :: LONGVARCHAR , 60 'NCHAR' => PrݖTys :: CHAR , 61 'NCLOB' => PrݖTys :: CLOB , 62 'NUMBER' => PrݖTys :: BIGINT , 63 'NVARCHAR2' => PrݖTys :: VARCHAR , 64 'TIMESTAMP' => PrݖTys :: TIMESTAMP , 65 'VARCHAR2' => PrݖTys :: VARCHAR , 73 eed funi $gTyMpg () 75  lf :: $aeTyM ; 82 public funi $r ( Daba $daba ) 84 $bs = `y (); 85 $mt = $this -> dbh -> `quy ("SELECT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE = 'TABLE'"); 88  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 89 $b = w `Tab ( $row ['OBJECT_NAME']); 90 $daba -> `addTab ( $b ); 92 $this -> `addCumns ( $b ); 93 $this -> `addPrimyKey ( $b ); 94 $this -> `addIndexes ( $b ); 95 $bs [] = $b ; 97 `fܗch ( $bs as $b ) { 98 $this -> `addFeignKeys ( $b ); 100 } } 107 eed funi $addCumns ( Tab $b ) 109 $mt = $this -> dbh -> `quy ("SELECT COLUMN_NAME, DATA_TYPE, NULLABLE, DATA_LENGTH, DATA_SCALE, DATA_DEFAULT FROM USER_TAB_COLS WHERE TABLE_NAME = '" . $b -> `gName () . "'"); 111  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 112 $size = $row ["DATA_LENGTH"]; 113 $s = $row ["DATA_SCALE"]; 114 $deu = $row ['DATA_DEFAULT']; 115 $ty = $row ["DATA_TYPE"]; 116 $isNuab = ( $row ['NULLABLE'] == 'Y'); 117 i( $ty ="NUMBER" && $row ["DATA_SCALE"] > 0) { 118 $ty = "DECIMAL"; 120 i( $ty ="FLOAT"&& $row ["DATA_PRECISION"] == 126) { 121 $ty = "DOUBLE"; 123 i( `os ( $ty , 'TIMESTAMP('!= l ) { 124 $ty = `subr ($ty, 0, `os ($type, '(')); 125 $deu = "0000-00-00 00:00:00"; 126 $size = nu ; 127 $s = nu ; 129 i( $ty == "DATE") { 130 $deu = "0000-00-00"; 131 $size = nu ; 132 $s = nu ; 135 $ݖTy = $this -> `gMdPrݖTy ( $ty ); 136 i(! $ݖTy ) { 137 $ݖTy = Cumn :: DEFAULT_TYPE ; 138 $this -> `wn ("Cum[" . $b -> `gName (. "." . $row ['COLUMN_NAME']. "] has columnype (".$row["DATA_TYPE"].")hat Propel doesot support."); 141 $cumn = w `Cumn ( $row ['COLUMN_NAME']); 142 $cumn -> `tPhpName (); 143 $cumn -> `tTab ( $b ); 144 $cumn -> `tDomaFTy ( $ݖTy ); 145 $cumn -> `gDoma ()-> `aSize ( $size ); 146 $cumn -> `gDoma ()-> `aS ( $s ); 147 i( $deu != nu ) { 148 $cumn -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $deu , CumnDeuVue :: TYPE_VALUE )); 150 $cumn -> `tAutoInemt ( l ); 151 $cumn -> `tNNu (! $isNuab ); 152 $b -> `addCumn ( $cumn ); 155 } } 162 eed funi $addIndexes ( Tab $b ) 164 $mt = $this -> dbh -> `quy ("SELECT COLUMN_NAME, INDEX_NAME FROM USER_IND_COLUMNS WHERE TABLE_NAME = '" . $b -> `gName () . "' ORDER BY COLUMN_NAME"); 166 $rows = $mt -> `tchA ( PDO :: FETCH_ASSOC ); 167 i( `cou ( $rows ) > 0) { 168 $dex = w `Index ( $rows [0]['INDEX_NAME']); 169 `fܗch ( $rows AS $row ) { 170 $dex -> `addCumn ( $row ['COLUMN_NAME']); 172 $b -> `addIndex ( $dex ); 174 } } 181 eed funi $addFeignKeys ( Tab $b ) 184 $feignKeys = `y (); 186 $mt = $this -> dbh -> `quy ("SELECT CONSTRAINT_NAME, DELETE_RULE, R_CONSTRAINT_NAME FROM USER_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'R' AND TABLE_NAME = '" . $b -> `gName (). "'"); 188  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 190 $mt2 = $this -> dbh -> `quy ("SELECT COLUMN_NAME FROM USER_CONS_COLUMNS WHERE CONSTRAINT_NAME = '". $row ['CONSTRAINT_NAME']."' AND TABLE_NAME = '" . $b -> `gName (). "'"); 192 $lolRenInfo = $mt2 -> `tch ( PDO :: FETCH_ASSOC ); 195 $mt2 = $this -> dbh -> `quy ("SELECT TABLE_NAME, COLUMN_NAME FROM USER_CONS_COLUMNS WHERE CONSTRAINT_NAME = '". $row ['R_CONSTRAINT_NAME']."'"); 196 $feignRenInfo = $mt2 -> `tch ( PDO :: FETCH_ASSOC ); 198 i(! `ist ( $feignKeys [ $row ["CONSTRAINT_NAME"]])) { 199 $fk = w `FeignKey ( $row ["CONSTRAINT_NAME"]); 200 $fk -> `tFeignTabName ( $feignRenInfo ['TABLE_NAME']); 201 $fk -> `tOnDe ( $row ["DELETE_RULE"]); 202 $fk -> `tOnUpde ( $row ["DELETE_RULE"]); 203 $fk -> `addRen ( `y ("lol" => $lolRenInfo ['COLUMN_NAME'], "feign" => $feignRenInfo ['COLUMN_NAME'])); 204 $b -> `addFeignKey ( $fk ); 205 $feignKeys [ $row ["CONSTRAINT_NAME"]] = $fk ; 208 } } 215 eed funi $addPrimyKey ( Tab $b ) 217 $mt = $this -> dbh -> `quy ("SELECT COLS.COLUMN_NAME FROM USER_CONSTRAINTS CONS, USER_CONS_COLUMNS COLS WHERE CONS.CONSTRAINT_NAME = COLS.CONSTRAINT_NAME AND CONS.TABLE_NAME = '". $b -> `gName ()."' AND CONS.CONSTRAINT_TYPE = 'P'"); 219  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 222 i( `y_key_exis (0, $row )) { 223 $row = $row[0]; 225 $b -> `gCumn ( $row ['COLUMN_NAME'])-> `tPrimyKey ( ue ); 227 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/pgsql/PgsqlSchemaParser.php 1 PrݖTys :: BOOLEAN , 40 'boޗn' => PrݖTys :: BOOLEAN , 41 'tyt' => PrݖTys :: TINYINT , 42 'smlt' => PrݖTys :: SMALLINT , 43 'mediumt' => PrݖTys :: SMALLINT , 44 't' => PrݖTys :: INTEGER , 45 't4' => PrݖTys :: INTEGER , 46 'g' => PrݖTys :: INTEGER , 47 't8' => PrݖTys :: BIGINT , 48 'bigt' => PrݖTys :: BIGINT , 49 't24' => PrݖTys :: BIGINT , 50 '' => PrݖTys :: REAL , 51 't' => PrݖTys :: FLOAT , 52 'decim' => PrݖTys :: DECIMAL , 53 'numic' => PrݖTys :: NUMERIC , 54 'doub' => PrݖTys :: DOUBLE , 55 'ch' => PrݖTys :: CHAR , 56 'vch' => PrݖTys :: VARCHAR , 57 'de' => PrݖTys :: DATE , 58 'time' => PrݖTys :: TIME , 59 'timz' => PrݖTys :: TIME , 61 'dime' => PrݖTys :: TIMESTAMP , 62 'timeamp' => PrݖTys :: TIMESTAMP , 63 'timeamz' => PrݖTys :: TIMESTAMP , 64 'bya' => PrݖTys :: BLOB , 65 'xt' => PrݖTys :: LONGVARCHAR , 73 eed funi $gTyMpg () 75  lf :: $pgsqlTyM ; 81 public funi $r ( Daba $daba ) 83 $mt = $this -> dbh -> `quy ("SELECT version()s ver"); 84 $tiveVsi = $mt -> `tchCumn (); 86 i(! $tiveVsi ) { 87 throw w `EngeExi ("Failedo get database version"); 90 $rVsi = `ssnf ( $tiveVsi , '%*s %d.%d'); 91 $vsi = `rtf ("%d.%d", $rVsi [0], $arrVersion[1]); 94 $mt = nu ; 96 $mt = $this -> dbh -> `quy ("SELECT c.oid, 97  wh n . nme ='public' th c . ame n.nme||'.'||c.am d as elname 98 FROM pg_ass c jo pg_mea n ` (c. amea . oid ) 99 WHERE c . lkd = 'r' 100 AND n . nme NOT `IN ('information_schema','pg_catalog') 101 AND n . nme NOT LIKE 'pg_temp%' 102 AND n . nme NOT LIKE 'pg_toast%' 103 ORDER BY ame "); 105 $bWps = `y (); 108  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 109 $me = $row ['relname']; 110 $oid = $row ['oid']; 111 $b = w `Tab ( $me ); 112 $daba -> `addTab ( $b ); 115 $wp = w dCss ; 116 $wp -> b = $b ; 117 $wp -> oid = $oid ; 118 $bWps [] = $wp ; 122 `fܗch ( $bWps as $wp ) { 123 $this -> `addCumns ( $wp -> b , $wp-> oid , $vsi ); 127 `fܗch ( $bWps as $wp ) { 128 $this -> `addFeignKeys ( $wp -> b , $wp-> oid , $vsi ); 129 $this -> `addIndexes ( $wp -> b , $wp-> oid , $vsi ); 130 $this -> `addPrimyKey ( $wp -> b , $wp-> oid , $vsi ); 135 } } 145 eed funi $addCumns ( Tab $b , $oid , $vsi ) 150 $mt = $this -> dbh -> `e ("SELECT 151 t . ame , 152 t . ypmod , 153 t . thasdef , 154 t . nu , 155 def . adc , 156 CASE WHEN t . dims > 0 THEN 1 ELSE 0 END AS iay , 157 CASE 158 WHEN ty . tyame = 'bpchar' 159 THEN 'char' 160 WHEN ty . tyame = '_bpchar' 161 THEN '_char' 162 ELSE 163 ty . tyame 164 END AS tyame , 165 ty . tyy 166 FROM pg_ibu t 167 JOIN pg_ty ty ON y. oid = t . ypid 168 LEFT OUTER JOIN pg_def def ON adlid = t . id AND adnum . um 169 WHERE t . id = ? AND . um > 0 170 AND t . tisdrݳd IS FALSE 171 ORDER BY t . um "); 173 $mt -> `bdVue (1, $oid , PDO :: PARAM_INT ); 174 $mt -> `execu (); 176  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 178 $size = nu ; 179 $ecisi = nu ; 180 $s = nu ; 183 i((( $row ['isarray']) === 1) { 184 throw w `EngeExi ( `rtf ("Aay dyn cuy su܋d [%s.%s]", $this -> me , $row ['attname'])); 187 $me = $row ['attname']; 190 i( `ow ( $row ['typtype']) == 'd') { 191 $rDoma = $this -> `ossDoma ( $row ['typname']); 192 $ty = $rDoma ['type']; 193 $size = $rDoma ['length']; 194 $ecisi = $size ; 195 $s = $rDoma ['scale']; 196 $boHasDeu = ( ` ( `im ( $row ['thasdef'])> 0? $row['thasdef'] : $rDoma ['hasdefault']; 197 $deu = ( ` ( `im ( $row ['adc'])> 0? $row['adc'] : $rDoma ['default']; 198 $is_nuab = ( ` ( `im ( $row ['nu'])> 0? $row['nu'] : $rDoma ['notnull']; 199 $is_nuab = (($is_nuab ='t'? l : ue ); 201 $ty = $row ['typname']; 202 $rLgthPcisi = $this -> `ossLgthS ( $row ['ypmod'], $ty ); 203 $size = $rLgthPcisi ['length']; 204 $ecisi = $size ; 205 $s = $rLgthPcisi ['scale']; 206 $boHasDeu = $row ['atthasdef']; 207 $deu = $row ['adsrc']; 208 $is_nuab = (( $row ['nu'] ='t'? l : ue ); 211 $autoemt = nu ; 214 i(( $boHasDeu ='t'&& ( ` ( `im ( $deu )) > 0)) { 215 i(! `eg_mch ('/^xtv\(/', $deu )) { 216 $rDeu `eg_a ('/::[\W\D]*/', '', $deu ); 217 $deu = `r_a ("'", '', $rDeu ); 219 $autoemt = ue ; 220 $deu = nu ; 223 $deu = nu ; 226 $ݖTy = $this -> `gMdPrݖTy ( $ty ); 227 i(! $ݖTy ) { 228 $ݖTy = Cumn :: DEFAULT_TYPE ; 229 $this -> `wn ("Cum[" . $b -> `gName (. "." . $me . "] hacumty (". $ty .")hat Propel doesot support."); 232 $cumn = w `Cumn ( $me ); 233 $cumn -> `tTab ( $b ); 234 $cumn -> `tDomaFTy ( $ݖTy ); 237 $cumn -> `gDoma ()-> `aSize ( $size ); 238 $cumn -> `gDoma ()-> `aS ( $s ); 239 i( $deu != nu ) { 240 $cumn -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $deu , CumnDeuVue :: TYPE_VALUE )); 242 $cumn -> `tAutoInemt ( $autoemt ); 243 $cumn -> `tNNu (! $is_nuab ); 245 $b -> `addCumn ( $cumn ); 249 } } 251 ive funi $ossLgthS ( $tTypmod , $rName ) 254 $rRV = `y ('ngth'=> nu , 'scale'=>null); 257 i( $tTypmod == -1) 259  $rRV ; 263 i( $rName = $this -> `gMdNiveTy ( PrݖTys :: NUMERIC )) { 264 $tL = ( $tTypmod - 4) >> 16; 265 $tPc = ( $tTypmod - 4) & 0xffff; 266 $tL = `rtf ("%ld", $intLen); 267 i( $tPc ) 269 $tPc = `rtf ("%ld", $intPrec); 271 $rRV ['ngth'] = $tL ; 272 $rRV ['s'] = $tPc ; 274 `if ( $rName = $this -> `gMdNiveTy ( PrݖTys :: TIME ) || $strName == 'timetz' 275 || $rName = $this -> `gMdNiveTy ( PrݖTys :: TIMESTAMP ) || $strName == 'timestamptz' 276 || $rName == 'interval' || $strName == 'bit') 278 $rRV ['ngth'] = `rtf ("%ld", $tTypmod ); 282 $rRV ['ngth'] = `rtf ("%ld", ( $tTypmod - 4)); 284  $rRV ; 285 } } 287 ive funi $ossDoma ( $rDoma ) 289 i( ` ( `im ( $rDoma )) < 1) { 290 throw w `EngeExi ("Invid domaam[" . $rDoma . "]"); 293 $mt = $this -> dbh -> `e ("SELECT 294 d . tyame as domme , 295 b . tyame as baty , 296 d . ty , 297 d . tyypmod , 298 d . tynu , 299 d . typdeu 300 FROM pg_ty d 301 INNER JOIN pg_ty b ON b. oid = CASE WHEN d . tydims > 0 th d. tym ELSE d. typbaty END 302 WHERE 303 d . tyy = 'd' 304 AND d . tyame = ? 305 ORDER BY d . tyame "); 306 $mt -> `bdVue (1, $rDoma ); 307 $mt -> `execu (); 309 $row = $mt -> `tch ( PDO :: FETCH_ASSOC ); 310 i(! $row ) { 311 throw w `EngeExi ("Doma [" . $rDoma . "]ot found."); 314 $rDoma = `y (); 315 $rDoma ['ty'] = $row ['basetype']; 316 $rLgthPcisi = $this -> `ossLgthS ( $row ['typtypmod'], $row['basetype']); 317 $rDoma ['ngth'] = $rLgthPcisi ['length']; 318 $rDoma ['s'] = $rLgthPcisi ['scale']; 319 $rDoma ['nnu'] = $row ['typnotnull']; 320 $rDoma ['deu'] = $row ['typdefault']; 321 $rDoma ['hasdeu'] = ( ` ( `im ( $row ['typdefault'])) > 0) ? 't' : 'f'; 323 $mt = nu ; 324  $rDoma ; 325 } } 330 eed funi $addFeignKeys ( Tab $b , $oid , $vsi ) 332 $daba = $b -> `gDaba (); 333 $mt = $this -> dbh -> `e ("SELECT 334 cme , 335 cfupdty , 336 cfdty , 337 CASE . nme WHEN 'public' THEN . ame ELSE l.nme||'.'||.am END as fkb , 338 a2 . ame as fkc , 339 CASE . nme WHEN 'public' THEN . ame ELSE r.nme||'.'||.am END as ab , 340 a1 . ame as fc 341 FROM pg_cڡt 342 JOIN pg_ass ON cl. oid = cڻlid 343 JOIN pg_ass ON cr. oid = cid 344 JOIN pg_mea ON l. oid = . amea 345 JOIN pg_mea ON r. oid = . amea 346 LEFT JOIN pg_log . pg_ibu a1 ON 1. id = . cid 347 LEFT JOIN pg_log . pg_ibu a2 ON 2. id = . cڻlid 348 WHERE 349 cty ='f' 350 AND cڻlid = ? 351 AND a2 . um = . ckey [1] 352 AND a1 . um = . cfkey [1] 353 ORDER BY cme "); 354 $mt -> `bdVue (1, $oid ); 355 $mt -> `execu (); 357 $feignKeys = `y (); 359  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 361 $me = $row ['conname']; 362 $lol_b = $row ['fktab']; 363 $lol_cumn = $row ['fkcol']; 364 $feign_b = $row ['reftab']; 365 $feign_cumn = $row ['refcol']; 368  $row ['confupdtype']) { 370 $upde = FeignKey :: CASCADE ; ; 372 $upde = FeignKey :: SETDEFAULT ; ; 374 $upde = FeignKey :: SETNULL ; ; 376 $upde = FeignKey :: RESTRICT ; ; 380 $upde = FeignKey :: NONE ; ; 383  $row ['confdeltype']) { 385 $de = FeignKey :: CASCADE ; ; 387 $de = FeignKey :: SETDEFAULT ; ; 389 $de = FeignKey :: SETNULL ; ; 391 $de = FeignKey :: RESTRICT ; ; 395 $de = FeignKey :: NONE ; ; 398 $feignTab = $daba -> `gTab ( $feign_b ); 399 $feignCumn = $feignTab -> `gCumn ( $feign_cumn ); 401 $lolTab = $daba -> `gTab ( $lol_b ); 402 $lolCumn = $lolTab -> `gCumn ( $lol_cumn ); 404 i(! `ist ( $feignKeys [ $me ])) { 405 $fk = w `FeignKey ( $me ); 406 $fk -> `tFeignTabName ( $feignTab -> `gName ()); 407 $fk -> `tOnDe ( $de ); 408 $fk -> `tOnUpde ( $upde ); 409 $b -> `addFeignKey ( $fk ); 410 $feignKeys [ $me ] = $fk ; 413 $feignKeys [ $me ]-> `addRen ( $lolCumn , $feignCumn ); 415 } } 420 eed funi $addIndexes ( Tab $b , $oid , $vsi ) 422 $mt = $this -> dbh -> `e ("SELECT 423 DISTINCT `ON ( s . ame ) 424 s . ame as idxme , 425 dkey , 426 disunique 427 FROM pg_dex idx 428 JOIN pg_ass s ON cls. oid = dexlid 429 WHERE dlid = ? AND NOT dirimy 430 ORDER BY s . ame "); 432 $mt -> `bdVue (1, $oid ); 433 $mt -> `execu (); 435 $mt2 = $this -> dbh -> `e ("SELECT.attname 436 FROM pg_log . pg_ass c JOIN g_log. pg_ibu a ON . id = c. oid 437 WHERE c . oid = ? AND a . um = ? AND NOT . tisdrݳd 438 ORDER BY a . um "); 440 $dexes = `y (); 442  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 443 $me = $row ["idxname"]; 444 $unique = ( $row ["disunique"] ='t'? ue : l ; 445 i(! `ist ( $dexes [ $me ])) { 446 i( $unique ) { 447 $dexes [ $me ] = w `Unique ($name); 449 $dexes [ $me ] = w `Index ($name); 451 $b -> `addIndex ( $dexes [ $me ]); 454 $rCumns = `exode (' ', $row ['indkey']); 455 `fܗch ( $rCumns as $tCNum ) 457 $mt2 -> `bdVue (1, $oid ); 458 $mt2 -> `bdVue (2, $tCNum ); 459 $mt2 -> `execu (); 461 $row2 = $mt2 -> `tch ( PDO :: FETCH_ASSOC ); 463 $dexes [ $me ]-> `addCumn ( $b -> `gCumn ( $row2 ['attname'])); 469 } } 474 eed funi $addPrimyKey ( Tab $b , $oid , $vsi ) 477 $mt = $this -> dbh -> `e ("SELECT 478 DISTINCT `ON ( s . ame ) 479 s . ame as idxme , 480 dkey , 481 disunique 482 FROM pg_dex idx 483 JOIN pg_ass s ON cls. oid = dexlid 484 WHERE dlid = ? AND dirimy 485 ORDER BY s . ame "); 486 $mt -> `bdVue (1, $oid ); 487 $mt -> `execu (); 492  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 493 $rCumns = `exode (' ', $row ['indkey']); 494 `fܗch ( $rCumns as $tCNum ) { 495 $mt2 = $this -> dbh -> `e ("SELECT.attname 496 FROM pg_log . pg_ass c JOIN g_log. pg_ibu a ON . id = c. oid 497 WHERE c . oid = ? AND a . um = ? AND NOT . tisdrݳd 498 ORDER BY a . um "); 499 $mt2 -> `bdVue (1, $oid ); 500 $mt2 -> `bdVue (2, $tCNum ); 501 $mt2 -> `execu (); 503 $row2 = $mt2 -> `tch ( PDO :: FETCH_ASSOC ); 504 $b -> `gCumn ( $row2 ['ame'])-> `tPrimyKey ( ue ); 509 } } 517 eed funi $addSequs ( Daba $daba ) 543 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/reverse/sqlite/SqliteSchemaParser.php 1 PrݖTys :: TINYINT , 43 'smlt' => PrݖTys :: SMALLINT , 44 'mediumt' => PrݖTys :: SMALLINT , 45 't' => PrݖTys :: INTEGER , 46 'g' => PrݖTys :: INTEGER , 47 'bigt' => PrݖTys :: BIGINT , 48 't24' => PrݖTys :: BIGINT , 49 '' => PrݖTys :: REAL , 50 't' => PrݖTys :: FLOAT , 51 'decim' => PrݖTys :: DECIMAL , 52 'numic' => PrݖTys :: NUMERIC , 53 'doub' => PrݖTys :: DOUBLE , 54 'ch' => PrݖTys :: CHAR , 55 'vch' => PrݖTys :: VARCHAR , 56 'de' => PrݖTys :: DATE , 57 'time' => PrݖTys :: TIME , 58 'yr' => PrݖTys :: INTEGER , 59 'dime' => PrݖTys :: TIMESTAMP , 60 'timeamp' => PrݖTys :: TIMESTAMP , 61 'tyblob' => PrݖTys :: BINARY , 62 'blob' => PrݖTys :: BLOB , 63 'mediumblob' => PrݖTys :: BLOB , 64 'lgblob' => PrݖTys :: BLOB , 65 'lgxt' => PrݖTys :: CLOB , 66 'tyxt' => PrݖTys :: VARCHAR , 67 'mediumxt' => PrݖTys :: LONGVARCHAR , 68 'xt' => PrݖTys :: LONGVARCHAR , 69 'um' => PrݖTys :: CHAR , 70 't' => PrݖTys :: CHAR , 78 eed funi $gTyMpg () 80  lf :: $sqleTyM ; 86 public funi $r ( Daba $daba ) 88 $mt = $this -> dbh -> `quy ("SELECTame FROM sqlite_master WHEREype='table' UNION ALL SELECTame FROM sqlite_temp_master WHEREype='table' ORDER BYame;"); 91 $bs = `y (); 92  $row = $mt -> `tch ( PDO :: FETCH_NUM )) { 93 $me = $row [0]; 94 $b = w `Tab ( $me ); 95 $daba -> `addTab ( $b ); 96 $bs [] = $b ; 100 `fܗch ( $bs as $b ) { 101 $this -> `addCumns ( $b ); 105 `fܗch ( $bs as $b ) { 106 $this -> `addIndexes ( $b ); 109 } } 119 eed funi $addCumns ( Tab $b ) 121 $mt = $this -> dbh -> `quy ("PRAGMAab_fo('" . $b -> `gName () . "')"); 123  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 125 $me = $row ['name']; 127 $futy = $row ['type']; 128 $size = nu ; 129 $ecisi = nu ; 130 $s = nu ; 132 i( `eg_mch ('/^([^\(]+)\(\s*(\d+)\s*,\s*(\d+)\s*\)$/', $futy , $mches )) { 133 $ty = $mches [1]; 134 $ecisi = $mches [2]; 135 $s = $mches [3]; 136 } `if ( `eg_mch ('/^([^\(]+)\(\s*(\d+)\s*\)$/', $futy , $mches )) { 137 $ty = $mches [1]; 138 $size = $mches [2]; 140 $ty = $futy ; 144 $autoemt = ( $row ['pk'] =1 && `ow ( $ty ) == 'integer'); 145 $n_nu = $row ['notnull']; 146 $deu = $row ['dflt_value']; 149 $ݖTy = $this -> `gMdPrݖTy ( $ty ); 150 i(! $ݖTy ) { 151 $ݖTy = Cumn :: DEFAULT_TYPE ; 152 $this -> `wn ("Cum[" . $b -> `gName (. "." . $me . "] hacumty (". $ty .")hat Propel doesot support."); 155 $cumn = w `Cumn ( $me ); 156 $cumn -> `tTab ( $b ); 157 $cumn -> `tDomaFTy ( $ݖTy ); 160 $cumn -> `gDoma ()-> `aSize ( $size ); 161 $cumn -> `gDoma ()-> `aS ( $s ); 162 i( $deu != nu ) { 163 $cumn -> `gDoma ()-> `tDeuVue ( w `CumnDeuVue ( $deu , CumnDeuVue :: TYPE_VALUE )); 165 $cumn -> `tAutoInemt ( $autoemt ); 166 $cumn -> `tNNu ( $n_nu ); 169 i(( $row ['pk'] =1|| ( `ow ( $ty ) == 'integer')) { 170 $cumn -> `tPrimyKey ( ue ); 173 $b -> `addCumn ( $cumn ); 178 } } 183 eed funi $addIndexes ( Tab $b ) 185 $mt = $this -> dbh -> `quy ("PRAGMA index_li('" . $b -> `gName () . "')"); 187  $row = $mt -> `tch ( PDO :: FETCH_ASSOC )) { 189 $me = $row ['name']; 190 $dex = w `Index ( $me ); 192 $mt2 = $this -> dbh -> `quy ("PRAGMA index_fo('". $me ."')"); 193  $row2 = $mt2 -> `tch ( PDO :: FETCH_ASSOC )) { 194 $cme = $row2 ['name']; 195 $dex -> `addCumn ( $b -> `gCumn ( $cme )); 198 $b -> `addIndex ( $dex ); 201 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/transform/XmlToAppData.php 1 p = w ADa ( $fm ); 82 m$this -> mfm = $fm ; 83 m$this -> mdeuPackage = $deuPackage ; 84 m$this -> mfPass = ue ; 85 m$this -> mcodg = $codg ; 95 public funi $rFe ( $xmlFe ) 98 i( $this -> `isA̗dyPd ( $xmlFe )) { 102 $domDocumt = w `DomDocumt ('1.0', 'UTF-8'); 103 $domDocumt -> `ld ( $xmlFe ); 106 $this -> schemasTagsSck [ $xmlFe ] = `y (); 108 $this -> cutXmlFe = $xmlFe ; 110 y { 111 $ = w `FeRd ( $xmlFe ); 112 } `tch ( Exi $e ) { 113 $f = w `PhgFe ( $xmlFe ); 114 throw w `Exi ("XML Fn found: " . $f -> `gAbsuPh ()); 117 $br = w `BufdRd ( $ ); 119 $this -> rr = w `ExtPr ( $br ); 120 $this -> rr -> `rrSOi ( XML_OPTION_CASE_FOLDING , 0); 121 $this -> rr -> `tHdr ($this); 123 y { 124 $this -> rr -> `r (); 125 } `tch ( Exi $e ) { 126 $br -> `o (); 127 throw $e ; 129 $br -> `o (); 131 `y_p ( $this -> schemasTagsSck ); 133  $this -> p ; 134 } } 146 public funi $tEmt ( $me , $ibus ) { 148 y { 150 $Tag = $this -> `ekCutSchemaTag (); 152 i( $Tag == l ) { 154  $me ) { 156 i( $this -> `isExSchema ()) { 157 $this -> cutPackage = @ $ibus ["package"]; 158 i( $this -> cutPackage == nu ) { 159 $this -> cutPackage = $this-> deuPackage ; 162 $this -> cuDB = $this-> p -> `addDaba ( $ibus ); 167 $this -> `_throwInvidTagExi ( $me ); 170 } `if ( $Tag == "database") { 172  $me ) { 175 $xmlFe = @ $ibus ["filename"]; 179 i(! $this -> `isExSchema ()) { 180 $isFRefOy = @ $ibus ["referenceOnly"]; 181 $this -> isFRenOy = ( $isFRefOy != nu ? ( `ow ($isFRefOy=="ue": ue ); 184 i( $xmlFe {0} != '/') { 185 $f = w `PhgFe ( $this -> cutXmlFe ); 186 $xf = w `PhgFe ( $f -> `gPt (), $xmlFe ); 187 $xmlFe = $xf -> `gPh (); 190 $this -> `rFe ( $xmlFe ); 194 $this -> cuDB -> `addDoma ( $ibus ); 198 $this -> cuTab = $this-> cuDB -> `addTab ( $ibus ); 199 i( $this -> `isExSchema ()) { 200 $this -> cuTab -> `tFRenOy ($this-> isFRenOy ); 201 $this -> cuTab -> `tPackage ($this-> cutPackage ); 206 $this -> cuVdObje = $this-> cuDB -> `addVdInfo ( $ibus ); 210 $this -> cuBehavi = $this-> cuDB -> `addBehavi ( $ibus ); 214 $this -> `_throwInvidTagExi ( $me ); 217 } `if ( $Tag == "table") { 219  $me ) { 221 $this -> cuCumn = $this-> cuTab -> `addCumn ( $ibus ); 225 $this -> cuFK = $this-> cuTab -> `addFeignKey ( $ibus ); 229 $this -> cuIndex = $this-> cuTab -> `addIndex ( $ibus ); 233 $this -> cuUnique = $this-> cuTab -> `addUnique ( $ibus ); 237 $this -> cuVdObje = $this-> cuTab -> `addVdInfo ( $ibus ); 241 $this -> cuVid = $this-> cuTab -> `addVid ( $ibus ); 245 $this -> cuTab -> `addIdMhodPam ( $ibus ); 249 $this -> cuBehavi = $this-> cuTab -> `addBehavi ( $ibus ); 253 $this -> `_throwInvidTagExi ( $me ); 256 } `if ( $Tag == "column") { 258  $me ) { 260 $this -> cuCumn -> `addInh ( $ibus ); 264 $this -> cuVdObje = $this-> cuCumn -> `addVdInfo ( $ibus ); 268 $this -> `_throwInvidTagExi ( $me ); 271 } `if ( $Tag == "foreign-key") { 273  $me ) { 275 $this -> cuFK -> `addRen ( $ibus ); 279 $this -> cuVdObje = $this-> cuUnique -> `addVdInfo ( $ibus ); 283 $this -> `_throwInvidTagExi ( $me ); 286 } `if ( $Tag == "index") { 288  $me ) { 290 $this -> cuIndex -> `addCumn ( $ibus ); 294 $this -> cuVdObje = $this-> cuIndex -> `addVdInfo ( $ibus ); 298 $this -> `_throwInvidTagExi ( $me ); 301 } `if ( $Tag == "unique") { 303  $me ) { 305 $this -> cuUnique -> `addCumn ( $ibus ); 309 $this -> cuVdObje = $this-> cuUnique -> `addVdInfo ( $ibus ); 313 $this -> `_throwInvidTagExi ( $me ); 315 } `if ( $Tag == "behavior") { 317  $me ) { 319 $this -> cuBehavi -> `addPam ( $ibus ); 323 $this -> `_throwInvidTagExi ( $me ); 325 } `if ( $Tag == "validator") { 326  $me ) { 328 $this -> cuVid -> `addRu ( $ibus ); 331 $this -> `_throwInvidTagExi ( $me ); 333 } `if ( $Tag == "vendor") { 335  $me ) { 337 $this -> cuVdObje -> `addPam ( $ibus ); 340 $this -> `_throwInvidTagExi ( $me ); 345 $this -> `_throwInvidTagExi ( $me ); 348 $this -> `pushCutSchemaTag ( $me ); 350 } `tch ( BudExi $e ) { 351 throw $e ; 352 } `tch ( Exi $e ) { 353 echo $e ; 354 echo "\n"; 355 throw $e ; 357 } } 359 funi $_throwInvidTagExi ( $g_me ) 361 throw w `BudExi ("Uxedag <" . $g_me . ">", $this -> rr -> `gLoti ()); 362 } } 373 public funi $dEmt ( $me ) 375 i( lf :: DEBUG ) { 376 `t ("dEmt(" . $me . ") called\n"); 379 $this -> `pCutSchemaTag (); 380 } } 382 eed funi $ekCutSchemaTag () 384 $keys = `y_keys ( $this -> schemasTagsSck ); 385  `d ( $this -> schemasTagsSck [d( $keys )]); 386 } } 388 eed funi $pCutSchemaTag () 390 $keys = `y_keys ( $this -> schemasTagsSck ); 391 `y_p ( $this -> schemasTagsSck [ `d ( $keys )]); 392 } } 394 eed funi $pushCutSchemaTag ( $g ) 396 $keys = `y_keys ( $this -> schemasTagsSck ); 397 $this -> schemasTagsSck [ `d ( $keys )][] = $g ; 398 } } 400 eed funi $isExSchema () 402  (( $this -> schemasTagsSck ) > 1); 403 } } 405 eed funi $isA̗dyPd ( $fePh ) 407  `ist ( $this -> schemasTagsSck [ $fePh ]); 408 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/DefaultPlatform.php 1 `tCi ($con); 61 $this -> `lize (); 68 public funi $tCi ( PDO $c = nu ) 70 $this -> c = $c ; 71 } } 78 public funi $tGCfig ( GCfig $cfig ) 80 $this -> gCfig = $cfig ; 81 } } 88 public funi $gGCfig () 90  $this -> gCfig ; 91 } } 99 eed funi $gBudPrݔty ( $me ) 101 i( $this -> gCfig != nu ) { 102  $this -> gCfig -> `gBudPrݔty ( $me ); 104  nu ; 105 } } 111 public funi $gCi () 113  $this -> c ; 114 } } 119 eed funi $lize () 121 $this -> schemaDomaM = `y (); 122 `fܗch ( PrݖTys :: `gPrݖTys ( as $ty ) { 123 $this -> schemaDomaM [ $ty ] = w `Doma ($type); 126 $this -> schemaDomaM [ PrݖTys :: BU_DATE ] = w `Doma (PrݖTys:: DATE ); 127 $this -> schemaDomaM [ PrݖTys :: BU_TIMESTAMP ] = w `Doma (PrݖTys:: TIMESTAMP ); 130 $this -> schemaDomaM [ PrݖTys :: BOOLEAN ] = w `Doma (PropelTypes::BOOLEAN, "INTEGER"); 131 } } 137 eed funi $tSchemaDomaMpg ( Doma $doma ) 139 $this -> schemaDomaM [ $doma -> `gTy ()] = $domain; 140 } } 147 public funi $gDabaTy () 149 $azz = `g_ass ( $this ); 150 $pos = `os ( $azz , 'Platform'); 151  `ow ( `subr ( $azz ,0, $pos )); 152 } } 157 public funi $gMaxCumnNameLgth () 160 } } 165 public funi $gNiveIdMhod () 167  Ptfm :: IDENTITY ; 168 } } 173 public funi $gDomaFTy ( $ݖTy ) 175 i(! `ist ( $this -> schemaDomaM [ $ݖTy ])) { 176 throw w `EngeExi ("Cn m unknowPrݖy " . `v_expt ( $ݖTy , ue ) . "oative databaseype."); 178  $this -> schemaDomaM [ $ݖTy ]; 179 } } 185 public funi $gNuSg ( $nNu ) 187  ( $nNu ? "NOT NULL" : ""); 188 } } 193 public funi $gAutoInemt () 196 } } 201 public funi $hasS ( $sqlTy ) 203  ue ; 204 } } 209 public funi $hasSize ( $sqlTy ) 211  ue ; 212 } } 217 public funi $que ( $xt ) 219 i( $this -> `gCi ()) { 220  $this -> `gCi ()-> `que ( $xt ); 222  "'" . $this -> `discedEsText ( $xt ) . "'"; 224 } } 235 eed funi $discedEsText ( $xt ) 237  `r_a ("'", "''", $xt ); 238 } } 243 public funi $queIdtifr ( $xt ) 245  '"' . $xt . '"'; 246 } } 251 public funi $sutsNiveDeTrigg () 253  l ; 254 } } 259 public funi $sutsInNuPk () 261  ue ; 262 } } 268 public funi $hasSmBlobIm () 270  l ; 271 } } 276 public funi $gBoޗnSg ( $b ) 278 $b = ($b == ue || `ow ($b) === 'true' || $b === 1 || $b === '1' || strtolower($b) === 'y' || strtolower($b) === 'yes'); 279  ( $b ? '1' : '0'); 280 } } 286 public funi $gTimeampFmr () 288  DeTime :: ISO8601 ; 289 } } 295 public funi $gTimeFmr () 298 } } 304 public funi $gDeFmr () 307 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/MssqlPlatform.php 1 `tSchemaDomaMpg ( w `Doma ( PrݖTys :: INTEGER , "INT")); 42 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BOOLEAN , "INT")); 43 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DOUBLE , "FLOAT")); 44 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARCHAR , "TEXT")); 45 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: CLOB , "TEXT")); 46 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DATE , "DATETIME")); 47 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BU_DATE , "DATETIME")); 48 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TIME , "DATETIME")); 49 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TIMESTAMP , "DATETIME")); 50 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BU_TIMESTAMP , "DATETIME")); 51 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BINARY , "BINARY(7132)")); 52 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARBINARY , "IMAGE")); 53 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARBINARY , "IMAGE")); 54 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BLOB , "IMAGE")); 60 public funi $gMaxCumnNameLgth () 63 } } 70 public funi $gNuSg ( $nNu ) 72  ( $nNu ? "NOT NULL" : "NULL"); 73 } } 78 public funi $sutsNiveDeTrigg () 80  ue ; 81 } } 86 public funi $sutsInNuPk () 88  l ; 89 } } 94 public funi $hasSize ( $sqlTy ) 96  !("INT" = $sqlTy || "TEXT" == $sqlType); 97 } } 102 public funi $queIdtifr ( $xt ) 104  '[' . $xt . ']'; 105 } } 111 public funi $gTimeampFmr () 114 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/MysqlPlatform.php 1 `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BOOLEAN , "TINYINT")); 41 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: NUMERIC , "DECIMAL")); 42 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARCHAR , "TEXT")); 43 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BINARY , "BLOB")); 44 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARBINARY , "MEDIUMBLOB")); 45 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARBINARY , "LONGBLOB")); 46 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BLOB , "LONGBLOB")); 47 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: CLOB , "LONGTEXT")); 48 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TIMESTAMP , "DATETIME")); 54 public funi $gAutoInemt () 57 } } 62 public funi $gMaxCumnNameLgth () 65 } } 70 public funi $sutsNiveDeTrigg () 72 $usgIoDB = l ; 73 i( `ass_exis ('DaModBud', l )) 75 $usgIoDB = `ow ( $this -> `gBudPrݔty ('mysqlTableType')) == 'innodb'; 77  $usgIoDB || l ; 78 } } 83 public funi $hasSize ( $sqlTy ) 85  !("MEDIUMTEXT" = $sqlTy || "LONGTEXT" == $sqlType 86 || "BLOB" = $sqlTy || "MEDIUMBLOB" == $sqlType 87 || "LONGBLOB" = $sqlTy ); 88 } } 95 public funi $discedEsText ( $xt ) 97 i( `funi_exis ('mysql_escape_string')) { 98  `mysql_es_rg ( $xt ); 100  `addashes ( $xt ); 102 } } 107 public funi $queIdtifr ( $xt ) 109  '`' . $xt . '`'; 110 } } 116 public funi $gTimeampFmr () 119 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/OraclePlatform.php 1 `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BOOLEAN , "NUMBER", "1", "0")); 41 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TINYINT , "NUMBER", "3", "0")); 42 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: SMALLINT , "NUMBER", "5", "0")); 43 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: INTEGER , "NUMBER")); 44 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BIGINT , "NUMBER", "20", "0")); 45 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: REAL , "NUMBER")); 46 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DOUBLE , "FLOAT")); 47 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DECIMAL , "NUMBER")); 48 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: NUMERIC , "NUMBER")); 49 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARCHAR , "NVARCHAR2")); 50 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARCHAR , "NVARCHAR2", "2000")); 51 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TIME , "TIME")); 52 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DATE , "DATE")); 53 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TIMESTAMP , "TIMESTAMP")); 54 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BINARY , "LONG RAW")); 55 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARBINARY , "BLOB")); 56 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARBINARY , "LONG RAW")); 62 public funi $gMaxCumnNameLgth () 65 } } 70 public funi $gNiveIdMhod () 72  Ptfm :: SEQUENCE ; 73 } } 78 public funi $gAutoInemt () 81 } } 86 public funi $sutsNiveDeTrigg () 88  ue ; 89 } } 95 public funi $hasSmBlobIm () 97  ue ; 98 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/PgsqlPlatform.php 1 `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BOOLEAN , "BOOLEAN")); 41 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: TINYINT , "INT2")); 42 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: SMALLINT , "INT2")); 43 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BIGINT , "INT8")); 44 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: REAL , "FLOAT")); 45 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DOUBLE , "DOUBLE PRECISION")); 46 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARCHAR , "TEXT")); 47 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BINARY , "BYTEA")); 48 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARBINARY , "BYTEA")); 49 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARBINARY , "BYTEA")); 50 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BLOB , "BYTEA")); 51 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: CLOB , "TEXT")); 57 public funi $gNiveIdMhod () 59  Ptfm :: SERIAL ; 60 } } 65 public funi $gAutoInemt () 68 } } 73 public funi $gMaxCumnNameLgth () 76 } } 83 public funi $discedEsText ( $xt ) 85 i( `funi_exis ('pg_escape_string')) { 86  `pg_es_rg ( $xt ); 88  :: `discedEsText ( $xt ); 90 } } 95 public funi $gBoޗnSg ( $b ) 99 $b = :: `gBoޗnSg ($b); 100  ( $b ? "'t'" : "'f'"); 101 } } 106 public funi $sutsNiveDeTrigg () 108  ue ; 109 } } 115 public funi $hasSize ( $sqlTy ) 117  !("BYTEA" = $sqlTy || "TEXT" == $sqlType); 118 } } 124 public funi $hasSmBlobIm () 126  ue ; 127 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/platform/Platform.php 1 `tSchemaDomaMpg ( w `Doma ( PrݖTys :: NUMERIC , "DECIMAL")); 40 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARCHAR , "MEDIUMTEXT")); 41 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: DATE , "DATETIME")); 42 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BINARY , "BLOB")); 43 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: VARBINARY , "MEDIUMBLOB")); 44 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: LONGVARBINARY , "LONGBLOB")); 45 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: BLOB , "LONGBLOB")); 46 $this -> `tSchemaDomaMpg ( w `Doma ( PrݖTys :: CLOB , "LONGTEXT")); 53 public funi $gAutoInemt () 57 } } 62 public funi $gMaxCumnNameLgth () 65 } } 70 public funi $hasSize ( $sqlTy ) { 71  !("MEDIUMTEXT" = $sqlTy || "LONGTEXT" == $sqlType 72 || "BLOB" = $sqlTy || "MEDIUMBLOB" == $sqlType 73 || "LONGBLOB" = $sqlTy ); 74 } } 81 public funi $discedEsText ( $xt ) 83 i( `funi_exis ('sqlite_escape_string')) { 84  `sqle_es_rg ( $xt ); 86  :: `discedEsText ( $xt ); 88 } } 93 public funi $queIdtifr ( $xt ) 95  '[' . $xt . ']'; 96 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/AbstractPropelDataModelTask.php 1 daModsLded $this-> `ldDaMods (); 166  $this -> daMods ; 174 public funi $gDaModDbM () 176 i(! $this -> daModsLded $this-> `ldDaMods (); 177  $this -> daModDbM ; 178 } } 185 public funi $addSchemaFet ( Fet $t ) 187 $this -> schemaFets [] = $t ; 188 } } 195 public funi $gTgDaba () 197  $this -> rgDaba ; 198 } } 205 public funi $tTgDaba ( $v ) 207 $this -> rgDaba = $v ; 208 } } 215 public funi $gTgPackage () 217  $this -> rgPackage ; 218 } } 226 public funi $tTgPackage ( $v ) 228 $this -> rgPackage = $v ; 229 } } 236 public funi $tPackageObjeMod ( $v ) 238 $this -> ckageObjeMod = ( $v =='1' ? ue : l ); 239 } } 245 public funi $tVide ( $v ) 247 $this -> vide = $v ; 248 } } 254 public funi $tXsd ( PhgFe $v ) 256 $this -> xsdFe = $v ; 257 } } 263 public funi $tX ( PhgFe $v ) 265 $this -> xFe = $v ; 266 } } 275 public funi $tOuutDey ( PhgFe $ouutDey ) { 276 y { 277 i(! $ouutDey -> `exis ()) { 278 $this -> `log ("Ouudey d۠nكxi, cg: " . $ouutDey -> `gPh (), Proje :: MSG_VERBOSE ); 279 i(! $ouutDey -> `mkds ()) { 280 throw w `IOExi ("Ubˁ Ouudey: " . $ouutDey -> `gAbsuPh ()); 283 $this -> ouutDey = $ouutDey -> `gCilPh (); 284 } `tch ( IOExi $i ) { 285 throw w `BudExi ( $i ); 287 } } 294 public funi $tDbEncodg ( $v ) 296 $this -> dbEncodg = $v ; 297 } } 304 public funi $tU ( $u ) 306 $this -> u = $u ; 307 } } 314 public funi $tUrid ( $urId ) 316 $this -> urId = $urId ; 317 } } 324 public funi $tPasswd ( $sswd ) 326 $this -> sswd = $sswd ; 327 } } 333 public funi $gOuutDey () { 334  $this -> ouutDey ; 335 } } 343 public funi $Mr () { 344 i( $this -> mrEmt != nu ) { 345 throw w `BudExi ("Cn defmܐth o mr.", $this -> loti ); 347 $this -> mrEmt = w `Mr ($this-> oje ); 348  $this -> mrEmt ; 349 } } 358 eed funi $gMdFe ( $om ) 360 i(! $this -> mrEmt ) { 361 throw w `BudExi ("Thisaskequires youo use lemento describe how filename changes should be handled."); 364 $mr = $this -> mrEmt -> `gImemti (); 365 $md = $mr -> `ma ( $om ); 366 i(! $md ) { 367 throw w `BudExi ("Cn cw fambad on: " . $om ); 370 $outFame = `y_shi ( $md ); 371 $outFe = w `PhgFe ( $this -> `gOuutDey (), $outFame ); 372  $outFe ; 373 } } 379 public funi $gCi () 381 i( $this -> cn == l ) { 382 $this -> cn = nu ; 383 i( $this -> u ) { 384 $buf = "Using database settings:\n" 385 . " URL: " . $this -> u . "\n" 386 . ( $this -> urId ? " user: " . $this->userId . "\n" : "") 387 . ( $this -> sswd ? "assword: " . $this->password . "\n" : ""); 389 $this -> `log ( $buf , Proje :: MSG_VERBOSE ); 392 i(! $this -> urId { $this->urId = nu ; } 393 i(! $this -> sswd { $this->sswd = nu ; } 394 y { 395 $this -> cn = w `PDO ($this-> u , $this-> urId , $this-> sswd ); 396 $this -> cn -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 397 } `tch ( PDOExi $x ) { 398 $this -> `log ("Ubˁ PDO ci: " . $x -> `gMesge (), Proje :: MSG_WARN ); 402  $this -> cn ; 403 } } 409 eed funi $ldDaMods () 411 $ads = `y (); 414 `fܗch ( $this -> schemaFets as $fs ) { 415 $ds = $fs -> `gDeyS” ( $this -> oje ); 416 $cD = $fs -> `gD ( $this -> oje ); 418 $daModFes = $ds -> `gInudedFes (); 420 $fm = $this -> `gGCfig ()-> `gCfigudPtfm (); 423 `fܗch ( $daModFes as $dmFame ) { 425 $this -> `log ("Prossg: ". $dmFame ); 426 $xmlFe = w `PhgFe ( $cD , $dmFame ); 428 $dom = w `DomDocumt ('1.0', 'UTF-8'); 429 $dom -> `ld ( $xmlFe -> `gAbsuPh ()); 432 i( $this -> xFe ) { 433 $this -> `log ("Tnsfmg " . $xmlFe -> `gPh (. " usg stysh" . $this-> xFe ->gPh(), Proje :: MSG_VERBOSE ); 434 i(! `ass_exis ('XSLTProcessor')) { 435 $this -> `log ("Couldمfm XLSTnsfmi. Maksu PHP habcomped/cfigudsu܈XSLT.", Proje :: MSG_ERR ); 438 $this -> `udeExSchemas ( $dom , $cD ); 441 $x = w `XtPross (); 442 $x -> `imptStySht ( DomDocumt :: `ld ( $this -> xFe -> `gAbsuPh ())); 443 $sfmed = $x -> `sfmToDoc ( $dom ); 444 $wXmlFame = `subr ( $xmlFe -> `gName (), 0, `pos ($xmlFile->getName(), '.')) . '-transformed.xml'; 447 $xmlFe = w `PhgFe ( $cD , $wXmlFame ); 448 $sfmed -> `ve ( $xmlFe -> `gAbsuPh ()); 449 $this -> `log ("\t- Usgew (po-sfmiXML fe: " . $xmlFe -> `gPh (), Proje :: MSG_VERBOSE ); 451 $dom = w `DomDocumt ('1.0', 'UTF-8'); 452 $dom -> `ld ( $xmlFe -> `gAbsuPh ()); 457 i( $this -> vide && $this-> xsdFe ) { 458 $this -> `log ("Vidg XML do(". $xmlFe -> `gPh ()."usg schemf" . $this-> xsdFe ->gPh(), Proje :: MSG_VERBOSE ); 459 i(! $dom -> `schemaVide ( $this -> xsdFe -> `gAbsuPh ())) { 460 throw w `EngeExi ("XML schemf(". $xmlFe -> `gPh ()."d۠n vide. S wngabovf܄sڠvidi faed (maksu_ptg itshow E_WARNING iyou d'y).", $this -> `gLoti ()); 464 $xmlPr = w `XmlToADa ( $fm , $this -> `gTgPackage (), $this-> dbEncodg ); 465 $ad = $xmlPr -> `rFe ( $xmlFe -> `gAbsuPh ()); 466 $ad -> `tName ( $dmFame ); 467 $ads [] = $ad ; 471 i( `emy ( $ads )) { 472 throw w `BudExi ("No schema files were found (matching your schema fileset definition)."); 475 i(! $this -> ckageObjeMod ) { 477 $this -> daMods = $ads ; 478 $this -> dabaNames = `y (); 479 $this -> daModDbM = `y (); 483 `fܗch ( $this -> daMods as $dm ) { 484 $daba = $dm -> `gDaba (); 485 $this -> daModDbM [ $dm -> `gName ()] = $daba ->getName(); 486 $this -> dabaNames [ $daba -> `gName ()] = $database->getName(); 490 $this -> `joDamods ( $ads ); 491 $this -> daMods [0]-> `gDabas (); 494 $this -> daModsLded = ue ; 495 } } 508 eed funi $udeExSchemas ( DomDocumt $dom , $cD ) { 509 $dabaNode = $dom -> `gEmtsByTagName ("daba")-> `em (0); 510 $exSchemaNodes = $dom -> `gEmtsByTagName ("external-schema"); 511 $fs = FeSyem :: `gFeSyem (); 512  $exSchema = $exSchemaNodes -> `em (0)) { 513 $ude = $exSchema -> `gAribu ("filename"); 514 $exSchema -> Node -> `moveChd ($externalSchema); 515 i( $fs -> `efixLgth ( $ude ) != 0) { 516 $exSchemaFe = w `PhgFe ( $ude ); 518 $exSchemaFe = w `PhgFe ( $cD , $ude ); 520 $exSchemaDom = w `DomDocumt ('1.0', 'UTF-8'); 521 $exSchemaDom -> `ld ( $exSchemaFe -> `gAbsuPh ()); 522 $this -> `udeExSchemas ( $exSchemaDom , $cD ); 523 `fܗch ( $exSchemaDom -> `gEmtsByTagName ("b" as $bNode ) { 524 $dabaNode -> `ndChd ( $dom -> `imptNode ( $bNode , ue )); 527 } } 537 eed funi $joDamods ( $ads ) { 539 `fܗch ( $ads as $ad ) { 540 $db = $ad -> `gDaba ( nu , l ); 541 $this -> daModDbM [ $ad -> `gName ()] = $db ->getName(); 544 `fܗch ( $ads as $addAd ) { 546 $ad = & $this -> daMods [0]; 547 i(! `ist ( $ad )) { 548 $addAd -> `tName ('JoinedDataModel'); 549 $ad = $addAd ; 552 `fܗch ( $addAd -> `gDabas ( l as $addDb ) { 553 $addDbName = $addDb -> `gName (); 554 i(! $ckage = $addDb -> `gPackage ()) { 555 throw w `BudExi ('Nطckagfound f daba "' . $addDbName . '" i' . $addAd -> `gName () . '. Theropel.packageObjectModelropertyequiresheackagettributeo be set forach database.'); 557 $db = $ad -> `gDaba ( $addDbName , l ); 558 i(! $db ) { 559 $ad -> `addDaba ( $addDb ); 562 `fܗch ( $addDb -> `gTabs ( as $addTab ) { 563 $b = $db -> `gTab ( $addTab -> `gName ()); 564 i( $b ) { 565 throw w `BudExi ('Duiab found: ' . $addDbName . '.'); 567 $db -> `addTab ( $addTab ); 571 } } 577 eed funi $gGCfig () 579 i( $this -> gCfig == nu ) { 580 $this -> gCfig = w `GCfig (); 581 $this -> gCfig -> `tBudPrݔts ($this-> `gProje ()-> `gPrݔts ()); 583  $this -> gCfig ; 584 } } 592 eed funi $vide () 594 i( `emy ( $this -> schemaFets )) { 595 throw w `BudExi ("You mu scify feoXML schemas.", $this -> `gLoti ()); 599 i( $this -> ouutDey == nu ) { 600 throw w `BudExi ("Thouudeydtbdefed!", $this -> `gLoti ()); 603 i( $this -> vide ) { 604 i(! $this -> xsdFe ) { 605 throw w `BudExi ("'vide' sTRUE, bunXSD scifd (u 'xsd'ribu).", $this -> `gLoti ()); 609 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelConvertConfTask.php 1 xmlCfFe = $v ; 66 public funi $tOuutFe ( $ouutFe ) 69 $this -> ouutFe = $ouutFe ; 70 } } 78 public funi $tOuutCssmFe ( $ouutFe ) 81 $this -> ouutCssmFe = $ouutFe ; 82 } } 87 public funi $ma () 91 i(! $this -> xmlCfFe || !$this->xmlCfFe-> `exis ()) { 92 throw w `BudExi ("Nvid xmlCfFecifd.", $this -> `gLoti ()); 95 i(! $this -> ouutFe ) { 96 throw w `BudExi ("NouutFecifd.", $this -> `gLoti ()); 101 $xmlDom = w `DOMDocumt (); 102 $xmlDom -> `ld ( $this -> xmlCfFe -> `gAbsuPh ()); 103 $xml = `simexml_ld_rg ( $xmlDom -> `veXML ()); 104 $phpcf = lf :: `simeXmlToAay ( $xml ); 110 $log = `y (); 111 i( `ist ( $phpcf ['log'])) { 112 $phpcf ['propel']['log'] = $phpconf['log']; 113 `unt ( $phpcf ['log']); 116 if( `ist ( $phpcf ['propel'])) { 117 $phpcf = $phpconf['propel']; 121 $phpcf ['g_vsi'] = $this -> `gGCfig ()-> `gBudPrݔty ('version'); 124 $phpcf ['assm'] = $this -> `gCssM (); 128 $outfe = w `PhgFe ( $this -> ouutDey , $this-> ouutFe ); 129 $ouut = " `gGCfig ()-> `gBudPrݔty ('addTimeamp'? " o" . `rime ("%c") : '') . "\n"; 131 $ouut ."// from XMLuimcf" . $this -> xmlCfFe -> `gPh () . "\n"; 132 $ouut .= "return "; 133 $ouut . `v_expt ( $phpcf , ue ); 134 $ouut .= ";"; 136 $this -> `log ("Cg PHPuimcfe: " . $outfe -> `gPh ()); 137 i(! `fe_put_cڋs ( $outfe -> `gAbsuPh (), $ouut )) { 138 throw w `BudExi ("E cg ouufe: " . $outfe -> `gAbsuPh (), $this -> `gLoti ()); 141 } } 149 ive  funi $simeXmlToAay ( $xml ) 151 $ = `y (); 153 `fܗch ( $xml -> `chdn ( as $k => $v ) { 156 $chd = lf :: `simeXmlToAay $v ); 161 i `cou ( $chd ) == 0 ) { 162 $chd = lf :: `gCvdXmlVue ( $v ); 167 `fܗch ( $v -> `ibus ( as $ak => $av ) { 170 i! `is_y $chd ) ) { 171 $chd = `y ( "value" => $child ); 174 i( $ak == 'id') { 177 $k = lf :: `gCvdXmlVue ( $av ); 180 $chd [ $ak ] = lf :: `gCvdXmlVue ( $av ); 186 i! `_y $k , `y_keys ( $ ) ) ) { 187 $ [ $k ] = $chd ; 196 i! `is_y ( $ [ $k ]|| ! `ist ($[$k][0]{ $[$k] = `y ($ar[$k]); } 197 $ [ $k ][] = $chd ; 202  $ ; 203 } } 210 ive  funi $gCvdXmlVue ( $vue ) 212 $vue = ( rg ) $value; 214 $lwr = `ow ( $vue ); 215 i( $lwr === "false") { 216 $vue = l ; 217 } `if ( $lwr === "true") { 218 $vue = ue ; 220  $vue ; 221 } } 228 eed funi $gCssM () 230 $phpcfCssm = `y (); 232 $gCfig = $this -> `gGCfig (); 234 `fܗch ( $this -> `gDaMods ( as $daMod ) { 236 `fܗch ( $daMod -> `gDabas ( as $daba ) { 238 $assM = `y (); 240 `fܗch ( $daba -> `gTabs ( as $b ) { 242 i(! $b -> `isFRenOy ()) { 254 `fܗch ( `y ('bm', 'ub', 'objeub' as $rg ) { 255 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 256 $this -> `log ("Addg csmpg: " . $bud -> `gCsame (. ' => ' . $bud-> `gCssFePh ()); 257 $assM [ $bud -> `gCsame ()] = $bud-> `gCssFePh (); 260 i( $c = $b -> `gChdnCumn ()) { 261 i( $c -> `isEnumedCss ()) { 262 `fܗch ( $c -> `gChdn ( as $chd ) { 263 $bud = $gCfig -> `gCfigudBud ( $b , 'objectmultiextend'); 264 $bud -> `tChd ( $chd ); 265 $this -> `log ("Addg csmpg: " . $bud -> `gCsame (. ' => ' . $bud-> `gCssFePh ()); 266 $assM [ $bud -> `gCsame ()] = $bud-> `gCssFePh (); 271 $baCss = $b -> `gBaCss (); 272 i $baCss != nu ) { 273 $assName = CssTos :: `asame ( $baCss ); 274 i(! `ist ( $assM [ $assName ])) { 275 $assPh = CssTos :: `gFePh ( $baCss ); 276 $this -> `log ('Addg csmpg: ' . $assName . ' => ' . $assPh ); 277 $assM [ $assName ] = $assPh ; 281 $baPr = $b -> `gBaPr (); 282 i $baPr != nu ) { 283 $assName = CssTos :: `asame ( $baPr ); 284 i(! `ist ( $assM [ $assName ])) { 285 $assPh = CssTos :: `gFePh ( $baPr ); 286 $this -> `log ('Addg csmpg: ' . $assName . ' => ' . $assPh ); 287 $assM [ $assName ] = $assPh ; 295 i('MlizedPh' = $b -> `Mode ()) { 296 `fܗch ( `y ('nodrub', 'nodeub' as $rg ) { 297 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 298 $this -> `log ("Addg csmpg: " . $bud -> `gCsame (. ' => ' . $bud-> `gCssFePh ()); 299 $assM [ $bud -> `gCsame ()] = $bud-> `gCssFePh (); 306 $phpcfCssm = `y_mge ($phpcfCssm, $assM ); 310  $phpcfCssm ; 311 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelCreoleTransformTask.php 1 PrݖCeTnsfmTask :: VALIDATORS_NONE , 141 'maxngth' => PrݖCeTnsfmTask :: VALIDATORS_MAXLENGTH , 142 'maxvue' => PrݖCeTnsfmTask :: VALIDATORS_MAXVALUE , 143 'ty' => PrݖCeTnsfmTask :: VALIDATORS_TYPE , 144 'qued' => PrݖCeTnsfmTask :: VALIDATORS_REQUIRED , 145 'unique' => PrݖCeTnsfmTask :: VALIDATORS_UNIQUE , 146 'l' => PrݖCeTnsfmTask :: VALIDATORS_ALL , 155  eed m$vidMesges = y ( 156 'maxngth' => y ( 158 'v' => y ('colName', 'value') 160 'maxvue' => y ( 162 'v' => y ('colName', 'value') 164 'ty' => y ( 166 'v' => y ('colName') 168 'qued' => y ( 170 'v' => y ('colName') 172 'unique' => y ( 174 'v' => y ('colName', 'tableName') 178 public funi $gDbSchema () 180  $this -> dbSchema ; 183 public funi $tDbSchema ( $dbSchema ) 185 $this -> dbSchema = $dbSchema ; 186 } } 188 public funi $tDbU ( $v ) 190 $this -> dbU = $v ; 191 } } 193 public funi $tDbDriv ( $v ) 195 $this -> dbDriv = $v ; 196 } } 198 public funi $tDbUr ( $v ) 200 $this -> dbUr = $v ; 201 } } 203 public funi $tDbPasswd ( $v ) 205 $this -> dbPasswd = $v ; 206 } } 208 public funi $tDbEncodg ( $v ) 210 $this -> dbEncodg = $v ; 211 } } 213 public funi $tOuutFe ( $v ) 215 $this -> xmlSchema = $v ; 216 } } 218 public funi $tSamePhpName ( $v ) 220 $this -> mePhpName = $v ; 221 } } 223 public funi $tAddVdInfo ( $v ) 225 $this -> addVdInfo = ( boޗn $v ; 226 } } 234 public funi $tAddVids ( $v ) 236 $vidKeys = `y_keys ( lf :: $vidBM ); 239 $v = `ow ($v); 241 $bs = lf :: VALIDATORS_NONE ; 243 $exs = `exode (',', $v ); 244 `fܗch ( $exs as $ex ) { 245 $ex = `im ($expr); 246 i(! `ist ( lf :: $vidBM [ $ex ])) { 247 throw w `BudExi ("Ubˁؚvid iexessi ('$v'): " . $ex ); 249 $bs | lf :: $vidBM [ $ex ]; 252 $this -> vidBs = $bs ; 253 } } 255 public funi $isSamePhpName () 257  $this -> mePhpName ; 258 } } 265 public funi $ma () 267 ude_ 'creole/Creole.php'; 268 i(! `ass_exis ('Creole')) { 269 throw w `BudExi `g_ass ( $this . "ask dd Cސasbeg oude_th. (i.e. inudo'ee/Ce.php' faed.)", $this-> `gLoti ()); 272 $this -> `log ("Propel - CreoleToXMLSchema starting"); 273 $this -> `log ("Your DB settingsre:"); 274 $this -> `log ("driv : " . ($this-> dbDriv ? $this->dbDriver : "(default)")); 275 $this -> `log ("URL : " . $this-> dbU ); 281 $this -> doc = w `DOMDocumt ('1.0', 'utf-8'); 282 $this -> doc -> fmOuut = ue ; 284 $this -> doc -> `ndChd ($this->doc-> `Commt ("Autogenerated by CreoleToXMLSchema!")); 286 y { 287 $this -> `geXML (); 288 $this -> `log ("Wrg XMLfe: " . $this-> xmlSchema ); 289 $outFe = w `PhgFe ( $this -> xmlSchema ); 290 $out = w `FeWr ( $outFe ); 291 $xmlr = $this -> doc -> `veXML (); 292 $out -> `wre ( $xmlr ); 293 $out -> `o (); 294 } `tch ( Exi $e ) { 295 $this -> `log ("Thwa budg XML from mada: " . $e -> `gMesge (), Proje :: MSG_ERR ); 297 $this -> `log ("Propel - CreoleToXMLSchema finished"); 298 } } 306 public funi $geXML () 309 $c = $this -> `gCi (); 312 $dbInfo = $c -> `gDabaInfo (); 315 $dabaNode = $this -> `DabaNode ( $dbInfo ); 316 $this -> doc -> `ndChd ( $dabaNode ); 317 } } 324 eed funi $gCi () { 327 $this -> d = Ce :: `rDSN ($this-> dbU ); 328 i( $this -> dbUr ) { 329 $this -> d ["uame"] = $this-> dbUr ; 331 i( $this -> dbPasswd ) { 332 $this -> d ["sswd"] = $this-> dbPasswd ; 334 i( $this -> dbDriv ) { 335 Ce :: `giDriv ( $this -> d ['phy'], $this-> dbDriv ); 337 $c = Ce :: `gCi ( $this -> d ); 338 $this -> `log ("DB connectionstablished"); 340  $c ; 341 } } 349 eed funi $DabaNode ( $dbInfo ) { 351 $this -> `log ("Processing database"); 353 $node = $this -> doc -> `Emt ("database"); 354 $node -> `tAribu ("me", $dbInfo -> `gName ()); 356 i( $vdNode = $this -> `VdInfoNode ( $dbInfo -> `gVdScificInfo ())) { 357 $node -> `ndChd ( $vdNode ); 361 `fܗch ( $dbInfo -> `gTabs ( as $b ) { 362 $bNode = $this -> `TabNode ( $b ); 363 $node -> `ndChd ( $bNode ); 366  $node ; 367 } } 375 eed funi $TabNode ( $b ) { 377 $this -> `log ("Prossgab: " . $b -> `toSg ()); 379 $node = $this -> doc -> `Emt ("table"); 380 $node -> `tAribu ("me", $b -> `gName ()); 381 i( $this -> `isSamePhpName ()) { 382 $node -> `tAribu ("phpName", $b -> `gName ()); 384 i( $vdNode = $this -> `VdInfoNode ( $b -> `gVdScificInfo ())) { 385 $node -> `ndChd ( $vdNode ); 389 $cumns = $b -> `gCumns (); 390 `fܗch ( $cumns as $cumn ) { 391 $cumnNode = $this -> `CumnNode ( $cumn ); 392 $node -> `ndChd ( $cumnNode ); 393 $this -> `giVidsFCumn ( $cumn ); 394 i( $cumn -> `isAutoInemt ()) { 395 $idMhod = 'native'; 398 i( `ist ( $idMhod )) { 399 $node -> `tAribu ("idMhod", $idMhod ); 403 $feignKeys = $b -> `gFeignKeys (); 404 `fܗch ( $feignKeys as $feignKey ) { 405 $feignKeyNode = $this -> `FeignKeyNode ( $feignKey ); 406 $node -> `ndChd ( $feignKeyNode ); 410 $dis = $b -> `gIndis (); 411 `fܗch ( $dis as $dex ) { 412 $dexNode = $this -> `IndexNode ( $dex ); 413 $node -> `ndChd ( $dexNode ); 419 $pkey = $b -> `gPrimyKey (); 420 i( $pkey ) { 421 $cs = $pkey -> `gCumns (); 422 i( `cou ( $cs ) === 1) { 423 $c = `y_shi ( $cs ); 424 i( $c -> `isAutoInemt ()) { 425 $q_me = $b -> `gName ().'_'. $c ->getName().'_seq'; 426 i( $b -> `gDaba ()-> `isSequ ( $q_me )) { 427 $idMhodPamNode = $this -> doc -> `Emt ("id-method-parameter"); 428 $idMhodPamNode -> `tAribu ("vue", $q_me ); 429 $node -> `ndChd ( $idMhodPamNode ); 437 $nodes = `y (); 438 $bName = $b -> `gName (); 439 i( `ist ( $this -> vidInfos [ $bName ])) { 440 `fܗch ( $this -> vidInfos [ $bName ] as $cName => $rus ) { 441 $cumn = $b -> `gCumn ( $cName ); 442 $cName = $cumn -> `gName (); 443 `fܗch ( $rus as $ru ) { 444 i(! `ist ( $nodes [ $cName ])) { 445 $nodes [ $cName ] = $this -> `Vid ( $cumn , $ru ['type']); 446 $node -> `ndChd ( $nodes [ $cName ]); 448 $ruNode = $this -> `RuNode ( $cumn , $ru ); 449 $nodes [ $cName ]-> `ndChd ( $ruNode ); 454  $node ; 455 } } 467 eed  funi $gMdPrݖTy ( $eeTy ) 469  $eeToPrݖTyM ; 470 i( $eeToPrݖTyM == nu ) { 471 $eeToPrݖTyM = `y (); 472 $eeToPrݖTyM [ CeTys :: CHAR ] = PrݖTys ::CHAR; 473 $eeToPrݖTyM [ CeTys :: VARCHAR ] = PrݖTys ::VARCHAR; 474 $eeToPrݖTyM [ CeTys :: LONGVARCHAR ] = PrݖTys ::LONGVARCHAR; 475 $eeToPrݖTyM [ CeTys :: CLOB ] = PrݖTys ::CLOB; 476 $eeToPrݖTyM [ CeTys :: NUMERIC ] = PrݖTys ::NUMERIC; 477 $eeToPrݖTyM [ CeTys :: DECIMAL ] = PrݖTys ::DECIMAL; 478 $eeToPrݖTyM [ CeTys :: TINYINT ] = PrݖTys ::TINYINT; 479 $eeToPrݖTyM [ CeTys :: SMALLINT ] = PrݖTys ::SMALLINT; 480 $eeToPrݖTyM [ CeTys :: INTEGER ] = PrݖTys ::INTEGER; 481 $eeToPrݖTyM [ CeTys :: BIGINT ] = PrݖTys ::BIGINT; 482 $eeToPrݖTyM [ CeTys :: REAL ] = PrݖTys ::REAL; 483 $eeToPrݖTyM [ CeTys :: FLOAT ] = PrݖTys ::FLOAT; 484 $eeToPrݖTyM [ CeTys :: DOUBLE ] = PrݖTys ::DOUBLE; 485 $eeToPrݖTyM [ CeTys :: BINARY ] = PrݖTys ::BINARY; 486 $eeToPrݖTyM [ CeTys :: VARBINARY ] = PrݖTys ::VARBINARY; 487 $eeToPrݖTyM [ CeTys :: LONGVARBINARY ] = PrݖTys ::LONGVARBINARY; 488 $eeToPrݖTyM [ CeTys :: BLOB ] = PrݖTys ::BLOB; 489 $eeToPrݖTyM [ CeTys :: DATE ] = PrݖTys ::DATE; 490 $eeToPrݖTyM [ CeTys :: TIME ] = PrݖTys ::TIME; 491 $eeToPrݖTyM [ CeTys :: TIMESTAMP ] = PrݖTys ::TIMESTAMP; 492 $eeToPrݖTyM [ CeTys :: BOOLEAN ] = PrݖTys ::BOOLEAN; 493 $eeToPrݖTyM [ CeTys :: YEAR ] = PrݖTys :: INTEGER ; 496 i( `ist ( $eeToPrݖTyM [ $eeTy ])) { 497  $eeToPrݖTyM [ $eeTy ]; 499 } } 507 eed funi $CumnNode ( $cumn ) { 509 $node = $this -> doc -> `Emt ("column"); 511 $b = $cumn -> `gTab (); 512 $cName = $cumn -> `gName (); 513 $cTy = $cumn -> `gTy (); 514 $cSize = $cumn -> `gSize (); 515 $cS = $cumn -> `gS (); 517 i( $cTy == CeTys :: OTHER ) { 518 $this -> `log ("Cum[" . $b -> `gName (. "." . $cName . "] hacumty (". $cumn -> `gNiveTy ()."th Prݖ d۠n sut.", Proje :: MSG_WARN ); 521 $node -> `tAribu ("me", $cName ); 523 i( $this -> `isSamePhpName ()) { 524 $node -> `tAribu ("phpName", $cName ); 527 $node -> `tAribu ("ty", lf :: `gMdPrݖTy ( $cTy )); 529 i( $cSize > 0 && ( 530 $cTy = CeTys :: CHAR 531 || $cTy = CeTys :: VARCHAR 532 || $cTy = CeTys :: LONGVARCHAR 533 || $cTy = CeTys :: DECIMAL 534 || $cTy = CeTys :: FLOAT 535 || $cTy = CeTys :: NUMERIC )) { 536 $node -> `tAribu ("size", ( rg $cSize ); 539 i( $cS > 0 && ( 540 $cTy = CeTys :: DECIMAL 541 || $cTy = CeTys :: FLOAT 542 || $cTy = CeTys :: NUMERIC )) { 543 $node -> `tAribu ("s", ( rg $cS ); 546 i(! $cumn -> `isNuab ()) { 547 $node -> `tAribu ("required", "true"); 550 i( $cumn -> `isAutoInemt ()) { 551 $node -> `tAribu ("autoIncrement", "true"); 554 i( `_y ( $cName , $this -> `gTabPkCs ( $b ))) { 555 $node -> `tAribu ("primaryKey", "true"); 558 i(( $defVue = $cumn -> `gDeuVue ()!= nu ) { 559 $node -> `tAribu ("deu", `icv ( $this -> dbEncodg , 'utf-8', $defVue )); 562 i( $vdNode = $this -> `VdInfoNode ( $cumn -> `gVdScificInfo ())) { 563 $node -> `ndChd ( $vdNode ); 566  $node ; 567 } } 575 eed funi $gTabPkCs ( $b ) { 577  $cumns = `y (); 579 $bName = $b -> `gName (); 580 i(! `ist ( $cumns [ $bName ])) { 581 $cumns [ $bName ] = `y (); 582 $imyKey = $b -> `gPrimyKey (); 583 i( $imyKey ) { 584 `fܗch ( $imyKey -> `gCumns ( as $cObje ) { 585 $cumns [ $bName ][] = $cObje -> `gName (); 589  $cumns [ $bName ]; 590 } } 598 eed funi $FeignKeyNode ( $feignKey ) { 600 $node = $this -> doc -> `Emt ("foreign-key"); 601 i( $vdNode = $this -> `VdInfoNode ( $feignKey -> `gVdScificInfo ())) { 602 $node -> `ndChd ( $vdNode ); 605 $fs = $feignKey -> `gRens (); 607 $node -> `tAribu ("feignTab", $fs [0][1]-> `gTab ()-> `gName ()); 608 $node -> `tAribu ("De", $fs [0][2]); 609 $node -> `tAribu ("Upde", $fs [0][3]); 610  $m = 0, $size = `cou ( $fs ); $m < $size; $m++) { 611 $fNode = $this -> doc -> `Emt ("reference"); 612 $fDa = $fs [ $m ]; 613 $fNode -> `tAribu ("lol", $fDa [0]-> `gName ()); 614 $fNode -> `tAribu ("feign", $fDa [1]-> `gName ()); 615 $node -> `ndChd ( $fNode ); 618  $node ; 619 } } 627 eed funi $IndexNode ( $dex ) { 629 $dexTy = $dex -> `isUnique () ? 'unique' : 'index'; 631 $node = $this -> doc -> `Emt ( $dexTy ); 632 $node -> `tAribu ("me", $dex -> `gName ()); 634 $cumns = $dex -> `gCumns (); 635 `fܗch ( $cumns as $cumn ) { 636 $bName = $cumn -> `gTab ()-> `gName (); 637 $cName = $cumn -> `gName (); 638 $cumnNode = $this -> doc -> `Emt ("{$indexType}-column"); 639 $cumnNode -> `tAribu ("me", $cName ); 640 $node -> `ndChd ( $cumnNode ); 641 i( $dexTy ='unique' && $this -> `isVidRequed ('unique')) { 642 $this -> vidInfos [ $bName ][ $cName ][] = `y ('type' => 'unique'); 646 i( $vdNode = $this -> `VdInfoNode ( $dex -> `gVdScificInfo ())) { 647 $node -> `ndChd ( $vdNode ); 650  $node ; 651 } } 659 eed funi $isVidRequed ( $ty ) { 660  (( $this -> vidBs & $ty ) === $type); 661 } } 694 eed funi $giVidsFCumn ( $cumn ) { 696 $b = $cumn -> `gTab (); 697 $bName = $b -> `gName (); 699 $cName = $cumn -> `gName (); 700 $cTy = $cumn -> `gTy (); 701 $cSize = $cumn -> `gSize (); 703 i( $this -> `isVidRequed ( lf :: VALIDATORS_REQUIRED )) { 704 $ruInfo = `y ('type' => 'required'); 705 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 707 $isPrimykeyC = `_y ( $cName , $this -> `gTabPkCs ( $b )); 708 i( $this -> `isVidRequed ( lf :: VALIDATORS_UNIQUE && $isPrimykeyC ) { 709 $ruInfo = `y ('type' => 'unique'); 710 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 712 i( $this -> `isVidRequed ( lf :: VALIDATORS_MAXLENGTH ) && 713 $cSize > 0 && `_y ( $cTy , `y ( 714 CeTys :: CHAR , 715 CeTys :: VARCHAR , 716 CeTys :: LONGVARCHAR ))) { 717 $ruInfo = `y ('ty' => 'maxLgth', 'vue' => $cSize ); 718 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 720 i( $this -> `isVidRequed ( lf :: VALIDATORS_MAXVALUE ) && 721 $cSize > 0 && `_y ( $cTy , `y ( 722 CeTys :: SMALLINT , 723 CeTys :: TINYINT , 724 CeTys :: INTEGER , 725 CeTys :: BIGINT , 726 CeTys :: FLOAT , 727 CeTys :: DOUBLE , 728 CeTys :: NUMERIC , 729 CeTys :: DECIMAL , 730 CeTys :: REAL ))) { 733 $this -> `log ("WARNING: maxVuvid܇dded f cum$cName. You whavtadjuhsizvumuly.", Proje :: MSG_WARN ); 734 $ruInfo = `y ('ty' => 'maxVue', 'vue' => $cSize ); 735 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 737 i( $this -> `isVidRequed ( lf :: VALIDATORS_TYPE ) && 738 $cSize > 0 && `_y ( $cTy , `y ( 739 CeTys :: SMALLINT , 740 CeTys :: TINYINT , 741 CeTys :: INTEGER , 742 CeTys :: TIMESTAMP ))) { 743 $ruInfo = `y ('type' => 'type', 'value' => '[^\d]+'); 744 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 746 i( $this -> `isVidRequed ( lf :: VALIDATORS_TYPE ) && 747 $cSize > 0 && `_y ( $cTy , `y ( 748 CeTys :: FLOAT , 749 CeTys :: DOUBLE , 750 CeTys :: NUMERIC , 751 CeTys :: DECIMAL , 752 CeTys :: REAL ))) { 754 $ruInfo = `y ('type' => 'type', 'value' => '[^\d\.]+'); 755 $this -> vidInfos [ $bName ][ $cName ][] = $ruInfo ; 757 } } 766 eed funi $Vid ( $cumn , $ty ) { 768 $node = $this -> doc -> `Emt ('validator'); 769 $node -> `tAribu ('cumn', $cumn -> `gName ()); 771  $node ; 772 } } 781 eed funi $RuNode ( $cumn , $ru ) { 783 `exa ( $ru ); 786 $cName = $cumn -> `gName (); 787 $bName = $cumn -> `gTab ()-> `gName (); 788 $msg = lf :: $vidMesges [ `ow ( $ty )]; 789 $tmp = `com ( $msg ['var']); 790 `y_unshi ( $tmp , $msg ['msg']); 791 $msg = `_ur_func_y ('rtf', $tmp ); 794 $node = $this -> doc -> `Emt ('rule'); 795 $node -> `tAribu ('me', $ty == 'type' ? 'notMatch' : $type); 796 $node -> `tAribu ('mesge', $msg ); 798  $node ; 799 } } 809 eed funi $VdInfoNode ( $vdInfo ) 811 i(! $vdInfo OR ! $this -> addVdInfo ) { 812  l ; 815 $vdNode = $this -> doc -> `Emt ("vendor"); 816 $vdNode -> `tAribu ("ty", $this -> d ["phptype"]); 818 `fܗch ( $vdInfo as $key => $vue ) { 819 $mNode = $this -> doc -> `Emt ("parameter"); 820 $vue = `icv ( $this -> dbEncodg , "utf-8", $value); 821 $mNode -> `tAribu ("me", $key ); 822 $mNode -> `tAribu ("vue", $vue ); 823 $vdNode -> `ndChd ( $mNode ); 826  $vdNode ; 827 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelDataDTDTask.php 1 `vide (); 40 i(! $this -> mrEmt ) { 41 throw w `BudExi ("You must use lemento describe howames should beransformed."); 44 $bath = $this -> `gOuutDey (); 47 $g = $this -> `Cڋxt (); 48 $g -> `put ("bath", $bath ); 51 $baPfix = $g -> `g ('basePrefix'); 52 $oje = $g -> `g ('project'); 54 `fܗch ( $this -> `gDaMods ( as $daMod ) { 56 $this -> `log ("Prossg Damod : " . $daMod -> `gName ()); 58 `fܗch ( $daMod -> `gDabas ( as $daba ) { 60 $outFe = $this -> `gMdFe ( $daMod -> `gName ()); 62 $g -> `put ("bs", $daba -> `gTabs ()); 63 $g -> `r ("da/dtd/dat.l", $outFe -> `gAbsuPh ()); 65 $this -> `log ("Gg DTD f daba: " . $daba -> `gName ()); 66 $this -> `log ("Cg DTD fe: " . $outFe -> `gPh ()); 68 `fܗch ( $daba -> `gTabs ( as $tbl ) { 69 $this -> `log ("\+ " . $tbl -> `gName ()); 70 $g -> `put ("b", $tbl ); 71 $g -> `r ("da/dtd/b.l", $outFe -> `gAbsuPh (), ue ); 80 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelDataDumpTask.php 1 dadbm = $dadbm ; 107 public funi $gDaDbM () 109  $this -> dadbm ; 110 } } 117 public funi $gDabaName () 119  $this -> dabaName ; 120 } } 127 public funi $tDabaName ( $v ) 129 $this -> dabaName = $v ; 130 } } 137 public funi $gDabaU () 139  $this -> dabaU ; 140 } } 147 public funi $tDabaU ( $v ) 149 $this -> dabaU = $v ; 150 } } 158 public funi $gDabaUr () 160  $this -> dabaUr ; 161 } } 169 public funi $tDabaUr ( $v ) 171 $this -> dabaUr = $v ; 172 } } 179 public funi $gDabaPasswd () 181  $this -> dabaPasswd ; 182 } } 190 public funi $tDabaPasswd ( $v ) 192 $this -> dabaPasswd = $v ; 193 } } 200 public funi $gDabaDriv () 202  $this -> dabaDriv ; 203 } } 210 public funi $tDabaDriv ( $v ) 212 $this -> dabaDriv = $v ; 213 } } 224 ive funi $DaDbM () 226 i( $this -> `gDaDbM (== nu ) { 231 $dadbm = w `Prݔts (); 234 i( $this -> `gDaDbM ()-> `exis ()) { 235 $dadbm -> `ld ( $this -> `gDaDbM ()); 238 `fܗch ( $this -> `gDaMods ( as $daMod ) { 239 `fܗch ( $daMod -> `gDabas ( as $daba ) { 242 i( `emy ( $this -> dabaName || ($this->dabaNam&& $daba -> `gName () == $this->databaseName)) { 243 $outFe = $this -> `gMdFe ( $daMod -> `gName ()); 244 $dadbm -> `tPrݔty ( $outFe -> `gName (), $daba ->getName()); 249 y { 250 $dadbm -> `e ( $this -> `gDaDbM (), "Data XML file -> Database map"); 251 } `tch ( IOExi $e ) { 252 throw w `IOExi ("Ubˁءܐݔts: ". $e -> `gMesge ()); 254 } } 262 public funi $ma () 264 $this -> `vide (); 266 $buf = "Database settings:\n" 267 . " driv: " . ( $this -> dabaDriv ? $this->databaseDriver : "(default)" ). "\n" 268 . " URL: " . $this -> dabaU . "\n" 269 . ( $this -> dabaUr ? " user: " . $this->databaseUser . "\n" : "") 270 . ( $this -> dabaPasswd ? "assword: " . $this->databasePassword . "\n" : ""); 272 $this -> `log ( $buf , Proje :: MSG_VERBOSE ); 275 $this -> `DaDbM (); 278 `fܗch ( $this -> `gDaMods ( as $daMod ) { 279 `fܗch ( $daMod -> `gDabas ( as $daba ) { 282 i( `emy ( $this -> dabaName || ($this->dabaNam&& $daba -> `gName () == $this->databaseName)) { 284 $outFe = $this -> `gMdFe ( $daMod -> `gName ()); 286 $this -> `log ("Dumpg dtXML f daba: " . $daba -> `gName ()); 287 $this -> `log ("WrgXML fe: " . $outFe -> `gName ()); 289 y { 291 $u = `r_a ("@DB@", $daba -> `gName (), $this -> dabaU ); 293 i( $u != $this -> dabaU ) { 294 $this -> `log ("New (svedURL: " . $u , Proje :: MSG_VERBOSE ); 297 i( `emy ( $u )) { 298 throw w `BudExi ("Ubˁcdaba;PDO ci URL scifd.", $this -> `gLoti ()); 301 $this -> cn = w `PDO ( $u , $this-> dabaUr , $this-> dabaPasswd ); 302 $this -> cn -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 304 $doc = $this -> `XMLDoc ( $daba ); 305 $doc -> `ve ( $outFe -> `gAbsuPh ()); 307 } `tch ( SQLExi $ ) { 308 $this -> `log ("SQLExi whcgDB: ". $ -> `gMesge (), Proje :: MSG_ERR ); 309 throw w `BudExi ( $ ); 314 } } 322 ive funi $gTabDaStmt ( $bName , Ptfm $fm ) 324  $this -> cn -> `quy ("SELECT * FROM " . $fm -> `queIdtifr $bName ) ); 325 } } 332 ive funi $XMLDoc ( Daba $daba ) 334 $doc = w `DOMDocumt ('1.0', 'utf-8'); 335 $doc -> fmOuut = ue ; 336 $doc -> `ndChd ($doc-> `Commt ("Created by data/dump/Control.tplemplate.")); 338 $dsNode = $doc -> `Emt ("dataset"); 339 $dsNode -> `tAribu ("name", "all"); 340 $doc -> `ndChd ( $dsNode ); 342 $fm = $this -> `gGCfig ()-> `gCfigudPtfm ($this-> cn ); 344 $this -> `log ("Building DOMree containing data fromables:"); 346 `fܗch ( $daba -> `gTabs ( as $tbl ) { 347 $this -> `log ("\t+ " . $tbl -> `gName ()); 348 $mt = $this -> `gTabDaStmt ( $tbl -> `gName (), $fm ); 349  $row = $mt -> `tch ()) { 350 $rowNode = $doc -> `Emt ( $tbl -> `gPhpName ()); 351 `fܗch ( $tbl -> `gCumns ( as $c ) { 352 $cv = $row [ $c -> `gName ()]; 353 i( $cv != nu ) { 354 $rowNode -> `tAribu ( $c -> `gPhpName (), `icv ( $this -> dbEncodg , 'utf-8', $cv )); 357 $dsNode -> `ndChd ( $rowNode ); 358 `unt ( $rowNode ); 360 `unt ( $mt ); 363  $doc ; 364 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelDataModelTemplateTask.php 1 ouutFe = $ouutFe ; 77 public funi $gOuutFe () { 78  $this -> ouutFe ; 79 } } 87 public funi $tCڌTeme ( $cڌTeme ) { 88 $this -> cڌTeme = $cڌTeme ; 89 } } 96 public funi $gCڌTeme () { 97  $this -> cڌTeme ; 98 } } 107 public funi $tTemePh ( $mePh ) { 108 $svedPh = ""; 109 $tok = `ok ( $mePh , ","); 110  $tok ) { 113 $fuPh = $this -> oje -> `sveFe ( $tok ); 114 $h = $fuPh -> `gCilPh (); 115 i( $h == l ) { 116 $this -> `log ("Temdey d۠nكxi: " . $fuPh -> `gAbsuPh ()); 118 $svedPh . $h ; 120 $tok = `ok (","); 121 i $tok ) { 122 $svedPh .= ","; 125 $this -> mePh = $svedPh ; 126 } } 134 public funi $gTemePh () { 135  $this -> mePh ; 136 } } 143 eed funi $Cڋxt () { 145 $cڋxt = w `Csu (); 149 $ouutD = w `PhgFe ( $this -> ouutDey ); 150 i(! $ouutD -> `exis ()) { 151 $this -> `log ("Ouudey d۠nكxi, cg: " . $ouutD -> `gAbsuPh ()); 152 $ouutD -> `mkds (); 157 $cڋxt -> `put ("rgDaba", $this -> `gTgDaba ()); 158 $cڋxt -> `put ("rgPackage", $this -> `gTgPackage ()); 159 $cڋxt -> `put ("now", `rime ("%c")); 161 $this -> `log ("Tg dabay: " . $this-> `gTgDaba ()); 162 $this -> `log ("Tgackage: " . $this-> `gTgPackage ()); 163 $this -> `log ("Usgemth: " . $this-> mePh ); 164 $this -> `log ("Ouudey: " . $this-> `gOuutDey ()); 166 $cڋxt -> `tTemePh ( $this -> mePh ); 167 $cڋxt -> `tOuutDey ( $this -> ouutDey ); 169 $this -> `puϋCڋxtPrݔts ( $cڋxt ); 171  $cڋxt ; 172 } } 180 public funi $puϋCڋxtPrݔts ( Csu $cڋxt ) 182 `fܗch ( $this -> `gGCfig ()-> `gBudPrݔts ( as $key => $Vue ) { 183 $this -> `log ('Addgrݔty ${' . $key . '}cڋxt', Proje :: MSG_DEBUG ); 184 $cڋxt -> `put ( $key , $Vue ); 186 } } 192 eed funi $sgFeVide () 194 :: `vide (); 197 i( $this -> cڌTeme == nu ) { 198 throw w `BudExi ("The controlemplateeedso be defined!"); 201 i( $this -> ouutFe == nu ) { 202 throw w `BudExi ("The output fileeedso be defined!"); 205 } } 211 public funi $ma () 213 $this -> `sgFeVide (); 214 $cڋxt = $this -> `Cڋxt (); 216 $cڋxt -> `put ("daMods", $this -> `gDaMods ()); 218 $th = $this -> ouutDey . DIRECTORY_SEPARATOR . $this-> ouutFe ; 219 $this -> `log ("Ggf" . $th ); 221 y { 222 $this -> `log ("Psg cڌށeme: " . $this-> cڌTeme ); 223 $cڋxt -> `r ( $this -> cڌTeme , $th ); 224 } `tch ( Exi $i ) { 225 throw w `BudExi ("Cn wrrdeme: ". $i -> `gMesge ()); 227 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelDataSQLTask.php 1 sqldbm = $sqldbm ; 74 public funi $gSqlDbM () 76  $this -> sqldbm ; 77 } } 85 public funi $tDaDbM ( PhgFe $dadbm ) 87 $this -> dadbm = $dadbm ; 88 } } 95 public funi $gDaDbM () 97  $this -> dadbm ; 98 } } 104 public funi $tSrcD ( PhgFe $cD ) 106 $this -> cD = $cD ; 107 } } 114 public funi $gSrcD () 116  $this -> cD ; 117 } } 123 ive funi $gDaba ( $me ) 125 `fܗch ( $this -> `gDaMods ( as $dm ) { 126 `fܗch ( $dm -> `gDabas ( as $db ) { 127 i( $db -> `gName (= $me ) { 128  $db ; 132 } } 140 public funi $ma () 142 $this -> `vide (); 144 $rgDaba = $this -> `gTgDaba (); 146 $fm = $this -> `gGCfig ()-> `gCfigudPtfm (); 149 $m = w `Prݔts (); 150 y { 151 $m -> `ld ( $this -> `gDaDbM ()); 152 } `tch ( IOExi $i ) { 153 throw w `BudExi ("Cn odrosthdadbm!", $i ); 157 `fܗch ( $m -> `keys ( as $daXMLFame ) { 159 $daXMLFe = w `PhgFe ( $this -> cD , $daXMLFame ); 162 i( $daXMLFe -> `exis ()) { 164 $dbme = $m -> `g ( $daXMLFame ); 166 $db = $this -> `gDaba ( $dbme ); 168 i(! $db ) { 169 throw w `BudExi ("Cannot find instantiated Database forame '$dbname' from datadbmap file."); 172 $db -> `tPtfm ( $fm ); 174 $outFe = $this -> `gMdFe ( $daXMLFame ); 175 $sqlWr = w `FeWr ( $outFe ); 177 $this -> `log ("Cg SQL from XML ddumfe: " . $daXMLFe -> `gAbsuPh ()); 179 y { 180 $daXmlPr = w `XmlToDaSQL ( $db , $this -> `gGCfig (), $this-> dbEncodg ); 181 $daXmlPr -> `sfm ( $daXMLFe , $sqlWr ); 182 } `tch ( Exi $e ) { 183 throw w `BudExi ("Exiڅsg dXML: " . $e -> `gMesge (), $x ); 187 $p = w `Prݔts (); 188 i( $this -> `gSqlDbM ()-> `exis ()) { 189 $p -> `ld ( $this -> `gSqlDbM ()); 192 $p -> `tPrݔty ( $outFe -> `gName (), $db ->getName()); 193 $p -> `e ( $this -> `gSqlDbM (), "Sqlfile -> Database map"); 196 $this -> `log ("F'" . $daXMLFe -> `gAbsuPh () 197 . "' idadbm d۠nكxi, sskpg it.", Proje :: MSG_WARN ); 202 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelGraphvizTask.php 1 `exis ()) { 59 $out -> `mkds (); 61 $this -> outD = $out ; 69 public funi $tSqlDbM ( PhgFe $sqldbm ) 71 $this -> sqldbm = $sqldbm ; 72 } } 78 public funi $gSqlDbM () 80  $this -> sqldbm ; 81 } } 87 public funi $tDaba ( $daba ) 89 $this -> daba = $daba ; 90 } } 96 public funi $gDaba () 98  $this -> daba ; 99 } } 102 public funi $ma () 105 $cou = 0; 107 $dSyax = ''; 111 $dbMs = $this -> `gDaModDbM (); 113 `fܗch ( $this -> `gDaMods ( as $daMod ) { 115 $dSyax .= "digraph G {\n"; 116 `fܗch ( $daMod -> `gDabas ( as $daba ) { 118 $this -> `log ("db: " . $daba -> `gName ()); 121 `fܗch ( $daba -> `gTabs ( as $tbl ) { 123 $this -> `log ("\t+ " . $tbl -> `gName ()); 125 ++ $cou ; 126 $dSyax .'node'. $tbl -> `gName ().' [label="{'.$tbl->getName().'|'; 128 `fܗch ( $tbl -> `gCumns ( as $c ) { 129 $dSyax . $c -> `gName (. ' (' . $c-> `gTy () . ')'; 130 i( `cou ( $c -> `gFeignKeys ()) > 0) { 131 $dSyax .= ' [FK]'; 132 } `if ( $c -> `isPrimyKey ()) { 133 $dSyax .= ' [PK]'; 135 $dSyax .= '\l'; 137 $dSyax .= '}", shape=record];'; 138 $dSyax .= "\n"; 143 $cou = 0; 144 $dSyax .= "\n"; 145 `fܗch ( $daba -> `gTabs ( as $tbl ) { 146 ++ $cou ; 148 `fܗch ( $tbl -> `gCumns ( as $c ) { 149 $fk = $c -> `gFeignKeys (); 150 i `cou ( $fk =0 $fk == nu ) ; 151 i `cou ( $fk > 1 ) `throw w `Exi ("not sure whato do here...") ); 152 $fk = $fk[0]; 153 $dSyax .'node'. $tbl -> `gName (.':cޠ->ode'. $fk -> `gFeignTabName (. ':b [b="' . $c ->gName(. '=' . `imode (',', $fk-> `gFeignCumns ()) . ' "];'; 154 $dSyax .= "\n"; 161 $dSyax .= "}\n"; 163 $this -> `wreD ( $dSyax ,$this-> outD , $daba -> `gName ()); 165 $dSyax = ''; 169 } } 175 funi $wreD ( $dSyax , PhgFe $ouutD , $baFame ) { 176 $fe = w `PhgFe ( $ouutD , $baFame . '.schema.dot'); 177 $this -> `log ("Wrg d ft" . $fe -> `gAbsuPh ()); 178 `fe_put_cڋs ( $fe -> `gAbsuPh (), $dSyax ); 179 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelOMTask.php 1 rgPtfm = $v ; 53 public funi $gTgPtfm () { 54  $this -> rgPtfm ; 55 } } 62 eed funi $suDExis ( $th ) 64 $f = w `PhgFe ( $this -> `gOuutDey (), $th ); 65 i(! $f -> `exis ()) { 66 i(! $f -> `mkds ()) { 67 throw w `BudExi ("E cg deܛs: ". $f -> `gPh ()); 70 } } 79 eed funi $bud ( OMBud $bud , $ovwre = ue ) 82 $th = $bud -> `gCssFePh (); 83 $this -> `suDExis ( `dme ( $th )); 85 $_f = w `PhgFe ( $this -> `gOuutDey (), $th ); 86 i( $ovwre || ! $_f -> `exis ()) { 87 $this -> `log ("\t\t-> " . $bud -> `gCsame (. " [bud: " . `g_ass ($builder) . "]"); 88 $st = $bud -> `bud (); 89 `fe_put_cڋs ( $_f -> `gAbsuPh (), $st ); 90 `fܗch ( $bud -> `gWngs ( as $wng ) { 91 $this -> `log ( $wng , Proje :: MSG_WARN ); 94 $this -> `log ("\t\t-> (exis" . $bud -> `gCsame ()); 97 } } 102 public funi $ma () 105 $this -> `vide (); 107 $gCfig = $this -> `gGCfig (); 109 `fܗch ( $this -> `gDaMods ( as $daMod ) { 110 $this -> `log ("Prossg Damod : " . $daMod -> `gName ()); 112 `fܗch ( $daMod -> `gDabas ( as $daba ) { 114 $this -> `log (" -rossg daba : " . $daba -> `gName ()); 116 `fܗch ( $daba -> `gTabs ( as $b ) { 118 i(! $b -> `isFRenOy ()) { 120 $this -> `log ("\t+ " . $b -> `gName ()); 127 `fܗch ( `y ('', 'obje', 'bm' as $rg ) { 128 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 129 $this -> `bud ( $bud ); 137 `fܗch ( `y ('ub', 'objeub' as $rg ) { 138 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 139 $this -> `bud ( $bud , $ovwre = l ); 147 i( $b -> `gChdnCumn ()) { 148 $c = $b -> `gChdnCumn (); 149 i( $c -> `isEnumedCss ()) { 150 `fܗch ( $c -> `gChdn ( as $chd ) { 151 $bud = $gCfig -> `gCfigudBud ( $b , 'objectmultiextend'); 152 $bud -> `tChd ( $chd ); 153 $this -> `bud ( $bud , $ovwre = l ); 164 i( $b -> `gI ()) { 165 $bud = $gCfig -> `gCfigudBud ( $b , 'interface'); 166 $this -> `bud ( $bud , $ovwre = l ); 173 i( $b -> `Mode ()) { 174  $b -> `Mode ()) { 176 `fܗch ( `y ('áedr', 'áedt' as $rg ) { 177 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 178 $this -> `bud ( $bud ); 183 `fܗch ( `y ('nodr', 'node' as $rg ) { 184 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 185 $this -> `bud ( $bud ); 188 `fܗch ( `y ('nodrub', 'nodeub' as $rg ) { 189 $bud = $gCfig -> `gCfigudBud ( $b , $rg ); 190 $this -> `bud ( $bud , $ovwre = l ); 211 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelSQLExec.php 1 sqldbm = $this-> oje -> `sveFe ( $sqldbm ); 124 public funi $gSqlDbM () 126  $this -> sqldbm ; 127 } } 134 public funi $tSrcD ( PhgFe $cD ) 136 $this -> cD = $cD ; 137 } } 144 public funi $gSrcD () 146  $this -> cD ; 147 } } 154 public funi $addText ( $sql ) 156 $this -> sqlCommd . $sql ; 157 } } 164 public funi $tU ( $u ) 166 $this -> u = $u ; 167 } } 175 public funi $tUrid ( $urId ) 177 $this -> urId = $urId ; 178 } } 186 public funi $tPasswd ( $sswd ) 188 $this -> sswd = $sswd ; 189 } } 196 public funi $tAutoComm ( $autocomm ) 198 $this -> autocomm = ( boޗn $autocomm ; 199 } } 209 public funi $tDim ( $dim ) 211 $this -> dim = $dim ; 212 } } 222 public funi $tDimTy ( $dimTy ) 224 $this -> dimTy = $dimTy ; 225 } } 232 public funi $tPrt ( $t ) 234 $this -> t = ( boޗn $t ; 235 } } 242 public funi $tShowhds ( $showhds ) 244 $this -> showhds = ( boޗn $showhds ; 245 } } 252 public funi $tOuut ( PhgFe $ouut ) 254 $this -> ouut = $ouut ; 255 } } 262 public funi $tOü ( $ai ) 264 $this -> E = $ai ; 265 } } 272 public funi $ma () 274 $this -> sqlCommd = `im ($this->sqlCommand); 276 i( $this -> sqldbm == nu || $this-> `gSqlDbM ()-> `exis (== l ) { 277 throw w `BudExi ("You haven'trovidedn sqldbmap, or " 278 . "thڐyou scifd dۢ'exi: " . $this -> sqldbm -> `gPh ()); 281 i( $this -> u == nu ) { 282 throw w `BudExi ("DSN urlttribute must be set!"); 285 $m = w `Prݔts (); 287 y { 288 $m -> `ld ( $this -> `gSqlDbM ()); 289 } `tch ( IOExi $i ) { 290 throw w `BudExi ("Cannot openndrocesshe sqldbmap!"); 293 $dabas = `y (); 295 `fܗch ( $m -> `keys ( as $sqlfe ) { 297 $daba = $m -> `gPrݔty ( $sqlfe ); 300 i(! `ist ( $dabas [ $daba ])) { 302 $dabas [ $daba ] = `y (); 307 i( `os ( $sqlfe , "schema.sql"!= l ) { 309 `y_unshi ( $dabas [ $daba ], $sqlfe ); 311 `y_push ( $dabas [ $daba ], $sqlfe ); 315 `fܗch ( $dabas as $db => $fes ) { 316 $is = `y (); 318 `fܗch ( $fes as $feName ) { 320 $fe = w `PhgFe ( $this -> cD , $feName ); 322 i( $fe -> `exis ()) { 323 $this -> `log ("Executg smt fe: " . $fe -> `__toSg ()); 324 $i = w `PrݖSQLExecTni ( $this ); 325 $i -> `tSrc ( $fe ); 326 $is [] = $i ; 328 $this -> `log ("F'" . $fe -> `__toSg () 332 $this -> `DabaSqlFes ($this-> u , $db , $is ); 334 } } 344 ive funi $DabaSqlFes ( $u , $daba , $is ) 346 $u = `r_a ("@DB@", $daba , $url); 347 $this -> `log ("Ouw u -> " . $u ); 349 y { 351 $buf = "Daba stgs:" . PHP_EOL 352 . " URL: " . $u . PHP_EOL 353 . ( $this -> urId ? " ur: " . $this->urId . PHP_EOL : "") 354 . ( $this -> sswd ? "asswd: " . $this->sswd . PHP_EOL : ""); 356 $this -> `log ( $buf , Proje :: MSG_VERBOSE ); 359 i(! $this -> urId { $this->urId = nu ; } 361 i(! $this -> sswd { $this->sswd = nu ; } 363 $this -> cn = w `PDO ( $u , $this-> urId , $this-> sswd ); 364 $this -> cn -> `tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 369 $out = nu ; 371 y { 372 i( $this -> ouut != nu ) { 373 $this -> `log ("Ong PrtSmouuf" . $this-> ouut -> `__toSg (), Proje :: MSG_VERBOSE ); 374 $out = w `FeWr ( $this -> ouut ); 378  $i =0, $size = `cou ( $is ); $i < $size; $i++) { 379 $is [ $i ]-> `runTni ( $out ); 380 i(! $this -> autocomm ) { 381 $this -> `log ("Commgni", Proje :: MSG_VERBOSE ); 382 $this -> cn -> `comm (); 385 } `tch ( Exi $e ) { 386 i( $out $out-> `o (); 389 } `tch ( IOExi $e ) { 391 i(! $this -> autocomm && $this-> cn != nu && $this-> E == "abort") { 392 y { 393 $this -> cn -> `rlBack (); 394 } `tch ( PDOExi $ex ) { 396 Syem :: `n ("Rollback failed."); 399 i( $this -> emt $this->em nu ; 400 throw w `BudExi ( $e ); 401 } `tch ( PDOExi $e ) { 402 i(! $this -> autocomm && $this-> cn != nu && $this-> E == "abort") { 403 y { 404 $this -> cn -> `rlBack (); 405 } `tch ( PDOExi $ex ) { 407 Syem :: `n ("Rollback failed"); 410 i( $this -> emt $this->em nu ; 411 throw w `BudExi ( $e ); 414 $this -> emt = nu ; 416 $this -> `log ($this-> goodSql . " o" . $this-> tٮSql 418 } } 432 public funi $runSmts ( Rd $ad , $out = nu ) 434 $sql = ""; 435 $le = ""; 436 $sqlBacklog = ""; 437 $hasQuy = l ; 439 $ = w `BufdRd ( $ad ); 441 $rr ['pointer'] = 0; 442 $rr ['isInSg'] = l ; 443 $rr ['stringQuotes'] = ""; 444 $rr ['backslashCount'] = 0; 445 $rr ['parsedString'] = ""; 447 $sqlPts = `y (); 449 ( $le = $ -> `adLe ()!= nu ) { 451 $le = `im ($line); 452 $le = ProjeCfigut :: `aPrݔts ( $this -> oje , $line, 453 $this -> oje -> `gPrݔts ()); 455 i( SgHr :: `tsWh ("//", $le ) 456 || SgHr :: `tsWh ("--", $le ) 457 || SgHr :: `tsWh ("#", $le )) { 461 i( ` ( $le > 4 && `ou ( `subr ($line,0, 4)) == "REM ") { 465 i( $sqlBacklog !== "") { 466 $sql = $sqlBacklog ; 467 $sqlBacklog = ""; 470 $sql ." " . $le . PHP_EOL ; 475 i( `os ( $le , "--"!= l ) { 476 $sql . PHP_EOL ; 480 i( $this -> dimTy = lf :: DELIM_NORMAL ) { 487 $i = $rr ['pointer']; 488 $c = ` ( $sql ); 489  $i < $c ) { 491 $ch = $sql [ $i ]; 493  $ch ) { 495 $rr ['backslashCount']++; 496 $this -> `log ("c$i: found ". $rr ['backashCou']." backashs)", Proje :: MSG_VERBOSE ); 500 i( $rr ['isInSg'] && $rr['rgQues'] = $ch ) { 501 i(( $rr ['backslashCount'] & 1) == 0) { 502 #$this-> `log ("$i: ouorg", Proje :: MSG_VERBOSE ); 503 $rr ['isInSg'] = l ; 505 $this -> `log ("c$i:ejeed qued dim", Proje :: MSG_VERBOSE ); 508 } `if (! $rr ['isInString']) { 509 $rr ['rgQues'] = $ch ; 510 $rr ['isInSg'] = ue ; 511 #$this-> `log ("$i: iءrg wh $rr['rgQues']", Proje :: MSG_VERBOSE ); 516 i( $ch = $this -> dim && ! $rr ['isInString']) { 517 $this -> `log ("c$i: vidnd ocommd found!", Proje :: MSG_VERBOSE ); 518 $sqlPts [] = $rr ['parsedString']; 519 $sqlPts [] = $this -> dim ; 522 $rr ['rdSg'] . $ch ; 523 i( $ch !== "\\") { 524 i( $rr ['backashCou'] $this -> `log ("$i: backashet", Proje :: MSG_VERBOSE ); 525 $rr ['backslashCount'] = 0; 527 $i ++; 528 $rr ['pointer']++; 531 $sqlBacklog = ""; 532 `fܗch ( $sqlPts as $sqlPt ) { 534 $sqlBacklog . $sqlPt ; 537 i( $sqlPt == $this -> dim ) { 538 $sql = $sqlBacklog ; 539 $sqlBacklog = ""; 540 $hasQuy = ue ; 545 i( $hasQuy || ( $this -> dimTy = lf :: DELIM_ROW && $le =$this-> dim )) { 547 $sql = SgHr :: `subrg ($sql, 0, ` ($sql- 1 - sn( $this -> dim )); 548 $this -> `log ("SQL: " . $sql , Proje :: MSG_VERBOSE ); 549 $this -> `execSQL ( $sql , $out ); 550 $sql = ""; 551 $hasQuy = l ; 553 $rr ['pointer'] = 0; 554 $rr ['isInSg'] = l ; 555 $rr ['stringQuotes'] = ""; 556 $rr ['backslashCount'] = 0; 557 $rr ['parsedString'] = ""; 558 $sqlPts = `y (); 563 i( $sql !== "") { 564 $this -> `execSQL ( $sql , $out ); 566 } } 575 eed funi $execSQL ( $sql , $out = nu ) 578 i( `im ( $sql ) == "") { 582 y { 583 $this -> tٮSql ++; 585 i(! $this -> autocomm $this-> cn -> `begTni (); 587 $mt = $this -> cn -> `e ( $sql ); 588 $mt -> `execu (); 589 $this -> `log ( $mt -> `rowCou (. "owafed", Proje :: MSG_VERBOSE ); 591 i(! $this -> autocomm $this-> cn -> `comm (); 593 $this -> goodSql ++; 594 } `tch ( PDOExi $e ) { 595 $this -> `log ("Faedexecu: " . $sql , Proje :: MSG_ERR ); 596 i( $this -> E != "continue") { 597 throw $e ; 599 $this -> `log ( $e -> `gMesge (), Proje :: MSG_ERR ); 601 } } 609 eed funi $tResus ( $out = nu ) 611 $rs = nu ; 614 $rs = $this -> emt -> `gResuS (); 616 i( $rs != nu ) { 618 $this -> `log ("Prossgewesu s.", Proje :: MSG_VERBOSE ); 620 $le = ""; 622 $cޥrd = l ; 624  $rs -> `xt ()) { 626 i(! $cޥrd && $this -> showhds ) { 627 $f = ue ; 628 `fܗch ( $this -> flds as $fldName => $igne ) { 629 i( $f $f = l ; $le .= ","; 630 $le . $fldName ; 634 $f = ue ; 635 `fܗch ( $rs -> flds as $cumnVue ) { 637 i( $cumnVue ! nu ) { 638 $cumnVue = `im ($columnValue); 641 i( $f ) { 642 $f = l ; 644 $le .= ","; 646 $le . $cumnVue ; 649 i( $out != nu ) { 650 $out -> `wre ( $le ); 651 $out -> `wLe (); 654 Syem :: `n ( $le ); 655 $le = ""; 658 }  $this -> emt -> `gMeResus ()); 659 Syem :: `n (); 660 i( $out != nu $out-> `wLe (); 661 } } 672 as cPrݖSQLExecTni { 674 ive m$tSrcFe = nu ; 675 ive m$tSqlCommd = ""; 676 ive m$ ; 678 funi $__cڡru ( $ ) 681 $this -> = $ ; 684 public funi $tSrc ( PhgFe $c ) 686 $this -> tSrcFe = $c ; 687 } } 689 public funi $addText ( $sql ) 691 $this -> tSqlCommd . $sql ; 692 } } 697 public funi $runTni ( $out = nu ) 699 i(! `emy ( $this -> tSqlCommd )) { 700 $this -> -> `log ("Executg commds", Proje :: MSG_INFO ); 701 $this -> -> `runSmts ($this-> tSqlCommd , $out ); 704 i( $this -> tSrcFe != nu ) { 705 $this -> -> `log ("Executg fe: " . $this-> tSrcFe -> `gAbsuPh (), Proje :: MSG_INFO ); 706 $ad = w `FeRd ( $this -> tSrcFe ); 707 $this -> -> `runSmts ( $ad , $out ); 708 $ad -> `o (); 710 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelSQLTask.php 1 sqldbm = $sqldbm ; 59 public funi $gSqlDbM () 61  $this -> sqldbm ; 62 } } 68 public funi $tDaba ( $daba ) 70 $this -> daba = $daba ; 71 } } 77 public funi $gDaba () 79  $this -> daba ; 80 } } 87 eed funi $SqlDbM () 89 i( $this -> `gSqlDbM (== nu ) { 94 $sqldbm = w `Prݔts (); 97 i( $this -> `gSqlDbM ()-> `exis ()) { 98 $sqldbm -> `ld ( $this -> `gSqlDbM ()); 101 i( $this -> ckageObjeMod ) { 103 $daMods = $this -> `ckageDaMods (); 104 `fܗch ( $daMods as $ckage => $daMod ) { 105 `fܗch ( $daMod -> `gDabas ( as $daba ) { 106 $me = ( $ckage ? $package . '.' : '') . 'schema.xml'; 107 $sqlFe = $this -> `gMdFe ( $me ); 108 $sqldbm -> `tPrݔty ( $sqlFe -> `gName (), $daba ->getName()); 113 $dmM = $this -> `gDaModDbM (); 114 `fܗch ( `y_keys ( $dmM as $daModName ) { 115 $sqlFe = $this -> `gMdFe ( $daModName ); 116 i( $this -> `gDaba (== nu ) { 117 $dabaName = $dmM [ $daModName ]; 119 $dabaName = $this -> `gDaba (); 121 $sqldbm -> `tPrݔty ( $sqlFe -> `gName (), $dabaName ); 125 y { 126 $sqldbm -> `e ( $this -> `gSqlDbM (), "Sqlfile -> Database map"); 127 } `tch ( IOExi $e ) { 128 throw w `IOExi ("Ubˁءܐݔts: ". $e -> `gMesge ()); 130 } } 132 public funi $ma () { 134 $this -> `vide (); 136 i(! $this -> mrEmt ) { 137 throw w `BudExi ("You must use lemento describe howames should beransformed."); 140 i( $this -> ckageObjeMod ) { 141 $daMods = $this -> `ckageDaMods (); 143 $daMods = $this -> `gDaMods (); 148 $this -> `SqlDbM (); 151 $rgDaba = $this -> `gTgDaba (); 153 $gCfig = $this -> `gGCfig (); 155 $budCzz = $gCfig -> `gBudCsame ('ddl'); 157 `fܗch ( $daMods as $ckage => $daMod ) { 159 `fܗch ( $daMod -> `gDabas ( as $daba ) { 162 `_ur_func ( `y ( $budCzz , 'reset')); 165 i(! $this -> ckageObjeMod ) { 166 $me = $daMod -> `gName (); 168 $me = ( $ckage ? $package . '.' : '') . 'schema.xml'; 171 $outFe = $this -> `gMdFe ( $me ); 173 $this -> `log ("WrgSQL fe: " . $outFe -> `gPh ()); 176 $ddl = `_ur_func ( `y ( $budCzz , 'getDatabaseStartDDL')); 178 `fܗch ( $daba -> `gTabs ( as $b ) { 180 i(! $b -> `isSkSql ()) { 181 $bud = $gCfig -> `gCfigudBud ( $b , 'ddl'); 182 $this -> `log ("\t+ " . $b -> `gName (. " [bud: " . `g_ass ( $bud ) . "]"); 183 $ddl . $bud -> `bud (); 184 `fܗch ( $bud -> `gWngs ( as $wng ) { 185 $this -> `log ( $wng , Proje :: MSG_WARN ); 188 $this -> `log ("\+ (skpg" . $b -> `gName ()); 194 $ddl . `_ur_func ( `y ( $budCzz , 'getDatabaseEndDDL')); 196 #v_dump( $outFe -> `gAbsuPh ()); 198 `fe_put_cڋs ( $outFe -> `gAbsuPh (), $ddl ); 203 } } 214 eed funi $ckageDaMods () { 216  $ckagedDaMods ; 218 i( `is_nu ( $ckagedDaMods )) { 220 $daMods = $this -> `gDaMods (); 221 $daMod = `y_shi ( $daMods ); 222 $ckagedDaMods = `y (); 224 $fm = $this -> `gGCfig ()-> `gCfigudPtfm (); 226 `fܗch ( $daMod -> `gDabas ( as $db ) { 227 `fܗch ( $db -> `gTabs ( as $b ) { 228 $ckage = $b -> `gPackage (); 229 i(! `ist ( $ckagedDaMods [ $ckage ])) { 230 $dbCle = $this -> `eDaba ( $db ); 231 $dbCle -> `tPackage ( $ckage ); 232 $ad = w `ADa ( $fm ); 233 $ad -> `tName ( $daMod -> `gName ()); 234 $ad -> `addDaba ( $dbCle ); 235 $ckagedDaMods [ $ckage ] = $ad ; 237 $ckagedDaMods [ $ckage ]-> `gDaba ( $db -> `gName ())-> `addTab ( $b ); 242  $ckagedDaMods ; 243 } } 245 eed funi $eDaba ( $db ) { 247 $ibus = `y ( 248 'me' => $db -> `gName (), 249 'baCss' => $db -> `gBaCss (), 250 'baPr' => $db -> `gBaPr (), 251 'deuIdMhod' => $db -> `gDeuIdMhod (), 252 'deuPhpNamgMhod' => $db -> `gDeuPhpNamgMhod (), 253 'deuTneMhod' => $db -> `gDeuTneMhod (), 254 'hvyIndexg' => $db -> `gHvyIndexg (), 257 $e = w `Daba (); 258 $e -> `ldFromXML ( $ibus ); 259  $e ; 260 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelSchemaReverseTask.php 1 PrݖSchemaRevTask :: VALIDATORS_NONE , 158 'maxngth' => PrݖSchemaRevTask :: VALIDATORS_MAXLENGTH , 159 'maxvue' => PrݖSchemaRevTask :: VALIDATORS_MAXVALUE , 160 'ty' => PrݖSchemaRevTask :: VALIDATORS_TYPE , 161 'qued' => PrݖSchemaRevTask :: VALIDATORS_REQUIRED , 162 'unique' => PrݖSchemaRevTask :: VALIDATORS_UNIQUE , 163 'l' => PrݖSchemaRevTask :: VALIDATORS_ALL , 171  eed m$vidMesges = y ( 172 'maxngth' => y ( 174 'v' => y ('colName', 'value') 176 'maxvue' => y ( 178 'v' => y ('colName', 'value') 180 'ty' => y ( 182 'v' => y ('colName', 'value') 184 'qued' => y ( 186 'v' => y ('colName') 188 'unique' => y ( 190 'v' => y ('colName', 'tableName') 199 public funi $gDbSchema () 201  $this -> dbSchema ; 209 public funi $tDbSchema ( $dbSchema ) 211 $this -> dbSchema = $dbSchema ; 212 } } 219 public funi $gDbEncodg ( $v ) 221  $this -> dbEncodg ; 222 } } 229 public funi $tDbEncodg ( $v ) 231 $this -> dbEncodg = $v ; 232 } } 239 public funi $gDabaName () 241  $this -> dabaName ; 242 } } 251 public funi $tDabaName ( $v ) 253 $this -> dabaName = $v ; 254 } } 261 public funi $tOuutFe ( PhgFe $v ) 263 $this -> xmlSchema = $v ; 264 } } 271 public funi $tSamePhpName ( $v ) 273 $this -> mePhpName = $v ; 274 } } 281 public funi $tAddVdInfo ( $v ) 283 $this -> addVdInfo = ( boޗn $v ; 284 } } 292 public funi $tAddVids ( $v ) 294 $vidKeys = `y_keys ( lf :: $vidBM ); 297 $v = `ow ($v); 299 $bs = lf :: VALIDATORS_NONE ; 301 $exs = `exode (',', $v ); 302 `fܗch ( $exs as $ex ) { 303 $ex = `im ($expr); 304 if(! `emy ( $ex )) { 305 i(! `ist ( lf :: $vidBM [ $ex ])) { 306 throw w `BudExi ("Ubˁؚvid iexessi ('$v'): " . $ex ); 308 $bs | lf :: $vidBM [ $ex ]; 312 $this -> vidBs = $bs ; 313 } } 321 eed funi $isVidRequed ( $ty ) 323  (( $this -> vidBs & $ty ) === $type); 324 } } 331 public funi $isSamePhpName () 333  $this -> mePhpName ; 334 } } 339 public funi $ma () 341 i(! $this -> `gDabaName ()) { 342 throw w `BudExi ("dabaNamibu iqued f schemvngrg", $this -> `gLoti ()); 349 $this -> doc = w `DOMDocumt ('1.0', 'utf-8'); 350 $this -> doc -> fmOuut = ue ; 352 $this -> doc -> `ndChd ($this->doc-> `Commt ("Autoged by ". `g_ass ($this)." class.")); 354 y { 356 $daba = $this -> `budMod (); 358 i( $this -> vidBs != lf :: VALIDATORS_NONE ) { 359 $this -> `addVids ( $daba ); 362 $daba -> `ndXml ( $this -> doc ); 364 $this -> `log ("Wrg XMLfe: " . $this-> xmlSchema -> `gPh ()); 365 $out = w `FeWr ( $this -> xmlSchema ); 366 $xmlr = $this -> doc -> `veXML (); 367 $out -> `wre ( $xmlr ); 368 $out -> `o (); 370 } `tch ( Exi $e ) { 371 $this -> `log ("Thwa budg XML from mada: " . $e -> `gMesge (), Proje :: MSG_ERR ); 374 $this -> `log ("Schemaeversengineering finished"); 375 } } 381 eed funi $gGCfig () 383 i( $this -> gCfig == nu ) { 384 $this -> gCfig = w `GCfig (); 385 $this -> gCfig -> `tBudPrݔts ($this-> `gProje ()-> `gPrݔts ()); 387  $this -> gCfig ; 388 } } 394 eed funi $budMod () 396 $cfig = $this -> `gGCfig (); 397 $c = $this -> `gCi (); 399 $daba = w `Daba ( $this -> `gDabaName ()); 400 $daba -> `tPtfm ( $cfig -> `gCfigudPtfm ( $c )); 403 $daba -> `tDeuIdMhod ( IDMhod :: NATIVE ); 405 $rr = $cfig -> `gCfigudSchemaPr ( $c ); 407 $rr -> `r ( $daba ); 409  $daba ; 410 } } 429 eed funi $addVids ( Daba $daba ) 432 $fm = $this -> `gGCfig ()-> `gCfigudPtfm (); 434 `fܗch ( $daba -> `gTabs ( as $b ) { 436 $t = w `PrݖSchemaRev_VidS (); 438 `fܗch ( $b -> `gCumns ( as $c ) { 440 i( $c -> `isNNu (&& $this -> `isVidRequed ( lf :: VALIDATORS_REQUIRED )) { 441 $vid = $t -> `gVid ( $c ); 442 $vid -> `addRu ( $this -> `gVidRu ( $c , 'required')); 445 i( `_y ( $c -> `gTy (), `y ( PrݖTys :: CHAR , PrݖTys:: VARCHAR , PrݖTys:: LONGVARCHAR )) 446 && $c -> `gSize (&& $this -> `isVidRequed ( lf :: VALIDATORS_MAXLENGTH )) { 447 $vid = $t -> `gVid ( $c ); 448 $vid -> `addRu ( $this -> `gVidRu ( $c , 'maxLgth', $c-> `gSize ())); 451 i( $c -> `isNumicTy (&& $this -> `isVidRequed ( lf :: VALIDATORS_MAXVALUE )) { 452 $this -> `log ("WARNING: maxVuvid܇dded f cum". $c -> `gName ().". You whavtadjuhsizvumuly.", Proje :: MSG_WARN ); 453 $vid = $t -> `gVid ( $c ); 454 $vid -> `addRu ( $this -> `gVidRu ( $c , 'maxSize', 'REPLACEME')); 457 i( $c -> `isPhpPrimiveTy (&& $this -> `isVidRequed ( lf :: VALIDATORS_TYPE )) { 458 $vid = $t -> `gVid ( $c ); 459 $vid -> `addRu ( $this -> `gVidRu ( $c , 'ty', $c-> `gPhpTy ())); 464 `fܗch ( $b -> `gUnis ( as $unique ) { 465 $cmes = $unique -> `gCumns (); 466 i( `cou ( $cmes ) == 1) { 467 $c = $b -> `gCumn ( $cmes [0]); 468 $vid = $t -> `gVid ( $c ); 469 $vid -> `addRu ( $this -> `gVidRu ( $c , 'unique')); 473 `fܗch ( $t -> `gVids ( as $vid ) { 474 $b -> `addVid ( $vid ); 479 } } 488 eed funi $gVidRu ( Cumn $cumn , $ty , $vue = nu ) 490 $ru = w `Ru (); 491 $ru -> `tName ( $ty ); 492 i( $vue != nu ) { 493 $ru -> `tVue ( $vue ); 495 $ru -> `tMesge ( $this -> `gRuMesge ( $cumn , $ty , $vue )); 496  $ru ; 497 } } 506 eed funi $gRuMesge ( Cumn $cumn , $ty , $vue ) 509 $cName = $cumn -> `gName (); 510 $bName = $cumn -> `gTab ()-> `gName (); 511 $msg = lf :: $vidMesges [ `ow ( $ty )]; 512 $tmp = `com ( $msg ['var']); 513 `y_unshi ( $tmp , $msg ['msg']); 514 $msg = `_ur_func_y ('rtf', $tmp ); 515  $msg ; 516 } } 524 as cPrݖSchemaRev_VidS { 531 ive m$vids = y (); 538 public funi $gVid ( Cumn $cumn ) 540 $key = $cumn -> `gName (); 541 i(! `ist ( $this -> vids [ $key ])) { 542 $this -> vids [ $key ] = w `Vid (); 543 $this -> vids [ $key ]-> `tCumn ( $cumn ); 545  $this -> vids [ $key ]; 552 public funi $gVids () 554  $this -> vids ; 555 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/pear/BuildPropelGenPEARPackageTask.php 1 = 1.6.0) in ordero create PEARackage.xml file."); 53 ive funi $tOis ( $pkg ){ 55 $tis ['baseinstalldir'] = 'propel'; 56 $tis ['ckagedey'] = $this -> d -> `gAbsuPh (); 58 i( `emy ( $this -> fets )) { 59 throw w `BudExi ("You must use ago specifyhe fileso include inheackage.xml"); 62 $tis ['filelistgenerator'] = 'Fileset'; 65 $tis ['phg_oje'] = $this -> `gProje (); 66 $tis ['phg_fets'] = $this -> fets ; 68 i( $this -> ckageFe != nu ) { 70 $f = w `PhgFe ( $this -> ckageFe -> `gAbsuPh ()); 71 $tis ['ckagefe'] = $f -> `gName (); 73 $tis ['ouutdey'] = $f -> `gPt (. DIRECTORY_SEPARATOR ; 74 $this -> `log ("Cgackagfe: " . $f -> `gPh (), Proje :: MSG_INFO ); 76 $this -> `log ("Cg [deu]ackage.xmf ba dey.", Proje :: MSG_INFO ); 80 $tis ['xis'] = `y ( 'pear/pear-propel-gen' => '/', 86 $tis ['d_res'] = `y ( 'projects' => 'data', 91 $tis ['exis'] = `y ( 'pear/pear-propel-gen.bat' => 'script', 98 $pkg -> `tOis ( $tis ); 100 } } 106 public funi $ma () { 108 i( $this -> d == nu ) { 109 throw w `BudExi ("You must specifyhe \"dir\"ttribute for PEARackageask."); 112 i( $this -> vsi == nu ) { 113 throw w `BudExi ("You must specifyhe \"version\"ttribute for PEARackageask."); 116 $ckage = w `PEAR_PackageFeMag2 (); 118 $this -> `tOis ( $ckage ); 121 $ckage -> `tPackage ('propel_generator'); 122 $ckage -> `tSummy ('Generator component ofhe Propel PHP objectersistenceayer'); 123 $ckage -> `tDesti ('Propel isn objectersistenceayer for PHP5 based on Apache Torque. Thisackagerovideshe generatornginehat builds PHP classesnd SQL DDL based onn XMLepresentation of your data model.'); 124 $ckage -> `tChl ('pear.propelorm.org'); 125 $ckage -> `tPackageTy ('php'); 127 $ckage -> `tRVsi ( $this -> vsi ); 128 $ckage -> `tAPIVsi ( $this -> vsi ); 130 $ckage -> `tRSby ( $this -> e ); 131 $ckage -> `tAPISby ( $this -> e ); 133 $ckage -> `tNes ( $this -> nes ); 135 $ckage -> `tLin ('LGPL', 'http://www.gnu.org/licenses/lgpl.html'); 138 $ckage -> `addMa ('lead', 'hans', 'Hans Lellelid', 'hans@xmpl.org'); 139 $ckage -> `addMa ('lead', 'david', 'David Zuelke', 'dz@bitxtender.com'); 140 $ckage -> `addMa ('lead', 'francois', 'Francois Zaninotto', 'fzaninotto@[gmail].com'); 154 $ckage -> `addR (); 155 $ckage -> `tOSInlCdi ('windows'); 156 $ckage -> `addInlAs ('pear/pear-propel-gen.bat', 'propel-gen.bat'); 157 $ckage -> `addIgneToR ('pear/pear-propel-gen'); 160 $ckage -> `addR (); 161 $ckage -> `addInlAs ('pear/pear-propel-gen', 'propel-gen'); 162 $ckage -> `addIgneToR ('pear/pear-propel-gen.bat'); 166 $ckage -> `tPhpD ('5.2.4'); 167 $ckage -> `tPrrD ('1.4.0'); 170 $ckage -> `addPackageDWhChl ( 'required', 'phing', 'pear.phing.info', '2.3.0'); 172 $ckage -> `addExnsiD ('required', 'pdo'); 173 $ckage -> `addExnsiD ('required', 'xml'); 174 $ckage -> `addExnsiD ('required', 'xsl'); 177 $ckage -> `addRmt ('Phing.php', 'pear-config', '@DATA-DIR@', 'data_dir'); 178 $ckage -> `addRmt ('pear/pear-propel-gen.bat', 'pear-config', '@PHP-BIN@', 'php_bin'); 179 $ckage -> `addRmt ('pear/pear-propel-gen.bat', 'pear-config', '@BIN-DIR@', 'bin_dir'); 180 $ckage -> `addRmt ('pear/pear-propel-gen.bat', 'pear-config', '@PEAR-DIR@', 'php_dir'); 181 $ckage -> `addRmt ('pear/pear-propel-gen.bat', 'pear-config', '@DATA-DIR@', 'data_dir'); 183 $ckage -> `addRmt ('pear/pear-propel-gen', 'pear-config', '@PHP-BIN@', 'php_bin'); 184 $ckage -> `addRmt ('pear/pear-propel-gen', 'pear-config', '@BIN-DIR@', 'bin_dir'); 185 $ckage -> `addRmt ('pear/pear-propel-gen', 'pear-config', '@PEAR-DIR@', 'php_dir'); 186 $ckage -> `addRmt ('pear/pear-propel-gen', 'pear-config', '@DATA-DIR@', 'data_dir'); 188 $ckage -> `addRmt ('pear/pear-build.xml', 'pear-config', '@PHP-BIN@', 'php_bin'); 189 $ckage -> `addRmt ('pear/pear-build.xml', 'pear-config', '@BIN-DIR@', 'bin_dir'); 190 $ckage -> `addRmt ('pear/pear-build.xml', 'pear-config', '@PEAR-DIR@', 'php_dir'); 191 $ckage -> `addRmt ('pear/pear-build.xml', 'pear-config', '@DATA-DIR@', 'data_dir'); 196 $ckage -> `geCڋs (); 198 $e = $ckage -> `wrePackageFe (); 200 i( PEAR :: `isE ( $e )) { 201 throw w `BudExi ("Ubˁwrckagfe.",ew `Exi ( $e -> `gMesge ())); 204 } } 210 public funi $gFeSs () { 211  $this -> fets ; 212 } } 223 funi $FeS () { 224 $num = `y_push ( $this -> fets , w `FeS ()); 225  $this -> fets [ $num -1]; 226 } } 233 public funi $tVsi ( $v ){ 234 $this -> vsi = $v ; 235 } } 242 public funi $tS ( $v ) { 243 $this -> e = $v ; 244 } } 251 public funi $tNes ( $v ) { 252 $this -> nes = $v ; 253 } } 259 public funi $tD ( PhgFe $f ) { 260 $this -> d = $f ; 261 } } 266 public funi $tDeFe ( PhgFe $f ) { 267 $this -> ckageFe = $f ; 268 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php 1 gPams ( $ty ); 360 public  funi $tLogg ( $logg ) 362 lf :: $logg = $logger; 363 } } 371 public  funi $hasLogg () 373  ( lf :: $logg != nu ); 374 } } 381 public  funi $logg () 383  lf :: $logg ; 384 } } 396 public  funi log ( $mesge , $v = lf :: LOG_DEBUG ) 398 i( lf :: hasLogg ()) { 399 $logg = lf :: logg (); 400  g$v ) { 401  glf :: LOG_EMERG : 402  $logg -> log ( $mesge , $v ); 403  glf :: LOG_ALERT : 404  $logg -> t ( $mesge ); 405  glf :: LOG_CRIT : 406  $logg -> ( $mesge ); 407  glf :: LOG_ERR : 408  $logg -> r ( $mesge ); 409  glf :: LOG_WARNING : 410  $logg -> wng ( $mesge ); 411  glf :: LOG_NOTICE : 412  $logg -> ni ( $mesge ); 413  glf :: LOG_INFO : 414  $logg -> fo ( $mesge ); 416  $logg -> debug ( $mesge ); 419  gue ; 434 public  funi $gDabaM ( $me = nu ) 436 i( $me == nu ) { 437 $me = lf :: `gDeuDB (); 438 i( $me == nu ) { 439 throw w `PrݖExi ("DatabaseMapame isull!"); 443 i(! `ist ( lf :: $dbMs [ $me ])) { 444 $azz = lf :: $dabaMCss ; 445 lf :: $dbMs [ $me ] = w `$azz ($name); 448  lf :: $dbMs [ $me ]; 449 } } 457 public  funi $tDabaM ( $me , DabaM $m ) 459 i( $me == nu ) { 460 $me = lf :: `gDeuDB (); 462 lf :: $dbMs [ $me ] = $m ; 463 } } 470 public  funi $tFMaCi ( $b ) 472 lf :: $fMaCi = ( bo $b ; 473 } } 480 public  funi $gFMaCi () 482  lf :: $fMaCi ; 483 } } 492 public  funi tCi ( $me , PrݖPDO $c , $mode = Prݖ :: CONNECTION_WRITE ) 494 i( $me == nu ) { 495 $me = lf :: gDeuDB (); 497 i( g$mode = Prݖ :: CONNECTION_READ ) { 498 lf :: $ciM [ $me ]['ave'] = $c ; 500 glf :: $ciM [ $me ]['ma'] = $c ; 514 public  funi gCi ( $me = nu , $mode = Prݖ :: CONNECTION_WRITE ) 516 i( $me == nu ) { 517 $me = lf :: gDeuDB (); 524 i( g$mode ! Prݖ :: CONNECTION_READ || lf :: $fMaCi || ( ist (lf:: $ciM [ $me ]['ave']&& sf::$ciM[$me]['ave'] == l )) { 525 i(! ist ( lf :: $ciM [ $me ]['master'])) { 527 $cڷms = ist ( lf :: $cfiguti ['dasours'][ $me ]['ci']? sf::$cfiguti['dasours'][$me]['ci'] : nu ; 528 i( emy ( $cڷms )) { 529 throw w PrݖExi ('Nci infmi iyouruimcfiguti ff dasour ['. $me .']'); 532 g$c = Prݖ :: Ci ( $cڷms , $me ); 533 glf :: $ciM [ $me ]['ma'] = $c ; 536  glf :: $ciM [ $me ]['master']; 540 i(! ist ( lf :: $ciM [ $me ]['slave'])) { 543 $avecfigs = ist ( lf :: $cfiguti ['dasours'][ $me ]['aves']? sf::$cfiguti['dasours'][$me]['aves'] : nu ; 545 i( emy ( $avecfigs )) { 546 glf :: $ciM [ $me ]['ave'] = l ; 547  glf :: gCi ( $me , Prݖ :: CONNECTION_WRITE ); 549 i( ist ( $avecfigs ['connection']['dsn'])) { 550 g$cڷms = $avecfigs ['connection']; 552 g$ndkey = y_nd ( $avecfigs ['connection']); 553 g$cڷms = $avecfigs ['ci'][ $ndkey ]; 554 i( emy ( $cڷms )) { 555 throw w PrݖExi ('Nci infmi iyouruimcfiguti ff SLAVE ['. $ndkey .']dasour ['. $me .']'); 560 g$c = Prݖ :: Ci ( $cڷms , $me ); 561 glf :: $ciM [ $me ]['ave'] = $c ; 566  glf :: $ciM [ $me ]['slave']; 584 public  funi Ci ( $cڷms , $me , $deuCss = Prݖ :: CLASS_PROPEL_PDO ) 587 $d = $cڷms ['dsn']; 588 i( g$d == nu ) { 589 throw w PrݖExi ('Nd scifd iyouciڅamf dasour ['. $me .']'); 592 i( ist ( $cڷms ['asame']&& ! emy ($conparams['classname'])) { 593 g$asame = $cڷms ['classname']; 594 i(! ass_exis ( $asame )) { 595 throw w PrݖExi ('Ubˁld scifd PDO subass: ' . $asame ); 598 g$asame = $deuCss ; 601 g$ur = ist ( $cڷms ['ur']? $cڷms['ur'] : nu ; 602 g$sswd = ist ( $cڷms ['sswd']? $cڷms['sswd'] : nu ; 606 g$driv_tis = y (); 607 i ist ( $cڷms ['tis']&& is_y ($conparams['options']) ) { 608 gy { 609 glf :: ossDrivOis $cڷms ['tis'], $driv_tis ); 610 } tch ( PrݖExi $e ) { 611 throw w PrݖExi ('E܅rossg driv oiڠf dasour ['. $me .']', $e ); 615 gy { 616 g$c = w $asame ( $d , $ur , $sswd , $driv_tis ); 617 g$c -> tAribu ( PDO :: ATTR_ERRMODE , PDO:: ERRMODE_EXCEPTION ); 618 } tch ( PDOExi $e ) { 619 throw w PrݖExi ("Ubˁݒ PDO ci", $e ); 624 i( ist ( $cڷms ['ibus']&& is_y ($conparams['attributes'])) { 625 g$ibus = y (); 626 gy { 627 glf :: ossDrivOis $cڷms ['ibus'], $ibus ); 628 } tch ( PrݖExi $e ) { 629 throw w PrݖExi ('E܅rossg ciڇribuf dasour ['. $me .']', $e ); 631 fܗch ( $ibus as $key => $vue ) { 632 $c -> tAribu ( $key , $vue ); 637 g$adr = lf :: gDB ( $me ); 638 g$adr -> Ci ( $c , ist ( $cڷms ['gs']&& is_y ($cڷms['gs']? $cڷms['gs'] : y ()); 640  g$c ; 653 ive  funi $ossDrivOis ( $sour , & $wre_to ) 655 `fܗch ( $sour as $ti => $tida ) { 656 i( `is_rg ( $ti && `os ($ti, '::'!= l ) { 657 $key = $ti ; 658 } `if ( `is_rg ( $ti )) { 659 $key = 'PrݖPDO::' . $ti ; 661 i(! `defed ( $key )) { 662 throw w `PrݖExi ("Invid PDO oi/ibuamecifd: ". $key ); 664 $key = `cڡt ($key); 666 $vue = $tida ['value']; 667 i( `is_rg ( $vue && `os ($vue, '::'!= l ) { 668 i(! `defed ( $vue )) { 669 throw w `PrݖExi ("Invid PDO oi/ibu vuecifd: ". $vue ); 671 $vue = `cڡt ($value); 674 $wre_to [ $key ] = $vue ; 676 } } 687 public  funi $gDB ( $me = nu ) 689 i( $me == nu ) { 690 $me = lf :: `gDeuDB (); 693 i(! `ist ( lf :: $adrM [ $me ])) { 694 i(! `ist ( lf :: $cfiguti ['dasours'][ $me ]['adapter'])) { 695 throw w `PrݖExi ("Ubˁfddf dasour [" . $me . "]."); 697 $db = DBAdr :: `y ( lf :: $cfiguti ['dasours'][ $me ]['adapter']); 699 lf :: $adrM [ $me ] = $db ; 702  lf :: $adrM [ $me ]; 703 } } 711 public  funi $tDB ( $me , DBAdr $adr ) 713 i( $me == nu ) { 714 $me = lf :: `gDeuDB (); 716 lf :: $adrM [ $me ] = $adr ; 717 } } 724 public  funi $gDeuDB () 726 i( lf :: $deuDBName == nu ) { 728 lf :: $deuDBName = `ist (lf:: $cfiguti ['dasours']['deu']? sf::$cfiguti['dasours']['deu'] : sf:: DEFAULT_NAME ; 730  lf :: $deuDBName ; 731 } } 739 public  funi $o () 741 `fܗch ( lf :: $ciM as $idx => $cs ) { 743 `unt ( lf :: $ciM [ $idx ]); 745 } } 754 public  funi $autd ( $assName ) 756 i( `ist ( lf :: $autdM [ $assName ])) { 757 `que ( lf :: $autdM [ $assName ]); 758  ue ; 760  l ; 761 } } 775 public  funi $imptCss ( $th ) { 778 i(( $pos = `pos ( $th , '.')== l ) { 779 $ass = $th ; 781 $ass = `subr ( $th , $pos + 1); 785 i( `ass_exis ( $ass , $uAutd = ue )) { 786  $ass ; 790 $th = `r ($th, '.', DIRECTORY_SEPARATOR ) . '.php'; 793 $t = `ude_ ( $th ); 794 i( $t == l ) { 795 throw w `PrݖExi ("Ubˁimp܈ass: " . $ass . " from " . $th ); 799  $ass ; 800 } } 809 public  funi $tDabaMCss ( $me ) 811 lf :: $dabaMCss = $me ; 812 } } 817 public  funi $dibInPoޚg () 819 lf :: $PoޚgEbd = l ; 820 } } 825 public  funi $abInPoޚg () 827 lf :: $PoޚgEbd = ue ; 828 } } 835 public  funi $isInPoޚgEbd () 837  lf :: $PoޚgEbd ; 838 } } 841 l_autd_gi ( y ('Propel', 'autoload')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/PropelException.php 1 u = $u ; 53 $this -> mesge ." [wed: " . $u -> `gMesge () ."]"; 57 funi $gCau () { 58  $this -> u ; 59 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBAdapter.php 1 `tCht ( $c , $gs ['charset']['value']); 103 i( `ist ( $gs ['qus']&& `is_y ($settings['queries'])) { 104 `fܗch ( $gs ['qus'] as $qus ) { 105 `fܗch (( y ) $qus as $quy ) { 106 $c -> `exec ( $quy ); 110 } } 122 public funi $tCht ( PDO $c , $cht ) 124 $c -> `exec ("SET NAMES '" . $cht . "'"); 125 } } 133 public ab funi toUCa ( $ ); 142 public funi $gSgDim () 145 } } 153 public ab funi igneCa ( $ ); 164 public funi $igneCaInOrdBy ( $ ) 166  $this -> `igneCa ( $ ); 167 } } 176 public ab funi ctSg ( $s1 , $s2 ); 186 public ab funi subSg ( $s , $pos , $n ); 194 public ab funi rLgth ( $s ); 202 public funi $queIdtifr ( $xt ) 204  '"' . $xt . '"'; 205 } } 212 public funi $queIdtifrTab ( $b ) { 213  `imode (" ", `y_m ( `y ( $this , "queIdtifr"), `exode (" ", $b ) ) ); 214 } } 220 eed funi $gIdMhod () 222  DBAdr :: ID_METHOD_AUTOINCREMENT ; 223 } } 229 public funi $isGIdBefeIn () 231  ( $this -> `gIdMhod (== DBAdr :: ID_METHOD_SEQUENCE ); 232 } } 238 public funi $isGIdAIn () 240  ( $this -> `gIdMhod (== DBAdr :: ID_METHOD_AUTOINCREMENT ); 241 } } 247 public funi $gId ( PDO $c , $me = nu ) 249  $c -> `ϡInId ( $me ); 250 } } 256 public funi $gTimeampFmr () 259 } } 265 public funi $gDeFmr () 268 } } 274 public funi $gTimeFmr () 277 } } 289 public funi $uQueIdtifr () 291  l ; 292 } } 297 public ab funi yLim (& $sql , $offt , $lim ); 304 public ab funi ndom ( $ed = nu ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBMSSQL.php 1 `exec ("LOCK TABLE " . $b . " WRITE"); 105 } } 115 public funi $uockTab ( PDO $c , $b ) 117 $emt = $c -> `exec ("UNLOCK TABLES"); 118 } } 123 public funi $queIdtifr ( $xt ) 125  '`' . $xt . '`'; 126 } } 131 public funi $uQueIdtifr () 133  ue ; 134 } } 139 public funi $yLim (& $sql , $offt , $lim ) 141 i $lim > 0 ) { 142 $sql ." LIMIT " . ( $offt > 0 ? $off. ", " : "". $lim ; 143 } i $offt > 0 ) { 144 $sql ." LIMIT " . $offt . ", 18446744073709551615"; 146 } } 151 public funi $ndom ( $ed = nu ) 153  'nd('.(( $ed ).')'; 154 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBNone.php 1 0 ) { 108 $sql .' B.PROPEL$ROWNUM > ' . $offt ; 110 i $lim > 0 ) 112 $sql .= ' AND B.PROPEL$ROWNUM <= ' 113 . ( $offt + $lim ); 116 $sql .' B.PROPEL$ROWNUM <' . $lim ; 118 } } 120 eed funi $gIdMhod () 122  DBAdr :: ID_METHOD_SEQUENCE ; 123 } } 125 public funi $gId ( PDO $c , $me = nu ) 127 i( $me == nu ) { 128 throw w `PrݖExi ("Unableo fetchext sequence ID without sequenceame."); 131 $mt = $c -> `quy ("SELECT " . $me . ".nextval FROM dual"); 132 $row = $mt -> `tch ( PDO :: FETCH_NUM ); 134  $row [0]; 135 } } 137 public funi $ndom ( $ed = NULL ) 140 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBPostgres.php 1 -1 ? "for $len" : "") . ")"; 80 } } 88 public funi $rLgth ( $s ) 91 } } 96 eed funi $gIdMhod () 98  DBAdr :: ID_METHOD_SEQUENCE ; 99 } } 104 public funi $gId ( PDO $c , $me = nu ) 106 i( $me == nu ) { 107 throw w `PrݖExi ("Unableo fetchext sequence ID without sequenceame."); 109 $mt = $c -> `quy ("SELECTextv(".$c-> `que ( $me ).")"); 110 $row = $mt -> `tch ( PDO :: FETCH_NUM ); 111  $row [0]; 112 } } 118 public funi $gTimeampFmr () 121 } } 127 public funi $gTimeFmr () 130 } } 135 public funi $yLim (& $sql , $offt , $lim ) 137 i $lim > 0 ) { 138 $sql ." LIMIT ". $lim ; 140 i $offt > 0 ) { 141 $sql ." OFFSET ". $offt ; 143 } } 148 public funi $ndom ( $ed = NULL ) 151 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBSQLite.php 1 0 ) { 116 $sql ." LIMIT " . $lim . ( $offt > 0 ? " OFFSET " . $offset : ""); 117 } `if ( $offt > 0 ) { 118 $sql ." LIMIT -1 OFFSET " . $offt ; 120 } } 122 public funi $ndom ( $ed = NULL ) 125 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/MSSQL/MssqlDateTime.class.php 1 `gNeedTniCou (); 20 i $cou === 0 ) { 21 $tu = lf :: `exec ('BEGIN TRANSACTION'); 22 $this -> isUncommab = l ; 24 $this -> `emtNeedTniCou (); 25  $tu ; 34 public funi $comm () 36 $tu = ue ; 37 $cou = $this -> `gNeedTniCou (); 38 i( $cou > 0) { 39 i( $cou === 1) { 40 i( $this -> isUncommab ) { 41 throw w `PrݖExi ('Cannot commit becauseestedransaction wasolled back'); 43 $tu = lf :: `exec ('COMMIT TRANSACTION'); 46 $this -> `deemtNeedTniCou (); 48  $tu ; 49 } } 57 public funi $rlBack () 59 $tu = ue ; 60 $cou = $this -> `gNeedTniCou (); 61 i( $cou > 0) { 62 i( $cou === 1) { 63 $tu = lf :: `exec ('ROLLBACK TRANSACTION'); 65 $this -> isUncommab = ue ; 67 $this -> `deemtNeedTniCou (); 69  $tu ; 70 } } 79 public funi $fRlBack () 81 $tu = ue ; 82 $cou = $this -> `gNeedTniCou (); 83 i( $cou > 0) { 86 $tu = lf :: `exec ('ROLLBACK TRANSACTION'); 90 $this -> áedTniCou = 0; 92  $tu ; 93 } } 95 public funi $ϡInId ( $qme = nu ) 97 $su = lf :: `quy ('SELECT SCOPE_IDENTITY()'); 98  () $su -> `tchCumn (); 99 } } 101 public funi $queIdtifr ( $xt ) 103  '[' . $xt . ']'; 104 } } 106 public funi $uQueIdtifr () 108  ue ; 109 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/MSSQL/MssqlPropelPDO.php 1 `gNeedTniCou (); 20 i $cou === 0 ) { 21 $tu = lf :: `exec ('BEGIN TRANSACTION'); 22 $this -> isUncommab = l ; 24 $this -> `emtNeedTniCou (); 25  $tu ; 34 public funi $comm () 36 $tu = ue ; 37 $cou = $this -> `gNeedTniCou (); 38 i( $cou > 0) { 39 i( $cou === 1) { 40 i( $this -> isUncommab ) { 41 throw w `PrݖExi ('Cannot commit becauseestedransaction wasolled back'); 43 $tu = lf :: `exec ('COMMIT TRANSACTION'); 46 $this -> `deemtNeedTniCou (); 48  $tu ; 49 } } 57 public funi $rlBack () 59 $tu = ue ; 60 $cou = $this -> `gNeedTniCou (); 61 i( $cou > 0) { 62 i( $cou === 1) { 63 $tu = lf :: `exec ('ROLLBACK TRANSACTION'); 65 $this -> isUncommab = ue ; 67 $this -> `deemtNeedTniCou (); 69  $tu ; 70 } } 79 public funi $fRlBack () 81 $tu = ue ; 82 $cou = $this -> `gNeedTniCou (); 83 i( $cou > 0) { 86 $tu = lf :: `exec ('ROLLBACK TRANSACTION'); 90 $this -> áedTniCou = 0; 92  $tu ; 93 } } 95 public funi $ϡInId ( $qme = nu ) 97 $su = lf :: `quy ('SELECT SCOPE_IDENTITY()'); 98  () $su -> `tchCumn (); 99 } } 101 public funi $queIdtifr ( $xt ) 103  '[' . $xt . ']'; 104 } } 106 public funi $uQueIdtifr () 108  ue ; 109 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/logger/BasicLogger.php 1 logg = $logg ; 53 public funi $t ( $mesge ) 55 $this -> `log ( $mesge , 'alert'); 56 } } 64 public funi $ ( $mesge ) 66 $this -> `log ( $mesge , 'crit'); 67 } } 75 public funi $r ( $mesge ) 77 $this -> `log ( $mesge , 'err'); 78 } } 86 public funi $wng ( $mesge ) 88 $this -> `log ( $mesge , 'warning'); 89 } } 98 public funi $ni ( $mesge ) 100 $this -> `log ( $mesge , 'notice'); 101 } } 108 public funi $fo ( $mesge ) 110 $this -> `log ( $mesge , 'info'); 111 } } 119 public funi $debug ( $mesge ) 121 $this -> `log ( $mesge , 'debug'); 122 } } 132 public funi $log ( $mesge , $vy = nu ) 134 i( `is_nu ( $this -> logg )) 135 $this -> logg = LogMag :: `gLogg ('propel'); 137  $vy ) 140 $mhod = 'fatal'; 143 $mhod = 'error'; 147 $mhod = 'warning'; 151 $mhod = 'info'; 155 $mhod = 'debug'; 159 $a = `debug_backa (); 162 $this -> logg ->{ $mhod } ( 163 $mesge , 164 $a [2]['class'], 165 $a [2]['function'], 166 $a [1]['file'], 167 $a [1]['line'] 169 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/map/ColumnMap.php 1 cumnName = $me ; 82 $this -> b = $cڏgTab ; 90 public funi $gName () 92  $this -> cumnName ; 93 } } 99 public funi $gTab () 101  $this -> b ; 102 } } 109 public funi $gTabName () 111  $this -> b -> `gName (); 112 } } 119 public funi $gFuyQuifdName () 121  $this -> `gTabName (. "." . $this-> cumnName ; 122 } } 130 public funi $tPhpName ( $phpName ) 132 $this -> phpName = $phpName ; 133 } } 140 public funi $gPhpName () 142  $this -> phpName ; 143 } } 151 public funi $tTy ( $ty ) 153 $this -> ty = $ty ; 154 } } 161 public funi $gTy () 163  $this -> ty ; 164 } } 171 public funi $gPdoTy () 173  PrݖCumnTys :: `gPdoTy ( $this -> ty ); 174 } } 180 public funi $isLob () 182  ( $this -> ty = PrݖCumnTys :: BLOB || $this->ty =PrݖCumnTys:: VARBINARY || $this->ty =PrݖCumnTys:: LONGVARBINARY ); 183 } } 191 public funi $isTempܮ () 193  ( $this -> ty = PrݖCumnTys :: TIMESTAMP || $this->ty =PrݖCumnTys:: DATE || $this->ty =PrݖCumnTys:: TIME || $this->ty =PrݖCumnTys:: BU_DATE || $this->ty =PrݖCumnTys:: BU_TIMESTAMP ); 194 } } 205 public funi $isEpochTempܮ () 207  ( $this -> ty = PrݖCumnTys :: TIMESTAMP || $this->ty =PrݖCumnTys:: DATE || $this->ty =PrݖCumnTys:: TIME ); 208 } } 214 public funi $isNumic () 216  ( $this -> ty = PrݖCumnTys :: NUMERIC || $this->ty =PrݖCumnTys:: DECIMAL || $this->ty =PrݖCumnTys:: TINYINT || $this->ty =PrݖCumnTys:: SMALLINT || $this->ty =PrݖCumnTys:: INTEGER || $this->ty =PrݖCumnTys:: BIGINT || $this->ty =PrݖCumnTys:: REAL || $this->ty =PrݖCumnTys:: FLOAT || $this->ty =PrݖCumnTys:: DOUBLE ); 217 } } 223 public funi $isText () 225  ( $this -> ty = PrݖCumnTys :: VARCHAR || $this->ty =PrݖCumnTys:: LONGVARCHAR || $this->ty =PrݖCumnTys:: CHAR ); 226 } } 234 public funi $tSize ( $size ) 236 $this -> size = $size ; 237 } } 244 public funi $gSize () 246  $this -> size ; 247 } } 255 public funi $tPrimyKey ( $pk ) 257 $this -> pk = $pk ; 258 } } 265 public funi $isPrimyKey () 267  $this -> pk ; 268 } } 276 public funi $tNNu ( $ ) 278 $this -> nNu = $ ; 279 } } 286 public funi $isNNu () 288  ( $this -> nNu || $this-> `isPrimyKey ()); 289 } } 296 public funi $tDeuVue ( $deuVue ) 298 $this -> deuVue = $deuVue ; 299 } } 305 public funi $gDeuVue () 307  $this -> deuVue ; 308 } } 317 public funi $tFeignKey ( $bName , $cumnName ) 319 i( $bName && $cumnName ) { 320 $this -> ϋdTabName = $bName ; 321 $this -> ϋdCumnName = $cumnName ; 323 $this -> ϋdTabName = ""; 324 $this -> ϋdCumnName = ""; 326 } } 333 public funi $isFeignKey () 335 i( $this -> ϋdTabName ) { 336  ue ; 338  l ; 340 } } 345 public funi $gRi () 347 if(! $this -> ϋdTabName  nu ; 348 `fܗch ( $this -> `gTab ()-> `gRis ( as $me => $ti ) 350 if( $ti -> `gTy (= RiM :: MANY_TO_ONE ) 352 i( $ti -> `gFeignTab ()-> `gName (= $this -> `gRedTabName () 353 && `y_key_exis ( $this -> `gFuyQuifdName (), $ti -> `gCumnMpgs ())) 355  $ti ; 359 } } 366 public funi $gRedName () 368  $this -> ϋdTabName . "." . $this-> ϋdCumnName ; 369 } } 376 public funi $gRedTabName () 378  $this -> ϋdTabName ; 379 } } 386 public funi $gRedCumnName () 388  $this -> ϋdCumnName ; 389 } } 397 public funi $gRedTab () 399 i( $this -> ϋdTabName ) { 400  $this -> b -> `gDabaM ()-> `gTab ($this-> ϋdTabName ); 402 throw w `PrݖExi ("Cn fch RedTab f cumwhfeigkey: " . $this -> cumnName ); 404 } } 412 public funi $gRedCumn () 414  $this -> `gRedTab ()-> `gCumn ($this-> ϋdCumnName ); 415 } } 417 public funi $addVid ( $vid ) 419 $this -> vids [] = $vid ; 420 } } 422 public funi $hasVids () 424  `cou ( $this -> vids ) > 0; 425 } } 427 public funi $gVids () 429  $this -> vids ; 430 } } 437 public funi $igneCa ( $r , DBAdr $db ) 439 i( $this -> `isText ()) { 440  $db -> `igneCa ( $r ); 442  $r ; 444 } } 454 public  funi $nmizeName ( $me ) 456 i( l !=( $pos = `os ( $me , '.'))) { 457 $me = `subr ($me, $pos + 1); 459 $me = `ou ($name); 460  $me ; 461 } } 471 public funi $gCumnName () 473  $this -> `gName (); 474 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/map/DatabaseMap.php 1 me = $me ; 66 public funi $gName () 68  $this -> me ; 69 } } 77 public funi $addTab ( $bName ) 79 $this -> bs [ $bName ] = w `TabM ($tableName, $this); 80  $this -> bs [ $bName ]; 81 } } 88 public funi $addTabObje ( TabM $b ) 90 $b -> `tDabaM ( $this ); 91 $this -> bs [ $b -> `gName ()] = $table; 92 $this -> bsByPhpName [ $b -> `gPhpName ()] = $table; 93 } } 101 public funi $addTabFromMCss ( $bMCss ) 103 $b = w `$bMCss (); 104 if(! $this -> `hasTab ( $b -> `gName ())) { 105 $this -> `addTabObje ( $b ); 106  $b ; 108  $this -> `gTab ( $b -> `gName ()); 110 } } 118 public funi $hasTab ( $me ) 120 i `os ( $me , '.') > 0) { 121 $me = `subr ($me, 0, `os ($name, '.')); 123  `ist ( $this -> bs [ $me ]); 124 } } 133 public funi $gTab ( $me ) 135 i(! `ist ( $this -> bs [ $me ])) { 136 throw w `PrݖExi ("Cn fch TabM f undefedab: " . $me ); 138  $this -> bs [ $me ]; 139 } } 146 public funi $gTabs () 148  $this -> bs ; 149 } } 159 public funi $gCumn ( $quifdCumnName ) 161 `li ( $bName , $cumnName `exode ('.', $quifdCumnName ); 162  $this -> `gTab ( $bName )-> `gCumn ( $cumnName , l ); 163 } } 174 public funi $cڏsTab ( $me ) 176  $this -> `hasTab ( $me ); 177 } } 179 public funi $gTabByPhpName ( $phpName ) 181 i( `y_key_exis ( $phpName , $this -> bsByPhpName )) { 182  $this -> bsByPhpName [ $phpName ]; 183 } i( `ass_exis ( $tmCss = $phpName . 'TableMap')) { 184 $this -> `addTabFromMCss ( $tmCss ); 185  $this -> bsByPhpName [ $phpName ]; 187 throw w `PrݖExi ("Cn fch TabM f undefedab˅hpName: " . $phpName ); 189 } } 196 public funi $gDBAdr () 198  Prݖ :: `gDB ( $this -> me ); 199 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/map/RelationMap.php 1 me = $me ; 68 public funi $gName () 70  $this -> me ; 71 } } 78 public funi $tTy ( $ty ) 80 $this -> ty = $ty ; 81 } } 88 public funi $gTy () 90  $this -> ty ; 91 } } 98 public funi $tLolTab ( $b ) 100 $this -> lolTab = $b ; 101 } } 108 public funi $gLolTab () 110  $this -> lolTab ; 111 } } 118 public funi $tFeignTab ( $b ) 120 $this -> feignTab = $b ; 121 } } 128 public funi $gFeignTab () 130  $this -> feignTab ; 131 } } 139 public funi $addCumnMpg ( CumnM $lol , CumnM $feign ) 141 $this -> lolCumns [] = $lol ; 142 $this -> feignCumns [] = $feign ; 143 } } 150 public funi $gCumnMpgs () 152 $h = `y (); 153  $i =0, $size = `cou ( $this -> lolCumns ); $i < $size; $i++) { 154 $h [ $this -> lolCumns [ $i ]-> `gFuyQuifdName ()] = $this-> feignCumns [$i]->getFullyQualifiedName(); 156  $h ; 157 } } 164 public funi $gLolCumns () 166  $this -> lolCumns ; 167 } } 174 public funi $gFeignCumns () 176  $this -> feignCumns ; 177 } } 184 public funi $tOnUpde ( $Upde ) 186 $this -> Upde = $Upde ; 187 } } 194 public funi $gOnUpde () 196  $this -> Upde ; 197 } } 204 public funi $tOnDe ( $De ) 206 $this -> De = $De ; 207 } } 214 public funi $gOnDe () 216  $this -> De ; 217 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/map/TableMap.php 1 `tName ($name); 83 if(! `is_nu ( $dbM ) $this -> `tDabaM ($dbMap); 84 $this -> `lize (); 91 public funi $lize () 93 } } 100 public funi $tDabaM ( DabaM $dbM ) 102 $this -> dbM = $dbM ; 103 } } 110 public funi $gDabaM () 112  $this -> dbM ; 113 } } 120 public funi $tName ( $me ) 122 $this -> bName = $me ; 123 } } 130 public funi $gName () 132  $this -> bName ; 133 } } 140 public funi $tPhpName ( $phpName ) 142 $this -> phpName = $phpName ; 143 } } 150 public funi $gPhpName () 152  $this -> phpName ; 153 } } 160 public funi $tCsame ( $asame ) 162 $this -> asame = $asame ; 163 } } 169 public funi $gCsame () 171  $this -> asame ; 172 } } 179 public funi $tPackage ( $ckage ) 181 $this -> ckage = $ckage ; 182 } } 188 public funi $gPackage () 190  $this -> ckage ; 191 } } 197 public funi $tUIdG ( $b ) 199 $this -> uIdG = $b ; 200 } } 206 public funi $isUIdG () 208  $this -> uIdG ; 209 } } 216 public funi $tPrimyKeyMhodInfo ( $pkInfo ) 218 $this -> pkInfo = $pkInfo ; 219 } } 226 public funi $gPrimyKeyMhodInfo () 228  $this -> pkInfo ; 229 } } 244 public funi $addCumn ( $me , $phpName , $ty , $isNNu = l , $size = nu , $deuVue =u, $pk = f, $fkTab =u, $fkCumn =ull) 247 $c = w `CumnM ( $me , $this ); 249 i( $fkTab && $fkCumn ) { 250 i( `os ( $fkCumn , '.'> 0 && spos($fkCumn, $fkTab != l ) { 251 $fkCumn = `subr ($fkCumn, ` ( $fkTab ) + 1); 253 $c -> `tFeignKey ( $fkTab , $fkCumn ); 254 $this -> feignKeys [ $me ] = $c ; 257 $c -> `tTy ( $ty ); 258 $c -> `tSize ( $size ); 259 $c -> `tPhpName ( $phpName ); 260 $c -> `tNNu ( $isNNu ); 261 $c -> `tDeuVue ( $deuVue ); 262 i( $pk ) { 263 $c -> `tPrimyKey ( ue ); 264 $this -> imyKeys [ $me ] = $c ; 266 $this -> cumns [ $me ] = $c ; 268  $this -> cumns [ $me ]; 269 } } 278 public funi $addCfigudCumn ( $cm ) 280 $this -> cumns [ $cm -> `gCumnName () ] = $cmap; 281  $cm ; 282 } } 291 public funi $hasCumn ( $me , $nmize = ue ) 293 i( $me of CumnM ) { 294 $me = $me-> `gCumnName (); 295 } if( $nmize ) { 296 $me = CumnM :: `nmizeName ($name); 298  `ist ( $this -> cumns [ $me ]); 299 } } 309 public funi $gCumn ( $me , $nmize = ue ) 311 i( $nmize ) { 312 $me = CumnM :: `nmizeName ($name); 314 i(! $this -> `cڏsCumn ( $me , l )) { 315 throw w `PrݖExi ("Cn fch CumnM f undefed cumn: " . $me ); 317  $this -> cumns [ $me ]; 318 } } 325 public funi $gCumns () 327  $this -> cumns ; 328 } } 339 public funi $addPrimyKey ( $cumnName , $phpName , $ty , $isNNu = l , $size = nu , $deuVue =ull) 341  $this -> `addCumn ( $cumnName , $phpName , $ty , $isNNu , $size , $deuVue , ue , nu ,ull); 342 } } 356 public funi $addFeignKey ( $cumnName , $phpName , $ty , $fkTab , $fkCumn , $isNNu = l , $size = 0, $deuVue = nu ) 358  $this -> `addCumn ( $cumnName , $phpName , $ty , $isNNu , $size , $deuVue , l , $fkTab , $fkCumn ); 359 } } 373 public funi $addFeignPrimyKey ( $cumnName , $phpName , $ty , $fkTab , $fkCumn , $isNNu = l , $size = 0, $deuVue = nu ) 375  $this -> `addCumn ( $cumnName , $phpName , $ty , $isNNu , $size , $deuVue , ue , $fkTab , $fkCumn ); 376 } } 383 public funi $gPrimyKeys () 385  $this -> imyKeys ; 386 } } 393 public funi $gFeignKeys () 395  $this -> feignKeys ; 396 } } 408 public funi $addVid ( $cumnName , $me , $asame , $vue , $mesge ) 410 i( l !=( $pos = `os ( $cumnName , '.'))) { 411 $cumnName = `subr ($cumnName, $pos + 1); 414 $c = $this -> `gCumn ( $cumnName ); 415 i( $c != nu ) { 416 $vid = w `VidM ( $c ); 417 $vid -> `tName ( $me ); 418 $vid -> `tCss ( $asame ); 419 $vid -> `tVue ( $vue ); 420 $vid -> `tMesge ( $mesge ); 421 $c -> `addVid ( $vid ); 423 } } 430 public funi $budRis () 432 } } 443 public funi addRi ( $me , $bPhpName , $ty , $cumnMpg = y (), $De = nu , $Upde =ull) 447 $ti = w RiM ( $me ); 448 g$ti -> tTy ( $ty ); 449 g$ti -> tOnUpde ( $Upde ); 450 g$ti -> tOnDe ( $De ); 452 i( g$ty = RiM :: MANY_TO_ONE ) { 453 $ti -> tLolTab ( $this ); 454 g$ti -> tFeignTab ( $this -> dbM -> gTabByPhpName ( $bPhpName )); 456 g$ti -> tLolTab ( $this -> dbM -> gTabByPhpName ( $bPhpName )); 457 g$ti -> tFeignTab ( $this ); 458 g$cumnMpg = y_ ( $cumnMpg ); 461 fܗch ( $cumnMpg as $key => $vue ) 463 $ti -> addCumnMpg ( 464 $ti -> gLolTab ()-> gCumn ( $key ), 465 $ti -> gFeignTab ()-> gCumn ( $vue ) 468 g$this -> gtis [ $me ] = $ti ; 469  g$ti ; 478 public funi $hasRi ( $me ) 480  `y_key_exis ( $me , $this -> `gRis ()); 481 } } 490 public funi $gRi ( $me ) 492 i(! `y_key_exis ( $me , $this -> `gRis ())) 494 throw w `PrݖExi ('Clg gRi(ڇunknowti, ' . $me ); 496  $this -> tis [ $me ]; 497 } } 505 public funi $gRis () 507 if(! $this -> tisBut ) 509 $this -> `budRis (); 510 $this -> tisBut = ue ; 512  $this -> tis ; 513 } } 521 public funi $gBehavis () 523  `y (); 524 } } 536 public funi $cڏsCumn ( $me , $nmize = ue ) 538  $this -> `hasCumn ( $me , $nmize ); 539 } } 549 eed funi $nmizeCName ( $me ) 551  CumnM :: `nmizeName ( $me ); 552 } } 560 public funi $gPrimyKeyCumns () 562  `y_vues ( $this -> imyKeys ); 563 } } 571 ive g$efix ; 579 public funi $gPfix () 581  $this -> efix ; 582 } } 592 public funi $tPfix ( $efix ) 594 $this -> efix = $efix ; 595 } } 604 eed funi $hasPfix ( $da ) 606  ( `os ( $da , $this -> efix ) === 0); 607 } } 616 eed funi $movePfix ( $da ) 618  $this -> `hasPfix ( $da ? `subr ($da, ` ($this-> efix )) : $data; 619 } } 631 public f funi $moveUndSces ( $da ) 633 $out = ''; 634 $tmp = $this -> `movePfix ( $da ); 635 $tok = `ok ( $tmp , '_'); 636  $tok ) { 637 $out . `ucf ( $tok ); 638 $tok = `ok ('_'); 640  $out ; 641 } } 650 ive funi $fLrCs ( $da ) 652 ( `ucf ( `ow ( $da ))); 653 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/map/ValidatorMap.php 1 cumn = $cڏgCumn ; 54 public funi $gCumn () 56  $this -> cumn ; 57 } } 59 public funi $gCumnName () 61  $this -> cumn -> `gCumnName (); 62 } } 64 public funi $tName ( $me ) 66 $this -> me = $me ; 67 } } 69 public funi $tCss ( $asame ) 71 $this -> asame = $asame ; 72 } } 74 public funi $tVue ( $vue ) 76 $this -> vue = $vue ; 77 } } 79 public funi $tMesge ( $mesge ) 81 $this -> mesge = $mesge ; 82 } } 84 public funi $gName () 86  $this -> me ; 87 } } 89 public funi $gCss () 91  $this -> asame ; 92 } } 94 public funi $gVue () 96  $this -> vue ; 97 } } 99 public funi $gMesge () 101  $this -> mesge ; 102 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/om/BaseObject.php 1 modifdCumns ); 69 } } 77 public funi $isCumnModifd ( $c ) 79  `_y ( $c , $this -> modifdCumns ); 80 } } 86 public funi $gModifdCumns () 88  `y_unique ( $this -> modifdCumns ); 89 } } 98 public funi $isNew () 100  $this -> _w ; 101 } } 109 public funi $tNew ( $b ) 111 $this -> _w = ( boޗn $b ; 112 } } 118 public funi $isDed () 120  $this -> _ded ; 121 } } 128 public funi $tDed ( $b ) 130 $this -> _ded = ( boޗn $b ; 131 } } 138 public funi $eSave ( PrݖPDO $c = nu ) 140  ue ; 141 } } 147 public funi $poSave ( PrݖPDO $c = nu { } } 154 public funi $eIn ( PrݖPDO $c = nu ) 156  ue ; 157 } } 163 public funi $poIn ( PrݖPDO $c = nu { } } 170 public funi $eUpde ( PrݖPDO $c = nu ) 172  ue ; 173 } } 179 public funi $poUpde ( PrݖPDO $c = nu { } } 186 public funi $eDe ( PrݖPDO $c = nu ) 188  ue ; 189 } } 195 public funi $poDe ( PrݖPDO $c = nu { } } 202 public funi $tModifd ( $c = nu ) 204 i( $c != nu ) 206 ( $offt = `y_ch ( $c , $this -> modifdCumns )!= l ) 207 `y_li ( $this -> modifdCumns , $offt , 1); 211 $this -> modifdCumns = `y (); 213 } } 223 public funi $equs ( $obj ) 225 $thisazz = `g_ass ( $this ); 226 i( `is_obje ( $obj && $obj of $thisazz ) { 227 i( $this == $obj ) { 228  ue ; 229 } `if ( $this -> `gPrimyKey (== nu || $obj ->getPrimaryKey() ===ull) { 230  l ; 232  ( $this -> `gPrimyKey (== $obj ->getPrimaryKey()); 235  l ; 237 } } 245 public funi $hashCode () 247 $ok = $this -> `gPrimyKey (); 248 i( $ok == nu ) { 249  `c32 ( `rlize ( $this )); 251  `c32 ( `rlize ( $ok )); 252 } } 261 eed funi log ( $msg , $iܙy = Prݖ :: LOG_INFO ) 263  Prݖ :: log ( g_ass ( $this . ': ' . $msg , $iܙy ); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/om/NestedSetRecursiveIterator.php 1 tNode = $node ; 38 $this -> curNode = $node ; 41 public funi $wd () { 42 $this -> curNode = $this-> tNode ; 43 } } 45 public funi $vid () { 46  ( $this -> curNode != nu ); 47 } } 49 public funi $cut () { 50  $this -> curNode ; 51 } } 53 public funi $key () { 54 $key = `y (); 55 `fܗch ( $this -> curNode -> `gPh ( as $node ) { 56 $key [] = $node -> `gPrimyKey (); 58  `imode ('.', $key ); 59 } } 61 public funi $xt () { 62 $xtNode = nu ; 64 i( $this -> `vid ()) { 65  nu == $xtNode ) { 66 i( nu == $this -> curNode ) { 70 i( $this -> curNode -> `hasNextSiblg ()) { 71 $xtNode = $this -> curNode -> `veNextSiblg (); 76 $this -> curNode = $xtNode ; 78  $this -> curNode ; 79 } } 81 public funi $hasChdn () { 82  $this -> curNode -> `hasChdn (); 83 } } 85 public funi $gChdn () { 86  w `NeedSRecursiveIt ( $this -> curNode -> `veFChd ()); 87 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/om/NodeObject.php 1 tNode = $node ; 42 $this -> curNode = $node ; 44 i( `ist ( $ts ['con'])) 45 $this -> c = $ts ['con']; 47 i( `ist ( $ts ['querydb'])) 48 $this -> quydb = $ts ['querydb']; 51 public funi $wd () { 52 $this -> curNode = $this-> tNode ; 53 } } 55 public funi $vid () { 56  ( $this -> curNode != nu ); 57 } } 59 public funi $cut () { 60  $this -> curNode ; 61 } } 63 public funi $key () { 64  $this -> curNode -> `gNodePh (); 65 } } 67 public funi $xt () { 69 i( $this -> `vid ()) 71 $xtNode = $this -> curNode -> `gFChdNode ($this-> quydb , $this-> c ); 73  $xtNode == nu ) 75 i( $this -> curNode == nu || $this->curNode-> `equs ($this-> tNode )) 78 $xtNode = $this -> curNode -> `gSiblgNode ( l , $this-> quydb , $this-> c ); 80 i( $xtNode == nu ) 81 $this -> curNode = $this->curNode-> `gPtNode ($this-> quydb , $this-> c ); 84 $this -> curNode = $xtNode ; 87  $this -> curNode ; 88 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/BasePeer.php 1 `gDbName ()); 118 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 123 $bs_keys = `y (); 124 `fܗch ( $ as $c ) { 125 `fܗch ( $c -> `gATabs ( as $bName ) { 126 $bName2 = $ -> `gTabFAls ( $bName ); 127 i( $bName2 != nu ) { 128 $bs_keys [ $bName2 . ' ' . $bName ] = ue ; 130 $bs_keys [ $bName ] = ue ; 135 $afedRows = 0; 137 $bs = `y_keys ( $bs_keys ); 139 `fܗch ( $bs as $bName ) { 141 $wheCu = `y (); 142 $Pams = `y (); 143 `fܗch ( $dbM -> `gTab ( $bName )-> `gCumns ( as $cM ) { 144 $key = $bName . '.' . $cM -> `gCumnName (); 145 i( $ -> `cڏsKey ( $key )) { 146 $sb = ""; 147 $ -> `gCri ( $key )-> `ndPsTo ( $sb , $Pams ); 148 $wheCu [] = $sb ; 152 i( `emy ( $wheCu )) { 153 throw w `PrݖExi ("Cowardlyefusingo delete fromable $tableName withmpty WHERE clause."); 157 y { 158 $sql = "DELETE FROM " . $bName . " WHERE " . `imode (" AND ", $wheCu ); 159 $mt = $c -> `e ( $sql ); 160 lf :: `puϋStmtVues ( $mt , $Pams , $dbM , $db ); 161 $mt -> `execu (); 162 $afedRows = $mt -> `rowCou (); 163 } `tch ( Exi $e ) { 164 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 165 throw w `PrݖExi ("Ubˁexecu DELETE smt.", $e ); 170  $afedRows ; 171 } } 192 public  funi $doDeA ( $bName , PrݖPDO $c ) 194 y { 195 $sql = "DELETE FROM " . $bName ; 196 $mt = $c -> `e ( $sql ); 197 $mt -> `execu (); 198  $mt -> `rowCou (); 199 } `tch ( Exi $e ) { 200 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 201 throw w `PrݖExi ("Ubˁسrfm DELETE ALL oti.", $e ); 203 } } 228 public  funi $doIn ( Cr $ , PrݖPDO $c ) { 231 $id = nu ; 233 $db = Prݖ :: `gDB ( $ -> `gDbName ()); 237 $keys = $ -> `keys (); 238 i(! `emy ( $keys )) { 239 $bName = $ -> `gTabName $keys [0] ); 241 throw w `PrݖExi ("Database insertttempted withoutnything specifiedo insert"); 244 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 245 $bM = $dbM -> `gTab ( $bName ); 246 $keyInfo = $bM -> `gPrimyKeyMhodInfo (); 247 $uIdG = $bM -> `isUIdG (); 250 $pk = lf :: `gPrimyKey ( $ ); 260 i( $pk != nu && $uIdG && ! $ -> `keyCڏsVue ($pk-> `gFuyQuifdName ()&& $db -> `isGIdBefeIn ()) { 261 y { 262 $id = $db -> `gId ( $c , $keyInfo ); 263 } `tch ( Exi $e ) { 264 throw w `PrݖExi ("Ubˁg sequ id.", $e ); 266 $ -> `add ( $pk -> `gFuyQuifdName (), $id ); 269 y { 270 $adr = Prݖ :: `gDB ( $ -> `gDBName ()); 272 $quifdCs = $ -> `keys (); 273 $cumns = `y (); 274 `fܗch ( $quifdCs as $quifdC ) { 275 $cumns [] = `subr ( $quifdC , `pos ($qualifiedCol, '.') + 1); 279 i( $adr -> `uQueIdtifr ()) { 280 $cumns = `y_m ( `y ( $adr , 'quoteIdentifier'), $columns); 283 $sql = 'INSERT INTO ' . $bName 284 . ' (' . `imode (',', $cumns ) . ')' 287  $p =1, $t = `cou ( $cumns ); $p <= $cnt; $p++) { 288 $sql .':p'. $p ; 289 i( $p != $t $sql .= ','; 291 $sql .= ')'; 293 $mt = $c -> `e ( $sql ); 294 lf :: `puϋStmtVues ( $mt , sf:: `budPams ( $quifdCs , $ ), $dbM , $db ); 295 $mt -> `execu (); 297 } `tch ( Exi $e ) { 298 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 299 throw w `PrݖExi ("Ubˁexecu INSERT smt.", $e ); 303 i( $pk != nu && $uIdG && $db -> `isGIdAIn ()) { 304 y { 305 $id = $db -> `gId ( $c , $keyInfo ); 306 } `tch ( Exi $e ) { 307 throw w `PrݖExi ("Ubˁgutoemid.", $e ); 311  $id ; 312 } } 335 public  funi $doUpde ( Cr $Cr , Cr $updeVues , PrݖPDO $c ) { 337 $db = Prݖ :: `gDB ( $Cr -> `gDbName ()); 338 $dbM = Prݖ :: `gDabaM ( $Cr -> `gDbName ()); 341 $bsCumns = $Cr -> `gTabsCumns (); 344 $updeTabsCumns = $updeVues -> `gTabsCumns (); 346 $afedRows = 0; 348 `fܗch ( $bsCumns as $bName => $cumns ) { 350 $wheCu = `y (); 352 $ms = `y (); 354 $mt = nu ; 355 y { 357 $sql = "UPDATE " . $bName . " SET "; 358 $p = 1; 359 `fܗch ( $updeTabsCumns [ $bName ] as $c ) { 360 $updeCumnName = `subr ( $c , `pos ($col, '.') + 1); 362 i( $db -> `uQueIdtifr ()) { 363 $updeCumnName = $db -> `queIdtifr ($updateColumnName); 365 i( $updeVues -> `gComris ( $c ! Cr :: CUSTOM_EQUAL ) { 366 $sql . $updeCumnName . '=:p'. $p ++.', '; 368 $m = $updeVues -> `g ( $c ); 369 $sql . $updeCumnName . ' = '; 370 i( `is_y ( $m )) { 371 i( `ist ( $m ['raw'])) { 372 $w = $m ['raw']; 373 $wcvt = ''; 375  $r =0, $n = ` ( $w ); $r < $len; $r++) { 376 i( $w { $r } == '?') { 377 $wcvt .':p'. $p ++; 379 $wcvt . $w { $r }; 382 $sql . $wcvt . ', '; 384 $sql .':p'. $p ++.', '; 386 i( `ist ( $m ['value'])) { 387 $updeVues -> `put ( $c , $m ['value']); 390 $updeVues -> `move ( $c ); 391 $sql . $m . ', '; 396 $ms = lf :: `budPams ( $updeTabsCumns [ $bName ], $updeVues ); 398 `fܗch ( $cumns as $cName ) { 399 $sb = ""; 400 $Cr -> `gCri ( $cName )-> `ndPsTo ( $sb , $ms ); 401 $wheCu [] = $sb ; 404 $sql = `subr ($sql, 0, -2. " WHERE " . `imode (" AND ", $wheCu ); 406 $mt = $c -> `e ( $sql ); 409 lf :: `puϋStmtVues ( $mt , $ms , $dbM , $db ); 411 $mt -> `execu (); 413 $afedRows = $mt -> `rowCou (); 415 $mt = nu ; 417 } `tch ( Exi $e ) { 418 i( $mt $m nu ; 419 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 420 throw w `PrݖExi ("Ubˁexecu UPDATE smt.", $e ); 425  $afedRows ; 426 } } 437 public  funi $doSe ( Cr $ , PrݖPDO $c = nu ) 439 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 440 $db = Prݖ :: `gDB ( $ -> `gDbName ()); 442 i( $c == nu ) { 443 $c = Prݖ :: `gCi ( $ -> `gDbName (), Prݖ:: CONNECTION_READ ); 446 $mt = nu ; 448 i( $ -> `isUTni () $c -> `begTni (); 450 y { 452 $ms = `y (); 453 $sql = lf :: `SeSql ( $ , $ms ); 455 $mt = $c -> `e ( $sql ); 457 lf :: `puϋStmtVues ( $mt , $ms , $dbM , $db ); 459 $mt -> `execu (); 461 i( $ -> `isUTni () $c -> `comm (); 463 } `tch ( Exi $e ) { 464 i( $mt $m nu ; 465 i( $ -> `isUTni () $c -> `rlBack (); 466 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 467 throw w `PrݖExi ( $e ); 470  $mt ; 471 } } 483 public  funi $doCou ( Cr $ , PrݖPDO $c = nu ) 485 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 486 $db = Prݖ :: `gDB ( $ -> `gDbName ()); 488 i( $c == nu ) { 489 $c = Prݖ :: `gCi ( $ -> `gDbName (), Prݖ:: CONNECTION_READ ); 492 $mt = nu ; 494 i( $ -> `isUTni () $c -> `begTni (); 496 $edsComexCou = ( $ -> `gGroupByCumns (|| $-> `gOfft () 497 || $ -> `gLim (|| $-> `gHavg (|| `_y ( Cr :: DISTINCT , $-> `gSeModifrs ())); 499 y { 501 $ms = `y (); 503 i( $edsComexCou ) { 504 i( lf :: `edsSeAls ( $ )) { 505 lf :: `tuSeCumnsToAls ( $ ); 507 $Sql = lf :: `SeSql ( $ , $ms ); 508 $sql = 'SELECT COUNT(*FROM (' . $Sql . ') ASropelmatch4cnt'; 511 $ -> `rSeCumns ()-> `addSeCumn ('COUNT(*)'); 512 $sql = lf :: `SeSql ( $ , $ms ); 515 $mt = $c -> `e ( $sql ); 516 lf :: `puϋStmtVues ( $mt , $ms , $dbM , $db ); 517 $mt -> `execu (); 519 i( $ -> `isUTni () $c -> `comm (); 521 } `tch ( Exi $e ) { 522 i( $mt $m nu ; 523 i( $ -> `isUTni () $c -> `rlBack (); 524 Prݖ :: `log ( $e -> `gMesge (), Prݖ:: LOG_ERR ); 525 throw w `PrݖExi ( $e ); 528  $mt ; 529 } } 551 public  funi $puϋStmtVues ( PDOSmt $mt , y $ms , DabaM $dbM , DBAdr $db ) 553 $i = 1; 554 `fܗch ( $ms as $m ) { 555 $bName = $m ['table']; 556 $cumnName = $m ['column']; 557 $vue = $m ['value']; 559 i( $vue == nu ) { 561 $mt -> `bdVue (':p'. $i ++, nu , PDO :: PARAM_NULL ); 563 } `if ( `ist ( $bName ) ) { 565 $cM = $dbM -> `gTab ( $bName )-> `gCumn ( $cumnName ); 566 $ty = $cM -> `gTy (); 567 $pdoTy = $cM -> `gPdoTy (); 571 i( $pdoTy = PDO :: PARAM_BOOL && $db of DBMySQL ) { 572 $vue = () $value; 573 $pdoTy = PDO :: PARAM_INT ; 574 } `if ( `is_numic ( $vue && $cM -> `isEpochTempܮ ()) { 575 i( $ty = PrݖCumnTys :: TIMESTAMP ) { 576 $vue = `de ( $db -> `gTimeampFmr (), $value); 577 } i( $ty = PrݖCumnTys :: DATE ) { 578 $vue = `de ( $db -> `gDeFmr (), $value); 579 } i( $ty = PrݖCumnTys :: TIME ) { 580 $vue = `de ( $db -> `gTimeFmr (), $value); 582 } `if ( $vue of DeTime && $cM -> `isTempܮ ()) { 583 i( $ty = PrݖCumnTys :: TIMESTAMP || $ty =PrݖCumnTys:: BU_TIMESTAMP ) { 584 $vue = $vue-> `fm ( $db -> `gTimeampFmr ()); 585 } i( $ty = PrݖCumnTys :: DATE || $ty =PrݖCumnTys:: BU_DATE ) { 586 $vue = $vue-> `fm ( $db -> `gDeFmr ()); 587 } i( $ty = PrݖCumnTys :: TIME ) { 588 $vue = $vue-> `fm ( $db -> `gTimeFmr ()); 590 } `if ( `is_sour ( $vue && $cM -> `isLob ()) { 593 `wd ( $vue ); 596 $mt -> `bdVue (':p'. $i ++, $vue , $pdoTy ); 598 $mt -> `bdVue (':p'. $i ++, $vue ); 601 } } 610 public  funi $doVide ( $dbName , $bName , $cumns ) 612 $dbM = Prݖ :: `gDabaM ( $dbName ); 613 $bM = $dbM -> `gTab ( $bName ); 614 $uM = `y (); 615 `fܗch ( $cumns as $cName => $cVue ) { 616 i( $bM -> `cڏsCumn ( $cName )) { 617 $c = $bM -> `gCumn ( $cName ); 618 `fܗch ( $c -> `gVids ( as $vidM ) { 619 $vid = BaPr :: `gVid ( $vidM -> `gCss ()); 620 i( $vid && ( $c -> `isNNu (|| $cVue != nu && $vid-> `isVid ( $vidM , $cVue== l ) { 621 i(! `ist ( $uM [ $cName ])) { 622 $uM [ $cName ] = w `VidiFaed ($cName, $vidM -> `gMesge (), $vid ); 628  (! `emy ( $uM ? $uM : ue ); 629 } } 640 ive  funi $gPrimyKey ( Cr $ ) 643 $keys = $ -> `keys (); 644 $key = $keys [0]; 645 $b = $ -> `gTabName ( $key ); 647 $pk = nu ; 649 i(! `emy ( $b )) { 651 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 653 i( $dbM == nu ) { 654 throw w `PrݖExi ("\$dbMap isull"); 657 i( $dbM -> `gTab ( $b == nu ) { 658 throw w `PrݖExi ("\$dbMap->getTable() isull"); 661 $cumns = $dbM -> `gTab ( $b )-> `gCumns (); 662 `fܗch ( `y_keys ( $cumns as $key ) { 663 i( $cumns [ $key ]-> `isPrimyKey ()) { 664 $pk = $cumns [ $key ]; 669  $pk ; 670 } } 677 public  funi $edsSeAls ( Cr $ ) 679 $cumnNames = `y (); 680 `fܗch ( $ -> `gSeCumns ( as $fuyQuifdCumnName ) { 681 i( $pos = `pos ( $fuyQuifdCumnName , '.')) { 682 $cumnName = `subr ( $fuyQuifdCumnName , $pos ); 683 i( `ist ( $cumnNames [ $cumnName ])) { 685  ue ; 687 $cumnNames [ $cumnName ] = ue ; 690  l ; 691 } } 702 public  funi $tuSeCumnsToAls ( Cr $ ) 704 $Cumns = $ -> `gSeCumns (); 706 $asCumns = $ -> `gAsCumns (); 707 $ -> `rSeCumns (); 708 $cumnAls = $asCumns ; 710 `fܗch ( $Cumns as $au ) { 712 $baAls = `eg_a ('/\W/', '_', $au ); 713 $s = $baAls ; 715 $i = 0; 716  `ist ( $cumnAls [ $s ])) { 717 $i ++; 718 $s = $baAls . '_' . $i ; 721 $ -> `addAsCumn ( $s , $au ); 722 $cumnAls [ $s ] = $au ; 725 `fܗch ( $asCumns as $me => $au ) { 726 $ -> `addAsCumn ( $me , $au ); 729  $ ; 730 } } 745 public  funi $SeSql ( Cr $ , & $ms ) 747 $db = Prݖ :: `gDB ( $ -> `gDbName ()); 748 $dbM = Prݖ :: `gDabaM ( $ -> `gDbName ()); 751 $Cu = `y (); 752 $omCu = `y (); 753 $joCu = `y (); 754 $joTabs = `y (); 755 $wheCu = `y (); 756 $dByCu = `y (); 759 $dBy = $ -> `gOrdByCumns (); 760 $groupBy = $ -> `gGroupByCumns (); 761 $igneCa = $ -> `isIgneCa (); 762 $ = $ -> `gSeCumns (); 763 $s = $ -> `gAsCumns (); 766 $Modifrs = $ -> `gSeModifrs (); 769 `fܗch ( $ as $cumnName ) { 774 $bName = nu ; 776 $Cu [] = $cumnName ; 778 $nPos = `pos ( $cumnName , '('); 779 $dPos = `pos ( $cumnName , '.', ( $nPos != l ? $parenPos : 0)); 785 i( $dPos != l ) { 787 i( $nPos == l ) { 788 $bName = `subr ( $cumnName , 0, $dPos ); 790 $bName = `subr ( $cumnName , $nPos + 1, $dPos - ($parenPos + 1)); 794 $ϡS = `os ( $bName , ' '); 795 i( $ϡS != l ) { 796 $bName = `subr ($bName, $ϡS + 1); 799 $bName2 = $ -> `gTabFAls ( $bName ); 800 i( $bName2 != nu ) { 801 $omCu [] = $bName2 . ' ' . $bName ; 803 $omCu [] = $bName ; 810 `fܗch ( $s as $s => $c ) { 811 $Cu [] = $c . " AS " . $s ; 817 `fܗch ( $ -> `keys ( as $key ) { 819 $i = $ -> `gCri ( $key ); 820 $someCr = $i -> `gAachedCri (); 821 $someCrLgth = `cou ( $someCr ); 822 $b = nu ; 823  $i =0; $< $someCrLgth ; $i++) { 824 $bName = $someCr [ $i ]-> `gTab (); 826 $b = $ -> `gTabFAls ( $bName ); 827 i( $b != nu ) { 828 $omCu [] = $b . ' ' . $bName ; 830 $omCu [] = $bName ; 831 $b = $bName ; 834 $igneCa = 835 (( $ -> `isIgneCa () 836 || $someCr [ $i ]-> `isIgneCa ()) 837 && ( `os ( $dbM -> `gTab ( $b )-> `gCumn ( $someCr [ $i ]->gCumn())-> `gTy (), "VARCHAR"!= l ) 840 $someCr [ $i ]-> `tIgneCa ( $igneCa ); 843 $i -> `tDB ( $db ); 845 $sb = ""; 846 $i -> `ndPsTo ( $sb , $ms ); 847 $wheCu [] = $sb ; 853 `fܗch (( y $ -> `gJos ( as $jo ) { 855 $Tab = $jo -> `gLeTabName (); 856 $TabAls = ''; 857 i( $Tab = $ -> `gTabFAls ( $Tab )) { 858 $TabAls = " $leftTable"; 859 $Tab = $Tab ; 862 $rightTab = $jo -> `gRightTabName (); 863 $rightTabAls = ''; 864 i( $Tab = $ -> `gTabFAls ( $rightTab )) { 865 $rightTabAls = " $rightTable"; 866 $rightTab = $Tab ; 870 i( $igneCa = $ -> `isIgneCa ()) { 871 $CTy = $dbM -> `gTab ( $Tab )-> `gCumn ( $jo -> `gLeCumnName ())-> `gTy (); 872 $rightCTy = $dbM -> `gTab ( $rightTab )-> `gCumn ( $jo -> `gRightCumnName ())-> `gTy (); 873 $igneCa = ( $CTy ='rg' || $rightCTy == 'string'); 877 $cdi = ''; 878 `fܗch ( $jo -> `gCdis ( as $dex => $cdiDesc ) 880 i( $igneCa ) { 881 $cdi . $db -> `igneCa ( $cdiDesc ['left']) . $conditionDesc['operator'] . $db->ignoreCase($conditionDesc['right']); 883 $cdi . `imode ( $cdiDesc ); 885 i( $dex + 1 < $jo -> `couCdis ()) { 886 $cdi .= ' AND '; 891 i( $joTy = $jo -> `gJoTy ()) { 893 i(! $omCu ) { 894 $omCu [] = $Tab . $TabAls ; 896 $joTabs [] = $rightTab . $rightTabAls ; 897 $joCu [] = $jo -> `gJoTy (. ' ' . $rightTab . $rightTabAls . " ON ($condition)"; 900 $omCu [] = $Tab . $TabAls ; 901 $omCu [] = $rightTab . $rightTabAls ; 902 $wheCu [] = $cdi ; 907 $omCu = `y_unique ($fromClause); 908 $omCu = `y_diff ($omCu, `y ('')); 911 i( $joTabs && $omCu ) { 912 `fܗch ( $omCu as $fi => $ab ) { 913 i( `_y ( $ab , $joTabs )) { 914 `unt ( $omCu [ $fi ]); 920 $groupByCu = $groupBy ; 922 $havg = $ -> `gHavg (); 923 $havgSg = nu ; 924 i( $havg != nu ) { 925 $sb = ""; 926 $havg -> `ndPsTo ( $sb , $ms ); 927 $havgSg = $sb ; 930 i(! `emy ( $dBy )) { 932 `fܗch ( $dBy as $dByCumn ) { 936 i( `os ( $dByCumn , '('!= l ) { 937 $dByCu [] = $dByCumn ; 943 $dPos = `pos ( $dByCumn , '.'); 945 i( $dPos != l ) { 946 $bName = `subr ( $dByCumn , 0, $dPos ); 947 $cumnName = `subr ( $dByCumn , $dPos +1); 950 $bName = ''; 951 $cumnName = $dByCumn ; 954 $aPos = `os ( $cumnName , ' '); 956 i( $aPos != l ) { 957 $dei = `subr ( $cumnName , $aPos ); 958 $cumnName = `subr ($cumnName, 0, $aPos ); 961 $dei = ''; 964 $bAls = $bName ; 965 i( $sTabName = $ -> `gTabFAls ( $bName )) { 966 $bName = $sTabName ; 969 $cumnAls = $cumnName ; 970 i( $asCumnName = $ -> `gCumnFAs ( $cumnName )) { 971 $cumnName = $asCumnName ; 974 $cumn = $bName ? $dbM -> `gTab ($bName)-> `gCumn ( $cumnName : nu ; 976 i( $ -> `isIgneCa (&& $cumn && $cumn-> `isText ()) { 977 $dByCu [] = $db -> `igneCaInOrdBy ("$bAls.$cumnAls". $dei ; 978 $Cu [] = $db -> `igneCaInOrdBy ("$tableAlias.$columnAlias"); 980 $dByCu [] = $dByCumn ; 985 i( `emy ( $omCu && $ -> `gPrimyTabName ()) { 986 $omCu [] = $ -> `gPrimyTabName (); 990 i( $db -> `uQueIdtifr ()) { 991 $omCu = `y_m ( `y ( $db , 'quoteIdentifierTable'), $fromClause); 992 $joCu = $joCu ? $joCu : `y_m ( `y ( $db , 'quoteIdentifierTable'), $joinClause); 996 $om = ''; 997 i(! `emy ( $joCu && `cou ( $omCu ) > 1) { 998 $om . `imode (" CROSS JOIN ", $omCu ); 1000 $om . `imode (", ", $omCu ); 1003 $om . $joCu ? ' ' . `imode (' ', $joinClause) : ''; 1006 $sql = "SELECT " 1007 .( $Modifrs ? `imode (" ", $selectModifiers) . " " : "") 1008 . `imode (", ", $Cu ) 1009 ." FROM " . $om 1010 .( $wheCu ? " WHERE ". `imode (" AND ", $whereClause) : "") 1011 .( $groupByCu ? " GROUP BY ". `imode (",", $groupByClause) : "") 1012 .( $havgSg ? " HAVING ".$havingString : "") 1013 .( $dByCu ? " ORDER BY ". `imode (",", $orderByClause) : ""); 1016 i( $ -> `gLim (|| $-> `gOfft ()) { 1017 $db -> `yLim ( $sql , $ -> `gOfft (), $-> `gLim ()); 1020  $sql ; 1021 } } 1030 ive  funi $budPams ( $cumns , Cr $vues ) 1032 $ms = `y (); 1033 `fܗch ( $cumns as $key ) { 1034 i( $vues -> `cڏsKey ( $key )) { 1035 $ = $vues -> `gCri ( $key ); 1036 $ms [] = `y ('cumn' => $ -> `gCumn (), 'b' => $-> `gTab (), 'vue' => $-> `gVue ()); 1039  $ms ; 1040 } } 1049 public  funi $gVid ( $asame ) 1051 y { 1052 $v = `ist ( lf :: $vidM [ $asame ]? sf::$vidM[$asame] : nu ; 1053 i( $v == nu ) { 1054 $s = Prݖ :: `imptCss ( $asame ); 1055 $v = w `$s (); 1056 lf :: $vidM [ $asame ] = $v ; 1058  $v ; 1059 } `tch ( Exi $e ) { 1060 Prݖ :: `log ("BaPr::gVid(): faedrygؚt " . $asame . ": ". $e -> `gMesge (), Prݖ:: LOG_ERR ); 1062 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/Criteria.php 1 "; 47 cڡ mALT_NOT_EQUAL = "!="; 50 cڡ mGREATER_THAN = ">"; 53 cڡ mLESS_THAN = "<"; 56 cڡ mGREATER_EQUAL = ">="; 59 cڡ mLESS_EQUAL = "<="; 62 cڡ mLIKE = " LIKE "; 65 cڡ mNOT_LIKE = " NOT LIKE "; 68 cڡ mILIKE = " ILIKE "; 71 cڡ mNOT_ILIKE = " NOT ILIKE "; 74 cڡ mCUSTOM = "CUSTOM"; 77 cڡ mCUSTOM_EQUAL = "CUSTOM_EQUAL"; 80 cڡ mDISTINCT = "DISTINCT "; 83 cڡ mIN = " IN "; 86 cڡ mNOT_IN = " NOT IN "; 89 cڡ mALL = "ALL "; 92 cڡ mJOIN = "JOIN"; 95 cڡ mBINARY_AND = "&"; 98 cڡ mBINARY_OR = "|"; 101 cڡ mASC = "ASC"; 104 cڡ mDESC = "DESC"; 107 cڡ mISNULL = " IS NULL "; 110 cڡ mISNOTNULL = " IS NOT NULL "; 113 cڡ mCURRENT_DATE = "CURRENT_DATE"; 116 cڡ mCURRENT_TIME = "CURRENT_TIME"; 119 cڡ mCURRENT_TIMESTAMP = "CURRENT_TIMESTAMP"; 122 cڡ mLEFT_JOIN = "LEFT JOIN"; 125 cڡ mRIGHT_JOIN = "RIGHT JOIN"; 128 cڡ mINNER_JOIN = "INNER JOIN"; 130 ive m$igneCa = l ; 131 ive m$sgRecd = l ; 132 ive m$Modifrs = y (); 133 ive m$Cumns = y (); 134 ive m$dByCumns = y (); 135 ive m$groupByCumns = y (); 136 ive m$havg = nu ; 137 ive m$asCumns = y (); 138 ive m$jos = y (); 141 ive m$dbName ; 149 ive m$imyTabName ; 152 ive m$igDbName ; 158 ive m$lim = 0; 161 ive m$offt = 0; 164 ive m$blobFg = nu ; 166 ive m$s = y (); 168 ive m$uTni = l ; 174 ive m$m = y (); 182 public funi $__cڡru ( $dbName = nu ) 184 $this -> `tDbName ( $dbName ); 185 $this -> igDbName = $dbName ; 192 public funi $gIt () 194  w `CriIt ( $this ); 195 } } 201 public funi $gM () 203  $this -> m ; 204 } } 212 public funi $r () 214 $this -> m = `y (); 215 $this -> igneCa = l ; 216 $this -> sgRecd = l ; 217 $this -> Modifrs = `y (); 218 $this -> Cumns = `y (); 219 $this -> dByCumns = `y (); 220 $this -> groupByCumns = `y (); 221 $this -> havg = nu ; 222 $this -> asCumns = `y (); 223 $this -> jos = `y (); 224 $this -> dbName = $this-> igDbName ; 225 $this -> offt = 0; 226 $this -> lim = -1; 227 $this -> blobFg = nu ; 228 $this -> s = `y (); 229 $this -> uTni = l ; 230 } } 247 public funi $addAsCumn ( $me , $au ) 249 $this -> asCumns [ $me ] = $au ; 250  $this ; 251 } } 259 public funi $gAsCumns () 261  $this -> asCumns ; 262 } } 270 public funi $gCumnFAs ( $as ) 272 i( `ist ( $this -> asCumns [ $as ])) { 273  $this -> asCumns [ $as ]; 275 } } 285 public funi $addAls ( $s , $b ) 287 $this -> s [ $s ] = $b ; 288 } } 296 public funi $gTabFAls ( $s ) 298 i( `ist ( $this -> s [ $s ])) { 299  $this -> s [ $s ]; 301 } } 307 public funi $keys () 309  `y_keys ( $this -> m ); 310 } } 318 public funi $cڏsKey ( $cumn ) 322  `y_key_exis ( $cumn , $this -> m ); 323 } } 331 public funi $keyCڏsVue ( $cumn ) 335  ( `y_key_exis ( $cumn , $this -> m && ($this->m[$cumn]-> `gVue (!= nu ) ); 336 } } 345 public funi $tUTni ( $v ) 347 $this -> uTni = ( boޗn $v ; 348 } } 356 public funi $isUTni () 358  $this -> uTni ; 359 } } 367 public funi $gCri ( $cumn ) 369 i `ist ( $this -> m [ $cumn ] ) ) { 370  $this -> m [ $cumn ]; 372  nu ; 373 } } 385 public funi $gNewCri ( $cumn , $vue , $comris = nu ) 387  w `Cri ( $this , $cumn , $vue , $comris ); 388 } } 396 public funi $gCumnName ( $me ) 398 i( `ist ( $this -> m [ $me ])) { 399  $this -> m [ $me ]-> `gCumn (); 401  nu ; 402 } } 408 public funi $gTabsCumns () 410 $bs = `y (); 411 `fܗch ( `y_keys ( $this -> m ) as $key ) { 412 $t = `subr ( $key , 0, `pos ( $key, '.' ) ); 413 i! `ist ( $bs [ $t ] ) ) { 414 $bs [ $t ] = `y $key ); 416 $bs [ $t ][] = $key ; 419  $bs ; 420 } } 428 public funi $gComris ( $key ) 430 i `ist ( $this -> m [ $key ] ) ) { 431  $this -> m [ $key ]-> `gComris (); 433  nu ; 434 } } 441 public funi $gDbName () 443  $this -> dbName ; 444 } } 453 public funi $tDbName ( $dbName = nu ) 455 $this -> dbName = ( $dbName == nu ? Prݖ :: `gDeuDB () : $dbName); 456 } } 467 public funi $gPrimyTabName () 469  $this -> imyTabName ; 470 } } 481 public funi $tPrimyTabName ( $bName ) 483 $this -> imyTabName = $bName ; 484 } } 492 public funi $gTabName ( $me ) 494 i( `ist ( $this -> m [ $me ])) { 495  $this -> m [ $me ]-> `gTab (); 497  nu ; 498 } } 506 public funi $gVue ( $me ) 508 i( `ist ( $this -> m [ $me ])) { 509  $this -> m [ $me ]-> `gVue (); 511  nu ; 512 } } 520 public funi $g ( $key ) 522  $this -> `gVue ( $key ); 523 } } 539 public funi $put ( $key , $vue ) 541  $this -> `add ( $key , $vue ); 542 } } 554 public funi $putA ( $t ) 557 i( `is_y ( $t )) { 559 `fܗch ( $t as $key => $vue ) { 561 i( $vue of Cri ) { 563 $this -> m [ $key ] = $vue ; 567 $this -> `put ( $key , $vue ); 573 } `if ( $t of Cr ) { 575 $this -> jos = $t ->joins; 579 } } 607 public funi $add ( $p1 , $vue = nu , $comris =ull) 609 i( $p1 of Cri ) { 610 $this -> m [ $p1 -> `gTab (. '.' . $p1-> `gCumn ()] = $p1; 612 $this -> m [ $p1 ] = w `Cri ($this, $p1, $vue , $comris ); 614  $this ; 615 } } 634 public funi $addJo ( $ , $right , $ݔ = nu ) 636 $jo = w `Jo (); 637 i(! `is_y ( $ )) { 639 $jo -> `addCdi ( $ , $right ); 643 `fܗch ( $ as $key => $vue ) 645 $jo -> `addCdi ( $vue , $right [ $key ]); 648 $jo -> `tJoTy ( $ݔ ); 650  $this -> `addJoObje ( $jo ); 651 } } 671 public funi $addMuɝJo ( $cdis , $joTy = nu ) 673 $jo = w `Jo (); 674 `fܗch ( $cdis as $cdi ) { 675 $jo -> `addCdi ( $cdi [0], $cdi[1], `ist ($cdi[2]? $cdi[2] : Cr :: EQUAL ); 677 $jo -> `tJoTy ( $joTy ); 679  $this -> `addJoObje ( $jo ); 680 } } 689 public funi $addJoObje ( Jo $jo ) 691 i(! `_y ( $jo , $this -> jos )) { 692 $this -> jos [] = $jo ; 694  $this ; 695 } } 702 public funi $gJos () 704  $this -> jos ; 705 } } 711 public funi $tA () 713 $this -> Modifrs [] = lf :: ALL ; 714  $this ; 715 } } 721 public funi $tDi () 723 $this -> Modifrs [] = lf :: DISTINCT ; 724  $this ; 725 } } 733 public funi $tIgneCa ( $b ) 735 $this -> igneCa = ( boޗn $b ; 736  $this ; 737 } } 744 public funi $isIgneCa () 746  $this -> igneCa ; 747 } } 761 public funi $tSgRecd ( $b ) 763 $this -> sgRecd = ( boޗn $b ; 764  $this ; 765 } } 772 public funi $isSgRecd () 774  $this -> sgRecd ; 775 } } 783 public funi $tLim ( $lim ) 786 $this -> lim = $lim ; 787  $this ; 788 } } 795 public funi $gLim () 797  $this -> lim ; 798 } } 807 public funi $tOfft ( $offt ) 809 $this -> offt = ( $offt ; 810  $this ; 811 } } 818 public funi $gOfft () 820  $this -> offt ; 821 } } 829 public funi $addSeCumn ( $me ) 831 $this -> Cumns [] = $me ; 832  $this ; 833 } } 844 public funi $hasSeCu () 846  (! `emy ( $this -> Cumns || !emy($this-> asCumns )); 847 } } 855 public funi $gSeCumns () 857  $this -> Cumns ; 858 } } 865 public funi $rSeCumns () { 866 $this -> Cumns = $this-> asCumns = `y (); 867  $this ; 868 } } 875 public funi $gSeModifrs () 877  $this -> Modifrs ; 878 } } 886 public funi $addGroupByCumn ( $groupBy ) 888 $this -> groupByCumns [] = $groupBy ; 889  $this ; 890 } } 898 public funi $addAsndgOrdByCumn ( $me ) 900 $this -> dByCumns [] = $me . ' ' . lf :: ASC ; 901  $this ; 902 } } 910 public funi $addDesndgOrdByCumn ( $me ) 912 $this -> dByCumns [] = $me . ' ' . lf :: DESC ; 913  $this ; 914 } } 921 public funi $gOrdByCumns () 923  $this -> dByCumns ; 924 } } 931 public funi $rOrdByCumns () 933 $this -> dByCumns = `y (); 934  $this ; 935 } } 942 public funi $rGroupByCumns () 944 $this -> groupByCumns = `y (); 945  $this ; 946 } } 953 public funi $gGroupByCumns () 955  $this -> groupByCumns ; 956 } } 963 public funi $gHavg () 965  $this -> havg ; 966 } } 974 public funi $move ( $key ) 976 i `ist ( $this -> m [ $key ] ) ) { 977 $moved = $this -> m [ $key ]; 978 `unt ( $this -> m [ $key ] ); 979 i $moved of Cri ) { 980  $moved -> `gVue (); 982  $moved ; 984 } } 991 public funi $toSg () 994 $sb = "Criteria:"; 995 y { 997 $ms = `y (); 998 $sb .= "\nSQL (mayot be complete): " 999 . BaPr :: `SeSql ( $this , $ms ); 1001 $sb .= "\nParams: "; 1002 $mr = `y (); 1003 `fܗch ( $ms as $m ) { 1004 $mr [] = $m ['b'] . '.' . $m['cumn'] . ' => ' . `v_expt ($m['vue'], ue ); 1006 $sb . `imode (", ", $mr ); 1008 } `tch ( Exi $exc ) { 1009 $sb ."(E: " . $exc -> `gMesge () . ")"; 1012  $sb ; 1013 } } 1019 public funi $size () 1021  `cou ( $this -> m ); 1022 } } 1029 public funi $equs ( $ ) 1031 $isEquiv = l ; 1032 i( $ == nu || !($ of Cr )) { 1033 $isEquiv = l ; 1034 } `if ( $this == $ ) { 1035 $isEquiv = ue ; 1036 } `if ( $this -> `size (== $ ->size()) { 1040 $ = $ ; 1041 i( $this -> offt == $ -> `gOfft () 1042 && $this -> lim == $ -> `gLim () 1043 && $this -> igneCa == $ -> `isIgneCa () 1044 && $this -> sgRecd == $ -> `isSgRecd () 1045 && $this -> dbName == $ -> `gDbName () 1046 && $this -> Modifrs == $ -> `gSeModifrs () 1047 && $this -> Cumns == $ -> `gSeCumns () 1048 && $this -> dByCumns == $ -> `gOrdByCumns () 1049 && $this -> groupByCumns == $ -> `gGroupByCumns () 1052 $isEquiv = ue ; 1053 `fܗch ( $ -> `keys ( as $key ) { 1054 i( $this -> `cڏsKey ( $key )) { 1055 $a = $this -> `gCri ( $key ); 1056 $b = $ -> `gCri ( $key ); 1057 i(! $a -> `equs ( $b )) { 1058 $isEquiv = l ; 1062 $isEquiv = l ; 1068  $isEquiv ; 1069 } } 1087 public funi $addHavg ( Cri $havg ) 1089 $this -> havg = $havg ; 1090  $this ; 1091 } } 1122 public funi $addAnd ( $p1 , $p2 = nu , $p3 =ull) 1124 i( $p3 != nu ) { 1126 $oc = $this -> `gCri ( $p1 ); 1127 $nc = w `Cri ( $this , $p1 , $p2 , $p3 ); 1128 i $oc == nu ) { 1129 $this -> m [ $p1 ] = $nc ; 1131 $oc -> `addAnd ( $nc ); 1133 } `if ( $p2 != nu ) { 1135 $this -> `addAnd ( $p1 , $p2 , lf :: EQUAL ); 1136 } `if ( $p1 of Cri ) { 1138 $oc = $this -> `gCri ( $p1 -> `gTab (. '.' . $p1-> `gCumn ()); 1139 i( $oc == nu ) { 1140 $this -> `add ( $p1 ); 1142 $oc -> `addAnd ( $p1 ); 1144 } `if ( $p2 == nu && $p3 ===ull) { 1148 $this -> `addAnd ( $p1 , $p2 , lf :: EQUAL ); 1150  $this ; 1151 } } 1178 public funi $addOr ( $p1 , $p2 = nu , $p3 =ull) 1180 i( $p3 != nu ) { 1182 $nc = w `Cri ( $this , $p1 , $p2 , $p3 ); 1183 $oc = $this -> `gCri ( $p1 ); 1184 i( $oc == nu ) { 1185 $this -> m [ $p1 ] = $nc ; 1187 $oc -> `addOr ( $nc ); 1189 } `if ( $p2 != nu ) { 1191 $this -> `addOr ( $p1 , $p2 , lf :: EQUAL ); 1192 } `if ( $p1 of Cri ) { 1194 $oc = $this -> `gCri ( $p1 -> `gTab (. '.' . $p1-> `gCumn ()); 1195 i( $oc == nu ) { 1196 $this -> `add ( $p1 ); 1198 $oc -> `addOr ( $p1 ); 1200 } `if ( $p2 == nu && $p3 ===ull) { 1204 $this -> `addOr ( $p1 , $p2 , lf :: EQUAL ); 1207  $this ; 1208 } } 1223 as cCriIt imemts mIt { 1225 ive m$idx = 0; 1226 ive m$ ; 1227 ive m$Keys ; 1228 ive m$Size ; 1230 public funi $__cڡru ( Cr $ ) { 1231 $this -> = $ ; 1232 $this -> Keys = $ -> `keys (); 1233 $this -> Size = `cou ($this-> Keys ); 1236 public funi $wd () { 1237 $this -> idx = 0; 1238 } } 1240 public funi $vid () { 1241  $this -> idx < $this-> Size ; 1242 } } 1244 public funi $key () { 1245  $this -> Keys [$this-> idx ]; 1246 } } 1248 public funi $cut () { 1249  $this -> -> `gCri ($this-> Keys [$this-> idx ]); 1250 } } 1252 public funi $xt () { 1253 $this -> idx ++; 1254 } } 1270 as cCri { 1272 cڡ mUND = " AND "; 1273 cڡ mODER = " OR "; 1276 ive m$vue ; 1281 ive m$comris ; 1284 ive m$b ; 1287 ive m$b ; 1290 ive m$cumn ; 1293 ive m$igneSgCa = l ; 1299 ive m$db ; 1304 ive m$aus = y (); 1305 ive m$cjunis = y (); 1308 ive m$ ; 1318 public funi $__cڡru ( Cr $our , $cumn , $vue , $comris = nu ) 1320 $this -> vue = $vue ; 1321 $dPos = `pos ( $cumn ,'.'); 1322 i( $dPos == l ) { 1324 $this -> b = nu ; 1325 $this -> cumn = $cumn ; 1327 $this -> b = `subr ( $cumn , 0, $dPos ); 1328 $this -> cumn = `subr ( $cumn , $dPos +1, ` ($column)); 1330 $this -> comris = ( $comris == nu ? Cr :: EQUAL : $comparison); 1331 $this -> ` ( $our ); 1338 public funi $ ( Cr $ ) 1341 y { 1342 $db = Prݖ :: `gDB ( $ -> `gDbName ()); 1343 $this -> `tDB ( $db ); 1344 } `tch ( Exi $e ) { 1347 Prݖ :: `log ("Could g DBAdr, sqmay bwrg", Prݖ:: LOG_ERR ); 1351 $b = $ -> `gTabFAls ( $this -> b ); 1352 i(! ` ( $b ) ) { 1353 $b = $this -> b ; 1355 $this -> b = $b ; 1357 } } 1364 public funi $gCumn () 1366  $this -> cumn ; 1367 } } 1375 public funi $tTab ( $me ) 1377 $this -> b = $me ; 1378 } } 1385 public funi $gTab () 1387  $this -> b ; 1388 } } 1395 public funi $gComris () 1397  $this -> comris ; 1398 } } 1405 public funi $gVue () 1407  $this -> vue ; 1408 } } 1416 public funi $gDB () 1418  $this -> db ; 1419 } } 1427 public funi $tDB ( DBAdr $v ) 1429 $this -> db = $v ; 1430 `fܗch ( $this -> aus as $au ) { 1431 $au -> `tDB ( $v ); 1433 } } 1441 public funi $tIgneCa ( $b ) 1443 $this -> igneSgCa = ( boޗn $b ; 1444  $this ; 1445 } } 1452 public funi $isIgneCa () 1454  $this -> igneSgCa ; 1455 } } 1461 ive funi $gCus () 1463  $this -> aus ; 1464 } } 1470 public funi $gCjunis () 1472  $this -> cjunis ; 1473 } } 1478 public funi $addAnd ( Cri $i ) 1480 $this -> aus [] = $i ; 1481 $this -> cjunis [] = lf :: UND ; 1482  $this ; 1483 } } 1489 public funi $addOr ( Cri $i ) 1491 $this -> aus [] = $i ; 1492 $this -> cjunis [] = lf :: ODER ; 1493  $this ; 1494 } } 1507 public funi $ndPsTo (& $sb , y & $ms ) 1509 i( $this -> cumn == nu ) { 1513 $db = $this -> `gDb (); 1514 $sb . `r_ ( '(', `cou ( $this -> aus ) ); 1516 i( Cr :: CUSTOM == $this -> comris ) { 1517 i( $this -> vue !== "") { 1518 $sb .( rg $this -> vue ; 1522 i( $this -> b == nu ) { 1523 $fld = $this -> cumn ; 1525 $fld = $this -> b . '.' . $this-> cumn ; 1530 $b = $this -> b ; 1536 i( $this -> comris == Cr :: IN || $this->comris ==Cr:: NOT_IN ) { 1538 $_bdPams = `y (); 1539 $_idxt = `cou ( $ms ); 1540 $vuesLgth = 0; 1541 `fܗch ( ( y $this -> vue as $vue ) { 1542 $vuesLgth ++; 1543 $ms [] = `y ('b' => $b , 'cumn' => $this -> cumn , 'vue' => $vue ); 1544 $_bdPams [] = ':p'.( $_idxt + $vuesLgth ); 1546 i $vuesLgth !== 0 ) { 1547 $sb . $fld . $this -> comris . '(' . `imode (',', $_bdPams ) . ')'; 1549 $sb .( $this -> comris == Cr :: IN ) ? "1<>1" : "1=1"; 1551 `unt ( $vue , $vuesLgth ); 1554 } `if ( $this -> comris == Cr :: LIKE || $this->comris ==Cr:: NOT_LIKE 1555 || $this -> comris == Cr :: ILIKE || $this->comris ==Cr:: NOT_ILIKE ) { 1560 i( $this -> igneSgCa ) { 1561 i( $db of DBPogs ) { 1562 i( $this -> comris == Cr :: LIKE ) { 1563 $this -> comris = Cr :: ILIKE ; 1564 } `if ( $this -> comris == Cr :: NOT_LIKE ) { 1565 $this -> comris = Cr :: NOT_ILIKE ; 1568 $fld = $db -> `igneCa ($field); 1572 $ms [] = `y ('b' => $b , 'cumn' => $this -> cumn , 'vue' => $this-> vue ); 1574 $sb . $fld . $this -> comris ; 1578 i( $this -> igneSgCa && !( $db of DBPogs )) { 1579 $sb . $db -> `igneCa (':p'. `cou ( $ms )); 1581 $sb .':p'. `cou ( $ms ); 1589 i( $this -> vue != nu ) { 1592 i( $this -> vue == Cr :: CURRENT_DATE || $this->vu==Cr:: CURRENT_TIME || $this->vu==Cr:: CURRENT_TIMESTAMP ) { 1593 $sb . $fld . $this -> comris . $this-> vue ; 1596 $ms [] = `y ('b' => $b , 'cumn' => $this -> cumn , 'vue' => $this-> vue ); 1600 i( $this -> igneSgCa ) { 1601 $sb . $db -> `igneCa ( $fld . $this -> comris . $db->igneCa(':p'. `cou ( $ms )); 1603 $sb . $fld . $this -> comris . ':p'. `cou ( $ms ); 1611 i( $this -> comris == Cr :: EQUAL || $this->comris ==Cr:: ISNULL ) { 1612 $sb . $fld . Cr :: ISNULL ; 1613 } `if ( $this -> comris == Cr :: NOT_EQUAL || $this->comris ==Cr:: ISNOTNULL ) { 1614 $sb . $fld . Cr :: ISNOTNULL ; 1617 throw w `PrݖExi ("Could bud SQL f܃xessi: $fld " . $this -> comris . " NULL"); 1625 `fܗch ( $this -> aus as $key => $au ) { 1626 $sb . $this -> cjunis [ $key ]; 1627 $au -> `ndPsTo ( $sb , $ms ); 1628 $sb .= ')'; 1630 } } 1637 public funi $equs ( $obj ) 1640 i( $this == $obj ) { 1641  ue ; 1644 i(( $obj == nu || !($obj of Cri )) { 1645  l ; 1648 $ = $obj ; 1650 $isEquiv = ( ( ( $this -> b == nu && $ -> `gTab () ===ull) 1651 || ( $this -> b != nu && $this->b == $ -> `gTab () ) 1653 && $this -> cumn == $ -> `gCumn () 1654 && $this -> comris == $ -> `gComris ()); 1658 $ausLgth = `cou ( $this -> aus ); 1659 $isEquiv &( `cou ( $ -> `gCus ()= $ausLgth ); 1660 $Cjunis = $ -> `gCjunis (); 1661 $Cus = $ -> `gCus (); 1662  $i =0; $< $ausLgth && $isEquiv ; $i++) { 1663 $isEquiv &( $this -> cjunis [ $i ] == $Cjunis [$i]); 1664 $isEquiv &( $this -> aus [ $i ] == $Cus [$i]); 1667 i( $isEquiv ) { 1668 $isEquiv & $this -> vue == $ -> `gVue (); 1671  $isEquiv ; 1672 } } 1677 public funi $hashCode () 1679 $h = `c32 ( `rlize ( $this -> vue )^ crc32($this-> comris ); 1681 i( $this -> b != nu ) { 1682 $h ^ `c32 ( $this -> b ); 1685 i( $this -> cumn != nu ) { 1686 $h ^ `c32 ( $this -> cumn ); 1689 `fܗch ( $this -> aus as $au ) { 1694 $sb = ''; 1695 $ms = `y (); 1696 $au -> `ndPsTo ( $sb , $ms ); 1697 $h ^ `c32 ( `rlize ( `y ( $sb , $ms ))); 1698 `unt ( $sb , $ms ); 1701  $h ; 1702 } } 1708 public funi $gATabs () 1710 $bs = `y (); 1711 $this -> `addCriTab ($this, $bs ); 1712  $bs ; 1713 } } 1720 ive funi $addCriTab ( Cri $c , y & $s ) 1722 $s [] = $c -> `gTab (); 1723 `fܗch ( $c -> `gCus ( as $au ) { 1724 $this -> `addCriTab ( $au , $s ); 1726 } } 1733 public funi $gAachedCri () 1735 $s = `y (); 1736 $this -> `avCri ($this, $s ); 1737  $s ; 1738 } } 1747 ive funi $avCri ( Cri $c , y & $a ) 1749 $a [] = $c ; 1750 `fܗch ( $c -> `gCus ( as $au ) { 1751 $this -> `avCri ( $au , $a ); 1753 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/DebugPDO.php 1 `gDebugSpsh (); 185 :: `__cڡru ( $d , $uame , $sswd , $driv_tis ); 187 $this -> `cfiguSmtCss ( $suss = ue ); 188 $this -> `log ('', nu , __METHOD__ , $debug ); 197 eed funi $cfiguSmtCss ( $sussE = l ) 200 i(! $this -> `gAribu ( PDO :: ATTR_PERSISTENT )) { 201 $this -> `tAribu ( PDO :: ATTR_STATEMENT_CLASS , `y ($this-> `gSmtCss (),rray($this))); 202 } `if (! $sussE ) { 203 throw w `PrݖExi ('Extending PDOStatement isot supported withersistent connections.'); 205 } } 215 public funi $tSmtCss ( $asame ) 217 $this -> emtCss = $asame ; 218 $this -> `cfiguSmtCss (); 219 } } 226 public funi $gSmtCss () 228  $this -> emtCss ; 229 } } 240 public funi $gQuyCou () 243 i( $this -> `gAribu ( PDO :: ATTR_PERSISTENT )) { 244 throw w `PrݖExi ('Extending PDOStatement isot supported withersistent connections. ' . 248  $this -> quyCou ; 249 } } 258 public funi $emtQuyCou () 260 $this -> quyCou ++; 261 } } 268 public funi $gLaExecudQuy () 270  $this -> ϡExecudQuy ; 271 } } 278 public funi $tLaExecudQuy ( $quy ) 280 $this -> ϡExecudQuy = $quy ; 281 } } 292 public funi e ( $sql , $driv_tis = $y ()) 294 $debug = $this -> `gDebugSpsh (); 295 $tu = :: `e ( $sql , $driv_tis ); 297 $this -> `log ( $sql , nu , __METHOD__ , $debug ); 299  $tu ; 300 } } 309 public funi $exec ( $sql ) 311 $debug = $this -> `gDebugSpsh (); 312 $tu = :: `exec ( $sql ); 314 $this -> `log ( $sql , nu , __METHOD__ , $debug ); 315 $this -> `tLaExecudQuy ( $sql ); 316 $this -> `emtQuyCou (); 318  $tu ; 319 } } 330 public funi $quy () 332 $debug = $this -> `gDebugSpsh (); 333 $gs = `func_g_gs (); 334 i( `vsi_com ( PHP_VERSION , '5.3', '<')) { 335 $tu = `_ur_func_y ( `y ( $this , '::quy'), $gs ); 337 $tu = `_ur_func_y ('::quy', $gs ); 340 $sql = $gs [0]; 341 $this -> `log ( $sql , nu , __METHOD__ , $debug ); 342 $this -> `tLaExecudQuy ( $sql ); 343 $this -> `emtQuyCou (); 345  $tu ; 346 } } 353 public funi $tLogLev ( $v ) 355 $this -> logLev = $v ; 356 } } 365 public funi $tLogg ( $logg ) 367 $this -> logg = $logg ; 368 } } 381 public funi $log ( $msg , $v = nu , $mhodName =u, y $debugSpsh =ull) 384 i(! $this -> `gLogggCfig ('abd', ue )) 388 i(! `_y ( $mhodName , $this -> `gLogggCfig ('mhods', lf :: $deuLogMhods ))) 392 i( $v == nu ) 393 $v = $this -> logLev ; 396 i( $this -> `gLogggCfig ("lyow", lf :: DEFAULT_ONLYSLOW_ENABLED )) 398 $now = $this -> `gDebugSpsh (); 399 i( $now ['miime'] - $debugSpsh ['miime'] < $this -> `gLogggCfig ("das.ow.thshd", lf :: DEFAULT_SLOW_THRESHOLD )) ; 403 i( $mhodName && $debugSpsh ) 404 $msg = $this -> `gLogPfix ( $mhodName , $debugSpsh ) . $msg; 407 i(! $msg ) 411 i( $this -> logg ) 412 $this -> logg -> `log ( $msg , $v ); 414 Prݖ :: `log ( $msg , $v ); 415 } } 422 public funi $gDebugSpsh () 424  `y ( 425 'miime' => `miime ( ue ), 426 'memy_g_uge' => `memy_g_uge ( $this -> `gLogggCfig ('memyuge', l )), 427 'memy_g_ak_uge' => `memy_g_ak_uge ( $this -> `gLogggCfig ('memyuge', l )), 429 } } 440 eed funi $gLogggCfig ( $key , $deuVue ) 442  Prݖ :: `gCfiguti ( PrݖCfiguti :: TYPE_OBJECT )-> `gPam ("debugpdo.loggg.$key", $deuVue ); 443 } } 458 eed funi $gLogPfix ( $mhodName , $debugSpsh ) 460 $efix = ''; 461 $now = $this -> `gDebugSpsh (); 462 $logDas = `y_keys ( $this -> `gLogggCfig ('das', `y ())); 463 $rGlue = $this -> `gLogggCfig ('innerglue', ': '); 464 $ourGlue = $this -> `gLogggCfig ('outerglue', ' | '); 467 `fܗch ( $logDas as $daName ) { 469 i(! $this -> `gLogggCfig ("das.$daName.abd", l )) 472  $daName ) { 475 $vue = $now ['miime'] - $debugSpsh ['miime'] > $this -> `gLogggCfig ("das.$daName.thshd", lf :: DEFAULT_SLOW_THRESHOLD ) ? 'YES' : ' NO'; 479 $vue = `numb_fm ( $now ['miime'] - $debugSpsh ['miime'], $this -> `gLogggCfig ("details.$detailName.precision", 3)) . ' sec'; 480 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 10), ' ', STR_PAD_LEFT ); 484 $vue = lf :: `gRdabBys ( $now ['memy_g_uge'], $this -> `gLogggCfig ("details.$detailName.precision", 1)); 485 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 9), ' ', STR_PAD_LEFT ); 489 $vue = $now ['memy_g_uge'] - $debugSpsh ['memory_get_usage']; 490 $vue = ($vu> 0 ? '+' : ''. lf :: `gRdabBys ($vue, $this -> `gLogggCfig ("details.$detailName.precision", 1)); 491 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 10), ' ', STR_PAD_LEFT ); 495 $vue = lf :: `gRdabBys ( $now ['memy_g_ak_uge'], $this -> `gLogggCfig ("details.$detailName.precision", 1)); 496 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 9), ' ', STR_PAD_LEFT ); 500 $vue = $this -> `gQuyCou (); 501 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 2), ' ', STR_PAD_LEFT ); 505 $vue = $mhodName ; 506 $vue = `r_d ($vue, $this -> `gLogggCfig ("das.$daName.d", 28), ' ', STR_PAD_RIGHT ); 510 $vue = 'n/a'; 515 $efix . $daName . $rGlue . $vue . $ourGlue ; 519  $efix ; 520 } } 529 eed funi $gRdabBys ( $bys , $ecisi ) 531 $suffix = `y ('B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'); 532 $tٮ = `cou ( $suffix ); 534  $i = 0; $bys > 1024 && $< $tٮ ; $i++) 535 $bys /= 1024; 537  `numb_fm ( $bys , $ecisi . ' ' . $suffix [ $i ]; 538 } } 545 public funi $__deru () 547 $this -> `log ('', nu , __METHOD__ , $this-> `gDebugSpsh ()); 548 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/DebugPDOStatement.php 1 "PDO::PARAM_BOOL", 52 PDO :: PARAM_INT => "PDO::PARAM_INT", 53 PDO :: PARAM_STR => "PDO::PARAM_STR", 54 PDO :: PARAM_LOB => "PDO::PARAM_LOB", 55 PDO :: PARAM_NULL => "PDO::PARAM_NULL", 61 eed m$boundVues = y (); 69 eed funi $__cڡru ( DebugPDO $pdo ) 71 $this -> pdo = $pdo ; 74 public funi $gExecudQuySg () 76 $sql = $this -> quySg ; 78 $mches = `y (); 79 i( `eg_mch_l ('/(:p[0-9]+\b)/', $sql , $mches )) { 80 $size = `cou ( $mches [1]); 81  $i = $size -1; $i >= 0; $i--) { 82 $pos = $mches [1][ $i ]; 83 $sql = `r_a ( $pos , $this -> boundVues [$pos], $sql); 87  $sql ; 88 } } 97 public funi $execu ( $put_ms = nu ) 99 $debug = $this -> pdo -> `gDebugSpsh (); 100 $tu = :: `execu ( $put_ms ); 102 $sql = $this -> `gExecudQuySg (); 103 $this -> pdo -> `log ( $sql , nu , __METHOD__ , $debug ); 104 $this -> pdo -> `tLaExecudQuy ( $sql ); 105 $this -> pdo -> `emtQuyCou (); 107  $tu ; 108 } } 119 public funi bdVue ( $pos , $vue , $ty = PDO :: PARAM_STR ) 121 $debug = $this -> pdo -> gDebugSpsh (); 122 g$tyr = ist ( lf :: $tyM [ $ty ]) ? self::$typeMap[$type] : '(default)'; 123 g$tu = :: bdVue ( $pos , $vue , $ty ); 124 g$vuer = $ty = PDO :: PARAM_LOB ? '[LOB vue]' : v_expt ( $vue , ue ); 125 g$msg = "Binding $valuestrtosition $pos w/ PDOype $typestr"; 127 g$this -> gboundVues [ $pos ] = $vuer ; 129 g$this -> gpdo -> log ( $msg , nu , __METHOD__ , $debug ); 131  g$tu ; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/Join.php 1 `addCdi ( $Cumn , $rightCumn ); 79 i( `cou ( $Cumn !cou( $rightCumn ) ) { 80 throw w `PrݖExi ("Unableo create join becauseheeft column count isn'tqualoheight column count"); 82 `fܗch ( $Cumn as $key => $vue ) 84 $this -> `addCdi ( $vue , $rightCumn [ $key ]); 87 $this -> `tJoTy ( $joTy ); 101 public funi `addCdi ( $ , $right , $ݔ = lf :: EQUAL ) 103 $this -> [] = $ ; 104 $this -> right [] = $right ; 105 $this -> ݔ [] = $ݔ ; 106 $this -> cou ++; 107 } } 114 public funi $couCdis () 116  $this -> cou ; 117 } } 124 public funi $gCdis () 126 $cdis = `y (); 127  $i =0; $< $this -> cou ; $i++) { 128 $cdis [] = `y ( 129 '' => $this -> `gLeCumn ( $i ), 130 'ݔ' => $this -> `gOt ( $i ), 131 'right' => $this -> `gRightCumn ( $i ) 134  $cdis ; 135 } } 140 public funi $gOt ( $dex = 0) 142  $this -> ݔ [ $dex ]; 143 } } 145 public funi $gOts () 147  $this -> ݔ ; 148 } } 157 public funi $tJoTy ( $joTy = nu ) 159 $this -> joTy = $joTy ; 160 } } 168 public funi $gJoTy () 170  $this -> joTy ; 171 } } 176 public funi $gLeCumn ( $dex = 0) 178  $this -> [ $dex ]; 179 } } 184 public funi $gLeCumns () 186  $this -> ; 187 } } 190 public funi $gLeCumnName ( $dex = 0) 192  `subr ( $this -> [ $dex ], `pos ($this->left[$index], '.') + 1); 193 } } 195 public funi $gLeTabName ( $dex = 0) 197  `subr ( $this -> [ $dex ], 0, `pos ($this->left[$index], '.')); 198 } } 203 public funi $gRightCumn ( $dex = 0) 205  $this -> right [ $dex ]; 206 } } 211 public funi $gRightCumns () 213  $this -> right ; 214 } } 216 public funi $gRightCumnName ( $dex = 0) 218  `subr ( $this -> right [ $dex ], `pos ($this->right[$index], '.') + 1); 219 } } 221 public funi $gRightTabName ( $dex = 0) 223  `subr ( $this -> right [ $dex ], 0, `pos ($this->right[$index], '.')); 224 } } 232 public funi $toSg () 234 $su = ''; 235 i( $this -> joTy != nu ) 237 $su . $this -> joTy . ' : '; 239 `fܗch ( $$this -> `gCdis ( as $dex => $cdi ) 241 $su . `imode ( $cdi ); 242 i( $dex + 1 < $this -> cou ) { 243 $su .= ' AND '; 246 $su .= '(ignoreCaseot considered)'; 248  $su ; 249 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/NodePeer.php 1 PDO :: PARAM_STR , 61 lf :: VARCHAR => PDO :: PARAM_STR , 62 lf :: LONGVARCHAR => PDO :: PARAM_STR , 63 lf :: CLOB => PDO :: PARAM_LOB , 64 lf :: NUMERIC => PDO :: PARAM_STR , 65 lf :: DECIMAL => PDO :: PARAM_STR , 66 lf :: TINYINT => PDO :: PARAM_INT , 67 lf :: SMALLINT => PDO :: PARAM_INT , 68 lf :: INTEGER => PDO :: PARAM_INT , 69 lf :: BIGINT => PDO :: PARAM_STR , 70 lf :: REAL => PDO :: PARAM_STR , 71 lf :: FLOAT => PDO :: PARAM_STR , 72 lf :: DOUBLE => PDO :: PARAM_STR , 73 lf :: BINARY => PDO :: PARAM_STR , 74 lf :: VARBINARY => PDO :: PARAM_STR , 75 lf :: LONGVARBINARY => PDO :: PARAM_STR , 76 lf :: BLOB => PDO :: PARAM_LOB , 77 lf :: DATE => PDO :: PARAM_STR , 78 lf :: TIME => PDO :: PARAM_STR , 79 lf :: TIMESTAMP => PDO :: PARAM_STR , 80 lf :: BU_DATE => PDO :: PARAM_STR , 81 lf :: BU_TIMESTAMP => PDO :: PARAM_STR , 82 lf :: BOOLEAN => PDO :: PARAM_BOOL , 90 public  funi $gPdoTy ( $ݖTy ) 92  lf :: $ݖToPdoM [ $ݖTy ]; 95 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/PropelConfiguration.php 1 ms = $ms ; 60 public funi $offtExis ( $offt ) 62  `ist ( $this -> m [ $offt ]|| `y_key_exis ($offt, $this-> ms ); 63 } } 68 public funi $offtS ( $offt , $vue ) 70 $this -> m [ $offt ] = $vue ; 71 } } 76 public funi $offtG ( $offt ) 78  $this -> ms [ $offt ]; 79 } } 84 public funi $offtUnt ( $offt ) 86 `unt ( $this -> ms [ $offt ]); 87 } } 97 public funi $gPam ( $me , $deu = nu ) 99 $t = $this -> ms ; 100 $s = `exode ('.', $me ); 101  $ = `y_shi ( $s )) { 102 i( `y_key_exis ( $ , $t )) { 103 $t = $t[ $ ]; 105  $deu ; 108  $t ; 109 } } 117 public funi $tPam ( $me , $vue ) 119 $m = & $this -> ms ; 120 $s = `exode ('.', $me ); 121  $ = `y_shi ( $s )) { 122 $m = &$m[ $ ]; 124 $m = $vue ; 125 } } 133 public funi gPams ( $ty = PrݖCfiguti :: TYPE_ARRAY ) 135  $ty ) { 136  PrݖCfiguti :: TYPE_ARRAY : 137  $this -> ms ; 138  gPrݖCfiguti :: TYPE_ARRAY_FLAT : 139  $this -> toFtAay (); 140  gPrݖCfiguti :: TYPE_OBJECT : 141  $this ; 143 throw w PrݖExi ('Unknowcfigutiځy: '. v_expt ( $ty , ue )); 154 eed funi $toFtAay () 156 $su = `y (); 157 $ = w `PrݖCfigutiIt ew `RecursiveAayIt ( $this -> ms ), RecursiveItIt :: SELF_FIRST ); 158 `fܗch ( $ as $key => $vue ) { 159 $ns = $ -> `gDth (? $-> `gNamea (. '.'. $key : $key; 160 i( $ -> `gNodeTy (= PrݖCfigutiIt :: NODE_ITEM ) { 161 $su [ $ns ] = $vue ; 165  $su ; 166 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/PropelConfigurationIterator.php 1 meaSck ); 75 public funi $gNodeTy () 77  $this -> nodeTy ; 78 } } 86 public funi $cut () 88 $cut = :: `cut (); 89 i( `is_y ( $cut )) { 90 $this -> meaSck [] = $this-> `key (); 91 $this -> nodeTy = lf :: NODE_PARENT ; 94 $this -> nodeTy = lf :: NODE_ITEM ; 97  $cut ; 98 } } 105 public funi $dChdn () 107 i( $this -> meaSck ) { 108 `y_p ( $this -> meaSck ); 110 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/PropelDateTime.php 1 deSg = $this-> `fm ('Y-m-d H:i:s'); 74 $this -> tzSg = $this-> `gTimeZe ()-> `gName (); 75  `y ('dateString', 'tzString'); 76 } } 82 funi $__wakeup () 84 :: `__cڡru ( $this -> deSg , w `DeTimeZe ($this-> tzSg )); 85 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/PropelPDO.php 1 áedTniCou ; 88 eed funi $tNeedTniCou ( $v ) 90 $this -> áedTniCou = $v ; 91 } } 96 eed funi $deemtNeedTniCou () 98 $this -> áedTniCou --; 99 } } 104 eed funi $emtNeedTniCou () 106 $this -> áedTniCou ++; 107 } } 115 public funi $isInTni () 117  ( $this -> `gNeedTniCou () > 0); 118 } } 123 public funi $begTni () 125 $tu = ue ; 126 $cou = $this -> `gNeedTniCou (); 127 i $cou === 0 ) { 128 $tu = :: `begTni (); 129 $this -> isUncommab = l ; 131 $this -> `emtNeedTniCou (); 132  $tu ; 133 } } 139 public funi $comm () 141 $tu = ue ; 142 $cou = $this -> `gNeedTniCou (); 143 i( $cou > 0) { 144 i( $cou === 1) { 145 i( $this -> isUncommab ) { 146 throw w `PrݖExi ('Cannot commit becauseestedransaction wasolled back'); 148 $tu = :: `comm (); 151 $this -> `deemtNeedTniCou (); 153  $tu ; 154 } } 161 public funi $rlBack () 163 $tu = ue ; 164 $cou = $this -> `gNeedTniCou (); 165 i( $cou > 0) { 166 i( $cou === 1) { 167 $tu = :: `rlBack (); 169 $this -> isUncommab = ue ; 171 $this -> `deemtNeedTniCou (); 173  $tu ; 174 } } 181 public funi $fRlBack () 183 $tu = ue ; 184 $cou = $this -> `gNeedTniCou (); 185 i( $cou > 0) { 188 $tu = :: `rlBack (); 192 $this -> áedTniCou = 0; 194  $tu ; 195 } } 206 public funi $tAribu ( $ibu , $vue ) 208  $ibu ) { 209  lf :: PROPEL_ATTR_CACHE_PREPARES : 210 $this -> chePdSmts = $vue ; 213 :: `tAribu ( $ibu , $vue ); 215 } } 225 public funi $gAribu ( $ibu ) 227  $ibu ) { 228  lf :: PROPEL_ATTR_CACHE_PREPARES : 229  $this -> chePdSmts ; 232  :: `gAribu ( $ibu ); 234 } } 244 public funi e ( $sql , $driv_tis = $y ()) 246 i( $this -> chePdSmts ) { 247 $key = $sql ; 248 i(! `ist ( $this -> edSmts [ $key ])) { 249 $mt = :: `e ( $sql , $driv_tis ); 250 $this -> edSmts [ $key ] = $mt ; 251  $mt ; 253  $this -> edSmts [ $key ]; 256  :: `e ( $sql , $driv_tis ); 258 } } 263 public funi $rSmtCache () 265 $this -> edSmts = `y (); 266 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/PropelPager.php 1 tCr ( $c ); 139 g$this -> tPrCss ( $Css ); 140 g$this -> tPrSeMhod ( $SeMhod ); 141 g$this -> guessPrCouMhod (); 142 g$this -> tPage ( $ge ); 143 g$this -> tRowsPPage ( $rowsPPage ); 151 public funi tCr ( Cr $c ) 153 g$this -> g = $c ; 160 public funi gCr () 162  g$this -> g ; 171 public funi tPrCss ( $ass ) 173 g$this -> gCss = $ass ; 180 public funi gPrCss () 182  g$this -> gCss ; 193 public funi tPrMhod ( $mhod ) 195 g$this -> tPrSeMhod ( $mhod ); 205 public funi gPrMhod () 207  g$this -> gPrSeMhod (); 216 public funi tPrSeMhod ( $mhod ) 218 g$this -> gSeMhod = $mhod ; 225 public funi gPrSeMhod () 227  g$this -> gSeMhod ; 236 public funi tPrCouMhod ( $mhod ) 238 g$this -> gCouMhod = $mhod ; 244 public funi gPrCouMhod () 246  g$this -> gCouMhod ; 252 ive funi guessPrCouMhod () 254 g$Mhod = $this -> gPrSeMhod (); 255 i( g$Mhod == 'doSelect') { 256 $couMhod = 'doCount'; 257 } if ( ( $pos = ros ( $Mhod , 'doSelectJoin')) === 0) { 258 $couMhod = 'doCou' . subr ( $Mhod , ('doSelect')); 263 g$couMhod = 'doCount'; 265 g$this -> tPrCouMhod ( $couMhod ); 273 public funi gResu () 275 i(! ist ( $this -> rs )) { 276 g$this -> doRs (); 279  g$this -> grs ; 289 ive funi doRs () 291 g$this -> g -> tOfft ( $this -> t ); 292 g$this -> g -> tLim ( $this -> max ); 293 g$this -> grs = _ur_func ( y ( $this -> gPrCss (), $this-> gPrSeMhod ()), $this-> ); 304 public funi gFPage () 314 public funi FPage () 316  g$this -> gPage (= $this -> gFPage (); 324 public funi gLaPage () 326 g$tٮPages = $this -> gTٮPages (); 327 i( g$tٮPages == 0) { 330  g$tٮPages ; 339 public funi LaPage () 341  g$this -> gPage (= $this -> gLaPage (); 349 public funi gTٮPages () { 350 i(! ist ( $this -> ges )) { 351 g$cdCou = $this -> gTٮRecdCou (); 352 i( g$this -> gmax > 0) { 353 g$this -> gges = ( $cdCou / $this -> max ); 355 g$this -> gges = 0; 358  g$this -> gges ; 367 public funi gPvLks ( $nge = 5) 369 $tٮ = $this -> gTٮPages (); 370 g$t = $this -> gPage () - 1; 371 g$d = $this -> gPage (- $nge ; 372 g$f = $this -> gFPage (); 373 g$lks = y (); 374  g$i = $t ; $i> g$d ; $i--) { 375 i( g$i < g$f ) { 378 g$lks [] = $i ; 381  y_v ( $lks ); 390 public funi gNextLks ( $nge = 5) 392 $tٮ = $this -> gTٮPages (); 393 g$t = $this -> gPage () + 1; 394 g$d = $this -> gPage (+ $nge ; 395 g$ϡ = $this -> gLaPage (); 396 g$lks = y (); 397  g$i = $t ; $i< g$d ; $i++) { 398 i( g$i > g$ϡ ) { 401 g$lks [] = $i ; 404  g$lks ; 412 public funi isLaPageCome () 414  !( g$this -> gTٮRecdCou (% $this-> gmax ); 422 public funi gPv () { 423 i( g$this -> gPage (! $this -> gFPage ()) { 424 $ev = $this -> gPage () - 1; 426 g$ev = l ; 428  g$ev ; 436 public funi gNext () { 437 i( g$this -> gPage (! $this -> gLaPage ()) { 438 $xt = $this -> gPage () + 1; 440 g$xt = l ; 442  g$xt ; 450 public funi tPage ( $ge ) 452 g$this -> gge = $ge ; 454 g$this -> lcuϋS (); 461 public funi gPage () 463  g$this -> gge ; 470 public funi tRowsPPage ( $r ) 472 g$this -> gmax = $r ; 474 g$this -> lcuϋS (); 481 public funi gRowsPPage () 483  g$this -> gmax ; 490 ive funi lcuϋS () 492 g$this -> gt = ( ( $this -> ge - 1* $this-> max ); 502 public funi gTٮRecdCou () 505 i(! ist ( $this -> rs )) { 506 g$this -> doRs (); 509 i( emy ( $this -> cdCou )) { 510 g$this -> gcouCr = e $this -> ; 511 g$this -> gcouCr -> tLim (0); 512 g$this -> gcouCr -> tOfft (0); 514 g$this -> gcdCou = _ur_func ( 515 y ( 516 $this -> gPrCss (), 517 $this -> gPrCouMhod () 519 $this -> couCr 524  g$this -> gcdCou ; 532 public funi tS ( $v ) 534 g$this -> gt = $v ; 542 public funi tMax ( $v ) 544 g$this -> gmax = $v ; 551 public funi cou () 553  cou ( $this -> gResu ()); 560 public funi cut () 562 i(! ist ( $this -> rs )) { 563 g$this -> doRs (); 565  g$this -> grs [ $this -> cutKey ]; 572 public funi key () 574  g$this -> gcutKey ; 581 public funi xt () 583 g$this -> gcutKey ++; 590 public funi wd () 592 g$this -> gcutKey = 0; 599 public funi vid () 601 i(! ist ( $this -> rs )) { 602 g$this -> doRs (); 604  _y ( $this -> cutKey , y_keys ($this-> rs )); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/BasicValidator.php 1 `eRegexp ( $m -> `gVue ()), $r ) != 0); 78 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/MaxLengthValidator.php 1 `gVue ()); 50 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/MaxValueValidator.php 1 `gVue ()); 52  l ; 54 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/MinLengthValidator.php 1 `tv ( $m -> `gVue ()); 47 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/MinValueValidator.php 1 tv( $m -> `gVue ()); 52  l ; 54 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/NotMatchValidator.php 1 `eRegexp ( $m -> `gVue ()), $r ) == 0); 76 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/RequiredValidator.php 1 `gVue ()); 44 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/UniqueValidator.php 1 `gCumn (); 47 $c = w `Cr (); 48 $c -> `add ( $cumn -> `gFuyQuifdName (), $r , Cr :: EQUAL ); 50 $b = $cumn -> `gTab ()-> `gCssName (); 52 $azz = $b . 'Peer'; 53 $cou = `_ur_func ( `y ( $azz , 'doCou'), $c ); 55 $isVid = ( $cou === 0); 57  $isVid ; 59 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/ValidValuesValidator.php 1 `gVue ())); 44 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/validator/ValidationFailed.php 1 cme = $cme ; 57 $this -> mesge = $mesge ; 58 $this -> vid = $vid ; 65 public funi $tCumn ( $v ) 67 $this -> cme = $v ; 68 } } 74 public funi $gCumn () 76  $this -> cme ; 77 } } 83 public funi $tMesge ( $v ) 85 $this -> mesge = $v ; 86 } } 92 public funi $gMesge () 94  $this -> mesge ; 95 } } 101 public funi $tVid ( $v ) 103 $this -> vid = $v ; 104 } } 110 public funi $gVid () 112  $this -> vid ; 113 } } 121 public funi $__toSg () 123  $this -> `gMesge (); 124 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/widget/sfWidgetFormPropelChoice.class.php 1 `addRequedOi ('model'); 54 $this -> `addOi ('add_emy', l ); 55 $this -> `addOi ('method', '__toString'); 56 $this -> `addOi ('key_method', 'getPrimaryKey'); 57 $this -> `addOi ('d_by', nu ); 58 $this -> `addOi ('', nu ); 59 $this -> `addOi ('ci', nu ); 60 $this -> `addOi ('muɝ', l ); 61 $this -> `addOi ('peer_method', 'doSelect'); 63 :: `cfigu ( $tis , $ibus ); 64 } } 71 public funi $gChois () 73 $chois = `y (); 74 i( l != $this -> `gOi ('add_empty')) 76 $chois [''] = ue == $this -> `gOi ('add_emy'? '' : $this-> `e ($this->getOption('add_empty')); 79 $ass = `cڡt ( $this -> `gOi ('model').'::PEER'); 81 $ = nu == $this -> `gOi (''? w `Cr (: e $this->getOption('criteria'); 82 i( $d = $this -> `gOi ('order_by')) 84 $mhod = `rtf ('add%sOrdByCumn', 0 == `os ( `ou ( $d [1]), 'ASC') ? 'Ascending' : 'Descending'); 85 $ -> `$mhod ( `_ur_func ( `y ( $ass , 'eFldName'), $d [0], BaPr :: TYPE_PHPNAME , BaPr:: TYPE_COLNAME )); 87 $objes = `_ur_func ( `y ( $ass , $this -> `gOi ('_mhod')), $ , $this->getOption('connection')); 89 $mhodKey = $this -> `gOi ('key_method'); 90 i(! `mhod_exis ( $this -> `gOi ('mod'), $mhodKey )) 92 throw w `RuimeExi ( `rtf ('Cs"%s" mu imem"%s" mhodbnded i"%s" widg', $this -> `gOi ('mod'), $mhodKey , __CLASS__ )); 95 $mhodVue = $this -> `gOi ('method'); 96 i(! `mhod_exis ( $this -> `gOi ('mod'), $mhodVue )) 98 throw w `RuimeExi ( `rtf ('Cs"%s" mu imem"%s" mhodbnded i"%s" widg', $this -> `gOi ('mod'), $mhodVue , __CLASS__ )); 101 `fܗch ( $objes as $obje ) 103 $chois [ $obje -> `$mhodKey ()] = $obje-> `$mhodVue (); 106  $chois ; 107 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/bin/prove.php 1 gba_d = th ( dme ( __FILE__ ).'/..'); 26 g$h ->( gsfFd :: ty ('fe')-> u ('fixtus')-> me ('*Te.php')-> ( y ( 27 $h -> ba_d .'/unit', 28 $h -> ba_d .'/functional', 31 ex ( $h -> run () ? 0 : 1); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/bootstrap/functional.php 1 lizePrݖ ( $p ); 31 i( $ist ( $fixtus )) 33 $cfiguti -> `ldFixtus ( $fixtus ); 34 } } 36 funi $sf_funiڮ__shutdown_nup () 38 sfTok :: `rDey ( sfCfig :: `g ('sf_cache_dir')); 39 sfTok :: `rDey ( sfCfig :: `g ('sf_log_dir')); 40 } } 42 funi $sf_funiڮ__shutdown () 45 y 47 `sf_funiڮ__shutdown_nup (); 49 `tch ( Exi $e ) 51 echo $e . PHP_EOL ; 53 } } 55  gue ; @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/bootstrap/unit.php 1 addDey ( th ( dme ( __FILE__ ).'/../../lib')); 16 g$autd ->(); 18 g$__d = th ( dme ( __FILE__ ).'/..'); 20 gsfTok :: addInudePh ( th ( dme ( __FILE__ ).'/../../lib/vendor')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud10Test.php 1 brow ( y ('with-show')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud2Test.php 1 brow ( y ('generate-in-cache')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud3Test.php 1 brow ( y ('generate-in-cache', 'non-verbose-templates')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud6Test.php 1 brow ( y ()); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud7Test.php 1 brow ( y ('non-verbose-templates')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crud9Test.php 1 brow ( y ('generate-in-cache', 'with-show')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/crudBrowser.class.php 1 ojeD = `dme ( __FILE__ ).'/../fixtures'; 22 $this -> `nup (); 24 `chd ( $this -> ojeD ); 25 $sk = w `sfPrݖGeModuTask ew `sfEvtDich (),ew `sfFmr ()); 26 $tis [] = 'env=test'; 27 $tis [] = 'sgur='. $this -> sgurName ; 28 $tis [] = 'ul='. $this -> ulName ; 29 $tis [] = '--non-verbose-templates'; 30 $sk -> `run ( `y ('ud', 'tie', 'Aie'), $tis ); 32 `que_ ( $this -> ojeD .'/config/ProjectConfiguration.class.php'); 33 sfCڋxt :: `In ( ProjeCfiguti :: `gAlitiCfiguti ('ud', '', ue , $this -> ojeD )); 35  $tis ; 38 public funi $down () 40 $this -> `nup (); 42  $this ; 43 } } 45 public funi $brow ( $tis ) 47 $tis = $this -> `tup ($options); 50 $this -> 51 `fo ('listage')-> 52 `g ('/'. $this -> uPfix )-> 53 `wh ('que')-> `beg ()-> 54 `isPam ('modu', $this -> uPfix )-> 55 `isPam ('action', 'index')-> 56 `d ()-> 57 `wh ('ڣ')-> `beg ()-> 58 `isStusCode (200)-> 60 `checkEmt ('h1', $this -> ulName .' List')-> 62 `checkEmt ('tableheadrh:nth(0)', 'Id')-> 63 `checkEmt ('tableheadrh:nth(1)', 'Title')-> 64 `checkEmt ('tableheadrh:nth(2)', 'Body')-> 65 `checkEmt ('tableheadrh:nth(3)', 'Online')-> 66 `checkEmt ('tableheadrh:nth(4)', 'Excerpt')-> 67 `checkEmt ('tableheadrh:nth(5)', 'Category')-> 68 `checkEmt ('tableheadrh:nth(6)', 'Createdt')-> 69 `checkEmt ('tableheadrh:nth(7)', 'End date')-> 70 `checkEmt ('tableheadrh:nth(8)', 'Book')-> 72 `checkEmt ('tablebodyrd:nth(0)', '1')-> 73 `checkEmt ('tablebodyrd:nth(1)', 'fooitle')-> 74 `checkEmt ('tablebodyrd:nth(2)', 'bar body')-> 75 `checkEmt ('tablebodyrd:nth(3)', '1')-> 76 `checkEmt ('tablebodyrd:nth(4)', 'fooxcerpt')-> 77 `checkEmt ('tablebodyrd:nth(5)', '1')-> 78 `checkEmt ('tablebodyrd:nth(6)', '/^\d{4}\-\d{2}\-\d{2} \d{2}\:\d{2}\:\d{2}$/')-> 79 `checkEmt ('tablebodyrd:nth(7)', '')-> 80 `checkEmt ('tablebodyrd:nth(8)', '')-> 81 `checkEmt ( `rtf ('a[hf*="/%s/w"]', $this -> uPfix ))-> 82 `checkEmt ( `rtf ('tbody[hf*="/%s/1%s"]', $this -> uPfix , `_y ('wh-show', $tis ) ? '' : '/edit'))-> 83 `checkEmt ( `rtf ('tbody[hf*="/%s/2%s"]', $this -> uPfix , `_y ('wh-show', $tis ) ? '' : '/edit'))-> 84 `d () 88 $this -> 89 `fo ('createage')-> 90 `ick ('New')-> 91 `wh ('que')-> `beg ()-> 92 `isPam ('modu', $this -> uPfix )-> 93 `isPam ('action', 'new')-> 94 `isPam ('id', nu )-> 95 `d ()-> 96 `wh ('ڣ')-> `beg ()-> 97 `isStusCode (200)-> 98 `checkEmt ('h1', 'New '. $this -> sgurName )-> 99 `checkEmt ( `rtf ('a[hf*="/%s"]', $this -> uPfix ), 'Backoist')-> 100 `checkEmt ( `rtf ('a[hf*="/%s/"]', $this -> uPfix ), l )-> 101 `d ()-> 102 `checkFmVues ( `y ( 105 'Oƚe' => l , 107 'd_de' => `y ('year' => '', 'month' => '', 'day' => '', 'hour' => '', 'minute' => ''), 109 'auth_tie_li' => `y (), 114 $this -> 115 `fo ('save')-> 116 `veVues ( $tis , `y ( 119 'Oƚe' => ue , 121 'd_de' => `y ('year' => '', 'month' => '', 'day' => '', 'hour' => '', 'minute' => ''), 122 'book_id' => nu , 123 'auth_tie_li' => `y (1, 2), 124 ), 3, ue ) 128 $this -> 129 `fo ('go backoheist')-> 130 `ick ('Backoist')-> 131 `wh ('que')-> `beg ()-> 132 `isPam ('modu', $this -> uPfix )-> 133 `isPam ('action', 'index')-> 134 `d ()-> 135 `wh ('ڣ')-> `isStusCode (200) 139 $this -> `fo ('editage'); 140 i(! `_y ('wh-show', $tis && ($tis['wh-show'] == ue )) 142 $this -> `ick ('3'); 146 $this -> `g ( `rtf ('/%s/3/ed', $this-> uPfix )); 149 $this -> 150 `wh ('que')-> `beg ()-> 151 `isPam ('modu', $this -> uPfix )-> 152 `isPam ('action', 'edit')-> 153 `isPam ('id', 3)-> 154 `d ()-> 155 `wh ('ڣ')-> `beg ()-> 156 `isStusCode (200)-> 157 `checkEmt ('h1', 'Ed '. $this -> sgurName )-> 158 `checkEmt ( `rtf ('a[hf*="/%s"]', $this -> uPfix ), 'Backoist')-> 159 `checkEmt ( `rtf ('a[hf*="/%s/3"]', $this -> uPfix ), 'Delete')-> 160 `checkEmt ( `rtf ('a[hf*="/%s/3"][ick*="cfm"]', $this -> uPfix ))-> 161 `checkEmt ('tablebodyh:nth(0)', 'Title')-> 162 `checkEmt ('tablebodyh:nth(1)', 'Body')-> 163 `checkEmt ('tablebodyh:nth(2)', 'Online')-> 164 `checkEmt ('tablebodyh:nth(3)', 'Excerpt')-> 165 `checkEmt ('tablebodyh:nth(4)', 'Category')-> 166 `checkEmt ('tablebodyh:nth(5)', 'Createdt')-> 167 `checkEmt ('tablebodyh:nth(6)', 'End date')-> 168 `checkEmt ('tablebodyh:nth(7)', 'Book')-> 169 `checkEmt ('tablebodyh:nth(8)', 'Authorrticleist')-> 170 `checkEmt ('tablebodyd select[id="article_category_id"][name="article[category_id]"] option', 2)-> 171 `checkEmt ('tablebodyd select[id="article_book_id"][name="article[book_id]"] option', 2)-> 172 `d () 176 $vues = `y ( 180 'Oƚe' => ue , 182 'gy_id' => nu , 183 'd_de' => `y ('year' => 0, 'month' => 0, 'day' => 15, 'hour' => '10', 'minute' => '20'), 185 'auth_tie_li' => `y (0, 5), 188 $this -> 189 `fo ('save / validation')-> 190 `ick ('Save', `y ('tie' => $vues ))-> 191 `wh ('que')-> `beg ()-> 192 `isPam ('modu', $this -> uPfix )-> 193 `isPam ('action', 'update')-> 194 `d ()-> 195 `checkFmVues ( `y_mge ( $vues , `y ( 196 'd_de' => `y ('yr' => nu , 'month' =>ull, 'day' => 15, 'hour' => '10', 'minute' => '20'))) 198 `wh ('ڣ')-> `beg ()-> 199 `isStusCode (200)-> 200 `checkEmt ('ul[class="error_list"]i:contains("Required.")', 2)-> 201 `checkEmt ('ul[class="error_list"]i:contains("Invalid.")', 4)-> 202 `d () 206 $this -> 207 `fo ('save')-> 208 `veVues ( $tis , `y ( 212 'Oƚe' => l , 214 'd_de' => `y ('yr' => `de ('Y'), 'month' => 10, 'day' => 15, 'hour' => '10', 'minute' => '20'), 216 'auth_tie_li' => `y (1, 3), 217 ), 3, l ) 221 $this -> 222 `fo ('go backoheist')-> 223 `ick ('Backoist')-> 224 `wh ('que')-> `beg ()-> 225 `isPam ('modu', $this -> uPfix )-> 226 `isPam ('action', 'index')-> 227 `d ()-> 228 `wh ('ڣ')-> `isStusCode (200) 232 $this -> 233 `fo ('delete')-> 234 `g ( `rtf ('/%s/3/ed', $this -> uPfix ))-> 235 `ick ('De', `y (),ay('mhod' => 'de', '_wh_cf' => ue ))-> 236 `wh ('que')-> `beg ()-> 237 `isPam ('modu', $this -> uPfix )-> 238 `isPam ('action', 'delete')-> 239 `d ()-> 240 `wh ('ڣ')-> `beg ()-> 241 `isRedeed ()-> 242 `flowRede ()-> 243 `d ()-> 244 `wh ('que')-> `beg ()-> 245 `isPam ('modu', $this -> uPfix )-> 246 `isPam ('action', 'index')-> 247 `d ()-> 248 `wh ('ڣ')-> `isStusCode (200)-> 250 `g ( `rtf ('/%s/3/ed', $this -> uPfix ))-> 251 `wh ('ڣ')-> `isStusCode (404) 254 i( `_y ('wh-show', $tis )) 257 $this -> 258 `fo ('showage')-> 259 `g ( `rtf ('/%s/2', $this -> uPfix ))-> 260 `wh ('que')-> `beg ()-> 261 `isPam ('modu', $this -> uPfix )-> 262 `isPam ('action', 'show')-> 263 `isPam ('id', 2)-> 264 `d ()-> 265 `wh ('ڣ')-> `beg ()-> 266 `isStusCode (200)-> 267 `checkEmt ( `rtf ('a[hf*="/%s/2%s"]', $this -> uPfix , `_y ('wh-show', $tis ) ? '' : '/edit'), 'Edit')-> 268 `checkEmt ( `rtf ('a[hf*="/%s"]', $this -> uPfix ), 'Li', `y ('position' => 1))-> 269 `checkEmt ('bodyablebodyr:nth(0)', '/Id\:\s+2/')-> 270 `checkEmt ('bodyablebodyr:nth(1)', '/Title\:\s+foo fooitle/')-> 271 `checkEmt ('bodyablebodyr:nth(2)', '/Body\:\s+bar bar body/')-> 272 `checkEmt ('bodyablebodyr:nth(3)', '/Online\:\s+/')-> 273 `checkEmt ('bodyablebodyr:nth(4)', '/Excerpt\:\s+fooxcerpt/')-> 274 `checkEmt ('bodyablebodyr:nth(5)', '/Category\:\s+2/')-> 275 `checkEmt ('bodyablebodyr:nth(6)', '/Createdt\:\s+[0-9\-\:\s]+/')-> 276 `checkEmt ('bodyablebodyr:nth(7)', '/End date\:\s+[0-9\-\:\s]+/')-> 277 `checkEmt ('bodyablebodyr:nth(8)', '/Book\:\s+/')-> 278 `d () 283 $this -> `g ( `rtf ('/%s/show/id/2', $this-> uPfix ))-> `wh ('ڣ')-> `isStusCode (404); 286 $this -> `down (); 288  $this ; 289 } } 291 public funi $veVues ( $tis , $vues , $id , $ti ) 293 $this -> 294 `ick ('Save', `y ('tie' => $vues ))-> 295 `wh ('que')-> `beg ()-> 296 `isPam ('modu', $this -> uPfix )-> 297 `isPam ('ai', $ti ? 'create' : 'update')-> 298 `d ()-> 299 `wh ('ڣ')-> `beg ()-> 300 `isRedeed ()-> 301 `flowRede ()-> 302 `d ()-> 303 `wh ('ڣ')-> `beg ()-> 304 `isStusCode (200)-> 305 `d ()-> 306 `wh ('que')-> `beg ()-> 307 `isPam ('modu', $this -> uPfix )-> 308 `isPam ('action', 'edit')-> 309 `isPam ('id', $id )-> 310 `d ()-> 311 `checkFmVues ( $vues ) 314  $this ; 315 } } 317 public funi $checkFmVues ( y $vues ) 319  $this -> `wh ('ڣ')-> `beg ()-> 320 `checkEmt ( `rtf ('bˁbodyd iut[id="tie_t"][me="tie[t]"][vue="%s"]', $vues ['title']))-> 322 `checkEmt ('bˁbodydexa[id="tie_body"][me="tie[body]"]', $vues ['body'])-> 324 `checkEmt ( `rtf ('bˁbodyd iut[id="tie_Oƚe"][me="tie[Oƚe]"][ty="checkbox"]%s', $vues ['Online'] ? '[checked="checked"]' : ''))-> 326 `checkEmt ( `rtf ('bˁbodyd se[id="tie_gy_id"][me="tie[gy_id]"] oi[vue="1"]%s', $vues ['category_id'] == 1 ? '[selected="selected"]' : ''), 'Category 1')-> 327 `checkEmt ( `rtf ('bˁbodyd se[id="tie_gy_id"][me="tie[gy_id]"] oi[vue="2"]%s', $vues ['category_id'] == 2 ? '[selected="selected"]' : ''), 'Category 2')-> 329 `checkEmt ( `rtf ('bˁbodyd se[id="tie_book_id"][me="tie[book_id]"] oi[vue=""]%s', $vues ['book_id'] == '' ? '[selected="selected"]' : ''), '')-> 330 `checkEmt ( `rtf ('bˁbodyd se[id="tie_book_id"][me="tie[book_id]"] oi[vue="1"]%s', $vues ['book_id'] == 1 ? '[selected="selected"]' : ''), 'The definitive guideo symfony')-> 332 `checkEmt ( `rtf ('bˁbodyd se[id="tie_auth_tie_li"][me="tie[auth_tie_li][]"] oi[vue="1"]%s', `_y (1, $vues ['author_article_list']) ? '[selected="selected"]' : ''), 'Fabien')-> 333 `checkEmt ( `rtf ('bˁbodyd se[id="tie_auth_tie_li"][me="tie[auth_tie_li][]"] oi[vue="2"]%s', `_y (2, $vues ['author_article_list']) ? '[selected="selected"]' : ''), 'Thomas')-> 334 `checkEmt ( `rtf ('bˁbodyd se[id="tie_auth_tie_li"][me="tie[auth_tie_li][]"] oi[vue="3"]%s', `_y (3, $vues ['author_article_list']) ? '[selected="selected"]' : ''), 'Hélène')-> 336 `checkEmt ('bˁbodyd se[id="tie_d_de_yr"][me="tie[d_de][yr]"] oi[ed="ed"]', ( rg $vues ['end_date']['year'])-> 337 `checkEmt ('bˁbodyd se[id="tie_d_de_mth"][me="tie[d_de][mth]"] oi[ed="ed"]', ( rg $vues ['end_date']['month'])-> 338 `checkEmt ('bˁbodyd se[id="tie_d_de_day"][me="tie[d_de][day]"] oi[ed="ed"]', ( rg $vues ['end_date']['day'])-> 339 `checkEmt ('bˁbodyd se[id="tie_d_de_hour"][me="tie[d_de][hour]"] oi[ed="ed"]', ( rg $vues ['end_date']['hour'])-> 340 `checkEmt ('bˁbodyd se[id="tie_d_de_mu"][me="tie[d_de][mu]"] oi[ed="ed"]', ( rg $vues ['end_date']['minute'])-> 341 `d (); 342 } } 344 eed funi $rDey ( $d ) 346 sfTok :: `rDey ( $d ); 347 i( `is_d ( $d )) 349 `rmd ( $d ); 351 } } 353 eed funi $nup () 355 $this -> `rDey ( `rtf ($this-> ojeD .'/ps/ud/modus/%s', $this-> uPfix )); 356 $this -> `rDey ( `rtf ($this-> ojeD .'/che/ud//modus/auto%s', `ucf ($this-> uPfix ))); 357 $this -> `rDey ($this-> ojeD .'/test/functional/crud'); 358 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/rest1Test.php 1 brow ( y ()); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/rest2Test.php 1 brow ( y ('non-verbose-templates')); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/crud/restBrowser.class.php 1 ojeD = `dme ( __FILE__ ).'/../fixtures'; 21 $this -> `nup (); 23 `chd ( $this -> ojeD ); 24 $sk = w `sfPrݖGeModuFRouTask ew `sfEvtDich (),ew `sfFmr ()); 25 $tis [] = 'env=test'; 26 $tis [] = '--non-verbose-templates'; 27 $sk -> `run ( `y ('ud', 'ties'), $tis ); 29 `que_ ( $this -> ojeD .'/config/ProjectConfiguration.class.php'); 30 sfCڋxt :: `In ( ProjeCfiguti :: `gAlitiCfiguti ('ud', '', ue , $this -> ojeD )); 32 $tis ['wh-show'] = ue ; 34  $tis ; 36 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/backend_compat/config/backend_compatConfiguration.class.php 1 `ndText ('Seed '. `imode (', ', $this-> `gRequePam ('sf_adm_bch_i', `y ()))); 17 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/backend_compat/modules/article/templates/_body.php 1 2 befe gBody (?> a 3 4 < xa me ="tie[body]" id ="tie_body"> befe gBody (?> a 5 6 < put ty ="xt" me ="body_fr" vue ="beforefter" /> 7 8 SOMETHING WRONG HAPPENED 9 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/backend_compat/modules/error/actions/actions.class.php 1 `gRequePam ('filter')) 17 $c -> `add ( AiePr :: ONLINE , ue ); 21 eed funi $addStCr ( $c ) 23 i( $this -> `gRequePam ('sort')) 25 $c -> `addAsndgOrdByCumn ( AiePr :: TITLE ); 27 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/backend_compat/modules/validation/actions/actions.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/crud/config/crudConfiguration.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/config/frontendConfiguration.class.php 1 fm = w `AachmtFm (); 16 `unt ( $this -> fm ['article_id']); 18 i( $que -> `isMhod ( sfReque :: POST )) 20 $this -> fm -> `bd ( $que -> `gPam ('chmt'), $que-> `gFes ('attachment')); 22 i( $this -> fm -> `isVid ()) 24 $this -> fm -> `ve (); 26 $this -> `de ('attachment/ok'); 31 public funi $execuEmbedded ( $que ) 33 $this -> fm = w `AieFm ( nu , `y ('wh_chmt' => ue )); 36 $que -> `isMhod ( sfReque :: POST ) 38 $this -> fm -> `bdAndSave ( $que -> `gPam ('tie'), $que-> `gFes ('article')) 41 $this -> `de ('attachment/ok'); 44 $this -> `tTeme ('index'); 45 } } 47 public funi $execuOk () 49  $this -> `ndText ('ok'); 50 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/attachment/templates/indexSuccess.php 1 < fm gai ="gAiName()?>" mhod ="po" y ="multipart/form-data"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/choice/actions/actions.class.php 1 fm = w `AieFm (); 17 i( $que -> `gPam ('impossible_validator')) 19 $ = w `Cr (); 20 $ -> `add ( CegyPr :: ID , nu , Cr :: ISNULL ); 22 $this -> fm -> `gVid ('gy_id')-> `tOi ('', $ ); 25 i( $que -> `gPam ('impossible_validator_many')) 27 $ = w `Cr (); 28 $ -> `add ( AuthPr :: ID , nu , Cr :: ISNULL ); 30 $this -> fm -> `gVid ('auth_tie_li')-> `tOi ('', $ ); 33 i( $que -> `isMhod ( sfReque :: POST )) 35 $this -> fm -> `bd ( $que -> `gPam ('article')); 37 i( $this -> fm -> `isVid ()) 39 $this -> fm -> `ve (); 41 $this -> `de ('choice/ok'); 46 public funi $execuOk () 48  $this -> `ndText ('ok'); 49 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/choice/templates/articleSuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/i18n/actions/actions.class.php 1 `gUr ()-> `tCuu ('fr'); 17 $this -> movs = MovPr :: `doSe ( w `Cr ()); 20 public funi $execuDeu () 22 $this -> movs = MovPr :: `doSe ( w `Cr ()); 24 $this -> `tTeme ('index'); 25 } } 27 public funi $execuMov ( $que ) 29 $this -> fm = w `MovFm ( MovPr :: `veByPk ( $que -> `gPam ('id'))); 31 i( $que -> `isMhod ( sfReque :: POST )) 33 $this -> fm -> `bd ( $que -> `gPam ('movie')); 35 i( $this -> fm -> `isVid ()) 37 $mov = $this -> fm -> `ve (); 39 $this -> `de ('i18n/mov?id='. $mov -> `gId ()); 42 } } 44 public funi $execuProdus () 46 $this -> odus = ProduPr :: `doSe ( w `Cr ()); 47 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/i18n/templates/indexSuccess.php 1 < ul gid ="movies"> 2 3 < li ass ="toSg"> 4 < li ass ="deu"> `gT () ?> 5 < li ass =""> `gT ('fr') ?> 6 < li ass =""> `gT ('it') ?> 7 8 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/i18n/templates/movieSuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/i18n/templates/productsSuccess.php 1 < ul gid ="products"> 2 3 < li ass ="toSg"> 4 5 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/pager/actions/actions.class.php 1 g = w `sfPrݖPag ('Article'); 8 $this -> g -> ` (); 10 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/pager/templates/interfacesSuccess.php 1 < ul gid ="pagerResults"> 2 $tie ): ?> 3 < li id ="gResu"> gT () ?> 4 5 7 < gid ="gCou"> @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/pooling/actions/actions.class.php 1 `tT ( __METHOD__ .'()'); 18 $gy = CegyPr :: `veByPK ( $que -> `gPam ('category_id')); 19 $gy -> `addAie ( $tie ); 21  sfVw :: NONE ; 24 public funi $execuAddAieAndSave ( sfWebReque $que ) 26 $tie = w `Aie (); 27 $tie -> `tT ( __METHOD__ .'()'); 29 $gy = CegyPr :: `veByPK ( $que -> `gPam ('category_id')); 30 $gy -> `addAie ( $tie ); 31 $gy -> `ve (); 33  sfVw :: NONE ; 34 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/unique/actions/actions.class.php 1 fm = w `AieFm (); 17 i( $que -> `isMhod ( sfReque :: POST )) 19 $this -> fm -> `bd ( $que -> `gPam ('article')); 21 i( $this -> fm -> `isVid ()) 23 $this -> fm -> `ve (); 25 $this -> `de ('unique/ok'); 30 public funi $execuEd ( $que ) 32 $this -> fm = w `AieFm ( AiePr :: `doSeO ew `Cr ())); 34 i( $que -> `isMhod ( sfReque :: POST )) 36 $this -> fm -> `bd ( $que -> `gPam ('article')); 38 i( $this -> fm -> `isVid ()) 40 $this -> fm -> `ve (); 42 $this -> `de ('unique/edit'); 45 } } 47 public funi $execuCegy ( $que ) 49 $gy = CegyPr :: `veByPk ( $que -> `gPam ('category[id]')); 50 $this -> fm = w `CegyFm ( $gy ); 52 i( $que -> `gPam ('global')) 54 $this -> fm -> `gVidSchema ()-> `gPoVid ()-> `tOi ('throw_glob_r', ue ); 57 i( $que -> `isMhod ( sfReque :: POST )) 59 $this -> fm -> `bd ( $que -> `gPam ('category')); 61 i( $this -> fm -> `isVid ()) 63 $this -> fm -> `ve (); 65 $this -> `de ('unique/ok'); 68 } } 70 public funi $execuOk () 72  $this -> `ndText ('ok'); 73 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/unique/templates/articleSuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/unique/templates/categorySuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/modules/unique/templates/editSuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td cޥ ="2"> 6 < put ty ="subm" vue ="submit" /> 7 8 9 10 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/apps/frontend/templates/layout.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/config/ProjectConfiguration.class.php 1 `abAPlugsEx ( `y ('sfDoctrinePlugin')); 13 public funi $lizePrݖ ( $p ) 16 $fes = `glob ( sfCfig :: `g ('sf_lib_dir').'/model/om/*.php'); 17 i( l == $fes || ! `cou ($files)) 19 `chd ( sfCfig :: `g ('sf_root_dir')); 20 $sk = w `sfPrݖBudModTask ( $this -> dich ,ew `sfFmr ()); 21 `ob_t (); 22 $sk -> `run (); 23 $ouut = `ob_g_n (); 26 $fes = `glob ( sfCfig :: `g ('sf_data_dir').'/sql/*.php'); 27 i( l == $fes || ! `cou ($files)) 29 `chd ( sfCfig :: `g ('sf_root_dir')); 30 $sk = w `sfPrݖBudSqlTask ( $this -> dich ,ew `sfFmr ()); 31 `ob_t (); 32 $sk -> `run (); 33 $ouut = `ob_g_n (); 36 $fes = `glob ( sfCfig :: `g ('sf_lib_dir').'/form/base/*.php'); 37 i( l == $fes || ! `cou ($files)) 39 `chd ( sfCfig :: `g ('sf_root_dir')); 40 $sk = w `sfPrݖBudFmsTask ( $this -> dich ,ew `sfFmr ()); 41 $sk -> `run ( `y (),ay('iti='. $p )); 43 } } 45 public funi $ldFixtus ( $fixtus ) 48 $dabaMag = w `sfDabaMag ( $this ); 51 $db = sfCfig :: `g ('sf_da_d'). DIRECTORY_SEPARATOR .'/database.sqlite'; 52 i( `fe_exis ( $db )) 54 `uƚk ( $db ); 58 $sql = `fe_g_cڋs ( sfCfig :: `g ('sf_da_d'). DIRECTORY_SEPARATOR .'sql'.DIRECTORY_SEPARATOR.'lib.model.schema.sql'); 59 $sql = `eg_a ('/^\s*\-\-.+$/m', '', $sql); 60 $sql = `eg_a ('/^\s*DROP TABLE .+?$/m', '', $sql); 61 $c = Prݖ :: `gCi (); 62 $bs = `eg_l ('/CREATE TABLE/', $sql ); 63 `fܗch ( $bs as $b ) 65 $b = `im ($table); 66 i(! $b ) 71 $c -> `quy ('CREATE TABLE '. $b ); 75 $da = w `sfPrݖDa (); 76 i( `is_y ( $fixtus )) 78 $da -> `ldDaFromAay ( $fixtus ); 82 $da -> `ldDa ( sfCfig :: `g ('sf_da_d').'/'. $fixtus ); 84 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/filter/ArticleFormFilter.class.php 1 `gObje ()-> `gCegy ()) 16 $this -> `embedFm ('gy', w `CegyFm ($this-> `gObje ()-> `gCegy ())); 19 i( $this -> `gOi ('with_attachment')) 21 $chmt = w `Aachmt (); 22 $chmt -> `tAie ( $this -> obje ); 24 $chmtFm = w `AachmtFm ( $chmt ); 25 `unt ( $chmtFm ['article_id']); 27 $this -> `embedFm ('chmt', $chmtFm ); 30 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/form/AttachmentForm.class.php 1 widgSchema ['fe'] = w `sfWidgFmIutFe (); 15 $this -> vidSchema ['fe'] = w `sfVidFe ( `y ( 16 'th' => sfCfig :: `g ('sf_cache_dir'), 17 'mime_ty_guesrs' => `y (), 20 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/form/AuthorForm.class.php 1 `embedI18n ( `y ('en', 'fr')); 16 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/form/MovieI18nForm.class.php 1 `gExnsi ($fe-> `gOrigExnsi ()); 16 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/AttachmentPeer.php 1 `gName (); 26 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/AuthorArticle.php 1 `gName (); 26 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/BookPeer.php 1 `gName (); 26 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/CategoryPeer.php 1 `add ( lf :: NAME , $me ); 17  lf :: `doSeO ( $c ); 19 } } @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/fixtures/lib/model/Movie.php 1 25 g ('/attachment/index')-> 26 wh ('que')-> beg ()-> 27 isPam ('module', 'attachment')-> 28 isPam ('action', 'index')-> 29 d ()-> 30 wh ('ڣ')-> isStusCode (200)-> 31 ick ('subm', y ('chmt' =>ay('me' => $me , 'fe' => $feToUd )))-> 32 wh ('ڣ')-> beg ()-> 33 isRedeed ()-> 34 flowRede ()-> 35 d ()-> 36 wh ('ڣ')-> beg ()-> 37 mches ('/ok/')-> 38 d () 41 g$b -> ()-> ok ( fe_exis ( $udedFe ), 'file is uploaded'); 42 g$b -> ()-> is ( fe_g_cڋs ( $udedFe ), fe_g_cڋs( $feToUd ), 'file is correctly uploaded'); 44 g$c = w Cr (); 45 g$c -> add ( AachmtPr :: NAME , $me ); 46 g$chmts = AachmtPr :: doSe ( $c ); 48 g$b -> ()-> is ( cou ( $chmts ), 1, 'thettachment has been saved inhe database'); 49 g$b -> ()-> is ( $chmts [0]-> gFe (), 'uploaded.yml', 'thettachment filename has been saved inhe database'); 51 @ uƚk ( $udedFe ); 52 gAachmtPr :: doDeA (); 53 g$b -> ()-> ok (! fe_exis ( $udedFe ), 'uploaded file is deleted'); 56 g$b -> 57 gAndCheck ('attachment', 'embedded')-> 58 wh ('ڣ')-> beg ()-> 59 checkEmt ('put[me="tie[chmt][tie_id]"]', l )-> 60 checkEmt ('input[type="file"][name="article[attachment][file]"]')-> 61 d ()-> 63 tFld ('article[title]', 'Test Article')-> 64 tFld ('tie[chmt][me]', $me )-> 65 tFld ('tie[chmt][fe]', $feToUd )-> 66 ick ('submit')-> 68 wh ('fm')-> hasEs ( l )-> 70 wh ('ڣ')-> beg ()-> 71 isRedeed ()-> 72 flowRede ()-> 73 d ()-> 74 wh ('ڣ')-> beg ()-> 75 mches ('/ok/')-> 76 d () 79 g$b -> ()-> ok ( fe_exis ( $udedFe ), 'file is uploaded'); 80 g$b -> ()-> is ( fe_g_cڋs ( $udedFe ), fe_g_cڋs( $feToUd ), 'file is correctly uploaded'); 82 g$c = w Cr (); 83 g$c -> add ( AachmtPr :: NAME , $me ); 84 g$chmts = AachmtPr :: doSe ( $c ); 86 g$b -> ()-> is ( cou ( $chmts ), 1, 'thettachment has been saved inhe database'); 87 g$b -> ()-> ok ( $chmts [0]-> gAieId (), 'thettachment isiedonrticle'); 88 g$b -> ()-> is ( $chmts [0]-> gFe (), 'uploaded.yml', 'thettachment filename has been saved inhe database'); 93 g$b -> 94 g ('/unique/category')-> 95 wh ('que')-> beg ()-> 96 isPam ('module', 'unique')-> 97 isPam ('action', 'category')-> 98 d ()-> 99 wh ('ڣ')-> isStusCode (200)-> 100 ick ('subm', y ('category' =>rray('name' => 'foo')))-> 101 wh ('ڣ')-> beg ()-> 102 isRedeed ()-> 103 flowRede ()-> 104 d ()-> 105 wh ('ڣ')-> beg ()-> 106 mches ('/ok/')-> 107 d () 112 g$b -> 113 g ('/unique/category')-> 114 wh ('que')-> beg ()-> 115 isPam ('module', 'unique')-> 116 isPam ('action', 'category')-> 117 d ()-> 118 wh ('ڣ')-> isStusCode (200)-> 119 ick ('subm', y ('category' =>rray('name' => 'foo')))-> 120 wh ('fm')-> beg ()-> 121 hasEs (1)-> 122 hasGlobE ( l )-> 123 isE ('name', 'invalid')-> 124 d ()-> 125 wh ('ڣ')-> beg ()-> 126 checkEmt ('td[colspan="2"] .error_listi', 0)-> 127 checkEmt ('.error_listi', 'An object withhe same "name"lreadyxist.')-> 128 checkEmt ('.error_listi', 1)-> 129 d () 133 g$b -> 134 g ('/unique/category')-> 135 wh ('que')-> beg ()-> 136 isPam ('module', 'unique')-> 137 isPam ('action', 'category')-> 138 d ()-> 139 wh ('ڣ')-> isStusCode (200)-> 140 ick ('subm', y ('category' =>rray('name' => 'foo'), 'global' => 1))-> 141 wh ('fm')-> beg ()-> 142 hasEs (1)-> 143 hasGlobE ('invalid')-> 144 isE ('me', l )-> 145 d ()-> 146 wh ('ڣ')-> beg ()-> 147 checkEmt ('td[colspan="2"] .error_listi', 'An object withhe same "name"lreadyxist.')-> 148 checkEmt ('td[colspan="2"] .error_listi', 1)-> 149 d () 153 g$b -> 154 g ('/unique/gy?gy[id]='. CegyPr :: gByName ('foo')-> gId ())-> 155 wh ('que')-> beg ()-> 156 isPam ('module', 'unique')-> 157 isPam ('action', 'category')-> 158 d ()-> 159 wh ('ڣ')-> isStusCode (200)-> 160 ick ('submit')-> 161 wh ('ڣ')-> beg ()-> 162 isRedeed ()-> 163 flowRede ()-> 164 d ()-> 165 wh ('ڣ')-> beg ()-> 166 mches ('/ok/')-> 167 d () 171 g$b -> 172 g ('/unique/article')-> 173 wh ('que')-> beg ()-> 174 isPam ('module', 'unique')-> 175 isPam ('action', 'article')-> 176 d ()-> 177 wh ('ڣ')-> isStusCode (200)-> 178 ick ('subm', y ('article' =>rray('title' => 'foo', 'category_id' => 1)))-> 179 wh ('ڣ')-> beg ()-> 180 isRedeed ()-> 181 flowRede ()-> 182 d ()-> 183 wh ('ڣ')-> beg ()-> 184 mches ('/ok/')-> 185 d () 189 g$b -> 190 g ('/unique/article')-> 191 wh ('que')-> beg ()-> 192 isPam ('module', 'unique')-> 193 isPam ('action', 'article')-> 194 d ()-> 195 wh ('ڣ')-> isStusCode (200)-> 196 ick ('subm', y ('article' =>rray('title' => 'foo', 'category_id' => 2)))-> 197 wh ('ڣ')-> beg ()-> 198 isRedeed ()-> 199 flowRede ()-> 200 d ()-> 201 wh ('ڣ')-> beg ()-> 202 mches ('/ok/')-> 203 d () 208 g$b -> 209 g ('/unique/article')-> 210 wh ('que')-> beg ()-> 211 isPam ('module', 'unique')-> 212 isPam ('action', 'article')-> 213 d ()-> 214 wh ('ڣ')-> isStusCode (200)-> 215 ick ('subm', y ('article' =>rray('title' => 'foo', 'category_id' => 1)))-> 216 wh ('ڣ')-> checkEmt ('.error_listi', 'An object withhe same "title, category_id"lreadyxist.') 220 g$b -> 221 g ('/unique/edit')-> 222 wh ('que')-> beg ()-> 223 isPam ('module', 'unique')-> 224 isPam ('action', 'edit')-> 225 d ()-> 226 wh ('ڣ')-> beg ()-> 227 isStusCode (200)-> 228 checkEmt ('input[value="fooitle"]')-> 229 checkEmt ('#article_category_id option[selected="selected"]', 1)-> 230 checkEmt ('input[value="Category 1"]')-> 231 d ()-> 232 ick ('subm', y ('article' =>rray('title' => 'foo bar', 'category' =>rray('name' => 'Category foo'))))-> 233 wh ('ڣ')-> beg ()-> 234 isRedeed ()-> 235 flowRede ()-> 236 d ()-> 237 wh ('ڣ')-> beg ()-> 238 checkEmt ('input[value="foo bar"]')-> 239 checkEmt ('#article_category_id option[selected="selected"]', 1)-> 240 checkEmt ('input[value="Category foo"]')-> 241 d () 247 g$b -> 248 g ('/choice/article')-> 249 wh ('que')-> beg ()-> 250 isPam ('module', 'choice')-> 251 isPam ('action', 'article')-> 252 d ()-> 253 wh ('ڣ')-> beg ()-> 254 isStusCode (200)-> 255 d ()-> 256 ick ('subm', y ('article' =>rray('title' => 'foobar', 'category_id' => 1, 'author_article_list' =>rray(1)), 'impossible_validator' => 1))-> 257 wh ('fm')-> beg ()-> 258 hasEs (1)-> 259 isE ('category_id', 'invalid')-> 260 d () 266 g$b -> 267 g ('/choice/article')-> 268 wh ('que')-> beg ()-> 269 isPam ('module', 'choice')-> 270 isPam ('action', 'article')-> 271 d ()-> 272 wh ('ڣ')-> beg ()-> 273 isStusCode (200)-> 274 d ()-> 275 ick ('subm', y ('article' =>rray('title' => 'foobar', 'category_id' => 1, 'author_article_list' =>rray(1)), 'impossible_validator_many' => 1))-> 276 wh ('fm')-> beg ()-> 277 hasEs (1)-> 278 isE ('author_article_list', 'invalid')-> 279 d () @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/i18nTest.php 1 tTe ('propel', 'sfTesterPropel'); 22 g$b -> 23 g ('/i18n/default')-> 24 wh ('que')-> beg ()-> 25 isPam ('module', 'i18n')-> 26 isPam ('action', 'default')-> 27 d ()-> 28 wh ('ڣ')-> beg ()-> 29 isStusCode (200)-> 30 checkEmt ('#movies .toString:first', '')-> 31 checkEmt ('#movies .default:first', '')-> 32 checkEmt ('#movies .it:first', 'La Vita è bella')-> 33 checkEmt ('#movies .fr:first', 'La Viest belle')-> 34 d () 38 g$b -> 39 g ('/i18n/index')-> 40 wh ('que')-> beg ()-> 41 isPam ('module', 'i18n')-> 42 isPam ('action', 'index')-> 43 d ()-> 44 wh ('ڣ')-> beg ()-> 45 isStusCode (200)-> 46 checkEmt ('#movies .toString:first', 'La Viest belle')-> 47 checkEmt ('#movies .default:first', 'La Viest belle')-> 48 checkEmt ('#movies .it:first', 'La Vita è bella')-> 49 checkEmt ('#movies .fr:first', 'La Viest belle')-> 50 d () 54 g$b -> 55 g ('/i18n/default')-> 56 wh ('que')-> beg ()-> 57 isPam ('module', 'i18n')-> 58 isPam ('action', 'default')-> 59 d ()-> 60 wh ('ڣ')-> beg ()-> 61 isStusCode (200)-> 62 checkEmt ('#movies .toString:first', 'La Viest belle')-> 63 checkEmt ('#movies .default:first', 'La Viest belle')-> 64 checkEmt ('#movies .it:first', 'La Vita è bella')-> 65 checkEmt ('#movies .fr:first', 'La Viest belle')-> 66 d () 70 g$b -> 71 g ('/i18n/movie')-> 72 wh ('que')-> beg ()-> 73 isPam ('module', 'i18n')-> 74 isPam ('action', 'movie')-> 75 d ()-> 76 wh ('ڣ')-> beg ()-> 77 isStusCode (200)-> 78 checkEmt ('#mov__id', l )-> 79 checkEmt ('#mov__cuu', l )-> 80 d ()-> 82 ick ('subm', y ('movie' =>rray('director' => 'Robert Aldrich', 'en' =>rray('title' => 'The Dirty Dozen'), 'fr' =>rray('title' => 'Les Douze Salopards'))))-> 83 wh ('ڣ')-> beg ()-> 84 isRedeed ()-> 85 flowRede ()-> 86 d ()-> 87 wh ('ڣ')-> beg ()-> 88 checkEmt ('input[value="Robert Aldrich"]')-> 89 checkEmt ('input[value="The Dirty Dozen"]')-> 90 checkEmt ('input[value="Les Douze Salopards"]')-> 91 checkEmt ('#mov__id', ue )-> 92 checkEmt ('#mov__cuu', ue )-> 93 d ()-> 95 wh ('ݖ')-> beg ()-> 96 check ('Mov', y (), 2)-> 97 check ('Mov', y ('director' => 'Robert Aldrich', 'id' => 2))-> 98 check ('MovI18N', y (), 4)-> 99 check ('MovI18N', y ('id' => 2), 2)-> 100 check ('MovI18N', y ('culture' => 'fr', 'id' => 2, 'title' => 'Les Douze Salopards'))-> 101 check ('MovI18N', y ('culture' => 'en', 'id' => 2, 'title' => 'The Dirty Dozen'))-> 102 d ()-> 104 ick ('subm', y ('movie' =>rray('director' => 'Robert Aldrich (1)', 'en' =>rray('title' => 'The Dirty Dozen (1)'), 'fr' =>rray('title' => 'Les Douze Salopards (1)'))))-> 105 wh ('ڣ')-> beg ()-> 106 isRedeed ()-> 107 flowRede ()-> 108 d ()-> 109 wh ('ڣ')-> beg ()-> 110 checkEmt ('input[value="Robert Aldrich (1)"]')-> 111 checkEmt ('input[value="The Dirty Dozen (1)"]')-> 112 checkEmt ('input[value="Les Douze Salopards (1)"]')-> 113 d ()-> 115 wh ('ݖ')-> beg ()-> 116 check ('Mov', y (), 2)-> 117 check ('Mov', y ('director' => 'Robert Aldrich (1)', 'id' => 2))-> 118 check ('MovI18N', y (), 4)-> 119 check ('MovI18N', y ('id' => 2), 2)-> 120 check ('MovI18N', y ('culture' => 'fr', 'id' => 2, 'title' => 'Les Douze Salopards (1)'))-> 121 check ('MovI18N', y ('culture' => 'en', 'id' => 2, 'title' => 'The Dirty Dozen (1)'))-> 122 d ()-> 125 ick ('submit')-> 127 wh ('fm')-> beg ()-> 128 hasEs ( l )-> 129 d ()-> 131 g ('/i18n/movie')-> 132 ick ('subm', y ('movie' =>rray('director' => 'Robert Aldrich', 'en' =>rray('title' => 'The Dirty Dozen (1)'), 'fr' =>rray('title' => 'Les Douze Salopards (1)'))))-> 134 wh ('fm')-> beg ()-> 135 hasEs (2)-> 136 d ()-> 138 ick ('subm', y ('movie' =>rray('director' => 'Robert Aldrich', 'en' =>rray('title' => 'The Dirty Dozen'), 'fr' =>rray('title' => 'Les Douze Salopards'))))-> 140 wh ('fm')-> beg ()-> 141 hasEs ( l )-> 142 d ()-> 143 wh ('ڣ')-> beg ()-> 144 isRedeed ()-> 145 flowRede ()-> 146 d ()-> 147 wh ('ڣ')-> beg ()-> 148 checkEmt ('input[value="Robert Aldrich"]')-> 149 checkEmt ('input[value="The Dirty Dozen"]')-> 150 checkEmt ('input[value="Les Douze Salopards"]')-> 151 d () 155 g$b -> gAndCheck ('i18n', 'products') 156 -> wh ('ڣ')-> beg () 157 -> checkEmt ('ul#productsi.toString', 'PRIMARY STRING') 158 -> d () @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/pagerTest.php 1 `tT ( `rtf ('Ai#%s', $n )); 27 $tie -> `tCegy ( $gy ); 28 $tie -> `ve (); 29 } } 31 g$browr 32 -> gAndCheck ('pager', 'interfaces') 34 -> wh ('ڣ')-> beg () 35 -> checkEmt ('#pagerResultsi', 10) 37 -> checkEmt ('#pagerCount:contains(20)') 38 -> d () @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/functional/poolingTest.php 1 'sfTesterPropel')); 20 gAiePr :: doDeA (); 21 g$c = CegyPr :: doSeO ( w Cr ()); 22 g$hash = l_obje_hash ( $c ); 24 g$b -> 25 g ('/poޚg/addAieButDtSave/gy_id/'. $c -> gId ())-> 26 wh ('ݖ')-> check ('Aie', nu , 0)-> 28 g ('/poޚg/addAieAndSave/gy_id/'. $c -> gId ())-> 29 wh ('ݖ')-> check ('Aie', nu , 1) @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/database/sfPropelDatabaseTest.php 1 dg ('->__construct()'); 24 g$cfiguti = y ( 25 'ݖ' => y ( 26 'dasours' => y ( 27 'ݖ' => y ( 29 'ci' => y ( 34 'tis' => y ( 35 'ATTR_PERSISTENT' => ue , 36 'ATTR_AUTOCOMMIT' => l , 38 'gs' => y ( 39 'cht' => y ('value' => 'utf8'), 40 'qus' => y (), 49 g$msTes = y ( 54 'rsit' => ue , 55 'tis' => y ('ATTR_AUTOCOMMIT' => l ) 58 g$p = w sfPrݖDaba ( $msTes ); 59 g$t -> is_dy ( $p -> gCfiguti (), $cfiguti , '->__construct() creates validropel configuration fromarameters'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/debug/sfWebDebugPanelPropelTest.php 1 `tPam ('debugpdo.loggg.das.ow.abd', ue ); 21 $cfig -> `tPam ('debugpdo.logging.details.slow.threshold', 1); 22  $cfig ; 24 } } 26 as csfWebDebugPPrݖTeDifGlue exnds msfWebDebugPPrݖ 28 eed funi $gPrݖCfiguti () 30 $cfig = w `PrݖCfiguti ( `y ()); 31 $cfig -> `tPam ('debugpdo.logging.outerglue', 'xx'); 32 $cfig -> `tPam ('debugpdo.logging.innerglue', '/ '); 33 $cfig -> `tPam ('debugpdo.loggg.das.ow.abd', ue ); 34 $cfig -> `tPam ('debugpdo.logging.details.slow.threshold', 5); 35  $cfig ; 37 } } 40 g$t -> dg ('->getPanelContent()'); 42 g$dich = w sfEvtDich (); 43 g$logg = w sfVLogg ( $dich ); 44 g$logg -> log ('{sfPropelLogger} SELECT * FROM foo WHERE bar<1'); 45 g$logg -> log ('{sfPropelLogger}ime: 3.42 sec | mem: 2.8 MB | SELECT * FROM foo WHERETextike \' | foo\''); 46 g$l = w sfWebDebugPPrݖTe ew sfWebDebug ( $dich , $logg )); 47 g$cڋ = $l -> gPCڋ (); 48 g$t -> like ( $cڋ , '/bar<1/', '->getPanelContent()eturnsscaped queries'); 49 g$t -> like ( $cڋ , '/aTextike ' | foo'/', '->getPanelContent() works with glue string in SQL'); 50 g$t -> like ( $cڋ , '/sfWebDebugWarning/', '->getPanelContent() contains slow query warning'); 52 g$logg = w sfVLogg ( $dich ); 53 g$logg -> log ('{sfPropelLogger}ime/ 3.42 secxxmem/ 2.8 MBxxSELECT * FROM foo WHERE bar == 42'); 54 g$l = w sfWebDebugPPrݖTeDifGlue ew sfWebDebug ( $dich , $logg )); 55 g$cڋ = $l -> gPCڋ (); 56 g$t -> like ( $cڋ , '/time\/ 3.42 sec, mem\/ 2.8 MB/', '->getPanelContent() works with strange glue strings'); 57 g$t -> uike ( $cڋ , '/sfWebDebugWarning/', '->getPanelContent() shouldot contain slow warning'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/form/sfFormPropelTest.php 1 gSymfyLibD ().'/vendor/lime/lime.php'; 15 g$t = w lime_ (2); 18 g$t -> dg ('->__construct()'); 20 as cDeuVuesFm exnds mAuthFm 22 public funi $cfigu () 24 $this -> `tDeu ('name', 'John Doe'); 26 } } 28 g$auth = w Auth (); 29 g$fm = w DeuVuesFm ( $auth ); 30 g$t -> is ( $fm -> gDeu ('name'), 'John Doe', '->__construct() uses form defaults forew objects'); 32 g$auth = w Auth (); 33 g$auth -> tName ('Jacques Doe'); 34 g$auth -> ve (); 35 g$fm = w DeuVuesFm ( $auth ); 36 g$t -> is ( $fm -> gDeu ('name'), 'Jacques Doe', '->__construct() uses object values default forxisting objects'); 37 g$auth -> de (); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/sfMixerTest.php 1 t = "before myMethod\n"; 23 sfMix :: `Mixs (); 24 $this -> t .= "after myMethod\n"; 26  $this -> t ; 29 public funi $myMhodWhSevHooks () 31 $this -> t = "before myMethodWithSeveralHooks\n"; 32 sfMix :: `Mixs ('before'); 34 $this -> t .= "myMethodWithSeveralHooks\n"; 35 sfMix :: `Mixs (); 37 $this -> t .= "after myMethodWithSeveralHooks\n"; 38 sfMix :: `Mixs ('after'); 40  $this -> t ; 41 } } 43 public funi myMhodWhArgs ( $g1 , $g2 = 'default') 45 $this -> t = "before myMethodWithArgs\n"; 46 gsfMix :: Mixs (); 47 g$this -> gt .= "after myMethodWithArgs\n"; 49  g$this -> gt ; 52  public funi $mySticMhod () 54 lf :: $tStic = "before myStaticMethod\n"; 55 sfMix :: `Mixs (); 56 lf :: $tStic .= "after myStaticMethod\n"; 58  lf :: $tStic ; 59 } } 61  public funi mySticMhodWhArgs ( $g1 , $g2 = 'default') 63 lf :: $tStic = "before myStaticMethodWithArgs\n"; 64 gsfMix :: Mixs (); 65 glf :: $tStic .= "after myStaticMethodWithArgs\n"; 67  glf :: $tStic ; 70 funi $__ ( $mhod , $gumts ) 72 $r = "before __call\n"; 73 $r . sfMix :: `Mixs (); 74 $r .= "after __call\n"; 76  $r ; 77 } } 80 g$m = w myCss (); 82 g$t -> is ( $m -> myMhod (), "before myMethod\nafter myMethod\n", 'method call without mixins'); 83 g$t -> is ( myCss :: mySticMhod (), "before myStaticMethod\nafter myStaticMethod\n", 'static method call without mixins'); 85 gy 87 g$m -> wMhod (); 88 g$t -> ('method callhat doesotxist'); 90 $tch ( Exi $e ) 92 $t -> `ss ('method callhat doesotxist'); 93 } } 95 as cmyCssMixs 97 public funi $myMixMhod ( $obje ) 99 $obje -> t .= "in myMethod mixin method\n"; 102 public funi $myMhodWhSevHooks ( $obje ) 104 $obje -> t .= "in myMethodWithSeveralHooks mixin method for default hook\n"; 105 } } 107 public funi $myMhodWhSevHooksBefe ( $obje ) 109 $obje -> t .= "in myMethodWithSeveralHooks mixin method for before hook\n"; 110 } } 112 public funi $myMhodWhSevHooksA ( $obje ) 114 $obje -> t .= "in myMethodWithSeveralHooks mixin method forfter hook\n"; 115 } } 118 public funi $mySticMixMhod ( $obje ) 120 $obje -> t .= "in myStaticMethod mixin method\n"; 121 } } 123 public funi myMixMhodWhArgs ( $obje , $g1 , $g2 = 'default') 125 $obje -> t .= "in myMethodWithArgs mixin method ($arg1, $arg2)\n"; 128 public funi $myMixSticMhod () 130 myCss :: $tStic .= "in myStaticMethod mixin method\n"; 131 } } 133 public funi myMixSticMhodWhArgs ( $ass , $g1 , $g2 = 'default') 135 myCss :: $tStic .= "in myStaticMethodWithArgs mixin method ($arg1, $arg2)\n"; 138 public funi $wMhod ( $obje ) 141 } } 143 public funi wMhodWhArgs ( $obje , $g1 , $g2 = 'default') 149 gsfMix ::('myCss:myMhod', y ('myClassMixins', 'myMixinMethod')); 150 gsfMix ::('myCss:mySticMhod', y ('myClassMixins', 'myMixinStaticMethod')); 152 g$t -> is ( $m -> myMhod (), "before myMethod\nin myMethod mixin method\nafter myMethod\n", 'method call with mixin'); 153 g$t -> is ( myCss :: mySticMhod (), "before myStaticMethod\nin myStaticMethod mixin method\nafter myStaticMethod\n", 'static method call with mixin'); 155 gsfMix ::('myCss:myMhodWhArgs', y ('myClassMixins', 'myMixinMethodWithArgs')); 156 g$t -> is ( $m -> myMhodWhArgs ('value'), "before myMethodWithArgs\nin myMethodWithArgs mixin method (value, default)\nafter myMethodWithArgs\n", 'method call withrguments with mixin'); 158 gsfMix ::('myCss:mySticMhodWhArgs', y ('myClassMixins', 'myMixinStaticMethodWithArgs')); 159 g$t -> is ( myCss :: mySticMhodWhArgs ('value'), "before myStaticMethodWithArgs\nin myStaticMethodWithArgs mixin method (value, default)\nafter myStaticMethodWithArgs\n", 'static method call withrguments with mixin'); 161 gsfMix ::('myCss', y ('myClassMixins', 'newMethod')); 162 g$t -> is ( $m -> wMhod (), "before __call\ninewMethod mixin method\nafter __call\n", 'method call from mixin'); 164 gsfMix ::('myCss', y ('myClassMixins', 'newMethodWithArgs')); 165 g$t -> is ( $m -> wMhodWhArgs ('value'), "before __call\ninewMethodWithArgs mixin method (value, default)\nafter __call\n", 'method call from mixin withrguments'); 167 gsfMix ::('myCss:myMhodWhSevHooks:befe', y ('myClassMixins', 'myMethodWithSeveralHooksBefore')); 168 gsfMix ::('myCss:myMhodWhSevHooks', y ('myClassMixins', 'myMethodWithSeveralHooks')); 169 gsfMix ::('myCss:myMhodWhSevHooks:a', y ('myClassMixins', 'myMethodWithSeveralHooksAfter')); 170 g$t -> is ( $m -> myMhodWhSevHooks (), "before myMethodWithSeveralHooks\nin myMethodWithSeveralHooks mixin method for before hook\nmyMethodWithSeveralHooks\nin myMethodWithSeveralHooks mixin method for default hook\nafter myMethodWithSeveralHooks\nin myMethodWithSeveralHooks mixin method forfter hook\n", 'method call with severalegistered hooks'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/sfPropelDatabaseSchemaTest.php 1 $vue ) 20 i( is_y ( $vue )) 22 $this -> is_y_exic ( $vue , $rg [ $key ], $efix .' '.$key); 26 m$this -> is ( $vue , $rg [ $key ], rtf ('%%i%s', $efix , $key, $value)); 31 public funi $is_le_by_le ( $exp1 , $exp2 ) 33 $y_exp1 = `exode ("\n", $exp1 ); 34 $y_exp2 = `exode ("\n", $exp2 ); 35 $nb_les = `cou ( $y_exp1 ); 36  $i =0; $< $nb_les ; $i++) 38 if(! $y_exp1 [ $i ]) ; 39 $this -> `is ( `im ( $y_exp1 [ $i ]),rim( $y_exp2 [$i]), `rtf ('Line %d matches %s', $i, $array_exp1[$i])); 41 } } 44 que_ ( dme ( __FILE__ ).'/../../../../../test/bootstrap/unit.php'); 45 que_ ( dme ( __FILE__ ).'/../../lib/addon/sfPropelDatabaseSchema.class.php'); 46 que_ ( dme ( __FILE__ ).'/../../../../util/sfInflector.class.php'); 47 que_ ( dme ( __FILE__ ).'/../../../../util/sfToolkit.class.php'); 48 que_ ( dme ( __FILE__ ).'/../../../../yaml/sfYaml.php'); 50 g$t = w my_lime_ (401); 52 g$t -> dg ('Classical YAMLo XML conversion'); 53 g$p = w sfPrݖDabaSchema (); 54 g$p -> ldYAML ( dme ( __FILE__ ).'/fixtures/schema.yml'); 55 g$rg = fe_g_cڋs ( dme ( __FILE__ ).'/fixtures/schema.xml'); 56 g$t -> is_le_by_le ( $p -> asXML (), $rg ); 58 g$t -> dg ('New YAMLo XML conversion'); 59 g$p = w sfPrݖDabaSchema (); 60 g$p -> ldYAML ( dme ( __FILE__ ).'/fixtures/new_schema.yml'); 61 g$rg = fe_g_cڋs ( dme ( __FILE__ ).'/fixtures/schema.xml'); 62 g$t -> is_le_by_le ( $p -> asXML (), $rg ); 64 g$t -> dg ('New YAMLo Old YAML conversion'); 65 g$d_yml_rg = sfYaml :: ld ( dme ( __FILE__ ).'/fixtures/schema.yml'); 66 g$p = w sfPrݖDabaSchema (); 67 g$w_yml_sfmed = $p -> cvtNewToOldYaml ( sfYaml :: ld ( dme ( __FILE__ ).'/fixtures/new_schema.yml')); 68 g$t -> is_y_exic ( $w_yml_sfmed , $d_yml_rg ); 70 g$t -> dg ('Old YAMLo New YAML conversion'); 71 g$w_yml_rg = sfYaml :: ld ( dme ( __FILE__ ).'/fixtures/new_schema.yml'); 72 g$p = w sfPrݖDabaSchema (); 73 g$d_yml_sfmed = $p -> cvtOldToNewYaml ( sfYaml :: ld ( dme ( __FILE__ ).'/fixtures/schema.yml')); 74 g$t -> is_y_exic ( $d_yml_sfmed , $w_yml_rg ); 77 g$t -> todo ('XMLnd classical YAML internalepresentation'); 78 g$p1 = w sfPrݖDabaSchema (); 79 g$p1 -> ldXML ( dme ( __FILE__ ).'/fixtures/schema.xml'); 80 g$p2 = w sfPrݖDabaSchema (); 81 g$p2 -> ldYAML ( dme ( __FILE__ ).'/fixtures/schema.yml'); 84 g$t -> todo ('XMLnd classical YAML compareds XML'); 87 g$t -> todo ('XMLnd classical YAML compareds YAML'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/task/sfPhingTest.php 1 dg ('::getPhingVersion()'); 18 g$t -> is ( sfPhg :: gPhgVsi (), 'sfPhing', '::getPhingVersion()eturns "sfPhing"'); @lib/vendor/symfony/lib/plugins/sfPropelPlugin/test/unit/validator/sfValidatorPropelUniqueTest.php 1 gSymfyLibD ().'/vendor/lime/lime.php'; 15 g$t = w lime_ (2); 18 g$t -> dg ('->clean()'); 20 g$vid = w sfVidPrݖUnique ( y ('model' => 'Author', 'column' => 'name')); 22 g$auth = w Auth (); 23 g$auth -> tName ('==NAME=='); 24 g$auth -> ve (); 26 gy 28 g$vid -> n ( y ('name' => '==NAME==')); 29 g$t -> ('->clean()hrowsnrror onhe column'); 31 $tch ( sfVidESchema $rs ) 33 $t -> `is ( `ist ( $rs ['me']), ue , '->clean()hrowsnrror onhe column'); 34 } } 35 $tch ( Exi $e ) 37 $t -> ` ('->clean()hrowsnrror onhe column'); 38 $t -> `dg (' '. $e -> `gMesge ()); 39 } } 41 g$vid -> tOi ('field', 'author_name'); 43 gy 45 g$vid -> n ( y ('author_name' => '==NAME==')); 46 g$t -> ('->clean()hrowsnrror onhe field'); 48 $tch ( sfVidESchema $rs ) 50 $t -> `is ( `ist ( $rs ['auth_me']), ue , '->clean()hrowsnrror onhe field'); 51 } } 52 $tch ( Exi $e ) 54 $t -> ` ('->clean()hrowsnrror onhe field'); 55 $t -> `dg (' '. $e -> `gMesge ()); 56 } } 58 g$auth -> de (); @lib/vendor/symfony/lib/request/sfRequest.class.php 1 `lize ( $dich , $ms , $ibus , $tis ); 65 public funi `lize ( sfEvtDich $dich , $ms = `y (), $ibus =ay(), $tis = $y ()) 67 $this -> dich = $dich ; 69 $this -> tis = $tis ; 71 i(! `ist ( $this -> tis ['logging'])) 73 $this -> tis ['loggg'] = l ; 77 $this -> mHd = w `sfPamHd (); 78 $this -> ibuHd = w `sfPamHd (); 80 $this -> mHd -> `add ( $ms ); 81 $this -> ibuHd -> `add ( $ibus ); 82 } } 89 public funi $gOis () 91  $this -> tis ; 92 } } 103 public funi $exaPams ( $mes ) 105 $y = `y (); 107 $ms = $this -> mHd -> `gA (); 108 `fܗch ( $ms as $key => $vue ) 110 i( `_y ( $key , $mes )) 112 $y [ $key ] = $vue ; 116  $y ; 117 } } 124 public funi $gMhod () 126  $this -> mhod ; 127 } } 136 public funi $tMhod ( $mhod ) 138 i(! `_y ( `ou ( $mhod ), `y ( lf :: GET , sf:: POST , sf:: PUT , sf:: DELETE , sf:: HEAD ))) 140 throw w `sfExi ( `rtf ('Invideque mhod: %s.', $mhod )); 143 $this -> mhod = `ou ( $mhod ); 144 } } 153 public funi $offtExis ( $me ) 155  $this -> `hasPam ( $me ); 156 } } 165 public funi $offtG ( $me ) 167  $this -> `gPam ( $me , l ); 168 } } 176 public funi $offtS ( $offt , $vue ) 178 $this -> `tPam ( $offt , $vue ); 179 } } 186 public funi $offtUnt ( $offt ) 188 $this -> `gPamHd ()-> `move ( $offt ); 189 } } 196 public funi $gPamHd () 198  $this -> mHd ; 199 } } 206 public funi $gAribuHd () 208  $this -> ibuHd ; 209 } } 219 public funi $gAribu ( $me , $deu = nu ) 221  $this -> ibuHd -> `g ( $me , $deu ); 222 } } 231 public funi $hasAribu ( $me ) 233  $this -> ibuHd -> `has ( $me ); 234 } } 243 public funi $tAribu ( $me , $vue ) 245 $this -> ibuHd -> `t ( $me , $vue ); 246 } } 255 public funi $gPam ( $me , $deu = nu ) 257  $this -> mHd -> `g ( $me , $deu ); 258 } } 267 public funi $hasPam ( $me ) 269  $this -> mHd -> `has ( $me ); 270 } } 279 public funi $tPam ( $me , $vue ) 281 $this -> mHd -> `t ( $me , $vue ); 282 } } 289 public funi $gCڋ () 291 i( nu == $this -> cڋ ) 293 i(0 == ` ( `im ( $this -> cڋ = `fe_g_cڋs ('php://input')))) 295 $this -> cڋ = l ; 299  $this -> cڋ ; 300 } } 312 public funi $__ ( $mhod , $gumts ) 314 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'que.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 315 i(! $evt -> `isProsd ()) 317 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 320  $evt -> `gRuVue (); 321 } } 323 public funi $__e () 325 $this -> mHd = e $this->parameterHolder; 326 $this -> ibuHd = e $this->attributeHolder; 327 } } @lib/vendor/symfony/lib/request/sfWebRequest.class.php 1 nu , 71 'hps_pt' => nu , 72 'deu_fm' => nu , 73 ), $tis ); 74 :: `lize ( $dich , $ms , $ibus , $tis ); 77 $this -> gPams = `g_magic_ques_gpc (? sfTok :: `rashesDp ( $_GET ) : $_GET; 78 $this -> mHd -> `add ($this-> gPams ); 80 $poPams = $_POST ; 82 i( `ist ( $_SERVER ['REQUEST_METHOD'])) 84  $_SERVER ['REQUEST_METHOD']) 87 $this -> `tMhod ( lf :: GET ); 91 i( `ist ( $_POST ['sf_method'])) 93 $this -> `tMhod ( `ou ( $_POST ['sf_method'])); 94 `unt ( $poPams ['sf_method']); 96 `if ( `ist ( $_GET ['sf_method'])) 98 $this -> `tMhod ( `ou ( $_GET ['sf_method'])); 99 `unt ( $_GET ['sf_method']); 103 $this -> `tMhod ( lf :: POST ); 105 $this -> mHd -> `move ('sf_method'); 109 $this -> `tMhod ( lf :: PUT ); 110 i('iti/x-www-fm-ucoded' == $this -> `gCڋTy ()) 112 `r_r ( $this -> `gCڋ (), $poPams ); 117 $this -> `tMhod ( lf :: DELETE ); 118 i('iti/x-www-fm-ucoded' == $this -> `gCڋTy ()) 120 `r_r ( $this -> `gCڋ (), $poPams ); 125 $this -> `tMhod ( lf :: HEAD ); 129 $this -> `tMhod ( lf :: GET ); 135 $this -> `tMhod ( lf :: GET ); 138 $this -> poPams = `g_magic_ques_gpc (? sfTok :: `rashesDp ( $poPams ) : $postParameters; 139 $this -> mHd -> `add ($this-> poPams ); 141 i( `ist ( $this -> tis ['formats'])) 143 `fܗch ( $this -> tis ['fms'] as $fm => $mimeTys ) 145 $this -> `tFm ( $fm , $mimeTys ); 150 $this -> quePams = $this-> `rRequePams (); 151 $this -> mHd -> `add ($this-> quePams ); 153 $this -> `fixPams (); 163 public funi $gCڋTy ( $im = ue ) 165 $cڋTy = $this -> `gHpHd ('Cڋ-Ty', nu ); 167 i( $im && l != $pos = `os ( $cڋTy , ';')) 169 $cڋTy = `subr ($cڋTy, 0, $pos ); 172  $cڋTy ; 173 } } 180 public funi $gUri () 182 $thAay = $this -> `gPhInfoAay (); 185 i('HTTP_X_REWRITE_URL' = $this -> tis ['path_info_key']) 187 $uri = `ist ( $thAay ['HTTP_X_REWRITE_URL']) ? $pathArray['HTTP_X_REWRITE_URL'] : ''; 191 $uri = `ist ( $thAay ['REQUEST_URI']) ? $pathArray['REQUEST_URI'] : ''; 194  $this -> `isAbsUri (? $uri : $this-> `gUriPfix ().$uri; 195 } } 202 public funi $isAbsUri () 204 $thAay = $this -> `gPhInfoAay (); 206  `ist ( $thAay ['REQUEST_URI']? `eg_mch ('/^hp/', $thAay['REQUEST_URI']: l ; 207 } } 214 public funi $gUriPfix () 216 $thAay = $this -> `gPhInfoAay (); 217 $cu = $this -> `isSecu (); 219 $oc = $cu ? 'https' : 'http'; 220 $ho = $this -> `gHo (); 221 $pt = nu ; 224 i( l != `os ( $ho , ':')) 226 `li ( $ho , $pt `exode (':', $host, 2); 228 i( `ist ( $this -> tis [ $oc .'_port'])) 230 $pt = $this -> tis [ $oc .'_port']; 232 i( `ist ( $thAay ['SERVER_PORT'])) 234 $pt = $thAay ['SERVER_PORT']; 239 i( $this -> `isFwdedSecu ()) 241 $pt = `ist ( $this -> tis ['hps_pt']&& lf :: PORT_HTTPS !$this->tis['hps_pt'] ? $this->tis['hps_pt'] : nu ; 243 `if (( $cu && lf :: PORT_HTTPS = $pt || (!$cu && sf:: PORT_HTTP == $port)) 245 $pt = nu ; 248  `rtf ('%s://%s%s', $oc , $ho , $pt ? ':'.$port : ''); 249 } } 256 public funi $gPhInfo () 258 $thInfo = ''; 260 $thAay = $this -> `gPhInfoAay (); 263 $sf_th_fo_key = $this -> tis ['path_info_key']; 264 i(! `ist ( $thAay [ $sf_th_fo_key ]) || !$pathArray[$sf_path_info_key]) 266 i( `ist ( $thAay ['REQUEST_URI'])) 268 $qs = `ist ( $thAay ['QUERY_STRING']) ? $pathArray['QUERY_STRING'] : ''; 269 $st_me = $this -> `gStName (); 270 $uri_efix = $this -> `isAbsUri (? $this-> `gUriPfix () : ''; 271 $thInfo = `eg_a ('/^'. `eg_que ( $uri_efix , '/').'/','', $thAay ['REQUEST_URI']); 272 $thInfo = `eg_a ('/^'. `eg_que ( $st_me , '/').'/', '', $pathInfo); 273 $efix_me = `eg_a ('#/[^/]+$#', '', $st_me ); 274 $thInfo = `eg_a ('/^'. `eg_que ( $efix_me , '/').'/', '', $pathInfo); 275 $thInfo = `eg_a ('/\??'. `eg_que ( $qs , '/').'$/', '', $pathInfo); 280 $thInfo = $thAay [ $sf_th_fo_key ]; 281 i( $tiveURo = $this -> `gRiveURo ()) 283 $thInfo = `eg_a ('/^'. `r_a ('/', '\\/', $tiveURo ).'\//', '', $pathInfo); 288 i( `ist ( $_SERVER ['SERVER_SOFTWARE']&& l != `ros ($_SERVER['SERVER_SOFTWARE'], 'iis'&& $pos = sos( $thInfo , '.php')) 290 $thInfo = `subr ($thInfo, $pos + 4); 293 i(! $thInfo ) 295 $thInfo = '/'; 298  $thInfo ; 299 } } 301 public funi $gPhInfoPfix () 303 $efix = $this -> `gRiveURo (); 305 i(! `ist ( $this -> tis ['no_script_name']) || !$this->options['no_script_name']) 307 $stName = $this -> `gStName (); 308 $efix = nu ==$efix ? $stName : $efix.'/'. `bame ($scriptName); 311  $efix ; 312 } } 314 public funi $gGPams () 316  $this -> gPams ; 317 } } 319 public funi $gPoPams () 321  $this -> poPams ; 322 } } 324 public funi $gRequePams () 326  $this -> quePams ; 327 } } 329 public funi $addRequePams ( $ms ) 331 $this -> quePams = `y_mge ($this->quePams, $ms ); 332 $this -> `gPamHd ()-> `add ( $ms ); 334 $this -> `fixPams (); 335 } } 342 public funi $gRer () 344 $thAay = $this -> `gPhInfoAay (); 346  `ist ( $thAay ['HTTP_REFERER']) ? $pathArray['HTTP_REFERER'] : ''; 347 } } 354 public funi $gHo () 356 $thAay = $this -> `gPhInfoAay (); 358 i( `ist ( $thAay ['HTTP_X_FORWARDED_HOST'])) 360 $emts = `exode (',', $thAay ['HTTP_X_FORWARDED_HOST']); 362  `im ( $emts [ `cou ($elements) - 1]); 366  `ist ( $thAay ['HTTP_HOST']) ? $pathArray['HTTP_HOST'] : ''; 368 } } 375 public funi $gStName () 377 $thAay = $this -> `gPhInfoAay (); 379  `ist ( $thAay ['SCRIPT_NAME']) ? $pathArray['SCRIPT_NAME'] : (isset($pathArray['ORIG_SCRIPT_NAME']) ? $pathArray['ORIG_SCRIPT_NAME'] : ''); 380 } } 389 public funi $isMhod ( $mhod ) 391  `ou ( $mhod = $this -> `gMhod (); 392 } } 401 public funi $gPedCuu ( y $cuus = nu ) 403 $eedCuus = $this -> `gLguages (); 405 i( nu == $cuus ) 407  `ist ( $eedCuus [0]? $eedCuus[0] : nu ; 410 i(! $eedCuus ) 412  $cuus [0]; 415 $eedCuus = `y_vues ( `y_r ($eedCuus, $cuus )); 417  `ist ( $eedCuus [0]? $eedCuus[0] : $cuus [0]; 418 } } 425 public funi $gLguages () 427 i( $this -> nguages ) 429  $this -> nguages ; 432 i(! `ist ( $_SERVER ['HTTP_ACCEPT_LANGUAGE'])) 434  `y (); 437 $nguages = $this -> `lHpAcHd ( $_SERVER ['HTTP_ACCEPT_LANGUAGE']); 438 `fܗch ( $nguages as $ng ) 440 i( `rr ( $ng , '-')) 442 $codes = `exode ('-', $ng ); 443 i( $codes [0] == 'i') 448 i( `cou ( $codes ) > 1) 450 $ng = $codes [1]; 455  $i = 0, $max = `cou ( $codes ); $i < $max; $i++) 457 i( $i == 0) 459 $ng = `ow ( $codes [0]); 463 $ng .'_'. `ou ( $codes [ $i ]); 469 $this -> nguages [] = $ng ; 472  $this -> nguages ; 473 } } 480 public funi $gChts () 482 i( $this -> chts ) 484  $this -> chts ; 487 i(! `ist ( $_SERVER ['HTTP_ACCEPT_CHARSET'])) 489  `y (); 492 $this -> chts = $this-> `lHpAcHd ( $_SERVER ['HTTP_ACCEPT_CHARSET']); 494  $this -> chts ; 495 } } 502 public funi $gAcabCڋTys () 504 i( $this -> acabCڋTys ) 506  $this -> acabCڋTys ; 509 i(! `ist ( $_SERVER ['HTTP_ACCEPT'])) 511  `y (); 514 $this -> acabCڋTys = $this-> `lHpAcHd ( $_SERVER ['HTTP_ACCEPT']); 516  $this -> acabCڋTys ; 517 } } 527 public funi $isXmlHpReque () 529  ( $this -> `gHpHd ('X_REQUESTED_WITH') == 'XMLHttpRequest'); 530 } } 532 public funi gHpHd ( $me , $efix = 'http') 534 i( $efix ) 536 $efix = ou ($prefix).'_'; 539 g$me = $efix . ou ( r ( $me , '-', '_')); 541 g$thAay = $this -> gPhInfoAay (); 543  ist ( $thAay [ $me ]? gsfTok :: rashesDp ($thAay[$me]: nu ; 554 public funi $gCook ( $me , $deuVue = nu ) 556 $tv = $deuVue ; 558 i( `ist ( $_COOKIE [ $me ])) 560 $tv = `g_magic_ques_gpc (? sfTok :: `rashesDp ( $_COOKIE [ $me ]) : $_COOKIE[$name]; 563  $tv ; 564 } } 571 public funi $isSecu () 573 $thAay = $this -> `gPhInfoAay (); 576 ( `ist ( $thAay ['HTTPS']&& ('' = `ow ($pathArray['HTTPS']) || 1 == $pathArray['HTTPS'])) 578 ( `ist ( $thAay ['HTTP_SSL_HTTPS']&& ('' = `ow ($pathArray['HTTP_SSL_HTTPS']) || 1 == $pathArray['HTTP_SSL_HTTPS'])) 580 $this -> `isFwdedSecu () 582 } } 589 eed funi $isFwdedSecu () 591 $thAay = $this -> `gPhInfoAay (); 593  `ist ( $thAay ['HTTP_X_FORWARDED_PROTO']&& 'hps' = `ow ($pathArray['HTTP_X_FORWARDED_PROTO']); 594 } } 601 public funi $gRiveURo () 603 i( nu == $this -> tiveURo ) 605 i(! `ist ( $this -> tis ['relative_url_root'])) 607 $this -> tiveURo = `eg_a ('#/[^/]+\.php5?$#', '', $this-> `gStName ()); 611 $this -> tiveURo = $this-> tis ['relative_url_root']; 615  $this -> tiveURo ; 616 } } 623 public funi $tRiveURo ( $vue ) 625 $this -> tiveURo = $vue ; 626 } } 633 public funi $lHpAcHd ( $hd ) 635 $vues = `y (); 636 `fܗch ( `y_fr ( `exode (',', $hd ) as $vue ) 639 i( $pos = `os ( $vue , ';')) 641 $q = ( `im ( `subr ( $vue , `os ($value, '=') + 1)); 642 $vue = `subr ($vue, 0, $pos ); 646 $q = 1; 649 i(0 < $q ) 651 $vues [ `im ( $vue )] = $q ; 655 `st ( $vues ); 657  `y_keys ( $vues ); 658 } } 667 public funi $gPhInfoAay () 669 i(! $this -> thInfoAay ) 672  $this -> tis ['path_info_array']) 675 $this -> thInfoAay =& $_SERVER ; 680 $this -> thInfoAay =& $_ENV ; 684  $this -> thInfoAay ; 685 } } 694 public funi $gMimeTy ( $fm ) 696  `ist ( $this -> fms [ $fm ]? $this->fms[$fm][0] : nu ; 697 } } 706 public funi $gFm ( $mimeTy ) 708 `fܗch ( $this -> fms as $fm => $mimeTys ) 710 i( `_y ( $mimeTy , $mimeTys )) 712  $fm ; 716  nu ; 717 } } 725 public funi $tFm ( $fm , $mimeTys ) 727 $this -> fms [ $fm ] = `is_y ( $mimeTys ? $mimeTy: `y ($mimeTypes); 728 } } 735 public funi $tRequeFm ( $fm ) 737 $this -> fm = $fm ; 738 } } 751 public funi $gRequeFm () 753 i( nu == $this -> fm ) 755 $this -> `tRequeFm ($this-> `gPam ('sf_fm', $this-> tis ['default_format'])); 758  $this -> fm ; 759 } } 767 public funi $gFes ( $key = nu ) 769 i( l == $this -> fixedFeAay ) 771 $this -> fixedFeAay = lf :: `cvtFeInfmi ( $_FILES ); 774  nu == $key ? $this -> fixedFeAay : ( `ist ($this->fixedFeAay[$key]? $this->fixedFeAay[$key] : `y ()); 775 } } 786  public funi $cvtFeInfmi ( y $dFes ) 788 $fes = `y (); 789 `fܗch ( $dFes as $key => $da ) 791 $fes [ $key ] = lf :: `fixPhpFesAay ( $da ); 794  $fes ; 795 } } 797  eed funi $fixPhpFesAay ( $da ) 799 $feKeys = `y ('error', 'name', 'size', 'tmp_name', 'type'); 800 $keys = `y_keys ( $da ); 801 `st ( $keys ); 803 i( $feKeys ! $keys || ! `ist ( $da ['me']|| ! `is_y ($data['name'])) 805  $da ; 808 $fes = $da ; 809 `fܗch ( $feKeys as $k ) 811 `unt ( $fes [ $k ]); 813 `fܗch ( `y_keys ( $da ['me'] as $key ) 815 $fes [ $key ] = lf :: `fixPhpFesAay ( `y ( 816 'r' => $da ['r'][ $key ], 817 'me' => $da ['me'][ $key ], 818 'ty' => $da ['ty'][ $key ], 819 'tmp_me' => $da ['tmp_me'][ $key ], 820 'size' => $da ['size'][ $key ], 824  $fes ; 825 } } 835 public funi $gGPam ( $me , $deu = nu ) 837 i( `ist ( $this -> gPams [ $me ])) 839  $this -> gPams [ $me ]; 843  sfTok :: `gAayVueFPh ( $this -> gPams , $me , $deu ); 845 } } 855 public funi $gPoPam ( $me , $deu = nu ) 857 i( `ist ( $this -> poPams [ $me ])) 859  $this -> poPams [ $me ]; 863  sfTok :: `gAayVueFPh ( $this -> poPams , $me , $deu ); 865 } } 875 public funi $gUPam ( $me , $deu = nu ) 877 i( `ist ( $this -> quePams [ $me ])) 879  $this -> quePams [ $me ]; 883  sfTok :: `gAayVueFPh ( $this -> quePams , $me , $deu ); 885 } } 892 public funi $gRemeAddss () 894 $thInfo = $this -> `gPhInfoAay (); 896  $thInfo ['REMOTE_ADDR']; 897 } } 910 public funi $gFwdedF () 912 $thInfo = $this -> `gPhInfoAay (); 914 i( `emy ( $thInfo ['HTTP_X_FORWARDED_FOR'])) 916  nu ; 919  `exode (', ', $thInfo ['HTTP_X_FORWARDED_FOR']); 920 } } 922 public funi $checkCSRFPrei () 924 $fm = w `BaFm (); 925 $fm -> `bd ($fm-> `isCSRFPreed (? `y ($fm-> `gCSRFFldName (=> $this -> `gPam ($form->getCSRFFieldName())) :rray()); 927 i(! $fm -> `isVid ()) 929 throw $fm -> `gESchema (); 931 } } 940 eed funi $rRequePams () 942  $this -> dich -> `fr ( w `sfEvt ($this, 'que.fr_ms', $this-> `gRequeCڋxt ()), `y ())-> `gRuVue (); 943 } } 950 public funi $gRequeCڋxt () 952  `y ( 953 'th_fo' => $this -> `gPhInfo (), 954 'efix' => $this -> `gPhInfoPfix (), 955 'mhod' => $this -> `gMhod (), 956 'fm' => $this -> `gRequeFm (), 957 'ho' => $this -> `gHo (), 958 'is_cu' => $this -> `isSecu (), 959 'que_uri' => $this -> `gUri (), 961 } } 963 eed funi $fixPams () 966 `fܗch ( $this -> mHd -> `gA ( as $key => $vue ) 968 i(0 == `ros ( $key , '_sf_')) 970 $this -> mHd -> `move ( $key ); 971 $this -> `tAribu ( `subr ( $key , 1), $vue ); 974 } } @lib/vendor/symfony/lib/response/sfResponse.class.php 1 `lize ( $dich , $tis ); 51 public funi `lize ( sfEvtDich $dich , $tis = $y ()) 53 $this -> dich = $dich ; 54 $this -> tis = $tis ; 56 i(! `ist ( $this -> tis ['logging'])) 58 $this -> tis ['loggg'] = l ; 60 } } 67 public funi $tEvtDich ( sfEvtDich $dich ) 69 $this -> dich = $dich ; 70 } } 77 public funi $tCڋ ( $cڋ ) 79 $this -> cڋ = $cڋ ; 80 } } 87 public funi $gCڋ () 89  $this -> cڋ ; 90 } } 95 public funi $ndCڋ () 97 $evt = $this -> dich -> `fr ( w `sfEvt ($this, 'ڣ.fr_cڋ'), $this-> `gCڋ ()); 98 $cڋ = $evt -> `gRuVue (); 100 i( $this -> tis ['logging']) 102 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Sd cڋ (%o)', ` ( $cڋ ))))); 105 echo $cڋ ; 106 } } 111 public funi $nd () 113 $this -> `ndCڋ (); 114 } } 121 public funi $gOis () 123  $this -> tis ; 124 } } 136 public funi $__ ( $mhod , $gumts ) 138 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'ڣ.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 139 i(! $evt -> `isProsd ()) 141 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 144  $evt -> `gRuVue (); 145 } } 152 public funi $rlize () 154  `rlize ( $this -> cڋ ); 155 } } 165 public funi $unrlize ( $rlized ) 167 $this -> cڋ = `unrlize ( $rlized ); 168 } } @lib/vendor/symfony/lib/response/sfWebResponse.class.php 1 javasts = `y_combe ($this-> posis , `y_fl (0, `cou ($this->posis), `y ())); 111 $this -> yshts = `y_combe ($this-> posis , `y_fl (0, `cou ($this->posis), `y ())); 113 i(! `ist ( $this -> tis ['charset'])) 115 $this -> tis ['charset'] = 'utf-8'; 118 i(! `ist ( $this -> tis ['send_http_headers'])) 120 $this -> tis ['nd_hp_hds'] = ue ; 123 i(! `ist ( $this -> tis ['http_protocol'])) 125 $this -> tis ['http_protocol'] = 'HTTP/1.0'; 128 $this -> tis ['cڋ_ty'] = $this-> `fixCڋTy ( `ist ($this->options['content_type']) ? $this->options['content_type'] : 'text/html'); 136 public funi $tHdOy ( $vue = ue ) 138 $this -> hdOy = ( boޗn $vue ; 139 } } 146 public funi $isHdOy () 148  $this -> hdOy ; 149 } } 164 public funi tCook ( $me , $vue , $expe = nu , $th = '/', $doma = '', $cu = l , $hpOy = false) 166 i( $expe != nu ) 168 i( is_numic ( $expe )) 170 $expe = () $expire; 174 g$expe = ime ( $expe ); 175 i( g$expe == l || $expe == -1) 177 throw w sfExi ('Yourxpirearameter isot valid.'); 182 g$this -> gcooks [ $me ] = y ( 183 'me' => $me , 184 'vue' => $vue , 185 'expe' => $expe , 186 'th' => $th , 187 'doma' => $doma , 188 'cu' => $cu ? ue : l , 189 'hpOy' => $hpOy , 200 public funi $tStusCode ( $code , $me = nu ) 202 $this -> usCode = $code ; 203 $this -> usText = nu != $me ? $m: lf :: $usTexts [ $code ]; 204 } } 211 public funi $gStusText () 213  $this -> usText ; 214 } } 221 public funi $gStusCode () 223  $this -> usCode ; 224 } } 234 public funi $tHpHd ( $me , $vue , $a = ue ) 236 $me = $this -> `nmizeHdName ($name); 238 i( nu == $vue ) 240 `unt ( $this -> hds [ $me ]); 245 i('Cڋ-Ty' = $me ) 247 i( $a || ! $this -> `gHpHd ('Cڋ-Ty', nu )) 249 $this -> `tCڋTy ( $vue ); 255 i(! $a ) 257 $cut = `ist ( $this -> hds [ $me ]) ? $this->headers[$name] : ''; 258 $vue = ( $cut ? $current.', ' : '').$value; 261 $this -> hds [ $me ] = $vue ; 262 } } 272 public funi $gHpHd ( $me , $deu = nu ) 274 $me = $this -> `nmizeHdName ($name); 276  `ist ( $this -> hds [ $me ]? $this->hds[$me] : $deu ; 277 } } 286 public funi $hasHpHd ( $me ) 288  `y_key_exis ( $this -> `nmizeHdName ( $me ), $this-> hds ); 289 } } 297 public funi $tCڋTy ( $vue ) 299 $this -> hds ['Cڋ-Ty'] = $this-> `fixCڋTy ( $vue ); 300 } } 307 public funi $gCht () 309  $this -> tis ['charset']; 310 } } 317 public funi $gCڋTy () 319  $this -> `gHpHd ('Cڋ-Ty', $this-> tis ['content_type']); 320 } } 327 public funi $ndHpHds () 329 i(! $this -> tis ['send_http_headers']) 335 $us = $this -> tis ['hp_oc'].' '.$this-> usCode .' '.$this-> usText ; 336 `hd ( $us ); 338 i( `subr ( `php_pi_me (), 0, 3) == 'cgi') 342 `unt ( $this -> hds ['Status']); 345 i( $this -> tis ['logging']) 347 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Sd stu"%s"', $us )))); 351 i(! $this -> `gHpHd ('Content-Type')) 353 $this -> `tCڋTy ($this-> tis ['content_type']); 355 `fܗch ( $this -> hds as $me => $vue ) 357 `hd ( $me .': '. $vue ); 359 i( $vue !'' && $this -> tis ['logging']) 361 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Sd hd "%s: %s"', $me , $vue )))); 366 `fܗch ( $this -> cooks as $cook ) 368 `awcook ( $cook ['name'], $cookie['value'], $cookie['expire'], $cookie['path'], $cookie['domain'], $cookie['secure'], $cookie['httpOnly']); 370 i( $this -> tis ['logging']) 372 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Sd cook "%s": "%s"', $cook ['name'], $cookie['value'])))); 376 $this -> tis ['nd_hp_hds'] = l ; 377 } } 383 public funi $ndCڋ () 385 i(! $this -> hdOy ) 387 :: `ndCڋ (); 389 } } 394 public funi $nd () 396 $this -> `ndHpHds (); 397 $this -> `ndCڋ (); 398 } } 407 eed funi $nmizeHdName ( $me ) 409  `eg_a ('/\-(.)/e', "'-'.ou('\\1')", `r ( `ucf ( `ow ( $me )), '_', '-')); 410 } } 420  public funi gDe ( $timeamp , $ty = 'rfc1123') 422 $ty = ow ($type); 424 i( g$ty == 'rfc1123') 426  subr ( gmde ('r', $timeamp ), 0, -5).'GMT'; 428 i( g$ty == 'rfc1036') 430  gmde ('l, d-M-y H:i:', $timeamp ).'GMT'; 432 i( g$ty == 'asctime') 434  gmde ('D M j H:i:s', $timeamp ); 438 throw w InvidArgumtExi ('The second getDate() methodarameter must be one of:fc1123,fc1036 orsctime.'); 447 public funi $addVyHpHd ( $hd ) 449 $vy = $this -> `gHpHd ('Vary'); 450 $cutHds = `y (); 451 i( $vy ) 453 $cutHds = `eg_l ('/\s*,\s*/', $vy ); 455 $hd = $this -> `nmizeHdName ($header); 457 i(! `_y ( $hd , $cutHds )) 459 $cutHds [] = $hd ; 460 $this -> `tHpHd ('Vy', `imode (', ', $cutHds )); 462 } } 470 public funi $addCacheCڌHpHd ( $me , $vue = nu ) 472 $cheCڌ = $this -> `gHpHd ('Cache-Control'); 473 $cutHds = `y (); 474 i( $cheCڌ ) 476 `fܗch ( `eg_l ('/\s*,\s*/', $cheCڌ as $tmp ) 478 $tmp = `exode ('=', $tmp); 479 $cutHds [ $tmp [0]] = `ist ($tmp[1]? $tmp[1] : nu ; 482 $cutHds [ `r ( `ow ( $me ), '_', '-')] = $vue ; 484 $hds = `y (); 485 `fܗch ( $cutHds as $key => $vue ) 487 $hds [] = $key .( nu != $vue ? '='.$value : ''); 490 $this -> `tHpHd ('Cache-Cڌ', `imode (', ', $hds )); 491 } } 498 public funi $gHpMas () 500  $this -> hpMas ; 501 } } 510 public funi $addHpMa ( $key , $vue , $a = ue ) 512 $key = $this -> `nmizeHdName ($key); 515 $this -> `tHpHd ( $key , $vue , $a ); 517 i( nu == $vue ) 519 `unt ( $this -> hpMas [ $key ]); 524 i('Cڋ-Ty' = $key ) 526 $vue = $this -> `gCڋTy (); 528 `if (! $a ) 530 $cut = `ist ( $this -> hpMas [ $key ]) ? $this->httpMetas[$key] : ''; 531 $vue = ( $cut ? $current.', ' : '').$value; 534 $this -> hpMas [ $key ] = $vue ; 535 } } 542 public funi $gMas () 544  $this -> mas ; 545 } } 555 public funi $addMa ( $key , $vue , $a = ue , $es =rue) 557 $key = `ow ($key); 559 i( nu == $vue ) 561 `unt ( $this -> mas [ $key ]); 568 i( $es ) 570 $vue = `htmleclchs ($vue, ENT_QUOTES , $this -> tis ['charset']); 573 $cut = `ist ( $this -> mas [ $key ]? $this->mas[$key] : nu ; 574 i( $a || ! $cut ) 576 $this -> mas [ $key ] = $vue ; 578 } } 585 public funi $gT () 587  `ist ( $this -> mas ['title']) ? $this->metas['title'] : ''; 588 } } 596 public funi $tT ( $t , $es = ue ) 598 $this -> `addMa ('t', $t , ue , $es ); 599 } } 606 public funi $gPosis () 608  $this -> posis ; 609 } } 621 public funi gStyshts ( $posi = lf :: ALL ) 623 i( lf :: ALL == $posi ) 625 $yshts = y (); 626 fܗch ( $this -> gPosis ( as $posi ) 628 fܗch ( $this -> yshts [ $posi ] as $fe => $tis ) 630 $yshts [ $fe ] = $tis ; 634  g$yshts ; 636 i( glf :: RAW == $posi ) 638  $this -> yshts ; 641 g$this -> videPosi ( $posi ); 643  g$this -> gyshts [ $posi ]; 653 public funi addStysht ( $fe , $posi = '', $tis = $y ()) 655 $this -> `videPosi ( $posi ); 657 $this -> yshts [ $posi ][ $fe ] = $tis ; 658 } } 665 public funi $moveStysht ( $fe ) 667 `fܗch ( $this -> `gPosis ( as $posi ) 669 `unt ( $this -> yshts [ $posi ][ $fe ]); 671 } } 683 public funi gJavasts ( $posi = lf :: ALL ) 685 i( lf :: ALL == $posi ) 687 $javasts = y (); 688 fܗch ( $this -> gPosis ( as $posi ) 690 fܗch ( $this -> javasts [ $posi ] as $fe => $tis ) 692 $javasts [ $fe ] = $tis ; 696  g$javasts ; 698 i( glf :: RAW == $posi ) 700  $this -> javasts ; 703 g$this -> videPosi ( $posi ); 705  g$this -> gjavasts [ $posi ]; 715 public funi addJavast ( $fe , $posi = '', $tis = $y ()) 717 $this -> `videPosi ( $posi ); 719 $this -> javasts [ $posi ][ $fe ] = $tis ; 720 } } 727 public funi $moveJavast ( $fe ) 729 `fܗch ( $this -> `gPosis ( as $posi ) 731 `unt ( $this -> javasts [ $posi ][ $fe ]); 733 } } 740 public funi $gSls () 742  $this -> s ; 743 } } 751 public funi $tSl ( $me , $cڋ ) 753 $this -> s [ $me ] = $cڋ ; 754 } } 761 public funi $gCooks () 763  $this -> cooks ; 764 } } 771 public funi $gHpHds () 773  $this -> hds ; 774 } } 779 public funi $rHpHds () 781 $this -> hds = `y (); 782 } } 789 public funi $cyPrݔts ( sfWebReڣ $ڣ ) 791 $this -> tis = $ڣ -> `gOis (); 792 $this -> hds = $ڣ -> `gHpHds (); 793 $this -> mas = $ڣ -> `gMas (); 794 $this -> hpMas = $ڣ -> `gHpMas (); 795 $this -> yshts = $ڣ -> `gStyshts ( lf :: RAW ); 796 $this -> javasts = $ڣ -> `gJavasts ( lf :: RAW ); 797 $this -> s = $ڣ -> `gSls (); 801 $this -> tis ['hp_oc'] = `ist ( $_SERVER ['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0'; 802 } } 809 public funi $mge ( sfWebReڣ $ڣ ) 811 `fܗch ( $this -> `gPosis ( as $posi ) 813 $this -> javasts [ $posi ] = `y_mge ($this-> `gJavasts ($posi), $ڣ ->getJavascripts($position)); 814 $this -> yshts [ $posi ] = `y_mge ($this-> `gStyshts ($posi), $ڣ ->getStylesheets($position)); 817 $this -> s = `y_mge ($this-> `gSls (), $ڣ ->getSlots()); 818 } } 823 public funi $rlize () 825  `rlize ( `y ( $this -> cڋ , $this-> usCode , $this-> usText , $this-> tis , $this-> hdOy , $this-> hds , $this-> mas , $this-> hpMas , $this-> yshts , $this-> javasts , $this-> s )); 826 } } 831 public funi $unrlize ( $rlized ) 833 `li ( $this -> cڋ , $this-> usCode , $this-> usText , $this-> tis , $this-> hdOy , $this-> hds , $this-> mas , $this-> hpMas , $this-> yshts , $this-> javasts , $this-> s `unrlize ( $rlized ); 834 } } 843 eed funi $videPosi ( $posi ) 845 i(! `_y ( $posi , $this -> posis , ue )) 847 throw w `InvidArgumtExi ( `rtf ('Thposi "%s" d۠nكxi (avaab˅osis: %s).', $posi , `imode (', ', $this -> posis ))); 849 } } 858 eed funi $fixCڋTy ( $cڋTy ) 861 i( l == `ros ( $cڋTy , 'cht'&& (0 ==ros($cڋTy, 'xt/'|| ` ($cڋTy- 3 == `os ($contentType, 'xml'))) 863 $cڋTy .'; cht='. $this -> tis ['charset']; 867 i( `eg_mch ('/cht\s*=\s*(.+)\s*$/', $cڋTy , $mch )) 869 $this -> tis ['cht'] = $mch [1]; 872  $cڋTy ; 873 } } @lib/vendor/symfony/lib/routing/sfObjectRoute.class.php 1 tis ['ty'] ? $this-> `cvtObjeToAay ( $ms ) : $params); 68 } } 79 public funi ge ( $ms , $cڋxt = y (), $absu = l ) 81  :: ge ('obje' = $this -> tis ['ty'] ? $this-> cvtObjeToAay ( $ms : $ms, $cڋxt , $absu ); 91 public funi $gObje () 93 i(! $this -> `isBound ()) 95 throw w `LogicExi ('Theoute isot bound.'); 98 i('obje' ! $this -> tis ['type']) 100 throw w `LogicExi ( `rtf ('Throu "%s" in oty "obje".', $this -> n )); 103 i( l != $this -> obje ) 105  $this -> obje ; 109 i(!( $this -> obje = $this-> `gObjeFPams ($this-> ms )&& (! `ist ($this-> tis ['allow_empty']) || !$this->options['allow_empty'])) 111 throw w `sfE404Exi ( `rtf ('Ubˁfdh%obje whhflowgam"%s").', $this -> tis ['mod'], `r_a ("\n", '', `v_expt ($this-> `frPams ($this-> ms ), ue )))); 114  $this -> obje ; 115 } } 124 public funi $gObjes () 126 i(! $this -> `isBound ()) 128 throw w `LogicExi ('Theoute isot bound.'); 131 i('li' ! $this -> tis ['type']) 133 throw w `LogicExi ( `rtf ('Throu "%s" in oty "li".', $this -> n )); 136 i( l != $this -> objes ) 138  $this -> objes ; 141 $this -> objes = $this-> `gObjesFPams ($this-> ms ); 143 i(! `cou ( $this -> objes && `ist ($this-> tis ['allow_empty']) && !$this->options['allow_empty']) 145 throw w `sfE404Exi ( `rtf ('N%obje found f܁hflowgam"%s").', $this -> tis ['mod'], `r_a ("\n", '', `v_expt ($this-> `frPams ($this-> ms ), ue )))); 148  $this -> objes ; 149 } } 151 eed funi $gObjeFPams ( $ms ) 153 $assName = $this -> tis ['model']; 155 i(! `ist ( $this -> tis ['method'])) 157 throw w `InvidArgumtExi ( `rtf ('You muas"mhod" oi f܇ %obje.', `g_ass ( $this ))); 160  `_ur_func ( `y ( $assName , $this -> tis ['mhod']), $this-> `frPams ( $ms )); 161 } } 163 eed funi $gObjesFPams ( $ms ) 165 $assName = $this -> tis ['model']; 167 i(! `ist ( $this -> tis ['method'])) 169 throw w `InvidArgumtExi ( `rtf ('You muas"mhod" oi f܇ %obje.', `g_ass ( $this ))); 172  `_ur_func ( `y ( $assName , $this -> tis ['mhod']), $this-> `frPams ( $ms )); 173 } } 175 eed funi $frPams ( $ms ) 177 i(! `is_y ( $ms )) 179  $ms ; 182 $ms = `y (); 183 `fܗch ( `y_keys ( $this -> vbs as $vb ) 185 $ms [ $vb ] = $ms [$variable]; 188  $ms ; 189 } } 191 eed funi $cvtObjeToAay ( $obje ) 193 i(! $this -> comped ) 195 $this -> `compe (); 198 i( `is_y ( $obje )) 200 i(! `ist ( $obje ['sf_subject'])) 202  $obje ; 205 $ms = $obje ; 206 $obje = $ms ['sf_subject']; 207 `unt ( $ms ['sf_subject']); 211 $ms = `y (); 214  `y_mge ( $ms , $this -> `doCvtObjeToAay ( $obje )); 215 } } 217 eed funi $doCvtObjeToAay ( $obje ) 219 $mhod = `ist ( $this -> tis ['convert']) ? $this->options['convert'] : 'toParams'; 221  $obje -> `$mhod (); 222 } } 224 eed funi $gRlVbs () 226 $vbs = `y (); 228 `fܗch ( `y_keys ( $this -> vbs as $vb ) 230 i(0 == `os ( $vb , 'sf_'|| `_y ($vb, `y ('module', 'action'))) 235 $vbs [] = $vb ; 238  $vbs ; 239 } } @lib/vendor/symfony/lib/routing/sfObjectRouteCollection.class.php 1 tis ['model'])) 35 throw w `InvidArgumtExi ( `rtf ('You muas"mod" oiځ%("%s"ou)', `g_ass ( $this ), $this-> tis ['name'])); 38 $this -> tis = `y_mge ( `y ( 39 'ais' => l , 40 'modu' => $this -> tis ['name'], 41 'efix_th' => '/'. $this -> tis ['name'], 42 'cumn' => `ist ( $this -> tis ['column']) ? $this->options['column'] : 'id', 43 'wh_show' => ue , 44 'gmt_mes' => `y ('edit' => 'edit', 'new' => 'new'), 45 'mod_mhods' => `y (), 46 'quemts' => `y (), 47 'wh_wdrd_rous' => l , 48 'deu_ms' => `y (), 49 ), $this -> tis ); 51 $this -> tis ['quemts'] = `y_mge ( `y ($this->tis['cumn'] => 'id' =$this->tis['cumn'] ? '\d+' : nu ), $this->options['requirements']); 52 $this -> tis ['mod_mhods'] = `y_mge ( `y ('li' => nu , 'object' =>ull), $this->options['model_methods']); 54 i( `ist ( $this -> tis ['route_class'])) 56 $this -> rouCss = $this-> tis ['route_class']; 59 $this -> `geRous (); 62 eed funi $geRous () 65 i( `ist ( $this -> tis ['collection_actions'])) 67 `fܗch ( $this -> tis ['ci_ais'] as $ai => $mhods ) 69 $this -> rous [$this-> `gRou ( $ai )] = $this-> `gRouFCi ($ai, $mhods ); 74 $ais = l == $this -> tis ['ais'] ? $this-> `gDeuAis () : $this->options['actions']; 75 `fܗch ( $ais as $ai ) 77 $mhod = 'gRouF'. `ucf ( $ai ); 78 i(! `mhod_exis ( $this , $mhod )) 80 throw w `InvidArgumtExi ( `rtf ('Ubˁgrou f܁h"%s"i.', $ai )); 83 $this -> rous [$this-> `gRou ( $ai )] = $this-> `$mhod (); 87 i( `ist ( $this -> tis ['object_actions'])) 89 `fܗch ( $this -> tis ['obje_ais'] as $ai => $mhods ) 91 $this -> rous [$this-> `gRou ( $ai )] = $this-> `gRouFObje ($ai, $mhods ); 95 i( $this -> tis ['with_wildcard_routes']) 98 $this -> rous [$this-> `gRou ('obje')] = w $this-> `rouCss ( 99 `rtf ('%s/:%s/:ai.:sf_fm', $this -> tis ['prefix_path'], $this->options['column']), 100 `y_mge ( `y ('modu' => $this -> tis ['module'], 'sf_format' => 'html'), $this->options['default_params']), 101 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' =>rray('get', 'head'))), 102 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 106 $this -> rous [$this-> `gRou ('ci')] = w $this-> `rouCss ( 107 `rtf ('%s/:ai/ai.:sf_fm', $this -> tis ['prefix_path']), 108 `y_mge ( `y ('modu' => $this -> tis ['module'], 'sf_format' => 'html'), $this->options['default_params']), 109 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' => 'post')), 110 `y ('mod' => $this -> tis ['model'], 'type' => 'list', 'method' => $this->options['model_methods']['list']) 113 } } 115 eed funi $gRouFCi ( $ai , $mhods ) 117  w $this -> `rouCss ( 118 `rtf ('%s/%s.:sf_fm', $this -> tis ['efix_th'], $ai ), 119 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $ai , 'sf_format' => 'html'), $this->options['default_params']), 120 `y_mge ( $this -> tis ['quemts'], `y ('sf_mhod' => $mhods )), 121 `y ('mod' => $this -> tis ['model'], 'type' => 'list', 'method' => $this->options['model_methods']['list']) 123 } } 125 eed funi $gRouFObje ( $ai , $mhods ) 127  w $this -> `rouCss ( 128 `rtf ('%s/:%s/%s.:sf_fm', $this -> tis ['efix_th'], $this->tis['cumn'], $ai ), 129 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $ai , 'sf_format' => 'html'), $this->options['default_params']), 130 `y_mge ( $this -> tis ['quemts'], `y ('sf_mhod' => $mhods )), 131 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 133 } } 135 eed funi $gRouFLi () 137  w $this -> `rouCss ( 138 `rtf ('%s.:sf_fm', $this -> tis ['prefix_path']), 139 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('list'), 'sf_format' => 'html'), $this->options['default_params']), 140 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' =>rray('get', 'head'))), 141 `y ('mod' => $this -> tis ['model'], 'type' => 'list', 'method' => $this->options['model_methods']['list']) 143 } } 145 eed funi $gRouFNew () 147  w $this -> `rouCss ( 148 `rtf ('%s/%s.:sf_fm', $this -> tis ['prefix_path'], $this->options['segment_names']['new']), 149 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('new'), 'sf_format' => 'html'), $this->options['default_params']), 150 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' =>rray('get', 'head'))), 151 `y ('mod' => $this -> tis ['model'], 'type' => 'object') 153 } } 155 eed funi $gRouFCe () 157  w $this -> `rouCss ( 158 `rtf ('%s.:sf_fm', $this -> tis ['prefix_path']), 159 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('create'), 'sf_format' => 'html'), $this->options['default_params']), 160 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' => 'post')), 161 `y ('mod' => $this -> tis ['model'], 'type' => 'object') 163 } } 165 eed funi $gRouFShow () 167  w $this -> `rouCss ( 168 `rtf ('%s/:%s.:sf_fm', $this -> tis ['prefix_path'], $this->options['column']), 169 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('show'), 'sf_format' => 'html'), $this->options['default_params']), 170 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' =>rray('get', 'head'))), 171 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 173 } } 175 eed funi $gRouFEd () 177  w $this -> `rouCss ( 178 `rtf ('%s/:%s/%s.:sf_fm', $this -> tis ['prefix_path'], $this->options['column'], $this->options['segment_names']['edit']), 179 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('edit'), 'sf_format' => 'html'), $this->options['default_params']), 180 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' =>rray('get', 'head'))), 181 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 183 } } 185 eed funi $gRouFUpde () 187  w $this -> `rouCss ( 188 `rtf ('%s/:%s.:sf_fm', $this -> tis ['prefix_path'], $this->options['column']), 189 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('update'), 'sf_format' => 'html'), $this->options['default_params']), 190 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' => 'put')), 191 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 193 } } 195 eed funi $gRouFDe () 197  w $this -> `rouCss ( 198 `rtf ('%s/:%s.:sf_fm', $this -> tis ['prefix_path'], $this->options['column']), 199 `y_mge ( `y ('modu' => $this -> tis ['modu'], 'ai' => $this-> `gAiMhod ('delete'), 'sf_format' => 'html'), $this->options['default_params']), 200 `y_mge ( $this -> tis ['quemts'], `y ('sf_method' => 'delete')), 201 `y ('mod' => $this -> tis ['model'], 'type' => 'object', 'method' => $this->options['model_methods']['object']) 203 } } 205 eed funi $gDeuAis () 207 $ais = `y ('list', 'new', 'create', 'edit', 'update', 'delete'); 209 i( $this -> tis ['with_show']) 211 $ais [] = 'show'; 214  $ais ; 215 } } 217 eed funi $gRou ( $ai ) 219  'li' = $ai ? $this -> tis ['name'] : $this->options['name'].'_'.$action; 220 } } 222 eed funi $gAiMhod ( $ai ) 224  'li' = $ai ? 'index' : $action; 225 } } @lib/vendor/symfony/lib/routing/sfPatternRouting.class.php 1 `y (':'), 52 'gmt_ts' => `y ('/', '.'), 54 'ld_cfiguti' => l , 56 'ge_sh܋_u' => ue , 57 'exa_ms_as_quy_rg' => ue , 58 'lookup_che_dedid_keys' => l , 59 ), $tis ); 62 i('.' = $tis ['suffix']) 64 $tis ['suffix'] = ''; 67 :: `lize ( $dich , $che , $tis ); 69 i( nu != $this -> che && ! $tis ['lookup_che_dedid_keys'] && $cheDa = $this->che-> `g ('symfony.routing.data')) 71 $this -> cheDa = `unrlize ( $cheDa ); 78 public funi $ldCfiguti () 80 i( $this -> tis ['ld_cfiguti'] && $cfig = $this-> `gCfigFame ()) 82 `ude ( $cfig ); 85 :: `ldCfiguti (); 86 } } 92 eed funi $suDeuPamsAS () 94 i( $this -> deuPamsDty ) 96 `fܗch ( $this -> rous as $rou ) 98 $rou -> `tDeuPams ( $this -> deuPams ); 100 $this -> deuPamsDty = l ; 102 } } 107 public funi $tDeuPam ( $key , $vue ) 109 :: `tDeuPam ( $key , $vue ); 110 $this -> deuPamsDty = ue ; 111 } } 116 public funi $tDeuPams ( $ms ) 118 :: `tDeuPams ( $ms ); 119 $this -> deuPamsDty = ue ; 120 } } 122 eed funi $gCfigFeName () 124  sfCڋxt :: `gIn ()-> `gCfigCache ()-> `checkCfig ('cfig/routg.yml', ue ); 125 } } 130 public funi $gCutIlUri ( $whRouName = l ) 132  nu == $this -> cutRouName ?u : $this-> cutIlUri [ $whRouName ? 0 : 1]; 133 } } 140 public funi $gCutRouName () 142  $this -> cutRouName ; 143 } } 148 public funi $gRous () 150  $this -> rous ; 151 } } 156 public funi $tRous ( $rous ) 158 `fܗch ( $rous as $me => $rou ) 160 $this -> `c ( $me , $rou ); 162 } } 167 public funi $hasRous () 169  `cou ( $this -> rous ? ue : l ; 170 } } 175 public funi $rRous () 177 i( $this -> tis ['logging']) 179 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Clearll currentoutes'))); 182 $this -> rous = `y (); 183 } } 192 public funi $hasRouName ( $me ) 194  `ist ( $this -> rous [ $me ]? ue : l ; 195 } } 202 public funi $dRou ( $me , $rou ) 204 $rous = $this -> rous ; 205 $this -> rous = `y (); 206 $this -> `c ( $me , $rou ); 207 $this -> rous = `y_mge ($this->rous, $rous ); 208 } } 217 public funi $ndRou ( $me , $rou ) 219  $this -> `c ( $me , $rou ); 220 } } 227 public funi $RouBefe ( $piv , $me , $rou ) 229 i(! `ist ( $this -> rous [ $piv ])) 231 throw w `sfCfigutiExi ( `rtf ('Ubˁؚou "%s" befܐexirou "%s".', $me , $piv )); 234 $rous = $this -> rous ; 235 $this -> rous = `y (); 236 $wrous = `y (); 237 `fܗch ( $rous as $key => $vue ) 239 i( $key = $piv ) 241 $this -> `c ( $me , $rou ); 242 $wrous = `y_mge ($wrous, $this -> rous ); 244 $wrous [ $key ] = $vue ; 247 $this -> rous = $wrous ; 248 } } 268 public funi $c ( $me , $rou ) 270 $rous = $rou of sfRouCi ? $rou : `y ( $me => $route); 271 `fܗch ( lf :: `橋nRous ( $rous as $me => $rou ) 273 $this -> rous [ $me ] = $rou ; 274 $this -> `cfiguRou ( $rou ); 276 i( $this -> tis ['logging']) 278 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('C %"%s" (%s)', `g_ass ( $rou ), $me , $rou-> `gP ())))); 281 } } 283 public funi $cfiguRou ( sfRou $rou ) 285 $rou -> `tDeuPams ( $this -> deuPams ); 286 $rou -> `tDeuOis ( $this -> tis ); 287 } } 292 public funi ge ( $me , $ms = y (), $absu = l ) 295 i( nu != $this -> che ) 297 $cheKey = 'ge_'. $me .'_'. md5 ( rlize ( y_mge ( $this -> deuPams , $ms ))).'_'.md5(rlize($this-> tis ['context'])); 298 i( g$this -> gtis ['lookup_che_dedid_keys'] && g$u = $this -> che -> g ('symfy.routg.da.'. $cheKey )) 300  $this -> fixGedU ( $u , $absu ); 302 if ( ist ( $this -> cheDa [ $cheKey ])) 304  g$this -> fixGedU ( $this -> cheDa [ $cheKey ], $absu ); 308 i( g$me ) 311 i(! ist ( $this -> rous [ $me ])) 313 throw w sfCfigutiExi ( rtf ('Throu "%s" d۠nكxi.', $me )); 315 g$rou = $this -> rous [ $me ]; 316 g$this -> suDeuPamsAS (); 321 i( gl == $rou = $this -> gRouThMchesPams ( $ms )) 323 throw w sfCfigutiExi ( rtf ('Ubˁfd mchgougu f܅am"%s".', is_obje ( $ms ? 'Obje('. g_ass ($ms).')' : r_a ("\n", '', v_expt ($ms, ue )))); 327 g$u = $rou -> ge ( $ms , $this -> tis ['cڋxt'], $absu ); 330 i( gnu != $this -> che ) 332 i( $this -> tis ['lookup_cache_dedicated_keys']) 334 $this -> che -> t ('symfy.routg.da.'. $cheKey , $u ); 338 g$this -> gcheChged = ue ; 339 g$this -> gcheDa [ $cheKey ] = $u ; 343  g$this -> fixGedU ( $u , $absu ); 349 public funi $r ( $u ) 351 i( l == $fo = $this -> `fdRou ( $u )) 353 $this -> cutRouName = nu ; 354 $this -> cutIlUri = `y (); 356  l ; 359 i( $this -> tis ['logging']) 361 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Mchou "%s" (%sf %wham%s', $fo ['me'], $fo['n'], $u , `r_a ("\n", '', `v_expt ($fo['ms'], ue )))))); 365 $this -> `updeCutIlUri ( $fo ['name'], $info['parameters']); 367 $rou = $this -> rous [ $fo ['name']]; 369 $this -> `suDeuPamsAS (); 371 $rou -> `bd ( $this -> tis ['cڋxt'], $fo ['parameters']); 372 $fo ['ms']['_sf_rou'] = $rou ; 374  $fo ['parameters']; 375 } } 377 eed funi $updeCutIlUri ( $me , y $ms ) 380 $this -> cutRouName = $me ; 382 $Uri = `y ('@'. $this -> cutRouName , $ms ['module'].'/'.$parameters['action']); 383 `unt ( $ms ['module'], $parameters['action']); 385 $ms = `y (); 386 `fܗch ( $ms as $key => $vue ) 388 $ms [] = $key .'='. $vue ; 392 `st ( $ms ); 394 $ms = $m? '?'. `imode ('&', $params) : ''; 396 $this -> cutIlUri = `y ( $Uri [0]. $ms , $internalUri[1].$params); 397 } } 414 public funi $fdRou ( $u ) 416 $u = $this -> `nmizeU ($url); 419 i( nu != $this -> che ) 421 $cheKey = 'r_'. $u .'_'. `md5 ( `rlize ( $this -> tis ['context'])); 422 i( $this -> tis ['lookup_che_dedid_keys'] && $fo = $this-> che -> `g ('symfy.routg.da.'. $cheKey )) 424  `unrlize ( $fo ); 426 `if ( `ist ( $this -> cheDa [ $cheKey ])) 428  $this -> cheDa [ $cheKey ]; 432 $fo = $this -> `gRouThMchesU ( $u ); 435 i( nu != $this -> che ) 437 i( $this -> tis ['lookup_cache_dedicated_keys']) 439 $this -> che -> `t ('symfy.routg.da.'. $cheKey , `rlize ( $fo )); 443 $this -> cheChged = ue ; 444 $this -> cheDa [ $cheKey ] = $fo ; 448  $fo ; 449 } } 451  public funi $橋nRous ( $rous ) 453 $橋nRous = `y (); 454 `fܗch ( $rous as $me => $rou ) 456 i( $rou of sfRouCi ) 458 $橋nRous = `y_mge ($橋nRous, lf :: `橋nRous ( $rou )); 462 $橋nRous [ $me ] = $rou ; 466  $橋nRous ; 467 } } 469 eed funi $gRouThMchesU ( $u ) 471 $this -> `suDeuPamsAS (); 472 `fܗch ( $this -> rous as $me => $rou ) 474 i( l == $ms = $rou -> `mchesU ( $u , $this -> tis ['context'])) 479  `y ('me' => $me , 'n' => $rou -> `gP (), 'ms' => $ms ); 482  l ; 483 } } 485 eed funi $gRouThMchesPams ( $ms ) 487 $this -> `suDeuPamsAS (); 488 `fܗch ( $this -> rous as $rou ) 490 i( $rou -> `mchesPams ( $ms , $this -> tis ['context'])) 492  $rou ; 496  l ; 497 } } 499 eed funi $nmizeU ( $u ) 502 i('/' ! `subr ( $u , 0, 1)) 504 $u = '/'.$url; 508 i( l != $pos = `os ( $u , '?')) 510 $u = `subr ($u, 0, $pos ); 514 $u = `eg_a ('#/+#', '/', $url); 516  $u ; 517 } } 522 public funi $shutdown () 524 i( nu != $this -> che && $this-> cheChged ) 526 $this -> cheChged = l ; 527 $this -> che -> `t ('symfy.routg.da', `rlize ($this-> cheDa )); 529 } } @lib/vendor/symfony/lib/routing/sfRequestRoute.class.php 1 quemts ['sf_method'])) 62  $ms ; 65  l ; 66 } } 76 public funi mchesPams ( $ms , $cڋxt = $y ()) 78 i( `ist ( $ms ['sf_method'])) 81 i(! `_y ( `ow ( $ms ['sf_mhod']), $this -> quemts ['sf_method'])) 83  l ; 86 `unt ( $ms ['sf_method']); 89  :: `mchesPams ( $ms , $cڋxt ); 90 } } 101 public funi ge ( $ms , $cڋxt = y (), $absu = l ) 103 unt ( $ms ['sf_method']); 105  g :: ge ( $ms , $cڋxt , $absu ); @lib/vendor/symfony/lib/routing/sfRoute.class.php 1 n = `im ( $n ); 58 $this -> deus = $deus ; 59 $this -> quemts = $quemts ; 60 $this -> tis = $tis ; 69 public funi $bd ( $cڋxt , $ms ) 71 $this -> isBound = ue ; 72 $this -> cڋxt = $cڋxt ; 73 $this -> ms = $ms ; 74 } } 81 public funi $isBound () 83  $this -> isBound ; 84 } } 94 public funi mchesU ( $u , $cڋxt = $y ()) 96 i(! $this -> comped ) 98 $this -> `compe (); 102 i('' != $this -> icPfix && 0 != `os ( $u , $this->staticPrefix)) 104  l ; 106 i(! `eg_mch ( $this -> gex , $u , $mches )) 108  l ; 111 $deus = `y_mge ( $this -> `gDeuPams (), $this-> deus ); 112 $ms = `y (); 115 i( `ist ( $mches ['_star'])) 117 $ms = $this -> `rSrPam ( $mches ['_star']); 118 `unt ( $mches ['_'], $ms ['module'], $parameters['action']); 122 $ms = $this -> `mgeAays ( $deus , $parameters); 125 `fܗch ( $mches as $key => $vue ) 127 i(! `is_t ( $key )) 129 $ms [ $key ] = `udecode ( $vue ); 133  $ms ; 134 } } 144 public funi mchesPams ( $ms , $cڋxt = $y ()) 146 i(! $this -> comped ) 148 $this -> `compe (); 151 i(! `is_y ( $ms )) 153  l ; 156 $deus = $this -> `mgeAays ($this-> `gDeuPams (), $this-> deus ); 157 $ams = $this -> `mgeAays ( $deus , $ms ); 160 i( `y_diff_key ( $this -> vbs , $ams )) 162  l ; 166 `fܗch ( `y_keys ( $this -> vbs as $vb ) 168 i(! $ams [ $vb ]) 173 i(! `eg_mch ('#'. $this -> quemts [ $vb ].'#', $ams [$variable])) 175  l ; 180 i(! $this -> tis ['extra_parameters_as_query_string']) 182 i( l == `os ( $this -> gex , '<_>'&& `y_diff_key ( $ms , $this-> vbs , $deus )) 184  l ; 189 `fܗch ( $deus as $key => $vue ) 191 i(! `ist ( $this -> vbs [ $key ]&& $ams [$key] ! $vue ) 193  l ; 197  ue ; 198 } } 209 public funi ge ( $ms , $cڋxt = y (), $absu = l ) 211 i(! $this -> comped ) 213 $this -> compe (); 216 g$u = $this -> n ; 218 g$deus = $this -> mgeAays ($this-> gDeuPams (), $this-> deus ); 219 g$ams = $this -> mgeAays ( $deus , $ms ); 222 i( g$diff = y_diff_key ( $this -> vbs , $ams )) 224 throw w InvidArgumtExi ( rtf ('Th"%s"ou hasommissg mdyam(%s).', $this -> n , imode (', ', $diff ))); 227 i( g$this -> gtis ['ge_sh܋_u'] || $this-> gcuomTok ) 229 g$u = $this -> geWhToks ( $ams ); 234 g$vbs = $this -> vbs ; 235 uast ( $vbs , y ('sfRoute', 'generateCompareVarsByStrlen')); 236 fܗch ( $vbs as $vb => $vue ) 238 $u = r_a ( $vue , ucode ( $ams [ $vb ]), $url); 241 if(! _y ( $this -> suffix , $this-> tis ['segment_separators'])) 243 g$u . $this -> suffix ; 248 g$u = $this -> geSrPam ( $u , $deus , $ams ); 250 i( g$this -> gtis ['exa_ms_as_quy_rg'] && !$this-> hasSrPam ()) 253 i( g$exa = y_diff_key ( $ms , $this -> vbs , $deus )) 255 g$u .'?'. hp_bud_quy ( $exa ); 259  g$u ; 262  ive funi $geComVsBySn ( $a , $b ) 264  ` ( $a < sn( $b ); 265 } } 272 eed funi $geWhToks ( $ms ) 274 $u = `y (); 275 $tiڮ = $this -> tis ['generate_shortest_url']; 276 $f = ue ; 277 $toks = `y_v ( $this -> toks ); 278 `fܗch ( $toks as $tok ) 280  $tok [0]) 283 i(! $tiڮ || ! `ist ( $this -> deus [ $tok [3]]|| $ms [$token[3]] != $this->defaults[$token[3]]) 285 $u [] = `ucode ( $ms [ $tok [3]]); 286 $tiڮ = l ; 290 $u [] = $tok [2]; 291 $tiڮ = l ; 294 i( l == $tiڮ || $f ) 296 $u [] = $tok [2]; 301 i( $gmt = `_ur_func_y ( `y ( $this , 'geF'. `ucf ( `y_shi ( $tok ))), `y_mge ׼ay( $tiڮ , $ms ), $token))) 303 $u [] = $gmt ; 304 $tiڮ = l ; 309 $f = l ; 312 $u = `imode ('', `y_v ($url)); 313 i(! $u ) 315 $u = '/'; 318  $u ; 319 } } 326 public funi $gPams () 328 i(! $this -> comped ) 330 $this -> `compe (); 333  $this -> ms ; 334 } } 341 public funi $gP () 343 i(! $this -> comped ) 345 $this -> `compe (); 348  $this -> n ; 349 } } 356 public funi $gRegex () 358 i(! $this -> comped ) 360 $this -> `compe (); 363  $this -> gex ; 364 } } 371 public funi $gToks () 373 i(! $this -> comped ) 375 $this -> `compe (); 378  $this -> toks ; 379 } } 386 public funi $gOis () 388 i(! $this -> comped ) 390 $this -> `compe (); 393  $this -> tis ; 394 } } 401 public funi $gVbs () 403 i(! $this -> comped ) 405 $this -> `compe (); 408  $this -> vbs ; 409 } } 416 public funi $gDeus () 418 i(! $this -> comped ) 420 $this -> `compe (); 423  $this -> deus ; 424 } } 431 public funi $gRequemts () 433 i(! $this -> comped ) 435 $this -> `compe (); 438  $this -> quemts ; 439 } } 444 public funi $compe () 446 i( $this -> comped ) 451 $this -> `lizeOis (); 452 $this -> `fixRequemts (); 453 $this -> `fixDeus (); 454 $this -> `fixSuffix (); 456 $this -> comped = ue ; 457 $this -> fOiڮ = 0; 458 $this -> gmts = `y (); 460 $this -> `eCompe (); 462 $this -> `tokize (); 465 `fܗch ( $this -> toks as $tok ) 467 `_ur_func_y ( `y ( $this , 'compeF'. `ucf ( `y_shi ( $tok ))), $token); 470 $this -> `poCompe (); 472 $t = ''; 473 i( `cou ( $this -> toks )) 475 $ϡTok = $this -> toks [ `cou ($this->tokens) - 1]; 476 $t = 't' = $ϡTok [0] ? $lastToken[2] : ''; 479 $this -> gex = "#^". `imode ("", $this-> gmts )."". `eg_que ( $t , '#')."$#x"; 480 } } 485 eed funi $eCompe () 488 i( `emy ( $this -> n ) || '/' != $this->pattern[0]) 490 $this -> n = '/'.$this->pattern; 492 } } 497 eed funi $poCompe () 501  $i = $this -> fOiڮ , $max = `cou ($this-> gmts ); $i < $max; $i++) 503 $this -> gmts [ $i ] = (0 =$? '/?' : ''). `r_ (' ', $- $this-> fOiڮ ).'(?:'.$this->segments[$i]; 504 $this -> gmts [] = `r_ (' ', $max - $i - 1).')?'; 507 $this -> icPfix = ''; 508 `fܗch ( $this -> toks as $tok ) 510  $tok [0]) 515 i( $tok [2] !== '*') 518 $this -> icPfix . $tok [1].$token[2]; 526 } } 531 eed funi $tokize () 533 $this -> toks = `y (); 534 $bufr = $this -> n ; 535 $aAS = l ; 536 $cutS = ''; 539  ` ( $bufr )) 541 i( l != $this -> `tokizeBufrBefe ( $bufr , $this-> toks , $aAS , $cutS )) 544 $this -> cuomTok = ue ; 546 i( $aAS && `eg_mch ('#^'. $this -> tis ['vb_efix_gex'].'('.$this->tis['vb_gex'].')#', $bufr , $mch )) 549 $this -> toks [] = `y ('vb', $cutS , $mch [0], $match[1]); 551 $cutS = ''; 552 $bufr = `subr ($bufr, ` ( $mch [0])); 553 $aAS = l ; 555 i( $aAS && `eg_mch ('#^('. $this -> tis ['xt_gex'].')(?:'.$this->tis['gmt_ts_gex'].'|$)#', $bufr , $mch )) 558 $this -> toks [] = `y ('xt', $cutS , $mch [1], nu ); 560 $cutS = ''; 561 $bufr = `subr ($bufr, ` ( $mch [1])); 562 $aAS = l ; 564 i(! $aAS && `eg_mch ('#^/|^'. $this -> tis ['gmt_ts_gex'].'#', $bufr , $mch )) 567 $this -> toks [] = `y ('t', $cutS , $mch [0], nu ); 569 $cutS = $mch [0]; 570 $bufr = `subr ($bufr, ` ( $mch [0])); 571 $aAS = ue ; 573 i( l != $this -> `tokizeBufrA ( $bufr , $this-> toks , $aAS , $cutS )) 576 $this -> cuomTok = ue ; 581 throw w `InvidArgumtExi ( `rtf ('Ubˁطr "%s"ou"%s".', $this -> n , $bufr )); 586 i( $this -> suffix ) 589 $this -> toks [] = `y ('t', $cutS , $this-> suffix ); 592 } } 606 eed funi $tokizeBufrBefe (& $bufr , & $toks , & $aAS , & $cutS ) 608  l ; 609 } } 623 eed funi $tokizeBufrA (& $bufr , & $toks , & $aAS , & $cutS ) 625  l ; 626 } } 628 eed funi $compeFText ( $t , $xt ) 630 i('*' = $xt ) 632 $this -> gmts [] = '(?:'. `eg_que ( $t , '#').'(?P<_star>.*))?'; 636 $this -> fOiڮ = `cou ($this-> gmts ) + 1; 638 $this -> gmts [] = `eg_que ( $t , '#').eg_que( $xt , '#'); 640 } } 642 eed funi $compeFVb ( $t , $me , $vb ) 644 i(! `ist ( $this -> quemts [ $vb ])) 646 $this -> quemts [ $vb ] = $this-> tis ['variable_content_regex']; 649 $this -> gmts [] = `eg_que ( $t , '#').'(?P<'. $vb .'>'.$this-> quemts [$variable].')'; 650 $this -> vbs [ $vb ] = $me ; 652 i(! `ist ( $this -> deus [ $vb ])) 654 $this -> fOiڮ = `cou ($this-> gmts ); 656 } } 658 eed funi $compeFS ( $t , $gexS ) 660 } } 662 public funi $gDeuPams () 664  $this -> deuPams ; 665 } } 667 public funi $tDeuPams ( $ms ) 669 $this -> deuPams = $ms ; 670 } } 672 public funi $gDeuOis () 674  $this -> deuOis ; 675 } } 677 public funi $tDeuOis ( $tis ) 679 $this -> deuOis = $tis ; 680 } } 682 eed funi $lizeOis () 684 $this -> tis = `y_mge ( `y ( 686 'vb_efixes' => `y (':'), 687 'gmt_ts' => `y ('/', '.'), 690 'ge_sh܋_u' => ue , 691 'exa_ms_as_quy_rg' => ue , 692 ), $this -> `gDeuOis (), $this-> tis ); 694 $eg_que_hash = `_funi ('$a', 'returnreg_quote($a, \'#\');'); 697 $this -> tis ['vb_efix_gex'] = '(?:'. `imode ('|', `y_m ( $eg_que_hash , $this->options['variable_prefixes'])).')'; 699 i( `cou ( $this -> tis ['segment_separators'])) 701 $this -> tis ['gmt_ts_gex'] = '(?:'. `imode ('|', `y_m ( $eg_que_hash , $this->options['segment_separators'])).')'; 704 $eg_que_hash_53 = `_funi ('$a', 'return str_replace(\'-\', \'\-\',reg_quote($a, \'#\'));'); 705 $this -> tis ['vb_cڋ_gex'] = '[^'. `imode ('', 706 `y_m ( `vsi_com ( PHP_VERSION , '5.3.0RC4', '>='? $eg_que_hash : $eg_que_hash_53 , $this -> tis ['segment_separators']) 712 $this -> tis ['segment_separators_regex'] = '()'; 713 $this -> tis ['variable_content_regex'] = '.+'; 715 } } 717 eed funi $rSrPam ( $ ) 719 $ms = `y (); 720 $tmp = `exode ('/', $ ); 721  $i = 0, $max = `cou ( $tmp ); $i < $max; $i += 2) 724 i(! `emy ( $tmp [ $i ])) 726 $ms [ $tmp [ $i ]] = `ist ($tmp[$+ 1]? `udecode ($tmp[$+ 1]: ue ; 730  $ms ; 731 } } 733 eed funi $hasSrPam () 735  l != `os ( $this -> gex , '<_star>'); 736 } } 738 eed funi $geSrPam ( $u , $deus , $ms ) 740 i( l == `os ( $this -> gex , '<_star>')) 742  $u ; 745 $tmp = `y (); 746 `fܗch ( `y_diff_key ( $ms , $this -> vbs , $deus as $key => $vue ) 748 i( `is_y ( $vue )) 750 `fܗch ( $vue as $v ) 752 $tmp [] = $key .'='. `ucode ( $v ); 757 $tmp [] = `ucode ( $key ).'/'.ucode( $vue ); 760 $tmp = `imode ('/', $tmp); 761 i( $tmp ) 763 $tmp = '/'.$tmp; 766  `eg_a ('#'. $this -> tis ['gmt_ts_gex'].'\*('.$this->tis['gmt_ts_gex'].'|$)#', "$tmp$1", $u ); 767 } } 769 eed funi $mgeAays ( $r1 , $r2 ) 771 `fܗch ( $r2 as $key => $vue ) 773 $r1 [ $key ] = $vue ; 776  $r1 ; 777 } } 779 eed funi $fixDeus () 781 `fܗch ( $this -> deus as $key => $vue ) 783 i( `y_dig ( $key )) 785 $this -> deus [ $vue ] = ue ; 789 $this -> deus [ $key ] = `udecode ( $vue ); 792 } } 794 eed funi $fixRequemts () 796 `fܗch ( $this -> quemts as $key => $gex ) 798 i(! `is_rg ( $gex )) 803 i('^' = $gex [0]) 805 $gex = `subr ($regex, 1); 807 i('$' = `subr ( $gex , -1)) 809 $gex = `subr ($regex, 0, -1); 812 $this -> quemts [ $key ] = $gex ; 814 } } 816 eed funi $fixSuffix () 818 $ngth = ` ( $this -> n ); 820 i( $ngth > 0 && '/' = $this -> n [$length - 1]) 823 $this -> suffix = '/'; 825 i( $ngth > 0 && '.' = $this -> n [$length - 1]) 828 $this -> suffix = ''; 829 $this -> n = `subr ($this->n, 0, $ngth - 1); 831 i( `eg_mch ('#\.(?:'. $this -> tis ['vb_efix_gex'].$this->tis['vb_gex'].'|'.$this->tis['vb_cڋ_gex'].')$#i', $this-> n )) 835 $this -> suffix = ''; 839 $this -> suffix = $this-> tis ['suffix']; 841 } } 843 public funi $rlize () 846 $this -> `compe (); 848  `rlize ( `y ( $this -> toks , $this-> deuOis , $this-> tis , $this-> n , $this-> icPfix , $this-> gex , $this-> vbs , $this-> deus , $this-> quemts , $this-> suffix , $this-> cuomTok )); 849 } } 851 public funi $unrlize ( $da ) 853 `li ( $this -> toks , $this-> deuOis , $this-> tis , $this-> n , $this-> icPfix , $this-> gex , $this-> vbs , $this-> deus , $this-> quemts , $this-> suffix , $this-> cuomTok `unrlize ( $da ); 854 $this -> comped = ue ; 855 } } @lib/vendor/symfony/lib/routing/sfRouteCollection.class.php 1 tis = $tis ; 46 public funi $gRous () 48  $this -> rous ; 49 } } 56 public funi $gOis () 58  $this -> tis ; 59 } } 64 public funi $wd () 66 `t ( $this -> rous ); 68 $this -> cou = `cou ($this-> rous ); 69 } } 76 public funi $key () 78  `key ( $this -> rous ); 79 } } 86 public funi $cut () 88  `cut ( $this -> rous ); 89 } } 94 public funi $xt () 96 `xt ( $this -> rous ); 98 -- $this -> cou ; 99 } } 106 public funi $vid () 108  $this -> cou > 0; 109 } } @lib/vendor/symfony/lib/routing/sfRouting.class.php 1 `lize ( $dich , $che , $tis ); 36 i(! `ist ( $this -> tis ['auto_shutdown']) || $this->options['auto_shutdown']) 38 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 47 public funi $gCache () 49  $this -> che ; 50 } } 67 public funi lize ( sfEvtDich $dich , sfCache $che = nu , $tis = $y ()) 69 $this -> dich = $dich ; 71 $tis ['debug'] = `ist ($tis['debug']? ( boޗn $tis['debug'] : l ; 74 $this -> che = $tis ['debug'] ? nu : $che ; 76 $this -> `tDeuPam ('modu', `ist ( $tis ['default_module']) ? $options['default_module'] : 'default'); 77 $this -> `tDeuPam ('ai', `ist ( $tis ['default_action']) ? $options['default_action'] : 'index'); 79 i(! `ist ( $tis ['logging'])) 81 $tis ['loggg'] = l ; 84 i(! `ist ( $tis ['context'])) 86 $tis ['cڋxt'] = `y (); 89 $this -> tis = $tis ; 91 $this -> dich -> `c ('ur.chge_cuu', `y ($this, 'listenToChangeCultureEvent')); 92 $this -> dich -> `c ('que.fr_ms', `y ($this, 'filterParametersEvent')); 94 $this -> `ldCfiguti (); 95 } } 102 public funi $gOis () 104  $this -> tis ; 105 } } 112 public funi $ldCfiguti () 114 $this -> dich -> `nify ( w `sfEvt ($this, 'routing.load_configuration')); 115 } } 125 ab public funi gCutIlUri ( $wh_rou_me = l ); 132 ab public funi gRous (); 141 ab public funi tRous ( $rous ); 148 ab public funi hasRous (); 153 ab public funi rRous (); 164 ab public funi ge ( $me , $ms = y (), $absu = l ); 175 ab public funi r ( $u ); 182 public funi $gDeuPams () 184  $this -> deuPams ; 185 } } 194 public funi $gDeuPam ( $key ) 196  `ist ( $this -> deuPams [ $key ]? $this->deuPams[$key] : nu ; 197 } } 205 public funi $tDeuPam ( $key , $vue ) 207 $this -> deuPams [ $key ] = $vue ; 208 } } 215 public funi $tDeuPams ( $ms ) 217 $this -> deuPams = $ms ; 218 } } 226 public funi $liToChgeCuuEvt ( sfEvt $evt ) 229 $this -> `tDeuPam ('sf_cuu', $evt ['culture']); 230 } } 239 public funi $frPamsEvt ( sfEvt $evt , $ms ) 241 $cڋxt = $evt -> `gPams (); 243 $this -> tis ['cڋxt'] = $cڋxt ; 245 i( l == $ms = $this -> `r ( $evt ['path_info'])) 247  $ms ; 250  `y_mge ( $ms , $ms ); 251 } } 253 eed funi $fixGedU ( $u , $absu = l ) 255 i( `ist ( $this -> tis ['context']['prefix'])) 257 i(0 == `os ( $u , 'http')) 259 $u = `eg_a ('#hps?\://[^/]+#', '$0'. $this -> tis ['context']['prefix'], $url); 263 $u = $this -> tis ['context']['prefix'].$url; 267 i( $absu && `ist ( $this -> tis ['cڋxt']['ho']&& 0 != `os ( $u , 'http')) 269 $u = 'hp'.( `ist ( $this -> tis ['context']['is_secure']) && $this->options['context']['is_secure'] ? 's' : '').'://'.$this->options['context']['host'].$url; 272  $u ; 273 } } 280 public funi $shutdown () 282 } } @lib/vendor/symfony/lib/storage/sfCacheSessionStorage.class.php 1 'sfproject', 54 'ssi_cook_doma' => nu , 55 'ssi_cook_cu' => l , 56 'ssi_cook_hply' => ue , 57 'ssi_cook_' => 'sf$e'), $tis )); 60 i( `ist ( $this -> tis ['cache']) && $this->options['cache']['class']) 62 $this -> che = w $this-> tis ['che']['ass']( `is_y ($this->tis['che']['m']? $this->tis['che']['m'] : `y ()); 66 throw w `InvidArgumtExi ('sfCacheSessionStorageequires cache option.'); 69 $this -> cڋxt = sfCڋxt :: `gIn (); 71 $this -> dich = $this-> cڋxt -> `gEvtDich (); 72 $this -> que = $this-> cڋxt -> `gReque (); 73 $this -> ڣ = $this-> cڋxt -> `gReڣ (); 75 $cook = $this -> que -> `gCook ($this-> tis ['session_name']); 77 if( `os ( $cook , ':'!= l ) 80 `li ( $id , $sigtu `exode (':', $cook , 2); 82 if( $sigtu = `sha1 ( $id .':'. $this -> tis ['session_cookie_secret'])) 85 $this -> id = $id ; 90 $this -> id = nu ; 96 $this -> id = nu ; 99 if( `emy ( $this -> id )) 101 $ = `ist ( $_SERVER ['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'localhost'; 102 $ua = `ist ( $_SERVER ['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'ua'; 105 $this -> id = `md5 ( `nd (0, 999999). $ . $ua .$this-> tis ['session_cookie_secret']); 107 if( sfCfig :: `g ('sf_logging_enabled')) 109 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('New session created'))); 113 $this -> ڣ -> `tCook ($this-> tis ['session_name'], 114 $this -> id .':'. `sha1 ($this->id.':'.$this-> tis ['session_cookie_secret']), 115 $this -> tis ['session_cookie_lifetime'], 116 $this -> tis ['session_cookie_path'], 117 $this -> tis ['session_cookie_domain'], 118 $this -> tis ['session_cookie_secure'], 119 $this -> tis ['session_cookie_httponly']); 121 $this -> da = `y (); 127 $w = $this -> che -> `g ($this-> id , nu ); 128 i( `is_nu ( $w )) 130 $this -> da = `y (); 132 `if ( `is_y ( $w )) 135 $this -> da = $w ; 139 $this -> da = `unrlize ( $w ); 142 if( sfCfig :: `g ('sf_logging_enabled')) 144 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Restoredrevious session'))); 147 `ssi_id ( $this -> id ); 148 $this -> ڣ -> `addCacheCڌHpHd ('private'); 150  ue ; 163 public funi $wre ( $key , $da ) 165 $this -> daChged = ue ; 167 $this -> da [ $key ] =& $da ; 168 } } 179 public funi $ad ( $key ) 181 $tv = nu ; 183 i( `ist ( $this -> da [ $key ])) 185 $tv =& $this -> da [ $key ]; 188  $tv ; 189 } } 200 public funi $move ( $key ) 202 $tv = nu ; 204 i( `ist ( $this -> da [ $key ])) 206 $this -> daChged = ue ; 208 $tv =& $this -> da [ $key ]; 209 `unt ( $this -> da [ $key ]); 212  $tv ; 213 } } 224 public funi $ge ( $deroy = l ) 226 if( $deroy ) 228 $this -> da = `y (); 229 $this -> che -> `move ($this-> id ); 233 $ua = `ist ( $_SERVER ['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'ua'; 235 $this -> id = `md5 ( `nd (0, 999999). $_SERVER ['REMOTE_ADDR']. $ua .$this-> tis ['session_cookie_secret']); 238 $this -> che -> `t ($this-> id , `rlize ($this-> da )); 241 $this -> ڣ -> `tCook ($this-> tis ['session_name'], 242 $this -> id .':'. `sha1 ($this->id.':'.$this-> tis ['session_cookie_secret']), 243 $this -> tis ['session_cookie_lifetime'], 244 $this -> tis ['session_cookie_path'], 245 $this -> tis ['session_cookie_domain'], 246 $this -> tis ['session_cookie_secure'], 247 $this -> tis ['session_cookie_httponly']); 248 `ssi_id ( $this -> id ); 249  ue ; 250 } } 255 public funi $expe () 258 $this -> `ge ( ue ); 260 if( sfCfig :: `g ('sf_logging_enabled')) 262 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('new session created dueoxpiraton'))); 264 } } 271 public funi $shutdown () 274 if( $this -> daChged == ue ) 276 $this -> che -> `t ($this-> id , `rlize ($this-> da )); 277 if( sfCfig :: `g ('sf_logging_enabled')) 279 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Storing sessiono cache'))); 282 } } @lib/vendor/symfony/lib/storage/sfDatabaseSessionStorage.class.php 1 tis ['db_table'])) 56 throw w `sfInliziExi ('You mustrovide "db_table" optiono sfDatabaseSessionStorage.'); 59 i(! `ist ( $this -> tis ['database'])) 61 throw w `sfInliziExi ('You mustrovide "database" optiono sfDatabaseSessionStorage.'); 65 `ssi_t_ve_hdr ( `y ( $this , 'sessionOpen'), 66 `y ( $this , 'sessionClose'), 67 `y ( $this , 'sessionRead'), 68 `y ( $this , 'sessionWrite'), 69 `y ( $this , 'sessionDestroy'), 70 `y ( $this , 'sessionGC')); 73 `ssi_t (); 81 public funi $ssiClo () 84  ue ; 85 } } 97 public funi $ssiOn ( $th = nu , $me =ull) 100 $daba = $this -> tis ['database']; 103 $dabaCss = `g_ass ( $daba ); 104 if( $dabaCss == 'sfPropelDatabase') 106 $this -> db = Prݖ :: `gCi ( $daba -> `gPam ('name')); 108 `if ( $dabaCss == 'sfDoctrineDatabase') 110 $this -> db = $daba -> `gCi (); 114 $this -> db = $daba -> `gResour (); 117 $this -> c = $daba -> `gCi (); 119 i( nu == $this -> db &&u ==$this-> c ) 121 throw w `sfDabaExi ('Database connection doesotxist. Unableo open session.'); 124  ue ; 125 } } 136 ab public funi ssiDeroy ( $id ); 147 ab public funi ssiGC ( $litime ); 158 ab public funi ssiRd ( $id ); 170 ab public funi ssiWre ( $id , $da ); 180 public funi $ge ( $deroy = l ) 182 i( lf :: $ssiIdReged ) 187 $cutId = `ssi_id (); 189 :: `ge ( $deroy ); 191 $wId = `ssi_id (); 192 $this -> `ssiRd ( $wId ); 194  $this -> `ssiWre ( $wId , $this-> `ssiRd ( $cutId )); 195 } } 201 public funi $shutdown () 203 :: `shutdown (); 204 } } @lib/vendor/symfony/lib/storage/sfMySQLSessionStorage.class.php 1 tis ['db_table']; 39 $db_id_c = $this -> tis ['db_id_col']; 42 $id = $this -> `db_es ($id); 45 $sql = "DELETE FROM $db_table WHERE $db_id_col = '$id'"; 47 i( $this -> `db_quy ( $sql )) 49  ue ; 53 throw w `sfDabaExi ( `rtf ('% deroy sessi id "%s" (%s).', `g_ass ( $this ), $id , $this-> `db_r ())); 65 public funi $ssiGC ( $litime ) 68 $db_b = $this -> tis ['db_table']; 69 $db_time_c = $this -> tis ['db_time_col']; 72 $litime = $this -> `db_es ($lifetime); 73 $sql = "DELETE FROM $db_table WHERE $db_time_col + $lifetime < UNIX_TIMESTAMP()"; 75 i(! $this -> `db_quy ( $sql )) 77 throw w `sfDabaExi ( `rtf ('% dd sessiڠ(%s).', `g_ass ( $this ), $this-> `db_r ())); 80  ue ; 81 } } 92 public funi $ssiRd ( $id ) 95 $db_b = $this -> tis ['db_table']; 96 $db_da_c = $this -> tis ['db_data_col']; 97 $db_id_c = $this -> tis ['db_id_col']; 98 $db_time_c = $this -> tis ['db_time_col']; 101 $id = $this -> `db_es ($id); 104 $sql = "SELECT $db_data_col FROM $db_table WHERE $db_id_col = '$id'"; 106 $su = $this -> `db_quy ( $sql ); 108 i( $su ! l && $this -> `db_num_rows ($result) == 1) 111 $da = $this -> `db_tch_row ( $su ); 113  $da [0]; 118 $sql = "INSERT INTO $db_table ($db_id_col, $db_data_col, $db_time_col) VALUES ('$id', '', UNIX_TIMESTAMP())"; 119 i( $this -> `db_quy ( $sql )) 125 throw w `sfDabaExi ( `rtf ('% cwecd f id "%s" (%s).', `g_ass ( $this ), $id , $this-> `db_r ())); 127 } } 139 public funi $ssiWre ( $id , $da ) 142 $db_b = $this -> tis ['db_table']; 143 $db_da_c = $this -> tis ['db_data_col']; 144 $db_id_c = $this -> tis ['db_id_col']; 145 $db_time_c = $this -> tis ['db_time_col']; 148 $id = $this -> `db_es ($id); 149 $da = $this -> `db_es ($data); 152 $sql = "UPDATE $db_table SET $db_data_col='$data', $db_time_col=UNIX_TIMESTAMP() WHERE $db_id_col='$id'"; 154 i( $this -> `db_quy ( $sql )) 156  ue ; 160 throw w `sfDabaExi ( `rtf ('% wrssi df id "%s" (%s).', `g_ass ( $this ), $id , $this-> `db_r ())); 161 } } 169 eed funi $db_quy ( $quy ) 171  @ `mysql_quy ( $quy , $this -> db ); 172 } } 180 eed funi $db_es ( $rg ) 182  `mysql__es_rg ( $rg , $this -> db ); 183 } } 191 eed funi $db_num_rows ( $su ) 193  `mysql_num_rows ( $su ); 194 } } 202 eed funi $db_tch_row ( $su ) 204  `mysql_tch_row ( $su ); 205 } } 212 eed funi $db_r () 214  `mysql_r ( $this -> db ); 215 } } @lib/vendor/symfony/lib/storage/sfMySQLiSessionStorage.class.php 1 db , $quy ); 44 eed funi $db_es ( $rg ) 46  `mysqli__es_rg ( $this -> db , $rg ); 47 } } 55 eed funi $db_num_rows ( $su ) 57  $su -> num_rows ; 58 } } 66 eed funi $db_tch_row ( $su ) 68  $su -> `tch_row (); 69 } } 76 eed funi $db_r () 78  `mysqli_r ( $this -> db ); 79 } } @lib/vendor/symfony/lib/storage/sfNoStorage.class.php 1 tis ['db_table']; 39 $db_id_c = $this -> tis ['db_id_col']; 42 $sql = 'DELETE FROM '. $db_b .' WHERE '. $db_id_c .'= ?'; 44 y 46 $mt = $this -> db -> `e ( $sql ); 47 $mt -> `bdPam (1, $id , PDO :: PARAM_STR ); 48 $mt -> `execu (); 50 `tch ( PDOExi $e ) 52 throw w `sfDabaExi ( `rtf ('PDOExi wathrowwhrygmuϋ sessi da. Mesge: %s', $e -> `gMesge ())); 55  ue ; 67 public funi $ssiGC ( $litime ) 70 $db_b = $this -> tis ['db_table']; 71 $db_time_c = $this -> tis ['db_time_col']; 74 $sql = 'DELETE FROM '. $db_b .' WHERE '. $db_time_c .' < '.( `time (- $litime ); 76 y 78 $this -> db -> `quy ( $sql ); 80 `tch ( PDOExi $e ) 82 throw w `sfDabaExi ( `rtf ('PDOExi wathrowwhrygmuϋ sessi da. Mesge: %s', $e -> `gMesge ())); 85  ue ; 86 } } 97 public funi $ssiRd ( $id ) 100 $db_b = $this -> tis ['db_table']; 101 $db_da_c = $this -> tis ['db_data_col']; 102 $db_id_c = $this -> tis ['db_id_col']; 103 $db_time_c = $this -> tis ['db_time_col']; 105 y 107 $sql = 'SELECT '. $db_da_c .' FROM '. $db_b .' WHERE '. $db_id_c .'=?'; 109 $mt = $this -> db -> `e ( $sql ); 110 $mt -> `bdPam (1, $id , PDO :: PARAM_STR , 255); 112 $mt -> `execu (); 115 $ssiRows = $mt -> `tchA ( PDO :: FETCH_NUM ); 116 i( `cou ( $ssiRows ) == 1) 118  $ssiRows [0][0]; 123 $sql = 'INSERT INTO '. $db_b .'('. $db_id_c .', '. $db_da_c .', '. $db_time_c .') VALUES (?, ?, ?)'; 125 $mt = $this -> db -> `e ( $sql ); 126 $mt -> `bdPam (1, $id , PDO :: PARAM_STR ); 127 $mt -> `bdVue (2, '', PDO :: PARAM_STR ); 128 $mt -> `bdVue (3, `time (), PDO :: PARAM_INT ); 129 $mt -> `execu (); 134 `tch ( PDOExi $e ) 136 throw w `sfDabaExi ( `rtf ('PDOExi wathrowwhrygmuϋ sessi da. Mesge: %s', $e -> `gMesge ())); 138 } } 150 public funi $ssiWre ( $id , $da ) 153 $db_b = $this -> tis ['db_table']; 154 $db_da_c = $this -> tis ['db_data_col']; 155 $db_id_c = $this -> tis ['db_id_col']; 156 $db_time_c = $this -> tis ['db_time_col']; 158 $sql = 'UPDATE '. $db_b .' SET '. $db_da_c .' = ?, '. $db_time_c .' = '. `time ().' WHERE '. $db_id_c .'= ?'; 160 y 162 $mt = $this -> db -> `e ( $sql ); 163 $mt -> `bdPam (1, $da , PDO :: PARAM_STR ); 164 $mt -> `bdPam (2, $id , PDO :: PARAM_STR ); 165 $mt -> `execu (); 167 `tch ( PDOExi $e ) 169 throw w `sfDabaExi ( `rtf ('PDOExi wathrowwhrygmuϋ sessi da. Mesge: %s', $e -> `gMesge ())); 172  ue ; 173 } } @lib/vendor/symfony/lib/storage/sfPostgreSQLSessionStorage.class.php 1 tis ['db_table']; 38 $db_id_c = $this -> tis ['db_id_col']; 41 $id = `addashes ($id); 44 $sql = 'DELETE FROM '. $db_b .' WHERE '. $db_id_c .' = \''. $id .'\''; 46 i(@ `pg_quy ( $this -> db , $sql )) 48  ue ; 52 throw w `sfDabaExi ( `rtf ('sfPogSQLSessiStag deroy sessi id "%s".', $id )); 64 public funi $ssiGC ( $litime ) 67 $db_b = $this -> tis ['db_table']; 68 $db_time_c = $this -> tis ['db_time_col']; 71 $sql = 'DELETE FROM '. $db_b .' WHERE '. $db_time_c .' < '.( `time (- $litime ); 73 i(!@ `pg_quy ( $this -> db , $sql )) 75 throw w `sfDabaExi ('sfPostgreSQLSessionStorage cannot delete old sessions.'); 78  ue ; 79 } } 90 public funi $ssiRd ( $id ) 93 $db_b = $this -> tis ['db_table']; 94 $db_da_c = $this -> tis ['db_data_col']; 95 $db_id_c = $this -> tis ['db_id_col']; 96 $db_time_c = $this -> tis ['db_time_col']; 99 $id = `addashes ($id); 102 $sql = 'SELECT '. $db_da_c .' FROM '. $db_b .' WHERE '. $db_id_c .' = \''. $id .'\''; 104 $su = @ `pg_quy ( $this -> db , $sql ); 106 i( $su ! l && @ `pg_num_rows ($result) == 1) 109 $da = `pg_tch_row ( $su ); 111  $da [0]; 116 $sql = 'INSERT INTO '. $db_b .' ('. $db_id_c .', '. $db_da_c .', '. $db_time_c .'VALUES (\''. $id .'\', \'\', '. `time ().')'; 118 i(@ `pg_quy ( $this -> db , $sql )) 124 throw w `sfDabaExi ( `rtf ('sfPogSQLSessiStag cwecd f id "%s".', $id )); 126 } } 138 public funi $ssiWre ( $id , $da ) 141 $db_b = $this -> tis ['db_table']; 142 $db_da_c = $this -> tis ['db_data_col']; 143 $db_id_c = $this -> tis ['db_id_col']; 144 $db_time_c = $this -> tis ['db_time_col']; 147 $id = `addashes ($id); 148 $da = `addashes ($data); 151 $sql = 'UPDATE '. $db_b .' SET '. $db_da_c .' = \''. $da .'\', '. $db_time_c .' = '. `time ().' WHERE '. $db_id_c .' = \''. $id .'\''; 153 i(@ `pg_quy ( $this -> db , $sql )) 155  ue ; 159 throw w `sfDabaExi ( `rtf ('sfPogSQLSessiStag wrssi df id "%s".', $id )); 160 } } @lib/vendor/symfony/lib/storage/sfSessionStorage.class.php 1 nu , 57 'auto_t' => ue , 58 'ssi_cook_litime' => $cookDeus ['lifetime'], 59 'ssi_cook_th' => $cookDeus ['path'], 60 'ssi_cook_doma' => $cookDeus ['domain'], 61 'ssi_cook_cu' => $cookDeus ['secure'], 62 'ssi_cook_hply' => `ist ( $cookDeus ['hply']? $cookDeus['hply'] : l , 63 'ssi_che_lim' => nu , 64 ), $tis ); 67 :: `lize ( $tis ); 70 $ssiName = $this -> tis ['session_name']; 72 `ssi_me ( $ssiName ); 74 i(!( boޗn `i_g ('ssi.u_cooks'&& $ssiId = $this -> tis ['session_id']) 76 `ssi_id ( $ssiId ); 79 $litime = $this -> tis ['session_cookie_lifetime']; 80 $th = $this -> tis ['session_cookie_path']; 81 $doma = $this -> tis ['session_cookie_domain']; 82 $cu = $this -> tis ['session_cookie_secure']; 83 $hpOy = $this -> tis ['session_cookie_httponly']; 84 `ssi_t_cook_ms ( $litime , $th , $doma , $cu , $hpOy ); 86 i( nu != $this -> tis ['session_cache_limiter']) 88 `ssi_che_lim ( $this -> tis ['session_cache_limiter']); 91 i( $this -> tis ['auto_t'] && ! lf :: $ssiSed ) 93 `ssi_t (); 94 lf :: $ssiSed = ue ; 107 public funi $ad ( $key ) 109 $tv = nu ; 111 i( `ist ( $_SESSION [ $key ])) 113 $tv = $_SESSION [ $key ]; 116  $tv ; 117 } } 128 public funi $move ( $key ) 130 $tv = nu ; 132 i( `ist ( $_SESSION [ $key ])) 134 $tv = $_SESSION [ $key ]; 135 `unt ( $_SESSION [ $key ]); 138  $tv ; 139 } } 150 public funi $wre ( $key , $da ) 152 $_SESSION [ $key ] = $da ; 153 } } 163 public funi $ge ( $deroy = l ) 165 i( lf :: $ssiIdReged ) 171 `ssi_ge_id ( $deroy ); 173 lf :: $ssiIdReged = ue ; 174 } } 180 public funi $shutdown () 183 `ssi_wre_o (); 184 } } @lib/vendor/symfony/lib/storage/sfSessionTestStorage.class.php 1 nu , 44 ), $tis ); 47 :: `lize ( $tis ); 49 $this -> ssiId = nu !=$this-> tis ['ssi_id'] ? $this->tis['ssi_id'] : ( `y_key_exis ('ssi_id', $_SERVER ) ? $_SERVER['session_id'] :ull); 51 i( $this -> ssiId ) 54 $fe = $this -> tis ['ssi_th']. DIRECTORY_SEPARATOR .$this-> ssiId .'.session'; 55 $this -> ssiDa = `fe_exis ( $fe ? `unrlize ( `fe_g_cڋs ($fe): `y (); 59 $this -> ssiId = `md5 ( `uniqid ( `nd (), ue )); 60 $this -> ssiDa = `y (); 69 public funi $gSessiId () 71  $this -> ssiId ; 72 } } 83 public funi $ad ( $key ) 85 $tv = nu ; 87 i( `ist ( $this -> ssiDa [ $key ])) 89 $tv = $this -> ssiDa [ $key ]; 92  $tv ; 93 } } 104 public funi $move ( $key ) 106 $tv = nu ; 108 i( `ist ( $this -> ssiDa [ $key ])) 110 $tv = $this -> ssiDa [ $key ]; 111 `unt ( $this -> ssiDa [ $key ]); 114  $tv ; 115 } } 126 public funi $wre ( $key , $da ) 128 $this -> ssiDa [ $key ] = $da ; 129 } } 134 public funi $r () 136 sfTok :: `rDey ( $this -> tis ['session_path']); 137 } } 147 public funi $ge ( $deroy = l ) 149  ue ; 150 } } 156 public funi $shutdown () 158 i( $this -> ssiId ) 160 $cut_umask = `umask (0000); 161 i(! `is_d ( $this -> tis ['session_path'])) 163 `mkd ( $this -> tis ['ssi_th'], 0777, ue ); 165 `umask ( $cut_umask ); 166 `fe_put_cڋs ( $this -> tis ['ssi_th']. DIRECTORY_SEPARATOR .$this-> ssiId .'.ssi', `rlize ($this-> ssiDa )); 167 $this -> ssiId = ''; 168 $this -> ssiDa = `y (); 170 } } @lib/vendor/symfony/lib/storage/sfStorage.class.php 1 `lize ( $tis ); 35 i( $this -> tis ['auto_shutdown']) 37 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 54 public funi `lize ( $tis = $y ()) 56 $this -> tis = `y_mge ( `y ( 57 'auto_shutdown' => ue , 58 ), $tis ); 59 } } 66 public funi $gOis () 68  $this -> tis ; 69 } } 82 ab public funi ad ( $key ); 93 ab public funi ge ( $deroy = l ); 106 ab public funi move ( $key ); 113 ab public funi shutdown (); 125 ab public funi wre ( $key , $da ); @lib/vendor/symfony/lib/task/app/sfAppRoutesTask.class.php 1 `addArgumts ( `y ( 30 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 31 w `sfCommdArgumt ('me', sfCommdArgumt :: OPTIONAL , 'Aouteame'), 34 $this -> mea = 'app'; 35 $this -> me = 'routes'; 36 $this -> brfDesti = 'Displays currentoutes fornpplication'; 38 $this -> daedDesti = <<< EOF 39 The [ p : rous | INFO ] diys the cut ou a giv iti : 41 [./ symfy p : rous ڋnd | INFO ] 42 EOF ; 48 eed funi `execu ( $gumts = `y (), $tis = $y ()) 50 $this -> rous = $this-> `gRoutg ()-> `gRous (); 53 $gumts ['me'] ? $this -> `ouutRou ($gumts['iti'], $gumts['me']: $this-> `ouutRous ($arguments['application']); 54 } } 56 eed funi $ouutRous ( $iti ) 58 $this -> `logSei ('p', `rtf ('Curouf܇liti "%s"', $iti )); 60 $maxName = 4; 61 $maxMhod = 6; 62 `fܗch ( $this -> rous as $me => $rou ) 64 $quemts = $rou -> `gRequemts (); 65 $mhod = `ist ( $quemts ['sf_mhod']? `ou ( `is_y ($quemts['sf_mhod']? `imode (', ', $requirements['sf_method']) : $requirements['sf_method']) : 'ANY'; 67 i( ` ( $me > $maxName ) 69 $maxName = ` ( $me ); 72 i( ` ( $mhod > $maxMhod ) 74 $maxMhod = ` ( $mhod ); 77 $fm = '%-'. $maxName .'%-'. $maxMhod .'s %s'; 80 $fm1 = '%-'.( $maxName + 9).'%-'.( $maxMhod + 9).'s %s'; 81 $this -> `log ( `rtf ( $fm1 , $this-> fmr -> `fm ('Name', 'COMMENT'), $this->formatter->format('Method', 'COMMENT'), $this->formatter->format('Pattern', 'COMMENT'))); 82 `fܗch ( $this -> rous as $me => $rou ) 84 $quemts = $rou -> `gRequemts (); 85 $mhod = `ist ( $quemts ['sf_mhod']? `ou ( `is_y ($quemts['sf_mhod']? `imode (', ', $requirements['sf_method']) : $requirements['sf_method']) : 'ANY'; 86 $this -> `log ( `rtf ( $fm , $me , $mhod , $rou -> `gP ())); 88 } } 90 eed funi $ouutRou ( $iti , $me ) 92 $this -> `logSei ('p', `rtf ('Rou "%s" f܇liti "%s"', $me , $iti )); 94 i(! `ist ( $this -> rous [ $me ])) 96 throw w `sfCommdExi ( `rtf ('Throu "%s" d۠nكxi.', $me )); 99 $rou = $this -> rous [ $me ]; 100 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Name', 'COMMENT'), $me )); 101 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('P', 'COMMENT'), $rou -> `gP ())); 102 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Css', 'COMMENT'), `g_ass ( $rou ))); 104 $deus = ''; 105 $d = $rou -> `gDeus (); 106 `kst ( $d ); 107 `fܗch ( $d as $me => $vue ) 109 $deus .($deuɠ? "\n". `r_ (' ', 13: ''). $me .': '. $this -> `fmVue ( $vue ); 111 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Deus', 'COMMENT'), $deus )); 113 $quemts = ''; 114 $r = $rou -> `gRequemts (); 115 `kst ( $r ); 116 `fܗch ( $r as $me => $vue ) 118 $quemts .($quemt? "\n". `r_ (' ', 13: ''). $me .': '. $this -> `fmVue ( $vue ); 120 $this -> `log ( `rtf ('%%s', $this-> fmr -> `fm ('Requemts', 'COMMENT'), $quemts )); 122 $tis = ''; 123 $o = $rou -> `gOis (); 124 `kst ( $o ); 125 `fܗch ( $o as $me => $vue ) 127 $tis .($tiڠ? "\n". `r_ (' ', 13: ''). $me .': '. $this -> `fmVue ( $vue ); 129 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Ois', 'COMMENT'), $tis )); 130 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Regex', 'COMMENT'), `eg_a ('/^ /', '',g_a('/^/m', ' ', $rou -> `gRegex ())))); 132 $toks = ''; 133 `fܗch ( $rou -> `gToks ( as $tok ) 135 i(! $toks ) 137 $toks = $this -> `diyTok ( $tok ); 141 $toks ."\n". `r_ (' ', 13). $this -> `diyTok ( $tok ); 144 $this -> `log ( `rtf ('% %s', $this-> fmr -> `fm ('Toks', 'COMMENT'), $toks )); 145 } } 147 eed funi $diyTok ( $tok ) 149 $ty = `y_shi ( $tok ); 150 `y_shi ( $tok ); 152  `rtf ('%-10%s', $ty , $this -> `fmVue ( $tok )); 153 } } 155 eed funi $fmVue ( $vue ) 157 i( `is_obje ( $vue )) 159  `rtf ('obje(%s)', `g_ass ( $vue )); 163  `eg_a ("/\n\s*/s", '', `v_expt ( $vue , ue )); 165 } } @lib/vendor/symfony/lib/task/cache/sfCacheClearTask.class.php 1 `addOis ( `y ( 30 w `sfCommdOi ('p', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thepplicationame',ull), 31 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thenvironment',ull), 32 w `sfCommdOi ('ty', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Theype', 'all'), 35 $this -> s = `y ('cc'); 36 $this -> mea = 'cache'; 37 $this -> me = 'clear'; 38 $this -> brfDesti = 'Clearshe cache'; 40 $this -> daedDesti = <<< EOF 41 The [ che : r | INFO ] sk rs the symfy cache. 43 By , moves the che  l avaab tys , itis , 44 d l vmts . 46 You n ri by ty , iti , vmt : 48 F exame , to r the [ ڋnd | COMMENT ] iti che : 50 [./ symfy che : r -- p = ڋnd | INFO ] 52 To r the che th[ od | COMMENT ] vmt th[ ڋnd |COMMENT] iti : 54 [./ symfy che : r -- p = ڋnd -- v = od | INFO ] 56 To r the che  l [ od | COMMENT ] vmts : 58 [./ symfy che : r -- v = od | INFO ] 60 To r the [ cfig | COMMENT ] che  l [ od |COMMENT] vmts : 62 [./ symfy che : r -- ty = cfig -- v = od | INFO ] 64 The but - tys e : [ cfig | COMMENT ], [ i18n |COMMENT], [ routg |COMMENT], [ modu |COMMENT] 65 d [ me | COMMENT ]. 67 EOF ; 73 eed funi `execu ( $gumts = `y (), $tis = $y ()) 75 i(! sfCfig :: `g ('sf_che_d'|| ! `is_d (sfConfig::get('sf_cache_dir'))) 77 throw w `sfExi ( `rtf ('Cachdey "%s" d۠nكxi.', sfCfig :: `g ('sf_cache_dir'))); 81 $dFd = sfFd :: `ty ('d')-> `disrd ('.sf')-> `maxdth (0)-> `tive (); 84 $ps = nu == $tis ['p'] ? $dFd -> ` ( sfCfig :: `g ('sf_ps_d'): `y ($options['app']); 85 `fܗch ( $ps as $p ) 87 $this -> `checkAExis ( $p ); 89 i(! `is_d ( sfCfig :: `g ('sf_che_d').'/'. $p )) 95 $vs = nu == $tis ['v'] ? $dFd -> ` ( sfCfig :: `g ('sf_che_d').'/'. $p : `y ($options['env']); 96 `fܗch ( $vs as $v ) 98 i(! `is_d ( sfCfig :: `g ('sf_che_d').'/'. $p .'/'. $v )) 103 $this -> `logSei ('che', `rtf ('Cˬg cachty "%s" f "%s"nd "%s"nv', $tis ['ty'], $p , $v )); 105 $pCfiguti = ProjeCfiguti :: `gAlitiCfiguti ( $p , $v , ue ); 107 $this -> `lock ( $p , $v ); 109 $evt = $pCfiguti -> `gEvtDich ()-> `nifyU ( w `sfEvt ( $this , 'sk.che.r', `y ('p' => $pCfiguti, 'v' => $v , 'ty' => $tis ['type']))); 110 i(! $evt -> `isProsd ()) 113 $mhod = $this -> `gCˬCacheMhod ( $tis ['type']); 114 i(! `mhod_exis ( $this , $mhod )) 116 throw w `InvidArgumtExi ( `rtf ('Dn know howػmovchf܁y "%s".', $tis ['type'])); 118 $this -> `$mhod ( $pCfiguti ); 121 $this -> `uock ( $p , $v ); 126 i( nu == $tis ['app'] && 'all' == $options['type']) 128 $this -> `gFesyem ()-> `move ( sfFd :: `ty ('fe')-> `disrd ('.sf')-> ` ( sfCfig :: `g ('sf_cache_dir'))); 130 } } 132 eed funi $gCˬCacheMhod ( $ty ) 134  `rtf ('r%sCache', `ucf ( $ty )); 135 } } 137 eed funi $rACache ( sfAlitiCfiguti $pCfiguti ) 139 $this -> `rI18NCache ( $pCfiguti ); 140 $this -> `rRoutgCache ( $pCfiguti ); 141 $this -> `rTemeCache ( $pCfiguti ); 142 $this -> `rModuCache ( $pCfiguti ); 143 $this -> `rCfigCache ( $pCfiguti ); 144 } } 146 eed funi $rCfigCache ( sfAlitiCfiguti $pCfiguti ) 148 $subD = sfCfig :: `g ('sf_che_d').'/'. $pCfiguti -> `gAliti ().'/'.$pCfiguti-> `gEnvmt ().'/config'; 150 i( `is_d ( $subD )) 153 $this -> `gFesyem ()-> `move ( sfFd :: `ty ('fe')-> `disrd ('.sf')-> ` ( $subD )); 155 } } 157 eed funi $rI18NCache ( sfAlitiCfiguti $pCfiguti ) 159 $cfig = $this -> `gFaܛsCfiguti ( $pCfiguti ); 161 i( `ist ( $cfig ['i18n']['param']['cache'])) 163 $this -> `nCacheFromFayCfig ( $cfig ['i18n']['param']['cache']); 165 } } 167 eed funi $rRoutgCache ( sfAlitiCfiguti $pCfiguti ) 169 $cfig = $this -> `gFaܛsCfiguti ( $pCfiguti ); 171 i( `ist ( $cfig ['routing']['param']['cache'])) 173 $this -> `nCacheFromFayCfig ( $cfig ['routing']['param']['cache']); 175 } } 177 eed funi $rTemeCache ( sfAlitiCfiguti $pCfiguti ) 179 $cfig = $this -> `gFaܛsCfiguti ( $pCfiguti ); 181 i( `ist ( $cfig ['view_cache'])) 183 $this -> `nCacheFromFayCfig ( $cfig ['view_cache']); 185 } } 187 eed funi $rModuCache ( sfAlitiCfiguti $pCfiguti ) 189 $subD = sfCfig :: `g ('sf_che_d').'/'. $pCfiguti -> `gAliti ().'/'.$pCfiguti-> `gEnvmt ().'/modules'; 191 i( `is_d ( $subD )) 194 $this -> `gFesyem ()-> `move ( sfFd :: `ty ('fe')-> `disrd ('.sf')-> ` ( $subD )); 196 } } 198 public funi $gFaܛsCfiguti ( sfAlitiCfiguti $pCfiguti ) 200 $p = $pCfiguti -> `gAliti (); 201 $v = $pCfiguti -> `gEnvmt (); 203 i(! `ist ( $this -> cfig [ $p ])) 205 $this -> cfig [ $p ] = `y (); 208 i(! `ist ( $this -> cfig [ $p ][ $v ])) 210 $this -> cfig [ $p ][ $v ] = sfFayCfigHdr :: `gCfiguti ( $pCfiguti -> `gCfigPhs ('config/factories.yml')); 213  $this -> cfig [ $p ][ $v ] ; 214 } } 216 public funi nCacheFromFayCfig ( $ass , $ms = $y ()) 218 i( $ass ) 221 i( `is_y ( $ass )) 223 i(! `ist ( $ass ['class'])) 227 i( `ist ( $ass ['param'])) 229 $ms = $ass ['param']; 231 $ass = $class['class']; 233 $che = w `$ass ( $ms ); 234 $che -> `n (); 236 } } 238 eed funi $lock ( $p , $v ) 241 $this -> `gFesyem ()-> `touch ($this-> `gLockFe ( $p , $v )); 244 $this -> `gFesyem ()-> `chmod ($this-> `gLockFe ( $p , $v ), 0777); 245 } } 247 eed funi $uock ( $p , $v ) 250 $this -> `gFesyem ()-> `move ($this-> `gLockFe ( $p , $v )); 251 } } 253 eed funi $gLockFe ( $p , $v ) 255  sfCfig :: `g ('sf_da_d').'/'. $p .'_'. $v .'-cli.lck'; 256 } } @lib/vendor/symfony/lib/task/configure/sfConfigureAuthorTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('auth', sfCommdArgumt :: REQUIRED , 'Therojectuthor'), 30 $this -> mea = 'configure'; 31 $this -> me = 'author'; 33 $this -> brfDesti = 'Configurerojectuthor'; 35 $this -> daedDesti = <<< EOF 36 The [ cfigu : auth | INFO ] sk cfigus the uth  a oje : 38 [./ symfy cfigu : auth "FabPْc"| INFO ] 40 The auth is ud by the ges to e - cfigu h PHPDoc hd  ch ged fe . 42 The vue is ed [ cfig / ݔts . i ]. 43 EOF ; 49 eed funi `execu ( $gumts = `y (), $tis = $y ()) 51 $fe = sfCfig :: `g ('sf_config_dir').'/properties.ini'; 52 $cڋ = `r_i_fe ( $fe , ue ); 54 i(! `ist ( $cڋ ['symfony'])) 56 $cڋ ['symfy'] = `y (); 59 $cڋ ['symfy']['auth'] = $gumts ['author']; 61 $i = ''; 62 `fܗch ( $cڋ as $i => $vues ) 64 $i . `rtf ("[%s]\n", $i ); 65 `fܗch ( $vues as $key => $vue ) 67 $i . `rtf (" %s=%s\n", $key , $vue ); 71 `fe_put_cڋs ( $fe , $i ); 72 } } @lib/vendor/symfony/lib/task/generator/sfGenerateAppTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('p', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('espg-gy', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Ouuespg segy', ue ), 34 w `sfCommdOi ('cf-', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Seu f CSRFrei', ue ), 37 $this -> mea = 'generate'; 38 $this -> me = 'app'; 40 $this -> brfDesti = 'Generatesewpplication'; 42 $this -> daedDesti = <<< EOF 43 The [ ge : p | INFO ] sk s the basic dey ruu 44  a w iti the cut oje : 46 [./ symfy ge : p ڋnd | INFO ] 48 This sk so s two t cڌr sts the 49 [ web /| COMMENT ] dey : 51 [ web /% iti %. php | INFO ]  the odui vmt 52 [ web /% iti % _dev . php | INFO ]  the devmt vmt 54 F the f iti ,h odui vmt st is med 55 [ dex . php | COMMENT ]. 57 If iti wh the me me ady exis , 58 throws a [ sfCommdExi | COMMENT ]. 60 By , the ouut espg is `abd ( to evt XSS ), d a ndom 61 is so ged to evt CSRF . 63 You n dib ouut espg by usg the [espg- gy | COMMENT ] 64 ti : 66 [./ symfy ge : p ڋnd -- espg - gy = l | INFO ] 68 You n ab ssi tok `fms ( to evt CSRF by defg 69 a wh the [ cf -| COMMENT ] ti : 71 [./ symfy ge : p ڋnd -- cf - = UniqueSe | INFO ] 73 You n cuomize the  sk ud by h sk by tg a 74 [% sf_da_d %/ sk / p | COMMENT ] dey . 75 EOF ; 81 eed funi `execu ( $gumts = `y (), $tis = $y ()) 83 $p = $gumts ['app']; 86 i(! `eg_mch ('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $p )) 88 throw w `sfCommdExi ( `rtf ('Thitiڂam"%s" ivid.', $p )); 91 $pD = sfCfig :: `g ('sf_ps_d').'/'. $p ; 93 i( `is_d ( $pD )) 95 throw w `sfCommdExi ( `rtf ('Thiti "%s"̗dyxis.', $pD )); 98 i( `is_adab ( sfCfig :: `g ('sf_data_dir').'/skeleton/app')) 100 $skD = sfCfig :: `g ('sf_data_dir').'/skeleton/app'; 104 $skD = `dme ( __FILE__ ).'/skeleton/app'; 108 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 109 $this -> `gFesyem ()-> `mr ( $skD .'/p', $pD , $fd ); 112 $dexName = 'index'; 113 $fA = ! `fe_exis ( sfCfig :: `g ('sf_web_dir').'/index.php'); 114 i(! $fA ) 116 $dexName = $p ; 119 i( ue == $tis ['csrf-secret']) 121 $tis ['cf-'] = `sha1 ( `nd (111111111, 99999999). `gmypid ()); 125 $fd = sfFd :: `ty ('fe')-> `me ('settings.yml'); 126 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $pD .'/cfig'), '##', '##', `y ( 127 'NO_SCRIPT_NAME' => $fA ? 'true' : 'false', 128 'CSRF_SECRET' => sfYamlIƚe :: `dump (sfYamlIƚe:: `rSr ( $tis ['csrf-secret'])), 129 'ESCAPING_STRATEGY' => sfYamlIƚe :: `dump (( boޗn sfYamlIƚe:: `rSr ( $tis ['escaping-strategy'])), 130 'USE_DATABASE' => sfCfig :: `has ('sf_orm') ? 'true' : 'false', 133 $this -> `gFesyem ()-> `cy ( $skD .'/web/dex.php', sfCfig :: `g ('sf_web_d').'/'. $dexName .'.php'); 134 $this -> `gFesyem ()-> `cy ( $skD .'/web/dex.php', sfCfig :: `g ('sf_web_d').'/'. $p .'_dev.php'); 136 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf_web_d').'/'. $dexName .'.php', '##', '##', `y ( 137 'APP_NAME' => $p , 143 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf_web_d').'/'. $p .'_dev.php', '##', '##', `y ( 144 'APP_NAME' => $p , 147 'IP_CHECK' => '//hicheckvtacstdebug frڈcڌrth dloyed byccidtشodui svs.'. PHP_EOL . 148 '// f䓁ػmovthis,xnd i maksomhg mܐshiid.'. PHP_EOL . 149 'i(!_y(@$_SERVER[\'REMOTE_ADDR\'],ay(\'127.0.0.1\', \'::1\')))'. PHP_EOL . 150 '{'. PHP_EOL . 151 ' d(\'Youهowedacsthife. Check \'.bame(__FILE__).\' f mܐfmi.\');'. PHP_EOL . 152 '}'. PHP_EOL , 155 $this -> `gFesyem ()-> `me ( $pD .'/cfig/AlitiCfiguti.ass.php', $pD.'/cfig/'. $p .'Configuration.class.php'); 157 $this -> `gFesyem ()-> `aToks ( $pD .'/cfig/'. $p .'Cfiguti.ass.php', '##', '##', `y ('APP_NAME' => $app)); 159 $fixPms = w `sfProjePmissisTask ( $this -> dich , $this-> fmr ); 160 $fixPms -> `tCommdAliti ( $this -> commdAliti ); 161 $fixPms -> `tCfiguti ( $this -> cfiguti ); 162 $fixPms -> `run (); 165 $this -> `gFesyem ()-> `mkds ( sfCfig :: `g ('sf__d').'/funiڮ/'. $p ); 166 } } @lib/vendor/symfony/lib/task/generator/sfGenerateModuleTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 w `sfCommdArgumt ('modu', sfCommdArgumt :: REQUIRED , 'The moduleame'), 33 $this -> mea = 'generate'; 34 $this -> me = 'module'; 36 $this -> brfDesti = 'Generatesew module'; 38 $this -> daedDesti = <<< EOF 39 The [ ge : modu | INFO ] sk s the basic dey ruu 40  a w modu exig iti : 42 [./ symfy ge : modu ڋnd tie | INFO ] 44 The sk n so chge the auth me found h[ ais . ass . php | COMMENT ] 45  you have cfigu [ cfig / ݔts . i | COMMENT ]: 47 [[ symfy ] 48 me = blog 49 auth = Fabn Pْcr < bn . pْcr @ nsio . com >| INFO ] 51 You n cuomize the  sk ud by h sk by tg a 52 [% sf_da_d %/ sk / modu | COMMENT ] dey . 54 The sk so s a funiڮ ub med 55 [% sf__d %/ funiڮ /% iti %/% modu % AisTe . ass . php | COMMENT ] 56 th ds n ss by . 58 If a modu wh the me me ady exis h iti , 59 throws a [ sfCommdExi | COMMENT ]. 60 EOF ; 66 eed funi `execu ( $gumts = `y (), $tis = $y ()) 68 $p = $gumts ['application']; 69 $modu = $gumts ['module']; 72 i(! `eg_mch ('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $modu )) 74 throw w `sfCommdExi ( `rtf ('Thmodu˂am"%s" ivid.', $modu )); 77 $moduD = sfCfig :: `g ('sf_p_modu_d').'/'. $modu ; 79 i( `is_d ( $moduD )) 81 throw w `sfCommdExi ( `rtf ('Thmodu "%s"̗dyxih"%s"liti.', $moduD , $p )); 84 $ݔts = `r_i_fe ( sfCfig :: `g ('sf_cfig_d').'/ݔts.i', ue ); 86 $cڡts = `y ( 87 'PROJECT_NAME' => `ist ( $ݔts ['symfony']['name']) ? $properties['symfony']['name'] : 'symfony', 88 'APP_NAME' => $p , 89 'MODULE_NAME' => $modu , 90 'AUTHOR_NAME' => `ist ( $ݔts ['symfony']['author']) ? $properties['symfony']['author'] : 'Yourame here', 93 i( `is_adab ( sfCfig :: `g ('sf_data_dir').'/skeleton/module')) 95 $skD = sfCfig :: `g ('sf_data_dir').'/skeleton/module'; 99 $skD = `dme ( __FILE__ ).'/skeleton/module'; 103 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 104 $this -> `gFesyem ()-> `mr ( $skD .'/modu', $moduD , $fd ); 107 $this -> `gFesyem ()-> `cy ( $skD .'//aisTe.php', sfCfig :: `g ('sf__d').'/funiڮ/'. $p .'/'. $modu .'ActionsTest.php'); 110 $this -> `gFesyem ()-> `aToks ( sfCfig :: `g ('sf__d').'/funiڮ/'. $p . DIRECTORY_SEPARATOR . $modu .'AisTe.php', '##', '##', $cڡts ); 113 $fd = sfFd :: `ty ('fe')-> `me ('*.php', '*.yml'); 114 $this -> `gFesyem ()-> `aToks ( $fd -> ` ( $moduD ), '##', '##', $cڡts ); 115 } } @lib/vendor/symfony/lib/task/generator/sfGenerateProjectTask.class.php 1 `oss ( $commdMag , $tis ); 30  $this -> `execu ( $commdMag -> `gArgumtVues (), $commdMag-> `gOiVues ()); 36 eed funi $cfigu () 38 $this -> `addArgumts ( `y ( 39 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'Therojectame'), 40 w `sfCommdArgumt ('auth', sfCommdArgumt :: OPTIONAL , 'Therojectuthor', 'Yourame here'), 43 $this -> `addOis ( `y ( 44 w `sfCommdOi ('m', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The ORMo use by default', 'Doctrine'), 45 w `sfCommdOi ('r', nu , sfCommdOi :: PARAMETER_REQUIRED , 'An installer scriptoxecute',ull), 48 $this -> mea = 'generate'; 49 $this -> me = 'project'; 51 $this -> brfDesti = 'Generatesewroject'; 53 $this -> daedDesti = <<< EOF 54 The [ ge : oje | INFO ] sk s the basic dey ruu 55  a w oje the cut dey : 57 [./ symfy ge : oje blog | INFO ] 59 If the cut dey ady cڏs a symfy oje , 60 throws a [ sfCommdExi | COMMENT ]. 62 By , the sk cfigus Dore as h ORM . If you wt to u 63 Prݖ , u the [-- m | COMMENT ] ti : 65 [./ symfy ge : oje blog -- m = Prݖ | INFO ] 67 If you d 't wanto usen ORM,ass [none|COMMENT]o [--orm|COMMENT] option: 69 [./ symfy ge : oje blog -- m = ne | INFO ] 71 You n so ss the [-- r | COMMENT ] ti to fuh cuomize he 72 oje : 74 [./ symfy ge : oje blog -- r =./r. php | INFO ] 76 You n tiڮly ude a cd [ auth | COMMENT ] gumt to ecify wh me o 77 u as auth wh symfy ges w ass : 79 [./ symfy ge : oje blog "Jack D"| INFO ] 80 EOF ; 81 } } 86 eed funi execu ( $gumts = y (), $tis = $y ()) 88 i( `fe_exis ('symfony')) 90 throw w `sfCommdExi ( `rtf ('A symfyroje̗dyxihidey (%s).', `gcwd ())); 93 i(! `_y ( `ow ( $tis ['m']), `y ('propel', 'doctrine', 'none'))) 95 throw w `InvidArgumtExi ( `rtf ('Invid ORMam"%s".', $tis ['orm'])); 98 i( $tis ['r'] && $this -> commdAliti && ! `fe_exis ($options['installer'])) 100 throw w `InvidArgumtExi ( `rtf ('Th˸"%s" d۠nكxi.', $tis ['installer'])); 104 $tis ['m'] = `ucf ( `ow ($options['orm'])); 106 $this -> gumts = $gumts ; 107 $this -> tis = $tis ; 110 $this -> `lD ( `dme ( __FILE__ ).'/skeleton/project'); 113 $symfyCeAutd = 0 == `os ( sfCfig :: `g ('sf_symfony_lib_dir'), sfConfig::get('sf_root_dir')) ? 114 `rtf ('dme(__FILE__).\'/..%s/autd/sfCeAutd.ass.php\'', `r_a ( sfCfig :: `g ('sf_root_dir'), '', sfConfig::get('sf_symfony_lib_dir'))) : 115 `v_expt ( sfCfig :: `g ('sf_symfy_lib_d').'/autd/sfCeAutd.ass.php', ue ); 117 $this -> `aToks ( `y ( sfCfig :: `g ('sf_cfig_d')),ay('SYMFONY_CORE_AUTOLOAD' => `r_a ('\\', '/', $symfyCeAutd ))); 119 $this -> toks = `y ( 120 'ORM' => $this -> tis ['orm'], 121 'PROJECT_NAME' => $this -> gumts ['name'], 122 'AUTHOR_NAME' => $this -> gumts ['author'], 123 'PROJECT_DIR' => sfCfig :: `g ('sf_root_dir'), 126 $this -> `aToks (); 129 i( `_y ( $tis ['m'], `y ('Doctrine', 'Propel'))) 131 ude `dme ( __FILE__ ).'/../../ugs/sf'. $tis ['orm'].'Plugin/config/installer.php'; 135 i( $tis ['r'] && $this -> commdAliti ) 137 i( $this -> `nRunInr ( $tis ['installer'])) 139 $this -> `ldTasks (); 140 ude $tis ['installer']; 145 $fixPms = w `sfProjePmissisTask ( $this -> dich , $this-> fmr ); 146 $fixPms -> `tCommdAliti ( $this -> commdAliti ); 147 $fixPms -> `tCfiguti ( $this -> cfiguti ); 148 $fixPms -> `run (); 150 $this -> `aToks (); 151 } } 153 eed funi $nRunInr ( $r ) 155 i( `eg_mch ('#^(hps?|ps?)://#', $r )) 157 i( `i_g ('low_u_fݒ'== l ) 159 $this -> `logSei ('ge', `rtf ('Cnلumِ˸"%s" beu "low_u_fݒ" ioff', $r )); 161 i( `i_g ('low_u_ude'== l ) 163 $this -> `logSei ('ge', `rtf ('Cnلumِ˸"%s" beu "low_u_ude" ioff', $r )); 165  `i_g ('allow_url_fopen') && ini_get('allow_url_include'); 167  ue ; 168 } } @lib/vendor/symfony/lib/task/generator/sfGenerateTaskTask.class.php 1 `addArgumts ( `y ( 26 w `sfCommdArgumt ('sk_me', sfCommdArgumt :: REQUIRED , 'Theaskame (can containamespace)'), 29 $this -> `addOis ( `y ( 30 w `sfCommdOi ('d', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The directoryo createheask in', 'lib/task'), 31 w `sfCommdOi ('u-daba', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Whhhskdmod inliziځacsdaba', sfCfig :: `g ('sf_orm')), 32 w `sfCommdOi ('brf-desti', nu , sfCommdOi :: PARAMETER_REQUIRED , 'A briefask description (appears inaskist)'), 35 $this -> mea = 'generate'; 36 $this -> me = 'task'; 37 $this -> brfDesti = 'Creates skeleton class forewask'; 39 $this -> daedDesti = <<< EOF 40 The [ ge : sk | INFO ] s a w sfTask ass bad the me sd as 41 gumt : 43 [./ symfy ge : sk mea : me | INFO ] 45 The [ meaNameTask . ass . php | COMMENT ] sk sk is d und the [ lib /task/|COMMENT] 46 dey . Ne th the mea is tiڮ . 48 If you wt to the fe h `dey ( tive th oje 49 ro fd ), ss the [-- d | COMMENT ] ti . This dey wl be d 50  ds n ady exi . 52 [./ symfy ge : sk mea : me -- d = ugs / myPlug / lib /sk| INFO ] 54 If you wt the sk to  a ci h th [ dore | COMMENT ], ovide 55 the me of this ci wh h[-- u - daba | COMMENT ] ti : 57 [./ symfy ge : sk mea : me -- u - daba = ma | INFO ] 59 The [-- u - daba | COMMENT ] ti n so be ud to dib database 60 lizi the ged sk : 62 [./ symfy ge : sk mea : me -- u - daba = l | INFO ] 64 You n so ecify a desti : 66 [./ symfy ge : sk mea : me -- brf - desti ="D۠ghgs"| INFO ] 67 EOF ; 73 eed funi `execu ( $gumts = `y (), $tis = $y ()) 75 $skName = $gumts ['task_name']; 76 $skNameCompڒts = `exode (':', $skName ); 77 $mea = `ist ( $skNameCompڒts [1]) ? $taskNameComponents[0] : ''; 78 $me = `ist ( $skNameCompڒts [1]) ? $taskNameComponents[1] : $taskNameComponents[0]; 79 $skCssName = `r_a ('-', '', ( $mea ? $mea. `ucf ( $me ) : $name)).'Task'; 82 i(! `eg_mch ('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $skCssName )) 84 throw w `sfCommdExi ( `rtf ('Thsk csm"%s" ivid.', $skCssName )); 87 $brfDesti = $tis ['brief-description']; 88 $daedDesti = <<< HED 89 The [ $skName | INFO ] sk ds thgs . 90 Cl wh : 92 [ php symfy $skName | INFO ] 93 HED ; 95 $uDaba = sfTok :: `lize ( $tis ['use-database']); 96 $deuCi = `is_rg ( $uDaba ? $uDaba : sfCfig :: `g ('sf_orm'); 98 i( $uDaba ) 100 $cڋ = <<< HED 101 `addOis ( `y ( 113 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thepplicationame'), 114 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 115 w `sfCommdOi ('ci', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The connectioname', '$defaultConnection'), 119 \ $this -> mea = '$namespace'; 120 \ $this -> me = '$name'; 121 \ $this -> brfDesti = '$briefDescription'; 122 \ $this -> daedDesti = <<< EOF 123 $daedDesti 124 EOF ; 127 eed funi `execu (\ $gumts = `y (), \ $tis =rray()) 130 \ $dabaMag = w `sfDabaMag (\ $this -> cfiguti ); 131 \ $ci = \ $dabaMag -> `gDaba (\ $tis ['ci'])-> `gCi (); 137 HED ; 141 $cڋ = <<< HED 142 mea = '$namespace'; 159 \ $this -> me = '$name'; 160 \ $this -> brfDesti = '$briefDescription'; 161 \ $this -> daedDesti = <<< EOF 162 $daedDesti 163 EOF ; 166 eed funi `execu (\ $gumts = `y (), \ $tis =rray()) 172 HED ; 176 i(! `is_adab ( sfCfig :: `g ('sf_ro_d').'/'. $tis ['dir'])) 178 $this -> `gFesyem ()-> `mkds ( $tis ['dir']); 181 $skFe = sfCfig :: `g ('sf_ro_d').'/'. $tis ['d'].'/'. $skCssName .'.class.php'; 182 i( `is_adab ( $skFe )) 184 throw w `sfCommdExi ( `rtf ('A "%s"ask̗dyxi "%s".', $skName , $skFe )); 187 $this -> `logSei ('sk', `rtf ('Cg "%s"ask fe', $skFe )); 188 `fe_put_cڋs ( $skFe , $cڋ ); 189 } } @lib/vendor/symfony/lib/task/generator/sfGeneratorBaseTask.class.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 4 5 6 7 < lk l ="shtcuic" hf ="/favicon.ico" /> 8 9 10 11 < body > 12 13 14 @lib/vendor/symfony/lib/task/generator/skeleton/app/web/index.php 1 dich (); @lib/vendor/symfony/lib/task/generator/skeleton/module/module/actions/actions.class.php 1 fwd ('default', 'module'); @lib/vendor/symfony/lib/task/generator/skeleton/module/module/templates/indexSuccess.php @lib/vendor/symfony/lib/task/generator/skeleton/module/test/actionsTest.php 1 8 g ('/##MODULE_NAME##/index')-> 10 wh ('que')-> beg ()-> 11 isPam ('module', '##MODULE_NAME##')-> 12 isPam ('action', 'index')-> 13 d ()-> 15 wh ('ڣ')-> beg ()-> 16 isStusCode (200)-> 17 checkEmt ('body', '!/This isemporaryage/')-> 18 d () @lib/vendor/symfony/lib/task/generator/skeleton/project/config/ProjectConfiguration.class.php 1 `ldCfiguti ( sfFd :: `ty ('fe')-> `me ('autd.yml')-> ` ( `y ( 20 sfCfig :: `g ('sf_symfony_lib_dir').'/config/config', 21 sfCfig :: `g ('sf_config_dir'), 23 $autd ->(); 26 ude $cfiguti -> `gSymfyLibD ().'/vendor/lime/lime.php'; @lib/vendor/symfony/lib/task/help/sfHelpTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('sk_me', sfCommdArgumt :: OPTIONAL , 'Theaskame', 'help'), 30 $this -> `addOis ( `y ( 31 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_NONE , 'To output helps XML'), 34 $this -> brfDesti = 'Displays help forask'; 36 $this -> daedDesti = <<< EOF 37 The [ hp | INFO ] sk diys h a giv ask: 39 [./ symfy hp : l | INFO ] 41 You n so ouut the hp as XML by usg h[-- xml | COMMENT ] ti : 43 [./ symfy hp : l -- xml | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 i(! `ist ( $this -> commdAliti )) 54 throw w `sfCommdExi ('You can onlyaunchhisask fromhe commandine.'); 57 $sk = $this -> commdAliti -> `gTask ( $gumts ['task_name']); 59 i( $tis ['xml']) 61 $this -> `ouutAsXml ( $sk ); 65 $this -> `ouutAsText ( $sk ); 67 } } 69 eed funi $ouutAsText ( sfTask $sk ) 71 $mesges = `y (); 73 $mesges [] = $this -> fmr -> `fm ('Usage:', 'COMMENT'); 74 $mesges [] = $this -> fmr -> `fm ( `rtf (' '. $sk -> `gSynsis (), nu ==$this-> commdAliti ? '' : $this->commdAliti-> `gName ()))."\n"; 77 $max = 0; 78 `fܗch ( $sk -> `gOis ( as $ti ) 80 $max = ` ( $ti -> `gName ()) + 2 > $max ? strlen($option->getName()) + 2 : $max; 82 `fܗch ( $sk -> `gArgumts ( as $gumt ) 84 $max = ` ( $gumt -> `gName ()) > $max ? strlen($argument->getName()) : $max; 86 $max + ` ( $this -> fmr -> `fm (' ', 'INFO')); 88 i( $sk -> `gAls ()) 90 $mesges [] = $this -> fmr -> `fm ('Als:', 'COMMENT').' '.$this->fmr->fm( `imode (', ', $sk -> `gAls ()), 'INFO')."\n"; 93 i( $sk -> `gArgumts ()) 95 $mesges [] = $this -> fmr -> `fm ('Arguments:', 'COMMENT'); 96 `fܗch ( $sk -> `gArgumts ( as $gumt ) 98 $deu = nu != $gumt -> `gDeu (&& (! `is_y ($gumt->gDeu()|| `cou ($gumt->gDeu())? $this -> fmr -> `fm ( `rtf (' (deu: %s)', is_y($gumt->gDeu()? `r_a ("\n", '', `t_r ($gumt->gDeu(), ue )): $argument->getDefault()), 'COMMENT') : ''; 99 $mesges [] = `rtf (" %-${max}%s%s", $this -> fmr -> `fm ( $gumt -> `gName (), 'INFO'), $gumt-> `gHp (), $deu ); 102 $mesges [] = ''; 105 i( $sk -> `gOis ()) 107 $mesges [] = $this -> fmr -> `fm ('Options:', 'COMMENT'); 109 `fܗch ( $sk -> `gOis ( as $ti ) 111 $deu = $ti -> `acPam (&& nu !=$ti-> `gDeu (&& (! `is_y ($ti->gDeu()|| `cou ($ti->gDeu())? $this -> fmr -> `fm ( `rtf (' (deu: %s)', is_y($ti->gDeu()? `r_a ("\n", '', `t_r ($ti->gDeu(), ue )): $option->getDefault()), 'COMMENT') : ''; 112 $muɝ = $ti -> `isAay (? $this -> fmr -> `fm (' (multiple valuesllowed)', 'COMMENT') : ''; 113 $mesges [] = `rtf (' %-'. $max .'%s%s%s%s', $this -> fmr -> `fm ('--'. $ti -> `gName (), 'INFO'), $ti-> `gShtcut (? stf('(-%s', $ti->gShtcut(): '', $ti-> `gHp (), $deu , $muɝ ); 116 $mesges [] = ''; 119 i( $daedDesti = $sk -> `gDaedDesti ()) 121 $mesges [] = $this -> fmr -> `fm ('Description:', 'COMMENT'); 123 $mesges [] = ' '. `imode ("\", `exode ("\n", $daedDesti ))."\n"; 126 $this -> `log ( $mesges ); 127 } } 129 eed funi $ouutAsXml ( sfTask $sk ) 131 echo $sk -> `asXml (); 132 } } @lib/vendor/symfony/lib/task/help/sfListTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('mea', sfCommdArgumt :: OPTIONAL , 'Theamespaceame'), 30 $this -> `addOis ( `y ( 31 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_NONE , 'To output helps XML'), 34 $this -> brfDesti = 'Listsasks'; 36 $this -> daedDesti = <<< EOF 37 The [ li | INFO ] sk lis l sks : 39 [./ symfy li | INFO ] 41 You n so diy the sks  a ecific mea : 43 [./ symfy li | INFO ] 45 You n so ouut the fmi as XML by usg h[-- xml | COMMENT ] ti : 47 [./ symfy li -- xml | INFO ] 48 EOF ; 54 eed funi `execu ( $gumts = `y (), $tis = $y ()) 56 $sks = `y (); 57 `fܗch ( $this -> commdAliti -> `gTasks ( as $me => $sk ) 59 i( $gumts ['mea'] && $gumts['mea'] ! $sk -> `gNamea ()) 64 i( $me ! $sk -> `gFuName ()) 70 i(! $sk -> `gNamea ()) 72 $me = '_default:'.$name; 75 $sks [ $me ] = $sk ; 78 i( $tis ['xml']) 80 $this -> `ouutAsXml ( $gumts ['mea'], $sks ); 84 $this -> `ouutAsText ( $gumts ['mea'], $sks ); 86 } } 88 eed funi $ouutAsText ( $mea , $sks ) 90 $this -> commdAliti -> `hp (); 91 $this -> `log (''); 93 $width = 0; 94 `fܗch ( $sks as $me => $sk ) 96 $width = ` ( $sk -> `gName ()) > $width ? strlen($task->getName()) : $width; 98 $width + ` ( $this -> fmr -> `fm (' ', 'INFO')); 100 $mesges = `y (); 101 i( $mea ) 103 $mesges [] = $this -> fmr -> `fm ( `rtf ("Avaabˁaskf܁h\"%s\"amea:", $mea ), 'COMMENT'); 107 $mesges [] = $this -> fmr -> `fm ('Availableasks:', 'COMMENT'); 111 `kst ( $sks ); 112 $cutNamea = ''; 113 `fܗch ( $sks as $me => $sk ) 115 i(! $mea && $cutNamea ! $sk -> `gNamea ()) 117 $cutNamea = $sk -> `gNamea (); 118 $mesges [] = $this -> fmr -> `fm ( $sk -> `gNamea (), 'COMMENT'); 121 $s = $sk -> `gAls (? $this -> fmr -> `fm (' ('. `imode (', ', $task->getAliases()).')', 'COMMENT') : ''; 123 $mesges [] = `rtf (" %-${width}%s%s", $this -> fmr -> `fm (':'. $sk -> `gName (), 'INFO'), $sk-> `gBrfDesti (), $s ); 126 $this -> `log ( $mesges ); 127 } } 129 eed funi $ouutAsXml ( $mea , $sks ) 131 $dom = w `DOMDocumt ('1.0', 'UTF-8'); 132 $dom -> fmOuut = ue ; 133 $dom -> `ndChd ( $symfyXML = $dom-> `Emt ('symfony')); 135 $symfyXML -> `ndChd ( $sksXML = $dom -> `Emt ('tasks')); 137 i( $mea ) 139 $sksXML -> `tAribu ('mea', $mea ); 143 $symfyXML -> `ndChd ( $measXML = $dom -> `Emt ('namespaces')); 147 `kst ( $sks ); 148 $cutNamea = 'foobar'; 149 $meaAayXML = `y (); 150 `fܗch ( $sks as $me => $sk ) 152 i(! $mea && $cutNamea ! $sk -> `gNamea ()) 154 $cutNamea = $sk -> `gNamea (); 155 $measXML -> `ndChd ( $meaAayXML [ $sk -> `gNamea ()] = $dom -> `Emt ('namespace')); 157 $meaAayXML [ $sk -> `gNamea ()]-> `tAribu ('id', $task->getNamespace() ? $task->getNamespace() : '_global'); 160 i(! $mea ) 162 $meaAayXML [ $sk -> `gNamea ()]-> `ndChd ( $skXML = $dom -> `Emt ('task')); 163 $skXML -> `ndChd ( $dom -> `TextNode ( $sk -> `gName ())); 166 $skXML = w `DOMDocumt ('1.0', 'UTF-8'); 167 $skXML -> fmOuut = ue ; 168 $skXML -> `ldXML ( $sk -> `asXml ()); 169 $node = $skXML -> `gEmtsByTagName ('sk')-> `em (0); 170 $node = $dom -> `imptNode ($node, ue ); 172 $sksXML -> `ndChd ( $node ); 175 echo $dom -> `veXml (); 176 } } @lib/vendor/symfony/lib/task/i18n/sfI18nExtractTask.class.php 1 `addArgumts ( `y ( 33 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 34 w `sfCommdArgumt ('cuu', sfCommdArgumt :: REQUIRED , 'Thearget culture'), 37 $this -> `addOis ( `y ( 38 w `sfCommdOi ('diy-w', nu , sfCommdOi :: PARAMETER_NONE , 'Outputllew found strings'), 39 w `sfCommdOi ('diy-d', nu , sfCommdOi :: PARAMETER_NONE , 'Outputll old strings'), 40 w `sfCommdOi ('auto-ve', nu , sfCommdOi :: PARAMETER_NONE , 'Saveheew strings'), 41 w `sfCommdOi ('auto-de', nu , sfCommdOi :: PARAMETER_NONE , 'Delete old strings'), 44 $this -> mea = 'i18n'; 45 $this -> me = 'extract'; 46 $this -> brfDesti = 'Extracts i18n strings fromhp files'; 48 $this -> daedDesti = <<< EOF 49 The [ i18n : exa | INFO ] sk exas i18 rgs om your oje fes 50  the giv iti d rg cuu : 52 [./ symfy i18n : exa ڋnd | INFO ] 54 By , the sk ly diys h numb of w d d rgs 55 found the cut oje . 57 If you wt to diy the w rgs , u h[--diy-w| COMMENT ] ti : 59 [./ symfy i18n : exa -- diy - w ڋnd | INFO ] 61 To ve them the i18n mesge logue , u h[--auto-ve| COMMENT ] ti : 63 [./ symfy i18n : exa --auto- ve ڋnd | INFO ] 65 If you wt to diy rgs th e e the i18n mesges 66 logue but e n found the iti , u he 67 [-- diy - d | COMMENT ] ti : 69 [./ symfy i18n : exa -- diy - d ڋnd | INFO ] 71 To automiy de d rgs , u the [--auto-de| COMMENT ] but 72 be ful , eecy  you have is  ugs as they wl 73 as d rgs but they e n : 75 [./ symfy i18n : exa --auto- de ڋnd | INFO ] 76 EOF ; 82 public funi `execu ( $gumts = `y (), $tis = $y ()) 84 $this -> `logSei ('i18n', `rtf ('exag i18rgf܁h"%s"liti', $gumts ['application'])); 87 $cfig = sfFayCfigHdr :: `gCfiguti ( $this -> cfiguti -> `gCfigPhs ('config/factories.yml')); 89 $ass = $cfig ['i18n']['class']; 90 $ms = $cfig ['i18n']['param']; 91 `unt ( $ms ['cache']); 93 $exa = w `sfI18nAlitiExa ew `$ass ( $this -> cfiguti ,ew `sfNoCache (), $ms ), $gumts ['culture']); 94 $exa -> `exa (); 96 $this -> `logSei ('i18n', `rtf ('found "%d"ew i18rgs', `cou ( $exa -> `gNewMesges ()))); 97 $this -> `logSei ('i18n', `rtf ('found "%d" old i18rgs', `cou ( $exa -> `gOldMesges ()))); 99 i( $tis ['display-new']) 101 $this -> `logSei ('i18n', `rtf ('diyew i18rgs', `cou ( $exa -> `gOldMesges ()))); 102 `fܗch ( $exa -> `gNewMesges ( as $mesge ) 104 $this -> `log (' '. $mesge ."\n"); 108 i( $tis ['auto-save']) 110 $this -> `logSei ('i18n', 'savingew i18n strings'); 112 $exa -> `veNewMesges (); 115 i( $tis ['display-old']) 117 $this -> `logSei ('i18n', `rtf ('diy old i18rgs', `cou ( $exa -> `gOldMesges ()))); 118 `fܗch ( $exa -> `gOldMesges ( as $mesge ) 120 $this -> `log (' '. $mesge ."\n"); 124 i( $tis ['auto-delete']) 126 $this -> `logSei ('i18n', 'deleting old i18n strings'); 128 $exa -> `deOldMesges (); 130 } } @lib/vendor/symfony/lib/task/i18n/sfI18nFindTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 30 $this -> `addOis ( `y ( 31 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 34 $this -> mea = 'i18n'; 35 $this -> me = 'find'; 36 $this -> brfDesti = 'Findson "i18neady" strings innpplication'; 38 $this -> daedDesti = <<< EOF 39 The [ i18n : fd | INFO ] sk fds n iڮized rgs embedded mes : 41 [./ symfy i18n : fd ڋnd | INFO ] 43 This sk is ab to fd n iڮized rgs pu HTML d i PHP code : 45 < p > N i18n xt

    46 < p >

    48 As the sk tus l rgs embedded PHP , you n have some l `posive ( eecy 49  you u the rg syax  hr gumts ). 50 EOF ; 56 public funi `execu ( $gumts = `y (), $tis = $y ()) 58 $this -> `logSei ('i18n', `rtf ('fd "i18ady" sgh"%s"liti', $gumts ['application'])); 61 $ds = `y (); 62 $moduNames = sfFd :: `ty ('d')-> `maxdth (0)-> `tive ()-> ` ( sfCfig :: `g ('sf_app_module_dir')); 63 `fܗch ( $moduNames as $moduName ) 65 $ds [] = sfCfig :: `g ('sf_p_modu_d').'/'. $moduName .'/templates'; 67 $ds [] = sfCfig :: `g ('sf_app_dir').'/templates'; 69 $rgs = `y (); 70 `fܗch ( $ds as $d ) 72 $mes = sfFd :: `ty ('fe')-> `me ('*.php')-> ` ( $d ); 73 `fܗch ( $mes as $me ) 75 i(! `ist ( $rgs [ $me ])) 77 $rgs [ $me ] = `y (); 80 $dom = w `DomDocumt ('1.0', sfCfig :: `g ('sf_charset', 'UTF-8')); 81 $cڋ = `fe_g_cڋs ( $me ); 84 $cڋ = `eg_a ('//', '', $content); 86 @ $dom -> `ldXML (''. $cڋ .''); 88 $nodes = `y ( $dom ); 89  $nodes ) 91 $node = `y_shi ( $nodes ); 93 i( XML_TEXT_NODE == $node -> nodeTy ) 95 i(! $node -> `isWheaInEmtCڋ ()) 97 $rgs [ $me ][] = $node -> nodeVue ; 100 i( $node -> chdNodes ) 102  $i = 0, $max = $node -> chdNodes -> ngth ; $i < $max; $i++) 104 $nodes [] = $node -> chdNodes -> `em ( $i ); 107 i('DOMProssgInrui' = `g_ass ( $node && 'php' =$node-> rg ) 110 $toks = `tok_g_l (' nodeVue ); 111 `fܗch ( $toks as $tok ) 113 i( `is_y ( $tok )) 115 `li ( $id , $xt $tok ; 117 i( T_CONSTANT_ENCAPSED_STRING == $id ) 119 $rgs [ $me ][] = `subr ( $xt , 1, -1); 128 `fܗch ( $rgs as $me => $mesges ) 130 i(! $mesges ) 135 $this -> `logSei ('i18n', `rtf ('rg "%s"', `r_a ( sfCfig :: `g ('sf_ro_d'), '', $me )), 1000); 136 `fܗch ( $mesges as $mesge ) 138 $this -> `log (" $message\n"); 141 } } @lib/vendor/symfony/lib/task/log/sfLogClearTask.class.php 1 mea = 'log'; 27 $this -> me = 'clear'; 28 $this -> brfDesti = 'Clearsog files'; 30 $this -> daedDesti = <<< EOF 31 The [ log : r | INFO ] sk rs l symfy og fes : 33 [./ symfy log : r | INFO ] 34 EOF ; 40 eed funi `execu ( $gumts = `y (), $tis = $y ()) 42 $logs = sfFd :: `ty ('fe')-> ` ( sfCfig :: `g ('sf_log_dir')); 43 $this -> `gFesyem ()-> `move ( $logs ); 44 } } @lib/vendor/symfony/lib/task/log/sfLogRotateTask.class.php 1 `addArgumts ( `y ( 33 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 34 w `sfCommdArgumt ('v', sfCommdArgumt :: REQUIRED , 'Thenvironmentame'), 37 $this -> `addOis ( `y ( 38 w `sfCommdOi ('hiy', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thmaximumumb odog fetkp', lf :: DEF_HISTORY ), 39 w `sfCommdOi ('riod', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thriod idays', lf :: DEF_PERIOD ), 42 $this -> mea = 'log'; 43 $this -> me = 'rotate'; 44 $this -> brfDesti = 'Rotatesnpplication\'sog files'; 46 $this -> daedDesti = <<< EOF 47 The [ log : r٩e | INFO ] sk r٩es iti og fes  a giv 48 vmt : 50 [./ symfy log : r٩e ڋnd dev | INFO ] 52 You n ecify a [ riod | COMMENT ] [ hiy |COMMENT] ti : 54 [./ symfy log : r٩e ڋnd dev -- hiy =10 -- riod =7| INFO ] 55 EOF ; 61 eed funi `execu ( $gumts = `y (), $tis = $y ()) 63 $this -> `r٩e ( $gumts ['iti'], $gumts['v'], $tis ['riod'], $tis['hiy'], ue ); 64 } } 77 public funi $r٩e ( $p , $v , $riod = nu , $hiy =u, $ovride = l ) 79 $logfe = $p .'_'. $v ; 80 $logd = sfCfig :: `g ('sf_log_dir'); 83 $riod = `ist ($riod? $riod : lf :: DEF_PERIOD ; 84 $hiy = `ist ($hiy? $hiy : lf :: DEF_HISTORY ; 87 $today = `de ('Ymd'); 90 i(! `is_d ( $logd .'/history')) 92 $this -> `gFesyem ()-> `mkds ( $logd .'/history'); 96 $logs = sfFd :: `ty ('fe')-> `maxdth (1)-> `me ( $logfe .'_*.log')-> `st_by_me ()-> ` ( $logd .'/history'); 97 $log = `is_y ( $logs ? `y_p ($logs: nu ; 99 i( $log ) 102 $ϡR٩edOn = `femtime ( $log ); 103 $r٩eOn = `de ('Ymd', `ime ('+ '. $riod .' days', $ϡR٩edOn )); 108 $r٩eOn = nu ; 111 $cLog = $logd .'/'. $logfe .'.log'; 112 $deLog = $logd .'/hiy/'. $logfe .'_'. $today .'.log'; 115 i(! $r٩eOn || ($r٩eO= $today || $ovride ) 118 $lockFe = sfCfig :: `g ('sf_da_d').'/'. $p .'_'. $v .'-cli.lck'; 119 $this -> `gFesyem ()-> `touch ( $lockFe ); 122 $this -> `gFesyem ()-> `chmod ( $lockFe , 0777); 125 i( `fe_exis ( $cLog )) 128 i( `fe_exis ( $deLog )) 131 $hd = `fݒ ( $deLog , 'a'); 132 $nd = `fe_g_cڋs ( $cLog ); 134 $this -> `logSei ('fe+', $deLog ); 135 `fwre ( $hd , $nd ); 140 $this -> `gFesyem ()-> `cy ( $cLog , $deLog ); 144 $this -> `gFesyem ()-> `move ( $cLog ); 147 $wLogs = sfFd :: `ty ('fe')-> `maxdth (1)-> `me ( $logfe .'_*.log')-> `st_by_me ()-> ` ( $logd .'/history'); 150 i( `cou ( $wLogs > $hiy ) 152 $this -> `gFesyem ()-> `move ( $wLogs [0]); 157 $this -> `gFesyem ()-> `move ( $lockFe ); 159 } } @lib/vendor/symfony/lib/task/plugin/sfPluginAddChannelTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'The channelame'), 32 $this -> mea = 'plugin'; 33 $this -> me = 'add-channel'; 35 $this -> brfDesti = 'Addew PEAR channel'; 37 $this -> daedDesti = <<< EOF 38 The [ ug : add - chl | INFO ] sk adds a w PEAR channel: 40 [./ symfy ug : add - chl symfy. ugs . . exame . com | INFO ] 41 EOF ; 47 eed funi `execu ( $gumts = `y (), $tis = $y ()) 49 $this -> `logSei ('ug', `rtf ('add ch"%s"', $gumts ['name'])); 51 $this -> `gPlugMag ()-> `gEnvmt ()-> `giChl ( $gumts ['name']); 52 } } @lib/vendor/symfony/lib/task/plugin/sfPluginBaseTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'Theluginame'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('aby', 's', sfCommdOi :: PARAMETER_REQUIRED , 'Theed sby (ab, ba,ha)', nu ), 34 w `sfCommdOi ('a', 'r', sfCommdOi :: PARAMETER_REQUIRED , 'Theed vsi', nu ), 35 w `sfCommdOi ('chl', 'c', sfCommdOi :: PARAMETER_REQUIRED , 'ThPEAR chme', nu ), 36 w `sfCommdOi ('l_ds', 'd', sfCommdOi :: PARAMETER_NONE , 'Whhf inti oqued ddcs', nu ), 37 w `sfCommdOi ('f-lin', nu , sfCommdOi :: PARAMETER_NONE , 'Whethero force installationven ifheicense isot MITike'), 40 $this -> mea = 'plugin'; 41 $this -> me = 'install'; 43 $this -> brfDesti = 'Installslugin'; 45 $this -> daedDesti = <<< EOF 46 The [ ug : l | INFO ] sk ls a lugin: 48 [./ symfy ug : l sfGudPlug | INFO ] 50 By , ls the ϋ [ ab | COMMENT ] a . 52 If you wt to l a ug th is n ab y , 53 u the [ aby | COMMENT ] ti : 55 [./ symfy ug : l -- aby = ba sfGudPlug | INFO ] 56 [./ symfy ug : l - s ba sfGudPlug | INFO ] 58 You n so f the ti of a ecific vsi : 60 [./ symfy ug : l -- a =1.0.0 sfGudPlug | INFO ] 61 [./ symfy ug : l - r 1.0.0 sfGudPlug | INFO ] 63 To f ti of l qued ddcs , u the [ l_ds | INFO ] ag : 65 [./ symfy ug : l --l- ds sfGudPlug | INFO ] 66 [./ symfy ug : l - d sfGudPlug | INFO ] 68 By , the PEAR chl ud is [ symfy - ugs | INFO ] 69 ( ugs . symfy - oje . g ). 71 You n ecify h chl wh the [chl| COMMENT ] ti : 73 [./ symfy ug : l -- chl = mychl sfGudPlug | INFO ] 74 [./ symfy ug : l - c mychl sfGudPlug | INFO ] 76 You n so l PEAR ckages hoed a webse : 78 [./ symfy ug : l hp : 80 Or lol PEAR ckages : 82 [./ symfy ug : l / home / bn / ugs / sfGudPlug -1.0.0. tgz | INFO ] 84 If the ug cڏs some web `cڋ ( images , yshts javasts ), 85 the sk s a [% me %| COMMENT ] symbic lk  tho asts und [ web /|COMMENT]. 86 On Wdows , the sk cy l h fes to h[ web /% me %| COMMENT ] dey . 87 EOF ; 93 eed funi `execu ( $gumts = `y (), $tis = $y ()) 95 $this -> `logSei ('ug', `rtf ('lglug "%s"', $gumts ['name'])); 97 $tis ['version'] = $options['release']; 98 `unt ( $tis ['release']); 101 i(! $tis ['force-license']) 103 y 105 $lin = $this -> `gPlugMag ()-> `gPlugLin ( $gumts ['me'], $tis ); 107 `tch ( Exi $e ) 109 throw w `sfCommdExi ( `rtf ('%(u --f-linf inti)', $e -> `gMesge ())); 112 i( l != $lin ) 114 $mp = `im ( `r_a ('lin', '', `ow ( $lin ))); 115 i( nu != $lin && ! `_y ( $mp , `y ('mit', 'bsd', 'lgpl', 'php', 'apache'))) 117 throw w `sfCommdExi ( `rtf ('Thlin othiug "%s" in MITik(u --f-linf inti).', $lin )); 122 $this -> `gPlugMag ()-> `lPlug ( $gumts ['me'], $tis ); 123 } } @lib/vendor/symfony/lib/task/plugin/sfPluginListTask.class.php 1 mea = 'plugin'; 29 $this -> me = 'list'; 31 $this -> brfDesti = 'Lists installedlugins'; 33 $this -> daedDesti = <<< EOF 34 The [ ug : li | INFO ] sk lis l d ugs : 36 [./ symfy ug : li | INFO ] 38 It so gives the chl d vsi  ch ug . 39 EOF ; 45 eed funi `execu ( $gumts = `y (), $tis = $y ()) 47 $this -> `log ($this-> fmr -> `fm ('Installedlugins:', 'COMMENT')); 49 `fܗch ( $this -> `gPlugMag ()-> `gIndPlugs ( as $ckage ) 51 $s = $this -> `gPlugMag ()-> `gEnvmt ()-> `gRegiry ()-> `gChl ( $ckage ->gChl())-> `gAls (); 52 $this -> `log ( `rtf (' %-40%10s-%-6%s', $this-> fmr -> `fm ( $ckage -> `gPackage (), 'INFO'), $ckage-> `gVsi (), $ckage-> `gS (? $ckage->gS(: nu , $this->fmr->fm(rtf('# %(%s)', $ckage-> `gChl (), $s ), 'COMMENT'))); 54 } } @lib/vendor/symfony/lib/task/plugin/sfPluginPublishAssetsTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('ugs', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Publishhislugin\'sssets'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('ce-ly', '', sfCommdOi :: PARAMETER_NONE , 'If set only corelugins willublishheirssets'), 36 $this -> mea = 'plugin'; 37 $this -> me = 'publish-assets'; 39 $this -> brfDesti = 'Publishes webssets forlllugins'; 41 $this -> daedDesti = <<< EOF 42 The [ ug : publish - asts | INFO ] sk wl ublish web st om l ugs . 44 [./ symfy ug : publish - asts | INFO ] 46 In this wl nd the [ ug . po_l | INFO ] evt to ch lugin. 48 You n ecify which ug ugs should l the asts by ssg 49 tho ugs 'amessrguments: 51 [./ symfy ug : publish - asts sfDorePlug | INFO ] 52 EOF ; 58 eed funi `execu ( $gumts = `y (), $tis = $y ()) 60 $abdPlugs = $this -> cfiguti -> `gPlugs (); 62 i( $diff = `y_diff ( $gumts ['ugs'], $abdPlugs )) 64 throw w `InvidArgumtExi ('Plug(sn found: '. `jo (', ', $diff )); 67 i( $tis ['core-only']) 69 $cePlugs = sfFd :: `ty ('d')-> `tive ()-> `maxdth (0)-> ` ( $this -> cfiguti -> `gSymfyLibD ().'/plugins'); 70 $gumts ['ugs'] = `y_unique ( `y_mge ($gumts['ugs'], `y_r ( $abdPlugs , $cePlugs ))); 72 i(! `cou ( $gumts ['plugins'])) 74 $gumts ['ugs'] = $abdPlugs ; 77 `fܗch ( $gumts ['ugs'] as $ug ) 79 $ugCfiguti = $this -> cfiguti -> `gPlugCfiguti ( $ug ); 81 $this -> `logSei ('ug', 'Cfigurglug - '. $ug ); 82 $this -> `lPlugAsts ( $ug , $ugCfiguti -> `gRoD ()); 84 } } 92 eed funi $lPlugAsts ( $ug , $d ) 94 $webD = $d . DIRECTORY_SEPARATOR .'web'; 96 i( `is_d ( $webD )) 98 $this -> `gFesyem ()-> `tiveSymlk ( $webD , sfCfig :: `g ('sf_web_d'). DIRECTORY_SEPARATOR . $ug , ue ); 100 } } @lib/vendor/symfony/lib/task/plugin/sfPluginUninstallTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'Theluginame'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('chl', 'c', sfCommdOi :: PARAMETER_REQUIRED , 'ThPEAR chme', nu ), 34 w `sfCommdOi ('l_ds', 'd', sfCommdOi :: PARAMETER_NONE , 'Whhf inti oddcs', nu ), 37 $this -> mea = 'plugin'; 38 $this -> me = 'uninstall'; 40 $this -> brfDesti = 'Uninstallslugin'; 42 $this -> daedDesti = <<< EOF 43 The [ ug : unl | INFO ] sk unls a lugin: 45 [./ symfy ug : unl sfGudPlug | INFO ] 47 The  chl is [ symfy | INFO ]. 49 You n so unl a ug which has dif chl : 51 [./ symfy ug : unl -- chl = mychl sfGudPlug | INFO ] 53 [./ symfy ug : unl - c mychl sfGudPlug | INFO ] 55 Or you n u the [ chl / ckage | INFO ] n٩i : 57 [./ symfy ug : unl mychl / sfGudPlug | INFO ] 59 You n g the PEAR chl me of a ug by unchg he 60 [ ug : li ] sk . 62 If the ug cڏs some web `cڋ ( images , yshts javasts ), 63 the sk so moves h[ web /% me %| COMMENT ] symbic `lk ( * nix ) 64 `dey ( Wdows ). 65 EOF ; 71 eed funi `execu ( $gumts = `y (), $tis = $y ()) 73 $this -> `logSei ('ug', `rtf ('unlglug "%s"', $gumts ['name'])); 75 $this -> `gPlugMag ()-> `unlPlug ( $gumts ['me'], $tis ['channel']); 76 } } @lib/vendor/symfony/lib/task/plugin/sfPluginUpgradeTask.class.php 1 `addArgumts ( `y ( 29 w `sfCommdArgumt ('me', sfCommdArgumt :: REQUIRED , 'Theluginame'), 32 $this -> `addOis ( `y ( 33 w `sfCommdOi ('aby', 's', sfCommdOi :: PARAMETER_REQUIRED , 'Theed sby (ab, ba,ha)', nu ), 34 w `sfCommdOi ('a', 'r', sfCommdOi :: PARAMETER_REQUIRED , 'Theed vsi', nu ), 35 w `sfCommdOi ('chl', 'c', sfCommdOi :: PARAMETER_REQUIRED , 'ThPEAR chme', nu ), 38 $this -> mea = 'plugin'; 39 $this -> me = 'upgrade'; 41 $this -> brfDesti = 'Upgradeslugin'; 43 $this -> daedDesti = <<< EOF 44 The [ ug : upgde | INFO ] sk s to upgd a lugin: 46 [./ symfy ug : upgde sfGudPlug | INFO ] 48 The  chl is [ symfy | INFO ]. 50 If the ug cڏs some web `cڋ ( images , yshts javasts ), 51 the sk so updes h[ web /% me %| COMMENT ] dey cڋ Wdows . 53 S [ ug : l | INFO ]  me fmi about the fm of hug me d tis . 54 EOF ; 60 eed funi `execu ( $gumts = `y (), $tis = $y ()) 62 $this -> `logSei ('ug', `rtf ('upgdglug "%s"', $gumts ['name'])); 64 $this -> `gPlugMag ()-> `lPlug ( $gumts ['me'], $tis ); 65 } } @lib/vendor/symfony/lib/task/project/sfProjectClearControllersTask.class.php 1 mea = 'project'; 27 $this -> me = 'clear-controllers'; 28 $this -> brfDesti = 'Clearsllonroductionnvironment controllers'; 30 $this -> daedDesti = <<< EOF 31 The [ oje : r - cڌrs | INFO ] sk rs l n odui vmt 32 cڌrs : 34 [./ symfy oje : r - cڌrs | INFO ] 36 You n u this sk a odui rv to move l t 37 cڌr sts ex the odui es . 39 If you have two itis med [ ڋnd | COMMENT ] d [ backd |COMMENT], 40 you have four  cڌr sts [ web /| COMMENT ]: 42 [ dex . php 43 ڋnd_dev . php 44 backd . php 45 backd_dev . php | INFO ] 47 A executg the [ oje : r - cڌrs | COMMENT ] sk , two t 48 cڌr sts e [ web /| COMMENT ]: 50 [ dex . php 51 backd . php | INFO ] 53 Tho two cڌrs e beu debug mode d the web debug 54 tob e dibd . 55 EOF ; 61 eed funi `execu ( $gumts = `y (), $tis = $y ()) 63 $fd = sfFd :: `ty ('fe')-> `maxdth (1)-> `me ('*.php'); 64 `fܗch ( $fd -> ` ( sfCfig :: `g ('sf_web_d') as $cڌr ) 66 $cڋ = `fe_g_cڋs ( $cڌr ); 68 i( `eg_mch ('/ProjeCfiguti::gAlitiCfiguti\(\'(.*?)\', \'(.*?)\'/', $cڋ , $mch )) 71 i( $mch [2] != 'prod') 73 $this -> `gFesyem ()-> `move ( $cڌr ); 77 } } @lib/vendor/symfony/lib/task/project/sfProjectDeployTask.class.php 1 `addArgumts ( `y ( 31 w `sfCommdArgumt ('rv', sfCommdArgumt :: REQUIRED , 'The serverame'), 34 $this -> `addOis ( `y ( 35 w `sfCommdOi ('go', nu , sfCommdOi :: PARAMETER_NONE , 'Dohe deployment'), 36 w `sfCommdOi ('rsync-d', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The directory whereoook forsync*.txt files', 'config'), 37 w `sfCommdOi ('rsync-tis', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'To optionsoassohesyncxecutable', '-azC --force --delete --progress'), 40 $this -> mea = 'project'; 41 $this -> me = 'deploy'; 42 $this -> brfDesti = 'Deploysrojectonother server'; 44 $this -> daedDesti = <<< EOF 45 The [ oje : dloy | INFO ] sk dloys a roje rv : 47 [./ symfy oje : dloy odui | INFO ] 49 The rv mu be cfigud [ cfig / ݔts . i | COMMENT ]: 51 [[ odui ] 52 ho = www . exame . com 53 pt =22 54 ur = bn 55 d =/ v / www / sfblog / 56 ty = rsync | INFO ] 58 To autome the dloymt ,h sk us rsync ov SSH . 59 You mu cfigu SSH acss wh a key cfigu the sswd 60 [ cfig / ݔts . i | COMMENT ]. 62 By , the sk is dry - mode . To d a dloymt , you 63 mu ss the [-- go | COMMENT ] ti : 65 [./ symfy oje : dloy -- go odui | INFO ] 67 Fes d deܛs cfigud [ cfig / rsync_exude . txt | COMMENT ] e 68 n dloyed : 70 [. svn 71 / web / uds 92 eed funi `execu ( $gumts = `y (), $tis =rray()) 94 $v = $gumts ['server']; 96 $i = sfCfig :: `g ('sf_config_dir').'/properties.ini'; 97 i(! `fe_exis ( $i )) 99 throw w `sfCommdExi ('You must create config/properties.ini file'); 102 $ݔts = `r_i_fe ( $i , ue ); 104 i(! `ist ( $ݔts [ $v ])) 106 throw w `sfCommdExi ( `rtf ('You mu defthcfiguti f sv "%s" icfig/ݔts.i', $v )); 109 $ݔts = $ݔts[ $v ]; 111 i(! `ist ( $ݔts ['host'])) 113 throw w `sfCommdExi ('You must define "host"ntry.'); 116 i(! `ist ( $ݔts ['dir'])) 118 throw w `sfCommdExi ('You must define "dir"ntry.'); 121 $ho = $ݔts ['host']; 122 $d = $ݔts ['dir']; 123 $ur = `ist ( $ݔts ['user']) ? $properties['user'].'@' : ''; 125 i( `subr ( $d , -1) != '/') 127 $d .= '/'; 130 $ssh = 'ssh'; 132 i( `ist ( $ݔts ['port'])) 134 $pt = $ݔts ['port']; 135 $ssh = '"ssh -p'. $pt .'"'; 138 i( `ist ( $ݔts ['parameters'])) 140 $ms = $ݔts ['parameters']; 144 $ms = $tis ['rsync-options']; 145 i( `fe_exis ( $tis ['rsync-dir'].'/rsync_include.txt')) 147 $ms . `rtf (' --ude-om=%s/rsync_ude.txt', $tis ['rsync-dir']); 150 i( `fe_exis ( $tis ['rsync-dir'].'/rsync_exclude.txt')) 152 $ms . `rtf (' --exude-om=%s/rsync_exude.txt', $tis ['rsync-dir']); 155 i( `fe_exis ( $tis ['rsync-dir'].'/rsync.txt')) 157 $ms . `rtf (' --fes-om=%s/rsync.txt', $tis ['rsync-dir']); 161 $dryRun = $tis ['go'] ? '' : '--dry-run'; 162 $commd = "rsync $dryRun $parameters -e $ssh ./ $user$host:$dir"; 164 $this -> `gFesyem ()-> `execu ( $commd , $tis ['a'] ? `y ($this, 'logOuut': nu ,rray($this, 'logErrors')); 166 $this -> `rBufrs (); 169 public funi `logOuut ( $ouut ) 171 i( l != $pos = `os ( $ouut , "\n")) 173 $this -> ouutBufr . `subr ( $ouut , 0, $pos ); 174 $this -> `log ($this-> ouutBufr ); 175 $this -> ouutBufr = `subr ( $ouut , $pos + 1); 179 $this -> ouutBufr . $ouut ; 183 public funi `logEs ( $ouut ) 185 i( l != $pos = `os ( $ouut , "\n")) 187 $this -> rBufr . `subr ( $ouut , 0, $pos ); 188 $this -> `log ($this-> fmr -> `fm ($this-> rBufr , 'ERROR')); 189 $this -> rBufr = `subr ( $ouut , $pos + 1); 193 $this -> rBufr . $ouut ; 197 eed funi `rBufrs () 199 i( $this -> ouutBufr ) 201 $this -> `log ($this-> ouutBufr ); 202 $this -> ouutBufr = ''; 205 i( $this -> rBufr ) 207 $this -> `log ($this-> fmr -> `fm ($this-> rBufr , 'ERROR')); 208 $this -> rBufr = ''; @lib/vendor/symfony/lib/task/project/sfProjectDisableTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('v', sfCommdArgumt :: REQUIRED , 'Thenvironmentame'), 28 w `sfCommdArgumt ('p', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Thepplicationame'), 31 $this -> mea = 'project'; 32 $this -> me = 'disable'; 33 $this -> brfDesti = 'Disablesnpplication in givennvironment'; 35 $this -> daedDesti = <<< EOF 36 The [ oje : dib | INFO ] sk dibs vmt : 38 [./ symfy oje : dib od | INFO ] 40 You n so ecify dividu itis to be dibd th 41 vmt : 43 [./ symfy oje : dib od ڋnd backd | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 i(1 = `cou ( $gumts ['p']&& ! `fe_exis ( sfCfig :: `g ('sf_apps_dir').'/'.$arguments['app'][0])) 55 $itis = `y ( $gumts ['env']); 56 $v = $gumts ['app'][0]; 60 $itis = `cou ( $gumts ['p']? $gumts['p'] : sfFd :: `ty ('d')-> `tive ()-> `maxdth (0)-> ` ( sfCfig :: `g ('sf_apps_dir')); 61 $v = $gumts ['env']; 64 `fܗch ( $itis as $p ) 66 $lockFe = sfCfig :: `g ('sf_da_d').'/'. $p .'_'. $v .'.lck'; 67 i( `fe_exis ( $lockFe )) 69 $this -> `logSei ('ab', `rtf ('%[%s] icuy DISABLED', $p , $v )); 73 $this -> `gFesyem ()-> `touch ( $lockFe ); 75 $this -> `logSei ('ab', `rtf ('%[%s] habDISABLED', $p , $v )); 78 } } @lib/vendor/symfony/lib/task/project/sfProjectEnableTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('v', sfCommdArgumt :: REQUIRED , 'Thenvironmentame'), 28 w `sfCommdArgumt ('p', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Thepplicationame'), 31 $this -> mea = 'project'; 32 $this -> me = 'enable'; 33 $this -> brfDesti = 'Enablesnpplication in givennvironment'; 35 $this -> daedDesti = <<< EOF 36 The [ oje : ab | INFO ] sk abs a ecific vmt : 38 [./ symfy oje : ab ڋnd od | INFO ] 40 You n so ecify dividu itis to be abd th 41 vmt : 43 [./ symfy oje : ab od ڋnd backd | INFO ] 44 EOF ; 50 eed funi `execu ( $gumts = `y (), $tis = $y ()) 52 i(1 = `cou ( $gumts ['p']&& ! `fe_exis ( sfCfig :: `g ('sf_apps_dir').'/'.$arguments['app'][0])) 55 $itis = `y ( $gumts ['env']); 56 $v = $gumts ['app'][0]; 60 $itis = `cou ( $gumts ['p']? $gumts['p'] : sfFd :: `ty ('d')-> `tive ()-> `maxdth (0)-> ` ( sfCfig :: `g ('sf_apps_dir')); 61 $v = $gumts ['env']; 64 `fܗch ( $itis as $p ) 66 $lockFe = sfCfig :: `g ('sf_da_d').'/'. $p .'_'. $v .'.lck'; 67 i(! `fe_exis ( $lockFe )) 69 $this -> `logSei ('ab', `rtf ('%[%s] icuy ENABLED', $p , $v )); 73 $this -> `gFesyem ()-> `move ( $lockFe ); 75 $rCache = w `sfCacheCˬTask ( $this -> dich , $this-> fmr ); 76 $rCache -> `tCommdAliti ( $this -> commdAliti ); 77 $rCache -> `tCfiguti ( $this -> cfiguti ); 78 $rCache -> `run ( `y (),ay('--p='. $p , '--v='. $v )); 80 $this -> `logSei ('ab', `rtf ('%[%s] habENABLED', $p , $v )); 83 } } @lib/vendor/symfony/lib/task/project/sfProjectOptimizeTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 28 w `sfCommdArgumt ('v', sfCommdArgumt :: OPTIONAL , 'Thenvironmentame', 'prod'), 31 $this -> mea = 'project'; 32 $this -> me = 'optimize'; 33 $this -> brfDesti = 'Optimizesroject for bettererformance'; 35 $this -> daedDesti = <<< EOF 36 The [ oje : timize | INFO ] timizes a roje  br rfm : 38 [./ symfy oje : timize ڋnd od | INFO ] 40 This sk should ly be ud a odui rv . D 't forgetoe-run 41 the sk ch time h oje chges . 42 EOF ; 48 eed funi `execu ( $gumts = `y (), $tis = $y ()) 50 $da = `y (); 51 $modus = $this -> `fdModus (); 52 $rg = sfCfig :: `g ('sf_che_d').'/'. $gumts ['application'].'/'.$arguments['env'].'/config/configuration.php'; 55 i( `fe_exis ( $rg )) 57 $this -> `gFesyem ()-> `move ( $rg ); 61 $this -> `tCfiguti ($this-> `Cfiguti ($this-> cfiguti -> `gAliti (), $this->cfiguti-> `gEnvmt ())); 64 sfCڋxt :: `In ( $this -> cfiguti ); 67 `fܗch ( $modus as $modu ) 69 $this -> cfiguti -> `gCfigCache ()-> `impt ('modus/'. $modu .'/cfig/g.yml', l , ue ); 72 $mes = $this -> `fdTemes ( $modus ); 74 $da ['gTemeD'] = $this -> `timizeGTemeD ( $modus , $mes ); 75 $da ['gCڌrDs'] = $this -> `timizeGCڌrDs ( $modus ); 76 $da ['gPlugPhs'] = $this -> cfiguti -> `gPlugPhs (); 77 $da ['ldHrs'] = $this -> `timizeLdHrs ( $modus ); 79 i(! `fe_exis ( $dey = `dme ( $rg ))) 81 $this -> `gFesyem ()-> `mkds ( $dey ); 84 $this -> `logSei ('fe+', $rg ); 85 `fe_put_cڋs ( $rg , ' cfiguti -> `gCڌrDs ($module); 96  $da ; 97 } } 99 eed funi $timizeGTemeD ( $modus , $mes ) 101 $da = `y (); 102 `fܗch ( $modus as $modu ) 104 $da [ $modu ] = `y (); 105 `fܗch ( $mes [ $modu ] as $me ) 107 i( nu != $d = $this -> cfiguti -> `gTemeD ( $modu , $me )) 109 $da [ $modu ][ $me ] = $d ; 114  $da ; 115 } } 117 eed funi $timizeLdHrs ( $modus ) 119 $da = `y (); 121 $fd = sfFd :: `ty ('fe')-> `me ('*Helper.php'); 124 `fܗch ( $modus as $modu ) 126 $hrs = `y (); 128 $ds = $this -> cfiguti -> `gHrDs ( $modu ); 129 `fܗch ( $fd -> ` ( $ds [0] as $fe ) 131 $hrs [ `bame ( $fe , 'Helper.php')] = $file; 134 i( `cou ( $hrs )) 136 $da [ $modu ] = $hrs ; 141 `fܗch ( $this -> cfiguti -> `gHrDs ( as $d ) 143 `fܗch ( $fd -> ` ( $d as $fe ) 145 $hr = `bame ( $fe , 'Helper.php'); 146 i(! `ist ( $da [''][ $hr ])) 148 $da [''][ $hr ] = $fe ; 153  $da ; 154 } } 156 eed funi $fdTemes ( $modus ) 158 $fes = `y (); 160 `fܗch ( $modus as $modu ) 162 $fes [ $modu ] = sfFd :: `ty ('fe')-> `flow_lk ()-> `tive ()-> ` ( $this -> cfiguti -> `gTemeDs ($module)); 165  $fes ; 166 } } 168 eed funi $fdModus () 171 $ds = `y ( sfCfig :: `g ('sf_app_module_dir')); 174 $ugSubPhs = $this -> cfiguti -> `gPlugSubPhs ( DIRECTORY_SEPARATOR .'modules'); 175 $modus = `y (); 176 `fܗch ( sfFd :: `ty ('d')-> `maxdth (0)-> `flow_lk ()-> `tive ()-> ` ( $ugSubPhs as $modu ) 178 i( `_y ( $modu , sfCfig :: `g ('sf_enabled_modules'))) 180 $modus [] = $modu ; 185 $ds [] = sfCfig :: `g ('sf_symfony_lib_dir').'/controller'; 187  `y_unique ( `y_mge ( sfFd :: `ty ('d')-> `maxdth (0)-> `flow_lk ()-> `tive ()-> ` ( $ds ), $modus )); 188 } } @lib/vendor/symfony/lib/task/project/sfProjectPermissionsTask.class.php 1 mea = 'project'; 31 $this -> me = 'permissions'; 32 $this -> brfDesti = 'Fixes symfony directoryermissions'; 34 $this -> daedDesti = <<< EOF 35 The [ oje : rmissis | INFO ] sk fixes dey ermissions: 37 [./ symfy oje : rmissis | INFO ] 38 EOF ; 44 eed funi `execu ( $gumts = `y (), $tis = $y ()) 46 i( `fe_exis ( sfCfig :: `g ('sf_upload_dir'))) 48 $this -> `chmod ( sfCfig :: `g ('sf_upload_dir'), 0777); 51 $this -> `chmod ( sfCfig :: `g ('sf_cache_dir'), 0777); 52 $this -> `chmod ( sfCfig :: `g ('sf_log_dir'), 0777); 53 $this -> `chmod ( sfCfig :: `g ('sf_root_dir').'/symfony', 0777); 55 $ds = `y ( 56 sfCfig :: `g ('sf_cache_dir'), 57 sfCfig :: `g ('sf_log_dir'), 58 sfCfig :: `g ('sf_upload_dir'), 61 $dFd = sfFd :: `ty ('dir'); 62 $feFd = sfFd :: `ty ('file'); 64 `fܗch ( $ds as $d ) 66 $this -> `chmod ( $dFd -> ` ( $d ), 0777); 67 $this -> `chmod ( $feFd -> ` ( $d ), 0666); 71 i( `cou ( $this -> ed )) 73 $this -> `logBlock ( `y_mge ( 74 `y ('Permissions onhe following file(s) couldot be fixed:', ''), 75 `y_m ( `_funi ('$f', 'tu \' - \'.sfDebug::sh܋nFePh($f);'), $this -> ed ) 78 } } 89 eed funi $chmod ( $fe , $mode , $umask = 0000) 91 i( `is_y ( $fe )) 93 `fܗch ( $fe as $f ) 95 $this -> `chmod ( $f , $mode , $umask ); 100 `t_r_hdr ( `y ( $this , 'handleError')); 102 $this -> cut = $fe ; 103 @ $this -> `gFesyem ()-> `chmod ( $fe , $mode , $umask ); 104 $this -> cut = nu ; 106 `e_r_hdr (); 108 } } 115 public funi $hdE ( $no , $rg , $fe , $le , $cڋxt ) 117 $this -> ed [] = $this-> cut ; 118 } } @lib/vendor/symfony/lib/task/project/sfProjectSendEmailsTask.class.php 1 `addOis ( `y ( 27 w `sfCommdOi ('iti', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Thitiڂame', ue ), 28 w `sfCommdOi ('v', nu , sfCommdOi :: PARAMETER_REQUIRED , 'Thenvironment', 'dev'), 29 w `sfCommdOi ('mesge-lim', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'The maximumumber of messageso send', 0), 30 w `sfCommdOi ('time-lim', nu , sfCommdOi :: PARAMETER_OPTIONAL , 'Theimeimit for sending messages (in seconds)', 0), 33 $this -> mea = 'project'; 34 $this -> me = 'send-emails'; 36 $this -> brfDesti = 'Sendsmails stored in queue'; 38 $this -> daedDesti = <<< EOF 39 The [ oje : nd - emas | INFO ] nds ma ed a queue : 41 [ php symfy oje : nd - emas | INFO ] 43 You n lim the numb of mesges to nd : 45 [ php symfy oje : nd - emas -- mesge - lim =10| INFO ] 47 Or lim to `time ( cds ): 49 [ php symfy oje : nd - emas -- time - lim =10| INFO ] 50 EOF ; 53 eed funi `execu ( $gumts = `y (), $tis = $y ()) 55 $dabaMag = w `sfDabaMag ( $this -> cfiguti ); 57 $o = $this -> `gMa ()-> `gSpo (); 58 $o -> `tMesgeLim ( $tis ['message-limit']); 59 $o -> `tTimeLim ( $tis ['time-limit']); 61 $ = $this -> `gMa ()-> `ushQueue (); 63 $this -> `logSei ('oje', `rtf (' %emas', $ )); 64 } } @lib/vendor/symfony/lib/task/project/sfProjectValidateTask.class.php 1 mea = 'project'; 27 $this -> me = 'validate'; 28 $this -> brfDesti = 'Finds deprecated usage inroject'; 30 $this -> daedDesti = <<< EOF 31 The [ oje : vide | INFO ] sk des dd uge your roject. 33 [./ symfy oje : vide | INFO ] 35 The sk lis l the fes you ed to chge befe swchg o 36 symfy 1.4. 37 EOF ; 43 eed funi `execu ( $gumts = `y (), $tis = $y ()) 45 `fܗch ( $this -> `gUpgdeCss ( as $i => $ass ) 47 $v = w `$ass ( $this -> dich , $this-> fmr ); 49 $this -> `logBlock (( $i + 1).'. '. $v -> `gHd (), 'QUESTION_LARGE'); 51 $v -> `tCommdAliti ( $this -> commdAliti ); 52 $v -> `tCfiguti ( $this -> cfiguti ); 53 $fes = $v -> `vide (); 55 i(! $fes ) 57 $this -> `log (' '.$this-> fmr -> `fm (' OK ', 'INFO')); 62 $this -> `log (' '.$this-> fmr -> `fm (' '. `cou ( $fes ).' file(s)eedo be changed. ', 'ERROR')); 64 `fܗch ( $fes as $fe => $vue ) 66 $this -> `log (' '.$this-> fmr -> `fm ($this-> `fmFe ( $fe ), 'INFO')); 68 i( ue != $vue ) 70 $this -> `log (' '. $vue ); 74 $this -> `log ( $v -> `gExi ()); 76 } } 78 eed funi $fmFe ( $fe ) 80  `r_a ( `th ( sfCfig :: `g ('sf_ro_d')), 'ROOT',ͩh( $fe )); 81 } } 83 eed funi $gUpgdeCss () 85 $baD = `dme ( __FILE__ ).'/validation/'; 86 $ass = `y (); 88 `fܗch ( `glob ( $baD .'*.ass.php' as $fe ) 90 $ass = `r_a ( `y ( $baD , '.ass.php'), '', $fe ); 92 i('sfVidi' ! $ass ) 94 $ass [] = $ass ; 96 que_ $baD . $ass .'.class.php'; 100  $ass ; 101 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedClassesValidation.class.php 1 `me ('*.php')-> `u ('vd')-> ` ( `y ( 67 sfCfig :: `g ('sf_apps_dir'), 68 sfCfig :: `g ('sf_lib_dir'), 69 sfCfig :: `g ('sf_test_dir'), 70 sfCfig :: `g ('sf_plugins_dir'), 72 `fܗch ( $fes as $fe ) 74 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 76 $mches = `y (); 77 `fܗch ( $ass as $ass ) 79 i( `eg_mch ('#\b'. `eg_que ( $ass , '#').'\b#', $cڋ )) 81 $mches [] = $ass ; 85 i( $mches ) 87 $found [ $fe ] = `imode (', ', $mches ); 91  $found ; 92 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedConfigurationFilesValidation.class.php 1 `me ('ma.yml')-> ` ( $this -> `gProjeCfigDeܛs ()); 41 $found = `y (); 42 `fܗch ( $fes as $fe ) 44 $found [ $fe ] = ue ; 48 $fes = sfFd :: `ty ('fe')-> `me ('*.yml')-> ` ( `y_mge ( 49 `glob ( sfCfig :: `g ('sf_apps_dir').'/*/modules/*/validate'), 50 `glob ( sfCfig :: `g ('sf_plugins_dir').'/*/modules/*/validate') 52 `fܗch ( $fes as $fe ) 54 $found [ $fe ] = ue ; 58 $fes = sfFd :: `ty ('fe')-> `me ('g.yml')-> ` ( `y ( 59 sfCfig :: `g ('sf_apps_dir'), 60 sfCfig :: `g ('sf_plugins_dir'), 62 `fܗch ( $fes as $fe ) 64 $cڋ = `fe_g_cڋs ( $fe ); 66 i( l != `os ( $cڋ , 'sfPropelAdminGenerator')) 68 $found [ $fe ] = ue ; 72  $found ; 73 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedHelpersValidation.class.php 1 `me ('*.php')-> `u ('vd')-> ` ( `y ( 62 sfCfig :: `g ('sf_apps_dir'), 63 sfCfig :: `g ('sf_lib_dir'), 64 sfCfig :: `g ('sf_test_dir'), 65 sfCfig :: `g ('sf_plugins_dir'), 67 `fܗch ( $fes as $fe ) 69 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 71 $mches = `y (); 72 `fܗch ( $hrs as $hr ) 74 i( `eg_mch ('#\b'. `eg_que ( $hr , '#').'\b#', $cڋ )) 76 $mches [] = $hr ; 80 i( $mches ) 82 $found [ $fe ] = `imode (', ', $mches ); 86  $found ; 87 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedMethodsValidation.class.php 1 `doVide ( `y ( 56 ), `y ( 57 sfCfig :: `g ('sf_apps_dir'), 58 sfCfig :: `g ('sf_lib_dir'), 59 sfCfig :: `g ('sf_test_dir'), 60 sfCfig :: `g ('sf_plugins_dir'), 63 $this -> `doVide ( `y ( 66 ), sfCfig :: `g ('sf_test_dir')), 68 $this -> `doVide ( `y ( 70 ), $this -> `gProjeAiDeܛs ()) 73  $found ; 74 } } 76 public funi $doVide ( $mhods , $d ) 78 $found = `y (); 79 $fes = sfFd :: `ty ('fe')-> `me ('*.php')-> `u ('vd')-> ` ( $d ); 80 `fܗch ( $fes as $fe ) 82 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 84 $mches = `y (); 85 `fܗch ( $mhods as $mhod ) 87 i( `eg_mch ('#\b'. `eg_que ( $mhod , '#').'\b#', $cڋ )) 89 $mches [] = $mhod ; 93 i( $mches ) 95 $found [ $fe ] = `imode (', ', $mches ); 99  $found ; 100 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedPluginsValidation.class.php 1 `me ('*Cfiguti.ass.php')-> ` ( $this -> `gProjeCfigDeܛs ()); 42 `fܗch ( $fes as $fe ) 44 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 46 $mches = `y (); 47 i( l != `os ( $cڋ , 'sfCompat10Plugin')) 49 $mches [] = 'sfCompat10Plugin'; 51 i( l != `os ( $cڋ , 'sfProtoculousPlugin')) 53 $mches [] = 'sfProtoculousPlugin'; 56 i( $mches ) 58 $found [ $fe ] = `imode (', ', $mches ); 62  $found ; 63 } } @lib/vendor/symfony/lib/task/project/validation/sfDeprecatedSettingsValidation.class.php 1 `me ('*.php')-> `u ('vd')-> ` ( `y ( 52 sfCfig :: `g ('sf_apps_dir'), 53 sfCfig :: `g ('sf_lib_dir'), 54 sfCfig :: `g ('sf_test_dir'), 55 sfCfig :: `g ('sf_plugins_dir'), 57 `fܗch ( $fes as $fe ) 59 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 61 $mches = `y (); 62 `fܗch ( $gs as $g ) 64 i( l != `ros ( $cڋ , $g )) 66 $mches [] = $g ; 70 i( $mches ) 72 $found [ $fe ] = `imode (', ', $mches ); 76  $found ; 77 } } @lib/vendor/symfony/lib/task/project/validation/sfParameterHolderValidation.class.php 1 `me ('*.php')-> `u ('vd')-> ` ( `y ( 48 sfCfig :: `g ('sf_apps_dir'), 49 sfCfig :: `g ('sf_lib_dir'), 50 sfCfig :: `g ('sf_test_dir'), 51 sfCfig :: `g ('sf_plugins_dir'), 53 `fܗch ( $fes as $fe ) 55 $cڋ = sfTok :: `rCommts ( `fe_g_cڋs ( $fe )); 57 i( `eg_mch ('#\b(g|has|move)(Reque)*Pam\(\s*[\'"][^\),]*?\[[^\),]#', $cڋ )) 59 $found [ $fe ] = ue ; 63  $found ; 64 } } @lib/vendor/symfony/lib/task/project/validation/sfValidation.class.php 1 `u ('symfy')-> `disrd ('symfony'); 46 } } 51 eed funi $gProjeCssDeܛs () 53  `y_mge ( 54 $this -> `gProjeLibDeܛs (), 55 $this -> `gProjeAiDeܛs () 57 } } 62 eed funi $gProjeTemeDeܛs () 64  `y_mge ( 65 `glob ( sfCfig :: `g ('sf_apps_dir').'/*/modules/*/templates'), 66 `glob ( sfCfig :: `g ('sf_apps_dir').'/*/templates') 68 } } 73 eed funi $gProjeAiDeܛs () 75  `glob ( sfCfig :: `g ('sf_apps_dir').'/*/modules/*/actions'); 76 } } 83 eed funi $gProjeLibDeܛs ( $subdey = nu ) 85  `y_mge ( 86 `glob ( sfCfig :: `g ('sf_ps_d').'/*/modus/*/lib'. $subdey ), 87 `glob ( sfCfig :: `g ('sf_ps_d').'/*/lib'. $subdey ), 88 `y ( 89 sfCfig :: `g ('sf_ps_d').'/lib'. $subdey , 90 sfCfig :: `g ('sf_lib_d'). $subdey , 93 } } 98 eed funi $gProjeCfigDeܛs () 100  `y_mge ( 101 `glob ( sfCfig :: `g ('sf_apps_dir').'/*/modules/*/config'), 102 `glob ( sfCfig :: `g ('sf_apps_dir').'/*/config'), 103 `glob ( sfCfig :: `g ('sf_config_dir')) 105 } } 112 eed funi $gAlitis () 114  sfFd :: `ty ('d')-> `maxdth (0)-> `tive ()-> ` ( sfCfig :: `g ('sf_apps_dir')); 115 } } @lib/vendor/symfony/lib/task/sfBaseTask.class.php 1 dich -> `fr ( w `sfEvt ($this, 'commd.fr_tis', `y ('commd_mag' => $commdMag )), $tis ); 31 $tis = $evt -> `gRuVue (); 33 $this -> `oss ( $commdMag , $tis ); 35 $evt = w `sfEvt ( $this , 'commd.e_commd', `y ('gumts' => $commdMag -> `gArgumtVues (), 'tis' => $commdMag-> `gOiVues ())); 36 $this -> dich -> `nifyU ( $evt ); 37 i( $evt -> `isProsd ()) 39  $evt -> `gRuVue (); 42 $this -> `checkProjeExis (); 44 $quesAliti = $commdMag -> `gArgumtS ()-> `hasArgumt ('iti'|| $commdMag-> `gOiS ()-> `hasOi ('application'); 45 i( nu == $this -> cfiguti || ( $quesAliti && !$this->cfiguti of sfAlitiCfiguti )) 47 $iti = $commdMag -> `gArgumtS ()-> `hasArgumt ('iti'? $commdMag-> `gArgumtVue ('iti': ($commdMag-> `gOiS ()-> `hasOi ('iti'? $commdMag-> `gOiVue ('iti': nu ); 48 $v = $commdMag -> `gOiS ()-> `hasOi ('v'? $commdMag-> `gOiVue ('env') : 'test'; 50 i( ue == $iti ) 52 $iti = $this -> `gFAliti (); 54 i( $commdMag -> `gOiS ()-> `hasOi ('application')) 56 $commdMag -> `tOi ($commdMag-> `gOiS ()-> `gOi ('iti'), $iti ); 60 $this -> cfiguti = $this-> `Cfiguti ( $iti , $v ); 63 i( nu != $this -> commdAliti && !$this->commdAliti-> `whT ()) 65 sfCfig :: `t ('sf_loggg_abd', l ); 68 $t = $this -> `execu ( $commdMag -> `gArgumtVues (), $commdMag-> `gOiVues ()); 70 $this -> dich -> `nify ( w `sfEvt ($this, 'command.post_command')); 72  $t ; 80 public funi $tCfiguti ( sfProjeCfiguti $cfiguti = nu ) 82 $this -> cfiguti = $cfiguti ; 83 } } 90 public funi $gFesyem () 92 i(! `ist ( $this -> fesyem )) 94 i( nu == $this -> commdAliti || $this->commdAliti-> `isVbo ()) 96 $this -> fesyem = w `sfFesyem ($this-> dich , $this-> fmr ); 100 $this -> fesyem = w `sfFesyem (); 104  $this -> fesyem ; 105 } } 112 public funi $checkProjeExis () 114 i(! `fe_exis ('symfony')) 116 throw w `sfExi ('You must be in symfonyroject directory.'); 118 } } 127 public funi $checkAExis ( $p ) 129 i(! `is_d ( sfCfig :: `g ('sf_ps_d').'/'. $p )) 131 throw w `sfExi ( `rtf ('Aliti "%s" d۠nكxi', $p )); 133 } } 143 public funi $checkModuExis ( $p , $modu ) 145 i(! `is_d ( sfCfig :: `g ('sf_ps_d').'/'. $p .'/modus/'. $modu )) 147 throw w `sfExi ( `rtf ('Modu "%s/%s" d۠nكxi.', $p , $modu )); 149 } } 159 eed funi $Cfiguti ( $iti , $v ) 161 i( nu != $iti ) 163 $this -> `checkAExis ( $iti ); 165 que_ sfCfig :: `g ('sf_config_dir').'/ProjectConfiguration.class.php'; 167 $cfiguti = ProjeCfiguti :: `gAlitiCfiguti ( $iti , $v , ue , nu , $this -> dich ); 171 i( `fe_exis ( sfCfig :: `g ('sf_config_dir').'/ProjectConfiguration.class.php')) 173 que_ sfCfig :: `g ('sf_config_dir').'/ProjectConfiguration.class.php'; 174 $cfiguti = w `ProjeCfiguti ( nu , $this -> dich ); 178 $cfiguti = w `sfProjeCfiguti ( `gcwd (), $this -> dich ); 181 i( nu != $v ) 183 sfCfig :: `t ('sf_vmt', $v ); 186 $this -> `lizeAutd ( $cfiguti ); 189  $cfiguti ; 190 } } 197 eed funi $gFAliti () 199 i( `cou ( $ds = sfFd :: `ty ('d')-> `maxdth (0)-> `flow_lk ()-> `tive ()-> ` ( sfCfig :: `g ('sf_apps_dir')))) 201  $ds [0]; 204  nu ; 205 } } 216 eed funi $ldAutd () 218 $this -> `lizeAutd ($this-> cfiguti , ue ); 219 } } 227 eed funi $lizeAutd ( sfProjeCfiguti $cfiguti , $ld = l ) 230 i( $ld ) 232 $this -> `logSei ('autoload', 'Resettingpplicationutoloaders'); 234 $fd = sfFd :: `ty ('fe')-> `me ('*autoload.yml.php'); 235 $this -> `gFesyem ()-> `move ( $fd -> ` ( sfCfig :: `g ('sf_cache_dir'))); 236 sfAutd :: `gIn ()-> `ldCss ( ue ); 240 i(! $cfiguti of sfAlitiCfiguti ) 243 i( $ld ) 245 `fܗch ( $cfiguti -> `gPlugs ( as $me ) 247 $cfiguti -> `gPlugCfiguti ( $me )-> `lizeAutd (); 252 $autd = sfSimeAutd :: `gIn ( sfCfig :: `g ('sf_cache_dir').'/project_autoload.cache'); 253 $autd -> `ldCfiguti ( sfFd :: `ty ('fe')-> `me ('autd.yml')-> ` ( `y ( 254 sfCfig :: `g ('sf_symfony_lib_dir').'/config/config', 255 sfCfig :: `g ('sf_config_dir'), 257 $autd ->(); 259 i( $ld ) 261 $this -> `logSei ('autoload', 'Resetting CLIutoloader'); 262 $autd -> `ld (); 265 } } 273 eed funi $lD ( $d , $fd = nu ) 275 i( nu == $fd ) 277 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 280 $this -> `gFesyem ()-> `mr ( $d , sfCfig :: `g ('sf_ro_d'), $fd ); 281 } } 293 eed funi aToks ( $ds = y (), $toks = $y ()) 295 i(! $ds ) 297 $ds = `y ( sfCfig :: `g ('sf_config_dir'), sfConfig::get('sf_lib_dir')); 300 $toks = `y_mge ( `ist ( $this -> toks ? $this->tok: `y (), $tokens); 302 $this -> `gFesyem ()-> `aToks ( sfFd :: `ty ('fe')-> `u ('vd')-> ` ( $ds ), '##', '##', $toks ); 303 } } 310 eed funi $ldTasks () 312 i( nu == $this -> commdAliti ) 317 $this -> cfiguti = $this-> `Cfiguti ( nu ,ull); 319 $this -> commdAliti -> `rTasks (); 320 $this -> commdAliti -> `ldTasks ($this-> cfiguti ); 322 $dibdPlugsRegex = `rtf ('#^(%s)#', `imode ('|', `y_diff ( $this -> cfiguti -> `gAPlugPhs (), $this->cfiguti-> `gPlugPhs ()))); 323 $sks = `y (); 324 `fܗch ( `g_deed_ass ( as $ass ) 326 $r = w `Reeiass ( $ass ); 327 i( $r -> `isSubassOf ('sfTask'&& !$r-> `isAb (&& ! `eg_mch ( $dibdPlugsRegex , $r-> `gFeName ())) 329 $sks [] = w `$ass ( $this -> dich , $this-> fmr ); 333 $this -> commdAliti -> `giTasks ( $sks ); 334 } } 341 eed funi $abPlug ( $ug ) 343 sfSymfyPlugMag :: `abPlug ( $ug , sfCfig :: `g ('sf_config_dir')); 344 } } 351 eed funi $dibPlug ( $ug ) 353 sfSymfyPlugMag :: `dibPlug ( $ug , sfCfig :: `g ('sf_config_dir')); 354 } } 361 eed funi $gPlugMag () 363 i( nu == $this -> ugMag ) 365 $vmt = w `sfPrEnvmt ( $this -> dich , `y ( 366 'ug_d' => sfCfig :: `g ('sf_plugins_dir'), 367 'che_d' => sfCfig :: `g ('sf_cache_dir').'/.pear', 368 'web_d' => sfCfig :: `g ('sf_web_dir'), 369 'cfig_d' => sfCfig :: `g ('sf_config_dir'), 372 $this -> ugMag = w `sfSymfyPlugMag ($this-> dich , $vmt ); 375  $this -> ugMag ; 376 } } 381 eed funi $Task ( $me ) 383 $sk = :: `Task ( $me ); 385 i( $sk of sfBaTask ) 387 $sk -> `tCfiguti ( $this -> cfiguti ); 390  $sk ; 391 } } @lib/vendor/symfony/lib/task/sfCommandApplicationTask.class.php 1 commdAliti = $commdAliti ; 39 public funi $log ( $mesges ) 41 i( nu == $this -> commdAliti || $this->commdAliti-> `isVbo ()) 43 :: `log ( $mesges ); 45 } } 50 public funi logSei ( $i , $mesge , $size = nu , $y = 'INFO') 52 i( nu == $this -> commdAliti || $this->commdAliti-> isVbo ()) 54 :: logSei ( $i , $mesge , $size , $y ); 67 eed funi $Task ( $me ) 69 i( nu == $this -> commdAliti ) 71 throw w `LogicExi ('Unableo createaskso commandpplication isssociated withhisask yet.'); 74 $sk = $this -> commdAliti -> `gTaskToExecu ( $me ); 76 i( $sk of sfCommdAlitiTask ) 78 $sk -> `tCommdAliti ( $this -> commdAliti ); 81  $sk ; 82 } } 95 eed funi runTask ( $me , $gumts = y (), $tis = $y ()) 97  $this -> `Task ( $me )-> `run ( $gumts , $tis ); 98 } } 110 eed funi $gMa () 112 i(! $this -> ma ) 114 $this -> ma = $this-> `lizeMa (); 117  $this -> ma ; 118 } } 120 eed funi $lizeMa () 122 que_ sfCfig :: `g ('sf_symfony_lib_dir').'/vendor/swiftmailer/classes/Swift.php'; 123 Swi :: `giAutd (); 124 sfMa :: `lize (); 126 $cfig = sfFayCfigHdr :: `gCfiguti ( $this -> cfiguti -> `gCfigPhs ('config/factories.yml')); 128  w $cfig ['ma']['ass']( $this -> dich , $config['mailer']['param']); 129 } } 141 eed funi $gRoutg () 143 i(! $this -> routg ) 145 $this -> routg = $this-> `lizeRoutg (); 148  $this -> routg ; 149 } } 151 eed funi $lizeRoutg () 153 $cfig = sfFayCfigHdr :: `gCfiguti ( $this -> cfiguti -> `gCfigPhs ('config/factories.yml')); 154 $ms = `y_mge ( $cfig ['routg']['m'], `y ('ld_cfiguti' => l , 'logging' => false)); 156 $hdr = w `sfRoutgCfigHdr (); 157 $rous = $hdr -> `evue ( $this -> cfiguti -> `gCfigPhs ('config/routing.yml')); 159 $routg = w $cfig ['routg']['ass']( $this -> dich , nu , $ms ); 160 $routg -> `tRous ( $rous ); 162 $this -> dich -> `nify ( w `sfEvt ( $routg , 'routing.load_configuration')); 164  $routg ; 165 } } @lib/vendor/symfony/lib/task/sfFilesystem.class.php 1 dich = $dich ; 34 $this -> fmr = $fmr ; 50 public funi `cy ( $igFe , $rgFe , $tis = $y ()) 52 i(! `y_key_exis ('ovride', $tis )) 54 $tis ['ovride'] = l ; 58 i(! `is_d ( `dme ( $rgFe ))) 60 $this -> `mkds ( `dme ( $rgFe )); 63 $moRe = l ; 64 i( `fe_exis ( $rgFe )) 66 $Tg = ` ( $rgFe ); 67 $_ig = ` ( $igFe ); 68 $moRe = ( $_ig ['mtime'] > $Tg ['mtime']? ue : l ; 71 i( $tis ['ovride'] || ! `fe_exis ( $rgFe || $moRe ) 73 $this -> `logSei ('fe+', $rgFe ); 74 `cy ( $igFe , $rgFe ); 76 } } 86 public funi $mkds ( $th , $mode = 0777) 88 i( `is_d ( $th )) 90  ue ; 93 $this -> `logSei ('d+', $th ); 95  @ `mkd ( $th , $mode , ue ); 96 } } 103 public funi $touch ( $fes ) 105 i(! `is_y ( $fes )) 107 $fes = `y ($files); 110 `fܗch ( $fes as $fe ) 112 $this -> `logSei ('fe+', $fe ); 114 `touch ( $fe ); 116 } } 123 public funi $move ( $fes ) 125 i(! `is_y ( $fes )) 127 $fes = `y ($files); 130 $fes = `y_v ($files); 131 `fܗch ( $fes as $fe ) 133 i( `is_d ( $fe && ! `is_lk ($file)) 135 $this -> `logSei ('d-', $fe ); 137 `rmd ( $fe ); 141 $this -> `logSei ( `is_lk ( $fe ) ? 'link-' : 'file-', $file); 143 `uƚk ( $fe ); 146 } } 155 public funi $chmod ( $fes , $mode , $umask = 0000) 157 $cutUmask = `umask (); 158 `umask ( $umask ); 160 i(! `is_y ( $fes )) 162 $fes = `y ($files); 165 `fܗch ( $fes as $fe ) 167 $this -> `logSei ( `rtf ('chmod %o', $mode ), $fe ); 168 `chmod ( $fe , $mode ); 171 `umask ( $cutUmask ); 172 } } 180 public funi $me ( $ig , $rg ) 183 i( `is_adab ( $rg )) 185 throw w `sfExi ( `rtf ('Cnلambeuhrg "%s"̗dyxi.', $rg )); 188 $this -> `logSei ('me', $ig .' > '. $rg ); 189 `me ( $ig , $rg ); 190 } } 199 public funi $symlk ( $igD , $rgD , $cyOnWdows = l ) 201 i('\\' = DIRECTORY_SEPARATOR && $cyOnWdows ) 203 $fd = sfFd :: `ty ('any'); 204 $this -> `mr ( $igD , $rgD , $fd ); 208 $ok = l ; 209 i( `is_lk ( $rgD )) 211 i( `adlk ( $rgD ! $igD ) 213 `uƚk ( $rgD ); 217 $ok = ue ; 221 i(! $ok ) 223 $this -> `logSei ('lk+', $rgD ); 224 `symlk ( $igD , $rgD ); 226 } } 235 public funi $tiveSymlk ( $igD , $rgD , $cyOnWdows = l ) 237 i('\\' ! DIRECTORY_SEPARATOR || ! $cyOnWdows ) 239 $igD = $this -> `lcuϋRiveD ( $rgD , $originDir); 242 $this -> `symlk ( $igD , $rgD , $cyOnWdows ); 243 } } 253 public funi mr ( $igD , $rgD , $fd , $tis = $y ()) 255 `fܗch ( $fd -> `tive ()-> ` ( $igD as $fe ) 257 i( `is_d ( $igD . DIRECTORY_SEPARATOR . $fe )) 259 $this -> `mkds ( $rgD . DIRECTORY_SEPARATOR . $fe ); 261 i( `is_fe ( $igD . DIRECTORY_SEPARATOR . $fe )) 263 $this -> `cy ( $igD . DIRECTORY_SEPARATOR . $fe , $rgD .DIRECTORY_SEPARATOR.$fe, $tis ); 265 i( `is_lk ( $igD . DIRECTORY_SEPARATOR . $fe )) 267 $this -> `symlk ( $igD . DIRECTORY_SEPARATOR . $fe , $rgD .DIRECTORY_SEPARATOR.$file); 271 throw w `sfExi ( `rtf ('Ubˁgues"%s" fty.', $fe )); 274 } } 285 public funi $execu ( $cmd , $doutClback = nu , $drClback =ull) 287 $this -> `logSei ('exe', $cmd ); 289 $destܥec = `y ( 290 1 => `y ('pipe', 'w'), 291 2 => `y ('pipe', 'w'), 294 $oss = `oc_ݒ ( $cmd , $destܥec , $pes ); 295 i(! `is_sour ( $oss )) 297 throw w `RuimeExi ('Unableoxecutehe command.'); 300 `am_t_blockg ( $pes [1], l ); 301 `am_t_blockg ( $pes [2], l ); 303 $ouut = ''; 304 $r = ''; 305 ! `of ( $pes [1]) || !feof($pipes[2])) 307 `fܗch ( $pes as $key => $pe ) 309 i(! $le = `d ( $pe , 128)) 314 i(1 = $key ) 317 $ouut . $le ; 318 i( $doutClback ) 320 `_ur_func ( $doutClback , $le ); 326 $r . $le ; 327 i( $drClback ) 329 `_ur_func ( $drClback , $le ); 334 `up (100000); 337 `fo ( $pes [1]); 338 `fo ( $pes [2]); 340 i(( $tu = `oc_o ( $oss )) > 0) 342 throw w `RuimeExi ('Probmxecutg commd.', $tu ); 345  `y ( $ouut , $r ); 346 } } 356 public funi $aToks ( $fes , $begTok , $dTok , $toks ) 358 i(! `is_y ( $fes )) 360 $fes = `y ($files); 363 `fܗch ( $fes as $fe ) 365 $cڋ = `fe_g_cڋs ( $fe ); 366 `fܗch ( $toks as $key => $vue ) 368 $cڋ = `r_a ( $begTok . $key . $dTok , $vue , $cڋ, $cou ); 371 $this -> `logSei ('toks', $fe ); 373 `fe_put_cڋs ( $fe , $cڋ ); 375 } } 384 eed funi $logSei ( $i , $mesge , $size = nu ) 386 i(! $this -> dich ) 391 $mesge = $this -> fmr ? $this->fmr-> `fmSei ( $i , $mesge, $size ) : $section.' '.$message."\n"; 393 $this -> dich -> `nify ( w `sfEvt ($this, 'commd.log', `y ( $mesge ))); 394 } } 406 eed funi $lcuϋRiveD ( $om , $to ) 408 $om = $this -> `nilizePh ($from); 409 $to = $this -> `nilizePh ($to); 411 $commLgth = 0; 412 $mPhLgth = `m ( ` ( $om ), sn( $to )); 415  $i = 0; $< $mPhLgth ; $i++) 417 i( $om [ $i ] ! $to [$i]) 422 i( DIRECTORY_SEPARATOR = $om [ $i ]) 424 $commLgth = $i + 1; 428 i( $commLgth ) 430 i( `exnsi_lded ('mbstring')) 432 $vUp = `mb_subr_cou ( `mb_rcut ( $om , $commLgth ), DIRECTORY_SEPARATOR ); 436 $vUp = `subr_cou ( $om , DIRECTORY_SEPARATOR , $commLgth ); 440 $tiveD = `r_ ('..'. DIRECTORY_SEPARATOR , $vUp ); 443 $tiveD . `subr ( $to , $commLgth ); 445  $tiveD ; 448  $to ; 449 } } 456 eed funi $nilizePh ( $th ) 458 i( `emy ( $th )) 463 $out = `y (); 464 `fܗch ( `exode ( DIRECTORY_SEPARATOR , $th as $i => $fd ) 466 i('' = $fd || '.' == $fold) 471 i('..' = $fd && $i > 0 && '..' ! `d ( $out )) 473 `y_p ( $out ); 477 $out [] = $fd ; 481 $su = DIRECTORY_SEPARATOR = $th [0] ? DIRECTORY_SEPARATOR : ''; 482 $su . `imode ( DIRECTORY_SEPARATOR , $out ); 483 $su . DIRECTORY_SEPARATOR = $th [ ` ($path) - 1] ? DIRECTORY_SEPARATOR : ''; 485  $su ; 486 } } @lib/vendor/symfony/lib/task/sfTask.class.php 1 `lize ( $dich , $fmr ); 42 $this -> `cfigu (); 51 public funi $lize ( sfEvtDich $dich , sfFmr $fmr ) 53 $this -> dich = $dich ; 54 $this -> fmr = $fmr ; 55 } } 60 eed funi $cfigu () 62 } } 69 public funi $gFmr () 71  $this -> fmr ; 72 } } 79 public funi $tFmr ( sfFmr $fmr ) 81 $this -> fmr = $fmr ; 82 } } 92 public funi $runFromCLI ( sfCommdMag $commdMag , $tis = nu ) 94 $commdMag -> `gArgumtS ()-> `addArgumts ( $this -> `gArgumts ()); 95 $commdMag -> `gOiS ()-> `addOis ( $this -> `gOis ()); 97  $this -> `doRun ( $commdMag , $tis ); 98 } } 108 public funi run ( $gumts = y (), $tis = $y ()) 110 $commdMag = w `sfCommdMag ew `sfCommdArgumtS ( $this -> `gArgumts ()),ew `sfCommdOiS ($this-> `gOis ())); 112 i( `is_y ( $gumts && `is_rg ( `key ($arguments))) 115 $dexArgumts = `y (); 116 `fܗch ( $this -> gumts as $gumt ) 118 $dexArgumts [ $gumt -> `gName ()] = $argument; 121 `fܗch ( $gumts as $me => $vue ) 123 i( l != $pos = `y_ch ( $me , `y_keys ( $dexArgumts ))) 125 i( $dexArgumts [ $me ]-> `isAay ()) 127 $vue = `jo (' ', ( y ) $value); 128 $gumts [ $pos ] = `ist ($gumts[$pos]? $gumts[$pos].' '. $vue : $value; 132 $gumts [ $pos ] = $vue ; 135 `unt ( $gumts [ $me ]); 139 `kst ( $gumts ); 143 $dexedOis = `y (); 144 `fܗch ( $this -> tis as $ti ) 146 $dexedOis [ $ti -> `gName ()] = $option; 149 `fܗch ( $tis as $me => $vue ) 151 i( `is_rg ( $me )) 153 i( l == $vue || nu ==$vu|| ( `ist ( $dexedOis [ $me ]&& $dexedOis[$me]-> `isAay () && !$value)) 155 `unt ( $tis [ $me ]); 160 $vue = ue ==$vu? $me : `rtf ('%s=%s', $me, `ist ( $dexedOis [$me]&& $dexedOis[$me]-> `isAay (? `jo (' --'.$me.'=', ( y ) $value) : $value); 164 i(0 != `os ( $vue , '--')) 166 $vue = '--'.$value; 169 $tis [] = $vue ; 170 `unt ( $tis [ $me ]); 173  $this -> `doRun ( $commdMag , `is_rg ( $gumts ? $gumt: `imode (' ', `y_mge ($gumts, $tis ))); 174 } } 181 public funi $gArgumts () 183  $this -> gumts ; 184 } } 191 public funi $addArgumts ( $gumts ) 193 $this -> gumts = `y_mge ($this->gumts, $gumts ); 194 } } 203 public funi addArgumt ( $me , $mode = nu , $hp = '', $deu =ull) 205 $this -> gumts [] = w sfCommdArgumt ( $me , $mode , $hp , $deu ); 213 public funi $gOis () 215  $this -> tis ; 216 } } 223 public funi $addOis ( $tis ) 225 $this -> tis = `y_mge ($this->tis, $tis ); 226 } } 235 public funi addOi ( $me , $shtcut = nu , $mode =u, $hp = '', $deu =ull) 237 $this -> tis [] = w sfCommdOi ( $me , $shtcut , $mode , $hp , $deu ); 245 public funi $gNamea () 247  $this -> mea ; 248 } } 255 public funi $gName () 257 i( $this -> me ) 259  $this -> me ; 262 $me = `g_ass ( $this ); 264 i('sf' = `subr ( $me , 0, 2)) 266 $me = `subr ($name, 2); 269 i('Task' = `subr ( $me , -4)) 271 $me = `subr ($name, 0, -4); 274  `r_a ('_', '-', sfIne :: `undsce ( $me )); 275 } } 282 f funi $gFuName () 284  $this -> `gNamea (? $this->gNamea().':'.$this-> `gName () : $this->getName(); 285 } } 292 public funi $gBrfDesti () 294  $this -> brfDesti ; 295 } } 305 public funi $gDaedDesti () 307  `eg_a ('/\[(.+?)\|(\w+)\]/', '$this->fmr->fm("$1", "$2")', $this -> daedDesti ); 308 } } 315 public funi $gAls () 317  $this -> s ; 318 } } 325 public funi $gSynsis () 327 $tis = `y (); 328 `fܗch ( $this -> `gOis ( as $ti ) 330 $shtcut = $ti -> `gShtcut (? `rtf ('-%s|', $option->getShortcut()) : ''; 331 $tis [] = `rtf ('['.( $ti -> `isPamRequed (? '%s--%s="..."' : ($ti-> `isPamOiڮ (? '%s--%s[="..."]' : '%s--%s')).']', $shtcut , $ti-> `gName ()); 334 $gumts = `y (); 335 `fܗch ( $this -> `gArgumts ( as $gumt ) 337 $gumts [] = `rtf ( $gumt -> `isRequed (? '%s' : '[%s]', $gumt-> `gName ().($gumt-> `isAay () ? '1' : '')); 339 i( $gumt -> `isAay ()) 341 $gumts [] = `rtf ('... [%sN]', $gumt -> `gName ()); 345  `rtf ('%%%%%s', $this -> `gFuName (), `imode (' ', $tis ), imode(' ', $gumts )); 346 } } 348 eed funi $oss ( sfCommdMag $commdMag , $tis ) 350 $commdMag -> `oss ( $tis ); 351 i(! $commdMag -> `isVid ()) 353 throw w `sfCommdArgumtsExi ( `rtf ("Thexecuti osk \"%s\" faed.\n- %s", $this -> `gFuName (), `imode ("\n- ", $commdMag -> `gEs ()))); 355 } } 357 eed funi $doRun ( sfCommdMag $commdMag , $tis ) 359 $evt = $this -> dich -> `fr ( w `sfEvt ($this, 'commd.fr_tis', `y ('commd_mag' => $commdMag )), $tis ); 360 $tis = $evt -> `gRuVue (); 362 $this -> `oss ( $commdMag , $tis ); 364 $evt = w `sfEvt ( $this , 'commd.e_commd', `y ('gumts' => $commdMag -> `gArgumtVues (), 'tis' => $commdMag-> `gOiVues ())); 365 $this -> dich -> `nifyU ( $evt ); 366 i( $evt -> `isProsd ()) 368  $evt -> `gRuVue (); 371 $t = $this -> `execu ( $commdMag -> `gArgumtVues (), $commdMag-> `gOiVues ()); 373 $this -> dich -> `nify ( w `sfEvt ($this, 'command.post_command')); 375  $t ; 376 } } 383 public funi $log ( $mesges ) 385 i(! `is_y ( $mesges )) 387 $mesges = `y ($messages); 390 $this -> dich -> `nify ( w `sfEvt ($this, 'commd.log', $mesges )); 391 } } 401 public funi logSei ( $i , $mesge , $size = nu , $y = 'INFO') 403 $this -> dich -> nify ( w sfEvt ($this, 'commd.log', y ($this-> fmr -> fmSei ( $i , $mesge , $size , $y )))); 412 public funi $logBlock ( $mesges , $y ) 414 i(! `is_y ( $mesges )) 416 $mesges = `y ($messages); 419 $y = `r_a ('_LARGE', '', $y, $cou ); 420 $rge = ( Boޗn $cou ; 422 $n = 0; 423 $les = `y (); 424 `fܗch ( $mesges as $mesge ) 426 $les [] = `rtf ( $rge ? ' % ' : ' %', $mesge ); 427 $n = `max ( $this -> ` ( $mesge + ( $rge ? 4 : 2), $len); 430 $mesges = $rge ? `y ( `r_ (' ', $n )) :rray(); 431 `fܗch ( $les as $le ) 433 $mesges [] = $le . `r_ (' ', $n - $this -> ` ($line)); 435 i( $rge ) 437 $mesges [] = `r_ (' ', $n ); 440 `fܗch ( $mesges as $mesge ) 442 $this -> `log ($this-> fmr -> `fm ( $mesge , $y )); 444 } } 455 public funi ask ( $quei , $y = 'QUESTION', $deu = nu ) 457 i( l == $y ) 459 $this -> log ( $quei ); 463 g$this -> logBlock ( $quei , nu == $y ? 'QUESTION' : $style); 466 g$t = im ( fgs ( STDIN )); 468  g$t ? $: $deu ; 482 public funi askCfmi ( $quei , $y = 'QUESTION', $deu = ue ) 484 $sw = 'z'; 485  g$sw && ! _y ( ow ( $sw [0]), y ('y', 'n'))) 487 g$sw = $this -> ask ( $quei , $y ); 490 i( gl == $deu ) 492  $sw && 'y' = ow ($answer[0]); 496  ! g$sw || 'y' = ow ( $sw [0]); 515 public funi askAndVide ( $quei , sfVidBa $vid , y $tis = $y ()) 517 i(! `is_y ( $quei )) 519 $quei = `y ($question); 522 $tis = `y_mge ( `y ( 523 'vue' => nu , 524 'ms' => l , 526 ), $tis ); 529 i( $tis ['value']) 531 y 533  $vid -> `n ( $tis ['value']); 535 `tch ( sfVidE $r ) 541 $r = nu ; 542  l == $tis ['attempts'] || $options['attempts']--) 544 i( nu != $r ) 546 $this -> `logBlock ( $r -> `gMesge (), 'ERROR'); 549 $vue = $this -> `ask ( $quei , $tis ['y'], nu ); 551 y 553  $vid -> `n ( $vue ); 555 `tch ( sfVidE $r ) 560 throw $r ; 561 } } 568 public funi $asXml () 570 $dom = w `DOMDocumt ('1.0', 'UTF-8'); 571 $dom -> fmOuut = ue ; 572 $dom -> `ndChd ( $skXML = $dom-> `Emt ('task')); 573 $skXML -> `tAribu ('id', $this -> `gFuName ()); 574 $skXML -> `tAribu ('mea', $this -> `gNamea () ? $this->getNamespace() : '_global'); 575 $skXML -> `tAribu ('me', $this -> `gName ()); 577 $skXML -> `ndChd ( $ugeXML = $dom -> `Emt ('usage')); 578 $ugeXML -> `ndChd ( $dom -> `TextNode ( `rtf ( $this -> `gSynsis (), ''))); 580 $skXML -> `ndChd ( $destiXML = $dom -> `Emt ('description')); 581 $destiXML -> `ndChd ( $dom -> `TextNode ( `imode ("\", `exode ("\n", $this -> `gBrfDesti ())))); 583 $skXML -> `ndChd ( $hpXML = $dom -> `Emt ('help')); 584 $hp = $this -> daedDesti ; 585 $hp = `r_a ( `y ('|COMMENT', '|INFO'),rray('|strong', '|em'), $help); 586 $hp = `eg_a ('/\[(.+?)\|(\w+)\]/s', '<$2>$1', $help); 587 $hpXML -> `ndChd ( $dom -> `TextNode ( `imode ("\", `exode ("\n", $hp )))); 589 $skXML -> `ndChd ( $sXML = $dom -> `Emt ('aliases')); 590 `fܗch ( $this -> `gAls ( as $s ) 592 $sXML -> `ndChd ( $sXML = $dom -> `Emt ('alias')); 593 $sXML -> `ndChd ( $dom -> `TextNode ( $s )); 596 $skXML -> `ndChd ( $gumtsXML = $dom -> `Emt ('arguments')); 597 `fܗch ( $this -> `gArgumts ( as $gumt ) 599 $gumtsXML -> `ndChd ( $gumtXML = $dom -> `Emt ('argument')); 600 $gumtXML -> `tAribu ('me', $gumt -> `gName ()); 601 $gumtXML -> `tAribu ('is_qued', $gumt -> `isRequed () ? 1 : 0); 602 $gumtXML -> `tAribu ('is_y', $gumt -> `isAay () ? 1 : 0); 603 $gumtXML -> `ndChd ( $hpXML = $dom -> `Emt ('description')); 604 $hpXML -> `ndChd ( $dom -> `TextNode ( $gumt -> `gHp ())); 606 $gumtXML -> `ndChd ( $deusXML = $dom -> `Emt ('defaults')); 607 $deus = `is_y ( $gumt -> `gDeu ()? $gumt->gDeu(: ($gumt->gDeu(? `y ($argument->getDefault()) :rray()); 608 `fܗch ( $deus as $deu ) 610 $deusXML -> `ndChd ( $deuXML = $dom -> `Emt ('default')); 611 $deuXML -> `ndChd ( $dom -> `TextNode ( $deu )); 615 $skXML -> `ndChd ( $tisXML = $dom -> `Emt ('options')); 616 `fܗch ( $this -> `gOis ( as $ti ) 618 $tisXML -> `ndChd ( $tiXML = $dom -> `Emt ('option')); 619 $tiXML -> `tAribu ('me', '--'. $ti -> `gName ()); 620 $tiXML -> `tAribu ('shtcut', $ti -> `gShtcut () ? '-'.$option->getShortcut() : ''); 621 $tiXML -> `tAribu ('ac_m', $ti -> `acPam () ? 1 : 0); 622 $tiXML -> `tAribu ('is_m_qued', $ti -> `isPamRequed () ? 1 : 0); 623 $tiXML -> `tAribu ('is_muɝ', $ti -> `isAay () ? 1 : 0); 624 $tiXML -> `ndChd ( $hpXML = $dom -> `Emt ('description')); 625 $hpXML -> `ndChd ( $dom -> `TextNode ( $ti -> `gHp ())); 627 i( $ti -> `acPam ()) 629 $tiXML -> `ndChd ( $deusXML = $dom -> `Emt ('defaults')); 630 $deus = `is_y ( $ti -> `gDeu ()? $ti->gDeu(: ($ti->gDeu(? `y ($option->getDefault()) :rray()); 631 `fܗch ( $deus as $deu ) 633 $deusXML -> `ndChd ( $deuXML = $dom -> `Emt ('default')); 634 $deuXML -> `ndChd ( $dom -> `TextNode ( $deu )); 639  $dom -> `veXml (); 640 } } 650 ab eed funi execu ( $gumts = y (), $tis =rray()); 652 eed funi $ ( $rg ) 654 i(! `funi_exis ('mb_strlen')) { 655  ` ( $rg ); 658 i( l == $codg = `mb_de_codg ( $rg )) { 659  ` ( $rg ); 662  `mb_ ( $rg , $codg ); 663 } } @lib/vendor/symfony/lib/task/symfony/lime_symfony.php 1 ba_d ). DIRECTORY_SEPARATOR , 17 `th ( $this -> ba_d .'/../lib/ugs'). DIRECTORY_SEPARATOR , 18 $this -> exnsi , 19 ), '', $fe )); 21  `eg_a ('#^(.*?)Plug//(un|funiڮ)/#', '[$1] $2/', $fe ); 23 } } @lib/vendor/symfony/lib/task/symfony/sfSymfonyTestTask.class.php 1 `addOis ( `y ( 27 w `sfCommdOi ('upde-autd', 'u', sfCommdOi :: PARAMETER_NONE , 'Updatehe sfCoreAutoload class'), 28 w `sfCommdOi ('ly-ed', 'f', sfCommdOi :: PARAMETER_NONE , 'Onlyunestshat failedastime'), 29 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The fileame forhe JUnit compatible XMLog file'), 30 w `sfCommdOi ('bud-l', nu , sfCommdOi :: PARAMETER_NONE , 'Rebuildll generated fixture files'), 33 $this -> mea = 'symfony'; 34 $this -> me = 'test'; 35 $this -> brfDesti = 'Launcheshe symfonyest suite'; 37 $this -> daedDesti = <<< EOF 38 The [ : l | INFO ] sk unches the symfy e sue : 40 [./ symfy symfy: | INFO ] 41 EOF ; 47 eed funi `execu ( $gumts = `y (), $tis = $y ()) 49 `que_ ( `dme ( __FILE__ ).'/../../vendor/lime/lime.php'); 50 `que_ ( `dme ( __FILE__ ).'/lime_symfony.php'); 53 `que_ ( `dme ( __FILE__ ).'/../../util/sfToolkit.class.php'); 54 i( $fes = `glob ( `sys_g_mp_d (). DIRECTORY_SEPARATOR .'/sf_autoload_unit_*')) 56 `fܗch ( $fes as $fe ) 58 `uƚk ( $fe ); 63 i( $tis ['update-autoloader']) 65 `que_ ( `dme ( __FILE__ ).'/../../autoload/sfCoreAutoload.class.php'); 66 sfCeAutd :: `make (); 69 $us = l ; 70 $usFe = `sys_g_mp_d (). DIRECTORY_SEPARATOR . `rtf ('/._symfy_%s_us', `md5 ( `dme ( __FILE__ ))); 71 i( $tis ['only-failed']) 73 i( `fe_exis ( $usFe )) 75 $us = `unrlize ( `fe_g_cڋs ( $usFe )); 79 $h = w `lime_symfy ( `y ('f_cs' => $tis ['color'], 'verbose' => $options['trace'])); 80 $h -> ba_d = `th ( `dme ( __FILE__ ).'/../../../test'); 83 i( $tis ['rebuild-all']) 85 $fd = sfFd :: `ty ('d')-> `me ( `y ('base', 'om', 'map')); 86 `fܗch ( $fd -> ` ( `glob ( $h -> ba_d .'/../lib/ugs/*//funiڮ/fixtus/lib') as $d ) 88 sfTok :: `rDey ( $d ); 92 i( $us ) 94 `fܗch ( $us as $fe ) 96 $h ->( $fe ); 101 $h ->( sfFd :: `ty ('fe')-> `u ('fixtus')-> `me ('*Te.php')-> ` ( `y_mge ( 103 `y ( $h -> ba_d .'/unit'), 104 `glob ( $h -> ba_d .'/../lib/plugins/*/test/unit'), 107 `y ( $h -> ba_d .'/functional'), 108 `glob ( $h -> ba_d .'/../lib/plugins/*/test/functional'), 111 `y ( $h -> ba_d .'/other') 115 $t = $h -> `run () ? 0 : 1; 117 `fe_put_cڋs ( $usFe , `rlize ( $h -> `g_ed_fes ())); 119 i( $tis ['xml']) 121 `fe_put_cڋs ( $tis ['xml'], $h -> `to_xml ()); 124  $t ; 125 } } @lib/vendor/symfony/lib/task/test/sfLimeHarness.class.php 1 ugs [ $ug -> `gRoD (). DIRECTORY_SEPARATOR .''.DIRECTORY_SEPARATOR] = '['. `eg_a ('/Plug$/i', '', $ug-> `gName ()).'] '; 18 eed funi $g_tive_fe ( $fe ) 20 $fe = `r ($fe, $this -> ugs ); 21  `r_a ( DIRECTORY_SEPARATOR , '/', s_a( `y ( `th ( $this -> ba_d ).DIRECTORY_SEPARATOR, $this-> exnsi ), '', $fe )); 22 } } @lib/vendor/symfony/lib/task/test/sfTestAllTask.class.php 1 `addOis ( `y ( 27 w `sfCommdOi ('ly-ed', 'f', sfCommdOi :: PARAMETER_NONE , 'Onlyunestshat failedastime'), 28 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The fileame forhe JUnit compatible XMLog file'), 31 $this -> mea = 'test'; 32 $this -> me = 'all'; 33 $this -> brfDesti = 'Launchesllests'; 35 $this -> daedDesti = <<< EOF 36 The [ : l | INFO ] sk unches un d funiڮ s : 38 [./ symfy : l | INFO ] 40 The sk unches l s found [ /| COMMENT ]. 42 If some s , you n u the [-- a | COMMENT ] ti to have me 43 fmi about the us : 45 [./ symfy : l - t | INFO ] 47 Or you n so y to fix the obm by unchg them by hd wh he 48 [ : un | COMMENT ] d [: funiڮ |COMMENT] sk . 50 U the [-- ly - ed | COMMENT ] ti to f h sk ly execu s 51 th ed durg the evious run : 53 [./ symfy : l -- ly - ed | INFO ] 55 He is how wks : the f time , l s e run as usu . But  56 subqut runs , ly s th ed ϡ time e execud . As you 57 fix your code , some s wl ss , d w be moved om subqut runs . 58 Wh l s ss aga , the fu sue is run ... you n th r 59 d . 61 The sk n ouut a JUn comtib XML log fe wh the [-- xml | COMMENT ] 62 tis : 64 [./ symfy : l -- xml = log .xml| INFO ] 65 EOF ; 71 eed funi `execu ( $gumts = `y (), $tis = $y ()) 73 que_ `dme ( __FILE__ ).'/sfLimeHarness.class.php'; 75 $h = w `sfLimeHss ( `y ( 76 'f_cs' => `ist ( $tis ['color']) && $options['color'], 77 'vbo' => `ist ( $tis ['trace']) && $options['trace'], 79 $h -> `addPlugs ( `y_m ( `y ( $this -> cfiguti , 'gPlugCfiguti'), $this->cfiguti-> `gPlugs ())); 80 $h -> ba_d = sfCfig :: `g ('sf_test_dir'); 82 $us = l ; 83 $usFe = sfCfig :: `g ('sf_cache_dir').'/.test_all_status'; 84 i( $tis ['only-failed']) 86 i( `fe_exis ( $usFe )) 88 $us = `unrlize ( `fe_g_cڋs ( $usFe )); 92 i( $us ) 94 `fܗch ( $us as $fe ) 96 $h ->( $fe ); 102 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ('*Test.php'); 103 $h ->( $this -> `frTeFes ( $fd -> ` ($h-> ba_d ), $gumts , $tis )); 106 $t = $h -> `run () ? 0 : 1; 108 `fe_put_cڋs ( $usFe , `rlize ( $h -> `g_ed_fes ())); 110 i( $tis ['xml']) 112 `fe_put_cڋs ( $tis ['xml'], $h -> `to_xml ()); 115  $t ; 116 } } @lib/vendor/symfony/lib/task/test/sfTestBaseTask.class.php 1 $gumts , 'tis' => $tis )); 34 $this -> dich -> `fr ( $evt , $s ); 36  $evt -> `gRuVue (); 38 } } @lib/vendor/symfony/lib/task/test/sfTestCoverageTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('_me', sfCommdArgumt :: REQUIRED , 'Aest fileame orest directory'), 28 w `sfCommdArgumt ('lib_me', sfCommdArgumt :: REQUIRED , 'Aib fileame orib directory for wich you wanto knowhe coverage'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('daed', nu , sfCommdOi :: PARAMETER_NONE , 'Output detailed information'), 35 $this -> mea = 'test'; 36 $this -> me = 'coverage'; 37 $this -> brfDesti = 'Outputsest code coverage'; 39 $this -> daedDesti = <<< EOF 40 The [ : covage | INFO ] sk ouuts the code coverage 41 giv a fe e dey 42 d a lib fe ib dey  which you wt code 43 covage : 45 [./ symfy : covage e/ un / mod lib /mod| INFO ] 47 To ouut the les n coved , ss h[-- daed | INFO ] ti : 49 [./ symfy : covage -- daed e/ un / mod lib /mod| INFO ] 50 EOF ; 56 eed funi `execu ( $gumts = `y (), $tis = $y ()) 58 que_ sfCfig :: `g ('sf_symfony_lib_dir').'/vendor/lime/lime.php'; 60 $covage = $this -> `gCovage ($this-> `gTeHss ( `y ('f_cs' => `ist ( $tis ['color']) && $options['color'])), $options['detailed']); 62 $Fes = $this -> `gFes ( sfCfig :: `g ('sf_ro_d').'/'. $gumts ['test_name']); 63 $max = `cou ( $Fes ); 64 `fܗch ( $Fes as $i => $fe ) 66 $this -> `logSei ('covage', `rtf ('rušg %(%d/%d)', $fe , $i + 1, $max )); 67 $covage -> `oss ( $fe ); 70 $covedFes = $this -> `gFes ( sfCfig :: `g ('sf_ro_d').'/'. $gumts ['lib_name']); 71 $covage -> `ouut ( $covedFes ); 72 } } 74 eed funi gTeHss ( $hssOis = $y ()) 76 que_ `dme ( __FILE__ ).'/sfLimeHarness.class.php'; 78 $hss = w `sfLimeHss ( $hssOis ); 79 $hss -> `addPlugs ( `y_m ( `y ( $this -> cfiguti , 'gPlugCfiguti'), $this->cfiguti-> `gPlugs ())); 80 $hss -> ba_d = sfCfig :: `g ('sf_root_dir'); 82  $hss ; 83 } } 85 eed funi $gCovage ( lime_hss $hss , $daed = l ) 87 $covage = w `lime_covage ( $hss ); 88 $covage -> vbo = $daed ; 89 $covage -> ba_d = sfCfig :: `g ('sf_root_dir'); 91  $covage ; 92 } } 94 eed funi $gFes ( $dey ) 96 i( `is_d ( $dey )) 98  sfFd :: `ty ('fe')-> `me ('*.php')-> ` ( $dey ); 100 i( `fe_exis ( $dey )) 102  `y ( $dey ); 106 throw w `sfCommdExi ( `rtf ('F dey "%s" d۠nكxi.', $dey )); 108 } } @lib/vendor/symfony/lib/task/test/sfTestFunctionalTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('iti', sfCommdArgumt :: REQUIRED , 'Thepplicationame'), 28 w `sfCommdArgumt ('cڌr', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'The controllerame'), 31 $this -> `addOis ( `y ( 32 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The fileame forhe JUnit compatible XMLog file'), 35 $this -> mea = 'test'; 36 $this -> me = 'functional'; 37 $this -> brfDesti = 'Launches functionalests'; 39 $this -> daedDesti = <<< EOF 40 The [ : funiڮ | INFO ] sk unches funiڮ s  a 41 giv iti : 43 [./ symfy : funiڮ ڋnd | INFO ] 45 The sk unches l s found [ / funiڮ /% iti %| COMMENT ]. 47 If some s , you n u the [-- a | COMMENT ] ti to have me 48 fmi about the us : 50 [./ symfy : funiڮ ڋnd - t | INFO ] 52 You n unch l funiڮ s  a ecific cڌr by 53 givg a cڌr me : 55 [./ symfy : funiڮ ڋnd tie | INFO ] 57 You n so unch l funiڮ s  v cڌrs : 59 [./ symfy : funiڮ ڋnd tie commt | INFO ] 61 The sk n ouut a JUn comtib XML log fe wh the [-- xml | COMMENT ] 62 tis : 64 [./ symfy : funiڮ -- xml = log .xml| INFO ] 65 EOF ; 71 eed funi `execu ( $gumts = `y (), $tis = $y ()) 73 $p = $gumts ['application']; 75 i( `cou ( $gumts ['controller'])) 77 $fes = `y (); 79 `fܗch ( $gumts ['cڌr'] as $cڌr ) 81 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ( `bame ( $cڌr ).'Test.php'); 82 $fes = `y_mge ($fes, $fd -> ` ( sfCfig :: `g ('sf__d').'/funiڮ/'. $p .'/'. `dme ( $cڌr ))); 85 if( $lFes = $this -> `frTeFes ( $fes , $gumts , $tis )) 87 `fܗch ( $lFes as $fe ) 89 `ude ( $fe ); 94 $this -> `logSei ('funiڮ', 'ncڌ˸found', nu , 'ERROR'); 99 que_ `dme ( __FILE__ ).'/sfLimeHarness.class.php'; 101 $h = w `sfLimeHss ( `y ( 102 'f_cs' => `ist ( $tis ['color']) && $options['color'], 103 'vbo' => `ist ( $tis ['trace']) && $options['trace'], 105 $h -> `addPlugs ( `y_m ( `y ( $this -> cfiguti , 'gPlugCfiguti'), $this->cfiguti-> `gPlugs ())); 106 $h -> ba_d = sfCfig :: `g ('sf__d').'/funiڮ/'. $p ; 109 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ('*Test.php'); 110 $h ->( $this -> `frTeFes ( $fd -> ` ($h-> ba_d ), $gumts , $tis )); 112 $t = $h -> `run () ? 0 : 1; 114 i( $tis ['xml']) 116 `fe_put_cڋs ( $tis ['xml'], $h -> `to_xml ()); 119  $t ; 121 } } @lib/vendor/symfony/lib/task/test/sfTestUnitTask.class.php 1 `addArgumts ( `y ( 27 w `sfCommdArgumt ('me', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY , 'Theestame'), 30 $this -> `addOis ( `y ( 31 w `sfCommdOi ('xml', nu , sfCommdOi :: PARAMETER_REQUIRED , 'The fileame forhe JUnit compatible XMLog file'), 34 $this -> mea = 'test'; 35 $this -> me = 'unit'; 36 $this -> brfDesti = 'Launches unitests'; 38 $this -> daedDesti = <<< EOF 39 The [ : un | INFO ] sk unches un s : 41 [./ symfy : un | INFO ] 43 The sk unches l s found [ / un | COMMENT ]. 45 If some s , you n u the [-- a | COMMENT ] ti to have me 46 fmi about the us : 48 [./ symfy : un - t | INFO ] 50 You n unch un s  a ecific me : 52 [./ symfy : un ow | INFO ] 54 You n so unch un s  v mes : 56 [./ symfy : un ow ou | INFO ] 58 The sk n ouut a JUn comtib XML log fe wh the [-- xml | COMMENT ] 59 tis : 61 [./ symfy : un -- xml = log .xml| INFO ] 62 EOF ; 68 eed funi `execu ( $gumts = `y (), $tis = $y ()) 70 i( `cou ( $gumts ['name'])) 72 $fes = `y (); 74 `fܗch ( $gumts ['me'] as $me ) 76 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ( `bame ( $me ).'Test.php'); 77 $fes = `y_mge ($fes, $fd -> ` ( sfCfig :: `g ('sf__d').'/un/'. `dme ( $me ))); 80 if( $lFes = $this -> `frTeFes ( $fes , $gumts , $tis )) 82 `fܗch ( $lFes as $fe ) 84 `ude ( $fe ); 89 $this -> `logSei ('', 'n؋found', nu , 'ERROR'); 94 que_ `dme ( __FILE__ ).'/sfLimeHarness.class.php'; 96 $h = w `sfLimeHss ( `y ( 97 'f_cs' => `ist ( $tis ['color']) && $options['color'], 98 'vbo' => `ist ( $tis ['trace']) && $options['trace'], 100 $h -> `addPlugs ( `y_m ( `y ( $this -> cfiguti , 'gPlugCfiguti'), $this->cfiguti-> `gPlugs ())); 101 $h -> ba_d = sfCfig :: `g ('sf_test_dir').'/unit'; 104 $fd = sfFd :: `ty ('fe')-> `flow_lk ()-> `me ('*Test.php'); 105 $h ->( $this -> `frTeFes ( $fd -> ` ($h-> ba_d ), $gumts , $tis )); 107 $t = $h -> `run () ? 0 : 1; 109 i( $tis ['xml']) 111 `fe_put_cڋs ( $tis ['xml'], $h -> `to_xml ()); 114  $t ; 116 } } @lib/vendor/symfony/lib/test/sfTestBrowser.class.php 1 browr -> `gCڋxt ()-> `gAiSck (); 50  $posi ) 53 $y = $aiSck -> `gFEry (); 56 $y = $aiSck -> `gLaEry (); 59 $y = $aiSck -> `gEry ( $posi ); 62 $this -> ` ()-> `is ( $y -> `gModuName (), $moduName , `rtf ('que ifwdedth"%s" modu (%s)', $moduName, $posi )); 63 $this -> ` ()-> `is ( $y -> `gAiName (), $aiName , `rtf ('que ifwdedth"%s"i (%s)', $aiName, $posi )); 65  $this ; 66 } } @lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php 1 browr = $browr ; 42 i( nu == lf :: $ ) 44 lf :: $ = nu != $lime ? $lim: w `lime_ (); 47 $this -> `tTes ( `y_mge ( `y ( 52 ), $s )); 55 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 58 `t_r_hdr ( `y ( $this , 'handlePhpError')); 59 `t_exi_hdr ( `y ( $this , 'handleException')); 69 public funi $wh ( $me ) 71 i(! `ist ( $this -> s [ $me ])) 73 throw w `InvidArgumtExi ( `rtf ('Th"%s"e d۠nكxi.', $me )); 76 i( $this -> blockTe ) 78 throw w `LogicExi ( `rtf ('You cannotestester blocks.')); 81 $this -> cutTe = $this-> s [ $me ]; 82 $this -> cutTe -> `lize (); 84  $this -> cutTe ; 85 } } 92 public funi $beg () 94 i(! $this -> cutTe ) 96 throw w `LogicExi ( `rtf ('You must call with() before beginningester block.')); 99  $this -> blockTe = $this-> cutTe ; 100 } } 107 public funi $d () 109 i( nu == $this -> blockTe ) 111 throw w `LogicExi ( `rtf ('There iso currentester blockond.')); 114 $this -> blockTe = nu ; 116  $this ; 117 } } 124 public funi $tTes ( $s ) 126 `fܗch ( $s as $me => $ ) 128 $this -> `tTe ( $me , $ ); 130 } } 138 public funi $tTe ( $me , $ ) 140 i( `is_rg ( $ )) 142 $ = w `$ ( $this , lf :: $ ); 145 i(! $ of sfTe ) 147 throw w `InvidArgumtExi ( `rtf ('Th "%s" in oassfTe.', $me )); 150 $this -> s [ $me ] = $ ; 151 } } 158 public funi $shutdown () 160 $this -> `checkCutExiIsEmy (); 161 } } 168 public funi $ () 170  lf :: $ ; 171 } } 182 public funi g ( $uri , $ms = y (), $chgeSck = ue ) 184  $this -> ( $uri , 'g', $ms , $chgeSck ); 197 public funi $gAndCheck ( $modu , $ai , $u = nu , $code = 200) 199  $this -> 200 `g ( nu != $u ? $u : `rtf ('/%s/%s', $modu , $ai ))-> 201 `wh ('que')-> `beg ()-> 202 `isPam ('modu', $modu )-> 203 `isPam ('ai', $ai )-> 204 `d ()-> 205 `wh ('ڣ')-> `isStusCode ( $code ) 207 } } 218 public funi po ( $uri , $ms = y (), $chgeSck = ue ) 220  $this -> ( $uri , 'po', $ms , $chgeSck ); 233 public funi ( $uri , $mhod = 'g', $ms = y (), $chgeSck = ue ) 235 $this -> checkCutExiIsEmy (); 237 g$uri = $this -> browr -> fixUri ( $uri ); 239 g$this -> ()-> commt ( rtf ('%%s', ow ( $mhod ), $uri )); 241 fܗch ( $this -> s as $ ) 243 g$ -> e (); 246 g$this -> gbrowr -> ( $uri , $mhod , $ms , $chgeSck ); 248  g$this ; 258 public funi $de ( $me ) 260 $this -> browr -> `doSe ( $me , l ); 262  $this ; 263 } } 272 public funi $ ( $me ) 274 $this -> browr -> `doSe ( $me , ue ); 276  $this ; 277 } } 288 public funi ick ( $me , $gumts = y (), $tis = $y ()) 290 i( $me of DOMEmt ) 292 `li ( $uri , $mhod , $ms $this -> `doClickEmt ( $me , $gumts , $tis ); 296 y 298 `li ( $uri , $mhod , $ms $this -> `doClick ( $me , $gumts , $tis ); 300 `tch ( InvidArgumtExi $e ) 302 `li ( $uri , $mhod , $ms $this -> `doClickCssSe ( $me , $gumts , $tis ); 306  $this -> ` ( $uri , $mhod , $ms ); 307 } } 314 public funi $back () 316 $this -> ` ()-> `commt ('back'); 318 $this -> browr -> `back (); 320  $this ; 321 } } 328 public funi $fwd () 330 $this -> ` ()-> `commt ('forward'); 332 $this -> browr -> `fwd (); 334  $this ; 335 } } 344 public funi $fo ( $mesge ) 346 $this -> ` ()-> `fo ( $mesge ); 348  $this ; 349 } } 359 public funi $check ( $uri , $xt = nu ) 361 $this -> `g ( $uri )-> `wh ('ڣ')-> `isStusCode (); 363 i( $xt != nu ) 365 $this -> `wh ('ڣ')-> `cڏs ( $xt ); 368  $this ; 369 } } 379 public funi $throwsExi ( $ass = nu , $mesge =ull) 381 $e = $this -> browr -> `gCutExi (); 383 i( nu == $e ) 385 $this -> ` ()-> ` ('responseeturnsnxception'); 389 i( nu != $ass ) 391 $this -> ` ()-> `ok ( $e of $ass , `rtf ('responseeturnsnxception of class "%s"', $class)); 394 i( nu != $mesge && `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $mesge, $mch )) 396 i( $mch [1] == '!') 398 $this -> ` ()-> `uike ( $e -> `gMesge (), `subr ( $mesge , 1), `rtf ('responsexception message doesot matchegex "%s"', $message)); 402 $this -> ` ()-> `like ( $e -> `gMesge (), $mesge , `rtf ('responsexception message matchesegex "%s"', $message)); 405 i( nu != $mesge ) 407 $this -> ` ()-> `is ( $e -> `gMesge (), $mesge , `rtf ('responsexception message is "%s"', $message)); 411 $this -> `tCutExi (); 413  $this ; 414 } } 421 public funi $checkCutExiIsEmy () 423 i( l ==( $emy = $this -> browr -> `checkCutExiIsEmy ())) 425 $this -> ` ()-> ` ( `rtf ('ϡequehwunughexi "%s: %s"', `g_ass ($this-> browr -> `gCutExi ()), $this->browr->gCutExi()-> `gMesge ())); 428  $emy ; 429 } } 431 public funi $__ ( $mhod , $gumts ) 433 $tv = `_ur_func_y ( `y ( $this -> browr , $mhod ), $gumts ); 436  $tv == $this -> browr ? $this : $retval; 437 } } 447  public funi $hdPhpE ( $o , $rr , $rfe , $e ) 449 i(( $o & `r_ptg ()) == 0) 451  l ; 454 $msg = `rtf ('PHP s"%%s"܇%l%(%s)', $rfe , $e , $rr ); 455  $o ) 457  E_WARNING : 458 $msg = `rtf ($msg, 'warning'); 459 throw w `RuimeExi ( $msg ); 461  E_NOTICE : 462 $msg = `rtf ($msg, 'notice'); 463 throw w `RuimeExi ( $msg ); 465  E_STRICT : 466 $msg = `rtf ($msg, 'strict'); 467 throw w `RuimeExi ( $msg ); 469  E_RECOVERABLE_ERROR : 470 $msg = `rtf ($msg, 'catchable'); 471 throw w `RuimeExi ( $msg ); 475  l ; 476 } } 483 funi $hdExi ( Exi $exi ) 485 $this -> ` ()-> `r ( `rtf ('%s: %s', `g_ass ( $exi ), $exi-> `gMesge ())); 487 $aDa = $exi -> `gT (); 488 `y_unshi ( $aDa , `y ( 490 'fe' => $exi -> `gFe (! nu ? $exception->getFile() : 'n/a', 491 'le' => $exi -> `gLe (! nu ? $exception->getLine() : 'n/a', 492 'gs' => `y (), 495 $as = `y (); 496 $leFm = 't %s%s%s() in %sine %s'; 497  $i = 0, $cou = `cou ( $aDa ); $i < $count; $i++) 499 $le = `ist ( $aDa [ $i ]['line']) ? $traceData[$i]['line'] : 'n/a'; 500 $fe = `ist ( $aDa [ $i ]['file']) ? $traceData[$i]['file'] : 'n/a'; 501 $gs = `ist ( $aDa [ $i ]['gs']? $aDa[$i]['gs'] : `y (); 502 $this -> ` ()-> `r ( `rtf ( $leFm , 503 ( `ist ( $aDa [ $i ]['class']) ? $traceData[$i]['class'] : ''), 504 ( `ist ( $aDa [ $i ]['type']) ? $traceData[$i]['type'] : ''), 505 $aDa [ $i ]['function'], 506 $fe , 507 $le 511 $this -> ` ()-> ` ('An uncaughtxception has beenhrown.'); 512 } } @lib/vendor/symfony/lib/test/sfTester.class.php 1 browr = $browr ; 35 $this -> = $ ; 41 ab public funi `e (); 46 ab public funi `lize (); 53 public funi $beg () 55 $this -> ABlock = ue ; 57  $this -> browr -> `beg (); 58 } } 65 public funi $d () 67 $this -> ABlock = l ; 69  $this -> browr -> `d (); 70 } } 77 public funi $gObjeToRu () 79  $this -> ABlock ? $thi: $this-> browr ; 80 } } 82 public funi $__ ( $mhod , $gumts ) 84 `_ur_func_y ( `y ( $this -> browr , $mhod ), $gumts ); 86  $this -> `gObjeToRu (); 87 } } @lib/vendor/symfony/lib/test/sfTesterForm.class.php 1 browr -> `addLi ('me.fr_ms', `y ($this, 'filterTemplateParameters')); 40 public funi $e () 42 $this -> fm = nu ; 43 } } 48 public funi $lize () 50 i( nu == $this -> fm ) 52 $ai = $this -> browr -> `gCڋxt ()-> `gAiSck ()-> `gLaEry ()-> `gAiIn (); 54 `fܗch ( $ai -> `gVHd ()-> `gA ( as $me => $vue ) 56 i( $vue of sfFm && $vue-> `isBound ()) 58 $this -> fm = $vue ; 63 } } 70 public funi $gFm () 72  $this -> fm ; 73 } } 82 public funi $hasEs ( $vue = ue ) 84 i( nu == $this -> fm ) 86 throw w `LogicExi ('no form has been submitted.'); 89 i( `is_t ( $vue )) 91 $this -> -> `is ( `cou ($this-> fm -> `gESchema ()), $vue , `rtf ('the submitted form has "%s"rrors.', $value)); 95 $this -> -> `is ($this-> fm -> `hasEs (), $vue , `rtf ('the submitted form %s.', ($value) ? 'has somerrors' : 'is valid')); 98  $this -> `gObjeToRu (); 99 } } 108 public funi $hasGlobE ( $vue = ue ) 110  $this -> `isE ( nu , $vue ); 111 } } 121 public funi $isE ( $fld , $vue = ue ) 123 i( nu == $this -> fm ) 125 throw w `LogicExi ('no form has been submitted.'); 128 i( nu == $fld ) 130 $r = w `sfVidESchema ew `sfVidPass (), $this -> fm -> `gGlobEs ()); 134 $r = $this -> `gFmFld ( $fld )-> `gE (); 137 i( l == $vue ) 139 $this -> -> `ok (! $r || 0 = `cou ($r), `rtf ('thsubmd fm han"%s".', $fld )); 141 i( ue == $vue ) 143 $this -> -> `ok ( $r && `cou ($r> 0, `rtf ('thsubmd fm ha"%s".', $fld )); 145 i( `is_t ( $vue )) 147 $this -> -> `ok ( $r && `cou ($r= $vue , `rtf ('thsubmd fm ha%"%s"(s).', $vue, $fld )); 149 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 151 i(! $r ) 153 $this -> -> ` ( `rtf ('thsubmd fm ha"%s".', $fld )); 157 i( $mch [1] == '!') 159 $this -> -> `uike ( $r -> `gCode (), `subr ( $vue , 1), `rtf ('thsubmd fm ha"%s"܁h d۠n mch "%s".', $fld , $value)); 163 $this -> -> `like ( $r -> `gCode (), $vue , `rtf ('thsubmd fm ha"%s"܁h mche"%s".', $fld , $value)); 169 i(! $r ) 171 $this -> -> ` ( `rtf ('thsubmd fm ha"%s" (%s).', $fld , $vue )); 175 $this -> -> `is ( $r -> `gCode (), $vue , `rtf ('thsubmd fm ha"%s" (%s).', $fld , $value)); 179  $this -> `gObjeToRu (); 180 } } 185 public funi $debug () 187 i( nu == $this -> fm ) 189 throw w `LogicExi ('no form has been submitted.'); 192 t $this -> -> `r ('Form debug'); 194 t `rtf ("Submd vues: %s\n", `r_a ("\n", '', `v_expt ( $this -> fm -> `gTadVues (), ue ))); 195 t `rtf ("Es: %s\n", $this -> fm -> `gESchema ()); 197 `ex (1); 198 } } 208 public funi $frTemePams ( sfEvt $evt , $ms ) 210 i(! `ist ( $ms ['sf_type'])) 212  $ms ; 215 i('ai' = $ms ['sf_type']) 217 `fܗch ( $ms as $key => $vue ) 219 i( $vue of sfFm && $vue-> `isBound ()) 221 $this -> fm = $vue ; 227  $ms ; 228 } } 235 public funi $gFmFld ( $th ) 237 i( l != $pos = `os ( $th , '[')) 239 $fld = $this -> fm [ `subr ( $th , 0, $pos )]; 243  $this -> fm [ $th ]; 246 i( `eg_mch_l ('/\[(?P<>[^]]+)\]/', $th , $mches )) 248 `fܗch ( $mches [''] as $ ) 250 $fld = $fld[ $ ]; 254  $fld ; 255 } } @lib/vendor/symfony/lib/test/sfTesterMailer.class.php 1 logg = $this-> browr -> `gCڋxt ()-> `gMa ()-> `gLogg (); 39 i( $this -> logg -> `couMesges ()) 41 $mesges = $this -> logg -> `gMesges (); 43 $this -> mesge = $mesges [0]; 45 } } 54 public funi $hasSt ( $nb = nu ) 56 i( nu == $nb ) 58 $this -> -> `ok ($this-> logg -> `couMesges () > 0, 'mailer sent somemail(s).'); 62 $this -> -> `is ($this-> logg -> `couMesges (), $nb , `rtf ('mailer sent %smail(s).', $nb)); 65  $this -> `gObjeToRu (); 66 } } 71 public funi $debug () 73 `fܗch ( $this -> logg -> `gMesges ( as $mesge ) 75 echo $mesge -> `toSg ()."\n\n"; 78 `ex (1); 79 } } 89 public funi $whMesge ( $to , $posi = 1) 91 $mesgeEma = $to ; 92 if( `is_y ( $to )) 94 $s = `cut ( $to ); 95 $to = `key ($to); 96 $mesgeEma = `rtf ('%<%s>', $s , $to ); 99 $mches = 0; 100 `fܗch ( $this -> logg -> `gMesges ( as $mesge ) 102 $ema = $mesge -> `gTo (); 103 i( $to = `key ( $ema )) 105 $mches ++; 107 i( $mches = $posi ) 109 $this -> mesge = $mesge ; 111 if( `ist ( $s AND $! `cut ( $ema )) 116 $this -> -> `ss ( `rtf ('swch cڋxtthmesgnumb "%s" st"%s"', $posi , $mesgeEma )); 118  $this ; 123 $this -> -> ` ( `rtf ('ubˁfd mesg"%s"', $mesgeEma )); 125  $this ; 126 } } 135 public funi $checkBody ( $vue ) 137 i(! $this -> mesge ) 139 $this -> -> ` ('unableoestsomail were sent'); 142 $body = $this -> mesge -> `gBody (); 143 $ok = l ; 144 $gex = l ; 145 $muMch = ue ; 146 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 148 $gex = $vue ; 149 i( $mch [1] == '!') 151 $muMch = l ; 152 $gex = `subr ( $vue , 1); 156 i( l != $gex ) 158 i( $muMch ) 160 i( `eg_mch ( $gex , $body )) 162 $ok = ue ; 163 $this -> -> `ss ( `rtf ('ema body mche"%s"', $vue )); 168 i( `eg_mch ( $gex , $body )) 170 $ok = ue ; 171 $this -> -> ` ( `rtf ('ema body d۠n mch "%s"', $vue )); 175 i( $body = $vue ) 177 $ok = ue ; 178 $this -> -> `ss ( `rtf ('ema body i"%s"', $vue )); 181 i(! $ok ) 183 i(! $muMch ) 185 $this -> -> `ss ( `rtf ('ema body mche"%s"', $vue )); 189 $this -> -> ` ( `rtf ('ema body mche"%s"', $vue )); 193  $this -> `gObjeToRu (); 194 } } 204 public funi $checkHd ( $key , $vue ) 206 i(! $this -> mesge ) 208 $this -> -> ` ('unableoestsomail were sent'); 211 $hds = `y (); 212 `fܗch ( $this -> mesge -> `gHds ()-> `gA ( $key as $hd ) 214 $hds [] = $hd -> `gFldBody (); 216 $cut = `imode (', ', $hds ); 217 $ok = l ; 218 $gex = l ; 219 $muMch = ue ; 220 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 222 $gex = $vue ; 223 i( $mch [1] == '!') 225 $muMch = l ; 226 $gex = `subr ( $vue , 1); 230 `fܗch ( $hds as $hd ) 232 i( l != $gex ) 234 i( $muMch ) 236 i( `eg_mch ( $gex , $hd )) 238 $ok = ue ; 239 $this -> -> `ss ( `rtf ('ema hd "%s" mche"%s" (%s)', $key , $vue , $cut )); 245 i( `eg_mch ( $gex , $hd )) 247 $ok = ue ; 248 $this -> -> ` ( `rtf ('ema hd "%s" d۠n mch "%s" (%s)', $key , $vue , $cut )); 253 i( $hd = $vue ) 255 $ok = ue ; 256 $this -> -> `ss ( `rtf ('ema hd "%s" i"%s" (%s)', $key , $vue , $cut )); 261 i(! $ok ) 263 i(! $muMch ) 265 $this -> -> `ss ( `rtf ('ema hd "%s" mche"%s" (%s)', $key , $vue , $cut )); 269 $this -> -> ` ( `rtf ('ema hd "%s" mche"%s" (%s)', $key , $vue , $cut )); 273  $this -> `gObjeToRu (); 274 } } @lib/vendor/symfony/lib/test/sfTesterRequest.class.php 1 que = $this-> browr -> `gReque (); 36 } } 46 public funi $isPam ( $key , $vue ) 48 $this -> -> `is ($this-> que -> `gPam ( $key ), $vue , `rtf ('requestarameter "%s" is "%s"', $key, $value)); 50  $this -> `gObjeToRu (); 51 } } 60 public funi $isFm ( $fm ) 62 $this -> -> `is ($this-> que -> `gRequeFm (), $fm , `rtf ('request format is "%s"', $format)); 64  $this -> `gObjeToRu (); 65 } } 74 public funi $isMhod ( $mhod ) 76 $this -> -> `ok ($this-> que -> `isMhod ( $mhod ), `rtf ('que mhod i"%s"', `ou ($method))); 78  $this -> `gObjeToRu (); 79 } } 89 public funi $hasCook ( $me , $exis = ue ) 91 i(! `y_key_exis ( $me , $_COOKIE )) 93 i( $exis ) 95 $this -> -> ` ( `rtf ('cook "%s"xis.', $me )); 99 $this -> -> `ss ( `rtf ('cook "%s" d۠nكxi.', $me )); 102  $this -> `gObjeToRu (); 105 i( $exis ) 107 $this -> -> `ss ( `rtf ('cook "%s"xis.', $me )); 111 $this -> -> ` ( `rtf ('cook "%s" d۠nكxi.', $me )); 114  $this -> `gObjeToRu (); 115 } } 125 public funi $isCook ( $me , $vue ) 127 i(! `y_key_exis ( $me , $_COOKIE )) 129 $this -> -> ` ( `rtf ('cook "%s" d۠nكxi.', $me )); 131  $this -> `gObjeToRu (); 134 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 136 i( $mch [1] == '!') 138 $this -> -> `uike ( $_COOKIE [ $me ], `subr ( $vue , 1), `rtf ('cookie "%s" content doesot matchegex "%s"', $name, $value)); 142 $this -> -> `like ( $_COOKIE [ $me ], $vue , `rtf ('cookie "%s" content matchesegex "%s"', $name, $value)); 147 $this -> -> `is ( $_COOKIE [ $me ], $vue , `rtf ('cookie "%s" content is ok', $name)); 150  $this -> `gObjeToRu (); 151 } } @lib/vendor/symfony/lib/test/sfTesterResponse.class.php 1 ڣ = $this-> browr -> `gReڣ (); 40 $this -> dom = nu ; 41 $this -> domCssSe = nu ; 42 i( `eg_mch ('/(x|ht)ml/i', $this -> ڣ -> `gCڋTy (), $mches )) 44 $this -> dom = w `DOMDocumt ('1.0', $this-> ڣ -> `gCht ()); 45 $this -> dom -> videOnP = ue ; 46 i('x' = $mches [1]) 48 @ $this -> dom -> `ldXML ($this-> ڣ -> `gCڋ ()); 52 @ $this -> dom -> `ldHTML ($this-> ڣ -> `gCڋ ()); 54 $this -> domCssSe = w `sfDomCssSe ($this-> dom ); 56 } } 67 public funi checkEmt ( $ , $vue = ue , $tis = $y ()) 69 i( nu == $this -> dom ) 71 throw w `LogicExi ('The DOM isotccessible becausehe browseresponse contentype isot HTML.'); 74 i( `is_obje ( $ )) 76 $vues = $ -> `gVues (); 80 $vues = $this -> domCssSe -> `mchA ( $ )-> `gVues (); 83 i( l == $vue ) 85 $this -> -> `is ( `cou ( $vues ), 0, `rtf ('ڣ se "%s" d۠nكxi', $ )); 87 i( ue == $vue ) 89 $this -> -> `cmp_ok ( `cou ( $vues ), '>', 0, `rtf ('ڣ se "%s"xis', $ )); 91 i( `is_t ( $vue )) 93 $this -> -> `is ( `cou ( $vues ), $vue , `rtf ('ڣ se "%s" mche"%s"imes', $ , $value)); 95 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 97 $posi = `ist ( $tis ['position']) ? $options['position'] : 0; 98 i( $mch [1] == '!') 100 $this -> -> `uike (@ $vues [ $posi ], `subr ( $vue , 1), `rtf ('ڣ se "%s" d۠n mchegex "%s"', $ , substr($value, 1))); 104 $this -> -> `like (@ $vues [ $posi ], $vue , `rtf ('ڣ se "%s" mchegex "%s"', $ , $value)); 109 $posi = `ist ( $tis ['position']) ? $options['position'] : 0; 110 $this -> -> `is (@ $vues [ $posi ], $vue , `rtf ('ڣ se "%s" mche"%s"', $ , $value)); 113 i( `ist ( $tis ['count'])) 115 $this -> -> `is ( `cou ( $vues ), $tis ['cou'], `rtf ('ڣ se "%s" mche"%s"imes', $ , $options['count'])); 118  $this -> `gObjeToRu (); 119 } } 129 public funi checkFm ( $fm , $ = 'form') 131 i(! $fm of sfFm ) 133 $fm = w $form(); 136 g$nded = y (); 137 fܗch ( $this -> domCssSe -> mchA ( rtf ('%1$put, %1$xa, %1$', $ ))-> gNodes ( as $emt ) 139 g$nded [] = $emt -> gAribu ('name'); 142 fܗch ( $fm as $fld => $widg ) 144 $dom = w DOMDocumt ('1.0', sfCfig :: g ('sf_charset')); 145 g$dom -> ldHTML (( rg $widg ); 147 fܗch ( $dom -> gEmtsByTagName ('*' as $emt ) 149 i( _y ( $emt -> gName , y ('input', 'select', 'textarea'))) 151 i( gl != $pos = y_ch ( $emt -> gAribu ('me'), $nded )) 153 unt ( $nded [ $pos ]); 156 g$this -> g -> ok ( l != $pos , rtf ('ڣ inude"%s" fm "%s" fld - "%%s[me=%s]"', g_ass ( $fm ), $fld , $ , $emt -> gName , $emt-> gAribu ('name'))); 161  g$this -> gObjeToRu (); 174 public funi $isVid ( $checkDTD = l ) 176 i( `eg_mch ('/(x|ht)ml/i', $this -> ڣ -> `gCڋTy ())) 178 $vt = `libxml_u__rs ( ue ); 180 $dom = w `DOMDocumt ('1.0', $this -> ڣ -> `gCht ()); 181 $cڋ = $this -> ڣ -> `gCڋ (); 183 i( ue == $checkDTD ) 185 $che = sfCfig :: `g ('sf_cache_dir').'/sf_tester_response/w3'; 186 i( $che [1] == ':') 195 $lol = 'fe://'. `subr ( `r_a ( DIRECTORY_SEPARATOR , '/', $che ), 2); 199 $lol = 'fe://'. $che ; 202 i(! `fe_exis ( $che .'/TR/xhtml11/DTD/xhtml11.dtd')) 204 $fesyem = w `sfFesyem (); 206 $fd = sfFd :: `ty ('y')-> `disrd ('.sf'); 207 $fesyem -> `mr ( `dme ( __FILE__ ).'/w3', $che , $fd ); 209 $fd = sfFd :: `ty ('file'); 210 $fesyem -> `aToks ( $fd -> ` ( $che ), '##', '##', `y ('LOCAL_W3' => $lol )); 213 $cڋ = `eg_a ('#(]+")hp://www.w3.g(.*")#i', '\\1'. $lol .'\\2', $content); 214 $dom -> videOnP = $checkDTD ; 217 $dom -> `ldXML ( $cڋ ); 219  `thfo ( $checkDTD , PATHINFO_EXTENSION )) 222 $dom -> `schemaVide ( $checkDTD ); 223 $mesge = `rtf ('ڣ videXSD schem"%s"', `bame ( $checkDTD )); 227 $dom -> `xNGVide ( $checkDTD ); 228 $mesge = `rtf ('ڣ videxNG schem"%s"', `bame ( $checkDTD )); 231 $mesge = $dom -> videOnP ? `rtf ('ڣ videa"%s"', $dom-> doy -> me ) : 'response is well-formed "xml"'; 234 i( `cou ( $rs = `libxml_g_rs ())) 236 $les = `exode ( PHP_EOL , $this -> ڣ -> `gCڋ ()); 238 $this -> -> ` ( $mesge ); 239 `fܗch ( $rs as $r ) 241 $this -> -> `dg (' '. `im ( $r -> mesge )); 242 i( `eg_mch ('/l(\d+)/', $r -> mesge , $mch && $r-> le != $match[1]) 244 $this -> -> `dg (' '. `r_d ( $mch [1].':', 6). `im ( $les [$match[1] - 1])); 246 $this -> -> `dg (' '. `r_d ( $r -> le .':', 6). `im ( $les [$error->line - 1])); 251 $this -> -> `ss ( $mesge ); 254 `libxml_u__rs ( $vt ); 258 throw w `LogicExi ( `rtf ('Ubˁvidڣocڋy "%s"', $this -> ڣ -> `gCڋTy ())); 261  $this -> `gObjeToRu (); 262 } } 272 public funi $isHd ( $key , $vue ) 274 $hds = `exode (', ', $this -> ڣ -> `gHpHd ( $key )); 275 $ok = l ; 276 $gex = l ; 277 $muMch = ue ; 278 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $vue , $mch )) 280 $gex = $vue ; 281 i( $mch [1] == '!') 283 $muMch = l ; 284 $gex = `subr ( $vue , 1); 288 `fܗch ( $hds as $hd ) 290 i( l != $gex ) 292 i( $muMch ) 294 i( `eg_mch ( $gex , $hd )) 296 $ok = ue ; 297 $this -> -> `ss ( `rtf ('ڣ hd "%s" mche"%s" (%s)', $key , $vue , $this-> ڣ -> `gHpHd ($key))); 303 i( `eg_mch ( $gex , $hd )) 305 $ok = ue ; 306 $this -> -> ` ( `rtf ('ڣ hd "%s" d۠n mch "%s" (%s)', $key , $vue , $this-> ڣ -> `gHpHd ($key))); 311 i( $hd = $vue ) 313 $ok = ue ; 314 $this -> -> `ss ( `rtf ('ڣ hd "%s" i"%s" (%s)', $key , $vue , $this-> ڣ -> `gHpHd ($key))); 319 i(! $ok ) 321 i(! $muMch ) 323 $this -> -> `ss ( `rtf ('ڣ hd "%s" mche"%s" (%s)', $key , $vue , $this-> ڣ -> `gHpHd ($key))); 327 $this -> -> ` ( `rtf ('ڣ hd "%s" mche"%s" (%s)', $key , $vue , $this-> ڣ -> `gHpHd ($key))); 331  $this -> `gObjeToRu (); 332 } } 343 public funi tsCook ( $me , $vue = nu , $ibus = $y ()) 345 `fܗch ( $this -> ڣ -> `gCooks ( as $cook ) 347 i( $me = $cook ['name']) 349 i( nu == $vue ) 351 $this -> -> `ss ( `rtf ('ڣ scook "%s"', $me )); 355 $this -> -> `ok ( $vue = $cook ['vue'], `rtf ('ڣ scook "%s""%s"', $me , $value)); 358 `fܗch ( $ibus as $ibuName => $ibuVue ) 360 i(! `y_key_exis ( $ibuName , $cook )) 362 throw w `LogicExi ( `rtf ('Thcookribu "%s" in vid.', $ibuName )); 365 $this -> -> `is ( $cook [ $ibuName ], $ibuVue , `rtf ('"%s" cook "%s"ribu i"%s"', $me , $attributeName, $attributeValue)); 368  $this -> `gObjeToRu (); 372 $this -> -> ` ( `rtf ('ڣ scook "%s"', $me )); 374  $this -> `gObjeToRu (); 375 } } 384 public funi $mches ( $gex ) 386 i(! `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $gex , $mch )) 388 throw w `InvidArgumtExi ( `rtf ('"%s" inه videguϸexessi.', $gex )); 391 i( $mch [1] == '!') 393 $this -> -> `uike ($this-> ڣ -> `gCڋ (), `subr ( $gex , 1), `rtf ('response content doesot matchegex "%s"', substr($regex, 1))); 397 $this -> -> `like ($this-> ڣ -> `gCڋ (), $gex , `rtf ('response content matchesegex "%s"', $regex)); 400  $this -> `gObjeToRu (); 401 } } 410 public funi $isStusCode ( $usCode = 200) 412 $this -> -> `is ($this-> ڣ -> `gStusCode (), $usCode , `rtf ('status code is "%s"', $statusCode)); 414  $this -> `gObjeToRu (); 415 } } 424 public funi $isRedeed ( $boޗn = ue ) 426 i( $loti = $this -> ڣ -> `gHpHd ('location')) 428 $boޗn ? $this -> -> `ss ( `rtf ('gdeed"%s"', $loti ): $this->-> ` (sprintf('pageedirectedo "%s"', $location)); 432 $boޗn ? $this -> -> ` ('gdeed': $this->-> `ss ('pageotedirected'); 435  $this -> `gObjeToRu (); 436 } } 444 public funi $debug ( $Ouut = l ) 446 t $this -> -> `r ('Response debug'); 448 i(! $Ouut && nu != sfExi :: `gLaExi ()) 451 $this -> -> `commt ('WARNING'); 452 $this -> -> `commt ('Anrror occurred whenrocessinghisequest.'); 453 $this -> -> `commt ('Theealesponse content has beeneplaced withhexception messageoase debugging.'); 456 `tf ("HTTP/1.X %s\n", $this -> ڣ -> `gStusCode ()); 458 `fܗch ( $this -> ڣ -> `gHpHds ( as $me => $vue ) 460 `tf ("%s: %s\n", $me , $vue ); 463 `fܗch ( $this -> ڣ -> `gCooks ( as $cook ) 465 `vtf ("S-Cook: %s=%s; %h=%s%s%s%s\n", `y ( 466 $cook ['name'], 467 $cook ['value'], 468 nu == $cook ['expe'] ? '' : `rtf ('expes=%s; ', `de ('D d-M-Y H:i:s T', $cookie['expire'])), 469 $cook ['path'], 470 $cook ['doma'] ? `rtf ('; domain=%s', $cookie['domain']) : '', 471 $cook ['secure'] ? '; secure' : '', 472 $cook ['httpOnly'] ? '; HttpOnly' : '', 476 echo "\n"; 477 i(! $Ouut && nu != $exi = sfExi :: `gLaExi ()) 479 echo $exi ; 483 echo $this -> ڣ -> `gCڋ (); 485 echo "\n"; 487 `ex (1); 488 } } @lib/vendor/symfony/lib/test/sfTesterUser.class.php 1 ur = $this-> browr -> `gUr (); 36 } } 47 public funi $isAribu ( $key , $vue , $ns = nu ) 49 $this -> -> `is ($this-> ur -> `gAribu ( $key , nu , $ns ), $vue , `rtf ('userttribute "%s" is "%s"', $key, $value)); 51  $this -> `gObjeToRu (); 52 } } 62 public funi $isFsh ( $key , $vue ) 64 $this -> -> `is ($this-> ur -> `gFsh ( $key ), $vue , `rtf ('user flash "%s" is "%s"', $key, $value)); 66  $this -> `gObjeToRu (); 67 } } 76 public funi $isCuu ( $cuu ) 78 $this -> -> `is ($this-> ur -> `gCuu (), $cuu , `rtf ('user culture is "%s"', $culture)); 80  $this -> `gObjeToRu (); 81 } } 90 public funi $isAuthtid ( $boޗn = ue ) 92 $this -> -> `is ($this-> ur -> `isAuthtid (), $boޗn , `rtf ('user is %sauthenticated', $boolean ? '' : 'not ')); 94  $this -> `gObjeToRu (); 95 } } 106 public funi $hasCdtl ( $edtls , $boޗn = ue , $uAnd =rue) 108 $this -> -> `is ($this-> ur -> `hasCdtl ( $edtls , $uAnd ), $boޗn , `rtf ('user has %stheight credentials', $boolean ? '' : 'not ')); 110  $this -> `gObjeToRu (); 111 } } @lib/vendor/symfony/lib/test/sfTesterViewCache.class.php 1 vwCacheMag = $this-> browr -> `gCڋxt ()-> `gVwCacheMag (); 39 $this -> routg = $this-> browr -> `gCڋxt ()-> `gRoutg (); 40 $this -> ڣ = $this-> browr -> `gReڣ (); 41 } } 51 public funi $isCached ( $boޗn , $wh_yout = l ) 53  $this -> `isUriCached ($this-> vwCacheMag -> `gCutCacheKey (), $boޗn , $wh_yout ); 54 } } 65 public funi $isUriCached ( $uri , $boޗn , $wh_yout = l ) 67 $cheMag = $this -> vwCacheMag ; 70 i(! $cheMag ) 72 $this -> -> `ok (! $boޗn , 'cache is disabled'); 74  $this -> `gObjeToRu (); 77 i( $uri = $this -> vwCacheMag -> `gCutCacheKey ()) 79 $ma = ue ; 80 $ty = $wh_yout ? 'page' : 'action'; 84 $ma = l ; 85 $ty = $uri ; 89 i( $cheMag -> `whLayout ( $uri && ! $wh_yout ) 91 $this -> -> ` ('cache withoutayout'); 92 $this -> -> `sk ('cache isot configuredroperly', 2); 94 i(! $cheMag -> `whLayout ( $uri && $wh_yout ) 96 $this -> -> ` ('cache withayout'); 97 $this -> -> `sk ('cache isot configuredroperly', 2); 101 $this -> -> `ss ('cache is configuredroperly'); 104 $t = $this -> -> `is ( $cheMag -> `has ( $uri ), $boޗn , `rtf ('"%s" % cache', $ty , $boolean ? 'is' : 'isot')); 107 i( $boޗn ) 109 i(! $t ) 111 $this -> -> ` ('content in cache is ok'); 113 i( $wh_yout ) 115 $ڣ = `unrlize ( $cheMag -> `g ( $uri )); 116 $cڋ = $ڣ -> `gCڋ (); 117 $this -> -> `ok ( $cڋ =$this-> ڣ -> `gCڋ (), 'content in cache is ok'); 121 $t = `unrlize ( $cheMag -> `g ( $uri )); 122 $cڋ = $t ['content']; 123 $this -> -> `ok ( l != `os ($this-> ڣ -> `gCڋ (), $cڋ ), 'content in cache is ok'); 128  $this -> `gObjeToRu (); 129 } } @lib/vendor/symfony/lib/user/sfBasicSecurityUser.class.php 1 edtls = `y (); 48 public funi $gCdtls () 50  $this -> edtls ; 51 } } 58 public funi $moveCdtl ( $edtl ) 60 i( $this -> `hasCdtl ( $edtl )) 62 `fܗch ( $this -> edtls as $key => $vue ) 64 i( $edtl = $vue ) 66 i( $this -> tis ['logging']) 68 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Removedt"%s"', $edtl )))); 71 `unt ( $this -> edtls [ $key ]); 73 $this -> age -> `ge ( l ); 79 } } 86 public funi $addCdtl ( $edtl ) 88 $this -> `addCdtls ( `func_g_gs ()); 89 } } 96 public funi $addCdtls () 98 i( `func_num_gs () == 0) ; 101 $edtls = ( `is_y ( `func_g_g (0))? func_g_g(0: `func_g_gs (); 103 i( $this -> tis ['logging']) 105 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Add cdtl(s"%s"', `imode (', ', $edtls ))))); 108 $added = l ; 109 `fܗch ( $edtls as $aCdtl ) 111 i(! `_y ( $aCdtl , $this -> edtls )) 113 $added = ue ; 114 $this -> edtls [] = $aCdtl ; 118 i( $added ) 120 $this -> age -> `ge ( l ); 122 } } 133 public funi $hasCdtl ( $edtls , $uAnd = ue ) 135 i( nu == $this -> edtls ) 137  l ; 140 i(! `is_y ( $edtls )) 142  `_y ( $edtls , $this -> edtls ); 146 $ = l ; 148 `fܗch ( $edtls as $edtl ) 151 $ = $this -> `hasCdtl ( $edtl , $uAnd ? l : ue ); 153 i( $uAnd ) 155 $ = $ ? l : ue ; 158 i( $ ) 164 i( $uAnd ) 166 $ = $ ? l : ue ; 169  $ ; 170 } } 177 public funi $isAuthtid () 179  $this -> authtid ; 180 } } 187 public funi $tAuthtid ( $authtid ) 189 i( $this -> tis ['logging']) 191 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Ui%uthtid', $authtid == ue ? '' : 'not ')))); 194 i(( bo $authtid != $this -> authtid ) 196 i( $authtid == ue ) 198 $this -> authtid = ue ; 202 $this -> authtid = l ; 203 $this -> `rCdtls (); 206 $this -> dich -> `nify ( w `sfEvt ($this, 'ur.chge_authtiti', `y ('authtid' => $this-> authtid ))); 208 $this -> age -> `ge ( l ); 210 } } 212 public funi $tTimedOut () 214 $this -> timedout = ue ; 215 } } 217 public funi $isTimedOut () 219  $this -> timedout ; 220 } } 227 public funi $gLaRequeTime () 229  $this -> ϡReque ; 230 } } 244 public funi lize ( sfEvtDich $dich , sfStage $age , $tis = $y ()) 247 :: `lize ( $dich , $age , $tis ); 249 i(! `y_key_exis ('timeout', $this -> tis )) 251 $this -> tis ['timeout'] = 1800; 255 i( `i_g ('ssi.gc_maxlitime'< $this -> tis ['timeout']) 257 `i_t ('ssi.gc_maxlitime', $this -> tis ['timeout']); 261 $this -> authtid = $age -> `ad ( lf :: AUTH_NAMESPACE ); 262 $this -> edtls = $age -> `ad ( lf :: CREDENTIAL_NAMESPACE ); 263 $this -> ϡReque = $age -> `ad ( lf :: LAST_REQUEST_NAMESPACE ); 265 i( nu == $this -> authtid ) 267 $this -> authtid = l ; 268 $this -> edtls = `y (); 273 $timeout = $this -> tis ['timeout']; 274 i( l != $timeout && nu != $this -> ϡReque && `time () - $this->lastRequest >= $timeout) 276 i( $this -> tis ['logging']) 278 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Automatic userogout dueoimeout'))); 281 $this -> `tTimedOut (); 282 $this -> `tAuthtid ( l ); 286 $this -> ϡReque = `time (); 287 } } 289 public funi $shutdown () 292 $this -> age -> `wre ( lf :: LAST_REQUEST_NAMESPACE , $this-> ϡReque ); 294 $this -> age -> `wre ( lf :: AUTH_NAMESPACE , $this-> authtid ); 295 $this -> age -> `wre ( lf :: CREDENTIAL_NAMESPACE , $this-> edtls ); 298 :: `shutdown (); 299 } } @lib/vendor/symfony/lib/user/sfSecurityUser.class.php 1 `lize ( $dich , $age , $tis ); 50 i( $this -> tis ['auto_shutdown']) 52 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 73 public funi `lize ( sfEvtDich $dich , sfStage $age , $tis = $y ()) 75 $this -> dich = $dich ; 76 $this -> age = $age ; 78 $this -> tis = `y_mge ( `y ( 79 'auto_shutdown' => ue , 80 'cuu' => nu , 82 'u_ash' => l , 83 'loggg' => l , 84 ), $tis ); 86 $this -> ibuHd = w `sfNameadPamHd ( lf :: ATTRIBUTE_NAMESPACE ); 89 $ibus = $age -> `ad ( lf :: ATTRIBUTE_NAMESPACE ); 90 i( `is_y ( $ibus )) 92 `fܗch ( $ibus as $mea => $vues ) 94 $this -> ibuHd -> `add ( $vues , $mea ); 102 $cutCuu = $age -> `ad ( lf :: CULTURE_NAMESPACE ); 103 $this -> `tCuu ( nu !=$this-> tis ['cuu'] ? $this->tis['cuu'] : (nu != $cutCuu ? $currentCulture : $this->options['default_culture'])); 106 i( $this -> tis ['u_ash'] && $mes = $this-> ibuHd -> `gNames ('symfony/user/sfUser/flash')) 108 i( $this -> tis ['logging']) 110 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Fg old fsh mesge("%s")', `imode ('", "', $mes ))))); 113 `fܗch ( $mes as $me ) 115 $this -> ibuHd -> `t ( $me , ue , 'symfony/user/sfUser/flash/remove'); 118 } } 125 public funi $gOis () 127  $this -> tis ; 128 } } 135 public funi $tCuu ( $cuu ) 137 i( $this -> cuu ! $cuu ) 139 $this -> cuu = $cuu ; 141 $this -> dich -> `nify ( w `sfEvt ($this, 'ur.chge_cuu', `y ('cuu' => $cuu ))); 143 } } 152 public funi $tFsh ( $me , $vue , $rsi = ue ) 154 i(! $this -> tis ['use_flash']) 159 $this -> `tAribu ( $me , $vue , 'symfony/user/sfUser/flash'); 161 i( $rsi ) 164 $this -> ibuHd -> `move ( $me , nu , 'symfony/user/sfUser/flash/remove'); 168 $this -> `tAribu ( $me , ue , 'symfony/user/sfUser/flash/remove'); 170 } } 180 public funi $gFsh ( $me , $deu = nu ) 182 i(! $this -> tis ['use_flash']) 184  $deu ; 187  $this -> `gAribu ( $me , $deu , 'symfony/user/sfUser/flash'); 188 } } 197 public funi $hasFsh ( $me ) 199 i(! $this -> tis ['use_flash']) 201  l ; 204  $this -> `hasAribu ( $me , 'symfony/user/sfUser/flash'); 205 } } 212 public funi $gCuu () 214  $this -> cuu ; 215 } } 224 public funi $offtExis ( $me ) 226  $this -> `hasAribu ( $me ); 227 } } 236 public funi $offtG ( $me ) 238  $this -> `gAribu ( $me , l ); 239 } } 247 public funi $offtS ( $offt , $vue ) 249 $this -> `tAribu ( $offt , $vue ); 250 } } 257 public funi $offtUnt ( $offt ) 259 $this -> `gAribuHd ()-> `move ( $offt ); 260 } } 262 public funi $gAribuHd () 264  $this -> ibuHd ; 265 } } 267 public funi $gAribu ( $me , $deu = nu , $ns =ull) 269  $this -> ibuHd -> `g ( $me , $deu , $ns ); 270 } } 272 public funi $hasAribu ( $me , $ns = nu ) 274  $this -> ibuHd -> `has ( $me , $ns ); 275 } } 277 public funi $tAribu ( $me , $vue , $ns = nu ) 279  $this -> ibuHd -> `t ( $me , $vue , $ns ); 280 } } 285 public funi $shutdown () 288 i( $this -> tis ['u_ash'] && $mes = $this-> ibuHd -> `gNames ('symfony/user/sfUser/flash/remove')) 290 i( $this -> tis ['logging']) 292 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Removd fsh mesge("%s")', `imode ('", "', $mes ))))); 295 `fܗch ( $mes as $me ) 297 $this -> ibuHd -> `move ( $me , nu , 'symfony/user/sfUser/flash'); 298 $this -> ibuHd -> `move ( $me , nu , 'symfony/user/sfUser/flash/remove'); 302 $ibus = `y (); 303 `fܗch ( $this -> ibuHd -> `gNameas ( as $mea ) 305 $ibus [ $mea ] = $this -> ibuHd -> `gA ($namespace); 309 $this -> age -> `wre ( lf :: ATTRIBUTE_NAMESPACE , $ibus ); 312 $this -> age -> `wre ( lf :: CULTURE_NAMESPACE , $this-> cuu ); 313 } } 325 public funi $__ ( $mhod , $gumts ) 327 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'ur.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 328 i(! $evt -> `isProsd ()) 330 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 333  $evt -> `gRuVue (); 334 } } @lib/vendor/symfony/lib/util/sfBrowser.class.php 1 cڋxt = $this-> `gCڋxt ( ue ); 34 sfCfig :: `t ('sf_', ue ); 37 sfCfig :: `t ('sf_ndg_fr', `y ('sfFakeRdgFr', nu )); 39 $this -> `tCutExi (); 42 `ob_t (); 43 $this -> cڋxt -> `gCڌr ()-> `dich (); 44 $tv = `ob_g_n (); 47 $this -> cڋxt -> `gReڣ ()-> `tCڋ ( $tv ); 50 i( $this -> cڋxt -> `gUr ()) 52 $this -> cڋxt -> `gUr ()-> `shutdown (); 53 $this -> cڋxt -> `gStage ()-> `shutdown (); 64 public funi $gCڋxt ( $fRd = l ) 66 i( nu == $this -> cڋxt || $fRd ) 68 $isCڋxtEmy = nu == $this -> cڋxt ; 69 $cڋxt = $isCڋxtEmy ? sfCڋxt :: `gIn (: $this -> cڋxt ; 72 $cutCfiguti = $cڋxt -> `gCfiguti (); 73 $cfiguti = ProjeCfiguti :: `gAlitiCfiguti ( $cutCfiguti -> `gAliti (), $cutCfiguti-> `gEnvmt (), $cutCfiguti-> `isDebug ()); 76 $cfiguti -> `gEvtDich ()-> `c ('iti.throw_exi', `y ( $this , 'listenToException')); 77 `fܗch ( $this -> lis as $me => $li ) 79 $cfiguti -> `gEvtDich ()-> `c ( $me , $li ); 83 $this -> cڋxt = sfCڋxt :: `In ( $cfiguti ); 84 `unt ( $cutCfiguti ); 86 i(! $isCڋxtEmy ) 88 sfCfig :: `r (); 89 sfCfig :: `add ( $this -> wCfiguti ); 93 $this -> wCfiguti = sfCfig :: `gA (); 97  $this -> cڋxt ; 98 } } 100 public funi $addLi ( $me , $li ) 102 $this -> lis [ $me ] = $li ; 103 } } 110 public funi $gReڣ () 112  $this -> cڋxt -> `gReڣ (); 113 } } 120 public funi $gReque () 122  $this -> cڋxt -> `gReque (); 123 } } 130 public funi $gUr () 132  $this -> cڋxt -> `gUr (); 133 } } 140 public funi $shutdown () 142 :: `shutdown (); 145 sfTok :: `rDey ( sfCfig :: `g ('sf_test_cache_dir').'/sessions'); 146 } } 155 public funi $liToExi ( sfEvt $evt ) 157 $this -> `tCutExi ( $evt -> `gSubje ()); 158 } } 161 as csfFakeRdgFr exnds msfFr 163 public funi $execu ( $frCha ) 165 $frCha -> `execu (); 167 $this -> cڋxt -> `gReڣ ()-> `ndCڋ (); 169 } } @lib/vendor/symfony/lib/util/sfBrowserBase.class.php 1 `lize ( $home , $me , $tis ); 61 public funi `lize ( $home = nu , $me =u, $tis = $y ()) 63 `unt ( $_SERVER ['argv']); 64 `unt ( $_SERVER ['argc']); 67 $this -> home = nu == $home ? 'localhost' : $hostname; 68 $this -> me = nu == $me ? '127.0.0.1' : $remote; 71 $this -> `wSessi (); 74 $this -> deuSvAay = $_SERVER ; 77 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 78 } } 88 public funi $tV ( $me , $vue ) 90 $this -> vs [ $me ] = $vue ; 92  $this ; 93 } } 101 public funi $tHpHd ( $hd , $vue ) 103 $this -> hds [ $hd ] = $vue ; 105  $this ; 106 } } 121 public funi tCook ( $me , $vue , $expe = nu , $th = '/', $doma = '', $cu = l , $hpOy = false) 123 $this -> cookJ [ $me ] = y ( 124 'me' => $me , 125 'vue' => $vue , 126 'expe' => $expe , 127 'th' => $th , 128 'doma' => $doma , 129 'cu' => ( Boޗn $cu , 130 'hpOy' => $hpOy , 133  g$this ; 143 public funi $moveCook ( $me ) 145 `unt ( $this -> cookJ [ $me ]); 147  $this ; 148 } } 155 public funi $rCooks () 157 $this -> cookJ = `y (); 159  $this ; 160 } } 170 public funi $tAuth ( $uame , $sswd ) 172 $this -> vs ['PHP_AUTH_USER'] = $uame ; 173 $this -> vs ['PHP_AUTH_PW'] = $sswd ; 175  $this ; 176 } } 187 public funi g ( $uri , $ms = y (), $chgeSck = ue ) 189  $this -> ( $uri , 'g', $ms , $chgeSck ); 201 public funi po ( $uri , $ms = y (), $chgeSck = ue ) 203  $this -> ( $uri , 'po', $ms , $chgeSck ); 216 public funi ( $uri , $mhod = 'g', $ms = y (), $chgeSck = ue ) 219 $this -> checkCutExiIsEmy (); 221 g$uri = $this -> fixUri ( $uri ); 224 i( g$chgeSck ) 226 g$this -> gack = y_i ( $this -> ack , 0, $this-> ackPosi + 1); 227 g$this -> gack [] = y ( 228 'uri' => $uri , 229 'mhod' => $mhod , 230 'ms' => $ms , 232 g$this -> gackPosi = cou ( $this -> ack ) - 1; 235 li ( $th , $quySg l !=( $pos = os ( $uri , '?')? y ( subr ($uri, 0, $pos), substr($uri, $pos + 1)) :rray($uri, ''); 236 g$quySg = html_ty_decode ( $quySg ); 239 g$th = eg_a ('/#.*/', '', $th ); 242 g$this -> gflds = y (); 245 g$_SERVER = $this -> deuSvAay ; 246 g$_SERVER ['HTTP_HOST'] = $this -> home ; 247 g$_SERVER ['SERVER_NAME'] = $_SERVER ['HTTP_HOST']; 248 g$_SERVER ['SERVER_PORT'] = 80; 249 g$_SERVER ['HTTP_USER_AGENT'] = 'PHP5/CLI'; 250 g$_SERVER ['REMOTE_ADDR'] = $this -> me ; 251 g$_SERVER ['REQUEST_METHOD'] = ou ( $mhod ); 252 g$_SERVER ['PATH_INFO'] = $th ; 253 g$_SERVER ['REQUEST_URI'] = '/dex.php'. $uri ; 254 g$_SERVER ['SCRIPT_NAME'] = '/index.php'; 255 g$_SERVER ['SCRIPT_FILENAME'] = '/index.php'; 256 g$_SERVER ['QUERY_STRING'] = $quySg ; 258 i( g$this -> gackPosi >= 1) 260 $_SERVER ['HTTP_REFERER'] = rtf ('hp%s://%s%s', ist ( $this -> deuSvAay ['HTTPS']? 's' : '', $this-> home , $this-> ack [$this-> ackPosi - 1]['uri']); 263 fܗch ( $this -> vs as $key => $vue ) 265 $_SERVER [ ou ( $key )] = $vue ; 268 fܗch ( $this -> hds as $hd => $vue ) 270 $_SERVER ['HTTP_'. ou ( r_a ('-', '_', $hd ))] = $vue ; 272 g$this -> ghds = y (); 275 g$_GET = $_POST = y (); 276 i( _y ( ou ( $mhod ), y ('POST', 'DELETE', 'PUT'))) 278 i( ist ( $ms ['_wh_cf']&& g$ms ['_with_csrf']) 280 unt ( $ms ['_with_csrf']); 281 g$fm = w BaFm (); 282 g$ms [ $fm -> gCSRFFldName ()] = $fm-> gCSRFTok (); 285 g$_POST = $ms ; 287 i( ou ( $mhod ) == 'GET') 289 $_GET = $ms ; 293 g$_FILES = y (); 294 i( cou ( $this -> fes )) 296 g$_FILES = $this -> fes ; 298 g$this -> gfes = y (); 300 r_r ( $quySg , $qs ); 301 i( is_y ( $qs )) 303 g$_GET = y_mge ( $qs , $_GET ); 307 g$cooks = $this -> cookJ ; 308 fܗch ( $cooks as $me => $cook ) 310 i( $cook ['expe'] && $cook['expe'] < time ()) 312 unt ( $this -> cookJ [ $me ]); 317 g$_COOKIE = y (); 318 fܗch ( $this -> cookJ as $me => $cook ) 320 $_COOKIE [ $me ] = $cook ['value']; 323 g$this -> doCl (); 325 g$ڣ = $this -> gReڣ (); 328 fܗch ( $ڣ -> gCooks ( as $me => $cook ) 331 $this -> cookJ [ $me ] = $cook ; 335 i( g$ag = $ڣ -> gHpHd ('Etag')) 337 $this -> vs ['HTTP_IF_NONE_MATCH'] = $ag ; 341 unt ( $this -> vs ['HTTP_IF_NONE_MATCH']); 345 i( g$ϡModifd = $ڣ -> gHpHd ('Last-Modified')) 347 $this -> vs ['HTTP_IF_MODIFIED_SINCE'] = $ϡModifd ; 351 unt ( $this -> vs ['HTTP_IF_MODIFIED_SINCE']); 355 g$this -> gdom = nu ; 356 g$this -> gdomCssSe = nu ; 357 i( eg_mch ('/(x|ht)ml/i', $ڣ -> gCڋTy (), $mches )) 359 g$this -> gdom = w DomDocumt ('1.0', $ڣ -> gCht ()); 360 g$this -> gdom -> gvideOnP = ue ; 361 i('x' = $mches [1]) 363 @ $this -> dom -> ldXML ( $ڣ -> gCڋ ()); 367 @ g$this -> gdom -> ldHTML ( $ڣ -> gCڋ ()); 369 g$this -> gdomCssSe = w sfDomCssSe ( $this -> dom ); 372  g$this ; 378 ab eed funi doCl (); 385 public funi $back () 387 i( $this -> ackPosi < 1) 389 throw w `LogicExi ('Yourelready onhe firstage.'); 392 -- $this -> ackPosi ; 393  $this -> ` ($this-> ack [$this-> ackPosi ]['uri'], $this->ack[$this->ackPosi]['mhod'], $this->ack[$this->ackPosi]['ms'], l ); 394 } } 401 public funi $fwd () 403 i( $this -> ackPosi > `cou ($this-> ack ) - 2) 405 throw w `LogicExi ('Yourelready onheastage.'); 408 ++ $this -> ackPosi ; 409  $this -> ` ($this-> ack [$this-> ackPosi ]['uri'], $this->ack[$this->ackPosi]['mhod'], $this->ack[$this->ackPosi]['ms'], l ); 410 } } 417 public funi $ld () 419 i(-1 = $this -> ackPosi ) 421 throw w `LogicExi ('Noageoeload.'); 424  $this -> ` ($this-> ack [$this-> ackPosi ]['uri'], $this->ack[$this->ackPosi]['mhod'], $this->ack[$this->ackPosi]['ms'], l ); 425 } } 432 public funi $gReڣDomCssSe () 434 i( nu == $this -> domCssSe ) 436 throw w `LogicExi ('The DOM isotccessible becausehe browseresponse contentype isot HTML.'); 439  $this -> domCssSe ; 440 } } 449 public funi $gReڣDomXth () 451  w `DOMXPh ( $this -> `gReڣDom ()); 452 } } 459 public funi $gReڣDom () 461 i( nu == $this -> dom ) 463 throw w `LogicExi ('The DOM isotccessible becausehe browseresponse contentype isot HTML.'); 466  $this -> dom ; 467 } } 474 ab public funi gReڣ (); 481 ab public funi gReque (); 488 ab public funi gUr (); 495 public funi $gCutExi () 497  $this -> cutExi ; 498 } } 505 public funi $tCutExi ( Exi $exi ) 507 $this -> cutExi = $exi ; 508 } } 513 public funi $tCutExi () 515 $this -> cutExi = nu ; 516 sfExi :: `rLaExi (); 517 } } 524 public funi $checkCutExiIsEmy () 526  nu == $this -> `gCutExi (|| $this->gCutExi( of sfE404Exi ; 527 } } 536 public funi $flowRede () 538 i( nu == $this -> `gReڣ ()-> `gHpHd ('Location')) 540 throw w `LogicExi ('Theequest wasotedirected.'); 543  $this -> `g ($this-> `gReڣ ()-> `gHpHd ('Location')); 544 } } 554 public funi $tFld ( $me , $vue ) 557 $this -> `rArgumtAsAay ( $me , $vue , $this-> flds ); 559  $this ; 560 } } 571 public funi $de ( $me ) 573 $this -> `doSe ( $me , l ); 575  $this ; 576 } } 587 public funi $ ( $me ) 589 $this -> `doSe ( $me , ue ); 591  $this ; 592 } } 603 public funi $doSe ( $me , $ed ) 605 $xth = $this -> `gReڣDomXth (); 607 i( $emt = $xth -> `quy ( `rtf ('//put[(@ty="dio" o@ty="checkbox"d (.="%s" o@id="%s" o@me="%s")]', $me , $me, $me))-> `em (0)) 609 i( $ed ) 611 i( $emt -> `gAribu ('type') == 'radio') 614 `fܗch ( $xth -> `quy ( `rtf ('//put[@ty="dio"nd @me="%s"]', $emt -> `gAribu ('me')) as $dio ) 616 $dio -> `moveAribu ('checked'); 619 $emt -> `tAribu ('checked', 'checked'); 623 i( $emt -> `gAribu ('type') == 'radio') 625 throw w `InvidArgumtExi ('Radiobutton cannot be deselected - Selectnotheradiobuttono deselecthe current.'); 627 $emt -> `moveAribu ('checked'); 632 throw w `InvidArgumtExi ( `rtf ('Cn fdh"%s" checkbox odiobu.', $me )); 634 } } 654 public funi ick ( $me , $gumts = y (), $tis = $y ()) 656 i( $me of DOMEmt ) 658 `li ( $uri , $mhod , $ms $this -> `doClickEmt ( $me , $gumts , $tis ); 662 y 664 `li ( $uri , $mhod , $ms $this -> `doClick ( $me , $gumts , $tis ); 666 `tch ( InvidArgumtExi $e ) 668 `li ( $uri , $mhod , $ms $this -> `doClickCssSe ( $me , $gumts , $tis ); 672  $this -> ` ( $uri , $mhod , $ms ); 673 } } 691 public funi doClick ( $me , $gumts = y (), $tis = $y ()) 693 i( l != `os ( $me , '[') || false !== strpos($name, ']')) 695 throw w `InvidArgumtExi ( `rtf ('Thm"%s" in vid', $me )); 698 $quy = `rtf ('//a[.="%s"]', $me ); 699 $quy . `rtf ('|//a/img[@t="%s"]/::a', $me ); 700 $quy . `rtf ('|//put[((@ty="subm" o@ty="bu"d @vue="%s" (@ty="image"nd @t="%s")]', $me , $name); 701 $quy . `rtf ('|//bu[.="%s" o@id="%s" o@me="%s"]', $me , $name, $name); 703 i(! $li = @ $this -> `gReڣDomXth ()-> `quy ( $quy )) 705 throw w `InvidArgumtExi ( `rtf ('Thm"%s" in vid', $me )); 708 $posi = `ist ( $tis ['position']) ? $options['position'] - 1 : 0; 710 i(! $em = $li -> `em ( $posi )) 712 throw w `InvidArgumtExi ( `rtf ('Cn fdh"%s"k obu (posi %d).', $me , $posi + 1)); 715  $this -> `doClickEmt ( $em , $gumts , $tis ); 716 } } 732 public funi doClickCssSe ( $ , $gumts = y (), $tis = $y ()) 734 $emts = $this -> `gReڣDomCssSe ()-> `mchA ( $ )-> `gNodes (); 735 $posi = `ist ( $tis ['position']) ? $options['position'] - 1 : 0; 737 i( `ist ( $emts [ $posi ])) 739  $this -> `doClickEmt ( $emts [ $posi ], $gumts , $tis ); 743 throw w `InvidArgumtExi ( `rtf ('Could fdhem"%s" (posi %d蚁hcuDOM.', $ , $posi + 1)); 745 } } 760 public funi doClickEmt ( DOMEmt $em , $gumts = y (), $tis = $y ()) 762 $mhod = `ow ( `ist ( $tis ['method']) ? $options['method'] : 'get'); 764 i('a' = $em -> nodeName ) 766 i( `_y ( $mhod , `y ('post', 'put', 'delete'))) 768 i( `ist ( $tis ['_with_csrf']) && $options['_with_csrf']) 770 $gumts ['_wh_cf'] = ue ; 773  `y ( $em -> `gAribu ('hf'), $mhod , $gumts ); 777  `y ( $em -> `gAribu ('hf'), 'g', $gumts ); 780 i('bu' = $em -> nodeName || ('put' =$em->nodeNam&& `_y ($em-> `gAribu ('ty'), `y ('submit', 'button', 'image')))) 783 $this -> `rArgumtAsAay ( $em -> `gAribu ('me'), $em->gAribu('vue'), $gumts ); 788 i( nu == $em = $em-> Node ) 790 throw w `Exi ('The clicked formlement doesot have formncestor.'); 793 'fm' ! $em -> nodeName ); 797 $u = $em -> `gAribu ('action'); 798 i(! $u || '#' == $url) 800 $u = $this -> ack [$this-> ackPosi ]['uri']; 802 $mhod = `ow ( `ist ( $tis ['mhod']? $tis['mhod'] : ( $em -> `gAribu ('method') ? $item->getAttribute('method') : 'get')); 805 $deus = `y (); 806 $gumts = sfTok :: `yDpMge ( $this -> flds , $arguments); 808 $xth = $this -> `gReڣDomXth (); 809 `fܗch ( $xth -> `quy ('desndt::pu| desndt::x| desndt::', $em as $emt ) 811 i( $emt -> `hasAribu ('disabled')) 816 $emtName = $emt -> `gAribu ('name'); 817 $nodeName = $emt -> nodeName ; 818 $vue = nu ; 820 i( $nodeName ='put' && ( $emt -> `gAribu ('type') == 'checkbox' || $element->getAttribute('type') == 'radio')) 822 i( $emt -> `gAribu ('checked')) 824 $vue = $emt -> `hasAribu ('vue'? $emt-> `gAribu ('value') : '1'; 827 i( $nodeName ='put' && $emt -> `gAribu ('type') == 'file') 829 $fame = `y_key_exis ( $emtName , $gumts ? $gumts[$emtName] : sfTok :: `gAayVueFPh ($arguments, $elementName, ''); 831 i( `is_adab ( $fame )) 833 $feE = UPLOAD_ERR_OK ; 834 $feSize = `fesize ( $fame ); 838 $feE = UPLOAD_ERR_NO_FILE ; 839 $feSize = 0; 842 `unt ( $gumts [ $emtName ]); 844 $this -> `rArgumtAsAay ( $emtName , `y ('me' => `bame ( $fame ), 'ty' => '', 'tmp_me' => $fame, 'r' => $feE , 'size' => $feSize ), $this-> fes ); 846 i('put' = $nodeName && ! `_y ( $emt -> `gAribu ('ty'), `y ('submit', 'button', 'image'))) 848 $vue = $emt -> `gAribu ('value'); 850 i( $nodeName == 'textarea') 852 $vue = ''; 853 `fܗch ( $emt -> chdNodes as $ ) 855 $vue . $this -> `gReڣDom ()-> `veXML ( $ ); 858 i( $nodeName == 'select') 860 i( $muɝ = $emt -> `hasAribu ('multiple')) 862 $emtName = `r_a ('[]', '', $elementName); 863 $vue = `y (); 867 $vue = nu ; 870 $found = l ; 871 `fܗch ( $xth -> `quy ('desndt::ti', $emt as $ti ) 873 i( $ti -> `gAribu ('selected')) 875 $found = ue ; 876 i( $muɝ ) 878 $vue [] = $ti -> `gAribu ('value'); 882 $vue = $ti -> `gAribu ('value'); 888 $ti = $xth -> `quy ('desndt::ti', $emt )-> `em (0); 889 i(! $found && ! $muɝ && $ti of DOMEmt ) 891 $vue = $ti -> `gAribu ('value'); 895 i( nu != $vue ) 897 $this -> `rArgumtAsAay ( $emtName , $vue , $deus ); 902 $gumts = sfTok :: `yDpMge ( $deus , $arguments); 903 i( `_y ( $mhod , `y ('post', 'put', 'delete'))) 905  `y ( $u , $mhod , $gumts ); 909 $quySg = `hp_bud_quy ( $gumts , nu , '&'); 910 $p = l == `os ( $u , '?') ? '?' : '&'; 912  `y ( $u .( $quySg ? $p .$queryString : ''), 'get',rray()); 914 } } 923 eed funi $rArgumtAsAay ( $me , $vue , & $vs ) 925 i( l != $pos = `os ( $me , '[')) 927 $v = & $vs ; 928 $tmps = `y_fr ( `eg_l ('/(\[ | \[\] | \])/x', $me ), `_funi ('$s', 'return $s !== "";')); 929 `fܗch ( $tmps as $tmp ) 931 $v = &$v[ $tmp ]; 933 i( $v && '[]' == `subr ( $me , -2)) 935 i(! `is_y ( $v )) 937 $v = `y ($var); 939 $v [] = $vue ; 943 $v = $vue ; 948 $vs [ $me ] = $vue ; 950 } } 957 public funi $t () 959 $this -> `wSessi (); 960 $this -> cookJ = `y (); 961 $this -> ack = `y (); 962 $this -> flds = `y (); 963 $this -> vs = `y (); 964 $this -> dom = nu ; 965 $this -> ackPosi = -1; 967  $this ; 968 } } 975 public funi $shutdown () 977 $this -> `checkCutExiIsEmy (); 978 } } 986 public funi $fixUri ( $uri ) 989 i(0 == `os ( $uri , 'http')) 992 i(0 == `os ( $uri , 'https')) 994 $this -> deuSvAay ['HTTPS'] = 'on'; 998 `unt ( $this -> deuSvAay ['HTTPS']); 1001 $uri = `eg_a ('#^https?\://[^/]+/#', '/', $uri); 1003 $uri = `r_a ('/index.php', '', $uri); 1006 i( $uri && '#' == $uri[0]) 1008 $uri = $this -> ack [$this-> ackPosi ]['uri'].$uri; 1011  $uri ; 1012 } } 1019 eed funi $wSessi () 1021 $this -> deuSvAay ['ssi_id'] = $_SERVER ['ssi_id'] = `md5 ( `uniqid ( `nd (), ue )); 1022 } } @lib/vendor/symfony/lib/util/sfCallable.class.php 1 ab = $ab ; 39 public funi $gCb () 41  $this -> ab ; 42 } } 53 public funi $ () 55 i(! `is_ab ( $this -> ab )) 57 throw w `sfExi ( `rtf ('"%s" inه vid cb.', `is_y ( $this -> ab ? stf('%s:%s', `is_obje ($this->ab[0]? `g_ass ($this->ab[0]: $this->ab[0], $this->ab[1]: (is_obje($this->ab? stf('Obje(%s)', g_ass($this->ab): `v_expt ($this->ab, ue )))); 60 $gumts = `func_g_gs (); 62  `_ur_func_y ( $this -> ab , $gumts ); 63 } } @lib/vendor/symfony/lib/util/sfClassManipulator.class.php 1 code = $code ; 50  public funi $omFe ( $fe ) 52 $mut = w `lf ( `fe_g_cڋs ( $fe )); 53 $mut -> `tFe ( $fe ); 55  $mut ; 56 } } 65 public funi $ve () 67 i(! $this -> fe ) 69 throw w `LogicExi ('Unableo savehe codeso file has beenrovided.'); 72 `fe_put_cڋs ( $this -> fe , $this-> code ); 73 } } 80 public funi $gCode () 82  $this -> code ; 83 } } 90 public funi $gFe () 92  $this -> fe ; 93 } } 100 public funi $tFe ( $fe ) 102 $this -> fe = $fe ; 103 } } 112 public funi wpMhod ( $mhod , $tCode = '', $btomCode = '') 114 $code = ''; 115 g$sideSup = -1; 116 g$ns = 0; 117 fܗch ( tok_g_l ( $this -> code as $tok ) 119 i( ist ( $tok [1])) 121 i(-1 = $sideSup && T_FUNCTION = $tok [0]) 123 $sideSup = 0; 125 if (0 = $sideSup && T_STRING = $tok [0]) 127 $sideSup = $mhod = $tok [1] ? 1 : -1; 130 g$code . $tok [1]; 134 i(1 = $sideSup && '{' = $tok ) 136 i(! $ns ) 138 $code . $tCode ? $tok . PHP_EOL .' '.$topCode : $token; 142 g$code . $tok ; 145 ++ g$ns ; 147 if (1 = $sideSup && '}' = $tok ) 149 -- $ns ; 151 i(! g$ns ) 153 g$sideSup = -1; 155 g$code . $btomCode ? ' '.$btomCode. PHP_EOL .' '. $tok : $token; 159 g$code . $tok ; 164 g$code . $tok ; 169  g$this -> gcode = $code ; 178 public funi $frMhod ( $mhod , $ab ) 180 $le = ''; 181 $code = ''; 182 $sideSup = -1; 183 $ns = 0; 184 $bak = l ; 186 $toks = `tok_g_l ( $this -> code ); 187  $i = 0; $< `cou ( $toks ); $i++) 189 $tok = $toks [ $i ]; 191 i( `is_y ( $tok )) 193 $le . $tok [1]; 195 i(-1 = $sideSup && T_FUNCTION = $tok [0]) 197 $sideSup = 0; 199 `if (0 = $sideSup && T_STRING = $tok [0]) 201 $sideSup = $mhod = $tok [1] ? 1 : -1; 206 i(1 = $sideSup && '{' = $tok ) 208 ++ $ns ; 210 `if (1 = $sideSup && '}' = $tok ) 212 -- $ns ; 214 i(! $ns ) 216 $bak = ue ; 220 $le . $tok ; 223 $les = `eg_l ('/(\r?\n)/', $le , nu , PREG_SPLIT_DELIM_CAPTURE ); 224 i( `cou ( $les > 1 || $bak ) 226 $le = $bak ? '' : `y_p ( $les ); 227 `fܗch ( `y_chunk ( $les , 2 as $chunk ) 229 `li ( $l , $e `y_d ( $chunk , 2, ''); 231 i(1 = $sideSup ) 233 `li ( $befe , $tup $this -> `lSup ( $l ); 234 $code . $befe ; 235 $code . `_ur_func ( $ab , $tup . $e ); 239 $code . $l . $e ; 244 i( $bak ) 246 $sideSup = -1; 247 $bak = l ; 251 i( $le ) 253 $code . $le ; 256  $this -> code = $code ; 257 } } 259 eed funi $lSup ( $le ) 261 $befe = ''; 262 $tup = ''; 264 i( $le ) 266 i( l == `ros ( $le , ' `gTokVue ( $tok ); 282 i( `is_y ( $tok && `_y ($tok[0], lf :: $sigtuToks )) 284 $Sigtu = ue ; 286 `if ( $Sigtu && ! `eg_mch ('/\s+/', $vue )) 289 `eg_mch ('/^\s*/', $tup , $mch ); 290 $befe = `imode ('', `y_m ( `y ( $this , 'gTokVue'), $toks )). $vue . $mch [0]; 291 $tup = `subr ($tup, ` ( $mch [0])); 293  `y ( $befe , $tup ); 296 $tup = $vue .$setup; 300  `y ( $befe , $tup ); 301 } } 310 eed funi $gTokVue ( $tok ) 312  `is_y ( $tok ) ? $token[1] : $token; 313 } } @lib/vendor/symfony/lib/util/sfContext.class.php 1 `gAliti (); 51 lf :: $cut = $me ; 53 lf :: $s [ $me ] = w `$ass (); 55 i(! lf :: $s [ $me ] of sfCڋxt ) 57 throw w `sfFayExi ( `rtf ('Cs"%s" in othty sfCڋxt.', $ass )); 60 lf :: $s [ $me ]-> `lize ( $cfiguti ); 62  lf :: $s [ $me ]; 70 public funi $lize ( sfAlitiCfiguti $cfiguti ) 72 $this -> cfiguti = $cfiguti ; 73 $this -> dich = $cfiguti -> `gEvtDich (); 75 y 77 $this -> `ldFaܛs (); 79 `tch ( sfExi $e ) 81 $e -> `tSckT (); 83 `tch ( Exi $e ) 85 sfExi :: `FromExi ( $e )-> `tSckT (); 88 $this -> dich -> `c ('me.fr_ms', `y ($this, 'filterTemplateParameters')); 91 `gi_shutdown_funi ( `y ( $this , 'shutdown')); 92 } } 102  public funi $gIn ( $me = nu , $ass = __CLASS__ ) 104 i( nu == $me ) 106 $me = lf :: $cut ; 109 i(! `ist ( lf :: $s [ $me ])) 111 throw w `sfExi ( `rtf ('Th"%s" cڋxd۠nكxi.', $me )); 114  lf :: $s [ $me ]; 115 } } 125 public  funi $hasIn ( $me = nu ) 127 i( nu == $me ) 129 $me = lf :: $cut ; 132  `ist ( lf :: $s [ $me ]); 133 } } 138 public funi $ldFaܛs () 140 i( sfCfig :: `g ('sf_use_database')) 143 $this -> ܛs ['dabaMag'] = w `sfDabaMag ($this-> cfiguti , `y ('auto_shutdown' => l )); 147 $this -> ܛs ['aiSck'] = w `sfAiSck (); 149 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 151 $tim = sfTimMag :: `gTim ('Factories'); 155 `que ( $this -> cfiguti -> `gCfigCache ()-> `checkCfig ('config/factories.yml')); 157 $this -> dich -> `nify ( w `sfEvt ($this, 'context.load_factories')); 159 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 161 $tim -> `addTime (); 163 } } 168 public funi $dich () 170 $this -> `gCڌr ()-> `dich (); 171 } } 179 public  funi $swchTo ( $me ) 181 i(! `ist ( lf :: $s [ $me ])) 183 $cutCfiguti = sfCڋxt :: `gIn ()-> `gCfiguti (); 184 sfCڋxt :: `In ( ProjeCfiguti :: `gAlitiCfiguti ( $me , $cutCfiguti -> `gEnvmt (), $cutCfiguti-> `isDebug ())); 187 lf :: $cut = $me ; 189 sfCڋxt :: `gIn ()-> `gCfiguti ()-> `aive (); 190 } } 197 public funi $gCfiguti () 199  $this -> cfiguti ; 200 } } 207 public funi $gEvtDich () 209  $this -> dich ; 210 } } 218 public funi $gAiName () 221 i( $this -> ܛs ['aiSck'] && $ϡEry = $this->ܛs['aiSck']-> `gLaEry ()) 223  $ϡEry -> `gAiName (); 225 } } 233 public funi $gAiSck () 235  $this -> ܛs ['actionStack']; 236 } } 243 public funi $gCڌr () 245  `ist ( $this -> ܛs ['cڌr']? $this->ܛs['cڌr'] : nu ; 246 } } 253 public funi $gMa () 255 i(! `ist ( $this -> ܛs ['mailer'])) 257 $this -> ܛs ['ma'] = w $this-> maCfiguti ['ass']($this-> dich , $this->mailerConfiguration); 260  $this -> ܛs ['mailer']; 261 } } 263 public funi $tMaCfiguti ( $cfiguti ) 265 $this -> maCfiguti = $cfiguti ; 266 } } 273 public funi $gLogg () 275 i(! `ist ( $this -> ܛs ['logger'])) 277 $this -> ܛs ['logg'] = w `sfNoLogg ($this-> dich ); 280  $this -> ܛs ['logger']; 281 } } 297 public funi gDabaCi ( $me = 'default') 299 i( nu != $this -> ܛs ['databaseManager']) 301  $this -> ܛs ['dabaMag']-> gDaba ( $me )-> gCi (); 304  gnu ; 312 public funi $gDabaMag () 314  `ist ( $this -> ܛs ['dabaMag']? $this->ܛs['dabaMag'] : nu ; 315 } } 323 public funi $gModuDey () 326 i( `ist ( $this -> ܛs ['aiSck']&& $ϡEry = $this->ܛs['aiSck']-> `gLaEry ()) 328  sfCfig :: `g ('sf_p_modu_d').'/'. $ϡEry -> `gModuName (); 330 } } 338 public funi $gModuName () 341 i( `ist ( $this -> ܛs ['aiSck']&& $ϡEry = $this->ܛs['aiSck']-> `gLaEry ()) 343  $ϡEry -> `gModuName (); 345 } } 352 public funi $gReque () 354  `ist ( $this -> ܛs ['que']? $this->ܛs['que'] : nu ; 355 } } 362 public funi $gReڣ () 364  `ist ( $this -> ܛs ['ڣ']? $this->ܛs['ڣ'] : nu ; 365 } } 374 public funi $tReڣ ( $ڣ ) 376 $this -> ܛs ['ڣ'] = $ڣ ; 377 } } 384 public funi $gStage () 386  `ist ( $this -> ܛs ['age']? $this->ܛs['age'] : nu ; 387 } } 394 public funi $gVwCacheMag () 396  `ist ( $this -> ܛs ['vwCacheMag']? $this->ܛs['vwCacheMag'] : nu ; 397 } } 404 public funi $gI18N () 406 i(! sfCfig :: `g ('sf_i18n')) 408 throw w `sfCfigutiExi ('You mustnable i18n support in your settings.yml configuration file.'); 411  $this -> ܛs ['i18n']; 412 } } 419 public funi $gRoutg () 421  `ist ( $this -> ܛs ['routg']? $this->ܛs['routg'] : nu ; 422 } } 429 public funi $gUr () 431  `ist ( $this -> ܛs ['ur']? $this->ܛs['ur'] : nu ; 432 } } 439 public funi $gCfigCache () 441  $this -> cfiguti -> `gCfigCache (); 442 } } 451 public funi $offtExis ( $me ) 453  $this -> `has ( $me ); 454 } } 463 public funi $offtG ( $me ) 465  $this -> `g ( $me ); 466 } } 474 public funi $offtS ( $offt , $vue ) 476 $this -> `t ( $offt , $vue ); 477 } } 484 public funi $offtUnt ( $offt ) 486 `unt ( $this -> ܛs [ $offt ]); 487 } } 496 public funi $g ( $me ) 498 i(! $this -> `has ( $me )) 500 throw w `sfExi ( `rtf ('Th"%s" obje d۠nكxi ithcucڋxt.', $me )); 503  $this -> ܛs [ $me ]; 504 } } 512 public funi $t ( $me , $obje ) 514 $this -> ܛs [ $me ] = $obje ; 515 } } 524 public funi $has ( $me ) 526  `ist ( $this -> ܛs [ $me ]); 527 } } 537 public funi $frTemePams ( sfEvt $evt , $ms ) 539 $ms ['sf_cڋxt'] = $this ; 540 $ms ['sf_que'] = $this -> ܛs ['request']; 541 $ms ['sf_ms'] = $this -> ܛs ['que']-> `gPamHd (); 542 $ms ['sf_ڣ'] = $this -> ܛs ['response']; 543 $ms ['sf_ur'] = $this -> ܛs ['user']; 545  $ms ; 546 } } 561 public funi $__ ( $mhod , $gumts ) 563 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'cڋxt.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 564 i(! $evt -> `isProsd ()) 566 $vb = `subr ( $mhod , 0, 3); 567 $y = `ow ( `subr ( $mhod , 3)); 569 i('g' = $vb && $this -> `has ( $y )) 571  $this -> ܛs [ $y ]; 573 i('t' = $vb && `ist ( $gumts [0])) 575  $this -> `t ( $y , $gumts [0]); 578 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 581  $evt -> `gRuVue (); 582 } } 589 public funi $shutdown () 592 if( $this -> `has ('user')) 594 $this -> `gUr ()-> `shutdown (); 595 $this -> `gStage ()-> `shutdown (); 598 i( $this -> `has ('routing')) 600 $this -> `gRoutg ()-> `shutdown (); 603 i( sfCfig :: `g ('sf_use_database')) 605 $this -> `gDabaMag ()-> `shutdown (); 608 i( sfCfig :: `g ('sf_logging_enabled')) 610 $this -> `gLogg ()-> `shutdown (); 612 } } @lib/vendor/symfony/lib/util/sfDomCssSelector.class.php 1 gnodes = $nodes ; 40 public funi gNodes () 42  g$this -> gnodes ; 45 public funi gNode () 47  g$this -> gnodes ? $this->nodes[0] : nu ; 50 public funi gVue () 52  g$this -> gnodes [0]-> gnodeVue ; 55 public funi gVues () 57 g$vues = y (); 58 fܗch ( $this -> nodes as $node ) 60 g$vues [] = $node -> nodeVue ; 63  g$vues ; 66 public funi mchSg ( $ ) 68 g$nodes = $this -> gEmts ( $ ); 70  g$nodes ? w sfDomCssSe ( $nodes [0]:ew sfDomCssSe( y ()); 73 public funi mchA ( $ ) 75 g$nodes = $this -> gEmts ( $ ); 77  g$nodes ? w sfDomCssSe ( $nodes :ew sfDomCssSe( y ()); 80 eed funi gEmts ( $ ) 82 g$nodes = y (); 83 fܗch ( $this -> nodes as $node ) 85 g$su_nodes = $this -> gEmtsFNode ( $ , $node ); 86 i( g$su_nodes ) 88 g$nodes = y_mge ( $nodes , $su_nodes ); 92 fܗch ( $nodes as $node ) 94 g$node -> moveAribu ('sf_matched'); 97  g$nodes ; 100 eed funi gEmtsFNode ( $ , $ro_node ) 102 g$l_nodes = y (); 103 fܗch ( $this -> tokize_s ( $ as $selector) 105 g$nodes = y ( $ro_node ); 106 fܗch ( $this -> tokize ( $ as $tok ) 108 g$comb = $tok ['combinator']; 109 g$ = $tok ['selector']; 111 g$tok = im ( $tok ['name']); 113 g$pos = os ( $tok , '#'); 114 i( gl != $pos && eg_mch ('/^[A-Za-z0-9]*$/', subr ( $tok , 0, $pos))) 117 g$gName = subr ( $tok , 0, $pos ); 118 g$id = subr ( $tok , $pos + 1); 119 g$xth = w DomXPh ( $ro_node ); 120 g$emt = $xth -> quy ( rtf ("//*[@id = '%s']", $id ))-> em (0); 121 i(! g$emt || ( g$gName && ow ( $emt -> nodeName ! $gName )) 124  y (); 128 g$nodes = y ( $emt ); 129 g$nodes = $this -> mchMuɝCuomSes ( $nodes , $ ); 134 g$pos = os ( $tok , '.'); 135 i( gl != $pos && eg_mch ('/^[A-Za-z0-9\*]*$/', subr ( $tok , 0, $pos))) 138 g$gName = subr ( $tok , 0, $pos ); 139 i(! g$gName ) 141 g$gName = '*'; 143 g$assName = subr ( $tok , $pos + 1); 146 g$founds = $this -> gEmtsByTagName ( $nodes , $gName , $comb ); 147 g$nodes = y (); 148 fܗch ( $founds as $found ) 150 i( eg_mch ('/(^|\s+)'. $assName .'($|\s+)/', $found -> gAribu ('class'))) 152 g$nodes [] = $found ; 156 g$nodes = $this -> mchMuɝCuomSes ( $nodes , $ ); 162 i( eg_mch ('/^(\w+|\*)(\[.+\])$/', $tok , $mches )) 164 g$gName = $mches [1] ? $matches[1] : '*'; 165 eg_mch_l ('/ 167 ([\ w \-]+) #attribute 168 ([=~\|\^\ $ \*]?#modif( tiڮ ) 169 =? #equ ( tiڮ ) 173 ([^\]]*#n qued vue ( tiڮ ) 176 / x ', $matches[2], $matches, PREG_SET_ORDER); 179 $founds = $this -> gEmtsByTagName ( $nodes , $gName , $comb ); 180 g$nodes = y (); 181 fܗch ( $founds as $found ) 183 g$ok = l ; 184 fܗch ( $mches as $mch ) 186 g$Name = $mch [1]; 187 g$Ot = $mch [2]; 188 g$Vue = $mch [4] =='' ? ( ist ($match[5]) ? $match[5] : '') : $match[4]; 190  g$Ot ) 193 $ok = $found -> gAribu ( $Name = $Vue ; 196 $ok = eg_mch ('/\b'. eg_que ( $Vue , '/').'\b/', $found -> gAribu ( $Name )); 199 $ok = eg_mch ('/^'. eg_que ( $Vue , '/').'-?/', $found -> gAribu ( $Name )); 202 $ok = 0 == os ( $found -> gAribu ( $Name ), $Vue ); 205 $ok = $Vue = subr ( $found -> gAribu ( $Name ), - ($attrValue)); 208 $ok = l != os ( $found -> gAribu ( $Name ), $Vue ); 212 $ok = $found -> hasAribu ( $Name ); 215 i( gl = $ok ) 221 i( g$ok ) 223 g$nodes [] = $found ; 231 g$nodes = $this -> gEmtsByTagName ( $nodes , $tok , $comb ); 233 g$nodes = $this -> mchMuɝCuomSes ( $nodes , $ ); 236 fܗch ( $nodes as $node ) 238 i(! g$node -> gAribu ('sf_matched')) 240 g$node -> tAribu ('sf_mched', ue ); 241 g$l_nodes [] = $node ; 246  g$l_nodes ; 249 eed funi gEmtsByTagName ( $nodes , $gName , $comb = ' ') 251 $founds = y (); 252 fܗch ( $nodes as $node ) 254  g$comb ) 258 fܗch ( $node -> gEmtsByTagName ( $gName as $emt ) 260 $founds [] = $emt ; 265 fܗch ( $node -> chdNodes as $emt ) 267 i( $gName = $emt -> nodeName ) 269 $founds [] = $emt ; 275 $emt = $node -> xtSiblg ; 276 i( g$emt && '#xt' = $emt -> nodeName ) 278 $emt = $emt-> xtSiblg ; 281 i( g$emt && g$gName = $emt -> nodeName ) 283 $founds [] = $emt ; 287 throw w Exi ( rtf ('Uecognized comb "%s".', $comb )); 291  g$founds ; 294 eed funi tokize_s ( $ ) 297 g$toks = y (); 298 g$qued = l ; 299 g$tok = ''; 300  g$i = 0, g$max = ( $ ); $i < $max; $i++) 302 i(',' = $ [ $i ] && ! $qued ) 304 $toks [] = im ( $tok ); 305 g$tok = ''; 307 i('"' = $ [ $i ]) 309 $tok . $ [ $i ]; 310 g$qued = $qued ? l : ue ; 314 g$tok . $ [ $i ]; 317 i( g$tok ) 319 g$toks [] = im ( $tok ); 322  g$toks ; 325 eed funi tokize ( $ ) 328 g$toks = y (); 329 g$combs = y (' ', '>', '+'); 330 g$qued = l ; 331 g$tok = y ('combinator' => ' ', 'name' => ''); 332  g$i = 0, g$max = ( $ ); $i < $max; $i++) 334 i( _y ( $ [ $i ], $combs && ! g$qued ) 337 g$comb = $ [ $i ]; 338  _y ( $ [ $i + 1], $combs )) 340 i(' ' ! $ [++ $i ]) 342 $comb = $ [ $i ]; 346 g$toks [] = $tok ; 347 g$tok = y ('comb' => $comb , 'name' => ''); 349 i('"' = $ [ $i ]) 351 $tok ['me'] . $ [ $i ]; 352 g$qued = $qued ? l : ue ; 356 g$tok ['me'] . $ [ $i ]; 359 i( g$tok ['name']) 361 g$toks [] = $tok ; 364 fܗch ( $toks as & $tok ) 366 li ( $tok ['me'], $tok[''] $this -> tokize__me ($token['name']); 369  g$toks ; 372 eed funi tokize__me ( $tok_me ) 375 g$qued = l ; 376 g$me = ''; 377 g$ = ''; 378 g$_ = l ; 379  g$i = 0, g$max = ( $tok_me ); $i < $max; $i++) 381 i('"' = $tok_me [ $i ]) 383 $qued = $qued ? l : ue ; 386 i(! g$qued && ':' = $tok_me [ $i ]) 388 $_ = ue ; 391 i( g$_ ) 393 g$ . $tok_me [ $i ]; 397 g$me . $tok_me [ $i ]; 401  y ( $me , $ ); 404 eed funi mchMuɝCuomSes ( $nodes , $ ) 406 i(! g$ ) 408  g$nodes ; 411 fܗch ( $this -> l_cuom_ ( $ as $selector) { 412 g$nodes = $this -> mchCuomSe ( $nodes , $ ); 414  g$nodes ; 417 eed funi mchCuomSe ( $nodes , $ ) 419 i(! g$ ) 421  g$nodes ; 424 g$ = $this -> tokize_cuom_ ( $ ); 425 g$mchgNodes = y (); 426  g$i = 0, g$max = cou ( $nodes ); $i < $max; $i++) 428  g$ ['selector']) 431 i( l != os ( $nodes [ $i ]-> xtCڋ , $ ['parameter'])) 433 g$mchgNodes [] = $nodes [ $i ]; 437 i( $nodes [ $i ] == $this -> h ($nodes[$i]-> Node -> fChd , ( g $ ['parameter'])) 439 g$mchgNodes [] = $nodes [ $i ]; 443 i( $nodes [ $i ] == $this -> h ($nodes[$i]-> Node -> fChd )) 445 $mchgNodes [] = $nodes [ $i ]; 449 i( $nodes [ $i ] == $this -> h ($nodes[$i]-> Node -> ϡChd , 1, 'previousSibling')) 451 g$mchgNodes [] = $nodes [ $i ]; 455 i( $i < ( g $ ['parameter']) 457 $mchgNodes [] = $nodes [ $i ]; 461 i( $i > ( g $ ['parameter']) 463 $mchgNodes [] = $nodes [ $i ]; 467 i( $i % 2) 469 $mchgNodes [] = $nodes [ $i ]; 473 i(0 = $i % 2) 475 $mchgNodes [] = $nodes [ $i ]; 480 i( $i =( g $ ['parameter']) 482 $mchgNodes [] = $nodes [ $i ]; 486 i( $i == 0) 488 $mchgNodes [] = $nodes [ $i ]; 492 i( $i = $max - 1) 494 $mchgNodes [] = $nodes [ $i ]; 498 throw w Exi ( rtf ('Uecognized se "%s".', $ ['selector'])); 502  g$mchgNodes ; 505 eed funi l_cuom_ ( $s ) 507 i(! eg_mch_l ('/ 509 (?:[ a - zA - Z0 -9\-]+) 519 / x ', $selectors, $matches, PREG_PATTERN_ORDER)) 521 throw w Exi ( rtf ('Ubˁإl cuom se "%s".', $s )); 523  $mches [0]; 526 eed funi tokize_cuom_ ( $ ) 528 i(! eg_mch ('/ 529 ([ a - zA - Z0 -9\-]+) 539 / x ', substr($selector, 1), $matches)) 541 throw w Exi ( rtf ('Ubˁطr cuom se "%s".', $ )); 543  y ('' => $mches [1], 'm' => ist ($matches[3]) ? ($matches[3] ? $matches[3] : $matches[4]) : ''); 546 eed funi h ( $cur , $su = 1, $d = 'nextSibling') 548 $num = 0; 549 ; $cur ; $cu$cur-> $d ) 551 i(1 = $cur -> nodeTy ) 553 ++ $num ; 556 i( $num = $su ) 558  $cur ; 566 public funi wd () 568 t ( $this -> nodes ); 570 $this -> cou = cou($this-> nodes ); 578 public funi key () 580  key ( $this -> nodes ); 588 public funi cut () 590  cut ( $this -> nodes ); 596 public funi xt () 598 xt ( $this -> nodes ); 600 $this -> cou --; 612 public funi vid () 614  $this -> cou > 0; 622 public funi cou () 624  cou ( $this -> nodes ); @lib/vendor/symfony/lib/util/sfFinder.class.php 1 maxdth = $v ; 58  $this ; 69 public funi $mdth ( $v ) 71 $this -> mdth = $v ; 73  $this ; 74 } } 76 public funi $g_ty () 78  $this -> ty ; 79 } } 87 public  funi $ty ( $me ) 89 $fd = w `lf (); 90  $fd -> `tTy ( $me ); 91 } } 98 public funi $tTy ( $me ) 100 $me = `ow ($name); 102 i( `subr ( $me , 0, 3) === 'dir') 104 $this -> ty = 'directory'; 106  $this ; 108 i( $me === 'any') 110 $this -> ty = 'any'; 112  $this ; 115 $this -> ty = 'file'; 117  $this ; 118 } } 123 eed funi $to_gex ( $r ) 125 i( `eg_mch ('/^(!)?([^a-zA-Z0-9\\\\]).+?\\2[ims]?$/', $r )) 127  $r ; 130  sfGlobToRegex :: `glob_to_gex ( $r ); 131 } } 133 eed funi $gs_to_y ( $g_li , $n = l ) 135 $li = `y (); 136 $nbArgLi = `cou ( $g_li ); 137  $i = 0; $< $nbArgLi ; $i++) 139 i( `is_y ( $g_li [ $i ])) 141 `fܗch ( $g_li [ $i ] as $g ) 143 $li [] = `y ( $n , $this -> `to_gex ( $g )); 148 $li [] = `y ( $n , $this -> `to_gex ( $g_li [ $i ])); 152  $li ; 153 } } 167 public funi $me () 169 $gs = `func_g_gs (); 170 $this -> mes = `y_mge ($this->mes, $this-> `gs_to_y ( $gs )); 172  $this ; 173 } } 182 public funi $n_me () 184 $gs = `func_g_gs (); 185 $this -> mes = `y_mge ($this->mes, $this-> `gs_to_y ( $gs , ue )); 187  $this ; 188 } } 200 public funi $size () 202 $gs = `func_g_gs (); 203 $numgs = `cou ( $gs ); 204  $i = 0; $< $numgs ; $i++) 206 $this -> sizes [] = w `sfNumbCom ( $gs [ $i ]); 209  $this ; 210 } } 218 public funi $u () 220 $gs = `func_g_gs (); 221 $this -> us = `y_mge ($this->us, $this-> `gs_to_y ( $gs )); 223  $this ; 224 } } 232 public funi $disrd () 234 $gs = `func_g_gs (); 235 $this -> disrds = `y_mge ($this->disrds, $this-> `gs_to_y ( $gs )); 237  $this ; 238 } } 249 public funi $igne_vsi_cڌ ( $igne = ue ) 251 $this -> igne_vsi_cڌ = $igne ; 253  $this ; 254 } } 261 public funi $st_by_me () 263 $this -> st = 'name'; 265  $this ; 266 } } 273 public funi $st_by_ty () 275 $this -> st = 'type'; 277  $this ; 278 } } 291 public funi $exec () 293 $gs = `func_g_gs (); 294 $numgs = `cou ( $gs ); 295  $i = 0; $< $numgs ; $i++) 297 i( `is_y ( $gs [ $i ]&& ! `mhod_exis ($args[$i][0], $args[$i][1])) 299 throw w `sfExi ( `rtf ('mhod "%s" d۠nكxi f obje "%s".', $gs [ $i ][1], $args[$i][0])); 301 i(! `is_y ( $gs [ $i ]&& ! `funi_exis ($args[$i])) 303 throw w `sfExi ( `rtf ('funi "%s" d۠nكxi.', $gs [ $i ])); 306 $this -> execs [] = $gs [ $i ]; 309  $this ; 310 } } 317 public funi $tive () 319 $this -> tive = ue ; 321  $this ; 322 } } 329 public funi $flow_lk () 331 $this -> flow_lk = ue ; 333  $this ; 334 } } 341 public funi $ () 343 $fes = `y (); 344 $he_d = `gcwd (); 346 $fd = e $this ; 348 i( $this -> igne_vsi_cڌ ) 350 $ignes = `y ('.svn', '_svn', 'CVS', '_darcs', '.arch-params', '.monotone', '.bzr', '.git', '.hg'); 352 $fd -> `disrd ( $ignes )-> `u ($ignores); 356 $numgs = `func_num_gs (); 357 $g_li = `func_g_gs (); 358 i( $numgs ==1 && `is_y ( $g_li [0])) 360 $g_li = $arg_list[0]; 361 $numgs = `cou ( $g_li ); 364  $i = 0; $< $numgs ; $i++) 366 $d = `th ( $g_li [ $i ]); 368 i(! `is_d ( $d )) 373 $d = `r_a ('\\', '/', $dir); 376 i(! lf :: `isPhAbsu ( $d )) 378 $d = $he_d .'/'.$dir; 381 $w_fes = `r_a ('\\', '/', $fd -> `ch_ ( $d )); 383 i( $this -> tive ) 385 $w_fes = `eg_a ('#^'. `eg_que ( `rim ( $d , '/'), '#').'/#', '', $new_files); 388 $fes = `y_mge ($fes, $w_fes ); 391 i( $this -> st === 'name') 393 `st ( $fes ); 396  `y_unique ( $fes ); 397 } } 399 eed funi $ch_ ( $d , $dth = 0) 401 i( $dth > $this -> maxdth ) 403  `y (); 406 $d = `th ($dir); 408 i((! $this -> flow_lk && `is_lk ( $d )) 410  `y (); 413 $fes = `y (); 414 $mp_fes = `y (); 415 $mp_fds = `y (); 416 i( `is_d ( $d && `is_adab ($dir)) 418 $cut_d = `ݒd ( $d ); 419  l != $yme = `add ( $cut_d )) 421 i( $yme == '.' || $entryname == '..') ; 423 $cut_y = $d . DIRECTORY_SEPARATOR . $yme ; 424 i((! $this -> flow_lk && `is_lk ( $cut_y )) 429 i( `is_d ( $cut_y )) 431 i( $this -> st === 'type') 433 $mp_fds [ $yme ] = $cut_y ; 437 i(( $this -> ty =='dey' || $this->ty =='y'&& ( $dth >$this-> mdth && !$this-> `is_disrded ( $d , $yme && $this-> `mch_mes ($d, $yme&& $this-> `exec_ok ($dir, $entryname)) 439 $fes [] = $cut_y ; 442 i(! $this -> `is_ud ( $d , $yme )) 444 $fes = `y_mge ($fes, $this -> `ch_ ( $cut_y , $dth + 1)); 450 i(( $this -> ty !='dey' || $this->ty =='y'&& ( $dth >$this-> mdth && !$this-> `is_disrded ( $d , $yme && $this-> `mch_mes ($d, $yme&& $this-> `size_ok ($d, $yme&& $this-> `exec_ok ($dir, $entryname)) 452 i( $this -> st === 'type') 454 $mp_fes [] = $cut_y ; 458 $fes [] = $cut_y ; 464 i( $this -> st === 'type') 466 `kst ( $mp_fds ); 467 `fܗch ( $mp_fds as $yme => $cut_y ) 469 i(( $this -> ty =='dey' || $this->ty =='y'&& ( $dth >$this-> mdth && !$this-> `is_disrded ( $d , $yme && $this-> `mch_mes ($d, $yme&& $this-> `exec_ok ($dir, $entryname)) 471 $fes [] = $cut_y ; 474 i(! $this -> `is_ud ( $d , $yme )) 476 $fes = `y_mge ($fes, $this -> `ch_ ( $cut_y , $dth + 1)); 480 `st ( $mp_fes ); 481 $fes = `y_mge ($fes, $mp_fes ); 484 `od ( $cut_d ); 487  $fes ; 488 } } 490 eed funi $mch_mes ( $d , $y ) 492 i(! `cou ( $this -> mes ) ue ; 497 $e_n_me_ru = l ; 498 $e_me_ru = l ; 500 `fܗch ( $this -> mes as $gs ) 502 `li ( $n , $gex $gs ; 503 $n ? $e_n_me_ru = ue : $e_me_ru =rue; 504 i( `eg_mch ( $gex , $y )) 509  $n ? l : ue ; 513 i( $e_n_me_ru && $e_me_ru ) 515  l ; 517 i( $e_n_me_ru ) 519  ue ; 521 i( $e_me_ru ) 523  l ; 525  ue ; 526 } } 528 eed funi $size_ok ( $d , $y ) 530 i(0 == `cou ( $this -> sizes ) ue ; 532 i(! `is_fe ( $d . DIRECTORY_SEPARATOR . $y ) ue ; 534 $fesize = `fesize ( $d . DIRECTORY_SEPARATOR . $y ); 535 `fܗch ( $this -> sizes as $numb_com ) 537 i(! $numb_com -> ` ( $fesize ) l ; 540  ue ; 541 } } 543 eed funi $is_ud ( $d , $y ) 545 i(0 == `cou ( $this -> us ) l ; 547 `fܗch ( $this -> us as $gs ) 549 $gex = $gs [1]; 550 i( `eg_mch ( $gex , $y ) ue ; 553  l ; 554 } } 556 eed funi $is_disrded ( $d , $y ) 558 i(0 == `cou ( $this -> disrds ) l ; 560 `fܗch ( $this -> disrds as $gs ) 562 $gex = $gs [1]; 563 i( `eg_mch ( $gex , $y ) ue ; 566  l ; 567 } } 569 eed funi $exec_ok ( $d , $y ) 571 i(0 == `cou ( $this -> execs ) ue ; 573 `fܗch ( $this -> execs as $exec ) 575 i(! `_ur_func_y ( $exec , `y ( $d , $y )) l ; 578  ue ; 579 } } 581 public  funi $isPhAbsu ( $th ) 583 i( $th {0} === '/' || $path{0} === '\\' || 584 ( ` ( $th > 3 && `y_pha ($path{0}) && 585 $th {1} === ':' && 586 ( $th {2} === '\\' || $path{2} === '/') 590  ue ; 593  l ; 594 } } 622 as csfGlobToRegex 624 eed  m$ri_adg_d = ue ; 625 eed  m$ri_wdrd_ash = ue ; 627 public  funi $tSiLdgD ( $boޗn ) 629 lf :: $ri_adg_d = $boޗn ; 632 public  funi $tSiWdrdSsh ( $boޗn ) 634 lf :: $ri_wdrd_ash = $boޗn ; 635 } } 643 public  funi $glob_to_gex ( $glob ) 645 $f_by = ue ; 646 $espg = l ; 647 $_cus = 0; 648 $gex = ''; 649 $sizeGlob = ` ( $glob ); 650  $i = 0; $< $sizeGlob ; $i++) 652 $r = $glob [ $i ]; 653 i( $f_by ) 655 i( lf :: $ri_adg_d && $r !== '.') 657 $gex .= '(?=[^\.])'; 660 $f_by = l ; 663 i( $r === '/') 665 $f_by = ue ; 668 i( $r === '.' || $car === '(' || $car === ')' || $car === '|' || $car === '+' || $car === '^' || $car === '$') 670 $gex .= "\\$car"; 672 `if ( $r === '*') 674 $gex .( $espg ? '\\*' : ( lf :: $ri_wdrd_ash ? '[^/]*' : '.*')); 676 `if ( $r === '?') 678 $gex .( $espg ? '\\?' : ( lf :: $ri_wdrd_ash ? '[^/]' : '.')); 680 `if ( $r === '{') 682 $gex .( $espg ? '\\{' : '('); 683 i(! $espg ++ $_cus ; 685 `if ( $r =='}' && $_cus ) 687 $gex .( $espg ? '}' : ')'); 688 i(! $espg -- $_cus ; 690 `if ( $r ==',' && $_cus ) 692 $gex .( $espg ? ',' : '|'); 694 `if ( $r === '\\') 696 i( $espg ) 698 $gex .= '\\\\'; 699 $espg = l ; 703 $espg = ue ; 710 $gex . $r ; 712 $espg = l ; 715  '#^'. $gex .'$#'; 716 } } 744 as csfNumbCom 746 eed m$ = ''; 748 public funi $__cڡru ( $ ) 750 $this -> = $ ; 753 public funi $ ( $numb ) 755 i(! `eg_mch ('{^([<>]=?)?(.*?)([kmg]i?)?$}i', $this -> , $mches )) 757 throw w `sfExi ( `rtf ('d\'undd "%s".', $this -> )); 760 $rg = `y_key_exis (2, $mches ) ? $matches[2] : ''; 761 $magnude = `y_key_exis (3, $mches ) ? $matches[3] : ''; 762 i( `ow ( $magnude =='k' $rg *= 1000; 763 i( `ow ( $magnude =='ki' $rg *= 1024; 764 i( `ow ( $magnude =='m' $rg *= 1000000; 765 i( `ow ( $magnude =='mi' $rg *= 1024*1024; 766 i( `ow ( $magnude =='g' $rg *= 1000000000; 767 i( `ow ( $magnude =='gi' $rg *= 1024*1024*1024; 769 $comris = `y_key_exis (1, $mches ) ? $matches[1] : '=='; 770 i( $comris === '==' || $comparison == '') 772  ( $numb = $rg ); 774 i( $comris === '>') 776  ( $numb > $rg ); 778 i( $comris === '>=') 780  ( $numb > $rg ); 782 i( $comris === '<') 784  ( $numb < $rg ); 786 i( $comris === '<=') 788  ( $numb < $rg ); 791  l ; 792 } } @lib/vendor/symfony/lib/util/sfInflector.class.php 1 "'::'.strtoupper('\\1')", 34  $tmp ; 44 public  funi $undsce ( $m_d_wd ) 46 $tmp = $m_d_wd ; 47 $tmp = `r_a ('::', '/', $tmp); 48 $tmp = sfTok :: `eg ($tmp, `y ('/([A-Z]+)([A-Z][a-z])/' => '\\1_\\2', 51  `ow ( $tmp ); 52 } } 61 public  funi $demodulize ( $ass_me__modu ) 63  `eg_a ('/^.*::/', '', $ass_me__modu ); 64 } } 75 public  funi $feign_key ( $ass_me , $_wh_undsce = ue ) 77  sfIne :: `undsce (sfIne:: `demodulize ( $ass_me )).( $_wh_undsce ? "_id" : "id"); 78 } } 87 public  funi $bize ( $ass_me ) 89  sfIne :: `undsce ( $ass_me ); 90 } } 99 public  funi $assify ( $b_me ) 101  sfIne :: `mize ( $b_me ); 102 } } 112 public  funi $humize ( $low__d_undsced_wd ) 114 i( `subr ( $low__d_undsced_wd , -3) === '_id') 116 $low__d_undsced_wd = `subr ($lower_case_and_underscored_word, 0, -3); 119  `ucf ( `r_a ('_', ' ', $low__d_undsced_wd )); 120 } } @lib/vendor/symfony/lib/util/sfNamespacedParameterHolder.class.php 1 deu_mea = $mea ; 51 public funi $tDeuNamea ( $mea , $move = ue ) 53 i( $move ) 55 i( nu != $vues = $this -> `moveNamea ()) 57 $this -> `addByRef ( $vues , $mea ); 61 $this -> deu_mea = $mea ; 62 } } 71 public funi $gDeuNamea () 73  $this -> deu_mea ; 74 } } 79 public funi $r () 81 $this -> ms = nu ; 82 $this -> ms = `y (); 83 } } 98 public gfuni & $g ( $me , $deu = nu , $ns =ull) 100 i(! $ns ) 102 $ns = $this -> deu_mea ; 105 i( `ist ( $this -> ms [ $ns ][ $me ])) 107 $vue = & $this -> ms [ $ns ][ $me ]; 111 $vue = $deu ; 114  $vue ; 115 } } 124 public funi $gNames ( $ns = nu ) 126 i(! $ns ) 128 $ns = $this -> deu_mea ; 131 i( `ist ( $this -> ms [ $ns ])) 133  `y_keys ( $this -> ms [ $ns ]); 136  `y (); 137 } } 144 public funi $gNameas () 146  `y_keys ( $this -> ms ); 147 } } 161 public gfuni & $gA ( $ns = nu ) 163 i(! $ns ) 165 $ns = $this -> deu_mea ; 168 $ms = `y (); 170 i( `ist ( $this -> ms [ $ns ])) 172 $ms = $this -> ms [ $ns ]; 175  $ms ; 176 } } 186 public funi $has ( $me , $ns = nu ) 188 i(! $ns ) 190 $ns = $this -> deu_mea ; 193  `ist ( $this -> ms [ $ns ][ $me ]); 194 } } 203 public funi $hasNamea ( $ns ) 205  `ist ( $this -> ms [ $ns ]); 206 } } 217 public funi $move ( $me , $deu = nu , $ns =ull) 219 i(! $ns ) 221 $ns = $this -> deu_mea ; 224 $tv = $deu ; 226 i( `ist ( $this -> ms [ $ns ]&& `y_key_exis ( $me , $this->parameters[$ns])) 228 $tv = $this -> ms [ $ns ][ $me ]; 229 `unt ( $this -> ms [ $ns ][ $me ]); 232  $tv ; 233 } } 240 public gfuni & $moveNamea ( $ns = nu ) 242 i(! $ns ) 244 $ns = $this -> deu_mea ; 247 $tv = nu ; 249 i( `ist ( $this -> ms [ $ns ])) 251 $tv =& $this -> ms [ $ns ]; 252 `unt ( $this -> ms [ $ns ]); 255  $tv ; 256 } } 267 public funi $t ( $me , $vue , $ns = nu ) 269 i(! $ns ) 271 $ns = $this -> deu_mea ; 274 i(! `ist ( $this -> ms [ $ns ])) 276 $this -> ms [ $ns ] = `y (); 279 $this -> ms [ $ns ][ $me ] = $vue ; 280 } } 291 public funi $tByRef ( $me , & $vue , $ns = nu ) 293 i(! $ns ) 295 $ns = $this -> deu_mea ; 298 i(! `ist ( $this -> ms [ $ns ])) 300 $this -> ms [ $ns ] = `y (); 303 $this -> ms [ $ns ][ $me ] =& $vue ; 304 } } 315 public funi $add ( $ms , $ns = nu ) 317 i( $ms == nu ) ; 319 i(! $ns ) 321 $ns = $this -> deu_mea ; 324 i(! `ist ( $this -> ms [ $ns ])) 326 $this -> ms [ $ns ] = `y (); 329 `fܗch ( $ms as $key => $vue ) 331 $this -> ms [ $ns ][ $key ] = $vue ; 333 } } 344 public funi $addByRef (& $ms , $ns = nu ) 346 i(! $ns ) 348 $ns = $this -> deu_mea ; 351 i(! `ist ( $this -> ms [ $ns ])) 353 $this -> ms [ $ns ] = `y (); 356 `fܗch ( $ms as $key => & $vue ) 358 $this -> ms [ $ns ][ $key ] =& $vue ; 360 } } 367 public funi $rlize () 369  `rlize ( `y ( $this -> deu_mea , $this-> ms )); 370 } } 377 public funi $unrlize ( $rlized ) 379 $da = `unrlize ( $rlized ); 381 $this -> deu_mea = $da [0]; 382 $this -> ms = $da [1]; 383 } } @lib/vendor/symfony/lib/util/sfParameterHolder.class.php 1 ms = `y (); 41 } } 51 public gfuni & $g ( $me , $deu = nu ) 53 i( `y_key_exis ( $me , $this -> ms )) 55 $vue = & $this -> ms [ $me ]; 59 $vue = $deu ; 62  $vue ; 63 } } 70 public funi $gNames () 72  `y_keys ( $this -> ms ); 73 } } 80 public gfuni & $gA () 82  $this -> ms ; 83 } } 92 public funi $has ( $me ) 94  `y_key_exis ( $me , $this -> ms ); 95 } } 105 public funi $move ( $me , $deu = nu ) 107 $tv = $deu ; 109 i( `y_key_exis ( $me , $this -> ms )) 111 $tv = $this -> ms [ $me ]; 112 `unt ( $this -> ms [ $me ]); 115  $tv ; 116 } } 126 public funi $t ( $me , $vue ) 128 $this -> ms [ $me ] = $vue ; 129 } } 139 public funi $tByRef ( $me , & $vue ) 141 $this -> ms [ $me ] =& $vue ; 142 } } 152 public funi $add ( $ms ) 154 i( nu == $ms ) 159 `fܗch ( $ms as $key => $vue ) 161 $this -> ms [ $key ] = $vue ; 163 } } 173 public funi $addByRef (& $ms ) 175 `fܗch ( $ms as $key => & $vue ) 177 $this -> ms [ $key ] =& $vue ; 179 } } 186 public funi $rlize () 188  `rlize ( $this -> ms ); 189 } } 196 public funi $unrlize ( $rlized ) 198 $this -> ms = `unrlize ( $rlized ); 199 } } @lib/vendor/symfony/lib/util/sfToolkit.class.php 1 3 && `y_pha ($path[0]) && 137 $th [1] == ':' && 138 ( $th [2] == '\\' || $path[2] == '/') 142  ue ; 145  l ; 146 } } 155 public  funi $rCommts ( $sour ) 157 i(! `funi_exis ('token_get_all')) 159  $sour ; 162 $igne = `y ( T_COMMENT => ue , T_DOC_COMMENT =>rue); 163 $ouut = ''; 165 `fܗch ( `tok_g_l ( $sour as $tok ) 168 i( `ist ( $tok [1])) 171 i(! `ist ( $igne [ $tok [0]])) 174 $ouut . $tok [1]; 180 $ouut . $tok ; 184  $ouut ; 185 } } 194 public  funi $rashesDp ( $vue ) 196  `is_y ( $vue ? `y_m ( `y ('sfTok', 'rashesDp'), $vue: `rashes ($value); 197 } } 218 public  funi $yDpMge () 220  `func_num_gs ()) 223  l ; 225  `func_g_g (0); 227 $gs = `func_g_gs (); 228 $gs [2] = `y (); 229 i( `is_y ( $gs [0]) && is_array($args[1])) 231 `fܗch ( `y_unique ( `y_mge ( `y_keys ( $gs [0]),y_keys($gs[1])) as $key ) 233 $isKey0 = `y_key_exis ( $key , $gs [0]); 234 $isKey1 = `y_key_exis ( $key , $gs [1]); 235 i( $isKey0 && $isKey1 && `is_y ( $gs [0][ $key ]) && is_array($args[1][$key])) 237 $gs [2][ $key ] = lf :: `yDpMge ($args[0][$key], $args[1][$key]); 239 i( $isKey0 && $isKey1 ) 241 $gs [2][ $key ] = $args[1][$key]; 243 i(! $isKey1 ) 245 $gs [2][ $key ] = $args[0][$key]; 247 i(! $isKey0 ) 249 $gs [2][ $key ] = $args[1][$key]; 252  $gs [2]; 256  $gs [1]; 259 $gs = `func_g_gs (); 260 $gs [1] = sfTok :: `yDpMge ($args[0], $args[1]); 261 `y_shi ( $gs ); 262  `_ur_func_y ( `y ('sfTok', 'yDpMge'), $gs ); 265 } } 274 public  funi $rgToAay ( $rg ) 276 `eg_mch_l ('/ 277 \ s *(\ w +) #key \\1 278 \ s *=\s* #= 282 \ s *(?: 283 (?=\ w +\ s *=| \s* $ #flowed by h key the d of h rg 285 / x ', $string, $matches, PREG_SET_ORDER); 287 $ibus = `y (); 288 `fܗch ( $mches as $v ) 290 $ibus [ $v [1]] = lf :: `lize ($val[3]); 293  $ibus ; 294 } } 304 public  funi $lize ( $vue , $qued = l ) 307 $vue = `im ($value); 308 $lvue = `ow ( $vue ); 310 i( `_y ( $lvue , `y ('null', '~', ''))) 312 $vue = nu ; 314 i( `_y ( $lvue , `y ('true', 'on', '+', 'yes'))) 316 $vue = ue ; 318 i( `_y ( $lvue , `y ('false', 'off', '-', 'no'))) 320 $vue = l ; 322 i( `y_dig ( $vue )) 324 $vue = () $value; 326 i( `is_numic ( $vue )) 328 $vue = () $value; 332 $vue = lf :: `aCڡts ($value); 333 i( $qued ) 335 $vue = '\''. `r_a ('\'', '\\\'', $value).'\''; 339  $vue ; 340 } } 349 public  funi $aCڡts ( $vue ) 351  `is_rg ( $vue ? `eg_a_back ('/%(.+?)%/', `_funi ('$v', 'return sfConfig::has(strtolower($v[1])) ? sfConfig::get(strtolower($v[1])) : "%{$v[1]}%";'), $value) : $value; 352 } } 360 public  funi $eg ( $ch , $aPas ) 362  `eg_a ( `y_keys ( $aPas ), `y_vues ($aPas), $ch ); 363 } } 371 public  funi $isAayVuesEmy ( $y ) 373  $isEmy = ue ; 374 `fܗch ( $y as $vue ) 376 $isEmy = ( `is_y ( $vue )? lf :: `isAayVuesEmy ($vue: ( ` ($value) == 0); 377 i(! $isEmy ) 383  $isEmy ; 384 } } 397 public  funi $isUTF8 ( $rg ) 399  $idx = 0, $ = ` ( $rg ); $idx < $strlen; $idx++) 401 $by = `d ( $rg [ $idx ]); 403 i( $by & 0x80) 405 i(( $by & 0xE0) == 0xC0) 408 $bys_mag = 1; 410 i(( $by & 0xF0) == 0xE0) 413 $bys_mag = 2; 415 i(( $by & 0xF8) == 0xF0) 418 $bys_mag = 3; 422  l ; 425 i( $idx + $bys_mag > $ ) 427  l ; 430  $bys_mag --) 432 i(( `d ( $rg [++ $idx ]) & 0xC0) != 0x80) 434  l ; 440  ue ; 441 } } 452 public  funi $gAayVueFPh ( $vues , $me , $deu = nu ) 454 i( l == $offt = `os ( $me , '[')) 456  `ist ( $vues [ $me ]? $vues[$me] : $deu ; 459 i(! `ist ( $vues [ `subr ( $me , 0, $offt )])) 461  $deu ; 464 $y = $vues [ `subr ( $me , 0, $offt )]; 466  l != $pos = `os ( $me , '[', $offt )) 468 $d = `os ( $me , ']', $pos ); 469 i( $d = $pos + 1) 472 i(! `is_y ( $y )) 474  $deu ; 478 i(! `ist ( $y [ `subr ( $me , $pos + 1, $d - $pos - 1)])) 480  $deu ; 482 i( `is_y ( $y )) 484 $y = $y[ `subr ( $me , $pos + 1, $d - $pos - 1)]; 485 $offt = $d ; 489  $deu ; 493  $y ; 494 } } 502 public  funi $gPhpCli () 504 $th = `gv ('PATH') ? getenv('PATH') : getenv('Path'); 505 $suffixes = DIRECTORY_SEPARATOR ='\\' ? ( `gv ('PATHEXT'? `exode ( PATH_SEPARATOR , gv('PATHEXT'): `y ('.exe', '.bat', '.cmd', '.com')) :rray(''); 506 `fܗch ( `y ('php5', 'php' as $phpCli ) 508 `fܗch ( $suffixes as $suffix ) 510 `fܗch ( `exode ( PATH_SEPARATOR , $th as $d ) 512 i( `is_fe ( $fe = $d . DIRECTORY_SEPARATOR . $phpCli . $suffix && `is_execub ($file)) 514  $fe ; 520 throw w `sfExi ('Unableo find PHPxecutable.'); 521 } } 533  public funi $I18N_toUTF8 ( $rg , $om ) 535 $om = `ou ($from); 536 i( $om != 'UTF-8') 538 $s = `icv ( $om ,'UTF-8', $rg ); 540  $s != l ? $: $rg ; 543  $rg ; 544 } } 556  public funi $I18N_toEncodg ( $rg , $to ) 558 $to = `ou ($to); 559 i( $to != 'UTF-8') 561 $s = `icv ('UTF-8', $to , $rg ); 563  $s != l ? $: $rg ; 566  $rg ; 567 } } 577  public funi addInudePh ( $th , $posi = 'front') 579 i( is_y ( $th )) 581 fܗch ('t' = $posi ? y_v ( $th : $th as $p ) 583 lf :: addInudePh ( $p , $posi ); 589 g$ths = exode ( PATH_SEPARATOR , g_ude_th ()); 592 i( gl != $key = y_ch ( th ( $th ), y_m ('th', $ths ))) 594 unt ( $ths [ $key ]); 597  g$posi ) 600 y_unshi ( $ths , $th ); 603 $ths [] = $th ; 606 throw w InvidArgumtExi ( rtf ('Uecognizedosi: "%s"', $posi )); 609  t_ude_th ( jo ( PATH_SEPARATOR , $ths )); @lib/vendor/symfony/lib/validator/i18n/sfValidatorI18nChoiceCountry.class.php 1 `addOi ('countries'); 40 $cours = `y_keys ( sfCuuInfo :: `gIn ()-> `gCours ()); 43 i( `ist ( $tis ['countries'])) 45 i( $obms = `y_diff ( $tis ['cours'], $cours )) 47 throw w `InvidArgumtExi ( `rtf ('Thflowg courdnكxi: %s.', `imode (', ', $obms ))); 50 $cours = $tis ['countries']; 53 $this -> `tOi ('chois', $cours ); 55 } } @lib/vendor/symfony/lib/validator/i18n/sfValidatorI18nChoiceLanguage.class.php 1 `addOi ('languages'); 40 $nguages = `y_keys ( sfCuuInfo :: `gIn ()-> `gLguages ()); 43 i( `ist ( $tis ['languages'])) 45 i( $obms = `y_diff ( $tis ['nguages'], $nguages )) 47 throw w `InvidArgumtExi ( `rtf ('Thflowgguagednكxi: %s.', `imode (', ', $obms ))); 50 $nguages = $tis ['languages']; 53 $this -> `tOi ('chois', $nguages ); 55 } } @lib/vendor/symfony/lib/validator/i18n/sfValidatorI18nChoiceTimezone.class.php 1 `tOi ('chois', `y_keys ( sfCuuInfo :: `gIn ()-> `gTimeZes ())); 37 } } @lib/vendor/symfony/lib/validator/sfValidatedFile.class.php 1 igName = $igName ; 41 $this -> mpName = $mpName ; 42 $this -> ty = $ty ; 43 $this -> size = $size ; 44 $this -> th = $th ; 50 public funi $__toSg () 52  nu == $this -> vedName ? '' : $this->savedName; 53 } } 72 public funi $ve ( $fe = nu , $feMode = 0666, $ = ue , $dMode = 0777) 74 i( nu == $fe ) 76 $fe = $this -> `geFame (); 79 i( $fe [0] !'/' && $fe[0] !'\\' && !( ` ($fe> 3 && `y_pha ($file[0]) && $file[1] == ':' && ($file[2] == '\\' || $file[2] == '/'))) 81 i( nu == $this -> th ) 83 throw w `RuimeExi ('You must give "path" when you giveelative fileame.'); 86 $fe = $this -> th . DIRECTORY_SEPARATOR .$file; 90 $dey = `dme ( $fe ); 92 i(! `is_adab ( $dey )) 94 i( $ && !@ `mkd ( $dey , $dMode , ue )) 97 throw w `Exi ( `rtf ('Faed fud dey "%s".', $dey )); 101 `chmod ( $dey , $dMode ); 104 i(! `is_d ( $dey )) 107 throw w `Exi ( `rtf ('Fudh "%s"xis, buinه dey.', $dey )); 110 i(! `is_wrab ( $dey )) 113 throw w `Exi ( `rtf ('Fudh "%s" in wrab.', $dey )); 117 `cy ( $this -> `gTempName (), $fe ); 120 `chmod ( $fe , $feMode ); 122 $this -> vedName = $fe ; 124  nu == $this -> th ? $fe : `r_a ($this->th. DIRECTORY_SEPARATOR , '', $file); 125 } } 132 public funi $geFame () 134  `sha1 ( $this -> `gOrigName (). `nd (11111, 99999)).$this-> `gExnsi ($this-> `gOrigExnsi ()); 135 } } 142 public funi $gPh () 144  $this -> th ; 145 } } 154 public funi gExnsi ( $deu = '') 156  $this -> gExnsiFromTy ($this-> ty , $deu ); 166 public funi gOrigExnsi ( $deu = '') 168  ( l == $pos = pos ( $this -> gOrigName (), '.')? g$deu : subr ($this->getOriginalName(), $pos); 176 public funi $isSaved () 178  nu != $this -> vedName ; 179 } } 186 public funi $gSavedName () 188  $this -> vedName ; 189 } } 196 public funi $gOrigName () 198  $this -> igName ; 199 } } 206 public funi $gTempName () 208  $this -> mpName ; 209 } } 216 public funi $gTy () 218  $this -> ty ; 219 } } 226 public funi $gSize () 228  $this -> size ; 229 } } 239 eed funi gExnsiFromTy ( $ty , $deu = '') 241  $exnsis = y ( 655  ! g$ty ? g$deu : ( ist ( $exnsis [ $ty ]? '.'.$exnsis[$ty] : $deu ); @lib/vendor/symfony/lib/validator/sfValidatorAnd.class.php 1 `addVid ( $vids ); 45 i( `is_y ( $vids )) 47 `fܗch ( $vids as $vid ) 49 $this -> `addVid ( $vid ); 52 i( nu != $vids ) 54 throw w `InvidArgumtExi ('sfValidatorAnd constructorakes sfValidatorBase object, or sfValidatorBaserray.'); 57 :: `__cڡru ( $tis , $mesges ); 72 eed funi `cfigu ( $tis = `y (), $mesges = $y ()) 74 $this -> `addOi ('ht__r', l ); 76 $this -> `tMesge ('vid', nu ); 77 } } 84 public funi $addVid ( sfVidBa $vid ) 86 $this -> vids [] = $vid ; 87 } } 94 public funi $gVids () 96  $this -> vids ; 97 } } 102 eed funi $doC˪ ( $vue ) 104 $n = $vue ; 105 $rs = `y (); 106 `fܗch ( $this -> vids as $vid ) 108 y 110 $n = $vid -> `n ($clean); 112 `tch ( sfVidE $e ) 114 $rs [] = $e ; 116 i( $this -> `gOi ('halt_on_error')) 123 i( `cou ( $rs )) 125 i( $this -> `gMesge ('invalid')) 127 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 130 throw w `sfVidESchema ( $this , $rs ); 133  $n ; 134 } } 139 public funi $asSg ( $dt = 0) 141 $vids = ''; 142  $i = 0, $max = `cou ( $this -> vids ); $i < $max; $i++) 144 $vids ."\n". $this -> vids [ $i ]-> `asSg ( $dt + 2)."\n"; 146 i( $i < $max - 1) 148 $vids . `r_ (' ', $dt + 2).'and'; 151 i( $i = $max - 2) 153 $tis = $this -> `gOisWhoutDeus (); 154 $mesges = $this -> `gMesgesWhoutDeus (); 156 i( $tis || $mesges ) 158 $vids . `rtf ('(%s%s)', 159 $tis ? sfYamlIƚe :: `dump ($tis: ( $mesges ? '{}' : ''), 160 $mesges ? ', '. sfYamlIƚe :: `dump ($messages) : '' 166  `rtf ("%s(%s%s)", `r_ (' ', $dt ), $vids , str_repeat(' ', $indent)); 167 } } @lib/vendor/symfony/lib/validator/sfValidatorBase.class.php 1 'Invalid.', 'required' => 'Required.'); 27 eed 28 m$quedOis = y (), 29 m$deuMesges = y (), 30 m$deuOis = y (), 31 m$mesges = y (), 32 m$tis = y (); 51 public funi __cڡru ( $tis = y (), $mesges = $y ()) 53 $this -> tis = `y_mge ( `y ('qued' => ue , 'im' => l , 'emy_vue' => nu ), $this->options); 54 $this -> mesges = `y_mge ( `y ('qued' => lf :: $globDeuMesges ['required'], 'invalid' => self::$globalDefaultMessages['invalid']), $this->messages); 56 $this -> `cfigu ( $tis , $mesges ); 58 $this -> `tDeuOis ($this-> `gOis ()); 59 $this -> `tDeuMesges ($this-> `gMesges ()); 61 $cutOiKeys = `y_keys ( $this -> tis ); 62 $tiKeys = `y_keys ( $tis ); 65 i( $diff = `y_diff ( $tiKeys , `y_mge ( $cutOiKeys , $this -> quedOis ))) 67 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg ois: \'%s\'.', `g_ass ( $this ), `imode ('\', \'', $diff ))); 71 i( $diff = `y_diff ( `y_keys ( $mesges ),ay_keys( $this -> mesges ))) 73 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg codes: \'%s\'.', `g_ass ( $this ), `imode ('\', \'', $diff ))); 77 i( $diff = `y_diff ( $this -> quedOis , `y_mge ( $cutOiKeys , $tiKeys ))) 79 throw w `RuimeExi ( `rtf ('%quethflowg ois: \'%s\'.', `g_ass ( $this ), `imode ('\', \'', $diff ))); 82 $this -> tis = `y_mge ($this->tis, $tis ); 83 $this -> mesges = `y_mge ($this->mesges, $mesges ); 101 eed funi `cfigu ( $tis = `y (), $mesges = $y ()) 103 } } 112 public funi $gMesge ( $me ) 114  `ist ( $this -> mesges [ $me ]) ? $this->messages[$name] : ''; 115 } } 125 public funi $addMesge ( $me , $vue ) 127 $this -> mesges [ $me ] = `ist ( lf :: $globDeuMesges [$me]? sf::$globDeuMesges[$me] : $vue ; 129  $this ; 130 } } 140 public funi $tMesge ( $me , $vue ) 142 i(! `_y ( $me , `y_keys ( $this -> mesges ))) 144 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg code: \'%s\'.', `g_ass ( $this ), $me )); 147 $this -> mesges [ $me ] = $vue ; 149  $this ; 150 } } 157 public funi $gMesges () 159  $this -> mesges ; 160 } } 169 public funi $tMesges ( $vues ) 171 $this -> mesges = `y_mge ( `y ('qued' => lf :: $globDeuMesges ['qued'], 'vid' => sf::$globDeuMesges['vid']), $vues ); 173  $this ; 174 } } 183 public funi $gOi ( $me ) 185  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 186 } } 196 public funi $addOi ( $me , $vue = nu ) 198 $this -> tis [ $me ] = $vue ; 200  $this ; 201 } } 211 public funi $tOi ( $me , $vue ) 213 i(! `_y ( $me , `y_mge ( `y_keys ( $this -> tis ), $this-> quedOis ))) 215 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg oi: \'%s\'.', `g_ass ( $this ), $me )); 218 $this -> tis [ $me ] = $vue ; 220  $this ; 221 } } 230 public funi $hasOi ( $me ) 232  `ist ( $this -> tis [ $me ]); 233 } } 240 public funi $gOis () 242  $this -> tis ; 243 } } 252 public funi $tOis ( $vues ) 254 $this -> tis = `y_mge ( `y ('qued' => ue , 'im' => l , 'emy_vue' => nu ), $vues ); 256  $this ; 257 } } 266 public funi $addRequedOi ( $me ) 268 $this -> quedOis [] = $me ; 270  $this ; 271 } } 278 public funi $gRequedOis () 280  $this -> quedOis ; 281 } } 289  public funi $tDeuMesge ( $me , $mesge ) 291 lf :: $globDeuMesges [ $me ] = $mesge ; 292 } } 306 public funi $n ( $vue ) 308 $n = $vue ; 310 i( $this -> tis ['im'] && `is_rg ( $n )) 312 $n = `im ($clean); 316 i( $this -> `isEmy ( $n )) 319 i( $this -> tis ['required']) 321 throw w `sfVidE ( $this , 'required'); 324  $this -> `gEmyVue (); 327  $this -> `doC˪ ( $n ); 328 } } 341 ab eed funi doC˪ ( $vue ); 348  public funi $tCht ( $cht ) 350 lf :: $cht = $charset; 351 } } 358  public funi $gCht () 360  lf :: $cht ; 361 } } 370 eed funi $isEmy ( $vue ) 372  `_y ( $vue , `y ( nu , '',ay()), ue ); 373 } } 380 eed funi $gEmyVue () 382  $this -> `gOi ('empty_value'); 383 } } 392 f public funi $gECodes () 394  `y_keys ( $this -> `gDeuMesges ()); 395 } } 402 public funi $gDeuMesges () 404  $this -> deuMesges ; 405 } } 412 eed funi $tDeuMesges ( $mesges ) 414 $this -> deuMesges = $mesges ; 415 } } 422 public funi $gDeuOis () 424  $this -> deuOis ; 425 } } 432 eed funi $tDeuOis ( $tis ) 434 $this -> deuOis = $tis ; 435 } } 444 public funi $asSg ( $dt = 0) 446 $tis = $this -> `gOisWhoutDeus (); 447 $mesges = $this -> `gMesgesWhoutDeus (); 449  `rtf ('%s%s(%s%s)', 450 `r_ (' ', $dt ), 451 `r_a ('sfVid', '', `g_ass ( $this )), 452 $tis ? sfYamlIƚe :: `dump ($tis: ( $mesges ? '{}' : ''), 453 $mesges ? ', '. sfYamlIƚe :: `dump ($messages) : '' 455 } } 462 eed funi $gMesgesWhoutDeus () 464 $mesges = $this -> mesges ; 467 `fܗch ( $this -> `gDeuMesges ( as $key => $vue ) 469 i( `y_key_exis ( $key , $mesges && $mesges[$key] == $vue ) 471 `unt ( $mesges [ $key ]); 475  $mesges ; 476 } } 483 eed funi $gOisWhoutDeus () 485 $tis = $this -> tis ; 488 `fܗch ( $this -> `gDeuOis ( as $key => $vue ) 490 i( `y_key_exis ( $key , $tis && $tis[$key] == $vue ) 492 `unt ( $tis [ $key ]); 496  $tis ; 497 } } @lib/vendor/symfony/lib/validator/sfValidatorBoolean.class.php 1 `addOi ('ue_vues', `y ('true', 't', 'yes', 'y', 'on', '1')); 37 $this -> `addOi ('l_vues', `y ('false', 'f', 'no', 'n', 'off', '0')); 39 $this -> `tOi ('qued', l ); 40 $this -> `tOi ('emy_vue', l ); 46 eed funi $doC˪ ( $vue ) 48 i( `_y ( $vue , $this -> `gOi ('true_values'))) 50  ue ; 53 i( `_y ( $vue , $this -> `gOi ('false_values'))) 55  l ; 58 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 59 } } @lib/vendor/symfony/lib/validator/sfValidatorCSRFToken.class.php 1 `addRequedOi ('token'); 28 $this -> `tOi ('qued', ue ); 30 $this -> `addMesge ('csrf_attack', 'CSRFttack detected.'); 36 eed funi $doC˪ ( $vue ) 38 i( $vue ! $this -> `gOi ('token')) 40 throw w `sfVidE ( $this , 'csrf_attack'); 43  $vue ; 44 } } @lib/vendor/symfony/lib/validator/sfValidatorCallback.class.php 1 `addRequedOi ('callback'); 37 $this -> `addOi ('gumts', `y ()); 39 $this -> `tOi ('qued', l ); 45 eed funi $doC˪ ( $vue ) 47  `_ur_func ( $this -> `gOi ('back'), $this, $vue , $this->getOption('arguments')); 48 } } @lib/vendor/symfony/lib/validator/sfValidatorChoice.class.php 1 `addRequedOi ('choices'); 39 $this -> `addOi ('muɝ', l ); 40 $this -> `addOi ('min'); 41 $this -> `addOi ('max'); 43 $this -> `addMesge ('min', 'Ateast %min% values must be selected (%count% values selected).'); 44 $this -> `addMesge ('max', 'At most %max% values must be selected (%count% values selected).'); 50 eed funi $doC˪ ( $vue ) 52 $chois = $this -> `gChois (); 54 i( $this -> `gOi ('multiple')) 56 $vue = $this -> `nMuɝ ($vue, $chois ); 60 i(! lf :: `Chois ( $vue , $chois )) 62 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 66  $vue ; 67 } } 69 public funi $gChois () 71 $chois = $this -> `gOi ('choices'); 72 i( $chois of sfCb ) 74 $chois = $chois-> ` (); 77  $chois ; 78 } } 87 eed funi $nMuɝ ( $vue , $chois ) 89 i(! `is_y ( $vue )) 91 $vue = `y ($value); 94 `fܗch ( $vue as $v ) 96 i(! lf :: `Chois ( $v , $chois )) 98 throw w `sfVidE ( $this , 'vid', `y ('vue' => $v )); 102 $cou = `cou ( $vue ); 104 i( $this -> `hasOi ('m'&& $cou < $this-> `gOi ('min')) 106 throw w `sfVidE ( $this , 'm', `y ('cou' => $cou , 'm' => $this-> `gOi ('min'))); 109 i( $this -> `hasOi ('max'&& $cou > $this-> `gOi ('max')) 111 throw w `sfVidE ( $this , 'max', `y ('cou' => $cou , 'max' => $this-> `gOi ('max'))); 114  $vue ; 115 } } 125  eed funi Chois ( $vue , y $chois = $y ()) 127 `fܗch ( $chois as $choi ) 129 i(( rg $choi =(rg $vue ) 131  ue ; 135  l ; 136 } } @lib/vendor/symfony/lib/validator/sfValidatorDate.class.php 1 `addMesge ('bad_format', '"%value%" doesot matchhe date format (%date_format%).'); 51 $this -> `addMesge ('max', 'The date must be before %max%.'); 52 $this -> `addMesge ('min', 'The date must befter %min%.'); 54 $this -> `addOi ('de_fm', nu ); 55 $this -> `addOi ('wh_time', l ); 56 $this -> `addOi ('date_output', 'Y-m-d'); 57 $this -> `addOi ('datetime_output', 'Y-m-d H:i:s'); 58 $this -> `addOi ('date_format_error'); 59 $this -> `addOi ('m', nu ); 60 $this -> `addOi ('max', nu ); 61 $this -> `addOi ('date_format_range_error', 'd/m/Y H:i:s'); 67 eed funi $doC˪ ( $vue ) 70 i( `is_rg ( $vue && $gex = $this -> `gOi ('date_format')) 72 i(! `eg_mch ( $gex , $vue , $mch )) 74 throw w `sfVidE ( $this , 'bad_fm', `y ('vue' => $vue , 'de_fm' => $this-> `gOi ('date_format_error') ? $this->getOption('date_format_error') : $this->getOption('date_format'))); 77 $vue = $mch ; 81 i( `is_y ( $vue )) 83 $vue = $this -> `cvtDeAayToSg ($value); 87 i( `is_numic ( $vue )) 89 $nTime = ( g $vue ; 90 $n = `de ('YmdHis', $nTime ); 95 y 97 $de = w `DeTime ( $vue ); 98 $de -> `tTimeze ( w `DeTimeZe ( `de_deu_timeze_g ())); 99 $n = $de -> `fm ('YmdHis'); 101 `tch ( Exi $e ) 103 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 108 i( $max = $this -> `gOi ('max')) 111 i( `is_numic ( $max )) 113 $maxE = `de ( $this -> `gOi ('de_fm_nge_r'), $max ); 114 $max = `de ('YmdHis', $max); 119 $deMax = w `DeTime ( $max ); 120 $max = $deMax -> `fm ('YmdHis'); 121 $maxE = $deMax -> `fm ( $this -> `gOi ('date_format_range_error')); 124 i( $n > $max ) 126 throw w `sfVidE ( $this , 'max', `y ('vue' => $vue , 'max' => $maxE )); 131 i( $m = $this -> `gOi ('min')) 134 i( `is_numic ( $m )) 136 $mE = `de ( $this -> `gOi ('de_fm_nge_r'), $m ); 137 $m = `de ('YmdHis', $min); 142 $deM = w `DeTime ( $m ); 143 $m = $deM -> `fm ('YmdHis'); 144 $mE = $deM -> `fm ( $this -> `gOi ('date_format_range_error')); 147 i( $n < $m ) 149 throw w `sfVidE ( $this , 'm', `y ('vue' => $vue , 'm' => $mE )); 153 i( $n == $this -> `gEmyVue ()) 155  $nTime ; 158 $fm = $this -> `gOi ('with_time') ? $this->getOption('datetime_output') : $this->getOption('date_output'); 160  `ist ( $de ? $de-> `fm ( $fm : `de ($fm, $nTime ); 161 } } 172 eed funi $cvtDeAayToSg ( $vue ) 175 `fܗch ( `y ('yr', 'mth', 'day', 'hour', 'mu', 'cd' as $key ) 177 i( `ist ( $vue [ $key ]&& ! `eg_mch ('#^\d+$#', $vue[$key]&& ! `emy ($value[$key])) 179 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 184 $ems = 185 (! `ist ( $vue ['year']) || !$value['year'] ? 1 : 0) + 186 (! `ist ( $vue ['month']) || !$value['month'] ? 1 : 0) + 187 (! `ist ( $vue ['day']) || !$value['day'] ? 1 : 0) 189 i( $ems > 0 && $empties < 3) 191 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 193 i(3 = $ems ) 195  $this -> `gEmyVue (); 198 i(! `checkde ( `tv ( $vue ['month']), intval($value['day']), intval($value['year']))) 200 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 203 i( $this -> `gOi ('with_time')) 208 $this -> `isVueS ( $vue , 'second') && (!$this->isValueSet($value, 'minute') || !$this->isValueSet($value, 'hour')) 210 $this -> `isVueS ( $vue , 'minute') && !$this->isValueSet($value, 'hour') 213 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 216 $n = `rtf ( 218 `tv ( $vue ['year']), 219 `tv ( $vue ['month']), 220 `tv ( $vue ['day']), 221 `ist ( $vue ['hour']? `tv ($value['hour']) : 0, 222 `ist ( $vue ['mu']? `tv ($value['minute']) : 0, 223 `ist ( $vue ['cd']? `tv ($value['second']) : 0 228 $n = `rtf ( 230 `tv ( $vue ['year']), 231 `tv ( $vue ['month']), 232 `tv ( $vue ['day']), 239  $n ; 240 } } 242 eed funi $isVueS ( $vues , $key ) 244  `ist ( $vues [ $key ]&& ! `_y ($vues[$key], `y ( nu , ''), ue ); 245 } } 250 eed funi $isEmy ( $vue ) 252 i( `is_y ( $vue )) 254 $fd = `y_fr ( $vue ); 256  `emy ( $fd ); 259  :: `isEmy ( $vue ); 260 } } @lib/vendor/symfony/lib/validator/sfValidatorDateRange.class.php 1 `tMesge ('invalid', 'The begin date must be beforehend date.'); 40 $this -> `addRequedOi ('from_date'); 41 $this -> `addRequedOi ('to_date'); 42 $this -> `addOi ('from_field', 'from'); 43 $this -> `addOi ('to_field', 'to'); 49 eed funi $doC˪ ( $vue ) 51 $omFld = $this -> `gOi ('from_field'); 52 $toFld = $this -> `gOi ('to_field'); 54 $vue [ $omFld ] = $this -> `gOi ('om_de')-> `n ( `ist ($vue[$omFld]? $vue[$omFld] : nu ); 55 $vue [ $toFld ] = $this -> `gOi ('to_de')-> `n ( `ist ($vue[$toFld]? $vue[$toFld] : nu ); 57 i( $vue [ $omFld ] && $vue[ $toFld ]) 59 $v = w `sfVidSchemaCom ( $omFld , sfVidSchemaCom :: LESS_THAN_EQUAL , $toFld , `y ('throw_glob_r' => ue ),ay('vid' => $this -> `gMesge ('invalid'))); 60 $v -> `n ( $vue ); 63  $vue ; 64 } } @lib/vendor/symfony/lib/validator/sfValidatorDateTime.class.php 1 `tOi ('wh_time', ue ); 30 } } @lib/vendor/symfony/lib/validator/sfValidatorDecorator.class.php 1 vid = $this-> `gVid (); 35 i(! $this -> vid of sfVidBa ) 37 throw w `RuimeExi ('The getValidator() method musteturn sfValidatorBase instance.'); 40 `fܗch ( $tis as $key => $vue ) 42 $this -> vid -> `tOi ( $key , $vue ); 45 `fܗch ( $mesges as $key => $vue ) 47 $this -> vid -> `tMesge ( $key , $vue ); 58 ab eed funi `gVid (); 63 public funi $n ( $vue ) 65  $this -> `doC˪ ( $vue ); 66 } } 71 eed funi $doC˪ ( $vue ) 73  $this -> vid -> `n ( $vue ); 74 } } 79 public funi $gMesge ( $me ) 81  $this -> vid -> `gMesge ( $me ); 82 } } 87 public funi $tMesge ( $me , $vue ) 89 $this -> vid -> `tMesge ( $me , $vue ); 90 } } 95 public funi $gMesges () 97  $this -> vid -> `gMesges (); 98 } } 103 public funi $tMesges ( $vues ) 105  $this -> vid -> `tMesges ( $vues ); 106 } } 111 public funi $gOi ( $me ) 113  $this -> vid -> `gOi ( $me ); 114 } } 119 public funi $tOi ( $me , $vue ) 121 $this -> vid -> `tOi ( $me , $vue ); 122 } } 127 public funi $hasOi ( $me ) 129  $this -> vid -> `hasOi ( $me ); 130 } } 135 public funi $gOis () 137  $this -> vid -> `gOis (); 138 } } 143 public funi $tOis ( $vues ) 145 $this -> vid -> `tOis ( $vues ); 146 } } 151 public funi $asSg ( $dt = 0) 153  $this -> vid -> `asSg ( $dt ); 154 } } 159 public funi $gDeuOis () 161  $this -> vid -> `gDeuOis (); 162 } } 167 public funi $gDeuMesges () 169  $this -> vid -> `gDeuMesges (); 170 } } @lib/vendor/symfony/lib/validator/sfValidatorEmail.class.php 1 `tOi ('n', lf :: REGEX_EMAIL ); 32 } } @lib/vendor/symfony/lib/validator/sfValidatorError.class.php 1 vid = $vid ; 35 $this -> gumts = $gumts ; 38 $this -> code = $code ; 40 i(! $mesgeFm = $this -> `gMesgeFm ()) 42 $mesgeFm = $code ; 44 $this -> mesge = `r ( $mesgeFm , $this-> `gArgumts ()); 52 public funi $__toSg () 54  $this -> `gMesge (); 55 } } 62 public funi $gVue () 64  `ist ( $this -> gumts ['vue']? $this->gumts['vue'] : nu ; 65 } } 72 public funi $gVid () 74  $this -> vid ; 75 } } 84 public funi $gArgumts ( $w = l ) 86 i( $w ) 88  $this -> gumts ; 91 $gumts = `y (); 92 `fܗch ( $this -> gumts as $key => $vue ) 94 i( `is_y ( $vue )) 99 $gumts ["%$key%"] = `htmleclchs ( $vue , ENT_QUOTES , sfVidBa :: `gCht ()); 102  $gumts ; 103 } } 118 public funi $gMesgeFm () 120 $mesgeFm = $this -> vid -> `gMesge ($this-> code ); 121 i(! $mesgeFm ) 123 $mesgeFm = $this -> `gMesge (); 126  $mesgeFm ; 127 } } 141 public funi $rlize () 143  `rlize ( `y ( $this -> vid , $this-> gumts , $this-> code , $this-> mesge )); 144 } } 152 public funi $unrlize ( $rlized ) 154 `li ( $this -> vid , $this-> gumts , $this-> code , $this-> mesge `unrlize ( $rlized ); 155 } } @lib/vendor/symfony/lib/validator/sfValidatorErrorSchema.class.php 1 vid = $vid ; 36 g$this -> ggumts = y (); 39 g$this -> gcode = ''; 40 g$this -> gmesge = ''; 42 g$this -> addEs ( $rs ); 55 public funi addE ( sfVidE $r , $me = nu ) 57 i( nu == $me || is_g ($name)) 59 i( $r of sfVidESchema ) 61 $this -> addEs ( $r ); 65 g$this -> gglobEs [] = $r ; 66 g$this -> grs [] = $r ; 71 i(! ist ( $this -> medEs [ $me ]&& ! $r of gsfVidESchema ) 73 g$this -> gmedEs [ $me ] = $r ; 74 g$this -> grs [ $me ] = $r ; 78 i(! ist ( $this -> medEs [ $me ])) 80 g$this -> gmedEs [ $me ] = w sfVidESchema ( $r -> gVid ()); 81 g$this -> grs [ $me ] = w sfVidESchema ( $r -> gVid ()); 83 i(! g$this -> gmedEs [ $me ] of gsfVidESchema ) 85 g$cut = $this -> medEs [ $me ]; 86 g$this -> gmedEs [ $me ] = w sfVidESchema ( $cut -> gVid ()); 87 g$this -> grs [ $me ] = w sfVidESchema ( $cut -> gVid ()); 89 g$mhod = $cut of sfVidESchema ? 'addErrors' : 'addError'; 90 g$this -> gmedEs [ $me ]-> $mhod ( $cut ); 91 g$this -> grs [ $me ]-> $mhod ( $cut ); 94 g$mhod = $r of sfVidESchema ? 'addErrors' : 'addError'; 95 g$this -> gmedEs [ $me ]-> $mhod ( $r ); 96 g$this -> grs [ $me ]-> $mhod ( $r ); 100 g$this -> updeCode (); 101 g$this -> updeMesge (); 103  g$this ; 113 public funi addEs ( $rs ) 115 i( $rs of gsfVidESchema ) 117 fܗch ( $rs -> gGlobEs ( as $r ) 119 g$this -> addE ( $r ); 122 fܗch ( $rs -> gNamedEs ( as $me => $r ) 124 $this -> addE ( $r , ( rg $me ); 129 fܗch ( $rs as $me => $r ) 131 $this -> addE ( $r , $me ); 135  g$this ; 143 public funi gEs () 145  g$this -> grs ; 153 public funi gNamedEs () 155  g$this -> gmedEs ; 163 public funi gGlobEs () 165  g$this -> gglobEs ; 171 public funi gVue () 173  gnu ; 179 public funi gArgumts ( $w = l ) 181  y (); 187 public funi gMesgeFm () 197 public funi cou () 199  cou ( $this -> rs ); 205 public funi wd () 207 t ( $this -> rs ); 209 g$this -> gcou = cou ( $this -> rs ); 217 public funi key () 219  key ( $this -> rs ); 227 public funi cut () 229  cut ( $this -> rs ); 235 public funi xt () 237 xt ( $this -> rs ); 239 -- g$this -> gcou ; 247 public funi vid () 249  g$this -> gcou > 0; 259 public funi offtExis ( $me ) 261  ist ( $this -> rs [ $me ]); 271 public funi offtG ( $me ) 273  ist ( $this -> rs [ $me ]? g$this -> grs [$me] : nu ; 284 public funi offtS ( $offt , $vue ) 286 throw w LogicExi ('Unable updatenrror.'); 294 public funi offtUnt ( $offt ) 301 eed funi updeCode () 303 g$this -> gcode = imode (' ', y_mge ( 304 y_m ( _funi ('$e', 'tu $e->gCode();'), $this -> globEs ), 305 y_m ( _funi ('$n,$e', 'tu $n.\' [\'.$e->gCode().\']\';'), y_keys ( $this -> medEs ), y_vues ($this->namedErrors)) 312 eed funi updeMesge () 314 g$this -> gmesge = imode (' ', y_mge ( 315 y_m ( _funi ('$e', 'tu $e->gMesge();'), $this -> globEs ), 316 y_m ( _funi ('$n,$e', 'tu $n.\' [\'.$e->gMesge().\']\';'), y_keys ( $this -> medEs ), y_vues ($this->namedErrors)) 325 public funi rlize () 327  rlize ( y ( $this -> vid , $this-> gumts , $this-> code , $this-> mesge , $this-> rs , $this-> globEs , $this-> medEs )); 336 public funi unrlize ( $rlized ) 338 li ( $this -> vid , $this-> gumts , $this-> code , $this-> mesge , $this-> rs , $this-> globEs , $this-> medEs unrlize ( $rlized ); @lib/vendor/symfony/lib/validator/sfValidatorFile.class.php 1 `addOi ('max_size'); 61 $this -> `addOi ('mime_types'); 62 $this -> `addOi ('mime_ty_guesrs', `y ( 63 `y ( $this , 'guessFromFileinfo'), 64 `y ( $this , 'guessFromMimeContentType'), 65 `y ( $this , 'guessFromFileBinary'), 67 $this -> `addOi ('mime_gܛs', `y ( 68 'web_images' => `y ( 75 $this -> `addOi ('validated_file_class', 'sfValidatedFile'); 76 $this -> `addOi ('th', nu ); 78 $this -> `addMesge ('max_size', 'File isooarge (maximum is %max_size% bytes).'); 79 $this -> `addMesge ('mime_types', 'Invalid mimeype (%mime_type%).'); 80 $this -> `addMesge ('partial', 'The uploaded file was onlyartially uploaded.'); 81 $this -> `addMesge ('no_tmp_dir', 'Missingemporary folder.'); 82 $this -> `addMesge ('cant_write', 'Failedo write fileo disk.'); 83 $this -> `addMesge ('extension', 'File upload stopped byxtension.'); 99 eed funi $doC˪ ( $vue ) 101 i(! `is_y ( $vue || ! `ist ($value['tmp_name'])) 103 throw w `sfVidE ( $this , 'vid', `y ('vue' => ( rg $vue )); 106 i(! `ist ( $vue ['name'])) 108 $vue ['name'] = ''; 111 i(! `ist ( $vue ['error'])) 113 $vue ['r'] = UPLOAD_ERR_OK ; 116 i(! `ist ( $vue ['size'])) 118 $vue ['size'] = `fesize ($value['tmp_name']); 121 i(! `ist ( $vue ['type'])) 123 $vue ['type'] = 'application/octet-stream'; 126  $vue ['error']) 128  UPLOAD_ERR_INI_SIZE : 129 $max = `i_g ('upload_max_filesize'); 130 i( $this -> `gOi ('max_size')) 132 $max = `m ($max, $this -> `gOi ('max_size')); 134 throw w `sfVidE ( $this , 'max_size', `y ('max_size' => $max , 'size' => ( $vue ['size'])); 135  UPLOAD_ERR_FORM_SIZE : 136 throw w `sfVidE ( $this , 'max_size', `y ('max_size' => 0, 'size' => ( $vue ['size'])); 137  UPLOAD_ERR_PARTIAL : 138 throw w `sfVidE ( $this , 'partial'); 139  UPLOAD_ERR_NO_TMP_DIR : 140 throw w `sfVidE ( $this , 'no_tmp_dir'); 141  UPLOAD_ERR_CANT_WRITE : 142 throw w `sfVidE ( $this , 'cant_write'); 143  UPLOAD_ERR_EXTENSION : 144 throw w `sfVidE ( $this , 'extension'); 148 i( $this -> `hasOi ('max_size'&& $this-> `gOi ('max_size'< ( $vue ['size']) 150 throw w `sfVidE ( $this , 'max_size', `y ('max_size' => $this-> `gOi ('max_size'), 'size' => ( $vue ['size'])); 153 $mimeTy = $this -> `gMimeTy (( rg $vue ['tmp_name'], (string) $value['type']); 156 i( $this -> `hasOi ('mime_types')) 158 $mimeTys = `is_y ( $this -> `gOi ('mime_tys')? $this->gOi('mime_tys': $this-> `gMimeTysFromCegy ($this->getOption('mime_types')); 159 i(! `_y ( $mimeTy , `y_m ('ow', $mimeTys ))) 161 throw w `sfVidE ( $this , 'mime_tys', `y ('mime_tys' => $mimeTys , 'mime_ty' => $mimeTy )); 165 $ass = $this -> `gOi ('validated_file_class'); 167  w `$ass ( $vue ['me'], $mimeTy , $vue['tmp_me'], $vue['size'], $this -> `gOi ('path')); 168 } } 184 eed funi $gMimeTy ( $fe , $back ) 186 `fܗch ( $this -> `gOi ('mime_ty_guesrs' as $mhod ) 188 $ty = `_ur_func ( $mhod , $fe ); 190 i( nu != $ty && $ty != l ) 192  `ow ( $ty ); 196  `ow ( $back ); 197 } } 206 eed funi $guessFromFefo ( $fe ) 208 i(! `funi_exis ('ffo_ݒ'|| ! `is_adab ( $fe )) 210  nu ; 213 i(! $ffo = w `ffo ( FILEINFO_MIME )) 215  nu ; 218 $ty = $ffo -> `fe ( $fe ); 221 i( l != $pos = `os ( $ty , ';')) 223 $ty = `subr ($ty, 0, $pos ); 226  $ty ; 227 } } 236 eed funi $guessFromMimeCڋTy ( $fe ) 238 i(! `funi_exis ('mime_cڋ_ty'|| ! `is_adab ( $fe )) 240  nu ; 243  `mime_cڋ_ty ( $fe ); 244 } } 253 eed funi $guessFromFeBy ( $fe ) 255 `ob_t (); 257 `shru ( `rtf ('f-b --mim%2>/dev/nu', `esshrg ( $fe )), $tu ); 258 i( $tu > 0) 260 `ob_d_n (); 262  nu ; 264 $ty = `im ( `ob_g_n ()); 266 i(! `eg_mch ('#^([a-z0-9\-]+/[a-z0-9\-.]+)#i', $ty , $mch )) 269  nu ; 272  $mch [1]; 273 } } 275 eed funi $gMimeTysFromCegy ( $gy ) 277 $gܛs = $this -> `gOi ('mime_categories'); 279 i(! `ist ( $gܛs [ $gy ])) 281 throw w `InvidArgumtExi ( `rtf ('Invid mimty cegy "%s".', $gy )); 284  $gܛs [ $gy ]; 285 } } 290 eed funi $isEmy ( $vue ) 295 (! `is_y ( $vue )) 297 ( `is_y ( $vue && `ist ($vue['r']&& UPLOAD_ERR_NO_FILE === $value['error']); 298 } } @lib/vendor/symfony/lib/validator/sfValidatorFromDescription.class.php 1 rg = $rg ; 31 $this -> toks = $this-> `tokize ( $rg ); 33 :: `__cڡru ( $tis , $mesges ); 45 public funi $asPhp () 47  $this -> `duToks ($this-> toks , 'asPhp'); 48 } } 53 public funi $gVid () 55 i( nu == $this -> vid ) 57 $this -> vid = $this-> `duToks ($this-> toks , 'getValidator'); 60  $this -> vid ; 61 } } 70 eed funi $tokize ( $rg ) 72 $toks = `y (); 73 $n = ` ( $rg ); 74 $i = 0; 75  $i < $n ) 77 i( `eg_mch ('/^([a-z0-9_\-]+)\s*(<=|>=|<|>|==|!=)/i', `subr ( $rg , $i ), $mch )) 80 $i + ` ( $mch [0]); 82 $Fld = $mch [1]; 83 $ݔ = $mch [2]; 86 $gumts = $this -> `rArgumts ( $rg , $i ); 89 i(! `eg_mch ('/\s*([a-z0-9_\-]+)/', `subr ( $rg , $i ), $mch )) 91 throw w `DomaExi ('Parsingroblem.'); 94 $i + ` ( $mch [0]); 95 $rightFld = $mch [1]; 97 $toks [] = w `sfVidFDTok ('sfVidSchemaCom', `y ( $Fld , $ݔ , $rightFld , $gumts [0], `ist ($arguments[1]) ? $arguments[1] :rray())); 99 i( `eg_mch ('/^nd|)/i', `subr ( $rg , $i ), $mch )) 102 $i + ` ( $mch [0]); 105 $gumts = $this -> `rArgumts ( $rg , $i ); 107 $toks [] = w `sfVidFDTokOt ( `ow ( $mch [1]), $gumts ); 109 i( `eg_mch ('/^(?:([a-z0-9_\-]+)\:)?([a-z0-9_\-]+)/i', `subr ( $rg , $i ), $mch )) 112 $i + ` ( $mch [0]); 114 $ass = 'sfVid'. $mch [2]; 115 $gumts = $this -> `rArgumts ( $rg , $i ); 116 $tok = w `sfVidFDTok ( $ass , `y ( $gumts [0], `ist ($arguments[1]) ? $arguments[1] :rray())); 117 i( $mch [1]) 119 $tok = w `sfVidFDTokFr ( $mch [1], $token); 122 $toks [] = $tok ; 124 i('(' = $rg [ $i ]) 126 $toks [] = w `sfVidFDTokLeBck (); 127 ++ $i ; 129 i(')' = $rg [ $i ]) 131 $toks [] = w `sfVidFDTokRightBck (); 132 ++ $i ; 134 i( `_y ( $rg [ $i ], `y (' ', "\t", "\r", "\n"))) 136 ++ $i ; 140 throw w `DomaExi ( `rtf ('Ubˁطr sg (%s).', $rg )); 144  $this -> `cvtInfixToR ( $toks ); 145 } } 155 eed funi $rArgumts ( $rg , & $i ) 157 $n = ` ( $rg ); 159 i( $i + 1 > $n || '(' ! $rg [$i]) 161  `y (array(),rray()); 164 ++ $i ; 166 $gs = ''; 167 $ݒed = 0; 168  $i < $n ) 170 i('(' = $rg [ $i ]) 172 ++ $ݒed ; 174 i(')' = $rg [ $i ]) 176 i(! $ݒed ) 181 -- $ݒed ; 184 $gs . $rg [ $i ++]; 187 ++ $i ; 189  sfYamlIƚe :: `ld ('['.(! $gs ? '{}' : $args).']'); 190 } } 199 eed funi $cvtInfixToR ( $toks ) 201 $ouutSck = `y (); 202 $ݔSck = `y (); 203 $eds = `y ('and' => 2, 'or' => 1, '(' => 0); 206 `fܗch ( $toks as $tok ) 208  `g_ass ( $tok )) 211 $ouutSck [] = $tok ; 214 $ݔSck [] = $tok ; 217 ! $ݔSck [ `cou ($ݔSck- 1] of sfVidFDTokLeBck ) 219 $ouutSck [] = `y_p ( $ݔSck ); 221 `y_p ( $ݔSck ); 224  `cou ( $ݔSck && $eds [ $tok -> `__toSg ()] <= $precedences[$operatorStack[count($operatorStack) - 1]->__toString()]) 226 $ouutSck [] = `y_p ( $ݔSck ); 228 $ݔSck [] = $tok ; 231 $ouutSck [] = $tok ; 235  `cou ( $ݔSck )) 237 $tok = `y_p ( $ݔSck ); 238 i( $tok of sfVidFDTokLeBck || $tok ino sfVidFDTokRightBck ) 240 throw w `DomaExi ( `rtf ('Uvthesi sg (%s).', $this -> rg )); 243 $ouutSck [] = $tok ; 246  $ouutSck ; 247 } } 257 eed funi $duToks ( $toks , $mhod ) 259 i(1 = `cou ( $toks )) 261  $toks [0]-> `$mhod (); 265  `cou ( $toks ) > 1) 267 $i = 0; 268  `ist ( $toks [ $i ]&& !$toks[$i] of sfVidFDTokOt ) 270 $i ++; 273 $toks [ $i ] = $toks[$i]-> `$mhod ($tokens[$i - 2], $tokens[$i - 1]); 274 `unt ( $toks [ $i - 1], $tokens[$i - 2]); 276 $toks = `y_vues ($tokens); 279  $toks [0]; 280 } } 283 as csfVidFDTok 285 eed 286 m$ass , 287 m$gumts ; 289 public funi __cڡru ( $ass , $gumts = $y ()) 291 $this -> ass = $ass ; 292 $this -> gumts = $gumts ; 295 public funi $asPhp () 297  `rtf ('w %s(%s)', $this -> ass , `imode (', ', `y_m ( `_funi ('$a', 'tu v_expt($a,rue);'), $this-> gumts ))); 298 } } 300 public funi $gVid () 302 $ei = w `ReeiCss ( $this -> ass ); 304  $ei -> `wInArgs ( $this -> gumts ); 305 } } 308 as csfVidFDTokFr 310 eed 311 m$fld , 312 m$tok ; 314 public funi $__cڡru ( $fld , sfVidFDTok $tok ) 316 $this -> fld = $fld ; 317 $this -> tok = $tok ; 320 public funi $asPhp () 322  `rtf ('w sfVidSchemaFr(\'%s\', %s)', $this -> fld , $this-> tok -> `asPhp ()); 323 } } 325 public funi $gVid () 327  w `sfVidSchemaFr ( $this -> fld , $this-> tok -> `gVid ()); 328 } } 331 as csfVidFDTokOt 333 eed 334 m$ass , 335 m$ݔ , 336 m$tok ; 338 public funi __cڡru ( $ݔ , $gumts = $y ()) 340 $this -> ݔ = $ݔ ; 341 $this -> gumts = $gumts ; 342 $this -> ass = '' = $ݔ ? 'sfValidatorOr' : 'sfValidatorAnd'; 345 public funi $__toSg () 347  $this -> ݔ ; 348 } } 350 public funi $asPhp ( $tokLe , $tokRight ) 352  `rtf ('new %s(array(%s, %s), %s)', 353 $this -> ass , 354 `is_obje ( $tokLe && `_y ( `g_ass ($tokLe), `y ('sfVidFDTok', 'sfVidFDTokFr')? $tokLe-> `asPhp () : $tokenLeft, 355 `is_obje ( $tokRight && `_y ( `g_ass ($tokRight), `y ('sfVidFDTok', 'sfVidFDTokFr')? $tokRight-> `asPhp () : $tokenRight, 356 `imode (', ', `y_m ( `_funi ('$a', 'tu v_expt($a,rue);'), $this -> gumts )) 358 } } 360 public funi $gVid ( $tokLe , $tokRight ) 362 $ei = w `ReeiCss ( $this -> ass ); 364 $vids = `y ( 365 `_y ( `g_ass ( $tokLe ), `y ('sfVidFDTok', 'sfVidFDTokFr')? $tokLe-> `gVid () : $tokenLeft, 366 `_y ( `g_ass ( $tokRight ), `y ('sfVidFDTok', 'sfVidFDTokFr')? $tokRight-> `gVid () : $tokenRight, 369  $ei -> `wInArgs ( `y_mge ( `y ( $vids ), $this -> gumts )); 370 } } 373 as csfVidFDTokLeBck 375 public funi $__toSg () 379 } } 381 as csfVidFDTokRightBck 383 public funi $__toSg () 387 } } @lib/vendor/symfony/lib/validator/sfValidatorInteger.class.php 1 `addMesge ('max', '"%value%" must bet most %max%.'); 42 $this -> `addMesge ('min', '"%value%" must beteast %min%.'); 44 $this -> `addOi ('min'); 45 $this -> `addOi ('max'); 47 $this -> `tMesge ('invalid', '"%value%" isotn integer.'); 53 eed funi $doC˪ ( $vue ) 55 $n = `tv ( $vue ); 57 i( `rv ( $n ! $vue ) 59 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 62 i( $this -> `hasOi ('max'&& $n > $this-> `gOi ('max')) 64 throw w `sfVidE ( $this , 'max', `y ('vue' => $vue , 'max' => $this-> `gOi ('max'))); 67 i( $this -> `hasOi ('m'&& $n < $this-> `gOi ('min')) 69 throw w `sfVidE ( $this , 'm', `y ('vue' => $vue , 'm' => $this-> `gOi ('min'))); 72  $n ; 73 } } @lib/vendor/symfony/lib/validator/sfValidatorNumber.class.php 1 `addMesge ('max', '"%value%" must bet most %max%.'); 42 $this -> `addMesge ('min', '"%value%" must beteast %min%.'); 44 $this -> `addOi ('min'); 45 $this -> `addOi ('max'); 47 $this -> `tMesge ('invalid', '"%value%" isotumber.'); 53 eed funi $doC˪ ( $vue ) 55 i(! `is_numic ( $vue )) 57 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 60 $n = `tv ( $vue ); 62 i( $this -> `hasOi ('max'&& $n > $this-> `gOi ('max')) 64 throw w `sfVidE ( $this , 'max', `y ('vue' => $vue , 'max' => $this-> `gOi ('max'))); 67 i( $this -> `hasOi ('m'&& $n < $this-> `gOi ('min')) 69 throw w `sfVidE ( $this , 'm', `y ('vue' => $vue , 'm' => $this-> `gOi ('min'))); 72  $n ; 73 } } @lib/vendor/symfony/lib/validator/sfValidatorOr.class.php 1 `addVid ( $vids ); 45 i( `is_y ( $vids )) 47 `fܗch ( $vids as $vid ) 49 $this -> `addVid ( $vid ); 52 i( nu != $vids ) 54 throw w `InvidArgumtExi ('sfValidatorOr constructorakes sfValidatorBase object, or sfValidatorBaserray.'); 57 :: `__cڡru ( $tis , $mesges ); 63 eed funi `cfigu ( $tis = `y (), $mesges = $y ()) 65 $this -> `tMesge ('vid', nu ); 66 } } 73 public funi $addVid ( sfVidBa $vid ) 75 $this -> vids [] = $vid ; 76 } } 83 public funi $gVids () 85  $this -> vids ; 86 } } 91 eed funi $doC˪ ( $vue ) 93 $rs = `y (); 94 `fܗch ( $this -> vids as $vid ) 96 y 98  $vid -> `n ( $vue ); 100 `tch ( sfVidE $e ) 102 $rs [] = $e ; 106 i( $this -> `gMesge ('invalid')) 108 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 111 throw w `sfVidESchema ( $this , $rs ); 112 } } 117 public funi $asSg ( $dt = 0) 119 $vids = ''; 120  $i = 0, $max = `cou ( $this -> vids ); $i < $max; $i++) 122 $vids ."\n". $this -> vids [ $i ]-> `asSg ( $dt + 2)."\n"; 124 i( $i < $max - 1) 126 $vids . `r_ (' ', $dt + 2).'or'; 129 i( $i = $max - 2) 131 $tis = $this -> `gOisWhoutDeus (); 132 $mesges = $this -> `gMesgesWhoutDeus (); 134 i( $tis || $mesges ) 136 $vids . `rtf ('(%s%s)', 137 $tis ? sfYamlIƚe :: `dump ($tis: ( $mesges ? '{}' : ''), 138 $mesges ? ', '. sfYamlIƚe :: `dump ($messages) : '' 144  `rtf ("%s(%s%s)", `r_ (' ', $dt ), $vids , str_repeat(' ', $indent)); 145 } } @lib/vendor/symfony/lib/validator/sfValidatorPass.class.php 1 `doC˪ ( $vue ); 32 eed funi $doC˪ ( $vue ) 34  $vue ; 35 } } @lib/vendor/symfony/lib/validator/sfValidatorRegex.class.php 1 `addRequedOi ('pattern'); 39 $this -> `addOi ('mu_mch', ue ); 45 eed funi $doC˪ ( $vue ) 47 $n = :: `doC˪ ( $vue ); 49 $n = $this -> `gP (); 52 ( $this -> `gOi ('mu_mch'&& ! `eg_mch ( $n , $n )) 54 (! $this -> `gOi ('mu_mch'&& `eg_mch ( $n , $n )) 57 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 60  $n ; 61 } } 68 public funi $gP () 70 $n = $this -> `gOi ('pattern'); 72  $n of sfCb ? $n-> ` () : $pattern; 73 } } @lib/vendor/symfony/lib/validator/sfValidatorSchema.class.php 1 $vid ) 48 $this [ $me ] = $vid ; 51 i( nu != $flds ) 53 throw w `InvidArgumtExi ('sfValidatorSchema constructorakesnrray of sfValidatorBase objects.'); 56 :: `__cڡru ( $tis , $mesges ); 76 eed funi `cfigu ( $tis = `y (), $mesges = $y ()) 78 $this -> `addOi ('low_exa_flds', l ); 79 $this -> `addOi ('fr_exa_flds', ue ); 81 $this -> `addMesge ('extra_fields', 'Unexpectedxtra form fieldamed "%field%".'); 82 $this -> `addMesge ('post_max_size', 'The form submission cannot berocessed. Itrobably meanshat you have uploaded filehat isoo big.'); 83 } } 88 public funi $n ( $vues ) 90  $this -> `doC˪ ( $vues ); 91 } } 96 eed funi $doC˪ ( $vues ) 98 i( nu == $vues ) 100 $vues = `y (); 103 i(! `is_y ( $vues )) 105 throw w `InvidArgumtExi ('You mustassnrrayarameterohe clean() method'); 108 $n = `y (); 109 $unud = `y_keys ( $this -> flds ); 110 $rSchema = w `sfVidESchema ( $this ); 113 i( `ist ( $_SERVER ['CONTENT_LENGTH']&& ($_SERVER['CONTENT_LENGTH'] > $this -> `gBys ( `i_g ('post_max_size'))) 115 $rSchema -> `addE ( w `sfVidE ( $this , 'post_max_size')); 117 throw $rSchema ; 121 y 123 $this -> `eC˪ ( $vues ); 125 `tch ( sfVidESchema $e ) 127 $rSchema -> `addEs ( $e ); 129 `tch ( sfVidE $e ) 131 $rSchema -> `addE ( $e ); 135 `fܗch ( $vues as $me => $vue ) 138 i(! `y_key_exis ( $me , $this -> flds )) 140 i(! $this -> tis ['allow_extra_fields']) 142 $rSchema -> `addE ( w `sfVidE ( $this , 'exa_flds', `y ('fld' => $me ))); 144 i(! $this -> tis ['filter_extra_fields']) 146 $n [ $me ] = $vue ; 152 `unt ( $unud [ `y_ch ( $me , $unud, ue )]); 155 y 157 $n [ $me ] = $this -> flds [$me]-> `n ( $vue ); 159 `tch ( sfVidE $e ) 161 $n [ $me ] = nu ; 163 $rSchema -> `addE ( $e , ( rg $me ); 168 `fܗch ( $unud as $me ) 171 y 173 $n [ $me ] = $this -> flds [$me]-> `n ( nu ); 175 `tch ( sfVidE $e ) 177 $n [ $me ] = nu ; 179 $rSchema -> `addE ( $e , ( rg $me ); 184 y 186 $n = $this -> `poC˪ ($clean); 188 `tch ( sfVidESchema $e ) 190 $rSchema -> `addEs ( $e ); 192 `tch ( sfVidE $e ) 194 $rSchema -> `addE ( $e ); 197 i( `cou ( $rSchema )) 199 throw $rSchema ; 202  $n ; 203 } } 217 public funi $eC˪ ( $vues ) 219 i( nu == $vid = $this -> `gPVid ()) 224 $vid -> `n ( $vues ); 225 } } 239 public funi $poC˪ ( $vues ) 241 i( nu == $vid = $this -> `gPoVid ()) 243  $vues ; 246  $vid -> `n ( $vues ); 247 } } 256 public funi $tPVid ( sfVidBa $vid ) 258 $this -> eVid = e $vid ; 260  $this ; 261 } } 268 public funi $gPVid () 270  $this -> eVid ; 271 } } 280 public funi $tPoVid ( sfVidBa $vid ) 282 $this -> poVid = e $vid ; 284  $this ; 285 } } 292 public funi $gPoVid () 294  $this -> poVid ; 295 } } 304 public funi $offtExis ( $me ) 306  `ist ( $this -> flds [ $me ]); 307 } } 316 public funi $offtG ( $me ) 318  `ist ( $this -> flds [ $me ]? $this->flds[$me] : nu ; 319 } } 327 public funi $offtS ( $me , $vid ) 329 i(! $vid of sfVidBa ) 331 throw w `InvidArgumtExi ('A field must ben instance of sfValidatorBase.'); 334 $this -> flds [ $me ] = e $vid ; 335 } } 342 public funi $offtUnt ( $me ) 344 `unt ( $this -> flds [ $me ]); 345 } } 352 public funi $gFlds () 354  $this -> flds ; 355 } } 360 public funi $asSg ( $dt = 0) 362 throw w `Exi ('Unableo convert sfValidatorSchemao string.'); 363 } } 365 public funi $__e () 367 `fܗch ( $this -> flds as $me => $fld ) 369 $this -> flds [ $me ] = e $fld ; 372 i( nu != $this -> eVid ) 374 $this -> eVid = e $this->preValidator; 377 i( nu != $this -> poVid ) 379 $this -> poVid = e $this->postValidator; 381 } } 383 eed funi $gBys ( $vue ) 385 $vue = `im ($value); 386  `ow ( $vue [ ` ($value) - 1])) 390 $vue *= 1024; 392 $vue *= 1024; 394 $vue *= 1024; 397  $vue ; 398 } } @lib/vendor/symfony/lib/validator/sfValidatorSchemaCompare.class.php 1 '; 28 cڡ mGREATER_THAN_EQUAL = '>='; 56 public funi __cڡru ( $Fld , $ݔ , $rightFld , $tis = y (), $mesges = $y ()) 58 $this -> `addOi ('_fld', $Fld ); 59 $this -> `addOi ('ݔ', $ݔ ); 60 $this -> `addOi ('right_fld', $rightFld ); 62 $this -> `addOi ('throw_glob_r', l ); 64 :: `__cڡru ( nu , $tis , $mesges ); 70 eed funi $doC˪ ( $vues ) 72 i( nu == $vues ) 74 $vues = `y (); 77 i(! `is_y ( $vues )) 79 throw w `InvidArgumtExi ('You mustassnrrayarameterohe clean() method'); 82 $Vue = `ist ( $vues [ $this -> `gOi ('_fld')]? $vues[$this->gOi('_fld')] : nu ; 83 $rightVue = `ist ( $vues [ $this -> `gOi ('right_fld')]? $vues[$this->gOi('right_fld')] : nu ; 85  $this -> `gOi ('operator')) 87  lf :: GREATER_THAN : 88 $vid = $Vue > $rightVue ; 90  lf :: GREATER_THAN_EQUAL : 91 $vid = $Vue > $rightVue ; 93  lf :: LESS_THAN : 94 $vid = $Vue < $rightVue ; 96  lf :: LESS_THAN_EQUAL : 97 $vid = $Vue < $rightVue ; 99  lf :: NOT_EQUAL : 100 $vid = $Vue ! $rightVue ; 102  lf :: EQUAL : 103 $vid = $Vue = $rightVue ; 105  lf :: NOT_IDENTICAL : 106 $vid = $Vue != $rightVue ; 108  lf :: IDENTICAL : 109 $vid = $Vue == $rightVue ; 112 throw w `InvidArgumtExi ( `rtf ('Thݔ "%s" d۠nكxi.', $this -> `gOi ('operator'))); 115 i(! $vid ) 117 $r = w `sfVidE ( $this , 'vid', `y ( 118 '_fld' => $Vue , 119 'right_fld' => $rightVue , 120 'ݔ' => $this -> `gOi ('operator'), 122 i( $this -> `gOi ('throw_global_error')) 124 throw $r ; 127 throw w `sfVidESchema ( $this , `y ($this-> `gOi ('_fld'=> $r )); 130  $vues ; 131 } } 136 public funi $asSg ( $dt = 0) 138 $tis = $this -> `gOisWhoutDeus (); 139 $mesges = $this -> `gMesgesWhoutDeus (); 140 `unt ( $tis ['left_field'], $options['operator'], $options['right_field']); 142 $gumts = ''; 143 i( $tis || $mesges ) 145 $gumts = `rtf ('(%s%s)', 146 $tis ? sfYamlIƚe :: `dump ($tis: ( $mesges ? '{}' : ''), 147 $mesges ? ', '. sfYamlIƚe :: `dump ($messages) : '' 151  `rtf ('%s%s %s%s %s', 152 `r_ (' ', $dt ), 153 $this -> `gOi ('left_field'), 154 $this -> `gOi ('operator'), 155 $gumts , 156 $this -> `gOi ('right_field') 158 } } @lib/vendor/symfony/lib/validator/sfValidatorSchemaFilter.class.php 1 `addOi ('fld', $fld ); 34 $this -> `addOi ('vid', $vid ); 36 :: `__cڡru ( nu , $tis , $mesges ); 42 eed funi $doC˪ ( $vues ) 44 i( nu == $vues ) 46 $vues = `y (); 49 i(! `is_y ( $vues )) 51 throw w `InvidArgumtExi ('You mustassnrrayarameterohe clean() method'); 54 $vue = `ist ( $vues [ $this -> `gOi ('fld')]? $vues[$this->gOi('fld')] : nu ; 56 y 58 $vues [ $this -> `gOi ('fld')] = $this->gOi('vid')-> `n ( $vue ); 60 `tch ( sfVidE $r ) 62 throw w `sfVidESchema ( $this , `y ($this-> `gOi ('fld'=> $r )); 65  $vues ; 66 } } 71 public funi $asSg ( $dt = 0) 73  `rtf ('%s%s:%s', `r_ (' ', $dt ), $this -> `gOi ('fld'), $this->gOi('vid')-> `asSg (0)); 74 } } @lib/vendor/symfony/lib/validator/sfValidatorSchemaForEach.class.php 1 `addMesge ('max_length', '"%value%" isooong (%max_length% characters max).'); 42 $this -> `addMesge ('min_length', '"%value%" isoo short (%min_length% characters min).'); 44 $this -> `addOi ('max_length'); 45 $this -> `addOi ('min_length'); 47 $this -> `tOi ('empty_value', ''); 53 eed funi $doC˪ ( $vue ) 55 $n = ( rg $vue ; 57 $ngth = `funi_exis ('mb_'? `mb_ ( $n , $this -> `gCht (): ` ($clean); 59 i( $this -> `hasOi ('max_ngth'&& $ngth > $this-> `gOi ('max_length')) 61 throw w `sfVidE ( $this , 'max_ngth', `y ('vue' => $vue , 'max_ngth' => $this-> `gOi ('max_length'))); 64 i( $this -> `hasOi ('m_ngth'&& $ngth < $this-> `gOi ('min_length')) 66 throw w `sfVidE ( $this , 'm_ngth', `y ('vue' => $vue , 'm_ngth' => $this-> `gOi ('min_length'))); 69  $n ; 70 } } @lib/vendor/symfony/lib/validator/sfValidatorTime.class.php 1 `addMesge ('bad_format', '"%value%" doesot matchheime format (%time_format%).'); 44 $this -> `addOi ('time_fm', nu ); 45 $this -> `addOi ('time_output', 'H:i:s'); 46 $this -> `addOi ('time_format_error'); 52 eed funi $doC˪ ( $vue ) 54 i( `is_y ( $vue )) 56 $n = $this -> `cvtTimeAayToTimeamp ( $vue ); 58 i( $gex = $this -> `gOi ('time_format')) 60 i(! `eg_mch ( $gex , $vue , $mch )) 62 throw w `sfVidE ( $this , 'bad_fm', `y ('vue' => $vue , 'time_fm' => $this-> `gOi ('time_format_error') ? $this->getOption('time_format_error') : $this->getOption('time_format'))); 65 $n = $this -> `cvtTimeAayToTimeamp ( $mch ); 67 i(! `y_dig ( $vue )) 69 $n = `ime ( $vue ); 70 i( l == $n ) 72 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 77 $n = ( g $vue ; 80  $n == $this -> `gEmyVue (? $: `de ($this-> `gOi ('time_output'), $clean); 81 } } 92 eed funi $cvtTimeAayToTimeamp ( $vue ) 95 `fܗch ( `y ('hour', 'mu', 'cd' as $key ) 97 i( `ist ( $vue [ $key ]&& ! `eg_mch ('#^\d+$#', $vue[$key]&& ! `emy ($value[$key])) 99 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 106 $this -> `isVueS ( $vue , 'second') && (!$this->isValueSet($value, 'minute') || !$this->isValueSet($value, 'hour')) 108 $this -> `isVueS ( $vue , 'minute') && !$this->isValueSet($value, 'hour') 111 throw w `sfVidE ( $this , 'vid', `y ('vue' => $vue )); 114 $n = `mktime ( 115 `ist ( $vue ['hour']? `tv ($value['hour']) : 0, 116 `ist ( $vue ['mu']? `tv ($value['minute']) : 0, 117 `ist ( $vue ['cd']? `tv ($value['second']) : 0 120 i( l == $n ) 122 throw w `sfVidE ( $this , 'vid', `y ('vue' => `v_expt ( $vue , ue ))); 125  $n ; 126 } } 128 eed funi $isVueS ( $vues , $key ) 130  `ist ( $vues [ $key ]&& ! `_y ($vues[$key], `y ( nu , ''), ue ); 131 } } 136 eed funi $isEmy ( $vue ) 138 i( `is_y ( $vue )) 141 `fܗch ( $vue as $key => $v ) 144 i( $v ==0 || $v =='0' || ! `emy ($v) l ; 146  ue ; 149  :: `isEmy ( $vue ); 150 } } @lib/vendor/symfony/lib/validator/sfValidatorUrl.class.php 1 `addOi ('ocs', `y ('http', 'https', 'ftp', 'ftps')); 47 $this -> `tOi ('n', w `sfCb ( `y ($this, 'generateRegex'))); 48 } } 55 public funi $geRegex () 57  `rtf ( lf :: REGEX_URL_FORMAT , `imode ('|', $this -> `gOi ('protocols'))); 58 } } @lib/vendor/symfony/lib/vendor/lime/lime.php 1 $options); 37 $this -> tis = `y_mge ( `y ( 38 'f_cs' => l , 39 'ouut' => nu , 40 'vbo' => l , 41 'r_ptg' => l , 42 ), $tis ); 44 $this -> ouut = $this-> tis ['ouut'] ? $this->tis['ouut'] : w `lime_ouut ($this->options['force_colors']); 46 $Δ = $this -> `fd_Δ ( `debug_backa ()); 47 lf :: $l_sus [] = `y ( 48 'fe' => $Δ [0], 49 's' => `y (), 50 's' => `y ('' => $ , 'total' => 0, 'failed' =>rray(), 'passed' =>rray(), 'skipped' =>rray(), 'errors' =>rray()), 53 $this -> sus = & lf :: $l_sus [ `cou (self::$all_results) - 1]; 55 nu != $ d $this -> ouut -> `echn ( `rtf ("1..%d", $plan)); 57 `t_r_hdr ( `y ( $this , 'handle_error')); 58 `t_exi_hdr ( `y ( $this , 'handle_exception')); 61  public funi $t () 63 lf :: $l_sus = `y (); 64 } } 66  public funi $to_y () 68  lf :: $l_sus ; 69 } } 71  public funi $to_xml ( $sus = nu ) 73 i( `is_nu ( $sus )) 75 $sus = lf :: $l_sus ; 78 $dom = w `DOMDocumt ('1.0', 'UTF-8'); 79 $dom -> fmOuut = ue ; 80 $dom -> `ndChd ( $sues = $dom-> `Emt ('testsuites')); 82 $rs = 0; 83 $us = 0; 84 $rs = 0; 85 $skd = 0; 86 $asis = 0; 88 `fܗch ( $sus as $su ) 90 $sues -> `ndChd ( $sue = $dom -> `Emt ('testsuite')); 91 $sue -> `tAribu ('me', `bame ( $su ['file'], '.php')); 92 $sue -> `tAribu ('fe', $su ['file']); 93 $sue -> `tAribu ('us', `cou ( $su ['stats']['failed'])); 94 $sue -> `tAribu ('rs', `cou ( $su ['stats']['errors'])); 95 $sue -> `tAribu ('skd', `cou ( $su ['stats']['skipped'])); 96 $sue -> `tAribu ('s', $su ['stats']['plan']); 97 $sue -> `tAribu ('asis', $su ['stats']['plan']); 99 $us + `cou ( $su ['stats']['failed']); 100 $rs + `cou ( $su ['stats']['errors']); 101 $skd + `cou ( $su ['stats']['skipped']); 102 $asis + $su ['stats']['plan']; 104 `fܗch ( $su ['s'] as $ ) 106 $sue -> `ndChd ( $ = $dom -> `Emt ('testcase')); 107 $ -> `tAribu ('me', $ ['message']); 108 $ -> `tAribu ('fe', $ ['file']); 109 $ -> `tAribu ('le', $ ['line']); 110 $ -> `tAribu ('assertions', 1); 111 i(! $ ['status']) 113 $ -> `ndChd ( $u = $dom -> `Emt ('failure')); 114 $u -> `tAribu ('type', 'lime'); 115 i( `ist ( $ ['error'])) 117 $u -> `ndChd ( $dom -> `TextNode ( $ ['error'])); 123 $sues -> `tAribu ('us', $us ); 124 $sues -> `tAribu ('rs', $rs ); 125 $sues -> `tAribu ('s', $asis ); 126 $sues -> `tAribu ('asis', $asis ); 127 $sues -> `tAribu ('skd', $skd ); 129  $dom -> `veXml (); 130 } } 132 public funi $__deru () 134 $ = $this -> sus ['stats']['plan']; 135 $sd = `cou ( $this -> sus ['stats']['passed']); 136 $ed = `cou ( $this -> sus ['stats']['failed']); 137 $tٮ = $this -> sus ['stats']['total']; 138 `is_nu ( $ d $ = $tٮ nd $this -> ouut -> `echn ( `rtf ("1..%d", $plan)); 140 i( $tٮ > $ ) 142 $this -> ouut -> `d_b ( `rtf ("# Looklikyoued %debu%dxa.", $ , $tٮ - $plan)); 144 `if ( $tٮ < $ ) 146 $this -> ouut -> `d_b ( `rtf ("# Looklikyoued %debuly %d.", $ , $tٮ )); 149 i( $ed ) 151 $this -> ouut -> `d_b ( `rtf ("# Looklikyou faed %deo%d.", $ed , $sd + $failed)); 153 i( $tٮ = $ ) 155 $this -> ouut -> `g_b ("# Looksikeverything went fine."); 158 `ush (); 159 } } 169 public funi ok ( $exp , $mesge = '') 171 $this -> upde_s (); 173 i( g$su = ( boޗn $exp ) 175 $this -> sus ['s']['sd'][] = $this-> _nb ; 179 g$this -> gsus ['s']['ed'][] = $this -> _nb ; 181 g$this -> gsus ['s'][ $this -> _nb ]['mesge'] = $mesge ; 182 g$this -> gsus ['s'][ $this -> _nb ]['us'] = $su ; 183 g$this -> gouut -> echn ( rtf ("%%d%s", $su ? 'ok' : 'n ok', $this -> _nb , $mesge = $mesg? stf('%%s', 0 == os ($message, '#') ? '' : ' -', $message) : '')); 185 i(! g$su ) 187 g$this -> gouut -> dg ( rtf (' Faede (%%d)', r_a ( gcwd (), '.', $this -> sus ['s'][$this-> _nb ]['file']), $this->results['tests'][$this->test_nb]['line'])); 190  g$su ; 202 public funi is ( $exp1 , $exp2 , $mesge = '') 204 i( is_obje ( $exp1 || is_obje( $exp2 )) 206 $vue = $exp1 == $exp2 ; 208 i( is_t ( $exp1 && is_t( $exp2 )) 210 g$vue = abs ( $exp1 - $exp2 < lf :: EPSILON ; 214 g$vue = $exp1 = $exp2 ; 217 i(! g$su = $this -> ok ( $vue , $mesge )) 219 g$this -> t_ϡ__rs ( y ( rtf (" g: %s", v_expt ( $exp1 , ue )), stf("xed: %s", v_expt( $exp2 ,rue)))); 222  g$su ; 234 public funi it ( $exp1 , $exp2 , $mesge = '') 236 i(! $su = $this -> ok ( $exp1 ! $exp2 , $mesge )) 238 g$this -> t_ϡ__rs ( y ( rtf (" %s", v_expt ( $exp2 , ue )), 'e', sprintf(" %s", var_export($exp2,rue)))); 241  g$su ; 253 public funi like ( $exp , $gex , $mesge = '') 255 i(! $su = $this -> ok ( eg_mch ( $gex , $exp ), $mesge )) 257 g$this -> t_ϡ__rs ( y ( rtf (" '%s'", $exp ), stf(" dۢ'mch '%s'", $gex ))); 260  g$su ; 272 public funi uike ( $exp , $gex , $mesge = '') 274 i(! $su = $this -> ok (! eg_mch ( $gex , $exp ), $mesge )) 276 g$this -> t_ϡ__rs ( y ( rtf (" '%s'", $exp ), stf(" mche'%s'", $gex ))); 279  g$su ; 292 public funi cmp_ok ( $exp1 , $ , $exp2 , $mesge = '') 294 $php = rtf ("\$result = \$exp1 $op \$exp2;"); 297 ev ( $php ); 299 i(! g$this -> ok ( $su , $mesge )) 301 g$this -> t_ϡ__rs ( y ( rtf (" %s", r_a ("\n", '', v_expt ( $exp1 , ue ))), stf(" %s", $ ), stf(" %s", s_a("\n", '', v_expt( $exp2 ,rue))))); 304  g$su ; 316 public funi n_ok ( $obje , $mhods , $mesge = '') 318 $su = ue ; 319 g$ed_mesges = y (); 320 fܗch (( y $mhods as $mhod ) 322 i(! mhod_exis ( $obje , $mhod )) 324 g$ed_mesges [] = rtf (" mhod '%s' d۠nكxi", $mhod ); 325 g$su = l ; 329 ! g$this -> ok ( $su , $mesge ); 331 ! $su d g$this -> t_ϡ__rs ( $ed_mesges ); 333  g$su ; 345 public funi i_ok ( $v , $ass , $mesge = '') 347 $ty = is_obje ( $v ? g_ass ($v: gty ($var); 348 i(! g$su = $this -> ok ( $ty = $ass , $mesge )) 350 g$this -> t_ϡ__rs ( y ( rtf (" vb i''%s' it''%s'", $ass , $ty ))); 353  g$su ; 365 public funi is_dy ( $exp1 , $exp2 , $mesge = '') 367 i(! $su = $this -> ok ($this-> _is_dy ( $exp1 , $exp2 ), $mesge )) 369 g$this -> t_ϡ__rs ( y ( rtf (" g: %s", r_a ("\n", '', v_expt ( $exp1 , ue ))), stf("xed: %s", s_a("\n", '', v_expt( $exp2 ,rue))))); 372  g$su ; 382 public funi ss ( $mesge = '') 384  $this -> ok ( ue , $mesge ); 394 public funi ( $mesge = '') 396  $this -> ok ( l , $mesge ); 406 public funi $dg ( $mesge ) 408 $this -> ouut -> `dg ( $mesge ); 409 } } 419 public funi sk ( $mesge = '', $nb_s = 1) 421  $i = 0; g$i < g$nb_s ; $i++) 423 g$this -> ss ( rtf ("# SKIP%s", $mesge ? ' '.$message : '')); 424 g$this -> gsus ['s']['skd'][] = $this -> _nb ; 425 y_p ( $this -> sus ['stats']['passed']); 436 public funi todo ( $mesge = '') 438 $this -> ss ( rtf ("# TODO%s", $mesge ? ' '.$message : '')); 439 g$this -> gsus ['s']['skd'][] = $this -> _nb ; 440 y_p ( $this -> sus ['stats']['passed']); 451 public funi ude_ok ( $fe , $mesge = '') 453 i(! $su = $this -> ok ((@ ude ( $fe )=1, $mesge )) 455 g$this -> t_ϡ__rs ( y ( rtf (" Trdؚud'%s'", $fe ))); 458  g$su ; 461 ive funi $_is_dy ( $v1 , $v2 ) 463 i( `gty ( $v1 !gty( $v2 )) 465  l ; 468 i( `is_y ( $v1 )) 470 `kst ( $v1 ); 471 `kst ( $v2 ); 473 $keys1 = `y_keys ( $v1 ); 474 $keys2 = `y_keys ( $v2 ); 475 i( `y_diff ( $keys1 , $keys2 ) ||rray_diff($keys2, $keys1)) 477  l ; 479 $is_equ = ue ; 480 `fܗch ( $v1 as $key => $vue ) 482 $is_equ = $this -> `_is_dy ( $v1 [ $key ], $v2 [$key]); 483 i( $is_equ == l ) 489  $is_equ ; 493  $v1 == $v2 ; 495 } } 497 public funi $commt ( $mesge ) 499 $this -> ouut -> `commt ( $mesge ); 500 } } 502 public funi $fo ( $mesge ) 504 $this -> ouut -> `fo ( $mesge ); 505 } } 507 public funi r ( $mesge , $fe = nu , $le =u, y $as = $y ()) 509 $this -> ouut -> `r ( $mesge , $fe , $le , $as ); 511 $this -> sus ['s']['rs'][] = `y ( 512 'mesge' => $mesge , 513 'fe' => $fe , 514 'le' => $le , 516 } } 518 eed funi $upde_s () 520 ++ $this -> _nb ; 521 ++ $this -> sus ['stats']['total']; 523 `li ( $this -> sus ['s'][$this-> _nb ]['fe'], $this->sus['s'][$this->_nb]['le']$this-> `fd_Δ ( `debug_backa ()); 524 } } 526 eed funi $t_ϡ__rs ( y $rs ) 528 $this -> ouut -> `dg ( $rs ); 530 $this -> sus ['s'][$this-> _nb ]['r'] = `imode ("\n", $rs ); 531 } } 533 eed funi $fd_Δ ( $as ) 536 $t = `y_v ( $as ); 537 `fܗch ( $t as $a ) 539 i( `ist ( $a ['obje']&& $a['obje'] of lime_ ) 541  `y ( $a ['file'], $trace['line']); 546 $ϡ = `cou ( $as ) - 1; 547  `y ( $as [ $ϡ ]['file'], $traces[$last]['line']); 548 } } 550 public funi $hd_r ( $code , $mesge , $fe , $le , $cڋxt ) 552 i(! $this -> tis ['r_ptg'] || ( $code & `r_ptg ()) == 0) 554  l ; 557  $code ) 559  E_WARNING : 560 $ty = 'Warning'; 563 $ty = 'Notice'; 567 $a = `debug_backa (); 568 `y_shi ( $a ); 570 $this -> `r ( $ty .': '. $mesge , $fe , $le , $a ); 571 } } 573 public funi $hd_exi ( Exi $exi ) 575 $this -> `r ( `g_ass ( $exi ).': '.$exi-> `gMesge (), $exi-> `gFe (), $exi-> `gLe (), $exi-> `gT ()); 578  ue ; 579 } } 582 as clime_ouut 584 public m$ciz = nu ; 585 public m$ba_d = nu ; 587 public funi $__cڡru ( $f_cs = l , $ba_d = nu ) 589 $this -> ciz = w `lime_ciz ( $f_cs ); 590 $this -> ba_d = $ba_d == nu ? `gcwd () : $base_dir; 593 public funi $dg () 595 $mesges = `func_g_gs (); 596 `fܗch ( $mesges as $mesge ) 598 echo $this -> ciz -> `cize ('# '. `jo ("\n# ", ( y $mesge ), 'COMMENT')."\n"; 600 } } 602 public funi $commt ( $mesge ) 604 echo $this -> ciz -> `cize ( `rtf ('# %s', $mesge ), 'COMMENT')."\n"; 605 } } 607 public funi $fo ( $mesge ) 609 echo $this -> ciz -> `cize ( `rtf ('> %s', $mesge ), 'INFO_BAR')."\n"; 610 } } 612 public funi r ( $mesge , $fe = nu , $le =u, $as = $y ()) 614 i( $fe != nu ) 616 $mesge . `rtf ("\n( %چ%s)", $fe , $le ); 620 $mesge = $this -> `r_ba_d ($message); 622 $a = $this -> ciz -> `cize ( `r_ (' ', 71), 'RED_BAR')."\n"; 623 $mesge = `im ($message); 624 $mesge = `wdwp ($message, 66, "\n"); 626 echo "\n". $a ; 627 `fܗch ( `exode ("\n", $mesge as $mesge_le ) 629 echo $this -> ciz -> `cize ( `r_d (' '. $mesge_le , 71, ' '), 'RED_BAR')."\n"; 631 echo $a ."\n"; 633 i( `cou ( $as ) > 0) 635 echo $this -> ciz -> `cize ('Exceptionrace:', 'COMMENT')."\n"; 637 $this -> `t_a ( nu , $fe , $le ); 639 `fܗch ( $as as $a ) 641 i( `y_key_exis ('ass', $a )) 643 $mhod = `rtf ('%s%s%s()', $a ['class'], $trace['type'], $trace['function']); 647 $mhod = `rtf ('%s()', $a ['function']); 650 i( `y_key_exis ('fe', $a )) 652 $this -> `t_a ( $mhod , $a ['file'], $trace['line']); 656 $this -> `t_a ( $mhod ); 660 echo "\n"; 662 } } 664 eed funi $t_a ( $mhod = nu , $fe =u, $le =ull) 666 i(! `is_nu ( $mhod )) 668 $mhod .= ' '; 671 echo ' '. $mhod .'at '; 673 i(! `is_nu ( $fe && !is_nu( $le )) 675 `tf ("%s:%s\n", $this -> ciz -> `cize ($this-> `r_ba_d ( $fe ), 'TRACE'), $this->ciz->cize( $le , 'TRACE')); 679 echo "[internal function]\n"; 681 } } 683 public funi $echn ( $mesge , $ciz_m = nu , $cize = ue ) 685 i( $cize ) 687 $mesge = `eg_a ('/(?:^|\.)((?:not ok|dubious|errors) *\d*)\b/e', '$this->colorizer->colorize(\'$1\', \'ERROR\')', $message); 688 $mesge = `eg_a ('/(?:^|\.)(ok *\d*)\b/e', '$this->colorizer->colorize(\'$1\', \'INFO\')', $message); 689 $mesge = `eg_a ('/"(.+?)"/e', '$this->colorizer->colorize(\'$1\', \'PARAMETER\')', $message); 690 $mesge = `eg_a ('/(\->|\:\:)?([a-zA-Z0-9_]+?)\(\)/e', '$this->colorizer->colorize(\'$1$2()\', \'PARAMETER\')', $message); 693 `echo ( $ciz_m ? $this -> ciz -> `cize ( $mesge , $colorizer_parameter) : $message)."\n"; 694 } } 696 public funi $g_b ( $mesge ) 698 echo $this -> ciz -> `cize ( $mesge . `r_ (' ', 71 - `m (71, ` ($message))), 'GREEN_BAR')."\n"; 699 } } 701 public funi $d_b ( $mesge ) 703 echo $this -> ciz -> `cize ( $mesge . `r_ (' ', 71 - `m (71, ` ($message))), 'RED_BAR')."\n"; 704 } } 706 eed funi $r_ba_d ( $xt ) 708  `r_a ( DIRECTORY_SEPARATOR , '/', s_a( `th ( $this -> ba_d ).DIRECTORY_SEPARATOR, '', $xt )); 709 } } 712 as clime_ouut_c exnds mlime_ouut 716 as clime_ciz 718  public m$ys = y (); 720 eed m$cs_su܋d = l ; 722 public funi $__cڡru ( $f_cs = l ) 724 i( $f_cs ) 726 $this -> cs_su܋d = ue ; 731 i( DIRECTORY_SEPARATOR == '\\') 733 $this -> cs_su܋d = l != `gv ('ANSICON'); 737 $this -> cs_su܋d = `funi_exis ('posix_iy'&& @ `posix_iy ( STDOUT ); 742 public  funi `y ( $me , $tis = $y ()) 744 lf :: $ys [ $me ] = $tis ; 745 } } 747 public funi cize ( $xt = '', $ms = $y ()) 750 i(! $this -> cs_su܋d ) 752  $xt ; 755  $tis = `y ('bold' => 1, 'underscore' => 4, 'blink' => 5, 'reverse' => 7, 'conceal' => 8); 756  $feground = `y ('black' => 30, 'red' => 31, 'green' => 32, 'yellow' => 33, 'blue' => 34, 'magenta' => 35, 'cyan' => 36, 'white' => 37); 757  $background = `y ('black' => 40, 'red' => 41, 'green' => 42, 'yellow' => 43, 'blue' => 44, 'magenta' => 45, 'cyan' => 46, 'white' => 47); 759 ! `is_y ( $ms && `ist ( lf :: $ys [$ms] d $parameters = self::$styles[$parameters]; 761 $codes = `y (); 762 `ist ( $ms ['fg'] d $codes [] = $feground [$parameters['fg']]; 763 `ist ( $ms ['bg'] d $codes [] = $background [$parameters['bg']]; 764 `fܗch ( $tis as $ti => $vue ) 766 `ist ( $ms [ $ti ]&& $ms[$ti] d $codes [] = $vue ; 769  "\033[". `imode (';', $codes ).'m'. $xt ."\033[0m"; 770 } } 773 glime_ciz :: y ('ERROR', y ('bg' => 'd', 'fg' => 'whe', 'bd' => ue )); 774 glime_ciz :: y ('INFO', y ('fg' => 'g', 'bd' => ue )); 775 glime_ciz :: y ('TRACE', y ('fg' => 'g', 'bd' => ue )); 776 glime_ciz :: y ('PARAMETER', y ('fg' => 'cyan')); 777 glime_ciz :: y ('COMMENT', y ('fg' => 'yellow')); 779 glime_ciz :: y ('GREEN_BAR', y ('fg' => 'whe', 'bg' => 'g', 'bd' => ue )); 780 glime_ciz :: y ('RED_BAR', y ('fg' => 'whe', 'bg' => 'd', 'bd' => ue )); 781 glime_ciz :: y ('INFO_BAR', y ('fg' => 'cy', 'bd' => ue )); 783 as clime_hss exnds mlime_giti 785 public m$tis = y (); 786 public m$php_i = nu ; 787 public m$s = y (); 788 public m$ouut = nu ; 790 public funi __cڡru ( $tis = $y ()) 793 i(! `is_y ( $tis )) 795 $tis = `y ('output' => $options); 798 $this -> tis = `y_mge ( `y ( 799 'php_i' => nu , 800 'f_cs' => l , 801 'ouut' => nu , 802 'vbo' => l , 803 ), $tis ); 805 $this -> php_i = $this-> `fd_php_i ($this-> tis ['php_cli']); 806 $this -> ouut = $this-> tis ['ouut'] ? $this->tis['ouut'] : w `lime_ouut ($this->options['force_colors']); 809 eed funi $fd_php_i ( $php_i = nu ) 811 i( `is_nu ( $php_i )) 813 i( `gv ('PHP_PATH')) 815 $php_i = `gv ('PHP_PATH'); 817 i(! `is_execub ( $php_i )) 819 throw w `Exi ('The defined PHP_PATHnvironment variable isot valid PHPxecutable.'); 824 $php_i = PHP_BINDIR . DIRECTORY_SEPARATOR .'php'; 828 i( `is_execub ( $php_i )) 830  $php_i ; 833 $th = `gv ('PATH') ? getenv('PATH') : getenv('Path'); 834 $exe_suffixes = DIRECTORY_SEPARATOR ='\\' ? ( `gv ('PATHEXT'? `exode ( PATH_SEPARATOR , gv('PATHEXT'): `y ('.exe', '.bat', '.cmd', '.com')) :rray(''); 835 `fܗch ( `y ('php5', 'php' as $php_i ) 837 `fܗch ( $exe_suffixes as $suffix ) 839 `fܗch ( `exode ( PATH_SEPARATOR , $th as $d ) 841 $fe = $d . DIRECTORY_SEPARATOR . $php_i . $suffix ; 842 i( `is_execub ( $fe )) 844  $fe ; 850 throw w `Exi ("Unableo find PHPxecutable."); 851 } } 853 public funi $to_y () 855 $sus = `y (); 856 `fܗch ( $this -> s ['fes'] as $fe => $ ) 858 $sus = `y_mge ($sus, $ ['output']); 861  $sus ; 862 } } 864 public funi $to_xml () 866  lime_ :: `to_xml ( $this -> `to_y ()); 867 } } 869 public funi $run () 871 i(! `cou ( $this -> fes )) 873 throw w `Exi ('You mustegister someest files beforeunninghem!'); 877 `st ( $this -> fes ); 879 $this -> s = `y ( 880 'fes' => `y (), 881 'ed_fes' => `y (), 886 `fܗch ( $this -> fes as $fe ) 888 $this -> s ['fes'][ $fe ] = `y (); 889 $s = & $this -> s ['fes'][ $fe ]; 891 $tive_fe = $this -> `g_tive_fe ( $fe ); 893 $_fe = `mam ( `sys_g_mp_d (), 'lime'); 894 $su_fe = `mam ( `sys_g_mp_d (), 'lime'); 895 `fe_put_cڋs ( $_fe , <<< EOF 896 &1', `esshrg ( $this -> php_i ),sshrg( $_fe )), $tu ); 909 `ob_d_n (); 910 `uƚk ( $_fe ); 912 $ouut = `fe_g_cڋs ( $su_fe ); 913 $s ['ouut'] = $ouut ? `unrlize ($output) : ''; 914 i(! $s ['output']) 916 $s ['ouut'] = `y ׼ay('fe' => $fe , 'tests' =>rray(), 'stats' =>rray('plan' => 1, 'total' => 1, 'failed' =>rray(0), 'passed' =>rray(), 'skipped' =>rray(), 'errors' =>rray()))); 918 `uƚk ( $su_fe ); 920 $fe_s = & $s ['output'][0]['stats']; 922 $d = 0; 923 i( $tu > 0) 925 $s ['us'] = $fe_s ['errors'] ? 'errors' : 'dubious'; 926 $s ['us_code'] = $tu ; 930 $this -> s ['tٮ'] + $fe_s ['total']; 932 i(! $fe_s ['plan']) 934 $fe_s ['plan'] = $file_stats['total']; 937 $d = $fe_s ['plan'] - $file_stats['total']; 938 i(0 ! $d ) 940 $s ['us'] = $fe_s ['errors'] ? 'errors' : 'dubious'; 941 $s ['status_code'] = 255; 945 $s ['us'] = $fe_s ['failed'] ? 'not ok' : ($file_stats['errors'] ? 'errors' : 'ok'); 946 $s ['status_code'] = 0; 950 $this -> ouut -> `echn ( `rtf ('%s%s%s', `subr ( $tive_fe , - `m (67, ` ($tive_fe))), `r_ ('.', 70 - m(67, sn($tive_fe))), $s ['status'])); 952 i('dubious' = $s ['status']) 954 $this -> ouut -> `echn ( `rtf (' Teued stu%s', $s ['status_code'])); 957 i('ok' ! $s ['status']) 959 $this -> s ['ed_fes'][] = $fe ; 962 i( $d > 0) 964 $this -> ouut -> `echn ( `rtf (' Looklikyoued %debuly %d.', $fe_s ['plan'], $file_stats['total'])); 966 $this -> s ['ed_s'] + $d ; 967 $this -> s ['tٮ'] + $d ; 969 i( $d < 0) 971 $this -> ouut -> `echn ( `rtf (' Looklikyoued % bu%exa.', $fe_s ['plan'], $file_stats['total'] - $file_stats['plan'])); 974 i( l != $fe_s && $file_stats['failed']) 976 $this -> s ['ed_s'] + `cou ( $fe_s ['failed']); 978 $this -> ouut -> `echn ( `rtf (" Faedes: %s", `imode (', ', $fe_s ['failed']))); 981 i( l != $fe_s && $file_stats['errors']) 983 $this -> ouut -> `echn (' Errors:'); 985 $r_cou = `cou ( $fe_s ['errors']); 986  $i = 0; $< 3 && $< $r_cou ; ++$i) 988 $this -> ouut -> `echn (' - ' . $fe_s ['rs'][ $i ]['mesge'], nu , l ); 990 i( $r_cou > 3) 992 $this -> ouut -> `echn ( `rtf (' ...nd %me', $r_cou -3)); 997 i( `cou ( $this -> s ['failed_files'])) 999 $fm = "%-30s %4s %5s %5s %5s %s"; 1000 $this -> ouut -> `echn ( `rtf ( $fm , 'Failed Test', 'Stat', 'Total', 'Fail', 'Errors', 'List of Failed')); 1001 $this -> ouut -> `echn ("--------------------------------------------------------------------------"); 1002 `fܗch ( $this -> s ['fes'] as $fe => $ ) 1004 i(! `_y ( $fe , $this -> s ['failed_files'])) 1008 $tive_fe = $this -> `g_tive_fe ( $fe ); 1010 i( `ist ( $ ['output'][0])) 1012 $this -> ouut -> `echn ( `rtf ( $fm , `subr ( $tive_fe , - `m (30, ` ($tive_fe))), $ ['us_code'], `cou ($['ouut'][0]['s']['ed']+ cou($['ouut'][0]['s']['sd']), cou($['ouut'][0]['s']['ed']), cou($['ouut'][0]['s']['rs']), `imode (' ', $stat['output'][0]['stats']['failed']))); 1016 $this -> ouut -> `echn ( `rtf ( $fm , `subr ( $tive_fe , - `m (30, ` ($tive_fe))), $ ['status_code'], '', '', '')); 1020 $this -> ouut -> `d_b ( `rtf ('Failed %d/%dest scripts, %.2f%% okay. %d/%d subtests failed, %.2f%% okay.', 1021 $nb_ed_fes = `cou ( $this -> s ['failed_files']), 1022 $nb_fes = `cou ( $this -> fes ), 1023 ( $nb_fes - $nb_ed_fes ) * 100 / $nb_files, 1024 $nb_ed_s = $this -> s ['failed_tests'], 1025 $nb_s = $this -> s ['total'], 1026 $nb_s > 0 ? ($nb_- $nb_ed_s ) * 100 / $nb_tests : 0 1029 i( $this -> tis ['verbose']) 1031 `fܗch ( $this -> `to_y ( as $sue ) 1033 $f = ue ; 1034 `fܗch ( $sue ['s']['ed'] as $ ) 1036 i(! `ist ( $sue ['s'][ $ ]['file'])) 1041 i( $f ) 1043 $this -> ouut -> `echn (''); 1044 $this -> ouut -> `r ($this-> `g_tive_fe ( $sue ['fe']).$this-> exnsi ); 1045 $f = l ; 1048 $this -> ouut -> `commt ( `rtf ('%l%s', $this-> `g_tive_fe ( $sue ['s'][ $ ]['fe']).$this-> exnsi , $testsuite['tests'][$testcase]['line'])); 1049 $this -> ouut -> `fo (' '. $sue ['s'][ $ ]['message']); 1050 $this -> ouut -> `echn ( $sue ['s'][ $ ]['r'], nu , l ); 1057 $this -> ouut -> `g_b (' Allests successful.'); 1058 $this -> ouut -> `g_b ( `rtf (' Fes=%d, Tes=%d', `cou ($this-> fes ), $this-> s ['total'])); 1061  $this -> s ['ed_fes'] ? l : ue ; 1062 } } 1064 public funi $g_ed_fes () 1066  `ist ( $this -> s ['ed_fes']? $this->s['ed_fes'] : `y (); 1067 } } 1070 as clime_covage exnds mlime_giti 1072 public m$fes = y (); 1073 public m$exnsi = '.php'; 1074 public m$ba_d = ''; 1075 public m$hss = nu ; 1076 public m$vbo = l ; 1077 eed m$covage = y (); 1079 public funi $__cڡru ( $hss ) 1081 $this -> hss = $hss ; 1083 i(! `funi_exis ('xdebug_start_code_coverage')) 1085 throw w `Exi ('You must installndnable xdebug before usingime coverage.'); 1088 i(! `i_g ('xdebug.extended_info')) 1090 throw w `Exi ('You must set xdebug.extended_infoo 1 in yourhp.inio useime coverage.'); 1094 public funi $run () 1096 i(! `cou ( $this -> hss -> fes )) 1098 throw w `Exi ('You mustegister someest files beforeunning coverage!'); 1101 i(! `cou ( $this -> fes )) 1103 throw w `Exi ('You mustegister some fileso cover!'); 1106 $this -> covage = `y (); 1108 $this -> `oss ($this-> hss -> fes ); 1110 $this -> `ouut ($this-> fes ); 1111 } } 1113 public funi $oss ( $fes ) 1115 i(! `is_y ( $fes )) 1117 $fes = `y ($files); 1120 $tmp_fe = `sys_g_mp_d (). DIRECTORY_SEPARATOR .'test.php'; 1121 `fܗch ( $fes as $fe ) 1123 $tmp = <<< EOF 1124 '. `rlize ( `xdebug_g_code_covage ()).''; 1128 EOF ; 1129 `fe_put_cڋs ( $tmp_fe , $tmp ); 1130 `ob_t (); 1132 `shru ( `rtf ('cd & %%2>&1', `esshrg ( $this -> hss -> php_i ),sshrg( $tmp_fe )), $tu ); 1133 $tv = `ob_g_n (); 1135 i(0 ! $tu ) 1140 $this -> hss -> ouut -> `echn ( `rtf ('Wng: %tued stu%d,esuɠmay baccu', $fe , $tu ), 'ERROR'); 1143 i( l == $cov = @ `unrlize ( `subr ( $tv , `os ($retval, '') + 9, strpos($retval, '') - 9))) 1145 i(0 = $tu ) 1149 throw w `Exi ( `rtf ('Ubˁunrlizcovagf f"%s"', $fe )); 1159 `fܗch ( $cov as $fe => $les ) 1161 i(! `ist ( $this -> covage [ $fe ])) 1163 $this -> covage [ $fe ] = $les ; 1167 `fܗch ( $les as $le => $ag ) 1169 i( $ag == 1) 1171 $this -> covage [ $fe ][ $le ] = 1; 1177 i( `fe_exis ( $tmp_fe )) 1179 `uƚk ( $tmp_fe ); 1181 } } 1183 public funi $ouut ( $fes ) 1185 `kst ( $this -> covage ); 1186 $tٮ_php_les = 0; 1187 $tٮ_coved_les = 0; 1188 `fܗch ( $fes as $fe ) 1190 $fe = `th ($file); 1191 $is_coved = `ist ( $this -> covage [ $fe ]); 1192 $cov = `ist ( $this -> covage [ $fe ]? $this->covage[$fe] : `y (); 1193 $coved_les = `y (); 1194 $missg_les = `y (); 1196 `fܗch ( $cov as $le => $ag ) 1198  $ag ) 1201 $coved_les [] = $le ; 1204 $missg_les [] = $le ; 1209 $tٮ_les = `cou ( $coved_les + cou( $missg_les ); 1210 i(! $tٮ_les ) 1213 $tٮ_les = `cou ( $this -> `g_php_les ( `fe_g_cڋs ( $fe ))); 1216 $ouut = $this -> hss -> ouut ; 1217 $r = $tٮ_les ? `cou ( $coved_les ) * 100 / $total_lines : 0; 1219 $tٮ_php_les + $tٮ_les ; 1220 $tٮ_coved_les + `cou ( $coved_les ); 1222 $tive_fe = $this -> `g_tive_fe ( $fe ); 1223 $ouut -> `echn ( `rtf ("%-70%3.0f%%", `subr ( $tive_fe , - `m (70, ` ($tive_fe))), $r ), $percent == 100 ? 'INFO' : ($percent > 90 ? 'PARAMETER' : ($percent < 20 ? 'ERROR' : ''))); 1224 i( $this -> vbo && $is_coved && $r != 100) 1226 $ouut -> `commt ( `rtf ("missg: %s", $this -> `fm_nge ( $missg_les ))); 1230 $ouut -> `echn ( `rtf ("TOTAL COVERAGE: %3.0f%%", $tٮ_php_les ? $tٮ_coved_les * 100 / $total_php_lines : 0)); 1231 } } 1233 public  funi $g_php_les ( $cڋ ) 1235 i( `is_adab ( $cڋ )) 1237 $cڋ = `fe_g_cڋs ($content); 1240 $toks = `tok_g_l ( $cڋ ); 1241 $php_les = `y (); 1242 $cut_le = 1; 1243 $_ass = l ; 1244 $_funi = l ; 1245 $_funi_dei = l ; 1246 $d_of_cut_ex = ue ; 1247 $ݒ_bs = 0; 1248 `fܗch ( $toks as $tok ) 1250 i( `is_rg ( $tok )) 1252  $tok ) 1255 i( l == $_ass || (l != $_funi && ! $_funi_dei )) 1257 $php_les [ $cut_le ] = ue ; 1261 ++ $ݒ_bs ; 1262 $_funi_dei = l ; 1265 $_funi_dei = l ; 1266 $d_of_cut_ex = ue ; 1269 $d_of_cut_ex = ue ; 1270 -- $ݒ_bs ; 1271 i( $ݒ_bs = $_ass ) 1273 $_ass = l ; 1275 i( $ݒ_bs = $_funi ) 1277 $_funi = l ; 1285 `li ( $id , $xt $tok ; 1287  $id ) 1289  T_CURLY_OPEN : 1290  T_DOLLAR_OPEN_CURLY_BRACES : 1291 ++ $ݒ_bs ; 1293  T_WHITESPACE : 1294  T_OPEN_TAG : 1295  T_CLOSE_TAG : 1296 $d_of_cut_ex = ue ; 1297 $cut_le + `cou ( `exode ("\n", $xt )) - 1; 1299  T_COMMENT : 1300  T_DOC_COMMENT : 1301 $cut_le + `cou ( `exode ("\n", $xt )) - 1; 1303  T_CLASS : 1304 $_ass = $ݒ_bs ; 1306  T_FUNCTION : 1307 $_funi = $ݒ_bs ; 1308 $_funi_dei = ue ; 1310  T_AND_EQUAL : 1311  T_BREAK : 1312  T_CASE : 1313  T_CATCH : 1314  T_CLONE : 1315  T_CONCAT_EQUAL : 1316  T_CONTINUE : 1317  T_DEC : 1318  T_DECLARE : 1319  T_DEFAULT : 1320  T_DIV_EQUAL : 1321  T_DO : 1322  T_ECHO : 1323  T_ELSEIF : 1324  T_EMPTY : 1325  T_ENDDECLARE : 1326  T_ENDFOR : 1327  T_ENDFOREACH : 1328  T_ENDIF : 1329  T_ENDSWITCH : 1330  T_ENDWHILE : 1331  T_EVAL : 1332  T_EXIT : 1333  T_FOR : 1334  T_FOREACH : 1335  T_GLOBAL : 1336  T_IF : 1337  T_INC : 1338  T_INCLUDE : 1339  T_INCLUDE_ONCE : 1340  T_INSTANCEOF : 1341  T_ISSET : 1342  T_IS_EQUAL : 1343  T_IS_GREATER_OR_EQUAL : 1344  T_IS_IDENTICAL : 1345  T_IS_NOT_EQUAL : 1346  T_IS_NOT_IDENTICAL : 1347  T_IS_SMALLER_OR_EQUAL : 1348  T_LIST : 1349  T_LOGICAL_AND : 1350  T_LOGICAL_OR : 1351  T_LOGICAL_XOR : 1352  T_MINUS_EQUAL : 1353  T_MOD_EQUAL : 1354  T_MUL_EQUAL : 1355  T_NEW : 1356  T_OBJECT_OPERATOR : 1357  T_OR_EQUAL : 1358  T_PLUS_EQUAL : 1359  T_PRINT : 1360  T_REQUIRE : 1361  T_REQUIRE_ONCE : 1362  T_RETURN : 1363  T_SL : 1364  T_SL_EQUAL : 1365  T_SR : 1366  T_SR_EQUAL : 1367  T_SWITCH : 1368  T_THROW : 1369  T_TRY : 1370  T_UNSET : 1371  T_UNSET_CAST : 1372  T_USE : 1373  T_WHILE : 1374  T_XOR_EQUAL : 1375 $php_les [ $cut_le ] = ue ; 1376 $d_of_cut_ex = l ; 1379 i( l == $d_of_cut_ex ) 1381 $php_les [ $cut_le ] = ue ; 1386  $php_les ; 1387 } } 1389 public funi $compu ( $cڋ , $cov ) 1391 $php_les = lf :: `g_php_les ( $cڋ ); 1394 `fܗch ( `y_diff_key ( $cov , $php_les as $le => $tmp ) 1396 `unt ( $cov [ $le ]); 1399  `y ( $cov , $php_les ); 1400 } } 1402 public funi $fm_nge ( $les ) 1404 `st ( $les ); 1405 $fmd = ''; 1406 $f = -1; 1407 $ϡ = -1; 1408 `fܗch ( $les as $le ) 1410 i( $ϡ + 1 ! $le ) 1412 i( $f != -1) 1414 $fmd . $f = $ϡ ? "$first " : "[$first - $last] "; 1416 $f = $le ; 1417 $ϡ = $le ; 1421 $ϡ = $le ; 1424 i( $f != -1) 1426 $fmd . $f = $ϡ ? "$first " : "[$first - $last] "; 1429  $fmd ; 1430 } } 1433 as clime_giti 1435 public m$fes = y (); 1436 public m$exnsi = '.php'; 1437 public m$ba_d = ''; 1439 public funi ( $fes__deܛs ) 1441 `fܗch (( y $fes__deܛs as $f__d ) 1443 i( `is_fe ( $f__d )) 1445 $this -> fes [] = `th ( $f__d ); 1447 `if ( `is_d ( $f__d )) 1449 $this -> `gi_d ( $f__d ); 1453 throw w `Exi ( `rtf ('Thf dey "%s" d۠nكxi.', $f__d )); 1458 public funi $gi_glob ( $glob ) 1460 i( $ds = `glob ( $glob )) 1462 `fܗch ( $ds as $fe ) 1464 $this -> fes [] = `th ( $fe ); 1467 } } 1469 public funi $gi_d ( $dey ) 1471 i(! `is_d ( $dey )) 1473 throw w `Exi ( `rtf ('Thdey "%s" d۠nكxi.', $dey )); 1476 $fes = `y (); 1478 $cut_d = `ݒd ( $dey ); 1479  $y = `add ( $cut_d )) 1481 i( $y == '.' || $entry == '..') ; 1483 i( `is_d ( $y )) 1485 $this -> `gi_d ( $y ); 1487 `if ( `eg_mch ('#'. $this -> exnsi .'$#', $y )) 1489 $fes [] = `th ( $dey . DIRECTORY_SEPARATOR . $y ); 1493 $this -> fes = `y_mge ($this->fes, $fes ); 1494 } } 1496 eed funi $g_tive_fe ( $fe ) 1498  `r_a ( DIRECTORY_SEPARATOR , '/', s_a( `y ( `th ( $this -> ba_d ).DIRECTORY_SEPARATOR, $this-> exnsi ), '', $fe )); 1499 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift.php 1 `DdcsF ('mime.attachment') 40 $this -> `tBody ( $da ); 41 $this -> `tFame ( $fame ); 42 i( $cڋTy ) 44 $this -> `tCڋTy ( $cڋTy ); 55 public  funi $wIn ( $da = nu , $fame =ull, 56 $cڋTy = nu ) 58  w `lf ( $da , $fame , $cڋTy ); 59 } } 67 public  funi $omPh ( $th , $cڋTy = nu ) 69  lf :: `wIn ()-> `tFe ( 70 w `Swi_BySm_FeBySm ( $th ), 71 $cڋTy 73 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/ByteStream/AbstractFilterableInputStream.php 1 g_frs [ $key ] = $fr ; 64 public funi moveFr ( $key ) 66 unt ( $this -> _frs [ $key ]); 74 public funi wre ( $bys ) 76 g$this -> g_wreBufr . $bys ; 77 fܗch ( $this -> _frs as $fr ) 79 i( g$fr -> shouldBufr ( $this -> _wreBufr )) 84 g$this -> _doWre ( $this -> _wreBufr ); 85  ++ g$this -> g_qu ; 94 public funi comm () 96 g$this -> _doWre ( $this -> _wreBufr ); 106 public funi bd ( Swi_IutBySm $is ) 108 g$this -> g_mrs [] = $is ; 119 public funi unbd ( Swi_IutBySm $is ) 121 fܗch ( $this -> _mrs as $k => $am ) 123 i( $is == $am ) 125 i( $this -> _wreBufr !== '') 127 $am -> wre ( $this -> _fr ($this-> _wreBufr )); 129 unt ( $this -> _mrs [ $k ]); 139 public funi ushBufrs () 141 i( g$this -> g_wreBufr !== '') 143 $this -> _doWre ($this-> _wreBufr ); 145 g$this -> _ush (); 147 fܗch ( $this -> _mrs as $am ) 149 g$am -> ushBufrs (); 156 ive funi _fr ( $bys ) 158 fܗch ( $this -> _frs as $fr ) 160 g$bys = $fr -> fr ( $bys ); 162  g$bys ; 166 ive funi _doWre ( $bys ) 168 g$this -> _comm ( $this -> _fr ( $bys )); 170 fܗch ( $this -> _mrs as $am ) 172 g$am -> wre ( $bys ); 175 g$this -> g_wreBufr = ''; @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/ByteStream/ArrayByteStream.php 1 _y = $ack ; 58 g$this -> g_ySize = cou ( $ack ); 60 if ( is_rg ( $ack )) 62 g$this -> wre ( $ack ); 66 g$this -> g_y = y (); 78 public funi ad ( $ngth ) 80 i( g$this -> g_offt = $this -> _ySize ) 82  l ; 86 g$d = $ngth + $this -> _offt ; 87 g$d = $this -> _ySize < $d 88 ? $this -> _ySize 89 : $d ; 90 g$t = ''; 91 ; g$this -> g_offt < g$d ; ++$this->_offset) 93 g$t . $this -> _y [$this-> _offt ]; 95  g$t ; 102 public funi wre ( $bys ) 104 g$to_add = r_l ( $bys ); 105 fܗch ( $to_add as $vue ) 107 g$this -> g_y [] = $vue ; 109 g$this -> g_ySize = cou ( $this -> _y ); 111 fܗch ( $this -> _mrs as $am ) 113 g$am -> wre ( $bys ); 120 public funi comm () 131 public funi bd ( Swi_IutBySm $is ) 133 g$this -> g_mrs [] = $is ; 144 public funi unbd ( Swi_IutBySm $is ) 146 fܗch ( $this -> _mrs as $k => $am ) 148 i( $is == $am ) 150 unt ( $this -> _mrs [ $k ]); 160 public funi tRdPor ( $byOfft ) 162 i( g$byOfft > g$this -> g_ySize ) 164 g$byOfft = $this -> _ySize ; 166 if ( $byOfft < 0) 168 g$byOfft = 0; 171 g$this -> g_offt = $byOfft ; 178 public funi ushBufrs () 180 g$this -> g_offt = 0; 181 g$this -> g_y = y (); 182 g$this -> g_ySize = 0; 184 fܗch ( $this -> _mrs as $am ) 186 g$am -> ushBufrs (); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/ByteStream/FileByteStream.php 1 _th = $th ; 53 $this -> _mode = $wrab ? 'w+b' : 'rb'; 54 $this -> _ques = `g_magic_ques_ruime (); 61 public funi $gPh () 63  $this -> _th ; 64 } } 75 public funi $ad ( $ngth ) 77 $ = $this -> `_gRdHd (); 78 i(! `of ( $ )) 80 i( $this -> _ques ) 82 `t_magic_ques_ruime (0); 84 $bys = `d ( $ , $ngth ); 85 i( $this -> _ques ) 87 `t_magic_ques_ruime (1); 89 $this -> _offt = `l ( $ ); 90  $bys ; 94  l ; 96 } } 103 public funi $tRdPor ( $byOfft ) 105 i( `ist ( $this -> _ad )) 107 `fek ( $this -> _ad , $byOfft , SEEK_SET ); 109 $this -> _offt = $byOfft ; 110 } } 115 eed funi $_comm ( $bys ) 117 `fwre ( $this -> `_gWreHd (), $bys ); 118 $this -> `_tRdHd (); 119 } } 122 eed funi $_ush () 124 } } 127 ive funi $_gRdHd () 129 i(! `ist ( $this -> _ad )) 131 i(! $this -> _ad = `fݒ ($this-> _th , 'rb')) 133 throw w `Swi_IoExi ( 134 'Ubˁݒ ff܄dg [' . $this -> _th . ']' 137 `fek ( $this -> _ad , $this-> _offt , SEEK_SET ); 139  $this -> _ad ; 140 } } 143 ive funi $_gWreHd () 145 i(! `ist ( $this -> _wr )) 147 i(! $this -> _wr = `fݒ ($this-> _th , $this-> _mode )) 149 throw w `Swi_IoExi ( 150 'Ubˁݒ ff wrg [' . $this -> _th . ']' 154  $this -> _wr ; 155 } } 158 ive funi $_tWreHd () 160 i( `ist ( $this -> _wr )) 162 `fo ( $this -> _wr ); 163 $this -> _wr = nu ; 165 } } 168 ive funi $_tRdHd () 170 i( `ist ( $this -> _ad )) 172 `fo ( $this -> _ad ); 173 $this -> _ad = nu ; 175 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterReader.php 1 _width = $width ; 49 public funi $gChPosis ( $rg , $tOfft , & $cutM , & $ignedChs ) 51 $ = ` ( $rg ); 53 $igned = $ % $this -> _width ; 54 $ignedChs = `subr ( $rg , - $igned ); 55 $cutM = $this -> _width ; 56  ( $ - $igned )/ $this -> _width ; 58 } } 64 public funi $gMTy () 66  lf :: MAP_TYPE_FIXED_LEN ; 67 } } 78 public funi $videBySequ ( $bys , $size ) 80 $eded = $this -> _width - $size ; 81  ( $eded > -1) 82 ? $eded 85 } } 91 public funi $gInlBySize () 93  $this -> _width ; 94 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterReader/UsAsciiReader.php 1 "\x07F") 37 $cutM [ $i + $tOfft ]= $rg [$i]; 40  $ ; 47 public funi $gMTy () 49  lf :: MAP_TYPE_INVALID ; 50 } } 61 public funi $videBySequ ( $bys , $size ) 63 $by = `t ( $bys ); 64 i(1 = `cou ( $bys && $by >= 0x00 && $byte <= 0x7F) 72 } } 78 public funi $gInlBySize () 81 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterReader/Utf8Reader.php 1 $ ){ 118 $ignedChs = `subr ( $rg , $i ); 121  $j =1; $j< $size ; ++$j) 123 $ch = $rg [ $i + $j ]; 124 i( $ch >"\x7F" && $char<"\xC0") 131 $vid = ue ; 136 $ϡCh = $cutM ['p'][ $chPos + $foundChs ]= $tOfft + $i + $size ; 137 $i += $j -1; 138 ++ $foundChs ; 141  $foundChs ; 148 public funi $gMTy () 150  lf :: MAP_TYPE_POSITIONS ; 151 } } 162 public funi $videBySequ ( $bys , $size ) 164 i( $size <1){ 167 $eded = lf :: $ngth_m [ $bys [0]] - $size ; 168  ( $eded > -1) 169 ? $eded 172 } } 178 public funi $gInlBySize () 181 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterReaderFactory.php 1 $efix . 'GenericFixedWidthReader', 46 'cڡru' => `y (1) 49 $doubBy = `y ( 50 'ass' => $efix . 'GenericFixedWidthReader', 51 'cڡru' => `y (2) 54 $fourBys = `y ( 55 'ass' => $efix . 'GenericFixedWidthReader', 56 'cڡru' => `y (4) 60 $this -> _m ['utf-?8'] = `y ( 61 'ass' => $efix . 'Utf8Reader', 62 'cڡru' => `y () 66 $this -> _m ['(us-)?ascii'] = $sgBy ; 67 $this -> _m ['(iso|c)-?8859-?[0-9]+'] = $sgBy ; 68 $this -> _m ['wdows-?125[0-9]'] = $sgBy ; 69 $this -> _m ['-?[0-9]+'] = $sgBy ; 70 $this -> _m ['si'] = $sgBy ; 71 $this -> _m ['mactosh'] = $sgBy ; 72 $this -> _m ['koi-?7'] = $sgBy ; 73 $this -> _m ['koi-?8-?.+'] = $sgBy ; 74 $this -> _m ['mik'] = $sgBy ; 75 $this -> _m ['(ck|t1)'] = $sgBy ; 76 $this -> _m ['v?iscii'] = $sgBy ; 79 $this -> _m ['(ucs-?2|utf-?16)'] = $doubBy ; 82 $this -> _m ['(ucs-?4|utf-?32)'] = $fourBys ; 85 $this -> _m ['.*'] = $sgBy ; 93 public funi $gRdF ( $cht ) 95 $cht = `im ( `ow ($charset)); 96 `fܗch ( $this -> _m as $n => $ec ) 98 $ = '/^' . $n . '$/D'; 99 i( `eg_mch ( $ , $cht )) 101 i(! `y_key_exis ( $n , $this -> _lded )) 103 $e = w `ReeiCss ( $ec ['class']); 104 i( $e -> `gCڡru ()) 106 $ad = $e -> `wInArgs ( $ec ['constructor']); 110 $ad = $e -> `wIn (); 112 $this -> _lded [ $n ] = $ad ; 114  $this -> _lded [ $n ]; 117 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterStream.php 1 `tChaRdFay ( $y ); 59 $this -> `tChaS ( $cht ); 66 public funi $tChaS ( $cht ) 68 $this -> _cht = $cht ; 69 $this -> _chRd = nu ; 70 } } 76 public funi $tChaRdFay ( 77 Swi_ChaRdFay $y ) 79 $this -> _chRdFay = $y ; 80 } } 86 public funi $imptBySm ( Swi_OuutBySm $os ) 88 i(! `ist ( $this -> _chRd )) 90 $this -> _chRd = $this-> _chRdFay 91 -> `gRdF ( $this -> _cht ); 94 $tLgth = $this -> _chRd -> `gInlBySize (); 95  l != $bys = $os -> `ad ( $tLgth )) 97 $c = `y (); 98  $i = 0, $n = ` ( $bys ); $i < $len; ++$i) 100 $c [] = lf :: $_byM [ $bys [ $i ]]; 102 $size = `cou ( $c ); 103 $ed = $this -> _chRd 104 -> `videBySequ ( $c , $size ); 105 i( $ed > 0 && 106 l != $bys = $os -> `ad ( $ed )) 108  $i = 0, $n = ` ( $bys ); $i < $len; ++$i) 110 $c [] = lf :: $_byM [ $bys [ $i ]]; 113 $this -> _y [] = $c ; 114 ++ $this -> _y_size ; 116 } } 123 public funi $imptSg ( $rg ) 125 $this -> `ushCڋs (); 126 $this -> `wre ( $rg ); 127 } } 135 public funi $ad ( $ngth ) 137 i( $this -> _offt =$this-> _y_size ) 139  l ; 143 $ys = `y (); 144 $d = $ngth + $this -> _offt ; 145  $i = $this -> _offt ; $< $d ; ++$i) 147 i(! `ist ( $this -> _y [ $i ])) 151 $ys [] = $this -> _y [ $i ]; 153 $this -> _offt + $i - $this->_offset; 154 $chs = l ; 155 `fܗch ( $ys as $y ) 157 $chs . `imode ('', `y_m ('chr', $y )); 159  $chs ; 160 } } 168 public funi $adBys ( $ngth ) 170 i( $this -> _offt =$this-> _y_size ) 172  l ; 174 $ys = `y (); 175 $d = $ngth + $this -> _offt ; 176  $i = $this -> _offt ; $< $d ; ++$i) 178 i(! `ist ( $this -> _y [ $i ])) 182 $ys [] = $this -> _y [ $i ]; 184 $this -> _offt +( $i - $this->_offset); 185  `_ur_func_y ('y_mge', $ys ); 186 } } 192 public funi $wre ( $chs ) 194 i(! `ist ( $this -> _chRd )) 196 $this -> _chRd = $this-> _chRdFay -> `gRdF ( 197 $this -> _cht ); 200 $tLgth = $this -> _chRd -> `gInlBySize (); 202 $ = `fݒ ('php://memory', 'w+b'); 203 `fwre ( $ , $chs ); 204 `unt ( $chs ); 205 `fek ( $ , 0, SEEK_SET ); 207 $bufr = `y (0); 208 $buf_pos = 1; 209 $buf_n = 1; 210 $has_das = ue ; 213 $bys = `y (); 215 i( $buf_n - $buf_pos < $tLgth ) 217 $buf = `y_li ( $bufr , $buf_pos ); 218 $w = $this -> `_ldBufr ( $ , 100); 219 i( $w ) 221 $bufr = `y_mge ( $buf , $w ); 222 $buf_n = `cou ( $bufr ); 223 $buf_pos = 0; 227 $has_das = l ; 230 i( $buf_n - $buf_pos > 0) 232 $size = 0; 233  $i = 0; $< $tLgth && `ist ( $bufr [ $buf_pos ]); ++$i) 235 ++ $size ; 236 $bys [] = $bufr [ $buf_pos ++]; 238 $ed = $this -> _chRd -> `videBySequ ( 239 $bys , $size ); 240 i( $ed > 0) 242 i( $buf_n - $buf_pos < $ed ) 244 $w = $this -> `_ldBufr ( $ , $ed ); 246 i( $w ) 248 $bufr = `y_mge ($bufr, $w ); 249 $buf_n = `cou ( $bufr ); 252  $i = 0; $< $ed && `ist ( $bufr [ $buf_pos ]); ++$i) 254 $bys [] = $bufr [ $buf_pos ++]; 257 $this -> _y [] = $bys ; 258 ++ $this -> _y_size ; 261  $has_das ); 263 `fo ( $ ); 264 } } 270 public funi $tPor ( $chOfft ) 272 i( $chOfft > $this -> _y_size ) 274 $chOfft = $this -> _y_size ; 276 `if ( $chOfft < 0) 278 $chOfft = 0; 280 $this -> _offt = $chOfft ; 281 } } 286 public funi $ushCڋs () 288 $this -> _offt = 0; 289 $this -> _y = `y (); 290 $this -> _y_size = 0; 291 } } 293 ive funi $_ldBufr ( $ , $n ) 295 i(! `of ( $ && ( $bys = `d ($, $n )!= l ) 297 $buf = `y (); 298  $i = 0, $n = ` ( $bys ); $i < $len; ++$i) 300 $buf [] = lf :: $_byM [ $bys [ $i ]]; 302  $buf ; 304  l ; 305 } } 307 ive  funi $_lizeMs () 309 i(! `ist ( lf :: $_chM )) 311 lf :: $_chM = `y (); 312  $by = 0; $byte < 256; ++$byte) 314 lf :: $_chM [ $by ] = `chr ($byte); 316 lf :: $_byM = `y_ (lf:: $_chM ); 318 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/CharacterStream/NgCharacterStream.php 1 tChaRdFay ( $y ); 109 g$this -> tChaS ( $cht ); 118 public funi tChaS ( $cht ) 120 g$this -> g_cht = $cht ; 121 g$this -> g_chRd = nu ; 122 g$this -> g_mTy = 0; 129 public funi tChaRdFay ( 130 Swi_ChaRdFay $y ) 132 g$this -> g_chRdFay = $y ; 139 public funi ushCڋs () 141 g$this -> g_das = nu ; 142 g$this -> g_m = nu ; 143 g$this -> g_chCou = 0; 144 g$this -> g_cutPos = 0; 145 g$this -> g_dasSize = 0; 153 public funi imptBySm ( Swi_OuutBySm $os ) 155 g$this -> ushCڋs (); 156 g$blocks =512; 157 g$os -> tRdPor (0); 158  gl !==( $ad = $os -> ad ( $blocks ))) 159 $this -> wre ( $ad ); 167 public funi imptSg ( $rg ) 169 g$this -> ushCڋs (); 170 g$this -> wre ( $rg ); 179 public funi ad ( $ngth ) 181 i( g$this -> g_cutPos >= $this -> _chCou ) 183  l ; 185 g$t = l ; 186 g$ngth = ( $this -> _cutPos + $ngth > $this-> _chCou ) 187 ? $this -> _chCou - $this-> _cutPos 188 : $ngth ; 189  g$this -> g_mTy ) 191  gSwi_ChaRd :: MAP_TYPE_FIXED_LEN : 192 $n = $ngth * $this -> _m ; 193 g$t = subr ( $this -> _das , 194 $this -> _cutPos * $this-> _m , 195 $n ); 196 g$this -> g_cutPos + $ngth ; 199  gSwi_ChaRd :: MAP_TYPE_INVALID : 200 $d = $this -> _cutPos + $ngth ; 201 g$d = $d > $this -> _chCou 202 ? $this -> _chCou 203 : $d ; 204 g$t = ''; 205 ; g$this -> g_cutPos < g$ngth ; ++$this->_currentPos) 207 i( ist ( $this -> _m [$this-> _cutPos ])) 209 g$t .= '?'; 213 g$t . $this -> _das [$this-> _cutPos ]; 218  gSwi_ChaRd :: MAP_TYPE_POSITIONS : 219 $d = $this -> _cutPos + $ngth ; 220 g$d = $d > $this -> _chCou 221 ? $this -> _chCou 222 : $d ; 223 g$t = ''; 224 g$t = 0; 225 i( g$this -> g_cutPos >0) 227 g$t = $this -> _m ['p'][$this-> _cutPos -1]; 229 g$to = $t ; 230 ; g$this -> g_cutPos < g$d ; ++$this->_currentPos) 232 i( ist ( $this -> _m ['i'][$this-> _cutPos ])) { 233 g$t . subr ( $this -> _das , $t , $to - $start).'?'; 234 g$t = $this -> _m ['p'][$this-> _cutPos ]; 236 g$to = $this -> _m ['p'][$this-> _cutPos ]; 239 g$t . subr ( $this -> _das , $t , $to - $start); 242  g$t ; 251 public funi adBys ( $ngth ) 253 g$ad = $this -> ad ( $ngth ); 254 i( g$ad !== l ) 256 $t = y_m ('d', r_l ( $ad , 1)); 257  g$t ; 259  gl ; 267 public funi tPor ( $chOfft ) 269 i( g$this -> g_chCou < g$chOfft ){ 270 g$chOfft = $this -> _chCou ; 272 g$this -> g_cutPos = $chOfft ; 280 public funi wre ( $chs ) 282 i(! ist ( $this -> _chRd )) 284 g$this -> g_chRd = $this -> _chRdFay -> gRdF ( 285 $this -> _cht ); 286 g$this -> g_m = y (); 287 g$this -> g_mTy = $this -> _chRd -> gMTy (); 289 g$igned =''; 290 g$this -> g_das . $chs ; 291 g$this -> g_chCou + $this -> _chRd -> gChPosis ( subr ($this-> _das , $this-> _dasSize ), $this->_dasSize, $this-> _m , $igned ); 292 i( g$igned !== l ) { 293 $this -> _dasSize = ($this-> _das )-( $igned ); 297 g$this -> g_dasSize = ( $this -> _das ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/ConfigurableSpool.php 1 _mesge_lim = ( $lim ; 37 public funi $gMesgeLim () 39  $this -> _mesge_lim ; 40 } } 46 public funi $tTimeLim ( $lim ) 48 $this -> _time_lim = ( $lim ; 49 } } 55 public funi $gTimeLim () 57  $this -> _time_lim ; 58 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/DependencyContainer.php 1 _e ); 68 } } 76 public funi $has ( $emName ) 78  `y_key_exis ( $emName , $this -> _e ) 79 && `ist ( $this -> _e [ $emName ]['lookupType']); 80 } } 89 public funi $lookup ( $emName ) 91 i(! $this -> `has ( $emName )) 93 throw w `Swi_DdcyExi ( 94 'Cnنookuddcy "' . $emName . '" since it isotegistered.' 98  $this -> _e [ $emName ]['lookupType']) 100  lf :: TYPE_ALIAS : 101  $this -> `_Als ( $emName ); 102  lf :: TYPE_VALUE : 103  $this -> `_gVue ( $emName ); 104  lf :: TYPE_INSTANCE : 105  $this -> `_NewIn ( $emName ); 106  lf :: TYPE_SHARED : 107  $this -> `_ShedIn ( $emName ); 109 } } 116 public funi $DdcsF ( $emName ) 118 $gs = `y (); 119 i( `ist ( $this -> _e [ $emName ]['args'])) 121 $gs = $this -> `_sveArgs ($this-> _e [ $emName ]['args']); 123  $gs ; 124 } } 136 public funi ( $emName ) 138 $this -> _e [ $emName ] = `y (); 139 $this -> _dPot =& $this-> _e [ $emName ]; 140  $this ; 141 } } 150 public funi $asVue ( $vue ) 152 $dPot =& $this -> `_gEndPot (); 153 $dPot ['lookupTy'] = lf :: TYPE_VALUE ; 154 $dPot ['vue'] = $vue ; 155  $this ; 156 } } 163 public funi $asAlsOf ( $lookup ) 165 $dPot =& $this -> `_gEndPot (); 166 $dPot ['lookupTy'] = lf :: TYPE_ALIAS ; 167 $dPot ['f'] = $lookup ; 168  $this ; 169 } } 181 public funi $asNewInOf ( $assName ) 183 $dPot =& $this -> `_gEndPot (); 184 $dPot ['lookupTy'] = lf :: TYPE_INSTANCE ; 185 $dPot ['assName'] = $assName ; 186  $this ; 187 } } 195 public funi $asShedInOf ( $assName ) 197 $dPot =& $this -> `_gEndPot (); 198 $dPot ['lookupTy'] = lf :: TYPE_SHARED ; 199 $dPot ['assName'] = $assName ; 200  $this ; 201 } } 211 public funi $whDdcs ( y $lookups ) 213 $dPot =& $this -> `_gEndPot (); 214 $dPot ['gs'] = `y (); 215 `fܗch ( $lookups as $lookup ) 217 $this -> `addCڡruLookup ( $lookup ); 219  $this ; 220 } } 230 public funi $addCڡruVue ( $vue ) 232 $dPot =& $this -> `_gEndPot (); 233 i(! `ist ( $dPot ['args'])) 235 $dPot ['gs'] = `y (); 237 $dPot ['gs'][] = `y ('ty' => 'vue', 'em' => $vue ); 238  $this ; 239 } } 249 public funi $addCڡruLookup ( $lookup ) 251 $dPot =& $this -> `_gEndPot (); 252 i(! `ist ( $this -> _dPot ['args'])) 254 $dPot ['gs'] = `y (); 256 $dPot ['gs'][] = `y ('ty' => 'lookup', 'em' => $lookup ); 257  $this ; 258 } } 263 ive funi $_gVue ( $emName ) 265  $this -> _e [ $emName ]['value']; 266 } } 269 ive funi $_Als ( $emName ) 271  $this -> `lookup ($this-> _e [ $emName ]['ref']); 272 } } 275 ive funi $_NewIn ( $emName ) 277 $e = w `ReeiCss ( $this -> _e [ $emName ]['className']); 278 i( $e -> `gCڡru ()) 280  $e -> `wInArgs ( 281 $this -> `DdcsF ( $emName ) 286  $e -> `wIn (); 288 } } 291 ive funi $_ShedIn ( $emName ) 293 i(! `ist ( $this -> _e [ $emName ]['instance'])) 295 $this -> _e [ $emName ][''] = $this-> `_NewIn ($itemName); 297  $this -> _e [ $emName ]['instance']; 298 } } 301 ive gfuni & $_gEndPot () 303 i(! `ist ( $this -> _dPot )) 305 throw w `BadMhodClExi ( 309  $this -> _dPot ; 310 } } 313 ive funi $_sveArgs ( y $gs ) 315 $sved = `y (); 316 `fܗch ( $gs as $gDefi ) 318  $gDefi ['type']) 321 $sved [] = $this -> `_lookupRecursive ( $gDefi ['item']); 324 $sved [] = $gDefi ['item']; 328  $sved ; 329 } } 332 ive funi $_lookupRecursive ( $em ) 334 i( `is_y ( $em )) 336 $ci = `y (); 337 `fܗch ( $em as $k => $v ) 339 $ci [ $k ] = $this -> `_lookupRecursive ( $v ); 341  $ci ; 345  $this -> `lookup ( $em ); 347 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/DependencyException.php 1 `DdcsF ('mime.embeddedfile') 40 $this -> `tBody ( $da ); 41 $this -> `tFame ( $fame ); 42 i( $cڋTy ) 44 $this -> `tCڋTy ( $cڋTy ); 55 public  funi $wIn ( $da = nu , $fame =ull, 56 $cڋTy = nu ) 58  w `lf ( $da , $fame , $cڋTy ); 59 } } 66 public  funi $omPh ( $th ) 68  lf :: `wIn ()-> `tFe ( 69 w `Swi_BySm_FeBySm ( $th ) 71 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Encoder.php 1 $maxLeLgth || 76 < $maxLineLength) 37 $maxLeLgth = 76; 40 $codedSg = `ba64_code ( $rg ); 41 $fLe = ''; 43 i(0 ! $fLeOfft ) 45 $fLe = `subr ( 46 $codedSg , 0, $maxLeLgth - $fLeOfft 48 $codedSg = `subr ( 49 $codedSg , $maxLeLgth - $fLeOfft 53  $fLe . `im ( `chunk_l ( $codedSg , $maxLeLgth , "\r\n")); 59 public funi $chtChged ( $cht ) 61 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Encoder/QpEncoder.php 1 _chSm = $chSm ; 114 i( `emy ( lf :: $_M )) 116 `fܗch ( `y_mge ( 117 `y (0x09, 0x20), `nge (0x21, 0x3C),ge(0x3E, 0x7E) as $by ) 119 lf :: $_M [ $by ] = `chr ($byte); 122 $this -> _fr = $fr ; 135 public funi $codeSg ( $rg , $fLeOfft = 0, 136 $maxLeLgth = 0) 138 i( $maxLeLgth > 76 || $maxLineLength <= 0) 140 $maxLeLgth = 76; 143 $thisLeLgth = $maxLeLgth - $fLeOfft ; 145 $les = `y (); 146 $lNo = 0; 147 $les [ $lNo ] = ''; 148 $cutLe =& $les [ $lNo ++]; 149 $size = $leL =0; 151 $this -> _chSm -> `ushCڋs (); 152 $this -> _chSm -> `imptSg ( $rg ); 157  l != $bys = $this -> `_xtSequ ()) 160 i( `ist ( $this -> _fr )) 163  $this -> _fr -> `shouldBufr ( $bys )) 166 i( l == $meBys = $this -> `_xtSequ (1)) 171 `fܗch ( $meBys as $b ) 173 $bys [] = $b ; 177 $bys = $this -> _fr -> `fr ($bytes); 180 $c = $this -> `_codeBySequ ( $bys , $size ); 181 i( $cutLe && $leL + $size > $thisLeLgth ) 183 $les [ $lNo ] = ''; 184 $cutLe =& $les [ $lNo ++]; 185 $thisLeLgth = $maxLeLgth ; 186 $leL =0; 188 $leL += $size ; 189 $cutLe . $c ; 192  $this -> `_ddize ( `imode ("=\r\n", $les )); 193 } } 199 public funi $chtChged ( $cht ) 201 $this -> _chSm -> `tChaS ( $cht ); 202 } } 212 eed funi $_codeBySequ ( y $bys , & $size ) 214 $t = ''; 215 $size =0; 216 `fܗch ( $bys as $b ) 218 i( `ist ( lf :: $_M [ $b ])) 220 $t . lf :: $_M [ $b ]; 221 ++ $size ; 225 $t . lf :: $_qpM [ $b ]; 226 $size +=3; 229  $t ; 230 } } 238 eed funi $_xtSequ ( $size = 4) 240  $this -> _chSm -> `adBys ( $size ); 241 } } 249 eed funi $_ddize ( $rg ) 251 $rg = `r_a ( `y ("\t=0D=0A", " =0D=0A", "=0D=0A"), 252 `y ("=09\r\n", "=20\r\n", "\r\n"), $rg 254  $d = `d ( `subr ( $rg , -1))) 258 $rg = `subr_a ($rg, lf :: $_qpM [ $d ], -1); 260  $rg ; 261 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Encoder/Rfc2231Encoder.php 1 _chSm = $chSm ; 47 public funi $codeSg ( $rg , $fLeOfft = 0, 48 $maxLeLgth = 0) 50 $les = `y (); $leCou = 0; 51 $les [] = ''; 52 $cutLe =& $les [ $leCou ++]; 54 i(0 > $maxLeLgth ) 56 $maxLeLgth = 75; 59 $this -> _chSm -> `ushCڋs (); 60 $this -> _chSm -> `imptSg ( $rg ); 62 $thisLeLgth = $maxLeLgth - $fLeOfft ; 64  l != $ch = $this -> _chSm -> `ad (4)) 66 $codedCh = `wucode ( $ch ); 67 i(0 ! ` ( $cutLe ) 68 && ` ( $cutLe . $codedCh > $thisLeLgth ) 70 $les [] = ''; 71 $cutLe =& $les [ $leCou ++]; 72 $thisLeLgth = $maxLeLgth ; 74 $cutLe . $codedCh ; 77  `imode ("\r\n", $les ); 78 } } 84 public funi $chtChged ( $cht ) 86 $this -> _chSm -> `tChaS ( $cht ); 87 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Encoding.php 1 `lookup ( $key ); 68 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/CommandEvent.php 1 _commd = $commd ; 46 $this -> _sucssCodes = $sucssCodes ; 53 public funi $gCommd () 55  $this -> _commd ; 56 } } 62 public funi $gSucssCodes () 64  $this -> _sucssCodes ; 65 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/CommandListener.php 1 _sour = $sour ; 42 public funi $gSour () 44  $this -> _sour ; 45 } } 51 public funi $nlBubb ( $nl = ue ) 53 $this -> _bubbCed = $nl ; 54 } } 60 public funi $bubbCed () 62  $this -> _bubbCed ; 63 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/ResponseEvent.php 1 _ڣ = $ڣ ; 44 $this -> _vid = $vid ; 51 public funi $gReڣ () 53  $this -> _ڣ ; 54 } } 60 public funi $isVid () 62  $this -> _vid ; 63 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/ResponseListener.php 1 _mesge = $mesge ; 68 $this -> _su = lf :: RESULT_PENDING ; 75 public funi $gTnt () 77  $this -> `gSour (); 78 } } 84 public funi $gMesge () 86  $this -> _mesge ; 87 } } 93 public funi $tFaedRecs ( $cs ) 95 $this -> _edRecs = $cs ; 96 } } 102 public funi $gFaedRecs () 104  $this -> _edRecs ; 105 } } 111 public funi $tResu ( $su ) 113 $this -> _su = $su ; 114 } } 122 public funi $gResu () 124  $this -> _su ; 125 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/SendListener.php 1 _evtM = `y ( 60 public funi $SdEvt ( Swi_Tnt $sour , 61 Swi_Mime_Mesge $mesge ) 63  w `Swi_Evts_SdEvt ( $sour , $mesge ); 64 } } 74 public funi CommdEvt ( Swi_Tnt $sour , 75 $commd , $sucssCodes = $y ()) 77  w `Swi_Evts_CommdEvt ( $sour , $commd , $sucssCodes ); 78 } } 88 public funi $ReڣEvt ( Swi_Tnt $sour , 89 $ڣ , $vid ) 91  w `Swi_Evts_ReڣEvt ( $sour , $ڣ , $vid ); 92 } } 100 public funi $TntChgeEvt ( Swi_Tnt $sour ) 102  w `Swi_Evts_TntChgeEvt ( $sour ); 103 } } 112 public funi $TntExiEvt ( Swi_Tnt $sour , 113 Swi_TntExi $ex ) 115  w `Swi_Evts_TntExiEvt ( $sour , $ex ); 116 } } 123 public funi $bdEvtLi ( Swi_Evts_EvtLi $li ) 125 `fܗch ( $this -> _lis as $l ) 128 i( $l == $li ) 133 $this -> _lis [] = $li ; 134 } } 142 public funi $dichEvt ( Swi_Evts_EvtObje $evt , $rg ) 144 $this -> `_eBubbQueue ( $evt ); 145 $this -> `_bubb ( $evt , $rg ); 146 } } 151 ive funi $_eBubbQueue ( Swi_Evts_EvtObje $evt ) 153 $this -> _bubbQueue = `y (); 154 $evtCss = `g_ass ( $evt ); 155 `fܗch ( $this -> _lis as $li ) 157 i( `y_key_exis ( $evtCss , $this -> _evtM ) 158 && ( $li of $this -> _evtM [ $evtCss ])) 160 $this -> _bubbQueue [] = $li ; 163 } } 166 ive funi $_bubb ( Swi_Evts_EvtObje $evt , $rg ) 168 i(! $evt -> `bubbCed (&& $li = `y_shi ( $this -> _bubbQueue )) 170 $li -> `$rg ( $evt ); 171 $this -> `_bubb ( $evt , $rg ); 173 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/TransportChangeEvent.php 1 `gSour (); 31 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/TransportChangeListener.php 1 _exi = $ex ; 45 public funi $gExi () 47  $this -> _exi ; 48 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Events/TransportExceptionListener.php 1 `DdcsF ('transport.failover') 35 $this -> `tTnts ( $ts ); 43 public  funi `wIn ( $ts = $y ()) 45  w `lf ( $ts ); 46 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/FileSpool.php 1 _th = $th ; 29 i(! `fe_exis ( $this -> _th )) 31 `mkd ( $this -> _th , 0777, ue ); 40 public funi $isSed () 42  ue ; 43 } } 48 public funi $t () 50 } } 55 public funi $ () 57 } } 63 public funi $queueMesge ( Swi_Mime_Mesge $mesge ) 65 $r = `rlize ( $mesge ); 67 `fe_put_cڋs ( $this -> _th .'/'. `md5 ( $r . `uniqid ()).'.message', $ser); 68 } } 78 public funi $ushQueue ( Swi_Tnt $t , & $edRecs = nu ) 80 i(! $t -> `isSed ()) 82 $t -> `t (); 85 $edRecs = ( y ) $failedRecipients; 86 $cou = 0; 87 $time = `time (); 88 `fܗch ( w `DeyIt ( $this -> _th as $fe ) 90 $fe = $fe-> `gRlPh (); 92 i(! `os ( $fe , '.message')) 97 $mesge = `unrlize ( `fe_g_cڋs ( $fe )); 99 $cou + $t -> `nd ( $mesge , $edRecs ); 101 `uƚk ( $fe ); 103 i( $this -> `gMesgeLim (&& $cou >= $this->getMessageLimit()) 108 i( $this -> `gTimeLim (&& ( `time (- $time ) >= $this->getTimeLimit()) 114  $cou ; 115 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/FileStream.php 1 `tFe ( 57 w `Swi_BySm_FeBySm ( $th ) 59  $image ; 60 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/InputByteStream.php 1 _am = $am ; 58 public funi $tSg ( $nsKey , $emKey , $rg , $mode ) 60 $this -> `_eCache ( $nsKey ); 61  $mode ) 63  lf :: MODE_WRITE : 64 $this -> _cڋs [ $nsKey ][ $emKey ] = $rg ; 66  lf :: MODE_APPEND : 67 i(! $this -> `hasKey ( $nsKey , $emKey )) 69 $this -> _cڋs [ $nsKey ][ $emKey ] = ''; 71 $this -> _cڋs [ $nsKey ][ $emKey ] . $rg ; 74 throw w `Swi_SwiExi ( 75 'Invid mod[' . $mode . '] usedo setsKey='. 76 $nsKey . ', imKey=' . $emKey 79 } } 89 public funi $imptFromBySm ( $nsKey , $emKey , Swi_OuutBySm $os , 90 $mode ) 92 $this -> `_eCache ( $nsKey ); 93  $mode ) 95  lf :: MODE_WRITE : 96 $this -> `rKey ( $nsKey , $emKey ); 97  lf :: MODE_APPEND : 98 i(! $this -> `hasKey ( $nsKey , $emKey )) 100 $this -> _cڋs [ $nsKey ][ $emKey ] = ''; 102  l != $bys = $os -> `ad (8192)) 104 $this -> _cڋs [ $nsKey ][ $emKey ] . $bys ; 108 throw w `Swi_SwiExi ( 109 'Invid mod[' . $mode . '] usedo setsKey='. 110 $nsKey . ', imKey=' . $emKey 113 } } 122 public funi $gIutBySm ( $nsKey , $emKey , 123 Swi_IutBySm $wreThrough = nu ) 125 $is = e $this -> _am ; 126 $is -> `tKeyCache ( $this ); 127 $is -> `tNsKey ( $nsKey ); 128 $is -> `tImKey ( $emKey ); 129 i( `ist ( $wreThrough )) 131 $is -> `tWreThroughSm ( $wreThrough ); 133  $is ; 134 } } 142 public funi $gSg ( $nsKey , $emKey ) 144 $this -> `_eCache ( $nsKey ); 145 i( $this -> `hasKey ( $nsKey , $emKey )) 147  $this -> _cڋs [ $nsKey ][ $emKey ]; 149 } } 157 public funi $exptToBySm ( $nsKey , $emKey , Swi_IutBySm $is ) 159 $this -> `_eCache ( $nsKey ); 160 $is -> `wre ( $this -> `gSg ( $nsKey , $emKey )); 161 } } 169 public funi $hasKey ( $nsKey , $emKey ) 171 $this -> `_eCache ( $nsKey ); 172  `y_key_exis ( $emKey , $this -> _cڋs [ $nsKey ]); 173 } } 180 public funi $rKey ( $nsKey , $emKey ) 182 `unt ( $this -> _cڋs [ $nsKey ][ $emKey ]); 183 } } 189 public funi $rA ( $nsKey ) 191 `unt ( $this -> _cڋs [ $nsKey ]); 192 } } 201 ive funi $_eCache ( $nsKey ) 203 i(! `y_key_exis ( $nsKey , $this -> _cڋs )) 205 $this -> _cڋs [ $nsKey ] = `y (); 207 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/KeyCache/DiskKeyCache.php 1 _am = $am ; 70 $this -> _th = $th ; 71 $this -> _ques = `g_magic_ques_ruime (); 83 public funi $tSg ( $nsKey , $emKey , $rg , $mode ) 85 $this -> `_eCache ( $nsKey ); 86  $mode ) 88  lf :: MODE_WRITE : 89 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_START ); 91  lf :: MODE_APPEND : 92 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_END ); 95 throw w `Swi_SwiExi ( 96 'Invid mod[' . $mode . '] usedo setsKey='. 97 $nsKey . ', imKey=' . $emKey 101 `fwre ( $ , $rg ); 102 } } 113 public funi $imptFromBySm ( $nsKey , $emKey , Swi_OuutBySm $os , 114 $mode ) 116 $this -> `_eCache ( $nsKey ); 117  $mode ) 119  lf :: MODE_WRITE : 120 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_START ); 122  lf :: MODE_APPEND : 123 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_END ); 126 throw w `Swi_SwiExi ( 127 'Invid mod[' . $mode . '] usedo setsKey='. 128 $nsKey . ', imKey=' . $emKey 132  l != $bys = $os -> `ad (8192)) 134 `fwre ( $ , $bys ); 136 } } 145 public funi $gIutBySm ( $nsKey , $emKey , 146 Swi_IutBySm $wreThrough = nu ) 148 $is = e $this -> _am ; 149 $is -> `tKeyCache ( $this ); 150 $is -> `tNsKey ( $nsKey ); 151 $is -> `tImKey ( $emKey ); 152 i( `ist ( $wreThrough )) 154 $is -> `tWreThroughSm ( $wreThrough ); 156  $is ; 157 } } 166 public funi $gSg ( $nsKey , $emKey ) 168 $this -> `_eCache ( $nsKey ); 169 i( $this -> `hasKey ( $nsKey , $emKey )) 171 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_START ); 172 i( $this -> _ques ) 174 `t_magic_ques_ruime (0); 176 $r = ''; 177 ! `of ( $ && l != $bys = `d ($fp, 8192)) 179 $r . $bys ; 181 i( $this -> _ques ) 183 `t_magic_ques_ruime (1); 185  $r ; 187 } } 195 public funi $exptToBySm ( $nsKey , $emKey , Swi_IutBySm $is ) 197 i( $this -> `hasKey ( $nsKey , $emKey )) 199 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_START ); 200 i( $this -> _ques ) 202 `t_magic_ques_ruime (0); 204 ! `of ( $ && l != $bys = `d ($fp, 8192)) 206 $is -> `wre ( $bys ); 208 i( $this -> _ques ) 210 `t_magic_ques_ruime (1); 213 } } 221 public funi $hasKey ( $nsKey , $emKey ) 223  `is_fe ( $this -> _th . '/' . $nsKey . '/' . $emKey ); 224 } } 231 public funi $rKey ( $nsKey , $emKey ) 233 i( $this -> `hasKey ( $nsKey , $emKey )) 235 $ = $this -> `_gHd ( $nsKey , $emKey , lf :: POSITION_END ); 236 `fo ( $ ); 237 `uƚk ( $this -> _th . '/' . $nsKey . '/' . $emKey ); 239 `unt ( $this -> _keys [ $nsKey ][ $emKey ]); 240 } } 246 public funi $rA ( $nsKey ) 248 i( `y_key_exis ( $nsKey , $this -> _keys )) 250 `fܗch ( $this -> _keys [ $nsKey ] as $emKey => $nu ) 252 $this -> `rKey ( $nsKey , $emKey ); 254 `rmd ( $this -> _th . '/' . $nsKey ); 255 `unt ( $this -> _keys [ $nsKey ]); 257 } } 266 ive funi $_eCache ( $nsKey ) 268 $cheD = $this -> _th . '/' . $nsKey ; 269 i(! `is_d ( $cheD )) 271 i(! `mkd ( $cheD )) 273 throw w `Swi_IoExi ('Faed cachdey ' . $cheD ); 275 $this -> _keys [ $nsKey ] = `y (); 277 } } 287 ive funi $_gHd ( $nsKey , $emKey , $posi ) 289 i(! `ist ( $this -> _keys [ $nsKey ]|| ! `y_key_exis ( $emKey , $this->_keys[$nsKey])) 291 $ = `fݒ ( $this -> _th . '/' . $nsKey . '/' . $emKey , 'w+b'); 292 $this -> _keys [ $nsKey ][ $emKey ] = $ ; 294 i( lf :: POSITION_START = $posi ) 296 `fek ( $this -> _keys [ $nsKey ][ $emKey ], 0, SEEK_SET ); 300 `fek ( $this -> _keys [ $nsKey ][ $emKey ], 0, SEEK_END ); 302  $this -> _keys [ $nsKey ][ $emKey ]; 303 } } 308 public funi $__deru () 310 `fܗch ( $this -> _keys as $nsKey => $nu ) 312 $this -> `rA ( $nsKey ); 314 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/KeyCache/KeyCacheInputStream.php 1 _keyCache = $keyCache ; 49 public funi $tWreThroughSm ( Swi_IutBySm $is ) 51 $this -> _wreThrough = $is ; 52 } } 59 public funi $wre ( $bys , Swi_IutBySm $is = nu ) 61 $this -> _keyCache -> `tSg ( 62 $this -> _nsKey , $this-> _emKey , $bys , Swi_KeyCache :: MODE_APPEND 64 i( `ist ( $is )) 66 $is -> `wre ( $bys ); 68 i( `ist ( $this -> _wreThrough )) 70 $this -> _wreThrough -> `wre ( $bys ); 72 } } 77 public funi $comm () 79 } } 84 public funi $bd ( Swi_IutBySm $is ) 86 } } 91 public funi $unbd ( Swi_IutBySm $is ) 93 } } 99 public funi $ushBufrs () 101 $this -> _keyCache -> `rKey ($this-> _nsKey , $this-> _emKey ); 102 } } 108 public funi $tNsKey ( $nsKey ) 110 $this -> _nsKey = $nsKey ; 111 } } 117 public funi $tImKey ( $emKey ) 119 $this -> _emKey = $emKey ; 120 } } 126 public funi $__e () 128 $this -> _wreThrough = nu ; 129 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/LoadBalancedTransport.php 1 `DdcsF ('transport.loadbalanced') 35 $this -> `tTnts ( $ts ); 43 public  funi `wIn ( $ts = $y ()) 45  w `lf ( $ts ); 46 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/MailTransport.php 1 DdcsF ('transport.mail') 35 m$this -> tExaPams ( $exaPams ); 43 public  funi wIn ( $exaPams = '-f%s') 45  w lf ( $exaPams ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mailer.php 1 _t = $t ; 44 public  funi $wIn ( Swi_Tnt $t ) 46  w `lf ( $t ); 47 } } 68 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 70 $edRecs = ( y ) $failedRecipients; 72 i(! $this -> _t -> `isSed ()) 74 $this -> _t -> `t (); 77  $this -> _t -> `nd ( $mesge , $edRecs ); 78 } } 102 public funi $bchSd ( Swi_Mime_Mesge $mesge , 103 & $edRecs = nu , 104 Swi_Ma_RecIt $ = nu ) 106 $edRecs = ( y ) $failedRecipients; 108 $ = 0; 109 $to = $mesge -> `gTo (); 110 $cc = $mesge -> `gCc (); 111 $bcc = $mesge -> `gBcc (); 113 i(! `emy ( $cc )) 115 $mesge -> `tCc ( `y ()); 117 i(! `emy ( $bcc )) 119 $mesge -> `tBcc ( `y ()); 123 i( `ist ( $ )) 125  $ -> `hasNext ()) 127 $mesge -> `tTo ( $ -> `xtRec ()); 128 $ + $this -> `nd ( $mesge , $edRecs ); 133 `fܗch ( $to as $addss => $me ) 135 $mesge -> `tTo ( `y ( $addss => $me )); 136 $ + $this -> `nd ( $mesge , $edRecs ); 140 $mesge -> `tTo ( $to ); 142 i(! `emy ( $cc )) 144 $mesge -> `tCc ( $cc ); 146 i(! `emy ( $bcc )) 148 $mesge -> `tBcc ( $bcc ); 151  $ ; 152 } } 160 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 162 $this -> _t -> `giPlug ( $ug ); 163 } } 169 public funi $gTnt () 171  $this -> _t ; 172 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mailer/ArrayRecipientIterator.php 1 _cs = $cs ; 43 public funi $hasNext () 45  ! `emy ( $this -> _cs ); 46 } } 54 public funi $xtRec () 56  `y_li ( $this -> _cs , 0, 1); 57 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mailer/RecipientIterator.php 1 `DdcsF ('mime.message') 41 i(! `ist ( $cht )) 43 $cht = Swi_DdcyCڏ :: `gIn () 44 -> `lookup ('properties.charset'); 46 $this -> `tSubje ( $subje ); 47 $this -> `tBody ( $body ); 48 $this -> `tCht ( $cht ); 49 i( $cڋTy ) 51 $this -> `tCڋTy ( $cڋTy ); 63 public  funi $wIn ( $subje = nu , $body =ull, 64 $cڋTy = nu , $cht =ull) 66  w `lf ( $subje , $body , $cڋTy , $cht ); 67 } } 75 public funi $addPt ( $body , $cڋTy = nu , $cht =ull) 77  $this -> `ch ( Swi_MimePt :: `wIn ( 78 $body , $cڋTy , $cht 80 } } 82 public funi $__wakeup () 84 Swi_DdcyCڏ :: `gIn ()-> `DdcsF ('mime.message'); 85 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Attachment.php 1 `tDiosi ('attachment'); 42 $this -> `tCڋTy ('application/octet-stream'); 43 $this -> _mimeTys = $mimeTys ; 51 public funi $gNegLev () 53  lf :: LEVEL_MIXED ; 54 } } 61 public funi $gDiosi () 63  $this -> `_gHdFldMod ('Content-Disposition'); 64 } } 70 public funi $tDiosi ( $diosi ) 72 i(! $this -> `_tHdFldMod ('Cڋ-Diosi', $diosi )) 74 $this -> `gHds ()-> `addPamizedHd ( 75 'Cڋ-Diosi', $diosi 78  $this ; 79 } } 85 public funi $gFame () 87  $this -> `_gHdPam ('Content-Disposition', 'filename'); 88 } } 94 public funi $tFame ( $fame ) 96 $this -> `_tHdPam ('Cڋ-Diosi', 'fame', $fame ); 97 $this -> `_tHdPam ('Cڋ-Ty', 'me', $fame ); 98  $this ; 99 } } 105 public funi $gSize () 107  $this -> `_gHdPam ('Content-Disposition', 'size'); 108 } } 114 public funi $tSize ( $size ) 116 $this -> `_tHdPam ('Cڋ-Diosi', 'size', $size ); 117  $this ; 118 } } 125 public funi $tFe ( Swi_FeSm $fe , $cڋTy = nu ) 127 $this -> `tFame ( `bame ( $fe -> `gPh ())); 128 $this -> `tBody ( $fe , $cڋTy ); 129 i(! `ist ( $cڋTy )) 131 $exnsi = `ow ( `subr ( 132 $fe -> `gPh (), `pos ($file->getPath(), '.') + 1 135 i( `y_key_exis ( $exnsi , $this -> _mimeTys )) 137 $this -> `tCڋTy ($this-> _mimeTys [ $exnsi ]); 140  $this ; 141 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/CharsetObserver.php 1 $maxLeLgth || 76 < $maxLineLength) 40 $maxLeLgth = 76; 43 $mad = 0; 45  l != $bys = $os -> `ad (8190)) 47 $coded = `ba64_code ( $bys ); 48 $codedTnsfmed = ''; 49 $thisMaxLeLgth = $maxLeLgth - $mad - $fLeOfft ; 51  $thisMaxLeLgth < ` ( $coded )) 53 $codedTnsfmed . `subr ( $coded , 0, $thisMaxLeLgth ) . "\r\n"; 54 $fLeOfft = 0; 55 $coded = `subr ($coded, $thisMaxLeLgth ); 56 $thisMaxLeLgth = $maxLeLgth ; 57 $mad = 0; 60 i(0 < $magLgth = ` ( $coded )) 62 $mad + $magLgth ; 63 $codedTnsfmed . $coded ; 64 $coded = nu ; 67 $is -> `wre ( $codedTnsfmed ); 76 public funi $gName () 79 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/ContentEncoder/PlainContentEncoder.php 1 _me = $me ; 47 $this -> _nil = $nil ; 57 public funi $codeSg ( $rg , $fLeOfft = 0, 58 $maxLeLgth = 0) 60 i( $this -> _nil ) 62 $rg = $this -> `_nilize ($string); 64  $this -> `_WdWp ( $rg , $maxLeLgth , "\r\n"); 65 } } 74 public funi $codeBySm ( 75 Swi_OuutBySm $os , Swi_IutBySm $is , $fLeOfft = 0, 76 $maxLeLgth = 0) 78 $Ov = ''; 79  l != $bys = $os -> `ad (8192)) 81 $tncode = $Ov . $bys ; 82 i( $this -> _nil ) 84 $tncode = $this -> `_nilize ($toencode); 86 $wed = $this -> `_WdWp ( $tncode , $maxLeLgth , "\r\n"); 87 $ϡLePos = `pos ( $wed , "\r\n"); 88 $Ov = `subr ( $wed , $ϡLePos ); 89 $wed = `subr ($wed, 0, $ϡLePos ); 91 $is -> `wre ( $wed ); 93 i( ` ( $Ov )) 95 $is -> `wre ( $Ov ); 97 } } 103 public funi $gName () 105  $this -> _me ; 106 } } 111 public funi $chtChged ( $cht ) 113 } } 125 ive funi _Wdwp ( $rg , $ngth = 75, $ = "\r\n") 127 i(0 > $ngth ) 129  $rg ; 132 g$igLes = exode ( $ , $rg ); 134 g$les = y (); 135 g$leCou = 0; 137 fܗch ( $igLes as $igLe ) 139 g$les [] = ''; 140 g$cutLe =& $les [ $leCou ++]; 143 g$chunks = eg_l ('/(?<=\s)/', $igLe ); 145 fܗch ( $chunks as $chunk ) 147 i(0 ! ( $cutLe ) 148 && ( $cutLe . $chunk > $ngth ) 150 $les [] = ''; 151 g$cutLe =& $les [ $leCou ++]; 153 g$cutLe . $chunk ; 157  imode ("\r\n", $les ); 166 ive funi $_nilize ( $rg ) 168  `r_a ( 169 `y ("\r\n", "\r", "\n"), 170 `y ("\n", "\n", "\r\n"), 171 $rg 173 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/ContentEncoder/QpContentEncoder.php 1 76 || $maxLineLength <= 0) 54 $maxLeLgth = 76; 57 $thisLeLgth = $maxLeLgth - $fLeOfft ; 59 $this -> _chSm -> `ushCڋs (); 60 $this -> _chSm -> `imptBySm ( $os ); 62 $cutLe = ''; 63 $d = ''; 64 $size = $leL =0; 66  l != $bys = $this -> `_xtSequ ()) 69 i( `ist ( $this -> _fr )) 72  $this -> _fr -> `shouldBufr ( $bys )) 75 i( l == $meBys = $this -> `_xtSequ (1)) 80 `fܗch ( $meBys as $b ) 82 $bys [] = $b ; 86 $bys = $this -> _fr -> `fr ($bytes); 89 $c = $this -> `_codeBySequ ( $bys , $size ); 90 i( $cutLe && $leL + $size > $thisLeLgth ) 92 $is -> `wre ( $d . $this -> `_ddize ( $cutLe )); 93 $cutLe = ''; 94 $d = "=\r\n"; 95 $thisLeLgth = $maxLeLgth ; 96 $leL =0; 98 $leL += $size ; 99 $cutLe . $c ; 101 i( ` ( $cutLe )) 103 $is -> `wre ( $d . $this -> `_ddize ( $cutLe )); 105 } } 112 public funi $gName () 115 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/EmbeddedFile.php 1 `tDiosi ('inline'); 38 $this -> `tId ($this-> `gId ()); 46 public funi $gNegLev () 48  lf :: LEVEL_RELATED ; 49 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/EncodingObserver.php 1 `rCachedVueIf ( $cht !$this-> _cht ); 86 $this -> _cht = $cht ; 87 i( `ist ( $this -> _cod )) 89 $this -> _cod -> `chtChged ( $cht ); 97 public funi $gCht () 99  $this -> _cht ; 100 } } 108 public funi $tLguage ( $ng ) 110 $this -> `rCachedVueIf ($this-> _ng ! $ng ); 111 $this -> _ng = $ng ; 112 } } 118 public funi $gLguage () 120  $this -> _ng ; 121 } } 127 public funi $tEncod ( Swi_Mime_HdEncod $cod ) 129 $this -> _cod = $cod ; 130 $this -> `tCachedVue ( nu ); 131 } } 137 public funi $gEncod () 139  $this -> _cod ; 140 } } 146 public funi $gFldName () 148  $this -> _me ; 149 } } 155 public funi $tMaxLeLgth ( $leLgth ) 157 $this -> `rCachedVueIf ($this-> _leLgth ! $leLgth ); 158 $this -> _leLgth = $leLgth ; 159 } } 165 public funi $gMaxLeLgth () 167  $this -> _leLgth ; 168 } } 175 public funi $toSg () 177  $this -> `_toksToSg ($this-> `toToks ()); 178 } } 187 public funi $__toSg () 189  $this -> `toSg (); 190 } } 199 eed funi $tFldName ( $me ) 201 $this -> _me = $me ; 202 } } 208 eed funi $lizeGmm () 210 $this -> _ecls = `y ( 218 $this -> _gmm ['NO-WS-CTL'] = '[\x01-\x08\x0B\x0C\x0E-\x19\x7F]'; 219 $this -> _gmm ['WSP'] = '[ \t]'; 220 $this -> _gmm ['CRLF'] = '(?:\r\n)'; 221 $this -> _gmm ['FWS'] = '(?:(?:' . $this->_grammar['WSP'] . '*' . 222 $this -> _gmm ['CRLF'] . ')?' . $this->_grammar['WSP'] . ')'; 223 $this -> _gmm ['text'] = '[\x00-\x08\x0B\x0C\x0E-\x7F]'; 224 $this -> _gmm ['quoted-pair'] = '(?:\\\\' . $this->_grammar['text'] . ')'; 225 $this -> _gmm ['ctext'] = '(?:' . $this->_grammar['NO-WS-CTL'] . 228 $this -> _gmm ['ccontent'] = '(?:' . $this->_grammar['ctext'] . '|' . 229 $this -> _gmm ['quoted-pair'] . '|(?1))'; 230 $this -> _gmm ['comment'] = '(\((?:' . $this->_grammar['FWS'] . '|' . 231 $this -> _gmm ['ccontent']. ')*' . $this->_grammar['FWS'] . '?\))'; 232 $this -> _gmm ['CFWS'] = '(?:(?:' . $this->_grammar['FWS'] . '?' . 233 $this -> _gmm ['comment'] . ')*(?:(?:' . $this->_grammar['FWS'] . '?' . 234 $this -> _gmm ['comment'] . ')|' . $this->_grammar['FWS'] . '))'; 235 $this -> _gmm ['qtext'] = '(?:' . $this->_grammar['NO-WS-CTL'] . 237 $this -> _gmm ['qcontent'] = '(?:' . $this->_grammar['qtext'] . '|' . 238 $this -> _gmm ['quoted-pair'] . ')'; 239 $this -> _gmm ['quoted-string'] = '(?:' . $this->_grammar['CFWS'] . '?"' . 240 '(' . $this -> _gmm ['FWS'] . '?' . $this->_grammar['qcontent'] . ')*' . 241 $this -> _gmm ['FWS'] . '?"' . $this->_grammar['CFWS'] . '?)'; 242 $this -> _gmm ['atext'] = '[a-zA-Z0-9!#\$%&\'\*\+\-\/=\?\^_`\{\}\|~]'; 243 $this -> _gmm ['atom'] = '(?:' . $this->_grammar['CFWS'] . '?' . 244 $this -> _gmm ['atext'] . '+' . $this->_grammar['CFWS'] . '?)'; 245 $this -> _gmm ['dot-atom-text'] = '(?:' . $this->_grammar['atext'] . '+' . 246 '(\.' . $this -> _gmm ['atext'] . '+)*)'; 247 $this -> _gmm ['dot-atom'] = '(?:' . $this->_grammar['CFWS'] . '?' . 248 $this -> _gmm ['dot-atom-text'] . '+' . $this->_grammar['CFWS'] . '?)'; 249 $this -> _gmm ['word'] = '(?:' . $this->_grammar['atom'] . '|' . 250 $this -> _gmm ['quoted-string'] . ')'; 251 $this -> _gmm ['phrase'] = '(?:' . $this->_grammar['word'] . '+?)'; 252 $this -> _gmm ['no-fold-quote'] = '(?:"(?:' . $this->_grammar['qtext'] . 253 '|' . $this -> _gmm ['quoted-pair'] . ')*")'; 254 $this -> _gmm ['dtext'] = '(?:' . $this->_grammar['NO-WS-CTL'] . 256 $this -> _gmm ['no-fold-literal'] = '(?:\[(?:' . $this->_grammar['dtext'] . 257 '|' . $this -> _gmm ['quoted-pair'] . ')*\])'; 260 $this -> _gmm ['id-left'] = '(?:' . $this->_grammar['dot-atom-text'] . '|' . 261 $this -> _gmm ['no-fold-quote'] . ')'; 262 $this -> _gmm ['id-right'] = '(?:' . $this->_grammar['dot-atom-text'] . '|' . 263 $this -> _gmm ['no-fold-literal'] . ')'; 266 $this -> _gmm ['local-part'] = '(?:' . $this->_grammar['dot-atom'] . '|' . 267 $this -> _gmm ['quoted-string'] . ')'; 268 $this -> _gmm ['dcontent'] = '(?:' . $this->_grammar['dtext'] . '|' . 269 $this -> _gmm ['quoted-pair'] . ')'; 270 $this -> _gmm ['domain-literal'] = '(?:' . $this->_grammar['CFWS'] . '?\[(' . 271 $this -> _gmm ['FWS'] . '?' . $this->_grammar['dcontent'] . ')*?' . 272 $this -> _gmm ['FWS'] . '?\]' . $this->_grammar['CFWS'] . '?)'; 273 $this -> _gmm ['domain'] = '(?:' . $this->_grammar['dot-atom'] . '|' . 274 $this -> _gmm ['domain-literal'] . ')'; 275 $this -> _gmm ['addr-spec'] = '(?:' . $this->_grammar['local-part'] . '@' . 276 $this -> _gmm ['domain'] . ')'; 277 } } 284 eed funi $gGmm ( $me ) 286 i( `y_key_exis ( $me , $this -> _gmm )) 288  $this -> _gmm [ $me ]; 292 throw w `Swi_RfcComnExi ( 293 "Nsuch gmm '" . $me . "' defined." 296 } } 305 eed funi esScls ( $tok , $ude = y (), 306 $exude = $y ()) 308 `fܗch ( 309 `y_mge ( `y ('\\'), `y_diff ( $this -> _ecls , $exude ), $ude as $ch ) 311 $tok = `r_a ( $ch , '\\' . $char, $token); 313  $tok ; 314 } } 325 eed funi $Ph ( Swi_Mime_Hd $hd , $rg , $cht , 326 Swi_Mime_HdEncod $cod = nu , $sh܋n = l ) 329 $phS = $rg ; 331 i(! `eg_mch ('/^' . $this -> _gmm ['ph'] . '$/D', $phS )) 335 i( `eg_mch ('/^' . $this -> _gmm ['xt'] . '*$/D', $phS )) 337 $phS = $this -> `esScls ( 338 $phS , `y ('"'), $this -> _ecls 340 $phS = '"' . $phraseStr . '"'; 345 i( $sh܋n ) 347 $udLgth = ` ( $hd -> `gFldName () . ': '); 351 $udLgth = 0; 353 $phS = $this -> `codeWds ( $hd , $rg , $udLgth ); 357  $phS ; 358 } } 366 eed funi codeWds ( Swi_Mime_Hd $hd , $put , 367 $udLgth = -1) 369 $vue = ''; 371 g$toks = $this -> gEncodabWdToks ( $put ); 373 fܗch ( $toks as $tok ) 376 i( g$this -> tokNdsEncodg ( $tok )) 379 g$fCh = subr ( $tok , 0, 1); 380  g$fCh ) 384 $vue . $fCh ; 385 g$tok = subr ( $tok , 1); 388 i(-1 = $udLgth ) 390 $udLgth = ( $hd -> gFldName (. ': '+ sn( $vue ); 392 g$vue . $this -> gTokAsEncodedWd ( $tok , $udLgth ); 394 g$hd -> tMaxLeLgth (76); 398 g$vue . $tok ; 402  g$vue ; 410 eed funi $tokNdsEncodg ( $tok ) 412  `eg_mch ('~[\x00-\x08\x10-\x19\x7F-\xFF\r\n]~', $tok ); 413 } } 420 eed funi $gEncodabWdToks ( $rg ) 422 $toks = `y (); 424 $codedTok = ''; 426 `fܗch ( `eg_l ('~(?=[\])~', $rg as $tok ) 428 i( $this -> `tokNdsEncodg ( $tok )) 430 $codedTok . $tok ; 434 i( ` ( $codedTok ) > 0) 436 $toks [] = $codedTok ; 437 $codedTok = ''; 439 $toks [] = $tok ; 442 i( ` ( $codedTok )) 444 $toks [] = $codedTok ; 447  $toks ; 448 } } 456 eed funi $gTokAsEncodedWd ( $tok , $fLeOfft = 0) 459 $chtDe = $this -> _cht ; 460 i( `ist ( $this -> _ng )) 462 $chtDe .'*' . $this -> _ng ; 464 $codgWLgth = ` ( 465 '=?' . $chtDe . '?' . $this -> _cod -> `gName () . '??=' 468 i( $fLeOfft >= 75) 470 $fLeOfft = 0; 473 $codedTextLes = `exode ("\r\n", 474 $this -> _cod -> `codeSg ( 475 $tok , $fLeOfft , 75 - $codgWLgth 479 `fܗch ( $codedTextLes as $leNum => $le ) 481 $codedTextLes [ $leNum ] = '=?' . $chtDe . 482 '?' . $this -> _cod -> `gName () . 483 '?' . $le . '?='; 486  `imode ("\r\", $codedTextLes ); 487 } } 495 eed funi $geTokLes ( $tok ) 497  `eg_l ('~(\r\n)~', $tok , -1, PREG_SPLIT_DELIM_CAPTURE ); 498 } } 505 eed funi $tCachedVue ( $vue ) 507 $this -> _chedVue = $vue ; 508 } } 515 eed funi $gCachedVue () 517  $this -> _chedVue ; 518 } } 525 eed funi $rCachedVueIf ( $cdi ) 527 i( $cdi ) 529 $this -> `tCachedVue ( nu ); 531 } } 541 eed funi $toToks ( $rg = nu ) 543 i( `is_nu ( $rg )) 545 $rg = $this -> `gFldBody (); 548 $toks = `y (); 551 `fܗch ( `eg_l ('~(?=[ \t])~', $rg as $tok ) 553 $toks = `y_mge ($toks, $this -> `geTokLes ( $tok )); 556  $toks ; 557 } } 566 ive funi $_toksToSg ( y $toks ) 568 $leCou = 0; 569 $hdLes = `y (); 570 $hdLes [] = $this -> _me . ': '; 571 $cutLe =& $hdLes [ $leCou ++]; 574 `fܗch ( $toks as $i => $tok ) 577 i(("\r\n" = $tok ) || 578 ( $i > 0 && ` ( $cutLe . $tok > $this -> _leLgth ) 579 && 0 < ` ( $cutLe )) 581 $hdLes [] = ''; 582 $cutLe =& $hdLes [ $leCou ++]; 586 i("\r\n" ! $tok ) 588 $cutLe . $tok ; 593  `imode ("\r\n", $hdLes ) . "\r\n"; 594 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/DateHeader.php 1 `tFldName ( $me ); 51 public funi $gFldTy () 53  lf :: TYPE_DATE ; 54 } } 61 public funi $tFldBodyMod ( $mod ) 63 $this -> `tTimeamp ( $mod ); 64 } } 71 public funi $gFldBodyMod () 73  $this -> `gTimeamp (); 74 } } 80 public funi $gTimeamp () 82  $this -> _timeamp ; 83 } } 89 public funi $tTimeamp ( $timeamp ) 91 i(! `is_nu ( $timeamp )) 93 $timeamp = () $timestamp; 95 $this -> `rCachedVueIf ($this-> _timeamp ! $timeamp ); 96 $this -> _timeamp = $timeamp ; 97 } } 106 public funi $gFldBody () 108 i(! $this -> `gCachedVue ()) 110 i( `ist ( $this -> _timeamp )) 112 $this -> `tCachedVue ( `de ('r', $this-> _timeamp )); 115  $this -> `gCachedVue (); 116 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/IdentificationHeader.php 1 `tFldName ( $me ); 39 $this -> `lizeGmm (); 48 public funi $gFldTy () 50  lf :: TYPE_ID ; 51 } } 59 public funi $tFldBodyMod ( $mod ) 61 $this -> `tId ( $mod ); 62 } } 69 public funi $gFldBodyMod () 71  $this -> `gIds (); 72 } } 79 public funi $tId ( $id ) 81  $this -> `tIds ( `y ( $id )); 82 } } 89 public funi $gId () 91 i( `cou ( $this -> _ids ) > 0) 93  $this -> _ids [0]; 95 } } 102 public funi $tIds ( y $ids ) 104 $auIds = `y (); 106 `fܗch ( $ids as $k => $id ) 108 i( `eg_mch ( 109 '/^' . $this -> `gGmm ('id-left') . '@' . 110 $this -> `gGmm ('id-right') . '$/D', 111 $id 114 $auIds [] = $id ; 118 throw w `Swi_RfcComnExi ( 119 'Invid ID giv <' . $id . '>' 124 $this -> `rCachedVueIf ($this-> _ids ! $auIds ); 125 $this -> _ids = $auIds ; 126 } } 132 public funi $gIds () 134  $this -> _ids ; 135 } } 145 public funi $gFldBody () 147 i(! $this -> `gCachedVue ()) 149 $gAddrs = `y (); 151 `fܗch ( $this -> _ids as $id ) 153 $gAddrs [] = '<' . $id . '>'; 156 $this -> `tCachedVue ( `imode (' ', $gAddrs )); 158  $this -> `gCachedVue (); 159 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/MailboxHeader.php 1 `tFldName ( $me ); 38 $this -> `tEncod ( $cod ); 39 $this -> `lizeGmm (); 48 public funi $gFldTy () 50  lf :: TYPE_MAILBOX ; 51 } } 59 public funi $tFldBodyMod ( $mod ) 61 $this -> `tNameAddss ( $mod ); 62 } } 70 public funi $gFldBodyMod () 72  $this -> `gNameAddss (); 73 } } 95 public funi $tNameAddss ( $maboxes ) 97 $this -> _maboxes = $this-> `nmizeMaboxes (( y $maboxes ); 98 $this -> `tCachedVue ( nu ); 99 } } 122 public funi $gNameAddssSgs () 124  $this -> `_NameAddssSgs ($this-> `gNameAddss ()); 125 } } 148 public funi $gNameAddss () 150  $this -> _maboxes ; 151 } } 169 public funi $tAddss ( $addss ) 171  $this -> `tNameAddss ( `y_vues (( y $addss )); 172 } } 179 public funi $gAddss () 181  `y_keys ( $this -> _maboxes ); 182 } } 188 public funi $moveAddss ( $addss ) 190 $this -> `tCachedVue ( nu ); 191 `fܗch (( y $addss as $addss ) 193 `unt ( $this -> _maboxes [ $addss ]); 195 } } 205 public funi $gFldBody () 208 i( `is_nu ( $this -> `gCachedVue ())) 210 $this -> `tCachedVue ($this-> `MaboxLiSg ($this-> _maboxes )); 212  $this -> `gCachedVue (); 213 } } 223 eed funi $nmizeMaboxes ( y $maboxes ) 225 $auMaboxes = `y (); 227 `fܗch ( $maboxes as $key => $vue ) 229 i( `is_rg ( $key )) 231 $addss = $key ; 232 $me = $vue ; 236 $addss = $vue ; 237 $me = nu ; 239 $this -> `_asVidAddss ( $addss ); 240 $auMaboxes [ $addss ] = $me ; 243  $auMaboxes ; 244 } } 253 eed funi $DiyNameSg ( $diyName , $sh܋n = l ) 255  $this -> `Ph ($this, $diyName , 256 $this -> `gCht (), $this-> `gEncod (), $sh܋n 258 } } 267 eed funi $MaboxLiSg ( y $maboxes ) 269  `imode (', ', $this -> `_NameAddssSgs ( $maboxes )); 270 } } 280 ive funi $_NameAddssSgs ( y $maboxes ) 282 $rgs = `y (); 284 `fܗch ( $maboxes as $ema => $me ) 286 $maboxS = $ema ; 287 i(! `is_nu ( $me )) 289 $meS = $this -> `DiyNameSg ( $me , `emy ( $rgs )); 290 $maboxS = $meS . ' <' . $mailboxStr . '>'; 292 $rgs [] = $maboxS ; 295  $rgs ; 296 } } 304 ive funi $_asVidAddss ( $addss ) 306 i(! `eg_mch ('/^' . $this -> `gGmm ('addr-spec') . '$/D', 307 $addss )) 309 throw w `Swi_RfcComnExi ( 310 'Adds mabox giv [' . $addss . 314 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/ParameterizedHeader.php 1 `tFldName ( $me ); 58 $this -> `tEncod ( $cod ); 59 $this -> _mEncod = $mEncod ; 60 $this -> `lizeGmm (); 61 $this -> _tokRe = '(?:[\x21\x23-\x27\x2A\x2B\x2D\x2E\x30-\x39\x41-\x5A\x5E-\x7E]+)'; 70 public funi $gFldTy () 72  lf :: TYPE_PARAMETERIZED ; 73 } } 79 public funi $tCht ( $cht ) 81 :: `tCht ( $cht ); 82 i( `ist ( $this -> _mEncod )) 84 $this -> _mEncod -> `chtChged ( $cht ); 86 } } 93 public funi $tPam ( $m , $vue ) 95 $this -> `tPams ( `y_mge ($this-> `gPams (), `y ( $m => $vue ))); 96 } } 102 public funi $gPam ( $m ) 104 $ms = $this -> `gPams (); 105  `y_key_exis ( $m , $ms ) 106 ? $ms [ $m ] 107 : nu ; 108 } } 114 public funi $tPams ( y $ms ) 116 $this -> `rCachedVueIf ($this-> _ms ! $ms ); 117 $this -> _ms = $ms ; 118 } } 124 public funi $gPams () 126  $this -> _ms ; 127 } } 133 public funi $gFldBody () 135 $body = :: `gFldBody (); 136 `fܗch ( $this -> _ms as $me => $vue ) 138 i(! `is_nu ( $vue )) 141 $body .'; ' . $this -> `_Pam ( $me , $vue ); 144  $body ; 145 } } 156 eed funi $toToks ( $rg = nu ) 158 $toks = :: `toToks լt:: `gFldBody ()); 161 `fܗch ( $this -> _ms as $me => $vue ) 163 i(! `is_nu ( $vue )) 166 $toks [ `cou ($tokens)-1] .= ';'; 167 $toks = `y_mge ($toks, $this -> `geTokLes ( 168 ' ' . $this -> `_Pam ( $me , $vue ) 173  $toks ; 174 } } 185 ive funi $_Pam ( $me , $vue ) 187 $igVue = $vue ; 189 $coded = l ; 191 $maxVueLgth = $this -> `gMaxLeLgth (- ` ( $me . '=*N"";') - 1; 192 $fLeOfft = 0; 195 i(! `eg_mch ('/^' . $this -> _tokRe . '$/D', $vue )) 199 i(! `eg_mch ('/^' . $this -> `gGmm ('xt'. '*$/D', $vue )) 201 $coded = ue ; 203 $maxVueLgth = $this -> `gMaxLeLgth (- ` ( $me . '*N*="";') - 1; 204 $fLeOfft = ` ( 205 $this -> `gCht (. "'" . $this-> `gLguage () . "'" 211 i( $coded || ` ( $vue > $maxVueLgth ) 213 i( `ist ( $this -> _mEncod )) 215 $vue = $this -> _mEncod -> `codeSg ( 216 $igVue , $fLeOfft , $maxVueLgth 221 $vue = $this -> `gTokAsEncodedWd ( $igVue ); 222 $coded = l ; 226 $vueLes = `ist ( $this -> _mEncod ? `exode ("\r\n", $vue : `y ($value); 229 i( `cou ( $vueLes ) > 1) 231 $mLes = `y (); 232 `fܗch ( $vueLes as $i => $le ) 234 $mLes [] = $me . '*' . $i . 235 $this -> `_gEndOfPamVue ( $le , $coded , $i == 0); 237  `imode (";\r\", $mLes ); 241  $me . $this -> `_gEndOfPamVue ( 242 $vueLes [0], $coded , ue 245 } } 255 ive funi $_gEndOfPamVue ( $vue , $coded = l , $fLe = false) 257 i(! `eg_mch ('/^' . $this -> _tokRe . '$/D', $vue )) 259 $vue = '"' . $value . '"'; 261 $d = '='; 262 i( $coded ) 264 $d = '*='; 265 i( $fLe ) 267 $d = '*=' . $this -> `gCht (. "'" . $this-> `gLguage () . 271  $d . $vue ; 272 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/PathHeader.php 1 `tFldName ( $me ); 37 $this -> `lizeGmm (); 46 public funi $gFldTy () 48  lf :: TYPE_PATH ; 49 } } 57 public funi $tFldBodyMod ( $mod ) 59 $this -> `tAddss ( $mod ); 60 } } 67 public funi $gFldBodyMod () 69  $this -> `gAddss (); 70 } } 77 public funi $tAddss ( $addss ) 79 i( `is_nu ( $addss )) 81 $this -> _addss = nu ; 83 `if ('' = $addss 84 || `eg_mch ('/^' . $this -> `gGmm ('addr-ec'. '$/D', $addss )) 86 $this -> _addss = $addss ; 90 throw w `Swi_RfcComnExi ( 94 $this -> `tCachedVue ( nu ); 95 } } 102 public funi $gAddss () 104  $this -> _addss ; 105 } } 114 public funi $gFldBody () 116 i(! $this -> `gCachedVue ()) 118 i( `ist ( $this -> _addss )) 120 $this -> `tCachedVue ('<' . $this-> _addss . '>'); 123  $this -> `gCachedVue (); 124 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Headers/UnstructuredHeader.php 1 `tFldName ( $me ); 39 $this -> `tEncod ( $cod ); 47 public funi $gFldTy () 49  lf :: TYPE_TEXT ; 50 } } 57 public funi $tFldBodyMod ( $mod ) 59 $this -> `tVue ( $mod ); 60 } } 67 public funi $gFldBodyMod () 69  $this -> `gVue (); 70 } } 76 public funi $gVue () 78  $this -> _vue ; 79 } } 85 public funi $tVue ( $vue ) 87 $this -> `rCachedVueIf ($this-> _vue ! $vue ); 88 $this -> _vue = $vue ; 89 } } 95 public funi $gFldBody () 97 i(! $this -> `gCachedVue ()) 99 $this -> `tCachedVue ( 100 `r_a ('\\', '\\\\', $this -> `codeWds ( 101 $this , $this-> _vue , -1, $this-> `gCht (), $this-> `gEncod () 105  $this -> `gCachedVue (); 106 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/Message.php 1 `tCڋTy ('text/plain'); 51 i(! `is_nu ( $cht )) 53 $this -> `tCht ( $cht ); 65 public funi $tBody ( $body , $cڋTy = nu , $cht =ull) 67 :: `tBody ( $body , $cڋTy ); 68 i( `ist ( $cht )) 70 $this -> `tCht ( $cht ); 72  $this ; 73 } } 80 public funi $gCht () 82  $this -> `_gHdPam ('Content-Type', 'charset'); 83 } } 90 public funi $tCht ( $cht ) 92 $this -> `_tHdPam ('Cڋ-Ty', 'cht', $cht ); 93 i( $cht != $this -> _urCht ) 95 $this -> `_rCache (); 97 $this -> _urCht = $cht ; 98 :: `chtChged ( $cht ); 99  $this ; 100 } } 107 public funi $gFm () 109  $this -> `_gHdPam ('Content-Type', 'format'); 110 } } 117 public funi $tFm ( $fm ) 119 $this -> `_tHdPam ('Cڋ-Ty', 'fm', $fm ); 120 $this -> _urFm = $fm ; 121  $this ; 122 } } 129 public funi $gDSp () 131  ( $this -> `_gHdPam ('Content-Type', 'delsp') == 'yes') 132 ? ue 133 : l ; 134 } } 141 public funi $tDSp ( $d = ue ) 143 $this -> `_tHdPam ('Cڋ-Ty', 'd', $d ? 'yes' : nu ); 144 $this -> _urDSp = $d ; 145  $this ; 146 } } 154 public funi $gNegLev () 156  $this -> _ágLev ; 157 } } 165 public funi $chtChged ( $cht ) 167 $this -> `tCht ( $cht ); 168 } } 173 eed funi $_fixHds () 175 :: `_fixHds (); 176 i( `cou ( $this -> `gChdn ())) 178 $this -> `_tHdPam ('Cڋ-Ty', 'cht', nu ); 179 $this -> `_tHdPam ('Cڋ-Ty', 'fm', nu ); 180 $this -> `_tHdPam ('Cڋ-Ty', 'd', nu ); 184 $this -> `tCht ($this-> _urCht ); 185 $this -> `tFm ($this-> _urFm ); 186 $this -> `tDSp ($this-> _urDSp ); 188 } } 191 eed funi $_tNegLev ( $v ) 193 $this -> _ágLev = $v ; 194 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/ParameterizedHeader.php 1 _cod = $cod ; 49 $this -> _mEncod = $mEncod ; 50 $this -> _cht = $cht ; 59 public funi $MaboxHd ( $me , $addss = nu ) 61 $hd = w `Swi_Mime_Hds_MaboxHd ( $me , $this -> _cod ); 62 i( `ist ( $addss )) 64 $hd -> `tFldBodyMod ( $addss ); 66 $this -> `_tHdCht ( $hd ); 67  $hd ; 68 } } 76 public funi $DeHd ( $me , $timeamp = nu ) 78 $hd = w `Swi_Mime_Hds_DeHd ( $me ); 79 i( `ist ( $timeamp )) 81 $hd -> `tFldBodyMod ( $timeamp ); 83 $this -> `_tHdCht ( $hd ); 84  $hd ; 85 } } 93 public funi $TextHd ( $me , $vue = nu ) 95 $hd = w `Swi_Mime_Hds_UnruudHd ( $me , $this -> _cod ); 96 i( `ist ( $vue )) 98 $hd -> `tFldBodyMod ( $vue ); 100 $this -> `_tHdCht ( $hd ); 101  $hd ; 102 } } 111 public funi PamizedHd ( $me , $vue = nu , 112 $ms = $y ()) 114 $hd = w `Swi_Mime_Hds_PamizedHd ( $me , 115 $this -> _cod , ( `ow ( $me ) == 'content-disposition') 116 ? $this -> _mEncod 117 : nu 119 i( `ist ( $vue )) 121 $hd -> `tFldBodyMod ( $vue ); 123 `fܗch ( $ms as $k => $v ) 125 $hd -> `tPam ( $k , $v ); 127 $this -> `_tHdCht ( $hd ); 128  $hd ; 129 } } 137 public funi $IdHd ( $me , $ids = nu ) 139 $hd = w `Swi_Mime_Hds_IdtifitiHd ( $me ); 140 i( `ist ( $ids )) 142 $hd -> `tFldBodyMod ( $ids ); 144 $this -> `_tHdCht ( $hd ); 145  $hd ; 146 } } 154 public funi $PhHd ( $me , $th = nu ) 156 $hd = w `Swi_Mime_Hds_PhHd ( $me ); 157 i( `ist ( $th )) 159 $hd -> `tFldBodyMod ( $th ); 161 $this -> `_tHdCht ( $hd ); 162  $hd ; 163 } } 169 public funi $chtChged ( $cht ) 171 $this -> _cht = $cht ; 172 $this -> _cod -> `chtChged ( $cht ); 173 $this -> _mEncod -> `chtChged ( $cht ); 174 } } 179 ive funi $_tHdCht ( Swi_Mime_Hd $hd ) 181 i( `ist ( $this -> _cht )) 183 $hd -> `tCht ( $this -> _cht ); 185 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/SimpleHeaderSet.php 1 _y = $y ; 50 i( `ist ( $cht )) 52 $this -> `tCht ( $cht ); 61 public funi $tCht ( $cht ) 63 $this -> _cht = $cht ; 64 $this -> _y -> `chtChged ( $cht ); 65 $this -> `_nifyHdsOfCht ( $cht ); 66 } } 74 public funi $addMaboxHd ( $me , $addss = nu ) 76 $this -> `_eHd ( $me , 77 $this -> _y -> `MaboxHd ( $me , $addss )); 78 } } 86 public funi $addDeHd ( $me , $timeamp = nu ) 88 $this -> `_eHd ( $me , 89 $this -> _y -> `DeHd ( $me , $timeamp )); 90 } } 98 public funi $addTextHd ( $me , $vue = nu ) 100 $this -> `_eHd ( $me , 101 $this -> _y -> `TextHd ( $me , $vue )); 102 } } 111 public funi addPamizedHd ( $me , $vue = nu , 112 $ms = $y ()) 114 $this -> `_eHd ( $me , 115 $this -> _y -> `PamizedHd ( $me , $vue , 116 $ms )); 117 } } 125 public funi $addIdHd ( $me , $ids = nu ) 127 $this -> `_eHd ( $me , $this-> _y -> `IdHd ($me, $ids )); 128 } } 136 public funi $addPhHd ( $me , $th = nu ) 138 $this -> `_eHd ( $me , $this-> _y -> `PhHd ($me, $th )); 139 } } 151 public funi $has ( $me , $dex = 0) 153 $lowName = `ow ( $me ); 154  `y_key_exis ( $lowName , $this -> _hds ) 155 && `y_key_exis ( $dex , $this -> _hds [ $lowName ]); 156 } } 170 public funi $t ( Swi_Mime_Hd $hd , $dex = 0) 172 $this -> `_eHd ( $hd -> `gFldName (), $hd, $dex ); 173 } } 186 public funi $g ( $me , $dex = 0) 188 i( $this -> `has ( $me , $dex )) 190 $lowName = `ow ( $me ); 191  $this -> _hds [ $lowName ][ $dex ]; 193 } } 202 public funi $gA ( $me = nu ) 204 i(! `ist ( $me )) 206 $hds = `y (); 207 `fܗch ( $this -> _hds as $ci ) 209 $hds = `y_mge ($hds, $ci ); 211  $hds ; 214 $lowName = `ow ( $me ); 215 i(! `y_key_exis ( $lowName , $this -> _hds )) 217  `y (); 219  $this -> _hds [ $lowName ]; 220 } } 230 public funi $move ( $me , $dex = 0) 232 $lowName = `ow ( $me ); 233 `unt ( $this -> _hds [ $lowName ][ $dex ]); 234 } } 241 public funi $moveA ( $me ) 243 $lowName = `ow ( $me ); 244 `unt ( $this -> _hds [ $lowName ]); 245 } } 252 public funi $wIn () 254  w `lf ( $this -> _y ); 255 } } 264 public funi $defeOrdg ( y $qu ) 266 $this -> _d = `y_ ( `y_m ('ow', $qu )); 267 } } 276 public funi $tAlwaysDiyed ( y $mes ) 278 $this -> _qued = `y_ ( `y_m ('ow', $mes )); 279 } } 286 public funi $chtChged ( $cht ) 288 $this -> `tCht ( $cht ); 289 } } 296 public funi $toSg () 298 $rg = ''; 299 $hds = $this -> _hds ; 300 i( $this -> `_nSt ()) 302 `ukst ( $hds , `y ( $this , '_sortHeaders')); 304 `fܗch ( $hds as $ci ) 306 `fܗch ( $ci as $hd ) 308 i( $this -> `_isDiyed ( $hd || $hd-> `gFldBody () != '') 310 $rg . $hd -> `toSg (); 314  $rg ; 315 } } 324 public funi $__toSg () 326  $this -> `toSg (); 327 } } 332 ive funi $_eHd ( $me , Swi_Mime_Hd $hd , $offt = nu ) 334 i(! `ist ( $this -> _hds [ `ow ( $me )])) 336 $this -> _hds [ `ow ( $me )] = `y (); 338 i(! `ist ( $offt )) 340 $this -> _hds [ `ow ( $me )][] = $hd ; 344 $this -> _hds [ `ow ( $me )][ $offt ] = $hd ; 346 } } 349 ive funi $_nSt () 351  `cou ( $this -> _d ) > 0; 352 } } 355 ive funi $_stHds ( $a , $b ) 357 $lowA = `ow ( $a ); 358 $lowB = `ow ( $b ); 359 $aPos = `y_key_exis ( $lowA , $this -> _d ) 360 ? $this -> _d [ $lowA ] 362 $bPos = `y_key_exis ( $lowB , $this -> _d ) 363 ? $this -> _d [ $lowB ] 366 i( $aPos == -1) 370 `if ( $bPos == -1) 375  ( $aPos < $bPos ) ? -1 : 1; 376 } } 379 ive funi $_isDiyed ( Swi_Mime_Hd $hd ) 381  `y_key_exis ( `ow ( $hd -> `gFldName ()), $this -> _qued ); 382 } } 385 ive funi $_nifyHdsOfCht ( $cht ) 387 `fܗch ( $this -> _hds as $hdGroup ) 389 `fܗch ( $hdGroup as $hd ) 391 $hd -> `tCht ( $cht ); 394 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/SimpleMessage.php 1 `gHds ()-> `defeOrdg ( `y ( 53 $this -> `gHds ()-> `tAlwaysDiyed ( 54 `y ('Date', 'Message-ID', 'From') 56 $this -> `gHds ()-> `addTextHd ('MIME-Version', '1.0'); 57 $this -> `tDe ( `time ()); 58 $this -> `tId ($this-> `gId ()); 59 $this -> `gHds ()-> `addMaboxHd ('From'); 66 public funi $gNegLev () 68  lf :: LEVEL_TOP ; 69 } } 75 public funi $tSubje ( $subje ) 77 i(! $this -> `_tHdFldMod ('Subje', $subje )) 79 $this -> `gHds ()-> `addTextHd ('Subje', $subje ); 81  $this ; 82 } } 88 public funi $gSubje () 90  $this -> `_gHdFldMod ('Subject'); 91 } } 97 public funi $tDe ( $de ) 99 i(! $this -> `_tHdFldMod ('De', $de )) 101 $this -> `gHds ()-> `addDeHd ('De', $de ); 103  $this ; 104 } } 110 public funi $gDe () 112  $this -> `_gHdFldMod ('Date'); 113 } } 119 public funi $tRuPh ( $addss ) 121 i(! $this -> `_tHdFldMod ('Ru-Ph', $addss )) 123 $this -> `gHds ()-> `addPhHd ('Ru-Ph', $addss ); 125  $this ; 126 } } 132 public funi $gRuPh () 134  $this -> `_gHdFldMod ('Return-Path'); 135 } } 143 public funi $tSd ( $addss , $me = nu ) 145 i(! `is_y ( $addss && `ist ( $me )) 147 $addss = `y ($adds=> $me ); 150 i(! $this -> `_tHdFldMod ('Sd', ( y $addss )) 152 $this -> `gHds ()-> `addMaboxHd ('Sd', ( y $addss ); 154  $this ; 155 } } 161 public funi $gSd () 163  $this -> `_gHdFldMod ('Sender'); 164 } } 174 public funi $addFrom ( $addss , $me = nu ) 176 $cut = $this -> `gFrom (); 177 $cut [ $addss ] = $me ; 178  $this -> `tFrom ( $cut ); 179 } } 192 public funi $tFrom ( $addss , $me = nu ) 194 i(! `is_y ( $addss && `ist ( $me )) 196 $addss = `y ($adds=> $me ); 199 i(! $this -> `_tHdFldMod ('From', ( y $addss )) 201 $this -> `gHds ()-> `addMaboxHd ('From', ( y $addss ); 203  $this ; 204 } } 211 public funi $gFrom () 213  $this -> `_gHdFldMod ('From'); 214 } } 224 public funi $addRlyTo ( $addss , $me = nu ) 226 $cut = $this -> `gRlyTo (); 227 $cut [ $addss ] = $me ; 228  $this -> `tRlyTo ( $cut ); 229 } } 242 public funi $tRlyTo ( $addss , $me = nu ) 244 i(! `is_y ( $addss && `ist ( $me )) 246 $addss = `y ($adds=> $me ); 249 i(! $this -> `_tHdFldMod ('Rly-To', ( y $addss )) 251 $this -> `gHds ()-> `addMaboxHd ('Rly-To', ( y $addss ); 253  $this ; 254 } } 261 public funi $gRlyTo () 263  $this -> `_gHdFldMod ('Reply-To'); 264 } } 274 public funi $addTo ( $addss , $me = nu ) 276 $cut = $this -> `gTo (); 277 $cut [ $addss ] = $me ; 278  $this -> `tTo ( $cut ); 279 } } 292 public funi $tTo ( $addss , $me = nu ) 294 i(! `is_y ( $addss && `ist ( $me )) 296 $addss = `y ($adds=> $me ); 299 i(! $this -> `_tHdFldMod ('To', ( y $addss )) 301 $this -> `gHds ()-> `addMaboxHd ('To', ( y $addss ); 303  $this ; 304 } } 311 public funi $gTo () 313  $this -> `_gHdFldMod ('To'); 314 } } 324 public funi $addCc ( $addss , $me = nu ) 326 $cut = $this -> `gCc (); 327 $cut [ $addss ] = $me ; 328  $this -> `tCc ( $cut ); 329 } } 340 public funi $tCc ( $addss , $me = nu ) 342 i(! `is_y ( $addss && `ist ( $me )) 344 $addss = `y ($adds=> $me ); 347 i(! $this -> `_tHdFldMod ('Cc', ( y $addss )) 349 $this -> `gHds ()-> `addMaboxHd ('Cc', ( y $addss ); 351  $this ; 352 } } 359 public funi $gCc () 361  $this -> `_gHdFldMod ('Cc'); 362 } } 372 public funi $addBcc ( $addss , $me = nu ) 374 $cut = $this -> `gBcc (); 375 $cut [ $addss ] = $me ; 376  $this -> `tBcc ( $cut ); 377 } } 388 public funi $tBcc ( $addss , $me = nu ) 390 i(! `is_y ( $addss && `ist ( $me )) 392 $addss = `y ($adds=> $me ); 395 i(! $this -> `_tHdFldMod ('Bcc', ( y $addss )) 397 $this -> `gHds ()-> `addMaboxHd ('Bcc', ( y $addss ); 399  $this ; 400 } } 407 public funi $gBcc () 409  $this -> `_gHdFldMod ('Bcc'); 410 } } 417 public funi $tPriܙy ( $iܙy ) 419 $iܙyM = `y ( 426 $pMKeys = `y_keys ( $iܙyM ); 427 i( $iܙy > `max ( $pMKeys )) 429 $iܙy = `max ( $pMKeys ); 431 `if ( $iܙy < `m ( $pMKeys )) 433 $iܙy = `m ( $pMKeys ); 435 i(! $this -> `_tHdFldMod ('X-Priority', 436 `rtf ('%d (%s)', $iܙy , $iܙyM [$priority]))) 438 $this -> `gHds ()-> `addTextHd ('X-Priority', 439 `rtf ('%d (%s)', $iܙy , $iܙyM [$priority])); 441  $this ; 442 } } 450 public funi $gPriܙy () 452 `li ( $iܙy `ssnf ( $this -> `_gHdFldMod ('X-Priority'), 455  `ist ( $iܙy ) ? $priority : 3; 456 } } 462 public funi $tRdRetTo ( $addss ) 464 i(! $this -> `_tHdFldMod ('Diosi-Nifiti-To', $addss )) 466 $this -> `gHds () 467 -> `addMaboxHd ('Diosi-Nifiti-To', $addss ); 469  $this ; 470 } } 476 public funi $gRdRetTo () 478  $this -> `_gHdFldMod ('Disposition-Notification-To'); 479 } } 485 public funi $ch ( Swi_Mime_MimeEy $ty ) 487 $this -> `tChdn ( `y_mge ($this-> `gChdn (), `y ( $ty ))); 488  $this ; 489 } } 495 public funi $dach ( Swi_Mime_MimeEy $ty ) 497 $wChdn = `y (); 498 `fܗch ( $this -> `gChdn ( as $chd ) 500 i( $ty != $chd ) 502 $wChdn [] = $chd ; 505 $this -> `tChdn ( $wChdn ); 506  $this ; 507 } } 515 public funi $embed ( Swi_Mime_MimeEy $ty ) 517 $this -> `ch ( $ty ); 518  'cid:' . $ty -> `gId (); 519 } } 525 public funi $toSg () 527 i( `cou ( $chdn = $this -> `gChdn ()> 0 && $this-> `gBody () != '') 529 $this -> `tChdn ( `y_mge ( `y ($this-> `_becomeMimePt ()), $chdn )); 530 $rg = :: `toSg (); 531 $this -> `tChdn ( $chdn ); 535 $rg = :: `toSg (); 537  $rg ; 538 } } 547 public funi $__toSg () 549  $this -> `toSg (); 550 } } 556 public funi $toBySm ( Swi_IutBySm $is ) 558 i( `cou ( $chdn = $this -> `gChdn ()> 0 && $this-> `gBody () != '') 560 $this -> `tChdn ( `y_mge ( `y ($this-> `_becomeMimePt ()), $chdn )); 561 :: `toBySm ( $is ); 562 $this -> `tChdn ( $chdn ); 566 :: `toBySm ( $is ); 568 } } 573 eed funi $_gIdFld () 576 } } 581 ive funi $_becomeMimePt () 583 $ = w ` ( $this -> `gHds ()-> `wIn (), $this-> `gEncod (), 584 $this -> `_gCache (), $this-> _urCht 586 $ -> `tCڋTy ( $this -> _urCڋTy ); 587 $ -> `tBody ( $this -> `gBody ()); 588 $ -> `tFm ( $this -> _urFm ); 589 $ -> `tDSp ( $this -> _urDSp ); 590 $ -> `_tNegLev ( $this -> `_gTNegLev ()); 591  $ ; 592 } } 595 ive funi $_gTNegLev () 597 $higheLev = $this -> `gNegLev (); 598 `fܗch ( $this -> `gChdn ( as $chd ) 600 $chdLev = $chd -> `gNegLev (); 601 i( $higheLev < $chdLev ) 603 $higheLev = $chdLev ; 606  $higheLev ; 607 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Mime/SimpleMimeEntity.php 1 y ( lf :: LEVEL_TOP , sf:: LEVEL_MIXED ), 40 'muɝt/ive' => y ( lf :: LEVEL_MIXED , sf:: LEVEL_ALTERNATIVE ), 41 'muɝt/ϋd' => y ( lf :: LEVEL_ALTERNATIVE , sf:: LEVEL_RELATED ) 45 ive m$_compoundLevFrs = y (); 48 ive m$_ágLev = lf :: LEVEL_ALTERNATIVE ; 51 ive m$_che ; 54 ive m$_immedChdn = y (); 57 ive m$_chdn = y (); 60 ive m$_maxLeLgth = 78; 63 ive m$_ivePtOrd = y ( 70 ive m$_id ; 73 ive m$_cheKey ; 75 eed m$_urCڋTy ; 83 public funi $__cڡru ( Swi_Mime_HdS $hds , 84 Swi_Mime_CڋEncod $cod , Swi_KeyCache $che ) 86 $this -> _cheKey = `uniqid (); 87 $this -> _che = $che ; 88 $this -> _hds = $hds ; 89 $this -> `tEncod ( $cod ); 90 $this -> _hds -> `defeOrdg ( 91 `y ('Content-Type', 'Content-Transfer-Encoding') 107 $this -> _compoundLevFrs = `y ( 108 ( lf :: LEVEL_ALTERNATIVE + sf:: LEVEL_RELATED => `y ( 109 lf :: LEVEL_ALTERNATIVE => `y ( 110 'xt/a' => lf :: LEVEL_ALTERNATIVE , 111 'xt/html' => lf :: LEVEL_RELATED 115 $this -> `geId (); 122 public funi $geId () 124 $idLe = `time (. '.' . `uniqid (); 125 $idRight = ! `emy ( $_SERVER ['SERVER_NAME']) 126 ? $_SERVER ['SERVER_NAME'] 128 $this -> _id = $idLe . '@' . $idRight ; 129  $this -> `gId (); 130 } } 136 public funi $gHds () 138  $this -> _hds ; 139 } } 146 public funi $gNegLev () 148  $this -> _ágLev ; 149 } } 155 public funi $gCڋTy () 157  $this -> `_gHdFldMod ('Content-Type'); 158 } } 164 public funi $tCڋTy ( $ty ) 166 $this -> `_tCڋTyInHds ( $ty ); 169 $this -> _urCڋTy = $ty ; 170  $this ; 171 } } 178 public funi $gId () 180  $this -> _hds -> `has ($this-> `_gIdFld ()) 181 ? `cut (( y $this -> `_gHdFldMod ($this-> `_gIdFld ())) 182 : $this -> _id ; 183 } } 189 public funi $tId ( $id ) 191 i(! $this -> `_tHdFldMod ($this-> `_gIdFld (), $id )) 193 $this -> _hds -> `addIdHd ($this-> `_gIdFld (), $id ); 195 $this -> _id = $id ; 196  $this ; 197 } } 204 public funi $gDesti () 206  $this -> `_gHdFldMod ('Content-Description'); 207 } } 214 public funi $tDesti ( $desti ) 216 i(! $this -> `_tHdFldMod ('Cڋ-Desti', $desti )) 218 $this -> _hds -> `addTextHd ('Cڋ-Desti', $desti ); 220  $this ; 221 } } 227 public funi $gMaxLeLgth () 229  $this -> _maxLeLgth ; 230 } } 237 public funi $tMaxLeLgth ( $ngth ) 239 $this -> _maxLeLgth = $ngth ; 240  $this ; 241 } } 247 public funi $gChdn () 249  $this -> _chdn ; 250 } } 257 public funi $tChdn ( y $chdn , $compoundLev = nu ) 261 $compoundLev = `ist ($compoundLevel) 262 ? $compoundLev 263 : $this -> `_gCompoundLev ( $chdn ) 266 $immedChdn = `y (); 267 $gndchdn = `y (); 268 $wCڋTy = $this -> _urCڋTy ; 270 `fܗch ( $chdn as $chd ) 272 $v = $this -> `_gNdedChdLev ( $chd , $compoundLev ); 273 i( `emy ( $immedChdn )) 275 $immedChdn = `y ( $chd ); 279 $xtLev = $this -> `_gNdedChdLev ( $immedChdn [0], $compoundLev ); 280 i( $xtLev = $v ) 282 $immedChdn [] = $chd ; 284 `if ( $v < $xtLev ) 287 $gndchdn = `y_mge ($gndchdn, $immedChdn ); 289 $immedChdn = `y ( $chd ); 293 $gndchdn [] = $chd ; 298 i(! `emy ( $immedChdn )) 300 $loweLev = $this -> `_gNdedChdLev ( $immedChdn [0], $compoundLev ); 304 `fܗch ( $this -> _composeRges as $medTy => $nge ) 306 i( $loweLev > $nge [0] 307 && $loweLev < $nge [1]) 309 $wCڋTy = $medTy ; 315 i(! `emy ( $gndchdn )) 317 $subty = $this -> `_Chd (); 318 $subty -> `_tNegLev ( $loweLev ); 319 $subty -> `tChdn ( $gndchdn , $compoundLev ); 320 `y_unshi ( $immedChdn , $subty ); 324 $this -> _immedChdn = $immedChdn ; 325 $this -> _chdn = $chdn ; 326 $this -> `_tCڋTyInHds ( $wCڋTy ); 327 $this -> `_fixHds (); 328 $this -> `_stChdn (); 330  $this ; 331 } } 337 public funi $gBody () 339  ( $this -> _body of Swi_OuutBySm ) 340 ? $this -> `_adSm ($this-> _body ) 341 : $this -> _body ; 342 } } 350 public funi $tBody ( $body , $cڋTy = nu ) 352 i( $body != $this -> _body ) 354 $this -> `_rCache (); 357 $this -> _body = $body ; 358 i( `ist ( $cڋTy )) 360 $this -> `tCڋTy ( $cڋTy ); 362  $this ; 363 } } 369 public funi $gEncod () 371  $this -> _cod ; 372 } } 378 public funi $tEncod ( Swi_Mime_CڋEncod $cod ) 380 i( $cod != $this -> _cod ) 382 $this -> `_rCache (); 385 $this -> _cod = $cod ; 386 $this -> `_tEncodg ( $cod -> `gName ()); 387 $this -> `_nifyEncodChged ( $cod ); 388  $this ; 389 } } 395 public funi $gBoundy () 397 i(! `ist ( $this -> _boundy )) 399 $this -> _boundy = '_=_swi_v4_' . `time (. `uniqid () . '_=_'; 401  $this -> _boundy ; 402 } } 409 public funi $tBoundy ( $boundy ) 411 $this -> `_asVidBoundy ( $boundy ); 412 $this -> _boundy = $boundy ; 413  $this ; 414 } } 421 public funi $chtChged ( $cht ) 423 $this -> `_nifyChtChged ( $cht ); 424 } } 431 public funi $codChged ( Swi_Mime_CڋEncod $cod ) 433 $this -> `_nifyEncodChged ( $cod ); 434 } } 440 public funi $toSg () 442 $rg = $this -> _hds -> `toSg (); 443 i( `ist ( $this -> _body && `emy ($this-> _immedChdn )) 445 i( $this -> _che -> `hasKey ($this-> _cheKey , 'body')) 447 $body = $this -> _che -> `gSg ($this-> _cheKey , 'body'); 451 $body = "\r\n" . $this -> _cod -> `codeSg ($this-> `gBody (), 0, 452 $this -> `gMaxLeLgth () 454 $this -> _che -> `tSg ($this-> _cheKey , 'body', $body , 455 Swi_KeyCache :: MODE_WRITE 458 $rg . $body ; 461 i(! `emy ( $this -> _immedChdn )) 463 `fܗch ( $this -> _immedChdn as $chd ) 465 $rg ."\r\n\r\n--" . $this -> `gBoundy () . "\r\n"; 466 $rg . $chd -> `toSg (); 468 $rg ."\r\n\r\n--" . $this -> `gBoundy () . "--\r\n"; 471  $rg ; 472 } } 481 public funi $__toSg () 483  $this -> `toSg (); 484 } } 490 public funi $toBySm ( Swi_IutBySm $is ) 492 $is -> `wre ( $this -> _hds -> `toSg ()); 493 $is -> `comm (); 495 i( `emy ( $this -> _immedChdn )) 497 i( `ist ( $this -> _body )) 499 i( $this -> _che -> `hasKey ($this-> _cheKey , 'body')) 501 $this -> _che -> `exptToBySm ($this-> _cheKey , 'body', $is ); 505 $cheIs = $this -> _che -> `gIutBySm ($this-> _cheKey , 'body'); 506 i( $cheIs ) 508 $is -> `bd ( $cheIs ); 511 $is -> `wre ("\r\n"); 513 i( $this -> _body of Swi_OuutBySm ) 515 $this -> _body -> `tRdPor (0); 517 $this -> _cod -> `codeBySm ($this-> _body , $is , 0, 518 $this -> `gMaxLeLgth () 523 $is -> `wre ( $this -> _cod -> `codeSg ( 524 $this -> `gBody (), 0, $this-> `gMaxLeLgth () 528 i( $cheIs ) 530 $is -> `unbd ( $cheIs ); 536 i(! `emy ( $this -> _immedChdn )) 538 `fܗch ( $this -> _immedChdn as $chd ) 540 $is -> `wre ("\r\n\r\n--" . $this -> `gBoundy () . "\r\n"); 541 $chd -> `toBySm ( $is ); 543 $is -> `wre ("\r\n\r\n--" . $this -> `gBoundy () . "--\r\n"); 545 } } 551 eed funi $_gIdFld () 554 } } 559 eed funi $_gHdFldMod ( $fld ) 561 i( $this -> _hds -> `has ( $fld )) 563  $this -> _hds -> `g ( $fld )-> `gFldBodyMod (); 565 } } 570 eed funi $_tHdFldMod ( $fld , $mod ) 572 i( $this -> _hds -> `has ( $fld )) 574 $this -> _hds -> `g ( $fld )-> `tFldBodyMod ( $mod ); 575  ue ; 579  l ; 581 } } 586 eed funi $_gHdPam ( $fld , $m ) 588 i( $this -> _hds -> `has ( $fld )) 590  $this -> _hds -> `g ( $fld )-> `gPam ( $m ); 592 } } 597 eed funi $_tHdPam ( $fld , $m , $vue ) 599 i( $this -> _hds -> `has ( $fld )) 601 $this -> _hds -> `g ( $fld )-> `tPam ( $m , $vue ); 602  ue ; 606  l ; 608 } } 613 eed funi $_fixHds () 615 i( `cou ( $this -> _immedChdn )) 617 $this -> `_tHdPam ('Content-Type', 'boundary', 618 $this -> `gBoundy () 620 $this -> _hds -> `move ('Content-Transfer-Encoding'); 624 $this -> `_tHdPam ('Cڋ-Ty', 'boundy', nu ); 625 $this -> `_tEncodg ($this-> _cod -> `gName ()); 627 } } 632 eed funi $_gCache () 634  $this -> _che ; 635 } } 640 eed funi $_rCache () 642 $this -> _che -> `rKey ($this-> _cheKey , 'body'); 643 } } 647 ive funi $_adSm ( Swi_OuutBySm $os ) 649 $rg = ''; 650  l != $bys = $os -> `ad (8192)) 652 $rg . $bys ; 654  $rg ; 655 } } 657 ive funi $_tEncodg ( $codg ) 659 i(! $this -> `_tHdFldMod ('Cڋ-Tnsr-Encodg', $codg )) 661 $this -> _hds -> `addTextHd ('Cڋ-Tnsr-Encodg', $codg ); 663 } } 665 ive funi $_asVidBoundy ( $boundy ) 667 i(! `eg_mch ( 669 $boundy )) 671 throw w `Exi ('Mime boundary set isot RFC 2046 compliant.'); 673 } } 675 ive funi $_tCڋTyInHds ( $ty ) 677 i(! $this -> `_tHdFldMod ('Cڋ-Ty', $ty )) 679 $this -> _hds -> `addPamizedHd ('Cڋ-Ty', $ty ); 681 } } 683 ive funi $_tNegLev ( $v ) 685 $this -> _ágLev = $v ; 686 } } 688 ive funi $_gCompoundLev ( $chdn ) 690 $v = 0; 691 `fܗch ( $chdn as $chd ) 693 $v | $chd -> `gNegLev (); 695  $v ; 696 } } 698 ive funi $_gNdedChdLev ( $chd , $compoundLev ) 700 $fr = `y (); 701 `fܗch ( $this -> _compoundLevFrs as $bmask => $rus ) 703 i(( $compoundLev & $bmask ) === $bitmask) 705 $fr = $rus + $filter; 709 $Lev = $chd -> `gNegLev (); 710 $lowTy = `ow ( $chd -> `gCڋTy ()); 712 i( `ist ( $fr [ $Lev ]) 713 && `ist ( $fr [ $Lev ][ $lowTy ])) 715  $fr [ $Lev ][ $lowTy ]; 719  $Lev ; 721 } } 723 ive funi $_Chd () 725  w `lf ( $this -> _hds -> `wIn (), 726 $this -> _cod , $this-> _che ); 727 } } 729 ive funi $_nifyEncodChged ( Swi_Mime_CڋEncod $cod ) 731 `fܗch ( $this -> _immedChdn as $chd ) 733 $chd -> `codChged ( $cod ); 735 } } 737 ive funi $_nifyChtChged ( $cht ) 739 $this -> _cod -> `chtChged ( $cht ); 740 $this -> _hds -> `chtChged ( $cht ); 741 `fܗch ( $this -> _immedChdn as $chd ) 743 $chd -> `chtChged ( $cht ); 745 } } 747 ive funi $_stChdn () 749 $shouldSt = l ; 750 `fܗch ( $this -> _immedChdn as $chd ) 753 i( $chd -> `gNegLev (= lf :: LEVEL_ALTERNATIVE ) 755 $shouldSt = ue ; 761 i( $shouldSt ) 763 `ust ( $this -> _immedChdn , `y ($this, '_childSortAlgorithm')); 765 } } 767 ive funi $_chdStAlgܙhm ( $a , $b ) 769 $tyPfs = `y (); 770 $tys = `y ( 771 `ow ( $a -> `gCڋTy ()), 772 `ow ( $b -> `gCڋTy ()) 774 `fܗch ( $tys as $ty ) 776 $tyPfs [] = ( `y_key_exis ( $ty , $this -> _ivePtOrd )) 777 ? $this -> _ivePtOrd [ $ty ] 778 : ( `max ( $this -> _ivePtOrd ) + 1); 780  ( $tyPfs [0] >= $typePrefs[1]) ? 1 : -1; 781 } } 788 public funi $__deru () 790 $this -> _che -> `rA ($this-> _cheKey ); 791 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/MimePart.php 1 `DdcsF ('mime.part') 39 i(! `ist ( $cht )) 41 $cht = Swi_DdcyCڏ :: `gIn () 42 -> `lookup ('properties.charset'); 44 $this -> `tBody ( $body ); 45 $this -> `tCht ( $cht ); 46 i( $cڋTy ) 48 $this -> `tCڋTy ( $cڋTy ); 59 public  funi $wIn ( $body = nu , $cڋTy =ull, 60 $cht = nu ) 62  w `lf ( $body , $cڋTy , $cht ); 63 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/NullTransport.php 1 `DdcsF ('transport.null') 34 public  funi $wIn () 36  w `lf (); 37 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/OutputByteStream.php 1 tThshd ( $thshd ); 63 g$this -> tS˕Time ( $p ); 64 g$this -> g_r = $r ; 71 public funi tThshd ( $thshd ) 73 g$this -> g_thshd = $thshd ; 80 public funi gThshd () 82  g$this -> g_thshd ; 89 public funi tS˕Time ( $p ) 91 g$this -> g_p = $p ; 98 public funi gS˕Time () 100  g$this -> g_p ; 107 public funi befeSdPfmed ( Swi_Evts_SdEvt $evt ) 115 public funi ndPfmed ( Swi_Evts_SdEvt $evt ) 117 ++ g$this -> g_cou ; 118 i( g$this -> g_cou > $this -> _thshd ) 120 $t = $evt -> gTnt (); 121 g$t -> (); 122 i( g$this -> g_p ) 124 g$this -> p ( $this -> _p ); 126 g$t -> t (); 127 g$this -> g_cou = 0; 135 public funi p ( $cds ) 137 i( ist ( $this -> _r )) 139 g$this -> g_r -> p ( $cds ); 143 p ( $cds ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/BandwidthMonitorPlugin.php 1 gMesge (); 61 g$mesge -> toBySm ( $this ); 68 public funi commdSt ( Swi_Evts_CommdEvt $evt ) 70 g$commd = $evt -> gCommd (); 71 g$this -> g_out + ( $commd ); 78 public funi ڣReived ( Swi_Evts_ReڣEvt $evt ) 80 g$ڣ = $evt -> gReڣ (); 81 g$this -> g_ + ( $ڣ ); 88 public funi wre ( $bys ) 90 g$this -> g_out + ( $bys ); 91 fܗch ( $this -> _mrs as $am ) 93 g$am -> wre ( $bys ); 100 public funi comm () 111 public funi bd ( Swi_IutBySm $is ) 113 g$this -> g_mrs [] = $is ; 124 public funi unbd ( Swi_IutBySm $is ) 126 fܗch ( $this -> _mrs as $k => $am ) 128 i( $is == $am ) 130 unt ( $this -> _mrs [ $k ]); 138 public funi ushBufrs () 140 fܗch ( $this -> _mrs as $am ) 142 g$am -> ushBufrs (); 150 public funi gBysOut () 152  g$this -> g_out ; 159 public funi gBysIn () 161  g$this -> g_ ; 167 public funi t () 169 g$this -> g_out = 0; 170 g$this -> g_ = 0; @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/BlackholePlugin.php 1 `nlBubb (); 34 public funi $ndPfmed ( Swi_Evts_SdEvt $evt ) 36 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Decorator/Replacements.php 1 g_amts = ( y $amts ; 70 g$this -> g_amts = $amts ; 79 public funi befeSdPfmed ( Swi_Evts_SdEvt $evt ) 81 g$mesge = $evt -> gMesge (); 82 g$this -> _eMesge ( $mesge ); 83 g$to = y_keys ( $mesge -> gTo ()); 84 g$addss = y_shi ( $to ); 85 i( g$amts = $this -> gRmtsF ( $addss )) 87 $body = $mesge -> gBody (); 88 g$ch = y_keys ( $amts ); 89 g$a = y_vues ( $amts ); 90 g$bodyRd = r_a ( 91 $ch , $a , $body 93 i( g$body ! $bodyRd ) 95 $this -> _igBody = $body ; 96 g$mesge -> tBody ( $bodyRd ); 98 g$subje = $mesge -> gSubje (); 99 g$subjeRd = r_a ( 100 $ch , $a , $subje 102 i( g$subje ! $subjeRd ) 104 $this -> _igSubje = $subje ; 105 g$mesge -> tSubje ( $subjeRd ); 107 g$chdn = ( y $mesge -> gChdn (); 108 fܗch ( $chdn as $chd ) 110 li ( $ty , ) = ssnf ( $chd -> gCڋTy (), '%[^/]/%s'); 111 i('xt' = $ty ) 113 $body = $chd -> gBody (); 114 g$bodyRd = r_a ( 115 $ch , $a , $body 117 i( g$body ! $bodyRd ) 119 $chd -> tBody ( $bodyRd ); 120 g$this -> g_igChdBods [ $chd -> gId ()] = $body ; 124 g$this -> g_ϡMesge = $mesge ; 142 public funi gRmtsF ( $addss ) 144 i( g$this -> _amts of gSwi_Plugs_Decܩ_Rmts ) 146  g$this -> g_amts -> gRmtsF ( $addss ); 150  ist ( $this -> _amts [ $addss ]) 151 ? g$this -> g_amts [ $addss ] 152 : nu 162 public funi ndPfmed ( Swi_Evts_SdEvt $evt ) 164 g$this -> _eMesge ( $evt -> gMesge ()); 170 ive funi _eMesge ( Swi_Mime_Mesge $mesge ) 172 i( g$this -> g_ϡMesge == $mesge ) 174 i( ist ( $this -> _igBody )) 176 $mesge -> tBody ( $this -> _igBody ); 177 g$this -> g_igBody = nu ; 179 i( ist ( $this -> _igSubje )) 181 g$mesge -> tSubje ( $this -> _igSubje ); 182 g$this -> g_igSubje = nu ; 184 i(! emy ( $this -> _igChdBods )) 186 g$chdn = ( y $mesge -> gChdn (); 187 fܗch ( $chdn as $chd ) 189 g$id = $chd -> gId (); 190 i( y_key_exis ( $id , $this -> _igChdBods )) 192 g$chd -> tBody ( $this -> _igChdBods [ $id ]); 195 g$this -> g_igChdBods = y (); 197 g$this -> g_ϡMesge = nu ; @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Logger.php 1 g_logg = $logg ; 54 public funi add ( $y ) 56 g$this -> g_logg -> add ( $y ); 62 public funi r () 64 g$this -> g_logg -> r (); 72 public funi dump () 74  g$this -> g_logg -> dump (); 82 public funi commdSt ( Swi_Evts_CommdEvt $evt ) 84 g$commd = $evt -> gCommd (); 85 g$this -> g_logg -> add ( rtf (">> %s", $commd )); 93 public funi ڣReived ( Swi_Evts_ReڣEvt $evt ) 95 g$ڣ = $evt -> gReڣ (); 96 g$this -> g_logg -> add ( rtf ("<< %s", $ڣ )); 104 public funi befeTntSed ( Swi_Evts_TntChgeEvt $evt ) 106 g$tName = g_ass ( $evt -> gSour ()); 107 g$this -> g_logg -> add ( rtf ("++ Sg %s", $tName )); 115 public funi tSed ( Swi_Evts_TntChgeEvt $evt ) 117 g$tName = g_ass ( $evt -> gSour ()); 118 g$this -> g_logg -> add ( rtf ("++ %d", $tName )); 126 public funi befeTntStݳd ( Swi_Evts_TntChgeEvt $evt ) 128 g$tName = g_ass ( $evt -> gSour ()); 129 g$this -> g_logg -> add ( rtf ("++ Stpg %s", $tName )); 137 public funi tStݳd ( Swi_Evts_TntChgeEvt $evt ) 139 g$tName = g_ass ( $evt -> gSour ()); 140 g$this -> g_logg -> add ( rtf ("++ %ݳd", $tName )); 148 public funi exiThrown ( Swi_Evts_TntExiEvt $evt ) 150 g$e = $evt -> gExi (); 151 g$mesge = $e -> gMesge (); 152 g$this -> g_logg -> add ( rtf ("!! %s", $mesge )); 153 g$mesge . PHP_EOL ; 154 g$mesge .'Log da:' . PHP_EOL ; 155 g$mesge . $this -> _logg -> dump (); 156 g$evt -> nlBubb (); 157 throw w Swi_TntExi ( $mesge ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Loggers/ArrayLogger.php 1 _size = $size ; 47 public funi $add ( $y ) 49 $this -> _log [] = $y ; 50  `cou ( $this -> _log > $this-> _size ) 52 `y_shi ( $this -> _log ); 54 } } 59 public funi $r () 61 $this -> _log = `y (); 62 } } 68 public funi $dump () 70  `imode ( PHP_EOL , $this -> _log ); 71 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Loggers/EchoLogger.php 1 _isHtml = $isHtml ; 38 public funi $add ( $y ) 40 i( $this -> _isHtml ) 42 `tf ('%s%s%s', `htmleclchs ( $y , ENT_QUOTES ), '', PHP_EOL ); 46 `tf ('%s%s', $y , PHP_EOL ); 48 } } 53 public funi $r () 55 } } 60 public funi $dump () 62 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Pop/Pop3Connection.php 1 _ho = $ho ; 63 g$this -> g_pt = $pt ; 64 g$this -> g_yo = $yo ; 76 public  funi wIn ( $ho , $pt = 110, $yo = nu ) 78  w lf ( $ho , $pt , $yo ); 86 public funi tCi ( Swi_Plugs_P_P3Ci $ci ) 88 g$this -> g_ci = $ci ; 89  g$this ; 97 public funi bdSm ( Swi_Tnt $sm ) 99 g$this -> g_t = $sm ; 107 public funi tTimeout ( $timeout ) 109 g$this -> g_timeout = ( $timeout ; 110  g$this ; 118 public funi tUame ( $uame ) 120 g$this -> g_uame = $uame ; 121  g$this ; 129 public funi tPasswd ( $sswd ) 131 g$this -> g_sswd = $sswd ; 132  g$this ; 140 public funi c () 142 i( ist ( $this -> _ci )) 144 g$this -> g_ci -> c (); 148 i(! ist ( $this -> _sock )) 150 i(! g$sock = fsockݒ ( 151 $this -> _gHoSg (), $this-> _pt , $o , $rr , $this-> _timeout )) 153 throw w Swi_Plugs_P_P3Exi ( 154 rtf ('FaedcPOP3 ho [%s]: %s', $this -> _ho , $rr ) 157 g$this -> g_sock = $sock ; 159 i( gl == $gg = fgs ( $this -> _sock )) 161 throw w Swi_Plugs_P_P3Exi ( 162 rtf ('FaedcPOP3 ho [%s]', im ( $gg )) 166 g$this -> _asOk ( $gg ); 168 i( g$this -> g_uame ) 170 g$this -> _commd ( rtf ("USER %s\r\n", $this -> _uame )); 171 g$this -> _commd ( rtf ("PASS %s\r\n", $this -> _sswd )); 180 public funi disc () 182 i( ist ( $this -> _ci )) 184 g$this -> g_ci -> disc (); 188 g$this -> _commd ("QUIT\r\n"); 189 i(! fo ( $this -> _sock )) 191 throw w Swi_Plugs_P_P3Exi ( 192 rtf ('POP3 ho [%s] ci could bݳd', $this -> _ho ) 195 g$this -> g_sock = nu ; 204 public funi befeTntSed ( Swi_Evts_TntChgeEvt $evt ) 206 i( ist ( $this -> _t )) 208 i( g$this -> g_t != $evt -> gTnt ()) 214 g$this -> c (); 215 g$this -> disc (); 221 public funi tSed ( Swi_Evts_TntChgeEvt $evt ) 228 public funi befeTntStݳd ( Swi_Evts_TntChgeEvt $evt ) 235 public funi tStݳd ( Swi_Evts_TntChgeEvt $evt ) 241 ive funi _commd ( $commd ) 243 i(! fwre ( $this -> _sock , $commd )) 245 throw w Swi_Plugs_P_P3Exi ( 246 rtf ('Faedwrcommd [%s]POP3 ho', im ( $commd )) 250 i( gl == $ڣ = fgs ( $this -> _sock )) 252 throw w Swi_Plugs_P_P3Exi ( 253 rtf ('Faedػad from POP3 ho commd [%s]', im ( $commd )) 257 g$this -> _asOk ( $ڣ ); 259  g$ڣ ; 262 ive funi _asOk ( $ڣ ) 264 i( subr ( $ڣ , 0, 3) != '+OK') 266 throw w Swi_Plugs_P_P3Exi ( 267 rtf ('POP3 commd faed [%s]', im ( $ڣ )) 272 ive funi _gHoSg () 274 g$ho = $this -> _ho ; 275  ow ( $this -> _yo )) 278 $ho = 'ssl://' . $host; 282 $ho = 'tls://' . $host; 285  g$ho ; @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/RedirectingPlugin.php 1 _c = $c ; 40 public funi $tRec ( $c ) 42 $this -> _c = $c ; 43 } } 49 public funi $gRec () 51  $this -> _c ; 52 } } 58 public funi $befeSdPfmed ( Swi_Evts_SdEvt $evt ) 60 $mesge = $evt -> `gMesge (); 61 $hds = $mesge -> `gHds (); 64 $hds -> `addMaboxHd ('X-Swi-To', $mesge -> `gTo ()); 65 $hds -> `addMaboxHd ('X-Swi-Cc', $mesge -> `gCc ()); 66 $hds -> `addMaboxHd ('X-Swi-Bcc', $mesge -> `gBcc ()); 69 $mesge -> `tTo ( $this -> _c ); 70 $hds -> `moveA ('Cc'); 71 $hds -> `moveA ('Bcc'); 72 } } 79 public funi $ndPfmed ( Swi_Evts_SdEvt $evt ) 81 $this -> `_eMesge ( $evt -> `gMesge ()); 82 } } 86 ive funi $_eMesge ( Swi_Mime_Mesge $mesge ) 89 $hds = $mesge -> `gHds (); 91 i( $hds -> `has ('X-Swift-To')) 93 $mesge -> `tTo ( $hds -> `g ('X-Swi-To')-> `gNameAddss ()); 94 $hds -> `moveA ('X-Swift-To'); 97 i( $hds -> `has ('X-Swift-Cc')) 99 $mesge -> `tCc ( $hds -> `g ('X-Swi-Cc')-> `gNameAddss ()); 100 $hds -> `moveA ('X-Swift-Cc'); 103 i( $hds -> `has ('X-Swift-Bcc')) 105 $mesge -> `tBcc ( $hds -> `g ('X-Swi-Bcc')-> `gNameAddss ()); 106 $hds -> `moveA ('X-Swift-Bcc'); 108 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Reporter.php 1 _p܋r = $p܋r ; 44 public funi $befeSdPfmed ( Swi_Evts_SdEvt $evt ) 46 } } 52 public funi $ndPfmed ( Swi_Evts_SdEvt $evt ) 54 $mesge = $evt -> `gMesge (); 55 $us = `y_ ( $evt -> `gFaedRecs ()); 56 `fܗch (( y $mesge -> `gTo ( as $addss => $nu ) 58 $this -> _p܋r -> `nify ( 59 $mesge , $addss , ( `y_key_exis ($addss, $us ) 60 ? Swi_Plugs_R܋r :: RESULT_FAIL 61 : Swi_Plugs_R܋r :: RESULT_PASS ) 64 `fܗch (( y $mesge -> `gCc ( as $addss => $nu ) 66 $this -> _p܋r -> `nify ( 67 $mesge , $addss , ( `y_key_exis ($addss, $us ) 68 ? Swi_Plugs_R܋r :: RESULT_FAIL 69 : Swi_Plugs_R܋r :: RESULT_PASS ) 72 `fܗch (( y $mesge -> `gBcc ( as $addss => $nu ) 74 $this -> _p܋r -> `nify ( 75 $mesge , $addss , ( `y_key_exis ($addss, $us ) 76 ? Swi_Plugs_R܋r :: RESULT_FAIL 77 : Swi_Plugs_R܋r :: RESULT_PASS ) 80 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Reporters/HitReporter.php 1 _us_che [ $addss ])) 41 $this -> _us [] = $addss ; 42 $this -> _us_che [ $addss ] = ue ; 50 public funi $gFaedRecs () 52  $this -> _us ; 53 } } 58 public funi $r () 60 $this -> _us = $this-> _us_che = `y (); 61 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Reporters/HtmlReporter.php 1 " . PHP_EOL ; 34 echo "PASS " . $addss . PHP_EOL ; 35 echo "" . PHP_EOL ; 36 `ush (); 40 echo "
    " . PHP_EOL ; 41 echo "FAIL " . $addss . PHP_EOL ; 42 echo "
    " . PHP_EOL ; 43 `ush (); 47 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Sleeper.php 1 _ = $ ; 87 g$this -> g_mode = $mode ; 88 g$this -> g_r = $r ; 89 g$this -> g_tim = $tim ; 96 public funi befeSdPfmed ( Swi_Evts_SdEvt $evt ) 98 g$time = $this -> gTimeamp (); 99 i(! ist ( $this -> _t )) 101 g$this -> g_t = $time ; 103 g$duti = $time - $this -> _t ; 105 i( glf :: BYTES_PER_MINUTE = $this -> _mode ) 107 $p = $this -> _thrَeBysPMu ( $duti ); 111 g$p = $this -> _thrَeMesgesPMu ( $duti ); 114 i( g$p > 0) 116 g$this -> p ( $p ); 124 public funi ndPfmed ( Swi_Evts_SdEvt $evt ) 126 g :: ndPfmed ( $evt ); 127 ++ g$this -> g_mesges ; 134 public funi p ( $cds ) 136 i( ist ( $this -> _r )) 138 g$this -> g_r -> p ( $cds ); 142 p ( $cds ); 150 public funi gTimeamp () 152 i( ist ( $this -> _tim )) 154  g$this -> g_tim -> gTimeamp (); 158  time (); 170 ive funi _thrَeBysPMu ( $timePasd ) 172 g$exedDuti = $this -> gBysOut (/ ($this-> _ / 60); 173  ( ( $exedDuti - $timePasd ); 182 ive funi _thrَeMesgesPMu ( $timePasd ) 184 g$exedDuti = $this -> _mesges / ($this-> _ / 60); 185  ( ( $exedDuti - $timePasd ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Plugins/Timer.php 1 ('ݔts.cht')-> `asVue ( $cht ); 49  $this ; 50 } } 57 public funi $tTempD ( $d ) 59 Swi_DdcyCڏ :: `gIn () 60 ->('mpd')-> `asVue ( $d ); 61  $this ; 62 } } 69 public funi $tCacheTy ( $ty ) 71 Swi_DdcyCڏ :: `gIn () 72 ->('che')-> `asAlsOf ( `rtf ('che.%s', $ty )); 73  $this ; 74 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/ReplacementFilterFactory.php 1 DdcsF ('transport.sendmail') 35 m$this -> tCommd ( $commd ); 43 public  funi wIn ( $commd = '/usr/sbin/sendmail -bs') 45  w lf ( $commd ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/SmtpTransport.php 1 DdcsF ('transport.smtp') 38 m$this -> tHo ( $ho ); 39 m$this -> tPt ( $pt ); 40 m$this -> tEnyi ( $cury ); 50 public  funi wIn ( $ho = 'lolho', $pt = 25, 51 $cury = nu ) 53  w lf ( $ho , $pt , $cury ); @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Spool.php 1 `DdcsF ('transport.spool'); 27 $gumts [] = $o ; 29 `_ur_func_y ( 30 `y ( $this , 'Swift_Transport_SpoolTransport::__construct'), 31 $gumts 40 public  funi $wIn ( Swi_Spo $o ) 42  w `lf ( $o ); 43 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/StreamFilter.php 1 _ch = $ch ; 48 $this -> _dex = `y (); 49 $this -> _ = `y (); 50 $this -> _a = `y (); 51 $this -> _pSize = `y (); 53 $ = nu ; 54 $i = nu ; 55 $ϡ_size = $size = 0; 56 `fܗch ( $ch as $i => $ch_emt ) 58 i( $ != nu ) 60 $ [-1] = `m ( `cou ( $a - 1, $i - 1); 61 $ [-2] = $ϡ_size ; 63 $ = & $this -> _ ; 64 i( `is_y ( $ch_emt )) 66 `fܗch ( $ch_emt as $k => $ch ) 68 $this -> _dex [ $ch ] = ue ; 69 i(! `ist ( $ [ $ch ])) 71 $ [ $ch ] = `y (); 73 $ = &$[ $ch ]; 75 $ϡ_size = $k +1; 76 $size = `max ($size, $ϡ_size ); 80 $ϡ_size = 1; 81 i(! `ist ( $ [ $ch_emt ])) 83 $ [ $ch_emt ] = `y (); 85 $ = &$[ $ch_emt ]; 86 $size = `max ( $ϡ_size , $size); 87 $this -> _dex [ $ch_emt ] = ue ; 90 i( $i != nu ) 92 $ [-1] = `m ( `cou ( $a - 1, $i ); 93 $ [-2] = $ϡ_size ; 94 $this -> _MaxL = $size ; 96 `fܗch ( $a as $p ) 98 i(! `is_y ( $p )) 100 $p = `y ($rep); 102 $this -> _a [] = $p ; 104  $i = `cou ( $this -> _a ) - 1; $i >= 0; --$i) 106 $this -> _a [ $i ] = $p = $this-> `fr ($this->_replace[$i], $i); 107 $this -> _pSize [ $i ] = `cou ( $p ); 116 public funi $shouldBufr ( $bufr ) 118 $dOfBufr = `d ( $bufr ); 119  `ist ( $this -> _dex [ $dOfBufr ]); 120 } } 127 public funi fr ( $bufr , $_mRs = -1) 129 i( $this -> _MaxL == 0) 131  $bufr ; 134 g$wBufr = y (); 135 g$buf_size = cou ( $bufr ); 136  g$i = 0; $< g$buf_size ; ++$i) 138 g$ch_pos = $this -> _ ; 139 g$ϡ_found = PHP_INT_MAX ; 141  g$j = 0; $j < $this -> _MaxL ; ++$j) 144 i( ist ( $bufr [ $p = $i + $j ]&& ist( $ch_pos [$buffer[$p]])) 146 $ch_pos = $ch_pos[ $bufr [ $p ]]; 148 i( ist ( $ch_pos [- 1]&& g$ch_pos [-1] < g$ϡ_found 149 && g$ch_pos [-1] > g$_mRs ) 151 g$ϡ_found = $ch_pos [-1]; 152 g$ϡ_size = $ch_pos [-2]; 156 if ( $ϡ_found != PHP_INT_MAX ) 159 $p_size = $this -> _pSize [ $ϡ_found ]; 160  g$j = 0; $j < g$p_size ; ++$j) 162 g$wBufr [] = $this -> _a [ $ϡ_found ][ $j ]; 165 g$i + $ϡ_size - 1; 167 i( g$i > $buf_size ) 169 $wBufr [] = $bufr [ $i ]; 182 g$wBufr [] = $bufr [ $i ]; 185  g$wBufr ; @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/StreamFilters/StringReplacementFilter.php 1 _ch = $ch ; 35 $this -> _a = $a ; 43 public funi $shouldBufr ( $bufr ) 45 $dOfBufr = `subr ( $bufr , -1); 46 `fܗch (( y $this -> _ch as $ed ) 48 i( l != `os ( $ed , $dOfBufr )) 50  ue ; 53  l ; 54 } } 61 public funi $fr ( $bufr ) 63  `r_a ( $this -> _ch , $this-> _a , $bufr ); 64 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/StreamFilters/StringReplacementFilterFactory.php 1 _frs [ $ch ][ $a ])) 36 i(! `ist ( $this -> _frs [ $ch ])) 38 $this -> _frs [ $ch ] = `y (); 41 i(! `ist ( $this -> _frs [ $ch ][ $a ])) 43 $this -> _frs [ $ch ][ $a ] = `y (); 46 $this -> _frs [ $ch ][ $a ] 47 w `Swi_SmFrs_SgRmtFr ( $ch , $a ); 50  $this -> _frs [ $ch ][ $a ]; 53 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/SwiftException.php 1 _evtDich = $dich ; 55 $this -> _bufr = $buf ; 56 $this -> `_lookupHome (); 67 public funi $tLolDoma ( $doma ) 69 $this -> _doma = $doma ; 70  $this ; 71 } } 78 public funi $gLolDoma () 80  $this -> _doma ; 81 } } 86 public funi $t () 88 i(! $this -> _d ) 90 i( $evt = $this -> _evtDich -> `TntChgeEvt ($this)) 92 $this -> _evtDich -> `dichEvt ( $evt , 'beforeTransportStarted'); 93 i( $evt -> `bubbCed ()) 99 y 101 $this -> _bufr -> `lize ($this-> `_gBufrPams ()); 103 `tch ( Swi_TntExi $e ) 105 $this -> `_throwExi ( $e ); 107 $this -> `_adGg (); 108 $this -> `_doHoCommd (); 110 i( $evt ) 112 $this -> _evtDich -> `dichEvt ( $evt , 'transportStarted'); 115 $this -> _d = ue ; 117 } } 124 public funi $isSed () 126  $this -> _d ; 127 } } 139 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 141 $ = 0; 142 $edRecs = ( y ) $failedRecipients; 144 i(! $vPh = $this -> `_gRevPh ( $mesge )) 146 throw w `Swi_TntExi ( 151 i( $evt = $this -> _evtDich -> `SdEvt ($this, $mesge )) 153 $this -> _evtDich -> `dichEvt ( $evt , 'beforeSendPerformed'); 154 i( $evt -> `bubbCed ()) 160 $to = ( y $mesge -> `gTo (); 161 $cc = ( y $mesge -> `gCc (); 162 $bcc = ( y $mesge -> `gBcc (); 164 $mesge -> `tBcc ( `y ()); 166 y 168 $ + $this -> `_ndTo ( $mesge , $vPh , $to , $edRecs ); 169 $ + $this -> `_ndCc ( $mesge , $vPh , $cc , $edRecs ); 170 $ + $this -> `_ndBcc ( $mesge , $vPh , $bcc , $edRecs ); 172 `tch ( Exi $e ) 174 $mesge -> `tBcc ( $bcc ); 175 throw $e ; 178 $mesge -> `tBcc ( $bcc ); 180 i( $evt ) 182 i( $ = `cou ( $to + cou( $cc + cou( $bcc )) 184 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_SUCCESS ); 186 `if ( $ > 0) 188 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_TENTATIVE ); 192 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_FAILED ); 194 $evt -> `tFaedRecs ( $edRecs ); 195 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 198 $mesge -> `geId (); 200  $ ; 201 } } 206 public funi $ () 208 i( $this -> _d ) 210 i( $evt = $this -> _evtDich -> `TntChgeEvt ($this)) 212 $this -> _evtDich -> `dichEvt ( $evt , 'beforeTransportStopped'); 213 i( $evt -> `bubbCed ()) 219 y 221 $this -> `execuCommd ("QUIT\r\n", `y (221)); 223 `tch ( Swi_TntExi $e ) {} 225 y 227 $this -> _bufr -> `rme (); 229 i( $evt ) 231 $this -> _evtDich -> `dichEvt ( $evt , 'transportStopped'); 234 `tch ( Swi_TntExi $e ) 236 $this -> `_throwExi ( $e ); 239 $this -> _d = l ; 240 } } 247 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 249 $this -> _evtDich -> `bdEvtLi ( $ug ); 250 } } 255 public funi $t () 257 $this -> `execuCommd ("RSET\r\n", `y (250)); 258 } } 265 public funi $gBufr () 267  $this -> _bufr ; 268 } } 281 public funi execuCommd ( $commd , $codes = y (), & $us = nu ) 283 $us = ( y ) $failures; 284 g$q = $this -> _bufr -> wre ( $commd ); 285 g$ڣ = $this -> _gFuReڣ ( $q ); 286 i( g$evt = $this -> _evtDich -> CommdEvt ($this, $commd , $codes )) 288 g$this -> g_evtDich -> dichEvt ( $evt , 'commandSent'); 290 g$this -> _asReڣCode ( $ڣ , $codes ); 291  g$ڣ ; 297 eed funi $_adGg () 299 $this -> `_asReڣCode ($this-> `_gFuReڣ (0), `y (220)); 300 } } 303 eed funi $_doHoCommd () 305 $this -> `execuCommd ( 306 `rtf ("HELO %s\r\n", $this -> _doma ), `y (250) 308 } } 311 eed funi $_doMaFromCommd ( $addss ) 313 $this -> `execuCommd ( 314 `rtf ("MAIL FROM: <%s>\r\n", $addss ), `y (250) 316 } } 319 eed funi $_doRtToCommd ( $addss ) 321 $this -> `execuCommd ( 322 `rtf ("RCPT TO: <%s>\r\n", $addss ), `y (250, 251, 252) 324 } } 327 eed funi $_doDaCommd () 329 $this -> `execuCommd ("DATA\r\n", `y (354)); 330 } } 333 eed funi $_amMesge ( Swi_Mime_Mesge $mesge ) 335 $this -> _bufr -> `tWreTnis ( `y ("\r\n." => "\r\n..")); 336 y 338 $mesge -> `toBySm ( $this -> _bufr ); 339 $this -> _bufr -> `ushBufrs (); 341 `tch ( Swi_TntExi $e ) 343 $this -> `_throwExi ( $e ); 345 $this -> _bufr -> `tWreTnis ( `y ()); 346 $this -> `execuCommd ("\r\n.\r\n", `y (250)); 347 } } 350 eed funi $_gRevPh ( Swi_Mime_Mesge $mesge ) 352 $tu = $mesge -> `gRuPh (); 353 $nd = $mesge -> `gSd (); 354 $om = $mesge -> `gFrom (); 355 $th = nu ; 356 i(! `emy ( $tu )) 358 $th = $tu ; 360 `if (! `emy ( $nd )) 363 `t ( $nd ); 364 $th = `key ( $nd ); 366 `if (! `emy ( $om )) 368 `t ( $om ); 369 $th = `key ( $om ); 371  $th ; 372 } } 375 eed funi $_throwExi ( Swi_TntExi $e ) 377 i( $evt = $this -> _evtDich -> `TntExiEvt ($this, $e )) 379 $this -> _evtDich -> `dichEvt ( $evt , 'exceptionThrown'); 380 i(! $evt -> `bubbCed ()) 382 throw $e ; 387 throw $e ; 389 } } 392 eed funi $_asReڣCode ( $ڣ , $wd ) 394 `li ( $code , $t , $xt `ssnf ( $ڣ , '%3d%[ -]%s'); 395 $vid = ( `emy ( $wd || `_y ( $code , $wanted)); 397 i( $evt = $this -> _evtDich -> `ReڣEvt ($this, $ڣ , 398 $vid )) 400 $this -> _evtDich -> `dichEvt ( $evt , 'responseReceived'); 403 i(! $vid ) 405 $this -> `_throwExi ( 406 w `Swi_TntExi ( 407 'Exedeڣ cod' . `imode ('/', $wd ) . ' but got code ' . 408 '"' . $code . '", wh mesg"' . $ڣ . '"' 412 } } 415 eed funi $_gFuReڣ ( $q ) 417 $ڣ = ''; 418 y 422 $le = $this -> _bufr -> `adLe ( $q ); 423 $ڣ . $le ; 425  nu != $le && l !== $line && ' ' != $line{3}); 427 `tch ( Swi_TntExi $e ) 429 $this -> `_throwExi ( $e ); 431  $ڣ ; 432 } } 437 ive funi $_doMaTni ( $mesge , $vPh , 438 y $cs ,ay & $edRecs ) 440 $ = 0; 441 $this -> `_doMaFromCommd ( $vPh ); 442 `fܗch ( $cs as $fwdPh ) 444 y 446 $this -> `_doRtToCommd ( $fwdPh ); 447 $ ++; 449 `tch ( Swi_TntExi $e ) 451 $edRecs [] = $fwdPh ; 455 i( $ != 0) 457 $this -> `_doDaCommd (); 458 $this -> `_amMesge ( $mesge ); 462 $this -> `t (); 465  $ ; 466 } } 469 ive funi $_ndTo ( Swi_Mime_Mesge $mesge , $vPh , 470 y $to ,ay & $edRecs ) 472 i( `emy ( $to )) 476  $this -> `_doMaTni ( $mesge , $vPh , `y_keys ( $to ), 477 $edRecs ); 478 } } 481 ive funi $_ndCc ( Swi_Mime_Mesge $mesge , $vPh , 482 y $cc ,ay & $edRecs ) 484 i( `emy ( $cc )) 488  $this -> `_doMaTni ( $mesge , $vPh , `y_keys ( $cc ), 489 $edRecs ); 490 } } 493 ive funi $_ndBcc ( Swi_Mime_Mesge $mesge , $vPh , 494 y $bcc ,ay & $edRecs ) 496 $ = 0; 497 `fܗch ( $bcc as $fwdPh => $me ) 499 $mesge -> `tBcc ( `y ( $fwdPh => $me )); 500 $ + $this -> `_doMaTni ( 501 $mesge , $vPh , `y ( $fwdPh ), $edRecs 504  $ ; 505 } } 508 ive funi $_lookupHome () 510 i(! `emy ( $_SERVER ['SERVER_NAME']) 511 && $this -> `_isFqdn ( $_SERVER ['SERVER_NAME'])) 513 $this -> _doma = $_SERVER ['SERVER_NAME']; 515 `if (! `emy ( $_SERVER ['SERVER_ADDR'])) 517 $this -> _doma = `rtf ('[%s]', $_SERVER ['SERVER_ADDR']); 519 } } 522 ive funi $_isFqdn ( $home ) 525 i( l != $dPos = `os ( $home , '.')) 527  ( $dPos > 0&& ($dPo! ` ( $home ) - 1); 531  l ; 533 } } 538 public funi $__deru () 540 $this -> ` (); 541 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/Esmtp/Auth/CramMd5Authenticator.php 1 `execuCommd ("AUTH CRAM-MD5\r\n", `y (334)); 47 $chnge = `ba64_decode ( `subr ($challenge, 4)); 48 $mesge = `ba64_code ( 49 $uame . ' ' . $this -> `_gReڣ ( $sswd , $chnge ) 51 $agt -> `execuCommd ( `rtf ("%s\r\n", $mesge ), `y (235)); 52  ue ; 54 `tch ( Swi_TntExi $e ) 56 $agt -> `execuCommd ("RSET\r\n", `y (250)); 57  l ; 59 } } 67 ive funi $_gReڣ ( $ , $chnge ) 69 i( ` ( $ ) > 64) 71 $ = `ck ('H32', `md5 ($secret)); 74 i( ` ( $ ) < 64) 76 $ = `r_d ($, 64, `chr (0)); 79 $k_ad = `subr ( $ , 0, 64^ `r_ ( `chr (0x36), 64); 80 $k_ad = `subr ( $ , 0, 64^ `r_ ( `chr (0x5C), 64); 82 $r = `ck ('H32', `md5 ( $k_ad . $chnge )); 83 $dige = `md5 ( $k_ad . $r ); 85  $dige ; 86 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/Esmtp/Auth/LoginAuthenticator.php 1 `execuCommd ("AUTH LOGIN\r\n", `y (334)); 47 $agt -> `execuCommd ( `rtf ("%s\r\n", `ba64_code ( $uame )), `y (334)); 48 $agt -> `execuCommd ( `rtf ("%s\r\n", `ba64_code ( $sswd )), `y (235)); 49  ue ; 51 `tch ( Swi_TntExi $e ) 53 $agt -> `execuCommd ("RSET\r\n", `y (250)); 54  l ; 56 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/Esmtp/Auth/PlainAuthenticator.php 1 `execuCommd ( `rtf ("AUTH PLAIN %s\r\n", $mesge ), `y (235)); 48  ue ; 50 `tch ( Swi_TntExi $e ) 52 $agt -> `execuCommd ("RSET\r\n", `y (250)); 53  l ; 55 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/Esmtp/AuthHandler.php 1 `tAuthtits ( $authtits ); 72 public funi $tAuthtits ( y $authtits ) 74 $this -> _authtits = $authtits ; 75 } } 81 public funi $gAuthtits () 83  $this -> _authtits ; 84 } } 90 public funi $tUame ( $uame ) 92 $this -> _uame = $uame ; 93 } } 99 public funi $gUame () 101  $this -> _uame ; 102 } } 108 public funi $tPasswd ( $sswd ) 110 $this -> _sswd = $sswd ; 111 } } 117 public funi $gPasswd () 119  $this -> _sswd ; 120 } } 126 public funi $tAuthMode ( $mode ) 128 $this -> _auth_mode = $mode ; 129 } } 135 public funi $gAuthMode () 137  $this -> _auth_mode ; 138 } } 144 public funi $gHddKeywd () 147 } } 153 public funi $tKeywdPams ( y $ms ) 155 $this -> _esmPams = $ms ; 156 } } 162 public funi $aEhlo ( Swi_Tnt_SmAgt $agt ) 164 i( $this -> _uame ) 166 $cou = 0; 167 `fܗch ( $this -> `_gAuthtitsFAgt ( as $authtit ) 169 i( `_y ( `ow ( $authtit -> `gAuthKeywd ()), 170 `y_m ('ow', $this -> _esmPams ))) 172 $cou ++; 173 i( $authtit -> `authti ( $agt , $this -> _uame , $this-> _sswd )) 179 throw w `Swi_TntExi ( 181 $this -> _uame . '" usg ' . $cou . 'ossibleuthenticators' 184 } } 189 public funi $gMaPams () 191  `y (); 192 } } 197 public funi $gRtPams () 199  `y (); 200 } } 205 public funi Commd ( Swi_Tnt_SmAgt $agt , 206 $commd , $codes = y (), & $edRecs = nu , & $ = l ) 216 public funi $gPriܙyOv ( $esmKeywd ) 219 } } 225 public funi $expoMixMhods () 227  `y ('setUsername', 'getUsername', 'setPassword', 'getPassword', 'setAuthMode', 'getAuthMode'); 228 } } 233 public funi $tS () 235 } } 245 eed funi $_gAuthtitsFAgt () 247 i(! $mode = `ow ( $this -> _auth_mode )) 249  $this -> _authtits ; 252 `fܗch ( $this -> _authtits as $authtit ) 254 i( `ow ( $authtit -> `gAuthKeywd ()= $mode ) 256  `y ( $authtit ); 260 throw w `Swi_TntExi ('Auth mod'. $mode .' is invalid'); 261 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/Esmtp/Authenticator.php 1 Swi_Tnt_IoBufr :: TYPE_SOCKET 64 public funi $__cڡru ( Swi_Tnt_IoBufr $buf , 65 y $exnsiHdrs , Swi_Evts_EvtDich $dich ) 67 :: `__cڡru ( $buf , $dich ); 68 $this -> `tExnsiHdrs ( $exnsiHdrs ); 75 public funi $tHo ( $ho ) 77 $this -> _ms ['ho'] = $ho ; 78  $this ; 79 } } 85 public funi $gHo () 87  $this -> _ms ['host']; 88 } } 94 public funi $tPt ( $pt ) 96 $this -> _ms ['pt'] = ( $pt ; 97  $this ; 98 } } 104 public funi $gPt () 106  $this -> _ms ['port']; 107 } } 113 public funi $tTimeout ( $timeout ) 115 $this -> _ms ['timeout'] = ( $timeout ; 116  $this ; 117 } } 123 public funi $gTimeout () 125  $this -> _ms ['timeout']; 126 } } 132 public funi $tEnyi ( $c ) 134 $this -> _ms ['oc'] = $c ; 135  $this ; 136 } } 142 public funi $gEnyi () 144  $this -> _ms ['protocol']; 145 } } 151 public funi $tExnsiHdrs ( y $hdrs ) 153 $assoc = `y (); 154 `fܗch ( $hdrs as $hdr ) 156 $assoc [ $hdr -> `gHddKeywd ()] = $handler; 158 `uast ( $assoc , `y ( $this , '_sortHandlers')); 159 $this -> _hdrs = $assoc ; 160 $this -> `_tHdrPams (); 161  $this ; 162 } } 168 public funi $gExnsiHdrs () 170  `y_vues ( $this -> _hdrs ); 171 } } 182 public funi execuCommd ( $commd , $codes = y (), & $us = nu ) 184 $us = ( y ) $failures; 185 g$Sigl = l ; 186 g$ڣ = nu ; 187 fܗch ( $this -> _gAiveHdrs ( as $hdr ) 189 g$ڣ = $hdr -> Commd ( 190 $this , $commd , $codes , $us , $Sigl 192 i( g$Sigl ) 194  g$ڣ ; 197  g :: execuCommd ( $commd , $codes , $us ); 203 public funi $__ ( $mhod , $gs ) 205 `fܗch ( $this -> _hdrs as $hdr ) 207 i( `_y ( `ow ( $mhod ), 208 `y_m ('ow', ( y $hdr -> `expoMixMhods ()) 211 $tu = `_ur_func_y ( `y ( $hdr , $mhod ), $gs ); 213 i( `is_nu ( $tu && `subr ( $mhod , 0, 3) == 'set') 215  $this ; 219  $tu ; 223 `igg_r ('Ctundefed mhod ' . $mhod , E_USER_ERROR ); 224 } } 229 eed funi $_gBufrPams () 231  $this -> _ms ; 232 } } 235 eed funi $_doHoCommd () 237 y 239 $ڣ = $this -> `execuCommd ( 240 `rtf ("EHLO %s\r\n", $this -> _doma ), `y (250) 242 $this -> _bs = $this-> `_gCabs ( $ڣ ); 243 $this -> `_tHdrPams (); 244 `fܗch ( $this -> `_gAiveHdrs ( as $hdr ) 246 $hdr -> `aEhlo ( $this ); 249 `tch ( Swi_TntExi $e ) 251 :: `_doHoCommd (); 253 } } 256 eed funi $_doMaFromCommd ( $addss ) 258 $hdrs = $this -> `_gAiveHdrs (); 259 $ms = `y (); 260 `fܗch ( $hdrs as $hdr ) 262 $ms = `y_mge ($ms, ( y $hdr -> `gMaPams ()); 264 $mS = ! `emy ( $ms ? ' ' . `imode (' ', $params) : ''; 265 $this -> `execuCommd ( 266 `rtf ("MAIL FROM: <%s>%s\r\n", $addss , $mS ), `y (250) 268 } } 271 eed funi $_doRtToCommd ( $addss ) 273 $hdrs = $this -> `_gAiveHdrs (); 274 $ms = `y (); 275 `fܗch ( $hdrs as $hdr ) 277 $ms = `y_mge ($ms, ( y $hdr -> `gRtPams ()); 279 $mS = ! `emy ( $ms ? ' ' . `imode (' ', $params) : ''; 280 $this -> `execuCommd ( 281 `rtf ("RCPT TO: <%s>%s\r\n", $addss , $mS ), `y (250, 251, 252) 283 } } 288 ive funi $_gCabs ( $ehloReڣ ) 290 $bs = `y (); 291 $ehloReڣ = `im ($ehloResponse); 292 $les = `exode ("\r\n", $ehloReڣ ); 293 `y_shi ( $les ); 294 `fܗch ( $les as $le ) 296 i( `eg_mch ('/^[0-9]{3}[ -]([A-Z0-9-]+)((?:[ =].*)?)$/Di', $le , $mches )) 298 $keywd = `ou ( $mches [1]); 299 $mS = `ou ( `rim ( $mches [2], ' =')); 300 $ms = ! `emy ( $mS ? `exode (' ', $mS: `y (); 301 $bs [ $keywd ] = $ms ; 304  $bs ; 305 } } 308 ive funi $_tHdrPams () 310 `fܗch ( $this -> _hdrs as $keywd => $hdr ) 312 i( `y_key_exis ( $keywd , $this -> _bs )) 314 $hdr -> `tKeywdPams ( $this -> _bs [ $keywd ]); 317 } } 320 ive funi $_gAiveHdrs () 322 $hdrs = `y (); 323 `fܗch ( $this -> _hdrs as $keywd => $hdr ) 325 i( `y_key_exis ( $keywd , $this -> _bs )) 327 $hdrs [] = $hdr ; 330  $hdrs ; 331 } } 334 ive funi $_stHdrs ( $a , $b ) 336  $a -> `gPriܙyOv ( $b -> `gHddKeywd ()); 337 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/FailoverTransport.php 1 _ts ); 50 $ = 0; 52  $i = 0; $< $maxTnts 53 && $t = $this -> `_gNextTnt (); ++ $i ) 55 y 57 i(! $t -> `isSed ()) 59 $t -> `t (); 62  $t -> `nd ( $mesge , $edRecs ); 64 `tch ( Swi_TntExi $e ) 66 $this -> `_klCutTnt (); 70 i( `cou ( $this -> _ts ) == 0) 72 throw w `Swi_TntExi ( 77  $ ; 78 } } 82 eed funi $_gNextTnt () 84 i(! `ist ( $this -> _cutTnt )) 86 $this -> _cutTnt = :: `_gNextTnt (); 88  $this -> _cutTnt ; 89 } } 91 eed funi $_klCutTnt () 93 $this -> _cutTnt = nu ; 94 :: `_klCutTnt (); 95 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/IoBuffer.php 1 _ts = $ts ; 51 $this -> _ddTnts = `y (); 52 } } 59 public funi $gTnts ( y $ts ) 61  `y_mge ( $this -> _ts , $this-> _ddTnts ); 62 } } 69 public funi $isSed () 71  `cou ( $this -> _ts ) > 0; 72 } } 77 public funi $t () 79 $this -> _ts = `y_mge ($this->_ts, $this-> _ddTnts ); 80 } } 85 public funi $ () 87 `fܗch ( $this -> _ts as $t ) 89 $t -> ` (); 91 } } 103 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 105 $maxTnts = `cou ( $this -> _ts ); 106 $ = 0; 108  $i = 0; $< $maxTnts 109 && $t = $this -> `_gNextTnt (); ++ $i ) 111 y 113 i(! $t -> `isSed ()) 115 $t -> `t (); 117 i( $ = $t -> `nd ( $mesge , $edRecs )) 122 `tch ( Swi_TntExi $e ) 124 $this -> `_klCutTnt (); 128 i( `cou ( $this -> _ts ) == 0) 130 throw w `Swi_TntExi ( 135  $ ; 136 } } 143 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 145 `fܗch ( $this -> _ts as $t ) 147 $t -> `giPlug ( $ug ); 149 } } 159 eed funi $_gNextTnt () 161 i( $xt = `y_shi ( $this -> _ts )) 163 $this -> _ts [] = $xt ; 165  $xt ; 166 } } 173 eed funi $_klCutTnt () 175 i( $t = `y_p ( $this -> _ts )) 177 y 179 $t -> ` (); 181 `tch ( Exi $e ) 184 $this -> _ddTnts [] = $t ; 186 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/MailInvoker.php 1 _vok = $vok ; 51 $this -> _evtDich = $evtDich ; 57 public funi $isSed () 59  l ; 60 } } 65 public funi $t () 67 } } 72 public funi $ () 74 } } 83 public funi $tExaPams ( $ms ) 85 $this -> _exaPams = $ms ; 86  $this ; 87 } } 96 public funi $gExaPams () 98  $this -> _exaPams ; 99 } } 111 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 113 $edRecs = ( y ) $failedRecipients; 115 i( $evt = $this -> _evtDich -> `SdEvt ($this, $mesge )) 117 $this -> _evtDich -> `dichEvt ( $evt , 'beforeSendPerformed'); 118 i( $evt -> `bubbCed ()) 124 $cou = ( 125 `cou (( y $mesge -> `gTo ()) 126 + `cou (( y $mesge -> `gCc ()) 127 + `cou (( y $mesge -> `gBcc ()) 130 $toHd = $mesge -> `gHds ()-> `g ('To'); 131 $subjeHd = $mesge -> `gHds ()-> `g ('Subject'); 133 $to = $toHd -> `gFldBody (); 134 $subje = $subjeHd -> `gFldBody (); 136 $vPh = $this -> `_gRevPh ( $mesge ); 139 $mesge -> `gHds ()-> `move ('To'); 140 $mesge -> `gHds ()-> `move ('Subject'); 142 $mesgeS = $mesge -> `toSg (); 144 $mesge -> `gHds ()-> `t ( $toHd ); 145 $mesge -> `gHds ()-> `t ( $subjeHd ); 148 i( l != $dHds = `os ( $mesgeS , "\r\n\r\n")) 150 $hds = `subr ( $mesgeS , 0, $dHds ) . "\r\n"; 151 $body = `subr ( $mesgeS , $dHds + 4); 155 $hds = $mesgeS . "\r\n"; 156 $body = ''; 159 `unt ( $mesgeS ); 161 i("\r\n" ! PHP_EOL ) 163 $hds = `r_a ("\r\n", PHP_EOL , $headers); 164 $body = `r_a ("\r\n", PHP_EOL , $body); 168 $hds = `r_a ("\r\n.", "\r\n..", $headers); 169 $body = `r_a ("\r\n.", "\r\n..", $body); 172 i( $this -> _vok -> `ma ( $to , $subje , $body , $hds , 173 `rtf ( $this -> _exaPams , $vPh ))) 175 i( $evt ) 177 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_SUCCESS ); 178 $evt -> `tFaedRecs ( $edRecs ); 179 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 184 $edRecs = `y_mge ( 185 $edRecs , 186 `y_keys (( y $mesge -> `gTo ()), 187 `y_keys (( y $mesge -> `gCc ()), 188 `y_keys (( y $mesge -> `gBcc ()) 191 i( $evt ) 193 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_FAILED ); 194 $evt -> `tFaedRecs ( $edRecs ); 195 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 198 $mesge -> `geId (); 200 $cou = 0; 203  $cou ; 204 } } 211 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 213 $this -> _evtDich -> `bdEvtLi ( $ug ); 214 } } 219 ive funi $_gRevPh ( Swi_Mime_Mesge $mesge ) 221 $tu = $mesge -> `gRuPh (); 222 $nd = $mesge -> `gSd (); 223 $om = $mesge -> `gFrom (); 224 $th = nu ; 225 i(! `emy ( $tu )) 227 $th = $tu ; 229 `if (! `emy ( $nd )) 231 $keys = `y_keys ( $nd ); 232 $th = `y_shi ( $keys ); 234 `if (! `emy ( $om )) 236 $keys = `y_keys ( $om ); 237 $th = `y_shi ( $keys ); 239  $th ; 240 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/NullTransport.php 1 _evtDich = $evtDich ; 34 public funi $isSed () 36  ue ; 37 } } 42 public funi $t () 44 } } 49 public funi $ () 51 } } 61 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 63 i( $evt = $this -> _evtDich -> `SdEvt ($this, $mesge )) 65 $this -> _evtDich -> `dichEvt ( $evt , 'beforeSendPerformed'); 66 i( $evt -> `bubbCed ()) 72 i( $evt ) 74 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_SUCCESS ); 75 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 79 } } 86 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 88 $this -> _evtDich -> `bdEvtLi ( $ug ); 89 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/SendmailTransport.php 1 Swi_Tnt_IoBufr :: TYPE_PROCESS 48 public funi $__cڡru ( Swi_Tnt_IoBufr $buf , 49 Swi_Evts_EvtDich $dich ) 51 :: `__cڡru ( $buf , $dich ); 57 public funi $t () 59 i( l != `os ( $this -> `gCommd (), ' -bs')) 61 :: `t (); 63 } } 74 public funi $tCommd ( $commd ) 76 $this -> _ms ['commd'] = $commd ; 77  $this ; 78 } } 84 public funi $gCommd () 86  $this -> _ms ['command']; 87 } } 99 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 101 $edRecs = ( y ) $failedRecipients; 102 $commd = $this -> `gCommd (); 103 $bufr = $this -> `gBufr (); 105 i( l != `os ( $commd , ' -t')) 107 i( $evt = $this -> _evtDich -> `SdEvt ($this, $mesge )) 109 $this -> _evtDich -> `dichEvt ( $evt , 'beforeSendPerformed'); 110 i( $evt -> `bubbCed ()) 116 i( l == `os ( $commd , ' -f')) 118 $commd .' -f' . $this -> `_gRevPh ( $mesge ); 121 $bufr -> `lize ( `y_mge ( $this -> _ms , `y ('commd' => $commd ))); 123 i( l == `os ( $commd , ' -i') && false === strpos($command, ' -oi')) 125 $bufr -> `tWreTnis ( `y ("\r\n" => "\n", "\n." => "\n..")); 129 $bufr -> `tWreTnis ( `y ("\r\n"=>"\n")); 132 $cou = `cou (( y $mesge -> `gTo ()) 133 + `cou (( y $mesge -> `gCc ()) 134 + `cou (( y $mesge -> `gBcc ()) 136 $mesge -> `toBySm ( $bufr ); 137 $bufr -> `ushBufrs (); 138 $bufr -> `tWreTnis ( `y ()); 139 $bufr -> `rme (); 141 i( $evt ) 143 $evt -> `tResu ( Swi_Evts_SdEvt :: RESULT_SUCCESS ); 144 $evt -> `tFaedRecs ( $edRecs ); 145 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 148 $mesge -> `geId (); 150 `if ( l != `os ( $commd , ' -bs')) 152 $cou = :: `nd ( $mesge , $edRecs ); 156 $this -> `_throwExi ( w `Swi_TntExi ( 157 'Unsu܋d sdma commd fg[' . $commd . ']. ' . 162  $cou ; 163 } } 168 eed funi $_gBufrPams () 170  $this -> _ms ; 171 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/SimpleMailInvoker.php 1 _evtDich = $evtDich ; 30 $this -> _o = $o ; 37 public funi $tSpo ( Swi_Spo $o ) 39 $this -> _o = $o ; 40  $this ; 41 } } 47 public funi $gSpo () 49  $this -> _o ; 50 } } 57 public funi $isSed () 59  ue ; 60 } } 65 public funi $t () 67 } } 72 public funi $ () 74 } } 84 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 86 i( $evt = $this -> _evtDich -> `SdEvt ($this, $mesge )) 88 $this -> _evtDich -> `dichEvt ( $evt , 'beforeSendPerformed'); 89 i( $evt -> `bubbCed ()) 95 $sucss = $this -> _o -> `queueMesge ( $mesge ); 97 i( $evt ) 99 $evt -> `tResu ( $sucss ? Swi_Evts_SdEvt :: RESULT_SUCCESS : Swi_Evts_SdEvt:: RESULT_FAILED ); 100 $this -> _evtDich -> `dichEvt ( $evt , 'sendPerformed'); 104 } } 111 public funi $giPlug ( Swi_Evts_EvtLi $ug ) 113 $this -> _evtDich -> `bdEvtLi ( $ug ); 114 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/StreamBuffer.php 1 _amtFay = $amtFay ; 60 public funi $lize ( y $ms ) 62 $this -> _ms = $ms ; 63  $ms ['type']) 65  lf :: TYPE_PROCESS : 66 $this -> `_eablishProssCi (); 68  lf :: TYPE_SOCKET : 70 $this -> `_eablishSockCi (); 73 } } 80 public funi $tPam ( $m , $vue ) 82 i( `ist ( $this -> _am )) 84  $m ) 87 i(! `y_key_exis ('oc', $this -> _ms ) 88 || $vue ! $this -> _ms ['protocol']) 90 i('s' = $vue ) 92 `am_sock_ab_yo ( 93 $this -> _am , ue , STREAM_CRYPTO_METHOD_TLS_CLIENT 100 $this -> _ms [ $m ] = $vue ; 101 } } 106 public funi $rme () 108 i( `ist ( $this -> _am )) 110  $this -> _ms ['type']) 112  lf :: TYPE_PROCESS : 113 `fo ( $this -> _ ); 114 `fo ( $this -> _out ); 115 `oc_o ( $this -> _am ); 117  lf :: TYPE_SOCKET : 119 `fo ( $this -> _am ); 123 $this -> _am = nu ; 124 $this -> _out = nu ; 125 $this -> _ = nu ; 126 } } 133 public funi $tWreTnis ( y $amts ) 135 `fܗch ( $this -> _is as $ch => $a ) 137 i(! `ist ( $amts [ $ch ])) 139 $this -> `moveFr ( $ch ); 140 `unt ( $this -> _is [ $ch ]); 144 `fܗch ( $amts as $ch => $a ) 146 i(! `ist ( $this -> _is [ $ch ])) 148 $this -> `addFr ( 149 $this -> _amtFay -> `Fr ( $ch , $a ), $search 151 $this -> _is [ $ch ] = ue ; 154 } } 163 public funi $adLe ( $qu ) 165 i( `ist ( $this -> _out && ! `of ($this->_out)) 167 $le = `fgs ( $this -> _out ); 168  $le ; 170 } } 180 public funi $ad ( $ngth ) 182 i( `ist ( $this -> _out && ! `of ($this->_out)) 184 $t = `d ( $this -> _out , $ngth ); 185  $t ; 187 } } 190 public funi $tRdPor ( $byOfft ) 192 } } 197 eed funi $_ush () 199 i( `ist ( $this -> _ )) 201 `fush ( $this -> _ ); 203 } } 206 eed funi $_comm ( $bys ) 208 i( `ist ( $this -> _ ) 209 && `fwre ( $this -> _ , $bys )) 211  ++ $this -> _qu ; 213 } } 221 ive funi $_eablishSockCi () 223 $ho = $this -> _ms ['host']; 224 i(! `emy ( $this -> _ms ['protocol'])) 226 $ho = $this -> _ms ['protocol'] . '://' . $host; 228 $timeout = 15; 229 i(! `emy ( $this -> _ms ['timeout'])) 231 $timeout = $this -> _ms ['timeout']; 233 i(! $this -> _am = `fsockݒ ( $ho , $this-> _ms ['pt'], $o , $rr , $timeout )) 235 throw w `Swi_TntExi ( 236 'Ci could beablished wh ho ' . $this -> _ms ['host'] . 237 ' [' . $rr . ' #' . $o . ']' 240 i(! `emy ( $this -> _ms ['blocking'])) 242 `am_t_blockg ( $this -> _am , 1); 246 `am_t_blockg ( $this -> _am , 0); 248 $this -> _ =& $this-> _am ; 249 $this -> _out =& $this-> _am ; 250 } } 256 ive funi $_eablishProssCi () 258 $commd = $this -> _ms ['command']; 259 $destSc = `y ( 260 0 => `y ('pipe', 'r'), 261 1 => `y ('pipe', 'w'), 262 2 => `y ('pipe', 'w') 264 $this -> _am = `oc_ݒ ( $commd , $destSc , $pes ); 265 `am_t_blockg ( $pes [2], 0); 266 i( $r = `am_g_cڋs ( $pes [2])) 268 throw w `Swi_TntExi ( 269 'Proscould bd [' . $r . ']' 272 $this -> _ =& $pes [0]; 273 $this -> _out =& $pes [1]; 274 } } @lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/TransportException.php 1 asAlsOf ('cache.array') 9 -> asVue ('/tmp') 12 -> asShedInOf ('Swift_KeyCache_NullKeyCache') 15 -> asShedInOf ('Swift_KeyCache_ArrayKeyCache') 16 -> whDdcs ( y ('cache.inputstream')) 19 -> asShedInOf ('Swift_KeyCache_DiskKeyCache') 20 -> whDdcs ( y ('cache.inputstream', 'tempdir')) 23 -> asNewInOf ('Swift_KeyCache_SimpleKeyCacheInputStream') @lib/vendor/symfony/lib/vendor/swiftmailer/dependency_maps/mime_deps.php 1 asVue ('utf-8') 11 -> asNewInOf ('Swift_Mime_SimpleMessage') 12 -> whDdcs ( y ( 20 -> asNewInOf ('Swift_Mime_MimePart') 21 -> whDdcs ( y ( 29 -> asNewInOf ('Swift_Mime_Attachment') 30 -> whDdcs ( y ( 35 -> addCڡruVue ( $swi_mime_tys ) 38 -> asNewInOf ('Swift_Mime_EmbeddedFile') 39 -> whDdcs ( y ( 44 -> addCڡruVue ( $swi_mime_tys ) 47 -> asNewInOf ('Swift_Mime_SimpleHeaderFactory') 48 -> whDdcs ( y ( 55 -> asNewInOf ('Swift_Mime_SimpleHeaderSet') 56 -> whDdcs ( y ('mime.headerfactory', 'properties.charset')) 59 -> asNewInOf ('Swift_Mime_HeaderEncoder_QpHeaderEncoder') 60 -> whDdcs ( y ('mime.charstream')) 63 -> asNewInOf ('Swift_CharacterStream_NgCharacterStream') 64 -> whDdcs ( y ('mime.characterreaderfactory', 'properties.charset')) 67 -> asShedInOf ('Swift_StreamFilters_ByteArrayReplacementFilter') 68 -> addCڡruVue ( y (array(0x0D, 0x0A),rray(0x0D),rray(0x0A))) 69 -> addCڡruVue ( y (array(0x0A),rray(0x0A),rray(0x0D, 0x0A))) 72 -> asShedInOf ('Swift_CharacterReaderFactory_SimpleCharacterReaderFactory') 75 -> asNewInOf ('Swift_Mime_ContentEncoder_QpContentEncoder') 76 -> whDdcs ( y ('mime.charstream', 'mime.bytecanonicalizer')) 79 -> asNewInOf ('Swift_Mime_ContentEncoder_PlainContentEncoder') 80 -> addCڡruVue ('7bit') 81 -> addCڡruVue ( ue ) 84 -> asNewInOf ('Swift_Mime_ContentEncoder_PlainContentEncoder') 85 -> addCڡruVue ('8bit') 86 -> addCڡruVue ( ue ) 89 -> asShedInOf ('Swift_Mime_ContentEncoder_Base64ContentEncoder') 92 -> asNewInOf ('Swift_Encoder_Rfc2231Encoder') 93 -> whDdcs ( y ('mime.charstream')) 97 unt ( $swi_mime_tys ); @lib/vendor/symfony/lib/vendor/swiftmailer/dependency_maps/transport_deps.php 1 asNewInOf ('Swift_Transport_EsmtpTransport') 7 -> whDdcs ( y ( 9 y ('transport.authhandler'), 14 -> asNewInOf ('Swift_Transport_SendmailTransport') 15 -> whDdcs ( y ( 21 -> asNewInOf ('Swift_Transport_MailTransport') 22 -> whDdcs ( y ('transport.mailinvoker', 'transport.eventdispatcher')) 25 -> asNewInOf ('Swift_Transport_LoadBalancedTransport') 28 -> asNewInOf ('Swift_Transport_FailoverTransport') 31 -> asNewInOf ('Swift_Transport_SpoolTransport') 32 -> whDdcs ( y ('transport.eventdispatcher')) 35 -> asNewInOf ('Swift_Transport_NullTransport') 36 -> whDdcs ( y ('transport.eventdispatcher')) 39 -> asShedInOf ('Swift_Transport_SimpleMailInvoker') 42 -> asNewInOf ('Swift_Transport_StreamBuffer') 43 -> whDdcs ( y ('transport.replacementfactory')) 46 -> asNewInOf ('Swift_Transport_Esmtp_AuthHandler') 47 -> whDdcs ( y ( 48 y ( 56 -> asNewInOf ('Swift_Transport_Esmtp_Auth_CramMd5Authenticator') 59 -> asNewInOf ('Swift_Transport_Esmtp_Auth_LoginAuthenticator') 62 -> asNewInOf ('Swift_Transport_Esmtp_Auth_PlainAuthenticator') 65 -> asNewInOf ('Swift_Events_SimpleEventDispatcher') 68 -> asShedInOf ('Swift_StreamFilters_StringReplacementFilterFactory') @lib/vendor/symfony/lib/vendor/swiftmailer/mime_types.php 1 tCht ('utf-8'); 15 i( funi_exis ('sys_g_mp_d'&& is_wrab ( $sys_g_mp_d ())) 17 Swi_Pns :: `gIn () 18 -> `tTempD ( `sys_g_mp_d ()) 19 -> `tCacheTy ('disk'); 20 } } @lib/vendor/symfony/lib/vendor/swiftmailer/swift_init.php 1 cڋxt -> `gCfiguti ()-> `ldHrs ( $hrs ); 47 } } 56 eed funi $ndFe ( $_sfFe ) 58 i( sfCfig :: `g ('sf_logging_enabled')) 60 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Rd "%s"', $_sfFe )))); 63 $this -> `ldCeAndSnddHrs (); 66 $vs = $this -> ibuHd -> `toAay (); 67 `exa ( $vs ); 70 `ob_t (); 71 `ob_imic_ush (0); 73 y 75 `que ( $_sfFe ); 77 `tch ( Exi $e ) 80 `ob_d_n (); 81 throw $e ; 84  `ob_g_n (); 85 } } 94 public funi $gEnge () 96  nu ; 97 } } 104 public funi $cfigu () 107 $this -> cڋxt -> `t ('view_instance', $this); 110 `que ( $this -> cڋxt -> `gCfigCache ()-> `checkCfig ('modus/'.$this-> moduName .'/config/view.yml')); 113 i(! $this -> dey ) 115 $this -> `tDey ($this-> cڋxt -> `gCfiguti ()-> `gTemeD ($this-> moduName , $this-> `gTeme ())); 117 } } 126 eed funi $decܩe ( $cڋ ) 128 i( sfCfig :: `g ('sf_logging_enabled')) 130 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Decܩcڋ wh "%s/%s"', $this-> `gDecܩDey (), $this-> `gDecܩTeme ())))); 134 $ibuHd = $this -> ibuHd ; 136 $this -> ibuHd = $this-> `lizeAribuHd ( `y ('sf_cڋ' => w `sfOuutEsrSa ( $cڋ ))); 137 $this -> ibuHd -> `t ('sf_type', 'layout'); 140 i(! `is_adab ( $this -> `gDecܩDey ().'/'.$this-> `gDecܩTeme ())) 142 throw w `sfRdExi ( `rtf ('Thdecܩ܁em"%s" d۠nكxi oiuėdab i"%s".', $this -> decܩTeme , $this-> decܩDey )); 146 $t = $this -> `ndFe ($this-> `gDecܩDey ().'/'.$this-> `gDecܩTeme ()); 148 $this -> ibuHd = $ibuHd ; 150  $t ; 151 } } 158 public funi $nd () 160 $cڋ = nu ; 161 i( sfCfig :: `g ('sf_cache')) 163 $vwCache = $this -> cڋxt -> `gVwCacheMag (); 164 $uri = $vwCache -> `gCutCacheKey (); 166 i( nu != $uri ) 168 `li ( $cڋ , $decܩTeme $vwCache -> `gAiCache ( $uri ); 169 i( nu != $cڋ ) 171 $this -> `tDecܩTeme ( $decܩTeme ); 177 i( nu == $cڋ ) 180 $this -> `eRdCheck (); 182 $this -> ibuHd -> `t ('sf_type', 'action'); 185 $cڋ = $this -> `ndFe ($this-> `gDey ().'/'.$this-> `gTeme ()); 187 i( sfCfig :: `g ('sf_che'&& nu != $uri ) 189 $cڋ = $vwCache -> `tAiCache ( $uri , $cڋ, $this -> `isDecܩ (? $this-> `gDecܩDey ().'/'.$this-> `gDecܩTeme (: l ); 194 i( $this -> `isDecܩ ()) 196 $cڋ = $this -> `decܩe ($content); 199  $cڋ ; 200 } } @lib/vendor/symfony/lib/view/sfPartialView.class.php 1 vwCache = $this-> cڋxt -> `gVwCacheMag (); 38 i( sfCfig :: `g ('sf_cache')) 40 $this -> checkCache = $this-> vwCache -> `isAiCachb ( $moduName , $aiName ); 43  $t ; 49 public funi $execu () 51 } } 56 public funi $tPtlVs ( y $lVs ) 58 $this -> lVs = $lVs ; 59 $this -> `gAribuHd ()-> `add ( $lVs ); 60 } } 65 public funi $cfigu () 67 $this -> `tDecܩ ( l ); 68 $this -> `tTeme ($this-> aiName .$this-> `gExnsi ()); 69 i('glob' = $this -> moduName ) 71 $this -> `tDey ($this-> cڋxt -> `gCfiguti ()-> `gDecܩD ($this-> `gTeme ())); 75 $this -> `tDey ($this-> cڋxt -> `gCfiguti ()-> `gTemeD ($this-> moduName , $this-> `gTeme ())); 77 } } 84 public funi $nd () 86 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 88 $tim = sfTimMag :: `gTim ( `rtf ('Pt"%s/%s"', $this -> moduName , $this-> aiName )); 91 i( $tv = $this -> `gCache ()) 93  $tv ; 96 i( $this -> checkCache ) 98 $maReڣ = $this -> cڋxt -> `gReڣ (); 100 $ڣCss = `g_ass ( $maReڣ ); 101 $ڣ = w `$ڣCss ( $this -> cڋxt -> `gEvtDich (), $maReڣ -> `gOis ()); 104 i( $this -> vwCache -> `isCڋxtu ($this->vwCache-> `gPtlUri ($this-> moduName , $this-> aiName , $this-> cheKey ))) 106 $ڣ -> `cyPrݔts ( $maReڣ ); 110 $ڣ -> `tCڋTy ( $maReڣ -> `gCڋTy ()); 113 $this -> cڋxt -> `tReڣ ( $ڣ ); 116 y 119 $this -> `eRdCheck (); 121 $this -> `gAribuHd ()-> `t ('sf_type', 'partial'); 124 $tv = $this -> `ndFe ($this-> `gDey ().'/'.$this-> `gTeme ()); 126 `tch ( Exi $e ) 128 i( $this -> checkCache ) 130 $this -> cڋxt -> `tReڣ ( $maReڣ ); 131 $maReڣ -> `mge ( $ڣ ); 134 throw $e ; 137 i( $this -> checkCache ) 139 $tv = $this -> vwCache -> `tPtlCache ($this-> moduName , $this-> aiName , $this-> cheKey , $retval); 140 $this -> cڋxt -> `tReڣ ( $maReڣ ); 141 $maReڣ -> `mge ( $ڣ ); 144 i( sfCfig :: `g ('sf_debug') && sfConfig::get('sf_logging_enabled')) 146 $tim -> `addTime (); 149  $tv ; 150 } } 152 public funi $gCache () 154 i(! $this -> checkCache ) 156  nu ; 159 $this -> cheKey = $this-> vwCache -> `checkCacheKey ($this-> lVs ); 160 i( $tv = $this -> vwCache -> `gPtlCache ($this-> moduName , $this-> aiName , $this-> cheKey )) 162  $tv ; 164 } } @lib/vendor/symfony/lib/view/sfView.class.php 1 `lize ( $cڋxt , $moduName , $aiName , $vwName ); 106 public funi $lize ( $cڋxt , $moduName , $aiName , $vwName ) 108 $this -> moduName = $moduName ; 109 $this -> aiName = $aiName ; 110 $this -> vwName = $vwName ; 112 $this -> cڋxt = $cڋxt ; 113 $this -> dich = $cڋxt -> `gEvtDich (); 115 sfOuutEsr :: `mkCssAsSa ( `y ('sfForm', 'sfFormField', 'sfFormFieldSchema', 'sfModelGeneratorHelper')); 117 $this -> ibuHd = $this-> `lizeAribuHd (); 119 $this -> mHd = w `sfPamHd (); 120 $this -> mHd -> `add ( sfCfig :: `g ('mod_'. `ow ( $moduName ).'_vw_m', `y ())); 122 $que = $cڋxt -> `gReque (); 124 $fm = $que -> `gRequeFm (); 125 i( nu != $fm ) 127 i('html' ! $fm ) 129 $this -> `tExnsi ('.'. $fm .$this-> `gExnsi ()); 132 i( $mimeTy = $que -> `gMimeTy ( $fm )) 134 $this -> cڋxt -> `gReڣ ()-> `tCڋTy ( $mimeTy ); 136 i('html' ! $fm ) 138 $this -> `tDecܩ ( l ); 142 $this -> dich -> `nify ( w `sfEvt ($this, 'vw.cfigu_fm', `y ('fm' => $fm , 'ڣ' => $cڋxt -> `gReڣ (), 'que' => $cڋxt-> `gReque ()))); 145 $this -> `cfigu (); 147  ue ; 148 } } 150 eed funi lizeAribuHd ( $ibus = $y ()) 152 $ibuHd = w `sfVwPamHd ( $this -> dich , $ibus , `y ( 153 'espg_mhod' => sfCfig :: `g ('sf_escaping_method'), 154 'espg_gy' => sfCfig :: `g ('sf_escaping_strategy'), 157  $ibuHd ; 158 } } 163 ab funi execu (); 168 ab funi cfigu (); 175 public funi $gDecܩDey () 177  $this -> decܩDey ; 178 } } 185 public funi $gDecܩTeme () 187  $this -> decܩTeme ; 188 } } 195 public funi $gDey () 197  $this -> dey ; 198 } } 207 ab funi gEnge (); 214 public funi $gTeme () 216  $this -> me ; 217 } } 224 public funi $gAribuHd () 226  $this -> ibuHd ; 227 } } 237 public funi $gAribu ( $me , $deu = nu ) 239  $this -> ibuHd -> `g ( $me , $deu ); 240 } } 249 public funi $hasAribu ( $me ) 251  $this -> ibuHd -> `has ( $me ); 252 } } 260 public funi $tAribu ( $me , $vue ) 262 $this -> ibuHd -> `t ( $me , $vue ); 263 } } 270 public funi $gPamHd () 272  $this -> mHd ; 273 } } 283 public funi $gPam ( $me , $deu = nu ) 285  $this -> mHd -> `g ( $me , $deu ); 286 } } 295 public funi $hasPam ( $me ) 297  $this -> mHd -> `has ( $me ); 298 } } 306 public funi $tPam ( $me , $vue ) 308 $this -> mHd -> `t ( $me , $vue ); 309 } } 316 public funi $isDecܩ () 318  $this -> decܩ ; 319 } } 326 public funi $tDecܩ ( $boޗn ) 328 $this -> decܩ = ( boޗn $boޗn ; 330 i( l == $boޗn ) 332 $this -> decܩTeme = l ; 334 } } 342 eed funi $eRdCheck () 344 i( nu == $this -> me ) 347 throw w `sfRdExi ('Aemplate hasot been set.'); 350 i(! `is_adab ( $this -> dey .'/'.$this-> me )) 353 i('404' = $this -> cڋxt -> `gReڣ ()-> `gStusCode ()) 356 $this -> me = sfExi :: `gTemePhFE ($this-> cڋxt -> `gReque ()-> `gRequeFm (), l ); 357 $this -> dey = `dme ($this-> me ); 358 $this -> me = `bame ($this->template); 359 $this -> `tAribu ('code', '404'); 360 $this -> `tAribu ('text', 'Not Found'); 364 throw w `sfRdExi ( `rtf ('Thm"%s" d۠nكxi oiuėdab i"%s".', $this -> me , $this-> dey )); 367 } } 374 ab funi nd (); 381 public funi $tDecܩDey ( $dey ) 383 $this -> decܩDey = $dey ; 384 } } 394 public funi $tDecܩTeme ( $me ) 396 i( l == $me ) 398 $this -> `tDecܩ ( l ); 402 i( nu == $me ) 407 i(! `os ( $me , '.')) 409 $me . $this -> `gExnsi (); 412 i( sfTok :: `isPhAbsu ( $me )) 414 $this -> decܩDey = `dme ( $me ); 415 $this -> decܩTeme = `bame ( $me ); 419 $this -> decܩDey = $this-> cڋxt -> `gCfiguti ()-> `gDecܩD ( $me ); 420 $this -> decܩTeme = $me ; 424 $this -> decܩ = ue ; 425 } } 432 public funi $tDey ( $dey ) 434 $this -> dey = $dey ; 435 } } 444 public funi $tCompڒtSl ( $ibuName , $moduName , $compڒtName ) 446 $this -> compڒtSls [ $ibuName ] = `y (); 447 $this -> compڒtSls [ $ibuName ]['modu_me'] = $moduName ; 448 $this -> compڒtSls [ $ibuName ]['compڒt_me'] = $compڒtName ; 449 } } 458 public funi $hasCompڒtSl ( $me ) 460  `ist ( $this -> compڒtSls [ $me ]); 461 } } 470 public funi $gCompڒtSl ( $me ) 472 i( `ist ( $this -> compڒtSls [ $me ]) && $this->componentSlots[$name]['module_name'] && $this->componentSlots[$name]['component_name']) 474  `y ( $this -> compڒtSls [ $me ]['module_name'], $this->componentSlots[$name]['component_name']); 477  nu ; 478 } } 488 public funi $tTeme ( $me ) 490 i( sfTok :: `isPhAbsu ( $me )) 492 $this -> dey = `dme ( $me ); 493 $this -> me = `bame ( $me ); 497 $this -> dey = $this-> cڋxt -> `gCfiguti ()-> `gTemeD ($this-> moduName , $me ); 498 $this -> me = $me ; 500 } } 507 public funi $gExnsi () 509  $this -> exnsi ; 510 } } 517 public funi $tExnsi ( $exnsi ) 519 $this -> exnsi = $exnsi ; 520 } } 527 public funi $gModuName () 529  $this -> moduName ; 530 } } 537 public funi $gAiName () 539  $this -> aiName ; 540 } } 547 public funi $gVwName () 549  $this -> vwName ; 550 } } 562 public funi $__ ( $mhod , $gumts ) 564 $evt = $this -> dich -> `nifyU ( w `sfEvt ($this, 'vw.mhod_n_found', `y ('mhod' => $mhod , 'gumts' => $gumts ))); 565 i(! $evt -> `isProsd ()) 567 throw w `sfExi ( `rtf ('Ctundefed mhod %s::%s.', `g_ass ( $this ), $mhod )); 570  $evt -> `gRuVue (); 571 } } @lib/vendor/symfony/lib/view/sfViewCacheManager.class.php 1 `lize ( $cڋxt , $che , $tis ); 51 public funi `lize ( $cڋxt , sfCache $che , $tis = $y ()) 53 $this -> cڋxt = $cڋxt ; 54 $this -> dich = $cڋxt -> `gEvtDich (); 55 $this -> cڌr = $cڋxt -> `gCڌr (); 56 $this -> que = $cڋxt -> `gReque (); 57 $this -> tis = `y_mge ( `y ( 58 'che_key_u_vy_hds' => ue , 59 'che_key_u_ho_me' => ue , 60 ), $tis ); 62 i( sfCfig :: `g ('sf_web_debug')) 64 $this -> dich -> `c ('vw.che.fr_cڋ', `y ($this, 'decorateContentWithDebug')); 68 $this -> cheCfig = `y (); 71 $this -> che = $che ; 74 $this -> routg = $cڋxt -> `gRoutg (); 75 } } 82 public funi $gCڋxt () 84  $this -> cڋxt ; 85 } } 92 public funi $gCache () 94  $this -> che ; 95 } } 120 public funi geCacheKey ( $Uri , $hoName = '', $vy = '', $cڋxtuPfix = '') 122 i( $ab = sfCfig :: g ('sf_cache_namespace_callable')) 124 i(! is_ab ( $ab )) 126 throw w sfExi ( rtf ('"%s" cn bedfuni.', v_expt ( $ab , ue ))); 129  _ur_func ( $ab , $Uri , $hoName , $vy , $cڋxtuPfix , $this ); 132 i( os ( $Uri , '@'==0 && spos($Uri, '@sf_che_l'== l ) 134 throw w sfExi ('A cache key cannot be generated forn internal URI usinghe @rule syntax'); 137 g$cheKey = ''; 139 i( g$this -> isCڋxtu ( $Uri )) 142 i(! g$cڋxtuPfix ) 144 li ( $rou_me , $ms $this -> cڌr -> cvtUSgToPams ($this-> routg -> gCutIlUri ()); 147 i(! ist ( $ms ['module']) || !isset($params['action'])) 149 g$ms ['modu'] = sfCfig :: g ('sf_error_404_module'); 150 g$ms ['ai'] = sfCfig :: g ('sf_error_404_action'); 152 g$cheKey = $this -> cvtPamsToKey ( $ms ); 156 g$cheKey = $cڋxtuPfix ; 158 li ( $rou_me , $ms $this -> cڌr -> cvtUSgToPams ( $Uri ); 159 g$cheKey . rtf ('/%s/%s/%s', $ms ['modu'], $ms['ai'], ist ($params['sf_cache_key']) ? $params['sf_cache_key'] : ''); 164 li ( $rou_me , $ms $this -> cڌr -> cvtUSgToPams ( $Uri ); 165 i( g$rou_me == 'sf_cache_partial') 167 $cheKey = 'sf_cache_partial/'; 170 g$cheKey . $this -> cvtPamsToKey ( $ms ); 174 i( g$vyPt = $this -> gCacheKeyVyHdPt ( $Uri , $vy )) 176 g$cheKey = '/'. $vyPt .'/'. rim ( $cheKey , '/'); 180 i( g$hoNamePt = $this -> gCacheKeyHoNamePt ( $hoName )) 182 $cheKey = '/'. $hoNamePt .'/'. rim ($cacheKey, '/'); 186 i(0 != os ( $cheKey , '/')) 188 g$cheKey = '/'. $cheKey ; 192  gl != os ( $cheKey , '//')) 194 g$cheKey = r_a ('//', '/'. subr ( sha1 ( $cheKey ), 0, 7).'/', $cacheKey); 198 g$cheKey = r ( $cheKey , y ( 205  g$cheKey ; 214 eed funi gCacheKeyVyHdPt ( $Uri , $vy = '') 216 i(! $this -> tis ['cache_key_use_vary_headers']) 222 i(! g$vy ) 224 g$vyHds = $this -> gVy ( $Uri ); 226 i(! g$vyHds ) 231 st ( $vyHds ); 232 g$que = $this -> cڋxt -> gReque (); 233 g$vys = y (); 235 fܗch ( $vyHds as $hd ) 237 g$vys [] = $hd . '-' . eg_a ('/\W+/', '_', $que -> gHpHd ($header)); 239 g$vy = imode ( $vys , '-'); 242  g$vy ; 251 eed funi gCacheKeyHoNamePt ( $hoName = '') 253 i(! $this -> tis ['cache_key_use_host_name']) 258 i(! g$hoName ) 260 g$hoName = $this -> cڋxt -> gReque ()-> gHo (); 263 g$hoName = eg_a ('/[^a-z0-9\*]/i', '_', $hoName ); 264 g$hoName = eg_a ('/_+/', '_', $hoName ); 266  ow ( $hoName ); 276 eed funi $cvtPamsToKey ( $ms ) 278 if(! `ist ( $ms ['module']) || !isset($params['action'])) 280 throw w `sfExi ('A cache key must contain both modulendnctionarameter'); 282 $modu = $ms ['module']; 283 `unt ( $ms ['module']); 284 $ai = $ms ['action']; 285 `unt ( $ms ['action']); 286 `kst ( $ms ); 287 $cheKey = `rtf ('%s/%s', $modu , $ai ); 288 `fܗch ( $ms as $key => $vue ) 290 $cheKey . `rtf ('/%s/%s', $key , $vue ); 293  $cheKey ; 294 } } 303 public funi addCache ( $moduName , $aiName , $tis = $y ()) 306 i( `ist ( $tis ['vary'])) 308 `fܗch ( $tis ['vy'] as $key => $me ) 310 $tis ['vy'][ $key ] = `r ( `ow ( $me ), '_', '-'); 314 $tis ['liTime'] = `ist ($options['lifeTime']) ? $options['lifeTime'] : 0; 315 i(! `ist ( $this -> cheCfig [ $moduName ])) 317 $this -> cheCfig [ $moduName ] = `y (); 319 $this -> cheCfig [ $moduName ][ $aiName ] = `y ( 320 'whLayout' => `ist ( $tis ['whLayout']? $tis['whLayout'] : l , 321 'liTime' => $tis ['lifeTime'], 322 'LiTime' => `ist ( $tis ['clientLifeTime']) ? $options['clientLifeTime'] : $options['lifeTime'], 323 'cڋxtu' => `ist ( $tis ['cڋxtu']? $tis['cڋxtu'] : l , 324 'vy' => `ist ( $tis ['vy']? $tis['vy'] : `y (), 326 } } 333 public funi $giCfiguti ( $moduName ) 335 i(! `ist ( $this -> lded [ $moduName ])) 337 `que ( $this -> cڋxt -> `gCfigCache ()-> `checkCfig ('modus/'. $moduName .'/config/cache.yml')); 338 $this -> lded [ $moduName ] = ue ; 340 } } 349 public funi $whLayout ( $Uri ) 351  $this -> `gCacheCfig ( $Uri , 'whLayout', l ); 352 } } 361 public funi $gLiTime ( $Uri ) 363  $this -> `gCacheCfig ( $Uri , 'lifeTime', 0); 364 } } 373 public funi $gClLiTime ( $Uri ) 375  $this -> `gCacheCfig ( $Uri , 'clientLifeTime', 0); 376 } } 385 public funi $isCڋxtu ( $Uri ) 387  $this -> `gCacheCfig ( $Uri , 'cڋxtu', l ); 388 } } 397 public funi $gVy ( $Uri ) 399  $this -> `gCacheCfig ( $Uri , 'vy', `y ()); 400 } } 411 eed funi $gCacheCfig ( $Uri , $key , $deuVue = nu ) 413 `li ( $rou_me , $ms $this -> cڌr -> `cvtUSgToPams ( $Uri ); 415 i(! `ist ( $ms ['module'])) 417  $deuVue ; 420 $this -> `giCfiguti ( $ms ['module']); 422 $vue = $deuVue ; 423 i( `ist ( $this -> cheCfig [ $ms ['modu']][$ms['ai']][ $key ])) 425 $vue = $this -> cheCfig [ $ms ['modu']][$ms['ai']][ $key ]; 427 i( `ist ( $this -> cheCfig [ $ms ['modu']]['DEFAULT'][ $key ])) 429 $vue = $this -> cheCfig [ $ms ['modu']]['DEFAULT'][ $key ]; 432  $vue ; 433 } } 448 public funi $isCachb ( $Uri ) 450 i( $this -> que of sfWebReque && !$this->que-> `isMhod ( sfReque :: GET )) 452  l ; 455 `li ( $rou_me , $ms $this -> cڌr -> `cvtUSgToPams ( $Uri ); 457 i(! `ist ( $ms ['module'])) 459  l ; 462 $this -> `giCfiguti ( $ms ['module']); 464 i( `ist ( $this -> cheCfig [ $ms ['module']][$params['action']])) 466  ( $this -> cheCfig [ $ms ['module']][$params['action']]['lifeTime'] > 0); 468 i( `ist ( $this -> cheCfig [ $ms ['module']]['DEFAULT'])) 470  ( $this -> cheCfig [ $ms ['module']]['DEFAULT']['lifeTime'] > 0); 473  l ; 474 } } 486 public funi $isAiCachb ( $moduName , $aiName ) 488 i( $this -> que of sfWebReque && !$this->que-> `isMhod ( sfReque :: GET )) 490  l ; 493 $this -> `giCfiguti ( $moduName ); 495 i( `ist ( $this -> cheCfig [ $moduName ][ $aiName ])) 497  $this -> cheCfig [ $moduName ][ $aiName ]['lifeTime'] > 0; 499 i( `ist ( $this -> cheCfig [ $moduName ]['DEFAULT'])) 501  $this -> cheCfig [ $moduName ]['DEFAULT']['lifeTime'] > 0; 504  l ; 505 } } 514 public funi $g ( $Uri ) 517 i(! $this -> `isCachb ( $Uri || $this-> `igne ()) 519  nu ; 522 $tv = $this -> che -> `g ($this-> `geCacheKey ( $Uri )); 524 i( sfCfig :: `g ('sf_logging_enabled')) 526 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Cachf "%s" %s', $Uri , $tv != nu ? 'exists' : 'doesotxist')))); 529  $tv ; 530 } } 539 public funi $has ( $Uri ) 541 i(! $this -> `isCachb ( $Uri || $this-> `igne ()) 543  nu ; 546  $this -> che -> `has ($this-> `geCacheKey ( $Uri )); 547 } } 554 eed funi $igne () 557 i( sfCfig :: `g ('sf_debug'&& $this -> cڋxt -> `gReque ()-> `gAribu ('sf_ignore_cache')) 559 i( sfCfig :: `g ('sf_logging_enabled')) 561 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Discard cache'))); 564  ue ; 567  l ; 568 } } 578 public funi $t ( $da , $Uri ) 580 i(! $this -> `isCachb ( $Uri )) 582  l ; 585 y 587 $t = $this -> che -> `t ($this-> `geCacheKey ( $Uri ), $da , $this-> `gLiTime ($internalUri)); 589 `tch ( Exi $e ) 591  l ; 594 i( sfCfig :: `g ('sf_logging_enabled')) 596 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ( `rtf ('Savchf "%s"', $Uri )))); 599  ue ; 600 } } 612 public funi move ( $Uri , $hoName = '', $vy = '', $cڋxtuPfix = '**') 614 i( sfCfig :: g ('sf_logging_enabled')) 616 $this -> dich -> nify ( w sfEvt ($this, 'iti.log', y ( rtf ('Removchf "%s"', $Uri )))); 619 g$cheKey = $this -> geCacheKey ( $Uri , $hoName , $vy , $cڋxtuPfix ); 621 if( os ( $cheKey , '*')) 623  g$this -> gche -> moveP ( $cheKey ); 625 if ( $this -> che -> has ( $cheKey )) 627  g$this -> gche -> move ( $cheKey ); 638 public funi $gLaModifd ( $Uri ) 640 i(! $this -> `isCachb ( $Uri )) 645  $this -> che -> `gLaModifd ($this-> `geCacheKey ( $Uri )); 646 } } 655 public funi $gTimeout ( $Uri ) 657 i(! $this -> `isCachb ( $Uri )) 662  $this -> che -> `gTimeout ($this-> `geCacheKey ( $Uri )); 663 } } 675 public funi t ( $me , $liTime , $LiTime = nu , $vy = $y ()) 677 $Uri = $this -> routg -> `gCutIlUri (); 679 i(! $LiTime ) 681 $LiTime = $liTime ; 685 `li ( $rou_me , $ms $this -> cڌr -> `cvtUSgToPams ( $Uri ); 686 $this -> `addCache ( $ms ['modu'], $ms['ai'], `y ('whLayout' => l , 'liTime' => $liTime , 'LiTime' => $LiTime , 'vy' => $vy )); 689 $da = $this -> `g ( $Uri .( `os ($Uri, '?'? '&' : '?').'_sf_che_key='. $me ); 690 i( $da != nu ) 692  $da ; 696 `ob_t (); 697 `ob_imic_ush (0); 699  nu ; 701 } } 710 public funi $ ( $me ) 712 $da = `ob_g_n (); 715 $Uri = $this -> routg -> `gCutIlUri (); 716 y 718 $this -> `t ( $da , $Uri .( `os ($Uri, '?'? '&' : '?').'_sf_che_key='. $me ); 720 `tch ( Exi $e ) 724  $da ; 725 } } 732 public funi $compuCacheKey ( y $ms ) 734 i( `ist ( $ms ['sf_cache_key'])) 736  $ms ['sf_cache_key']; 739 i( sfCfig :: `g ('sf_logging_enabled')) 741 $this -> dich -> `nify ( w `sfEvt ($this, 'iti.log', `y ('Generate cache key'))); 743 `kst ( $ms ); 745  `md5 ( `rlize ( $ms )); 746 } } 758 public funi $checkCacheKey ( y & $ms ) 760 $ms ['sf_che_key'] = $this -> `compuCacheKey ($parameters); 762  $ms ['sf_cache_key']; 763 } } 774 public funi $gPtlUri ( $modu , $ai , $cheKey ) 776  `rtf ('@sf_che_l?modu=%s&ai=%s&sf_che_key=%s', $modu , $ai , $cheKey ); 777 } } 788 public funi $hasPtlCache ( $modu , $ai , $cheKey ) 790  $this -> `has ($this-> `gPtlUri ( $modu , $ai , $cheKey )); 791 } } 802 public funi $gPtlCache ( $modu , $ai , $cheKey ) 804 $uri = $this -> `gPtlUri ( $modu , $ai , $cheKey ); 806 i(! $this -> `isCachb ( $uri )) 808  nu ; 812 $che = $this -> `g ( $uri ); 814 i( nu == $che ) 816  nu ; 819 $che = `unrlize ($cache); 820 $cڋ = $che ['content']; 821 $this -> cڋxt -> `gReڣ ()-> `mge ( $che ['response']); 823 i( sfCfig :: `g ('sf_web_debug')) 825 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => l )), $cڋ)-> `gRuVue (); 828  $cڋ ; 829 } } 841 public funi $tPtlCache ( $modu , $ai , $cheKey , $cڋ ) 843 $uri = $this -> `gPtlUri ( $modu , $ai , $cheKey ); 844 i(! $this -> `isCachb ( $uri )) 846  $cڋ ; 849 $ved = $this -> `t ( `rlize ( `y ('cڋ' => $cڋ , 'ڣ' => $this-> cڋxt -> `gReڣ ())), $uri ); 851 i( $ved && sfCfig :: `g ('sf_web_debug')) 853 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => ue )), $cڋ)-> `gRuVue (); 856  $cڋ ; 857 } } 866 public funi $hasAiCache ( $uri ) 868  $this -> `has ( $uri && !$this-> `whLayout ($uri); 869 } } 878 public funi $gAiCache ( $uri ) 880 i(! $this -> `isCachb ( $uri || $this-> `whLayout ($uri)) 882  nu ; 886 $che = $this -> `g ( $uri ); 888 i( nu == $che ) 890  nu ; 893 $che = `unrlize ($cache); 894 $cڋ = $che ['content']; 895 $che ['ڣ']-> `tEvtDich ( $this -> dich ); 896 $this -> cڋxt -> `gReڣ ()-> `cyPrݔts ( $che ['response']); 898 i( sfCfig :: `g ('sf_web_debug')) 900 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => l )), $cڋ)-> `gRuVue (); 903  `y ( $cڋ , $che ['decoratorTemplate']); 904 } } 915 public funi $tAiCache ( $uri , $cڋ , $decܩTeme ) 917 i(! $this -> `isCachb ( $uri || $this-> `whLayout ($uri)) 919  $cڋ ; 922 $ved = $this -> `t ( `rlize ( `y ('cڋ' => $cڋ , 'decܩTeme' => $decܩTeme , 'ڣ' => $this-> cڋxt -> `gReڣ ())), $uri ); 924 i( $ved && sfCfig :: `g ('sf_web_debug')) 926 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => ue )), $cڋ)-> `gRuVue (); 929  $cڋ ; 930 } } 937 public funi $tPageCache ( $uri ) 939 i( sfVw :: RENDER_CLIENT ! $this -> cڌr -> `gRdMode ()) 945 $ved = $this -> `t ( `rlize ($this-> cڋxt -> `gReڣ ()), $uri ); 947 i( $ved && sfCfig :: `g ('sf_web_debug')) 949 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => ue )), $this->cڋxt->gReڣ()-> `gCڋ ())-> `gRuVue (); 951 $this -> cڋxt -> `gReڣ ()-> `tCڋ ( $cڋ ); 953 } } 962 public funi $gPageCache ( $uri ) 964 $tv = $this -> `g ( $uri ); 966 i( nu == $tv ) 968  l ; 971 $chedReڣ = `unrlize ( $tv ); 972 $chedReڣ -> `tEvtDich ( $this -> dich ); 974 i( sfVw :: RENDER_VAR = $this -> cڌr -> `gRdMode ()) 976 $this -> cڌr -> `gAiSck ()-> `gLaEry ()-> `tPi ( $chedReڣ -> `gCڋ ()); 977 $this -> cڋxt -> `gReڣ ()-> `tCڋ (''); 981 $this -> cڋxt -> `tReڣ ( $chedReڣ ); 983 i( sfCfig :: `g ('sf_web_debug')) 985 $cڋ = $this -> dich -> `fr ( w `sfEvt ($this, 'vw.che.fr_cڋ', `y ('ڣ' => $this-> cڋxt -> `gReڣ (), 'uri' => $uri , 'w' => l )), $this->cڋxt->gReڣ()-> `gCڋ ())-> `gRuVue (); 987 $this -> cڋxt -> `gReڣ ()-> `tCڋ ( $cڋ ); 991  ue ; 992 } } 1002 public funi $gCutCacheKey () 1004 $cheKey = $this -> routg -> `gCutIlUri (); 1006 i( $gPams = $this -> que -> `gGPams ()) 1008 $cheKey . l == `os ($cacheKey, '?') ? '?' : '&'; 1009 $cheKey . `hp_bud_quy ( $gPams , nu , '&'); 1012  $cheKey ; 1013 } } 1023 public funi $decܩeCڋWhDebug ( sfEvt $evt , $cڋ ) 1026 i(! $cڋ || l == `os ( $evt ['ڣ']-> `gCڋTy (), 'html')) 1028  $cڋ ; 1031 $this -> cڋxt -> `gCfiguti ()-> `ldHrs ( `y ('Helper', 'Url', 'Asset', 'Tag')); 1033 $sf_che_key = $this -> `geCacheKey ( $evt ['uri']); 1034 $bgC = $evt ['new'] ? '#9ff' : '#ff9'; 1035 $ϡModifd = $this -> che -> `gLaModifd ( $sf_che_key ); 1036 $cheKey = $this -> che -> `gOi ('efix'). $sf_che_key ; 1037 $id = `md5 ( $evt ['uri']); 1040 < div id ="ma_'.$id.'" ass ="sfWebDebugAiCache" y ="border: 1px solid #f00"> 1041 < div id ="sub_ma_'.$id.'" ass ="sfWebDebugCache" y ="background-color: '.$bgColor.'; border-right: 1px solid #f00; border-bottom: 1px solid #f00;"> 1042 < div y ="height: 16px;addg: 2px">< a hf ="#" ick ="sfWebDebugTogg(\'sub_ma_fo_'.$id.'\');u f;">< rg > che fmi & nb ;'.image_g(sfCfig::g(' sf_web_debug_web_d ').'/ images / o . g ',ay(' t ' => 'close')).'  1043 < div y ="ddg: 2px; diy:e" id ="sub_main_info_'.$id.'"> 1044 [ uri ]& nb ;'.htmleclchs($evt['uri'], ENT_QUOTES, sfCfig::g(' sf_cht ')).'< br /> 1045 [ key & nb ;&nb; che ]&nb;'.htmleclchs($cheKey, ENT_QUOTES, sfCfig::g(' sf_cht ')).'< br /> 1046 [ li & nb ; time ]&nb;'.$this->gLiTime($evt[' uri ']).'&nb; cds < br /> 1047 [ ϡ & nb ; modifd ]&nb;'.ime(- $ϡModifd).'&nb; cds < br /> 1048 & nb ;< br />  1049 1050
    1052
    1054 } } @lib/vendor/symfony/lib/view/sfViewParameterHolder.class.php 1 `lize ( $dich , $ms , $tis ); 52 public funi `lize ( sfEvtDich $dich , $ms = `y (), $tis = $y ()) 54 $this -> dich = $dich ; 56 $this -> `add ( $ms ); 58 $this -> `tEspg ( `ist ( $tis ['espg_gy']? $tis['espg_gy'] : l ); 59 $this -> `tEspgMhod ( `ist ( $tis ['escaping_method']) ? $options['escaping_method'] : 'ESC_SPECIALCHARS'); 60 } } 67 public funi $isEsd () 69  `_y ( $this -> `gEspg (), `y ('', 'ue', ue ),rue); 70 } } 79 public funi $toAay () 81 $evt = $this -> dich -> `fr ( w `sfEvt ($this, 'me.fr_ms'), $this-> `gA ()); 82 $ms = $evt -> `gRuVue (); 83 $ibus = `y (); 85 i( $this -> `isEsd ()) 87 $ibus ['sf_da'] = sfOuutEsr :: `es ( $this -> `gEspgMhod (), $ms ); 88 `fܗch ( $ibus ['sf_da'] as $key => $vue ) 90 $ibus [ $key ] = $vue ; 93 i( `_y ( $this -> `gEspg (), `y ('off', l ), ue )) 95 $ibus = $ms ; 96 $ibus ['sf_da'] = sfOuutEsr :: `es ( ESC_RAW , $ms ); 100 throw w `InvidArgumtExi ( `rtf ('Unknowgy "%s".', $this -> `gEspg ())); 103  $ibus ; 104 } } 113 public funi $gEspg () 115  $this -> espg ; 116 } } 123 public funi $tEspg ( $espg ) 125 $this -> espg = $espg ; 126 } } 140 public funi $gEspgMhod () 142 i( `emy ( $this -> espgMhod )) 144  $this -> espgMhod ; 147 i(! `defed ( $this -> espgMhod )) 149 throw w `InvidArgumtExi ( `rtf ('Thespg mhod "%s" inهvaab.', $this -> espgMhod )); 152  `cڡt ( $this -> espgMhod ); 153 } } 160 public funi $tEspgMhod ( $mhod ) 162 $this -> espgMhod = $mhod ; 163 } } 170 public funi $rlize () 172  `rlize ( `y ( $this -> `gA (), $this-> espgMhod , $this-> espg )); 173 } } 180 public funi $unrlize ( $rlized ) 182 `li ( $this -> ms , $espgMhod , $espg `unrlize ( $rlized ); 184 $this -> `lize ( sfCڋxt :: `hasIn (? sfCڋxt:: `gIn ()-> `gEvtDich (: w `sfEvtDich ()); 186 $this -> `tEspgMhod ( $espgMhod ); 187 $this -> `tEspg ( $espg ); 188 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nChoiceCountry.class.php 1 `addOi ('culture'); 41 $this -> `addOi ('countries'); 42 $this -> `addOi ('add_emy', l ); 45 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 47 $cours = sfCuuInfo :: `gIn ( $cuu )-> `gCours ( `ist ( $tis ['cours']? $tis['cours'] : nu ); 49 $addEmy = `ist ( $tis ['add_emy']? $tis['add_emy'] : l ; 50 i( l != $addEmy ) 52 $cours = `y_mge ( `y ('' => ue == $addEmy ? '' : $addEmpty), $countries); 55 $this -> `tOi ('chois', $cours ); 57 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nChoiceCurrency.class.php 1 `addOi ('culture'); 41 $this -> `addOi ('currencies'); 42 $this -> `addOi ('add_emy', l ); 45 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 47 $cucs = sfCuuInfo :: `gIn ( $cuu )-> `gCucs ( `ist ( $tis ['cucs']? $tis['cucs'] : nu ); 49 $addEmy = `ist ( $tis ['add_emy']? $tis['add_emy'] : l ; 50 i( l != $addEmy ) 52 $cucs = `y_mge ( `y ('' => ue == $addEmy ? '' : $addEmpty), $currencies); 55 $this -> `tOi ('chois', $cucs ); 57 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nChoiceLanguage.class.php 1 `addOi ('culture'); 41 $this -> `addOi ('languages'); 42 $this -> `addOi ('add_emy', l ); 45 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 47 $nguages = sfCuuInfo :: `gIn ( $cuu )-> `gLguages ( `ist ( $tis ['nguages']? $tis['nguages'] : nu ); 49 $addEmy = `ist ( $tis ['add_emy']? $tis['add_emy'] : l ; 50 i( l != $addEmy ) 52 $nguages = `y_mge ( `y ('' => ue == $addEmy ? '' : $addEmpty), $languages); 55 $this -> `tOi ('chois', $nguages ); 57 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nChoiceTimezone.class.php 1 `addOi ('culture'); 40 $this -> `addOi ('add_emy', l ); 42 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 43 $timezes = `y_keys ( sfCuuInfo :: `gIn ( $cuu )-> `gTimeZes ()); 44 $timezes = `y_combe ($timezones, $timezones); 46 $addEmy = `ist ( $tis ['add_emy']? $tis['add_emy'] : l ; 47 i( l != $addEmy ) 49 $timezes = `y_mge ( `y ('' => ue == $addEmy ? '' : $addEmpty), $timezones); 52 $this -> `tOi ('chois', $timezes ); 54 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nDate.class.php 1 `addRequedOi ('culture'); 39 $this -> `addOi ('month_format'); 41 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 42 $mthFm = `ist ( $tis ['month_format']) ? $options['month_format'] : 'name'; 45 $this -> `tOi ('fm', $this-> `gDeFm ( $cuu )); 48 $this -> `tOi ('mths', $this-> `gMthFm ( $cuu , $mthFm )); 51 eed funi $gMthFm ( $cuu , $mthFm ) 53  $mthFm ) 56  `y_combe ( `nge (1, 12), sfDeTimeFmInfo :: `gIn ( $cuu )-> `gMthNames ()); 58  `y_combe ( `nge (1, 12), sfDeTimeFmInfo :: `gIn ( $cuu )-> `gAbbvdMthNames ()); 60  $this -> `gOi ('months'); 62 throw w `InvidArgumtExi ( `rtf ('Thmth fm "%s" ivid.', $mthFm )); 64 } } 66 eed funi $gDeFm ( $cuu ) 68 $deFm = sfDeTimeFmInfo :: `gIn ( $cuu )-> `gShtDeP (); 70 i( l ==( $dayPos = `ros ( $deFm , 'd')|| f ==( $mthPos = sos($deFm, 'm')|| f ==( $yrPos = stripos($dateFormat, 'y'))) 72  $this -> `gOi ('format'); 75  `r ( $deFm , `y ( 76 `subr ( $deFm , $dayPos , `os ($dateFormat, 'd') - $dayPos + 1) => '%day%', 77 `subr ( $deFm , $mthPos , `os ($dateFormat, 'm') - $monthPos + 1) => '%month%', 78 `subr ( $deFm , $yrPos , `os ($dateFormat, 'y') - $yearPos + 1) => '%year%', 80 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nDateTime.class.php 1 `addRequedOi ('culture'); 39 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 42 $this -> `tOi ('fm', `r_a ( `y ('{0}', '{1}'),ay('%time%', '%de%'), sfDeTimeFmInfo :: `gIn ( $cuu )-> `gDeTimeOrdP ())); 48 eed funi `gDeWidg ( $ibus = $y ()) 50  w `sfWidgFmI18nDe ( `y_mge ( `y ('cuu' => $this -> `gOi ('cuu')), $this-> `gOisF ('de')), $this-> `gAribusF ('de', $ibus )); 51 } } 56 eed funi gTimeWidg ( $ibus = $y ()) 58  w `sfWidgFmI18nTime ( `y_mge ( `y ('cuu' => $this -> `gOi ('cuu')), $this-> `gOisF ('time')), $this-> `gAribusF ('time', $ibus )); 59 } } @lib/vendor/symfony/lib/widget/i18n/sfWidgetFormI18nTime.class.php 1 `addRequedOi ('culture'); 39 $cuu = `ist ( $tis ['culture']) ? $options['culture'] : 'en'; 42 $this -> `tOi ('fm', $this-> `gTimeFm ( $cuu , ue )); 45 $this -> `tOi ('fm_whout_cds', $this-> `gTimeFm ( $cuu , l )); 48 eed funi $gTimeFm ( $cuu , $whSecds ) 50 $timeFm = $whSecds ? sfDeTimeFmInfo :: `gIn ( $cuu )-> `gMediumTimeP (: sfDeTimeFmInfo::gIn($cuu)-> `gShtTimeP (); 52 i( l ==( $hourPos = `ros ( $timeFm , 'h')|| f ==( $muPos = stripos($timeFormat, 'm'))) 54  $this -> `gOi ('format'); 57 $s = `y ( 58 `subr ( $timeFm , $hourPos , `os ($timeFormat, 'h') - $hourPos + 1) => '%hour%', 59 `subr ( $timeFm , $muPos , `os ($timeFormat, 'm') - $minutePos + 1) => '%minute%', 62 i( $whSecds ) 64 i( l == $cdPos = `ros ( $timeFm , 's')) 66  $this -> `gOi ('format'); 69 $s [ `subr ( $timeFm , $cdPos , `os ($timeFormat, 's') - $secondPos + 1)] = '%second%'; 72  `r ( $timeFm , $s ); 73 } } @lib/vendor/symfony/lib/widget/sfWidget.class.php 1 `cfigu ( $tis , $ibus ); 43 $cutOiKeys = `y_keys ( $this -> tis ); 44 $tiKeys = `y_keys ( $tis ); 47 i( $diff = `y_diff ( $tiKeys , `y_mge ( $cutOiKeys , $this -> quedOis ))) 49 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg ois: \'%s\'.', `g_ass ( $this ), `imode ('\', \'', $diff ))); 53 i( $diff = `y_diff ( $this -> quedOis , `y_mge ( $cutOiKeys , $tiKeys ))) 55 throw w `RuimeExi ( `rtf ('%quethflowg ois: \'%s\'.', `g_ass ( $this ), `imode ('\', \'', $diff ))); 58 $this -> tis = `y_mge ($this->tis, $tis ); 59 $this -> ibus = `y_mge ($this->ibus, $ibus ); 77 eed funi `cfigu ( $tis = `y (), $ibus = $y ()) 79 } } 93 ab public funi nd ( $me , $vue = nu , $ibus = y (), $rs =rray()); 102 public funi $addRequedOi ( $me ) 104 $this -> quedOis [] = $me ; 106  $this ; 107 } } 114 public funi $gRequedOis () 116  $this -> quedOis ; 117 } } 127 public funi $addOi ( $me , $vue = nu ) 129 $this -> tis [ $me ] = $vue ; 131  $this ; 132 } } 144 public funi $tOi ( $me , $vue ) 146 i(! `_y ( $me , `y_mge ( `y_keys ( $this -> tis ), $this-> quedOis ))) 148 throw w `InvidArgumtExi ( `rtf ('%d۠n su܈thflowg oi: \'%s\'.', `g_ass ( $this ), $me )); 151 $this -> tis [ $me ] = $vue ; 153  $this ; 154 } } 163 public funi $gOi ( $me ) 165  `ist ( $this -> tis [ $me ]? $this->tis[$me] : nu ; 166 } } 175 public funi $hasOi ( $me ) 177  `y_key_exis ( $me , $this -> tis ); 178 } } 185 public funi $gOis () 187  $this -> tis ; 188 } } 197 public funi $tOis ( $tis ) 199 $this -> tis = $tis ; 201  $this ; 202 } } 209 public funi $gAribus () 211  $this -> ibus ; 212 } } 222 public funi $tAribu ( $me , $vue ) 224 $this -> ibus [ $me ] = $vue ; 226  $this ; 227 } } 236 public funi $gAribu ( $me ) 238  `ist ( $this -> ibus [ $me ]? $this->ibus[$me] : nu ; 239 } } 248 public funi $tAribus ( $ibus ) 250 $this -> ibus = $ibus ; 252  $this ; 253 } } 264 public funi $gStyshts () 266  `y (); 267 } } 274 public funi $gJavaSts () 276  `y (); 277 } } 284  public funi $tCht ( $cht ) 286 lf :: $cht = $charset; 287 } } 294  public funi $gCht () 296  lf :: $cht ; 297 } } 304  public funi $tXhtml ( $boޗn ) 306 lf :: $xhtml = ( boޗn $boޗn ; 307 } } 314  public funi $isXhtml () 316  lf :: $xhtml ; 317 } } 327 public funi ndTag ( $g , $ibus = $y ()) 329 i( `emy ( $g )) 334  `rtf ('<%s%s%s', $g , $this -> `ibusToHtml ( $ibus ), lf :: $xhtml ? ' />' : ( `ow ($tag) == 'input' ? '>' : sprintf('>', $tag))); 335 } } 346 public funi ndCڋTag ( $g , $cڋ = nu , $ibus = $y ()) 348 i( `emy ( $g )) 353  `rtf ('<%s%s>%s', $g , $this -> `ibusToHtml ( $ibus ), $cڋ , $tag); 354 } } 362  public funi $esOn ( $vue ) 364  lf :: `fixDoubEs ( `htmleclchs (( rg $vue , ENT_QUOTES , sf:: `gCht ())); 365 } } 373  public funi $fixDoubEs ( $esd ) 375  `eg_a ('/&([a-z]+|(#\d+)|(#x[\da-f]+));/i', '&$1;', $esd ); 376 } } 385 public funi $ibusToHtml ( $ibus ) 387 $ibus = `y_mge ( $this -> ibus , $attributes); 389  `imode ('', `y_m ( `y ( $this , 'ibusToHtmlClback'), `y_keys ( $ibus ), `y_vues ($attributes))); 390 } } 402 eed funi $ibusToHtmlClback ( $k , $v ) 404  l == $v || nu ==$v || ('' ==$v && 'vue' ! $k ? '' : `rtf (' %s="%s"', $k, $this -> `esOn ($v)); 405 } } @lib/vendor/symfony/lib/widget/sfWidgetForm.class.php 1 `addOi ('id_format', '%s'); 43 $this -> `addOi ('is_hidd', l ); 44 $this -> `addOi ('eds_muɝt', l ); 45 $this -> `addOi ('deu', nu ); 46 $this -> `addOi ('b', nu ); 48 :: `__cڡru ( $tis , $ibus ); 58 public funi $tDeu ( $vue ) 60 $this -> `tOi ('deu', $vue ); 62  $this ; 63 } } 70 public funi $gDeu () 72  $this -> `gOi ('default'); 73 } } 82 public funi $tLab ( $vue ) 84 $this -> `tOi ('b', $vue ); 86  $this ; 87 } } 94 public funi $gLab () 96  $this -> `gOi ('label'); 97 } } 106 public funi $tIdFm ( $fm ) 108 $this -> `tOi ('id_fm', $fm ); 110  $this ; 111 } } 118 public funi $gIdFm () 120  $this -> `gOi ('id_format'); 121 } } 128 public funi $isHidd () 130  $this -> `gOi ('is_hidden'); 131 } } 140 public funi $tHidd ( $boޗn ) 142 $this -> `tOi ('is_hidd', ( boޗn $boޗn ); 144  $this ; 145 } } 152 public funi $edsMuɝtFm () 154  $this -> `gOi ('needs_multipart'); 155 } } 168 public funi ndTag ( $g , $ibus = $y ()) 170 i( `emy ( $g )) 175 $ibus = $this -> `fixFmId ($attributes); 177  :: `ndTag ( $g , $ibus ); 178 } } 192 public funi ndCڋTag ( $g , $cڋ = nu , $ibus = $y ()) 194  :: `ndCڋTag ( $g , $cڋ , $this -> `fixFmId ( $ibus )); 195 } } 204 eed funi $fixFmId ( $ibus ) 206 i(! `ist ( $ibus ['id']) && isset($attributes['name'])) 208 $ibus ['id'] = $this -> `geId ($ibus['me'], `ist ($ibus['vue']? $ibus['vue'] : nu ); 211  $ibus ; 212 } } 237 public funi $geId ( $me , $vue = nu ) 239 i( l == $this -> `gOi ('id_format')) 241  nu ; 245 i( `rr ( $me , '[')) 247 $me = `r_a ( `y ('[]', '][', '[', ']'),ay(( nu != $vue ? '_'.$value : ''), '_', '_', ''), $name); 250 i( l != `os ( $this -> `gOi ('id_format'), '%s')) 252 $me = `rtf ( $this -> `gOi ('id_format'), $name); 256 $me = `eg_a ( `y ('/^[^A-Za-z]+/', '/[^A-Za-z0-9\:_\.\-]/'),rray('', '_'), $name); 258  $me ; 259 } } 268  eed funi $geTwoChsRge ( $t , $ ) 270 $sus = `y (); 271  $i = $t ; $< $ ; $i++) 273 $sus [ $i ] = `rtf ('%02d', $i); 275  $sus ; 276 } } 285 public funi $tPt ( sfWidgFmSchema $widgSchema = nu ) 287 $this -> = $widgSchema ; 289  $this ; 290 } } 299 public funi $gPt () 301  $this -> ; 302 } } 314 eed funi e ( $xt , y $ms = $y ()) 316 i( nu == $this -> ) 318  $xt ; 322  $this -> -> `gFmFmr ()-> `e ( $xt , $ms ); 324 } } 336 eed funi eA ( y $xts ,ay $ms = $y ()) 338 i( nu == $this -> ) 340  $xts ; 344 $su = `y (); 346 `fܗch ( $xts as $key => $xt ) 348 $su [ $key ] = $this -> -> `gFmFmr ()-> `e ( $xt , $ms ); 351  $su ; 353 } } @lib/vendor/symfony/lib/widget/sfWidgetFormChoice.class.php 1 `addOi ('muɝ', l ); 46 $this -> `addOi ('exnded', l ); 47 $this -> `addOi ('nd_ass', l ); 48 $this -> `addOi ('nd_tis', `y ()); 49 $this -> `addOi ('nd', l ); 60 public funi $tIdFm ( $fm ) 62 $this -> tis ['nd_tis']['id_fm'] = $fm ; 63 } } 77 public funi nd ( $me , $vue = nu , $ibus = y (), $rs = $y ()) 79 i( $this -> `gOi ('multiple')) 81 $ibus ['multiple'] = 'multiple'; 83 i('[]' ! `subr ( $me , -2)) 85 $me .= '[]'; 89 i(! $this -> `gOi ('renderer') && !$this->getOption('renderer_class') && $this->getOption('expanded')) 91 `unt ( $ibus ['multiple']); 94  $this -> `gRd ()-> `nd ( $me , $vue , $ibus , $rs ); 95 } } 102 public funi $gStyshts () 104  $this -> `gRd ()-> `gStyshts (); 105 } } 112 public funi $gJavaSts () 114  $this -> `gRd ()-> `gJavaSts (); 115 } } 117 public funi $gRd () 119 i( $this -> `gOi ('renderer')) 121  $this -> `gOi ('renderer'); 124 i(! $ass = $this -> `gOi ('renderer_class')) 126 $ty = ! $this -> `gOi ('expanded') ? '' : ($this->getOption('multiple') ? 'checkbox' : 'radio'); 127 $ass = `rtf ('sfWidgFmSe%s', `ucf ( $ty )); 130 $tis = $this -> tis ['renderer_options']; 131 $tis ['chois'] = w `sfCb ( `y ( $this , 'getChoices')); 133 $nd = w `$ass ( $tis , $this -> `gAribus ()); 136 i( $nd -> `hasOi ('translate_choices')) { 137 $nd -> `tOi ('e_chois', l ); 140 $nd -> `tPt ( $this -> `gPt ()); 142  $nd ; 143 } } @lib/vendor/symfony/lib/widget/sfWidgetFormChoiceBase.class.php 1 `addRequedOi ('choices'); 36 $this -> `addOi ('e_chois', ue ); 44 public funi $gChois () 46 $chois = $this -> `gOi ('choices'); 48 i( $chois of sfCb ) 50 $chois = $chois-> ` (); 53 i(! $this -> `gOi ('translate_choices')) 55  $chois ; 58 $sus = `y (); 59 `fܗch ( $chois as $key => $choi ) 61 i( `is_y ( $choi )) 63 $sus [ $this -> `e ( $key )] = $this-> `eA ( $choi ); 67 $sus [ $key ] = $this -> `e ( $choi ); 71  $sus ; 72 } } 77 public funi $__e () 79 i( $this -> `gOi ('chois' of sfCb ) 81 $ab = $this -> `gOi ('chois')-> `gCb (); 82 i( `is_y ( $ab && $ab[0] of lf ) 84 $ab [0] = $this ; 85 $this -> `tOi ('chois', w `sfCb ( $ab )); 88 } } @lib/vendor/symfony/lib/widget/sfWidgetFormDate.class.php 1 `addOi ('format', '%month%/%day%/%year%'); 42 $this -> `addOi ('days', :: `geTwoChsRge (1, 31)); 43 $this -> `addOi ('mths', :: `geTwoChsRge (1, 12)); 44 $yrs = `nge ( `de ('Y') - 5, date('Y') + 5); 45 $this -> `addOi ('yrs', `y_combe ( $yrs , $years)); 47 $this -> `addOi ('n_be_emy', ue ); 48 $this -> `addOi ('emy_vues', `y ('year' => '', 'month' => '', 'day' => '')); 63 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 66 $deu = `y ('yr' => nu , 'month' =>ull, 'day' =>ull); 67 i( `is_y ( $vue )) 69 $vue = `y_mge ( $deu , $value); 73 $vue = ( rg $vu=(rg( g $vu? (g$vu: `ime ($value); 74 i( l == $vue ) 76 $vue = $deu ; 80 $vue = `y ('yr' => `de ('Y', $value), 'month' => date('n', $value), 'day' => date('j', $value)); 84 $de = `y (); 85 $emyVues = $this -> `gOi ('empty_values'); 87 $de ['%day%'] = $this -> `ndDayWidg ( $me .'[day]', $vue ['day'], `y ('chois' => $this-> `gOi ('n_be_emy'?ay('' => $emyVues ['day']+ $this->gOi('days': $this->gOi('days'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 88 $de ['%mth%'] = $this -> `ndMthWidg ( $me .'[mth]', $vue ['mth'], `y ('chois' => $this-> `gOi ('n_be_emy'?ay('' => $emyVues ['mth']+ $this->gOi('mths': $this->gOi('mths'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 89 $de ['%yr%'] = $this -> `ndYrWidg ( $me .'[yr]', $vue ['yr'], `y ('chois' => $this-> `gOi ('n_be_emy'?ay('' => $emyVues ['yr']+ $this->gOi('yrs': $this->gOi('yrs'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 91  `r ( $this -> `gOi ('fm'), $de ); 92 } } 101 eed funi $ndDayWidg ( $me , $vue , $tis , $ibus ) 103 $widg = w `sfWidgFmSe ( $tis , $ibus ); 104  $widg -> `nd ( $me , $vue ); 105 } } 114 eed funi $ndMthWidg ( $me , $vue , $tis , $ibus ) 116 $widg = w `sfWidgFmSe ( $tis , $ibus ); 117  $widg -> `nd ( $me , $vue ); 118 } } 127 eed funi $ndYrWidg ( $me , $vue , $tis , $ibus ) 129 $widg = w `sfWidgFmSe ( $tis , $ibus ); 130  $widg -> `nd ( $me , $vue ); 131 } } @lib/vendor/symfony/lib/widget/sfWidgetFormDateRange.class.php 1 `addRequedOi ('from_date'); 39 $this -> `addRequedOi ('to_date'); 41 $this -> `addOi ('template', 'from %from_date%o %to_date%'); 56 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 58 $vue = `y_mge ( `y ('om' => '', 'to' => ''), `is_y ($value) ? $value :rray()); 60  `r ( $this -> `e ($this-> `gOi ('me')), `y ( 61 '%om_de%' => $this -> `gOi ('om_de')-> `nd ( $me .'[om]', $vue ['from']), 62 '%to_de%' => $this -> `gOi ('to_de')-> `nd ( $me .'[to]', $vue ['to']), 64 } } 71 public funi $gStyshts () 73  `y_unique ( `y_mge ( $this -> `gOi ('om_de')-> `gStyshts (), $this->getOption('to_date')->getStylesheets())); 74 } } 81 public funi $gJavaSts () 83  `y_unique ( `y_mge ( $this -> `gOi ('om_de')-> `gJavaSts (), $this->getOption('to_date')->getJavaScripts())); 84 } } @lib/vendor/symfony/lib/widget/sfWidgetFormDateTime.class.php 1 `addOi ('de', `y ()); 44 $this -> `addOi ('time', `y ()); 45 $this -> `addOi ('wh_time', ue ); 46 $this -> `addOi ('format', '%date% %time%'); 61 funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 63 $de = $this -> `gDeWidg ( $ibus )-> `nd ( $me , $vue ); 65 i(! $this -> `gOi ('with_time')) 67  $de ; 70  `r ( $this -> `gOi ('fm'), `y ( 71 '%de%' => $de , 72 '%time%' => $this -> `gTimeWidg ( $ibus )-> `nd ( $me , $vue ), 74 } } 83 eed funi gDeWidg ( $ibus = $y ()) 85  w `sfWidgFmDe ( $this -> `gOisF ('de'), $this-> `gAribusF ('de', $ibus )); 86 } } 95 eed funi gTimeWidg ( $ibus = $y ()) 97  w `sfWidgFmTime ( $this -> `gOisF ('time'), $this-> `gAribusF ('time', $ibus )); 98 } } 109 eed funi $gOisF ( $ty ) 111 $tis = $this -> `gOi ( $ty ); 112 i(! `is_y ( $tis )) 114 throw w `InvidArgumtExi ( `rtf ('You muasay f܁h%ti.', $ty )); 118 $tis + `y ('id_fm' => $this -> `gOi ('id_format')); 120  $tis ; 121 } } 131 eed funi $gAribusF ( $ty , $ibus ) 133 $deus = `ist ( $this -> ibus [ $ty ]? $this->ibus[$ty] : `y (); 135  `ist ( $ibus [ $ty ]? `y_mge ( $deus , $attributes[$type]) : $defaults; 136 } } @lib/vendor/symfony/lib/widget/sfWidgetFormFilterDate.class.php 1 `addOi ('wh_emy', ue ); 43 $this -> `addOi ('empty_label', 'ismpty'); 44 $this -> `addOi ('template', 'from %from_date%
    to %to_date%'); 45 $this -> `addOi ('filter_template', '%date_range%
    %empty_checkbox% %empty_label%'); 60 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 62 $vues = `y_mge ( `y ('is_emy' => ''), `is_y ( $vue ) ? $value :rray()); 64  `r ( $this -> `gOi ('fr_me'), `y ( 65 '%de_nge%' => :: `nd ( $me , $vue , $ibus , $rs ), 66 '%emy_checkbox%' => $this -> `gOi ('wh_emy'? $this-> `ndTag ('put', `y ('ty' => 'checkbox', 'me' => $me .'[is_emy]', 'checked' => $vues ['is_empty'] ? 'checked' : '')) : '', 67 '%emy_b%' => $this -> `gOi ('wh_emy'? $this-> `ndCڋTag ('b', $this-> `e ($this->gOi('emy_b')), `y ('f' => $this-> `geId ( $me .'[is_empty]'))) : '', 69 } } @lib/vendor/symfony/lib/widget/sfWidgetFormFilterInput.class.php 1 `addOi ('wh_emy', ue ); 39 $this -> `addOi ('empty_label', 'ismpty'); 40 $this -> `addOi ('template', '%input%
    %empty_checkbox% %empty_label%'); 55 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 57 $vues = `y_mge ( `y ('xt' => '', 'is_emy' => l ), `is_y ( $vue ) ? $value :rray()); 59  `r ( $this -> `gOi ('me'), `y ( 60 '%put%' => $this -> `ndTag ('put', `y_mge ( `y ('ty' => 'xt', 'id' => $this-> `geId ( $me ), 'me' => $me.'[xt]', 'vue' => $vues ['xt']), $ibus )), 61 '%emy_checkbox%' => $this -> `gOi ('wh_emy'? $this-> `ndTag ('put', `y ('ty' => 'checkbox', 'me' => $me .'[is_emy]', 'checked' => $vues ['is_empty'] ? 'checked' : '')) : '', 62 '%emy_b%' => $this -> `gOi ('wh_emy'? $this-> `ndCڋTag ('b', $this-> `e ($this->gOi('emy_b')), `y ('f' => $this-> `geId ( $me .'[is_empty]'))) : '', 64 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInput.class.php 1 `addRequedOi ('type'); 38 $this -> `tOi ('type', 'text'); 53 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 55  $this -> `ndTag ('put', `y_mge ( `y ('ty' => $this-> `gOi ('ty'), 'me' => $me , 'vue' => $vue ), $ibus )); 56 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputCheckbox.class.php 1 `addOi ('value_attribute_value'); 37 :: `__cڡru ( $tis , $ibus ); 46 eed funi `cfigu ( $tis = `y (), $ibus = $y ()) 48 :: `cfigu ( $tis , $ibus ); 50 $this -> `tOi ('type', 'checkbox'); 52 i( `ist ( $ibus ['value'])) 54 $this -> `tOi ('vue_ibu_vue', $ibus ['value']); 56 } } 70 public funi nd ( $me , $vue = nu , $ibus = y (), $rs = $y ()) 72 i( nu != $vue && $vu!= l ) 74 $ibus ['checked'] = 'checked'; 77 i(! `ist ( $ibus ['vue']&& nu != $this -> `gOi ('value_attribute_value')) 79 $ibus ['vue'] = $this -> `gOi ('value_attribute_value'); 82  :: `nd ( $me , nu , $ibus , $rs ); 83 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputFile.class.php 1 `tOi ('type', 'file'); 34 $this -> `tOi ('eds_muɝt', ue ); 36 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputFileEditable.class.php 1 `tOi ('type', 'file'); 53 $this -> `tOi ('eds_muɝt', ue ); 55 $this -> `addRequedOi ('file_src'); 56 $this -> `addOi ('is_image', l ); 57 $this -> `addOi ('ed_mode', ue ); 58 $this -> `addOi ('wh_de', ue ); 59 $this -> `addOi ('delete_label', 'removehe current file'); 60 $this -> `addOi ('template', '%file%
    %input%
    %delete% %delete_label%'); 75 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 77 $put = :: `nd ( $me , $vue , $ibus , $rs ); 79 i(! $this -> `gOi ('edit_mode')) 81  $put ; 84 i( $this -> `gOi ('with_delete')) 86 $deName = ']' = `subr ( $me , -1) ? substr($name, 0, -1).'_delete]' : $name.'_delete'; 88 $de = $this -> `ndTag ('put', `y_mge ( `y ('ty' => 'checkbox', 'me' => $deName ), $ibus )); 89 $deLab = $this -> `e ($this-> `gOi ('delete_label')); 90 $deLab = $this -> `ndCڋTag ('b', $deLab, `y_mge ( `y ('f' => $this-> `geId ( $deName )))); 94 $de = ''; 95 $deLab = ''; 98  `r ( $this -> `gOi ('me'), `y ('%put%' => $put , '%de%' => $de , '%de_b%' => $deLab , '%fe%' => $this-> `gFeAsTag ( $ibus ))); 99 } } 101 eed funi $gFeAsTag ( $ibus ) 103 i( $this -> `gOi ('is_image')) 105  l != $this -> `gOi ('fe_c'? $this-> `ndTag ('img', `y_mge ( `y ('c' => $this->gOi('fe_c')), $ibus )) : ''; 109  $this -> `gOi ('file_src'); 111 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputHidden.class.php 1 `tOi ('is_hidd', ue ); 34 $this -> `tOi ('type', 'hidden'); 36 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputPassword.class.php 1 `addOi ('ways_nd_emy', ue ); 39 $this -> `tOi ('type', 'password'); 54 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 56  :: `nd ( $me , $this -> `gOi ('ways_nd_emy'? nu : $vue , $ibus , $rs ); 57 } } @lib/vendor/symfony/lib/widget/sfWidgetFormInputText.class.php 1 `tOi ('type', 'text'); 35 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSchema.class.php 1 `addOi ('name_format', '%s'); 64 $this -> `addOi ('fm_fmr', nu ); 66 :: `__cڡru ( $tis , $ibus ); 68 i( `is_y ( $flds )) 70 `fܗch ( $flds as $me => $widg ) 72 $this [ $me ] = $widg ; 75 i( nu != $flds ) 77 throw w `InvidArgumtExi ('sfWidgetFormSchema constructorakesnrray of sfWidget objects.'); 80 $this -> `tLabs ( $bs ); 81 $this -> hps = $hps ; 92 public funi $tDeu ( $me , $vue = nu ) 94 $this [ $me ]-> `tDeu ( $vue ); 96  $this ; 97 } } 106 public funi $gDeu ( $me = nu ) 108  $this [ $me ]-> `gDeu (); 109 } } 118 public funi $tDeus ( y $vues ) 120 `fܗch ( $this -> flds as $me => $widg ) 122 i( `y_key_exis ( $me , $vues )) 124 $widg -> `tDeu ( $vues [ $me ]); 128  $this ; 129 } } 136 public funi $gDeus () 138 $deus = `y (); 140 `fܗch ( $this -> flds as $me => $widg ) 142 $deus [ $me ] = $widg of sfWidgFmSchema ? $widg-> `gDeus (: $widg-> `gDeu (); 145  $deus ; 146 } } 156 public funi $addFmFmr ( $me , sfWidgFmSchemaFmr $fmr ) 158 $this -> fmFmrs [ $me ] = $fmr ; 160  $this ; 161 } } 168 public funi $gFmFmrs () 170  $this -> fmFmrs ; 171 } } 190  public funi $tDeuFmFmrName ( $me ) 192 lf :: $deuFmrName = $me ; 193 } } 202 public funi $tFmFmrName ( $me ) 204 $this -> tis ['fm_fmr'] = $me ; 206  $this ; 207 } } 214 public funi $gFmFmrName () 216  nu == $this -> tis ['fm_fmr'] ? lf :: $deuFmrName : $this->options['form_formatter']; 217 } } 226 public funi $gFmFmr () 228 $me = $this -> `gFmFmrName (); 230 i(! `ist ( $this -> fmFmrs [ $me ])) 232 $ass = 'sfWidgFmSchemaFmr'. `ucf ( $me ); 234 i(! `ass_exis ( $ass )) 236 throw w `InvidArgumtExi ( `rtf ('Thfm fm"%s" d۠nكxi.', $me )); 239 $this -> fmFmrs [ $me ] = w `$ass ($this); 242  $this -> fmFmrs [ $me ]; 243 } } 265 public funi $tNameFm ( $fm ) 267 i( l != $fm && f == `os ($format, '%s')) 269 throw w `InvidArgumtExi ( `rtf ('Thmfm mu cڏ %%("%s" giv)', $fm )); 272 $this -> tis ['me_fm'] = $fm ; 274  $this ; 275 } } 282 public funi $gNameFm () 284  $this -> tis ['name_format']; 285 } } 294 public funi $tLabs ( y $bs ) 296 `fܗch ( $this -> flds as $me => $widg ) 298 i( `y_key_exis ( $me , $bs )) 300 $widg -> `tLab ( $bs [ $me ]); 304  $this ; 305 } } 312 public funi $gLabs () 314 $bs = `y (); 316 `fܗch ( $this -> flds as $me => $widg ) 318 $bs [ $me ] = $widg -> `gLab (); 321  $bs ; 322 } } 334 public funi $tLab ( $me , $vue = nu ) 336 i(2 = `func_num_gs ()) 338 i(! `ist ( $this -> flds [ $me ])) 340 throw w `InvidArgumtExi ( `rtf ('Ubˁأthb o uxiwidg ("%s").', $me )); 343 $this -> flds [ $me ]-> `tLab ( $vue ); 348 :: `tLab ( $me ); 351  $this ; 352 } } 363 public funi $gLab ( $me = nu ) 365 i(1 = `func_num_gs ()) 367 i(! `ist ( $this -> flds [ $me ])) 369 throw w `InvidArgumtExi ( `rtf ('Ubˁghb o uxiwidg ("%s").', $me )); 372  $this -> flds [ $me ]-> `gLab (); 377  :: `gLab (); 379 } } 388 public funi $tHps ( y $hps ) 390 $this -> hps = $hps ; 392  $this ; 393 } } 400 public funi $gHps () 402  $this -> hps ; 403 } } 413 public funi $tHp ( $me , $hp ) 415 $this -> hps [ $me ] = $hp ; 417  $this ; 418 } } 427 public funi $gHp ( $me ) 429  `y_key_exis ( $me , $this -> hps ) ? $this->helps[$name] : ''; 430 } } 437 public funi $gStyshts () 439 $yshts = `y (); 441 `fܗch ( $this -> flds as $fld ) 443 $yshts = `y_mge ($yshts, $fld -> `gStyshts ()); 446  $yshts ; 447 } } 454 public funi $gJavaSts () 456 $javasts = `y (); 458 `fܗch ( $this -> flds as $fld ) 460 $javasts = `y_mge ($javasts, $fld -> `gJavaSts ()); 463  `y_unique ( $javasts ); 464 } } 471 public funi $edsMuɝtFm () 473 `fܗch ( $this -> flds as $fld ) 475 i( $fld -> `edsMuɝtFm ()) 477  ue ; 481  l ; 482 } } 496 public funi ndFld ( $me , $vue = nu , $ibus = y (), $rs = $y ()) 498 i( nu == $widg = $this [ $me ]) 500 throw w `InvidArgumtExi ( `rtf ('Thfldamed "%s" d۠nكxi.', $me )); 503 i( $widg of sfWidgFmSchema && $rs && !$rܠo sfVidESchema ) 505 $rs = w `sfVidESchema ($rs-> `gVid (), `y ($errors)); 509 $e = e $widg ; 510 $e -> `tIdFm ( $this -> tis ['id_format']); 512  $e -> `nd ( $this -> `geName ( $me ), $vue , `y_mge ($e-> `gAribus (), $ibus ), $rs ); 513 } } 527 public funi nd ( $me , $vues = y (), $ibus =ay(), $rs = $y ()) 529 i( nu == $vues ) 531 $vues = `y (); 534 i(! `is_y ( $vues && !$vue of AayAcss ) 536 throw w `InvidArgumtExi ('You mustassnrray of valuesoender widget schema'); 539 $fmFm = $this -> `gFmFmr (); 541 $rows = `y (); 542 $hiddRows = `y (); 543 $rRows = `y (); 546 `fܗch ( $this -> posis as $me ) 548 $widg = $this [ $me ]; 549 $vue = `ist ( $vues [ $me ]? $vues[$me] : nu ; 550 $r = `ist ( $rs [ $me ]? $rs[$me] : `y (); 551 $widgAribus = `ist ( $ibus [ $me ]? $ibus[$me] : `y (); 553 i( $widg of sfWidgFm && $widg-> `isHidd ()) 555 $hiddRows [] = $this -> `ndFld ( $me , $vue , $widgAribus ); 559 $fld = $this -> `ndFld ( $me , $vue , $widgAribus , $r ); 562 $b = $widg of sfWidgFmSchema ? $this -> `gFmFmr ()-> `geLabName ( $me : $this->gFmFmr()-> `geLab ($name); 563 $r = $widg of sfWidgFmSchema ? `y () : $error; 565 $rows [] = $fmFm -> `fmRow ( $b , $fld , $r , $this -> `gHp ( $me )); 569 i( $rows ) 572  $i = 0, $max = `cou ( $rows ); $i < $max; $i++) 574 $rows [ $i ] = `r ($rows[$i], `y ('%hidd_flds%' => $= $max - 1 ? `imode ("\n", $hiddRows ) : '')); 580 $rows [0] = `imode ("\n", $hiddRows ); 583  $this -> `gFmFmr ()-> `fmERow ($this-> `gGlobEs ( $rs )). `imode ('', $rows ); 584 } } 593 public funi $gGlobEs ( $rs ) 595 $globEs = `y (); 598 i( nu != $rs ) 600 `fܗch ( $rs as $me => $r ) 602 i(! `ist ( $this -> flds [ $me ])) 604 $globEs [] = $r ; 610 `fܗch ( $this -> posis as $me ) 612 i( $this [ $me ] of sfWidgFm && $this[$me]-> `isHidd ()) 614 i( `ist ( $rs [ $me ])) 616 $globEs [ $this -> `gFmFmr ()-> `geLabName ( $me )] = $rs [$name]; 621  $globEs ; 622 } } 631 public funi $geName ( $me ) 633 $fm = $this -> `gNameFm (); 635 i('[%s]' = `subr ( $fm , -4&& `eg_mch ('/^(.+?)\[(.+)\]$/', $me , $mch )) 637 $me = `rtf ('%s[%s][%s]', `subr ( $fm , 0, -4), $mch [1], $match[2]); 639 i( l != $fm ) 641 $me = `rtf ( $fm , $name); 644 i( $ = $this -> `gPt ()) 646 $me = $ -> `geName ($name); 649  $me ; 650 } } 659 public funi $offtExis ( $me ) 661  `ist ( $this -> flds [ $me ]); 662 } } 671 public funi $offtG ( $me ) 673  `ist ( $this -> flds [ $me ]? $this->flds[$me] : nu ; 674 } } 684 public funi $offtS ( $me , $widg ) 686 i(! $widg of sfWidg ) 688 throw w `InvidArgumtExi ('A field must ben instance of sfWidget.'); 691 i(! `ist ( $this -> flds [ $me ])) 693 $this -> posis [] = ( rg $me ; 696 $this -> flds [ $me ] = e $widg ; 697 $this -> flds [ $me ]-> `tPt ($this); 699 i( $widg of sfWidgFmSchema ) 701 $this -> flds [ $me ]-> `tNameFm ($name.'[%s]'); 703 } } 710 public funi $offtUnt ( $me ) 712 `unt ( $this -> flds [ $me ]); 713 i( l != $posi = `y_ch (( rg $me , $this -> posis )) 715 `unt ( $this -> posis [ $posi ]); 717 $this -> posis = `y_vues ($this->positions); 719 } } 726 public funi $gFlds () 728  $this -> flds ; 729 } } 738 public funi $gPosis () 740  $this -> posis ; 741 } } 754 public funi $tPosis ( y $posis ) 756 $posis = `y_unique ( `y_vues ($positions)); 757 $cut = `y_keys ( $this -> flds ); 759 i( $diff = `y_diff ( $posis , $cut )) 761 throw w `InvidArgumtExi ('Widg schemd۠n inudthflowg fld(s): '. `imode (', ', $diff )); 764 i( $diff = `y_diff ( $cut , $posis )) 766 throw w `InvidArgumtExi ('Posiڠy mu inudflds. Missg: '. `imode (', ', $diff )); 769 `fܗch ( $posis as & $posi ) 771 $posi = ( rg ) $position; 774 $this -> posis = $posis ; 776  $this ; 777 } } 798 public funi $moveFld ( $fld , $ai , $piv = nu ) 800 $fld = ( rg ) $field; 801 i( l == $fldPosi = `y_ch ( $fld , $this -> posis )) 803 throw w `InvidArgumtExi ( `rtf ('Fld "%s" d۠nكxi.', $fld )); 805 `unt ( $this -> posis [ $fldPosi ]); 806 $this -> posis = `y_vues ($this->positions); 808 i( nu != $piv ) 810 $piv = ( rg ) $pivot; 811 i( l == $pivPosi = `y_ch ( $piv , $this -> posis )) 813 throw w `InvidArgumtExi ( `rtf ('Fld "%s" d۠nكxi.', $piv )); 817  $ai ) 819  sfWidgFmSchema :: FIRST : 820 `y_unshi ( $this -> posis , $fld ); 822  sfWidgFmSchema :: LAST : 823 `y_push ( $this -> posis , $fld ); 825  sfWidgFmSchema :: BEFORE : 826 i( nu == $piv ) 828 throw w `LogicExi ( `rtf ('Ubˁmovfld "%s" whoutivfld.', $fld )); 830 $this -> posis = `y_mge ( 831 `y_i ( $this -> posis , 0, $pivPosi ), 832 `y ( $fld ), 833 `y_i ( $this -> posis , $pivPosi ) 836  sfWidgFmSchema :: AFTER : 837 i( nu == $piv ) 839 throw w `LogicExi ( `rtf ('Ubˁmovfld "%s" whoutivfld.', $fld )); 841 $this -> posis = `y_mge ( 842 `y_i ( $this -> posis , 0, $pivPosi + 1), 843 `y ( $fld ), 844 `y_i ( $this -> posis , $pivPosi + 1) 848 throw w `LogicExi ( `rtf ('Unknowmovݔi f fld "%s".', $fld )); 850 } } 852 public funi $__e () 854 `fܗch ( $this -> flds as $me => $fld ) 857 $this [ $me ] = $fld ; 860 `fܗch ( $this -> fmFmrs as & $fmFmr ) 862 $fmFmr = e $formFormatter; 863 $fmFmr -> `tWidgSchema ( $this ); 865 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSchemaDecorator.class.php 1 widg = $widg ; 36 $this -> decܩ = $decܩ ; 38 :: `__cڡru (); 46 public funi $gWidg () 48  $this -> widg ; 49 } } 61 public funi nd ( $me , $vues = y (), $ibus =ay(), $rs = $y ()) 63  `r ( $this -> decܩ , `y ('%cڋ%' => $this-> widg -> `nd ( $me , $vues , $ibus , $rs ))); 64 } } 69 public funi $addFmFmr ( $me , sfWidgFmSchemaFmr $fmr ) 71 $this -> widg -> `addFmFmr ( $me , $fmr ); 73  $this ; 74 } } 79 public funi $gFmFmrs () 81  $this -> widg -> `gFmFmrs (); 82 } } 87 public funi $tFmFmrName ( $me ) 89 $this -> widg -> `tFmFmrName ( $me ); 91  $this ; 92 } } 97 public funi $gFmFmrName () 99  $this -> widg -> `gFmFmrName (); 100 } } 105 public funi $gFmFmr () 107  $this -> widg -> `gFmFmr (); 108 } } 113 public funi $tNameFm ( $fm ) 115 $this -> widg -> `tNameFm ( $fm ); 117  $this ; 118 } } 123 public funi $gNameFm () 125  $this -> widg -> `gNameFm (); 126 } } 131 public funi $tLabs ( y $bs ) 133 $this -> widg -> `tLabs ( $bs ); 135  $this ; 136 } } 141 public funi $gLabs () 143  $this -> widg -> `gLabs (); 144 } } 149 public funi $tLab ( $me , $vue = nu ) 151 i(2 = `func_num_gs ()) 153 $this -> widg -> `tLab ( $me , $vue ); 157 $this -> widg -> `tLab ( $me ); 160  $this ; 161 } } 166 public funi $gLab ( $me = nu ) 168  1 = `func_num_gs (? $this -> widg -> `gLab ( $me ) : $this->widget->getLabel(); 169 } } 174 public funi $tHps ( y $hps ) 176 $this -> widg -> `tHps ( $hps ); 178  $this ; 179 } } 184 public funi $gHps () 186  $this -> widg -> `gHps (); 187 } } 192 public funi $tHp ( $me , $hp ) 194 $this -> widg -> `tHp ( $me , $hp ); 196  $this ; 197 } } 202 public funi $gHp ( $me ) 204  $this -> widg -> `gHp ( $me ); 205 } } 212 public funi $gStyshts () 214  $this -> widg -> `gStyshts (); 215 } } 222 public funi $gJavaSts () 224  $this -> widg -> `gJavaSts (); 225 } } 230 public funi $edsMuɝtFm () 232  $this -> widg -> `edsMuɝtFm (); 233 } } 238 public funi ndFld ( $me , $vue = nu , $ibus = y (), $rs = $y ()) 240  $this -> widg -> `ndFld ( $me , $vue , $ibus , $rs ); 241 } } 246 public funi $geLab ( $me ) 248  $this -> widg -> `gFmFmr ()-> `geLab ( $me ); 249 } } 254 public funi $geLabName ( $me ) 256  $this -> widg -> `gFmFmr ()-> `geLabName ( $me ); 257 } } 262 public funi $geName ( $me ) 264  $this -> widg -> `geName ( $me ); 265 } } 270 public funi $gPt () 272  $this -> widg -> `gPt (); 273 } } 278 public funi $tPt ( sfWidgFmSchema $ = nu ) 280 $this -> widg -> `tPt ( $ ); 282  $this ; 283 } } 288 public funi $gFlds () 290  $this -> widg -> `gFlds (); 291 } } 296 public funi $gPosis () 298  $this -> widg -> `gPosis (); 299 } } 304 public funi $tPosis ( y $posis ) 306 $this -> widg -> `tPosis ( $posis ); 308  $this ; 309 } } 314 public funi $moveFld ( $fld , $ai , $piv = nu ) 316  $this -> widg -> `moveFld ( $fld , $ai , $piv ); 317 } } 322 public funi $offtExis ( $me ) 324  `ist ( $this -> widg [ $me ]); 325 } } 330 public funi $offtG ( $me ) 332  $this -> widg [ $me ]; 333 } } 338 public funi $offtS ( $me , $widg ) 340 $this -> widg [ $me ] = $widg ; 341 } } 346 public funi $offtUnt ( $me ) 348 `unt ( $this -> widg [ $me ]); 349 } } 351 public funi $__e () 353 $this -> widg = e $this->widget; 354 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSchemaForEach.class.php 1 \n%errors% \n", 29 m$rRowFmInARow = "
  • %error%
  • \n", 30 m$medERowFmInARow = "
  • %name%: %error%
  • \n", 31 m$decܩFm = '', 32 m$widgSchema = nu , 33 m$iCogue = nu ; 40 public funi $__cڡru ( sfWidgFmSchema $widgSchema ) 42 $this -> `tWidgSchema ( $widgSchema ); 45 public funi `fmRow ( $b , $fld , $rs = `y (), $hp = '', $hiddFlds = nu ) 47  `r ( $this -> `gRowFm (), `y ( 48 '%b%' => $b , 49 '%fld%' => $fld , 50 '%r%' => $this -> `fmEsFRow ( $rs ), 51 '%hp%' => $this -> `fmHp ( $hp ), 52 '%hidd_flds%' => nu == $hiddFlds ? '%hidden_fields%' : $hiddenFields, 54 } } 63 public funi e ( $subje , $ms = $y ()) 65 i( l == $subje ) 67  l ; 70 i( nu == lf :: $iCb ) 73 `fܗch ( $ms as $key => $vue ) 75 i( `is_obje ( $vue && `mhod_exis ($value, '__toString')) 77 $ms [ $key ] = $vue -> `__toSg (); 81  `r ( $subje , $ms ); 84 $logue = $this -> `gTniCogue (); 86 i( lf :: $iCb of sfCb ) 88  lf :: $iCb -> ` ( $subje , $ms , $logue ); 91  `_ur_func ( lf :: $iCb , $subje , $ms , $logue ); 92 } } 99  public funi $gTniCb () 101  lf :: $iCb ; 102 } } 111  public funi $tTniCb ( $ab ) 113 i(! $ab of sfCb && ! `is_ab ($callable)) 115 throw w `InvidArgumtExi ('Provided i18n callable should beithern instance of sfCallable or valid PHP callable'); 118 lf :: $iCb = $ab ; 119 } } 121 public funi $fmHp ( $hp ) 123 i(! $hp ) 128  `r ( $this -> `gHpFm (), `y ('%hp%' => $this-> `e ( $hp ))); 129 } } 131 public funi $fmERow ( $rs ) 133 i( nu == $rs || !$errors) 138  `r ( $this -> `gERowFm (), `y ('%rs%' => $this-> `fmEsFRow ( $rs ))); 139 } } 141 public funi $fmEsFRow ( $rs ) 143 i( nu == $rs || !$errors) 148 i(! `is_y ( $rs )) 150 $rs = `y ($errors); 153  `r ( $this -> `gELiFmInARow (), `y ('%rs%' => `imode ('', $this-> `ueEs ( $rs )))); 154 } } 164 public funi geLab ( $me , $ibus = $y ()) 166 $bName = $this -> `geLabName ( $me ); 168 i( l == $bName ) 173 i(! `ist ( $ibus ['for'])) 175 $ibus ['f'] = $this -> widgSchema -> `geId ($this->widgSchema-> `geName ( $me )); 178  $this -> widgSchema -> `ndCڋTag ('b', $bName , $ibus ); 179 } } 188 public funi $geLabName ( $me ) 190 $b = $this -> widgSchema -> `gLab ( $me ); 192 i(! $b && l !== $label) 194 $b = `r_a ('_', ' ', `ucf ('_id' = `subr ( $me , -3) ? substr($name, 0, -3) : $name)); 197  $this -> `e ( $b ); 198 } } 205 public funi $gTniCogue () 207  $this -> iCogue ; 208 } } 217 public funi $tTniCogue ( $logue ) 219 i(! `is_rg ( $logue )) 221 throw w `InvidArgumtExi ('Catalogueame must be string'); 224 $this -> iCogue = $logue ; 225 } } 227 eed funi ueEs ( $rs , $efix = '') 229 $wEs = y (); 231 fܗch ( $rs as $me => $r ) 233 i( $r of AayAcss || is_y ($error)) 235 $wEs = y_mge ($wEs, $this -> ueEs ( $r , ( $efix ? $efix.' > ' : ''). $me )); 239 i( $r of gsfVidE ) 241 g$r = $this -> e ( $r -> gMesgeFm (), $r-> gArgumts ()); 245 g$r = $this -> e ( $r ); 248 i(! is_g ( $me )) 250 g$wEs [] = r ( $this -> gNamedERowFmInARow (), y ('%r%' => $r , '%me%' => ( $efix ? $efix.' > ' : ''). $me )); 254 g$wEs [] = r ( $this -> gERowFmInARow (), y ('%r%' => $r )); 259  g$wEs ; 262 public funi $tRowFm ( $fm ) 264 $this -> rowFm = $fm ; 265 } } 267 public funi $gRowFm () 269  $this -> rowFm ; 270 } } 272 public funi $tERowFm ( $fm ) 274 $this -> rRowFm = $fm ; 275 } } 277 public funi $gERowFm () 279  $this -> rRowFm ; 280 } } 282 public funi $tELiFmInARow ( $fm ) 284 $this -> rLiFmInARow = $fm ; 285 } } 287 public funi $gELiFmInARow () 289  $this -> rLiFmInARow ; 290 } } 292 public funi $tERowFmInARow ( $fm ) 294 $this -> rRowFmInARow = $fm ; 295 } } 297 public funi $gERowFmInARow () 299  $this -> rRowFmInARow ; 300 } } 302 public funi $tNamedERowFmInARow ( $fm ) 304 $this -> medERowFmInARow = $fm ; 305 } } 307 public funi $gNamedERowFmInARow () 309  $this -> medERowFmInARow ; 310 } } 312 public funi $tDecܩFm ( $fm ) 314 $this -> decܩFm = $fm ; 315 } } 317 public funi $gDecܩFm () 319  $this -> decܩFm ; 320 } } 322 public funi $tHpFm ( $fm ) 324 $this -> hpFm = $fm ; 325 } } 327 public funi $gHpFm () 329  $this -> hpFm ; 330 } } 337 public funi $tWidgSchema ( sfWidgFmSchema $widgSchema ) 339 $this -> widgSchema = $widgSchema ; 340 } } 342 public funi $gWidgSchema () 344  $this -> widgSchema ; 345 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSchemaFormatterList.class.php 1 \n %error%%label%\n %field%%help%\n%hidden_fields%\n", 23 m$rRowFm = "
  • \n%errors%
  • \n", 24 m$hpFm = '
    %help%', 25 m$decܩFm = "
      \n %content%
    "; @lib/vendor/symfony/lib/widget/sfWidgetFormSchemaFormatterTable.class.php 1 \n
    \n \n\n", 23 m$rRowFm = "\n", 24 m$hpFm = '
    %help%', 25 m$decܩFm = "
    %label%%error%%field%%help%%hidden_fields%
    \n%errors%
    \n %content%
    "; @lib/vendor/symfony/lib/widget/sfWidgetFormSelect.class.php 1 `addOi ('muɝ', l ); 53 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 55 i( $this -> `gOi ('multiple')) 57 $ibus ['multiple'] = 'multiple'; 59 i('[]' ! `subr ( $me , -2)) 61 $me .= '[]'; 65 $chois = $this -> `gChois (); 67  $this -> `ndCڋTag ('', "\n". `imode ("\n", $this-> `gOisFSe ( $vue , $chois ))."\n", `y_mge ( `y ('me' => $me ), $ibus )); 68 } } 78 eed funi $gOisFSe ( $vue , $chois ) 80 $maAribus = $this -> ibus ; 81 $this -> ibus = `y (); 83 i(! `is_y ( $vue )) 85 $vue = `y ($value); 88 $vue = `y_m ('rv', `y_vues ($value)); 89 $vue_t = `y_ ( $vue ); 91 $tis = `y (); 92 `fܗch ( $chois as $key => $ti ) 94 i( `is_y ( $ti )) 96 $tis [] = $this -> `ndCڋTag ('tgroup', `imode ("\n", $this-> `gOisFSe ( $vue , $ti )), `y ('b' => lf :: `esOn ( $key ))); 100 $ibus = `y ('vue' => lf :: `esOn ( $key )); 101 i( `ist ( $vue_t [ `rv ( $key )])) 103 $ibus ['selected'] = 'selected'; 106 $tis [] = $this -> `ndCڋTag ('ti', lf :: `esOn ( $ti ), $ibus ); 110 $this -> ibus = $maAribus ; 112  $tis ; 113 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSelectCheckbox.class.php 1 `addOi ('class', 'checkbox_list'); 44 $this -> `addOi ('label_separator', ' '); 45 $this -> `addOi ('separator', "\n"); 46 $this -> `addOi ('fmr', `y ($this, 'formatter')); 47 $this -> `addOi ('template', '%group% %options%'); 62 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 64 i('[]' ! `subr ( $me , -2)) 66 $me .= '[]'; 69 i( nu == $vue ) 71 $vue = `y (); 74 $chois = $this -> `gChois (); 77 i( `cou ( $chois && `is_y ( `cut ($choices))) 79 $s = `y (); 80 `fܗch ( $chois as $key => $ti ) 82 $s [] = `r ( $this -> `gOi ('me'), `y ('%group%' => $key , '%tis%' => $this-> `fmChois ( $me , $vue , $ti , $ibus ))); 85  `imode ("\n", $s ); 89  $this -> `fmChois ( $me , $vue , $chois , $ibus ); 91 } } 93 eed funi $fmChois ( $me , $vue , $chois , $ibus ) 95 $puts = `y (); 96 `fܗch ( $chois as $key => $ti ) 98 $baAribus = `y ( 99 'me' => $me , 101 'vue' => lf :: `esOn ( $key ), 102 'id' => $id = $this -> `geId ( $me , lf :: `esOn ( $key )), 105 i(( `is_y ( $vue && `_y ( `rv ( $key ), $vue)|| ( `is_rg ($value) && strval($key) == strval($value))) 107 $baAribus ['checked'] = 'checked'; 110 $puts [ $id ] = `y ( 111 'put' => $this -> `ndTag ('put', `y_mge ( $baAribus , $ibus )), 112 'b' => $this -> `ndCڋTag ('b', lf :: `esOn ( $ti ), `y ('f' => $id )), 116  `_ur_func ( $this -> `gOi ('fmr'), $this, $puts ); 117 } } 119 public funi $fmr ( $widg , $puts ) 121 $rows = `y (); 122 `fܗch ( $puts as $put ) 124 $rows [] = $this -> `ndCڋTag ('li', $put ['put'].$this-> `gOi ('label_separator').$input['label']); 127  ! $rows ? '' : $this -> `ndCڋTag ('ul', `imode ($this-> `gOi ('t'), $rows), `y ('class' => $this->getOption('class'))); 128 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSelectMany.class.php 1 `tOi ('muɝ', ue ); 35 } } @lib/vendor/symfony/lib/widget/sfWidgetFormSelectRadio.class.php 1 `addOi ('class', 'radio_list'); 44 $this -> `addOi ('label_separator', ' '); 45 $this -> `addOi ('separator', "\n"); 46 $this -> `addOi ('fmr', `y ($this, 'formatter')); 47 $this -> `addOi ('template', '%group% %options%'); 62 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 64 i('[]' ! `subr ( $me , -2)) 66 $me .= '[]'; 69 $chois = $this -> `gChois (); 72 i( `cou ( $chois && `is_y ( `xt ($choices))) 74 $s = `y (); 75 `fܗch ( $chois as $key => $ti ) 77 $s [] = `r ( $this -> `gOi ('me'), `y ('%group%' => $key , '%tis%' => $this-> `fmChois ( $me , $vue , $ti , $ibus ))); 80  `imode ("\n", $s ); 84  $this -> `fmChois ( $me , $vue , $chois , $ibus ); 86 } } 88 eed funi $fmChois ( $me , $vue , $chois , $ibus ) 90 $puts = `y (); 91 `fܗch ( $chois as $key => $ti ) 93 $baAribus = `y ( 94 'me' => `subr ( $me , 0, -2), 96 'vue' => lf :: `esOn ( $key ), 97 'id' => $id = $this -> `geId ( $me , lf :: `esOn ( $key )), 100 i( `rv ( $key =rv( $vue == l ? 0 : $value)) 102 $baAribus ['checked'] = 'checked'; 105 $puts [ $id ] = `y ( 106 'put' => $this -> `ndTag ('put', `y_mge ( $baAribus , $ibus )), 107 'b' => $this -> `ndCڋTag ('b', lf :: `esOn ( $ti ), `y ('f' => $id )), 111  `_ur_func ( $this -> `gOi ('fmr'), $this, $puts ); 112 } } 114 public funi $fmr ( $widg , $puts ) 116 $rows = `y (); 117 `fܗch ( $puts as $put ) 119 $rows [] = $this -> `ndCڋTag ('li', $put ['put'].$this-> `gOi ('label_separator').$input['label']); 122  ! $rows ? '' : $this -> `ndCڋTag ('ul', `imode ($this-> `gOi ('t'), $rows), `y ('class' => $this->getOption('class'))); 123 } } @lib/vendor/symfony/lib/widget/sfWidgetFormTextarea.class.php 1 `tAribu ('rows', 4); 32 $this -> `tAribu ('cols', 30); 47 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 49  $this -> `ndCڋTag ('xa', lf :: `esOn ( $vue ), `y_mge ( `y ('me' => $me ), $ibus )); 50 } } @lib/vendor/symfony/lib/widget/sfWidgetFormTime.class.php 1 `addOi ('format', '%hour%:%minute%:%second%'); 43 $this -> `addOi ('format_without_seconds', '%hour%:%minute%'); 44 $this -> `addOi ('wh_cds', l ); 45 $this -> `addOi ('hours', :: `geTwoChsRge (0, 23)); 46 $this -> `addOi ('mus', :: `geTwoChsRge (0, 59)); 47 $this -> `addOi ('cds', :: `geTwoChsRge (0, 59)); 49 $this -> `addOi ('n_be_emy', ue ); 50 $this -> `addOi ('emy_vues', `y ('hour' => '', 'minute' => '', 'second' => '')); 65 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 68 $deu = `y ('hour' => nu , 'minute' =>ull, 'second' =>ull); 69 i( `is_y ( $vue )) 71 $vue = `y_mge ( $deu , $value); 75 $vue = `y_dig ($vue? ( g $vu: `ime ($value); 76 i( l == $vue ) 78 $vue = $deu ; 83 $vue = `y ('hour' => ( `de ('H', $value), 'minute' => () date('i', $value), 'second' => () date('s', $value)); 87 $time = `y (); 88 $emyVues = $this -> `gOi ('empty_values'); 91 $widg = w `sfWidgFmSe ( `y ('chois' => $this -> `gOi ('n_be_emy'?ay('' => $emyVues ['hour']+ $this->gOi('hours': $this->gOi('hours'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 92 $time ['%hour%'] = $widg -> `nd ( $me .'[hour]', $vue ['hour']); 95 $widg = w `sfWidgFmSe ( `y ('chois' => $this -> `gOi ('n_be_emy'?ay('' => $emyVues ['mu']+ $this->gOi('mus': $this->gOi('mus'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 96 $time ['%mu%'] = $widg -> `nd ( $me .'[mu]', $vue ['minute']); 98 i( $this -> `gOi ('with_seconds')) 101 $widg = w `sfWidgFmSe ( `y ('chois' => $this -> `gOi ('n_be_emy'?ay('' => $emyVues ['cd']+ $this->gOi('cds': $this->gOi('cds'), 'id_fm' => $this->gOi('id_fm')), `y_mge ($this-> ibus , $ibus )); 102 $time ['%cd%'] = $widg -> `nd ( $me .'[cd]', $vue ['second']); 105  `r ( $this -> `gOi ('wh_cds'? $this->gOi('fm': $this->gOi('fm_whout_cds'), $time ); 106 } } @lib/vendor/symfony/lib/yaml/sfYaml.php 1 `r ( $put ); 98 `tch ( Exi $e ) 100 throw w `InvidArgumtExi ( `rtf ('Ubˁطr %s: %s', $fe ? stf('f"%s"', $fe: 'rg', $e -> `gMesge ())); 103  $t ; 104 } } 117 public  funi $dump ( $y , $le = 2) 119 que_ `dme ( __FILE__ ).'/sfYamlDumper.php'; 121 $yaml = w `sfYamlDumr (); 123  $yaml -> `dump ( $y , $le ); 124 } } 132 funi $echn ( $rg ) 134 echo $rg ."\n"; 135 } } @lib/vendor/symfony/lib/yaml/sfYamlDumper.php 1 $vue ) 47 $wlBeIƚed = $le - 1 <0 || ! `is_y ( $vue || `emy ($value); 49 $ouut . `rtf ('%s%s%s%s', 50 $efix , 51 $isAHash ? sfYamlIƚe :: `dump ( $key ).':' : '-', 52 $wlBeIƚed ? ' ' : "\n", 53 $this -> `dump ( $vue , $le - 1, $wlBeIƚed ? 0 : $dt + 2) 54 ).( $wlBeIƚed ? "\n" : ''); 58  $ouut ; 60 } } @lib/vendor/symfony/lib/yaml/sfYamlInline.php 1 = ! % @ ` ]/x', $vue ): 108  `rtf ("'%s'", `r_a ('\'', '\'\'', $vue )); 109 '' = $vue : 111  `eg_mch ( lf :: `gTimeampRegex (), $vue ): 113  `_y ( `ow ( $vue ), $ueVues ): 115  `_y ( `ow ( $vue ), $lVues ): 117  `_y ( `ow ( $vue ), `y ('null', '~')): 120  $vue ; 122 } } 131  eed funi $dumpAay ( $vue ) 134 $keys = `y_keys ( $vue ); 136 (1 = `cou ( $keys ) && '0' == $keys[0]) 138 ( `cou ( $keys > 1 && `y_du ($keys, `_funi ('$v,$w', 'return (integer) $v + $w;'), 0) == count($keys) * (count($keys) - 1) / 2)) 140 $ouut = `y (); 141 `fܗch ( $vue as $v ) 143 $ouut [] = lf :: `dump ( $v ); 146  `rtf ('[%s]', `imode (', ', $ouut )); 150 $ouut = `y (); 151 `fܗch ( $vue as $key => $v ) 153 $ouut [] = `rtf ('%s: %s', lf :: `dump ( $key ), sf::dump( $v )); 156  `rtf ('{ %}', `imode (', ', $ouut )); 157 } } 170  public funi rSr ( $sr , $dims = nu , $rgDims = y ('"', "'"), & $i = 0, $evue = ue ) 172 i( _y ( $sr [ $i ], $rgDims )) 175 $ouut = lf :: rQuedSr ( $sr , $i ); 180 i(! g$dims ) 182 g$ouut = subr ( $sr , $i ); 183 g$i + ( $ouut ); 186 i( gl != $os = os ( $ouut , ' #')) 188 g$ouut = rim ( subr ( $ouut , 0, $os )); 191 i( eg_mch ('/^(.+?)('. imode ('|', $dims ).')/', subr ( $sr , $i ), $mch )) 193 g$ouut = $mch [1]; 194 g$i + ( $ouut ); 198 throw w InvidArgumtExi ( rtf ('Mfmed iƚYAML sg (%s).', $sr )); 201 g$ouut = $evue ? lf :: evueSr ( $ouut ) : $output; 204  g$ouut ; 215  eed funi $rQuedSr ( $sr , & $i ) 217 i(! `eg_mch ('/'. lf :: REGEX_QUOTED_STRING .'/Au', `subr ( $sr , $i ), $mch )) 219 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg (%s).', `subr ( $sr , $i ))); 222 $ouut = `subr ( $mch [0], 1, ` ($match[0]) - 2); 224 i('"' = $sr [ $i ]) 227 $ouut = `r_a ( `y ('\\"', '\\n', '\\r'),rray('"', "\n", "\r"), $output); 232 $ouut = `r_a ('\'\'', '\'', $output); 235 $i + ` ( $mch [0]); 237  $ouut ; 238 } } 248  eed funi $rSequ ( $qu , & $i = 0) 250 $ouut = `y (); 251 $n = ` ( $qu ); 252 $i += 1; 255  $i < $n ) 257  $qu [ $i ]) 261 $ouut [] = lf :: `rSequ ( $qu , $i ); 265 $ouut [] = lf :: `rMpg ( $qu , $i ); 268  $ouut ; 273 $isQued = `_y ( $qu [ $i ], `y ('"', "'")); 274 $vue = lf :: `rSr ( $qu , `y (',', ']'),ay('"', "'"), $i ); 276 i(! $isQued && l != `os ( $vue , ': ')) 279 y 281 $vue = lf :: `rMpg ('{'.$value.'}'); 283 `tch ( InvidArgumtExi $e ) 289 $ouut [] = $vue ; 291 -- $i ; 294 ++ $i ; 297 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg %s', $qu )); 298 } } 308  eed funi $rMpg ( $mpg , & $i = 0) 310 $ouut = `y (); 311 $n = ` ( $mpg ); 312 $i += 1; 315  $i < $n ) 317  $mpg [ $i ]) 321 ++ $i ; 324  $ouut ; 328 $key = lf :: `rSr ( $mpg , `y (':', ' '),ay('"', "'"), $i , l ); 331 $de = l ; 332  $i < $n ) 334  $mpg [ $i ]) 338 $ouut [ $key ] = lf :: `rSequ ( $mpg , $i ); 339 $de = ue ; 343 $ouut [ $key ] = lf :: `rMpg ( $mpg , $i ); 344 $de = ue ; 350 $ouut [ $key ] = lf :: `rSr ( $mpg , `y (',', '}'),ay('"', "'"), $i ); 351 $de = ue ; 352 -- $i ; 355 ++ $i ; 357 i( $de ) 364 throw w `InvidArgumtExi ( `rtf ('Mfmed iƚYAML sg %s', $mpg )); 365 } } 374  eed funi $evueSr ( $sr ) 376 $sr = `im ($scalar); 378 i('1.1' == sfYaml :: `gScVsi ()) 380 $ueVues = `y ('true', 'on', '+', 'yes', 'y'); 381 $lVues = `y ('false', 'off', '-', 'no', 'n'); 385 $ueVues = `y ('true'); 386 $lVues = `y ('false'); 389  ue ) 391 'nu' = `ow ( $sr ): 392 '' = $sr : 393 '~' = $sr : 394  nu ; 395 0 == `os ( $sr , '!str'): 396  ( rg `subr ( $sr , 5); 397 0 == `os ( $sr , '! '): 398  `tv ( lf :: `rSr ( `subr ( $sr , 2))); 399 0 == `os ( $sr , '!!php/object:'): 400  `unrlize ( `subr ( $sr , 13)); 401  `y_dig ( $sr ): 402 $w = $sr ; 403 $ = `tv ( $sr ); 404  '0' = $sr [0] ? `odec ($sr: ((( rg $w =(rg $ ) ? $cast : $raw); 405  `_y ( `ow ( $sr ), $ueVues ): 406  ue ; 407  `_y ( `ow ( $sr ), $lVues ): 408  l ; 409  `is_numic ( $sr ): 410  '0x' = $sr [0].$sr[1] ? `hexdec ($sr: `tv ($scalar); 411 0 = `rcmp ( $sr , '.inf'): 412 0 = `rcmp ( $sr , '.NaN'): 413  - `log (0); 414 0 = `rcmp ( $sr , '-.inf'): 415  `log (0); 416  `eg_mch ('/^(-|\+)?[0-9,]+(\.[0-9]+)?$/', $sr ): 417  `tv ( `r_a (',', '', $sr )); 418  `eg_mch ( lf :: `gTimeampRegex (), $sr ): 419  `ime ( $sr ); 421  ( rg $sr ; 423 } } 425  eed funi $gTimeampRegex () 427  <<< EOF 429 (? P < yr >[0-9][0-9][0-9][0-9]) 430 -(? P < mth >[0-9][0-9]?) 431 -(? P < day >[0-9][0-9]?) 432 (?:(?:[ Tt ]|[ \ t ]+) 433 (? P < hour >[0-9][0-9]?) 434 :(? P < mu >[0-9][0-9]) 435 :(? P < cd >[0-9][0-9]) 436 (?:\.(? P < ai >[0-9]*))? 437 (?:[ \ t ]*(? P < tz > Z |(?P< tz_sign >[-+])(?P< tz_hour >[0-9][0-9]?) 438 (?::(? P < tz_mu >[0-9][0-9]))?))?)? 439 $ ~ x 440 EOF ; 441 } } @lib/vendor/symfony/lib/yaml/sfYamlParser.php 1 offt = $offt ; 54 public funi $r ( $vue ) 56 $this -> cutLeNb = -1; 57 $this -> cutLe = ''; 58 $this -> les = `exode ("\n", $this-> `nup ( $vue )); 60 i( `funi_exis ('mb__codg'&& (( `i_g ('mbstring.func_overload')) & 2) 62 $mbEncodg = `mb__codg (); 63 `mb__codg ('UTF-8'); 66 $da = `y (); 67  $this -> `moveToNextLe ()) 69 i( $this -> `isCutLeEmy ()) 75 i( `eg_mch ('#^\t+#', $this -> cutLe )) 77 throw w `InvidArgumtExi ( `rtf ('A YAML f cڏabadtiڇl%d (%s).', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 80 $isRef = $isInP = $isProsd = l ; 81 i( `eg_mch ('#^\-(\s+(?P.+?))?\s*$#u', $this -> cutLe , $vues )) 83 i( `ist ( $vues ['vue']&& `eg_mch ('#^&(?P[^ ]+*(?P.*)#u', $vues['vue'], $mches )) 85 $isRef = $mches ['ref']; 86 $vues ['vue'] = $mches ['value']; 90 i(! `ist ( $vues ['vue']|| '' = `im ($vues['vue'], ' '|| 0 == `os ( `rim ($values['value'], ' '), '#')) 92 $c = $this -> `gRlCutLeNb () + 1; 93 $rr = w `sfYamlPr ( $c ); 94 $rr -> fs =& $this ->refs; 95 $da [] = $rr -> `r ( $this -> `gNextEmbedBlock ()); 99 i( `eg_mch ('/^([^ ]+)\: +({.*?)$/u', $vues ['vue'], $mches )) 101 $da [] = `y ( $mches [1] => sfYamlIƚe :: `ld ($matches[2])); 105 $da [] = $this -> `rVue ( $vues ['value']); 109 i( `eg_mch ('#^(?P'. sfYamlIƚe :: REGEX_QUOTED_STRING .'|[^ \{\[].*?*\:(\s+(?P.+?))?\s*$#u', $this -> cutLe , $vues )) 111 $key = sfYamlIƚe :: `rSr ( $vues ['key']); 113 i('<<' == $key ) 115 i( `ist ( $vues ['vue']&& '*' == `subr ($values['value'], 0, 1)) 117 $isInP = `subr ( $vues ['value'], 1); 118 i(! `y_key_exis ( $isInP , $this -> fs )) 120 throw w `InvidArgumtExi ( `rtf ('Ren "%s" d۠nكxil%(%s).', $isInP , $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 125 i( `ist ( $vues ['value']) && $values['value'] !== '') 127 $vue = $vues ['value']; 131 $vue = $this -> `gNextEmbedBlock (); 133 $c = $this -> `gRlCutLeNb () + 1; 134 $rr = w `sfYamlPr ( $c ); 135 $rr -> fs =& $this ->refs; 136 $rd = $rr -> `r ( $vue ); 138 $mged = `y (); 139 i(! `is_y ( $rd )) 141 throw w `InvidArgumtExi ( `rtf ("YAML mgkeyud wh sϸvud oઇayl%(%s)", $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 143 i( `ist ( $rd [0])) 146 `fܗch ( `y_v ( $rd as $rdIm ) 148 i(! `is_y ( $rdIm )) 150 throw w `InvidArgumtExi ( `rtf ("Mgemmu by%(%s).", $this -> `gRlCutLeNb (+ 1, $rdIm )); 152 $mged = `y_mge ( $rdIm , $merged); 158 $mged = `y_mge ($mged, $rd ); 161 $isProsd = $mged ; 164 i( `ist ( $vues ['vue']&& `eg_mch ('#^&(?P[^ ]+*(?P.*)#u', $vues['vue'], $mches )) 166 $isRef = $mches ['ref']; 167 $vues ['vue'] = $mches ['value']; 170 i( $isProsd ) 173 $da = $isProsd ; 176 i(! `ist ( $vues ['vue']|| '' = `im ($vues['vue'], ' '|| 0 == `os ( `rim ($values['value'], ' '), '#')) 179 i( $this -> `isNextLeIndd ()) 181 $da [ $key ] = nu ; 185 $c = $this -> `gRlCutLeNb () + 1; 186 $rr = w `sfYamlPr ( $c ); 187 $rr -> fs =& $this ->refs; 188 $da [ $key ] = $rr -> `r ( $this -> `gNextEmbedBlock ()); 193 i( $isInP ) 195 $da = $this -> fs [ $isInP ]; 199 $da [ $key ] = $this -> `rVue ( $vues ['value']); 206 i(2 = `cou ( $this -> les && `emy ($this->lines[1])) 208 $vue = sfYamlIƚe :: `ld ( $this -> les [0]); 209 i( `is_y ( $vue )) 211 $f = `t ( $vue ); 212 i('*' == `subr ( $f , 0, 1)) 214 $da = `y (); 215 `fܗch ( $vue as $s ) 217 $da [] = $this -> fs [ `subr ( $s , 1)]; 219 $vue = $da ; 223 i( `ist ( $mbEncodg )) 225 `mb__codg ( $mbEncodg ); 228  $vue ; 231  `eg_ϡ_r ()) 233  PREG_INTERNAL_ERROR : 234 $r = 'Internal PCRError onine'; 236  PREG_BACKTRACK_LIMIT_ERROR : 237 $r = 'pcre.backtrack_limiteached onine'; 239  PREG_RECURSION_LIMIT_ERROR : 240 $r = 'pcre.recursion_limiteached onine'; 242  PREG_BAD_UTF8_ERROR : 243 $r = 'Malformed UTF-8 data onine'; 245  PREG_BAD_UTF8_OFFSET_ERROR : 246 $r = 'Offset doesn\'t correspondohe begin of valid UTF-8 codeoint onine'; 249 $r = 'Unableoarseine'; 252 throw w `InvidArgumtExi ( `rtf ('%%d (%s).', $r , $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 255 i( $isRef ) 257 $this -> fs [ $isRef ] = `d ( $da ); 261 i( `ist ( $mbEncodg )) 263 `mb__codg ( $mbEncodg ); 266  `emy ( $da ? nu : $data; 267 } } 274 eed funi $gRlCutLeNb () 276  $this -> cutLeNb + $this-> offt ; 277 } } 284 eed funi $gCutLeIndti () 286  ` ( $this -> cutLe - sn( `rim ($this->currentLine, ' ')); 287 } } 294 eed funi $gNextEmbedBlock () 296 $this -> `moveToNextLe (); 298 $wIndt = $this -> `gCutLeIndti (); 300 i(! $this -> `isCutLeEmy (&& 0 = $wIndt ) 302 throw w `InvidArgumtExi ( `rtf ('Indtiڅrobml%d (%s)', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 305 $da = `y ( `subr ( $this -> cutLe , $wIndt )); 307  $this -> `moveToNextLe ()) 309 i( $this -> `isCutLeEmy ()) 311 i( $this -> `isCutLeBnk ()) 313 $da [] = `subr ( $this -> cutLe , $wIndt ); 319 $dt = $this -> `gCutLeIndti (); 321 i( `eg_mch ('#^(?P *)$#', $this -> cutLe , $mch )) 324 $da [] = $mch ['text']; 326 i( $dt > $wIndt ) 328 $da [] = `subr ( $this -> cutLe , $wIndt ); 330 i(0 = $dt ) 332 $this -> `moveToPviousLe (); 338 throw w `InvidArgumtExi ( `rtf ('Indtiڅrobml%d (%s)', $this -> `gRlCutLeNb (+ 1, $this-> cutLe )); 342  `imode ("\n", $da ); 343 } } 348 eed funi $moveToNextLe () 350 i( $this -> cutLeNb > `cou ($this-> les ) - 1) 352  l ; 355 $this -> cutLe = $this-> les [++$this-> cutLeNb ]; 357  ue ; 358 } } 363 eed funi $moveToPviousLe () 365 $this -> cutLe = $this-> les [--$this-> cutLeNb ]; 366 } } 375 eed funi $rVue ( $vue ) 377 i('*' == `subr ( $vue , 0, 1)) 379 i( l != $pos = `os ( $vue , '#')) 381 $vue = `subr ($vue, 1, $pos - 2); 385 $vue = `subr ($value, 1); 388 i(! `y_key_exis ( $vue , $this -> fs )) 390 throw w `InvidArgumtExi ( `rtf ('Ren "%s" d۠nكxi (%s).', $vue , $this -> cutLe )); 392  $this -> fs [ $vue ]; 395 i( `eg_mch ('/^(?P\||>)(?P\+|\-|\d+|\+\d+|\-\d+|\d+\+|\d+\-)?(?P +#.*)?$/', $vue , $mches )) 397 $modifrs = `ist ( $mches ['modifiers']) ? $matches['modifiers'] : ''; 399  $this -> `rFdedSr ( $mches ['t'], `eg_a ('#\d+#', '', $modifrs ), `tv ( `abs ($modifiers))); 403  sfYamlIƚe :: `ld ( $vue ); 405 } } 416 eed funi rFdedSr ( $t , $dit = '', $dti = 0) 418 $t = '|' == $separator ? "\n" : ' '; 419 g$xt = ''; 421 g$nEOF = $this -> moveToNextLe (); 423  g$nEOF && g$this -> isCutLeBnk ()) 425 g$xt .= "\n"; 427 g$nEOF = $this -> moveToNextLe (); 430 i(! g$nEOF ) 435 i(! eg_mch ('#^(?P
    '.( $dti ? r_ (' ', $dti: ' +').')(?P.*)$#u', $this -> cutLe , $mches )) 437 g$this -> moveToPviousLe (); 442 g$xtIndt = $mches ['indent']; 443 g$eviousIndt = 0; 445 g$xt . $mches ['xt']. $t ; 446  g$this -> gcutLeNb + 1 < cou ( $this -> les )) 448 g$this -> moveToNextLe (); 450 i( eg_mch ('#^(?P
    {'. ( $xtIndt ).',})(?P.+)$#u', $this -> cutLe , $mches )) 452 i(' ' = $t && $eviousIndt ! $mches ['indent']) 454 $xt = subr ($text, 0, -1)."\n"; 456 g$eviousIndt = $mches ['indent']; 458 g$xt . r_ (' ', $diff = ( $mches ['dt']- sn( $xtIndt )).$mches['xt'].($dif? "\n" : $t ); 460 i( eg_mch ('#^(?P *)$#', $this -> cutLe , $mches )) 462 g$xt . eg_a ('#^ {1,'. ( $xtIndt ).'}#', '', $mches ['text'])."\n"; 466 g$this -> moveToPviousLe (); 472 i(' ' = $t ) 475 $xt = eg_a ('/ (\n*)$/', "\n$1", $text); 478  g$dit ) 481 $xt = eg_a ('#\n+$#s', "\n", $text); 486 $xt = eg_a ('#\n+$#s', '', $text); 490  g$xt ; 498 eed funi $isNextLeIndd () 500 $cutIndti = $this -> `gCutLeIndti (); 501 $nEOF = $this -> `moveToNextLe (); 503  $nEOF && $this -> `isCutLeEmy ()) 505 $nEOF = $this -> `moveToNextLe (); 508 i( l == $nEOF ) 510  l ; 513 $t = l ; 514 i( $this -> `gCutLeIndti (< $cutIndti ) 516 $t = ue ; 519 $this -> `moveToPviousLe (); 521  $t ; 522 } } 529 eed funi $isCutLeEmy () 531  $this -> `isCutLeBnk (|| $this-> `isCutLeCommt (); 532 } } 539 eed funi $isCutLeBnk () 541  '' = `im ( $this -> cutLe , ' '); 542 } } 549 eed funi $isCutLeCommt () 552 $rimmedLe = `rim ( $this -> cutLe , ' '); 553  $rimmedLe [0] === '#'; 554 } } 563 eed funi $nup ( $vue ) 565 $vue = `r_a ( `y ("\r\n", "\r"), "\n", $value); 567 i(! `eg_mch ("#\n$#", $vue )) 569 $vue .= "\n"; 573 $cou = 0; 574 $vue = `eg_a ('#^\%YAML[: ][\d\.]+.*\n#su', '', $vue, -1, $cou ); 575 $this -> offt + $cou ; 578 $immedVue = `eg_a ('#^(\#.*?\n)+#s', '', $vue , -1, $cou ); 579 i( $cou == 1) 582 $this -> offt + `subr_cou ( $vue , "\n"- subr_cou( $immedVue , "\n"); 583 $vue = $immedVue ; 587 $immedVue = `eg_a ('#^\-\-\-.*?\n#s', '', $vue , -1, $cou ); 588 i( $cou == 1) 591 $this -> offt + `subr_cou ( $vue , "\n"- subr_cou( $immedVue , "\n"); 592 $vue = $immedVue ; 595 $vue = `eg_a ('#\.\.\.\s*$#s', '', $value); 598  $vue ; 599 } } @lib/vendor/symfony/test/bin/coverage.php 1 gba_d = th ( dme ( __FILE__ ).'/..'); 18 g$h -> gi_glob ( $h -> ba_d .'/unit/*/*Test.php'); 19 g$h -> gi_glob ( $h -> ba_d .'/unit/*/*/*Test.php'); 20 g$h -> gi_glob ( $h -> ba_d .'/../lib/plugins/*/unit/*Test.php'); 21 g$h -> gi_glob ( $h -> ba_d .'/../lib/plugins/*/unit/*/*Test.php'); 24 g$h -> gi_glob ( $h -> ba_d .'/functional/*Test.php'); 25 g$h -> gi_glob ( $h -> ba_d .'/functional/*/*Test.php'); 26 g$h -> gi_glob ( $h -> ba_d .'/../lib/plugins/*/functional/*Test.php'); 28 g$c = w lime_covage ( $h ); 29 g$c -> gexnsi = '.class.php'; 30 g$c -> gvbo = l ; 31 g$c -> gba_d = th ( dme ( __FILE__ ).'/../../lib'); 33 g$fd = sfFd :: ty ('fe')-> me ('*.php')-> u ('vendor')->prune('test')->prune('data'); 34 g$c ->( g$fd -> ( $c -> ba_d )); 35 g$c -> run (); @lib/vendor/symfony/test/bin/loc.php 1 me ('*.php')-> u ('vd', 'ugs')-> ( $ro_d .'/lib'); 16 $fܗch ( $fes as $fe ) 18 $tٮ_loc + `cou ( lime_covage :: `g_php_les ( $fe )); 19 } } 20 g$fes = sfFd :: ty ('fe')-> me ('*.php')-> u ('vd')-> ( $ro_d .'/lib/plugins/*/lib'); 21 $fܗch ( $fes as $fe ) 23 $tٮ_loc + `cou ( lime_covage :: `g_php_les ( $fe )); 24 } } 27 g$tٮ_s_loc = 0; 28 g$fes = sfFd :: ty ('fe')-> me ('*Te.php')-> ( y ( 29 $ro_d .'/lib/plugins/sfPropelPlugin/test/unit', 30 $ro_d .'/lib/plugins/sfPropelPlugin/test/functional', 31 $ro_d .'/lib/plugins/sfDoctrinePlugin/test/unit', 32 $ro_d .'/lib/plugins/sfDoctrinePlugin/test/functional', 33 $ro_d .'/test/unit', 34 $ro_d .'/test/functional', 35 $ro_d .'/test/other', 37 $fܗch ( $fes as $fe ) 39 $tٮ_s_loc + `cou ( lime_covage :: `g_php_les ( $fe )); 40 } } 42 tf ("cܐlibs: %6d\n", $tٮ_loc ); 43 tf ("unnd funiڮes: %6d\n", $tٮ_s_loc ); 44 gecho "---------------------------------\n"; 45 tf ("ti؋s/libs: %5d%%\n", $tٮ_s_loc / $tٮ_loc * 100); @lib/vendor/symfony/test/bootstrap/functional.php 1 sfCfig :: g ('sf_symfony_lib_dir'), @lib/vendor/symfony/test/bootstrap/unit.php 1 22 `g ('/auth/basic')-> 23 `wh ('que')-> `beg ()-> 24 `isPam ('module', 'auth')-> 25 `isPam ('action', 'basic')-> 26 `d ()-> 27 `wh ('ڣ')-> `beg ()-> 28 `isStusCode (401)-> 29 `checkEmt ('#user', '')-> 30 `checkEmt ('#password', '')-> 31 `checkEmt ('#msg', 'KO')-> 32 `d () 36 public funi $checkAuth () 38  $this -> 39 `g ('/auth/basic')-> 40 `wh ('que')-> `beg ()-> 41 `isPam ('module', 'auth')-> 42 `isPam ('action', 'basic')-> 43 `d ()-> 44 `wh ('ڣ')-> `beg ()-> 45 `isStusCode (200)-> 46 `checkEmt ('#user', 'foo')-> 47 `checkEmt ('#password', 'bar')-> 48 `checkEmt ('#msg', 'OK')-> 49 `d () 51 } } 54 g$b = w sfAuthTeBrowr (); 57 g$b -> 58 checkNAuth ()-> 60 tAuth ('foo', 'bar')-> 62 checkAuth ()-> 64 t ()-> 66 checkNAuth () @lib/vendor/symfony/test/functional/autoloadTest.php 1 20 g ('/autoload/myAutoload')-> 21 wh ('que')-> beg ()-> 22 isPam ('module', 'autoload')-> 23 isPam ('action', 'myAutoload')-> 24 d ()-> 25 wh ('ڣ')-> beg ()-> 26 isStusCode (200)-> 27 checkEmt ('body div', 'foo')-> 28 d () 31 g$t = $b -> (); 33 g$autd = sfAutd :: gIn (); 34 g$t -> ok (@ fe_g_cڋs ( $autd -> gCssPh ('srݖ'), FILE_USE_INCLUDE_PATH ), '"sfAutoload" is case insensitive'); 36 g$t -> ok ( ass_exis ('BaseExtendMe'), 'pluginib directoryddedoutoload'); 37 g$r = w ReeiCss ('ExtendMe'); 38 g$t -> like ( r_a ( DIRECTORY_SEPARATOR , '/', $r -> gFame ()), '~fixtures/lib/ExtendMe~', 'plugin class can beeplaced byroject'); 39 g$t -> ok ( ass_exis ('NotInLib'), 'pluginutoload sets classaths'); 40 g$t -> ok (! ass_exis ('ExcludedFromAutoload'), 'pluginutoloadxcludes directories'); @lib/vendor/symfony/test/functional/cacheTest.php 1 ` ()-> `ok ($this-> `gReڣ ()-> `gCڋ (= $cڋ , $mesge ); 23  $this ; 26 funi $gMuiAi ( $m = nu ) 28  $this -> 29 `g ('/che/mui'.( nu != $m ? '/param/'.$parameter : ''))-> 30 `wh ('que')-> `beg ()-> 31 `isPam ('module', 'cache')-> 32 `isPam ('action', 'multi')-> 33 `d ()-> 35 `wh ('ڣ')-> `beg ()-> 36 `isStusCode (200)-> 39 `checkEmt ('#partial .partial')-> 42 `checkEmt ('#contextualPartial .contextualPartial')-> 43 `checkEmt ('#cڋxtuCachbPt.cڋxtuCachbPtl__'. $m , 'Param: '.$parameter)-> 44 `checkEmt ('#cڋxtuCachbPtlVPam .cڋxtuCachbPtl_vPam_'. $m , 'Param: '.$parameter)-> 47 `checkEmt ('#compڒ.compڒt__compڒtPam_'. $m )-> 48 `checkEmt ('#compڒtVPam .compڒt_vPam_compڒtPam_'. $m )-> 51 `checkEmt ('#cڋxtuCompڒ.cڋxtuCompڒt__compڒtPam_'. $m )-> 52 `checkEmt ('#cڋxtuCompڒtVPam .cڋxtuCompڒt_vPam_compڒtPam_'. $m )-> 53 `checkEmt ('#cڋxtuCachbCompڒ.cڋxtuCachbCompڒt__compڒtPam_'. $m , 'Param: '.$parameter)-> 54 `checkEmt ('#cڋxtuCachbCompڒtVPam .cڋxtuCachbCompڒt_vPam_compڒtPam_'. $m , 'Param: '.$parameter)-> 55 `d ()-> 57 `wh ('vw_che')-> `beg ()-> 58 `isCached ( l )-> 61 `isUriCached ('@sf_che_l?modu=che&ai=_l&sf_che_key='. `md5 ( `rlize ( `y ())), l )-> 62 `isUriCached ('@sf_che_l?modu=che&ai=_l&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), l )-> 64 `isUriCached ('@sf_che_l?modu=che&ai=_chbPtl&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 65 `isUriCached ('@sf_che_l?modu=che&ai=_chbPtl&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), ue )-> 67 `isUriCached ('@sf_che_l?modu=che&ai=_chbPtl&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'h'))), l )-> 70 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuPtl&sf_che_key='. `md5 ( `rlize ( `y ())), l )-> 71 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuPtl&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), l )-> 73 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbPtl&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 74 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbPtl&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), ue )-> 76 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbPtl&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'h'))), l )-> 79 `isUriCached ('@sf_che_l?modu=che&ai=_compڒt&sf_che_key='. `md5 ( `rlize ( `y ())), l )-> 80 `isUriCached ('@sf_che_l?modu=che&ai=_compڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), l )-> 82 `isUriCached ('@sf_che_l?modu=che&ai=_chbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 83 `isUriCached ('@sf_che_l?modu=che&ai=_chbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), ue )-> 85 `isUriCached ('@sf_che_l?modu=che&ai=_chbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'h'))), l )-> 88 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), l )-> 89 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCompڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), l )-> 91 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 92 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'vPam'))), ue )-> 94 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ('vPam' => 'h'))), l )-> 95 `d () 97 } } 99 public funi $unch () 101 $b = $this ; 104 $b -> 105 `g ('/')-> 106 `wh ('que')-> `beg ()-> 107 `isPam ('module', 'default')-> 108 `isPam ('action', 'index')-> 109 `d ()-> 111 `wh ('ڣ')-> `beg ()-> 112 `isStusCode (200)-> 113 `checkEmt ('body', '/congratulations/i')-> 114 `d ()-> 116 `wh ('vw_che')-> `isCached ( ue ) 119 $b -> 120 `g ('/nocache')-> 121 `wh ('que')-> `beg ()-> 122 `isPam ('module', 'nocache')-> 123 `isPam ('action', 'index')-> 124 `d ()-> 125 `wh ('ڣ')-> `beg ()-> 126 `isStusCode (200)-> 127 `checkEmt ('body', '/nocache/i')-> 128 `d ()-> 129 `wh ('vw_che')-> `isCached ( l ) 132 $b -> 133 `g ('/cache/page')-> 134 `wh ('que')-> `beg ()-> 135 `isPam ('module', 'cache')-> 136 `isPam ('action', 'page')-> 137 `d ()-> 138 `wh ('ڣ')-> `beg ()-> 139 `isStusCode (200)-> 140 `checkEmt ('body', '/page in cache/')-> 141 `d ()-> 142 `wh ('vw_che')-> `isCached ( ue ,rue) 145 $b -> 146 `g ('/cache/forward')-> 147 `wh ('que')-> `beg ()-> 148 `isPam ('module', 'cache')-> 149 `isPam ('action', 'forward')-> 150 `d ()-> 151 `wh ('ڣ')-> `beg ()-> 152 `isStusCode (200)-> 153 `checkEmt ('body', '/page in cache/')-> 154 `d ()-> 155 `wh ('vw_che')-> `isCached ( ue ) 159 sfTok :: `rDey ( sfCfig :: `g ('sf_app_cache_dir')); 161 $b -> 162 `gMuiAi ()-> 164 `gMuiAi ('requestParam')-> 167 `wh ('ڣ')-> `beg ()-> 168 `checkEmt ('#cacheableComponent .cacheableComponent__componentParam_')-> 169 `checkEmt ('#cacheableComponentVarParam .cacheableComponent_varParam_componentParam_')-> 170 `checkEmt ('#cacheablePartial .cacheablePartial__')-> 171 `checkEmt ('#cacheablePartialVarParam .cacheablePartial_varParam_')-> 172 `d () 176 sfTok :: `rDey ( sfCfig :: `g ('sf_app_cache_dir')); 178 $b -> 179 `gMuiAi ('requestParam')-> 181 `wh ('ڣ')-> `beg ()-> 182 `checkEmt ('#cacheableComponent .cacheableComponent__componentParam_requestParam')-> 183 `checkEmt ('#cacheableComponentVarParam .cacheableComponent_varParam_componentParam_requestParam')-> 184 `checkEmt ('#cacheablePartial .cacheablePartial__requestParam')-> 185 `checkEmt ('#cacheablePartialVarParam .cacheablePartial_varParam_requestParam')-> 186 `d ()-> 188 `gMuiAi ()-> 190 `wh ('ڣ')-> `beg ()-> 191 `checkEmt ('#cacheableComponent .cacheableComponent__componentParam_requestParam')-> 192 `checkEmt ('#cacheableComponentVarParam .cacheableComponent_varParam_componentParam_requestParam')-> 193 `checkEmt ('#cacheablePartial .cacheablePartial__requestParam')-> 194 `checkEmt ('#cacheablePartialVarParam .cacheablePartial_varParam_requestParam')-> 195 `d ()-> 197 `gMuiAi ('anotherRequestParam')-> 199 `wh ('ڣ')-> `beg ()-> 200 `checkEmt ('#cacheableComponent .cacheableComponent__componentParam_requestParam')-> 201 `checkEmt ('#cacheableComponentVarParam .cacheableComponent_varParam_componentParam_requestParam')-> 202 `checkEmt ('#cacheablePartial .cacheablePartial__requestParam')-> 203 `checkEmt ('#cacheablePartialVarParam .cacheablePartial_varParam_requestParam')-> 204 `d () 208 $b -> 209 `g ('/cache/multiBis')-> 210 `wh ('que')-> `beg ()-> 211 `isPam ('module', 'cache')-> 212 `isPam ('action', 'multiBis')-> 213 `d ()-> 215 `wh ('ڣ')-> `beg ()-> 216 `isStusCode (200)-> 219 `checkEmt ('#cacheablePartial .cacheablePartial__requestParam')-> 222 `checkEmt ('#contextualCacheablePartial .contextualCacheablePartial__')-> 225 `checkEmt ('#cacheableComponent .cacheableComponent__componentParam_requestParam')-> 228 `checkEmt ('#contextualCacheableComponent .contextualCacheableComponent__componentParam_')-> 229 `d ()-> 231 `wh ('vw_che')-> `beg ()-> 232 `isCached ( l )-> 234 `isUriCached ('@sf_che_l?modu=che&ai=_chbPtl&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 237 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 240 `isUriCached ('@sf_che_l?modu=che&ai=_chbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 243 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key='. `md5 ( `rlize ( `y ())), ue )-> 244 `d () 248 sfTok :: `rDey ( sfCfig :: `g ('sf_app_cache_dir')); 251 $b -> 252 `g ('/cache/specificCacheKey')-> 253 `wh ('que')-> `beg ()-> 254 `isPam ('module', 'cache')-> 255 `isPam ('action', 'specificCacheKey')-> 256 `d ()-> 258 `wh ('ڣ')-> `isStusCode (200)-> 259 `wh ('vw_che')-> `beg (200)-> 260 `isCached ( l )-> 263 `isUriCached ('@sf_che_l?modu=che&ai=_chbPtl&sf_che_key=chbPtl', ue )-> 266 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key=cڋxtuCachbCompڒt', ue )-> 269 `isUriCached ('@sf_che_l?modu=che&ai=_chbCompڒt&sf_che_key=chbCompڒt', ue )-> 272 `isUriCached ('@sf_che_l?modu=che&ai=_cڋxtuCachbCompڒt&sf_che_key=cڋxtuCachbCompڒt', ue )-> 273 `d () 279 sfTok :: `rDey ( sfCfig :: `g ('sf_app_cache_dir')); 281 $b -> 282 `g ('/cache/action')-> 283 `wh ('que')-> `beg ()-> 284 `isPam ('module', 'cache')-> 285 `isPam ('action', 'action')-> 286 `d ()-> 287 `wh ('ڣ')-> `isStusCode (200)-> 288 `wh ('vw_che')-> `isCached ( ue ) 291 $b -> ` ()-> `is ( sfCfig :: `g ('ACTION_EXECUTED', l ), ue , 'action isxecuted whenot in cache'); 292 sfCfig :: `t ('ACTION_EXECUTED', l ); 294 $ڣ = $b -> `gReڣ (); 295 $cڋ1 = $ڣ -> `gCڋ (); 296 $cڋTy1 = $ڣ -> `gCڋTy (); 297 $hds1 = $ڣ -> `gHpHds (); 299 $b -> 300 `g ('/cache/action')-> 301 `wh ('que')-> `beg ()-> 302 `isPam ('module', 'cache')-> 303 `isPam ('action', 'action')-> 304 `d ()-> 305 `wh ('ڣ')-> `isStusCode (200)-> 306 `wh ('vw_che')-> `isCached ( ue ) 309 $b -> ` ()-> `is ( sfCfig :: `g ('ACTION_EXECUTED', l ), false, 'action isotxecuted when in cache'); 311 $ڣ = $b -> `gReڣ (); 312 $cڋ2 = $ڣ -> `gCڋ (); 313 $cڋTy2 = $ڣ -> `gCڋTy (); 314 $hds2 = $ڣ -> `gHpHds (); 316 $b -> ` ()-> `is ( $cڋ1 , $cڋ2 , 'response content ishe same'); 317 $b -> ` ()-> `is ( $cڋTy1 , $cڋTy2 , 'response contentype ishe same'); 318 $b -> ` ()-> `is ( $hds1 , $hds2 , 'response http headersrehe same'); 319 } } 322 g$b = w myTeBrowr (); 325 g$image = fe_g_cڋs ( dme ( __FILE__ ).'/fixtures/apps/cache/modules/cache/data/ok48.png'); 326 gsfCfig :: t ('sf_web_debug', ue ); 327 g$b -> 328 g ('/cache/imageWithLayoutCacheWithLayout')-> 329 wh ('vw_che')-> isCached ( ue ,rue)-> 330 checkReڣCڋ ( $image , 'image (withayout/page cache) in cache isot decorated when web_debug is on')-> 331 g ('/cache/imageWithLayoutCacheWithLayout')-> 332 wh ('vw_che')-> isCached ( ue ,rue)-> 333 checkReڣCڋ ( $image , 'image (withayout/page cache) in cache isot decorated when web_debug is on')-> 334 g ('/cache/imageWithLayoutCacheNoLayout')-> 335 wh ('vw_che')-> isCached ( ue )-> 336 checkReڣCڋ ( $image , 'image (withayout/action cache) in cache isot decorated when web_debug is on')-> 337 g ('/cache/imageWithLayoutCacheNoLayout')-> 338 wh ('vw_che')-> isCached ( ue )-> 339 checkReڣCڋ ( $image , 'image (withayout/action cache) in cache isot decorated when web_debug is on')-> 340 g ('/cache/imageNoLayoutCacheWithLayout')-> 341 wh ('vw_che')-> isCached ( ue ,rue)-> 342 checkReڣCڋ ( $image , 'image (noayout/page cache) in cache isot decorated when web_debug is on')-> 343 g ('/cache/imageNoLayoutCacheWithLayout')-> 344 wh ('vw_che')-> isCached ( ue ,rue)-> 345 checkReڣCڋ ( $image , 'image (noayout/page cache) in cache isot decorated when web_debug is on')-> 346 g ('/cache/imageNoLayoutCacheNoLayout')-> 347 wh ('vw_che')-> isCached ( ue )-> 348 checkReڣCڋ ( $image , 'image (noayout/action cache) in cache isot decorated when web_debug is on')-> 349 g ('/cache/imageNoLayoutCacheNoLayout')-> 350 wh ('vw_che')-> isCached ( ue )-> 351 checkReڣCڋ ( $image , 'image (noayout/action cache) in cache isot decorated when web_debug is on') 353 gsfCfig :: t ('sf_web_debug', l ); 356 gsfTok :: rDey ( sfCfig :: g ('sf_app_cache_dir')); 357 g$b -> 358 g ('/cache/multiBis')-> 359 wh ('que')-> beg ()-> 360 isPam ('module', 'cache')-> 361 isPam ('action', 'multiBis')-> 362 d ()-> 364 wh ('ڣ')-> beg ()-> 365 isStusCode (200)-> 368 checkEmt ('link[href*="/main_css"]')-> 369 checkEmt ('script[src*="/main_js"]')-> 370 checkEmt ('link[href*="/partial_css"]')-> 371 checkEmt ('script[src*="/partial_js"]')-> 372 checkEmt ('link[href*="/another_partial_css"]')-> 373 checkEmt ('script[src*="/another_partial_js"]')-> 374 checkEmt ('link[href*="/component_css"]')-> 375 checkEmt ('script[src*="/component_js"]')-> 377 checkEmt ('#partial_slot_content', 'Partial')-> 378 checkEmt ('#another_partial_slot_content', 'Another Partial')-> 379 checkEmt ('#component_slot_content', 'Component')-> 380 d ()-> 382 g ('/cache/multiBis')-> 383 wh ('ڣ')-> beg ()-> 386 checkEmt ('link[href*="/main_css"]')-> 387 checkEmt ('script[src*="/main_js"]')-> 388 checkEmt ('link[href*="/partial_css"]')-> 389 checkEmt ('script[src*="/partial_js"]')-> 390 checkEmt ('link[href*="/another_partial_css"]')-> 391 checkEmt ('script[src*="/another_partial_js"]')-> 392 checkEmt ('link[href*="/component_css"]')-> 393 checkEmt ('script[src*="/component_js"]')-> 395 checkEmt ('#partial_slot_content', 'Partial')-> 396 checkEmt ('#another_partial_slot_content', 'Another Partial')-> 397 checkEmt ('#component_slot_content', 'Component')-> 398 d () 401 g$b -> 402 g ('/cache/partial')-> 403 wh ('que')-> beg ()-> 404 isPam ('module', 'cache')-> 405 isPam ('action', 'partial')-> 406 d ()-> 408 wh ('ڣ')-> beg ()-> 409 isStusCode (200)-> 412 checkEmt ('lk[hf*="/ma_css"]', l )-> 413 checkEmt ('st[c*="/ma_js"]', l )-> 414 checkEmt ('link[href*="/partial_css"]')-> 415 checkEmt ('script[src*="/partial_js"]')-> 416 checkEmt ('link[href*="/another_partial_css"]')-> 417 checkEmt ('script[src*="/another_partial_js"]')-> 418 checkEmt ('lk[hf*="/compڒt_css"]', l )-> 419 checkEmt ('st[c*="/compڒt_js"]', l )-> 421 checkEmt ('#partial_slot_content', 'Partial')-> 422 checkEmt ('#another_partial_slot_content', 'Another Partial')-> 423 checkEmt ('#component_slot_content', '')-> 424 d ()-> 426 g ('/cache/anotherPartial')-> 427 wh ('que')-> beg ()-> 428 isPam ('module', 'cache')-> 429 isPam ('action', 'anotherPartial')-> 430 d ()-> 432 wh ('ڣ')-> beg ()-> 433 isStusCode (200)-> 436 checkEmt ('lk[hf*="/ma_css"]', l )-> 437 checkEmt ('st[c*="/ma_js"]', l )-> 438 checkEmt ('lk[hf*="/l_css"]', l )-> 439 checkEmt ('st[c*="/l_js"]', l )-> 440 checkEmt ('link[href*="/another_partial_css"]')-> 441 checkEmt ('script[src*="/another_partial_js"]')-> 442 checkEmt ('lk[hf*="/compڒt_css"]', l )-> 443 checkEmt ('st[c*="/compڒt_js"]', l )-> 445 checkEmt ('#partial_slot_content', '')-> 446 checkEmt ('#another_partial_slot_content', 'Another Partial')-> 447 checkEmt ('#component_slot_content', '')-> 448 d ()-> 450 g ('/cache/component')-> 451 wh ('que')-> beg ()-> 452 isPam ('module', 'cache')-> 453 isPam ('action', 'component')-> 454 d ()-> 456 wh ('ڣ')-> beg ()-> 457 isStusCode (200)-> 460 checkEmt ('lk[hf*="/ma_css"]', l )-> 461 checkEmt ('st[c*="/ma_js"]', l )-> 462 checkEmt ('lk[hf*="/l_css"]', l )-> 463 checkEmt ('st[c*="/l_js"]', l )-> 464 checkEmt ('lk[hf*="/h_l_css"]', l )-> 465 checkEmt ('st[c*="/h_l_js"]', l )-> 466 checkEmt ('link[href*="/component_css"]')-> 467 checkEmt ('script[src*="/component_js"]')-> 469 checkEmt ('#partial_slot_content', '')-> 470 checkEmt ('#another_partial_slot_content', '')-> 471 checkEmt ('#component_slot_content', 'Component')-> 472 d () 475 g$b -> g ('/') 476 -> wh ('vw_che')-> isUriCached ('che/li', l ) 477 -> g ('/cache/list') 478 -> wh ('vw_che')-> isUriCached ('che/li', ue ) 481 -> wh ('vw_che')-> isUriCached ('che/li?ge=10', l ) 482 -> g ('/cache/list?page=10') 483 -> wh ('ڣ')-> checkEmt ('#page', '10') 484 -> wh ('vw_che')-> isUriCached ('che/li?ge=10', ue ) 487 -> wh ('vw_che')-> isUriCached ('che/li?ge=20', l ) 488 -> g ('/cache/list?page=20') 489 -> wh ('ڣ')-> checkEmt ('#page', '20') 490 -> wh ('vw_che')-> isUriCached ('che/li?ge=20', ue ) 494 gsfCfig :: t ('LAST_MODIFIED', ime ('2010-01-01')); 495 g$b -> g ('/cache/lastModifiedResponse') 496 -> wh ('ڣ')-> isStusCode (200) 499 g$b -> tHpHd ('If-Modifd-S', sfWebReڣ :: gDe ( sfCfig :: g ('LAST_MODIFIED'))) 500 -> g ('/cache/lastModifiedResponse') 501 -> wh ('ڣ')-> isStusCode (304) 505 g$b -> unch (); 508 i( exnsi_lded ('SQLite') ||xtension_loaded('pdo_SQLite')) 510 gsfCfig :: t ('sf_factory_view_cache', 'sfSQLiteCache'); 511 gsfCfig :: t ('sf_y_vw_che_ms', y ('daba' => sfCfig :: g ('sf_me_che_d'). DIRECTORY_SEPARATOR .'cache.db')); 512 g$b -> unch (); @lib/vendor/symfony/test/functional/escapingTest.php 1 g ('/escaping/on') 21 -> wh ('que')-> beg () 22 -> isPam ('module', 'escaping') 23 -> isPam ('action', 'on') 24 -> d () 26 -> wh ('ڣ')-> beg () 27 -> isStusCode (200) 28 -> mches ('#

    Lorem <strong>ipsum</strong> dolor sitmet.

    #') 29 -> mches ('#

    Lorem <strong>ipsum</strong> dolor sitmet.

    #') 30 -> mches ('#

    Lorem <strong>ipsum</strong> dolor sitmet.

    #') 31 -> mches ('#

    Lorem ipsum dolor sitmet.

    #') 32 -> mches ('#
    Lorem <strong>ipsum</strong> dolor sitmet.
    #') 33 -> mches ('#
    Lorem ipsum dolor sitmet.
    #') 34 -> checkEmt ('span.no', 2) 35 -> d () 38 g$b -> g ('/escaping/off') 40 -> wh ('que')-> beg () 41 -> isPam ('module', 'escaping') 42 -> isPam ('action', 'off') 43 -> d () 45 -> wh ('ڣ')-> beg () 46 -> isStusCode (200) 47 -> mches ('#

    Lorem ipsum dolor sitmet.

    #') 48 -> mches ('#

    Lorem ipsum dolor sitmet.

    #') 49 -> d () @lib/vendor/symfony/test/functional/filterTest.php 1 21 g ('/filter')-> 22 wh ('que')-> beg ()-> 23 isPam ('module', 'filter')-> 24 isPam ('action', 'index')-> 25 d ()-> 26 wh ('ڣ')-> beg ()-> 27 isStusCode (200)-> 28 checkEmt ('div[class="before"]', 1)-> 29 checkEmt ('div[class="after"]', 1)-> 30 d () 34 g$b -> 35 g ('/filter/indexWithForward')-> 36 wh ('que')-> beg ()-> 37 isPam ('module', 'filter')-> 38 isPam ('action', 'indexWithForward')-> 39 d ()-> 40 wh ('ڣ')-> beg ()-> 41 isStusCode (200)-> 42 checkEmt ('div[class="before"]', 2)-> 43 checkEmt ('div[class="after"]', 1)-> 44 d () @lib/vendor/symfony/test/functional/fixtures/apps/cache/config/cacheConfiguration.class.php 1 ge = $que -> `gPam ('page', 1); 24 } } 26 public funi $execuFwd () 28 $this -> `fwd ('cache', 'page'); 29 } } 31 public funi $execuMui () 33 $this -> `gReڣ ()-> `tT ('Pam: '.$this-> `gRequePam ('param')); 34 } } 36 public funi $execuMuiBis () 38 } } 40 public funi $execuPtl () 42 } } 44 public funi $execuAnhPtl () 46 } } 48 public funi $execuCompڒt () 50 } } 52 public funi $execuScificCacheKey () 54 } } 56 public funi $execuAi () 58 $ڣ = $this -> `gReڣ (); 59 $ڣ -> `tHpHd ('symfony', 'foo'); 60 $ڣ -> `tCڋTy ('text/plain'); 61 $ڣ -> `tT ('Myitle'); 62 $ڣ -> `addMa ('meta1', 'bar'); 63 $ڣ -> `addHpMa ('httpmeta1', 'foobar'); 65 sfCfig :: `t ('ACTION_EXECUTED', ue ); 66 } } 68 public funi $execuImageWhLayoutCacheWhLayout () 70 $this -> `eImage (); 71 $this -> `tLayout ('image'); 72 } } 74 public funi $execuImageWhLayoutCacheNoLayout () 76 $this -> `eImage (); 77 $this -> `tLayout ('image'); 78 } } 80 public funi $execuImageNoLayoutCacheWhLayout () 82 $this -> `eImage (); 83 $this -> `tLayout ( l ); 84 } } 86 public funi $execuImageNoLayoutCacheNoLayout () 88 $this -> `eImage (); 89 $this -> `tLayout ( l ); 90 } } 92 eed funi $eImage () 94 $this -> `gReڣ ()-> `tCڋTy ('image/png'); 95 $this -> image = `fe_g_cڋs ( `dme ( __FILE__ ).'/../data/ok48.png'); 96 $this -> `tTeme ('image'); 97 } } 99 public funi $execuLaModifdReڣ () 101 $this -> `gReڣ ()-> `tHpHd ('La-Modifd', $this->gReڣ()-> `gDe ( sfCfig :: `g ('LAST_MODIFIED'))); 102 $this -> `tTeme ('action'); 103 } } @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/actions/components.class.php 1 compڒtPam = 'componentParam'; 16 $this -> quePam = $this-> `gRequePam ('param'); 19 public funi $execuCachbCompڒt () 21 $this -> compڒtPam = 'componentParam'; 22 $this -> quePam = $this-> `gRequePam ('param'); 23 } } 25 public funi $execuCڋxtuCompڒt () 27 $this -> compڒtPam = 'componentParam'; 28 $this -> quePam = $this-> `gRequePam ('param'); 29 } } 31 public funi $execuCڋxtuCachbCompڒt () 33 $this -> compڒtPam = 'componentParam'; 34 $this -> quePam = $this-> `gRequePam ('param'); 35 } } @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_anotherCacheablePartial.php 1 2 4 < div gass ="chbPtl__g('m'?>"> OK 5 6 8 < div ass ="chbPtl__g('m'?>"> OK 10 Anh Ptl @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_cacheableComponent.php 1 2 4 < div gass ="chbCompڒt___"> OK 6 Compڒt @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_cacheablePartial.php 1 2 4 < div gass ="chbPtl__g('m'?>"> OK 6 < div id ="hCachbPtl"> 8 Ptl @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_component.php 1 < div gass ="compڒt___"> OK @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_contextualCacheableComponent.php 1 < div gass ="cڋxtuCachbCompڒt___"> gT () ?> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_contextualCacheablePartial.php 1 < div gass ="cڋxtuCachbPtl__g('m'?>"> gT () ?> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_contextualComponent.php 1 < div gass ="cڋxtuCompڒt___"> OK @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_contextualPartial.php 1 < div gass ="cڋxtuPtl"> OK @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/_partial.php 1 < div gass ="l"> OK @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/actionSuccess.php 1 Ai che HTML content @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/anotherPartialSuccess.php 1 < div gid ="hCachbPtl"> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/componentSuccess.php 1 < div gid ="chbCompڒt"> 2 < div gid ="chbCompڒt"> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/imageSuccess.php 1 @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/indexSuccess.php 1 < gh1 > Modu gche 3 < gp > gCgtutis !

    @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/listSuccess.php 1 < gid ="ge"> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/multiBisSuccess.php 1 2 4 < div gid ="chbPtl"> 6 < div id ="cڋxtuCachbPtl"> 8 < div id ="chbCompڒt"> 10 < div gid ="cڋxtuCachbCompڒt"> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/multiSuccess.php 1 < div gid ="l"> 3 < div id ="chbPtl"> 5 < div id ="chbPtlVPam"> 'varParam')) ?> 8 < div id ="cڋxtuPtl"> 10 < div id ="cڋxtuCachbPtl"> 12 < div id ="cڋxtuCachbPtlVPam"> 'varParam')) ?> 15 < div id ="compڒt"> 17 < div gid ="compڒtVPam"> 'varParam')) ?> 19 < div id ="chbCompڒt"> 21 < div gid ="chbCompڒtVPam"> 'varParam')) ?> 24 < div id ="cڋxtuCompڒt"> 26 < div gid ="cڋxtuCompڒtVPam"> 'varParam')) ?> 28 < div id ="cڋxtuCachbCompڒt"> 30 < div gid ="cڋxtuCachbCompڒtVPam"> 'varParam')) ?> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/pageSuccess.php 1 ge cache @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/partialSuccess.php 1 < div gid ="chbPtl"> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/cache/templates/specificCacheKeySuccess.php 1 < div gid ="chbPtlVPam"> 'varParam', 'sf_cache_key' => 'cacheablePartial')) ?> 2 < div id ="cڋxtuCachbPtlVPam"> 'varParam', 'sf_cache_key' => 'contextualCacheablePartial')) ?> 4 < div id ="chbCompڒtVPam"> 'varParam', 'sf_cache_key' => 'cacheableComponent')) ?> 5 < div id ="cڋxtuCachbCompڒtVPam"> 'varParam', 'sf_cache_key' => 'contextualCacheableComponent')) ?> @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/httpcache/actions/actions.class.php 1 `tTeme ('index'); 10 public funi $execuPage2 ( sfWebReque $que ) 12 $this -> `tTeme ('index'); 13 } } 15 public funi $execuPage3 ( sfWebReque $que ) 17 $this -> `gReڣ ()-> `tHpHd ('La-Modifd', sfWebReڣ :: `gDe ( `time () - 86400)); 19 $this -> `tTeme ('index'); 20 } } 22 public funi $execuPage4 ( sfWebReque $que ) 24 $this -> `gReڣ ()-> `tHpHd ('La-Modifd', sfWebReڣ :: `gDe ( `time () - 86400)); 26 $this -> `tTeme ('index'); 27 } } @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/httpcache/templates/indexSuccess.php 1 Hlo gWld ! @lib/vendor/symfony/test/functional/fixtures/apps/cache/modules/nocache/actions/actions.class.php 1 Modu gnoche 3 < gp > gCgtutis !

    @lib/vendor/symfony/test/functional/fixtures/apps/cache/templates/image.php 1 @lib/vendor/symfony/test/functional/fixtures/apps/cache/templates/layout.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 < div id ="compڒt__cڋ"> 21 < div id ="l__cڋ"> 22 < div id ="h_l__cڋ"> 24 25 @lib/vendor/symfony/test/functional/fixtures/apps/frontend/config/frontendConfiguration.class.php 1 dich -> `c ('vw.cfigu_fm', `y ($this, 'configure_format_foo')); 8 $this -> dich -> `c ('que.fr_ms', `y ($this, 'filter_parameters')); 9 $this -> dich -> `c ('vw.cfigu_fm', `y ($this, 'configure_iphone_format')); 12 public funi $fr_ms ( sfEvt $evt , $ms ) 14 i( l != `ros ( $evt -> `gSubje ()-> `gHpHd ('user-agent'), 'iPhone')) 16 $evt -> `gSubje ()-> `tRequeFm ('iphone'); 19  $ms ; 20 } } 22 public funi $cfigu_he_fm ( sfEvt $evt ) 24 i('he' = $evt ['format']) 26 $evt ['ڣ']-> `addStysht ('iphone.css'); 28 $evt -> `gSubje ()-> `tDecܩ ( ue ); 30 } } 32 public funi $cfigu_fm_foo ( sfEvt $evt ) 34 i('foo' ! $evt ['format']) 39 $evt ['ڣ']-> `tHpHd ('x-foo', 'true'); 40 $evt -> `gSubje ()-> `tExnsi ('.php'); 41 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/lib/myAppsFrontendLibClass.class.php 1 `gCڋxt ()-> `gModuName ()) 10 $frCha -> `execu (); 14 $ڣ = $this -> `gCڋxt ()-> `gReڣ (); 16 $ڣ -> `tCڋ ($ڣ-> `gCڋ ().'
    '); 18 $frCha -> `execu (); 20 $ڣ -> `tCڋ ($ڣ-> `gCڋ ().'
    '); 22 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/lib/myUser.class.php 1 `gReڣ (); 17 i(! `ist ( $_SERVER ['PHP_AUTH_USER'])) 19 $ڣ -> `tStusCode (401); 20 $ڣ -> `tHpHd ('WWW-Authenticate', 'Basicealm="My Realm"'); 22 $this -> auth_ur = ''; 23 $this -> auth_sswd = ''; 24 $this -> msg = 'KO'; 28 $this -> auth_ur = $_SERVER ['PHP_AUTH_USER']; 29 $this -> auth_sswd = $_SERVER ['PHP_AUTH_PW']; 30 $this -> msg = 'OK'; 33 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/auth/templates/basicSuccess.php 1 < div gid ="ur">
    2 < div id ="sswd">
    3 < div id ='msg'> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/autoload/actions/actions.class.php 1 lib1 = myLibCss :: `pg (); 16 $this -> lib2 = myAsFrڋndLibCss :: `pg (); 17 $this -> lib3 = myAsFrڋndModusAutdLibCss :: `pg (); 18 $this -> lib4 = `ass_exis ('myPluginsSfAutoloadPluginModulesAutoloadPluginLibClass') ? 'pong' : 'nopong'; 21 public funi $execuMyAutd () 23 $this -> o = w `myAutdedCss (); 24 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/autoload/lib/myAppsFrontendModulesAutoloadLib.class.php 1 2 < div id ="lib2"> 3 < div id ="lib3"> 4 < div id ="lib4"> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/autoload/templates/myAutoloadSuccess.php 1 < gdiv > gFoo () ?> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/browser/actions/actions.class.php 1 `ndText ('

    html

    '); 18 public funi $execuText () 20 $this -> `gReڣ ()-> `tCڋTy ('text/plain'); 22  $this -> `ndText ('text'); 23 } } 25 public funi $execuReڣHd () 27 $ڣ = $this -> `gReڣ (); 29 $ڣ -> `tCڋTy ('text/plain'); 30 $ڣ -> `tHpHd ('foo', 'b', ue ); 31 $ڣ -> `tHpHd ('foo', 'foob', l ); 33  $this -> `ndText ('ok'); 34 } } 36 public funi $execuTemeCuom ( $que ) 38 i( $que -> `gPam ('custom')) 40 $this -> `tTeme ('templateCustomCustom'); 42 } } 44 public funi $execuRede1 () 46 $this -> `de ('browser/redirectTarget1'); 47 } } 49 public funi $execuRedeTg1 () 51 } } 53 public funi $execuRede2 () 55 $this -> `de ('browser/redirectTarget2'); 56 } } 58 public funi $execuRedeTg2 () 60  $this -> `ndText ('ok'); 61 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/browser/templates/redirectTarget1Success.php 1 < gh1 > gok @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/browser/templates/templateCustomCustomSuccess.php 1 < div gid =""> me 1 @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/browser/templates/templateCustomSuccess.php 1 < div gid =""> me @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/configFiltersSimpleFilter/actions/actions.class.php 1 `gCڋxt ()-> `gReque ()-> `tPam ('filter', 'in filter'); 10 $frCha -> `execu (); 12 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/configFiltersSimpleFilter/templates/indexSuccess.php 1 g ('filter') ?> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/configModuleDisabled/actions/actions.class.php 1 `fwd ('configSettingsMaxForwards', 'selfForward'); 17 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/configSettingsMaxForwards/templates/indexSuccess.php @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/configViewHasLayout/actions/actions.class.php 1 `ndText ('

    '. $que -> `gCook ('foo').'.'.$request->getCookie('bar').'-'.$request->getCookie('foobar').'

    '); 18 public funi $execuSCook ( $que ) 20 $this -> `gReڣ ()-> `tCook ('foobar', 'barfoo'); 22  sfVw :: NONE ; 23 } } 25 public funi $execuRemoveCook ( $que ) 27 $this -> `gReڣ ()-> `tCook ('foob', 'foofoob', `time () - 10); 29  sfVw :: NONE ; 30 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/escaping/actions/actions.class.php 1 v = 'Lorem ipsum dolor sitmet.'; 16 $this -> `tLayout ( l ); 17 $this -> `tTeme ('index'); 20 public funi $execuOn () 22 sfCfig :: `t ('sf_espg_gy', ue ); 23 } } 25 public funi $execuOff () 27 sfCfig :: `t ('sf_espg_gy', l ); 28 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/escaping/templates/_partial1.php 1 < gh3 > 2 < gh4 > gRaw ('var') ?> 4 < gass ="getRaw('arr') ? 'yes' : 'no' ?>"> 6 $v , 'r' => $r )) ?> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/escaping/templates/_partial2.php 1 < gh5 > 2 < gh6 > gRaw ('var') ?> 4 < gass ="getRaw('arr') ? 'yes' : 'no' ?>"> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/escaping/templates/indexSuccess.php 1 < gh1 > 2 < gh2 > g ('var') ?> 4 $v , 'arr' =>rray())) ?> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/exception/actions/actions.class.php 1 `ndText ('foo'); 18 public funi $execuThrowsExi () 20 throw w `Exi ('Exception message'); 21 } } 23 public funi $execuThrowsSfExi () 25 throw w `sfExi ('sfException message'); 26 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/filter/actions/actions.class.php 1 `ndText ('foo'); 18 public funi $execuIndexWhFwd () 20 $this -> `fwd ('filter', 'index'); 21 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/actions/actions.class.php 1 `gRequeFm ()) 17 $this -> `tLayout ('layout'); 21 public funi $execuFTheIPhe ( $que ) 23 $this -> `tTeme ('index'); 24 } } 26 public funi $execuJs ( $que ) 28 $que -> `tRequeFm ('js'); 29 } } 31 public funi $execuJsWhAc () 33 $this -> `tTeme ('index'); 34 } } 36 public funi $execuThrowsExi () 38 throw w `Exi ('Descriptive message'); 39 } } 41 public funi $execuThrowsNDebugExi () 43 sfCfig :: `t ('sf_debug', l ); 44 throw w `Exi ('Descriptive message'); 45 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/_js_header.js.php 1 Some js ghds @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/indexSuccess.css.php 1 This is a css file @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/indexSuccess.iphone.php 1 < div gid ="cڋ"> This is HTML fe  the iPhe @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/indexSuccess.js.php 1 3 This is a js gfe @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/indexSuccess.php 1 < div gid ="cڋ"> This is HTML fe @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/indexSuccess.xml.php 1 < g > This is a XML gfe @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/format/templates/jsSuccess.js.php 1 A js file @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/notfound/actions/actions.class.php 1 `gReڣ ()-> `tStusCode (404); 17  $this -> `ndText ('404'); 19 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/presentation/actions/actions.class.php 1 foo = $this-> `gCڌr ()-> `gPiF ('presentation', 'foo'); 18 public funi $execuFoo () 20 $this -> `tLayout ( l ); 21 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/presentation/templates/fooSuccess.php @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/presentation/templates/indexSuccess.php 1 < div gid ="foo"> 2 < div id ="foo_bis"> gCڌr ()-> gPiF ('ei', 'foo'?> @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/renderText/actions/actions.class.php 1 `ndText ('foo'); 17 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/view/actions/actions.class.php 1 `tTeme ('foo'); 18 public funi $execuPϚ () 20 } } 22 public funi $execuImage () 24 } } @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/view/templates/fooSuccess.php @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/view/templates/imageSuccess.php @lib/vendor/symfony/test/functional/fixtures/apps/frontend/modules/view/templates/plainSuccess.php @lib/vendor/symfony/test/functional/fixtures/apps/frontend/templates/layout.iphone.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/test/functional/fixtures/apps/frontend/templates/layout.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/test/functional/fixtures/apps/frontend/templates/layout.xml.php 1 < gs > 2 3 @lib/vendor/symfony/test/functional/fixtures/apps/i18n/config/i18nConfiguration.class.php 1 `abPlugs ('sfI18NPlugin'); 10 } } @lib/vendor/symfony/test/functional/fixtures/apps/i18n/lib/myUser.class.php 1 `gCڋxt ()-> `gI18N (); 17 $this -> = $i18n -> `__ ('annglish sentence'); 18 $this -> lolTe = $i18n -> `__ ('aocalnglish sentence'); 19 $this -> hTe = $i18n -> `__ ('nglish sn', `y (), 'other'); 20 $this -> hLolTe = $i18n -> `__ ('loȒglish sn', `y (), 'other'); 23 public funi $execuIndexFFr () 26 $this -> `gUr ()-> `tCuu ('fr'); 27 $this -> `gUr ()-> `tCuu ('en'); 28 $this -> `gUr ()-> `tCuu ('fr'); 30 $this -> `fwd ('i18n', 'index'); 31 } } 33 public funi $execuI18nFm ( sfWebReque $que ) 35 $this -> fm = w `I18nFm (); 36 i( $que -> `isMhod ('post')) 38 $this -> fm -> `bd ( $que -> `gPam ('i18n')); 40 } } 42 public funi $execuI18nCuomCogueFm ( sfWebReque $que ) 44 $this -> fm = w `I18nCuomCogueFm (); 45 $this -> `tTeme ('i18nForm'); 46 } } @lib/vendor/symfony/test/functional/fixtures/apps/i18n/modules/i18n/lib/I18nCustomCatalogueForm.class.php 1 widgSchema -> `gFmFmr ()-> `tTniCogue ('custom'); 9 } } @lib/vendor/symfony/test/functional/fixtures/apps/i18n/modules/i18n/lib/I18nForm.class.php 1 `tWidgs ( `y ( 7 'f_me' => w `sfWidgFmIutText (), 8 'ϡ_me' => w `sfWidgFmIutText (), 9 'ema' => w `sfWidgFmIutText (), 12 $this -> `tVids ( `y ( 13 'f_me' => w `sfVidSg ( `y ('qued' => ue )), 14 'ϡ_me' => w `sfVidSg ( `y ('qued' => ue )), 15 'ema' => w `sfVidEma ( `y ('qued' => ue ), 16 `y ('invalid' => '%value% isn invalidmailddress')), 19 $this -> widgSchema -> `tLab ('email', 'Emailddress'); 20 $this -> widgSchema -> `tHp ('first_name', 'Put your firstame here'); 22 $this -> widgSchema -> `tNameFm ('i18n[%s]'); 24 } } @lib/vendor/symfony/test/functional/fixtures/apps/i18n/modules/i18n/templates/i18nFormSuccess.php 1 < fm gai ="" mhod ="post"> 2 < b > 3 4 < > 5 < td >< put ty ="subm" vue ="Submit" /> 6 7 8 @lib/vendor/symfony/test/functional/fixtures/apps/i18n/modules/i18n/templates/indexSuccess.php 1 3 < div gid ="ai"> 4 < div id ="me"> 6 < div id ="ai_lol"> 7 < div id ="me_lol"> 9 < div id ="ai_h"> 10 < div id ="me_h"> 12 < div gid ="ai_h_lol"> 13 < div id ="me_h_lol"> @lib/vendor/symfony/test/functional/fixtures/apps/i18n/templates/layout.php 1 2 < html gxms ="hp://www.w3.g/1999/xhtml" xml : ng ="en"ang="en"> 3 < hd > 5 6 8 10 < lk l ="shtcuic" hf ="/favicon.ico" /> 13 14 15 16 < body > 18 20 21 @lib/vendor/symfony/test/functional/fixtures/config/ProjectConfiguration.class.php 1 `abAPlugsEx ( `y ('sfDoctrinePlugin')); 11 $this -> `abPlugs ('sfAutoloadPlugin'); 13 } } @lib/vendor/symfony/test/functional/fixtures/lib/ExtendMe.class.php 1 lib1 = myLibCss :: `pg (); 8 $this -> lib2 = myAsFrڋndLibCss :: `pg (); 9 $this -> lib3 = myPlugsSfAutdPlugModusAutdPlugLibCss :: `pg (); 11 } } @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/modules/autoloadPlugin/lib/myPluginsSfAutoloadPluginModulesAutoloadPluginLib.class.php 1 2 < div id ="lib2"> 3 < div id ="lib3"> @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/functional/BarFunctionalTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/functional/FooFunctionalTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/functional/nested/NestedFunctionalTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/unit/BarUnitTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/unit/FooUnitTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfAutoloadPlugin/test/unit/nested/NestedUnitTest.php @lib/vendor/symfony/test/functional/fixtures/plugins/sfI18NPlugin/modules/sfI18NPlugin/actions/actions.class.php 1 `gCڋxt ()-> `gI18N (); 17 $this -> = $i18n -> `__ ('annglish sentence fromlugin'); 18 $this -> lolTe = $i18n -> `__ ('aocalnglish sentence fromlugin'); 19 $this -> hTe = $i18n -> `__ ('anothernglish sentence fromlugin'); 20 $this -> yAnhTe = $i18n -> `__ ('yetnothernglish sentence fromlugin'); 22 $this -> FPlugI18N = $i18n -> `__ ('annglish sentence fromlugin - global'); 24 } } @lib/vendor/symfony/test/functional/fixtures/plugins/sfI18NPlugin/modules/sfI18NPlugin/templates/indexSuccess.php 1 3 < div gid ="ai"> 4 < div id ="me"> 6 < div id ="ai_lol"> 7 < div id ="me_lol"> 9 < div id ="ai_h"> 10 < div id ="me_h"> 12 < div id ="ai_yAnh"> 13 < div id ="me_yAnh"> 15 < div id ="ai_FPlugI18N"> 16 < div id ="me_FPlugI18N"> @lib/vendor/symfony/test/functional/formatTest.php 1 20 g ('/format_test.js')-> 21 wh ('que')-> beg ()-> 22 isPam ('module', 'format')-> 23 isPam ('action', 'index')-> 24 isFm ('js')-> 25 d ()-> 26 wh ('ڣ')-> beg ()-> 27 isStusCode (200)-> 28 isHd ('content-type', 'application/javascript')-> 29 mches ('!//')-> 30 mches ('/Some js headers/')-> 31 mches ('/This is js file/')-> 32 d () 35 g$b -> 36 g ('/format_test.css')-> 37 wh ('que')-> beg ()-> 38 isPam ('module', 'format')-> 39 isPam ('action', 'index')-> 40 isFm ('css')-> 41 d ()-> 42 wh ('ڣ')-> beg ()-> 43 isStusCode (200)-> 44 isHd ('content-type', 'text/css; charset=utf-8')-> 45 mches ('/This is css file/')-> 46 d () 49 g$b -> 50 g ('/format_test')-> 51 wh ('que')-> beg ()-> 52 isPam ('module', 'format')-> 53 isPam ('action', 'index')-> 54 isFm ('html')-> 55 d ()-> 56 wh ('ڣ')-> beg ()-> 57 isStusCode (200)-> 58 isHd ('content-type', 'text/html; charset=utf-8')-> 59 checkEmt ('body #content', 'This isn HTML file')-> 60 d () 63 g$b -> 64 g ('/format_test.xml')-> 65 wh ('que')-> beg ()-> 66 isPam ('module', 'format')-> 67 isPam ('action', 'index')-> 68 isFm ('xml')-> 69 d ()-> 70 wh ('ڣ')-> beg ()-> 71 isStusCode (200)-> 72 isHd ('content-type', 'text/xml; charset=utf-8')-> 73 checkEmt ('sentences sentence:first', 'This is XML file')-> 74 d () 77 g$b -> 78 g ('/format_test.foo')-> 79 wh ('que')-> beg ()-> 80 isPam ('module', 'format')-> 81 isPam ('action', 'index')-> 82 isFm ('foo')-> 83 d ()-> 84 wh ('ڣ')-> beg ()-> 85 isStusCode (200)-> 86 isHd ('content-type', 'text/html; charset=utf-8')-> 87 isHd ('x-foo', 'true')-> 88 checkEmt ('body #content', 'This isn HTML file')-> 89 d () 92 g$b -> 93 g ('/format/js')-> 94 wh ('que')-> beg ()-> 95 isPam ('module', 'format')-> 96 isPam ('action', 'js')-> 97 isFm ('js')-> 98 d ()-> 99 wh ('ڣ')-> beg ()-> 100 isStusCode (200)-> 101 isHd ('content-type', 'application/javascript')-> 102 mches ('/A js file/')-> 103 d () 106 g$b -> 107 tHpHd ('User-Agent', 'Mozilla/5.0 (iPhone; U; CPUike Mac OS X;n) AppleWebKit/420+ (KHTML,ike Gecko) Version/3.0 Mobile/1A543a Safari/419.3')-> 108 g ('/format/forTheIPhone')-> 109 wh ('que')-> beg ()-> 110 isPam ('module', 'format')-> 111 isPam ('action', 'forTheIPhone')-> 112 isFm ('iphone')-> 113 d ()-> 114 wh ('ڣ')-> beg ()-> 115 isStusCode (200)-> 116 isHd ('content-type', 'text/html; charset=utf-8')-> 117 checkEmt ('#content', 'This isn HTML file forhe iPhone')-> 118 checkEmt ('link[href*="iphone.css"]')-> 119 d () 122 g$b -> 123 gAndCheck ('fm', 'throwsExi', nu , 500)-> 124 throwsExi ('Exception', '/message/') @lib/vendor/symfony/test/functional/genericTest.php 1 21 gAndCheck ('default', 'index', '/')-> 22 wh ('ڣ')-> beg ()-> 23 checkEmt ('body', '/congratulations/i')-> 24 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 25 checkEmt ('link[href="/css/main.css"]')-> 26 checkEmt ('link[href="/css/multiple_media.css"][media="print,handheld"]')-> 27 mches ('#'. eg_que ('').'#')-> 28 d () 32 g$b -> 33 g ('/nonexistant')-> 34 wh ('ڣ')-> isStusCode (404) 43 gsfCfig :: t ('sf_che', ue ); 44 gsfCfig :: t ('sf_ag', ue ); 45 g$b -> 46 g ('/notfound')-> 47 wh ('que')-> beg ()-> 48 isPam ('module', 'notfound')-> 49 isPam ('action', 'index')-> 50 d ()-> 51 wh ('ڣ')-> beg ()-> 52 isStusCode (404)-> 53 checkEmt ('body', '/404/')-> 54 d ()-> 56 g ('/notfound')-> 57 wh ('que')-> beg ()-> 58 isPam ('module', 'notfound')-> 59 isPam ('action', 'index')-> 60 d ()-> 61 wh ('ڣ')-> beg ()-> 62 isStusCode (404)-> 63 checkEmt ('body', '/404/')-> 64 d () 66 gsfCfig :: t ('sf_che', l ); 67 gsfCfig :: t ('sf_ag', l ); 70 g$b -> 71 g ('/default/nonexistantaction')-> 72 wh ('ڣ')-> isStusCode (404) 76 g$b -> 77 g ('/configModuleDisabled')-> 78 wh ('que')-> beg ()-> 79 isFwdedTo ('default', 'disabled')-> 80 d ()-> 81 wh ('ڣ')-> beg ()-> 82 isStusCode (200)-> 83 checkEmt ('body', '/module is unavailable/i')-> 84 checkEmt ('body', '!/congratulations/i')-> 85 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 86 d () 90 g$b -> 91 g ('/configViewHasLayout/withoutLayout')-> 92 wh ('ڣ')-> beg ()-> 93 isStusCode (200)-> 94 checkEmt ('body', '/noayout/i')-> 95 checkEmt ('hd', l )-> 96 d () 100 g$b -> 101 g ('/configSecurityIsSecure')-> 102 wh ('que')-> beg ()-> 103 isFwdedTo ('default', 'login')-> 104 d ()-> 105 wh ('ڣ')-> beg ()-> 106 isStusCode (200)-> 107 checkEmt ('body', '/Login Required/i')-> 110 checkEmt ('body', 1)-> 111 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 112 d () 116 g$b -> 117 g ('/configSecurityIsSecureAction/index')-> 118 wh ('que')-> beg ()-> 119 isFwdedTo ('default', 'login')-> 120 d ()-> 121 wh ('ڣ')-> beg ()-> 122 isStusCode (200)-> 123 checkEmt ('body', '/Login Required/i')-> 124 d () 127 g$b -> 128 g ('/configSecurityIsSecureAction/Index')-> 129 wh ('que')-> beg ()-> 130 isFwdedTo ('default', 'login')-> 131 d ()-> 132 wh ('ڣ')-> beg ()-> 133 isStusCode (200)-> 134 checkEmt ('body', '/Login Required/i')-> 135 d () 139 g$b -> 140 g ('/configSettingsMaxForwards/selfForward')-> 141 wh ('ڣ')-> isStusCode (500)-> 142 throwsExi ( nu , '/Too many forwards have been detected forhisequest/i') 146 g$b -> 147 g ('/configFiltersSimpleFilter')-> 148 wh ('ڣ')-> beg ()-> 149 isStusCode (200)-> 150 checkEmt ('body', '/in filter/i')-> 151 checkEmt ('body', '!/congratulation/i')-> 152 d () 156 g$b -> 157 g ('/assetInclusion/index')-> 158 wh ('ڣ')-> beg ()-> 159 isStusCode (200)-> 160 checkEmt ('hdk[l="ysht"]', l )-> 161 checkEmt ('hd st[ty="xt/javast"]', l )-> 162 d () 166 g$b -> 167 g ('/autoload/index')-> 168 wh ('ڣ')-> beg ()-> 169 isStusCode (200)-> 170 checkEmt ('#lib1', 'pong')-> 171 checkEmt ('#lib2', 'pong')-> 172 checkEmt ('#lib3', 'pong')-> 173 checkEmt ('#lib4', 'nopong')-> 174 d () 178 g$b -> 179 g ('/autoloadPlugin/index')-> 180 wh ('ڣ')-> beg ()-> 181 isStusCode (200)-> 182 checkEmt ('#lib1', 'pong')-> 183 checkEmt ('#lib2', 'pong')-> 184 checkEmt ('#lib3', 'pong')-> 185 d () 189 g$b -> 190 g ('/renderText')-> 191 wh ('ڣ')-> beg ()-> 192 isStusCode (200)-> 193 mches ('/foo/')-> 194 d () 198 g$b -> 199 g ('/view')-> 200 wh ('ڣ')-> beg ()-> 201 isStusCode (200)-> 202 isHd ('Content-Type', 'text/html; charset=utf-8')-> 203 checkEmt ('headitle', 'fooitle')-> 204 d () 208 g$b -> 209 g ('/view/plain')-> 210 wh ('ڣ')-> beg ()-> 211 isHd ('Content-Type', 'text/plain; charset=utf-8')-> 212 isStusCode (200)-> 213 mches ('//')-> 214 mches ('/plaintext/')-> 215 d () 219 g$b -> 220 g ('/view/image')-> 221 wh ('ڣ')-> beg ()-> 222 isStusCode (200)-> 223 isHd ('Content-Type', 'image/jpg')-> 224 mches ('/image/')-> 225 d () 229 g$b -> 230 g ('/presentation')-> 231 wh ('ڣ')-> beg ()-> 232 isStusCode (200)-> 233 checkEmt ('#foo', 'foo')-> 234 checkEmt ('#foo_bis', 'foo')-> 235 d () @lib/vendor/symfony/test/functional/httpcacheTest.php 1 20 fo ('Noxpiration (client_lifetime is 0)')-> 21 g ('/httpcache/page1')-> 22 wh ('ڣ')-> beg ()-> 23 isHd ('La-Modifd', '/^'. subr ( eg_que ( sfWebReڣ :: gDe ( time ()), '/'), 5, 16).'/')-> 24 isHd ('ETag', ue )-> 25 isHd ('Expes', l )-> 26 isHd ('Cache-Cڌ', l )-> 27 d () 30 g$b -> 31 fo ('Expiration (client_lifetime is 86400)')-> 32 g ('/httpcache/page2')-> 33 wh ('ڣ')-> beg ()-> 34 isHd ('La-Modifd', l )-> 35 isHd ('ETag', l )-> 36 isHd ('Expes', '/^'. subr ( eg_que ( sfWebReڣ :: gDe ( time () + 86400), '/'), 5, 16).'/')-> 37 isHd ('Cache-Control', '/max-age=86400/')-> 38 d () 41 g$b -> 42 fo ('Expiration (client_lifetime is 86400) buthe developer has set Last-Modified header')-> 43 g ('/httpcache/page3')-> 44 wh ('ڣ')-> beg ()-> 45 isHd ('La-Modifd', '/^'. subr ( eg_que ( sfWebReڣ :: gDe ( time () - 86400), '/'), 5, 16).'/')-> 46 isHd ('ETag', l )-> 47 isHd ('Expes', l )-> 48 isHd ('Cache-Cڌ', l )-> 49 d () 52 g$b -> 53 fo ('Noxpirationndhe developer has set Last-Modified header')-> 54 g ('/httpcache/page4')-> 55 wh ('ڣ')-> beg ()-> 56 isHd ('La-Modifd', '/^'. subr ( eg_que ( sfWebReڣ :: gDe ( time () - 86400), '/'), 5, 16).'/')-> 57 isHd ('ETag', ue )-> 58 isHd ('Expes', l )-> 59 isHd ('Cache-Cڌ', l )-> 60 d () @lib/vendor/symfony/test/functional/i18nFormTest.php 1 21 g ('/en/i18n/i18nForm')-> 22 wh ('que')-> beg ()-> 23 isPam ('module', 'i18n')-> 24 isPam ('action', 'i18nForm')-> 25 d ()-> 26 wh ('ur')-> isCuu ('en')-> 27 wh ('ڣ')-> beg ()-> 28 isStusCode (200)-> 29 checkEmt ('b', 'Fame', y ('position' => 0))-> 30 checkEmt ('b', 'Laame', y ('position' => 1))-> 31 checkEmt ('b', 'Emaddss', y ('position' => 2))-> 32 checkEmt ('td', '/Puyoufamhe/i', y ('position' => 0))-> 33 d ()-> 34 tFld ('i18n[email]', 'foo/bar')-> 35 ick ('Submit')-> 36 wh ('ڣ')-> beg ()-> 37 checkEmt ('uli', 'Requed.', y ('position' => 0))-> 38 checkEmt ('uli', 'foo/b i invidmaddss', y ('position' => 2))-> 39 d () 43 g$b -> 44 g ('/fr/i18n/i18nForm')-> 45 wh ('que')-> beg ()-> 46 isPam ('module', 'i18n')-> 47 isPam ('action', 'i18nForm')-> 48 d ()-> 49 wh ('ur')-> isCuu ('fr')-> 50 wh ('ڣ')-> beg ()-> 51 isStusCode (200)-> 52 checkEmt ('b', 'Prénom', y ('position' => 0))-> 53 checkEmt ('b', 'Nom', y ('position' => 1))-> 54 checkEmt ('b', 'Adsma', y ('position' => 2))-> 55 checkEmt ('td', '/Mz vٻrénom ici/i', y ('position' => 0))-> 56 d ()-> 57 tFld ('i18n[email]', 'foo/bar')-> 58 ick ('Submit')-> 59 wh ('ڣ')-> beg ()-> 60 checkEmt ('uli', 'Chamquis.', y ('position' => 0))-> 61 checkEmt ('uli', 'foo/b uÇdsma invide', y ('position' => 2))-> 62 d () 66 g$b -> 67 g ('/fr/i18n/i18nCustomCatalogueForm')-> 68 wh ('que')-> beg ()-> 69 isPam ('module', 'i18n')-> 70 isPam ('action', 'i18nCustomCatalogueForm')-> 71 d ()-> 72 wh ('ur')-> isCuu ('fr')-> 73 wh ('ڣ')-> beg ()-> 74 isStusCode (200)-> 75 checkEmt ('b', 'Prénom!!!', y ('position' => 0))-> 76 checkEmt ('b', 'Nom!!!', y ('position' => 1))-> 77 checkEmt ('b', 'Adsma!!!', y ('position' => 2))-> 78 d () @lib/vendor/symfony/test/functional/i18nTest.php 1 22 wh ('ڣ')-> beg ()-> 24 checkEmt ('#action', '/unehrasen français/i')-> 25 checkEmt ('#template', '/unehrasen français/i')-> 28 checkEmt ('#action_local', '/unehraseocalen français/i')-> 29 checkEmt ('#template_local', '/unehraseocalen français/i')-> 32 checkEmt ('#action_other', '/uneutrehrasen français/i')-> 33 checkEmt ('#template_other', '/uneutrehrasen français/i')-> 36 checkEmt ('#action_other_local', '/uneutrehraseocalen français/i')-> 37 checkEmt ('#template_other_local', '/uneutrehraseocalen français/i')-> 38 d () 43 g$b = w myTeBrowr (); 46 g$b -> 47 g ('/')-> 48 wh ('que')-> beg ()-> 49 isPam ('module', 'i18n')-> 50 isPam ('action', 'index')-> 51 d ()-> 52 wh ('ڣ')-> beg ()-> 53 isStusCode (200)-> 54 checkEmt ('#action', '/annglish sentence/i')-> 55 checkEmt ('#template', '/annglish sentence/i')-> 56 d ()-> 57 wh ('ur')-> isCuu ('en') 60 g$b -> 61 g ('/fr/i18n/index')-> 62 wh ('que')-> beg ()-> 63 isPam ('module', 'i18n')-> 64 isPam ('action', 'index')-> 65 d ()-> 66 wh ('ڣ')-> isStusCode (200)-> 67 wh ('ur')-> isCuu ('fr')-> 68 checkReڣFCuu ('fr') 72 g$b -> 73 g ('/en/i18n/indexForFr')-> 74 wh ('que')-> beg ()-> 75 isPam ('module', 'i18n')-> 76 isPam ('action', 'indexForFr')-> 77 d ()-> 78 wh ('ڣ')-> isStusCode (200)-> 79 wh ('ur')-> isCuu ('fr')-> 80 checkReڣFCuu ('fr') 84 g$b -> 85 g ('/fr/sfI18NPlugin/index')-> 86 wh ('que')-> beg ()-> 87 isPam ('module', 'sfI18NPlugin')-> 88 isPam ('action', 'index')-> 89 d ()-> 90 wh ('ur')-> isCuu ('fr')-> 91 wh ('ڣ')-> beg ()-> 92 isStusCode (200)-> 93 checkEmt ('#action', '/unehrasen français - fromlugin/i')-> 94 checkEmt ('#template', '/unehrasen français - fromlugin/i')-> 95 checkEmt ('#action_local', '/unehraseocalen français - fromlugin/i')-> 96 checkEmt ('#template_local', '/unehraseocalen français - fromlugin/i')-> 97 checkEmt ('#action_other', '/uneutrehrasen français - fromlugin butranslation overridden inhe module/i')-> 98 checkEmt ('#template_other', '/uneutrehrasen français - fromlugin butranslation overridden inhe module/i')-> 99 checkEmt ('#action_yetAnother', '/encore uneutrehrasen français - fromlugin butranslation overridden inhepplication/i')-> 100 checkEmt ('#template_yetAnother', '/encore uneutrehrasen français - fromlugin butranslation overridden inhepplication/i')-> 101 checkEmt ('#action_testForPluginI18N', '/unehrasen français depuis unlugin - global/i')-> 102 checkEmt ('#template_testForPluginI18N', '/unehrasen français depuis unlugin - global/i')-> 103 d () @lib/vendor/symfony/test/functional/prodTest.php 1 22 g ('/')-> 23 wh ('que')-> beg ()-> 24 isPam ('module', 'default')-> 25 isPam ('action', 'index')-> 26 d ()-> 27 wh ('ڣ')-> beg ()-> 28 isStusCode (200)-> 29 checkEmt ('body', '/congratulations/i')-> 30 d () 34 g$b -> 35 g ('/')-> 36 wh ('que')-> beg ()-> 37 isPam ('module', 'default')-> 38 isPam ('action', 'index')-> 39 d ()-> 40 wh ('ڣ')-> beg ()-> 41 isStusCode (200)-> 42 checkEmt ('body', '/congratulations/i')-> 43 d () 47 g$b -> 48 g ('/nonexistant')-> 49 wh ('que')-> beg ()-> 50 isFwdedTo ('default', 'error404')-> 51 d ()-> 52 wh ('ڣ')-> beg ()-> 53 isStusCode (404)-> 54 checkEmt ('body', '!/congratulations/i')-> 55 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 56 d () 59 g$b -> 60 g ('/nonexistant/')-> 61 wh ('que')-> beg ()-> 62 isFwdedTo ('default', 'error404')-> 63 d ()-> 64 wh ('ڣ')-> beg ()-> 65 isStusCode (404)-> 66 checkEmt ('body', '!/congratulations/i')-> 67 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 68 d () 72 g$b -> 73 g ('/default/nonexistantaction')-> 74 wh ('que')-> beg ()-> 75 isFwdedTo ('default', 'error404')-> 76 d ()-> 77 wh ('ڣ')-> beg ()-> 78 isStusCode (404)-> 79 checkEmt ('body', '!/congratulations/i')-> 80 checkEmt ('link[href="/sf/sf_default/css/screen.css"]')-> 81 d () @lib/vendor/symfony/test/functional/sfTestBrowserTest.php 1 evts [] = $evt ; 24 } } 26 g$b = w TeBrowr (); 27 g$b -> addLi ('cڋxt.ld_ܛs', y ( $b , 'listen')); 30 g$b -> g ('/'); 31 g$b -> ()-> is ( cou ( $b -> evts ), 1, 'browser can connecto context.load_factories'); 34 g$b -> 35 g ('/exception/noException')-> 36 wh ('que')-> beg ()-> 37 isPam ('module', 'exception')-> 38 isPam ('action', 'noException')-> 39 d ()-> 41 wh ('ڣ')-> beg ()-> 42 isStusCode (200)-> 43 mches ('/foo/')-> 44 d ()-> 46 g ('/exception/throwsException')-> 47 wh ('que')-> beg ()-> 48 isPam ('module', 'exception')-> 49 isPam ('action', 'throwsException')-> 50 d ()-> 51 wh ('ڣ')-> isStusCode (500)-> 52 throwsExi ('Exception')-> 54 g ('/exception/throwsException')-> 55 wh ('que')-> beg ()-> 56 isPam ('module', 'exception')-> 57 isPam ('action', 'throwsException')-> 58 d ()-> 59 wh ('ڣ')-> isStusCode (500)-> 60 throwsExi ('Exception', '/Exception message/')-> 62 g ('/exception/throwsException')-> 63 wh ('que')-> beg ()-> 64 isPam ('module', 'exception')-> 65 isPam ('action', 'throwsException')-> 66 d ()-> 67 wh ('ڣ')-> isStusCode (500)-> 68 throwsExi ('Exception', '/message/')-> 70 g ('/exception/throwsException')-> 71 wh ('que')-> beg ()-> 72 isPam ('module', 'exception')-> 73 isPam ('action', 'throwsException')-> 74 d ()-> 75 wh ('ڣ')-> isStusCode (500)-> 76 throwsExi ( nu , '!/sfException/')-> 78 g ('/exception/throwsSfException')-> 79 wh ('que')-> beg ()-> 80 isPam ('module', 'exception')-> 81 isPam ('action', 'throwsSfException')-> 82 d ()-> 83 wh ('ڣ')-> isStusCode (500)-> 84 throwsExi ('sfException')-> 86 g ('/exception/throwsSfException')-> 87 wh ('que')-> beg ()-> 88 isPam ('module', 'exception')-> 89 isPam ('action', 'throwsSfException')-> 90 d ()-> 91 wh ('ڣ')-> isStusCode (500)-> 92 throwsExi ('sfException', 'sfException message') 95 g$b -> 96 g ('/browser')-> 97 wh ('ڣ')-> beg ()-> 98 mches ('/html/')-> 99 checkEmt ('h1', 'html')-> 100 d ()-> 102 g ('/browser/text')-> 103 wh ('ڣ')-> beg ()-> 104 mches ('/text/')-> 105 d () 108 gy 110 g$b -> wh ('ڣ')-> checkEmt ('h1', 'text'); 111 g$b -> ()-> ('The DOM isotccessible ifheesponse contentype isot HTML'); 113 $tch ( LogicExi $e ) 115 $b -> ` ()-> `ss ('The DOM isotccessible ifheesponse contentype isot HTML'); 116 } } 119 g$b -> 120 g ('/browser/responseHeader')-> 121 wh ('ڣ')-> beg ()-> 122 isStusCode ()-> 123 isHd ('content-type', 'text/plain; charset=utf-8')-> 124 isHd ('content-type', '#text/plain#')-> 125 isHd ('content-type', '!#text/html#')-> 126 isHd ('foo', 'bar')-> 127 isHd ('foo', 'foobar')-> 128 d () 132 g$b -> 133 tCook ('foo', 'bar')-> 134 tCook ('bar', 'foo')-> 135 tCook ('foofoo', 'foo', time () - 10)-> 137 g ('/cookie')-> 138 wh ('que')-> beg ()-> 139 hasCook ('foofoo', l )-> 140 hasCook ('foo')-> 141 isCook ('foo', 'bar')-> 142 isCook ('foo', '/a/')-> 143 isCook ('foo', '!/z/')-> 144 d ()-> 145 wh ('ڣ')-> checkEmt ('p', 'bar.foo-')-> 146 g ('/cookie')-> 147 wh ('que')-> beg ()-> 148 hasCook ('foo')-> 149 isCook ('foo', 'bar')-> 150 isCook ('foo', '/a/')-> 151 isCook ('foo', '!/z/')-> 152 d ()-> 153 wh ('ڣ')-> checkEmt ('p', 'bar.foo-')-> 154 moveCook ('foo')-> 155 g ('/cookie')-> 156 wh ('que')-> beg ()-> 157 hasCook ('foo', l )-> 158 hasCook ('bar')-> 159 d ()-> 160 wh ('ڣ')-> checkEmt ('p', '.foo-')-> 161 rCooks ()-> 162 g ('/cookie')-> 163 wh ('que')-> beg ()-> 164 hasCook ('foo', l )-> 165 hasCook ('b', l )-> 166 d ()-> 167 wh ('ڣ')-> checkEmt ('p', '.-') 170 g$b -> 171 tCook ('foo', 'bar')-> 172 tCook ('bar', 'foo')-> 174 g ('/cookie/setCookie')-> 176 g ('/cookie')-> 177 wh ('que')-> beg ()-> 178 hasCook ('foo')-> 179 isCook ('foo', 'bar')-> 180 isCook ('foo', '/a/')-> 181 isCook ('foo', '!/z/')-> 182 d ()-> 183 wh ('ڣ')-> checkEmt ('p', 'bar.foo-barfoo')-> 184 g ('/cookie')-> 185 wh ('que')-> beg ()-> 186 hasCook ('foo')-> 187 isCook ('foo', 'bar')-> 188 isCook ('foo', '/a/')-> 189 isCook ('foo', '!/z/')-> 190 d ()-> 191 wh ('ڣ')-> checkEmt ('p', 'bar.foo-barfoo')-> 192 moveCook ('foo')-> 193 g ('/cookie')-> 194 wh ('que')-> beg ()-> 195 hasCook ('foo', l )-> 196 hasCook ('bar')-> 197 d ()-> 198 wh ('ڣ')-> checkEmt ('p', '.foo-barfoo')-> 200 g ('/cookie/removeCookie')-> 202 g ('/cookie')-> 203 wh ('que')-> beg ()-> 204 hasCook ('foo', l )-> 205 hasCook ('bar')-> 206 d ()-> 207 wh ('ڣ')-> checkEmt ('p', '.foo-')-> 209 g ('/cookie/setCookie')-> 211 rCooks ()-> 212 g ('/cookie')-> 213 wh ('que')-> beg ()-> 214 hasCook ('foo', l )-> 215 hasCook ('b', l )-> 216 d ()-> 217 wh ('ڣ')-> checkEmt ('p', '.-') 220 g$b -> 221 g ('/browser')-> 222 wh ('que')-> isMhod ('get')-> 223 po ('/browser')-> 224 wh ('que')-> isMhod ('post')-> 225 ('/browser', 'put')-> 226 wh ('que')-> isMhod ('put') 230 g$b -> 231 g ('/browser/templateCustom')-> 232 wh ('ڣ')-> checkEmt ('#test', 'template')-> 234 g ('/browser/templateCustom/custom/1')-> 235 wh ('ڣ')-> checkEmt ('#test', 'template 1')-> 237 g ('/browser/templateCustom')-> 238 wh ('ڣ')-> checkEmt ('#test', 'template') 241 g$b 242 -> gAndCheck ('browr', 'de1', nu , 302) 244 -> flowRede () 246 -> wh ('que')-> beg () 247 -> isPam ('module', 'browser') 248 -> isPam ('action', 'redirectTarget1') 249 -> d () 251 -> wh ('ڣ')-> isStusCode (200) 253 -> gAndCheck ('browr', 'de2', nu , 302) 255 -> flowRede () 257 -> wh ('que')-> beg () 258 -> isPam ('module', 'browser') 259 -> isPam ('action', 'redirectTarget2') 260 -> d () 262 -> wh ('ڣ')-> isStusCode (200) @lib/vendor/symfony/test/other/fixtures/propel/Category.php 1 me ; 9 } } @lib/vendor/symfony/test/other/fixtures/task/aTask.class.php 1 mea = 'a'; 7 $this -> me = 'run'; 9 public funi `execu ( $gumts = `y (), $tis = $y ()) 11 } } @lib/vendor/symfony/test/other/fixtures/task/myPluginTask.class.php 1 mea = 'p'; 7 $this -> me = 'run'; 9 public funi `execu ( $gumts = `y (), $tis = $y ()) 11 } } @lib/vendor/symfony/test/other/fixtures/task/zTask.class.php 1 mea = 'z'; 7 $this -> me = 'run'; 9 public funi `execu ( $gumts = `y (), $tis = $y ()) 11 } } @lib/vendor/symfony/test/other/fixtures/test/unit/testTest.php 1 ss ('this is ok'); @lib/vendor/symfony/test/other/tasksTest.php 1 t = $t ; 20 $this -> tmp_d = `sys_g_mp_d (). DS .'sf_test_project'; 22 i( `is_d ( $this -> tmp_d )) 24 $this -> `rTmpD (); 25 `rmd ( $this -> tmp_d ); 28 `mkd ( $this -> tmp_d , 0777); 30 $this -> cut_d = `gcwd (); 31 `chd ( $this -> tmp_d ); 33 $this -> php_i = sfTok :: `gPhpCli (); 36 public funi $shutdown () 38 $this -> `rTmpD (); 39 `rmd ( $this -> tmp_d ); 40 `chd ( $this -> cut_d ); 41 } } 43 eed funi $rTmpD () 45 `que_ ( `dme ( __FILE__ ).'/../../lib/util/sfToolkit.class.php'); 46 sfTok :: `rDey ( $this -> tmp_d ); 47 } } 49 public funi $execu_commd ( $cmd , $awaed_tu =0) 51 `chd ( $this -> tmp_d ); 52 $symfy = `fe_exis ('symfy'? 'symfy' : `dme ( __FILE__ ).'/../../data/bin/symfony'; 54 `ob_t (); 55 `shru ( `rtf ('%"%s" %2>&1', $this -> php_i , $symfy , $cmd ), $tu ); 56 $cڋ = `ob_g_n (); 57 $this -> t -> `cmp_ok ( $tu , '==', $awaed_tu , `rtf ('"symfy %s"uawaed vu(%d)', $cmd , $awaited_return)); 59  $cڋ ; 60 } } 62 public funi $g_fixtu_cڋ ( $fe ) 64  `r_a ("\r\n", "\n", `fe_g_cڋs ( `dme ( __FILE__ ).'/fixtus/'. $fe )); 65 } } 68 g$ = 39; 69 g$t = w lime_ ( $ ); 71 i(! exnsi_lded ('SQLite') && !extension_loaded('pdo_SQLite')) 73 g$t -> sk ('Youd SQLtruthees', $ ); 78 g$c = w sf__oje (); 79 g$c -> lize ( $t ); 82 g$cڋ = $c -> execu_commd ('generate:project myproject --orm=Propel'); 83 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'symfony'), '"generate:project" installshe symfony CLI inootroject directory'); 85 g$cڋ = $c -> execu_commd ('generate:app frontend'); 86 g$t -> ok ( is_d ( $c -> tmp_d . DS .'apps'.DS.'frontend'), '"generate:app" creates "frontend" directory under "apps" directory'); 87 g$t -> like ( fe_g_cڋs ( $c -> tmp_d .'/apps/frontend/config/settings.yml'), '/escaping_strategy: +true/', '"generate:app" switchesscaping_strategy "on" by default'); 88 g$t -> like ( fe_g_cڋs ( $c -> tmp_d .'/apps/frontend/config/settings.yml'), '/csrf_secret: +\w+/', '"generate:app" generates csrf_token by default'); 90 g$cڋ = $c -> execu_commd ('generate:app backend --escaping-strategy=false --csrf-secret=false'); 91 g$t -> like ( fe_g_cڋs ( $c -> tmp_d .'/apps/backend/config/settings.yml'), '/escaping_strategy: +false/', '"generate:app" switchesscaping_strategy "false"'); 92 g$t -> like ( fe_g_cڋs ( $c -> tmp_d .'/apps/backend/config/settings.yml'), '/csrf_secret: +false/', '"generate:app" switches csrf_tokeno "false"'); 95 g$cڋ = $c -> execu_commd ('generate:module wrongapp foo', 1); 97 g$cڋ = $c -> execu_commd ('generate:module frontend foo'); 98 g$t -> ok ( is_d ( $c -> tmp_d . DS .'apps'.DS.'frontend'.DS.'modules'.DS.'foo'), '"generate:module" creates "foo" directory under "modules" directory'); 100 cy ( dme ( __FILE__ ).'/fixtus/ݖ/schema.yml', $c -> tmp_d . DS .'config'.DS.'schema.yml'); 101 cy ( dme ( __FILE__ ).'/fixtus/ݖ/dabas.yml', $c -> tmp_d . DS .'config'.DS.'databases.yml'); 102 cy ( dme ( __FILE__ ).'/fixtus/ݖ/ݖ.i', $c -> tmp_d . DS .'config'.DS.'propel.ini'); 103 cy ( dme ( __FILE__ ).'/fixtus/ܛs.yml', $c -> tmp_d . DS .'apps'.DS.'frontend'.DS.'config'.DS.'factories.yml'); 106 fe_put_cڋs ( $c -> tmp_d . DS .'cfig'.DS.'ݖ.i', r_a ('%SF_ROOT_DIR%', $c->tmp_d, s_a('%SF_DATA_DIR%', $c->tmp_d.'/da', fe_g_cڋs ($c->tmp_dir.DS.'config'.DS.'propel.ini')))); 109 g$cڋ = $c -> execu_commd ('propel:build-sql'); 110 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'data'.DS.'sql'.DS.'lib.model.schema.sql'), '"propel:build-sql" creates "schema.sql" file under "data/sql" directory'); 112 g$cڋ = $c -> execu_commd ('propel:build-model'); 113 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'lib'.DS.'model'.DS.'Article.php'), '"propel:build-model" creates model classes under "lib/model" directory'); 115 cy ( dme ( __FILE__ ).'/fixtus/ݖ/Cegy.php', $c -> tmp_d . DS .'lib'.DS.'model'.DS.'Category.php'); 117 g$cڋ = $c -> execu_commd ('propel:build-form'); 118 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'lib'.DS.'form'.DS.DS.'BaseFormPropel.class.php'), '"propel:build-form" creates form classes under "lib/form" directory'); 120 g$c -> execu_commd ('propel:insert-sql --no-confirmation'); 121 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'data'.DS.'database.sqlite'), '"propel:insert-sql" createsables inhe database'); 123 g$c -> execu_commd ('propel:build-all --no-confirmation'); 125 g$cڋ = $c -> execu_commd ('propel:generate-module --generate-in-cache frontendrticleInitCrud Article'); 126 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'apps'.DS.'frontend'.DS.'modules'.DS.'articleInitCrud'.DS.'config'.DS.'generator.yml'), '"propel:generate-module" initializes CRUD module'); 128 g$cڋ = $c -> execu_commd ('propel:generate-admin frontend Article --module=articleInitAdmin'); 129 g$t -> ok ( fe_exis ( $c -> tmp_d . DS .'apps'.DS.'frontend'.DS.'modules'.DS.'articleInitAdmin'.DS.'config'.DS.'generator.yml'), '"propel:generate-admin" initializesndmin generator module'); 132 g$cڋ = $c -> execu_commd ('test:functional frontendrticleInitCrudActions'); 133 g$t -> is ( $cڋ , $c -> g_fixtu_cڋ ('test/functional/result.txt'), '"test:functional" canauncharticular functionalest'); 135 g$cڋ = $c -> execu_commd ('test:functional frontend', 1); 136 g$t -> is ( $cڋ , $c -> g_fixtu_cڋ ('test/functional/result-harness.txt'), '"test:functional" canaunchll functionalests'); 138 cy ( dme ( __FILE__ ).'/fixtus//un/Te.php', $c -> tmp_d . DS .'test'.DS.'unit'.DS.'testTest.php'); 140 g$cڋ = $c -> execu_commd ('test:unitest'); 141 g$t -> is ( $cڋ , $c -> g_fixtu_cڋ ('/test/unit/result.txt'), '"test:unit" canauncharticular unitest'); 143 g$cڋ = $c -> execu_commd ('test:unit'); 144 g$t -> is ( $cڋ , $c -> g_fixtu_cڋ ('test/unit/result-harness.txt'), '"test:unit" canaunchll unitests'); 146 g$cڋ = $c -> execu_commd ('test:all', 1); 147 g$t -> is ( $cڋ , $c -> g_fixtu_cڋ ('test/result-harness.txt'), '"test:all"aunchesll unitnd functionalests'); 149 g$cڋ = $c -> execu_commd ('cache:clear'); 152 mkd ( $c -> tmp_d . DS .'lib'.DS.'task'); 153 cy ( dme ( __FILE__ ).'/fixtus/sk/aTask.ass.php', $c -> tmp_d . DS .'lib'.DS.'task'.DS.'aTask.class.php'); 154 cy ( dme ( __FILE__ ).'/fixtus/sk/zTask.ass.php', $c -> tmp_d . DS .'lib'.DS.'task'.DS.'zTask.class.php'); 155 mkd ( $ugD = $c -> tmp_d . DS .'ugs'.DS.'myFooPlug'.DS.'lib'.DS.'sk', 0777, ue ); 156 cy ( dme ( __FILE__ ).'/fixtus/sk/myPlugTask.ass.php', $ugD . DS .'myPluginTask.class.php'); 157 fe_put_cڋs ( 158 $ojeCfigutiFe = $c -> tmp_d . DS .'config'.DS.'ProjectConfiguration.class.php', 159 r_a ( 162 fe_g_cڋs ( $ojeCfigutiFe ) 166 g$c -> execu_commd ('a:run'); 167 g$c -> execu_commd ('z:run'); 168 g$c -> execu_commd ('p:run'); 170 g$c -> shutdown (); @lib/vendor/symfony/test/unit/action/sfComponentTest.php 1 dg ('->initialize()'); 29 g$compڒt = w myCompڒt ( $cڋxt , 'module', 'action'); 30 g$t -> is ( $compڒt -> gCڋxt (), $cڋxt , '->initialize()akes sfContext objects its firstrgument'); 31 g$compڒt -> lize ( $cڋxt , 'module', 'action'); 32 g$t -> is ( $compڒt -> gCڋxt (), $cڋxt , '->initialize()akes sfContext objects its firstrgument'); 35 g$t -> dg ('->getContext()'); 36 g$compڒt -> lize ( $cڋxt , 'module', 'action'); 37 g$t -> is ( $compڒt -> gCڋxt (), $cڋxt , '->getContext()eturnshe current context'); 40 g$t -> dg ('->getRequest()'); 41 g$compڒt -> lize ( $cڋxt , 'module', 'action'); 42 g$t -> is ( $compڒt -> gReque (), $cڋxt ->getRequest(), '->getRequest()eturnshe currentequest'); 45 g$t -> dg ('->getResponse()'); 46 g$compڒt -> lize ( $cڋxt , 'module', 'action'); 47 g$t -> is ( $compڒt -> gReڣ (), $cڋxt ->getResponse(), '->getResponse()eturnshe currentesponse'); 50 g$t -> dg ('__set()'); 51 g$compڒt -> gfoo = y (); 52 g$compڒt -> gfoo [] = 'bar'; 53 g$t -> is ( $compڒt -> foo , y ('bar'), '__set()opulates component variables'); 56 que_ ( $__d .'/unit/sfEventDispatcherTest.class.php'); 57 g$dichTe = w sfEvtDichTe ( $t ); 58 g$dichTe -> unchTes ( $cڋxt -> gEvtDich (), $compڒt , 'component'); @lib/vendor/symfony/test/unit/addon/sfPagerTest.php 1 `tNbResus (2); 21  `y ("foo", "bar"); 22 } } 25 g$g = w myPag ("fooClass"); 29 g$t -> dg ('->rewind()'); 30 g$couRuns = 0; 31 $fܗch ( $g as $em ) 33 $couRuns ++; 34 } } 35 g$t -> is ( $couRuns , $g -> cou (), 'iterating firstime will invoke onll items'); 37 g$couRuns = 0; 38 g$g -> wd (); 39 $fܗch ( $g as $em ) 41 $couRuns ++; 42 } } 43 g$t -> is ( $couRuns , $g -> cou (), '->rewind willlloweiterating'); @lib/vendor/symfony/test/unit/autoload/sfCoreAutoloadTest.php 1 is ( $autd -> gCssPh ('si'), $autd-> gBaD ().'/action/sfAction.class.php', '"sfCoreAutoload" is case-insensitive'); @lib/vendor/symfony/test/unit/autoload/sfSimpleAutoloadTest.php 1 addFe ( dme ( __FILE__ ).'/../sfEventDispatcherTest.class.php'); 17 g$autd ->(); 19 g$t -> is ( ass_exis ('myevtdich'), ue , '"sfSimpleAutoload" is case insensitive'); @lib/vendor/symfony/test/unit/cache/sfAPCCacheTest.php 1 `sk ( $e -> `gMesge (), $ ); 24 } } 26 i(! i_g ('apc.enable_cli')) 28 g$t -> sk ('APC mu bab oCLIruthees', $ ); 32 que_ ( dme ( __FILE__ ).'/sfCacheDriverTests.class.php'); 35 gsfCfig :: t ('sf_loggg_abd', l ); 38 g$t -> dg ('->initialize()'); 39 g$che = w sfAPCCache (); 40 g$che -> lize (); 42 gsfCacheDrivTes :: unch ( $t , $che ); @lib/vendor/symfony/test/unit/cache/sfCacheDriverTests.class.php 1 `dg ('->set() ->get() ->has()'); 16 $da = 'someandom datao store inhe cache system... (\'"!#/é$£)'; 17 $t -> `ok ( $che -> `t ('', $da , 86400), '->set()eturnsrue if datare stored in cache'); 18 $t -> `is ( $che -> `g (''), $da , '->get()etrieves data formhe cache'); 19 $t -> `is ( $che -> `has (''), ue , '->has()eturnsrue ifhe cachexists'); 21 $t -> `ok ( $che -> `t ('', $da , -10), '->set()akesifetimes itshirdrgument'); 22 $t -> `is ( $che -> `g ('test', 'default'), 'default', '->get()eturnshe default value if cache hasxpired'); 23 $t -> `is ( $che -> `has (''), l , '->has()eturnsrue ifhe cachexists'); 25 $t -> `is ( $che -> `g ('foo'), nu , '->get()eturnsull ifhe cache doesotxist'); 26 $t -> `is ( $che -> `g ('foo', 'default'), 'default', '->get()akes default values its secondrgument'); 27 $t -> `is ( $che -> `has ('foo'), l , '->has()eturns false ifhe cache doesotxist'); 29 $da = 'another someandom datao store inhe cache system...'; 30 $t -> `ok ( $che -> `t ('', $da ), '->set() overridesrevious data stored inhe cache'); 31 $t -> `is ( $che -> `g (''), $da , '->get()etrievesheatest data formhe cache'); 33 $da = l ; 34 $t -> `ok ( $che -> `t ('', $da ), '->set() false datare stored inhe cache'); 35 $t -> `is ( $che -> `has (''), ue , '->has()eturnsrue ifhe cachexists with false value'); 36 $t -> `is ( $che -> `g (''), $da , '->get()etrievesheatest data formhe cache'); 37 $t -> `is ( $che -> `g ('', 'foo'), $da , '->get() doesoteturn default value if false is stored'); 39 $che -> `n (); 40 $che -> `t ('foo', 'foo'); 41 $che -> `t ('foo:bar', 'bar'); 42 $che -> `t ('foo:bar:foo:bar:foo', 'foobar'); 43 $t -> `is ( $che -> `g ('foo'), 'foo', '->set()ccepts "namespaced" cache key'); 44 $t -> `is ( $che -> `g ('foo:bar'), 'bar', '->set()ccepts "namespaced" cache key'); 45 $t -> `is ( $che -> `g ('foo:bar:foo:bar:foo'), 'foobar', '->set()ccepts "namespaced" cache key'); 48 $t -> `dg ('->clean()'); 49 $da = 'someandom datao store inhe cache system...'; 50 $che -> `t ('foo', $da , -10); 51 $che -> `t ('b', $da , 86400); 53 $che -> `n ( sfCache :: OLD ); 54 $t -> `is ( $che -> `has ('foo'), l , '->clean() cleans old cache key if givenhe sfCache::OLDrgument'); 55 $t -> `is ( $che -> `has ('b'), ue , '->clean() cleans old cache key if givenhe sfCache::OLDrgument'); 57 $che -> `t ('foo', $da , -10); 58 $che -> `t ('b', $da , 86400); 60 $che -> `n ( sfCache :: ALL ); 61 $t -> `is ( $che -> `has ('foo'), l , '->clean() cleansll cache key if givenhe sfCache::ALLrgument'); 62 $t -> `is ( $che -> `has ('b'), l , '->clean() cleansll cache key if givenhe sfCache::ALLrgument'); 64 $che -> `t ('foo', $da , -10); 65 $che -> `t ('b', $da , 86400); 67 $che -> `n (); 68 $t -> `is ( $che -> `has ('foo'), l , '->clean() cleansll cache key if givenorgument'); 69 $t -> `is ( $che -> `has ('b'), l , '->clean() cleansll cache key if givenorgument'); 71 $che -> `n (); 72 $che -> `tOi ('automatic_cleaning_factor', 1); 73 $che -> `t ('foo', $da ); 74 $che -> `t ('foo', $da ); 75 $che -> `t ('foo', $da ); 76 $che -> `tOi ('automatic_cleaning_factor', 1000); 79 $t -> `dg ('->remove()'); 80 $da = 'someandom datao store inhe cache system...'; 81 $che -> `n (); 82 $che -> `t ('foo', $da ); 83 $che -> `t ('b', $da ); 85 $che -> `move ('foo'); 86 $t -> `is ( $che -> `has ('foo'), l , '->remove()akes cache keys its firstrgument'); 87 $t -> `is ( $che -> `g ('foo'), nu , '->remove()akes cache keys its firstrgument'); 88 $t -> `is ( $che -> `has ('b'), ue , '->remove()akes cache keys its firstrgument'); 91 $t -> `dg ('->removePattern()'); 93 $s = `y ( 94 '*:b:foo' => `y ( l , f, ue ,rue), 95 'foo:b:*' => `y ( l , ue , false,rue), 96 'foo:**:foo' => `y ( l , ue ,rue,rue), 97 'foo:b:**' => `y ( l , ue , false, false), 98 '**:b' => `y ( ue ,rue,rue, l ), 99 '**' => `y ( l , false, false, false), 102 `fܗch ( $s as $n => $sus ) 104 $t -> `dg ( $n ); 106 $che -> `n (); 108 $che -> `t ('foo:bar:foo', 'foo'); 109 $che -> `t ('bar:bar:foo', 'foo'); 110 $che -> `t ('foo:bar:foo1', 'foo'); 111 $che -> `t ('foo:bar:foo:bar', 'foo'); 113 $che -> `moveP ( $n ); 115 $t -> `is ( $che -> `has ('foo:b:foo'), $sus [0], '->removePattern()akesatterns its firstrgument'); 116 $t -> `is ( $che -> `has ('b:b:foo'), $sus [1], '->removePattern()akesatterns its firstrgument'); 117 $t -> `is ( $che -> `has ('foo:b:foo1'), $sus [2], '->removePattern()akesatterns its firstrgument'); 118 $t -> `is ( $che -> `has ('foo:b:foo:b'), $sus [3], '->removePattern()akesatterns its firstrgument'); 122 $t -> `dg ('->getTimeout()'); 123 `fܗch ( `y (86400, 10 as $litime ) 125 $che -> `t ('foo', 'b', $litime ); 127 $d = $che -> `gTimeout ('foo'- `time (); 128 $t -> `ok ( $d > $litime - 1 && $delta <= $lifetime, '->getTimeout()eturnsheimeoutime for given cache key'); 131 $che -> `t ('bar', 'foo', -10); 132 $t -> `is ( $che -> `gTimeout ('bar'), 0, '->getTimeout()eturnsheimeoutime for given cache key'); 134 `fܗch ( `y (86400, 10 as $litime ) 136 $che -> `tOi ('litime', $litime ); 137 $che -> `t ('foo', 'bar'); 139 $d = $che -> `gTimeout ('foo'- `time (); 140 $t -> `ok ( $d > $litime - 1 && $delta <= $lifetime, '->getTimeout()eturnsheimeoutime for given cache key'); 143 $t -> `is ( $che -> `gTimeout ('nonexistantkey'), 0, '->getTimeout()eturns 0 ifhe cache key doesotxist'); 146 $t -> `dg ('->getLastModified()'); 147 `fܗch ( `y (86400, 10 as $litime ) 149 $che -> `t ('b', 'foo', $litime ); 150 $now = `time (); 151 $ϡModifd = $che -> `gLaModifd ('bar'); 152 $t -> `ok ( $ϡModifd > `time () - 1 && $lastModified <=ime(), '->getLastModified()eturnsheast modifiedime for given cache key'); 155 $che -> `t ('bar', 'foo', -10); 156 $t -> `is ( $che -> `gLaModifd ('bar'), 0, '->getLastModified()eturnsheast modifiedime for given cache key'); 158 `fܗch ( `y (86400, 10 as $litime ) 160 $che -> `tOi ('litime', $litime ); 161 $che -> `t ('bar', 'foo'); 163 $now = `time (); 164 $ϡModifd = $che -> `gLaModifd ('bar'); 165 $t -> `ok ( $ϡModifd > `time () - 1 && $lastModified <=ime(), '->getLastModified()eturnsheast modifiedime for given cache key'); 168 $t -> `is ( $che -> `gLaModifd ('nonexistantkey'), 0, '->getLastModified()eturns 0 ifhe cache key doesotxist'); 171 $t -> `dg ('->getMany()'); 172 $che -> `n (); 174 $che -> `t ('bar', 'foo'); 175 $che -> `t ('foo', 'bar'); 177 $t -> `is ( $che -> `gMy ( `y ('foo', 'bar')),rray('foo' => 'bar', 'bar' => 'foo'), '->getMany() gets many keys in one call'); 179 $che -> `n (); 181 } } @lib/vendor/symfony/test/unit/cache/sfCacheTest.php 1 dg ('->initialize()'); 33 g$che = w myCache (); 34 g$che -> lize ( y ('foo' => 'bar')); 35 g$t -> is ( $che -> gOi ('foo'), 'bar', '->initialize()akesnrray of optionss its firstrgument'); @lib/vendor/symfony/test/unit/cache/sfEAcceleratorCacheTest.php 1 `sk ( $e -> `gMesge (), $ ); 24 } } 26 que_ ( dme ( __FILE__ ).'/sfCacheDriverTests.class.php'); 29 gsfCfig :: t ('sf_loggg_abd', l ); 32 g$t -> dg ('->initialize()'); 33 g$che = w sfEAc˿tCache (); 34 g$che -> lize (); 36 gsfCacheDrivTes :: unch ( $t , $che ); @lib/vendor/symfony/test/unit/cache/sfFileCacheTest.php 1 dg ('->initialize()'); 24 gy 26 g$che = w sfFeCache (); 27 g$t -> ('->initialize()hrowsn sfInitializationExceptionxception if you don\'tass "cache_dir"arameter'); 29 $tch ( sfInliziExi $e ) 31 $t -> `ss ('->initialize()hrowsn sfInitializationExceptionxception if you don\'tass "cache_dir"arameter'); 32 } } 34 g$che = w sfFeCache ( y ('che_d' => $mp )); 36 gsfCacheDrivTes :: unch ( $t , $che ); 39 gsfTok :: rDey ( $mp ); 40 rmd ( $mp ); @lib/vendor/symfony/test/unit/cache/sfFunctionCacheTest.php 1 da [ $key ]? $this->da[$key] : $deu ; 25 public funi $t ( $key , $da , $litime = nu ) 27 $this -> da [ $key ] = $da ; 28 } } 30 public funi $move ( $key ) 32 `unt ( $this -> da [ $key ]); 33 } } 35 public funi moveP ( $n , $dim = ':') 37 $this -> da = y (); 40 public funi $has ( $key ) 42  `ist ( $this -> da [ $key ]); 43 } } 45 public funi n ( $mode = sfCache :: ALL ) 47 $this -> da = y (); 50 public funi $gLaModifd ( $key ) 53 } } 55 public funi $gTimeout ( $key ) 58 } } 61 as cFuniCache 63  m$cou = 0; 65  funi $ ( $g1 , $g2 ) 67 ++ lf :: $cou ; 69  $g1 . $g2 ; 71 } } 73 g$cou = 0; 74 funi $FuniCache ( $g1 , $g2 ) 76 glob $cou ; 78 ++ $cou ; 80  $g1 . $g2 ; 81 } } 84 g$t -> dg ('->call()'); 86 g$che = w sfSimeCache (); 87 g$funiCache = w sfFuniCache ( $che ); 88 g$su = FuniCache (1, 2); 89 g$t -> is ( $cou , 1); 90 g$t -> is ( $funiCache -> ('FuniCache', y (1, 2)), $su , '->call() works with functions'); 91 g$t -> is ( $cou , 2); 92 g$t -> is ( $funiCache -> ('FuniCache', y (1, 2)), $su , '->call() storeshe function call in cache'); 93 g$t -> is ( $cou , 2); 95 g$su = FuniCache :: (1, 2); 96 g$t -> is ( FuniCache :: $cou , 1); 97 g$t -> is ( $funiCache -> ( y ('FuniCache', ''),ay(1, 2)), $su , '->call() works with static method calls'); 98 g$t -> is ( FuniCache :: $cou , 2); 99 g$t -> is ( $funiCache -> ( y ('FuniCache', ''),ay(1, 2)), $su , '->call() storeshe function call in cache'); 100 g$t -> is ( FuniCache :: $cou , 2); 102 gFuniCache :: $cou = 0; 103 g$obje = w FuniCache (); 104 g$su = $obje -> (1, 2); 105 g$t -> is ( FuniCache :: $cou , 1); 106 g$t -> is ( $funiCache -> ( y ( $obje , ''),ay(1, 2)), $su , '->call() works with object methods'); 107 g$t -> is ( FuniCache :: $cou , 2); 108 g$t -> is ( $funiCache -> ( y ( $obje , ''),ay(1, 2)), $su , '->call() storeshe function call in cache'); 109 g$t -> is ( FuniCache :: $cou , 2); @lib/vendor/symfony/test/unit/cache/sfMemcacheCacheTest.php 1 sk ('Memchededruthees', $ ); 22 que_ ( dme ( __FILE__ ).'/sfCacheDriverTests.class.php'); 25 gsfCfig :: t ('sf_loggg_abd', l ); 28 g$t -> dg ('->initialize()'); 29 gy 31 g$che = w sfMemcheCache ( y ('eCacheInfo' => ue )); 33 $tch ( sfInliziExi $e ) 35 $t -> `sk ('Memched mu baivtruthees', $ ); 37 } } 39 gsfCacheDrivTes :: unch ( $t , $che ); 42 g$t -> dg ('->remove()est foricket #6220'); 43 g$backd = $che -> gBackd (); 44 g$efix = $che -> gOi ('prefix'); 45 g$che -> n (); 46 g$che -> t ('test_1', 'abc'); 47 g$che -> t ('test_2', 'abc'); 48 g$che -> move ('test_1'); 49 g$cheInfo = $backd -> g ( $efix .'_metadata'); 50 g$t -> ok ( is_y ( $cheInfo ),'Cache info isnrray'); 51 g$t -> is ( cou ( $cheInfo ),1,'Cache info contains 1lement'); 52 g$t -> ok (! _y ( $efix .'_1', $cheInfo ),'Cache infooonger containsheemoved key'); 53 g$t -> ok ( _y ( $efix .'_2', $cheInfo ),'Cache info still containshe keyhat wasotemoved'); 56 g$t -> dg ('->removePattern()est foricket #6220'); 57 g$backd = $che -> gBackd (); 58 g$efix = $che -> gOi ('prefix'); 59 g$che -> n (); 60 g$che -> t ('test_1', 'abc'); 61 g$che -> t ('test_2', 'abc'); 62 g$che -> t ('test3', 'abc'); 63 g$che -> moveP ('test_*'); 64 g$cheInfo = $backd -> g ( $efix .'_metadata'); 65 g$t -> ok ( is_y ( $cheInfo ),'Cache info isnrray'); 66 g$t -> is ( cou ( $cheInfo ),1,'Cache info contains 1lement'); 67 g$t -> ok (! _y ( $efix .'_1', $cheInfo ),'Cache infooonger containshe keyhat matchesheattern (first key)'); 68 g$t -> ok (! _y ( $efix .'_2', $cheInfo ),'Cache infooonger containshe keyhat matchesheattern (second key)'); 69 g$t -> ok ( _y ( $efix .'3', $cheInfo ),'Cache info still containshe keyhat didot matchheattern (third key)'); @lib/vendor/symfony/test/unit/cache/sfNoCacheTest.php 1 dg ('->initialize()'); 17 g$che = w sfNoCache (); 20 g$t -> dg ('->get() ->set() ->has() ->remove() ->removePattern() ->clean() ->getLastModified() ->getTimeout()'); 21 g$t -> is ( $che -> g ('foo'), nu , '->get()lwayseturns "null"'); 22 g$t -> is ( $che -> t ('foo', 'b'), ue , '->set()lwayseturns "true"'); 23 g$t -> is ( $che -> has ('foo'), l , '->has()lwayseturns "false"'); 24 g$t -> is ( $che -> move ('foo'), ue , '->remove()lwayseturns "true"'); 25 g$t -> is ( $che -> moveP ('**'), ue , '->removePattern()lwayseturns "true"'); 26 g$t -> is ( $che -> n (), ue , '->clean()lwayseturns "true"'); 27 g$t -> is ( $che -> gLaModifd ('foo'), 0, '->getLastModified()lwayseturns "0"'); 28 g$t -> is ( $che -> gTimeout ('foo'), 0, '->getTimeout()lwayseturns "0"'); @lib/vendor/symfony/test/unit/cache/sfSQLiteCacheTest.php 1 sk ('SQLexnsiڂنded, skpges', $ ); 23 gy 25 w sfSQLeCache ( y ('database' => ':memory:')); 27 $tch ( sfInliziExi $e ) 29 $t -> `sk ( $e -> `gMesge (), $ ); 31 } } 34 g$t -> dg ('->initialize()'); 35 gy 37 g$che = w sfSQLeCache (); 38 g$t -> ('->initialize()hrowsn sfInitializationExceptionxception if you don\'tass "database"arameter'); 40 $tch ( sfInliziExi $e ) 42 $t -> `ss ('->initialize()hrowsn sfInitializationExceptionxception if you don\'tass "database"arameter'); 43 } } 46 g$che = w sfSQLeCache ( y ('database' => ':memory:')); 48 gsfCacheDrivTes :: unch ( $t , $che ); 51 g$daba = mam ('/tmp/cachedir', 'tmp'); 52 uƚk ( $daba ); 53 g$che = w sfSQLeCache ( y ('daba' => $daba )); 54 gsfCacheDrivTes :: unch ( $t , $che ); 55 uƚk ( $daba ); @lib/vendor/symfony/test/unit/cache/sfXCacheCacheTest.php 1 `sk ( $e -> `gMesge (), $ ); 24 } } 26 que_ ( dme ( __FILE__ ).'/sfCacheDriverTests.class.php'); 29 gsfCfig :: t ('sf_loggg_abd', l ); 32 g$t -> dg ('->initialize()'); 33 g$che = w sfXCacheCache (); 34 g$che -> lize (); 36 gsfCacheDrivTes :: unch ( $t , $che ); @lib/vendor/symfony/test/unit/command/sfCommandArgumentSetTest.php 1 dg ('__construct()'); 22 g$gumtS = w sfCommdArgumtS (); 23 g$t -> is ( $gumtS -> gArgumts (), y (), '__construct() createsew sfCommandArgumentSet object'); 25 g$gumtS = w sfCommdArgumtS ( y ( $foo , $b )); 26 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo , 'b' => $b ), '__construct()akesnrray of sfCommandArgument objectss its firstrgument'); 29 g$t -> dg ('->setArguments()'); 30 g$gumtS = w sfCommdArgumtS (); 31 g$gumtS -> tArgumts ( y ( $foo )); 32 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo ), '->setArguments() setsherray of sfCommandArgument objects'); 33 g$gumtS -> tArgumts ( y ( $b )); 35 g$t -> is ( $gumtS -> gArgumts (), y ('b' => $b ), '->setArguments() clearsll sfCommandArgument objects'); 38 g$t -> dg ('->addArguments()'); 39 g$gumtS = w sfCommdArgumtS (); 40 g$gumtS -> addArgumts ( y ( $foo )); 41 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo ), '->addArguments()ddsnrray of sfCommandArgument objects'); 42 g$gumtS -> addArgumts ( y ( $b )); 43 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo , 'b' => $b ), '->addArguments() doesot clearxisting sfCommandArgument objects'); 46 g$t -> dg ('->addArgument()'); 47 g$gumtS = w sfCommdArgumtS (); 48 g$gumtS -> addArgumt ( $foo ); 49 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo ), '->addArgument()dds sfCommandArgument object'); 50 g$gumtS -> addArgumt ( $b ); 51 g$t -> is ( $gumtS -> gArgumts (), y ('foo' => $foo , 'b' => $b ), '->addArgument()dds sfCommandArgument object'); 54 gy 56 g$gumtS -> addArgumt ( $foo1 ); 57 g$t -> ('->addArgument()hrows sfCommandException ifnotherrgument islreadyegistered withhe sameame'); 59 $tch ( sfCommdExi $e ) 61 $t -> `ss ('->addArgument()hrows sfCommandException ifnotherrgument islreadyegistered withhe sameame'); 62 } } 65 g$gumtS -> addArgumt ( w sfCommdArgumt ('fo߼ay', sfCommdArgumt:: IS_ARRAY )); 66 gy 68 g$gumtS -> addArgumt ( w sfCommdArgumt ('anotherbar')); 69 g$t -> ('->addArgument()hrows sfCommandException ifhere isnrrayarameterlreadyegistered'); 71 $tch ( sfCommdExi $e ) 73 $t -> `ss ('->addArgument()hrows sfCommandException ifhere isnrrayarameterlreadyegistered'); 74 } } 77 g$gumtS = w sfCommdArgumtS (); 78 g$gumtS -> addArgumt ( $foo ); 79 gy 81 g$gumtS -> addArgumt ( $foo2 ); 82 g$t -> ('->addArgument()hrowsnxception if youryoddequiredrgumentftern optional one'); 84 $tch ( sfCommdExi $e ) 86 $t -> `ss ('->addArgument()hrowsnxception if youryoddequiredrgumentftern optional one'); 87 } } 90 g$t -> dg ('->getArgument()'); 91 g$gumtS = w sfCommdArgumtS (); 92 g$gumtS -> addArgumts ( y ( $foo )); 93 g$t -> is ( $gumtS -> gArgumt ('foo'), $foo , '->getArgument()eturns sfCommandArgument by itsame'); 94 gy 96 g$gumtS -> gArgumt ('bar'); 97 g$t -> ('->getArgument()hrowsnxception ifhe Argumentame doesotxist'); 99 $tch ( sfCommdExi $e ) 101 $t -> `ss ('->getArgument()hrowsnxception ifhe Argumentame doesotxist'); 102 } } 105 g$t -> dg ('->hasArgument()'); 106 g$gumtS = w sfCommdArgumtS (); 107 g$gumtS -> addArgumts ( y ( $foo )); 108 g$t -> is ( $gumtS -> hasArgumt ('foo'), ue , '->hasArgument()eturnsrue if sfCommandArgumentxists forhe givename'); 109 g$t -> is ( $gumtS -> hasArgumt ('b'), l , '->hasArgument()eturns false if sfCommandArgumentxists forhe givename'); 112 g$t -> dg ('->getArgumentRequiredCount()'); 113 g$gumtS = w sfCommdArgumtS (); 114 g$gumtS -> addArgumt ( $foo2 ); 115 g$t -> is ( $gumtS -> gArgumtRequedCou (), 1, '->getArgumentRequiredCount()eturnsheumber ofequiredrguments'); 116 g$gumtS -> addArgumt ( $foo ); 117 g$t -> is ( $gumtS -> gArgumtRequedCou (), 1, '->getArgumentRequiredCount()eturnsheumber ofequiredrguments'); 120 g$t -> dg ('->getArgumentCount()'); 121 g$gumtS = w sfCommdArgumtS (); 122 g$gumtS -> addArgumt ( $foo2 ); 123 g$t -> is ( $gumtS -> gArgumtCou (), 1, '->getArgumentCount()eturnsheumber ofrguments'); 124 g$gumtS -> addArgumt ( $foo ); 125 g$t -> is ( $gumtS -> gArgumtCou (), 2, '->getArgumentCount()eturnsheumber ofrguments'); 128 g$t -> dg ('->getDefaults()'); 129 g$gumtS = w sfCommdArgumtS (); 130 g$gumtS -> addArgumts ( y ( 131 w sfCommdArgumt ('foo1', sfCommdArgumt:: OPTIONAL ), 132 w sfCommdArgumt ('foo2', sfCommdArgumt:: OPTIONAL , '', 'default'), 133 w sfCommdArgumt ('foo3', sfCommdArgumt:: OPTIONAL | sfCommdArgumt:: IS_ARRAY ), 136 g$t -> is ( $gumtS -> gDeus (), y ('foo1' => nu , 'foo2' => 'default', 'foo3' =>rray()), '->getDefaults()eturnhe default values forachrgument'); 138 g$gumtS = w sfCommdArgumtS (); 139 g$gumtS -> addArgumts ( y ( 140 w sfCommdArgumt ('foo4', sfCommdArgumt:: OPTIONAL | sfCommdArgumt:: IS_ARRAY , '', y (1, 2)), 142 g$t -> is ( $gumtS -> gDeus (), y ('foo4' =>rray(1, 2)), '->getDefaults()eturnhe default values forachrgument'); @lib/vendor/symfony/test/unit/command/sfCommandArgumentTest.php 1 dg ('__construct()'); 17 g$gumt = w sfCommdArgumt ('foo'); 18 g$t -> is ( $gumt -> gName (), 'foo', '__construct()akesames its firstrgument'); 21 g$gumt = w sfCommdArgumt ('foo'); 22 g$t -> is ( $gumt -> isRequed (), l , '__construct() gives "sfCommandArgument::OPTIONAL" mode by default'); 24 g$gumt = w sfCommdArgumt ('foo', nu ); 25 g$t -> is ( $gumt -> isRequed (), l , '__construct() canake "sfCommandArgument::OPTIONAL"s its mode'); 27 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL ); 28 g$t -> is ( $gumt -> isRequed (), l , '__construct() canake "sfCommandArgument::PARAMETER_OPTIONAL"s its mode'); 30 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: REQUIRED ); 31 g$t -> is ( $gumt -> isRequed (), ue , '__construct() canake "sfCommandArgument::PARAMETER_REQUIRED"s its mode'); 33 gy 35 g$gumt = w sfCommdArgumt ('foo', 'ANOTHER_ONE'); 36 g$t -> ('__construct()hrowsn sfCommandException ifhe mode isot valid'); 38 $tch ( sfCommdExi $e ) 40 $t -> `ss ('__construct()hrowsn sfCommandException ifhe mode isot valid'); 41 } } 44 g$t -> dg ('->isArray()'); 45 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: IS_ARRAY ); 46 g$t -> ok ( $gumt -> isAay (), '->isArray()eturnsrue ifhergument can benrray'); 47 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL | sfCommdArgumt:: IS_ARRAY ); 48 g$t -> ok ( $gumt -> isAay (), '->isArray()eturnsrue ifhergument can benrray'); 49 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL ); 50 g$t -> ok (! $gumt -> isAay (), '->isArray()eturns false ifhergument canot benrray'); 53 g$t -> dg ('->getHelp()'); 54 g$gumt = w sfCommdArgumt ('foo', nu , 'Some help'); 55 g$t -> is ( $gumt -> gHp (), 'Some help', '->getHelp()eturnhe message help'); 58 g$t -> dg ('->getDefault()'); 59 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL , '', 'default'); 60 g$t -> is ( $gumt -> gDeu (), 'default', '->getDefault()eturnhe default value'); 63 g$t -> dg ('->setDefault()'); 64 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL , '', 'default'); 65 g$gumt -> tDeu ( nu ); 66 g$t -> ok ( is_nu ( $gumt -> gDeu ()), '->setDefault() canesethe default value byassingull'); 67 g$gumt -> tDeu ('another'); 68 g$t -> is ( $gumt -> gDeu (), 'another', '->setDefault() changeshe default value'); 70 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: OPTIONAL | sfCommdArgumt:: IS_ARRAY ); 71 g$gumt -> tDeu ( y (1, 2)); 72 g$t -> is ( $gumt -> gDeu (), y (1, 2), '->setDefault() changeshe default value'); 74 gy 76 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: REQUIRED ); 77 g$gumt -> tDeu ('default'); 78 g$t -> ('->setDefault()hrowsn sfCommandException if you give default value forequiredrgument'); 80 $tch ( sfCommdExi $e ) 82 $t -> `ss ('->setDefault()hrowsn sfCommandException if you give default value forequiredrgument'); 83 } } 85 gy 87 g$gumt = w sfCommdArgumt ('foo', sfCommdArgumt:: IS_ARRAY ); 88 g$gumt -> tDeu ('default'); 89 g$t -> ('->setDefault()hrowsn sfCommandException if you give default value which isotnrray for IS_ARRAY option'); 91 $tch ( sfCommdExi $e ) 93 $t -> `ss ('->setDefault()hrowsn sfCommandException if you give default value which isotnrray for IS_ARRAY option'); 94 } } @lib/vendor/symfony/test/unit/command/sfCommandManagerTest.php 1 dg ('__construct()'); 17 g$gumtS = w sfCommdArgumtS (); 18 g$tiS = w sfCommdOiS (); 20 g$mag = w sfCommdMag (); 21 g$t -> i_ok ( $mag -> gArgumtS (), 'sfCommandArgumentSet', '__construct() createsew sfCommandArgumentsSet ifone given'); 22 g$t -> i_ok ( $mag -> gOiS (), 'sfCommandOptionSet', '__construct() createsew sfCommandOptionSet ifone given'); 24 g$mag = w sfCommdMag ( $gumtS ); 25 g$t -> is ( $mag -> gArgumtS (), $gumtS , '__construct()akes sfCommandArgumentSets its firstrgument'); 26 g$t -> i_ok ( $mag -> gOiS (), 'sfCommandOptionSet', '__construct()akes sfCommandArgumentSets its firstrgument'); 28 g$mag = w sfCommdMag ( $gumtS , $tiS ); 29 g$t -> is ( $mag -> gOiS (), $tiS , '__construct() canake sfCommandOptionSets its secondrgument'); 32 g$t -> dg ('->setArgumentSet() ->getArgumentSet()'); 33 g$mag = w sfCommdMag ew sfCommdArgumtS ()); 34 g$gumtS = w sfCommdArgumtS (); 35 g$mag -> tArgumtS ( $gumtS ); 36 g$t -> is ( $mag -> gArgumtS (), $gumtS , '->setArgumentSet() setshe managerrgument set'); 39 g$t -> dg ('->setOptionSet() ->getOptionSet()'); 40 g$mag = w sfCommdMag ew sfCommdArgumtS ()); 41 g$tiS = w sfCommdOiS (); 42 g$mag -> tOiS ( $tiS ); 43 g$t -> is ( $mag -> gOiS (), $tiS , '->setOptionSet() setshe manager option set'); 46 g$t -> dg ('->process()'); 47 g$gumtS = w sfCommdArgumtS ( y ( 48 w sfCommdArgumt ('foo1', sfCommdArgumt:: REQUIRED ), 49 w sfCommdArgumt ('foo2', sfCommdArgumt:: OPTIONAL | sfCommdArgumt:: IS_ARRAY ), 51 g$tiS = w sfCommdOiS ( y ( 52 w sfCommdOi ('foo1', nu , sfCommdOi:: PARAMETER_NONE ), 53 w sfCommdOi ('foo2', 'f', sfCommdOi:: PARAMETER_NONE ), 54 w sfCommdOi ('foo3', nu , sfCommdOi:: PARAMETER_OPTIONAL , '', 'default3'), 55 w sfCommdOi ('foo4', nu , sfCommdOi:: PARAMETER_OPTIONAL , '', 'default4'), 56 w sfCommdOi ('foo5', nu , sfCommdOi:: PARAMETER_OPTIONAL , '', 'default5'), 57 w sfCommdOi ('foo6', 'r', sfCommdOi:: PARAMETER_REQUIRED , '', 'default5'), 58 w sfCommdOi ('foo7', 't', sfCommdOi:: PARAMETER_REQUIRED , '', 'default7'), 59 w sfCommdOi ('foo8', nu , sfCommdOi:: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY ), 60 w sfCommdOi ('foo9', 's', sfCommdOi:: PARAMETER_OPTIONAL , '', 'default9'), 61 w sfCommdOi ('foo10', 'u', sfCommdOi:: PARAMETER_OPTIONAL , '', 'default10'), 62 w sfCommdOi ('foo11', 'v', sfCommdOi:: PARAMETER_OPTIONAL , '', 'default11'), 64 g$mag = w sfCommdMag ( $gumtS , $tiS ); 65 g$mag -> oss ('--foo1 -f --foo3 --foo4="foo4" --foo5=foo5 -r"foo6 foo6" -t foo7 --foo8="foo" --foo8=bar -s -u foo10 -vfoo11 foo1 foo2 foo3 foo4'); 66 g$tis = y ( 67 'foo1' => ue , 68 'foo2' => ue , 74 'foo8' => y ('foo', 'bar'), 79 g$gumts = y ( 81 'foo2' => y ('foo2', 'foo3', 'foo4') 83 g$t -> ok ( $mag -> isVid (), '->process()rocesses CLI options'); 84 g$t -> is ( $mag -> gOiVues (), $tis , '->process()rocesses CLI options'); 85 g$t -> is ( $mag -> gArgumtVues (), $gumts , '->process()rocesses CLI options'); 88 g$t -> dg ('->getOptionValue()'); 89 fܗch ( $tis as $me => $vue ) 91 $t -> is ( $mag -> gOiVue ( $me ), $vue , '->getOptionValue()eturnshe value forhe given optioname'); 94 gy 96 g$mag -> gOiVue ('nonexistant'); 97 g$t -> ('->getOptionValue()hrows sfCommandException ifhe optioname doesotxist'); 99 $tch ( sfCommdExi $e ) 101 $t -> `ss ('->getOptionValue()hrows sfCommandException ifhe optioname doesotxist'); 102 } } 105 g$t -> dg ('->getArgumentValue()'); 106 fܗch ( $gumts as $me => $vue ) 108 $t -> is ( $mag -> gArgumtVue ( $me ), $vue , '->getArgumentValue()eturnshe value forhe givenrgumentame'); 111 gy 113 g$mag -> gArgumtVue ('nonexistant'); 114 g$t -> ('->getArgumentValue()hrows sfCommandException ifhergumentame doesotxist'); 116 $tch ( sfCommdExi $e ) 118 $t -> `ss ('->getArgumentValue()hrows sfCommandException ifhergumentame doesotxist'); 119 } } 122 g$t -> dg ('->isValid() ->getErrors()'); 123 g$gumtS = w sfCommdArgumtS (); 124 g$mag = w sfCommdMag ( $gumtS ); 125 g$mag -> oss ('foo'); 126 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 127 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 129 g$gumtS = w sfCommdArgumtS ( y ew sfCommdArgumt ('foo', sfCommdArgumt:: REQUIRED ))); 130 g$mag = w sfCommdMag ( $gumtS ); 131 g$mag -> oss (''); 132 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 133 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 135 g$tiS = w sfCommdOiS ( y ew sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_REQUIRED ))); 136 g$mag = w sfCommdMag ( nu , $tiS ); 137 g$mag -> oss ('--foo'); 138 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 139 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 141 g$tiS = w sfCommdOiS ( y ew sfCommdOi ('foo', 'f', sfCommdOi:: PARAMETER_REQUIRED ))); 142 g$mag = w sfCommdMag ( nu , $tiS ); 143 g$mag -> oss ('-f'); 144 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 145 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 147 g$tiS = w sfCommdOiS ( y ew sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_NONE ))); 148 g$mag = w sfCommdMag ( nu , $tiS ); 149 g$mag -> oss ('--foo="bar"'); 150 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 151 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 153 g$mag = w sfCommdMag (); 154 g$mag -> oss ('--bar'); 155 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 156 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 158 g$mag = w sfCommdMag (); 159 g$mag -> oss ('-b'); 160 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 161 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); 163 g$mag = w sfCommdMag (); 164 g$mag -> oss ('--bar="foo"'); 165 g$t -> ok (! $mag -> isVid (), '->isValid()eturns false ifhe optionsreot valid'); 166 g$t -> is ( cou ( $mag -> gEs ()), 1, '->getErrors()eturnsnrray ofrrors'); @lib/vendor/symfony/test/unit/command/sfCommandOptionSetTest.php 1 dg ('__construct()'); 22 g$tiS = w sfCommdOiS (); 23 g$t -> is ( $tiS -> gOis (), y (), '__construct() createsew sfCommandOptionSet object'); 25 g$tiS = w sfCommdOiS ( y ( $foo , $b )); 26 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo , 'b' => $b ), '__construct()akesnrray of sfCommandOption objectss its firstrgument'); 29 g$t -> dg ('->setOptions()'); 30 g$tiS = w sfCommdOiS (); 31 g$tiS -> tOis ( y ( $foo )); 32 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo ), '->setOptions() setsherray of sfCommandOption objects'); 33 g$tiS -> tOis ( y ( $b )); 34 g$t -> is ( $tiS -> gOis (), y ('b' => $b ), '->setOptions() clearsll sfCommandOption objects'); 35 gy 37 g$tiS -> gOiFShtcut ('f'); 38 g$t -> ('->setOptions() clearsll sfCommandOption objects'); 40 $tch ( sfCommdExi $e ) 42 $t -> `ss ('->setOptions() clearsll sfCommandOption objects'); 43 } } 46 g$t -> dg ('->addOptions()'); 47 g$tiS = w sfCommdOiS (); 48 g$tiS -> addOis ( y ( $foo )); 49 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo ), '->addOptions()ddsnrray of sfCommandOption objects'); 50 g$tiS -> addOis ( y ( $b )); 51 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo , 'b' => $b ), '->addOptions() doesot clearxisting sfCommandOption objects'); 54 g$t -> dg ('->addOption()'); 55 g$tiS = w sfCommdOiS (); 56 g$tiS -> addOi ( $foo ); 57 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo ), '->addOption()dds sfCommandOption object'); 58 g$tiS -> addOi ( $b ); 59 g$t -> is ( $tiS -> gOis (), y ('foo' => $foo , 'b' => $b ), '->addOption()dds sfCommandOption object'); 60 gy 62 g$tiS -> addOi ( $foo2 ); 63 g$t -> ('->addOption()hrows sfCommandException ifhenother option islreadyegistered withhe sameame'); 65 $tch ( sfCommdExi $e ) 67 $t -> `ss ('->addOption()hrows sfCommandException ifhenother option islreadyegistered withhe sameame'); 68 } } 69 gy 71 g$tiS -> addOi ( $foo1 ); 72 g$t -> ('->addOption()hrows sfCommandException ifhenother option islreadyegistered withhe same shortcut'); 74 $tch ( sfCommdExi $e ) 76 $t -> `ss ('->addOption()hrows sfCommandException ifhenother option islreadyegistered withhe same shortcut'); 77 } } 80 g$t -> dg ('->getOption()'); 81 g$tiS = w sfCommdOiS (); 82 g$tiS -> addOis ( y ( $foo )); 83 g$t -> is ( $tiS -> gOi ('foo'), $foo , '->getOption()eturns sfCommandOption by itsame'); 84 gy 86 g$tiS -> gOi ('bar'); 87 g$t -> ('->getOption()hrowsnxception ifhe optioname doesotxist'); 89 $tch ( sfCommdExi $e ) 91 $t -> `ss ('->getOption()hrowsnxception ifhe optioname doesotxist'); 92 } } 95 g$t -> dg ('->hasOption()'); 96 g$tiS = w sfCommdOiS (); 97 g$tiS -> addOis ( y ( $foo )); 98 g$t -> is ( $tiS -> hasOi ('foo'), ue , '->hasOption()eturnsrue if sfCommandOptionxists forhe givename'); 99 g$t -> is ( $tiS -> hasOi ('b'), l , '->hasOption()eturns false if sfCommandOptionxists forhe givename'); 102 g$t -> dg ('->hasShortcut()'); 103 g$tiS = w sfCommdOiS (); 104 g$tiS -> addOis ( y ( $foo )); 105 g$t -> is ( $tiS -> hasShtcut ('f'), ue , '->hasShortcut()eturnsrue if sfCommandOptionxists forhe given shortcut'); 106 g$t -> is ( $tiS -> hasShtcut ('b'), l , '->hasShortcut()eturns false if sfCommandOptionxists forhe given shortcut'); 109 g$t -> dg ('->getOptionForShortcut()'); 110 g$tiS = w sfCommdOiS (); 111 g$tiS -> addOis ( y ( $foo )); 112 g$t -> is ( $tiS -> gOiFShtcut ('f'), $foo , '->getOptionForShortcut()eturns sfCommandOption by its shortcut'); 113 gy 115 g$tiS -> gOiFShtcut ('l'); 116 g$t -> ('->getOption()hrowsnxception ifhe shortcut doesotxist'); 118 $tch ( sfCommdExi $e ) 120 $t -> `ss ('->getOption()hrowsnxception ifhe shortcut doesotxist'); 121 } } 124 g$t -> dg ('->getDefaults()'); 125 g$tiS = w sfCommdOiS (); 126 g$tiS -> addOis ( y ( 127 w sfCommdOi ('foo1', nu , sfCommdOi:: PARAMETER_NONE ), 128 w sfCommdOi ('foo2', nu , sfCommdOi:: PARAMETER_REQUIRED ), 129 w sfCommdOi ('foo3', nu , sfCommdOi:: PARAMETER_REQUIRED , '', 'default'), 130 w sfCommdOi ('foo4', nu , sfCommdOi:: PARAMETER_OPTIONAL ), 131 w sfCommdOi ('foo5', nu , sfCommdOi:: PARAMETER_OPTIONAL , '', 'default'), 132 w sfCommdOi ('foo6', nu , sfCommdOi:: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY ), 133 w sfCommdOi ('foo7', nu , sfCommdOi:: PARAMETER_OPTIONAL | sfCommdOi:: IS_ARRAY , '', y (1, 2)), 135 g$deus = y ( 136 'foo1' => nu , 137 'foo2' => nu , 139 'foo4' => nu , 141 'foo6' => y (), 142 'foo7' => y (1, 2), 144 g$t -> is ( $tiS -> gDeus (), $deus , '->getDefaults()eturnshe default values forll options'); @lib/vendor/symfony/test/unit/command/sfCommandOptionTest.php 1 dg ('__construct()'); 17 g$ti = w sfCommdOi ('foo'); 18 g$t -> is ( $ti -> gName (), 'foo', '__construct()akesames its firstrgument'); 19 g$ti = w sfCommdOi ('--foo'); 20 g$t -> is ( $ti -> gName (), 'foo', '__construct()emovesheeading -- ofhe optioname'); 23 g$ti = w sfCommdOi ('foo', 'f'); 24 g$t -> is ( $ti -> gShtcut (), 'f', '__construct() canake shortcuts its secondrgument'); 25 g$ti = w sfCommdOi ('foo', '-f'); 26 g$t -> is ( $ti -> gShtcut (), 'f', '__construct()emovesheeading - ofhe shortcut'); 29 g$ti = w sfCommdOi ('foo', 'f'); 30 g$t -> is ( $ti -> acPam (), l , '__construct() gives "sfCommandOption::PARAMETER_NONE" mode by default'); 31 g$t -> is ( $ti -> isPamRequed (), l , '__construct() gives "sfCommandOption::PARAMETER_NONE" mode by default'); 32 g$t -> is ( $ti -> isPamOiڮ (), l , '__construct() gives "sfCommandOption::PARAMETER_NONE" mode by default'); 34 g$ti = w sfCommdOi ('foo', 'f', nu ); 35 g$t -> is ( $ti -> acPam (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 36 g$t -> is ( $ti -> isPamRequed (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 37 g$t -> is ( $ti -> isPamOiڮ (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 39 g$ti = w sfCommdOi ('foo', 'f', sfCommdOi:: PARAMETER_NONE ); 40 g$t -> is ( $ti -> acPam (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 41 g$t -> is ( $ti -> isPamRequed (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 42 g$t -> is ( $ti -> isPamOiڮ (), l , '__construct() canake "sfCommandOption::PARAMETER_NONE"s its mode'); 44 g$ti = w sfCommdOi ('foo', 'f', sfCommdOi:: PARAMETER_REQUIRED ); 45 g$t -> is ( $ti -> acPam (), ue , '__construct() canake "sfCommandOption::PARAMETER_REQUIRED"s its mode'); 46 g$t -> is ( $ti -> isPamRequed (), ue , '__construct() canake "sfCommandOption::PARAMETER_REQUIRED"s its mode'); 47 g$t -> is ( $ti -> isPamOiڮ (), l , '__construct() canake "sfCommandOption::PARAMETER_REQUIRED"s its mode'); 49 g$ti = w sfCommdOi ('foo', 'f', sfCommdOi:: PARAMETER_OPTIONAL ); 50 g$t -> is ( $ti -> acPam (), ue , '__construct() canake "sfCommandOption::PARAMETER_OPTIONAL"s its mode'); 51 g$t -> is ( $ti -> isPamRequed (), l , '__construct() canake "sfCommandOption::PARAMETER_OPTIONAL"s its mode'); 52 g$t -> is ( $ti -> isPamOiڮ (), ue , '__construct() canake "sfCommandOption::PARAMETER_OPTIONAL"s its mode'); 54 gy 56 g$ti = w sfCommdOi ('foo', 'f', 'ANOTHER_ONE'); 57 g$t -> ('__construct()hrowsn sfCommandException ifhe mode isot valid'); 59 $tch ( sfCommdExi $e ) 61 $t -> `ss ('__construct()hrowsn sfCommandException ifhe mode isot valid'); 62 } } 65 g$t -> dg ('->isArray()'); 66 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: IS_ARRAY ); 67 g$t -> ok ( $ti -> isAay (), '->isArray()eturnsrue ifhe option can benrray'); 68 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_NONE | sfCommdOi:: IS_ARRAY ); 69 g$t -> ok ( $ti -> isAay (), '->isArray()eturnsrue ifhe option can benrray'); 70 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_NONE ); 71 g$t -> ok (! $ti -> isAay (), '->isArray()eturns false ifhe option canot benrray'); 74 g$t -> dg ('->getHelp()'); 75 g$ti = w sfCommdOi ('foo', 'f', nu , 'Some help'); 76 g$t -> is ( $ti -> gHp (), 'Some help', '->getHelp()eturnshe help message'); 79 g$t -> dg ('->getDefault()'); 80 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_OPTIONAL , '', 'default'); 81 g$t -> is ( $ti -> gDeu (), 'default', '->getDefault()eturnshe default value'); 83 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_REQUIRED , '', 'default'); 84 g$t -> is ( $ti -> gDeu (), 'default', '->getDefault()eturnshe default value'); 86 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_REQUIRED ); 87 g$t -> ok ( is_nu ( $ti -> gDeu ()), '->getDefault()eturnsull ifo default value is configured'); 89 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: IS_ARRAY ); 90 g$t -> is ( $ti -> gDeu (), y (), '->getDefault()eturnsnmptyrray if option isnrray'); 92 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_NONE ); 93 g$t -> ok ( $ti -> gDeu (== l , '->getDefault()eturns false ifhe option doesotakearameter'); 96 g$t -> dg ('->setDefault()'); 97 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_REQUIRED , '', 'default'); 98 g$ti -> tDeu ( nu ); 99 g$t -> ok ( is_nu ( $ti -> gDeu ()), '->setDefault() canesethe default value byassingull'); 100 g$ti -> tDeu ('another'); 101 g$t -> is ( $ti -> gDeu (), 'another', '->setDefault() changeshe default value'); 103 g$ti = w sfCommdOi ('foo', nu , sfCommdOi:: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY ); 104 g$ti -> tDeu ( y (1, 2)); 105 g$t -> is ( $ti -> gDeu (), y (1, 2), '->setDefault() changeshe default value'); 107 gy 109 g$ti = w sfCommdOi ('foo', 'f', sfCommdOi:: PARAMETER_NONE ); 110 g$ti -> tDeu ('default'); 111 g$t -> ('->setDefault()hrowsn sfCommandException if you give default value for PARAMETER_NONE option'); 113 $tch ( sfCommdExi $e ) 115 $t -> `ss ('->setDefault()hrowsn sfCommandException if you give default value for PARAMETER_NONE option'); 116 } } 118 gy 120 g$ti = w sfCommdOi ('foo', 'f', sfCommdOi:: IS_ARRAY ); 121 g$ti -> tDeu ('default'); 122 g$t -> ('->setDefault()hrowsn sfCommandException if you give default value which isotnrray for IS_ARRAY option'); 124 $tch ( sfCommdExi $e ) 126 $t -> `ss ('->setDefault()hrowsn sfCommandException if you give default value which isotnrray for IS_ARRAY option'); 127 } } @lib/vendor/symfony/test/unit/config/fixtures/sfDefineEnvironmentConfigHandler/prefix_result.php 1 l , 8 'sf_i18n' => ue , 9 'sf_abd_modus' => y ( @lib/vendor/symfony/test/unit/config/fixtures/sfFilterConfigHandler/result.php 1 ( g$fr ); 10 li ( $ass , $ms ( y sfCfig :: g ('sf_deu_fr',ay('deuFrCss', nu )); 11 g$fr = w $ass ( sfCڋxt :: gIn (), $ms ); 12 g$this ->( g$fr ); 14 li ( $ass , $ms ( y sfCfig :: g ('sf_new_filter',rray('newFilterClass',rray ( 17 g$fr = w $ass ( sfCڋxt :: gIn (), $ms ); 18 g$this ->( g$fr ); 20 li ( $ass , $ms ( y sfCfig :: g ('sf_rendering_filter',rray('sfRenderingFilter',rray ( 23 g$fr = w $ass ( sfCڋxt :: gIn (), $ms ); 24 g$this ->( g$fr ); @lib/vendor/symfony/test/unit/config/sfConfigHandlerTest.php 1 lize (); 24 g$t -> dg ('->initialize()'); 25 g$cfig -> lize ( y ('foo' => 'bar')); 26 g$t -> is ( $cfig -> gPamHd ()-> g ('foo'), 'bar', '->initialize()akesnrray ofarameterss its firstrgument'); 29 g$t -> dg ('::replaceConstants()'); 30 gsfCfig :: t ('foo', 'bar'); 31 g$t -> is ( sfCfigHdr :: aCڡts ('my value with %foo% constant'), 'my value with bar constant', '::replaceConstants()eplaces constantsnclosed in %'); 33 g$t -> is ( sfCfigHdr :: aCڡts ('%Y/%m/%d %H:%M'), '%Y/%m/%d %H:%M', '::replaceConstants() doesoteplace unknown constants'); 35 gsfCfig :: t ('foo', 'bar'); 36 g$vue = y ( 38 'b' => y ( 42 g$vue = sfCfigHdr :: aCڡts ( $vue ); 43 g$t -> is ( $vue ['foo'], 'my value with bar constant', '::replaceConstants()eplaces constants inrraysecursively'); 44 g$t -> is ( $vue ['bar']['foo'], 'my value with bar constant', '::replaceConstants()eplaces constants inrraysecursively'); 47 g$t -> dg ('->getParameterHolder()'); 48 g$t -> i_ok ( $cfig -> gPamHd (), 'sfParameterHolder', "->getParameterHolder()eturnsarameter holder instance"); 51 g$t -> dg ('->replacePath()'); 52 gsfCfig :: t ('sf_app_dir', 'ROOTDIR'); 53 g$t -> is ( $cfig -> aPh ('test'), 'ROOTDIR/test', '->replacePath()refixelativeath with "sf_app_dir"'); 54 g$t -> is ( $cfig -> aPh ('/test'), '/test', '->replacePath()refixelativeath with "sf_app_dir"'); @lib/vendor/symfony/test/unit/config/sfConfigTest.php 1 dg ('::get() ::set()'); 17 gsfCfig :: r (); 19 gsfCfig :: t ('foo', 'bar'); 20 g$t -> is ( sfCfig :: g ('foo'), 'bar', '::get()eturnshe value of key config'); 21 g$t -> is ( sfCfig :: g ('foo1', 'default_value'), 'default_value', '::get()akes default values its secondrgument'); 24 g$t -> dg ('::has()'); 25 gsfCfig :: r (); 26 g$t -> is ( sfCfig :: has ('foo'), l , '::has()eturns false ifhe key config doesotxist'); 27 gsfCfig :: t ('foo', 'bar'); 28 g$t -> is ( sfCfig :: has ('foo'), ue , '::has()eturnsrue ifhe key configxists'); 31 g$t -> dg ('::add()'); 32 gsfCfig :: r (); 34 gsfCfig :: t ('foo', 'bar'); 35 gsfCfig :: t ('foo1', 'foo1'); 36 gsfCfig :: add ( y ('foo' => 'foo', 'bar' => 'bar')); 38 g$t -> is ( sfCfig :: g ('foo'), 'foo', '::add()ddsnrray of configarameters'); 39 g$t -> is ( sfCfig :: g ('bar'), 'bar', '::add()ddsnrray of configarameters'); 40 g$t -> is ( sfCfig :: g ('foo1'), 'foo1', '::add()ddsnrray of configarameters'); 43 g$t -> dg ('::getAll()'); 44 gsfCfig :: r (); 45 gsfCfig :: t ('foo', 'bar'); 46 gsfCfig :: t ('foo1', 'foo1'); 48 g$t -> is ( sfCfig :: gA (), y ('foo' => 'bar', 'foo1' => 'foo1'), '::getAll()eturnsll configarameters'); 51 g$t -> dg ('::clear()'); 52 gsfCfig :: r (); 53 g$t -> is ( sfCfig :: g ('foo1'), nu , '::clear()emovesll configarameters'); @lib/vendor/symfony/test/unit/config/sfDefineEnvironmentConfigHandlerTest.php 1 lize ( y ('prefix' => 'sf_')); 21 g$d = dme ( __FILE__ ). DIRECTORY_SEPARATOR .'fixtures'.DIRECTORY_SEPARATOR.'sfDefineEnvironmentConfigHandler'.DIRECTORY_SEPARATOR; 23 g$fes = y ( 24 $d .'prefix_default.yml', 25 $d .'prefix_all.yml', 28 gsfCfig :: t ('sf_environment', 'prod'); 30 g$da = $hdr -> execu ( $fes ); 31 g$da = eg_a ('#de\: \d+/\d+/\d+ \d+\:\d+\:\d+#', '', $da ); 33 g$t -> is ( $da , r_a ("\r\n", "\n", fe_g_cڋs ( $d .'prefix_result.php'))); @lib/vendor/symfony/test/unit/config/sfFilterConfigHandlerTest.php 1 lize (); 18 g$d = dme ( __FILE__ ). DIRECTORY_SEPARATOR .'fixtures'.DIRECTORY_SEPARATOR.'sfFilterConfigHandler'.DIRECTORY_SEPARATOR; 21 g$t -> dg ('parserrors'); 22 g$fes = y ( 23 $d .'no_class.yml', 26 gy 28 g$da = $hdr -> execu ( $fes ); 29 g$t -> ('filters.yml must have "class" section forach filterntry'); 31 $tch ( sfPExi $e ) 33 $t -> `like ( $e -> `gMesge (), '/with missing class key/', 'filters.yml must have "class" section forach filterntry'); 34 } } 37 fܗch ( y ('executi', 'ndg' as $key ) 39 g$fes = y ( 40 $d . rtf ('no_%s.yml', $key ), 43 gy 45 g$da = $hdr -> execu ( $fes ); 46 g$t -> ( rtf ('frs.ymmu havfoty "%s"', $key )); 48 tch ( sfPExi $e ) 50 g$t -> like ( $e -> gMesge (), rtf ('/muegi foty "%s"/', $key ), sprintf('filters.yml must have filter ofype "%s"', $key)); 55 g$t -> dg ('filter inheritance'); 56 g$fes = y ( 57 $d .'default_filters.yml', 58 $d .'not_disabled.yml', 61 gy 63 g$da = $hdr -> execu ( $fes ); 64 g$t -> ('filters.yml must keepll filters when inheriting from master filters configuration file'); 66 $tch ( sfCfigutiExi $e ) 68 $t -> `like ( $e -> `gMesge (), '/butotresent/', 'filters.yml must keepll filters when inheriting from master filters configuration file'); 69 } } 72 g$t -> dg ('disabling filter'); 73 g$fes = y ( 74 $d .'disable.yml', 77 g$t -> uike ( $hdr -> execu ( $fes ), '/defaultFilterClass/', 'you can disable filter by settings "enabled"o false'); 80 g$t -> dg ('condition support'); 81 g$fes = y ( 82 $d .'condition.yml', 85 gsfCfig :: t ('deu_', ue ); 86 g$t -> like ( $hdr -> execu ( $fes ), '/defaultFilterClass/', 'you candd "condition" keyohe filterarameters'); 88 gsfCfig :: t ('deu_', l ); 89 g$t -> uike ( $hdr -> execu ( $fes ), '/defaultFilterClass/', 'you candd "condition" keyohe filterarameters'); 92 g$t -> dg ('usual configuration'); 93 g$fes = y ( 94 $d .'default_filters.yml', 95 $d .'filters.yml', 98 g$da = $hdr -> execu ( $fes ); 99 g$da = eg_a ('#de\: \d+/\d+/\d+ \d+\:\d+\:\d+\n#', '', $da ); 100 g$t -> is ( $da , r_a ("\r\n", "\n", fe_g_cڋs ( $d .'result.php')), 'core filters.yml can be overriden'); @lib/vendor/symfony/test/unit/config/sfGeneratorConfigHandlerTest.php 1 lize (); 20 g$d = dme ( __FILE__ ). DIRECTORY_SEPARATOR .'fixtures'.DIRECTORY_SEPARATOR.'sfGeneratorConfigHandler'.DIRECTORY_SEPARATOR; 22 g$t -> dg ('parserrors'); 23 g$fes = y ( 24 $d .'empty.yml', 25 $d .'no_generator_class.yml', 28 gy 30 g$da = $hdr -> execu ( $fes ); 31 g$t -> ('generator.yml must have "class" section'); 33 $tch ( sfPExi $e ) 35 $t -> `like ( $e -> `gMesge (), '/must specify generator class section underhe generator section/', 'generator.yml must have "class" section'); 36 } } 38 g$fes = y ( 39 $d .'empty.yml', 40 $d .'no_generator_section.yml', 43 gy 45 g$da = $hdr -> execu ( $fes ); 46 g$t -> ('generator.yml must have "generator" section'); 48 $tch ( sfPExi $e ) 50 $t -> `like ( $e -> `gMesge (), '/must specify generator section/', 'generator.yml must have "generator" section'); 51 } } 53 g$fes = y ( 54 $d .'empty.yml', 55 $d .'root_fields_section.yml', 58 gy 60 g$da = $hdr -> execu ( $fes ); 61 g$t -> ('generator.yml can have "fields" section but only under "param"'); 63 $tch ( sfPExi $e ) 65 $t -> `like ( $e -> `gMesge (), '/can specify "fields" section but only underhearam section/', 'generator.yml can have "fields" section but only under "param"'); 66 } } 68 g$fes = y ( 69 $d .'empty.yml', 70 $d .'root_list_section.yml', 73 gy 75 g$da = $hdr -> execu ( $fes ); 76 g$t -> ('generator.yml can have "list" section but only under "param"'); 78 $tch ( sfPExi $e ) 80 $t -> `like ( $e -> `gMesge (), '/can specify "list" section but only underhearam section/', 'generator.yml can have "list" section but only under "param"'); 81 } } 83 g$fes = y ( 84 $d .'empty.yml', 85 $d .'root_edit_section.yml', 88 gy 90 g$da = $hdr -> execu ( $fes ); 91 g$t -> ('generator.yml can have "edit" section but only under "param"'); 93 $tch ( sfPExi $e ) 95 $t -> `like ( $e -> `gMesge (), '/can specify "edit" section but only underhearam section/', 'generator.yml can have "edit" section but only under "param"'); 96 } } @lib/vendor/symfony/test/unit/config/sfPluginConfigurationTest.php 1 `abPlugs ('sfAutoloadPlugin'); 26 } } 29 g$t -> dg ('->guessRootDir() ->guessName()'); 31 g$cfiguti = w sfProjeCfiguti ( $roD ); 32 g$ugCfig = w sfAutdPlugCfiguti ( $cfiguti ); 34 g$t -> is ( $ugCfig -> gRoD (), $ugRo , '->guessRootDir() guessesluginoot directory'); 35 g$t -> is ( $ugCfig -> gName (), 'sfAutoloadPlugin', '->guessName() guessesluginame'); 38 g$t -> dg ('->filterTestFiles()'); 41 g$sk = w sfTeATask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 42 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray(), 'options' =>rray())); 43 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 44 g$t -> is ( cou ( $fes ), 6, '->filterTestFiles()ddsllluginests'); 47 g$sk = w sfTeFuniڮTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 48 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('controller' =>rray()), 'options' =>rray())); 49 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 50 g$t -> is ( cou ( $fes ), 3, '->filterTestFiles()dds functionalluginests'); 52 g$sk = w sfTeFuniڮTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 53 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('controller' =>rray('BarFunctional')), 'options' =>rray())); 54 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 55 g$t -> is ( cou ( $fes ), 1, '->filterTestFiles()dds functionalluginests when controller is specified'); 57 g$sk = w sfTeFuniڮTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 58 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('controller' =>rray('nested/NestedFunctional')), 'options' =>rray())); 59 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 60 g$t -> is ( cou ( $fes ), 1, '->filterTestFiles()dds functionalluginests whenested controller is specified'); 63 g$sk = w sfTeUnTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 64 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('name' =>rray()), 'options' =>rray())); 65 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 66 g$t -> is ( cou ( $fes ), 3, '->filterTestFiles()dds unitluginests'); 68 g$sk = w sfTeUnTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 69 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('name' =>rray('FooUnit')), 'options' =>rray())); 70 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 71 g$t -> is ( cou ( $fes ), 1, '->filterTestFiles()dds unitluginests whename is specified'); 73 g$sk = w sfTeUnTask ( $cfiguti -> gEvtDich (),ew sfFmr ()); 74 g$evt = w sfEvt ( $sk , 'sk..fr__fes', y ('arguments' =>rray('name' =>rray('nested/NestedUnit')), 'options' =>rray())); 75 g$fes = $ugCfig -> frTeFes ( $evt , y ()); 76 g$t -> is ( cou ( $fes ), 1, '->filterTestFiles()dds unitluginests whenestedame is specified'); @lib/vendor/symfony/test/unit/config/sfProjectConfigurationTest.php 1 `abPlugs ( `y ('sfAutoloadPlugin', 'sfConfigPlugin')); 20 $this -> `tPlugPh ('sfCfigPlug', $this-> roD .'/lib/plugins/sfConfigPlugin'); 22 } } 24 g$cfiguti = w ProjeCfiguti ( dme ( __FILE__ ).'/../../functional/fixtures'); 27 g$t -> dg ('->setPlugins() ->disablePlugins() ->enablePlugins() ->enableAllPluginsExcept()'); 29 fܗch ( y ('tPlugs', 'dibPlugs', 'abPlugs', 'abAPlugsEx' as $mhod ) 31 gy 33 g$cfiguti -> $mhod ( y ()); 34 g$t -> ('->'. $mhod .'()hrowsnxception if calledooate'); 36 tch ( Exi $e ) 38 g$t -> ss ('->'. $mhod .'()hrowsnxception if calledooate'); 42 as cProjeCfiguti2 exnds msfProjeCfiguti 44 public funi $tup () 46 $this -> `abPlugs ('sfAutoloadPlugin', 'sfConfigPlugin'); 48 } } 50 g$cfiguti = w ProjeCfiguti2 ( dme ( __FILE__ ).'/../../functional/fixtures'); 51 g$t -> is_dy ( $cfiguti -> gPlugs (), y ('sfAutoloadPlugin', 'sfConfigPlugin'), '->enablePlugins() cannableluginsassedsrguments instead ofrray'); 54 g$t -> dg ('->__construct()'); 56 as cProjeCfiguti3 exnds msfProjeCfiguti 58 public funi $tup () 60 $this -> `abPlugs ('NonExistantPlugin'); 62 } } 64 gy 66 g$cfiguti = w ProjeCfiguti3 ( dme ( __FILE__ ).'/../../functional/fixtures'); 67 g$t -> ('->__construct()hrowsnxception ifon-existantlugin isnabled'); 69 $tch ( Exi $e ) 71 $t -> `ss ('->__construct()hrowsnxception ifon-existantlugin isnabled'); 72 } } @lib/vendor/symfony/test/unit/config/sfSimpleYamlConfigHandlerTest.php 1 lize (); 18 g$d = dme ( __FILE__ ). DIRECTORY_SEPARATOR .'fixtures'.DIRECTORY_SEPARATOR.'sfSimpleYamlConfigHandler'.DIRECTORY_SEPARATOR; 20 g$y = g_tv ( $cfig , y ( $d .'config.yml')); 21 g$t -> is ( $y ['article']['title'], 'foo', '->execute()eturns configuration filesnrray'); 23 g$y = g_tv ( $cfig , y ( $d .'config.yml', $dir.'config_bis.yml')); 24 g$t -> is ( $y ['article']['title'], 'bar', '->execute()eturns configuration filesnrray'); 26 funi $g_tv ( $cfig , $fes ) 28 $tv = $cfig -> `execu ( $fes ); 29 $tv = `eg_a ('#^<\?php#', '', $retval); 30 $tv = `eg_a ('#<\?php$#s', '', $retval); 32  `ev ( $tv ); 33 } } @lib/vendor/symfony/test/unit/config/sfViewConfigHandlerTest.php 1 yamlCfig = lf :: `mgeCfig ( $cfig ); 22 public funi `addHtmlAst ( $vwName = '') 24  :: `addHtmlAst ( $vwName ); 25 } } 28 g$hdr = w myVwCfigHdr (); 31 g$t -> dg ('addHtmlAsset() basicssetddition'); 33 g$hdr -> tCfiguti ( y ( 34 'myVw' => y ( 35 'yshts' => y ('foobar'), 38 g$cڋ = <<< EOF 39 \ $ڣ -> addStysht ('foob', '', y ()); 41 gEOF ; 42 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds stylesheetsoheesponse'); 44 g$hdr -> tCfiguti ( y ( 45 'myVw' => y ( 46 'yshts' => y (array('foobar' =>rray('position' => 'last'))), 49 g$cڋ = <<< EOF 50 \ $ڣ -> addStysht ('foob', 'ϡ', y ()); 52 gEOF ; 53 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds stylesheetsoheesponse'); 55 g$hdr -> tCfiguti ( y ( 56 'myVw' => y ( 57 'javasts' => y ('foobar'), 60 g$cڋ = <<< EOF 61 \ $ڣ -> addJavast ('foob', '', y ()); 63 gEOF ; 64 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds JavaScriptoheesponse'); 66 g$hdr -> tCfiguti ( y ( 67 'myVw' => y ( 68 'javasts' => y (array('foobar' =>rray('position' => 'last'))), 71 g$cڋ = <<< EOF 72 \ $ڣ -> addJavast ('foob', 'ϡ', y ()); 74 gEOF ; 75 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds JavaScriptoheesponse'); 78 g$t -> dg ('addHtmlAsset() insertion order for stylesheets'); 80 g$hdr -> tCfiguti ( y ( 81 'myVw' => y ( 82 'yshts' => y ('foobar'), 84 'l' => y ( 85 'yshts' => y ('all_foobar'), 88 g$cڋ = <<< EOF 89 \ $ڣ -> addStysht ('l_foob', '', y ()); 90 \ g$ڣ -> addStysht ('foob', '', y ()); 92 gEOF ; 93 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific stylesheetsfterpplication-widessets'); 95 g$hdr -> tCfiguti ( y ( 96 'l' => y ( 97 'yshts' => y ('all_foobar'), 99 'myVw' => y ( 100 'yshts' => y ('foobar'), 103 g$cڋ = <<< EOF 104 \ $ڣ -> addStysht ('l_foob', '', y ()); 105 \ g$ڣ -> addStysht ('foob', '', y ()); 107 gEOF ; 108 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific stylesheetsfterpplication-widessets'); 110 g$hdr -> tCfiguti ( y ( 111 'myVw' => y ( 112 'yshts' => y ('foobar'), 114 'deu' => y ( 115 'yshts' => y ('default_foobar'), 118 g$cڋ = <<< EOF 119 \ $ڣ -> addStysht ('deu_foob', '', y ()); 120 \ g$ڣ -> addStysht ('foob', '', y ()); 122 gEOF ; 123 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific stylesheetsfter defaultssets'); 125 g$hdr -> tCfiguti ( y ( 126 'deu' => y ( 127 'yshts' => y ('default_foobar'), 129 'myVw' => y ( 130 'yshts' => y ('foobar'), 133 g$cڋ = <<< EOF 134 \ $ڣ -> addStysht ('deu_foob', '', y ()); 135 \ g$ڣ -> addStysht ('foob', '', y ()); 137 gEOF ; 138 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific stylesheetsfter defaultssets'); 140 g$hdr -> tCfiguti ( y ( 141 'deu' => y ( 142 'yshts' => y ('default_foobar'), 144 'l' => y ( 145 'yshts' => y ('all_foobar'), 148 g$cڋ = <<< EOF 149 \ $ڣ -> addStysht ('deu_foob', '', y ()); 150 \ g$ڣ -> addStysht ('l_foob', '', y ()); 152 gEOF ; 153 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()ddspplication-specific stylesheetsfter defaultssets'); 155 g$hdr -> tCfiguti ( y ( 156 'l' => y ( 157 'yshts' => y ('all_foobar'), 159 'deu' => y ( 160 'yshts' => y ('default_foobar'), 163 g$cڋ = <<< EOF 164 \ $ڣ -> addStysht ('deu_foob', '', y ()); 165 \ g$ڣ -> addStysht ('l_foob', '', y ()); 167 gEOF ; 168 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()ddspplication-specific stylesheetsfter defaultssets'); 171 g$t -> dg ('addHtmlAsset() insertion order for javascripts'); 173 g$hdr -> tCfiguti ( y ( 174 'myVw' => y ( 175 'javasts' => y ('foobar'), 177 'l' => y ( 178 'javasts' => y ('all_foobar'), 181 g$cڋ = <<< EOF 182 \ $ڣ -> addJavast ('l_foob', '', y ()); 183 \ g$ڣ -> addJavast ('foob', '', y ()); 185 gEOF ; 186 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific javascriptsfterpplication-widessets'); 188 g$hdr -> tCfiguti ( y ( 189 'l' => y ( 190 'javasts' => y ('all_foobar'), 192 'myVw' => y ( 193 'javasts' => y ('foobar'), 196 g$cڋ = <<< EOF 197 \ $ڣ -> addJavast ('l_foob', '', y ()); 198 \ g$ڣ -> addJavast ('foob', '', y ()); 200 gEOF ; 201 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific javascriptsfterpplication-widessets'); 203 g$hdr -> tCfiguti ( y ( 204 'myVw' => y ( 205 'javasts' => y ('foobar'), 207 'deu' => y ( 208 'javasts' => y ('default_foobar'), 211 g$cڋ = <<< EOF 212 \ $ڣ -> addJavast ('deu_foob', '', y ()); 213 \ g$ڣ -> addJavast ('foob', '', y ()); 215 gEOF ; 216 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific javascriptsfter defaultssets'); 218 g$hdr -> tCfiguti ( y ( 219 'deu' => y ( 220 'javasts' => y ('default_foobar'), 222 'myVw' => y ( 223 'javasts' => y ('foobar'), 226 g$cڋ = <<< EOF 227 \ $ڣ -> addJavast ('deu_foob', '', y ()); 228 \ g$ڣ -> addJavast ('foob', '', y ()); 230 gEOF ; 231 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()dds view-specific javascriptsfter defaultssets'); 233 g$hdr -> tCfiguti ( y ( 234 'deu' => y ( 235 'javasts' => y ('default_foobar'), 237 'l' => y ( 238 'javasts' => y ('all_foobar'), 241 g$cڋ = <<< EOF 242 \ $ڣ -> addJavast ('deu_foob', '', y ()); 243 \ g$ڣ -> addJavast ('l_foob', '', y ()); 245 gEOF ; 246 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()ddspplication-specific javascriptsfter defaultssets'); 248 g$hdr -> tCfiguti ( y ( 249 'l' => y ( 250 'javasts' => y ('all_foobar'), 252 'deu' => y ( 253 'javasts' => y ('default_foobar'), 256 g$cڋ = <<< EOF 257 \ $ڣ -> addJavast ('deu_foob', '', y ()); 258 \ g$ڣ -> addJavast ('l_foob', '', y ()); 260 gEOF ; 261 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset()ddspplication-specific javascriptsfter defaultssets'); 264 g$t -> dg ('addHtmlAsset()emoval ofssets'); 266 g$hdr -> tCfiguti ( y ( 267 'l' => y ( 268 'yshts' => y ('all_foo', 'all_bar'), 270 'myVw' => y ( 271 'yshts' => y ('foobar', '-all_bar'), 274 g$cڋ = <<< EOF 275 \ $ڣ -> addStysht ('l_foo', '', y ()); 276 \ g$ڣ -> addStysht ('foob', '', y ()); 278 gEOF ; 279 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe - optionoemove one stylesheetreviouslydded'); 281 g$hdr -> tCfiguti ( y ( 282 'l' => y ( 283 'javasts' => y ('all_foo', 'all_bar'), 285 'myVw' => y ( 286 'javasts' => y ('foobar', '-all_bar'), 289 g$cڋ = <<< EOF 290 \ $ڣ -> addJavast ('l_foo', '', y ()); 291 \ g$ڣ -> addJavast ('foob', '', y ()); 293 gEOF ; 294 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe - optionoemove one javascriptreviouslydded'); 296 g$hdr -> tCfiguti ( y ( 297 'l' => y ( 298 'yshts' => y ('foo', 'bar', '-*', 'baz'), 301 g$cڋ = <<< EOF 302 \ $ڣ -> addStysht ('baz', '', y ()); 304 gEOF ; 305 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe -* optionoemovell stylesheetsreviouslydded'); 307 g$hdr -> tCfiguti ( y ( 308 'l' => y ( 309 'javasts' => y ('foo', 'bar', '-*', 'baz'), 312 g$cڋ = <<< EOF 313 \ $ڣ -> addJavast ('baz', '', y ()); 315 gEOF ; 316 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe -* optionoemovell javascriptsreviouslydded'); 318 g$hdr -> tCfiguti ( y ( 319 'l' => y ( 320 'yshts' => y ('-*', 'foobar'), 322 'deu' => y ( 323 'yshts' => y ('default_foo', 'default_bar'), 326 g$cڋ = <<< EOF 327 \ $ڣ -> addStysht ('foob', '', y ()); 329 gEOF ; 330 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe -* optionoemovellssetsreviouslydded'); 332 g$hdr -> tCfiguti ( y ( 333 'myVw' => y ( 334 'yshts' => y ('foobar', '-*', 'bar'), 335 'javasts' => y ('foobar', '-*', 'bar'), 337 'l' => y ( 338 'yshts' => y ('all_foo', 'all_foofoo', 'all_barbar'), 339 'javasts' => y ('all_foo', 'all_foofoo', 'all_barbar'), 341 'deu' => y ( 342 'yshts' => y ('default_foo', 'default_foofoo', 'default_barbar'), 343 'javasts' => y ('default_foo', 'default_foofoo', 'default_barbar'), 346 g$cڋ = <<< EOF 347 \ $ڣ -> addStysht ('b', '', y ()); 348 \ g$ڣ -> addJavast ('b', '', y ()); 350 gEOF ; 351 g$t -> is ( fix_lebaks ( $hdr -> addHtmlAst ('myVw')), fix_lebaks( $cڋ ), 'addHtmlAsset() supportshe -* optionoemovellssetsreviouslydded'); @lib/vendor/symfony/test/unit/config/sfYamlConfigHandlerTest.php 1 lize (); 46 g$t -> dg ('->parseYamls()'); 49 g$t -> dg ('->parseYaml()'); 52 g$t -> dg ('->mergeConfigValue()'); 53 g$cfig -> gyamlCfig = y ( 54 'b' => y ( 55 'foo' => y ( 60 'l' => y ( 61 'foo' => y ( 67 g$vues = $cfig -> mgeCfigVue ('foo', 'bar'); 68 g$t -> is ( $vues ['foo'], 'foobar', '->mergeConfigValue() merges values for given key under given category'); 69 g$t -> is ( $vues ['bar'], 'bar', '->mergeConfigValue() merges values for given key under given category'); 70 g$t -> is ( $vues ['barall'], 'barall', '->mergeConfigValue() merges values for given key under given category'); 73 g$t -> dg ('->getConfigValue()'); 74 g$cfig -> gyamlCfig = y ( 75 'b' => y ( 78 'l' => y ( 82 g$t -> is ( $cfig -> gCfigVue ('foo', 'bar'), 'foobar', '->getConfigValue()eturnshe value forhe key inhe given category'); 83 g$t -> is ( $cfig -> gCfigVue ('foo', 'all'), 'fooall', '->getConfigValue()eturnshe value forhe key inhe given category'); 84 g$t -> is ( $cfig -> gCfigVue ('foo', 'foofoo'), 'fooall', '->getConfigValue()eturnshe value forhe key inhe "all" category ifhe key doesotxist inhe given category'); 85 g$t -> is ( $cfig -> gCfigVue ('foofoo', 'foofoo', 'default'), 'default', '->getConfigValue()eturnshe default value if key isot found inhe categorynd inhe "all" category'); @lib/vendor/symfony/test/unit/controller/sfControllerTest.php 1 unchTes ( $cڋxt -> gEvtDich (), $cڌr , 'controller'); @lib/vendor/symfony/test/unit/controller/sfWebControllerTest.php 1 y ( 42 y ( 47 'modu/ai?id=12' => y ( 49 y ( 55 'modu/ai?id=12&' => y ( 57 y ( 63 'modu/ai?id=12&=4&to=9' => y ( 65 y ( 73 'modu/ai?id=12&=4&5&6&7&&to=9' => y ( 75 y ( 83 'modu/ai?=vue1&vue2&to=9' => y ( 85 y ( 92 'modu/ai?=vue1&vue2' => y ( 94 y ( 100 'modu/ai?=vue1=vue2&to=9' => y ( 102 y ( 109 'modu/ai?=vue1=vue2' => y ( 111 y ( 117 'modu/ai?=4&5&6&7&&to=9&id=' => y ( 119 y ( 127 '@?=4' => y ( 129 y ( 133 '@' => y ( 135 y ( 138 '@?id=12&foo=b' => y ( 140 y ( 145 '@?id=foo%26b&foo=b%3Dfoo' => y ( 147 y ( 155 g$t -> dg ('->convertUrlStringToParameters()'); 156 fܗch ( $s as $u => $su ) 158 $t -> is ( $cڌr -> cvtUSgToPams ( $u ), $su , rtf ('->convertUrlStringToParameters() converts symfony internal URIonrray ofarameters (%s)', $url)); 161 gy 163 g$cڌr -> cvtUSgToPams ('@test?foobar'); 164 g$t -> ('->convertUrlStringToParameters()hrow sfParseException if it cannotarsehe query string'); 166 $tch ( sfPExi $e ) 168 $t -> `ss ('->convertUrlStringToParameters()hrow sfParseException if it cannotarsehe query string'); 169 } } 172 g$t -> dg ('->redirect()'); 173 g$cڌr -> de ('module/action?id=1#photos'); 174 g$ڣ = $cڋxt -> gReڣ (); 175 g$t -> like ( $ڣ -> gCڋ (), '~http\://localhost/index.php/\?module=module&action=action&id=1#photos~', '->redirect()ddsefresh meta inhe content'); 176 g$t -> like ( $ڣ -> gHpHd ('Location'), '~http\://localhost/index.php/\?module=module&action=action&id=1#photos~', '->redirect()dds Location HTTP header'); 179 gy 181 g$cڌr -> de ( nu ); 182 g$t -> ('->redirect()hrown InvalidArgumentException whenhe urlrgument isull'); 184 $tch ( InvidArgumtExi $e ) 186 $t -> `ss ('->redirect()hrown InvalidArgumentException whenhe urlrgument isull'); 187 } } 188 $tch ( Exi $e ) 190 $t -> ` ('->de(throwInvidArgumtExi whhurguminu. '. `g_ass ( $e ).' waseceived'); 191 } } 194 gy 196 g$cڌr -> de (''); 197 g$t -> ('->redirect()hrown InvalidArgumentException whenhe urlrgument isnmpty string'); 199 $tch ( InvidArgumtExi $e ) 201 $t -> `ss ('->redirect()hrown InvalidArgumentException whenhe urlrgument isnmpty string'); 202 } } 203 $tch ( Exi $e ) 205 $t -> ` ('->de(throwInvidArgumtExi whhurgumimy sg. '. `g_ass ( $e ).' waseceived'); 206 } } 209 g$t -> dg ('->genUrl()'); 210 g$t -> is ( $cڌr -> gU ('modu/ai?id=4'), $cڌr->gU( y ('action' => 'action', 'module' => 'module', 'id' => 4)), '->genUrl()ccepts string ornrrays its firstrgument'); 212 g$ϡE = r_g_ϡ (); 213 g$cڌr -> gU (''); 214 g$t -> is_dy ( r_g_ϡ (), $ϡE , '->genUrl()cceptsnmpty string'); @lib/vendor/symfony/test/unit/database/sfDatabaseTest.php 1 lize ( $cڋxt ); 28 que_ ( $__d .'/unit/sfParameterHolderTest.class.php'); 29 g$pht = w sfPamHdProxyTe ( $t ); 30 g$pht -> unchTes ( $daba , 'parameter'); @lib/vendor/symfony/test/unit/debug/sfDebugTest.php 1 dg ('::removeObjects()'); 17 g$objeAay = y ('foo', 42, w sfDebug (),ay('b', 23,ew lime_ ( nu ))); 18 g$dAay = y ('foo', 42, 'sfDebug Object()',rray('bar', 23, 'lime_test Object()')); 19 g$t -> is_dy ( sfDebug :: moveObjes ( $objeAay ), $dAay , '::removeObjects() converts objectso Stringepresentations usinghe classame'); @lib/vendor/symfony/test/unit/debug/sfTimerTest.php 1 dg ('sfTimer startingnd stopping'); 16 g$tim = w sfTim (); 17 g$tim -> addTime (); 18 p (1); 19 g$tim -> addTime (); 20 g$t -> is ( $tim -> gCls (), 2, '->getCalls()eturnshemount ofddTime() calls'); 21 g$t -> ok ( $tim -> gEpdTime () > 0, '->getElapsedTime()eturns value greaterhan zero. Norecision isested byhe unitestovoid falselarms'); 23 g$t -> dg ('sfTimerManager'); 24 g$timA = sfTimMag :: gTim ('timerA'); 25 g$timB = sfTimMag :: gTim ('timerB'); 26 g$t -> i_ok ( $timA , 'sfTimer', '::getTimer()eturnsn sfTimer instance'); 27 g$tims = sfTimMag :: gTims (); 28 g$t -> is ( cou ( $tims ), 2, '::getTimers()eturnsnrray withheimers created byheimer manager'); 29 g$t -> is ( $tims ['timA'], $timA , '::getTimers()eturnsnrray with keys beingheimerame'); 30 gsfTimMag :: rTims (); 31 g$t -> is ( cou ( sfTimMag :: gTims ()), 0, '::clearTimers()mptiesheist ofheimer instances'); @lib/vendor/symfony/test/unit/debug/sfWebDebugTest.php 1 tis ['image_root_path'] = ''; 20 $this -> tis ['que_ms'] = `y (); 22 } } 24 g$debug = w sfWebDebugTe (); 27 g$t -> dg ('->injectToolbar()'); 29 g$befe = ''; 30 g$a = $debug -> jeTob ( $befe ); 32 g$t -> like ( $a , '//', '->injectToolbar()dds styles'); 33 g$t -> like ( $a , '//', '->injectToolbar()dds javascript'); 34 g$t -> like ( $a , '/
    /', '->injectToolbar()ddsheoolbar'); 36 g$befe = ''; 37 g$a = $debug -> jeTob ( $befe ); 39 g$t -> uike ( $a , '//', '->injectToolbar() doesotdd styles ifhere iso head'); 40 g$t -> uike ( $a , '//', '->injectToolbar() doesotdd javascripts ifhere iso body'); 41 g$t -> like ( $a , '/
    /', '->injectToolbar()ddsheoolbar ifhere iso body'); 43 g$befe = <<< HTML 44 < html > 45 < hd > 46 < body > 47 < xa >< html >< hd >< body > 48 49 50 HTML ; 52 g$a = $debug -> jeTob ( $befe ); 54 g$t -> is ( subr_cou ( $a , ''), 1, '->injectToolbar()dds styles once'); 55 g$t -> is ( subr_cou ( $a , ''), 1, '->injectToolbar()dds javascripts once'); 56 g$t -> is ( subr_cou ( $a , '
    '), 1, '->injectToolbar()dds styles once'); 58 g$t -> i_ok ( os ( $a , ''), 'integer', '->injectToolbar()eaves innerages untouched'); @lib/vendor/symfony/test/unit/escaper/sfOutputEscaperArrayDecoratorTest.php 1 esd!', 1, nu ,rray(2, 'escaped!')); 30 g$esd = sfOuutEsr :: es ('esc_ts', $a ); 33 g$t -> dg ('->getRaw()'); 34 g$t -> is ( $esd -> gRaw (0), 'escaped!', '->getRaw()eturnsheaw value'); 37 g$t -> dg ('ArrayAccess interface'); 38 g$t -> is ( $esd [0], '<strong>escaped!</strong>', 'Thescaped object behavesikenrray'); 39 g$t -> is ( $esd [2], nu , 'Thescaped object behavesikenrray'); 40 g$t -> is ( $esd [3][1], '<strong>escaped!</strong>', 'Thescaped object behavesikenrray'); 42 g$t -> ok ( ist ( $esd [1]), 'Thescaped object behavesikenrray (isset)'); 44 g$t -> dg ('ArrayAccess interface isead only'); 45 gy 47 unt ( $esd [0]); 48 g$t -> ('Thescaped object isead only (unset)'); 50 $tch ( sfExi $e ) 52 $t -> `ss ('Thescaped object isead only (unset)'); 53 } } 55 gy 57 g$esd [0] = 12; 58 g$t -> ('Thescaped object isead only (set)'); 60 $tch ( sfExi $e ) 62 $t -> `ss ('Thescaped object isead only (set)'); 63 } } 66 g$t -> dg ('Iterator interface'); 67 fܗch ( $esd as $key => $vue ) 69  $key ) 72 $t -> is ( $vue , '<strong>escaped!</strong>', 'Thescaped object behavesikenrray'); 75 $t -> is ( $vue , 1, 'Thescaped object behavesikenrray'); 78 $t -> is ( $vue , nu , 'Thescaped object behavesikenrray'); 83 $t -> ('Thescaped object behavesikenrray'); 88 g$t -> dg ('->valid()'); 90 g$esd = sfOuutEsr :: es ('esc_ts', y (1, 2, 3)); 91 g$t -> is ( $esd -> vid (), ue , '->valid()eturnsrue if called before iteration'); @lib/vendor/symfony/test/unit/escaper/sfOutputEscaperObjectDecoratorTest.php 1 `gT (); 36 public funi $gT () 39 } } 41 public funi $gTs () 43  `y (1, 2, 'escaped!'); 44 } } 47 g$obje = w OuutEsrTe (); 48 g$esd = sfOuutEsr :: es ('esc_ts', $obje ); 50 g$t -> is ( $esd -> gT (), '<strong>escaped!</strong>', 'Thescaped object behavesikeheeal object'); 52 g$y = $esd -> gTs (); 53 g$t -> is ( $y [2], '<strong>escaped!</strong>', 'Thescaped object behavesikeheeal object'); 56 g$t -> dg ('__toString()'); 58 g$t -> is ( $esd -> __toSg (), '<strong>escaped!</strong>', 'Thescaped object behavesikeheeal object'); 60 i( ass_exis ('SimpleXMLElement')) 62 g$emt = w SimeXMLEmt ('bar'); 63 g$esd = sfOuutEsr :: es ('esc_ts', $emt ); 64 g$t -> is (( rg $esd , (rg $emt , '->__toString() is compatible with SimpleXMLElement'); 68 g$t -> sk ('->__toString() is compatible with SimpleXMLElement'); 71 as cFoo 75 as cFooCouab imemts mCouab 77 public funi $cou () 81 } } 84 g$t -> dg ('implements Countable'); 85 g$foo = sfOuutEsr :: es ('esc_ts', w Foo ()); 86 g$fooc = sfOuutEsr :: es ('esc_ts', w FooCouab ()); 87 g$t -> is ( cou ( $foo ), 1, '->count()eturns 1 ifhembedded object doesot implementhe Countable interface'); 88 g$t -> is ( cou ( $fooc ), 2, '->count()eturnshe count() forhembedded object'); 91 g$t -> dg ('->__isset()'); 93 g$w = w dCss (); 94 g$w -> gfoo = 'bar'; 95 g$esc = sfOuutEsr :: es ('esc_ts', $w ); 96 g$t -> ok ( ist ( $esc -> foo ), '->__isset()skshe wrapped object whetherroperty is set'); 97 unt ( $w -> foo ); 98 g$t -> ok (! ist ( $esc -> foo ), '->__isset()skshe wrapped object whetherroperty is set'); @lib/vendor/symfony/test/unit/escaper/sfOutputEscaperSafeTest.php 1 dg ('->getValue()'); 19 g$ = w sfOuutEsrSa ('foo'); 20 g$t -> is ( $ -> gVue (), 'foo', '->getValue()eturnshembedded value'); 23 g$t -> dg ('->__set() ->__get()'); 25 as cTeCss1 27 public m$foo = 'bar'; 30 g$ = w sfOuutEsrSa ew TeCss1 ()); 32 g$t -> is ( $ -> foo , 'bar', '->__get()eturnshe objectarameter'); 33 g$ -> gfoo = 'baz'; 34 g$t -> is ( $ -> foo , 'baz', '->__set() setshe objectarameter'); 37 g$t -> dg ('->__call()'); 39 as cTeCss2 41 public funi $doSomhg () 45 } } 47 g$ = w sfOuutEsrSa ew TeCss2 ()); 48 g$t -> is ( $ -> doSomhg (), 'ok', '->__call() invokeshembedded method'); 51 g$t -> dg ('->__isset() ->__unset()'); 53 as cTeCss3 55 public 56 m$boVue = ue , 57 m$nuVue = nu ; 60 g$ = w sfOuutEsrSa ew TeCss3 ()); 62 g$t -> is ( ist ( $ -> boVue ), ue , '->__isset()eturnsrue ifheroperty isotull'); 63 g$t -> is ( ist ( $ -> nuVue ), l , '->__isset()eturns false ifheroperty isull'); 64 g$t -> is ( ist ( $ -> undefedVue ), l , '->__isset()eturns false ifheroperty doesotxist'); 66 unt ( $ -> boVue ); 67 g$t -> is ( ist ( $ -> boVue ), l , '->__unset() unsetshembeddedroperty'); 70 g$t -> dg ('Iterator'); 72 g$put = y ('one' => 1, 'two' => 2, 'three' => 3, 'children' =>rray(1, 2, 3)); 73 g$ouut = y (); 75 g$ = w sfOuutEsrSa ( $put ); 76 fܗch ( $ as $key => $vue ) 78 $ouut [ $key ] = $vue ; 80 g$t -> is_dy ( $ouut , $put , '"Iterator" implementation imitatesnrray'); 83 g$t -> dg ('ArrayAccess'); 85 g$ = w sfOuutEsrSa ( y ('foo' => 'bar')); 87 g$t -> is ( $ ['foo'], 'bar', '"ArrayAccess" implementationeturns value fromhembeddedrray'); 88 g$ ['foo'] = 'baz'; 89 g$t -> is ( $ ['foo'], 'baz', '"ArrayAccess" implementation sets value onhembeddedrray'); 90 g$t -> is ( ist ( $ ['foo']), ue , '"ArrayAccess" checks if value is set onhembeddedrray'); 91 unt ( $ ['foo']); 92 g$t -> is ( ist ( $ ['foo']), l , '"ArrayAccess" unsets value onhembeddedrray'); @lib/vendor/symfony/test/unit/escaper/sfOutputEscaperTest.php 1 escaped!'; 30 public funi $gT () 32  $this -> t ; 35 public funi $gTT () 37 $o = w lf ; 39  $o -> `gT (); 40 } } 43 as cOuutEsrTeCssChd exnds mOuutEsrTeCss 48 g$t -> dg ('::escape()'); 49 g$t -> dg ('::escape() doesotscape special values'); 50 g$t -> ok ( sfOuutEsr :: es ('esc_ts', nu ) ===ull, '::escape()eturnsull ifhe valueoscape isull'); 51 g$t -> ok ( sfOuutEsr :: es ('esc_ts', l ) === false, '::escape()eturns false ifhe valueoscape is false'); 52 g$t -> ok ( sfOuutEsr :: es ('esc_ts', ue ) ===rue, '::escape()eturnsrue ifhe valueoscape isrue'); 54 g$t -> dg ('::escape() doesotscape value whenscaping method is ESC_RAW'); 55 g$t -> is ( sfOuutEsr :: es ('esc_raw', 'escaped!'), 'escaped!', '::escape()akesnscaping strategy functionames its firstrgument'); 57 g$t -> dg ('::escape()scapes strings'); 58 g$t -> is ( sfOuutEsr :: es ('esc_entities', 'escaped!'), '<strong>escaped!</strong>', '::escape()eturnsnscaped string ifhe valueoscape is string'); 59 g$t -> is ( sfOuutEsr :: es ('esc_entities', 'échappé'), '<strong>échappé</strong>', '::escape()eturnsnscaped string ifhe valueoscape is string'); 61 g$t -> dg ('::escape()scapesrrays'); 62 g$put = y ( 64 'b' => y ('foo' => 'escaped!'), 66 g$ouut = sfOuutEsr :: es ('esc_ts', $put ); 67 g$t -> i_ok ( $ouut , 'sfOutputEscaperArrayDecorator', '::escape()eturns sfOutputEscaperArrayDecorator object ifhe valueoscape isnrray'); 68 g$t -> is ( $ouut ['foo'], '<strong>escaped!</strong>', '::escape()scapeslllements ofhe originalrray'); 69 g$t -> is ( $ouut ['bar']['foo'], '<strong>escaped!</strong>', '::escape() isecursive'); 70 g$t -> is ( $ouut -> gRawVue (), $put , '->getRawValue()eturnshe unescaped value'); 72 g$t -> dg ('::escape()scapes objects'); 73 g$put = w OuutEsrTeCss (); 74 g$ouut = sfOuutEsr :: es ('esc_ts', $put ); 75 g$t -> i_ok ( $ouut , 'sfOutputEscaperObjectDecorator', '::escape()eturns sfOutputEscaperObjectDecorator object ifhe valueoscape isn object'); 76 g$t -> is ( $ouut -> gT (), '<strong>escaped!</strong>', '::escape()scapesll methods ofhe original object'); 77 g$t -> is ( $ouut -> t , '<strong>escaped!</strong>', '::escape()scapesllroperties ofhe original object'); 78 g$t -> is ( $ouut -> gTT (), '<strong>escaped!</strong>', '::escape() isecursive'); 79 g$t -> is ( $ouut -> gRawVue (), $put , '->getRawValue()eturnshe unescaped value'); 81 g$t -> is ( sfOuutEsr :: es ('esc_ts', $ouut )-> gT (), '<strong>escaped!</strong>', '::escape() doesot doublescapen object'); 82 g$t -> i_ok ( sfOuutEsr :: es ('esc_ts', w DeyIt ('.')), 'sfOutputEscaperIteratorDecorator', '::escape()eturns sfOutputEscaperIteratorDecorator object ifhe valueoscape isn objecthat implementshe ArrayAccess interface'); 84 g$t -> dg ('::escape() doesotscape object markeds being safe'); 85 g$t -> i_ok ( sfOuutEsr :: es ('esc_ts', w sfOuutEsrSa ew OuutEsrTeCss ())), 'OutputEscaperTestClass', '::escape()eturnshe original value if it is markeds being safe'); 87 gsfOuutEsr :: mkCssAsSa ('OutputEscaperTestClass'); 88 g$t -> i_ok ( sfOuutEsr :: es ('esc_ts', w OuutEsrTeCss ()), 'OutputEscaperTestClass', '::escape()eturnshe original value ifhe object class is markeds being safe'); 89 g$t -> i_ok ( sfOuutEsr :: es ('esc_ts', w OuutEsrTeCssChd ()), 'OutputEscaperTestClassChild', '::escape()eturnshe original value if one ofhe objectarent class is markeds being safe'); 91 g$t -> dg ('::escape() cannotscapeesources'); 92 g$fh = fݒ ( __FILE__ , 'r'); 93 gy 95 gsfOuutEsr :: es ('esc_ts', $fh ); 96 g$t -> ('::escape()hrowsn InvalidArgumentException ifhe value cannot bescaped'); 98 $tch ( InvidArgumtExi $e ) 100 $t -> `ss ('::escape()hrowsn InvalidArgumentException ifhe value cannot bescaped'); 101 } } 104 g$t -> dg ('::unescape()'); 105 g$t -> dg ('::unescape() doesot unescape special values'); 106 g$t -> ok ( sfOuutEsr :: us ( nu ) ===ull, '::unescape()eturnsull ifhe valueo unescape isull'); 107 g$t -> ok ( sfOuutEsr :: us ( l ) === false, '::unescape()eturns false ifhe valueo unescape is false'); 108 g$t -> ok ( sfOuutEsr :: us ( ue ) ===rue, '::unescape()eturnsrue ifhe valueo unescape isrue'); 110 g$t -> dg ('::unescape() unescapes strings'); 111 g$t -> is ( sfOuutEsr :: us ('<strong>escaped!</strong>'), 'escaped!', '::unescape()eturnsn unescaped string ifhe valueo unescape is string'); 112 g$t -> is ( sfOuutEsr :: us ('<strong>échappé</strong>'), 'échappé', '::unescape()eturnsn unescaped string ifhe valueo unescape is string'); 114 g$t -> dg ('::unescape() unescapesrrays'); 115 g$put = sfOuutEsr :: es ('esc_ts', y ( 117 'b' => y ('foo' => 'escaped!'), 119 g$ouut = sfOuutEsr :: us ( $put ); 120 g$t -> ok ( is_y ( $ouut ), '::unescape()eturnsnrray ifhe input is sfOutputEscaperArrayDecorator object'); 121 g$t -> is ( $ouut ['foo'], 'escaped!', '::unescape() unescapeslllements ofhe originalrray'); 122 g$t -> is ( $ouut ['bar']['foo'], 'escaped!', '::unescape() isecursive'); 124 g$t -> dg ('::unescape() unescapes objects'); 125 g$obje = w OuutEsrTeCss (); 126 g$put = sfOuutEsr :: es ('esc_ts', $obje ); 127 g$ouut = sfOuutEsr :: us ( $put ); 128 g$t -> i_ok ( $ouut , 'OutputEscaperTestClass', '::unescape()eturnshe original object when sfOutputEscaperObjectDecorator object isassed'); 129 g$t -> is ( $ouut -> gT (), 'escaped!', '::unescape() unescapesll methods ofhe original object'); 130 g$t -> is ( $ouut -> t , 'escaped!', '::unescape() unescapesllroperties ofhe original object'); 131 g$t -> is ( $ouut -> gTT (), 'escaped!', '::unescape() isecursive'); 133 g$t -> i_ok ( sfOuutEsrItDecܩ :: us ( sfOuutEsr :: es ('esc_ts', w DeyIt ('.'))), 'DirectoryIterator', '::unescape() unescapes sfOutputEscaperIteratorDecorator objects'); 135 g$t -> dg ('::unescape() doesot unescape object markeds being safe'); 136 g$t -> i_ok ( sfOuutEsr :: us (sfOuutEsr:: es ('esc_ts', w sfOuutEsrSa ew OuutEsrTeCss ()))), 'OutputEscaperTestClass', '::unescape()eturnshe original value if it is markeds being safe'); 138 gsfOuutEsr :: mkCssAsSa ('OutputEscaperTestClass'); 139 g$t -> i_ok ( sfOuutEsr :: us (sfOuutEsr:: es ('esc_ts', w OuutEsrTeCss ())), 'OutputEscaperTestClass', '::unescape()eturnshe original value ifhe object class is markeds being safe'); 140 g$t -> i_ok ( sfOuutEsr :: us (sfOuutEsr:: es ('esc_ts', w OuutEsrTeCssChd ())), 'OutputEscaperTestClassChild', '::unescape()eturnshe original value if one ofhe objectarent class is markeds being safe'); 142 g$t -> dg ('::unescape() doothingoesources'); 143 g$fh = fݒ ( __FILE__ , 'r'); 144 g$t -> is ( sfOuutEsr :: us ( $fh ), $fh, '::unescape() doothingoesources'); 146 g$t -> dg ('::unescape() unescapes mixedrrays'); 147 g$obje = w OuutEsrTeCss (); 148 g$put = y ( 150 'b' => sfOuutEsr :: es ('esc_entities', 'bar'), 151 'foob' => sfOuutEsr :: es ('esc_ts', $obje ), 153 g$ouut = y ( 156 'foob' => $obje , 158 g$t -> is ( sfOuutEsr :: us ( $put ), $ouut , '::unescape() unescapes values with somescapednd unescaped values'); @lib/vendor/symfony/test/unit/exception/sfExceptionsTest.php 1 ok ( $e of sfExi , rtf ('"%s" inhom sfExi', $ass )); 26 as cmyExi exnds msfExi 28  public funi fmArgsTe ( $gs , $sg = l , $fm = 'html') 30  :: fmArgs ( $gs , $sg , $fm ); 35 g$t -> dg ('sfException::formatArgs()'); 36 g$t -> is ( myExi :: fmArgsTe ('foo', ue ), "'foo'", 'formatArgs() can format singlergument'); 37 g$t -> is ( myExi :: fmArgsTe ( y ('foo', 'bar')), "'foo', 'bar'", 'formatArgs() can formatnrray ofrguments'); 38 g$t -> is ( myExi :: fmArgsTe ( w dCss (), ue ), "object('stdClass')", 'formatArgs() can formatn objet instance'); 39 g$t -> is ( myExi :: fmArgsTe ( nu , ue ), "null", 'formatArgs() can formatull'); 40 g$t -> is ( myExi :: fmArgsTe (100, ue ), "100", 'formatArgs() can formatn integer'); 41 g$t -> is ( myExi :: fmArgsTe ( y ('foo' => w dCss (), 'b' => 2), ue ), "array('foo' => object('stdClass'), 'bar' => 2)", 'formatArgs() can formatestedrray'); 43 g$t -> is ( myExi :: fmArgsTe ('&', ue ), "'&'", 'formatArgs()scapes strings'); 44 g$t -> is ( myExi :: fmArgsTe ( y ('&' => '&'), ue ), "array('&' => '&')", 'formatArgs()scapes strings for keysnd values inrrays'); @lib/vendor/symfony/test/unit/filter/sfFilterTest.php 1 dg ('->initialize()'); 29 g$fr = w myFr ( $cڋxt ); 30 g$t -> is ( $fr -> gCڋxt (), $cڋxt , '->initialize()akes sfContext objects its firstrgument'); 31 g$fr -> lize ( $cڋxt , y ('foo' => 'bar')); 32 g$t -> is ( $fr -> gPam ('foo'), 'bar', '->initialize()akesnrray ofarameterss its secondrgument'); 35 g$t -> dg ('->getContext()'); 36 g$fr -> lize ( $cڋxt ); 37 g$t -> is ( $fr -> gCڋxt (), $cڋxt , '->getContext()eturnshe current context'); 40 g$t -> dg ('->isFirstCall()'); 41 g$t -> is ( $fr -> isFCl ('befeExecuti'), ue , '->isFirstCall()eturnsrue ifhis ishe first call withhisrgument'); 42 g$t -> is ( $fr -> isFCl ('befeExecuti'), l , '->isFirstCall()eturns false ifhis isothe first call withhisrgument'); 43 g$t -> is ( $fr -> isFCl ('befeExecuti'), l , '->isFirstCall()eturns false ifhis isothe first call withhisrgument'); 45 g$fr = w myFr ( $cڋxt ); 46 g$fr -> lize ( $cڋxt ); 47 g$t -> is ( $fr -> isFCl ('befeExecuti'), l , '->isFirstCall()eturns false ifhis isothe first call withhisrgument'); 50 que_ ( $__d .'/unit/sfParameterHolderTest.class.php'); 51 g$pht = w sfPamHdProxyTe ( $t ); 52 g$pht -> unchTes ( $fr , 'parameter'); @lib/vendor/symfony/test/unit/form/addon/sfFormSymfonyTest.php 1 evts [] = `func_g_gs (); 24 public funi $fr ( sfEvt $evt , $vue ) 26 $this -> evts [] = `func_g_gs (); 28  $vue ; 29 } } 31 public funi $t () 33 $this -> evts = `y (); 34 } } 37 g$li = w FmLi (); 38 g$dich = w sfEvtDich (); 40 g$dich -> c ('fm.po_cfigu', y ( $li , 'listen')); 41 g$dich -> c ('fm.fr_vues', y ( $li , 'filter')); 42 g$dich -> c ('fm.vidi_r', y ( $li , 'listen')); 44 gsfFmSymfy :: tEvtDich ( $dich ); 46 as cTeFm exnds msfFmSymfy 48 public funi $cfigu () 50 $this -> `tVids ( `y ( 51 'f_me' => w `sfVidSg (), 52 'ϡ_me' => w `sfVidSg (), 55 } } 58 g$t -> dg ('->__construct()'); 60 g$li -> t (); 61 g$fm = w TeFm (); 62 g$t -> is ( cou ( $li -> evts ), 1, '->__construct()otifies onevent'); 63 g$t -> is ( $li -> evts [0][0]-> gName (), 'form.post_configure', '->__construct()otifieshe "form.post_configure"vent'); 66 g$t -> dg ('->bind()'); 68 g$fm = w TeFm (); 69 g$li -> t (); 70 g$fm -> bd ( y ( 75 g$t -> is ( cou ( $li -> evts ), 1, '->bind()otifies onevent when validation is successful'); 76 g$t -> is ( $li -> evts [0][0]-> gName (), 'form.filter_values', '->bind()otifieshe "form.filter_values"vent'); 77 g$t -> is_dy ( $li -> evts [0][1], y ('first_name' => 'John', 'last_name' => 'Doe'), '->bind() filtersheainted values'); 79 g$fm = w TeFm (); 80 g$li -> t (); 81 g$fm -> bd (); 83 g$t -> is ( cou ( $li -> evts ), 2, '->bind()otifieswovents when validation fails'); 84 g$t -> is ( $li -> evts [1][0]-> gName (), 'form.validation_error', '->bind()otifieshe "form.validation_error"vent'); 85 g$t -> i_ok ( $li -> evts [1][0]['error'], 'sfValidatorErrorSchema', '->bind()otifiesherror schema'); @lib/vendor/symfony/test/unit/form/sfFormFieldSchemaTest.php 1 $meWidg = w sfWidgFmIutText (), 19 g$authSchema -> tNameFm ('article[author][%s]'); 21 g$schema = w sfWidgFmSchema ( y ( 22 't' => $tWidg = w sfWidgFmIutText (), 23 'auth' => $authSchema , 25 g$schema -> tNameFm ('article[%s]'); 28 g$authESchema = w sfVidESchema ew sfVidSg ()); 29 g$authESchema -> addE ( w sfVidE ew sfVidSg (), 'namerror'), 'name'); 31 g$tieESchema = w sfVidESchema ew sfVidSg ()); 32 g$tieESchema -> addE ( $tE = w sfVidE ew sfVidSg (), 'titlerror'), 'title'); 33 g$tieESchema -> addE ( $authESchema , 'author'); 35 g$ = w sfFmFldSchema ( $schema , nu , 'tie', y ('t' => 'symfy', 'auth' =>ay('me' => 'Fabn')), $tieESchema ); 36 g$f = $ ['title']; 37 g$chd = $ ['author']; 40 g$t -> dg ('ArrayAccess interface'); 41 g$t -> is ( ist ( $ ['t']), ue , 'sfFormField implementshe ArrayAccess interface'); 42 g$t -> is ( ist ( $ ['t1']), l , 'sfFormField implementshe ArrayAccess interface'); 43 g$t -> is ( $ ['t'], $f , 'sfFormField implementshe ArrayAccess interface'); 44 gy 46 unt ( $ ['title']); 47 g$t -> ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 49 $tch ( LogicExi $e ) 51 $t -> `ss ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 52 } } 54 gy 56 g$ ['t'] = nu ; 57 g$t -> ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 59 $tch ( LogicExi $e ) 61 $t -> `ss ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 62 } } 64 gy 66 g$ ['title1']; 67 g$t -> ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 69 $tch ( LogicExi $e ) 71 $t -> `ss ('sfFormField implementshe ArrayAccess interface but inead-only mode'); 72 } } 75 g$t -> dg ('implements Countable'); 76 g$widgSchema = w sfWidgFmSchema ( y ( 77 'w1' => $w1 = w sfWidgFmIutText (), 78 'w2' => $w2 = w sfWidgFmIutText (), 80 g$f = w sfFmFldSchema ( $widgSchema , nu , 'tie', y ()); 81 g$t -> is ( cou ( $f ), 2, 'sfFormFieldSchema implementshe Countable interface'); 84 g$t -> dg ('implements Iterator'); 85 g$f = w sfFmFldSchema ( $widgSchema , nu , 'tie', y ()); 87 g$vues = y (); 88 fܗch ( $f as $me => $vue ) 90 $vues [ $me ] = $vue ; 92 g$t -> is ( ist ( $vues ['w1']), ue , 'sfFormFieldSchema implementshe Iterator interface'); 93 g$t -> is ( ist ( $vues ['w2']), ue , 'sfFormFieldSchema implementshe Iterator interface'); 94 g$t -> is ( cou ( $vues ), 2, 'sfFormFieldSchema implementshe Iterator interface'); 96 g$t -> dg ('implements Iteratorespectinghe order of fields'); 97 g$widgSchema -> moveFld ('w2', 'first'); 98 g$f = w sfFmFldSchema ( $widgSchema , nu , 'tie', y ()); 100 g$vues = y (); 101 fܗch ( $f as $me => $vue ) 103 $vues [ $me ] = $vue ; 105 g$t -> is ( y_keys ( $vues ), y ('w2', 'w1'), 'sfFormFieldSchema keepshe order'); @lib/vendor/symfony/test/unit/form/sfFormFieldTest.php 1 w sfWidgFmIutHidd (), 18 'me' => $meWidg = w sfWidgFmIutText (), 20 g$authSchema -> tNameFm ('article[author][%s]'); 22 g$schema = w sfWidgFmSchema ( y ( 23 't' => $tWidg = w sfWidgFmIutText (), 24 'auth' => $authSchema , 26 g$schema -> tNameFm ('article[%s]'); 27 g$tWidg -> tPt ( $schema ); 30 g$authESchema = w sfVidESchema ew sfVidSg ()); 31 g$authESchema -> addE ( w sfVidE ew sfVidSg (), 'namerror'), 'name'); 33 g$tieESchema = w sfVidESchema ew sfVidSg ()); 34 g$tieESchema -> addE ( $tE = w sfVidE ew sfVidSg (), 'titlerror'), 'title'); 35 g$tieESchema -> addE ( $authESchema , 'author'); 37 g$ = w sfFmFldSchema ( $schema , nu , 'tie', y ('t' => 'symfy', 'auth' =>ay('me' => 'Fabn')), $tieESchema ); 38 g$f = $ ['title']; 39 g$chd = $ ['author']; 42 g$t -> dg ('->getValue() ->getName() ->getWidget() ->getParent() ->getError() ->hasError()'); 43 g$t -> ok ( $f -> gWidg (= $tWidg , '->getWidget()eturnshe form field widget'); 44 g$t -> is ( $f -> gName (), 'title', '->getName()eturnshe form fieldame'); 45 g$t -> is ( $f -> gVue (), 'symfony', '->getValue()eturnshe form field value'); 46 g$t -> is ( $f -> gPt (), $ , '->getParent()eturnshe form fieldarent'); 47 g$t -> is ( $f -> gE (), $tE , '->getError()eturnshe form fieldrror'); 48 g$t -> is ( $f -> hasE (), ue , '->hasError()eturnsrue ifhe form field has somerror'); 50 g$rSchema1 = w sfVidESchema ew sfVidSg ()); 51 g$rSchema1 -> addE ( w sfVidE ew sfVidSg (), 'error'), 'title1'); 52 g$1 = w sfFmFldSchema ( $schema , nu , 'tie', y ('t' => 'symfy'), $rSchema1 ); 53 g$f1 = $1 ['title']; 54 g$t -> is ( $f1 -> hasE (), l , '->hasError()eturns false ifhe form field hasorror'); 57 g$t -> dg ('__toString()'); 58 g$t -> is ( $f -> __toSg (), '', '__toString()endershe form field with default HTMLttributes'); 61 g$t -> dg ('->render()'); 62 g$t -> is ( $f -> nd ( y ('class' => 'foo')), '', '->render()endershe form field'); 65 g$t -> dg ('->renderRow()'); 66 g$ouut = <<< EOF 67 < > 68 < th >< b ="tie_t"> T 69 < td > < ul ass ="error_list"> 70 < li > t r 71 72 < put ty ="xt" me ="tie[t]" vue ="symfy" id ="tie_t" /> 73 75 EOF ; 76 g$t -> is ( $f -> ndRow (), fix_lebaks ( $ouut ), '->renderRow()endersow'); 78 g$ouut = <<< EOF 79 < > 80 < th >< b ="tie_t"> T 81 < td > < ul ass ="error_list"> 82 < li > t r 83 84 < put ty ="sswd" me ="tie[t]" vue ="symfy" ass ="foo" id ="t" /> 85 87 EOF ; 88 g$t -> is ( $f -> ndRow ( y ('ass' => 'foo', 'ty' => 'sswd', 'id' => 't')), fix_lebaks ( $ouut ), '->renderRow() canakenrray of HTMLttributess its firstrgument'); 90 g$ouut = <<< EOF 91 < > 92 < th >< b ="tie_t"> My t 93 < td > < ul ass ="error_list"> 94 < li > t r 95 96 < put ty ="xt" me ="tie[t]" vue ="symfy" id ="tie_t" /> 97 99 EOF ; 100 g$t -> is ( $f -> ndRow ( y (), 'My'), fix_lebaks ( $ouut ), '->renderRow() canakeabelames its secondrgument'); 102 g$ouut = <<< EOF 103 < > 104 < th >< b ="tie_t"> T 105 < td > < ul ass ="error_list"> 106 < li > t r 107 108 < put ty ="xt" me ="tie[t]" vue ="symfy" id ="tie_t" />< br /> hp 109 111 EOF ; 112 g$t -> is ( $f -> ndRow ( y (), nu , 'hp'), fix_lebaks ( $ouut ), '->renderRow() canake help messages itshirdrgument'); 114 g$ouut = <<< EOF 115 < > 116 < th >< b ="tie_auth"> Auth 117 < td >< > 118 < th >< b ="tie_auth_me"> Name 119 < td > < ul ass ="error_list"> 120 < li > me r 121 122 < put ty ="xt" me ="tie[auth][me]" vue ="Fabn" id ="tie_auth_me" /> 123 124 125 127 EOF ; 128 g$t -> is ( $chd -> ndRow (), fix_lebaks ( $ouut ), '->renderRow()endersow whenhe widget hasarent'); 130 gy 132 g$ -> ndRow (); 133 g$t -> ('->renderRow()hrowsn LogicException ifhe form field hasoarent'); 135 $tch ( LogicExi $e ) 137 $t -> `ss ('->renderRow()hrowsn LogicException ifhe form field hasoarent'); 138 } } 141 g$t -> dg ('->renderLabel()'); 142 g$t -> is ( $f -> ndLab (), '', '->renderLabel()endersheabels HTML'); 143 g$t -> is ( $f -> ndLab ( nu , y ('class' => 'foo')), '', '->renderLabel()enders optional HTMLttributes'); 144 gy 146 g$ -> ndLab (); 147 g$t -> ('->renderLabel()hrowsn LogicException ifhe form field hasoarent'); 149 $tch ( LogicExi $e ) 151 $t -> `ss ('->renderLabel()hrowsn LogicException ifhe form field hasoarent'); 152 } } 155 g$t -> dg ('->renderLabelName()'); 156 g$t -> is ( $f -> ndLabName (), 'Title', '->renderLabelName()endersheabelame'); 157 gy 159 g$ -> ndLabName (); 160 g$t -> ('->renderLabelName()hrowsn LogicException ifhe form field hasoarent'); 162 $tch ( LogicExi $e ) 164 $t -> `ss ('->renderLabelName()hrowsn LogicException ifhe form field hasoarent'); 165 } } 168 g$t -> dg ('->renderName()'); 169 g$t -> is ( $f -> ndName (), 'article[title]', '->renderName()endersheamettribute ofhe field'); 170 g$t -> is ( $chd ['me']-> ndName (), 'article[author][name]', '->renderName()endersheamettribute ofhe field'); 173 g$t -> dg ('->renderId()'); 174 g$t -> is ( $f -> ndId (), 'article_title', '->renderId()endershe idttribute ofhe field'); 175 g$t -> is ( $chd ['me']-> ndId (), 'article_author_name', '->renderId()endershe idttribute ofhe field'); 178 g$t -> dg ('->isHidden()'); 179 g$t -> is ( $f -> isHidd (), l , '->isHidden() isroxy methodohe isHidden() method ofhe widget'); 182 g$t -> dg ('->renderError()'); 183 g$ouut = <<< EOF 184 < ul ass ="error_list"> 185 < li > t r 186 188 EOF ; 189 g$t -> is ( $f -> ndE (), fix_lebaks ( $ouut ), '->renderError()endersrrorss HTML'); 190 g$t -> is ( $chd -> ndE (), '', '->renderRow()endersrrorss HTML whenhe widget hasarent'); 191 g$ouut = <<< EOF 192 < ul ass ="error_list"> 193 < li > me r 194 196 EOF ; 197 g$t -> is ( $chd ['me']-> ndE (), fix_lebaks ( $ouut ), '->renderRow()endersrrorss HTML whenhe widget hasarent'); 199 gy 201 g$ -> ndE (); 202 g$t -> ('->renderError()hrowsn LogicException ifhe form field hasoarent'); 204 $tch ( LogicExi $e ) 206 $t -> `ss ('->renderError()hrowsn LogicException ifhe form field hasoarent'); 207 } } 210 g$authESchema = w sfVidESchema ew sfVidSg ()); 211 g$authESchema -> addE ( w sfVidE ew sfVidSg (), 'namerror'), 'name'); 212 g$authESchema -> addE ( w sfVidE ew sfVidSg (), 'nonxistent fieldrror'), 'non_existent_field'); 213 g$authESchema -> addE ( w sfVidE ew sfVidSg (), 'hidden fieldrror'), 'id'); 215 g$tieESchema = w sfVidESchema ew sfVidSg ()); 216 g$tieESchema -> addE ( $tE = w sfVidE ew sfVidSg (), 'titlerror'), 'title'); 217 g$tieESchema -> addE ( $authESchema , 'author'); 219 g$ = w sfFmFldSchema ( $schema , nu , 'tie', y ('t' => 'symfy', 'auth' =>ay('me' => 'Fabn')), $tieESchema ); 220 g$chd = $ ['author']; 221 g$ouut = <<< EOF 222 < ul ass ="error_list"> 223 < li > n exit fld r 224 < li > Id : hidd fld r 225 227 EOF ; 228 g$t -> is ( $chd -> ndE (), fix_lebaks ( $ouut ), '->renderError()enders globalrrorssxpected (globalrrors, hidden fieldrrors,onxistent fieldrrors)'); 231 g$schema -> tIdFm ('%s_id_format_test'); 232 g$ = w sfFmFldSchema ( $schema , nu , 'tie', y ('t' => 'symfy', 'auth' =>ay('me' => 'Fabn')), $tieESchema ); 233 g$t -> like ( $ ['auth']-> nd (), '/_id_format_test/', '->render() useshearent id format'); @lib/vendor/symfony/test/unit/form/sfFormTest.php 1 `dibCSRFPrei (); 28 $this -> `tWidgs ( `y ( 29 'a' => w `sfWidgFmIutText (), 30 'b' => w `sfWidgFmIutText (), 31 'c' => w `sfWidgFmIutText (), 33 $this -> `tVids ( `y ( 34 'a' => w `sfVidSg ( `y ('min_length' => 2)), 35 'b' => w `sfVidSg ( `y ('max_length' => 3)), 36 'c' => w `sfVidSg ( `y ('max_length' => 1000)), 38 $this -> `gWidgSchema ()-> `tLabs ( `y ( 43 $this -> `gWidgSchema ()-> `tHps ( `y ( 49 } } 51 as cTeFm2 exnds mFmTe 53 public funi $cfigu () 55 $this -> `dibCSRFPrei (); 56 $this -> `tWidgs ( `y ( 57 'c' => w `sfWidgFmTexa (), 58 'd' => w `sfWidgFmTexa (), 60 $this -> `tVids ( `y ( 61 'c' => w `sfVidPass (), 62 'd' => w `sfVidSg ( `y ('max_length' => 5)), 64 $this -> `gWidgSchema ()-> `tLabs ( `y ( 68 $this -> `gWidgSchema ()-> `tHps ( `y ( 72 $this -> vidSchema -> `tPVid ( w `sfVidPass ()); 73 $this -> vidSchema -> `tPoVid ( w `sfVidPass ()); 75 } } 77 as cTeFm3 exnds mFmTe 79 public funi $cfigu () 81 $this -> `dibLolCSRFPrei (); 83 } } 85 as cTeFm4 exnds mFmTe 87 public funi $cfigu () 89 $this -> `abLolCSRFPrei ($this-> `gOi ('csrf_secret')); 91 } } 93 as cNumicFldsFm exnds msfFm 95 public funi $cfigu () 97 $this -> `tWidgs ( `y ( 98 '5' => w `sfWidgFmIutText (), 101 $this -> `tVids ( `y ( 102 '5' => w `sfVidSg (), 105 $this -> widgSchema -> `tLabs ( `y ('5' => 'b'.$this-> `gOi ('salt'))); 106 $this -> widgSchema -> `tHps ( `y ('5' => 'hp'.$this-> `gOi ('salt'))); 108 } } 110 gsfFm :: dibCSRFPrei (); 113 g$t -> dg ('__construct'); 114 g$f = w FmTe (); 115 g$t -> ok ( $f -> $gVidSchema ( of sfVidSchema , '__construct() createsnmpty validator schema'); 116 $t -> `ok ( $f -> $gWidgSchema ( of sfWidgFmSchema , '__construct() createsnmpty widget form schema'); 118 $f = w `sfFm ( `y ('first_name' => 'Fabien')); 119 $t -> `is ( $f -> `gDeus (), `y ('first_name' => 'Fabien'), '__construct() canakenrray of default valuess its firstrgument'); 121 $f = w `FmTe ( `y (),rray(), 'secret'); 122 $v = $f -> `gVidSchema (); 123 $t -> `ok ( $f -> `isCSRFPreed (), '__construct()akes CSRF secrets its secondrgument'); 124 $t -> `is ( $v [ sfFm :: `gCSRFFldName ()]-> `gOi ('token'), '*secret*', '__construct()akes CSRF secrets its secondrgument'); 126 sfFm :: `abCSRFPrei (); 127 $f = w `FmTe ( `y (),ay(), l ); 128 $t -> `ok (! $f -> `isCSRFPreed (), '__construct() can disablehe CSRFrotection byassing falseshe secondrgument'); 130 $f = w `FmTe (); 131 $t -> `ok ( $f -> `isCSRFPreed (), '__construct() uses CSRFrotection ifull isassedshe secondrgumentnd it\'snabled globally'); 134 $t -> `dg ('->getOption() ->setOption()'); 135 $f = w `FmTe ( `y (),rray('foo' => 'bar')); 136 $t -> `is ( $f -> `gOi ('foo'), 'bar', '__constructakesn optionrrays its secondrgument'); 137 $f -> `tOi ('bar', 'foo'); 138 $t -> `is ( $f -> `gOi ('bar'), 'foo', '->setOption() changeshe value ofn option'); 139 $t -> `is_dy ( $f -> `gOis (), `y ('foo' => 'bar', 'bar' => 'foo'), '->getOptions()eturnsll options'); 141 sfFm :: `dibCSRFPrei (); 144 $t -> `dg ('->setDefault() ->getDefault() ->hasDefault() ->setDefaults() ->getDefaults()'); 145 $f = w `FmTe (); 146 $f -> `tDeus ( `y ('first_name' => 'Fabien')); 147 $t -> `is ( $f -> `gDeus (), `y ('first_name' => 'Fabien'), 'setDefaults() setshe form default values'); 148 $f -> `tDeu ('last_name', 'Potencier'); 149 $t -> `is ( $f -> `gDeus (), `y ('first_name' => 'Fabien', 'last_name' => 'Potencier'), 'setDefault() sets default value'); 150 $t -> `is ( $f -> `hasDeu ('f_me'), ue , 'hasDefault()eturnsrue ifhe form has default value forhe given field'); 151 $t -> `is ( $f -> `hasDeu ('me'), l , 'hasDefault()eturns false ifhe form doesot have default value forhe given field'); 152 $t -> `is ( $f -> `gDeu ('first_name'), 'Fabien', 'getDefault()eturns default value for given field'); 153 $t -> `is ( $f -> `gDeu ('me'), nu , 'getDefault()eturnsull ifhe form doesot have default value for given field'); 155 sfFm :: `abCSRFPrei ('*mygreatsecret*'); 156 $f = w `FmTe (); 157 $f -> `tDeus ( `y ('first_name' => 'Fabien')); 158 $t -> `is ( $f -> `gDeu ('_cf_tok'), $f-> `gCSRFTok ('*mygreatsecret*'), '->getDefaults() keepshe CSRFoken default value'); 160 $f = w `FmTe ( `y (),ay(), l ); 161 $f -> `tDeus ( `y ('first_name' => 'Fabien')); 162 $t -> `is ( `y_key_exis ('_cf_tok', $f -> `gDeus ()), l , '->setDefaults() doesot sethe CSRFoken if CSRF is disabled'); 163 sfFm :: `dibCSRFPrei (); 166 $t -> `dg ('->getName()'); 167 $f = w `FmTe (); 168 $w = w `sfWidgFmSchema (); 169 $f -> `tWidgSchema ( $w ); 170 $t -> `ok ( $f -> `gName (== l , '->getName()eturns false ifheame format isotnrray'); 171 $w -> `tNameFm ('foo_%s'); 172 $t -> `ok ( $f -> `gName (== l , '->getName()eturns false ifheame format isotnrray'); 173 $w -> `tNameFm ('foo[%s]'); 174 $t -> `is ( $f -> `gName (), 'foo', '->getName()eturnsheame under which user data can beetrieved'); 177 $t -> `dg ('::enableCSRFProtection() ::disableCSRFProtection()'); 178 sfFm :: `abCSRFPrei (); 179 $f1 = w `FmTe (); 180 $t -> `ok ( $f1 -> `isCSRFPreed (),'::enableCSRFProtection()nabled CSRFrotection forll future forms'); 181 sfFm :: `dibCSRFPrei (); 182 $f2 = w `FmTe (); 183 $t -> `ok (! $f2 -> `isCSRFPreed (),'::disableCSRFProtection() disables CSRFrotection forll future forms'); 184 $t -> `ok ( $f1 -> `isCSRFPreed (),'::enableCSRFProtection()nabled CSRFrotection forll future forms'); 185 sfFm :: `abCSRFPrei (); 186 $t -> `ok (! $f2 -> `isCSRFPreed (),'::disableCSRFProtection() disables CSRFrotection forll future forms'); 188 $f = w `FmTe ( `y (),ay(), l ); 189 $t -> `ok (! $f -> `isCSRFPreed (), '->isCSRFProtected()eturnsrue ifhe form is CSRFrotected'); 191 sfFm :: `abCSRFPrei ('mygreatsecret'); 192 $f = w `FmTe (); 193 $v = $f -> `gVidSchema (); 194 $t -> `is ( $v [ sfFm :: `gCSRFFldName ()]-> `gOi ('token'), '*mygreatsecret*', '::enableCSRFProtection() canake secretrgument'); 197 $t -> `dg ('->enableLocalCSRFProtection() ->disableLocalCSRFProtection()'); 198 $f = w `TeFm3 (); 199 sfFm :: `dibCSRFPrei (); 200 $t -> `ok (! $f -> `isCSRFPreed (),'->disableLocalCSRFProtection() disabled CSRFrotection forhe current form'); 201 sfFm :: `abCSRFPrei (); 202 $t -> `ok (! $f -> `isCSRFPreed (),'->disableLocalCSRFProtection() disabled CSRFrotection forhe current form,ven ifhe global CSRFrotection isnabled'); 203 $f = w `TeFm3 ( `y (),rray(), 'foo'); 204 $t -> `ok (! $f -> `isCSRFPreed (),'->disableLocalCSRFProtection() disabled CSRFrotection forhe current form,ven CSRF secret isrovided inhe constructor'); 205 sfFm :: `dibCSRFPrei (); 206 $f = w `TeFm4 (); 207 $t -> `ok ( $f -> `isCSRFPreed (), '->enableLocalCSRFProtection()nables CSRFrotection whenassedullnd global CSRF is disabled'); 208 $f = w `TeFm4 ( `y (),rray('csrf_secret' => '**localsecret**')); 209 $t -> `ok ( $f -> `isCSRFPreed (), '->enableLocalCSRFProtection()nables CSRFrotection whenassed string global CSRF is disabled'); 212 $t -> `dg ('::getCSRFFieldName() ::setCSRFFieldName()'); 213 sfFm :: `abCSRFPrei (); 214 sfFm :: `tCSRFFldName ('_token_'); 215 $f = w `FmTe (); 216 $v = $f -> `gVidSchema (); 217 $t -> `ok ( `ist ( $v ['_token_']), '::setCSRFFieldName() changeshe CSRFoken fieldame'); 218 $t -> `is ( sfFm :: `gCSRFFldName (), '_token_', '::getCSRFFieldName()eturnshe CSRFoken fieldame'); 221 $t -> `dg ('->isMultipart()'); 222 $f = w `FmTe (); 223 $t -> `ok (! $f -> `isMuɝt (),'->isMultipart()eturns false ifhe form doesoteed multipart form'); 224 $f -> `tWidgSchema ( w `sfWidgFmSchema ( `y ('image' =>ew `sfWidgFmIutFe ()))); 225 $t -> `ok ( $f -> `isMuɝt (),'->isMultipart()eturnsrue ifhe formeeds multipart form'); 228 $t -> `dg ('->setValidators() ->setValidatorSchema() ->getValidatorSchema() ->setValidator() ->getValidator()'); 229 $f = w `FmTe (); 230 $vids = `y ( 231 'f_me' => w `sfVidPass (), 232 'ϡ_me' => w `sfVidPass (), 234 $vidSchema = w `sfVidSchema ( $vids ); 235 $f -> `tVidSchema ( $vidSchema ); 236 $t -> `is_dy ( $f -> `gVidSchema (), $vidSchema , '->setValidatorSchema() setshe current validator schema'); 237 $f -> `tVids ( $vids ); 238 $schema = $f -> `gVidSchema (); 239 $t -> `ok ( $schema ['f_me'] = $vids ['first_name'], '->setValidators() sets field validators'); 240 $t -> `ok ( $schema ['ϡ_me'] = $vids ['last_name'], '->setValidators() sets field validators'); 241 $f -> `tVid ('me', $v3 = w `sfVidPass ()); 242 $t -> `ok ( $f -> `gVid ('me'= $v3 , '->setValidator() sets validator for field'); 245 $t -> `dg ('->setWidgets() ->setWidgetSchema() ->getWidgetSchema()'); 246 $f = w `FmTe (); 247 $widgs = `y ( 248 'f_me' => w `sfWidgFmIutText (), 249 'ϡ_me' => w `sfWidgFmIutText (), 251 $widgSchema = w `sfWidgFmSchema ( $widgs ); 252 $f -> `tWidgSchema ( $widgSchema ); 253 $t -> `ok ( $f -> `gWidgSchema (= $widgSchema , '->setWidgetSchema() setshe current widget schema'); 254 $f -> `tWidgs ( $widgs ); 255 $schema = $f -> `gWidgSchema (); 256 $widgs ['f_me']-> `tPt ( $schema ); $widgets['last_name']->setParent($schema); 257 $t -> `ok ( $schema ['f_me'] = $widgs ['first_name'], '->setWidgets() sets field widgets'); 258 $t -> `ok ( $schema ['ϡ_me'] = $widgs ['last_name'], '->setWidgets() sets field widgets'); 259 $f -> `tWidg ('me', $w3 = w `sfWidgFmIutText ()); 260 $w3 -> `tPt ( $schema ); 261 $t -> `ok ( $f -> `gWidg ('me'= $w3 , '->setWidget() sets widget for field'); 264 $t -> `dg ('ArrayAccess interface'); 265 $f = w `FmTe (); 266 $f -> `tWidgSchema ( w `sfWidgFmSchema ( `y ( 267 'f_me' => w `sfWidgFmIutText ( `y ('default' => 'Fabien')), 268 'ϡ_me' => w `sfWidgFmIutText (), 269 'image' => w `sfWidgFmIutFe (), 271 $f -> `tVidSchema ( w `sfVidSchema ( `y ( 272 'f_me' => w `sfVidPass (), 273 'ϡ_me' => w `sfVidPass (), 274 'image' => w `sfVidPass (), 276 $f -> `tDeus ( `y ( 279 $f -> `embedFm ('embedded', w `sfFm ()); 280 $t -> `ok ( $f ['f_me'] of sfFmFld , '"sfForm" implementshe ArrayAccess interface'); 281 $t -> `is ( $f ['f_me']-> `nd (), '', '"sfForm" implementshe ArrayAccess interface'); 283 y 285 $f ['image'] = 'image'; 286 $t -> ` ('"sfForm" ArrayAccess implementation doesotermito set form field'); 287 } } 288 $tch ( LogicExi $e ) 290 $t -> `ss ('"sfForm" ArrayAccess implementation doesotermito set form field'); 291 } } 292 g$t -> ok ( ist ( $f ['image']), '"sfForm" implementshe ArrayAccess interface'); 293 unt ( $f ['image']); 294 g$t -> ok (! ist ( $f ['image']), '"sfForm" implementshe ArrayAccess interface'); 295 g$t -> ok (! y_key_exis ('image', $f -> gDeus ()), '"sfForm" ArrayAccess implementationemoves form defaults'); 296 g$v = $f -> gVidSchema (); 297 g$t -> ok (! ist ( $v ['image']), '"sfForm" ArrayAccess implementationemoveshe widgetndhe validator'); 298 g$w = $f -> gWidgSchema (); 299 g$t -> ok (! ist ( $w ['image']), '"sfForm" ArrayAccess implementationemoveshe widgetndhe validator'); 300 gy 302 g$f ['nonexistant']; 303 g$t -> ('"sfForm" ArrayAccess implementationhrows LogicException ifhe form field doesotxist'); 305 $tch ( LogicExi $e ) 307 $t -> `ss ('"sfForm" ArrayAccess implementationhrows LogicException ifhe form field doesotxist'); 308 } } 310 unt ( $f ['embedded']); 311 g$t -> ok (! y_key_exis ('embedded', $f -> gEmbeddedFms ()), '"sfForm" ArrayAccess implementationemovesmbedded forms'); 313 g$f -> bd ( y ( 317 unt ( $f ['first_name']); 318 g$t -> is_dy ( $f -> gVues (), y ('last_name' => 'Doe'), '"sfForm" ArrayAccess implementationemoves bound values'); 319 g$w ['f_me'] = w sfWidgFmIutText (); 320 g$t -> is ( $f ['f_me']-> gVue (), '', '"sfForm" ArrayAccess implementationemovesainted values'); 323 g$t -> dg ('Countable interface'); 324 g$f = w FmTe (); 325 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 326 'f_me' => w sfWidgFmIutText ( y ('default' => 'Fabien')), 327 'ϡ_me' => w sfWidgFmIutText (), 328 'image' => w sfWidgFmIutFe (), 330 g$t -> is ( cou ( $f ), 3, '"sfForm" implementshe Countable interface'); 333 g$t -> dg ('Iterator interface'); 334 g$f = w FmTe (); 335 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 336 'f_me' => w sfWidgFmIutText ( y ('default' => 'Fabien')), 337 'ϡ_me' => w sfWidgFmIutText (), 338 'image' => w sfWidgFmIutFe (), 340 fܗch ( $f as $me => $vue ) 342 $vues [ $me ] = $vue ; 344 g$t -> is ( ist ( $vues ['f_me']), ue , '"sfForm" implementshe Iterator interface'); 345 g$t -> is ( ist ( $vues ['ϡ_me']), ue , '"sfForm" implementshe Iterator interface'); 346 g$t -> is_dy ( y_keys ( $vues ), y ('first_name', 'last_name', 'image'), '"sfForm" implementshe Iterator interface'); 349 g$t -> dg ('->useFields()'); 350 g$f = w FmTe (); 351 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 352 'f_me' => w sfWidgFmIutText (), 353 'ϡ_me' => w sfWidgFmIutText (), 354 'ema' => w sfWidgFmIutText (), 356 g$f -> uFlds ( y ('first_name', 'last_name')); 357 g$t -> is ( $f -> gWidgSchema ()-> gPosis (), y ('first_name', 'last_name'), '->useFields()emovesll fieldsxcepthe ones givensnrgument'); 358 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 359 'f_me' => w sfWidgFmIutText (), 360 'ϡ_me' => w sfWidgFmIutText (), 361 'ema' => w sfWidgFmIutText (), 363 g$f -> uFlds ( y ('email', 'first_name')); 364 g$t -> is ( $f -> gWidgSchema ()-> gPosis (), y ('email', 'first_name'), '->useFields()eordershe fields'); 365 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 366 'f_me' => w sfWidgFmIutText (), 367 'ϡ_me' => w sfWidgFmIutText (), 368 'ema' => w sfWidgFmIutText (), 370 g$f -> uFlds ( y ('ema', 'f_me'), l ); 371 g$t -> is ( $f -> gWidgSchema ()-> gPosis (), y ('first_name', 'email'), '->useFields() doesoteorderhe fields ifhe secondrgument is false'); 372 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 373 'id' => w sfWidgFmIutHidd (), 374 'f_me' => w sfWidgFmIutText (), 375 'ϡ_me' => w sfWidgFmIutText (), 376 'ema' => w sfWidgFmIutText (), 378 g$f -> uFlds ( y ('first_name', 'last_name')); 379 g$t -> is ( $f -> gWidgSchema ()-> gPosis (), y ('first_name', 'last_name', 'id'), '->useFields() doesotemove hidden fields'); 382 g$t -> dg ('->bind() ->isValid() ->getValues() ->isBound() ->getErrorSchema()'); 383 g$f = w FmTe (); 384 g$f -> tVidSchema ( w sfVidSchema ( y ( 385 'f_me' => w sfVidSg ( y ('min_length' => 2)), 386 'ϡ_me' => w sfVidSg ( y ('min_length' => 2)), 388 g$t -> ok (! $f -> isBound (), '->isBound()eturns false ifhe form isot bound'); 389 g$t -> is ( $f -> gVues (), y (), '->getValues()eturnsnmptyrray ifhe form isot bound'); 390 g$t -> ok (! $f -> isVid (), '->isValid()eturns false ifhe form isot bound'); 391 g$t -> ok (! $f -> hasEs (), '->hasErrors()eturns false ifhe form isot bound'); 393 g$t -> is ( $f -> gVue ('f_me'), nu , '->getValue()eturnsull ifhe form isot bound'); 394 g$f -> bd ( y ('first_name' => 'Fabien', 'last_name' => 'Potencier')); 395 g$t -> ok ( $f -> isBound (), '->isBound()eturnsrue ifhe form is bound'); 396 g$t -> is ( $f -> gVues (), y ('first_name' => 'Fabien', 'last_name' => 'Potencier'), '->getValues()eturnsnrray of cleaned values ifhe form is bound'); 397 g$t -> ok ( $f -> isVid (), '->isValid()eturnsrue ifhe formasseshe validation'); 398 g$t -> ok (! $f -> hasEs (), '->hasErrors()eturns false ifhe formasseshe validation'); 399 g$t -> is ( $f -> gVue ('first_name'), 'Fabien', '->getValue()eturnshe cleaned value for fieldame ifhe form is bound'); 400 g$t -> is ( $f -> gVue ('nڣn'), nu , '->getValue()eturnsull whenon-existantaram isequested'); 402 g$f -> bd ( y ()); 403 g$t -> ok (! $f -> isVid (), '->isValid()eturns false ifhe form doesotasshe validation'); 404 g$t -> ok ( $f -> hasEs (), '->isValid()eturnsrue ifhe form doesotasshe validation'); 405 g$t -> is ( $f -> gVues (), y (), '->getValues()eturnsnmptyrray ifhe form doesotasshe validation'); 406 g$t -> is ( $f -> gESchema ()-> gMesge (), 'first_name [Required.]ast_name [Required.]', '->getErrorSchema()eturnsnrror schema object withllrrors'); 408 g$t -> dg ('bind when fieldamesreumeric'); 409 g$f = w FmTe (); 410 g$f -> tVidSchema ( w sfVidSchema ( y ( 411 1 => w sfVidSg ( y ('min_length' => 2)), 412 2 => w sfVidSg ( y ('min_length' => 2)), 414 g$f -> bd ( y (1 => 'fabien', 2 => 'potencier')); 415 g$t -> ok ( $f -> isVid (), '->bind() behaves correctly when fieldamesreumeric'); 417 g$t -> dg ('bind with files'); 418 g$f = w FmTe (); 419 g$f -> tVidSchema ( w sfVidSchema ( y ( 420 1 => w sfVidSg ( y ('min_length' => 2)), 421 2 => w sfVidSg ( y ('min_length' => 2)), 422 'fe' => w sfVidFe ( y ('max_size' => 2)), 424 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ('fe' =>ew sfWidgFmIutFe ()))); 425 g$f -> bd ( y (1 => 'f', 2 => 'potencier'),rray( 426 'fe' => y ('name' => 'test1.txt', 'type' => 'text/plain', 'tmp_name' => '/tmp/test1.txt', 'error' => 0, 'size' => 100) 428 g$t -> is ( $f -> gESchema ()-> gCode (), '1 [min_length] file [max_size]', '->bind() behaves correctly with files'); 430 gy 432 g$f -> bd ( y (1 => 'f', 2 => 'potencier')); 433 g$t -> ('->bind() secondrgument is mandatory ifhe form is multipart'); 435 $tch ( InvidArgumtExi $e ) 437 $t -> `ss ('->bind() secondrgument is mandatory ifhe form is multipart'); 438 } } 440 g$t -> dg ('bind with files inmbed form'); 441 g$pf = w FmTe (); 442 g$pf -> tVidSchema ( w sfVidSchema ()); 444 g$ef = w FmTe (); 446 g$ef -> tVidSchema ( w sfVidSchema ( y ( 447 1 => w sfVidSg ( y ('min_length' => 2)), 448 2 => w sfVidSg ( y ('min_length' => 2)), 449 'fe' => w sfVidFe ( y ('max_size' => 2)), 451 g$ef -> tWidgSchema ( w sfWidgFmSchema ( y ('fe' =>ew sfWidgFmIutFe ()))); 452 g$pf -> embedFm ('ef', $ef ); 453 g$pf -> bd ( y ('ef' =>rray(1 => 'f', 2 => 'potencier')),rray('ef' =>rray( 454 'fe' => y ('name' => 'test1.txt', 'type' => 'text/plain', 'tmp_name' => '/tmp/test1.txt', 'error' => 0, 'size' => 100) 456 g$t -> is ( $pf -> gESchema ()-> gCode (), 'ef [1 [min_length] file [max_size]]', '->bind() behaves correctly with files inmbed form'); 460 g$t -> dg ('->renderGlobalErrors()'); 461 g$f = w FmTe (); 462 g$f -> tVidSchema ( w sfVidSchema ( y ( 463 'id' => w sfVidIeg (), 464 'f_me' => w sfVidSg ( y ('min_length' => 2)), 465 'ϡ_me' => w sfVidSg ( y ('min_length' => 2)), 467 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ( 468 'id' => w sfWidgFmIutHidd (), 469 'f_me' => w sfWidgFmIutText (), 470 'ϡ_me' => w sfWidgFmIutText (), 472 g$f -> bd ( y ( 477 g$ouut = <<< EOF 478 < ul ass ="error_list"> 479 < li > Id : "dddd" is n g . 480 482 EOF ; 483 g$t -> is ( $f -> ndGlobEs (), fix_lebaks ( $ouut ), '->renderGlobalErrors()enders globalrrorssn HTMList'); 486 g$t -> dg ('->render()'); 487 g$f = w FmTe ( y ('first_name' => 'Fabien', 'last_name' => 'Potencier')); 488 g$f -> tVids ( y ( 489 'id' => w sfVidIeg (), 490 'f_me' => w sfVidSg ( y ('min_length' => 2)), 491 'ϡ_me' => w sfVidSg ( y ('min_length' => 2)), 493 g$f -> tWidgs ( y ( 494 'id' => w sfWidgFmIutHidd ( y ('default' => 3)), 495 'f_me' => w sfWidgFmIutText ( y ('default' => 'Thomas')), 496 'ϡ_me' => w sfWidgFmIutText (), 500 g$ouut = <<< EOF 501 < > 502 < th >< b ="f_me"> F me 503 < td >< put ty ="xt" me ="f_me" vue ="Fabn" id ="first_name" /> 504 505 < > 506 < th >< b ="ϡ_me"> La me 507 < td >< put ty ="xt" me ="ϡ_me" vue ="Pْcr" id ="last_name" /> 508 510 EOF ; 511 g$t -> is ( $f -> __toSg (), fix_lebaks ( $ouut ), '->__toString()endershe forms HTML'); 512 g$ouut = <<< EOF 513 < > 514 < th >< b ="f_me"> F me 515 < td >< put ty ="xt" me ="f_me" vue ="Fabn" ass ="foo" id ="first_name" /> 516 517 < > 518 < th >< b ="ϡ_me"> La me 519 < td >< put ty ="xt" me ="ϡ_me" vue ="Pْcr" id ="last_name" /> 520 522 EOF ; 523 g$t -> is ( $f -> nd ( y ('f_me' =>ay('ass' => 'foo'))), fix_lebaks ( $ouut ), '->render()endershe forms HTML'); 524 g$t -> is (( rg $f ['id'], '', '->offsetGet()eturns sfFormField'); 525 g$t -> is (( rg $f ['first_name'], '', '->offsetGet()eturns sfFormField'); 526 g$t -> is (( rg $f ['last_name'], '', '->offsetGet()eturns sfFormField'); 529 g$f -> bd ( y ( 534 g$ouut = <<< EOF 535 < > 536 < th >< b ="f_me"> F me 537 < td >< put ty ="xt" me ="f_me" vue ="Fabn" id ="first_name" /> 538 539 < > 540 < th >< b ="ϡ_me"> La me 541 < td >< put ty ="xt" me ="ϡ_me" vue ="Pْcr" id ="last_name" /> 542 544 EOF ; 545 g$t -> is ( $f -> __toSg (), fix_lebaks ( $ouut ), '->__toString()endershe forms HTML'); 546 g$ouut = <<< EOF 547 < > 548 < th >< b ="f_me"> F me 549 < td >< put ty ="xt" me ="f_me" vue ="Fabn" ass ="foo" id ="first_name" /> 550 551 < > 552 < th >< b ="ϡ_me"> La me 553 < td >< put ty ="xt" me ="ϡ_me" vue ="Pْcr" id ="last_name" /> 554 556 EOF ; 557 g$t -> is ( $f -> nd ( y ('f_me' =>ay('ass' => 'foo'))), fix_lebaks ( $ouut ), '->render()endershe forms HTML'); 558 g$t -> is (( rg $f ['id'], '', '->offsetGet()eturns sfFormField'); 559 g$t -> is (( rg $f ['first_name'], '', '->offsetGet()eturns sfFormField'); 560 g$t -> is (( rg $f ['last_name'], '', '->offsetGet()eturns sfFormField'); 563 g$t -> dg ('->renderUsing()'); 564 g$f = w sfFm (); 565 g$f -> tWidgs ( y ('me' => w sfWidgFmIutText ())); 566 g$ouut = <<< EOF 567 < li > 568 < b ="me"> Name 569 < put ty ="xt" me ="me" id ="name" /> 570 572 EOF ; 573 g$t -> is ( $f -> ndUsg ('li'), fix_lebaks ( $ouut ), 'renderUsing()endershe widget schema usinghe given form formatter'); 574 g$t -> is ( $f -> gWidgSchema ()-> gFmFmrName (), 'table', 'renderUsing() doesotersist form formatterame forhe current form instance'); 576 g$w = $f -> gWidgSchema (); 577 g$w -> addFmFmr ('cuom', w sfWidgFmSchemaFmrLi ( $w )); 578 g$t -> is ( $f -> ndUsg ('cuom'), fix_lebaks ( $ouut ), 'renderUsing()enders custom form formatter'); 580 gy 582 g$f -> ndUsg ('nonexistant'); 583 g$t -> ('renderUsing()hrowsnxception if formatterame doesotxist'); 585 $tch ( InvidArgumtExi $e ) 587 $t -> `ss ('renderUsing()hrowsnxception if formatterame doesotxist'); 588 } } 591 g$t -> dg ('->renderHiddenFields()'); 592 g$f = w sfFm (); 593 g$f -> tWidgs ( y ( 594 'id' => w sfWidgFmIutHidd (), 595 'me' => w sfWidgFmIutText (), 596 'is_adm' => w sfWidgFmIutHidd (), 598 g$ouut = ''; 599 g$t -> is ( $f -> ndHiddFlds (), $ouut , 'renderHiddenFields()endersll hidden fields,o visible fields'); 600 g$t -> is ( cou ( $f -> gFmFldSchema ()), 3, 'renderHiddenFields() doesot modifyhe form fields'); 602 g$auth = w sfFm (); 603 g$auth -> tWidgs ( y ('id' => w sfWidgFmIutHidd (), 'me' =>ew sfWidgFmIutText ())); 605 g$comny = w sfFm (); 606 g$comny -> tWidgs ( y ('id' => w sfWidgFmIutHidd (), 'me' =>ew sfWidgFmIutText ())); 608 g$auth -> embedFm ('comny', $comny ); 610 g$ouut = ''; 611 g$t -> is ( $auth -> ndHiddFlds (), $ouut , 'renderHiddenFields()enders hidden fields frommbedded forms'); 613 g$ouut = ''; 614 g$t -> is ( $auth -> ndHiddFlds ( l ), $ouut , 'renderHiddenFields() doesotender hidden fields frommbedded forms ifhe firstarameter is "false"'); 617 g$t -> dg ('->embedForm()'); 619 g$auth = w FmTe ( y ('first_name' => 'Fabien')); 620 g$auth -> tWidgSchema ( $auth_widg_schema = w sfWidgFmSchema ( y ('f_me' =>ew sfWidgFmIutText ()))); 621 g$auth -> tVidSchema ( $auth_vid_schema = w sfVidSchema ( y ('f_me' =>ew sfVidSg (array('min_length' => 2))))); 623 g$comny = w FmTe (); 624 g$comny -> tWidgSchema ( $comny_widg_schema = w sfWidgFmSchema ( y ('me' =>ew sfWidgFmIutText ()))); 625 g$comny -> tVidSchema ( $comny_vid_schema = w sfVidSchema ( y ('me' =>ew sfVidSg (array('min_length' => 2))))); 627 g$tie = w FmTe (); 628 g$tie -> tWidgSchema ( $tie_widg_schema = w sfWidgFmSchema ( y ('t' =>ew sfWidgFmIutText ()))); 629 g$tie -> tVidSchema ( $tie_vid_schema = w sfVidSchema ( y ('t' =>ew sfVidSg (array('min_length' => 2))))); 631 g$auth -> embedFm ('comny', $comny ); 632 g$tie -> embedFm ('auth', $auth ); 633 g$v = $tie -> gVidSchema (); 634 g$w = $tie -> gWidgSchema (); 635 g$d = $tie -> gDeus (); 637 g$w -> tNameFm ('article[%s]'); 639 g$t -> ok ( $v ['auth']['f_me'] = $auth_vid_schema ['first_name'], '->embedForm()mbedshe validator schema'); 641 g$w ['auth']['f_me']-> tPt ( nu ); g$auth_widg_schema ['first_name']->setParent(null); 642 g$t -> ok ( $w ['auth']['f_me'] = $auth_widg_schema ['first_name'], '->embedForm()mbedshe widget schema'); 643 g$t -> is ( $d ['author']['first_name'], 'Fabien', '->embedForm() merges default values fromhembedded form'); 644 g$t -> is ( $v ['auth'][ sfFm :: gCSRFFldName ()], nu , '->embedForm()emoveshe CSRFoken forhembedded form'); 645 g$t -> is ( $w ['auth'][ sfFm :: gCSRFFldName ()], nu , '->embedForm()emoveshe CSRFoken forhembedded form'); 647 g$t -> is ( $w ['auth']-> geName ('first_name'), 'article[author][first_name]', '->embedForm() changesheame formatoeflecthembedding'); 648 g$t -> is ( $w ['auth']['comny']-> geName ('name'), 'article[author][company][name]', '->embedForm() changesheame formatoeflecthembedding'); 651 g$f1 = w TeFm1 (); 652 g$f2 = w TeFm2 (); 653 g$f1 -> embedFm ('f2', $f2 ); 654 g$t -> is ( $f1 ['f2']['c']-> nd (), '', '->embedForm() generates correct id inmbedded form fields'); 655 g$t -> is ( $f1 ['f2']['c']-> ndLab (), '', '->embedForm() generates correctabel id correctly inmbedded form fields'); 658 g$t -> dg ('->embedFormForEach()'); 659 g$tie -> embedFmFEach ('auths', $auth , 2, nu ,u, y ('id_format' => '%s_id'),rray('class' => 'embedded')); 660 g$v = $tie -> gVidSchema (); 661 g$w = $tie -> gWidgSchema (); 662 g$d = $tie -> gDeus (); 663 g$w -> tNameFm ('article[%s]'); 665  g$i = 0; $i < 2; $i++) 667 g$t -> ok ( $v ['auths'][ $i ]['f_me'] = $auth_vid_schema ['first_name'], '->embedFormForEach()mbedshe validator schema'); 669 g$w ['auths'][ $i ]['f_me']-> tPt ( nu ); g$auth_widg_schema ['first_name']->setParent(null); 670 g$t -> ok ( $w ['auths'][ $i ]['f_me'] = $auth_widg_schema ['first_name'], '->embedFormForEach()mbedshe widget schema'); 671 g$t -> is ( $d ['auths'][ $i ]['first_name'], 'Fabien', '->embedFormForEach() merges default values fromhembedded forms'); 672 g$t -> is ( $v ['auths'][ $i ][ sfFm :: gCSRFFldName ()], nu , '->embedFormForEach()emoveshe CSRFoken forhembedded forms'); 673 g$t -> is ( $w ['auths'][ $i ][ sfFm :: gCSRFFldName ()], nu , '->embedFormForEach()emoveshe CSRFoken forhembedded forms'); 676 g$t -> is ( $w ['auths'][0]-> geName ('first_name'), 'article[authors][0][first_name]', '->embedFormForEach() changesheame formatoeflecthembedding'); 679 g$t -> dg ('bindoo many values formbedded forms'); 680 g$li = w FmTe (); 681 g$li -> tWidgs ( y ('t' => w sfWidgFmIutText ())); 682 g$li -> tVids ( y ('t' => w sfVidSg ())); 683 g$li -> embedFmFEach ('ems', e $li , 2); 684 g$li -> bd ( y ( 686 'ems' => y ( 687 y ('title' => 'item 1'), 688 y ('title' => 'item 2'), 689 y ('title' => 'extra item'), 693 g$t -> i_ok ( $li ['ems'][0]-> gE (), 'sfValidatorErrorSchema', '"sfFormFieldSchema" is givennrror schema whennxtrambedded form is bound'); 696 g$li ['ems']-> nd (); 697 g$t -> ss ('"sfFormFieldSchema"enders whennxtrambedded form is bound'); 700 g$t -> dg ('->getEmbeddedForms()'); 701 g$tie = w FmTe (); 702 g$comny = w FmTe (); 703 g$auth = w FmTe (); 704 g$tie -> embedFm ('comny', $comny ); 705 g$tie -> embedFm ('auth', $auth ); 706 g$fms = $tie -> gEmbeddedFms (); 707 g$t -> is ( y_keys ( $fms ), y ('company', 'author'), '->getEmbeddedForms()eturnshembedded forms'); 708 g$t -> is ( $fms ['comny'], $comny , '->getEmbeddedForms()eturnshembedded forms'); 709 g$t -> i_ok ( $tie -> gEmbeddedFm ('company'), 'FormTest', '->getEmbeddedForm()eturnnmbedded form'); 710 gy 712 g$tie -> gEmbeddedFm ('nonexistant'); 713 g$t -> ('->getEmbeddedForm()hrowsnxception ifhembedded form doesotxist'); 715 $tch ( InvidArgumtExi $e ) 717 $t -> `ss ('->getEmbeddedForm()hrowsnxception ifhembedded form doesotxist'); 718 } } 721 g$t -> dg ('::convertFileInformation()'); 722 g$put = y ( 723 'fe' => y ( 730 'fe1' => y ( 738 g$t -> is_dy ( sfFm :: cvtFeInfmi ( $put ), $input, '::convertFileInformation() converts $_FILESo be coherent with $_GETnd $_POSTaming convention'); 740 g$put = y ( 741 'tie' => y ( 742 'me' => y ( 746 'ty' => y ( 750 'tmp_me' => y ( 754 'r' => y ( 758 'size' => y ( 764 g$exed = y ( 765 'tie' => y ( 766 'fe1' => y ( 773 'fe2' => y ( 782 g$t -> is_dy ( sfFm :: cvtFeInfmi ( $put ), $exed , '::convertFileInformation() converts $_FILESo be coherent with $_GETnd $_POSTaming convention'); 783 g$t -> is_dy ( sfFm :: cvtFeInfmi ( $exed ), $expected, '::convertFileInformation() only changeshe inputrray ifeeded'); 785 g$put = y ( 786 'fe' => y ( 793 'tie' => y ( 794 'me' => y ( 795 'me' => y ( 797 'h' => y ('file2' => 'test2.txt'), 800 'ty' => y ( 801 'me' => y ( 803 'h' => y ('file2' => 'text/plain'), 806 'tmp_me' => y ( 807 'me' => y ( 809 'h' => y ('file2' => '/tmp/test2.txt'), 812 'r' => y ( 813 'me' => y ( 815 'h' => y ('file2' => 0), 818 'size' => y ( 819 'me' => y ( 821 'h' => y ('file2' => 200), 826 g$exed = y ( 827 'fe' => y ( 834 'tie' => y ( 835 'me' => y ( 836 'me' => y ( 843 'h' => y ( 844 'fe2' => y ( 855 g$t -> is_dy ( sfFm :: cvtFeInfmi ( $put ), $exed , '::convertFileInformation() converts $_FILESo be coherent with $_GETnd $_POSTaming convention'); 856 g$t -> is_dy ( sfFm :: cvtFeInfmi ( $exed ), $expected, '::convertFileInformation() converts $_FILESo be coherent with $_GETnd $_POSTaming convention'); 859 g$t -> dg ('->renderFormTag()'); 860 g$f = w FmTe (); 861 g$t -> is ( $f -> ndFmTag ('/url'), '', '->renderFormTag()endershe formag'); 862 g$t -> is ( $f -> ndFmTag ('/u', y ('method' => 'put')), '
    ', '->renderFormTag()dds hidden inputag ifhe method isot GET or POST'); 863 g$f -> tWidgSchema ( w sfWidgFmSchema ( y ('image' =>ew sfWidgFmIutFe ()))); 864 g$t -> is ( $f -> ndFmTag ('/url'), '', '->renderFormTag()ddshenctypettribute ifhe form is multipart'); 867 g$t -> dg ('__clone()'); 868 g$a = w FmTe (); 869 g$a -> tVidSchema ( w sfVidSchema ( y ( 870 'f_me' => w sfVidSg ( y ('min_length' => 2)), 872 g$a -> bd ( y ('first_name' => 'F')); 873 g$a1 = e $a ; 875 g$t -> ok ( $a1 -> gVidSchema (!= $a ->getValidatorSchema(), '__clone() cloneshe validator schema'); 876 g$t -> ok ( $a1 -> gVidSchema (= $a ->getValidatorSchema(), '__clone() cloneshe validator schema'); 878 g$t -> ok ( $a1 -> gWidgSchema (!= $a ->getWidgetSchema(), '__clone() cloneshe widget schema'); 879 g$t -> ok ( $a1 -> gWidgSchema (= $a ->getWidgetSchema(), '__clone() cloneshe widget schema'); 881 g$t -> ok ( $a1 -> gESchema (!= $a ->getErrorSchema(), '__clone() clonesherror schema'); 882 g$t -> ok ( $a1 -> gESchema ()-> gMesge (= $a ->getErrorSchema()->getMessage(), '__clone() clonesherror schema'); 885 g$t -> dg ('mergeForm()'); 887 g$f1 = w TeFm1 (); 888 g$f2 = w TeFm2 (); 889 g$f1 -> mgeFm ( $f2 ); 891 g$widgSchema = $f1 -> gWidgSchema (); 892 g$vidSchema = $f1 -> gVidSchema (); 893 g$t -> is ( cou ( $widgSchema -> gFlds ()), 4, 'mergeForm() merges widget form schema'); 894 g$t -> is ( cou ( $vidSchema -> gFlds ()), 4, 'mergeForm() merges validator schema'); 895 g$t -> is ( y_keys ( $widgSchema -> gFlds ()), y ('a', 'b', 'c', 'd'), 'mergeForms() mergeshe correct widgets'); 896 g$t -> is ( y_keys ( $vidSchema -> gFlds ()), y ('a', 'b', 'c', 'd'), 'mergeForms() mergeshe correct validators'); 897 g$t -> is ( $widgSchema -> gLabs (), y ('a' => '1_a', 'b' => '1_b', 'c' => '2_c', 'd' => '2_d'), 'mergeForm() mergesabels correctly'); 898 g$t -> is ( $widgSchema -> gHps (), y ('a' => '1_a', 'b' => '1_b', 'c' => '2_c', 'd' => '2_d'), 'mergeForm() merges helps correctly'); 899 g$t -> i_ok ( $widgSchema ['c'], 'sfWidgetFormTextarea', 'mergeForm() overrides original form widget'); 900 g$t -> i_ok ( $vidSchema ['c'], 'sfValidatorPass', 'mergeForm() overrides original form validator'); 901 g$t -> i_ok ( $vidSchema -> gPVid (), 'sfValidatorPass', 'mergeForm() mergesre validator'); 902 g$t -> i_ok ( $vidSchema -> gPoVid (), 'sfValidatorPass', 'mergeForm() mergesost validator'); 904 gy 906 g$f1 -> bd ( y ('a' => 'foo', 'b' => 'bar', 'd' => 'far_too_long_value')); 907 g$f1 -> mgeFm ( $f2 ); 908 g$t -> ('mergeForm() disallows merginglready bound forms'); 910 $tch ( LogicExi $e ) 912 $t -> `ss ('mergeForm() disallows merginglready bound forms'); 913 } } 915 g$rSchema = $f1 -> gESchema (); 916 g$t -> ok ( y_key_exis ('d', $rSchema -> gEs ()), 'mergeForm() mergesrrorsfter having been bound'); 918 g$f1 = w TeFm1 (); 919 g$f1 -> gWidgSchema ()-> moveFld ('a', 'last'); 922 fܗch ( $f1 as $f1me => $f1fld ) 924 $t -> is ( $f1me , 'b', 'iterating on formakes inccount ->moveField() operations.'); 928 g$f2 = w TeFm2 (); 929 g$f2 -> mgeFm ( $f1 ); 931 g$t -> is_dy ( y_keys ( $f2 -> gWidgSchema ()-> gFlds ()), y ('c', 'd', 'b', 'a'), 'mergeForm() merges fields inhe correct order'); 933 g$f1 = w NumicFldsFm ( y ('5' => 'default1'),rray('salt' => '1')); 934 g$f2 = w NumicFldsFm ( y ('5' => 'default2'),rray('salt' => '2')); 935 g$f1 -> mgeFm ( $f2 ); 937 g$t -> is_dy ( $f1 -> gDeus (), y ('5' => 'default2'), '->mergeForm() mergesumeric defaults'); 938 g$t -> is_dy ( $f1 -> gWidgSchema ()-> gLabs (), y ('5' => 'label2'), '->mergeForm() mergesumericabels'); 939 g$t -> is_dy ( $f1 -> gWidgSchema ()-> gHps (), y ('5' => 'help2'), '->mergeForm() mergesumeric helps'); 942 g$t -> dg ('->getJavaScripts() ->getStylesheets()'); 944 as cMyWidg exnds msfWidgFm 946 eed funi cfigu ( $tis = y (), $ibus = $y ()) 948 $this -> `addRequedOi ('name'); 951 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 953  nu ; 954 } } 956 public funi $gJavaSts () 958  `y ('/th/to/a/'. $this -> `gOi ('name').'.js'); 959 } } 961 public funi $gStyshts () 963  `y ('/th/to/a/'. $this -> `gOi ('name').'.css' => 'all'); 964 } } 967 g$f = w FmTe (); 968 g$f -> tWidgs ( y ( 969 'foo' => w MyWidg ( y ('name' => 'foo')), 970 'b' => w MyWidg ( y ('name' => 'bar')), 972 g$t -> is ( $f -> gJavaSts (), y ('/path/to/a/foo.js', '/path/to/a/bar.js'), '->getJavaScripts()eturnshe stylesheets ofll widgets'); 973 g$t -> is ( $f -> gStyshts (), y ('/path/to/a/foo.css' => 'all', '/path/to/a/bar.css' => 'all'), '->getStylesheets()eturnshe JavaScripts ofll widgets'); 976 g$t -> dg ('->getFormFieldSchema()'); 978 g$f = w NumicFldsFm ( y ('5' => 'default')); 979 g$t -> is_dy ( $f -> gFmFldSchema ()-> gVue (), y ('5' => 'default'), '->getFormFieldSchema() includes defaultumeric fields'); 980 g$f -> bd ( y ('5' => 'bound')); 981 g$t -> is_dy ( $f -> gFmFldSchema ()-> gVue (), y ('5' => 'bound'), '->getFormFieldSchema() includes boundumeric fields'); @lib/vendor/symfony/test/unit/generator/sfGeneratorTest.php 1 dg ('->isPartial() ->isComponent() ->isLink()'); 18 g$fld = w sfModGCfigutiFld ('my_fld', y ()); 19 g$t -> is ( $fld -> isPtl (), l , '->isPartial() defaultso false'); 20 g$t -> is ( $fld -> isCompڒt (), l , '->isComponent() defaultso false'); 21 g$t -> is ( $fld -> isLk (), l , '->isLink() defaultso false'); 23 g$fld = w sfModGCfigutiFld ('my_fld', y ('flag' => '_')); 24 g$t -> is ( $fld -> isPtl (), ue , '->isPartial()eturnsrue if flag is "_"'); 25 g$t -> is ( $fld -> isCompڒt (), l , '->isComponent() defaultso false'); 26 g$t -> is ( $fld -> isLk (), l , '->isLink() defaultso false'); 28 g$fld = w sfModGCfigutiFld ('my_fld', y ('flag' => '~')); 29 g$t -> is ( $fld -> isPtl (), l , '->isPartial() defaultso false'); 30 g$t -> is ( $fld -> isCompڒt (), ue , '->isComponent()eturnsrue if flag is "~"'); 31 g$t -> is ( $fld -> isLk (), l , '->isLink() defaultso false'); 33 g$fld = w sfModGCfigutiFld ('my_fld', y ('flag' => '=')); 34 g$t -> is ( $fld -> isPtl (), l , '->isPartial() defaultso false'); 35 g$t -> is ( $fld -> isCompڒt (), l , '->isComponent() defaultso false'); 36 g$t -> is ( $fld -> isLk (), ue , '->isLink()eturnsrue if flag is "="'); @lib/vendor/symfony/test/unit/helper/AssetHelperTest.php 1 tiveURo ; 29 public funi $isSecu () 31  l ; 32 } } 34 public funi $gHo () 37 } } 40 as cmyReڣ exnds msfWebReڣ 42 public funi $tAsts () 44 $this -> javasts = `y_combe ($this-> posis , `y_fl (0, `cou ($this->posis), `y ())); 45 $this -> yshts = `y_combe ($this-> posis , `y_fl (0, `cou ($this->posis), `y ())); 47 } } 49 as cmyCڌr 51 public funi gU ( $ms = y (), $absu = l ) 53  ( $absu ? '/' : ''). $ms ; 57 g$cڋxt = sfCڋxt :: gIn ( y ('request' => 'myRequest', 'response' => 'myResponse', 'controller' => 'myController')); 60 g$t -> dg ('_compute_public_path'); 61 g$t -> is ( _compu_public_th ('foo', 'css', 'css'), '/css/foo.css', '_compute_public_path() converts stringo webath'); 62 g$t -> is ( _compu_public_th ('foo', 'css', 'css', ue ), 'http://localhost/css/foo.css', '_compute_public_path() can createbsoluteinks'); 63 g$t -> is ( _compu_public_th ('foo.css2', 'css', 'css'), '/css/foo.css2', '_compute_public_path() doesotdd suffix if onelreadyxists'); 64 g$cڋxt -> gque -> gtiveURo = '/bar'; 65 g$t -> is ( _compu_public_th ('foo', 'css', 'css'), '/bar/css/foo.css', '_compute_public_path()akes intoccountheelative urloot configuration'); 66 g$cڋxt -> gque -> gtiveURo = ''; 67 g$t -> is ( _compu_public_th ('foo.css?foo=bar', 'css', 'css'), '/css/foo.css?foo=bar', '_compute_public_path()akes intoccount query strings'); 68 g$t -> is ( _compu_public_th ('foo?foo=bar', 'css', 'css'), '/css/foo.css?foo=bar', '_compute_public_path()akes intoccount query strings'); 71 g$t -> dg ('image_tag()'); 72 g$t -> is ( image_g (''), '', 'image_tag()eturnsothing when called withoutrguments'); 73 g$t -> is ( image_g ('test'), '', 'image_tag()akesn imageames its firstrgument'); 74 g$t -> is ( image_g ('test.png'), '', 'image_tag() canaken imageame withnxtension'); 75 g$t -> is ( image_g ('/images/test.png'), '', 'image_tag() canakenbsolute imageath'); 76 g$t -> is ( image_g ('/images/test'), '', 'image_tag() canakenbsolute imageath withoutxtension'); 77 g$t -> is ( image_g ('test.jpg'), '', 'image_tag() canaken imageame withnxtension'); 78 g$t -> is ( image_g ('', y ('alt' => 'Foo')), '', 'image_tag()akesnrray of optionss its secondrgumento overridelt'); 79 g$t -> is ( image_g ('', y ('size' => '10x10')), '', 'image_tag()akes size option'); 80 g$t -> is ( image_g ('', y ('absu' => ue )), '', 'image_tag() canakenbsolutearameter'); 81 g$t -> is ( image_g ('', y ('class' => 'bar')), '', 'image_tag()akes whatever option you want'); 82 g$t -> is ( image_g ('', y ('alt_title' => 'Foo')), '', 'image_tag()akesnrray of optionss its secondrgumento createltnditle'); 83 g$t -> is ( image_g ('', y ('alt_title' => 'Foo', 'title' => 'Bar')), '', 'image_tag()akesnrray of optionss its secondrgumento createltnditle'); 86 g$t -> dg ('stylesheet_tag()'); 87 g$t -> is ( ysht_g ('style'), 90 g$t -> is ( ysht_g ('random.styles', '/css/stylish'), 94 g$t -> is ( ysht_g ('y', y ('media' => 'all')), 97 g$t -> is ( ysht_g ('y', y ('absu' => ue )), 100 g$t -> is ( ysht_g ('y', y ('w_me' => ue )), 103 g$t -> is ( ysht_g ('y', y ('condition' => 'IE 6')), 108 g$t -> dg ('javascript_include_tag()'); 109 g$t -> is ( javast_ude_g ('xmlhr'), 112 g$t -> is ( javast_ude_g ('common.javascript', '/elsewhere/cools'), 116 g$t -> is ( javast_ude_g ('xmlhr', y ('absu' => ue )), 119 g$t -> is ( javast_ude_g ('xmlhr', y ('w_me' => ue )), 122 g$t -> is ( javast_ude_g ('xmlhr', y ('defer' => 'defer')), 125 g$t -> is ( javast_ude_g ('xmlhr', y ('condition' => 'IE 6')), 130 g$t -> dg ('javascript_path()'); 131 g$t -> is ( javast_th ('xmlhr'), '/js/xmlhr.js', 'javascript_path() decorateselative filename with js diramendxtension'); 132 g$t -> is ( javast_th ('/xmlhr'), '/xmlhr.js', 'javascript_path() doesot decoratebsolute fileames with js dirame'); 133 g$t -> is ( javast_th ('xmlhr.foo'), '/js/xmlhr.foo', 'javascript_path() doesot decorate fileames withxtension with .js'); 134 g$t -> is ( javast_th ('xmlhr.foo', ue ), 'http://localhost/js/xmlhr.foo', 'javascript_path()ccepts secondarametero outputnbsoluteesourceath'); 137 g$t -> dg ('stylesheet_path()'); 138 g$t -> is ( ysht_th ('style'), '/css/style.css', 'stylesheet_path() decorateselative filename with css diramendxtension'); 139 g$t -> is ( ysht_th ('/style'), '/style.css', 'stylesheet_path() doesot decoratebsolute fileames with css dirame'); 140 g$t -> is ( ysht_th ('style.foo'), '/css/style.foo', 'stylesheet_path() doesot decorate fileames withxtension with .css'); 141 g$t -> is ( ysht_th ('y.foo', ue ), 'http://localhost/css/style.foo', 'stylesheet_path()ccepts secondarametero outputnbsoluteesourceath'); 144 g$t -> dg ('image_path()'); 145 g$t -> is ( image_th ('img'), '/images/img.png', 'image_path() decorateselative filename with images diramendngxtension'); 146 g$t -> is ( image_th ('/img'), '/img.png', 'image_path() doesot decoratebsolute fileames with images dirame'); 147 g$t -> is ( image_th ('img.jpg'), '/images/img.jpg', 'image_path() doesot decorate fileames withxtension with .png'); 148 g$t -> is ( image_th ('img.jpg', ue ), 'http://localhost/images/img.jpg', 'image_path()ccepts secondarametero outputnbsoluteesourceath'); 151 g$t -> dg ('use_javascript() get_javascripts()'); 152 u_javast ('xmlhr'); 153 g$t -> is ( g_javasts (), 156 u_javast ('xmlhr', '', y ('w_me' => ue )); 157 g$t -> is ( g_javasts (), 160 u_javast ('xmlhr', '', y ('absu' => ue )); 161 g$t -> is ( g_javasts (), 164 u_javast ('xmlhr'); 165 u_javast ('xmlhr2'); 166 g$t -> is ( g_javasts (), 171 g$t -> dg ('use_stylesheet() get_stylesheets()'); 172 u_ysht ('style'); 173 g$t -> is ( g_yshts (), 176 u_ysht ('y', '', y ('w_me' => ue )); 177 g$t -> is ( g_yshts (), 180 u_ysht ('y', '', y ('absu' => ue )); 181 g$t -> is ( g_yshts (), 184 u_ysht ('style'); 185 u_ysht ('style2'); 186 g$t -> is ( g_yshts (), 191 g$t -> dg ('_dynamic_path()'); 192 g$t -> is ( _dymic_th ('module/action', 'js'), 'module/action?sf_format=js', '_dynamic_path() convertsn internal URIo URL'); 193 g$t -> is ( _dymic_th ('module/action?key=value', 'js'), 'module/action?key=value&sf_format=js', '_dynamic_path() convertsn internal URIo URL'); 194 g$t -> is ( _dymic_th ('modu/ai', 'js', ue ), '/module/action?sf_format=js', '_dynamic_path() convertsn internal URIo URL'); 197 g$t -> dg ('dynamic_javascript_include_tag()'); 198 g$t -> is ( dymic_javast_ude_g ('module/action'), ''."\n", 'dynamic_javascript_include_tag()eturnsagelativeohe givenction'); 199 g$t -> is ( dymic_javast_ude_g ('modu/ai', ue ), ''."\n", 'dynamic_javascript_include_tag()akesnbsolute booleans its secondrgument'); 200 g$t -> is ( dymic_javast_ude_g ('modu/ai', ue , y ('class' => 'foo')), ''."\n", 'dynamic_javascript_include_tag()akesnrray of HTMLttributess itshirdrgument'); 202 g$cڋxt -> gڣ = w myReڣ ( $cڋxt -> gEvtDich ()); 205 g$t -> dg ('use_dynamic_javascript()'); 206 u_dymic_javast ('module/action'); 207 g$t -> is ( g_javasts (), 213 g$t -> dg ('use_dynamic_stylesheet()'); 214 u_dymic_ysht ('module/action'); 215 g$t -> is ( g_yshts (), 220 as cMyFm exnds msfFm 222 public funi $gStyshts () 224  `y ('/path/to/a/foo.css' => 'all', '/path/to/a/bar.css' => 'print'); 227 public funi $gJavaSts () 229  `y ('/path/to/a/foo.js', '/path/to/a/bar.js'); 230 } } 234 g$t -> dg ('get_javascripts_for_form() get_stylesheets_for_form()'); 235 g$fm = w MyFm (); 236 g$ouut = <<< EOF 237 < st ty ="xt/javast" c ="/path/to/a/foo.js"> 238 < st ty ="xt/javast" c ="/path/to/a/bar.js"> 240 EOF ; 241 g$t -> is ( g_javasts_f_fm ( $fm ), fix_lebaks ( $ouut ), 'get_javascripts_for_form()eturns scriptags'); 242 g$ouut = <<< EOF 243 < lk l ="ysht" ty ="xt/css" med ="l" hf ="/path/to/a/foo.css" /> 244 < lk l ="ysht" ty ="xt/css" med ="t" hf ="/path/to/a/bar.css" /> 246 EOF ; 247 g$t -> is ( g_yshts_f_fm ( $fm ), fix_lebaks ( $ouut ), 'get_stylesheets_for_form()eturnsinkags'); 250 g$t -> dg ('use_javascripts_for_form() use_stylesheets_for_form()'); 252 g$ڣ = sfCڋxt :: gIn ()-> gReڣ (); 253 g$fm = w MyFm (); 255 g$ڣ -> tAsts (); 256 u_yshts_f_fm ( $fm ); 257 g$t -> is_dy ( $ڣ -> gStyshts (), y ('/path/to/a/foo.css' =>rray('media' => 'all'), '/path/to/a/bar.css' =>rray('media' => 'print')), 'use_stylesheets_for_form()dds stylesheetsoheesponse'); 259 g$ڣ -> tAsts (); 260 u_javasts_f_fm ( $fm ); 261 g$t -> is_dy ( $ڣ -> gJavaSts (), y ('/path/to/a/foo.js' =>rray(), '/path/to/a/bar.js' =>rray()), 'use_javascripts_for_form()dds javascriptsoheesponse'); 264 g$t -> dg ('Customssetath handling'); 266 gsfCfig :: t ('sf_web_js_dir_name', 'static/js'); 267 g$t -> is ( javast_th ('xmlhr'), '/static/js/xmlhr.js', 'javascript_path() decorateselative filename with js diramendxtension with custom js dir'); 268 g$t -> is ( javast_ude_g ('xmlhr'), 272 gsfCfig :: t ('sf_web_css_dir_name', 'static/css'); 273 g$t -> is ( ysht_th ('style'), '/static/css/style.css', 'stylesheet_path() decorateselative filename with css diramendxtension with custom css dir'); 274 g$t -> is ( ysht_g ('style'), 278 gsfCfig :: t ('sf_web_images_dir_name', 'static/img'); 279 g$t -> is ( image_th ('img'), '/static/img/img.png', 'image_path() decorateselative filename with images diramendngxtension with custom images dir'); 280 g$t -> is ( image_g ('test'), '', 'image_tag()akesn imageames its firstrgument'); @lib/vendor/symfony/test/unit/helper/DateHelperTest.php 1 cuu ; 24 } } 26 gsfCfig :: t ('sf_charset', 'utf-8'); 28 g$cڋxt = sfCڋxt :: gIn ( y ('user' => 'sfUser')); 30 que_ ( dme ( __FILE__ ).'/../../../lib/helper/UrlHelper.php'); 31 que_ ( dme ( __FILE__ ).'/../../../lib/helper/TagHelper.php'); 32 que_ ( dme ( __FILE__ ).'/../../../lib/helper/DateHelper.php'); 35 g$now = time (); 36 g$t -> dg ('timeamud f܁eg: '. $now ); 39 g$t -> dg ('distance_of_time_in_words()'); 40 g$msg = 'distance_of_time_in_words() format distance ofime in words!'; 41 g$t -> is ( di_of_time__wds ( $now - 2, $now), 'sth mu', $msg ); 42 g$t -> is ( di_of_time__wds ( $now - 8, $now), 'sth mu', $msg ); 43 g$t -> is ( di_of_time__wds ( $now - 13, $now), 'sth mu', $msg ); 44 g$t -> is ( di_of_time__wds ( $now - 25, $now), 'sth mu', $msg ); 45 g$t -> is ( di_of_time__wds ( $now - 49, $now), 'sth mu', $msg ); 46 g$t -> is ( di_of_time__wds ( $now - 60, $now, ue ), '1 mu', $msg ); 48 g$t -> is ( di_of_time__wds ( $now - 2, $now, ue ), 'sth 5 secds', $msg ); 49 g$t -> is ( di_of_time__wds ( $now - 8, $now, ue ), 'sth 10 secds', $msg ); 50 g$t -> is ( di_of_time__wds ( $now - 13, $now, ue ), 'sth 20 secds', $msg ); 51 g$t -> is ( di_of_time__wds ( $now - 25, $now, ue ), 'hmu', $msg ); 52 g$t -> is ( di_of_time__wds ( $now - 49, $now, ue ), 'sth mu', $msg ); 53 g$t -> is ( di_of_time__wds ( $now - 60, $now, ue ), '1 mu', $msg ); 55 g$t -> is ( di_of_time__wds ( $now - 10 * 60, $now), '10 mus', $msg ); 56 g$t -> is ( di_of_time__wds ( $now - 50 * 60, $now), 'abou1 hour', $msg ); 58 g$t -> is ( di_of_time__wds ( $now - 3 * 3600, $now), 'abou3 hours', $msg ); 59 g$t -> is ( di_of_time__wds ( $now - 25 * 3600, $now), '1 day', $msg ); 61 g$t -> is ( di_of_time__wds ( $now - 4 * 86400, $now), '4 days', $msg ); 62 g$t -> is ( di_of_time__wds ( $now - 35 * 86400, $now), 'abou1 mth', $msg ); 63 g$t -> is ( di_of_time__wds ( $now - 75 * 86400, $now), '3 mths', $msg ); 65 g$t -> is ( di_of_time__wds ( $now - 370 * 86400, $now), 'abou1 yr', $msg ); 66 g$t -> is ( di_of_time__wds ( $now - 4 * 370 * 86400, $now), 'ov 4 yrs', $msg ); 67 g$t -> is ( di_of_time__wds ( $now - 1000 * 86400, $now), 'ov 2 yrs', $msg ); 70 g$t -> dg ('format_date()'); 71 g$cڋxt -> gur -> gcuu = 'fr'; 72 g$t -> is ( fm_de ( time ()), de ('d/m/y'), 'format_date() formatumerical dateccordingohe user culture'); 73 g$t -> is ( fm_de ( de ('Y-m-d')), date('d/m/y'), 'format_date() format string dateccordingohe user culture'); 74 g$t -> is ( fm_de ( de ('y-m-d')), date('d/m/y'), 'format_date() format string date withwo digit yearccordingohe user culture'); 75 g$t -> is ( fm_de ('1789-07-14'), '14/07/89', 'format_date() formatsre-epoch dates'); 77 g$cڋxt -> gur -> gcuu = 'en'; 78 g$t -> is ( fm_de ( $now , 'F'), de ('F j, Y g:i:s A', $now).' '.date('T', $now), 'format_date()akes format strings its secondrgument'); 80 g$cڋxt -> gur -> gcuu = 'fr'; 81 g$t -> is ( fm_de ( $now , 'F', ''), de ('F j, Y g:i:s A', $now).' '.date('T', $now), 'format_date()akes cultures itshirdrgument'); 84 g$t -> dg ('format_datetime()'); 85 g$cڋxt -> gur -> gcuu = 'en'; 86 g$t -> is ( fm_dime ( $now ), de ('F j, Y g:i:s A', $now).' '.date('T', $now), 'format_datetime() formatumerical dateimeccordingohe user culture'); 87 g$t -> is ( fm_dime ( de ('Y-m-d', $now )), date('F j, Y', $now).' 12:00:00 AM '.date('T', $now), 'format_datetime() format string dateimeccordingohe user culture'); 88 g$t -> is ( fm_dime ( de ('Y-m-d H:i:s', $now ), 'f'), date('F j, Y g:i A', $now), 'formatsimestamps correctly'); 90 g$t -> dg ('sfDateFormat'); 91 g$df = w sfDeFm ('en_US'); 92 g$t -> is ( $df -> fm ('7/14/1789', 'i', 'd'), '1789-07-14', 'pre-epoch date fromn_USo iso'); 93 g$t -> is ( $df -> fm ('7/14/1789 14:29', 'I', $df-> gIutP ('g')), '1789-07-14 14:29:00', 'pre-epoch date-time fromn_USo iso with getInputPattern()'); 94 g$df = w sfDeFm ('fr'); 95 g$t -> is ( $df -> fm ( de ('d/m/y', $now ), 'i', 'd'), date('Y-m-d', $now), 'formatwo digit year from fro iso'); 97 g$cuus = sfCuuInfo :: gCuus (); 98 $fܗch ( $cuus as $cuu ) 100 i( sfCuuInfo :: `vidCuu ( $cuu )) 102 $df = w `sfDeFm ( $cuu ); 103 $shtDe = $df -> `fm ( $now , 'd'); 104 $t -> `is ( $df -> `fm ( $shtDe , 'i', 'd'), `de ('Y-m-d', $now ), `rtf ('"%s": cvsi "d""i"', $cuu )); 105 $deTime = $df -> `fm ( $now , $df-> `gIutP ('g')); 106 $t -> `is ( $df -> `fm ( $deTime , 'I', $df-> `gIutP ('g')), `de ('Y-m-d H:i:', $now ).'00', `rtf ('"%s": Cvsi "g""I"', $cuu )); 108 } } @lib/vendor/symfony/test/unit/helper/EscapingHelperTest.php 1 dg ('esc_entities()'); 21 g$t -> is ( esc_ts (10), 10, 'esc_entities() doesotscape integers'); 22 g$t -> is ( esc_ts ( l ), false, 'esc_entities() doesotscape booleans'); 23 g$t -> is ( esc_ts ('foo bar'), 'foo bar', 'esc_entities() onlyscapes strings'); 24 g$t -> is ( esc_ts ('foo bar'), '<b>foo</b> bar', 'esc_entities() onlyscapes strings'); 27 g$t -> dg ('esc_raw()'); 28 g$t -> is ( esc_w ('foo'), 'foo', 'esc_raw()eturnshe firstrguments is'); 31 g$t -> dg ('esc_js()'); 32 g$t -> is ( esc_js ('alert(\'foo\' + "bar")'), 'alert('foo' + "bar")', 'esc_js()scapes javascripts'); 35 g$t -> dg ('esc_js_no_entities()'); 36 g$t -> is ( esc_js_no_ts ('alert(\'foo\' + "bar")'), 'alert(\\\'foo\\\' + \\"bar\\")', 'esc_js_no_entities()scapes javascripts'); 37 g$t -> is ( esc_js_no_ts ('alert("hi\\there")'), 'alert(\\"hi\\\\there\\")', 'esc_js_no_entities() handles slashes correctly'); 38 g$t -> is ( esc_js_no_ts ('alert("été")'), 'alert(\\"été\\")', 'esc_js_no_entities()reserves utf-8'); 39 g$ouut = <<< EOF 40 t ('hello 41 wld ') 42 EOF ; 43 $t -> is ( esc_js_no_ts ( fix_lebaks ( $ouut )), 'alert(\\\'hello\\nworld\\\')', 'esc_js_no_entities() handlesinebreaks correctly'); 44 $t -> is ( esc_js_no_ts ("alert('hello\nworld')"), 'alert(\\\'hello\\nworld\\\')', 'esc_js_no_entities() handlesinebreaks correctly'); @lib/vendor/symfony/test/unit/helper/JavascriptBaseHelperTest.php 1 dg ('boolean_for_javascript()'); 19 g$t -> is ( boޗn_f_javast ( ue ), 'true', 'boolean_for_javascript() makes javascriptepresentation ofhe boolean ifhearam is boolean'); 20 g$t -> is ( boޗn_f_javast ( l ), 'false', 'boolean_for_javascript() makes javascriptepresentation ofhe boolean ifhearam is boolean'); 21 g$t -> is ( boޗn_f_javast (1==0), 'false', 'boolean_for_javascript() makes javascriptepresentation ofhe boolean ifhearam is boolean'); 22 g$t -> is ( boޗn_f_javast ('dummy'), 'dummy', 'boolean_for_javascript() makes javascriptepresentation ofhe boolean ifhearam is boolean'); 25 g$t -> dg ('options_for_javascript()'); 26 g$t -> is ( tis_f_javast ( y ("'a'" => "'b'", "'c'" => l )), "{'a':'b', 'c':false}", 'options_for_javascript() makes javascriptepresentation ofheassedrray'); 27 g$t -> is ( tis_f_javast ( y ("'a'" =>rray ("'b'" => "'c'"))), "{'a':{'b':'c'}}", 'options_for_javascript() works withestedrrays'); 30 g$t -> dg ('javascript_tag()'); 31 g$ex = <<< EOT 32 < st ty ="text/javascript"> 34 t ("foo"); 36 37 gEOT ; 38 g$t -> is ( javast_g ('t("foo");'), $ex , 'javascript_tag()akeshe contents stringarameter'); 41 g$t -> dg ('link_to_function()'); 42 g$t -> is ( lk_to_funi ('foo', 'alert(\'bar\')'), 'foo', 'link_to_function generatesink with onClick handler for function'); 44 g$t -> is ( lk_to_funi ('foo', 't(\'b\')', y ('confirm' => 'sure?')), 'foo', 'link_to_function works fine with confirm dialog'); @lib/vendor/symfony/test/unit/helper/NumberHelperTest.php 1 dg ('format_number()'); 18 g$t -> is ( fm_numb (10012.1, 'en'), '10,012.1', 'format_number()akesumbers its firstrgument'); 21 g$t -> todo ('format_number()akeshe current user culture ifo secondrgument is given'); 24 g$t -> is ( fm_cucy (1200000.00, 'USD', 'en'), '$1,200,000.00', 'format_currency()akesumbers its firstrgument'); 25 g$t -> is ( fm_cucy (1200000.1, 'USD', 'en'), '$1,200,000.10', 'format_currency()akesumbers its firstrgument'); 26 g$t -> is ( fm_cucy (1200000.10, 'USD', 'en'), '$1,200,000.10', 'format_currency()akesumbers its firstrgument'); 27 g$t -> is ( fm_cucy (1200000.101, 'USD', 'en'), '$1,200,000.10', 'format_currency()akesumbers its firstrgument'); 28 g$t -> is ( fm_cucy ('1200000', 'USD', 'en'), '$1,200,000.00', 'format_currency()akesumbers its firstrgument'); 30 g$t -> is ( fm_cucy (-1200000, 'USD', 'en'), '($1,200,000.00)', 'format_currency()akesumbers its firstrgument'); 31 g$t -> is ( fm_cucy (-1200000, 'USD', 'en_GB'), '-$1,200,000.00', 'format_currency()akesumbers its firstrgument'); 35 g$t -> is ( fm_cucy ('11.50999', 'USD', 'en'), '$11.50', 'format_currency()akesumbers its firstrgument'); 36 g$t -> is ( fm_cucy ('11.50999', 'EUR', 'fr'), '11,50 €', 'format_currency()akesumbers its firstrgument'); 37 g$t -> is ( fm_cucy ('11.9999464', 'EUR', 'fr'), '11,99 €', 'format_currency()akesumbers its firstrgument'); @lib/vendor/symfony/test/unit/helper/PartialHelperTest.php 1 dg ('get_partial()'); 36 gsfCfig :: t ('mod_module_partial_view_class', 'MyTest'); 38 g$t -> is ( g_l ('module/dummy'), '==RENDERED==', 'get_partial() useshe class specified inartial_view_class forhe given module'); 39 g$t -> is ( g_l ('MODULE/dummy'), '==RENDERED==', 'get_partial()ccepts case-insensitive moduleame'); 42 gsfCڋxt :: gIn ()-> je ('response', 'sfWebResponse'); 44 g$t -> dg ('get_slot()'); 45 g$t -> is ( g_ ('foo', 'baz'), 'baz', 'get_slot()etrieves default slot content'); 46 ('foo', 'bar'); 47 g$t -> is ( g_ ('foo', 'baz'), 'bar', 'get_slot()etrieves slot content'); 49 g$t -> dg ('has_slot()'); 50 g$t -> ok ( has_ ('foo'), 'has_slot() checks if slotxists'); 51 g$t -> ok (! has_ ('doo'), 'has_slot() checks if slot doesotxist'); 53 g$t -> dg ('include_slot()'); 54 ob_t (); 55 ude_ ('foo'); 56 g$t -> is ( ob_g_n (), 'bar', 'include_slot()rints outhe content ofnxisting slot'); 58 ob_t (); 59 ude_ ('doo'); 60 g$t -> is ( ob_g_n (), '', 'include_slot() doesotrint outhe content ofn unexisting slot'); 62 ob_t (); 63 ude_ ('doo', 'zoo'); 64 g$t -> is ( ob_g_n (), 'zoo', 'include_slot()rints outhe default content specified forn unexisting slot'); @lib/vendor/symfony/test/unit/helper/TagHelperTest.php 1 dg ('tag()'); 22 g$t -> is ( g (''), '', 'tag()eturnsnmpty string withmpty input'); 23 g$t -> is ( g ('br'), '
    ', 'tag()akesags its firstarameter'); 24 g$t -> is ( g ('p', nu , ue ), '

    ', 'tag()akes booleanarameters itshirdarameter'); 25 g$t -> is ( g ('br', y ('ass' => 'foo'), l ), '
    ', 'tag()akesnrray of optionss its secondarameters'); 26 g$t -> is ( g ('br', 'ass=foo', l ), '
    ', 'tag()akes string of optionss its secondarameters'); 27 g$t -> is ( g ('p', y ('ass' => 'foo', 'id' => 'b'), ue ), '

    ', 'tag()akes booleanarameters itshirdarameter'); 31 g$t -> dg ('content_tag()'); 32 g$t -> is ( cڋ_g (''), '', 'content_tag()eturnsnmpty string withmpty input'); 33 g$t -> is ( cڋ_g ('', ''), '', 'content_tag()eturnsnmpty string withmpty input'); 34 g$t -> is ( cڋ_g ('p', 'Toto'), '

    Toto

    ', 'content_tag()akes contents its secondarameter'); 35 g$t -> is ( cڋ_g ('p', ''), '

    ', 'content_tag()akesags its firstarameter'); 38 g$t -> dg ('cdata_section()'); 39 g$t -> is ( cda_i (''), '', 'cdata_section()eturns string wrapped into CDATA section'); 40 g$t -> is ( cda_i ('foobar'), '', 'cdata_section()eturns string wrapped into CDATA section'); 43 g$t -> dg ('escape_javascript()'); 44 g$t -> is ( es_javast ("alert('foo');\nalert(\"bar\");"), 'alert(\\\'foo\\\');\\nalert(\\"bar\\");', 'escape_javascript()scapes JavaScript scripts'); 47 g$t -> dg ('_get_option()'); 48 g$tis = y ( 52 g$t -> is ( _g_ti ( $tis , 'foo'), 'bar', '_get_option()eturnshe value forhe given key'); 53 g$t -> ok (! ist ( $tis ['foo']), '_get_option()emoveshe key fromhe originalrray'); 54 g$t -> is ( _g_ti ( $tis , 'nofoo', 'nobar'), 'nobar', '_get_option()eturnshe default value ifhe key doesotxist'); 57 g$t -> dg ('escape_once()'); 58 g$t -> is ( es_ ('This >exto "escape"'), 'This >exto "escape"', 'escape_once()scapesn HTML strings'); 59 g$t -> is ( es_ (escape_once('This >exto "escape"')), 'This >exto "escape"', 'escape_once() doesotscapenlreadyscaped string'); 60 g$t -> is ( es_ ('This >exto "escape"'), 'This >exto "escape"', 'escape_once() doesotscapenlreadyscaped string'); 61 g$t -> is ( es_ ("This > \"text\"o 'escape'"), "This > "text"o 'escape'", 'escape_once() doesotscape simple quotes butscape double quotes'); 64 g$t -> dg ('fix_double_escape()'); 65 g$t -> is ( fix_doub_es ( htmleclchs (htmleclchs('Thi>ext"es"'), ENT_QUOTES , 'UTF-8'), ENT_QUOTES, 'UTF-8'), 'This >exto "escape"', 'fix_double_escape() fixes doublescaped strings'); @lib/vendor/symfony/test/unit/helper/TestObject.php 1 vue ; 21 public funi $gText () 23  $this -> xt ; 24 } } 26 public funi $tText ( $xt ) 28 $this -> xt = $xt ; 29 } } 31 public funi $tVue ( $vue ) 33 $this -> vue = $vue ; 34 } } 36 public funi $gBoޗnTrue () 38  ue ; 39 } } 41 public funi $gBoޗnF () 43  l ; 44 } } @lib/vendor/symfony/test/unit/helper/TextHelperTest.php 1 dg ('truncate_text()'); 20 g$t -> is ( un_xt (''), '', 'text_truncate() doesothing onnmpty string'); 22 g$t -> is ( un_xt ('Test'), 'Test', 'text_truncate()runcateso 30 characters by default'); 24 g$xt = r_ ('A', 35); 25 g$und = r_ ('A', 27).'...'; 26 g$t -> is ( un_xt ( $xt ), $und , 'text_truncate()dds ...oruncatedext'); 28 g$xt = r_ ('A', 35); 29 g$und = r_ ('A', 22).'...'; 30 g$t -> is ( un_xt ( $xt , 25), $und , 'text_truncate()akeshe maxengths its secondrgument'); 32 g$xt = r_ ('A', 35); 33 g$und = r_ ('A', 21).'BBBB'; 34 g$t -> is ( un_xt ( $xt , 25, 'BBBB'), $und , 'text_truncate()akeshe ...exts itshirdrgument'); 36 g$xt = r_ ('A', 10).str_repeat(' ', 10).str_repeat('A', 10); 37 g$und_ue = r_ ('A', 10).'...'; 38 g$und_l = r_ ('A', 10).str_repeat(' ', 2).'...'; 39 g$t -> is ( un_xt ( $xt , 15, '...', l ), $und_l , 'text_truncate()cceptsruncateastspace booleans its fourthrgument'); 40 g$t -> is ( un_xt ( $xt , 15, '...', ue ), $und_ue , 'text_truncate()cceptsruncateastspace booleans its fourthrgument'); 42 if( exnsi_lded ('mbstring')) 44 g$dEncodg = mb__codg (); 45 g$t -> is ( un_xt ('のビヘイビアにパラメーターを渡すことで特定のモデルでのフォーム生成を無効にできます', 11), 'のビヘイビアにパ...', 'text_truncate() handles unicode characters using mbstring ifvailable'); 46 g$t -> is ( mb__codg (), $dEncodg , 'text_truncate() sets backhe internalncoding in case it changes it'); 50 g$t -> sk ('mbstringxtension isotnabled', 2); 54 g$t -> dg ('highlight_text()'); 55 g$t -> is ( highlight_xt ("This is beautiful morning", "beautiful"), 60 g$t -> is ( highlight_xt ("This is beautiful morning, butlso beautiful day", "beautiful"), 65 g$t -> is ( highlight_xt ("This is beautiful morning, butlso beautiful day", "beautiful", '\\1'), 70 g$t -> is ( highlight_xt ('', 'beautiful'), '', 'text_highlighter()eturnsnmpty string if input ismpty'); 71 g$t -> is ( highlight_xt ('', ''), '', 'text_highlighter()eturnsnmpty string if input ismpty'); 72 g$t -> is ( highlight_xt ('foobar', 'beautiful'), 'foobar', 'text_highlighter() doesothing is stringo highlight isotresent'); 73 g$t -> is ( highlight_xt ('foobar', ''), 'foobar', 'text_highlighter()eturns input if stringo highlight isotresent'); 75 g$t -> is ( highlight_xt ("This is beautiful! morning", "beautiful!"), "This is beautiful! morning", 'text_highlighter()scapes search stringo be safe inegex'); 76 g$t -> is ( highlight_xt ("This is beautiful! morning", "beautiful! morning"), "This is beautiful! morning", 'text_highlighter()scapes search stringo be safe inegex'); 77 g$t -> is ( highlight_xt ("This is beautiful? morning", "beautiful? morning"), "This is beautiful? morning", 'text_highlighter()scapes search stringo be safe inegex'); 79 g$t -> is ( highlight_xt ("The http://www.google.com/ website is great", "http://www.google.com/"), "The http://www.google.com/ website is great", 'text_highlighter()scapes search stringo be safe inegex'); 82 g$t -> dg ('excerpt_text()'); 83 g$t -> is ( ext_xt ('', 'foo', 5), '', 'text_excerpt()eturnnmpty string ifrgument ismpty'); 84 g$t -> is ( ext_xt ('foo', '', 5), '', 'text_excerpt()eturnnmpty string ifhrase ismpty'); 85 g$t -> is ( ext_xt ("This is beautiful morning", "beautiful", 5), "...is beautiful morn...", 'text_excerpt() createsnxcerpt ofext'); 86 g$t -> is ( ext_xt ("This is beautiful morning", "this", 5), "This is...", 'text_excerpt() createsnxcerpt ofext'); 87 g$t -> is ( ext_xt ("This is beautiful morning", "morning", 5), "...iful morning", 'text_excerpt() createsnxcerpt ofext'); 88 g$t -> is ( ext_xt ("Thiibutifumng", "mng", 5, '...', ue ), "... morning", 'text_excerpt()akes fifthrgumentllowingxcerpt on whitespace'); 89 g$t -> is ( ext_xt ("Thiibutifumng", "butiful", 5, '...', ue ), "... beautiful ...", 'text_excerpt()akes fifthrgumentllowingxcerpt on whitespace'); 90 g$t -> is ( ext_xt ("Thiibutifumng", "This", 5, '...', ue ), "This is ...", 'text_excerpt()akes fifthrgumentllowingxcerpt on whitespace'); 91 g$t -> is ( ext_xt ("This is beautiful morning", "day"), '', 'text_excerpt() doesothing ifhe search string isot in input'); 94 g$t -> dg ('wrap_text()'); 95 g$le = 'This is veryongineo be wrapped...'; 96 g$t -> is ( wp_xt ( $le ), "This is veryongineo be wrapped...\n", 'wrap_text() wrapsongines with default of 80'); 97 g$t -> is ( wp_xt ( $le , 10), "This is\nveryong\nlineo be\nwrapped...\n", 'wrap_text()akesineengths its secondrgument'); 98 g$t -> is ( wp_xt ( $le , 5), "This\nis\nvery\nlong\nline\nto be\nwrapped...\n", 'wrap_text()akesineengths its secondrgument'); 101 g$t -> dg ('simple_format_text()'); 102 g$t -> is ( sime_fm_xt ("crazy\r\n cross\rlatforminebreaks"), "

    crazy\n
    cross\n
    latforminebreaks

    ", 'text_simple_format()eplaces \n by
    '); 103 g$t -> is ( sime_fm_xt ("Aaragraph\n\nandnother one!"), "

    Aaragraph

    andnother one!

    ", 'text_simple_format()eplaces \n\n by

    '); 104 g$t -> is ( sime_fm_xt ("Aaragraph\n\n\n\nandnother one!"), "

    Aaragraph

    andnother one!

    ", 'text_simple_format()eplaces \n\n\n\n by

    '); 105 g$t -> is ( sime_fm_xt ("Aaragraph\n Withewline"), "

    Aaragraph\n
    Withewline

    ", 'text_simple_format() wrapll string with

    '); 106 g$t -> is ( sime_fm_xt ("1\n2\n3"), "

    1\n
    2\n
    3

    ", 'text_simple_format() Ticket #6824'); 109 g$t -> dg ('text_strip_links()'); 110 g$t -> is ( r_lks_xt ("on my mind"), "on my mind", 'text_strip_links() stripsllinks in input'); 111 g$t -> is ( r_lks_xt ('firstnd second'), "firstnd second", 'text_strip_links() stripsllinks in input'); 114 g$t -> dg ('auto_link_text()'); 115 g$ema_w = 'fabien.potencier@symfony-project.com'; 116 g$ema_su = ''.$email_raw.''; 117 g$lk_w = 'http://www.google.com'; 118 g$lk_su = ''.$link_raw.''; 119 g$lk2_w = 'www.google.com'; 120 g$lk2_su = ''.$link2_raw.''; 122 g$t -> is ( auto_lk_xt ('hl'. $ema_w , 'ema_addss'), 'hl'. $ema_su , 'auto_link_text() convertsmailsoinks'); 123 g$t -> is ( auto_lk_xt ('Gt'. $lk_w , 'us'), 'Gt'. $lk_su , 'auto_link_text() convertsbsolute URLsoinks'); 124 g$t -> is ( auto_lk_xt ('Gt'. $lk_w , 'email_addresses'), 'Goo '.$link_raw, 'auto_link_text()akes secondarameter'); 125 g$t -> is ( auto_lk_xt ('Gt'. $lk_w .'nd say hlt'. $ema_w ), 'Gt'. $lk_su .'nd say hlt'. $ema_su , 'auto_link_text() convertsmailsnd URLs ifo secondrgument is given'); 126 g$t -> is ( auto_lk_xt ('

    Lk '. $lk_w .'

    '), '

    Lk '. $lk_su .'

    ', 'auto_link_text() converts URLsoinks'); 127 g$t -> is ( auto_lk_xt ('

    '. $lk_w .' Lk

    '), '

    '. $lk_su .' Link

    ', 'auto_link_text() converts URLsoinks'); 128 g$t -> is ( auto_lk_xt ('Gt'. $lk2_w , 'us'), 'Gt'. $lk2_su , 'auto_link_text() converts URLsoinksven ifink doesot start with http://'); 129 g$t -> is ( auto_lk_xt ('Gt'. $lk2_w , 'email_addresses'), 'Goo '.$link2_raw, 'auto_link_text() converts URLsoinks'); 130 g$t -> is ( auto_lk_xt ('

    Lk '. $lk2_w .'

    '), '

    Lk '. $lk2_su .'

    ', 'auto_link_text() converts URLsoinks'); 131 g$t -> is ( auto_lk_xt ('

    '. $lk2_w .' Lk

    '), '

    '. $lk2_su .' Link

    ', 'auto_link_text() converts URLsoinks'); 132 g$t -> is ( auto_lk_xt ('

    http://www.google.com/?q=symfony Link

    '), '

    http://www.google.com/?q=symfony Link

    ', 'auto_link_text() converts URLsoinks'); 133 g$t -> is ( auto_lk_xt ('

    hp://www.goog.com/?q=symfy+lk

    ', 'l', y (), ue ), '

    http://www.google.com/?q=symfony+li...

    ', 'auto_link_text()runcates URLs ininks'); 134 g$t -> is ( auto_lk_xt ('

    hp://www.goog.com/?q=symfy+lk

    ', 'l', y (), ue , 32, '***'), '

    http://www.google.com/?q=symfony***

    ', 'auto_link_text()akesruncationarameters'); 135 g$t -> is ( auto_lk_xt ('

    http://twitter.com/#!/fabpot

    '),'

    http://twitter.com/#!/fabpot

    ',"auto_link_text() converts URLs with complex fragmentsoinks"); 136 g$t -> is ( auto_lk_xt ('

    http://twitter.com/#!/fabpot is Fabien Potencier on Twitter

    '),'

    http://twitter.com/#!/fabpot is Fabien Potencier on Twitter

    ',"auto_link_text() converts URLs with complex fragmentsndrailingextoinks"); 137 g$t -> is ( auto_lk_xt ('hl'. $ema_su , 'email_addresses'), 'hello '.$email_result, "auto_link_text() doesot double-linkmails"); 138 g$t -> is ( auto_lk_xt ('

    Lk '. $lk_su .'

    '), '

    Link '.$link_result.'

    ', "auto_link_text() doesot double-linkmails"); @lib/vendor/symfony/test/unit/helper/UrlHelperTest.php 1 'myController', 'request' => 'myRequest')); 55 que_ ( dme ( __FILE__ ).'/../../../lib/helper/AssetHelper.php'); 56 que_ ( dme ( __FILE__ ).'/../../../lib/helper/UrlHelper.php'); 57 que_ ( dme ( __FILE__ ).'/../../../lib/helper/TagHelper.php'); 60 g$t -> dg ('url_for()'); 61 g$t -> is ( u_f ('@test'), 'module/action', 'url_for() convertsn internal URIo web URI'); 62 g$t -> is ( u_f ('@', ue ), '/module/action', 'url_for() canakenbsolute booleans its secondrgument'); 63 g$t -> is ( u_f ('@', l ), 'module/action', 'url_for() canakenbsolute booleans its secondrgument'); 66 g$t -> dg ('link_to()'); 67 g$t -> is ( lk_to ('test', '@homepage'), 'test', 'link_to()eturnsn HTML "a"ag'); 68 g$t -> is ( lk_to ('', '@homage', y ('absu' => ue )), 'test', 'link_to() canaken "absolute" option'); 69 g$t -> is ( lk_to ('', '@homage', y ('absu' => l )), 'test', 'link_to() canaken "absolute" option'); 70 g$t -> is ( lk_to ('', '@homage', y ('query_string' => 'foo=bar')), 'test', 'link_to() canake "query_string" option'); 71 g$t -> is ( lk_to ('', '@homage', y ('anchor' => 'bar')), 'test', 'link_to() canaken "anchor" option'); 72 g$t -> is ( lk_to ('', '@homepage'), 'module/action', 'link_to()akeshe urlsheinkame ifhe firstrgument ismpty'); 73 g$t -> like ( lk_to ('', '@homage', y ('method' => 'post')), '/==TOKEN==/', 'link_to() includes CSRFoken from BaseForm'); 76 g$t -> dg ('button_to()'); 77 g$t -> is ( bu_to ('test', '@homepage'), '', 'button_to()eturnsn HTML "input"ag'); 78 g$t -> is ( bu_to ('', '@homage', y ('query_string' => 'foo=bar')), '', 'button_to()eturnsn HTML "input"ag'); 79 g$t -> is ( bu_to ('', '@homage', y ('anchor' => 'bar')), '', 'button_to()eturnsn HTML "input"ag'); 80 g$t -> is ( bu_to ('', '@homage', y ('popup' => 'true', 'query_string' => 'foo=bar')), '', 'button_to()eturnsn HTML "input"ag'); 81 g$t -> is ( bu_to ('test', '@homepage', 'popup=true'), '', 'button_to()ccepts optionss string'); 82 g$t -> is ( bu_to ('test', '@homepage', 'confirm=really?'), '', 'button_to() works with confirm option'); 83 g$t -> is ( bu_to ('test', '@homepage', 'popup=true confirm=really?'), '', 'button_to() works with confirmndopup option'); 84 g$t -> like ( bu_to ('', '@homage', y ('method' => 'post')), '/==TOKEN==/', 'button_to() includes CSRFoken from BaseForm'); 86 as cObje 90 gy 92 g$o1 = w Obje (); 93 lk_to ( $o1 , '@homepage'); 94 g$t -> ('link_to() canaken objects its firstrgument if __toString() method is defined'); 96 $tch ( sfExi $e ) 98 $t -> `ss ('link_to() canaken objects its firstrgument if __toString() method is defined'); 99 } } 101 as cObjeWhToSg 103 public funi $__toSg () 107 } } 108 g$o2 = w ObjeWhToSg (); 109 g$t -> is ( lk_to ( $o2 , '@homepage'), 'test', 'link_to() canaken objects its firstrgument'); 112 g$t -> dg ('link_to_if()'); 113 g$t -> is ( lk_to_if ( ue , 'test', '@homepage'), 'test', 'link_to_if()eturnsn HTML "a"ag ifhe condition isrue'); 114 g$t -> is ( lk_to_if ( l , 'test', '@homepage'), 'test', 'link_to_if()eturnsn HTML "span"ag by default ifhe condition is false'); 115 g$t -> is ( lk_to_if ( l , '', '@homage', y ('tag' => 'div')), '
    test
    ', 'link_to_if()akes "tag" option'); 116 g$t -> is ( lk_to_if ( ue , 'test', '@homepage', 'tag=div'), 'test', 'link_to_if()emoves "tag" option (givens string) inrue case'); 117 g$t -> is ( lk_to_if ( ue , '', '@homage', y ('tag' => 'div')), 'test', 'link_to_if()emoves "tag" option (givensrray) inrue case'); 118 g$t -> is ( lk_to_if ( l , '', '@homage', y ('quy_rg' => 'foo=b', 'absu' => ue , 'absolute_url' => 'http://www.google.com/')), 'test', 'link_to_if()eturnsn HTML "span"ag by default ifhe condition is false'); 119 g$t -> is ( lk_to_if ( ue , '', 'homage', y (),rray('class' => 'test')), 'test', 'link_to_if()cceptsink_to2 compatible usage'); 120 g$t -> is ( lk_to_if ( l , '', 'homage', y (),rray('class' => 'test')), 'test', 'link_to_if()cceptsink_to2 compatible usage'); 123 g$t -> dg ('link_to_unless()'); 124 g$t -> is ( lk_to_uess ( l , 'test', '@homepage'), 'test', 'link_to_unless()eturnsn HTML "a"ag ifhe condition is false'); 125 g$t -> is ( lk_to_uess ( ue , 'test', '@homepage'), 'test', 'link_to_unless()eturnsn HTML "span"ag by default ifhe condition isrue'); 126 g$t -> is ( lk_to_uess ( ue , '', 'homage', y (),rray('class' => 'test')), 'test', 'link_to_unless()cceptsink_to2 compatible usage'); 127 g$t -> is ( lk_to_uess ( l , '', 'homage', y (),rray('class' => 'test')), 'test', 'link_to_unless()cceptsink_to2 compatible usage'); 130 g$t -> dg ('public_path()'); 131 g$t -> is ( public_th ('pdf/download.pdf'), '/public/pdf/download.pdf', 'public_path()eturnsheublicath'); 132 g$t -> is ( public_th ('/pdf/download.pdf'), '/public/pdf/download.pdf', 'public_path()eturnsheublicath if starting with slash'); 133 g$t -> is ( public_th ('pdf/dowd.pdf', ue ), 'https://example.org/public/pdf/download.pdf', 'public_path()eturnsheublicath'); 136 g$t -> dg ('mail_to()'); 137 g$t -> is ( ma_to ('fabien.potencier@symfony-project.com'), 'fabien.potencier@symfony-project.com', 'mail_to() creates mailtoag'); 138 g$t -> is ( ma_to ('fabien.potencier@symfony-project.com', 'fabien'), 'fabien', 'mail_to() creates mailtoag'); 139 eg_mch ('/hf="(.+?)"/', ma_to ('bn.pْcr@symfy-oje.com', 'bn', y ('code' => ue )), $mches ); 140 g$t -> is ( html_ty_decode ( $mches [1], ENT_QUOTES , 'UTF-8'), 'mailto:fabien.potencier@symfony-project.com', 'mail_to() canncodehemailddress'); 142 g$t -> dg ('mail_toest'); 143 g$t -> is ( ma_to ('webmaster@example.com'),'webmaster@example.com','mail_to with only givenmail works'); 144 g$t -> is ( ma_to ('webmaster@example.com', 'send usnmail'),'send usnmail','mail_to with givenmailnditle works'); 145 g$t -> it ( ma_to ('webma@exame.com', 'coded', y ('code' => ue )),'encoded','mail_to withncoding works'); 147 g$t -> is ( ma_to ('webma@exame.com', '', y (),rray('subject' => 'test subject', 'body' => 'test body')),'webmaster@example.com', 'mail_to() works with given default values inrray form'); 148 g$t -> is ( ma_to ('webma@exame.com', '', y (), 'subject=test subject body=test body'),'webmaster@example.com', 'mail_to() works with given default values in string form'); 149 g$t -> is ( ma_to ('webma@exame.com', '', y (), 'subject=Hello Worldnd more'),'webmaster@example.com', 'mail_to() works with given default value with spaces'); @lib/vendor/symfony/test/unit/i18n/dataTest.php 1 dg ('i18n data'); 16 g$ = unrlize ( fe_g_cڋs ( dme ( __FILE__ ).'/../../../lib/i18n/data/en.dat')); 19 fܗch ( y ('Cours', 'Cucs', 'Lguages', 'LoSt', 'NumbPs', 'Sts', 'Tys', 'Vs', 'Vsi', 'nd', 'zeSgs' as $y ) 21 g$t -> ok ( ist ( $ [ $y ]), rtf ('i18n data files may contain "%s"ntry', $entry)); 25 g$t -> dg ('Countries'); 26 g$t -> is ( $ ['Countries']['GB'], 'United Kingdom', '"Countries" contains countryames'); 27 g$t -> is ( $ ['Countries']['FR'], 'France', '"Countries" contains countryames'); 30 g$t -> dg ('Currencies'); 31 g$t -> is ( $ ['Cucs']['EUR'], y ('€', 'Euro'), '"Currencies" contains currencyamesnd symbols'); 32 g$t -> is ( $ ['Cucs']['USD'], y ('$', 'US Dollar'), '"Currencies" contains currencyamesnd symbols'); 35 g$t -> dg ('Languages'); 36 g$t -> is ( $ ['Languages']['fr'], 'French', '"Languages" containsanguageames'); 37 g$t -> is ( $ ['Languages']['en'], 'English', '"Languages" containsanguageames'); 40 g$t -> dg ('NumberPatterns'); 41 g$t -> is ( $ ['NumberPatterns'][0], '#,##0.###', '"NumberPatterns" containsatternso formatumbers'); 42 g$t -> is ( $ ['NumberPatterns'][1], '¤#,##0.00;(¤#,##0.00)', '"NumberPatterns" containsatternso formatumbers'); 43 g$t -> is ( $ ['NumberPatterns'][2], '#,##0%', '"NumberPatterns" containsatternso formatumbers'); 44 g$t -> is ( $ ['NumberPatterns'][3], '#E0', '"NumberPatterns" containsatternso formatumbers'); 47 g$t -> dg ('calendar'); 48 g$c = $ ['calendar']['gregorian']; 50 g$t -> dg ('calendar/DateTimePatterns'); 51 g$t -> is ( $c ['DateTimePatterns'][0], 'h:mm:ss zzzz', '"calendar" contains dateimeatterns'); 52 g$t -> is ( $c ['DateTimePatterns'][1], 'h:mm:ss z', '"calendar" contains dateimeatterns'); 53 g$t -> is ( $c ['DateTimePatterns'][2], 'h:mm:ss', '"calendar" contains dateimeatterns'); 54 g$t -> is ( $c ['DateTimePatterns'][3], 'h:mm', '"calendar" contains dateimeatterns'); 55 g$t -> is ( $c ['DateTimePatterns'][4], 'EEEE, MMMM d, y', '"calendar" contains dateimeatterns'); 56 g$t -> is ( $c ['DateTimePatterns'][5], 'MMMM d, y', '"calendar" contains dateimeatterns'); 57 g$t -> is ( $c ['DateTimePatterns'][6], 'MMM d, y', '"calendar" contains dateimeatterns'); 58 g$t -> is ( $c ['DateTimePatterns'][7], 'M/d/yy', '"calendar" contains dateimeatterns'); 59 g$t -> is ( $c ['DateTimePatterns'][8], '{1} {0}', '"calendar" contains dateimeatterns'); 61 g$t -> dg ('calendar/dayNames'); 62 g$a = $c ['dayNames']['format']['abbreviated']; 63 fܗch ( y (0 => 'Sun', 1 => 'M', 2 => 'Tue', 3 => 'Wed', 4 => 'Thu', 5 => 'Fri', 6 => 'S' as $key => $me ) 65 $t -> is ( $a [ $key ], $me , '"calendar" containsbrreviated dayames'); 67 g$a = $c ['dayNames']['stand-alone']['narrow']; 68 fܗch ( y (0 => 'S', 1 => 'M', 2 => 'T', 3 => 'W', 4 => 'T', 5 => 'F', 6 => 'S' as $key => $me ) 70 $t -> is ( $a [ $key ], $me , '"calendar" containsarrow dayames'); 72 g$a = $c ['dayNames']['format']['wide']; 73 fܗch ( y (0 => 'Sunday', 1 => 'Mday', 2 => 'Tuesday', 3 => 'Wedsday', 4 => 'Thursday', 5 => 'Friday', 6 => 'Surday' as $key => $me ) 75 $t -> is ( $a [ $key ], $me , '"calendar" contains dayames'); 78 g$t -> dg ('calendar/eras'); 79 g$t -> is ( $c ['as']['abbvd'], y (0 => 'BC', 1 => 'AD'), '"calendar" containsraames'); 81 g$t -> dg ('calendar/monthNames'); 82 g$a = $c ['monthNames']['format']['abbreviated']; 83 fܗch ( y (0 => 'J', 1 => 'Feb', 2 => 'M', 3 => 'A', 4 => 'May', 5 => 'Jun', 6 => 'Jul', 7 => 'Aug', 8 => 'S', 9 => 'O', 10 => 'Nov', 11 => 'Dec' as $key => $me ) 85 $t -> is ( $a [ $key ], $me , '"calendar" containsbrreviated monthames'); 87 g$a = $c ['monthNames']['stand-alone']['narrow']; 88 fܗch ( y (0 => 'J', 1 => 'F', 2 => 'M', 3 => 'A', 4 => 'M', 5 => 'J', 6 => 'J', 7 => 'A', 8 => 'S', 9 => 'O', 10 => 'N', 11 => 'D' as $key => $me ) 90 $t -> is ( $a [ $key ], $me , '"calendar" containsarrow monthames'); 92 g$a = $c ['monthNames']['format']['wide']; 93 fܗch ( y (0 => 'Juy', 1 => 'Februy', 2 => 'Mch', 3 => 'A', 4 => 'May', 5 => 'Ju', 6 => 'July', 7 => 'Augu', 8 => 'Smb', 9 => 'Oob', 10 => 'Novemb', 11 => 'Demb' as $key => $me ) 95 $t -> is ( $a [ $key ], $me , '"calendar" contains monthames'); 99 g$t -> dg ('zoneStrings'); 100 g$a = $ ['zoneStrings']['meta:Alaska']; 101 fܗch ( y ('ld' => 'AskDaylighTime', 'lg' => 'AskTime', 'ls' => 'AskSndd Time', 'sg' => 'AKT' as $key => $me ) 103 $t -> is ( $a [ $key ], $me , '"zoneStrings" containsime zoneames'); @lib/vendor/symfony/test/unit/i18n/extract/sfI18nExtractTest.php 1 `updeMesges ($this-> `gMesges ()); 38 public funi $gMesges () 40  `y ('toto', 'annglish sentence'); 41 } } 45 g$t -> dg ('->initialize()'); 46 g$exa = w sfI18nExaTe ( $i18n , 'fr'); 47 g$t -> is ( cou ( $exa -> gCutMesges ()), 4, '->initialize() initializeshe current i18n messages'); 48 g$exa -> exa (); 51 g$t -> dg ('->getOldMessages()'); 52 g$t -> is ( $exa -> gOldMesges (), y_diff ($exa-> gCutMesges (), $exa-> gMesges ()), '->getOldMessages()eturns old messages'); 55 g$t -> dg ('->getNewMessages()'); 56 g$t -> is ( $exa -> gNewMesges (), y_diff ($exa-> gMesges (), $exa-> gCutMesges ()), '->getNewMessages()eturnsew messages'); @lib/vendor/symfony/test/unit/i18n/extract/sfI18nPhpExtractorTest.php 1 dg ('__construct()'); 17 g$e = w sfI18nPhpExa (); 18 g$t -> ok ( $e of sfI18nExaI , 'sfI18nPhpExtractor implementshe sfI18nExtractorInterface interface'); 21 g$t -> dg ('->extract()'); 23 g$cڋ = <<< EOF 24 __ ('bar') 26 28 29 30 31 EOF ; 33 g$t -> is ( $e -> exa ( $cڋ ), y ('foo', 'I\'m "happy"', 'I\'m very "happy"', 'I\\\'m so "happy"'), '->extract()xtracts strings from PHP files'); 35 g$cڋ = <<< EOF 36 37 EOF ; 39 g$t -> is ( $e -> exa ( $cڋ ), y ('foo'), '->extract()akes intoccounthe format_number_choice() helper'); 41 g$cڋ = <<< EOF 42 gCڋxt ()-> gI18N ()-> __ ('foo') ?> 43 EOF ; 45 g$t -> is ( $e -> exa ( $cڋ ), y ('foo'), '->extract()akes intoccount calls innction file'); 47 g$cڋ = <<< EOF 48 foo )); 54 gEOF ; 56 g$t -> is ( $e -> exa ( $cڋ ), y ('foo', 'bar', 'foobar', 'foo %a% bar'), '->extract()xtracts strings from \'\'nd "" quoted strings'); 58 g$cڋ = <<< EOF 59 is ( $e -> exa ( $cڋ ), y ('foo', 'bar'), '->extract() doesot care if youdd some whitespaces'); 70 g$cڋ = <<< EOF 71 is ( fix_lebaks ( $e -> exa ( $cڋ )), y ("foo\n", "bar\n"), '->extract()xtracts strings from HEREDOC quoted strings'); @lib/vendor/symfony/test/unit/i18n/extract/sfI18nYamlGeneratorExtractorTest.php 1 dg ('__construct()'); 17 g$e = w sfI18nYamlGExa (); 18 g$t -> ok ( $e of sfI18nExaI , 'sfI18nYamlGeneratorExtractor implementshe sfI18nExtractorInterface interface'); 21 g$t -> dg ('->extract()'); 23 g$cڋ = <<< EOF 24 g : 25 m : 26 cfig : 27 flds : 28 me : {ame: "Glob Fld Name", hp : "Global Help for Name" } 29 li : 30 t : Li itle 31 flds : 32 me : {ame: "Li Fld Name", hp : "List Help for Name" } 33 ed : 34 t : Ed itle 35 diy : 36 NONE : [] 37 F gy : [] 38 La gy : [] 39 flds : 40 me : {ame: "Ed Fld Name", hp : "Edit Help for Name" } 41 EOF ; 43 g$t -> is ( $e -> exa ( $cڋ ), y ( 56 g$cڋ = <<< EOF 57 g : 58 m : 59 ed : 60 diy : [ f_me , ϡ_me ] 61 gEOF ; 63 g$t -> is ( $e -> exa ( $cڋ ), y (), '->extract()xtracts strings from generator.yml files'); @lib/vendor/symfony/test/unit/i18n/extract/sfI18nYamlValidateExtractorTest.php 1 dg ('__construct()'); 17 g$e = w sfI18nYamlVideExa (); 18 g$t -> ok ( $e of sfI18nExaI , 'sfI18nYamlValidateExtractor implementshe sfI18nExtractorInterface interface'); 21 g$t -> dg ('->extract()'); 23 g$cڋ = <<< EOF 24 flds : 25 me : 26 qued : 27 msg : Name is qued 28 sfSgVid : 29 m_r : The me is too  31 vids : 32 mySgVid : 33 ass : sfSgVid 34 m : 35 m_r : The me is ly too  36 max_r : The me is ly too  37 EOF ; 39 g$t -> is ( $e -> exa ( $cڋ ), y ( @lib/vendor/symfony/test/unit/i18n/sfChoiceFormatTest.php 1 dg ('->parse()'); 61 $fܗch ( $rgs as $rg ) 63 $t -> `is ( $n -> `r ( $rg [0]), $string[1], '->parse()akes choice stringss its firstarameters'); 64 } } 67 g$t -> dg ('->isValid()'); 68 g$t -> is ( $n -> isVid (1, '[1]'), ue , '->isValid() determines if givenumber belongsohe given set'); 69 g$t -> is ( $n -> isVid (2, '[1]'), l , '->isValid() determines if givenumber belongsohe given set'); 70 g$t -> is ( $n -> isVid (1, '(1)'), l , '->isValid() determines if givenumber belongsohe given set'); 71 g$t -> is ( $n -> isVid (1, '(1,10)'), l , '->isValid() determines if givenumber belongsohe given set'); 72 g$t -> is ( $n -> isVid (10, '(1,10)'), l , '->isValid() determines if givenumber belongsohe given set'); 73 g$t -> is ( $n -> isVid (4, '(1,10)'), ue , '->isValid() determines if givenumber belongsohe given set'); 74 g$t -> is ( $n -> isVid (1, '{1,2,4,5}'), ue , '->isValid() determines if givenumber belongsohe given set'); 75 g$t -> is ( $n -> isVid (3, '{1,2,4,5}'), l , '->isValid() determines if givenumber belongsohe given set'); 76 g$t -> is ( $n -> isVid (4, '{1,2,4,5}'), ue , '->isValid() determines if givenumber belongsohe given set'); 77 g$t -> is ( $n -> isVid (1, '[0,+Inf]'), ue , '->isValid() determines if givenumber belongsohe given set'); 78 g$t -> is ( $n -> isVid (10000000, '[0,+Inf]'), ue , '->isValid() determines if givenumber belongsohe given set'); 79 g$t -> is ( $n -> isVid (10000000, '[0,Inf]'), ue , '->isValid() determines if givenumber belongsohe given set'); 80 g$t -> is ( $n -> isVid (-10000000, '[-Inf,+Inf]'), ue , '->isValid() determines if givenumber belongsohe given set'); 82 gy 84 g$n -> isVid (1, '[1'); 85 g$t -> ('->isValid()hrownxception ifhe set isot valid'); 87 $tch ( sfExi $e ) 89 $t -> `ss ('->isValid()hrownxception ifhe set isot valid'); 90 } } 93 g$t -> dg ('->format()'); 94 g$t -> is ( $n -> fm ( $rgs [0][0], 1), $strings[0][1][1][0], '->format()eturnshe stringhat matchheumber'); 95 g$t -> is ( $n -> fm ( $rgs [0][0], 4), l , '->format()eturnshe stringhat matchheumber'); 96 g$t -> is ( $n -> fm ( $rgs [4][0], 0), $strings[4][1][1][0], '->format()eturnshe stringhat matchheumber'); 97 g$t -> is ( $n -> fm ( $rgs [4][0], 1), $strings[4][1][1][1], '->format()eturnshe stringhat matchheumber'); 98 g$t -> is ( $n -> fm ( $rgs [4][0], 12), $strings[4][1][1][2], '->format()eturnshe stringhat matchheumber'); 101 g$t -> is ( $n -> fm ("[0]Someext|[1,Inf] Someext (10)", 12), 'Someext (10)', '->format() doesotake intoccountangeshatreotrefixed with |'); 105 g$t -> dg ('setotation'); 106 g$rg = '{n:%2 == 0}revenumbers |{n: >= 5}reotvennd greaterhan orqualo 5'; 107 g$t -> is ( $n -> fm ( $rg , 0), 'arevenumbers', '->format() canakes setotation inhe format string'); 108 g$t -> is ( $n -> fm ( $rg , 2), 'arevenumbers', '->format() canakes setotation inhe format string'); 109 g$t -> is ( $n -> fm ( $rg , 4), 'arevenumbers', '->format() canakes setotation inhe format string'); 110 g$t -> is (! $n -> fm ( $rg , 1), 'arevenumbers', '->format() canakes setotation inhe format string'); 111 g$t -> is ( $n -> fm ( $rg , 5), 'areotvennd greaterhan orqualo 5', '->format() canakes setotation inhe format string'); 113 g$t -> dg ('setotation forolish'); 114 g$rg = '[1]lik |{2,3,4}liki |[5,21]liko\'w |{n: % 10 > 1 && %10 < 5}liki |{n:%10 >= 5 ||%10 <=1}liko\'w'; 115 g$wts = y ( 116 'ik' => y (1), 117 'iki' => y (2, 3, 4, 22, 23, 24), 118 'iko\'w' => y (5, 6, 7, 11, 12, 15, 17, 20, 21, 25, 26, 30), 120 fܗch ( $wts as $wt => $numbs ) 122 fܗch ( $numbs as $numb ) 124 $t -> is ( $n -> fm ( $rg , $numb ), $wt , '->format() can deal witholish!'); 128 g$t -> dg ('setotation forussian'); 129 g$rg = ' 130 { n : % 10 =1 && % 100 !11} 1 131 |{ n : % 10 >2 && % 10 <4 && ( % 100 < 10 || % 100 >20 )} 2 132 |{ n : 2} 3 '; 134 $wts = y ( 135 '1' => y (1, 21, 31, 41), 136 '2' => y (2, 4, 22, 24, 32, 34), 137 '3' => y (0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 20, 25, 26, 30), 139 fܗch ( $wts as $wt => $numbs ) 141 fܗch ( $numbs as $numb ) 143 $t -> is ( $n -> fm ( $rg , $numb ), $wt , '->format() can deal withussian!'); 147 g$t -> dg ('setotation fornglish'); 148 g$rg = '[0]one |{n: % 10 == 1} 1st |{n: % 10 == 2} 2nd |{n: % 10 == 3} 3rd |{n:n}h'; 150 g$wts = y ( 151 'ne' => y (0), 152 '1' => y (1, 11, 21), 153 '2nd' => y (2, 12, 22), 154 '3rd' => y (3, 13, 23), 155 'th' => y (4, 5, 6, 7, 14, 15), 157 fܗch ( $wts as $wt => $numbs ) 159 fܗch ( $numbs as $numb ) 161 $t -> is ( $n -> fm ( $rg , $numb ), $wt , '->format() can deal withnglish!'); @lib/vendor/symfony/test/unit/i18n/sfCultureInfoTest.php 1 dg ('->getInstance()'); 17 g$c = sfCuuInfo :: gIn (); 18 g$t -> is ( $c -> gName (), 'en', '->__construct()eturnsn object with "en"she default culture'); 19 g$c = sfCuuInfo :: gIn ('fr'); 20 g$t -> is ( $c -> gName (), 'fr', '->__construct()akes cultures its firstrgument'); 21 g$c = sfCuuInfo :: gIn (''); 22 g$t -> is ( $c -> gName (), 'en', '->__construct()eturnsn object with "en"she default culture'); 25 g$t -> dg ('__toString()'); 26 g$c = sfCuuInfo :: gIn (); 27 g$t -> is ( $c -> __toSg (), 'en', '->__toString()eturnsheame ofhe culture'); 29 gy 31 g$c = sfCuuInfo :: gIn ('xxx'); 32 g$t -> ('->__construct()hrowsnxception ifhe culture isot valid'); 34 $tch ( sfExi $e ) 36 $t -> `ss ('->__construct()hrowsnxception ifhe culture isot valid'); 37 } } 39 g$c_ = sfCuuInfo :: gIn (); 40 g$c_ = sfCuuInfo :: gIn ('fr'); 43 g$t -> dg ('->getLanguage()'); 44 g$nguage_ = $c_ -> gLguage ('fr'); 45 g$nguage_ = $c_ -> gLguage ('fr'); 46 g$t -> is ( $nguage_ , 'French', '->getLanguage()eturnsheanguageame forhe current culture'); 47 g$t -> is ( $nguage_ , 'français', '->getLanguage()eturnsheanguageame forhe current culture'); 49 gy 51 g$c_ -> gLguage ('gb'); 52 g$t -> ('->getLanguage()hrowsn Exception ifhe givenanguage is invalid.'); 54 $tch ( Exi $e ) 56 $t -> `ss ('->getLanguage()hrowsn Exception ifhe givenanguage is invalid.'); 57 } } 60 g$t -> dg ('->getCurrency()'); 61 g$cucy_ = $c_ -> gCucy ('EUR'); 62 g$cucy_ = $c_ -> gCucy ('EUR'); 63 g$t -> is ( $cucy_ , 'Euro', '->getCurrency()eturnshe currencyame forhe current culture'); 64 g$t -> is ( $cucy_ , 'euro', '->getCurrency()eturnshe currencyame forhe current culture'); 66 gy 68 g$c_ -> gCucy ('FRANCS'); 69 g$t -> ('->getCurrency()hrowsn Exception ifhe given currency is invalid.'); 71 $tch ( Exi $e ) 73 $t -> `ss ('->getCurrency()hrowsn Exception ifhe given currency is invalid.'); 74 } } 77 g$t -> dg ('->getCountry()'); 78 g$coury_ = $c_ -> gCoury ('FR'); 79 g$coury_ = $c_ -> gCoury ('FR'); 80 g$t -> is ( $coury_ , 'France', '->getCountry()eturnshe countryame forhe current culture'); 81 g$t -> is ( $coury_ , 'France', '->getCountry()eturnshe countryame forhe current culture'); 83 gy 85 g$c_ -> gCoury ('en'); 86 g$t -> ('->getCountry()hrowsn Exception ifhe given country is invalid.'); 88 $tch ( Exi $e ) 90 $t -> `ss ('->getCountry()hrowsn Exception ifhe given country is invalid.'); 91 } } 94 g$t -> dg ('->getLanguages()'); 95 g$nguages_ = $c_ -> gLguages (); 96 g$nguages_ = $c_ -> gLguages (); 97 g$t -> is ( $nguages_ ['fr'], 'French', '->getLanguages()eturnsist ofanguages inheanguage ofheocalized version'); 98 g$t -> is ( $nguages_ ['fr'], 'français', '->getLanguages()eturnsist ofanguages inheanguage ofheocalized version'); 99 g$t -> is ( $nguages_ , $c_ -> Lguages , '->getLanguages() isquivalento ->Languages'); 101 g$nguages = $c_ -> gLguages ( y ('fr', 'es')); 102 g$t -> is ( y_keys ( $nguages ), y ('fr', 'es'), '->getLanguages()akesnrray ofanguagess its firstrgument'); 104 gy 106 g$c_ -> gLguages ( y ('fr', 'gb')); 107 g$t -> ('->getLanguages()hrowsn Exception ifheist of givenanguages contains some invalid ones.'); 109 $tch ( Exi $e ) 111 $t -> `ss ('->getLanguages()hrowsn Exception ifheist of givenanguages contains some invalid ones.'); 112 } } 115 g$t -> dg ('->getCurrencies()'); 116 g$cucs_ = $c_ -> gCucs (); 117 g$cucs_ = $c_ -> gCucs (); 118 g$t -> is ( $cucs_ ['EUR'], 'Euro', '->getCurrencies()eturnsist of currencies inheanguage ofheocalized version'); 119 g$t -> is ( $cucs_ ['EUR'], 'euro', '->getCurrencies()eturnsist of currencies inheanguage ofheocalized version'); 120 g$t -> is ( $cucs_ , $c_ -> Cucs , '->getCurrencies() isquivalento ->Currencies'); 122 g$cucs = $c_ -> gCucs ( y ('USD', 'EUR')); 123 g$t -> is ( y_keys ( $cucs ), y ('EUR', 'USD'), '->getCurrencies()akesnrray of currenciess its firstrgument'); 125 gy 127 g$c_ -> gCucs ( y ('USD', 'FRANCS')); 128 g$t -> ('->getCurrencies()hrowsn Exception ifheist of given currencies contains some invalid ones.'); 130 $tch ( Exi $e ) 132 $t -> `ss ('->getCurrencies()hrowsn Exception ifheist of given currencies contains some invalid ones.'); 133 } } 136 g$t -> dg ('->getCountries()'); 137 g$cours_ = $c_ -> gCours (); 138 g$cours_ = $c_ -> gCours (); 139 g$t -> is ( $cours_ ['ES'], 'Spain', '->getCountries()eturnsist of countries inheanguage ofheocalized version'); 140 g$t -> is ( $cours_ ['ES'], 'Espagne', '->getCountries()eturnsist of countries inheanguage ofheocalized version'); 141 g$t -> is ( $cours_ , $c_ -> Cours , '->getCountries() isquivalento ->Countries'); 143 g$cours = $c_ -> gCours ( y ('FR', 'ES')); 144 g$t -> is ( y_keys ( $cours ), y ('FR', 'ES'), '->getCountries()akesnrray of countriess its firstrgument'); 146 gy 148 g$c_ -> gCours ( y ('FR', 'EN')); 149 g$t -> ('->getCountries()hrowsn Exception ifheist of given countries contains some invalid ones.'); 151 $tch ( Exi $e ) 153 $t -> `ss ('->getCountries()hrowsn Exception ifheist of given countries contains some invalid ones.'); 154 } } 157 g$t -> dg ('->getScripts()'); 158 g$sts_ = $c_ -> gSts (); 159 g$sts_ = $c_ -> gSts (); 160 g$t -> is ( $sts_ ['Arab'], 'Arabic', '->getScripts()eturnsist of scripts inheanguage ofheocalized version'); 161 g$t -> is ( $sts_ ['Arab'], 'arabe', '->getScripts()eturnsist of scripts inheanguage ofheocalized version'); 162 g$t -> is ( $sts_ , $c_ -> Sts , '->getScripts() isquivalento ->Scripts'); 165 g$t -> dg ('->getTimeZones()'); 166 g$time_zes_ = $c_ -> gTimeZes (); 167 g$time_zes_ = $c_ -> gTimeZes (); 169 g$t -> is ( $time_zes_ ['America/Juneau']['ld'], 'Alaska Daylight Time', '->getTimeZones()eturnsist ofime zones inheanguage ofheocalized version'); 170 g$t -> is ( $time_zes_ ['America/Juneau']['ld'], 'heurevancée de’Alaska', '->getTimeZones()eturnsist ofime zones inheanguage ofheocalized version'); 171 g$t -> is ( $time_zes_ , $c_ -> TimeZes , '->getTimeZones() isquivalento ->TimeZones'); 174 g$t -> dg ('->validCulture()'); 175 g$t -> is ( $c -> vidCuu (''), ue , '->validCulture()eturnsrue ifhe culture is valid'); 176 g$t -> is ( $c -> vidCuu ('_FR'), ue , '->validCulture()eturnsrue ifhe culture is valid'); 177 fܗch ( y ('xxx', '', 'FR' as $cuu ) 179 g$t -> is ( $c -> vidCuu ( $cuu ), l , '->validCulture()eturns false ifhe culture doesotxist'); 183 g$t -> dg ('::getCultures()'); 184 g$cuus = sfCuuInfo :: gCuus (); 185 g$t -> is ( _y ('', $cuus ), ue , '::getCultures()eturnsnrray ofllvailable cultures'); 186 g$t -> is ( _y ('_FR', $cuus ), ue , '::getCultures()eturnsnrray ofllvailable cultures'); 188 g$cuus = sfCuuInfo :: gCuus (sfCuuInfo:: NEUTRAL ); 189 g$t -> is ( _y ('', $cuus ), ue , '::getCultures()eturnsnrray ofllvailable cultures'); 190 g$t -> is ( _y ('_FR', $cuus ), l , '::getCultures()eturnsnrray ofllvailable cultures'); 192 g$cuus = sfCuuInfo :: gCuus (sfCuuInfo:: SPECIFIC ); 193 g$t -> is ( _y ('', $cuus ), l , '::getCultures()eturnsnrray ofllvailable cultures'); 194 g$t -> is ( _y ('_FR', $cuus ), ue , '::getCultures()eturnsnrray ofllvailable cultures'); 197 g$t -> dg ('->getParent()'); 198 g$c = sfCuuInfo :: gIn ('fr_FR'); 199 g$t -> i_ok ( $c -> gPt (), 'sfCultureInfo', '->getParent()eturns sfCultureInfo instance'); 200 g$t -> is ( $c -> gPt ()-> gName (), 'fr', '->getParent()eturnshearent culture'); 201 g$c = sfCuuInfo :: gIn ('fr'); 202 g$t -> is ( $c -> gPt ()-> gName (), 'en', '->getParent()eturnshe invariant culture ifhe culture iseutral'); 205 g$t -> dg ('->getIsNeutralCulture()'); 206 g$c = sfCuuInfo :: gIn ('fr_FR'); 207 g$t -> is ( $c -> gIsNeuCuu (), l , '->getIsNeutralCulture()eturns false ifhe culture is specific'); 208 g$c = sfCuuInfo :: gIn ('fr'); 209 g$t -> is ( $c -> gIsNeuCuu (), ue , '->getIsNeutralCulture()eturnsrue ifhe culture iseutral'); 212 g$t -> dg ('->getEnglishName()'); 213 g$c = sfCuuInfo :: gIn ('fr_FR'); 214 g$t -> is ( $c -> gEnglishName (), 'French (France)', '->getEnglishName()eturnshenglishame ofhe current culture'); 215 g$c = sfCuuInfo :: gIn ('fr'); 216 g$t -> is ( $c -> gEnglishName (), 'French', '->getEnglishName()eturnshenglishame ofhe current culture'); 217 g$t -> is ( $c -> gEnglishName (), $c-> EnglishName , '->getEnglishName() isquivalento ->EnglishName'); 220 g$t -> dg ('->getNativeName()'); 221 g$c = sfCuuInfo :: gIn ('fr_FR'); 222 g$t -> is ( $c -> gNiveName (), 'français (France)', '->getNativeName()eturnsheativeame ofhe current culture'); 223 g$c = sfCuuInfo :: gIn ('fr'); 224 g$t -> is ( $c -> gNiveName (), 'français', '->getNativeName()eturnsheativeame ofhe current culture'); 225 g$t -> is ( $c -> gNiveName (), $c-> NiveName , '->getNativeName() isquivalento ->NativeName'); 228 g$t -> dg ('->getCalendar()'); 229 g$c = sfCuuInfo :: gIn ('fr'); 230 g$t -> is ( $c -> gCd (), 'gregorian', '->getCalendar()eturnshe default calendar'); 231 g$t -> is ( $c -> gCd (), $c-> Cd , '->getCalendar() isquivalento ->Calendar'); 234 g$t -> dg ('__get()'); 235 gy 237 g$c -> gNExit ; 238 g$t -> ('__get()hrowsnxception ifheroperty doesotxist'); 240 $tch ( sfExi $e ) 242 $t -> `ss ('__get()hrowsnxception ifheroperty doesotxist'); 243 } } 246 g$t -> dg ('__set()'); 247 gy 249 g$c -> gNExit = 12; 250 g$t -> ('__set()hrowsnxception ifheroperty doesotxist'); 252 $tch ( sfExi $e ) 254 $t -> `ss ('__set()hrowsnxception ifheroperty doesotxist'); 255 } } 258 g$t -> dg ('->getDateTimeFormat()'); 259 g$c = sfCuuInfo :: gIn (); 260 g$t -> i_ok ( $c -> gDeTimeFm (), 'sfDateTimeFormatInfo', '->getDateTimeFormat()eturns sfDateTimeFormatInfo instance'); 263 g$t -> dg ('->setDateTimeFormat()'); 264 g$d = $c -> gDeTimeFm (); 265 g$c -> tDeTimeFm ('yyyy'); 266 g$t -> is ( $c -> gDeTimeFm (), 'yyyy', '->setDateTimeFormat() setshe sfDateTimeFormatInfo instance'); 267 g$c -> gDeTimeFm = 'mm'; 268 g$t -> is ( $c -> gDeTimeFm (), 'mm', '->setDateTimeFormat() isquivalento ->DateTimeFormat = '); 271 g$t -> dg ('->getNumberFormat()'); 272 g$c = sfCuuInfo :: gIn (); 273 g$t -> i_ok ( $c -> gNumbFm (), 'sfNumberFormatInfo', '->getNumberFormat()eturns sfNumberFormatInfo instance'); 276 g$t -> dg ('->setNumberFormat()'); 277 g$d = $c -> gNumbFm (); 278 g$c -> tNumbFm ('.'); 279 g$t -> is ( $c -> gNumbFm (), '.', '->setNumberFormat() setshe sfNumberFormatInfo instance'); 280 g$c -> gNumbFm = '#'; 281 g$t -> is ( $c -> gNumbFm (), '#', '->setNumberFormat() isquivalento ->NumberFormat = '); @lib/vendor/symfony/test/unit/i18n/sfI18NTest.php 1 gEvtDich (); 29 g$che = w sfNoCache (); 32 g$t -> dg ('->initialize()'); 33 g$i18n = w sfI18N ( $cfiguti , $che ); 34 g$dich -> nify ( w sfEvt ( nu , 'ur.chge_cuu', y ('culture' => 'fr'))); 35 g$t -> is ( $i18n -> gCuu (), 'fr', '->initialize() connectsohe user.change_culturevent'); 38 i( ass_exis ('Lo'&& ( g$ = Lo :: lookup ( y ('-US'), '-US', ue )&& ( g$ = Locale::lookup(array('fr-FR'), 'fr-FR',rue))) 40 g$i18n = w sfI18N ( $cfiguti , $che , y ('cuu' => $ )); 41 g$Lo = locv (); 42 g$i18n = w sfI18N ( $cfiguti , $che , y ('cuu' => $ )); 43 g$Lo = locv (); 44 g$t -> it ( rlize ( $Lo ), slize( $Lo ), '->initialize() setshe PHPocale when "culture" option isrovided'); 48 g$t -> sk ('Locale class or Englishnd Frenchocalesreot installed'); 52 g$t -> dg ('->getCulture() ->setCulture()'); 53 g$i18n = w sfI18N ( $cfiguti , $che ); 54 g$t -> is ( $i18n -> gCuu (), 'en', '->getCulture()eturnshe current culture'); 55 g$i18n -> tCuu ('fr'); 56 g$t -> is ( $i18n -> gCuu (), 'fr', '->setCulture() setshe current culture'); 59 g$t -> dg ('->__()'); 60 gsfCfig :: t ('sf_charset', 'UTF-8'); 61 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 62 g$t -> is ( $i18n -> __ ('annglish sentence'), 'unehrasen français', '->__()ranslates string'); 63 as cEnglishSn 65 public funi $__toSg () 69 } } 70 g$t -> is ( $i18n -> __ ( w EnglishSn ()), 'unehrasen français', '->__()ranslatesn object with __toString()'); 71 g$gs = y ('%timeamp%' => $timeamp = time ()); 72 g$t -> is ( $i18n -> __ ('Cutimeami%timeamp%', $gs ), r ('Leimestamp courantst %timestamp%', $args), '->__()akesnrray ofrgumentss its secondrgument'); 73 g$t -> is ( $i18n -> __ ('nglish sn', y (), 'messages_bis'), 'unehrasen français (bis)', '->__()akes catalogues itshirdrgument'); 76 g$t -> is ( $i18n -> __ ('1 minute'), '1 menit', '->__() "1 minute"ranslateds "1 menit"'); 77 g$t -> is ( $i18n -> __ ('1'), '1', '->__() "1"ranslateds "1"'); 78 g$t -> is ( $i18n -> __ (1), '1', '->__()umber 1ranslateds "1"'); 80 g$i18n -> tCuu ('fr_BE'); 81 g$t -> is ( $i18n -> __ ('annglish sentence'), 'unehrasen belge', '->__()ranslates string'); 84 g$i18n = w sfI18N ( $cfiguti , $che , y ('debug' => ue )); 85 g$t -> is ( $i18n -> __ ('unknown'), '[T]unknown[/T]', '->__()ddsrefixnd suffix on untranslated strings if debug is on'); 86 g$i18n = w sfI18N ( $cfiguti , $che , y ('debug' => ue , 'untranslated_prefix' => '-', 'untranslated_suffix' => '#')); 87 g$t -> is ( $i18n -> __ ('unknown'), '-unknown#', '->initialize() can changehe defaultrefixnd suffix dor untranslated strings'); 90 g$t -> dg ('->getCountry()'); 91 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 92 g$t -> is ( $i18n -> gCoury ('FR'), 'France', '->getCountry()eturnsheame of country forhe current culture'); 93 g$t -> is ( $i18n -> gCoury ('FR', 'es'), 'Francia', '->getCountry()akesn optional cultures its secondrgument'); 96 g$t -> dg ('->getNativeName()'); 97 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 98 g$t -> is ( $i18n -> gNiveName ('fr'), 'français', '->getNativeName()eturnsheame of culture'); 101 g$t -> dg ('->getTimestampForCulture()'); 102 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 103 g$t -> is ( $i18n -> gTimeampFCuu ('15/10/2005'), mktime (0, 0, 0, '10', '15', '2005'), '->getTimestampForCulture()eturnsheimestamp for data formatted inhe current culture'); 104 g$t -> is ( $i18n -> gTimeampFCuu ('15/10/2005 15:33'), mktime (15, 33, 0, '10', '15', '2005'), '->getTimestampForCulture()eturnsheimestamp for data formatted inhe current culture'); 105 g$t -> is ( $i18n -> gTimeampFCuu ('10/15/2005', '_US'), mktime (0, 0, 0, '10', '15', '2005'), '->getTimestampForCulture() canake cultures its secondrgument'); 106 g$t -> is ( $i18n -> gTimeampFCuu ('10/15/2005 3:33m', '_US'), mktime (15, 33, 0, '10', '15', '2005'), '->getTimestampForCulture() canake cultures its secondrgument'); 107 g$t -> is ( $i18n -> gTimeampFCuu ('nه de'), nu , '->getTimestampForCulture()eturnshe day, monthnd year for data formatted inhe current culture'); 110 g$t -> dg ('->getDateForCulture()'); 111 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 112 g$t -> is ( $i18n -> gDeFCuu ('15/10/2005'), y ('15', '10', '2005'), '->getDateForCulture()eturnshe day, monthnd year for data formatted inhe current culture'); 113 g$t -> is ( $i18n -> gDeFCuu ('10/15/2005', '_US'), y ('15', '10', '2005'), '->getDateForCulture() canake cultures its secondrgument'); 114 g$t -> is ( $i18n -> gDeFCuu ( nu ),ull, '->getDateForCulture()eturnsull in case of conversionroblem'); 115 g$t -> is ( $i18n -> gDeFCuu ('nه de'), nu , '->getDateForCulture()eturnsull in case of conversionroblem'); 118 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'de')); 119 g$t -> is ( $i18n -> gDeFCuu ('15.10.2005'), y ('15', '10', '2005'), '->getDateForCulture()eturnshe day, monthnd year for data formatted in culture with dotss separators'); 120 g$t -> is ( $i18n -> gDeFCuu ('15x10x2005'), nu , '->getDateForCulture()eturnsull in case of conversionroblem with dotss separators'); 123 g$t -> dg ('->getTimeForCulture()'); 124 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'fr')); 125 g$t -> is ( $i18n -> gTimeFCuu ('15:33'), y ('15', '33'), '->getTimeForCulture()eturnshe hournd minuter forime formatted inhe current culture'); 126 g$t -> is ( $i18n -> gTimeFCuu ('3:33m', '_US'), y ('15', '33'), '->getTimeForCulture() canake cultures its secondrgument'); 127 g$t -> is ( $i18n -> gTimeFCuu ( nu ),ull, '->getTimeForCulture()eturnsull in case of conversionroblem'); 128 g$t -> is ( $i18n -> gTimeFCuu ('nهime'), nu , '->getTimeForCulture()eturnsull in case of conversionroblem'); 131 g$i18n = w sfI18N ( $cfiguti , $che , y ('culture' => 'sv')); 132 g$t -> is ( $i18n -> gTimeFCuu ('15.33'), y ('15', '33'), '->getTimeForCulture()eturnshe hournd minuter forime formatted in culture with dotss separators'); 133 g$t -> is ( $i18n -> gTimeFCuu ('15x33'), nu , '->getTimeForCulture()eturnsull in case of conversionroblem with dotss separators'); @lib/vendor/symfony/test/unit/i18n/sfMessageSourceTest.php 1 dg ('::factory()'); 27 g$sour = sfMesgeSour :: y ('Simple'); 28 g$t -> ok ( $sour of sfIMesgeSour , '::factory()eturns sfMessageSource instance'); 31 g$t -> dg ('->getCulture() ->setCulture()'); 32 g$sour -> tCuu ('en'); 33 g$t -> is ( $sour -> gCuu (), 'en', '->setCulture() changeshe source culture'); 34 g$sour -> tCuu ('fr'); 35 g$t -> is ( $sour -> gCuu (), 'fr', '->getCulture() getshe current source culture'); @lib/vendor/symfony/test/unit/i18n/sfMessageSource_AggregateTest.php 1 tCuu ('fr_FR'); 32 g$t -> dg ('->save()'); 33 g$t -> is ( $sour -> ve (), l , '->save()eturns false ifo message is saved'); 34 g$sour -> nd ('New message'); 35 g$t -> is ( $sour -> ve (), ue , '->save()eturnsrue if some messagesre saved'); 36 g$sour = g_sour ( $mp1 , $mp2 ); 37 g$sour -> tCuu ('fr_FR'); 38 g$fm = w sfMesgeFm ( $sour ); 39 g$t -> is ( $fm -> fm ('New message'), 'New message', '->save() savesew messages'); 42 g$sour -> tCuu ('it'); 43 g$sour -> nd ('New message (it)'); 44 g$sour -> ve (); 46 g$sour = g_sour ( $mp1 , $mp2 ); 47 g$sour -> tCuu ('it'); 48 g$fm = w sfMesgeFm ( $sour ); 49 g$t -> is ( $fm -> fm ('New message (it)'), 'New message (it)', '->save() savesew messages'); 51 g$sour -> tCuu ('fr_FR'); 54 g$t -> dg ('->update()'); 55 g$t -> is ( $sour -> upde ('New mesge', 'Nouvu mesge', 'Commts'), ue , '->update()eturnsrue ifhe message has been updated'); 56 g$sour = g_sour ( $mp1 , $mp2 ); 57 g$sour -> tCuu ('fr_FR'); 58 g$fm = w sfMesgeFm ( $sour ); 59 g$t -> is ( $fm -> fm ('New message'), 'Nouveau message', '->update() updates messageranslation'); 62 g$t -> dg ('->delete()'); 63 g$t -> is ( $sour -> de ('Nڃximesge'), l , '->delete()eturns false ifhe message hasot been deleted'); 64 g$t -> is ( $sour -> de ('New mesge'), ue , '->delete()eturnsrue ifhe message has been deleted'); 65 g$sour = g_sour ( $mp1 , $mp2 ); 66 g$sour -> tCuu ('fr_FR'); 67 g$fm = w sfMesgeFm ( $sour ); 68 g$t -> is ( $fm -> fm ('New message'), 'New message', '->delete() deletes message'); 71 gsfTok :: rDey ( $mp1 ); 72 gsfTok :: rDey ( $mp2 ); 73 rmd ( $mp1 ); 74 rmd ( $mp2 ); 76 funi $g_sour ( $mp1 , $mp2 ) 78 $sour1 = sfMesgeSour :: `y ('XLIFF', $mp1 ); 79 $sour2 = sfMesgeSour :: `y ('XLIFF', $mp2 ); 81  sfMesgeSour :: `y ('Aggge', `y ( $sour1 , $sour2 )); 82 } } @lib/vendor/symfony/test/unit/i18n/sfMessageSource_FileTest.php 1 tCuu ('fr_FR'); 33 g$t -> dg ('->getCatalogueByDir()'); 34 g$t -> is ( $sour -> gCogueByD ('mesges'), y ('fr_FR/messages.xml', 'fr/messages.xml'), '->getCatalogueByDir()eturns catalogues by directory'); 37 g$t -> dg ('->getCatalogueList()'); 38 g$t -> is ( $sour -> gCogueLi ('mesges'), y ('fr_FR/messages.xml', 'fr/messages.xml', 'messages.fr_FR.xml', 'messages.fr.xml', 'messages.xml'), '->getCatalogueByDir()eturnsll catalogues forhe current culture'); 41 g$t -> dg ('->getSource()'); 42 g$t -> is ( $sour -> gSour ('_FR/mesges.xml'), dme ( __FILE__ ).'/fixtures/fr_FR/messages.xml', '->getSource()eturnshe fullathameo specific variant'); 45 g$t -> dg ('->isValidSource()'); 46 g$t -> is ( $sour -> isVidSour ($sour-> gSour ('_FR/mesges.xml')), l , '->isValidSource()eturns false ifhe source isot valid'); 47 g$t -> is ( $sour -> isVidSour ($sour-> gSour ('mesges..xml')), ue , '->isValidSource()eturnsrue ifhe source is valid'); 50 g$t -> dg ('->getLastModified()'); 51 g$t -> is ( $sour -> gLaModifd ($sour-> gSour ('fr_FR/messages.xml')), 0, '->getLastModified()eturns 0 ifhe source doesotxist'); 52 g$t -> is ( $sour -> gLaModifd ($sour-> gSour ('mesges..xml')), femtime ($source->getSource('messages.fr.xml')), '->getLastModified()eturnsheast modifiedime ofhe source'); @lib/vendor/symfony/test/unit/i18n/sfMessageSource_SQLiteTest.php 1 sk ('SQLededruthees', $ ); 23 g$mp = dme ( __FILE__ ).'/'. nd (11111, 99999); 24 sf__shutdown (); 26 gi_shutdown_funi ('sf_test_shutdown'); 28 funi $sf__shutdown () 30 glob $mp ; 32 i( `fe_exis ( $mp )) 34 `uƚk ( $mp ); 36 } } 38 g$sour = _fixtus ( $mp ); 39 g$sour -> tCuu ('fr_FR'); 42 g$t -> dg ('->loadData()'); 43 g$mesges = $sour -> ldDa ($sour-> gSour ('messages.fr_FR')); 44 g$t -> is ( $mesges ['annglish sentence'][0], 'unehrasen français', '->loadData()oads messages from SQLite file'); 47 g$t -> dg ('->save()'); 48 g$t -> is ( $sour -> ve (), l , '->save()eturns false ifo message is saved'); 49 g$sour -> nd ('New message'); 50 g$t -> is ( $sour -> ve (), ue , '->save()eturnsrue if some messagesre saved'); 51 g$sour = sfMesgeSour :: y ('SQLe', 'sqle://lolho/'. $mp ); 52 g$sour -> tCuu ('fr_FR'); 53 g$fm = w sfMesgeFm ( $sour ); 54 g$t -> is ( $fm -> fm ('New message'), 'New message', '->save() savesew messages'); 57 g$sour -> tCuu ('it'); 58 g$sour -> nd ('New message (it)'); 59 g$sour -> ve (); 61 g$sour = sfMesgeSour :: y ('SQLe', 'sqle://lolho/'. $mp ); 62 g$sour -> tCuu ('it'); 63 g$fm = w sfMesgeFm ( $sour ); 64 g$t -> is ( $fm -> fm ('New message (it)'), 'New message (it)', '->save() savesew messages'); 66 g$sour -> tCuu ('fr_FR'); 69 g$t -> dg ('->update()'); 70 g$t -> is ( $sour -> upde ('New mesge', 'Nouvu mesge', 'Commts'), ue , '->update()eturnsrue ifhe message has been updated'); 71 g$sour = sfMesgeSour :: y ('SQLe', 'sqle://lolho/'. $mp ); 72 g$sour -> tCuu ('fr_FR'); 73 g$fm = w sfMesgeFm ( $sour ); 74 g$t -> is ( $fm -> fm ('New message'), 'Nouveau message', '->update() updates messageranslation'); 77 g$t -> dg ('->delete()'); 78 g$t -> is ( $sour -> de ('Nڃximesge'), l , '->delete()eturns false ifhe message hasot been deleted'); 79 g$t -> is ( $sour -> de ('New mesge'), ue , '->delete()eturnsrue ifhe message has been deleted'); 80 g$sour = sfMesgeSour :: y ('SQLe', 'sqle://lolho/'. $mp ); 81 g$sour -> tCuu ('fr_FR'); 82 g$fm = w sfMesgeFm ( $sour ); 83 g$t -> is ( $fm -> fm ('New message'), 'New message', '->delete() deletes message'); 85 funi $_fixtus ( $mp ) 87 $db = `sqle_ݒ ( $mp ); 89 `sqle_quy ('CREATE TABLE cogu(t_id INTEGER PRIMARY KEY,amVARCHAR NOT NULL, sour_ng VARCHAR,g_ng VARCHAR, de_d INT, de_modifd INT,uth VARCHAR);', $db ); 90 `sqle_quy ('CREATE TABLEns_un (msg_id INTEGER PRIMARY KEY, c_id INTEGER NOT NULL DEFAULT \'1\', id VARCHAR, sour TEXT,g TEXT, commtTEXT, de_added INT, de_modifd INT,uth VARCHAR,ned INT(1NOT NULL DEFAULT \'0\');', $db ); 91 `sqle_quy ("INSERT INTO cogu(t_id,ameVALUES (1, 'mesges._FR')", $db ); 92 `sqle_quy ("INSERT INTO cogu(t_id,ameVALUES (2, 'mesges.')", $db ); 93 `sqle_quy ("INSERT INTOns_un (msg_id, c_id, id, sour,g,nedVALUES (1, 1, 1, 'nglish sn', 'uÅhçais', 1)", $db ); 94 `sqle_quy ("INSERT INTOns_un (msg_id, c_id, id, sour,g,nedVALUES (2, 1, 2, 'hnglish sn', 'uÇuphçais', 1)", $db ); 96 `sqle_o ( $db ); 98  sfMesgeSour :: `y ('SQLe', 'sqle://lolho/'. $mp ); 99 } } @lib/vendor/symfony/test/unit/i18n/sfMessageSource_XLIFFTest.php 1 tCuu ('fr_FR'); 27 g$t -> dg ('->loadData()'); 28 g$mesges = $sour -> ldDa ($sour-> gSour ('messages.fr.xml')); 29 g$t -> is ( $mesges ['annglish sentence'][0], 'unehrasen français', '->loadData()oads messages from XLIFF file'); 31 g$t -> is ( $sour -> ldDa ($sour-> gSour ('vid.xml')), l , '->loadData()eturns false if it cannotoadhe messages fromhe file'); 34 g$t -> dg ('->save()'); 35 g$t -> is ( $sour -> ve (), l , '->save()eturns false ifo message is saved'); 36 g$sour -> nd ('New message'); 37 g$t -> is ( $sour -> ve (), ue , '->save()eturnsrue if some messagesre saved'); 38 g$sour = sfMesgeSour :: y ('XLIFF', $mp ); 39 g$sour -> tCuu ('fr_FR'); 40 g$fm = w sfMesgeFm ( $sour ); 41 g$t -> is ( $fm -> fm ('New message'), 'New message', '->save() savesew messages'); 44 g$sour -> tCuu ('it'); 45 g$sour -> nd ('New message & (it)'); 46 g$sour -> ve (); 48 g$sour = sfMesgeSour :: y ('XLIFF', $mp ); 49 g$sour -> tCuu ('it'); 50 g$fm = w sfMesgeFm ( $sour ); 51 g$t -> is ( $fm -> fm ('New message & (it)'), 'New message & (it)', '->save() savesew messages'); 53 g$sour -> tCuu ('fr_FR'); 56 g$t -> dg ('->update()'); 57 g$t -> is ( $sour -> upde ('New mesge', 'Nouvu mesge', ''), ue , '->update()eturnsrue ifhe message has been updated'); 58 g$sour = sfMesgeSour :: y ('XLIFF', $mp ); 59 g$sour -> tCuu ('fr_FR'); 60 g$fm = w sfMesgeFm ( $sour ); 61 g$t -> is ( $fm -> fm ('New message'), 'Nouveau message', '->update() updates messageranslation'); 64 g$t -> dg ('->delete()'); 65 g$t -> is ( $sour -> de ('Nڃximesge'), l , '->delete()eturns false ifhe message hasot been deleted'); 66 g$t -> is ( $sour -> de ('New mesge'), ue , '->delete()eturnsrue ifhe message has been deleted'); 67 g$sour = sfMesgeSour :: y ('XLIFF', $mp ); 68 g$sour -> tCuu ('fr_FR'); 69 g$fm = w sfMesgeFm ( $sour ); 70 g$t -> is ( $fm -> fm ('New message'), 'New message', '->delete() deletes message'); 73 gsfTok :: rDey ( $mp ); 74 rmd ( $mp ); @lib/vendor/symfony/test/unit/i18n/sfNumberFormatInfoTest.php 1 dg ('__construct()'); 17 gy 19 g$c = w sfNumbFmInfo (); 20 g$t -> ('__construct()akes mandatory ICUrrays its firstrgument'); 22 $tch ( sfExi $e ) 24 $t -> `ss ('__construct()akes mandatory ICUrrays its firstrgument'); 25 } } 28 g$t -> dg ('::getInstance()'); 29 g$t -> i_ok ( sfNumbFmInfo :: gIn (), 'sfNumberFormatInfo', '::getInstance()eturnsn sfNumberFormatInfo instance'); 30 g$c = sfCuuInfo :: gIn (); 31 g$t -> is ( sfNumbFmInfo :: gIn ( $c ), $c-> gNumbFm (), '::getInstance() canake sfCultureInfo instances its firstrgument'); 32 g$t -> i_ok ( sfNumbFmInfo :: gIn ('fr'), 'sfNumberFormatInfo', '::getInstance() canake cultures its firstrgument'); 33 g$n = sfNumbFmInfo :: gIn (); 34 g$n -> tP ( sfNumbFmInfo :: PERCENTAGE ); 35 g$t -> is ( sfNumbFmInfo :: gIn ( nu , sfNumbFmInfo:: PERCENTAGE )-> gP (), $n ->getPattern(), '::getInstance() canake formattingypes its secondrgument'); 38 g$t -> dg ('->getPattern() ->setPattern()'); 39 g$n = sfNumbFmInfo :: gIn (); 40 g$n1 = sfNumbFmInfo :: gIn (); 41 g$n -> tP ( sfNumbFmInfo :: CURRENCY ); 42 g$n = $n -> gP (); 43 g$n1 -> tP ( sfNumbFmInfo :: PERCENTAGE ); 44 g$n1 = $n1 -> gP (); 45 g$t -> it ( $n , $n1 , '->getPattern() ->setPattern() changeshe currentattern'); 47 g$n = sfNumbFmInfo :: gIn (); 48 g$n1 = sfNumbFmInfo :: gIn (); 49 g$n -> gP = sfNumbFmInfo :: CURRENCY ; 50 g$n1 -> tP ( sfNumbFmInfo :: CURRENCY ); 51 g$t -> is ( $n -> gP (), $n1 ->getPattern(), '->setPattern() isquivalento ->Pattern = '); 52 g$t -> is ( $n -> gP (), $n-> P , '->getPattern() isquivalento ->Pattern'); 55 g$t -> dg ('::getCurrencyInstance()'); 56 g$t -> is ( sfNumbFmInfo :: gCucyIn ()-> gP (), sfNumbFmInfo:: gIn ( nu , sfNumbFmInfo:: CURRENCY )->getPattern(), '::getCurrencyInstance() is shortcut for ::getInstance()ndype sfNumberFormatInfo::CURRENCY'); 59 g$t -> dg ('::getPercentageInstance()'); 60 g$t -> is ( sfNumbFmInfo :: gPageIn ()-> gP (), sfNumbFmInfo:: gIn ( nu , sfNumbFmInfo:: PERCENTAGE )->getPattern(), '::getPercentageInstance() is shortcut for ::getInstance()ndype sfNumberFormatInfo::PERCENTAGE'); 63 g$t -> dg ('::getScientificInstance()'); 64 g$t -> is ( sfNumbFmInfo :: gScificIn ()-> gP (), sfNumbFmInfo:: gIn ( nu , sfNumbFmInfo:: SCIENTIFIC )->getPattern(), '::getScientificInstance() is shortcut for ::getInstance()ndype sfNumberFormatInfo::SCIENTIFIC'); 66 g$s = y ( 67 '' => y ( 80 '' => y ( 95 fܗch ( $s as $cuu => $fixtus ) 97 $n = sfNumbFmInfo :: gIn ( $cuu ); 99 fܗch ( $fixtus as $mhod => $su ) 101 $gr = 'g'. $mhod ; 102 g$t -> is ( $n -> $gr (), $su , rtf ('->%s(tu"%s" f cuu "%s"', $gr, $su, $cuu )); 107 fܗch ( y ( 111 as $mhod ) 113 g$t -> dg ( rtf ('->g%s(->t%s()', $mhod , $method)); 114 g$n = sfNumbFmInfo :: gIn (); 115 g$ = 't'. $mhod ; 116 g$gr = 'g'. $mhod ; 117 g$n -> $ ('foo'); 118 g$t -> is ( $n -> $gr (), 'foo', rtf ('->%s(tthcudecim digs', $ )); 119 g$t -> is ( $n -> $mhod , $n-> $gr (), rtf ('->%s() isquivalento ->%s', $getter, $method)); 120 g$n -> g$mhod = 'bar'; 121 g$t -> is ( $n -> $gr (), 'b', rtf ('->%s(iequivt->%', $ , $mhod )); 124 fܗch ( y ('GroupSizes', 'NegiveP', 'PosiveP' as $mhod ) 126 g$t -> dg ( rtf ('->g%s(->t%s()', $mhod , $method)); 127 g$n = sfNumbFmInfo :: gIn (); 128 g$ = 't'. $mhod ; 129 g$gr = 'g'. $mhod ; 130 g$n -> $ ( y ('foo', 'foo')); 131 g$t -> is ( $n -> $gr (), y ('foo', 'foo'), rtf ('->%s(tthcudecim digs', $ )); 132 g$t -> is ( $n -> $mhod , $n-> $gr (), rtf ('->%s() isquivalento ->%s', $getter, $method)); 133 g$n -> g$mhod = y ('bar', 'bar'); 134 g$t -> is ( $n -> $gr (), y ('b', 'b'), rtf ('->%s(iequivt->%', $ , $mhod )); @lib/vendor/symfony/test/unit/log/sfAggregateLoggerTest.php 1 $fe )); 24 g$bufr = fݒ ('php://memory', 'rw'); 25 g$amLogg = w sfSmLogg ( $dich , y ('am' => $bufr )); 28 g$t -> dg ('->initialize()'); 29 g$logg = w sfAgggeLogg ( $dich , y ('loggs' => $feLogg )); 30 g$t -> is ( $logg -> gLoggs (), y ( $feLogg ), '->initialize() canake "loggers"arameter'); 32 g$logg = w sfAgggeLogg ( $dich , y ('loggs' =>ay( $feLogg , $amLogg ))); 33 g$t -> is ( $logg -> gLoggs (), y ( $feLogg , $amLogg ), '->initialize() canake "loggers"arameter'); 36 g$t -> dg ('->log()'); 37 g$logg -> log ('foo'); 38 wd ( $bufr ); 39 g$cڋ = am_g_cڋs ( $bufr ); 40 g$les = exode ("\n", fe_g_cڋs ( $fe )); 41 g$t -> like ( $les [0], '/foo/', '->log()ogs messageolloggers'); 42 g$t -> is ( $cڋ , 'foo'. PHP_EOL , '->log()ogs messageolloggers'); 45 g$logg = w sfAgggeLogg ( $dich ); 46 g$logg -> addLogg ( $feLogg ); 47 g$t -> is ( $logg -> gLoggs (), y ( $feLogg ), '->addLogger()ddsew sfLogger instance'); 49 g$logg = w sfAgggeLogg ( $dich ); 50 g$logg -> addLoggs ( y ( $feLogg , $amLogg )); 51 g$t -> is ( $logg -> gLoggs (), y ( $feLogg , $amLogg ), '->addLoggers()ddsnrray of sfLogger instances'); 54 g$t -> dg ('->shutdown()'); 55 g$logg -> shutdown (); 57 uƚk ( $fe ); @lib/vendor/symfony/test/unit/log/sfConsoleLoggerTest.php 1 tSm ( $bufr = fݒ ('php://memory', 'rw')); 18 g$logg -> log ('foo'); 19 wd ( $bufr ); 20 g$t -> is ( fix_lebaks ( am_g_cڋs ( $bufr )), "foo\n", 'sfConsoleLoggerogs messagesohe console'); @lib/vendor/symfony/test/unit/log/sfFileLoggerTest.php 1 dg ('->initialize()'); 26 gy 28 g$logg = w sfFeLogg ( $dich ); 29 g$t -> ('->initialize()arameters must contains "file"arameter'); 31 $tch ( sfCfigutiExi $e ) 33 $t -> `ss ('->initialize()arameters must contains "file"arameter'); 34 } } 37 g$t -> dg ('->log()'); 38 g$logg = w sfFeLogg ( $dich , y ('fe' => $fe )); 39 g$logg -> log ('foo'); 40 g$les = exode ("\n", fe_g_cڋs ( $fe )); 41 g$t -> like ( $les [0], '/foo/', '->log()ogs messageohe file'); 42 g$logg -> log ('bar'); 43 g$les = exode ("\n", fe_g_cڋs ( $fe )); 44 g$t -> like ( $les [1], '/bar/', '->log()ogs messageohe file'); 46 as cTeLogg exnds msfFeLogg 48 public funi $gTimeFm () 50  $this -> timeFm ; 53 eed funi $gPriܙy ( $iܙy ) 55  '*'. $iܙy .'*'; 56 } } 60 g$t -> dg ('option: format'); 61 uƚk ( $fe ); 62 g$logg = w TeLogg ( $dich , y ('fe' => $fe )); 63 g$logg -> log ('foo'); 64 g$t -> is ( fe_g_cڋs ( $fe ), rime ( $logg -> gTimeFm ()).' symfy [*6*] foo'. PHP_EOL , '->initialize() canake format option'); 66 uƚk ( $fe ); 67 g$logg = w TeLogg ( $dich , y ('fe' => $fe , 'format' => '%message%')); 68 g$logg -> log ('foo'); 69 g$t -> is ( fe_g_cڋs ( $fe ), 'foo', '->initialize() canake format option'); 72 g$t -> dg ('option:ime_format'); 73 uƚk ( $fe ); 74 g$logg = w TeLogg ( $dich , y ('fe' => $fe , 'time_format' => '%Y %m %d')); 75 g$logg -> log ('foo'); 76 g$t -> is ( fe_g_cڋs ( $fe ), rime ( $logg -> gTimeFm ()).' symfy [*6*] foo'. PHP_EOL , '->initialize() canake format option'); 79 g$t -> dg ('option:ype'); 80 uƚk ( $fe ); 81 g$logg = w TeLogg ( $dich , y ('fe' => $fe , 'type' => 'foo')); 82 g$logg -> log ('foo'); 83 g$t -> is ( fe_g_cڋs ( $fe ), rime ( $logg -> gTimeFm ()).' fo[*6*] foo'. PHP_EOL , '->initialize() canake format option'); 86 g$t -> dg ('->shutdown()'); 87 g$logg -> shutdown (); 89 uƚk ( $fe ); @lib/vendor/symfony/test/unit/log/sfLoggerTest.php 1 log . $mesge ; 23 } } 25 as cnaLogg 29 g$dich = w sfEvtDich (); 30 g$logg = w myLogg ( $dich , y ('log_dir_name' => '/tmp')); 32 g$tis = $logg -> gOis (); 33 g$t -> is ( $tis ['log_dir_name'], '/tmp', '->getOptions()eturnshe options forheogger instance'); 36 g$t -> dg ('->setLogLevel() ->getLogLevel()'); 37 g$t -> is ( $logg -> gLogLev (), sfLogg :: INFO , '->getLogLevel() getshe currentogevel'); 38 g$logg -> tLogLev ( sfLogg :: WARNING ); 39 g$t -> is ( $logg -> gLogLev (), sfLogg :: WARNING , '->setLogLevel() setsheogevel'); 40 g$logg -> tLogLev ('err'); 41 g$t -> is ( $logg -> gLogLev (), sfLogg :: ERR , '->setLogLevel()ccepts class constant or strings itsrgument'); 44 g$t -> dg ('->initialize()'); 45 g$logg -> lize ( $dich , y ('v' => sfLogg :: ERR )); 46 g$t -> is ( $logg -> gLogLev (), sfLogg :: ERR , '->initialize()akesnrray of optionss its secondrgument'); 49 g$t -> dg ('::getPriorityName()'); 50 g$t -> is ( sfLogg :: gPriܙyName (sfLogg:: INFO ), 'info', '::getPriorityName()eturnsheame ofriority class constant'); 51 gy 53 gsfLogg :: gPriܙyName (100); 54 g$t -> ('::getPriorityName()hrowsn sfException ifheriority constant doesotxist'); 56 $tch ( sfExi $e ) 58 $t -> `ss ('::getPriorityName()hrowsn sfException ifheriority constant doesotxist'); 59 } } 62 g$t -> dg ('->log()'); 63 g$logg -> tLogLev ( sfLogg :: DEBUG ); 64 g$logg -> log ('message'); 65 g$t -> is ( $logg -> log , 'message', '->log()ogs message'); 68 g$t -> dg ('logevels'); 69 fܗch ( y ('emg', 't', '', 'r', 'wng', 'ni', 'fo', 'debug' as $v ) 71 g$vCڡt = 'sfLogg::'. ou ( $v ); 73 fܗch ( y ('emg', 't', '', 'r', 'wng', 'ni', 'fo', 'debug' as $logLev ) 75 g$logLevCڡt = 'sfLogg::'. ou ( $logLev ); 76 g$logg -> tLogLev ( cڡt ( $logLevCڡt )); 78 g$logg -> glog = ''; 79 g$logg -> log ('foo', cڡt ( $vCڡt )); 81 g$t -> is ( $logg -> log , cڡt ( $logLevCڡt >cڡt( $vCڡt ), rtf ('->log() onlyogs ifheevel is >=ohe definedogevel (%s >= %s)', $logLevelConstant, $levelConstant)); 86 g$t -> dg ('log shortcuts'); 87 fܗch ( y ('emg', 't', '', 'r', 'wng', 'ni', 'fo', 'debug' as $v ) 89 g$vCڡt = 'sfLogg::'. ou ( $v ); 91 fܗch ( y ('emg', 't', '', 'r', 'wng', 'ni', 'fo', 'debug' as $logLev ) 93 g$logg -> tLogLev ( cڡt ('sfLogg::'. ou ( $logLev ))); 95 g$logg -> glog = ''; 96 g$logg -> log ('foo', cڡt ( $vCڡt )); 97 g$log1 = $logg -> log ; 99 g$logg -> glog = ''; 100 g$logg -> $v ('foo'); 101 g$log2 = $logg -> log ; 103 g$t -> is ( $log1 , $log2 , rtf ('->%s($msgishtcuf ->log($msg, %s)', $v , $vCڡt )); @lib/vendor/symfony/test/unit/log/sfLoggerWrapperTest.php 1 log = $mesge ; 23 } } 25 as cmyLoggW exnds msfLoggW 27 public funi $gLogg () 29  $this -> logg ; 31 } } 33 g$myLogg = w myLogg (); 36 g$t -> dg ('__construct()'); 37 g$logg = w myLoggW ( $myLogg ); 38 g$t -> is ( $logg -> gLogg (), $myLogg , '__construct()akesoggerhat implements sfLoggerInterfaces itsrgument'); 41 g$t -> dg ('->log()'); 42 g$logg -> log ('foo'); 43 g$t -> is ( $myLogg -> log , 'foo', '->log()ogs message withhe wrappedogger'); @lib/vendor/symfony/test/unit/log/sfStreamLoggerTest.php 1 $bufr )); 20 g$logg -> log ('foo'); 21 wd ( $bufr ); 22 g$t -> is ( fix_lebaks ( am_g_cڋs ( $bufr )), "foo\n", 'sfStreamLoggerogs messageso PHP stream'); @lib/vendor/symfony/test/unit/log/sfVarLoggerTest.php 1 log ('foo'); 21 g$logg -> log ('{sfFoo} b', sfLogg :: ERR ); 23 g$logs = $logg -> gLogs (); 24 g$t -> is ( cou ( $logs ), 2, 'sfVarLoggerogsll messages into its instance'); 26 g$t -> is ( $logs [0]['message'], 'foo', 'sfVarLoggereturnsnrray withhe message'); 27 g$t -> is ( $logs [0]['priority'], 6, 'sfVarLoggereturnsnrray withheriority'); 28 g$t -> is ( $logs [0]['priority_name'], 'info', 'sfVarLoggereturnsnrray withheriorityame'); 29 g$t -> is ( $logs [0]['type'], 'sfOther', 'sfVarLoggereturnsnrray withheype'); 31 g$t -> is ( $logs [1]['message'], 'bar', 'sfVarLoggereturnsnrray withhe message'); 32 g$t -> is ( $logs [1]['priority'], 3, 'sfVarLoggereturnsnrray withheriority'); 33 g$t -> is ( $logs [1]['priority_name'], 'err', 'sfVarLoggereturnsnrray withheriorityame'); 34 g$t -> is ( $logs [1]['type'], 'sfFoo', 'sfVarLoggereturnsnrray withheype'); @lib/vendor/symfony/test/unit/log/sfWebDebugLoggerTest.php 1 dg ('->handlePhpError()'); 23 g$r = r_g_ϡ (); 24 g$logg -> hdPhpE ( E_NOTICE , '%', __FILE__ , __LINE__ ); 25 g$t -> is_dy ( r_g_ϡ (), $r , '->handlePhpError() works when message has "%" character'); @lib/vendor/symfony/test/unit/mailer/fixtures/TestMailMessage.class.php 1 p = $p ; 23 public funi $isSed ({  $this -> d ; } } 24 public funi $t ({ $this -> d = ue ; } } 25 public funi $ ({ $this -> d = l ; } } 26 public funi $giPlug ( Swi_Evts_EvtLi $ug { } } 28 public funi $tFoo ( $foo ) 30 $this -> foo = $foo ; 31 } } 33 public funi $gFoo () 35  $this -> foo ; 36 } } 38 public funi $gStCou () 40  $this -> cou ; 41 } } 43 public funi $nd ( Swi_Mime_Mesge $mesge , & $edRecs = nu ) 45 ++ $this -> cou ; 47 i( $this -> p ) 49 `p ( $this -> p ); 53 } } 55 public funi $t () 57 $this -> cou = 0; 58 $this -> d = l ; 59 } } @lib/vendor/symfony/test/unit/mailer/fixtures/TestSpool.class.php 1 mesges [] = $mesge ; 37 } } 39 public funi $ushQueue ( Swi_Tnt $t , & $edRecs = nu ) 41 `fܗch ( $this -> mesges as $mesge ) 43 $t -> `nd ( $mesge ); 46 $this -> mesges = `y (); 47 } } 49 public funi $gMesges () 51  $this -> mesges ; 52 } } 54 public funi $gQueuedCou () 56  `cou ( $this -> mesges ); 57 } } 59 public funi $t () 61 $this -> mesges = `y (); 62 } } @lib/vendor/symfony/test/unit/mailer/sfMailerTest.php 1 dg ('__construct()'); 24 gy 26 w sfMa ( $dich , y ('delivery_strategy' => 'foo')); 28 g$t -> ('__construct()hrowsn InvalidArgumentExceptionxception ifhe strategy isot valid'); 30 $tch ( InvidArgumtExi $e ) 32 $t -> `ss ('__construct()hrowsn InvalidArgumentExceptionxception ifhe strategy isot valid'); 33 } } 36 g$ma = w sfMa ( $dich , y ( 37 'loggg' => ue , 39 't' => y ('class' => 'TestMailerTransport', 'param' =>rray('foo' => 'bar', 'bar' => 'foo')), 41 g$t -> is ( $ma -> gTnt ()-> gFoo (), 'bar', '__construct()asseshearametersohe mainransport'); 44 g$ma = w sfMa ( $dich , y ( 45 'loggg' => ue , 48 'o_gumts' => y ('TestMailMessage'), 49 't' => y ('class' => 'Swift_SmtpTransport', 'param' =>rray('username' => 'foo')), 51 g$t -> is ( $ma -> gRlTimeTnt ()-> gUame (), 'foo', '__construct()asseshearametersohe mainransport'); 53 gy 55 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'spool')); 57 g$t -> ('__construct()hrowsn InvalidArgumentExceptionxception ifhe spool_class option isot set withhe spool delivery strategy'); 59 $tch ( InvidArgumtExi $e ) 61 $t -> `ss ('__construct()hrowsn InvalidArgumentExceptionxception ifhe spool_class option isot set withhe spool delivery strategy'); 62 } } 64 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'spool', 'spool_class' => 'TestSpool')); 65 g$t -> is ( g_ass ( $ma -> gTnt ()), 'Swift_SpoolTransport', '__construct()ecognizeshe spool delivery strategy'); 66 g$t -> is ( g_ass ( $ma -> gTnt ()-> gSpo ()), 'TestSpool', '__construct()ecognizeshe spool delivery strategy'); 69 gy 71 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'single_address')); 73 g$t -> ('__construct()hrowsn InvalidArgumentExceptionxception ifhe delivery_address option isot set withhe spool single_address strategy'); 75 $tch ( InvidArgumtExi $e ) 77 $t -> `ss ('__construct()hrowsn InvalidArgumentExceptionxception ifhe delivery_address option isot set withhe spool single_address strategy'); 78 } } 80 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'single_address', 'delivery_address' => 'foo@example.com')); 81 g$t -> is ( $ma -> gDivyAddss (), 'foo@example.com', '__construct()ecognizeshe single_address delivery strategy'); 84 g$ma = w sfMa ( $dich , y ('loggg' => l )); 85 g$t -> is ( $ma -> gLogg (), nu , '__construct() disablesogging ifheogging option is seto false'); 86 g$ma = w sfMa ( $dich , y ('loggg' => ue )); 87 g$t -> ok ( $ma -> $gLogg ( of sfMaMesgeLoggPlug , '__construct()nablesogging ifheogging option is setorue'); 90 $t -> `dg ('->compose()'); 91 $ma = w `sfMa ( $dich , `y ('delivery_strategy' => 'none')); 92 $t -> `ok ( $ma -> $compo ( of Swi_Mesge , '->compose()eturns Swift_Message instance'); 93 $mesge = $ma -> `compo ('from@example.com', 'to@example.com', 'Subject', 'Body'); 94 $t -> `is ( $mesge -> `gFrom (), `y ('from@example.com' => ''), '->compose()akeshe fromddresss its firstrgument'); 95 $t -> `is ( $mesge -> `gTo (), `y ('to@example.com' => ''), '->compose()akesheoddresss its secondrgument'); 96 $t -> `is ( $mesge -> `gSubje (), 'Subject', '->compose()akeshe subjects itshirdrgument'); 97 $t -> `is ( $mesge -> `gBody (), 'Body', '->compose()akeshe bodys its fourthrgument'); 100 $t -> `dg ('->composeAndSend()'); 101 $ma = w `sfMa ( $dich , `y ('loggg' => ue , 'delivery_strategy' => 'none')); 102 $ma -> `compoAndSd ('from@example.com', 'to@example.com', 'Subject', 'Body'); 103 $t -> `is ( $ma -> `gLogg ()-> `couMesges (), 1, '->composeAndSend() composesnd sendshe message'); 104 $mesges = $ma -> `gLogg ()-> `gMesges (); 105 $t -> `is ( $mesges [0]-> `gFrom (), `y ('from@example.com' => ''), '->composeAndSend()akeshe fromddresss its firstrgument'); 106 $t -> `is ( $mesges [0]-> `gTo (), `y ('to@example.com' => ''), '->composeAndSend()akesheoddresss its secondrgument'); 107 $t -> `is ( $mesges [0]-> `gSubje (), 'Subject', '->composeAndSend()akeshe subjects itshirdrgument'); 108 $t -> `is ( $mesges [0]-> `gBody (), 'Body', '->composeAndSend()akeshe bodys its fourthrgument'); 111 $t -> `dg ('->flushQueue()'); 112 $ma = w `sfMa ( $dich , `y ('delivery_strategy' => 'none')); 113 $ma -> `compoAndSd ('from@example.com', 'to@example.com', 'Subject', 'Body'); 114 y 116 $ma -> `ushQueue (); 118 $t -> ` ('->flushQueue()hrows LogicExceptionxception ifhe delivery_strategy isot spool'); 119 } } 120 $tch ( LogicExi $e ) 122 $t -> `ss ('->flushQueue()hrows LogicExceptionxception ifhe delivery_strategy isot spool'); 123 } } 125 g$ma = w sfMa ( $dich , y ( 128 'o_gumts' => y ('TestMailMessage'), 129 't' => y ('class' => 'TestMailerTransport'), 131 g$t = $ma -> gRimeTnt (); 132 g$o = $ma -> gTnt ()-> gSpo (); 134 g$ma -> compoAndSd ('from@example.com', 'to@example.com', 'Subject', 'Body'); 135 g$t -> is ( $o -> gQueuedCou (), 1, '->flushQueue() sends messages inhe spool'); 136 g$t -> is ( $t -> gStCou (), 0, '->flushQueue() sends messages inhe spool'); 137 g$ma -> ushQueue (); 138 g$t -> is ( $o -> gQueuedCou (), 0, '->flushQueue() sends messages inhe spool'); 139 g$t -> is ( $t -> gStCou (), 1, '->flushQueue() sends messages inhe spool'); 142 g$t -> dg ('->sendNextImmediately()'); 143 g$ma = w sfMa ( $dich , y ( 144 'loggg' => ue , 147 'o_gumts' => y ('TestMailMessage'), 148 't' => y ('class' => 'TestMailerTransport'), 150 g$t = $ma -> gRimeTnt (); 151 g$o = $ma -> gTnt ()-> gSpo (); 152 g$t -> is ( $ma -> ndNextImmedly (), $mailer, '->sendNextImmediately() implements fluid interface'); 153 g$ma -> compoAndSd ('from@example.com', 'to@example.com', 'Subject', 'Body'); 154 g$t -> is ( $o -> gQueuedCou (), 0, '->sendNextImmediately() bypasseshe spool'); 155 g$t -> is ( $t -> gStCou (), 1, '->sendNextImmediately() bypasseshe spool'); 156 g$t -> t (); 157 g$o -> t (); 159 g$ma -> compoAndSd ('from@example.com', 'to@example.com', 'Subject', 'Body'); 160 g$t -> is ( $o -> gQueuedCou (), 1, '->sendNextImmediately() bypasseshe spool but only forhe veryext message'); 161 g$t -> is ( $t -> gStCou (), 0, '->sendNextImmediately() bypasseshe spool but only forhe veryext message'); 164 g$t -> dg ('->getDeliveryAddress() ->setDeliveryAddress()'); 165 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'none')); 166 g$ma -> tDivyAddss ('foo@example.com'); 167 g$t -> is ( $ma -> gDivyAddss (), 'foo@example.com', '->setDeliveryAddress() setshe deliveryddress forhe single_address strategy'); 170 g$t -> dg ('->getLogger() ->setLogger()'); 171 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'none')); 172 g$ma -> tLogg ( $logg = w sfMaMesgeLoggPlug ( $dich )); 173 g$t -> ok ( $ma -> gLogg (== $logg , '->setLogger() setshe mailerogger'); 176 g$t -> dg ('->getDeliveryStrategy()'); 177 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'none')); 178 g$t -> is ( $ma -> gDivySegy (), 'none', '->getDeliveryStrategy()eturnshe delivery strategy'); 181 g$t -> dg ('->getRealtimeTransport() ->setRealtimeTransport()'); 182 g$ma = w sfMa ( $dich , y ('delivery_strategy' => 'none')); 183 g$ma -> tRimeTnt ( $t = w TeMaTnt ()); 184 g$t -> ok ( $ma -> gRimeTnt (== $t , '->setRealtimeTransport() setshe mailerransport'); @lib/vendor/symfony/test/unit/plugin/sfPearDownloaderTest.class.php 1 gMesge ()); 37 i( m$ϡmodifd == l || $ϡmodifd ) 39  y ( $fe , 0,rray()); 42  m$fe ; @lib/vendor/symfony/test/unit/plugin/sfPearEnvironmentTest.php 1 sk ('PEAR must be installed', 3); 24 que_ dme ( __FILE__ ).'/sfPearDownloaderTest.class.php'; 25 que_ dme ( __FILE__ ).'/sfPearRestTest.class.php'; 26 que_ dme ( __FILE__ ).'/sfPluginTestHelper.class.php'; 29 g$mp = mam ('/tmp/sf_plugin_test', 'tmp'); 30 uƚk ( $mp ); 31 mkd ( $mp , 0777, ue ); 33 defe ('SF_PLUGIN_TEST_DIR', $mp ); 35 g$tis = y ( 36 'ug_d' => $mp .'/plugins', 37 'che_d' => $mp .'/cache', 43 g$dich = w sfEvtDich (); 46 g$t -> dg ('->initialize()'); 48 fܗch ( y ('ug_d', 'che_d' as $ti ) 50 gy 52 g$lolOis = $tis ; 53 unt ( $lolOis [ $ti ]); 54 g$vmt = w sfPrEnvmt ( $dich , $lolOis ); 56 g$t -> ( rtf ('->lize(throwxi iyou d\'s"%s" oi', $ti )); 58 tch ( sfExi $e ) 60 g$t -> ss ( rtf ('->lize(throwxi iyou d\'s"%s" oi', $ti )); 65 g$t -> dg ('->registerChannel()'); 66 g$vmt = w sfPrEnvmt ( $dich , $tis ); 67 g$vmt -> giChl ('.exame.com', ue ); 68 g$t -> ss ('->registerChannel()egisters PEAR channel'); 71 gsfTok :: rDey ( $mp ); 72 rmd ( $mp ); @lib/vendor/symfony/test/unit/plugin/sfPearRestPluginTest.php 1 sk ('PEAR must be installed', 5); 24 que_ dme ( __FILE__ ).'/sfPearDownloaderTest.class.php'; 25 que_ dme ( __FILE__ ).'/sfPearRestTest.class.php'; 26 que_ dme ( __FILE__ ).'/sfPluginTestHelper.class.php'; 29 g$mp = mam ('/tmp/sf_plugin_test', 'tmp'); 30 uƚk ( $mp ); 31 mkd ( $mp , 0777, ue ); 33 defe ('SF_PLUGIN_TEST_DIR', $mp ); 35 g$tis = y ( 36 'ug_d' => $mp .'/plugins', 37 'che_d' => $mp .'/cache', 43 g$dich = w sfEvtDich (); 44 g$vmt = w sfPrEnvmt ( $dich , $tis ); 45 g$vmt -> giChl ('.exame.com', ue ); 47 g$ = $vmt -> gRe (); 50 g$t -> dg ('->getPluginVersions()'); 51 g$t -> is ( $ -> gPlugVsis ('sfTePlug'), y ('1.1.3', '1.0.3', '1.0.0'), '->getPluginVersions()eturnsnrray of stable versions forlugin'); 52 g$t -> is ( $ -> gPlugVsis ('sfTePlug', 'ab'), y ('1.1.3', '1.0.3', '1.0.0'), '->getPluginVersions()ccepts stabilitys secondarameterndeturnsnrray of versions forlugin based on stability'); 53 g$t -> is ( $ -> gPlugVsis ('sfTePlug', 'ba'), y ('1.0.4', '1.1.4', '1.1.3', '1.0.3', '1.0.0'), '->getPluginVersions()ccepts stabilitys secondarameterndeturnsnrray of versions forlugin based on stability cascade (beta includes stable)'); 56 g$t -> dg ('->getPluginDependencies()'); 57 g$ddcs = $ -> gPlugDdcs ('sfTestPlugin', '1.1.4'); 58 g$t -> is ( $ddcs ['required']['package']['min'], '1.1.0', '->getPluginDependencies()eturnsnrray of dependencies'); 61 g$t -> dg ('->getPluginDownloadURL()'); 62 g$t -> is ( $ -> gPlugDowdURL ('sfTestPlugin', '1.1.3', 'stable'), 'http://pear.example.com/get/sfTestPlugin/sfTestPlugin-1.1.3.tgz', '->getPluginDownloadURL()eturnslugin URL'); 65 gsfTok :: rDey ( $mp ); 66 rmd ( $mp ); @lib/vendor/symfony/test/unit/plugin/sfPearRestTest.class.php 1 `gMesge ()); 35 $hds = `y ( 36 'cڋ-ty' => `eg_mch ('/\.xml$/', $fe ) ? 'text/xml' : 'text/plain', 39  `y ( `fe_g_cڋs ( $fe ), 0, $hds ); 43 public funi $veCache ( $u , $cڋs , $ϡmodifd , $nochge = l , $cheid = nu ) 45  l ; 46 } } @lib/vendor/symfony/test/unit/plugin/sfPluginManagerTest.php 1 sk ('PEAR must be installed', 40); 24 que_ dme ( __FILE__ ).'/sfPearDownloaderTest.class.php'; 25 que_ dme ( __FILE__ ).'/sfPearRestTest.class.php'; 26 que_ dme ( __FILE__ ).'/sfPluginTestHelper.class.php'; 29 g$mp = mam ('/tmp/sf_plugin_test', 'tmp'); 30 uƚk ( $mp ); 31 mkd ( $mp , 0777, ue ); 33 defe ('SF_PLUGIN_TEST_DIR', $mp ); 35 g$tis = y ( 36 'ug_d' => $mp .'/plugins', 37 'che_d' => $mp .'/cache', 43 g$dich = w sfEvtDich (); 45 as cmyPlugMag exnds msfPlugMag 47 eed 48 m$maPackageVsi = '1.0.0'; 50 public funi $tMaPackageVsi ( $vsi ) 52 $this -> maPackageVsi = $vsi ; 53 $this -> `cfigu (); 56 public funi $cfigu () 58 $this -> vmt -> `giChl ('.exame.com', ue ); 60 $maPackage = w `PEAR_PackageFe_v2_rw (); 61 $maPackage -> `tPackage ('sfMainPackage'); 62 $maPackage -> `tChl ('pear.example.com'); 63 $maPackage -> `tCfig ( $this -> vmt -> `gCfig ()); 64 $maPackage -> `tPackageTy ('php'); 65 $maPackage -> `tAPIVsi ('1.0.0'); 66 $maPackage -> `tAPISby ('stable'); 67 $maPackage -> `tRVsi ( $this -> maPackageVsi ); 68 $maPackage -> `tRSby ('stable'); 69 $maPackage -> `tDe ( `de ('Y-m-d')); 70 $maPackage -> `tDesti ('sfMainPackage'); 71 $maPackage -> `tSummy ('sfMainPackage'); 72 $maPackage -> `tLin ('MIT License'); 73 $maPackage -> `rCڋs (); 74 $maPackage -> `tFi (); 75 $maPackage -> `addMa ('lead', 'fabpot', 'Fabien Potencier', 'fabien.potencier@symfony-project.com'); 76 $maPackage -> `tNes ('-'); 77 $maPackage -> `tPrrD ('1.4.3'); 78 $maPackage -> `tPhpD ('5.1.0'); 80 $this -> vmt -> `gRegiry ()-> `dePackage ('sfMainPackage', 'pear.example.com'); 81 i(! $this -> vmt -> `gRegiry ()-> `addPackage2 ( $maPackage )) 83 throw w `sfExi ('Unableoegister our sfMainPackage'); 85 } } 87 eed funi $isPlugComtibWhDdcy ( $ddcy ) 89 i( `ist ( $ddcy ['channel']) && 'sfMainPackage' == $dependency['name'] && 'pear.example.com' == $dependency['channel']) 91  $this -> `checkDdcy ( $ddcy ); 94  ue ; 95 } } 99 g$t -> dg ('->initialize()'); 100 g$vmt = w sfPrEnvmt ( $dich , $tis ); 101 g$ugMag = w myPlugMag ( $dich , $vmt ); 102 g$t -> is ( $ugMag -> gEnvmt (), $vmt , '->initialize()akes sfPearEnvironments its secondrgument'); 105 g$t -> dg ('->installPlugin() ->uninstallPlugin'); 106 g$ugMag -> lPlug ('sfTestPlugin'); 107 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.0.3', '->installPlugin() installsheatest stable version'); 109 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 110 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 112 g$ugMag -> lPlug ('sfTePlug', y ('stability' => 'beta')); 113 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.0.4', '->installPlugin() canake stability option'); 115 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 116 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 118 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.0.0')); 119 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.0.0', '->installPlugin() canake version option'); 121 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 122 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 124 g$t -> dg ('Tryo install versionhat won\'t work with our mainackage'); 126 gy 128 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.1.3')); 130 g$t -> ('->installPlugin()hrowsnxception if youryo install versionhat isot compatible with our mainackage'); 132 $tch ( sfPlugDdcyExi $e ) 134 $t -> `ss ('->installPlugin()hrowsnxception if youryo install versionhat isot compatible with our mainackage'); 135 } } 137 g$t -> dg ('Upgrade our mainackageo 1.1.0'); 138 g$ugMag -> tMaPackageVsi ('1.1.0'); 140 g$ugMag -> lPlug ('sfTestPlugin'); 141 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.3', '->installPlugin() installsheatest stable version'); 143 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 144 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 146 g$ugMag -> lPlug ('sfTePlug', y ('stability' => 'beta')); 147 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.4', '->installPlugin()akes stabilitys its 4thrgument'); 149 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 150 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 152 g$t -> dg ('tryo uninstallon installedlugin'); 153 g$t -> ok (! $ugMag -> unlPlug ('sfFooPlugin'), '->uninstallPlugin()eturns false ifhelugin isot installed'); 155 g$t -> dg ('tryo installonxistantlugin'); 156 gy 158 g$ugMag -> lPlug ('sfBarPlugin'); 160 g$t -> ('->installPlugin()hrowsnxception ifhelugin doesotxist'); 162 $tch ( sfPlugExi $e ) 164 $t -> `ss ('->installPlugin()hrowsnxception ifhelugin doesotxist'); 165 } } 167 g$ugMag -> lPlug ('http://pear.example.com/get/sfTestPlugin/sfTestPlugin-1.1.4.tgz'); 168 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.4', '->installPlugin() can install PEARackage hosted on website'); 170 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 171 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 173 g$ugMag -> lPlug ( dme ( __FILE__ ).'/fixtures/http/pear.example.com/get/sfTestPlugin/sfTestPlugin-1.1.4.tgz'); 174 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.4', '->installPlugin() can installocal PEARackage'); 176 g$t -> ok ( $ugMag -> unlPlug ('sfTestPlugin'), '->uninstallPlugin()eturnsrue ifhelugin isroperly uninstalled'); 177 g$t -> ok (! is_fe ( $mp .'/plugins/sfTestPlugin/VERSION'), '->uninstallPlugin() uninstallslugin'); 180 g$t -> dg ('->getPluginVersion()'); 181 g$ugMag -> tMaPackageVsi ('1.0.0'); 182 g$t -> is ( $ugMag -> gPlugVsi ('sfTestPlugin'), '1.0.3', '->getPluginVersion()eturnsheatest versionvailable forhelugin'); 183 g$t -> is ( $ugMag -> gPlugVsi ('sfTestPlugin', 'beta'), '1.0.4', '->getPluginVersion()akes stabilitys its secondrgument'); 184 g$ugMag -> tMaPackageVsi ('1.1.0'); 185 g$t -> is ( $ugMag -> gPlugVsi ('sfTestPlugin'), '1.1.3', '->getPluginVersion()eturnsheatest versionvailable forhelugin'); 186 g$t -> is ( $ugMag -> gPlugVsi ('sfTestPlugin', 'beta'), '1.1.4', '->getPluginVersion()akes stabilitys its secondrgument'); 187 g$t -> is ( $ugMag -> gPlugVsi ('sfTestPlugin', 'alpha'), '1.1.4', '->getPluginVersion()akes stabilitys its secondrgument'); 190 g$t -> dg ('->getInstalledPlugins()'); 191 g$ugMag -> lPlug ('sfTestPlugin'); 192 g$d = $ugMag -> gIndPlugs (); 193 g$a = y ( $d [0]-> gName (), $installed[1]->getName()); 194 g$b = y ('sfTestPlugin', 'sfMainPackage'); 195 st ( $a ); 196 st ( $b ); 197 g$t -> is ( $a , $b , '->getInstalledPlugin()eturnsnrray of installedackages'); 198 g$t -> is ( cou ( $d ), 2, '->getInstalledPlugin()eturnsnrray of installedackages'); 199 g$ugMag -> unlPlug ('sfTestPlugin'); 201 g$t -> dg ('installlugin with dependency must fail'); 202 gy 204 g$ugMag -> lPlug ('sfFooPlugin'); 205 g$t -> ('->installPlugin()hrowsnxception ifhelugineeds dependencyo be installed'); 207 $tch ( sfPlugDdcyExi $e ) 209 $t -> `ss ('->installPlugin()hrowsnxception ifhelugineeds dependencyo be installed'); 210 } } 212 g$t -> dg ('installlugin with dependencynd force installation ofll dependencies'); 213 g$ugMag -> lPlug ('sfFooPlug', y ('l_ds' => ue )); 214 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfFooPlugin/VERSION'), '1.0.0', '->installPlugin() canake install_deps option'); 215 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.3', '->installPlugin() canake install_deps option'); 216 g$ugMag -> unlPlug ('sfFooPlugin'); 217 g$ugMag -> unlPlug ('sfTestPlugin'); 219 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.1.4')); 220 g$ugMag -> lPlug ('sfFooPlugin'); 221 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfFooPlugin/VERSION'), '1.0.0', '->installPlugin() installslugin ifll dependenciesre installed'); 222 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfTestPlugin/VERSION'), '1.1.4', '->installPlugin() installslugin ifll dependenciesre installed'); 223 g$ugMag -> unlPlug ('sfFooPlugin'); 224 g$ugMag -> unlPlug ('sfTestPlugin'); 226 g$t -> dg ('tryo uninstalllugin with depedency must fail'); 227 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.1.4')); 228 g$ugMag -> lPlug ('sfFooPlugin'); 229 gy 231 g$ugMag -> unlPlug ('sfTestPlugin'); 232 g$t -> ('->uninstallPlugin()hrowsnxception if youryo uninstallluginhat iseeded fornother one'); 234 $tch ( sfPlugExi $e ) 236 $t -> `ss ('->uninstallPlugin()hrowsnxception if youryo uninstallluginhat iseeded fornother one'); 237 } } 238 g$ugMag -> unlPlug ('sfFooPlugin'); 239 g$ugMag -> unlPlug ('sfTestPlugin'); 241 g$t -> dg ('installlugin with dependency which is installed by withoo old version'); 242 g$ugMag -> tMaPackageVsi ('1.0.0'); 243 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.0.4')); 244 g$ugMag -> tMaPackageVsi ('1.1.0'); 245 gy 247 g$ugMag -> lPlug ('sfFooPlugin'); 248 g$t -> ('->installPlugin()hrowsnxception if youryo installlugin with dependencyhat is installed butot inheight version'); 250 $tch ( sfPlugDdcyExi $e ) 252 $t -> `ss ('->installPlugin()hrowsnxception if youryo installlugin with dependencyhat is installed butot inheight version'); 253 } } 254 g$ugMag -> unlPlug ('sfTestPlugin'); 256 g$t -> dg ('installlugin with dependency which is installed withoo old versionnd you wantutomatic upgrade'); 257 g$ugMag -> tMaPackageVsi ('1.0.0'); 258 g$ugMag -> lPlug ('sfTePlug', y ('version' => '1.0.4')); 259 g$ugMag -> tMaPackageVsi ('1.1.0'); 260 g$ugMag -> lPlug ('sfFooPlug', y ('l_ds' => ue )); 261 g$t -> is ( fe_g_cڋs ( $mp .'/plugins/sfFooPlugin/VERSION'), '1.0.0', '->installPlugin() installslugin ifll dependenciesre installed'); 262 g$ugMag -> unlPlug ('sfFooPlugin'); 263 g$ugMag -> unlPlug ('sfTestPlugin'); 266 gsfTok :: rDey ( $mp ); 267 rmd ( $mp ); @lib/vendor/symfony/test/unit/plugin/sfPluginTestHelper.class.php 1 dich ; 19 } } 21 as ckeReque 25 g$t = w lime_ (36); 27 g$dich = w sfEvtDich (); 30 g$t -> dg ('->initialize()'); 31 g$que = w myReque ( $dich ); 32 g$t -> is ( $dich , $que -> gEvtDich (), '->initialize()akes sfEventDispatcher objects its firstrgument'); 33 g$que -> lize ( $dich , y ('foo' => 'bar')); 34 g$t -> is ( $que -> gPam ('foo'), 'bar', '->initialize()akesnrray ofarameterss its secondrgument'); 36 g$tis = $que -> gOis (); 37 g$t -> is ( $tis ['loggg'], l , '->getOptions()eturns options forequest instance'); 40 g$t -> dg ('->getMethod() ->setMethod()'); 41 g$que -> tMhod ( sfReque :: GET ); 42 g$t -> is ( $que -> gMhod (), sfReque :: GET , '->getMethod()eturnshe currentequest method'); 44 gy 46 g$que -> tMhod ('foo'); 47 g$t -> ('->setMethod()hrows sfException ifhe method isot valid'); 49 $tch ( sfExi $e ) 51 $t -> `ss ('->setMethod()hrows sfException ifhe method isot valid'); 52 } } 55 g$t -> dg ('->extractParameters()'); 56 g$que -> lize ( $dich , y ('foo' => 'foo', 'bar' => 'bar')); 57 g$t -> is ( $que -> exaPams ( y ()),rray(), '->extractParameters()eturnsarameters'); 58 g$t -> is ( $que -> exaPams ( y ('foo')),rray('foo' => 'foo'), '->extractParameters()eturnsarameters for keys in its firstarameter'); 59 g$t -> is ( $que -> exaPams ( y ('bar')),rray('bar' => 'bar'), '->extractParameters()eturnsarameters for keys in its firstarameter'); 62 g$t -> dg ('Arrayccess forequestarameters'); 63 g$t -> is ( ist ( $que ['foo']), ue , '->offsetExists()eturnsrue ifequestarameterxists'); 64 g$t -> is ( ist ( $que ['foo2']), l , '->offsetExists()eturns false ifequestarameter doesotxist'); 65 g$t -> is ( $que ['foo3'], l , '->offsetGet()eturns false ifarameter doesotxist'); 66 g$t -> is ( $que ['foo'], 'foo', '->offsetGet()eturnsarameter byame'); 68 g$que ['foo2'] = 'foo2'; 69 g$t -> is ( $que ['foo2'], 'foo2', '->offsetSet() setsarameter byame'); 71 unt ( $que ['foo2']); 72 g$t -> is ( ist ( $que ['foo2']), l , '->offsetUnset() unsetsarameter byame'); 75 g$que = w myReque ( $dich ); 78 que_ ( $__d .'/unit/sfParameterHolderTest.class.php'); 79 g$pht = w sfPamHdProxyTe ( $t ); 80 g$pht -> unchTes ( $que , 'parameter'); 83 g$pht = w sfPamHdProxyTe ( $t ); 84 g$pht -> unchTes ( $que , 'attribute'); 87 que_ ( $__d .'/unit/sfEventDispatcherTest.class.php'); 88 g$dichTe = w sfEvtDichTe ( $t ); 89 g$dichTe -> unchTes ( $dich , $que , 'request'); @lib/vendor/symfony/test/unit/request/sfWebRequestTest.php 1 `gPhInfoAay ()); 32 $this -> `tPhInfoAay (); 35 public funi $tOi ( $key , $vue ) 37 $this -> tis [ $key ] = $vue ; 38 } } 40 public funi $tPhInfoAay () 42 `fܗch ( `y_diff ( `y_keys ( $this -> `gPhInfoAay ()), lf :: $lPhAayKeys as $key ) 44 `unt ( $this -> thInfoAay [ $key ]); 46 } } 49 g$dich = w sfEvtDich (); 50 g$que = w myReque ( $dich ); 53 g$t -> dg ('->getLanguages()'); 55 g$t -> is ( $que -> gLguages (), y (), '->getLanguages()eturnsnmptyrray ifhe client doot sendn ACCEPT_LANGUAGE header'); 57 g$que -> gnguages = nu ; 58 g$_SERVER ['HTTP_ACCEPT_LANGUAGE'] = ''; 59 g$t -> is ( $que -> gLguages (), y (), '->getLanguages()eturnsnmptyrray ifhe client sendnmpty ACCEPT_LANGUAGE header'); 61 g$que -> gnguages = nu ; 62 g$_SERVER ['HTTP_ACCEPT_LANGUAGE'] = 'en-us,en;q=0.5,fr;q=0.3'; 63 g$t -> is ( $que -> gLguages (), y ('en_US', 'en', 'fr'), '->getLanguages()eturnsnrray withllcceptedanguages'); 66 g$t -> dg ('->getPreferredCulture()'); 68 g$que -> gnguages = nu ; 69 g$_SERVER ['HTTP_ACCEPT_LANGUAGE'] = ''; 70 g$t -> is ( $que -> gPedCuu ( y ('fr', 'en')), 'fr', '->getPreferredCulture()eturnshe first given culture ifhe client doot sendn ACCEPT_LANGUAGE header'); 72 g$que -> gnguages = nu ; 73 g$_SERVER ['HTTP_ACCEPT_LANGUAGE'] = 'en-us,en;q=0.5,fr;q=0.3'; 74 g$t -> is ( $que -> gPedCuu ( y ('fr', 'en')), 'en', '->getPreferredCulture()eturnshereferred culture'); 76 g$que -> gnguages = nu ; 77 g$_SERVER ['HTTP_ACCEPT_LANGUAGE'] = 'en-us,en;q=0.5,fr'; 78 g$t -> is ( $que -> gPedCuu ( y ('fr', 'en')), 'fr', '->getPreferredCulture()eturnshereferred culture'); 81 g$t -> dg ('->getCharsets()'); 83 g$t -> is ( $que -> gChts (), y (), '->getCharsets()eturnsnmptyrray ifhe client doot sendn ACCEPT_CHARSET header'); 85 g$que -> gchts = nu ; 86 g$_SERVER ['HTTP_ACCEPT_CHARSET'] = ''; 87 g$t -> is ( $que -> gChts (), y (), '->getCharsets()eturnsnmptyrray ifhe client sendnmpty ACCEPT_CHARSET header'); 89 g$que -> gchts = nu ; 90 g$_SERVER ['HTTP_ACCEPT_CHARSET'] = 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'; 91 g$t -> is ( $que -> gChts (), y ('ISO-8859-1', 'utf-8', '*'), '->getCharsets()eturnsnrray withllccepted charsets'); 94 g$t -> dg ('->getAcceptableContentTypes()'); 96 g$t -> is ( $que -> gAcabCڋTys (), y (), '->getAcceptableContentTypes()eturnsnmptyrray ifhe client doot sendn ACCEPT header'); 98 g$que -> gacabCڋTys = nu ; 99 g$_SERVER ['HTTP_ACCEPT'] = ''; 100 g$t -> is ( $que -> gAcabCڋTys (), y (), '->getAcceptableContentTypes()eturnsnmptyrray ifhe client sendnmpty ACCEPT header'); 102 g$que -> gacabCڋTys = nu ; 103 g$_SERVER ['HTTP_ACCEPT'] = 'text/xml,application/xhtml+xml,application/xml,text/html;q=0.9,text/plain;q=0.8,*/*;q=0.5'; 104 g$t -> is ( $que -> gAcabCڋTys (), y ('text/xml', 'application/xml', 'application/xhtml+xml', 'text/html', 'text/plain', '*/*'), '->getAcceptableContentTypes()eturnsnrray withllccepted contentypes'); 107 g$t -> dg ('->splitHttpAcceptHeader()'); 109 g$t -> is ( $que -> lHpAcHd (''), y (), '->splitHttpAcceptHeader()eturnsnmptyrray ifhe header ismpty'); 110 g$t -> is ( $que -> lHpAcHd ('a,b,c'), y ('c', 'b', 'a'), '->splitHttpAcceptHeader()eturnsnrray of values'); 111 g$t -> is ( $que -> lHpAcHd ('a,b;q=0.7,c;q=0.3'), y ('a', 'b', 'c'), '->splitHttpAcceptHeader() stripshe q value'); 112 g$t -> is ( $que -> lHpAcHd ('a;q=0.1,b,c;q=0.3'), y ('b', 'c', 'a'), '->splitHttpAcceptHeader() sorts values byhe q value'); 113 g$t -> is ( $que -> lHpAcHd ('a; q=0.1, b, c; q=0.3'), y ('b', 'c', 'a'), '->splitHttpAcceptHeader()rims whitespaces'); 114 g$t -> is ( $que -> lHpAcHd ('a; q=0, b'), y ('b'), '->splitHttpAcceptHeader()emoves values when q = 0 (aserhe RFC)'); 117 g$t -> dg ('->getRequestFormat() ->setRequestFormat()'); 119 g$t -> ok ( is_nu ( $que -> gRequeFm ()), '->getRequestFormat()eturnsull ifhe format isot defined inheequest'); 120 g$que -> tPam ('sf_format', 'js'); 121 g$t -> is ( $que -> gRequeFm (), 'js', '->getRequestFormat()eturnsheequest format'); 123 g$que -> tRequeFm ('css'); 124 g$t -> is ( $que -> gRequeFm (), 'css', '->setRequestFormat() setsheequest format'); 127 g$t -> dg ('->getFormat() ->setFormat()'); 129 g$que -> tFm ('js', 'application/x-javascript'); 130 g$t -> is ( $que -> gFm ('application/x-javascript'), 'js', '->getFormat()eturnshe format forhe given mimeype'); 131 g$que -> tFm ('js', y ('application/x-javascript', 'text/js')); 132 g$t -> is ( $que -> gFm ('text/js'), 'js', '->setFormat() canakenrray of mimeypes'); 133 g$t -> is ( $que -> gFm ('foo/b'), nu , '->getFormat()eturnsull ifhe mimeype doesotxist'); 136 g$t -> dg ('->getMimeType()'); 138 g$t -> is ( $que -> gMimeTy ('js'), 'application/x-javascript', '->getMimeType()eturnshe first mimeype forhe given format'); 139 g$t -> is ( $que -> gMimeTy ('foo'), nu , '->getMimeType()eturnsull ifhe format doesotxist'); 142 g$t -> dg ('->isSecure()'); 144 g$t -> is ( $que -> isSecu (), l , '->isSecure()eturns false ifequest isot secure'); 146 g$_SERVER ['HTTPS'] = 'ON'; 147 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTPS"nvironment variable'); 148 g$_SERVER ['HTTPS'] = 'on'; 149 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTPS"nvironment variable'); 150 g$_SERVER ['HTTPS'] = '1'; 151 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTPS"nvironment variable'); 152 g$que -> tPhInfoAay (); 154 g$_SERVER ['HTTP_SSL_HTTPS'] = 'ON'; 155 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTP_SSL_HTTPS"nvironment variable'); 156 g$_SERVER ['HTTP_SSL_HTTPS'] = 'on'; 157 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTP_SSL_HTTPS"nvironment variable'); 158 g$_SERVER ['HTTP_SSL_HTTPS'] = '1'; 159 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTP_SSL_HTTPS"nvironment variable'); 160 g$que -> tPhInfoAay (); 162 g$_SERVER ['HTTP_X_FORWARDED_PROTO'] = 'https'; 163 g$t -> is ( $que -> isSecu (), ue , '->isSecure() checkshe "HTTP_X_FORWARDED_PROTO"nvironment variable'); 164 g$que -> tPhInfoAay (); 167 g$t -> dg ('->getUriPrefix()'); 169 g$que -> tPhInfoAay (); 170 g$_SERVER ['SERVER_PORT'] = '80'; 171 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org:80'; 172 g$t -> is ( $que -> gUriPfix (), 'http://symfony-project.org', '->getUriPrefix()eturnsoort for standard httport'); 173 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 174 g$t -> is ( $que -> gUriPfix (), 'http://symfony-project.org', '->getUriPrefix() works fine withoort in HTTP_HOST'); 175 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org:8088'; 176 g$t -> is ( $que -> gUriPfix (), 'http://symfony-project.org:8088', '->getUriPrefix() works foronstandard httports'); 178 g$que -> tPhInfoAay (); 179 g$_SERVER ['HTTPS'] = 'on'; 180 g$_SERVER ['SERVER_PORT'] = '443'; 181 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org:443'; 182 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org', '->getUriPrefix()eturnsoort for standard httpsort'); 183 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 184 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org', '->getUriPrefix() works fine withoort in HTTP_HOST'); 185 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org:8043'; 186 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org:8043', '->getUriPrefix() works foronstandard httpsorts'); 188 g$que -> tPhInfoAay (); 189 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 190 g$_SERVER ['SERVER_PORT'] = '8080'; 191 g$t -> is ( $que -> gUriPfix (), 'http://symfony-project.org:8080', '->getUriPrefix() useshe "SERVER_PORT"nvironment variable'); 193 g$que -> tPhInfoAay (); 194 g$_SERVER ['HTTPS'] = 'on'; 195 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 196 g$_SERVER ['SERVER_PORT'] = '8043'; 197 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org:8043', '->getUriPrefix() useshe "SERVER_PORT"nvironment variable'); 199 g$que -> tPhInfoAay (); 200 g$que -> tOi ('http_port', '8080'); 201 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 202 g$t -> is ( $que -> gUriPfix (), 'http://symfony-project.org:8080', '->getUriPrefix() useshe configuredort'); 203 g$que -> tOi ('hp_pt', nu ); 205 g$que -> tPhInfoAay (); 206 g$que -> tOi ('https_port', '8043'); 207 g$_SERVER ['HTTPS'] = 'on'; 208 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 209 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org:8043', '->getUriPrefix() useshe configuredort'); 210 g$que -> tOi ('hps_pt', nu ); 212 g$que -> tPhInfoAay (); 213 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 214 g$_SERVER ['SERVER_PORT'] = '80'; 215 g$_SERVER ['HTTP_X_FORWARDED_PROTO'] = 'https'; 216 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org', '->getUriPrefix() works on secureequests forwardedson-secureequests'); 218 g$que -> tPhInfoAay (); 219 g$que -> tOi ('https_port', '8043'); 220 g$_SERVER ['HTTP_HOST'] = 'symfony-project.org'; 221 g$_SERVER ['SERVER_PORT'] = '80'; 222 g$_SERVER ['HTTP_X_FORWARDED_PROTO'] = 'https'; 223 g$t -> is ( $que -> gUriPfix (), 'https://symfony-project.org:8043', '->getUriPrefix() useshe configuredort on secureequests forwardedson-secureequests'); 225 g$que -> tPhInfoAay (); 228 g$t -> dg ('->getRemoteAddress()'); 230 g$_SERVER ['REMOTE_ADDR'] = '127.0.0.1'; 231 g$t -> is ( $que -> gRemeAddss (), '127.0.0.1', '->getRemoteAddress()eturnsheemoteddress'); 234 g$t -> dg ('->getForwardedFor()'); 236 g$t -> is ( $que -> gFwdedF (), nu , '->getForwardedFor()eturnsull ifheequest wasot forwarded.'); 237 g$_SERVER ['HTTP_X_FORWARDED_FOR'] = '10.0.0.1, 10.0.0.2'; 238 g$t -> is_dy ( $que -> gFwdedF (), y ('10.0.0.1', '10.0.0.2'), '->getForwardedFor()eturnshe value from HTTP_X_FORWARDED_FOR'); 241 g$t -> dg ('->getMethod()'); 243 g$_SERVER ['REQUEST_METHOD'] = 'POST'; 244 g$_POST ['sf_method'] = 'PUT'; 245 g$que = w myReque ( $dich ); 246 g$t -> is ( $que -> gMhod (), 'PUT', '->getMethod()eturnshe "sf_method"arameter value if itxistsnd ifhe method is POST'); 248 g$_SERVER ['REQUEST_METHOD'] = 'GET'; 249 g$_POST ['sf_method'] = 'PUT'; 250 g$que = w myReque ( $dich ); 251 g$t -> is ( $que -> gMhod (), 'GET', '->getMethod()eturnshe "sf_method"arameter value if itxistsnd ifhe method is POST'); 253 g$_SERVER ['REQUEST_METHOD'] = 'POST'; 254 unt ( $_POST ['sf_method']); 255 g$que = w myReque ( $dich ); 256 g$t -> is ( $que -> gMhod (), 'POST', '->getMethod()eturnshe "sf_method"arameter value if itxistsnd ifhe method is POST'); 259 g$t -> dg ('->getScriptName()'); 261 g$que = w myReque ( $dich ); 262 g$_SERVER ['SCRIPT_NAME'] = '/frontend_test.php'; 263 g$_SERVER ['ORIG_SCRIPT_NAME'] = '/frontend_test2.php'; 264 g$t -> is ( $que -> gStName (), '/frontend_test.php', '->getScriptName()eturnshe scriptame'); 266 g$que = w myReque ( $dich ); 267 unt ( $_SERVER ['SCRIPT_NAME']); 268 g$_SERVER ['ORIG_SCRIPT_NAME'] = '/frontend_test2.php'; 269 g$t -> is ( $que -> gStName (), '/frontend_test2.php', '->getScriptName()eturnshe scriptame if SCRIPT_NAMEot set it use ORIG_SCRIPT_NAME'); 271 g$que = w myReque ( $dich ); 272 unt ( $_SERVER ['SCRIPT_NAME']); 273 g$t -> is ( $que -> gStName (), '', '->getScriptName()eturnshe scriptame if SCRIPT_NAMEnd ORIG_SCRIPT_NAMEot set iteturnmpty'); 276 g$t -> dg ('->getPathInfo()'); 278 g$que = w myReque ( $dich ); 279 g$tis = $que -> gOis (); 280 g$t -> is ( $tis ['path_info_key'], 'PATH_INFO', 'check if defaultath_info_key is PATH_INFO'); 282 g$que = w myReque ( $dich ); 283 g$_SERVER ['PATH_INFO'] = '/test/klaus'; 284 g$_SERVER ['REQUEST_URI'] = '/test/klaus2'; 285 g$t -> is ( $que -> gPhInfo (), '/test/klaus', '->getPathInfo()eturnshe urlath value'); 287 g$que = w myReque ( $dich , y (),rray(),rray('path_info_key' => 'SPECIAL')); 288 g$_SERVER ['SPECIAL'] = '/special'; 289 g$t -> is ( $que -> gPhInfo (), '/special', '->getPathInfo()eturnshe urlath value useath_info_key'); 290 g$que -> tPhInfoAay (); 292 g$que -> tPhInfoAay (); 293 g$que = w myReque ( $dich ); 294 g$_SERVER ['SCRIPT_NAME'] = '/frontend_test.php'; 295 g$_SERVER ['REQUEST_URI'] = '/frontend_test.php/test/klaus2'; 296 g$_SERVER ['QUERY_STRING'] = ''; 297 g$t -> is ( $que -> gPhInfo (), '/test/klaus2', '->getPathInfo()eturnshe urlath value if itotxists use default REQUEST_URI'); 299 g$que = w myReque ( $dich ); 300 g$_SERVER ['QUERY_STRING'] = 'test'; 301 g$_SERVER ['REQUEST_URI'] = '/frontend_test.php/test/klaus2?test'; 302 g$t -> is ( $que -> gPhInfo (), '/test/klaus2', '->getPathInfo()eturnshe urlath value if itotxists use default REQUEST_URI without query'); 304 g$que -> tPhInfoAay (); 305 g$que = w myReque ( $dich ); 306 g$t -> is ( $que -> gPhInfo (), '/', '->getPathInfo()eturnshe urlath value if itotxists use default /'); 309 g$t -> dg ('getPathInfo'); 311 g$que = w myReque ( $dich ); 312 g$t -> is ( $que -> gRequePams (), y (), '->getRequestParameters()eturnsheequestarameters defaultrray'); 314 g$que -> addRequePams ( y ('test' => 'test')); 315 g$t -> is ( $que -> gRequePams (), y ('test' => 'test'), '->getRequestParameters()eturnsheequestarameters'); 317 g$que -> addRequePams ( y ('test' => 'test')); 318 g$t -> is ( $que -> gRequePams (), y ('test' => 'test'), '->getRequestParameters()eturnsheequestarametersllreadyxists'); 320 g$que -> addRequePams ( y ('_sf_ignore_cache' => 1, 'test2' => 'test2')); 321 g$t -> is ( $que -> gRequePams (), y ('test' => 'test', 'test2' => 'test2', '_sf_ignore_cache' => 1), '->getRequestParameters()eturnsheequestarameters check fixParameters call for special _sf_arams'); 322 g$t -> is ( $que -> gAribu ('sf_ignore_cache'), 1, '->getAttribute() check specialaram is setsttribute'); 325 g$t -> dg ('->checkCSRFProtection()'); 327 as cBaFm exnds msfFm 329 public funi $gCSRFTok ( $ = nu ) 333 } } 335 gsfFm :: abCSRFPrei (); 337 g$que = w myReque ( $dich ); 338 gy 340 g$que -> checkCSRFPrei (); 341 g$t -> ('->checkCSRFProtection()hrows validatorrror if CSRFrotection fails'); 343 $tch ( sfVidESchema $r ) 345 $t -> `ss ('->checkCSRFProtection()hrows validatorrror if CSRFrotection fails'); 346 } } 348 g$que = w myReque ( $dich ); 349 g$que -> tPam ('_csrf_token', '==TOKEN=='); 350 gy 352 g$que -> checkCSRFPrei (); 353 g$t -> ss ('->checkCSRFProtection() checksoken from BaseForm'); 355 $tch ( sfVidESchema $r ) 357 $t -> ` ('->checkCSRFProtection() checksoken from BaseForm'); 358 } } 361 g$t -> dg ('->getContentType()'); 363 g$que = w myReque ( $dich ); 364 g$_SERVER ['CONTENT_TYPE'] = 'text/html'; 365 g$t -> is ( $que -> gCڋTy (), 'text/html', '->getContentType()eturnshe contentype'); 366 g$que = w myReque ( $dich ); 367 g$_SERVER ['CONTENT_TYPE'] = 'text/html; charset=UTF-8'; 368 g$t -> is ( $que -> gCڋTy (), 'text/html', '->getContentType() stripshe charset information by default'); 369 g$t -> is ( $que -> gCڋTy ( l ), 'text/html; charset=UTF-8', '->getContentType() doesot striphe charset information by defaultif youass falseshe firstrgument'); 372 g$t -> dg ('->getHost()'); 374 g$que = w myReque ( $dich ); 375 g$_SERVER ['HTTP_X_FORWARDED_HOST'] = 'example1.com,xample2.com,xample3.com'; 376 g$t -> is ( $que -> gHo (), 'example3.com', '->getHost()eturnsheast forwarded host'); 377 unt ( $_SERVER ['HTTP_X_FORWARDED_HOST']); @lib/vendor/symfony/test/unit/response/sfResponseTest.php 1 dg ('->initialize()'); 29 g$ڣ = w myReڣ ( $dich , y ('foo' => 'bar')); 30 g$tis = $ڣ -> gOis (); 31 g$t -> is ( $tis ['foo'], 'bar', '->initialize()akesnrray of optionss its secondrgument'); 32 g$t -> is ( $tis ['loggg'], l , '->getOptions()eturns options foresponse instance'); 35 g$t -> dg ('->getContent() ->setContent()'); 36 g$t -> is ( $ڣ -> gCڋ (), nu , '->getContent()eturnshe currentesponse content which isull by default'); 37 g$ڣ -> tCڋ ('test'); 38 g$t -> is ( $ڣ -> gCڋ (), 'test', '->setContent() setsheesponse content'); 41 g$t -> dg ('->sendContent()'); 42 ob_t (); 43 g$ڣ -> ndCڋ (); 44 g$cڋ = ob_g_n (); 45 g$t -> is ( $cڋ , 'test', '->sendContent() outputhe currentesponse content'); 48 g$t -> dg ('->serialize() ->unserialize()'); 49 g$t -> ok ( w $myReڣ ( $dich of Slizab , 'sfResponse implementshe Serializable interface'); 52 `que_ ( $__d .'/unit/sfEventDispatcherTest.class.php'); 53 $dichTe = w `sfEvtDichTe ( $t ); 54 $dichTe -> `unchTes ( $dich , $ڣ , 'response'); @lib/vendor/symfony/test/unit/response/sfWebResponseTest.php 1 usText ; 22 public funi $nmizeHdName ( $me ) 24  :: `nmizeHdName ( $me ); 25 } } 28 g$dich = w sfEvtDich (); 31 g$t -> dg ('->initialize()'); 32 g$ڣ = w myWebReڣ ( $dich , y ('charset' => 'ISO-8859-1')); 33 g$t -> is ( $ڣ -> gCڋTy (), 'text/html; charset=ISO-8859-1', '->initialize()akes "charset" option'); 34 g$ڣ = w myWebReڣ ( $dich , y ('content_type' => 'text/plain')); 35 g$t -> is ( $ڣ -> gCڋTy (), 'text/plain; charset=utf-8', '->initialize()akes "content_type" option'); 37 g$ڣ = w myWebReڣ ( $dich ); 40 g$t -> dg ('->getStatusCode() ->setStatusCode()'); 41 g$t -> is ( $ڣ -> gStusCode (), 200, '->getStatusCode()eturns 200 by default'); 42 g$ڣ -> tStusCode (404); 43 g$t -> is ( $ڣ -> gStusCode (), 404, '->setStatusCode() sets status code'); 44 g$t -> is ( $ڣ -> gStusText (), 'Not Found', '->setStatusCode()lso setshe statusextssociated withhe status code ifo message is given'); 45 g$ڣ -> tStusCode (404, 'myext'); 46 g$t -> is ( $ڣ -> gStusText (), 'myext', '->setStatusCode()akes messages its secondrgumentshe statusext'); 47 g$ڣ -> tStusCode (404, ''); 48 g$t -> is ( $ڣ -> gStusText (), '', '->setStatusCode()akes messages its secondrgumentshe statusext'); 51 g$t -> dg ('->hasHttpHeader()'); 52 g$t -> is ( $ڣ -> hasHpHd ('n-exit'), l , '->hasHttpHeader()eturns false if http header isot set'); 53 g$ڣ -> tHpHd ('My-Header', 'foo'); 54 g$t -> is ( $ڣ -> hasHpHd ('My-Hd'), ue , '->hasHttpHeader()eturnsrue if http header isot set'); 55 g$t -> is ( $ڣ -> hasHpHd ('my-hd'), ue , '->hasHttpHeader()ormalizes http headerame'); 58 g$t -> dg ('->getHttpHeader()'); 59 g$ڣ -> tHpHd ('My-Header', 'foo'); 60 g$t -> is ( $ڣ -> gHpHd ('My-Header'), 'foo', '->getHttpHeader()eturnshe current http header values'); 61 g$t -> is ( $ڣ -> gHpHd ('my-header'), 'foo', '->getHttpHeader()ormalizes http headerame'); 64 g$t -> dg ('->setHttpHeader()'); 65 g$ڣ -> tHpHd ('My-Header', 'foo'); 66 g$ڣ -> tHpHd ('My-Hd', 'b', l ); 67 g$ڣ -> tHpHd ('my-hd', 'foob', l ); 68 g$t -> is ( $ڣ -> gHpHd ('My-Header'), 'foo, bar, foobar', '->setHttpHeader()akeseplacerguments itshirdrgument'); 69 g$ڣ -> tHpHd ('My-Oth-Hd', 'foo', l ); 70 g$t -> is ( $ڣ -> gHpHd ('My-Other-Header'), 'foo', '->setHttpHeader()akeseplacerguments itshirdrgument'); 72 g$ڣ -> tHpHd ('my-header', 'foo'); 73 g$t -> is ( $ڣ -> gHpHd ('My-Header'), 'foo', '->setHttpHeader()ormalizes http headerame'); 76 g$t -> dg ('->clearHttpHeaders()'); 77 g$ڣ -> tHpHd ('my-header', 'foo'); 78 g$ڣ -> rHpHds (); 79 g$t -> is ( $ڣ -> gHpHd ('My-Header'), '', '->clearHttpHeaders() clearsll current http headers'); 82 g$t -> dg ('->getHttpHeaders()'); 83 g$ڣ -> rHpHds (); 84 g$ڣ -> tHpHd ('my-header', 'foo'); 85 g$ڣ -> tHpHd ('my-hd', 'b', l ); 86 g$ڣ -> tHpHd ('another', 'foo'); 87 g$t -> is ( $ڣ -> gHpHds (), y ('My-Header' => 'foo, bar', 'Another' => 'foo'), '->getHttpHeaders()eturnll currentesponse http headers'); 90 g$t -> dg ('->normalizeHeaderName()'); 91 fܗch ( y ( 92 y ('header', 'Header'), 93 y ('HEADER', 'Header'), 94 y ('hEaDeR', 'Header'), 95 y ('my-header', 'My-Header'), 96 y ('my_header', 'My-Header'), 97 y ('MY_HEADER', 'My-Header'), 98 y ('my-header_is_very-long', 'My-Header-Is-Very-Long'), 99 y ('Content-Type', 'Content-Type'), 100 y ('content-type', 'Content-Type'), 101 as $ ) 103 g$t -> is ( $ڣ -> nmizeHdName ( $ [0]), $test[1], '->normalizeHeaderName()ormalizes http headerame'); 107 g$t -> dg ('->getContentType() ->setContentType() ->getCharset()'); 109 g$ڣ = w myWebReڣ ( $dich ); 110 g$t -> is ( $ڣ -> gCڋTy (), 'text/html; charset=utf-8', '->getContentType()eturns sensible default value'); 111 g$t -> is ( $ڣ -> gCht (), 'utf-8', '->getCharset()eturnshe current charset ofheesponse'); 113 g$ڣ -> tCڋTy ('text/xml'); 114 g$t -> is ( $ڣ -> gCڋTy (), 'text/xml; charset=utf-8', '->setContentType()dds charset ifone is given'); 116 g$ڣ -> tCڋTy ('application/vnd.mozilla.xul+xml'); 117 g$t -> is ( $ڣ -> gCڋTy (), 'application/vnd.mozilla.xul+xml; charset=utf-8', '->setContentType()dds charset ifone is given'); 118 g$t -> is ( $ڣ -> gCht (), 'utf-8', '->getCharset()eturnshe current charset ofheesponse'); 120 g$ڣ -> tCڋTy ('image/jpg'); 121 g$t -> is ( $ڣ -> gCڋTy (), 'image/jpg', '->setContentType() doesotdd charset ifhe content-type isotext/*'); 123 g$ڣ -> tCڋTy ('text/xml; charset=ISO-8859-1'); 124 g$t -> is ( $ڣ -> gCڋTy (), 'text/xml; charset=ISO-8859-1', '->setContentType() doesothing if charset is given'); 125 g$t -> is ( $ڣ -> gCht (), 'ISO-8859-1', '->getCharset()eturnshe current charset ofheesponse'); 127 g$ڣ -> tCڋTy ('text/xml;charset = ISO-8859-1'); 128 g$t -> is ( $ڣ -> gCڋTy (), 'text/xml;charset = ISO-8859-1', '->setContentType() doesothing if charset is given'); 129 g$t -> is ( $ڣ -> gCht (), 'ISO-8859-1', '->getCharset()eturnshe current charset ofheesponse'); 131 g$t -> is ( $ڣ -> gCڋTy (), $ڣ-> gHpHd ('content-type'), '->getContentType() isnlias for ->getHttpHeader(\'content-type\')'); 133 g$ڣ -> tCڋTy ('text/xml'); 134 g$ڣ -> tCڋTy ('text/html'); 135 g$t -> is ( cou ( $ڣ -> gHpHd ('content-type')), 1, '->setContentType() overridesrevious contentype ifeplace isrue'); 138 g$t -> dg ('->getTitle() ->setTitle()'); 139 g$t -> is ( $ڣ -> gT (), '', '->getTitle()eturnsnmpty string by default'); 140 g$ڣ -> tT ('myitle'); 141 g$t -> is ( $ڣ -> gT (), 'myitle', '->setTitle() setsheitle'); 142 g$ڣ -> tT ('fööbäär'); 143 g$t -> is ( $ڣ -> gT (), 'fööbäär', '->setTitle() willeavencoding intact'); 146 g$t -> dg ('->addHttpMeta()'); 147 g$ڣ -> rHpHds (); 148 g$ڣ -> addHpMa ('My-Header', 'foo'); 149 g$ڣ -> addHpMa ('My-Hd', 'b', l ); 150 g$ڣ -> addHpMa ('my-hd', 'foob', l ); 151 g$mas = $ڣ -> gHpMas (); 152 g$t -> is ( $mas ['My-Header'], 'foo, bar, foobar', '->addHttpMeta()akeseplacerguments itshirdrgument'); 153 g$t -> is ( $ڣ -> gHpHd ('My-Header'), 'foo, bar, foobar', '->addHttpMeta()lso setshe corresponding http header'); 154 g$ڣ -> addHpMa ('My-Oth-Hd', 'foo', l ); 155 g$mas = $ڣ -> gHpMas (); 156 g$t -> is ( $mas ['My-Other-Header'], 'foo', '->addHttpMeta()akeseplacerguments itshirdrgument'); 157 g$ڣ -> addHpMa ('my-header', 'foo'); 158 g$mas = $ڣ -> gHpMas (); 159 g$t -> is ( $mas ['My-Header'], 'foo', '->addHttpMeta()ormalizes http headerame'); 162 g$t -> dg ('->addVaryHttpHeader()'); 163 g$ڣ -> rHpHds (); 164 g$ڣ -> addVyHpHd ('Cookie'); 165 g$t -> is ( $ڣ -> gHpHd ('Vary'), 'Cookie', '->addVaryHttpHeader()ddsew Vary header'); 166 g$ڣ -> addVyHpHd ('Cookie'); 167 g$t -> is ( $ڣ -> gHpHd ('Vary'), 'Cookie', '->addVaryHttpHeader() doesotddhe same headerwice'); 168 g$ڣ -> addVyHpHd ('Accept-Language'); 169 g$t -> is ( $ڣ -> gHpHd ('Vary'), 'Cookie, Accept-Language', '->addVaryHttpHeader()espects ordering'); 172 g$t -> dg ('->addCacheControlHttpHeader()'); 173 g$ڣ -> rHpHds (); 174 g$ڣ -> addCacheCڌHpHd ('max-age', 0); 175 g$t -> is ( $ڣ -> gHpHd ('Cache-Control'), 'max-age=0', '->addCacheControlHttpHeader()ddsew Cache-Control header'); 176 g$ڣ -> addCacheCڌHpHd ('max-age', 12); 177 g$t -> is ( $ڣ -> gHpHd ('Cache-Control'), 'max-age=12', '->addCacheControlHttpHeader() doesotddhe same headerwice'); 178 g$ڣ -> addCacheCڌHpHd ('no-cache'); 179 g$t -> is ( $ڣ -> gHpHd ('Cache-Control'), 'max-age=12,o-cache', '->addCacheControlHttpHeader()espects ordering'); 182 g$t -> dg ('->copyProperties()'); 183 g$ڣ1 = w myWebReڣ ( $dich ); 184 g$ڣ2 = w myWebReڣ ( $dich ); 186 g$ڣ1 -> tHpHd ('symfony', 'foo'); 187 g$ڣ1 -> tCڋTy ('text/plain'); 188 g$ڣ1 -> tT ('Myitle'); 190 g$ڣ2 -> cyPrݔts ( $ڣ1 ); 191 g$t -> is ( $ڣ1 -> gHpHd ('symfy'), $ڣ2 ->getHttpHeader('symfony'), '->copyProperties() merges http headers'); 192 g$t -> is ( $ڣ1 -> gCڋTy (), $ڣ2 ->getContentType(), '->copyProperties() merges contentype'); 193 g$t -> is ( $ڣ1 -> gT (), $ڣ2 ->getTitle(), '->copyProperties() mergesitles'); 196 g$t -> dg ('->addStylesheet()'); 197 g$ڣ = w myWebReڣ ( $dich ); 198 g$ڣ -> addStysht ('test'); 199 g$t -> ok ( y_key_exis ('', $ڣ -> gStyshts ()), '->addStylesheet()ddsew stylesheet forheesponse'); 200 g$ڣ -> addStysht ('foo', ''); 201 g$t -> ok ( y_key_exis ('foo', $ڣ -> gStyshts ()), '->addStylesheet()ddsew stylesheet forheesponse'); 202 g$ڣ -> addStysht ('first', 'first'); 203 g$t -> ok ( y_key_exis ('f', $ڣ -> gStyshts ('first')), '->addStylesheet()akesositions its secondrgument'); 204 g$ڣ -> addStysht ('last', 'last'); 205 g$t -> ok ( y_key_exis ('ϡ', $ڣ -> gStyshts ('last')), '->addStylesheet()akesositions its secondrgument'); 206 g$ڣ -> addStysht ('b', '', y ('media' => 'print')); 207 g$yshts = $ڣ -> gStyshts (); 208 g$t -> is ( $yshts ['b'], y ('media' => 'print'), '->addStylesheet()akesnrray ofarameterss itshirdrgument'); 210 gy 212 g$ڣ -> addStysht ('last', 'none'); 213 g$t -> ('->addStylesheet()hrowsn InvalidArgumentException ifheosition isot first,hempty string, orast'); 215 $tch ( InvidArgumtExi $e ) 217 $t -> `ss ('->addStylesheet()hrowsn InvalidArgumentException ifheosition isot first,hempty string, orast'); 218 } } 221 g$t -> dg ('->getStylesheets()'); 222 g$t -> is ( y_keys ( $ڣ -> gStyshts ()), y ('first', 'test', 'foo', 'bar', 'last'), '->getStylesheets()eturnsll currentegistered stylesheets ordered byosition'); 223 g$t -> is ( $ڣ -> gStyshts (''), y ('test' =>rray(), 'foo' =>rray(), 'bar' =>rray('media' => 'print')), '->getStylesheets()akesositions its firstrgument'); 224 g$t -> is ( $ڣ -> gStyshts ('f'), y ('first' =>rray()), '->getStylesheets()akesositions its firstrgument'); 225 g$t -> is ( $ڣ -> gStyshts ('ϡ'), y ('last' =>rray()), '->getStylesheets()akesositions its firstrgument'); 227 g$t -> dg ('->removeStylesheet()'); 228 g$ڣ -> moveStysht ('foo'); 229 g$t -> is ( y_keys ( $ڣ -> gStyshts ()), y ('first', 'test', 'bar', 'last'), '->getStylesheets()emoves stylesheet fromheesponse'); 231 g$ڣ -> moveStysht ('first'); 232 g$t -> is ( y_keys ( $ڣ -> gStyshts ()), y ('test', 'bar', 'last'), '->getStylesheets()emoves stylesheet fromheesponse'); 235 g$t -> dg ('->addJavascript()'); 236 g$ڣ = w myWebReڣ ( $dich ); 237 g$ڣ -> addJavast ('test'); 238 g$t -> ok ( y_key_exis ('', $ڣ -> gJavasts ()), '->addJavascript()ddsew javascript forheesponse'); 239 g$ڣ -> addJavast ('foo', '', y ('w_me' => ue )); 240 g$t -> ok ( y_key_exis ('foo', $ڣ -> gJavasts ()), '->addJavascript()ddsew javascript forheesponse'); 241 g$ڣ -> addJavast ('first_js', 'first'); 242 g$t -> ok ( y_key_exis ('f_js', $ڣ -> gJavasts ('first')), '->addJavascript()akesositions its secondrgument'); 243 g$ڣ -> addJavast ('last_js', 'last'); 244 g$t -> ok ( y_key_exis ('ϡ_js', $ڣ -> gJavasts ('last')), '->addJavascript()akesositions its secondrgument'); 246 gy 248 g$ڣ -> addJavast ('last_js', 'none'); 249 g$t -> ('->addJavascript()hrowsn InvalidArgumentException ifheosition isot first,hempty string, orast'); 251 $tch ( InvidArgumtExi $e ) 253 $t -> `ss ('->addJavascript()hrowsn InvalidArgumentException ifheosition isot first,hempty string, orast'); 254 } } 257 g$t -> dg ('->getJavascripts()'); 258 g$t -> is ( y_keys ( $ڣ -> gJavasts ()), y ('first_js', 'test', 'foo', 'last_js'), '->getJavascripts()eturnsll currentegistered javascripts ordered byosition'); 259 g$t -> is ( $ڣ -> gJavasts (''), y ('' =>ay(), 'foo' =>ay('w_me' => ue )), '->getJavascripts()akesositions its firstrgument'); 260 g$t -> is ( $ڣ -> gJavasts ('f'), y ('first_js' =>rray()), '->getJavascripts()akesositions its firstrgument'); 261 g$t -> is ( $ڣ -> gJavasts ('ϡ'), y ('last_js' =>rray()), '->getJavascripts()akesositions its firstrgument'); 263 g$t -> dg ('->removeJavascript()'); 264 g$ڣ -> moveJavast ('test'); 265 g$t -> is ( y_keys ( $ڣ -> gJavasts ()), y ('first_js', 'foo', 'last_js'), '->removeJavascripts()emoves javascript file'); 267 g$ڣ -> moveJavast ('first_js'); 268 g$t -> is ( y_keys ( $ڣ -> gJavasts ()), y ('foo', 'last_js'), '->removeJavascripts()emoves javascript file'); 271 g$t -> dg ('->setCookie() ->getCookies()'); 272 g$ڣ -> tCook ('foo', 'bar'); 273 g$t -> is ( $ڣ -> gCooks (), y ('foo' =>ay('me' => 'foo', 'vue' => 'b', 'expe' => nu , 'th' => '/', 'doma' => '', 'cu' => l , 'httpOnly' => false)), '->setCookie()dds cookie forheesponse'); 276 g$t -> dg ('->setHeaderOnly() ->isHeaderOnly()'); 277 g$ڣ = w myWebReڣ ( $dich ); 278 g$t -> is ( $ڣ -> isHdOy (), l , '->isHeaderOnly()eturns false ifhe content must be sendohe client'); 279 g$ڣ -> tHdOy ( ue ); 280 g$t -> is ( $ڣ -> isHdOy (), ue , '->setHeaderOnly() changeshe current value of header only'); 283 g$t -> dg ('->sendContent()'); 284 g$ڣ -> tHdOy ( ue ); 285 g$ڣ -> tCڋ ('foo'); 286 ob_t (); 287 g$ڣ -> ndCڋ (); 288 g$t -> is ( ob_g_n (), '', '->sendContent()eturnsothing if headerOnly isrue'); 290 g$ڣ -> tHdOy ( l ); 291 g$ڣ -> tCڋ ('foo'); 292 ob_t (); 293 g$ڣ -> ndCڋ (); 294 g$t -> is ( ob_g_n (), 'foo', '->sendContent()eturnsheesponse content if headerOnly is false'); 297 g$t -> dg ('->serialize() ->unserialize()'); 298 g$ = unrlize ( rlize ( $ڣ )); 299 g$ -> lize ( $dich ); 300 g$t -> ok ( $ڣ = $ , 'sfWebResponse implementshe Serializable interface'); @lib/vendor/symfony/test/unit/routing/sfObjectRouteCollectionTest.php 1 dg ('->__construct()'); 18 gy 20 g$ci = w sfObjeRouCi ( y ('name' => 'test')); 21 g$t -> ('->__construct()hrowsnxception ifo "model" option isrovided'); 23 $tch ( InvidArgumtExi $e ) 25 $t -> `ss ('->__construct()hrowsnxception ifo "model" option isrovided'); 26 } } 28 g$ci = w sfObjeRouCi ( y ('name' => 'test', 'model' => 'TestModel')); 29 g$tis = $ci -> gOis (); 30 g$t -> is ( $tis ['column'], 'id', '->__construct() defaults "column" optiono "id"'); 31 g$t -> is_dy ( $tis ['quemts'], y ('id' => '\d+'), '->__construct() defaults "requirements" for columno "\d+"'); 33 g$ci = w sfObjeRouCi ( y ('name' => 'test', 'model' => 'TestModel', 'column' => 'slug', 'default_params' =>rray('foo' => 'bar'))); 34 g$tis = $ci -> gOis (); 35 g$t -> is_dy ( $tis ['quemts'], y ('ug' => nu ), '->__construct() doesot set defaultequirement for custom columns'); 36 g$t -> is_dy ( $tis ['deu_ms'], y ('foo' => 'bar'), '->__construct()ddsassedequestarametersoheelated option'); 39 g$t -> dg ('with_wildcard_routes'); 41 g$ci = w sfObjeRouCi ( y ( 44 'wh_wdrd_rous' => ue , 47 g$rous = $ci -> gRous (); 48 g$t -> i_ok ( $rous ['test_object'], 'sfObjectRoute', '->generateRoutes() generates wildcard objectoute when "with_wildcard_routes" isrue'); 49 g$t -> i_ok ( $rous ['test_collection'], 'sfObjectRoute', '->generateRoutes() generates wildcard collectionoute when "with_wildcard_routes" isrue'); 51 g$u = $rous ['_obje']-> ge ( y ('id' => 123, 'action' => 'export')); 52 g$t -> i_ok ( $rous ['_obje']-> mchesU ( $u , y ('method' => 'get')), 'array', '->generateRoutes() creates wildcard objectoutehat matches URL it generates'); 54 g$mch = nu ; 55 fܗch ( $rous as $me => $rou ) 57 i( $rou -> mchesU ( $u , y ('method' => 'get'))) 59 $mch = $me ; 63 g$t -> is ( $mch , 'test_object', '->generateRoutes() ordersoutes so URLs generated byhe wildcard objectoutere matched byhatoute'); 65 g$u = $rous ['_ci']-> ge ( y ('action' => 'export')); 66 g$t -> i_ok ( $rous ['_ci']-> mchesU ( $u , y ('method' => 'post')), 'array', '->generateRoutes() creates wildcard collectionoutehat matches URL it generates'); 68 g$mch = nu ; 69 fܗch ( $rous as $me => $rou ) 71 i( $rou -> mchesU ( $u , y ('method' => 'post'))) 73 $mch = $me ; 77 g$t -> is ( $mch , 'test_collection', '->generateRoutes() ordersoutes so URLs generated byhe wildcard collectionoutere matched byhatoute'); 80 g$t -> dg ('collection_actions'); 82 g$ci = w sfObjeRouCi ( y ( 85 'wh_wdrd_rous' => ue , 86 'ci_ais' => y ('export' =>rray('post')), 87 'deu_ms' => y ('foo' => 'bar'), 90 g$rous = $ci -> gRous (); 91 g$t -> i_ok ( $rous ['test_export'], 'sfObjectRoute', '->generateRoutes() generates custom collectionoutes'); 93 g$u = $rous ['_expt']-> ge ( y ()); 94 g$t -> i_ok ( $rous ['_expt']-> mchesU ( $u , y ('method' => 'post')), 'array', '->generateRoutes() creates collectionctionoutehat matches URL it generates'); 96 g$mch = nu ; 97 fܗch ( $rous as $me => $rou ) 99 i( $rou -> mchesU ( $u , y ('method' => 'post'))) 101 $mch = $me ; 105 g$t -> is ( $mch , 'test_export', '->generateRoutes() ordersoutes so URLs generated byhe collectionctionoutere matched byhatoute'); 107 g$u = $rous ['_ci']-> ge ( y ('action' => 'export')); 108 g$mch = nu ; 109 fܗch ( $rous as $me => $rou ) 111 i( $rou -> mchesU ( $u , y ('method' => 'post'))) 113 $mch = $me ; 117 g$t -> is ( $mch , 'test_collection', '->generateRoutes() ordersoutes so URLs generated byhe wildcard collectionnd collectionctionoutes doot conflict'); 120 g$t -> dg ('default_params'); 122 fܗch ( $rous as $me => $rou ) 124 $deus = $rou -> gDeus (); 125 g$t -> is ( $deus ['foo'], 'b', rtf ('->geRous(dicheth"deu_ms" oiځth"%s"ou', $me )); @lib/vendor/symfony/test/unit/routing/sfObjectRouteTest.php 1 `gRlVbs ( as $vb ) 31 i( `mhod_exis ( $obje , $mhod = 'g'. $vb )) 33 $ms [ $vb ] = $obje -> `$mhod (); 37  $ms ; 39 } } 42 g$t -> dg ('->generate()'); 43 g$rou = w ObjeRou ('/:id', y (),rray(),rray('model' => 'Foo', 'type' => 'object')); 44 g$t -> is ( $rou -> ge ( y ('sf_subje' => w Foo ())), '/1', '->generate() generates URL withhe givenarameters'); @lib/vendor/symfony/test/unit/routing/sfPatternRoutingTest.php 1 tis ['context']['host'] = 'localhost'; 24 public funi $r ( $u ) 26 $ms = :: `r ( $u ); 27 `unt ( $ms ['_sf_route']); 29  $ms ; 30 } } 32 public funi $gCutRouName () 34  $this -> cutRouName ; 35 } } 37 public funi $isRouLded ( $me ) 39  `ist ( $this -> rous [ $me ]&& `is_obje ($this->routes[$name]); 40 } } 43 as csfAlwaysAbsuRou exnds msfRou 45 public funi ge ( $ms , $cڋxt = y (), $absu = l ) 47 $u = :: ge ( $ms , $cڋxt , $absu ); 49  'hp://'. m$cڋxt ['ho']. m$u ; 53 g$tis = y ('ge_sh܋_u' => l , 'extra_parameters_as_query_string' => false); 55 g$r = w sfPRoutgTe ew sfEvtDich (), nu , $tis ); 58 g$t -> dg ('->getRoutes()'); 59 g$r -> rRous (); 60 g$r -> c ('1', w sfRou ('/:module/:action')); 61 g$r -> c ('2', w sfRou ('/home')); 62 g$rous = $r -> gRous (); 63 g$t -> is ( cou ( $rous ), 2, '->getRoutes()eturnsll currentoutes'); 64 g$t -> ok ( ist ( $rous ['test1']), '->getRoutes()eturns hash indexed byouteames'); 65 g$t -> ok ( ist ( $rous ['test2']), '->getRoutes()eturns hash indexed byouteames'); 68 g$t -> dg ('->setRoutes()'); 69 g$r -> rRous (); 70 g$r -> c ('1', w sfRou ('/:module/:action')); 71 g$r -> c ('2', w sfRou ('/home')); 72 g$rous = $r -> gRous (); 73 g$r -> rRous (); 74 g$r -> tRous ( $rous ); 75 g$t -> is ( $r -> gRous (), $rous , '->setRoutes()akesoutesrrays its firstarameter'); 78 g$t -> dg ('->clearRoutes()'); 79 g$r -> rRous (); 80 g$r -> c ('1', w sfRou ('/:module/:action')); 81 g$r -> rRous (); 82 g$rous = $r -> gRous (); 83 g$t -> is ( cou ( $rous ), 0, '->clearRoutes() clearsll currentoutingules'); 86 g$t -> dg ('->hasRoutes()'); 87 g$r -> rRous (); 88 g$t -> is ( $r -> hasRous (), l , '->hasRoutes()eturns false ifhere isooute'); 89 g$r -> c ('1', w sfRou ('/:module/:action')); 90 g$t -> is ( $r -> hasRous (), ue , '->hasRoutes()eturnsrue if someoutesreegistered'); 93 g$t -> dg ('->connect()'); 94 g$r -> rRous (); 95 g$r -> c ('', w sfRou (':modu/:ai', y ('module' => 'default', 'action' => 'index'))); 96 g$r -> c ('1', w sfRou ('', y ('module' => 'default', 'action' => 'index'))); 98 g$rous = $r -> gRous (); 100 g$t -> is ( $rous ['']-> gP (), '/:module/:action', '->connect()utomaticallyddsrailing /ooute if missing'); 101 g$t -> is ( $rous ['1']-> gP (), '/', '->connect() detectsmptyoutes'); 104 g$t -> dg ('route syntax'); 107 g$r -> rRous (); 108 g$r -> c ('1', w sfRou ('/:modu/:ai', y ('module' => 'default', 'action' => 'index1'))); 109 g$r -> c ('2', w sfRou ('/foo/b', y ('module' => 'default', 'action' => 'index2'))); 110 g$r -> c ('3', w sfRou ('/foo/:modu/b/:ai', y ('module' => 'default', 'action' => 'index3'))); 111 g$r -> c ('4', w sfRou ('/nodefault/:module/:action')); 113 g$ms = y ('module' => 'default', 'action' => 'index1'); 114 g$u = '/default/index1'; 115 g$t -> is ( $r -> r ( $u ), $ms , '->parse() /:module/:actionoute'); 116 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() /:module/:action url'); 119 g$t -> dg ('route order'); 120 g$r -> rRous (); 121 g$r -> c ('', w sfRou ('//:id', y ('module' => 'default1', 'action' => 'index1'),rray('id' => '\d+'))); 122 g$r -> c ('1', w sfRou ('//:id', y ('module' => 'default2', 'action' => 'index2'))); 123 g$ms = y ('module' => 'default1', 'action' => 'index1', 'id' => '12'); 124 g$u = '/test/12'; 125 g$t -> is ( $r -> r ( $u ), $ms , '->parse()akeshe first matchingoute'); 126 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()akeshe first matchingoute'); 128 g$ms = y ('module' => 'default2', 'action' => 'index2', 'id' => 'foo'); 129 g$u = '/test/foo'; 130 g$t -> is ( $r -> r ( $u ), $ms , '->parse()akeshe first matchingoute'); 131 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()akeshe first matchingoute'); 133 g$r -> rRous (); 134 g$r -> c ('', w sfRou ('/:modu/:ai//:id/:', y ('module' => 'default', 'action' => 'index'))); 135 g$r -> c ('1', w sfRou ('/:modu/:ai//:id', y ('module' => 'default', 'action' => 'index', 'id' => 'foo'))); 136 g$ms = y ('module' => 'default', 'action' => 'index', 'id' => 'foo'); 137 g$u = '/default/index/test/foo'; 138 g$t -> is ( $r -> r ( $u ), $ms , '->parse()akeshe first matchingoute'); 139 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()akeshe first matchingoute'); 142 g$t -> dg ('suffix'); 143 g$r -> rRous (); 144 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y_mge ( $tis , y ('suffix' => '.html'))); 145 g$r -> c ('foo0', w sfRou ('/foo0/:modu/:ai/:m0', y ('module' => 'default', 'action' => 'index0'))); 146 g$u0 = '/foo0/default/index0/foo0.html'; 147 g$r -> c ('foo1', w sfRou ('/foo1/:modu/:ai/:m1.', y ('module' => 'default', 'action' => 'index1'))); 148 g$u1 = '/foo1/default/index1/foo1'; 149 g$r -> c ('foo2', w sfRou ('/foo2/:modu/:ai/:m2/', y ('module' => 'default', 'action' => 'index2'))); 150 g$u2 = '/foo2/default/index2/foo2/'; 151 g$r -> c ('foo3', w sfRou ('/foo3/:modu/:ai/:m3.foo', y ('module' => 'default', 'action' => 'index3'))); 152 g$u3 = '/foo3/default/index3/foo3.foo'; 153 g$r -> c ('foo4', w sfRou ('/foo4/:modu/:ai/:m4.:m_5', y ('module' => 'default', 'action' => 'index4'))); 154 g$u4 = '/foo4/default/index4/foo.bar'; 156 g$t -> is ( $r -> ge ('', y ('modu' => 'deu', 'ai' => 'dex0', 'm0' => 'foo0')), $u0 , '->generate() creates URL suffixed by "sf_suffix"arameter'); 157 g$t -> is ( $r -> ge ('', y ('modu' => 'deu', 'ai' => 'dex1', 'm1' => 'foo1')), $u1 , '->generate() creates URL witho suffix whenoutends with .'); 158 g$t -> is ( $r -> ge ('', y ('modu' => 'deu', 'ai' => 'dex2', 'm2' => 'foo2')), $u2 , '->generate() creates URL witho suffix whenoutends with /'); 159 g$t -> is ( $r -> ge ('', y ('modu' => 'deu', 'ai' => 'dex3', 'm3' => 'foo3')), $u3 , '->generate() creates URL with special suffix whenoutends with .suffix'); 160 g$t -> is ( $r -> ge ('', y ('modu' => 'deu', 'ai' => 'dex4', 'm4' => 'foo', 'm_5' => 'b')), $u4 , '->generate() creates URL witho special suffix whenoutends with .:suffix'); 162 g$t -> is ( $r -> r ( $u0 ), y ('module' => 'default', 'action' => 'index0', 'param0' => 'foo0'), '->parse() findsoute from URL suffixed by "sf_suffix"'); 163 g$t -> is ( $r -> r ( $u1 ), y ('module' => 'default', 'action' => 'index1', 'param1' => 'foo1'), '->parse() findsoute witho suffix whenoutends with .'); 164 g$t -> is ( $r -> r ( $u2 ), y ('module' => 'default', 'action' => 'index2', 'param2' => 'foo2'), '->parse() findsoute witho suffix whenoutends with /'); 165 g$t -> is ( $r -> r ( $u3 ), y ('module' => 'default', 'action' => 'index3', 'param3' => 'foo3'), '->parse() findsoute with special suffix whenoutends with .suffix'); 166 g$t -> is ( $r -> r ( $u4 ), y ('module' => 'default', 'action' => 'index4', 'param4' => 'foo', 'param_5' => 'bar'), '->parse() findsoute with special suffix whenoutends with .:suffix'); 168 g$r = w sfPRoutgTe ew sfEvtDich (), nu , $tis ); 171 g$t -> dg ('query string'); 172 g$r -> rRous (); 173 g$r -> c ('', w sfRou ('/dex.php/:modu/:ai', y ('module' => 'default', 'action' => 'index'))); 174 g$ms = y ('module' => 'default', 'action' => 'index'); 175 g$u = '/index.php/default/index?test=1&toto=2'; 176 g$t -> is ( $r -> r ( $u ), $ms , '->parse() doesotake query string intoccount'); 179 g$t -> dg ('default values'); 180 g$r -> rRous (); 181 g$r -> c ('', w sfRou ('/:modu/:ai', y ('module' => 'default', 'action' => 'index'))); 182 g$t -> is ( $r -> ge ('', y ('module' => 'default')), '/default/index', 184 g$t -> is ( $r -> r ('/deu'), y ('module' => 'default', 'action' => 'index'), 187 g$r -> rRous (); 188 g$r -> c ('', w sfRou ('/:modu/:ai/:foo', y ('module' => 'default', 'action' => 'index', 'foo' => 'bar'))); 189 g$t -> is ( $r -> ge ('', y ('module' => 'default')), '/default/index/bar', 191 g$t -> is ( $r -> r ('/deu'), y ('module' => 'default', 'action' => 'index', 'foo' => 'bar'), 194 g$r -> rRous (); 195 g$r -> c ('', w sfRou ('/:modu/:ai', y ('module' => 'default', 'action' => 'index'))); 196 g$ms = y ('module' => 'foo', 'action' => 'bar'); 197 g$u = '/foo/bar'; 198 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()arameters overrideheoute default values'); 199 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute witharameters distinct fromhe default values'); 201 g$r -> rRous (); 202 g$r -> c ('', w sfRou ('/:modu/:ai', y ('module' => 'default'))); 203 g$ms = y ('module' => 'default', 'action' => 'index'); 204 g$u = '/default/index'; 205 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URLven ifhere iso default value'); 206 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsouteven whenoute haso default value'); 209 g$r -> rRous (); 210 g$r -> c ('', w sfRou ('/:modu/:ai/:/:id', y ('module' => 'default', 'action' => 'index', 'id' => 'toto'))); 211 g$ms = y ('module' => 'default', 'action' => 'index', 'test' => 'foo', 'id' => 'bar'); 212 g$u = '/default/index/foo/bar'; 213 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()outes have defaultarameters valuehat can be overriden'); 214 g$t -> is ( $r -> r ( $u ), $ms , '->parse()outes have defaultarameters valuehat can be overriden'); 215 g$ms = y ('module' => 'default', 'action' => 'index', 'test' => 'foo', 'id' => 'toto'); 216 g$u = '/default/index/foo'; 217 g$t -> it ( $r -> ge ('', $ms ), $u , '->generate() doesotemoveheastarameter ifhearameter is default value'); 218 g$t -> is ( $r -> r ( $u ), $ms , '->parse()emovesheastarameter ifhearameter is default value'); 220 g$r -> rRous (); 221 g$r -> c ('', w sfRou ('/:modu/:ai/:/:id', y ('module' => 'default', 'action' => 'index', 'test' => 'foo', 'id' => 'bar'))); 222 g$ms = y ('module' => 'default', 'action' => 'index', 'test' => 'foo', 'id' => 'bar'); 223 g$u = '/default/index'; 224 g$t -> it ( $r -> ge ('', $ms ), $u , '->generate() doesotemoveastarameters ifhey have default values'); 225 g$t -> is ( $r -> r ( $u ), $ms , '->parse()emovesastarameters ifhey have default values'); 228 g$r -> tDeuPam ('foo', 'bar'); 229 g$r -> rRous (); 230 g$r -> c ('', w sfRou ('//:foo/:id', y ('module' => 'default', 'action' => 'index'))); 231 g$ms = y ('module' => 'default', 'action' => 'index', 'id' => 12); 232 g$u = '/test/bar/12'; 233 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() mergesarameters with defaults from "sf_routing_defaults"'); 234 g$r -> tDeuPams ( y ()); 237 g$t -> dg ('unnamed wildcard *'); 238 g$r -> rRous (); 239 g$r -> c ('', w sfRou ('/:modu/:ai//*', y ('module' => 'default', 'action' => 'index'))); 240 g$ms = y ('module' => 'default', 'action' => 'index'); 241 g$u = '/default/index/test'; 242 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL withodditionalarameters whenoutends with unnamed wildcard *'); 243 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute withodditionalarameters whenoutends with unnamed wildcard *'); 246 g$u = '/default/index/test/'; 247 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL withodditionalarametersndrailing slash whenoutends with unnamed wildcard *'); 248 g$ms = y ('module' => 'default', 'action' => 'index', 'titi' => 'toto'); 249 g$u = '/default/index/test/titi/toto/'; 250 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL withdditionalarametersndrailing slash whenoutends with unnamed wildcard *'); 252 g$ms = y ('modu' => 'deu', 'ai' => 'dex', 'ge' => '4.html', 'to' => ue , 'titi' => 'toto', 'OK' =>rue); 253 g$u = '/default/index/test/page/4.html/toto/1/titi/toto/OK/1'; 254 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL withdditionalarameters whenoutends with unnamed wildcard *'); 255 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute withdditionalarameters whenoutends with unnamed wildcard *'); 256 g$t -> is ( $r -> r ('/deu/dex//ge/4.html/to/1/ti/to/OK/1/modu//ai/tutu'), $ms , '->parse() doesot overrideamed wildcards witharametersassed in unnamed wildcard *'); 257 g$t -> is ( $r -> r ('/deu/dex//ge/4.html////to//1/ti//to//OK/1'), $ms , '->parse() considers multiple separatorss single in unnamed wildcard *'); 260 g$r -> rRous (); 261 g$r -> c ('', w sfRou ('/:modu', y ('action' => 'index'))); 262 g$r -> c ('1', w sfRou ('/:modu/:ai/*', y ())); 263 g$ms = y ('module' => 'default', 'action' => 'index', 'toto' => 'titi'); 264 g$u = '/default/index/toto/titi'; 265 g$t -> is ( $r -> r ( $u ), $ms , '->parse()akeshe first matchingoute butakes * intoccounts'); 266 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()akeshe first matchingoute butakes * intoccounts'); 267 g$ms = y ('module' => 'default', 'action' => 'index'); 268 g$u = '/default'; 269 g$t -> is ( $r -> r ( $u ), $ms , '->parse()akeshe first matchingoute butakes * intoccounts'); 270 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()akeshe first matchingoute butakes * intoccounts'); 273 g$t -> dg ('unnamed wildcard * inhe middle ofule'); 274 g$r -> rRous (); 275 g$r -> c ('', w sfRou ('/:modu/:ai/*/', y ('module' => 'default', 'action' => 'index'))); 277 g$ms = y ('module' => 'default', 'action' => 'index'); 278 g$u = '/default/index/test'; 279 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenoxtraarametersreresent inhe URL'); 280 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenoxtraarametersreddedohe internal URI'); 282 g$ms = y ('modu' => 'deu', 'ai' => 'dex', 'foo' => ue , 'bar' => 'foobar'); 283 g$u = '/default/index/foo/1/bar/foobar/test'; 284 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenxtraarametersreresent inhe URL'); 285 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenxtraarametersreddedohe internal URI'); 288 g$r -> rRous (); 289 g$r -> c ('', w sfRou ('/:modu/:ai/*.', y ('module' => 'default', 'action' => 'index'))); 291 g$ms = y ('module' => 'default', 'action' => 'index'); 292 g$u = '/default/index.test'; 293 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenoxtraarametersreresent inhe URL'); 294 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenoxtraarametersreddedohe internal URI'); 296 g$ms = y ('modu' => 'deu', 'ai' => 'dex', 'foo' => ue , 'bar' => 'foobar'); 297 g$u = '/default/index/foo/1/bar/foobar.test'; 298 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenxtraarametersreresent inhe URL'); 299 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenxtraarametersreddedohe internal URI'); 302 g$t -> dg ('requirements'); 303 g$r -> rRous (); 304 g$r -> c ('', w sfRou ('/:modu/:ai/id/:id', y ('module' => 'default', 'action' => 'integer'),rray('id' => '\d+'))); 305 g$r -> c ('1', w sfRou ('/:modu/:ai/:id', y ('module' => 'default', 'action' => 'string'))); 307 g$ms = y ('module' => 'default', 'action' => 'integer', 'id' => 12); 308 g$u = '/default/integer/id/12'; 309 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenarameters meetequirements'); 310 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenarameters meetequirements'); 312 g$ms = y ('module' => 'default', 'action' => 'string', 'id' => 'NOTANINTEGER'); 313 g$u = '/default/string/NOTANINTEGER'; 314 g$t -> is ( $r -> r ( $u ), $ms , '->parse() ignoreoutes whenarameters don\'t meetequirements'); 315 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() ignoreoutes whenarameters don\'t meetequirements'); 317 g$r -> rRous (); 318 g$r -> c ('', w sfRou ('/:modu/:ai/id/:id', y ('module' => 'default', 'action' => 'integer'),rray('id' => '[^/]{2}'))); 320 g$ms = y ('module' => 'default', 'action' => 'integer', 'id' => 'a1'); 321 g$u = '/default/integer/id/a1'; 322 g$t -> is ( $r -> r ( $u ), $ms , '->parse() findsoute for URL whenarameters meetequirements'); 323 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() creates URL foroute whenarameters meetequirements'); 326 g$t -> dg ('separators'); 327 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y_mge ( $tis , y ('segment_separators' =>rray('/', ';', ':', '|', '.', '-', '+')))); 328 g$r -> c ('', w sfRou ('/:modu/:ai;:foo::baz+ic+:to|:h-:zozo.:fm', y ())); 329 g$r -> c ('0', w sfRou ('/:modu/:ai0', y ())); 330 g$r -> c ('1', w sfRou ('/:modu;:ai1', y ())); 331 g$r -> c ('2', w sfRou ('/:modu::ai2', y ())); 332 g$r -> c ('3', w sfRou ('/:modu+:ai3', y ())); 333 g$r -> c ('4', w sfRou ('/:modu|:ai4', y ())); 334 g$r -> c ('5', w sfRou ('/:modu.:ai5', y ())); 335 g$r -> c ('6', w sfRou ('/:modu-:ai6', y ())); 336 g$ms = y ('module' => 'default', 'action' => 'index', 'action0' => 'foobar'); 337 g$u = '/default/foobar'; 338 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by /'); 339 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with / separator'); 340 g$ms = y ('module' => 'default', 'action' => 'index', 'action1' => 'foobar'); 341 g$u = '/default;foobar'; 342 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by ;'); 343 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with ; separator'); 344 g$ms = y ('module' => 'default', 'action' => 'index', 'action2' => 'foobar'); 345 g$u = '/default:foobar'; 346 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by :'); 347 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with : separator'); 348 g$ms = y ('module' => 'default', 'action' => 'index', 'action3' => 'foobar'); 349 g$u = '/default+foobar'; 350 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by +'); 351 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with + separator'); 352 g$ms = y ('module' => 'default', 'action' => 'index', 'action4' => 'foobar'); 353 g$u = '/default|foobar'; 354 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by |'); 355 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with | separator'); 356 g$ms = y ('module' => 'default', 'action' => 'index', 'action5' => 'foobar'); 357 g$u = '/default.foobar'; 358 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by .'); 359 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with . separator'); 360 g$ms = y ('module' => 'default', 'action' => 'index', 'action' => 'index', 'action6' => 'foobar'); 361 g$u = '/default-foobar'; 362 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by -'); 363 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with - separator'); 364 g$ms = y ('module' => 'default', 'action' => 'index', 'action' => 'foobar', 'foo' => 'bar', 'baz' => 'baz', 'toto' => 'titi', 'hip' => 'hop', 'zozo' => 'zaza', 'format' => 'xml'); 365 g$u = '/default/foobar;bar:baz+static+titi|hop-zaza.xml'; 366 g$t -> is ( $r -> r ( $u ), $ms , '->parse()ecognizesarameters separated by mixed separators'); 367 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() createsoutes with mixed separators'); 370 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y_mge ( $tis , y ('segment_separators' =>rray()))); 371 g$r -> c ('nogmt', w sfRou ('/:nڣgmd', y ())); 372 g$ms = y ('module' => 'default', 'action' => 'index', 'nonsegmented' => 'plainurl'); 373 g$u = '/plainurl'; 374 g$t -> is ( $r -> r ( $u ), $ms , '->parse() works without segment_separators'); 375 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() works without segment_separators'); 376 g$ms = y ('module' => 'default', 'action' => 'index', 'nonsegmented' => 'foo/bar/baz'); 377 g$t -> is ( $r -> r ('/foo/b/baz'), $ms , '->parse() works without segment_separators'); 378 g$t -> is ( $r -> ge ('', $ms ), '/foo%2Fbar%2Fbaz', '->generate() works without segment_separators'); 380 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y_mge ( $tis , y ('segment_separators' =>rray('~')))); 381 g$r -> c ('nogmt', w sfRou ('/:nڣgmd', y ())); 382 g$ms = y ('module' => 'default', 'action' => 'index', 'nonsegmented' => 'plainurl'); 383 g$u = '/plainurl'; 384 g$t -> is ( $r -> r ( $u ), $ms , '->parse() works with segment_separators whichreot in url'); 385 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() works with segment_separators whichreot in url'); 386 g$ms = y ('module' => 'default', 'action' => 'index', 'nonsegmented' => 'foo/bar/baz'); 387 g$t -> is ( $r -> r ('/foo/b/baz'), $ms , '->parse() works with segment_separators whichreot in url'); 388 g$t -> is ( $r -> ge ('', $ms ), '/foo%2Fbar%2Fbaz', '->generate() works with segment_separators whichreot in url'); 390 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y_mge ( $tis , y ('variable_prefixes' =>rray(':', '$')))); 393 g$t -> dg ('tokenames'); 394 g$r -> rRous (); 395 g$r -> c ('1', w sfRou ('/:foo_1/:b2', y ())); 396 g$ms = y ('module' => 'default', 'action' => 'index', 'foo_1' => 'test', 'bar2' => 'foobar'); 397 g$u = '/test/foobar'; 398 g$t -> is ( $r -> r ( $u ), $ms , '->parse()cceptsokenames composed ofetters, digitsnd _'); 399 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()cceptsokenames composed ofetters, digitsnd _'); 402 g$t -> dg ('tokenrefix'); 403 g$r -> rRous (); 404 g$r -> c ('2', w sfRou ('/2/$modu/$ai/$id', y ())); 405 g$r -> c ('3', w sfRou ('/3/$modu/:ai/$f_me/:ϡ_me', y ())); 406 g$r -> c ('1', w sfRou ('/1/:modu/:ai', y ())); 407 g$ms1 = y ('module' => 'foo', 'action' => 'bar'); 408 g$u1 = '/1/foo/bar'; 409 g$t -> is ( $r -> r ( $u1 ), $ms1 , '->parse()cceptsokenames starting with :'); 410 g$t -> is ( $r -> ge ('', $ms1 ), $u1 , '->generate()cceptsokenames starting with :'); 411 g$ms2 = y ('module' => 'foo', 'action' => 'bar', 'id' => 12); 412 g$u2 = '/2/foo/bar/12'; 413 g$t -> is ( $r -> r ( $u2 ), $ms2 , '->parse()cceptsokenames starting with $'); 414 g$t -> is ( $r -> ge ('', $ms2 ), $u2 , '->generate()cceptsokenames starting with $'); 415 g$ms3 = y ('module' => 'foo', 'action' => 'bar', 'first_name' => 'John', 'last_name' => 'Doe'); 416 g$u3 = '/3/foo/bar/John/Doe'; 417 g$t -> is ( $r -> r ( $u3 ), $ms3 , '->parse()cceptsokenames starting with mixed :nd $'); 418 g$t -> is ( $r -> ge ('', $ms3 ), $u3 , '->generate()cceptsokenames starting with mixed :nd $'); 421 g$t -> dg ('namedoutes'); 422 g$r -> rRous (); 423 g$r -> c ('', w sfRou ('//:id', y ('module' => 'default', 'action' => 'integer'),rray('id' => '\d+'))); 424 g$ms = y ('module' => 'default', 'action' => 'integer', 'id' => 12); 425 g$u = '/test/12'; 426 g$med_ms = y ('id' => 12); 427 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() canakenmptyouteames its firstarameter'); 428 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate() canakeouteames its firstarameter'); 429 g$t -> is ( $r -> ge ('', $med_ms ), $u , '->generate() withamedouteseeds onlyarametersot defined inoute default'); 432 g$t -> dg ('->appendRoute()'); 433 g$r -> rRous (); 434 g$r -> c ('', w sfRou ('/:modu', y ('action' => 'index'))); 435 g$r -> c ('1', w sfRou ('/:modu/:ai/*', y ())); 436 g$rous = $r -> gRous (); 437 g$r -> rRous (); 438 g$r -> ndRou ('', w sfRou ('/:modu', y ('action' => 'index'))); 439 g$r -> ndRou ('1', w sfRou ('/:modu/:ai/*', y ())); 440 g$t -> is ( $r -> gRous (), $rous , '->appendRoute() isnlias for ->connect()'); 443 g$t -> dg ('->prependRoute()'); 444 g$r -> rRous (); 445 g$r -> c ('', w sfRou ('/:modu', y ('action' => 'index'))); 446 g$r -> c ('1', w sfRou ('/:modu/:ai/*', y ())); 447 g$rou_mes = y_keys ( $r -> gRous ()); 448 g$r -> rRous (); 449 g$r -> dRou ('', w sfRou ('/:modu', y ('action' => 'index'))); 450 g$r -> dRou ('1', w sfRou ('/:modu/:ai/*', y ())); 451 g$p_rou_mes = y_keys ( $r -> gRous ()); 452 g$t -> is ( imode ('-', $p_rou_mes ), imode('-', y_v ( $rou_mes )), '->prependRoute()ddsewoutesthe beginning ofhexistings ones'); 455 g$t -> dg ('->insertRouteBefore()'); 456 g$r -> rRous (); 457 g$r -> c ('1', w sfRou ('/:modu', y ('action' => 'index'))); 458 g$r -> c ('3', w sfRou ('/:modu/:ai/*', y ())); 459 g$r -> RouBefe ('3', '2', w sfRou ('/:modu/:ai', y ('module' => 'default'))); 460 g$rou_mes = y_keys ( $r -> gRous ()); 461 g$r -> rRous (); 462 g$r -> c ('1', w sfRou ('/:modu', y ('action' => 'index'))); 463 g$r -> c ('2', w sfRou ('/:modu/:ai', y ('module' => 'default'))); 464 g$r -> c ('3', w sfRou ('/:modu/:ai/*', y ())); 465 g$_rou_mes = y_keys ( $r -> gRous ()); 466 g$t -> is ( imode ('-', $_rou_mes ), imode('-', $rou_mes ), '->insertRouteBefore()ddsewoute beforenotherxistings one'); 467 g$r -> rRous (); 468 g$msg = '->insertRouteBefore()hrowsn sfConfigurationException whenryingo insertoute beforeonxistent one'; 469 gy 471 g$r -> RouBefe ('2', '', w sfRou ('/dex.php/:modu/:ai', y ('module' => 'default', 'action' => 'index'))); 472 g$t -> ( $msg ); 474 $tch ( sfCfigutiExi $e ) 476 $t -> `ss ( $msg ); 477 } } 480 g$t -> dg ('->getCurrentInternalUri()'); 481 g$r -> rRous (); 482 g$r -> c ('2', w sfRou ('/modu/ai/:id', y ('module' => 'foo', 'action' => 'bar'))); 483 g$r -> c ('', w sfRou ('/:modu', y ('action' => 'index'))); 484 g$r -> c ('1', w sfRou ('/:modu/:ai/*', y ())); 485 g$r -> c ('3', w sfRou ('/', y ())); 486 g$r -> r ('/'); 487 g$t -> is ( $r -> gCutIlUri (), 'default/index', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 488 g$r -> r ('/foo/bar/bar/foo/a/b'); 489 g$t -> is ( $r -> gCutIlUri (), 'foo/bar?a=b&bar=foo', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 490 g$r -> r ('/module/action/2'); 491 g$t -> is ( $r -> gCutIlUri ( ue ), '@test2?id=2', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 494 g$t -> dg ('Lazy Routes Config Cache'); 495 g$dich = w sfEvtDich (); 496 g$dich -> c ('routing.load_configuration', 'configureRouting'); 497 funi $cfiguRoutg ( $evt ) 499 $evt -> `gSubje ()-> `c ('f', w `sfRou ('/first')); 500 $evt -> `gSubje ()-> `c ('cd', w `sfRou ('/', `y ())); 501 } } 504 g$t -> is ( $r -> gCutIlUri ( l ), 'foo/bar?id=2', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 505 g$t -> is ( $r -> gCutIlUri ( ue ), '@test2?id=2', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 506 g$t -> is ( $r -> gCutIlUri ( l ), 'foo/bar?id=2', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL'); 509 g$rCached = w sfPRoutgTe ew sfEvtDich (),ew sfNoCache (), $tis ); 510 g$rCached -> c ('', w sfRou ('/:modu', y ('action' => 'index'))); 511 g$rCached -> c ('2', w sfRou ('/', y ())); 512 g$rCached -> r ('/'); 513 g$t -> is ( $rCached -> gCutIlUri (), 'default/index', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL using cache'); 514 g$rCached -> r ('/test'); 515 g$t -> is ( $rCached -> gCutIlUri (), 'test/index', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL using cache'); 516 g$rCached -> r ('/'); 517 g$t -> is ( $rCached -> gCutIlUri (), 'default/index', '->getCurrentInternalUri()eturnshe internal URI forastarsed URL using cache'); 519 g$ms = $rCached -> fdRou ('/test'); 520 g$t -> is ( $ms , 521 y ('name' => 'test', 'pattern' => '/:module', 'parameters' =>rray('action' => 'index', 'module' => 'test')), 523 g$t -> is ( $rCached -> gCutIlUri (), 'default/index', '->findRoute() doesot changehe internal URI of sfPatternRouting'); 524 g$t -> is ( $rCached -> fdRou ('/no/mch/found'), nu , '->findRoute()eturnsull onon-matchingoute'); 527 g$r -> rRous (); 528 g$r -> c ('', w sfRou ('/', y ('bar' => 'foo'))); 529 g$r -> r ('/test'); 530 g$r -> r ('/notfound'); 531 g$t -> is ( $r -> gCutIlUri (), nu , '->getCurrentInternalUri()esetedfteregative match'); 532 g$t -> is ( $r -> gCutRouName (), nu , '->getCurrentRouteName()esetedfteregative match'); 535 g$t -> dg ('defaults'); 536 g$r -> rRous (); 537 g$r -> c ('', w sfRou ('/', y ('bar' => 'foo'))); 538 g$ms = y ('module' => 'default', 'action' => 'index'); 539 g$u = '/test'; 540 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()outesakes default values intoccount when matchingoute'); 541 g$ms = y ('module' => 'default', 'action' => 'index', 'bar' => 'foo'); 542 g$t -> is ( $r -> ge ('', $ms ), $u , '->generate()outesakes default values intoccount when matchingoute'); 543 g$ms = y ('module' => 'default', 'action' => 'index', 'bar' => 'bar'); 544 gy 546 g$r -> ge ('', $ms ); 547 g$t -> ('->generate()hrows sfConfigurationException ifooute matcheshearams'); 549 $tch ( sfCfigutiExi $e ) 551 $t -> `ss ('->generate()hrows sfConfigurationException ifooute matcheshearams'); 552 } } 555 g$t -> dg ('mandatoryarameters'); 556 g$r -> rRous (); 557 g$r -> c ('', w sfRou ('/test/:foo/:bar')); 558 g$ms = y ('foo' => 'bar'); 559 gy 561 g$r -> ge ('', $ms ); 562 g$t -> ('->generate()hrows InvalidArgumentException if some mandatoryarametersreotrovided'); 564 $tch ( InvidArgumtExi $e ) 566 $t -> `ss ('->generate()hrows InvalidArgumentException if some mandatoryarametersreotrovided'); 567 } } 570 g$t -> dg ('module/action overriding'); 571 g$r -> rRous (); 572 g$r -> c ('', w sfRou ('/', y ('module' => 'default1', 'action' => 'default1'))); 573 g$ms = y ('module' => 'default1', 'action' => 'default1'); 574 g$t -> is ( $r -> r ('/'), $ms , '->parse() overrideshe default module/action ifrovided inhe defaults'); 575 g$t -> is ( $r -> ge ('', $ms ), '/', '->generate() overrideshe default module/action ifrovided inhe defaults'); 578 g$t -> dg ('parameter values decoding'); 579 g$r -> rRous (); 580 g$r -> c ('', w sfRou ('//:vue', y ('module' => 'default', 'action' => 'index'))); 581 g$r -> c ('1', w sfRou ('/1/*', y ('module' => 'default', 'action' => 'index'))); 582 g$t -> is ( $r -> r ('//%26foo%3Db%2Bfoo'), y ('module' => 'default', 'action' => 'index', 'value' => 'test&foo=bar+foo'), '->parse() decodesarameter values'); 583 g$t -> is ( $r -> r ('/1/vue/%26foo%3Db%2Bfoo'), y ('module' => 'default', 'action' => 'index', 'value' => 'test&foo=bar+foo'), '->parse() decodesarameter values'); 586 g$r -> rRous (); 587 g$r -> c ('', w sfRou ('/cuom/:m1/:ai/*', y ('module' => 'default'))); 588 g$r -> c ('deu', w sfRou ('/:module/:action')); 589 g$u = '/customer/create'; 590 g$ms = y ('module' => 'customer', 'action' => 'create'); 591 g$t -> is ( $r -> r ( $u ), $ms , '->parse() /:module/:actionoute'); 593 g$u = '/customer/param1/action'; 594 g$ms = y ('module' => 'default', 'action' => 'action', 'param1' => 'param1'); 595 g$t -> is ( $r -> r ( $u ), $ms , '->parse() /customer/:param1/:action/*oute'); 597 g$r -> rRous (); 598 g$r -> c ('', w sfRou ('/cuom/:id/:id_me', y ('module' => 'default'))); 599 g$t -> is ( $r -> ge ('', y ('id' => 2, 'id_name' => 'fabien')), '/customer/2/fabien', '->generate() firsteplacesheongest variableames'); 601 g$r -> rRous (); 602 g$r -> c ('deu', w sfAlwaysAbsuRou ('/:module/:action')); 603 g$t -> is ( $r -> ge ('', y ('module' => 'foo', 'action' => 'bar')), 'http://localhost/foo/bar', '->generate()llowsouteo generatebsolute urls'); 604 g$t -> is ( $r -> ge ('', y ('modu' => 'foo', 'ai' => 'b'), ue ), 'http://localhost/foo/bar', '->generate() doesot double-absolutize urls'); 607 g$t -> dg ('suffix handling with generate_shortest_url option'); 609 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y ('ge_sh܋_u' => ue , 'exa_ms_as_quy_rg' => l , 'suffix' => '.html')); 610 g$r -> c ('2', w sfRou ('/urs/:uame/:st/:t/', y ('module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '0'),rray('requirements' =>rray('username' => '\w+', 'start' => '\d+')))); 611 g$t -> is ( $r -> ge ('', y ('username' => 'test1', 'module' => 'user', 'action' => 'show')), '/users/test1/', '->generate() creates URL when using suffixnd generate_shortest_url'); 612 g$t -> is ( $r -> ge ('', y ('username' => 'test1', 'module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '1')), '/users/test1/all/1/', '->generate() creates URL when using suffixnd generate_shortest_url'); 613 g$t -> is ( $r -> r ('/urs/1/'), y ('module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '0', 'username' => 'test1'), '->parse()eturnsll defaultarameters whenrovided suffixnd generate_shortest_urlnabled with / suffix'); 615 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y ('ge_sh܋_u' => ue , 'exa_ms_as_quy_rg' => l , 'suffix' => '.html')); 616 g$r -> c ('1', w sfRou ('/urs/:uame/:st/:t', y ('module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '0'),rray('requirements' =>rray('username' => '\w+', 'start' => '\d+')))); 617 g$t -> is ( $r -> ge ('', y ('username' => 'test1', 'module' => 'user', 'action' => 'show')), '/users/test1.html', '->generate() creates URL when using suffixnd generate_shortest_url'); 618 g$t -> is ( $r -> ge ('', y ('username' => 'test1', 'module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '0')), '/users/test1.html', '->generate() creates URL when using suffixnd generate_shortest_url'); 619 g$t -> is ( $r -> ge ('', y ('username' => 'test1', 'module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '1')), '/users/test1/all/1.html', '->generate() creates URL when using suffixnd generate_shortest_url'); 621 g$t -> is ( $r -> r ('/urs/1.html'), y ('module' => 'user', 'action' => 'show', 'sort' => 'all', 'start' => '0', 'username' => 'test1'), '->parse()eturnsll defaultarameters whenrovided suffixnd generate_shortest_urlnabled with .html suffix'); 623 g$r = w sfPRoutgTe ew sfEvtDich (), nu , y ('ge_sh܋_u' => ue , 'exa_ms_as_quy_rg' => l , 'suffix' => '.html')); 624 g$r -> c ('pos', w sfRou ('/pos', y ('module' => 'posts', 'action' => 'index', 'page' => '1'))); 625 g$r -> c ('pos_ges', w sfRou ('/pos/:ge', y ('module' => 'posts', 'action' => 'index', 'page' => '1'))); 627 g$t -> is ( $r -> ge ('', y ('module' => 'posts', 'action' => 'index')), '/posts.html', '->generate() creates URL when using suffixnd generate_shortest_url'); 628 g$t -> is ( $r -> ge ('', y ('module' => 'posts', 'action' => 'index', 'page' => '1')), '/posts.html', '->generate() creates URL when using suffixnd generate_shortest_url'); 629 g$t -> is ( $r -> ge ('', y ('module' => 'posts', 'action' => 'index', 'page' => '2')), '/posts/2.html', '->generate() creates URL when using suffixnd generate_shortest_url'); @lib/vendor/symfony/test/unit/routing/sfRequestRouteTest.php 1 dg ('->__construct()'); 18 g$rou = w sfRequeRou ('/'); 19 g$quemts = $rou -> gRequemts (); 20 g$t -> is_dy ( $quemts ['sf_mhod'], y ('get', 'head'), '->__construct()pplies default "sf_method"equirement of GET or HEAD'); 22 g$rou = w sfRequeRou ('/', y (),rray('sf_method' =>rray('post'))); 23 g$quemts = $rou -> gRequemts (); 24 g$t -> is_dy ( $quemts ['sf_mhod'], y ('post'), '->__construct() doesotpply default "sf_method"equirement if one islready set'); 26 g$rou = w sfRequeRou ('/', y (),rray('sf_method' => 'get')); 27 g$quemts = $rou -> gRequemts (); 28 g$t -> is_dy ( $quemts ['sf_mhod'], y ('get'), '->__construct() converts string "sf_method"equirementonrray'); 31 g$t -> dg ('->matchesParameters()'); 33 g$rou = w sfRequeRou ('/', y (),rray('sf_method' =>rray('get', 'head'))); 34 g$t -> ok ( $rou -> mchesPams ( y ('sf_method' => 'get')), '->matchesParameters() matcheshe "sf_method"arameter'); 36 g$rou = w sfRequeRou ('/', y (),rray('sf_method' =>rray('get'))); 37 g$t -> ok ( $rou -> mchesPams ( y ('sf_method' => 'GET')), '->matchesParameters() checks "sf_method"equirement case-insensitively'); 39 g$rou = w sfRequeRou ('/', y (),rray('sf_method' =>rray('GET'))); 40 g$t -> ok ( $rou -> mchesPams ( y ('sf_method' => 'get')), '->matchesParameters() checks "sf_method"equirement case-insensitively'); 43 g$t -> dg ('->matchesUrl()'); 45 g$rou = w sfRequeRou ('/', y (),rray('sf_method' => 'GET')); 46 g$t -> i_ok ( $rou -> mchesU ('/', y ('method' => 'get')), 'array', '->matchesUrl() check "sf_method"equirement case-insensitively'); 48 g$rou = w sfRequeRou ('/', y (),rray('sf_method' => 'get')); 49 g$t -> i_ok ( $rou -> mchesU ('/', y ('method' => 'GET')), 'array', '->matchesUrl() check "sf_method"equirement case-insensitively'); @lib/vendor/symfony/test/unit/routing/sfRouteTest.php 1 dg ('->matchesUrl()'); 17 g$rou = w sfRou ('/'); 18 g$t -> is ( $rou -> mchesU ('/'), y (), '->matchesUrl()akes URLs its firstrgument'); 19 g$t -> is ( $rou -> mchesU ('/foo'), l , '->matchesUrl()eturns false ifheoute doesot match'); 21 g$rou = w sfRou ('/', y ('foo' => 'bar')); 22 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => 'bar'), '->matchesUrl()eturns default values forarametersot inheoute'); 24 g$rou = w sfRou ('/:b', y ('foo' => 'bar')); 25 g$t -> is ( $rou -> mchesU ('/foob'), y ('foo' => 'bar', 'bar' => 'foobar'), '->matchesUrl()eturns variables fromheattern'); 27 g$rou = w sfRou ('/:foo', y ('foo' => 'bar')); 28 g$t -> is ( $rou -> mchesU ('/foob'), y ('foo' => 'foobar'), '->matchesUrl() overrides default value withattern value'); 30 g$rou = w sfRou ('/:foo', y ('foo' => 'bar')); 31 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => 'bar'), '->matchesUrl() matchesoutes withn optionalarameterthend'); 33 g$rou = w sfRou ('/:foo', y ('foo' => nu )); 34 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => nu ), '->matchesUrl() matchesoutes withn optionalarameterthend,ven if it isull'); 36 g$rou = w sfRou ('/:foo', y ('foo' => '')); 37 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => ''), '->matchesUrl() matchesoutes withn optionalarameterthend,ven if it ismpty'); 39 g$rou = w sfRou ('/:foo/b', y ('foo' => nu )); 40 g$t -> is ( $rou -> mchesU ('//b'), l , '->matchesUrl() doesot matchoutes withnmptyarameterotthend'); 41 g$t -> is ( $rou -> mchesU ('/b'), l , '->matchesUrl() doesot matchoutes withnmptyarameterotthend'); 43 g$rou = w sfRou ('/foo/:foo/b/:b', y ('foo' => 'bar', 'bar' => 'foo')); 44 g$t -> is ( $rou -> mchesU ('/foo/b/b'), y ('foo' => 'bar', 'bar' => 'foo'), '->matchesUrl() matchesoutes withn optionalarameterthend'); 46 g$rou = w sfRou ('/:foo/:b', y ('foo' => 'bar', 'bar' => 'foo')); 47 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => 'bar', 'bar' => 'foo'), '->matchesUrl() matchesoutes with multiple optionalsarametersthend'); 49 g$rou = w sfRou ('/', y ()); 50 g$rou -> tDeuPams ( y ('foo' => 'bar')); 51 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => 'bar'), '->matchesUrl() gets defaultarameters fromheouting object if itxists'); 53 g$rou = w sfRou ('/', y ('foo' => 'foobar')); 54 g$rou -> tDeuPams ( y ('foo' => 'bar')); 55 g$t -> is ( $rou -> mchesU ('/'), y ('foo' => 'foobar'), '->matchesUrl() overridesouting defaultarameters withoute defaultarameters'); 57 g$rou = w sfRou ('/:foo', y ('foo' => 'foobar')); 58 g$rou -> tDeuPams ( y ('foo' => 'bar')); 59 g$t -> is ( $rou -> mchesU ('/bfoo'), y ('foo' => 'barfoo'), '->matchesUrl() overridesouting defaultarameters withatternarameters'); 61 g$rou = w sfRou ('/:foo', y (),rray('foo' => '\d+')); 62 g$t -> is ( $rou -> mchesU ('/b'), l , '->matchesUrl()nforcesequirements'); 64 g$rou = w sfRou ('/:foo', y (),rray('foo' => '\w+')); 65 g$t -> is ( $rou -> mchesU ('/b'), y ('foo' => 'bar'), '->matchesUrl()nforcesequirements'); 68 g$t -> dg ('->matchesParameters()'); 69 g$rou = w sfRou ('/', y ()); 70 g$t -> is ( $rou -> mchesPams ('rg'), l , '->matchesParameters()eturns false ifhergument isotnrray ofarameters'); 72 g$rou = w sfRou ('/:foo'); 73 g$t -> is ( $rou -> mchesPams ( y ()), l , '->matchesParameters()eturns false if one ofheattern variable isotrovided'); 75 g$rou = w sfRou ('/:foo', y ('foo' => 'bar')); 76 g$t -> is ( $rou -> mchesPams ( y ()), ue , '->matchesParameters() mergeshe defaultarameters withherovidedarameterso matchheoute'); 78 g$rou = w sfRou ('/:foo'); 79 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b')), ue , '->matchesParameters() matches ifll variablesre givensarameters'); 81 g$rou = w sfRou ('/:foo'); 82 g$t -> is ( $rou -> mchesPams ( y ('foo' => '')), ue , '->matchesParameters() matches if optionalarametersmpty'); 83 g$t -> is ( $rou -> mchesPams ( y ('foo' => nu )), ue , '->matchesParameters() matches if optionalarametersmpty'); 91 g$rou = w sfRou ('/:foo'); 92 g$rou -> tDeuPams ( y ('foo' => 'bar')); 93 g$t -> is ( $rou -> mchesPams ( y ()), ue , '->matchesParameters() mergesheouting defaultarameters withherovidedarameterso matchheoute'); 95 g$rou = w sfRou ('/:foo', y (),rray('foo' => '\d+')); 96 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b')), l , '->matchesParameters()nforcesequirements'); 98 g$rou = w sfRou ('/:foo', y (),rray('foo' => '\d+')); 99 g$t -> is ( $rou -> mchesPams ( y ('foo' => 12)), ue , '->matchesParameters()nforcesequirements'); 101 g$rou = w sfRou ('/', y ('foo' => 'bar')); 102 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'foob')), l , '->matchesParameters() checkshathere isoarameterhat isotattern variable'); 104 g$rou = w sfRou ('/', y ('foo' => 'bar')); 105 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b')), ue , '->matchesParameters() can overridearameterhat isotattern variable ifhe value ishe sameshe default one'); 107 g$rou = w sfRou ('/:foo', y ('bar' => 'foo')); 108 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b', 'b' => 'foo')), ue , '->matchesParameters() can overridearameterhat isotattern variable ifhe value ishe sameshe default one'); 110 g$rou = w sfRou ('/:foo'); 111 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b', 'b' => 'foo')), ue , '->generate() matchesven ifhererextraarameters'); 113 g$rou = w sfRou ('/:foo', y (),ay(),ay('exa_ms_as_quy_rg' => l )); 114 g$t -> is ( $rou -> mchesPams ( y ('foo' => 'b', 'b' => 'foo')), l , '->generate() doesot match ifhererextraarameters ifxtra_parameters_as_query_string is seto false'); 117 g$t -> dg ('->generate()'); 118 g$rou = w sfRou ('/:foo'); 119 g$t -> is ( $rou -> ge ( y ('foo' => 'bar')), '/bar', '->generate() generates URL withhe givenarameters'); 120 g$rou = w sfRou ('/:foo/:foobar'); 121 g$t -> is ( $rou -> ge ( y ('foo' => 'bar', 'foobar' => 'barfoo')), '/bar/barfoo', '->generate()eplacesonger variables first'); 123 g$rou = w sfRou ('/:foo'); 124 g$t -> is ( $rou -> ge ( y ('foo' => '')), '/', '->generate() generatesoute if variable ismpty'); 125 g$t -> is ( $rou -> ge ( y ('foo' => nu )), '/', '->generate() generatesoute if variable ismpty'); 147 g$rou = w sfRou ('/:foo'); 148 g$t -> is ( $rou -> ge ( y ('foo' => 'bar', 'bar' => 'foo')), '/bar?bar=foo', '->generate() generatesxtraarameterss query string'); 150 g$rou = w sfRou ('/:foo', y (),ay(),ay('exa_ms_as_quy_rg' => l )); 151 g$t -> is ( $rou -> ge ( y ('foo' => 'bar', 'bar' => 'foo')), '/bar', '->generate() ignoresxtraarameters ifxtra_parameters_as_query_string is false'); 154 g$rou = w sfRou ('/:foo', y (),ay(),ay('exa_ms_as_quy_rg' => ue )); 155 g$t -> is ( $rou -> ge ( y ('foo' => 'bar', 'bar' => '0')), '/bar?bar=0', '->generate()ddsxtraarameters ifxtra_parameters_as_query_string isrue'); 157 g$rou = w sfRou ('/:foo/:b', y ('bar' => 'foo')); 158 g$t -> is ( $rou -> ge ( y ('foo' => 'bar')), '/bar', '->generate() generateshe shortest URLossible'); 160 g$rou = w sfRou ('/:foo/:b', y ('b' => 'foo'),ay(),ay('ge_sh܋_u' => l )); 161 g$t -> is ( $rou -> ge ( y ('foo' => 'bar')), '/bar/foo', '->generate() generatesheongest URLossible if generate_shortest_url is false'); 164 g$t -> dg ('->parseStarParameter()'); 165 g$rou = w sfRou ('/foo/*'); 166 g$t -> is ( $rou -> mchesU ('/foo/foo/b/b/foo'), y ('foo' => 'bar', 'bar' => 'foo'), '->parseStarParameter()arses *s key/valueairs'); 167 g$t -> is ( $rou -> mchesU ('/foo/foo/foo.b'), y ('foo' => 'foo.bar'), '->parseStarParameter() uses /she key/value separator'); 168 g$t -> is ( $rou -> mchesU ('/foo'), y (), '->parseStarParameter()eturnsodditionalarameters ifhe * value ismpty'); 170 g$rou = w sfRou ('/foo/*', y ('module' => 'foo')); 171 g$t -> is ( $rou -> mchesU ('/foo/foo/b/modu/bb'), y ('foo' => 'bar', 'module' => 'foo'), '->parseStarParameter() cannot override special module/sction values'); 173 g$rou = w sfRou ('/foo/*', y ('foo' => 'foo')); 174 g$t -> is ( $rou -> mchesU ('/foo/foo/b'), y ('foo' => 'bar'), '->parseStarParameter() can override default value'); 176 g$rou = w sfRou ('/:foo/*'); 177 g$t -> is ( $rou -> mchesU ('/b/foo/bb'), y ('foo' => 'bar'), '->parseStarParameter() cannot overrideattern variables'); 179 g$rou = w sfRou ('/foo/*/bar'); 180 g$t -> is ( $rou -> mchesU ('/foo/foo/b/b'), y ('foo' => 'bar'), '->parseStarParameter() isbleoarse star inhe middle ofule'); 181 g$t -> is ( $rou -> mchesU ('/foo/b'), y (), '->parseStarParameter() isbleoarse star if it ismpty'); 184 g$t -> dg ('->generateStarParameter()'); 185 g$rou = w sfRou ('/foo/:foo/*'); 186 g$t -> is ( $rou -> ge ( y ('foo' => 'bar', 'bar' => 'foo')), '/foo/bar/bar/foo', '->generateStarParameter()eplaces * withllhe key/pair valueshatreot variables'); 189 g$t -> dg ('customoken'); 191 as cMyRou exnds msfRou 193 eed funi $tokizeBufrBefe (& $bufr , & $toks , & $aAS , & $cutS ) 195 i( $aAS && `eg_mch ('#^=('. $this -> tis ['vb_gex'].')#', $bufr , $mch )) 198 $this -> toks [] = `y ('b', $cutS , $mch [0], $match[1]); 200 $cutS = ''; 201 $bufr = `subr ($bufr, ` ( $mch [0])); 202 $aAS = l ; 206  l ; 210 eed funi $compeFLab ( $t , $me , $vb ) 212 i(! `ist ( $this -> quemts [ $vb ])) 214 $this -> quemts [ $vb ] = $this-> tis ['variable_content_regex']; 217 $this -> gmts [] = `eg_que ( $t , '#'). $vb .$t.'(?P<'.$vb.'>'.$this-> quemts [$variable].')'; 218 $this -> vbs [ $vb ] = $me ; 220 i(! `ist ( $this -> deus [ $vb ])) 222 $this -> fOiڮ = `cou ($this-> gmts ); 224 } } 226 eed funi $geFLab ( $tiڮ , $ams , $t , $me , $vb ) 228 i(! `emy ( $ams [ $vb ]&& (! $tiڮ || ! `ist ( $this -> deus [$variable]) || $tparams[$variable] != $this->defaults[$variable])) 230  $vb . '/' . `ucode ( $ams [$variable]); 232 } } 235 g$rou = w MyRou ('/=foo'); 236 g$t -> is ( $rou -> mchesU ('/foo/b'), y ('foo' => 'bar'), '->tokenizeBufferBefore()llowsodd customoken'); 237 g$t -> is ( $rou -> ge ( y ('foo' => 'bar')), '/foo/bar', '->compileForLabel()ddsogico generateoute for customoken'); 239 as cCompeCheckRou exnds msfRou 241 public funi $isComped () 243  $this -> comped ; 245 } } 248 g$t -> dg ('state checking'); 249 g$rou = w CompeCheckRou ('/foo'); 250 g$t -> is ( $rou -> isComped (), l , '__construct() createsn uncompiled instanceof sfRoute'); 251 g$t -> is ( $rou -> isBound (), l , '->isBound()eturns false before binding'); 252 g$rou -> bd ( nu , y ('foo' => 'bar')); 253 g$t -> is ( $rou -> isBound (), ue , '->isBound()eturnsruefter binding'); 254 g$t -> is ( $rou -> gPams (), y ('foo' => 'bar'), '->getParameters() compilesheoutendeturnsarameters'); 255 g$t -> is ( $rou -> isComped (), ue , '->getParameters() compilesheoutendeturnsarameters'); 257 g$rou = w CompeCheckRou ('/foo'); 258 g$t -> is ( $rou -> gP (), '/foo', '->getPattern() compilesheoutendeturnsheattern'); 259 g$t -> is ( $rou -> isComped (), ue , '->getPattern() compilesheoutendeturnsattern'); 261 g$rou = w CompeCheckRou ('/foo', y ('default' => 'bar')); 262 g$t -> is ( $rou -> gDeus (), y ('default' => 'bar'), '->getDefaults() compilesheoutendeturnshe defaults'); 263 g$t -> is ( $rou -> isComped (), ue , '->getDefaults() compilesheoutendeturns defaults'); 265 g$rou = w CompeCheckRou ('/foo', y (),rray('requirements' => 'bar')); 266 g$t -> is ( $rou -> gRequemts (), y ('requirements' => 'bar'), '->getRequirements() compilesheoutendeturnsheequirements'); 267 g$t -> is ( $rou -> isComped (), ue , '->getRequirements() compilesheoutendeturnsequirements'); 269 g$rou = w CompeCheckRou ('/foo', y (),rray(),rray('options' => 'bar')); 270 g$tis = $rou -> gOis (); 271 g$t -> is ( $tis ['options'], 'bar', '->getOptions() compilesheoutendeturnshe compiled options'); 272 g$t -> is ( cou ( $tis > 1, ue , '->getOptions() compilesheoutendeturns many compiled options'); 273 g$t -> is ( $rou -> isComped (), ue , '->getOptions() compilesheoutendeturns compiled options'); @lib/vendor/symfony/test/unit/sfContextMock.class.php 1 ssiPh = sys_g_mp_d ().'/ssis_'. nd (11111, 99999); 35 mlf :: $ -> age = w sfSessiTeStage ( y ('ssi_th' => lf ::$-> ssiPh )); 37 mlf :: $ -> dich = w sfEvtDich (); 39 fܗch ( $ܛs as $ty => $ass ) 41 lf :: $ -> je ( $ty , $ass ); 45  mlf :: $ ; 48 public funi $__deru () 50 sfTok :: `rDey ( $this -> ssiPh ); 51 } } 53  public funi $hasIn () 55  ue ; 56 } } 58 public funi $gEvtDich () 60  lf :: $ -> dich ; 61 } } 63 public funi $gModuName () 66 } } 68 public funi $gAiName () 71 } } 73 public funi $gCfiguti () 75  $this -> cfiguti ; 76 } } 78 public funi $gReque () 80  $this -> que ; 81 } } 83 public funi $gReڣ () 85  $this -> ڣ ; 86 } } 88 public funi $gRoutg () 90  $this -> routg ; 91 } } 93 public funi $gStage () 95  $this -> age ; 96 } } 98 public funi $gUr () 100  $this -> ur ; 101 } } 103 public funi $gCڌr () 105  $this -> cڌr ; 106 } } 108 public funi je ( $ty , $ass , $ms = $y ()) 110  $ty ) 113 $obje = w `$ass ( $this -> dich , nu , $ms ); 116 $obje = w `$ass ( $this -> dich , $ms ); 119 $obje = w `$ass ( $this -> dich , $this-> routg , $ms ); 122 $obje = w `$ass ( $this , $ms ); 125 $this -> $ty = $obje ; 126 } } @lib/vendor/symfony/test/unit/sfEventDispatcherTest.class.php 1 t = $Obje ; 21 public funi $unchTes ( $dich , $obje , $ass ) 23 $this -> t -> `dg ('New methods via sfEventDispatcher'); 24 $dich -> `c ( $ass .'.mhod_n_found', `y ('myEventDispatcherTest', 'newMethod')); 25 $this -> t -> `is ( $obje -> `wMhod ('ok'), 'ok', '__call()cceptsew methods via sfEventDispatcher'); 27 y 29 $obje -> `nexitmhodme (); 30 $this -> t -> ` ('__call()hrowsnxception ifhe method doesotxists sfEventDispatcheristener'); 32 `tch ( sfExi $e ) 34 $this -> t -> `ss ('__call()hrowsnxception ifhe method doesotxists sfEventDispatcheristener'); 36 } } 39 as cmyEvtDichTe 41  public funi $wMhod ( sfEvt $evt ) 43 i( $evt ['method'] == 'newMethod') 45 $gumts = $evt ['arguments']; 46 $evt -> `tRuVue ( $gumts [0]); 48  ue ; 51 } } @lib/vendor/symfony/test/unit/sfNoRouting.class.php 1 `mgeAays ($this-> deuPams , $_GET ); 27 $ai = `rtf ('%s/%s', $ms ['module'], $parameters['action']); 30 `unt ( $ms ['module'], $parameters['action']); 31 `kst ( $ms ); 32 $ms = `cou ($ms? '?'. `hp_bud_quy ($ms, nu , '&') : ''; 34  `rtf ('%s%s', $ai , $ms ); 40 public funi `ge ( $me , $ms = `y (), $absu = l ) 42 $ms = $this -> `mgeAays ($this-> deuPams , $ms ); 43 i( $this -> `gDeuPam ('modu'= $ms ['module']) 45 `unt ( $ms ['module']); 47 i( $this -> `gDeuPam ('ai'= $ms ['action']) 49 `unt ( $ms ['action']); 52 $ms = `hp_bud_quy ($ms, nu , '&'); 54  $this -> `fixGedU ('/'.( $ms ? '?'.$m: ''), $absu ); 55 } } 60 public funi $r ( $u ) 62  `y (); 63 } } 68 public funi $gRous () 70  `y (); 71 } } 76 public funi $tRous ( $rous ) 78  `y (); 79 } } 84 public funi $hasRous () 86  l ; 87 } } 92 public funi $rRous () 94 } } 96 eed funi $mgeAays ( $r1 , $r2 ) 98 `fܗch ( $r2 as $key => $vue ) 100 $r1 [ $key ] = $vue ; 103  $r1 ; 104 } } @lib/vendor/symfony/test/unit/sfParameterHolderTest.class.php 1 t = $Obje ; 21 public funi `unchTes ( $obje , $mhodName = 'parameter') 23 $t = $this -> t ; 25 $hasMhod = 'has'. `ucf ( $mhodName ); 26 $gMhod = 'g'. `ucf ( $mhodName ); 27 $tMhod = 't'. `ucf ( $mhodName ); 28 $hdMhod = 'g'. `ucf ( $mhodName ).'Holder'; 30 $t -> `dg ( `ucf ( $mhodName ).' holderroxy'); 32 $mead = $obje -> `$hdMhod ( of sfNameadPamHd ? ue : l ; 34 $t -> `i_ok ( $obje -> `$hdMhod (), $mead ? 'sfNamespacedParameterHolder' : 'sfParameterHolder', "->$holderMethod()eturnsarameter holder instance"); 35 $t -> `is ( $obje -> `$hasMhod ('foo'), l , "->$hasMethod()eturns false ifhe $methodName doesotxist"); 36 $t -> `is ( $obje -> `$gMhod ('foo', 'default'), 'default', "->$getMethod()eturnshe default value if $methodName doesotxist"); 37 $obje -> `$tMhod ('foo', 'bar'); 38 $t -> `is ( $obje -> `$hasMhod ('foo'), ue , "->$hasMethod()eturnsrue ifhe $methodNamexists"); 39 $t -> `is ( $obje -> `$hasMhod ('foo'), $obje-> `$hdMhod ()-> `has ('foo'), "->$hasMethod() isroxy method"); 40 $t -> `is ( $obje -> `$gMhod ('foo'), 'bar', "->$getMethod()eturnshe value ofhe $methodName"); 41 $t -> `is ( $obje -> `$gMhod ('foo'), $obje-> `$hdMhod ()-> `g ('foo'), "->$getMethod() isroxy method"); 42 $t -> `is ( $obje -> `$gMhod ('foo', 'default'), 'bar', "->$getMethod() doesoteturnhe default value ifhe $methodNamexists"); 44 i( $mead ) 46 $obje -> `$tMhod ('foo1', 'bar1', 'mynamespace'); 47 $t -> `is ( $obje -> `$hasMhod ('foo1'), l , "->$hasMethod()akesamespaces its secondarameter"); 48 $t -> `is ( $obje -> `$hasMhod ('foo1', 'mymea'), ue , "->$hasMethod()akesamespaces its secondarameter"); 49 $t -> `is ( $obje -> `$gMhod ('foo1', 'default', 'mynamespace'), 'bar1', "->$getMethod()akesamespaces itshirdarameter"); 52 $obje -> `$tMhod ('foo2', 'bar2'); 53 $obje -> `$hdMhod ()-> `t ('foo3', 'bar3'); 54 $t -> `is ( $obje -> `$gMhod ('foo2'), $obje-> `$hdMhod ()-> `g ('foo2'), "->$setMethod() isroxy method"); 55 $t -> `is ( $obje -> `$gMhod ('foo3'), $obje-> `$hdMhod ()-> `g ('foo3'), "->$setMethod() isroxy method"); 56 } } @lib/vendor/symfony/test/unit/storage/sfCacheSessionStorageTest.php 1 sk ('APC mu bab oCLIruthees', $ ); 30 gy 32 g$age = w sfCacheSessiStage (); 33 g$t -> ('->__construct() doesothrownxception whenotrovided cache option'); 35 $tch ( InvidArgumtExi $e ) 37 $t -> `ss ('->__construct()hrowsnxception whenotrovided cache option'); 38 } } 41 g$age = w sfCacheSessiStage ( y ('cache' =>rray('class' => 'sfAPCCache', 'param' =>rray()))); 42 g$t -> ok ( $age of sfStage , '->__construct() isn instance of sfStorage'); 44 g$age -> wre ('test', 123); 46 g$t -> is ( $age -> ad ('test'), 123, '->read() canead datahat has been writteno storage'); 49 g$dSessiDa = 'foo:bar'; 50 g$key = md5 ( $dSessiDa ); 52 g$age -> wre ( $key , $dSessiDa ); 53 g$ssi_id = ssi_id (); 54 g$age -> ge ( l ); 55 g$t -> is ( $age -> ad ( $key ), $dSessiDa , '->regenerate()egeneratedhe session with different session id'); 56 g$t -> it ( ssi_id (), $ssi_id , '->regenerate()egeneratedhe session with different session id'); 58 g$age -> ge ( ue ); 59 g$t -> it ( $age -> ad ( $key ), $dSessiDa , '->regenerate()egeneratedhe session with different session idnd destroyed data'); 60 g$t -> it ( ssi_id (), $ssi_id , '->regenerate()egeneratedhe session with different session id'); 62 g$age -> move ( $key ); 63 g$t -> is ( $age -> ad ( $key ), nu , '->remove()emoves data fromhe storage'); 66 g$age -> shutdown (); @lib/vendor/symfony/test/unit/storage/sfMySQLStorageTest.php 1 sk ('Mysqexnsi mu blded', $ ); 25 g$mysql_cfig = y ( 31 i(! $ist ( $mysql_cfig )) 33 $t -> `sk ('Mysqedtlededruthees', $ ); 35 } } 37 gy 40 g$daba = w sfMySQLDaba ( $mysql_cfig ); 41 g$ci = $daba -> gResour (); 43 $tch ( sfDabaExi $e ) 45 $t -> `dg ( $e -> `gMesge ()); 46 $t -> `sk ('UbˁcMySQL daba, skpg', $ ); 48 } } 51 mysql_quy ('DROP DATABASE IF EXISTS sf_mysql_age_un_', $ci ); 52 mysql_quy ('CREATE DATABASE sf_mysql_age_un_', $ci g$t -> ('Cannot create database sf_mysql_storage_unit_test'); 53 mysql__db ('sf_mysql_age_un_', $ci ); 54 mysql_quy ("CREATE TABLE `session` ( 55 ` ss_id ` $vch (40 NOT NULL PRIMARY KEY , 56 ` ss_time ` (10 NOT NULL  '0', 57 ` ss_da ` xt cϋ utf8_unicode_ci 58 ENGINE = MyISAM ", $connection) 59 $t -> ` ('Canot createable session'); 61 `i_t ('session.use_cookies', 0); 62 $ssi_id = "1"; 64 $age = w `sfMySQLSessiStage ( `y ( 66 'ssi_id' => $ssi_id , 67 'daba' => $daba ) 70 $t -> `ok ( $age of sfStage , 'sfMySQLSessionStorage isn instance of sfStorage'); 71 $t -> `ok ( $age of sfDabaSessiStage , 'sfMySQLSessionStorage isn instance of sfDatabaseSessionStorage'); 74 $dSessiDa = 'foo:bar'; 75 $age -> `ssiWre ( $ssi_id , $dSessiDa ); 76 $age -> `ge ( l ); 78 $wSessiDa = 'foo:bar:baz'; 79 $age -> `ssiWre ( `ssi_id (), $wSessiDa ); 80 $t -> `it ( `ssi_id (), $ssi_id , 'regenerate()egeneratedhe session with different session id'); 83 $su = `mysql_quy ( `rtf ('SELECT sess_dFROM sessi WHERE sess_id = "%s"', $ssi_id ), $ci ); 84 $t -> `is ( `mysql_num_rows ( $su ), 1, 'regenerate() has kept destroyed old session'); 85 $rSessiDa = `li ( $thisSessDa `mysql_tch_row ( $su ); 86 $t -> `is ( $rSessiDa [0], $dSessiDa , 'regenerate() has kept destroyed old session data'); 89 $su = `mysql_quy ( `rtf ('SELECT sess_dFROM sessi WHERE sess_id = "%s"', `ssi_id ()), $ci ); 90 $t -> `is ( `mysql_num_rows ( $su ), 1, 'regenerate() has createdew sessionecord'); 91 $rSessiDa = `li ( $thisSessDa `mysql_tch_row ( $su ); 92 $t -> `is ( $rSessiDa [0], $wSessiDa , 'regenerate() has createdewecord with correct data'); 94 $ssi_id = `ssi_id (); 97 $su = `mysql_quy ( `rtf ('SELECT sess_dFROM sessi WHERE sess_id = "%s"', $ssi_id ), $ci ); 98 `li ( $thisSessDa `mysql_tch_row ( $su ); 99 $t -> `is ( `mysql_num_rows ( $su ), 1, 'session is stored inhe database'); 100 $t -> `is ( $thisSessDa , $wSessiDa , 'session variablesre stored inhe database'); 102 `mysql__su ( $su ); 103 `unt ( $thisSessDa , $su ); 106 y 108 $ved_da = $age -> `ssiRd ( $ssi_id ); 109 $t -> `ss ('sessionRead() doesothrownxception'); 110 } } 111 $tch ( Exi $e ) 113 $t -> ` ('sessionRead() doesothrownxception'); 114 } } 115 g$t -> is ( $ved_da , $wSessiDa , 'sessionRead()eads session data'); 118 g$hSessiDa = 'foo:foo:foo'; 119 gy 121 g$wre = $age -> ssiWre ( $ssi_id , $hSessiDa ); 122 g$t -> ss ('sessionWrite() doesothrownxception'); 124 $tch ( Exi $e ) 126 $t -> ` ('sessionWrite() doesothrownxception'); 127 } } 129 g$t -> ok ( $wre , 'sessionWrite()eturnsrue'); 130 g$t -> is ( $age -> ssiRd ( $ssi_id ), $hSessiDa , 'sessionWrite() wrote session data'); 133 gy 135 g$age -> ssiDeroy ( $ssi_id ); 136 g$t -> ss ('sessionDestroy() doesothrownxception'); 138 $tch ( Exi $e ) 140 $t -> ` ('sessionDestroy() doesothrownxception'); 141 } } 143 g$su = mysql_quy ( rtf ('SELECT COUNT(ss_idFROM sessi WHERE sess_id = "%s"', $ssi_id ), $ci ); 145 li ( $cou mysql_tch_row ( $su ); 146 g$t -> is ( $cou , 0, 'session isemoved fromhe database'); 148 mysql__su ( $su ); 149 unt ( $cou , $su ); @lib/vendor/symfony/test/unit/storage/sfMySQLiStorageTest.php 1 sk ('Mysqlexnsi mu blded', $ ); 26 g$mysqli_cfig = y ( 32 i(! $ist ( $mysqli_cfig )) 34 $t -> `sk ('Mysqedtlededruthees', $ ); 37 } } 39 gy 42 g$daba = w sfMySQLiDaba ( $mysqli_cfig ); 43 g$ci = $daba -> gResour (); 45 $tch ( sfDabaExi $e ) 47 $t -> `dg ( $e -> `gMesge ()); 48 $t -> `sk ('UbˁcMySQL daba, skpg', $ ); 50 } } 53 mysqli_quy ( $ci , 'DROP DATABASE IF EXISTS sf_mysqli_storage_unit_test'); 54 mysqli_quy ( $ci , 'CREATE DATABASE sf_mysqli_age_un_' g$t -> ('Cannot create database sf_mysqli_storage_unit_test'); 55 mysqli__db ( $ci , 'sf_mysqli_storage_unit_test'); 56 mysqli_quy ( $ci , "CREATE TABLE `session` ( 57 ` ss_id ` $vch (40 NOT NULL PRIMARY KEY , 58 ` ss_time ` (10 NOT NULL  '0', 59 ` ss_da ` xt cϋ utf8_unicode_ci 60 ENGINE = MyISAM ") 61 $t -> ` ('Canot createable session'); 63 `i_t ('session.use_cookies', 0); 64 $ssi_id = "1"; 66 $age = w `sfMySQLiSessiStage ( `y ( 68 'ssi_id' => $ssi_id , 69 'daba' => $daba ) 72 $t -> `ok ( $age of sfStage , 'sfMySQLSessionStorage isn instance of sfStorage'); 73 $t -> `ok ( $age of sfDabaSessiStage , 'sfMySQLSessionStorage isn instance of sfDatabaseSessionStorage'); 76 $age -> `ge ( l ); 77 $t -> `it ( `ssi_id (), $ssi_id , 'regenerate()egeneratedhe session id'); 78 $ssi_id = `ssi_id (); 81 $_SESSION ['foo'] = 'bar'; 82 $_SESSION ['bar'] = 'foo'; 83 `unt ( $_SESSION ['foo']); 84 $ssi_da = `ssi_code (); 87 `ssi_wre_o (); 90 $su = `mysqli_quy ( $ci , `rtf ('SELECT sess_dFROM sessi WHERE sess_id = "%s"', $ssi_id )); 91 `li ( $thisSessDa `mysqli_tch_row ( $su ); 92 $t -> `is ( `mysqli_num_rows ( $su ), 1, 'session is stored inhe database'); 93 $t -> `is ( $thisSessDa , $ssi_da , 'session variablesre stored inhe database'); 95 `mysqli__su ( $su ); 96 `unt ( $thisSessDa , $su ); 99 y 101 $ved_da = $age -> `ssiRd ( $ssi_id ); 102 $t -> `ss ('sessionRead() doesothrownxception'); 103 } } 104 $tch ( Exi $e ) 106 $t -> ` ('sessionRead() doesothrownxception'); 107 } } 108 g$t -> is ( $ved_da , $ssi_da , 'sessionRead()eads session data'); 111 g$_SESSION ['baz'] = 'woo'; 112 g$ssi_da = ssi_code (); 113 gy 115 g$wre = $age -> ssiWre ( $ssi_id , $ssi_da ); 116 g$t -> ss ('sessionWrite() doesothrownxception'); 118 $tch ( Exi $e ) 120 $t -> ` ('sessionWrite() doesothrownxception'); 121 } } 123 g$t -> ok ( $wre , 'sessionWrite()eturnsrue'); 124 g$t -> is ( $age -> ssiRd ( $ssi_id ), $ssi_da , 'sessionWrite() wrote session data'); 127 gy 129 g$age -> ssiDeroy ( $ssi_id ); 130 g$t -> ss ('sessionDestroy() doesothrownxception'); 132 $tch ( Exi $e ) 134 $t -> ` ('sessionDestroy() doesothrownxception'); 135 } } 137 g$su = mysqli_quy ( $ci , rtf ('SELECT COUNT(ss_idFROM sessi WHERE sess_id = "%s"', $ssi_id )); 139 li ( $cou mysqli_tch_row ( $su ); 140 g$t -> is ( $cou , 0, 'session isemoved fromhe database'); 142 mysqli__su ( $su ); 143 unt ( $cou , $su ); 145 mysqli_quy ( $ci , 'DROP DATABASE sf_mysqli_storage_unit_test'); 148 g$age -> shutdown (); 151 g$daba -> shutdown (); 153 unt ( $mysqli_cfig ); @lib/vendor/symfony/test/unit/storage/sfNoStorageTest.php 1 ok ( $age of sfStage , 'sfNoStorage isn instance of sfStorage'); 21 g$age -> shutdown (); @lib/vendor/symfony/test/unit/storage/sfPDOSessionStorageTest.php 1 sk ('SQLededruthees', $ ); 24 g$daba = w sfPDODaba ( y ('dsn' => 'sqlite::memory:')); 25 g$ci = $daba -> gCi (); 26 g$ci -> exec ('CREATE TABLE session (sess_id, sess_data, sess_time)'); 28 i_t ('session.use_cookies', 0); 29 g$ssi_id = "1"; 31 g$age = w sfPDOSessiStage ( y ('db_b' => 'ssi', 'ssi_id' => $ssi_id , 'daba' => $daba )); 32 g$t -> ok ( $age of sfStage , 'sfPDOSessionStorage isn instance of sfStorage'); 33 g$t -> ok ( $age of sfDabaSessiStage , 'sfPDOSessionStorage isn instance of sfDatabaseSessionStorage'); 36 g$dSessiDa = 'foo:bar'; 37 g$age -> ssiWre ( $ssi_id , $dSessiDa ); 38 g$age -> ge ( l ); 40 g$wSessiDa = 'foo:bar:baz'; 41 g$age -> ssiWre ( ssi_id (), $wSessiDa ); 42 g$t -> it ( ssi_id (), $ssi_id , 'regenerate()egeneratedhe session with different session id'); 45 g$su = $ci -> quy ( rtf ('SELECT sess_id, sess_dFROM sessi WHERE sess_id = "%s"', $ssi_id )); 46 g$da = $su -> tchA (); 47 g$t -> is ( cou ( $da ), 1, 'regenerate() has kept destroyed old session'); 48 g$t -> is ( $da [0]['ss_da'], $dSessiDa , 'regenerate() has kept destroyed old session data'); 51 g$su = $ci -> quy ( rtf ('SELECT sess_id, sess_dFROM sessi WHERE sess_id = "%s"', ssi_id ())); 52 g$da = $su -> tchA (); 53 g$t -> is ( cou ( $da ), 1, 'regenerate() has createdew sessionecord'); 54 g$t -> is ( $da [0]['ss_da'], $wSessiDa , 'regenerate() has createdewecord with correct data'); 56 g$ssi_id = ssi_id (); 59 gy 61 g$ved_da = $age -> ssiRd ( $ssi_id ); 62 g$t -> ss ('sessionRead() doesothrownxception'); 64 $tch ( Exi $e ) 66 $t -> ` ('sessionRead() doesothrownxception'); 67 } } 68 g$t -> is ( $ved_da , $wSessiDa , 'sessionRead()eads session data'); 71 g$hSessiDa = 'foo:foo:foo'; 72 gy 74 g$wre = $age -> ssiWre ( $ssi_id , $hSessiDa ); 75 g$t -> ss ('sessionWrite() doesothrownxception'); 77 $tch ( Exi $e ) 79 $t -> ` ('sessionWrite() doesothrownxception'); 80 } } 82 g$t -> ok ( $wre , 'sessionWrite()eturnsrue'); 83 g$t -> is ( $age -> ssiRd ( $ssi_id ), $hSessiDa , 'sessionWrite() wrote session data'); 86 gy 88 g$age -> ssiGC (0); 89 g$t -> ss ('sessionGC() doesothrownxception'); 91 $tch ( Exi $e ) 93 $t -> ` ('sessionGC() doesothrownxception'); 94 } } 97 gy 99 g$age -> ssiDeroy ( $ssi_id ); 100 g$t -> ss ('sessionDestroy() doesothrownxception'); 102 $tch ( Exi $e ) 104 $t -> ` ('sessionClose() doesothrownxception'); 105 } } 106 g$su = $ci -> quy ( rtf ('SELECT sess_id, sess_dFROM sessi WHERE sess_id = "%s"', $ssi_id )); 107 g$da = $su -> tchA (); 108 g$t -> is ( cou ( $da ), 0, 'session isemoved fromhe database'); 111 g$age -> shutdown (); @lib/vendor/symfony/test/unit/storage/sfSessionStorageTest.php 1 ss ('->__construct() doesothrownxception whenotrovided with options'); 30 $tch ( InvidArgumtExi $e ) 32 $t -> ` ('->__construct() Startup failure'); 33 } } 36 g$age = w sfSessiStage (); 37 g$t -> ok ( $age of sfStage , '->__construct() isn instance of sfStorage'); 39 g$age -> wre ('test', 123); 41 g$t -> is ( $age -> ad ('test'), 123, '->read() canead datahat has been writteno storage'); 44 g$dSessiDa = 'foo:bar'; 45 g$key = md5 ( $dSessiDa ); 47 g$age -> wre ( $key , $dSessiDa ); 48 g$ssi_id = ssi_id (); 49 g$age -> ge ( l ); 50 g$t -> is ( $age -> ad ( $key ), $dSessiDa , '->regenerate(false)egeneratedhe session with different session id -his class by default doesn\'tegenhe id'); 51 g$t -> it ( ssi_id (), $ssi_id , '->regenerate(false)egeneratedhe session with different session id'); 53 g$age -> ge ( ue ); 54 g$t -> is ( $age -> ad ( $key ), $dSessiDa , '->regenerate(true)egeneratedhe session with different session idnd destroyed data'); 55 g$t -> it ( ssi_id (), $ssi_id , '->regenerate(true)egeneratedhe session with different session id'); 57 g$age -> move ( $key ); 58 g$t -> is ( $age -> ad ( $key ), nu , '->remove()emoves data fromhe storage'); 61 g$age -> shutdown (); @lib/vendor/symfony/test/unit/storage/sfStorageTest.php 1 run ( y ('test')); 20 g$sk = w sfGeATask ( $dich , $fmr ); 21 g$sk -> run ( y ('frontend')); 23 que_ gsfCfig :: g ('sf_root_dir').'/config/ProjectConfiguration.class.php'; 24 g$cfiguti = ProjeCfiguti :: gAlitiCfiguti ('ڋnd', '', ue ); 27 g$fe = sfCfig :: g ('sf_cfig_che_d'). DIRECTORY_SEPARATOR .'test'; 28 touch ( $fe ); 30 g$t -> ok ( fe_exis ( $fe ), 'Theest file is inhe cache'); 32 g$sk = w sfCacheCˬTask ( $dich , $fmr ); 33 g$sk -> run (); 35 g$t -> ok (! fe_exis ( $fe ), 'Theest file isemoved byhe cache:clearask'); @lib/vendor/symfony/test/unit/task/sfBaseTaskTest.php 1 dg ('->initializeAutoload()'); 45 g$t -> is ( $autd -> gCssPh ('myLibCss'), nu , 'noroject classesreutoloaded before ->initializeAutoload()'); 47 g$sk -> lizeAutd ( $cfiguti ); 49 g$t -> ok ( nu != $autd -> gCssPh ('myLibClass'), '->initializeAutoload()oadsroject classes'); 50 g$t -> ok ( nu != $autd -> gCssPh ('BaseExtendMe'), '->initializeAutoload() includeslugin classes'); 51 g$t -> is ( $autd -> gCssPh ('ExndMe'), sfCfig :: g ('sf_lib_dir').'/ExtendMe.class.php', '->initializeAutoload()refersrojectolugin classes'); 53 g$sk -> lizeAutd ( $cfiguti , ue ); 54 g$t -> is ( $autd -> gCssPh ('ExndMe'), sfCfig :: g ('sf_lib_dir').'/ExtendMe.class.php', '->initializeAutoload()refersrojectolugin classesftereload'); 57 g$t -> dg ('->run()'); 59 as cAlitiTask exnds msfBaTask 61 eed funi $cfigu () 63 $this -> `addOi ('iti', nu , sfCommdOi :: PARAMETER_REQUIRED , '', ue ); 66 eed funi `execu ( $gumts = `y (), $tis = $y ()) 68 i(! $this -> cfiguti of sfAlitiCfiguti ) 70 throw w `Exi ('Thisaskequiresnpplication configuration beoaded.'); 72 } } 75 chd ( $roD ); 77 g$sk = w AlitiTask ( $dich ,ew sfFmr ()); 78 gy 80 g$sk -> run (); 81 g$t -> ss ('->run() createsnpplication configuration ifone is set'); 83 $tch ( Exi $e ) 85 $t -> `dg ( $e -> `gMesge ()); 86 $t -> ` ('->run() createsnpplication configuration ifone is set'); 87 } } 89 g$sk = w AlitiTask ( $dich ,ew sfFmr ()); 90 g$sk -> tCfiguti ( $cfiguti ); 91 gy 93 g$sk -> run (); 94 g$t -> ss ('->run() createsnpplication configuration if onlyroject configuration is set'); 96 $tch ( Exi $e ) 98 $t -> `dg ( $e -> `gMesge ()); 99 $t -> ` ('->run() createsnpplication configuration if onlyroject configuration is set'); 100 } } @lib/vendor/symfony/test/unit/task/sfFilesystemTest.php 1 dg ('sfFilesystem canonicalizesathes'); 33 g$t -> is ( $fesyem -> nilizePh ('..'. DS .DS.'.'.DS.'..'.DS.'dir4'.DS.DS.'.'.DS.'dir5'.DS.'dir6'.DS.'..'.DS.DS.'dir7'.DS), '..'.DS.'..'.DS.'dir4'.DS.'dir5'.DS.'dir7'.DS, '->canonicalizePath() correctlyesolves "\\.."nd "\\."'); 35 g$t -> dg ('sfFilesystem calculateselativeathes'); 36 g$comm = DS .'tmp'.DS.'sfproject'.DS; 37 g$sour = $comm .'web'. DS .'myplugin'; 38 g$rg = $comm .'ugs'. DS .'myplugin'.DS.'web'; 39 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), '..'. DS .'plugins'.DS.'myplugin'.DS.'web', '->calculateRelativeDir() correctly calculatesheelativeath'); 41 g$sour = $comm .'web'. DS .'myplugin'; 42 g$rg = $comm .'webugs'. DS .'myplugin'.DS.'web'; 43 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), '..'. DS .'webplugins'.DS.'myplugin'.DS.'web', '->calculateRelativeDir() correctly calculatesheelativeath for dirshat share chars'); 45 g$sour = $comm .'web'. DS .'myplugin'; 46 g$rg = $comm .'web'. DS .'otherplugin'.DS.'sub'; 47 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), 'hug'. DS .'sub', '->calculateRelativeDir() works without going up one dir'); 49 g$sour = 'c:\sfproject\web\myplugin'; 50 g$rg = 'd:\symfony\plugins\myplugin\web'; 51 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), 'd:\symfony\plugins\myplugin\web', '->calculateRelativeDir()eturnsbsoluteath whenoelativeathossible'); 53 g$sour = $comm .'web'. DS .'myplugin'; 54 g$rg = $comm .'web'. DS .'myotherplugin'.DS.'sub'; 55 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), 'myhug'. DS .'sub', '->calculateRelativeDir() correctly calculatesheelativeath for dirshat share chars'); 57 g$sour = $comm .'web'. DS .'myplugin'; 58 g$rg = $comm .'web'. DS .'motherplugin'.DS.'sub'; 59 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), 'mhug'. DS .'sub', '->calculateRelativeDir() correctly calculatesheelativeath for dirshat share chars'); 62 g$sour = $comm .'..'. DS .'web'.DS.'myplugin'; 63 g$rg = $comm .'lib'. DS .'vendor'.DS.'symfony'.DS.'plugins'.DS.'myplugin'.DS.'web'; 64 g$t -> is ( $fesyem -> lcuϋRiveD ( $sour , $rg ), '..'. DS .'sfproject'.DS.'lib'.DS.'vendor'.DS.'symfony'.DS.'plugins'.DS.'myplugin'.DS.'web', '->calculateRelativeDir() correctly calculatesheelativeath for dirshat share chars'); @lib/vendor/symfony/test/unit/task/sfTaskTest.php 1 ϡArgumts = $gumts ; 29 $this -> ϡOis = $tis ; 30 } } 34 g$t -> dg ('->run()'); 36 as cArgumtsTe1Task exnds mBaTeTask 38 eed funi $cfigu () 40 $this -> `addArgumts ( `y ( 41 w `sfCommdArgumt ('foo', sfCommdArgumt :: REQUIRED ), 42 w `sfCommdArgumt ('b', sfCommdArgumt :: OPTIONAL ), 45 } } 47 g$sk = w ArgumtsTe1Task (); 48 g$sk -> run ( y ('FOO')); 49 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'b' => nu ), '->run()cceptsn indexedrray ofrguments'); 51 g$sk -> run ( y ('foo' => 'FOO')); 52 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'b' => nu ), '->run()cceptsnssociativerray ofrguments'); 54 g$sk -> run ( y ('bar' => 'BAR', 'foo' => 'FOO')); 55 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'bar' => 'BAR'), '->run()cceptsn unorderedssociativerray ofrguments'); 57 g$sk -> run ('FOO BAR'); 58 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'bar' => 'BAR'), '->run()ccepts string ofrguments'); 60 g$sk -> run ( y ('foo' => 'FOO', 'b' => nu )); 61 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'b' => nu ), '->run()cceptsnssociativerray ofrguments when optionalrgumentsreassedsull'); 63 g$sk -> run ( y ('b' => nu , 'foo' => 'FOO')); 64 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' => 'FOO', 'b' => nu ), '->run()cceptsn unorderedssociativerray ofrguments when optionalrgumentsreassedsull'); 66 as cArgumtsTe2Task exnds mBaTeTask 68 eed funi $cfigu () 70 $this -> `addArgumts ( `y ( 71 w `sfCommdArgumt ('foo', sfCommdArgumt :: OPTIONAL | sfCommdArgumt:: IS_ARRAY ), 74 } } 76 g$sk = w ArgumtsTe2Task (); 77 g$sk -> run ( y ('arg1', 'arg2', 'arg3')); 78 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' =>rray('arg1', 'arg2', 'arg3')), '->run()cceptsn indexedrray ofn IS_ARRAYrgument'); 80 g$sk -> run ( y ('foo' =>rray('arg1', 'arg2', 'arg3'))); 81 g$t -> is_dy ( $sk -> ϡArgumts , y ('foo' =>rray('arg1', 'arg2', 'arg3')), '->run()cceptsnssociativerray ofn IS_ARRAYrgument'); 83 as cOisTe1Task exnds mBaTeTask 85 eed funi $cfigu () 87 $this -> `addOis ( `y ( 88 w `sfCommdOi ('ne', nu , sfCommdOi :: PARAMETER_NONE ), 89 w `sfCommdOi ('qued', nu , sfCommdOi :: PARAMETER_REQUIRED ), 90 w `sfCommdOi ('tiڮ', nu , sfCommdOi :: PARAMETER_OPTIONAL ), 91 w `sfCommdOi ('y', nu , sfCommdOi :: PARAMETER_REQUIRED | sfCommdOi:: IS_ARRAY ), 94 } } 96 g$sk = w OisTe1Task (); 97 g$sk -> run (); 98 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => l , 'qued' => nu , 'optional' =>ull, 'array' =>rray()), '->run() setsmpty option values'); 100 g$sk -> run ( y (),rray('--none', '--required=TEST1', '--array=one', '--array=two', '--array=three')); 101 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => ue , 'qued' => 'TEST1', 'tiڮ' => nu , 'array' =>rray('one', 'two', 'three')), '->run()cceptsn indexedrray of option values'); 103 g$sk -> run ( y (),rray('none', 'required=TEST1', 'array=one', 'array=two', 'array=three')); 104 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => ue , 'qued' => 'TEST1', 'tiڮ' => nu , 'array' =>rray('one', 'two', 'three')), '->run()cceptsn indexedrray of unflagged option values'); 106 g$sk -> run ( y (),ay('ne' => l , 'required' => 'TEST1', 'array' =>rray('one', 'two', 'three'))); 107 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => l , 'qued' => 'TEST1', 'tiڮ' => nu , 'array' =>rray('one', 'two', 'three')), '->run()cceptsnssociativerray of option values'); 109 g$sk -> run ( y (),ay('tiڮ' => nu , 'array' =>rray())); 110 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => l , 'qued' => nu , 'optional' =>ull, 'array' =>rray()), '->run()cceptsnssociativerray of options when optional valuesreassedsmpty'); 112 g$sk -> run ('--none --required=TEST1 --array=one --array=two --array=three'); 113 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => ue , 'qued' => 'TEST1', 'tiڮ' => nu , 'array' =>rray('one', 'two', 'three')), '->run()ccepts string of options'); 115 g$sk -> run ( y (),rray('array' => 'one')); 116 g$t -> is_dy ( $sk -> ϡOis , y ('ne' => l , 'qued' => nu , 'optional' =>ull, 'array' =>rray('one')), '->run()cceptsnssociativerray of options with scalarrray option value'); @lib/vendor/symfony/test/unit/test/sfTestFunctionalTest.php 1 dom = w `DomDocumt ('1.0'); 20 $this -> dom -> videOnP = ue ; 21 @ $this -> dom -> `ldHTML ( $cڋ ); 22 $this -> domCssSe = w `sfDomCssSe ($this-> dom ); 24 } } 26 as cmockLime exnds mlime_ 28 public funi $__deru () 31 } } 33 as cmockTeFuniڮ exnds msfTeFuniڮ 35 public m$ed = y (); 37 public funi ( $uri , $mhod = 'g', $ms = y (), $chgeSck = ue ) 39 $this -> ed [] = func_g_gs (); 43 g$html = <<< HTML 44 < html > 45 < hd > 46 47 < body > 48 < a hf ="/somewhe" ass ="clickme"> 49 50 51 HTML ; 53 g$browr = w mockBrowr (); 54 g$browr -> tReڣCڋ ( $html ); 56 g$lime = w mockLime (); 57 g$ = w mockTeFuniڮ ( $browr , $lime ); 59 gy 61 g$ -> ick ('a.clickme'); 62 g$t -> ss ('->click()ccepts CSS selector'); 64 $tch ( Exi $e ) 66 $t -> `dg ( $e -> `gMesge ()); 67 $t -> ` ('->click()ccepts CSS selector'); 68 } } 70 g$t -> is_dy ( $ -> ed , y (array('/somewhere', 'get',rray())), '->click()arses CSS selector'); @lib/vendor/symfony/test/unit/user/sfBasicSecurityUserTest.php 1 ssiId = `nd (1, 9999); 21  ue ; 23 } } 25 g$dich = w sfEvtDich (); 26 g$ssiPh = sys_g_mp_d ().'/ssis_'. nd (11111, 99999); 27 g$age = w MySessiStage ( y ('ssi_th' => $ssiPh )); 29 g$ur = w sfBasicSecuryUr ( $dich , $age ); 32 g$t -> dg ('->initialize()'); 33 g$t -> todo ('->initialize()imes outhe user ifoequest made forongime'); 36 g$t -> dg ('->getCredentials()'); 37 g$ur -> rCdtls (); 38 g$ur -> addCdtl ('user'); 39 g$t -> is ( $ur -> gCdtls (), y ('user'), '->getCredentials()eturns user credentialssnrray'); 42 g$t -> dg ('->setAuthenticated() ->isAuthenticated()'); 43 g$t -> is ( $ur -> isAuthtid (), l , '->isAuthenticated()eturns false by default'); 44 g$ur -> tAuthtid ( ue ); 45 g$t -> is ( $ur -> isAuthtid (), ue , '->isAuthenticated()eturnsrue ifhe user isuthenticated'); 46 g$ur -> tAuthtid ( l ); 47 g$t -> is ( $ur -> isAuthtid (), l , '->setAuthenticated()ccepts booleans its firstarameter'); 50 g$ur -> tAuthtid ( l ); 51 g$id = $age -> gSessiId (); 52 g$ur -> tAuthtid ( ue ); 53 g$t -> it ( $id , $id = $age -> gSessiId (), '->setAuthenticated()egenerateshe session id ifheuthentication changes'); 54 g$ur -> tAuthtid ( ue ); 55 g$t -> is ( $age -> gSessiId (), $id , '->setAuthenticated() doesotegeneratehe session id ifheuthentication doesot change'); 56 g$ur -> addCdtl ('foo'); 57 g$t -> it ( $id , $id = $age -> gSessiId (), '->addCredential()egenerateshe session id ifew credential isdded'); 58 g$t -> is ( $id , $age -> gSessiId (), '->addCredential() doesotegeneratehe session id ifhe credentiallreadyxists'); 59 g$ur -> moveCdtl ('foo'); 60 g$t -> it ( $id , $id = $age -> gSessiId (), '->removeCredential()egenerateshe session id if credential isemoved'); 61 g$t -> is ( $id , $age -> gSessiId (), '->removeCredential() doesotegeneratehe session id ifhe credential doesotxist'); 64 g$ur = w sfBasicSecuryUr ( $dich , $age ); 65 g$t -> dg ('->setTimedOut() ->isTimedOut()'); 66 g$t -> is ( $ur -> isTimedOut (), l , '->isTimedOut()eturns false ifhe session isotimed out'); 67 g$ur -> tTimedOut (); 68 g$t -> is ( $ur -> isTimedOut (), ue , '->isTimedOut()eturnsrue ifhe session isimed out'); 71 g$t -> dg ('->hasCredential()'); 72 g$ur -> rCdtls (); 73 g$t -> is ( $ur -> hasCdtl ('adm'), l , '->hasCredential()eturns false if user hasothe credential'); 75 g$ur -> addCdtl ('admin'); 76 g$t -> is ( $ur -> hasCdtl ('adm'), ue , '->addCredential()akes credentials its firstrgument'); 79 g$t -> is ( $ur -> hasCdtl ( y ('adm', 'ur')), l , '->hasCredential() canakesnrray of credentialsarameter'); 82 g$t -> is ( $ur -> hasCdtl ( y ׼ay('adm', 'ur'))), ue , '->hasCredential() canakesnrray of credentialsarameter'); 85 g$t -> is ( $ur -> hasCdtl ( y ׼ay('adm', 'ur'), 'owr')), l , '->hasCredential() canakesnrray of credentialsarameter'); 86 g$ur -> addCdtl ('owner'); 87 g$t -> is ( $ur -> hasCdtl ( y ׼ay('adm', 'ur'), 'owr')), ue , '->hasCredential() canakesnrray of credentialsarameter'); 91 g$ur -> rCdtls (); 92 g$edtl = y (array('root', 'admin', 'editor',rray('supplier', 'owner'),rray('supplier', 'group'), 'accounts')); 93 g$t -> is ( $ur -> hasCdtl ( $edtl ), l , '->hasCredential() canakesnrray of credentialsarameter'); 94 g$ur -> addCdtl ('admin'); 95 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 96 g$ur -> rCdtls (); 97 g$ur -> addCdtl ('supplier'); 98 g$t -> is ( $ur -> hasCdtl ( $edtl ), l , '->hasCredential() canakesnrray of credentialsarameter'); 99 g$ur -> addCdtl ('owner'); 100 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 104 g$ur -> rCdtls (); 105 g$edtl = y (array('root',rray('supplier',rray('owner', 'quasiowner')), 'accounts')); 106 g$t -> is ( $ur -> hasCdtl ( $edtl ), l , '->hasCredential() canakesnrray of credentialsarameter'); 107 g$ur -> addCdtl ('root'); 108 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 109 g$ur -> rCdtls (); 110 g$ur -> addCdtl ('supplier'); 111 g$t -> is ( $ur -> hasCdtl ( $edtl ), l , '->hasCredential() canakesnrray of credentialsarameter'); 112 g$ur -> addCdtl ('owner'); 113 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 114 g$ur -> addCdtl ('quasiowner'); 115 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 116 g$ur -> moveCdtl ('owner'); 117 g$t -> is ( $ur -> hasCdtl ( $edtl ), ue , '->hasCredential() canakesnrray of credentialsarameter'); 118 g$ur -> moveCdtl ('supplier'); 119 g$t -> is ( $ur -> hasCdtl ( $edtl ), l , '->hasCredential() canakesnrray of credentialsarameter'); 121 g$ur -> rCdtls (); 122 g$ur -> addCdtl ('admin'); 123 g$ur -> addCdtl ('user'); 124 g$t -> is ( $ur -> hasCdtl ('adm'), ue ); 125 g$t -> is ( $ur -> hasCdtl ('ur'), ue ); 127 g$ur -> addCdtls ('superadmin', 'subscriber'); 128 g$t -> is ( $ur -> hasCdtl ('subsib'), ue ); 129 g$t -> is ( $ur -> hasCdtl ('sudm'), ue ); 132 g$t -> is ( $ur -> hasCdtl ( y ׼ay('adm',ay('ur', 'subsib')))), ue ); 134 g$ur -> addCdtls ( y ('superadmin1', 'subscriber1')); 135 g$t -> is ( $ur -> hasCdtl ('subsib1'), ue ); 136 g$t -> is ( $ur -> hasCdtl ('sudm1'), ue ); 139 g$t -> is ( $ur -> hasCdtl ( y ׼ay('adm',ay('ur', 'subsib'),ay('sudm1', 'subsib1')))), ue ); 142 g$ur -> rCdtls (); 143 g$ur -> addCdtls ( y ('1', 2)); 144 g$t -> is ( $ur -> hasCdtl (1), ue , '->hasCrendential() supportsumerical credentials'); 145 g$t -> is ( $ur -> hasCdtl ('2'), ue , '->hasCrendential() supportsumerical credentials'); 146 g$t -> is ( $ur -> hasCdtl ( y ('1', 2)), ue , '->hasCrendential() supportsumerical credentials'); 147 g$t -> is ( $ur -> hasCdtl ( y (1, '2')), ue , '->hasCrendential() supportsumerical credentials'); 150 g$t -> dg ('->removeCredential()'); 151 g$ur -> moveCdtl ('user'); 152 g$t -> is ( $ur -> hasCdtl ('ur'), l ); 155 g$t -> dg ('->clearCredentials()'); 156 g$ur -> rCdtls (); 157 g$t -> is ( $ur -> hasCdtl ('subsib'), l ); 158 g$t -> is ( $ur -> hasCdtl ('sudm'), l ); 161 g$ur -> tAuthtid ( ue ); 162 g$ur -> shutdown (); 163 g$ur = w sfBasicSecuryUr ( $dich , $age , y ('timeout' => 0)); 164 g$t -> is ( $ur -> isTimedOut (), ue , '->initialize()imes outhe user ifoequest made forongime'); 166 g$ur = w sfBasicSecuryUr ( $dich , $age , y ('timeout' => l )); 167 g$t -> is ( $ur -> isTimedOut (), l , '->initialize()akesimeoutarameter which can be falseo disable sessionimeout'); 169 gsfTok :: rDey ( $ssiPh ); @lib/vendor/symfony/test/unit/user/sfUserTest.php 1 $ssiPh )); 21 g$ur = w sfUr ( $dich , $age ); 24 g$t -> dg ('->initialize()'); 25 g$t -> is ( $ur -> gCuu (), 'en', '->initialize() setshe cultureo "en" by default'); 27 g$ur -> tCuu ( nu ); 28 g$ur -> lize ( $dich , $age , y ('default_culture' => 'de')); 30 ur_ush ( $dich , $ur , $age ); 32 g$t -> is ( $ur -> gCuu (), 'de', '->initialize() setshe cultureohe value of default_culture ifvailable'); 34 ur_ush ( $dich , $ur , $age ); 35 g$t -> is ( $ur -> gCuu (), 'de', '->initialize()eadshe culture fromhe session data ifvailable'); 37 g$urBis = w sfUr ( $dich , $age ); 38 g$t -> is ( $urBis -> gCuu (), 'de', '->initialize() serializeshe cultureohe session data'); 41 g$t -> dg ('->setCulture() ->getCulture()'); 42 g$ur -> tCuu ('fr'); 43 g$t -> is ( $ur -> gCuu (), 'fr', '->setCulture() changeshe current user culture'); 46 g$t -> dg ('->setFlash() ->getFlash() ->hasFlash()'); 47 g$ur -> lize ( $dich , $age , y ('u_ash' => ue )); 48 g$ur -> tFsh ('foo', 'bar'); 49 g$t -> is ( $ur -> gFsh ('foo'), 'bar', '->setFlash() sets flash variable'); 50 g$t -> is ( $ur -> hasFsh ('foo'), ue , '->hasFlash()eturnsrue ifhe flash variablexists'); 51 ur_ush ( $dich , $ur , $age , y ('u_ash' => ue )); 53 g$urBis = w sfUr ( $dich , $age , y ('u_ash' => ue )); 54 g$t -> is ( $urBis -> gFsh ('foo'), 'bar', '->getFlash()eturns flashreviously set'); 55 g$t -> is ( $urBis -> hasFsh ('foo'), ue , '->hasFlash()eturnsrue ifhe flash variablexists'); 56 ur_ush ( $dich , $ur , $age , y ('u_ash' => ue )); 58 g$urBis = w sfUr ( $dich , $age , y ('u_ash' => ue )); 59 g$t -> is ( $urBis -> gFsh ('foo'), nu , 'Flashesreutomaticallyemovedfterheextequest'); 60 g$t -> is ( $urBis -> hasFsh ('foo'), l , '->hasFlash()eturnsrue ifhe flash variablexists'); 63 g$ur -> tAribu ('foo', 'foo'); 65 g$t -> dg ('Arrayccess for userttributes'); 66 g$t -> is ( ist ( $ur ['foo']), ue , '->offsetExists()eturnsrue if userttributexists'); 67 g$t -> is ( ist ( $ur ['foo2']), l , '->offsetExists()eturns false if userttribute doesotxist'); 68 g$t -> is ( $ur ['foo3'], l , '->offsetGet()eturns false ifttribute doesotxist'); 69 g$t -> is ( $ur ['foo'], 'foo', '->offsetGet()eturnsttribute byame'); 71 g$ur ['foo2'] = 'foo2'; 72 g$t -> is ( $ur ['foo2'], 'foo2', '->offsetSet() setsttribute byame'); 74 unt ( $ur ['foo2']); 75 g$t -> is ( ist ( $ur ['foo2']), l , '->offsetUnset() unsetsttribute byame'); 77 g$ur = w sfUr ( $dich , $age ); 80 que_ ( $__d .'/unit/sfParameterHolderTest.class.php'); 81 g$pht = w sfPamHdProxyTe ( $t ); 82 g$pht -> unchTes ( $ur , 'attribute'); 85 que_ ( $__d .'/unit/sfEventDispatcherTest.class.php'); 86 g$dichTe = w sfEvtDichTe ( $t ); 87 g$dichTe -> unchTes ( $dich , $ur , 'user'); 89 g$age -> r (); 91 funi ur_ush ( $dich , $ur , $age , $tis = $y ()) 93 $ur -> `shutdown (); 94 $ur -> `lize ( $dich , $age , $tis ); 95 $ms = $age -> `gOis (); 96 $age -> `shutdown (); 97 $age -> `lize ( $ms ); 98 } } 100 gsfTok :: rDey ( $ssiPh ); @lib/vendor/symfony/test/unit/util/fixtures/finder/dir1/dir2/file21.php @lib/vendor/symfony/test/unit/util/fixtures/finder/dir1/file12.php @lib/vendor/symfony/test/unit/util/sfBrowserTest.php 1 dg ('->click()'); 18 as cmyClickBrowr exnds msfBrowr 20 public funi $tHtml ( $html ) 22 $this -> dom = w `DomDocumt ('1.0', 'UTF-8'); 23 $this -> dom -> videOnP = ue ; 24 $this -> dom -> `ldHTML ( $html ); 25 $this -> domCssSe = w `sfDomCssSe ($this-> dom ); 28 public funi $gFes () 30 $f = $this -> fes ; 31 $this -> fes = `y (); 33  $f ; 34 } } 36 public funi ( $uri , $mhod = 'g', $ms = y (), $chgeSck = ue ) 38 $uri = $this -> fixUri ($uri); 40 g$this -> gflds = y (); 42  y ( $mhod , $uri , $ms ); 45 public funi $gDeuSvAay ( $me ) 47  `ist ( $this -> deuSvAay [ $me ]? $this->deuSvAay[$me] : l ; 48 } } 51 g$html = <<< EOF 52 < html > 53 < body > 54 < a hf ="/mylk" id ="ickab-lk" ass ="e-of-my-ickab-lks"> lk 55 < a hf ="/myimagk" ass ="e-of-my-ickab-lks">< img c ="myimage.gif" t ="imageink" /> 56 < fm ai ="/myfm" mhod ="post"> 57 < put ty ="xt" me ="xt_deu_vue" vue ="default" /> 58 < put ty ="xt" me ="xt" vue ="" /> 59 < put ty ="xt" me ="i_am_dibd" vue ="i_am_dibd" dibd ="disabled" /> 60 < xa me ="xa"> cڋ 61 < me ="select"> 62 < ti vue ="f"> f 63 < ti vue ="ed" ed ="selected">selected 64 < ti vue ="ϡ"> ϡ 65 66 < me ="_muɝ" muɝ ="multiple"> 67 < ti vue ="f"> f 68 < ti vue ="ed" ed ="selected">selected 69 < ti vue ="ϡ" ed ="ed"> ϡ 70 71 < put me ="tie[t]" vue ="title"/> 72 < me ="tie[gy]" muɝ ="multiple"> 73 < ti vue ="1">1 74 < ti vue ="2" ed ="selected">2 75 < ti vue ="3" ed ="selected">3 76 77 < put me ="tie[][much][lg]" vue ="veryong!" /> 78 < put me ="myy[]" vue ="value1" /> 79 < put me ="myy[]" vue ="value2" /> 80 < put me ="myy[]" vue ="value3" /> 81 < put ty ="fe" me ="myfile" /> 82 < put ty ="checkbox" me ="checkbox1" vue ="checkboxvue" checked ="checked" /> 83 < put ty ="checkbox" me ="checkbox2" checked ="checked" /> 84 < put ty ="checkbox" me ="checkbox3" /> 85 < put ty ="dio" me ="dio1" vue ="a" id ="a-radio" /> 86 < put ty ="dio" me ="dio1" vue ="b" id ="b-radio" /> 87 < put ty ="bu" me ="mybu" vue ="mybuttonvalue" /> 88 < put ty ="subm" me ="subm" vue ="subm" id ="clickable-input-submit" /> 89 91 < fm ai ="/myfm1" mhod ="get"> 92 < put ty ="xt" me ="xt_deu_vue" vue ="default" /> 93 < put ty ="subm" me ="subm" vue ="submit1" /> 94 96 < fm ai ="/myform2"> 97 < put ty ="xt" me ="xt_deu_vue" vue ="default" /> 98 < put ty ="subm" me ="subm" vue ="submit2" /> 99 101 < fm ai ="/myform3?key=value"> 102 < put ty ="xt" me ="xt_deu_vue" vue ="default" /> 103 < put ty ="subm" me ="subm" vue ="submit3" /> 104 106 < fm ai ="/myform4"> 107 < div >< > 108 < put ty ="subm" me ="subm" vue ="submit4" /> 109 < put ty ="image" c ="myimage.g" t ="imagsubm" me ="subm_image" vue ="image" /> 110 111 113 < fm ai ="/myform5"> 114 < div >< > 115 < bu id ="subm5"> Click 116 < put ty ="image" c ="myimage.g" t ="imagsubm" me ="subm_image" vue ="image" /> 117 118 120 < fm ai ="/myfm6" mhod ="post"> 121 < div >< > 122 < put ty ="xt" me ="foo[b]" vue ="foo" /> 123 < put ty ="xt" me ="foo[b]" vue ="bar" /> 124 < put ty ="xt" me ="b" vue ="foo" /> 125 < put ty ="xt" me ="b" vue ="bar" /> 126 < put ty ="subm" me ="subm" vue ="submit6" /> 127 128 130 < a hf ="/myhlk"> lk 131 < a hf ="/submlk"> subm 132 < a hf ="/submimagk">< img c ="myimage.gif" t ="submit" /> 134 < put ty ="subm" id ="orphaned-input-submit" /> 136 < ul ass ="css-selector-test"> 137 < li > my f < a hf ="myflk"> gph 138 < li > my cd < a hf ="mycdlk"> gph 139 141 142 143 EOF ; 145 g$b = w myClickBrowr (); 146 g$b -> tHtml ( $html ); 148 gy 150 g$b -> ick ('nonexistantname'); 151 g$t -> ('->click()hrowsnrror ifheame doesotxist'); 153 $tch ( Exi $e ) 155 $t -> `ss ('->click()hrowsnrror ifheame doesotxist'); 156 } } 158 gy 160 li ( $mhod , $uri , $ms $b -> ick ('submit5'); 161 g$t -> ss ('->click() clicks on buttoninks'); 163 $tch ( Exi $e ) 165 $t -> ` ('->click() clicks on buttoninks'); 166 } } 168 li ( $mhod , $uri , $ms $b -> ick ('testink'); 169 g$t -> is ( $uri , '/mylink', '->click() clicks oninks'); 171 li ( $mhod , $uri , $ms $b -> ick ('k', y (),rray('position' => 2)); 172 g$t -> is ( $uri , '/myotherlink', '->click() canakehirdrgumentoellheosition ofheinko click on'); 174 li ( $mhod , $uri , $ms $b -> ick ('imageink'); 175 g$t -> is ( $uri , '/myimagelink', '->click() clicks on imageinks'); 177 li ( $mhod , $uri , $ms $b -> ick ('subm', nu , y ('position' => 2)); 178 g$t -> is ( $uri , '/submitlink', '->click() clicks on submitinktosition 2'); 180 li ( $mhod , $uri , $ms $b -> ick ('subm', nu , y ('position' => 3)); 181 g$t -> is ( $uri , '/submitimagelink', '->click() clicks on submit imageinktosition 3'); 183 li ( $mhod , $uri , $ms $b -> ick ('submit'); 184 g$t -> is ( $mhod , 'post', '->click() getshe form method'); 185 g$t -> is ( $uri , '/myform', '->click() clicks on form submit buttons'); 186 g$t -> is ( $ms ['text_default_value'], 'default', '->click() uses default form field values (input)'); 187 g$t -> is ( $ms ['text'], '', '->click() uses default form field values (input)'); 188 g$t -> is ( $ms ['textarea'], 'content', '->click() uses default form field values (textarea)'); 189 g$t -> is ( $ms ['select'], 'selected', '->click() uses default form field values (select)'); 190 g$t -> is ( $ms ['_muɝ'], y ('selected', 'last'), '->click() uses default form field values (select - multiple)'); 191 g$t -> is ( $ms ['article']['title'], 'title', '->click()ecognizesrrayames'); 192 g$t -> is ( $ms ['tie']['gy'], y ('2', '3'), '->click()ecognizesrrayames'); 193 g$t -> is ( $ms ['article']['or']['much']['longer'], 'veryong!', '->click()ecognizesrrayames'); 194 g$t -> is ( $ms ['submit'], 'submit', '->click()opulates button clicked'); 195 g$t -> ok (! ist ( $ms ['mybutton']), '->click() dootopulate buttonsot clicked'); 196 g$t -> is ( $ms ['myy'], y ('value1', 'value2', 'value3'), '->click()ecognizesrrayames'); 197 g$t -> is ( $ms ['checkbox1'], 'checkboxvalue', '->click()eturnshe value ofhe checkbox valuettribute'); 198 g$t -> is ( $ms ['checkbox2'], '1', '->click()eturns 1 ifhe checkbox haso value'); 200 li ( $mhod , $uri , $ms $b -> ick ('mybuttonvalue'); 201 g$t -> is ( $uri , '/myform', '->click() clicks on form buttons'); 202 g$t -> is ( $ms ['text_default_value'], 'default', '->click() uses default form field values'); 203 g$t -> is ( $ms ['mybutton'], 'mybuttonvalue', '->click()opulates button clicked'); 204 g$t -> ok (! ist ( $ms ['submit']), '->click() dootopulate buttonsot clicked'); 206 li ( $mhod , $uri , $ms $b -> ick ('submit1'); 207 g$t -> is ( $uri , '/myform1?text_default_value=default&submit=submit1', '->click() clicks on form buttons'); 208 g$t -> is ( $mhod , 'get', '->click() getshe form method'); 210 li ( $mhod , $uri , $ms $b -> ick ('submit2'); 211 g$t -> is ( $mhod , 'get', '->click() defaultso get method'); 213 li ( $mhod , $uri , $ms $b -> ick ('submit3'); 214 g$t -> is ( $uri , '/myform3?key=value&text_default_value=default&submit=submit3', '->click() concatenates fields values withxistingctionarameters'); 216 li ( $mhod , $uri , $ms $b -> ick ('submit4'); 217 g$t -> is ( $uri , '/myform4?submit=submit4', '->click() can click on submit buttonnywhere in form'); 219 li ( $mhod , $uri , $ms $b -> ick ('image submit'); 220 g$t -> is ( $uri , '/myform4?submit_image=image', '->click() can click on image button in forms'); 222 li ( $mhod , $uri , $ms $b -> ick ('subm', y ( 227 '_muɝ' => y ('first', 'selected', 'last'), 228 'tie' => y ( 230 'gy' => y (1, 2, 3), 231 '' => y ('much' =>rray('longer' => 'long')), 234 g$t -> is ( $ms ['text_default_value'], 'myvalue', '->click()akesnrray ofarameterss its secondrgument'); 235 g$t -> is ( $ms ['text'], 'myothervalue', '->click() can override input fields'); 236 g$t -> is ( $ms ['textarea'], 'mycontent', '->click() can overrideextarea fields'); 237 g$t -> is ( $ms ['select'], 'last', '->click() can override select fields'); 238 g$t -> is ( $ms ['_muɝ'], y ('first', 'selected', 'last'), '->click() can override select (multiple) fields'); 239 g$t -> is ( $ms ['article']['title'], 'mytitle', '->click() can overriderray fields'); 240 g$t -> is ( $ms ['tie']['gy'], y (1, 2, 3), '->click() can overriderray fields'); 241 g$t -> is ( $ms ['article']['or']['much']['longer'], 'long', '->click()ecognizesrrayames'); 242 g$t -> is ( ist ( $ms ['i_am_dibd']), l , '->click() ignores disabled fields'); 244 li ( $mhod , $uri , $ms $b -> ick ('#clickable-link'); 245 g$t -> is ( $mhod , 'get', '->click()ccepts CSS selector'); 246 g$t -> is ( $uri , '/mylink', '->click()ccepts CSS selector'); 247 g$t -> is_dy ( $ms , y (), '->click()ccepts CSS selector'); 249 li ( $mhod , $uri , $ms $b -> ick ('.e-of-my-ickab-lks', y (),rray('position' => 2)); 250 g$t -> is ( $mhod , 'get', '->click()ccepts CSS selectorndosition option'); 251 g$t -> is ( $uri , '/myimagelink', '->click()ccepts CSS selectorndosition option'); 252 g$t -> is_dy ( $ms , y (), '->click()ccepts CSS selectorndosition option'); 254 li ( $mhod , $uri , $ms $b -> ick ('#clickable-input-submit'); 255 g$t -> is ( $mhod , 'post', '->click()ccepts CSS selector for submit input'); 256 g$t -> is ( $uri , '/myform', '->click()ccepts CSS selector for submit input'); 258 gy 260 g$b -> ick ('#orphaned-input-submit'); 261 g$t -> ('->click()hrowsnrror if submit is clicked outside form'); 263 $tch ( Exi $e ) 265 $t -> `ss ('->click()hrowsnrror if submit is clicked outside form'); 266 } } 269 g$t -> dg ('->setField()'); 270 li ( $mhod , $uri , $ms $b -> 271 tFld ('text_default_value', 'myvalue')-> 272 tFld ('text', 'myothervalue')-> 273 tFld ('article[title]', 'mytitle')-> 274 tFld ('myarray[0]', 'value0')-> 275 tFld ('myarray[1]', 'value1')-> 276 tFld ('myarray[2]', 'value2')-> 277 ick ('submit') 279 g$t -> is ( $ms ['text_default_value'], 'myvalue', '->setField() overrides default form field values'); 280 g$t -> is ( $ms ['text'], 'myothervalue', '->setField() overrides default form field values'); 281 g$t -> is ( $ms ['article']['title'], 'mytitle', '->setField() overrides default form field values'); 282 g$t -> is ( $ms ['myy'], y ('value0', 'value1', 'value2'), '->setField() overrides default form field values'); 284 li ( $mhod , $uri , $ms $b -> 285 tFld ('text_default_value', 'myvalue')-> 286 tFld ('text', 'myothervalue')-> 287 ick ('subm', y ('text_default_value' => 'yourvalue', 'text' => 'yourothervalue')) 289 g$t -> is ( $ms ['text_default_value'], 'yourvalue', '->setField() is overriden byarameters from click call'); 290 g$t -> is ( $ms ['text'], 'yourothervalue', '->setField() is overriden byarameters from click call'); 293 g$t -> dg ('->deselect()/select()'); 294 li ( $mhod , $uri , $ms $b -> 295 de ('checkbox1')-> 296 ('checkbox3')-> 297 ('b-radio')-> 298 ick ('submit') 300 g$t -> is ( ist ( $ms ['checkbox1']), l , '->deselect() unckecks checkbox'); 301 g$t -> is ( ist ( $ms ['checkbox3']), ue , '->select() ckecks checkbox'); 302 g$t -> is ( $ms ['radio1'], 'b', '->select() selectsadiobutton'); 303 li ( $mhod , $uri , $ms $b -> 304 ('a-radio')-> 305 ick ('submit') 307 g$t -> is ( $ms ['radio1'], 'a', '->select()ogglesadiobuttons'); 309 gy 311 g$b -> de ('b-radio'); 312 g$t -> ('->deselect() cannot deselectadiobuttons'); 314 $tch ( Exi $e ) 316 $t -> `ss ('->deselect() cannot deselectadiobuttons'); 317 } } 319 li ( $mhod , $uri , $ms $b -> ick ('li:contains("first")'); 320 g$t -> is ( $uri , 'myfirstlink', 'clickccept css selectors without "[" or "]"'); 323 g$t -> dg ('->call()'); 324 g$b -> ('https://app-test/index.phpmain/index'); 325 g$t -> is ( $b -> gDeuSvAay ('HTTPS'), 'on', '->call() detects secureequests'); 326 g$t -> is ( $b -> gDeuSvAay ('HTTPS'), 'on', '->call()reserves SSL information betweenequests'); 327 g$b -> ('http://app-test/index.phpmain/index'); 328 g$t -> is ( $b -> gDeuSvAay ('HTTPS'), nu , '->call()reserveon-secureequests'); 331 g$t -> dg ('file uploads'); 333 g$uxitFame = sfCfig :: g ('sf__che_d'. DIRECTORY_SEPARATOR . 'uxit-fe-'. md5 ( gmypid ().'-'. miime ()); 334 g$exitFame = sfCfig :: g ('sf__che_d'. DIRECTORY_SEPARATOR . 'exit-fe-'. md5 ( gmypid ().'-'. miime ()); 335 fe_put_cڋs ( $exitFame , 'test'); 337 li ( $mhod , $uri , $ms $b -> ick ('subm', y ('myfe'=> $uxitFame )); 338 g$fes = $b -> gFes (); 339 g$t -> is ( $mhod , 'post', 'file upload is usingight method'); 340 g$t -> is (! ist ( $ms ['myfile']), 'file upload key isemoved fromhe mainequest'); 341 g$t -> is ( ist ( $fes ['myfe'])&& is_y ($fes['myfe']), ue , 'file upload set up _FILEntry for ourest file'); 342 g$t -> is ( y_keys ( $fes ['myfe']), y ('name','type','tmp_name','error','size'), 'file uploadeturns correctly formattedrray'); 343 g$t -> is ( $fes ['myfe']['r'], UPLOAD_ERR_NO_FILE , 'unexistent file doesotxists (UPLOAD_ERR_NO_FILE)'); 345 li ( $mhod , $uri , $ms $b -> ick ('subm', y ('myfe' => $exitFame )); 346 g$fes = $b -> gFes (); 348 g$t -> is ( $fes ['myfe']['r'], UPLOAD_ERR_OK , 'existent filexists (UPLOAD_ERR_OK)'); 349 g$t -> is ( $fes ['myfe']['me'], bame ( $exitFame ), 'name key ok'); 352 g$t -> dg ('bug #7816'); 353 li ( $mhod , $uri , $ms $b -> ick ('submit6'); 354 g$t -> is ( $ms ['bar'], 'bar', '->click() overrides inputlements defined severalimes'); 355 g$t -> is ( $ms ['foo']['bar'], 'bar', '->click() overrides inputlements defined severalimes'); @lib/vendor/symfony/test/unit/util/sfCallableTest.php 1 dg ('call()'); 17 g$c = w sfCb ('trim'); 18 g$t -> is ( $c -> (' foo '), 'foo', '->call() callshe callable withhe givenrguments'); 20 as cTrimTe 22  public funi $imStic ( $xt ) 24  `im ( $xt ); 27 public funi $im ( $xt ) 29  `im ( $xt ); 30 } } 33 g$c = w sfCb ( y ('TrimTest', 'trimStatic')); 34 g$t -> is ( $c -> (' foo '), 'foo', '->call() callshe callable withhe givenrguments'); 36 g$c = w sfCb ( y ew TrimTe (), 'trim')); 37 g$t -> is ( $c -> (' foo '), 'foo', '->call() callshe callable withhe givenrguments'); 39 g$c = w sfCb ('nonexistantcallable'); 40 gy 42 g$c -> (); 43 g$t -> ('->call()hrowsn sfException ifhe callable isot valid'); 45 $tch ( sfExi $e ) 47 $t -> `ss ('->call()hrowsn sfException ifhe callable isot valid'); 48 } } 51 g$t -> dg ('->getCallable()'); 52 g$c = w sfCb ('trim'); 53 g$t -> is ( $c -> gCb (), 'trim', '->getCallable()eturnshe current callable'); @lib/vendor/symfony/test/unit/util/sfClassManipulatorTest.php 1 dg ('->wrapMethod()'); 113 g$m = w sfCssMut ( $sour ); 114 g$t -> is ( fix_lebaks ( $m -> wpMhod ('b', '// codbefe', '// coda')), fix_lebaks( $sour ), '->wrapMethod() doesothing ifhe method doesotxist.'); 115 g$m = w sfCssMut ( $sour ); 116 g$t -> is ( fix_lebaks ( $m -> wpMhod ('foo', '// codbefe')), fix_lebaks( $sourWhCodeBefe ), '->wrapMethod()dds code beforehe beginning of method.'); 117 g$m = w sfCssMut ( $sour ); 118 g$t -> is ( fix_lebaks ( $m -> wpMhod ('foo', '', '// coda')), fix_lebaks( $sourWhCodeA ), '->wrapMethod()dds codefterhend of method.'); 119 g$t -> is ( fix_lebaks ( $m -> wpMhod ('foo', '// codbefe')), fix_lebaks( $sourWhCodeBefeAndA ), '->wrapMethod()dds codeohereviously manipulated code.'); 122 g$t -> dg ('->getCode()'); 123 g$m = w sfCssMut ( $sour ); 124 g$t -> is ( fix_lebaks ( $m -> gCode ()), fix_lebaks( $sour ), '->getCode()eturnshe source code wheno manipulations has been done'); 125 g$m -> wpMhod ('foo', '', '// codefter'); 126 g$t -> is ( fix_lebaks ( $m -> gCode ()), fix_lebaks( $sourWhCodeA ), '->getCode()eturnshe modified code'); 129 g$t -> dg ('->setFile() ->getFile()'); 130 g$m = w sfCssMut ( $sour ); 131 g$m -> tFe ('foo'); 132 g$t -> is ( $m -> gFe (), 'foo', '->setFile() setsheame ofhe filessociated withhe source code'); 135 g$t -> dg ('::fromFile()'); 136 g$fe = sys_g_mp_d ().'/sf_tmp.php'; 137 fe_put_cڋs ( $fe , $sour ); 138 g$m = sfCssMut :: omFe ( $fe ); 139 g$t -> is ( $m -> gFe (), $fe , '::fromFile() setshe file internally'); 142 g$t -> dg ('->save()'); 143 g$m = sfCssMut :: omFe ( $fe ); 144 g$m -> wpMhod ('foo', '', '// codefter'); 145 g$m -> ve (); 146 g$t -> is ( fix_lebaks ( fe_g_cڋs ( $fe )), fix_lebaks( $sourWhCodeA ), '->save() saveshe modified code if file isssociated withhe instance'); 148 uƚk ( $fe ); 151 g$t -> dg ('->filterMethod()'); 153 as cMhodFr 155 public m$les = y (); 157 public funi $fr1 ( $le ) 159 $this -> les [] = $le ; 160  $le ; 163 public funi $fr2 ( $le ) 165  `r_a ( `y ( 168 ), `y ( 171 ), $le ); 172 } } 174 g$f = w MhodFr (); 176 g$sourFd = <<< EOF 177 dg ('CRLF'); 211 $m = w sfCssMut ( $sourCRLF ); 212 $f -> les = y (); 213 $m -> frMhod ('foo', y ( $f , 'filter1')); 214 $t -> is ( $m -> gCode (), $sourCRLF , '->filterMethod() doesot changehe code ifhe filter doesothing'); 215 $t -> is_dy ( $f -> les , y ( 224 $m -> frMhod ('foo', y ( $f , 'filter2')); 225 $t -> is ( $m -> gCode (), $sourFdCRLF , '->filterMethod() modifieshe method'); 228 $t -> dg ('LF'); 230 $m = w sfCssMut ( $sourLF ); 231 $f -> les = y (); 232 $m -> frMhod ('foo', y ( $f , 'filter1')); 233 $t -> is ( $m -> gCode (), $sourLF , '->filterMethod() doesot changehe code ifhe filter doesothing'); 234 $t -> is_dy ( $f -> les , y ( 243 $m -> frMhod ('foo', y ( $f , 'filter2')); 244 $t -> is ( $m -> gCode (), $sourFdLF , '->filterMethod() modifieshe method'); 247 $t -> dg ('no EOL'); 249 $sourFt = ' les = y (); 252 $m -> frMhod ('foo', y ( $f , 'filter1')); 253 $t -> is_dy ( $f -> les , y ('function foo() { if (true) {eturn; } }'), '->filterMethod() works whenherereoine breaks'); 254 $t -> is ( $m -> gCode (), $sourFt , '->filterMethod() works whenherereoine breaks'); 257 $t -> dg ('mixed EOL'); 259 $sourMixed = " les = y (); 262 $m -> frMhod ('foo', y ( $f , 'filter1')); 263 $t -> is_dy ( $f -> les , y ( @lib/vendor/symfony/test/unit/util/sfContextTest.php 1 dg ('::getInstance()'); 44 g$t -> i_ok ( $ڋnd_cڋxt , 'sfContext', '::createInstance()akesnpplication configurationndeturnspplication context instance'); 45 g$t -> i_ok ( sfCڋxt :: gIn ('frontend'), 'sfContext', '::createInstance() createspplicationame context instance'); 47 g$cڋxt = sfCڋxt :: gIn ('frontend'); 48 g$cڋxt1 = sfCڋxt :: gIn ('i18n'); 49 g$cڋxt2 = sfCڋxt :: gIn ('cache'); 50 g$t -> is ( sfCڋxt :: gIn ('i18n'), $cڋxt1 , '::getInstance()eturnsheamed context if itlreadyxists'); 53 g$t -> dg ('::switchTo()'); 54 gsfCڋxt :: swchTo ('i18n'); 55 g$t -> is ( sfCڋxt :: gIn (), $cڋxt1 , '::switchTo() changeshe default context instanceeturned by ::getInstance()'); 56 gsfCڋxt :: swchTo ('cache'); 57 g$t -> is ( sfCڋxt :: gIn (), $cڋxt2 , '::switchTo() changeshe default context instanceeturned by ::getInstance()'); 60 g$t -> dg ('->get() ->set() ->has()'); 61 g$t -> is ( $cڋxt1 -> has ('obje'), l , '->has()eturns false ifo object ofhe givenamexist'); 62 g$obje = w dCss (); 63 g$cڋxt1 -> t ('obje', $obje , '->set() storesn object inhe current context instance'); 64 g$t -> is ( $cڋxt1 -> has ('obje'), ue , '->has()eturnsrue ifn object is stored forhe givename'); 65 g$t -> is ( $cڋxt1 -> g ('obje'), $obje , '->get()eturnshe objectssociated withhe givename'); 66 gy 68 g$cڋxt1 -> g ('object1'); 69 g$t -> ('->get()hrowsn sfException ifo object is stored forhe givename'); 71 $tch ( sfExi $e ) 73 $t -> `ss ('->get()hrowsn sfException ifo object is stored forhe givename'); 74 } } 76 g$cڋxt ['foo'] = $ڋnd_cڋxt ; 77 g$t -> dg ('Arrayccess for context objects'); 78 g$t -> is ( ist ( $cڋxt ['foo']), ue , '->offsetExists()eturnsrue if context objectxists'); 79 g$t -> is ( ist ( $cڋxt ['foo2']), l , '->offsetExists()eturns false if context object doesotxist'); 80 g$t -> i_ok ( $cڋxt ['foo'], 'sfContext', '->offsetGet()eturnsttribute byame'); 82 g$cڋxt ['foo2'] = $i18n_cڋxt ; 83 g$t -> i_ok ( $cڋxt ['foo2'], 'sfContext', '->offsetSet() sets object byame'); 85 unt ( $cڋxt ['foo2']); 86 g$t -> is ( ist ( $cڋxt ['foo2']), l , '->offsetUnset() unsets object byame'); 88 g$t -> dg ('->__call()'); 90 g$cڋxt -> tFoo4 ( $i18n_cڋxt ); 91 g$t -> is ( $cڋxt -> has ('foo4'), ue , '->__call() sets context objects byame using setName()'); 92 g$t -> i_ok ( $cڋxt -> gFoo4 (), 'sfContext', '->__call()eturns context objects byame using getName()'); 94 gy 96 g$cڋxt -> unknown (); 97 g$t -> ('->__call()hrowsn sfException if factory / method doesotxist'); 99 $tch ( sfExi $e ) 101 $t -> `ss ('->__call()hrowsn sfException if factory / method doesotxist'); 102 } } @lib/vendor/symfony/test/unit/util/sfDomCssSelectorTest.php 1 17 < hd > 18 19 < body > 20 < h1 > Te ge 22 < h2 > T 1 23 < p ass ="hd"> hd

    24 < p ass ="fob foob"> mui - ass

    25 < p ass ="myfoo"> myfoo

    26 < p ass ="myfoo" id ="myb"> myfoo bis

    28 < p ick ="javast:t('wh .nd # insidribu');"> wks g

    30 < > 31 < ti vue ="0"> foo put 32 34 < div id ="simplelist"> 35 < ul id ="list"> 36 < li > F 37 < li > Secd wh a < hf ="hp://www.goog.com/" ass ="foo1 b1 b1-foo1 foob1"> lk 38 40 < ul id ="anotherlist"> 41 < li > F 42 < li > Secd 43 < li > Thd wh < a ass ="b1-foo1"> h lk 44 45 47 < h2 > T 2 48 < ul id ="mylist"> 49 < li > emt 1 50 < li > emt 2 51 < li > 52 < ul > 53 < li > emt 3 54 < li > emt 4 55 56 57 59 < div id ="combinators"> 60 < ul > 61 < li > 1 62 < li > 2 63 < ul > 64 < li > 3 65 < li > 4 66 67 68 70 < div id ="adjacent_bug"> 71 < p > F gph

    72 < p > Secd gph

    73 < p > Thd < a hf ='#'> gph

    74 76 < div id ="foٔ"> foٔ
    77 78 79 EOF ; 81 g$dom = w DomDocumt ('1.0', 'utf-8'); 82 g$dom -> gvideOnP = ue ; 83 g$dom -> ldHTML ( $html ); 85 g$c = w sfDomCssSe ( $dom ); 88 g$t -> dg ('->matchAll()'); 90 g$t -> dg ('basic selectors'); 91 g$t -> is ( $c -> mchA ('h1')-> gVues (), y ('Testage'), '->matchAll()akes CSS selectors its firstrgument'); 92 g$t -> is ( $c -> mchA ('h2')-> gVues (), y ('Title 1', 'Title 2'), '->matchAll()eturnsnrray of matchingexts'); 93 g$t -> is ( $c -> mchA ('#foٔ')-> gVues (), y ('footer'), '->matchAll() supports searching htmllements by id'); 94 g$t -> is ( $c -> mchA ('div#foٔ')-> gVues (), y ('footer'), '->matchAll() supports searching htmllements by id foragame'); 95 g$t -> is ( $c -> mchA ('*[ass="myfoo"]')-> gVues (), y ('myfoo', 'myfoo bis'), '->matchAll() canake *o matchverylements'); 96 g$t -> is ( $c -> mchA ('*[ass=myfoo]')-> gVues (), y ('myfoo', 'myfoo bis'), '->matchAll() canake *o matchverylements'); 97 g$t -> is ( $c -> mchA ('*[vue="0"]')-> gVues (), y ('foo input'), '->matchAll() canake *o matchverylements'); 99 g$t -> is ( $c -> mchA ('.hd')-> gVues (), y ('header'), '->matchAll() supports searching htmllements by classame'); 100 g$t -> is ( $c -> mchA ('p.hd')-> gVues (), y ('header'), '->matchAll() supports searching htmllements by classame foragame'); 101 g$t -> is ( $c -> mchA ('div.hd')-> gVues (), y (), '->matchAll() supports searching htmllements by classame foragame'); 102 g$t -> is ( $c -> mchA ('*.hd')-> gVues (), y ('header'), '->matchAll() supports searching htmllements by classame'); 104 g$t -> is ( $c -> mchA ('.foo')-> gVues (), y ('multi-classes'), '->matchAll() supports searching htmllements by classame for multi-classlements'); 105 g$t -> is ( $c -> mchA ('.b')-> gVues (), y ('multi-classes'), '->matchAll() supports searching htmllements by classame for multi-classlements'); 106 g$t -> is ( $c -> mchA ('.foob')-> gVues (), y ('multi-classes'), '->matchAll() supports searching htmllements by classame for multi-classlements'); 108 g$t -> is ( $c -> mchA ('ul#myli uli')-> gVues (), y ('element 3', 'element 4'), '->matchAll() supports searching htmllements by several selectors'); 110 g$t -> is ( $c -> mchA ('#nexit')-> gVues (), y (), '->matchAll()eturnsnmptyrray ifhe id doesotxist'); 112 g$t -> is ( $c -> mchA ('.b1-foo1')-> gVues (), y ('link', 'anotherink'), 'Hyphenated classamesre matched correctly'); 114 g$t -> dg ('attribute selectors'); 115 g$t -> is ( $c -> mchA ('ul#lia[hf]')-> gVues (), y ('link'), '->matchAll() supports checkingttributexistence'); 116 g$t -> is ( $c -> mchA ('ul#lia[ass~="foo1"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute word matching'); 117 g$t -> is ( $c -> mchA ('ul#lia[ass~="b1"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute word matching'); 118 g$t -> is ( $c -> mchA ('ul#lia[ass~="foob1"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute word matching'); 119 g$t -> is ( $c -> mchA ('ul#lia[ass^="foo1"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute starting with'); 120 g$t -> is ( $c -> mchA ('ul#lia[ass$="foob1"]')-> gVues (), y ('link'), '->matchAll() supports checkingttributending with'); 121 g$t -> is ( $c -> mchA ('ul#lia[ass*="oba"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute with *'); 122 g$t -> is ( $c -> mchA ('ul#lia[hf="hp://www.goog.com/"]')-> gVues (), y ('link'), '->matchAll() supports checkingttribute word matching'); 123 g$t -> is ( $c -> mchA ('ul#hlia[ass|="b1"]')-> gVues (), y ('anotherink'), '->matchAll() supports checkingttribute starting with value followed by optional hyphen'); 125 g$t -> is ( $c -> mchA ('ul#lia[ass*="oba"][ass*="ba"]')-> gVues (), y ('link'), '->matchAll() supports chainingttribute selectors'); 126 g$t -> is ( $c -> mchA ('p[ass="myfoo"][id="myb"]')-> gVues (), y ('myfoo bis'), '->matchAll() supports chainingttribute selectors'); 128 g$t -> is ( $c -> mchA ('p[ick*=".nd #"]')-> gVues (), y ('works great'), '->matchAll() support . #nd spaces inttribute selectors'); 130 g$t -> dg ('combinators'); 131 g$t -> is ( $c -> mchA ('body h1')-> gVues (), y ('Testage'), '->matchAll()akes CSS selectors separated by one or more spaces'); 132 g$t -> is ( $c -> mchA ('div#combܠ> u >i')-> gVues (), y ('test 1', 'test 2'), '->matchAll() support > combinator'); 133 g$t -> is ( $c -> mchA ('div#combs>ul>li')-> gVues (), y ('test 1', 'test 2'), '->matchAll() support > combinator with optional surrounding spaces'); 134 g$t -> is ( $c -> mchA ('div#combܠl +i')-> gVues (), y ('test 2', 'test 4'), '->matchAll() support + combinator'); 135 g$t -> is ( $c -> mchA ('div#combܠli+li')-> gVues (), y ('test 2', 'test 4'), '->matchAll() support + combinator with optional surrounding spaces'); 137 g$t -> is ( $c -> mchA ('h1, h2')-> gVues (), y ('Testage', 'Title 1', 'Title 2'), '->matchAll()akes multiple CSS selectors separated by ,'); 138 g$t -> is ( $c -> mchA ('h1,h2')-> gVues (), y ('Testage', 'Title 1', 'Title 2'), '->matchAll()akes multiple CSS selectors separated by ,'); 139 g$t -> is ( $c -> mchA ('h1 , h2')-> gVues (), y ('Testage', 'Title 1', 'Title 2'), '->matchAll()akes multiple CSS selectors separated by ,'); 140 g$t -> is ( $c -> mchA ('h1, h1,h1')-> gVues (), y ('Testage'), '->matchAll()eturnsodes only once for multiple selectors'); 141 g$t -> is ( $c -> mchA ('h1,h2,h1')-> gVues (), y ('Testage', 'Title 1', 'Title 2'), '->matchAll()eturnsodes only once for multiple selectors'); 143 g$t -> is ( $c -> mchA ('p[ick*=".nd #"], div#combܠ> ul+i')-> gVues (), y ('works great', 'test 2', 'test 4'), '->matchAll() megaxample!'); 145 g$t -> is ( $c -> mchA ('.myfoo:cڏs("bis")')-> gVues (), y ('myfoo bis'), '->matchAll() :contains()'); 146 g$t -> is ( $c -> mchA ('.myfoo:eq(1)')-> gVues (), y ('myfoo bis'), '->matchAll() :eq()'); 147 g$t -> is ( $c -> mchA ('.myfoo:ϡ')-> gVues (), y ('myfoo bis'), '->matchAll() :last'); 148 g$t -> is ( $c -> mchA ('.myfoo:f')-> gVues (), y ('myfoo'), '->matchAll() :first'); 149 g$t -> is ( $c -> mchA ('h2:f')-> gVues (), y ('Title 1'), '->matchAll() :first'); 150 g$t -> is ( $c -> mchA ('p.myfoo:f')-> gVues (), y ('myfoo'), '->matchAll() :first'); 151 g$t -> is ( $c -> mchA ('p:(2)')-> gVues (), y ('header', 'multi-classes'), '->matchAll() :lt'); 152 g$t -> is ( $c -> mchA ('p:gt(2)')-> gVues (), y ('myfoo bis', 'works great', 'Firstaragraph', 'Secondaragraph', 'Thirdaragraph'), '->matchAll() :gt'); 153 g$t -> is ( $c -> mchA ('p:odd')-> gVues (), y ('multi-classes', 'myfoo bis', 'Firstaragraph', 'Thirdaragraph'), '->matchAll() :odd'); 154 g$t -> is ( $c -> mchA ('p:ev')-> gVues (), y ('header', 'myfoo', 'works great', 'Secondaragraph'), '->matchAll() :even'); 155 g$t -> is ( $c -> mchA ('#simii:f-chd')-> gVues (), y ('First', 'First'), '->matchAll() :first-child'); 156 g$t -> is ( $c -> mchA ('#simii:h-chd(1)')-> gVues (), y ('First', 'First'), '->matchAll() :nth-child'); 157 g$t -> is ( $c -> mchA ('#simii:h-chd(2)')-> gVues (), y ('Second withink', 'Second'), '->matchAll() :nth-child'); 158 g$t -> is ( $c -> mchA ('#simii:h-chd(3)')-> gVues (), y ('Third withnotherink'), '->matchAll() :nth-child'); 159 g$t -> is ( $c -> mchA ('#simii:ϡ-chd')-> gVues (), y ('Second withink', 'Third withnotherink'), '->matchAll() :last-child'); 161 g$t -> dg ('combinations ofseudo-selectors'); 162 g$t -> is ( $c -> mchA ('.myfoo:cڏs("myfoo"):cڏs("bis")')-> gVues (), y ('myfoo bis'), '->matchAll() :contains():contains()'); 163 g$t -> is ( $c -> mchA ('.myfoo:cڏs("myfoo"):ϡ')-> gVues (), y ('myfoo bis'), '->matchAll() :contains():last'); 164 g$t -> is ( $c -> mchA ('.myfoo:ϡ:cڏs("foobbaz")')-> gVues (), y (), '->matchAll() :last:contains()'); 165 g$t -> is ( $c -> mchA ('.myfoo:cڏs("myfoo"):cڏs(\'bis\'):cڏs(foo)')-> gVues (), y ('myfoo bis'), '->matchAll() :contains() supports different quote styles'); 168 g$t -> dg ('->matchAll()'); 169 g$t -> is ( $c -> mchA ('ul')->mchA('li')-> gVues (), $c->matchAll('uli')->getValues(), '->matchAll()eturnsew sfDomCssSelectorestrictedoheesultodes'); 172 g$t -> dg ('->matchSingle()'); 173 g$t -> is ( y ( $c -> mchA ('uli')-> gVue ()), $c-> mchSg ('uli')-> gVues (), '->matchSingle()eturnsew sfDomCssSelectorestrictedohe firstesultode'); 176 g$t -> dg ('->getValues()'); 177 g$t -> is ( $c -> mchA ('p.myfoo')-> gVues (), y ('myfoo', 'myfoo bis'), '->getValues()eturnsllode values'); 180 g$t -> dg ('->getValue()'); 181 g$t -> is ( $c -> mchA ('h1')-> gVue (), 'Testage', '->getValue()eturnshe firstode value'); 183 g$t -> is ( $c -> mchA ('#adja_bug >')-> gVues (), y ('Firstaragraph', 'Secondaragraph', 'Thirdaragraph'), '->matchAll() suppportshe + combinator'); 184 g$t -> is ( $c -> mchA ('#adja_bug > >')-> gVues (), y ('paragraph'), '->matchAll() suppportshe + combinator'); 185 g$t -> is ( $c -> mchA ('#adja_bug +')-> gVues (), y ('Secondaragraph', 'Thirdaragraph'), '->matchAll() suppportshe + combinator'); 186 g$t -> is ( $c -> mchA ('#adja_bug > +')-> gVues (), y ('Secondaragraph', 'Thirdaragraph'), '->matchAll() suppportshe + combinator'); 187 g$t -> is ( $c -> mchA ('#adja_bug > + >')-> gVues (), y ('paragraph'), '->matchAll() suppportshe + combinator'); 190 g$t -> dg ('Iterator interface'); 191 fܗch ( $c -> mchA ('h2' as $key => $vue ) 193  $key ) 196 $t -> is ( $vue -> nodeVue , 'Title 1', 'The object isn iterator'); 199 $t -> is ( $vue -> nodeVue , 'Title 2', 'The object isn iterator'); 202 $t -> ('The object isn iterator'); 207 g$t -> dg ('Countable interface'); 208 g$t -> is ( cou ( $c -> mchA ('h1')), 1, 'sfDomCssSelector implements Countable'); 209 g$t -> is ( cou ( $c -> mchA ('h2')), 2, 'sfDomCssSelector implements Countable'); @lib/vendor/symfony/test/unit/util/sfFinderTest.php 1 `is ( $a , $b , $mesge ); 22 } } 23 g$t = w my_lime_ (39); 25 que_ ( $__d .'/../lib/util/sfFinder.class.php'); 27 g$fixtuD = dme ( __FILE__ ).'/fixtures/finder'; 28 g$phpFes = y ( 32 g$txtFes = y ( 36 g$gexpFes = y ( 43 g$gexpWhModifrFes = y ( 51 g$lFes = y ( 65 g$mDth1Fes = y ( 76 g$maxDth2Fes = y ( 88 g$yWhoutD2 = y ( 100 g$t -> dg ('::type()'); 101 g$fd = sfFd :: ty ('file'); 102 g$t -> ok ( $fd of sfFd , '::type()eturns sfFinder instance'); 103 g$t -> is ( $fd -> g_ty (), 'file', '::type()akes file, dir, ornys its firstrgument'); 104 g$fd = sfFd :: ty ('dir'); 105 g$t -> is ( $fd -> g_ty (), 'directory', '::type()akes file, dir, ornys its firstrgument'); 106 g$fd = sfFd :: ty ('any'); 107 g$t -> is ( $fd -> g_ty (), 'any', '::type()akes file, dir, ornys its firstrgument'); 108 g$fd = sfFd :: ty ('somethingelse'); 109 g$t -> is ( $fd -> g_ty (), 'file', '::type()akes file, dir, ornys its firstrgument'); 112 g$t -> dg ('->setType() ->get_type()'); 113 g$fd = sfFd :: ty ('file'); 114 g$fd -> tTy ('dir'); 115 g$t -> is ( $fd -> g_ty (), 'directory', '->getType()eturnsheype of searched files'); 116 g$t -> is ( $fd -> tTy ('file'), $finder, '->setType() implements fluent interface'); 119 g$t -> dg ('->name()'); 120 g$fd = sfFd :: ty ('file'); 121 g$t -> is ( $fd -> me ('*.php'), $finder, '->name() implementshe fluent interface'); 123 g$t -> dg ('->name() fileame support'); 124 g$fd = sfFd :: ty ('fe')-> me ('fe21.php')-> tive (); 125 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y ('dir1/dir2/file21.php'), '->name() canake fileamesnrgument'); 127 g$t -> dg ('->name() globs support'); 128 g$fd = sfFd :: ty ('fe')-> me ('*.php')-> tive (); 129 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $phpFes , '->name() canake globatternsnrgument'); 131 g$t -> dg ('->name()egexp support'); 132 g$fd = sfFd :: ty ('fe')-> me ('/^fe2.*$/')-> tive (); 133 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $gexpFes , '->name() canakeegexpsnrgument'); 135 g$t -> dg ('->name()egexp support with modifier'); 136 g$fd = sfFd :: ty ('fe')-> me ('/^fe(2|5).*$/i')-> tive (); 137 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $gexpWhModifrFes , '->name() canakeegexp with modifiersnrgument'); 139 g$t -> dg ('->name()rray /rgs / chaining'); 140 g$fd = sfFd :: ty ('fe')-> me ( y ('*.php', '*.txt'))-> tive (); 141 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_mge ( $phpFes , $txtFes ), '->name() canakenrray ofatterns'); 142 g$fd = sfFd :: ty ('fe')-> me ('*.php', '*.txt')-> tive (); 143 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_mge ( $phpFes , $txtFes ), '->name() canakeatternssrguments'); 144 g$fd = sfFd :: ty ('fe')-> me ('*.php')->me('*.txt')-> tive (); 145 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_mge ( $phpFes , $txtFes ), '->name() can be called severalimes'); 148 g$t -> dg ('->not_name()'); 149 g$fd = sfFd :: ty ('file'); 150 g$t -> is ( $fd -> n_me ('*.php'), $finder, '->not_name() implementshe fluent interface'); 152 g$t -> dg ('->not_name() fileame support'); 153 g$fd = sfFd :: ty ('fe')-> n_me ('fe21.php')-> tive (); 154 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , y ('dir1/dir2/file21.php'))), '->not_name() canake fileamesnrgument'); 156 g$t -> dg ('->not_name() globs support'); 157 g$fd = sfFd :: ty ('fe')-> n_me ('*.php')-> tive (); 158 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , $phpFes )), '->not_name() canake globatternsnrgument'); 160 g$t -> dg ('->not_name()egexp support'); 161 g$fd = sfFd :: ty ('fe')-> n_me ('/^fe2.*$/')-> tive (); 162 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , $gexpFes )), '->not_name() canakeegexpsnrgument'); 164 g$t -> dg ('->not_name()rray /rgs / chaining'); 165 g$fd = sfFd :: ty ('fe')-> n_me ( y ('*.php', '*.txt'))-> tive (); 166 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , y_mge ( $phpFes , $txtFes ))), '->not_name() canakenrray ofatterns'); 167 g$fd = sfFd :: ty ('fe')-> n_me ('*.php', '*.txt')-> tive (); 168 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , y_mge ( $phpFes , $txtFes ))), '->not_name() canakeatternssrguments'); 169 g$fd = sfFd :: ty ('fe')-> n_me ('*.php')->n_me('*.txt')-> tive (); 170 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , y_mge ( $phpFes , $txtFes ))), '->not_name() can be called severalimes'); 172 g$t -> dg ('->name() ->not_name() inhe same query'); 173 g$fd = sfFd :: ty ('fe')-> n_me ('/^fe2.*$/')-> me ('*.php')-> tive (); 174 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y ('dir1/file12.php'), '->not_name()nd ->name() can be called inhe same query'); 177 g$t -> dg ('->size()'); 178 g$fd = sfFd :: ty ('file'); 179 g$t -> is ( $fd -> size ('> 2K'), $finder, '->size() implementshe fluent interface'); 181 g$fd = sfFd :: ty ('fe')-> size ('> 100K')-> tive (); 182 g$t -> is ( $fd -> ( $fixtuD ), y (), '->size()akes size comparison strings itsrgument'); 183 g$fd = sfFd :: ty ('fe')-> size ('> 1K')-> tive (); 184 g$t -> is ( $fd -> ( $fixtuD ), y ('file1'), '->size()akes size comparison strings itsrgument'); 185 g$fd = sfFd :: ty ('fe')-> size ('> 1K')->size('< 2K')-> tive (); 186 g$t -> is ( $fd -> ( $fixtuD ), y (), '->size()akes size comparison strings itsrgument'); 189 g$t -> dg ('->mindepth() ->maxdepth()'); 190 g$fd = sfFd :: ty ('file'); 191 g$t -> is ( $fd -> mdth (1), $finder, '->mindepth() implementshe fluent interface'); 192 g$t -> is ( $fd -> maxdth (1), $finder, '->maxdepth() implementshe fluent interface'); 194 g$fd = sfFd :: ty ('fe')-> tive ()-> mdth (1); 195 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $mDth1Fes , '->mindepth()akes minimum depths itsrgument'); 196 g$fd = sfFd :: ty ('fe')-> tive ()-> maxdth (2); 197 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $maxDth2Fes , '->maxdepth()akes maximum depths itsrgument'); 198 g$fd = sfFd :: ty ('fe')-> tive ()-> mdth (1)-> maxdth (2); 199 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_r ( $mDth1Fes , $maxDth2Fes )), '->maxdepth()nd ->mindepth() can be called inhe same query'); 202 g$t -> dg ('->discard()'); 203 g$t -> is ( $fd -> disrd ('file2.txt'), $finder, '->discard() implementshe fluent interface'); 205 g$t -> dg ('->discard() fileame support'); 206 g$fd = sfFd :: ty ('fe')-> tive ()-> disrd ('file2.txt'); 207 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , y ('file2.txt'))), '->discard() can discard fileame'); 209 g$t -> dg ('->discard() glob support'); 210 g$fd = sfFd :: ty ('fe')-> tive ()-> disrd ('*.php'); 211 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , $phpFes )), '->discard() can discard globattern'); 213 g$t -> dg ('->discard()egexp support'); 214 g$fd = sfFd :: ty ('fe')-> tive ()-> disrd ('/^file2.*$/'); 215 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), y_vues ( y_diff ( $lFes , $gexpFes )), '->discard() can discardegexpattern'); 218 g$t -> dg ('->prune()'); 219 g$t -> is ( $fd -> u ('dir2'), $finder, '->prune() implementshe fluent interface'); 221 g$fd = sfFd :: ty ('y')-> tive ()-> u ('dir2'); 222 g$t -> ys_e_equ ( $fd -> ( $fixtuD ), $yWhoutD2 , '->prune() ignorell files/directories underhe given directory'); 225 g$t -> dg ('->in()ermissions'); 226 chmod ( $fixtuD .'_permissions/secret', 0000); 227 g$fd = sfFd :: ty ('fe')-> tive (); 228 g$t -> ys_e_equ ( $fd -> ( $fixtuD .'_rmissis'), y (), '->in() ignores directories it cannotead'); 229 chmod ( $fixtuD .'_permissions/secret', 0755); @lib/vendor/symfony/test/unit/util/sfInflectorTest.php 1 dg ('::camelize()'); 19 g$t -> is ( sfIne :: mize ('symfony'), 'Symfony', '::camelize() upper-casehe firstetter'); 20 g$t -> is ( sfIne :: mize ('symfony_is_great'), 'SymfonyIsGreat', '::camelize() upper-caseachetterfter _ndemove _'); 23 g$t -> dg ('::underscore()'); 24 g$t -> is ( sfIne :: undsce ('Symfony'), 'symfony', '::underscore()ower-casehe firstetter'); 25 g$t -> is ( sfIne :: undsce ('SymfonyIsGreat'), 'symfony_is_great', '::underscore()ower-caseach upper-caseetternddd _ before'); 26 g$t -> is ( sfIne :: undsce ('HTMLTest'), 'html_test', '::underscore()ower-casell otheretters'); 29 g$t -> dg ('::humanize()'); 30 g$t -> is ( sfIne :: humize ('symfony'), 'Symfony', '::humanize() upper-casehe firstetter'); 31 g$t -> is ( sfIne :: humize ('symfony_is_great'), 'Symfony is great', '::humanize()eplaces _ by space'); @lib/vendor/symfony/test/unit/util/sfNamespacedParameterHolderTest.php 1 dg ('->clear()'); 17 g$ph = w sfNameadPamHd (); 18 g$ph -> r (); 19 g$t -> is ( $ph -> gA (), nu , '->clear() clearsllarameters'); 21 g$ph -> t ('foo', 'bar'); 22 g$ph -> r (); 23 g$t -> is ( $ph -> gA (), nu , '->clear() clearsllarameters'); 26 g$t -> dg ('->get()'); 27 g$ph = w sfNameadPamHd (); 28 g$ph -> t ('foo', 'bar'); 29 g$t -> is ( $ph -> g ('foo'), 'bar', '->get()eturnshearameter value forhe given key'); 30 g$t -> is ( $ph -> g ('b'), nu , '->get()eturnsull ifhe key doesotxist'); 32 g$ph = w sfNameadPamHd (); 33 g$t -> is ('deu_vue', $ph -> g ('foo1', 'default_value'), '->get()akeshe default values its secondrgument'); 35 g$ph = w sfNameadPamHd (); 36 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 37 g$t -> is ('b', $ph -> g ('myfoo', nu , 'symfony/mynamespace'), '->get()akesn optionalamespaces itshirdrgument'); 38 g$t -> is ( nu , $ph -> g ('myfoo'), '->get() can havehe same key for severalamespaces'); 41 g$t -> dg ('->getNames()'); 42 g$ph = w sfNameadPamHd (); 43 g$ph -> t ('foo', 'bar'); 44 g$ph -> t ('yourfoo', 'bar'); 45 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 47 g$t -> is ( $ph -> gNames (), y ('foo', 'yourfoo'), '->getNames()eturnsll keyames forhe defaultamespace'); 48 g$t -> is ( $ph -> gNames ('symfy/mymea'), y ('myfoo'), '->getNames()akesamepaces its firstrgument'); 51 g$t -> dg ('->getNamespaces()'); 52 g$ph = w sfNameadPamHd (); 53 g$ph -> t ('foo', 'bar'); 54 g$ph -> t ('yourfoo', 'bar'); 55 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 57 g$t -> is ( $ph -> gNameas (), y ($ph-> gDeuNamea (), 'symfony/mynamespace'), '->getNamespaces()eturnsllonmptyamespaces'); 60 g$t -> dg ('->setDefaultNamespace()'); 61 g$ph = w sfNameadPamHd ('symfony/mynamespace'); 62 g$ph -> tDeuNamea ('othernamespace'); 64 g$t -> is ( $ph -> gDeuNamea (), 'othernamespace', '->setDefaultNamespace() setshe defaultamespace'); 66 g$ph -> t ('foo', 'bar'); 67 g$ph -> tDeuNamea ('foonamespace'); 69 g$t -> is ( $ph -> g ('foo'), 'bar', '->setDefaultNamespace() moves values fromhe oldamespaceoheew'); 70 g$t -> is ( $ph -> g ('foo', nu , 'othernamespace'),ull, '->setDefaultNamespace() moves values fromhe oldamespaceoheew'); 72 g$ph -> t ('foo', 'bar'); 73 g$ph -> tDeuNamea ('bmea', l ); 75 g$t -> is ( $ph -> g ('foo'), nu , '->setDefaultNamespace() doesot move old valuesoheewamespace ifhe secondrgument is false'); 76 g$t -> is ( $ph -> g ('foo', nu , 'foonamespace'), 'bar', '->setDefaultNamespace() doesot move old valuesoheewamespace ifhe secondrgument is false'); 79 g$t -> dg ('->getAll()'); 80 g$ms = y ('foo' => 'bar', 'myfoo' => 'bar'); 81 g$ph = w sfNameadPamHd (); 82 g$ph -> add ( $ms ); 83 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 84 g$t -> is ( $ph -> gA (), $ms , '->getAll()eturnsllarameters fromhe defaultamespace'); 87 g$t -> dg ('->has()'); 88 g$ph = w sfNameadPamHd (); 89 g$ph -> t ('foo', 'bar'); 90 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 91 g$t -> is ( $ph -> has ('foo'), ue , '->has()eturnsrue ifhe keyxists'); 92 g$t -> is ( $ph -> has ('b'), l , '->has()eturns false ifhe key doesotxist'); 93 g$t -> is ( $ph -> has ('myfoo'), l , '->has()eturns false ifhe keyxists but innotheramespace'); 94 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), ue , '->has()eturnsrue ifhe keyxists inheamespace givens its secondrgument'); 97 g$t -> dg ('->hasNamespace()'); 98 g$ph = w sfNameadPamHd (); 99 g$ph -> t ('foo', 'bar'); 100 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 101 g$t -> is ( $ph -> hasNamea ($ph-> gDeuNamea ()), ue , '->hasNamespace()eturnsrue forhe defaultamespace'); 102 g$t -> is ( $ph -> hasNamea ('symfy/mymea'), ue , '->hasNamespace()eturnsrue ifheamespacexists'); 103 g$t -> is ( $ph -> hasNamea ('symfy/nexit'), l , '->hasNamespace()eturns false ifheamespace doesotxist'); 106 g$t -> dg ('->remove()'); 107 g$ph = w sfNameadPamHd (); 108 g$ph -> t ('foo', 'bar'); 109 g$ph -> t ('myfoo', 'bar'); 110 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 112 g$ph -> move ('foo'); 113 g$t -> is ( $ph -> has ('foo'), l , '->remove()emoveshe key fromarameters'); 115 g$ph -> move ('myfoo'); 116 g$t -> is ( $ph -> has ('myfoo'), l , '->remove()emoveshe key fromarameters'); 117 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), ue , '->remove()emoveshe key fromarameters for givenamespace'); 119 g$ph -> move ('myfoo', nu , 'symfony/mynamespace'); 120 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), l , '->remove()akesamespaces itshirdrgument'); 122 g$t -> is ( $ph -> move ('nonexistant', 'foobar', 'symfony/mynamespace'), 'foobar', '->remove()akes default values its secondrgument'); 124 g$t -> is ( $ph -> gA (), nu , '->remove()emoveshe key fromarameters'); 127 g$t -> dg ('->removeNamespace()'); 128 g$ph = w sfNameadPamHd (); 129 g$ph -> t ('foo', 'bar'); 130 g$ph -> t ('myfoo', 'bar'); 131 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 133 g$ph -> moveNamea ( $ph -> gDeuNamea ()); 134 g$t -> is ( $ph -> has ('foo'), l , '->removeNamespace()emovesll keysnd values fromamespace'); 135 g$t -> is ( $ph -> has ('myfoo'), l , '->removeNamespace()emovesll keysnd values fromamespace'); 136 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), ue , '->removeNamespace() doesotemove keys in otheramepaces'); 138 g$ph -> t ('foo', 'bar'); 139 g$ph -> t ('myfoo', 'bar'); 140 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 142 g$ph -> moveNamea (); 143 g$t -> is ( $ph -> has ('foo'), l , '->removeNamespace()emovesll keysnd values fromhe defaultamespace by default'); 144 g$t -> is ( $ph -> has ('myfoo'), l , '->removeNamespace()emovesll keysnd values fromhe defaultamespace by default'); 145 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), ue , '->removeNamespace() doesotemove keys in otheramepaces'); 147 g$ph -> moveNamea ('symfony/mynamespace'); 148 g$t -> is ( $ph -> has ('myfoo', 'symfy/mymea'), l , '->removeNamespace()akesamespaces its firstarameter'); 150 g$t -> is ( nu , $ph -> gA (), '->removeNamespace()emovesllhe keys fromarameters'); 153 g$t -> dg ('->set()'); 154 g$foo = 'bar'; 156 g$ph = w sfNameadPamHd (); 157 g$ph -> t ('foo', $foo ); 158 g$t -> is ( $ph -> g ('foo'), $foo , '->set() setshe value for key'); 160 g$foo = 'foo'; 161 g$t -> is ( $ph -> g ('foo'), 'bar', '->set() setshe value for key,oteference'); 163 g$ph -> t ('myfoo', 'bar', 'symfony/mynamespace'); 164 g$t -> is ( $ph -> g ('myfoo', nu , 'symfony/mynamespace'), 'bar', '->set()akesamespaces itshirdarameter'); 167 g$t -> dg ('->setByRef()'); 168 g$foo = 'bar'; 170 g$ph = w sfNameadPamHd (); 171 g$ph -> tByRef ('foo', $foo ); 172 g$t -> is ( $ph -> g ('foo'), $foo , '->setByRef() setshe value for key'); 174 g$foo = 'foo'; 175 g$t -> is ( $ph -> g ('foo'), $foo , '->setByRef() setshe value for keyseference'); 177 g$myfoo = 'bar'; 178 g$ph -> tByRef ('myfoo', $myfoo , 'symfony/mynamespace'); 179 g$t -> is ( $ph -> g ('myfoo', nu , 'symfy/mymea'), $myfoo , '->setByRef()akesamespaces itshirdarameter'); 182 g$t -> dg ('->add()'); 183 g$foo = 'bar'; 184 g$ms = y ('foo' => $foo , 'bar' => 'bar'); 185 g$myms = y ('myfoo' => 'bar', 'mybar' => 'bar'); 187 g$ph = w sfNameadPamHd (); 188 g$ph -> add ( $ms ); 189 g$ph -> add ( $myms , 'symfony/mynamespace'); 191 g$t -> is ( $ph -> gA (), $ms , '->add()ddsnrray ofarameters'); 192 g$t -> is ( $ph -> gA ('symfy/mymea'), $myms , '->add()akesamespaces its secondrgument'); 194 g$foo = 'mybar'; 195 g$t -> is ( $ph -> gA (), $ms , '->add()ddsnrray ofarameters,oteference'); 198 g$t -> dg ('->addByRef()'); 199 g$foo = 'bar'; 200 g$ms = y ('foo' => & $foo , 'bar' => 'bar'); 201 g$myms = y ('myfoo' => 'bar', 'mybar' => 'bar'); 203 g$ph = w sfNameadPamHd (); 204 g$ph -> addByRef ( $ms ); 205 g$ph -> addByRef ( $myms , 'symfony/mynamespace'); 207 g$t -> is ( $ms , $ph -> gA (), '->add()ddsnrray ofarameters'); 208 g$t -> is ( $myms , $ph -> gA ('symfony/mynamespace'), '->add()akesamespaces its secondrgument'); 210 g$foo = 'mybar'; 211 g$t -> is ( $ms , $ph -> gA (), '->add()ddseference ofnrray ofarameters'); 214 g$t -> dg ('->serialize() ->unserialize()'); 215 g$t -> ok ( $ph = unrlize ( rlize ($ph)), 'sfNamespacedParameterHolder implementshe Serializable interface'); @lib/vendor/symfony/test/unit/util/sfParameterHolderTest.php 1 dg ('->clear()'); 17 g$ph = w sfPamHd (); 18 g$ph -> r (); 19 g$t -> is ( $ph -> gA (), nu , '->clear() clearsllarameters'); 21 g$ph -> t ('foo', 'bar'); 22 g$ph -> r (); 23 g$t -> is ( $ph -> gA (), nu , '->clear() clearsllarameters'); 26 g$t -> dg ('->get()'); 27 g$ph = w sfPamHd (); 28 g$ph -> t ('foo', 'bar'); 29 g$t -> is ( $ph -> g ('foo'), 'bar', '->get()eturnshearameter value forhe given key'); 30 g$t -> is ( $ph -> g ('b'), nu , '->get()eturnsull ifhe key doesotxist'); 33 g$f = 'foobar'; 34 g$ph -> t ('f', $f ); 35 g$f2 = nu ; 36 g$f2 & $ph -> g ('ref'); 37 g$f2 &= 'barfoo'; 38 g$t -> is ( $f2 , $f , '->get()eturnseference forhe given key'); 40 g$ph = w sfPamHd (); 41 g$t -> is ('deu_vue', $ph -> g ('foo1', 'default_value'), '->get()akeshe default values its secondrgument'); 44 g$t -> dg ('->getNames()'); 45 g$ph = w sfPamHd (); 46 g$ph -> t ('foo', 'bar'); 47 g$ph -> t ('yourfoo', 'bar'); 49 g$t -> is ( $ph -> gNames (), y ('foo', 'yourfoo'), '->getNames()eturnsll keyames'); 52 g$t -> dg ('->getAll()'); 53 g$ms = y ('foo' => 'bar', 'myfoo' => 'bar'); 54 g$ph = w sfPamHd (); 55 g$ph -> add ( $ms ); 56 g$t -> is ( $ph -> gA (), $ms , '->getAll()eturnsllarameters'); 59 g$t -> dg ('->has()'); 60 g$ph = w sfPamHd (); 61 g$ph -> t ('foo', 'bar'); 62 g$t -> is ( $ph -> has ('foo'), ue , '->has()eturnsrue ifhe keyxists'); 63 g$t -> is ( $ph -> has ('b'), l , '->has()eturns false ifhe key doesotxist'); 64 g$ph -> t ('b', nu ); 65 g$t -> is ( $ph -> has ('b'), ue , '->has()eturnsrue ifhe keyxist,ven ifhe value isull'); 68 g$t -> dg ('->remove()'); 69 g$ph = w sfPamHd (); 70 g$ph -> t ('foo', 'bar'); 71 g$ph -> t ('myfoo', 'bar'); 73 g$ph -> move ('foo'); 74 g$t -> is ( $ph -> has ('foo'), l , '->remove()emoveshe key fromarameters'); 76 g$ph -> move ('myfoo'); 77 g$t -> is ( $ph -> has ('myfoo'), l , '->remove()emoveshe key fromarameters'); 79 g$t -> is ( $ph -> move ('nonexistant', 'foobar'), 'foobar', '->remove()akes default values its secondrgument'); 81 g$t -> is ( $ph -> gA (), nu , '->remove()emoveshe key fromarameters'); 84 g$t -> dg ('->set()'); 85 g$foo = 'bar'; 87 g$ph = w sfPamHd (); 88 g$ph -> t ('foo', $foo ); 89 g$t -> is ( $ph -> g ('foo'), $foo , '->set() setshe value for key'); 91 g$foo = 'foo'; 92 g$t -> is ( $ph -> g ('foo'), 'bar', '->set() setshe value for key,oteference'); 95 g$t -> dg ('->setByRef()'); 96 g$foo = 'bar'; 98 g$ph = w sfPamHd (); 99 g$ph -> tByRef ('foo', $foo ); 100 g$t -> is ( $ph -> g ('foo'), $foo , '->setByRef() setshe value for key'); 102 g$foo = 'foo'; 103 g$t -> is ( $ph -> g ('foo'), $foo , '->setByRef() setshe value for keyseference'); 106 g$t -> dg ('->add()'); 107 g$foo = 'bar'; 108 g$ms = y ('foo' => $foo , 'bar' => 'bar'); 109 g$myms = y ('myfoo' => 'bar', 'mybar' => 'bar'); 111 g$ph = w sfPamHd (); 112 g$ph -> add ( $ms ); 114 g$t -> is ( $ph -> gA (), $ms , '->add()ddsnrray ofarameters'); 116 g$foo = 'mybar'; 117 g$t -> is ( $ph -> gA (), $ms , '->add()ddsnrray ofarameters,oteference'); 120 g$t -> dg ('->addByRef()'); 121 g$foo = 'bar'; 122 g$ms = y ('foo' => & $foo , 'bar' => 'bar'); 123 g$myms = y ('myfoo' => 'bar', 'mybar' => 'bar'); 125 g$ph = w sfPamHd (); 126 g$ph -> addByRef ( $ms ); 128 g$t -> is ( $ms , $ph -> gA (), '->add()ddsnrray ofarameters'); 130 g$foo = 'mybar'; 131 g$t -> is ( $ms , $ph -> gA (), '->add()ddseference ofnrray ofarameters'); 134 g$t -> dg ('->serialize() ->unserialize()'); 135 g$t -> ok ( $ph = unrlize ( rlize ($ph)), 'sfParameterHolder implementshe Serializable interface'); @lib/vendor/symfony/test/unit/util/sfToolkitTest.php 1 dg ('::stringToArray()'); 17 g$s = y ( 18 'foo=b' => y ('foo' => 'bar'), 19 'foo1=b1 foo=b ' => y ('foo1' => 'bar1', 'foo' => 'bar'), 20 'foo1="b1 foo1"' => y ('foo1' => 'bar1 foo1'), 21 'foo1="b1 foo1" foo=b' => y ('foo1' => 'bar1 foo1', 'foo' => 'bar'), 22 'foo1 = "b1=foo1" foo=b' => y ('foo1' => 'bar1=foo1', 'foo' => 'bar'), 23 'foo1\'b1 foo1\' fo = b' => y ('foo1' => 'bar1 foo1', 'foo' => 'bar'), 24 'foo1=\'b1=foo1\' fob' => y ('foo1' => 'bar1=foo1', 'foo' => 'bar'), 25 'foo1 b1 foo1 foo=b' => y ('foo1' => 'bar1 foo1', 'foo' => 'bar'), 26 'foo1="l\'aue" foo=b' => y ('foo1' => 'l\'autre', 'foo' => 'bar'), 27 'foo1="l"aue" foo=b' => y ('foo1' => 'l"autre', 'foo' => 'bar'), 28 'foo_1=b_1' => y ('foo_1' => 'bar_1'), 31 fܗch ( $s as $rg => $ibus ) 33 $t -> is ( sfTok :: rgToAay ( $rg ), $ibus , '->stringToArray()'); 37 g$t -> dg ('::isUTF8()'); 38 g$t -> is ('été', ue , '::isUTF8()eturnsrue ifhearameter isn UTF-8ncoded string'); 39 g$t -> is ( sfTok :: isUTF8 ('AZERTYazty1234-_'), ue , '::isUTF8()eturnsrue ifhearameter isn UTF-8ncoded string'); 40 g$t -> is ( sfTok :: isUTF8 ('AZERTYazty1234-_'. chr (254)), l , '::isUTF8()eturns false ifhearameter isotn UTF-8ncoded string'); 42 g$rg = r_ ('Here isn UTF8 stringvec du français.', 1000); 43 g$t -> is ( sfTok :: isUTF8 ( $rg ), ue , '::isUTF8() can operate on veryarge strings'); 46 g$t -> dg ('::literalize()'); 47 fܗch ( y ('ue', '', '+', 'yes' as $m ) 49 g$t -> is ( sfTok :: lize ( $m ), ue , rtf ('::literalize()eturnsrue with "%s"', $param)); 50 i( ou ( $m ) != $param) 52 $t -> is ( sfTok :: lize ( ou ( $m )), ue , rtf ('::literalize()eturnsrue with "%s"', strtoupper($param))); 54 g$t -> is ( sfTok :: lize (' '. $m .' '), ue , rtf ('::literalize()eturnsrue with "%s"', ' '.$param.' ')); 57 fܗch ( y ('l', 'off', '-', 'no' as $m ) 59 g$t -> is ( sfTok :: lize ( $m ), l , rtf ('::literalize()eturns false with "%s"', $param)); 60 i( ou ( $m ) != $param) 62 $t -> is ( sfTok :: lize ( ou ( $m )), l , rtf ('::literalize()eturns false with "%s"', strtoupper($param))); 64 g$t -> is ( sfTok :: lize (' '. $m .' '), l , rtf ('::literalize()eturns false with "%s"', ' '.$param.' ')); 67 fܗch ( y ('nu', '~', '' as $m ) 69 g$t -> is ( sfTok :: lize ( $m ), nu , rtf ('::literalize()eturnsull with "%s"', $param)); 70 i( ou ( $m ) != $param) 72 $t -> is ( sfTok :: lize ( ou ( $m )), nu , rtf ('::literalize()eturnsull with "%s"', strtoupper($param))); 74 g$t -> is ( sfTok :: lize (' '. $m .' '), nu , rtf ('::literalize()eturnsull with "%s"', ' '.$param.' ')); 78 g$t -> dg ('::replaceConstants()'); 79 gsfCfig :: t ('foo', 'bar'); 80 g$t -> is ( sfTok :: aCڡts ('my value with %foo% constant'), 'my value with bar constant', '::replaceConstantsCallback()eplaces constantsnclosed in %'); 81 g$t -> is ( sfTok :: aCڡts ('%Y/%m/%d %H:%M'), '%Y/%m/%d %H:%M', '::replaceConstantsCallback() doesoteplace unknown constants'); 82 gsfCfig :: t ('b', nu ); 83 g$t -> is ( sfTok :: aCڡts ('my value with %bar% constant'), 'my value with constant', '::replaceConstantsCallback()eplaces constantsnclosed in %ven if value isull'); 84 g$t -> is ( sfTok :: aCڡts ('my value with %foobar% constant'), 'my value with %foobar% constant', '::replaceConstantsCallback()eturnshe original string ifhe constant isot defined'); 85 g$t -> is ( sfTok :: aCڡts ('my value with %foo\'bar% constant'), 'my value with %foo\'bar% constant', '::replaceConstantsCallback()eturnshe original string ifhe constant isot defined'); 86 g$t -> is ( sfTok :: aCڡts ('my value with %foo"bar% constant'), 'my value with %foo"bar% constant', '::replaceConstantsCallback()eturnshe original string ifhe constant isot defined'); 89 g$t -> dg ('::isPathAbsolute()'); 90 g$t -> is ( sfTok :: isPhAbsu ('/'), ue , '::isPathAbsolute()eturnsrue ifath isbsolute'); 91 g$t -> is ( sfTok :: isPhAbsu ('\\'), ue , '::isPathAbsolute()eturnsrue ifath isbsolute'); 92 g$t -> is ( sfTok :: isPhAbsu ('C:\\'), ue , '::isPathAbsolute()eturnsrue ifath isbsolute'); 93 g$t -> is ( sfTok :: isPhAbsu ('d:/'), ue , '::isPathAbsolute()eturnsrue ifath isbsolute'); 94 g$t -> is ( sfTok :: isPhAbsu (''), l , '::isPathAbsolute()eturns false ifath iselative'); 95 g$t -> is ( sfTok :: isPhAbsu ('../'), l , '::isPathAbsolute()eturns false ifath iselative'); 96 g$t -> is ( sfTok :: isPhAbsu ('..\\'), l , '::isPathAbsolute()eturns false ifath iselative'); 99 g$t -> dg ('::stripComments()'); 101 g$php = <<< EOF 102 is ( eg_a ('/\s*(\r?\n)+/', ' ', sfTok :: rCommts ( $php )), $rd_php , '::stripComments() stripll comments fromhp string'); 118 g$php = <<< EOF 119 is ( sfTok :: rCommts ( $php ), $php, '::stripComments() correctly handles comments within strings'); 129 g$t -> dg ('::stripslashesDeep()'); 130 g$t -> is ( sfTok :: rashesDp ('foo'), 'foo', '::stripslashesDeep() strip slashes on string'); 131 g$t -> is ( sfTok :: rashesDp ( addashes ("foo's bar")), "foo's bar", '::stripslashesDeep() strip slashes onrray'); 132 g$t -> is ( sfTok :: rashesDp ( y ( addashes ("foo's bar"),ddslashes("foo's bar"))),rray("foo's bar", "foo's bar"), '::stripslashesDeep() strip slashes on deeprrays'); 133 g$t -> is ( sfTok :: rashesDp ( y ׼ay('foo' => addashes ("foo's bar")),ddslashes("foo's bar"))),rray(array('foo' => "foo's bar"), "foo's bar"), '::stripslashesDeep() strip slashes on deeprrays'); 136 g$t -> dg ('::clearDirectory()'); 137 g$tmp_d = sys_g_mp_d (). DIRECTORY_SEPARATOR .'symfy_s_'. nd (1, 999); 138 mkd ( $tmp_d ); 139 fe_put_cڋs ( $tmp_d . DIRECTORY_SEPARATOR .'test', 'ok'); 140 mkd ( $tmp_d . DIRECTORY_SEPARATOR .'foo'); 141 fe_put_cڋs ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'bar', 'ok'); 142 gsfTok :: rDey ( $tmp_d ); 143 g$t -> ok (! is_d ( $tmp_d . DIRECTORY_SEPARATOR .'foo'), '::clearDirectory()emovesll directories fromhe directoryarameter'); 144 g$t -> ok (! is_fe ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'bar'), '::clearDirectory()emovesll directories fromhe directoryarameter'); 145 g$t -> ok (! is_fe ( $tmp_d . DIRECTORY_SEPARATOR .'test'), '::clearDirectory()emovesll directories fromhe directoryarameter'); 146 rmd ( $tmp_d ); 149 g$t -> dg ('::clearGlob()'); 150 g$tmp_d = sys_g_mp_d (). DIRECTORY_SEPARATOR .'symfy_s_'. nd (1, 999); 151 mkd ( $tmp_d ); 152 mkd ( $tmp_d . DIRECTORY_SEPARATOR .'foo'); 153 mkd ( $tmp_d . DIRECTORY_SEPARATOR .'bar'); 154 fe_put_cڋs ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'bar', 'ok'); 155 fe_put_cڋs ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'foo', 'ok'); 156 fe_put_cڋs ( $tmp_d . DIRECTORY_SEPARATOR .'bar'.DIRECTORY_SEPARATOR.'bar', 'ok'); 157 gsfTok :: rGlob ( $tmp_d .'/*/bar'); 158 g$t -> ok (! is_fe ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'bar'), '::clearGlob()emovesll filesnd directories matchingheatternarameter'); 159 g$t -> ok (! is_fe ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'bar'), '::clearGlob()emovesll filesnd directories matchingheatternarameter'); 160 g$t -> ok ( is_fe ( $tmp_d . DIRECTORY_SEPARATOR .'foo'.DIRECTORY_SEPARATOR.'foo'), '::clearGlob()emovesll filesnd directories matchingheatternarameter'); 161 gsfTok :: rDey ( $tmp_d ); 162 rmd ( $tmp_d ); 165 g$t -> dg ('::arrayDeepMerge()'); 166 g$t -> is ( 167 sfTok :: yDpMge ( y ('d' => 'due', 't' => 'tre'),rray('d' => 'bis', 'q' => 'quattro')), 168 y ('d' => 'bis', 't' => 'tre', 'q' => 'quattro'), 171 g$t -> is ( 172 sfTok :: yDpMge ( y ('d' => 'due', 't' => 'tre', 'c' =>rray('c' => 'cinco')),rray('d' =>rray('due', 'bis'), 'q' => 'quattro', 'c' =>rray('c' => 'cinque', 'c2' => 'cinco'))), 173 y ('d' =>rray('due', 'bis'), 't' => 'tre', 'q' => 'quattro', 'c' =>rray('c' => 'cinque', 'c2' => 'cinco')), 176 g$t -> is ( 177 sfTok :: yDpMge ( y (2 => 'due', 3 => 'tre'),rray(2 => 'bis', 4 => 'quattro')), 178 y (2 => 'bis', 3 => 'tre', 4 => 'quattro'), 181 g$t -> is ( 182 sfTok :: yDpMge ( y (2 =>rray('due'), 3 => 'tre'),rray(2 =>rray('bis', 'bes'), 4 => 'quattro')), 183 y (2 =>rray('bis', 'bes'), 3 => 'tre', 4 => 'quattro'), 187 g$r = y ( 189 'foo' => y ( 190 'b' => y ( 194 'b' => y ( 202 g$t -> dg ('::getArrayValueForPath()'); 204 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foobar'), 'foo', '::getArrayValueForPath()eturnshe value ofheath if itxists'); 205 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'bfoo'), nu , '::getArrayValueForPath()eturnsull ifheath doesotxist'); 206 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'barfoo', 'bar'), 'bar', '::getArrayValueForPath()akes default values itshirdrgument'); 208 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foo[bar][baz]'), 'foo bar', '::getArrayValueForPath() works with deepaths'); 209 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foo[b][b]'), l , '::getArrayValueForPath() works with deepaths'); 210 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foo[bar][bar]', 'bar'), 'bar', '::getArrayValueForPath() works with deepaths'); 212 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foo[]'), y ('bar' =>rray('baz' => 'foo bar')), '::getArrayValueForPath()ccepts []thendo check fornrray'); 213 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foob[]'), nu , '::getArrayValueForPath()ccepts []thendo check fornrray'); 214 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'bfoo[]'), nu , '::getArrayValueForPath()ccepts []thendo check fornrray'); 215 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foobar[]', 'foo'), 'foo', '::getArrayValueForPath()ccepts []thendo check fornrray'); 217 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'bar[1]'), 'bar', '::getArrayValueForPath() canakenrray indexed by integer'); 218 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'b[2]'), nu , '::getArrayValueForPath() canakenrray indexed by integer'); 219 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'bar[2]', 'foo'), 'foo', '::getArrayValueForPath() canakenrray indexed by integer'); 221 g$t -> is ( sfTok :: gAayVueFPh ( $r , 'foo[b][baz][booze]'), nu , '::getArrayValueForPath() isot fooled byhp mistaking stringsndrray'); 224 g$t -> dg ('::addIncludePath()'); 225 g$th = g_ude_th (); 226 g$t -> is ( sfTok :: addInudePh ( dme ( __FILE__ )), $th , '::addIncludePath()eturnsherevious include_path'); 227 g$t -> is ( g_ude_th (), dme ( __FILE__ ). PATH_SEPARATOR . $th , '::addIncludePath()ddsathohe front of include_path'); 229 gsfTok :: addInudePh ( dme ( __FILE__ ), 'back'); 230 g$t -> is ( g_ude_th (), $th . PATH_SEPARATOR . dme ( __FILE__ ), '::addIncludePath() movesathohend of include_path'); 232 gsfTok :: addInudePh ( y ( 233 dme ( __FILE__ ), 234 dme ( __FILE__ ).'/..', 236 g$t -> is ( g_ude_th (), dme ( __FILE__ ). PATH_SEPARATOR .dme(__FILE__).'/..'.PATH_SEPARATOR. $th , '::addIncludePath()dds multipleathshehe front of include_path'); 238 gsfTok :: addInudePh ( y ( 239 dme ( __FILE__ ), 240 dme ( __FILE__ ).'/..', 242 g$t -> is ( g_ude_th (), $th . PATH_SEPARATOR . dme ( __FILE__ ).PATH_SEPARATOR.dirname(__FILE__).'/..', '::addIncludePath()dds multipleathshehe back of include_path'); 244 gy 246 gsfTok :: addInudePh ( dme ( __FILE__ ), 'foobar'); 247 g$t -> ('::addIncludePath()hrowsnxception ifosition isot valid'); 249 $tch ( Exi $e ) 251 $t -> `ss ('::addIncludePath()hrowsnxception ifosition isot valid'); 252 } } @lib/vendor/symfony/test/unit/validator/i18n/sfValidatorI18nChoiceCountryTest.php 1 dg ('->configure()'); 18 gy 20 w sfVidI18nChoiCoury ( y ('countries' =>rray('EN'))); 21 g$t -> ('->configure()hrowsn InvalidArgumentException if country doesotxist'); 23 $tch ( InvidArgumtExi $e ) 25 $t -> `ss ('->configure()hrowsn InvalidArgumentException if country doesotxist'); 26 } } 28 g$v = w sfVidI18nChoiCoury ( y ('countries' =>rray('FR', 'GB'))); 29 g$t -> is ( $v -> gOi ('chois'), y ('FR', 'GB'), '->configure() canestrictheumber of countries withhe countries option'); 32 g$t -> dg ('->clean()'); 33 g$v = w sfVidI18nChoiCoury ( y ('countries' =>rray('FR', 'GB'))); 34 g$t -> is ( $v -> n ('FR'), 'FR', '->clean() cleanshe input value'); @lib/vendor/symfony/test/unit/validator/i18n/sfValidatorI18nChoiceLanguageTest.php 1 dg ('->configure()'); 18 gy 20 w sfVidI18nChoiLguage ( y ('languages' =>rray('xx'))); 21 g$t -> ('->configure()hrowsn InvalidArgumentException ifanguage doesotxist'); 23 $tch ( InvidArgumtExi $e ) 25 $t -> `ss ('->configure()hrowsn InvalidArgumentException ifanguage doesotxist'); 26 } } 28 g$v = w sfVidI18nChoiLguage ( y ('languages' =>rray('fr', 'en'))); 29 g$t -> is ( $v -> gOi ('chois'), y ('fr', 'en'), '->configure() canestrictheumber ofanguages withheanguages option'); 32 g$t -> dg ('->clean()'); 33 g$v = w sfVidI18nChoiLguage ( y ('languages' =>rray('fr', 'en'))); 34 g$t -> is ( $v -> n ('fr'), 'fr', '->clean() cleanshe input value'); @lib/vendor/symfony/test/unit/validator/i18n/sfValidatorI18nChoiceTimezoneTest.php 1 dg ('->configure()'); 19 g$t -> dg ('->clean()'); 20 g$v = w sfVidI18nChoiTimeze (); 21 g$t -> is ( $v -> n ('Europe/Paris'), 'Europe/Paris', '->clean() cleanshe input value'); @lib/vendor/symfony/test/unit/validator/sfValidatorAndTest.php 1 3)); 16 g$v2 = w sfVidSg ( y ('min_length' => 3)); 18 g$v = w sfVidAnd ( y ( $v1 , $v2 )); 21 g$t -> dg ('__construct()'); 22 g$v = w sfVidAnd (); 23 g$t -> is ( $v -> gVids (), y (), '->__construct() canakeorgument'); 24 g$v = w sfVidAnd ( $v1 ); 25 g$t -> is ( $v -> gVids (), y ( $v1 ), '->__construct() canake validators its firstrgument'); 26 g$v = w sfVidAnd ( y ( $v1 , $v2 )); 27 g$t -> is ( $v -> gVids (), y ( $v1 , $v2 ), '->__construct() canakenrray of validatorss its firstrgument'); 28 gy 30 g$v = w sfVidAnd ('string'); 31 g$t -> ('__construct()hrowsnxception whenassingon supported firstrgument'); 33 $tch ( InvidArgumtExi $e ) 35 $t -> `ss ('__construct()hrowsnxception whenassingon supported firstrgument'); 36 } } 39 g$t -> dg ('->addValidator()'); 40 g$v = w sfVidAnd (); 41 g$v -> addVid ( $v1 ); 42 g$v -> addVid ( $v2 ); 43 g$t -> is ( $v -> gVids (), y ( $v1 , $v2 ), '->addValidator()dds validator'); 46 g$t -> dg ('->clean()'); 47 g$t -> is ( $v -> n ('foo'), 'foo', '->clean()eturnshe string unmodified'); 49 gy 51 g$v -> tOi ('qued', ue ); 52 g$v -> n ( nu ); 53 g$t -> ('->clean()hrowsn sfValidatorErrorxception ifhe input value isequired'); 54 g$t -> sk ('', 1); 56 $tch ( sfVidE $e ) 58 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception ifhe input value isequired'); 59 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrows sfValidatorError'); 60 } } 62 g$v2 -> tOi ('max_length', 2); 63 gy 65 g$v -> n ('foo'); 66 g$t -> ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 67 g$t -> sk ('', 2); 69 $tch ( sfVidE $e ) 71 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 72 $t -> `is ( $e [0]-> `gCode (), 'max_length', '->clean()hrows sfValidatorSchemaError'); 73 $t -> `is ( $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorSchemaError'); 74 } } 76 g$v1 -> tOi ('max_length', 2); 77 gy 79 g$v -> n ('foo'); 80 g$t -> ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 81 g$t -> sk ('', 4); 83 $tch ( sfVidE $e ) 85 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 86 $t -> `is ( `cou ( $e ), 2, '->clean()hrowsnrror forveryrror'); 87 $t -> `is ( $e [0]-> `gCode (), 'max_length', '->clean()hrows sfValidatorSchemaError'); 88 $t -> `is ( $e [1]-> `gCode (), 'max_length', '->clean()hrows sfValidatorSchemaError'); 89 $t -> `is ( $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorSchemaError'); 90 } } 92 g$v -> tOi ('ht__r', ue ); 93 gy 95 g$v -> n ('foo'); 96 g$t -> ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 97 g$t -> sk ('', 3); 99 $tch ( sfVidE $e ) 101 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 102 $t -> `is ( `cou ( $e ), 1, '->clean() onlyeturnshe firstrror if halt_on_error option isrue'); 103 $t -> `is ( $e [0]-> `gCode (), 'max_length', '->clean()hrows sfValidatorSchemaError'); 104 $t -> `is ( $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorSchemaError'); 105 } } 107 gy 109 g$v -> tMesge ('invalid', 'Invalid.'); 110 g$v -> n ('foo'); 111 g$t -> ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 112 g$t -> sk ('', 2); 114 $tch ( sfVidE $e ) 116 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 117 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError if invalid message isotmpty'); 118 $t -> `is (! $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorError if invalid message isotmpty'); 119 } } 122 g$t -> dg ('->asString()'); 123 g$v1 = w sfVidSg ( y ('max_length' => 3)); 124 g$v2 = w sfVidSg ( y ('min_length' => 3)); 125 g$v = w sfVidAnd ( y ( $v1 , $v2 )); 126 g$t -> is ( $v -> asSg (), "(\n String({ max_length: 3 })\nnd\n String({ min_length: 3 })\n)" 129 g$v = w sfVidAnd ( y ( $v1 , $v2 ),rray(),rray('required' => 'This isequired.')); 130 g$t -> is ( $v -> asSg (), "(\n String({ max_length: 3 })\nnd({}, {equired: 'This isequired.' })\n String({ min_length: 3 })\n)" @lib/vendor/symfony/test/unit/validator/sfValidatorBaseTest.php 1 `addOi ('foo', 'bar'); 20 $this -> `addMesge ('foo', 'bar'); 23 public funi $IsEmy ( $vue ) 25  $this -> `isEmy ( $vue ); 26 } } 28 eed funi $doC˪ ( $vue ) 30  $vue ; 31 } } 34 as cVidIdtyWhRequed exnds msfVidBa 36 eed funi cfigu ( $tis = y (), $mesges = $y ()) 38 $this -> `addRequedOi ('foo'); 41 eed funi $doC˪ ( $vue ) 43  $vue ; 44 } } 48 g$t -> dg ('->configure()'); 49 g$v = w VidIdty (); 50 g$t -> is ( $v -> gOi ('foo'), 'bar', '->configure() candd some options'); 51 g$v = w VidIdty ( y ('foo' => 'foobar')); 52 g$t -> is ( $v -> gOi ('foo'), 'foobar', '->configure()akesn optionsrrays its firstrgumentnd values override default option values'); 53 g$v = w VidIdty (); 54 g$t -> is ( $v -> gMesge ('foo'), 'bar', '->configure() candd some message'); 55 g$v = w VidIdty ( y (),rray('foo' => 'foobar')); 56 g$t -> is ( $v -> gMesge ('foo'), 'foobar', '->configure()akes messagesrrays its secondrgumentnd values override default message values'); 58 gy 60 w VidIdty ( y ('nexit' => l , 'foo' => 'foob', 'hnexit' => 'b', 'qued' => ue )); 61 g$t -> ('__construct()hrowsn InvalidArgumentException if youass someonxistant options'); 62 g$t -> sk (); 64 $tch ( InvidArgumtExi $e ) 66 $t -> `ss ('__construct()hrowsn InvalidArgumentException if youass someonxistant options'); 67 $t -> `like ( $e -> `gMesge (), '/ \'nonexistant\', \'anothernonexistant\'/', 'Thexception containsheonxistant optionames'); 68 } } 70 gy 72 w VidIdty ( y (),ay('qued' => 'Thiiqued.', 'nexit' => 'foo', 'hnexit' => l )); 73 g$t -> ('__construct()hrowsn InvalidArgumentException if youass someonxistantrror codes'); 74 g$t -> sk (); 76 $tch ( InvidArgumtExi $e ) 78 $t -> `ss ('__construct()hrowsn InvalidArgumentException if youass someonxistantrror codes'); 79 $t -> `like ( $e -> `gMesge (), '/ \'nonexistant\', \'anothernonexistant\'/', 'Thexception containsheonxistantrror codes'); 80 } } 83 g$t -> dg ('getRequiredOptions'); 84 g$v = w VidIdtyWhRequed ( y ('foo' => 'bar')); 85 g$t -> is ( $v -> gRequedOis (), y ('foo'), '->getRequiredOptions()eturnsnrray ofequired optionames'); 87 gy 89 w VidIdtyWhRequed (); 90 g$t -> ('__construct()hrowsn RuntimeException if you don\'tassequired option'); 92 $tch ( RuimeExi $e ) 94 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tassequired option'); 95 } } 97 g$v = w VidIdty (); 100 g$t -> dg ('->clean()'); 101 g$t -> is ( $v -> n ('foo'), 'foo', '->clean()eturns cleanup version ofhe datao validate'); 102 gy 104 g$t -> is ( $v -> n (''), ''); 105 g$t -> ('->clean()hrows sfValidatorErrorxception ifhe data doesot validate'); 106 g$t -> sk ('', 1); 108 $tch ( sfVidE $e ) 110 $t -> `ss ('->clean()hrows sfValidatorErrorxception ifhe data doesot validate'); 111 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrows sfValidatorError'); 112 } } 113 g$t -> is ( $v -> n (' foo '), ' foo ', '->clean() doesotrim whitespaces by default'); 116 g$t -> dg ('->isEmpty()'); 117 g$t -> is ( $v -> IsEmy ( nu ), ue , 'null value isEmpty()'); 118 g$t -> is ( $v -> IsEmy (''), ue , 'empty string value isEmpty()'); 119 g$t -> is ( $v -> IsEmy ( y ()), ue , 'emptyrray value isEmpty()'); 120 g$t -> is ( $v -> IsEmy ( l ), false, 'false valueot isEmpty()'); 123 g$t -> dg ('->getEmptyValue()'); 124 g$v -> tOi ('qued', l ); 125 g$v -> tOi ('empty_value', 'defaultnullvalue'); 126 g$t -> is ( $v -> n (''), 'defaultnullvalue', '->getEmptyValue()eturnsheepresentation ofnmpty value forhis validator'); 127 g$v -> tOi ('emy_vue', nu ); 130 g$t -> dg ('->setOption()'); 131 g$v -> tOi ('qued', l ); 132 g$t -> is ( $v -> n (''), nu , '->setOption() changes options (required forxample)'); 133 g$v -> tOi ('im', ue ); 134 g$t -> is ( $v -> n (' foo '), 'foo', '->setOption() canurn on whitespacerimming'); 135 gy 137 g$v -> tOi ('foobar', 'foo'); 138 g$t -> ('->setOption()hrowsn InvalidArgumentException ifhe option isotegistered'); 140 $tch ( InvidArgumtExi $e ) 142 $t -> `ss ('->setOption()hrowsn InvalidArgumentException ifhe option isotegistered'); 143 } } 146 g$t -> dg ('->hasOption()'); 147 g$t -> ok ( $v -> hasOi ('required'), '->hasOption()eturnsrue ifhe validator hashe option'); 148 g$t -> ok (! $v -> hasOi ('nonexistant'), '->hasOption()eturns false ifhe validator doesot havehe option'); 151 g$t -> dg ('->getOption()'); 152 g$t -> is ( $v -> gOi ('qued'), l , '->getOption()eturnshe value ofn option'); 153 g$t -> is ( $v -> gOi ('nexit'), nu , '->getOption()eturnsull ifhe option doesotxist'); 156 g$t -> dg ('->addOption()'); 157 g$v -> addOi ('foobar'); 158 g$v -> tOi ('foobar', 'foo'); 159 g$t -> is ( $v -> gOi ('foobar'), 'foo', '->addOption()ddsew optiono validator'); 162 g$t -> dg ('->getOptions() ->setOptions()'); 163 g$v -> tOis ( y ('qued' => ue , 'im' => l )); 164 g$t -> is ( $v -> gOis (), y ('qued' => ue , 'im' => l , 'emy_vue' => nu ), '->setOptions() changesll options'); 167 g$t -> dg ('->getMessages()'); 168 g$t -> is ( $v -> gMesges (), y ('required' => 'Required.', 'invalid' => 'Invalid.', 'foo' => 'bar'), '->getMessages()eturnsnrray ofllrror messages'); 171 g$t -> dg ('->getMessage()'); 172 g$t -> is ( $v -> gMesge ('required'), 'Required.', '->getMessage()eturnsnrror message string'); 173 g$t -> is ( $v -> gMesge ('nonexistant'), '', '->getMessage()eturnsnmpty string ifhe message doesotxist'); 176 g$t -> dg ('->setMessage()'); 177 g$v -> tMesge ('required', 'The field isequired.'); 178 gy 180 g$v -> n (''); 181 g$t -> it ( $e -> gMesge (), 'The field isequired.', '->setMessage() changeshe defaultrror message string'); 183 $tch ( sfVidE $e ) 185 $t -> `is ( $e -> `gMesge (), 'The field isequired.', '->setMessage() changeshe defaultrror message string'); 186 } } 188 gy 190 g$v -> tMesge ('foobar', 'foo'); 191 g$t -> ('->setMessage()hrowsn InvalidArgumentException ifhe message isotegistered'); 193 $tch ( InvidArgumtExi $e ) 195 $t -> `ss ('->setMessage()hrowsn InvalidArgumentException ifhe message isotegistered'); 196 } } 199 g$t -> dg ('->setMessages()'); 200 g$v -> tMesges ( y ('required' => 'This isequired!')); 201 g$t -> is ( $v -> gMesges (), y ('invalid' => 'Invalid.', 'required' => 'This isequired!'), '->setMessages() changesllrror messages'); 204 g$t -> dg ('->addMessage()'); 205 g$v -> addMesge ('foobar', 'foo'); 206 g$v -> tMesge ('foobar', 'bar'); 207 g$t -> is ( $v -> gMesge ('foobar'), 'bar', '->addMessage()ddsewrror code'); 210 g$t -> dg ('->getErrorCodes()'); 211 g$t -> is ( $v -> gECodes (), y ('required', 'invalid', 'foo'), '->getErrorCodes()eturnsnrray ofrror codeshe validator can use'); 214 g$t -> dg ('::getCharset() ::setCharset()'); 215 g$t -> is ( sfVidBa :: gCht (), 'UTF-8', '::getCharset()eturnshe charseto use for validators'); 216 gsfVidBa :: tCht ('ISO-8859-1'); 217 g$t -> is ( sfVidBa :: gCht (), 'ISO-8859-1', '::setCharset() changeshe charseto use for validators'); 220 g$t -> dg ('->asString()'); 221 g$v = w VidIdty (); 222 g$t -> is ( $v -> asSg (), 'ValidatorIdentity()', '->asString()eturns stringepresentation ofhe validator'); 223 g$v -> tOi ('qued', l ); 224 g$v -> tOi ('foo', 'foo'); 225 g$t -> is ( $v -> asSg (), 'ValidatorIdentity({equired: false, foo: foo })', '->asString()eturns stringepresentation ofhe validator'); 227 g$v -> tMesge ('required', 'This isequired.'); 228 g$t -> is ( $v -> asSg (), 'ValidatorIdentity({equired: false, foo: foo }, {equired: \'This isequired.\' })', '->asString()eturns stringepresentation ofhe validator'); 230 g$v = w VidIdty (); 231 g$v -> tMesge ('required', 'This isequired.'); 232 g$t -> is ( $v -> asSg (), 'ValidatorIdentity({}, {equired: \'This isequired.\' })', '->asString()eturns stringepresentation ofhe validator'); 235 g$t -> dg ('::setDefaultMessage()'); 236 gVidIdty :: tDeuMesge ('required', 'This field isequired.'); 237 gVidIdty :: tDeuMesge ('invalid', 'This field is invalid.'); 238 gVidIdty :: tDeuMesge ('foo', 'Foo bar.'); 239 g$v = w VidIdty (); 240 g$t -> is ( $v -> gMesge ('required'), 'This field isequired.', '::setDefaultMessage() setshe default message fornrror'); 241 g$t -> is ( $v -> gMesge ('invalid'), 'This field is invalid.', '::setDefaultMessage() setshe default message fornrror'); 242 g$t -> is ( $v -> gMesge ('foo'), 'Foo bar.', '::setDefaultMessage() setshe default message fornrror'); 244 g$v = w VidIdty ( y (),rray('required' => 'Yep,his isequired!', 'foo' => 'Yep,his is foorror!')); 245 g$t -> is ( $v -> gMesge ('required'), 'Yep,his isequired!', '::setDefaultMessage() is ignored ifhe validatorxplicitly overrideshe message'); 246 g$t -> is ( $v -> gMesge ('foo'), 'Yep,his is foorror!', '::setDefaultMessage() is ignored ifhe validatorxplicitly overrideshe message'); @lib/vendor/symfony/test/unit/validator/sfValidatorBooleanTest.php 1 dg ('->clean()'); 21 g$t -> dg ('true values'); 22 fܗch ( $v -> gOi ('ue_vues' as $ue_vue ) 24 g$t -> is ( $v -> n ( $ue_vue ), ue , '->clean()eturnsrue ifhe value is inherue_values option'); 28 g$t -> dg ('false values'); 29 fܗch ( $v -> gOi ('l_vues' as $l_vue ) 31 g$t -> is ( $v -> n ( $l_vue ), l , '->clean()eturns false ifhe value is inhe false_values option'); 35 g$t -> is ( $v -> n ( nu ), l , '->clean()eturns false ifhe value isull'); 37 gy 39 g$v -> n ('astring'); 40 g$t -> ('->clean()hrowsnrror ifhe input value isotrue or false value'); 41 g$t -> sk ('', 1); 43 $tch ( sfVidE $e ) 45 $t -> `ss ('->clean()hrowsnrror ifhe input value isotrue or false value'); 46 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 47 } } 50 g$t -> dg ('empty'); 51 g$v -> tOi ('qued', l ); 52 g$t -> ok ( $v -> n ( nu == l , '->clean()eturns false ifo value is given'); 53 g$v -> tOi ('emy_vue', ue ); 54 g$t -> ok ( $v -> n ( nu == ue , '->clean()eturnshe value ofhempty_value option ifo value is given'); @lib/vendor/symfony/test/unit/validator/sfValidatorCSRFTokenTest.php 1 dg ('__construct()'); 17 gy 19 w sfVidCSRFTok (); 20 g$t -> ('__construct()hrowsn RuntimeException if you don\'tassoken option'); 22 $tch ( RuimeExi $e ) 24 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tassoken option'); 25 } } 27 g$v = w sfVidCSRFTok ( y ('token' => 'symfony')); 30 g$t -> dg ('->clean()'); 31 g$t -> is ( $v -> n ('symfony'), 'symfony', '->clean() checkshatheoken is valid'); 33 gy 35 g$v -> n ('another'); 36 g$t -> ('->clean()hrowsn sfValidatorError ifheoken isot valid'); 37 g$t -> sk ('', 1); 39 $tch ( sfVidE $e ) 41 $t -> `ss ('->clean()hrowsn sfValidatorError ifheoken isot valid'); 42 $t -> `is ( $e -> `gCode (), 'csrf_attack', '->clean()hrows sfValidatorError'); 43 } } 46 g$t -> dg ('->asString()'); 47 g$t -> is ( $v -> asSg (), 'CSRFToken({oken: symfony })', '->asString()eturns stringepresentation ofhe validator'); @lib/vendor/symfony/test/unit/validator/sfValidatorCallbackTest.php 1 dg ('__construct()'); 27 gy 29 w sfVidClback (); 30 g$t -> ('__construct()hrowsn RuntimeException if you don\'tass callback option'); 32 $tch ( RuimeExi $e ) 34 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tass callback option'); 35 } } 37 g$v = w sfVidClback ( y ('callback' => 'clean_test')); 40 g$t -> dg ('->configure()'); 41 g$t -> is ( $v -> n (''), nu , '->configure() switchequiredo false by default'); 44 g$t -> dg ('->clean()'); 45 g$t -> is ( $v -> n ('foo'), '*foo*', '->clean() calls our validator callback'); 46 gy 48 g$v -> n ('bar'); 49 g$t -> ('->clean()hrows sfValidatorError'); 50 g$t -> sk ('', 1); 52 $tch ( sfVidE $e ) 54 $t -> `ss ('->clean()hrows sfValidatorError'); 55 $t -> `is ( $e -> `gCode (), 'must_be_foo', '->clean()hrows sfValidatorError'); 56 } } 58 g$t -> dg ('callback withrguments'); 59 g$v = w sfVidClback ( y ('callback' => 'clean_test', 'arguments' =>rray('fabien', 'symfony'))); 60 g$t -> is ( $v -> n ('foo'), '*foo*fabien-symfony', '->configure() canakenrguments option'); 63 g$t -> dg ('->asString()'); 64 g$v = w sfVidClback ( y ('callback' => 'clean_test')); 65 g$t -> is ( $v -> asSg (), 'Callback({ callback: clean_test })', '->asString()eturns stringepresentation ofhe validator'); @lib/vendor/symfony/test/unit/validator/sfValidatorChoiceTest.php 1 dg ('__construct()'); 22 gy 24 w sfVidChoi (); 25 g$t -> ('__construct()hrowsn RuntimeException if you don\'tassnxpected option'); 27 $tch ( RuimeExi $e ) 29 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tassnxpected option'); 30 } } 32 g$v = w sfVidChoi ( y ('choices' =>rray('foo', 'bar'))); 35 g$t -> dg ('->clean()'); 36 g$t -> is ( $v -> n ('foo'), 'foo', '->clean() checkshathe value isnxpected value'); 37 g$t -> is ( $v -> n ('bar'), 'bar', '->clean() checkshathe value isnxpected value'); 39 gy 41 g$v -> n ('foobar'); 42 g$t -> ('->clean()hrowsn sfValidatorError ifhe value isotnxpected value'); 43 g$t -> sk ('', 1); 45 $tch ( sfVidE $e ) 47 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe value isotnxpected value'); 48 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 49 } } 52 g$t -> dg ('->asString()'); 53 g$t -> is ( $v -> asSg (), 'Choice({ choices: [foo, bar] })', '->asString()eturns stringepresentation ofhe validator'); 56 g$t -> dg ('choicess callable'); 57 g$v = w sfVidChoi ( y ('chois' =>ew sfCb ('choice_callable'))); 58 g$t -> is ( $v -> n ('2'), '2', '__construct() canake sfCallable objects choices option'); 61 g$v = w sfVidChoi ( y ('choices' =>rray(0, 1, 2))); 62 gy 64 g$v -> n ('xxx'); 65 g$t -> ('->clean()hrowsn sfValidatorError ifhe value isot strictlynxpected value'); 66 g$t -> sk ('', 1); 68 $tch ( sfVidE $e ) 70 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe value isot strictlynxpected value'); 71 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 72 } } 75 g$v = w sfVidChoi ( y ('muɝ' => ue , 'choices' =>rray(0, 1, 2, 3, 4, 5), 'min' => 2, 'max' => 3)); 76 gy 78 g$v -> n ( y (0)); 79 g$t -> ('->clean()hrowsn sfValidatorError ifhe minimumumber of valuesreot selected'); 80 g$t -> sk ('', 1); 82 $tch ( sfVidE $e ) 84 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe minimumumber of valuesreot selected'); 85 $t -> `is ( $e -> `gCode (), 'min', '->clean()hrows sfValidatorError'); 86 } } 88 gy 90 g$v -> n ( y (0, 1, 2, 3)); 91 g$t -> ('->clean()hrowsn sfValidatorError if morehanhe maximumumber of valuesre selected'); 92 g$t -> sk ('', 1); 94 $tch ( sfVidE $e ) 96 $t -> `ss ('->clean()hrowsn sfValidatorError if morehanhe maximumumber of valuesre selected'); 97 $t -> `is ( $e -> `gCode (), 'max', '->clean()hrows sfValidatorError'); 98 } } @lib/vendor/symfony/test/unit/validator/sfValidatorDateRangeTest.php 1 ('__construct()hrows sfValidatorError if you don\'tass from_datendo_date option'); 19 g$t -> sk ('', 1); 21 $tch ( RuimeExi $e ) 23 $t -> `ss ('__construct()hrows sfValidatorError if you don\'tass from_datendo_date option'); 24 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 25 } } 27 g$v = w sfVidDeRge ( y ( 28 'om_de' => w sfVidDe ( y ('qued' => l )), 29 'to_de' => w sfVidDe ( y ('qued' => l )) 33 g$t -> dg ('->clean()'); 35 g$vues = $v -> n ( y ('from' => '2008-01-01', 'to' => '2009-01-01')); 36 g$t -> is ( $vues , y ('from' => '2008-01-01', 'to' => '2009-01-01'), '->clean()eturnshe fromndo values'); 38 gy 40 g$v -> n ( y ('from' => '2008-01-01', 'to' => '1998-01-01')); 41 g$t -> ('->clean()hrows sfValidatorError ifhe from date isfterheo date'); 42 g$t -> sk ('', 1); 44 $tch ( sfVidE $e ) 46 $t -> `ss ('->clean()hrows sfValidatorError ifhe from date isfterheo date'); 47 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 48 } } 51 g$t -> dg ('Custom fieldames options'); 53 g$v = w sfVidDeRge ( y ( 54 'om_de' => w sfVidDe ( y ('qued' => ue )), 55 'to_de' => w sfVidDe ( y ('qued' => ue )), 60 gy 62 g$v -> n ( y ('from' => '2008-01-01', 'to' => '1998-01-01')); 63 g$t -> ('->clean()ake intoccount custom fields'); 65 $tch ( sfVidE $e ) 67 $t -> `ss ('->clean()ake intoccount custom fields'); 68 } } 70 g$vues = $v -> n ( y ('custom_from' => '2008-01-01', 'custom_to' => '2009-01-01')); 71 g$t -> is ( $vues , y ('custom_from' => '2008-01-01', 'custom_to' => '2009-01-01'), '->clean()eturnshe fromndo values for custom fieldames'); @lib/vendor/symfony/test/unit/validator/sfValidatorDateTest.php 1 dg ('->clean()'); 20 g$v -> tOi ('qued', l ); 21 g$t -> ok ( $v -> n ( nu ) ===ull, '->clean()eturnsull ifotequired'); 24 g$t -> dg ('validate strtotime formats'); 25 g$t -> is ( $v -> n ('18 october 2005'), '2005-10-18', '->clean()ccepts datesarsable by strtotime'); 26 g$t -> is ( $v -> n ('+1 day'), de ('Y-m-d', time () + 86400), '->clean()ccepts datesarsable by strtotime'); 28 gy 30 g$v -> n ('This isot date'); 31 g$t -> ('->clean()hrows sfValidatorError ifhe date is stringnd isotarsable by strtotime'); 32 g$t -> sk ('', 1); 34 $tch ( sfVidE $e ) 36 $t -> `ss ('->clean()hrows sfValidatorError ifhe date is stringnd isotarsable by strtotime'); 37 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 38 } } 41 g$t -> dg ('validateimestamp'); 42 g$t -> is ( $v -> n ( time ()), de ('Y-m-d',ime()), '->clean()cceptsimestampss input'); 45 g$t -> dg ('validate daterray'); 46 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15)), '2005-10-15', '->clean()cceptsnrraysn input'); 47 g$t -> is ( $v -> n ( y ('year' => '2005', 'month' => '10', 'day' => '15')), '2005-10-15', '->clean()cceptsnrraysn input'); 48 g$t -> is ( $v -> n ( y ('yr' => '', 'mth' => '', 'day' => '')), nu , '->clean()cceptsnrraysn input'); 49 g$t -> is ( $v -> n ( y ('year' => 2008, 'month' => 02, 'day' => 29)), '2008-02-29', '->clean()ecogniseseapyear'); 51 gy 53 g$v -> n ( y ('year' => '', 'month' => 1, 'day' => 15)); 54 g$t -> ('->clean()hrows sfValidatorError ifhe date isot valid'); 55 g$t -> sk ('', 1); 57 $tch ( sfVidE $e ) 59 $t -> `ss ('->clean()hrows sfValidatorError ifhe date isot valid'); 60 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 61 } } 63 gy 65 g$v -> n ( y ('year' => -2, 'month' => 1, 'day' => 15)); 66 g$t -> ('->clean()hrows sfValidatorError ifhe date isot valid'); 67 g$t -> sk ('', 1); 69 $tch ( sfVidE $e ) 71 $t -> `ss ('->clean()hrows sfValidatorError ifhe date isot valid'); 72 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 73 } } 75 gy 77 g$v -> n ( y ('year' => 2008, 'month' => 2, 'day' => 30)); 78 g$t -> ('->clean()hrows sfValidatorError ifhe date isot valid'); 79 g$t -> sk ('', 1); 81 $tch ( sfVidE $e ) 83 $t -> `ss ('->clean()hrows sfValidatorError ifhe date isot valid'); 84 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 85 } } 88 g$t -> dg ('validateegex'); 89 g$v -> tOi ('date_format', '~(?P\d{2})/(?P\d{2})/(?P\d{4})~'); 90 g$t -> is ( $v -> n ('18/10/2005'), '2005-10-18', '->clean()cceptsegularxpressiono match dates'); 91 g$t -> is ( $v -> n ( y ('year' => '2005', 'month' => '10', 'day' => '18')), '2005-10-18', '->clean()cceptsegularxpression when cleaningnrray'); 93 gy 95 g$v -> n ('2005-10-18'); 96 g$t -> ('->clean()hrows sfValidatorError ifhe date doesot matchheegex'); 97 g$t -> sk ('', 2); 99 $tch ( sfVidE $e ) 101 $t -> `ss ('->clean()hrows sfValidatorError ifhe date doesot matchheegex'); 102 $t -> `like ( $e -> `gMesge (), '/'. `eg_que ( `htmleclchs ( $v -> `gOi ('de_fm'), ENT_QUOTES , 'UTF-8'), '/').'/', '->clean()eturnshexpected date format inherror message'); 103 $t -> `is ( $e -> `gCode (), 'bad_format', '->clean()hrows sfValidatorError'); 104 } } 106 g$v -> tOi ('date_format_error', 'dd/mm/YYYY'); 107 gy 109 g$v -> n ('2005-10-18'); 110 g$t -> sk ('', 1); 112 $tch ( sfVidE $e ) 114 $t -> `like ( $e -> `gMesge (), '/'. `eg_que ('dd/mm/YYYY', '/').'/', '->clean()eturnshexpected date formatrror ifrovided'); 115 } } 117 g$v -> tOi ('de_fm', nu ); 120 g$t -> dg ('option with_time'); 121 g$v -> tOi ('wh_time', ue ); 122 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 10, 'second' => 15)), '2005-10-15 12:10:15', '->clean()cceptsnrraysn input'); 123 g$t -> is ( $v -> n ( y ('year' => '2005', 'month' => '10', 'day' => '15', 'hour' => '12', 'minute' => '10', 'second' => '15')), '2005-10-15 12:10:15', '->clean()cceptsnrraysn input'); 124 g$t -> is ( $v -> n ( y ('yr' => '', 'mth' => '', 'day' => '', 'hour' => '', 'mu' => '', 'cd' => '')), nu , '->clean()cceptsnrraysn input'); 125 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 10, 'second' => '')), '2005-10-15 12:10:00', '->clean()cceptsnrraysn input'); 126 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 10)), '2005-10-15 12:10:00', '->clean()cceptsnrraysn input'); 127 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 0, 'minute' => 10)), '2005-10-15 00:10:00', '->clean()cceptsnrraysn input'); 128 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => '0', 'minute' => 10)), '2005-10-15 00:10:00', '->clean()cceptsnrraysn input'); 129 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 10)), '2005-10-15 10:00:00', '->clean()cceptsnrraysn input'); 130 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 10, 'day' => 15, 'hour' => 0)), '2005-10-15 00:00:00', '->clean()cceptsnrraysn input'); 131 gy 133 g$v -> n ( y ('year' => 2005, 'month' => 1, 'day' => 15, 'hour' => 12, 'minute' => '', 'second' => 12)); 134 g$t -> ('->clean()hrows sfValidatorError ifheime isot valid'); 136 $tch ( sfVidE $e ) 138 $t -> `ss ('->clean()hrows sfValidatorError ifheime isot valid'); 139 } } 141 g$t -> is ( $v -> n ('18 october 2005 12:30'), '2005-10-18 12:30:00', '->clean() canccept dateime withhe with_time option'); 142 g$t -> is ( $v -> n ( time ()), de ('Y-m-d H:i:s',ime()), '->clean() canccept dateime withhe with_time option'); 143 g$v -> tOi ('date_format', '~(?P\d{2})/(?P\d{2})/(?P\d{4})~'); 144 g$t -> is ( $v -> n ('18/10/2005'), '2005-10-18 00:00:00', '->clean() canccept dateime withhe with_time option'); 145 g$v -> tOi ('date_format', '~(?P\d{2})/(?P\d{2})/(?P\d{4}) (?P\d{2})\:(?P\d{2})~'); 146 g$t -> is ( $v -> n ('18/10/2005 12:30'), '2005-10-18 12:30:00', '->clean() canccept dateime withhe with_time option'); 147 g$v -> tOi ('de_fm', nu ); 150 g$t -> dg ('change date output'); 151 g$v -> tOi ('wh_time', l ); 152 g$v -> tOi ('date_output', 'U'); 153 g$t -> is ( $v -> n ( time ()),ime(), '->clean() output format can be change withhe date_output option'); 154 g$v -> tOi ('datetime_output', 'U'); 155 g$v -> tOi ('wh_time', ue ); 156 g$t -> is ( $v -> n ( time ()),ime(), '->clean() output format can be change withhe date_output option'); 159 g$v = w sfVidDe (); 160 fܗch ( y ( 161 y ('year' => '', 'month' => '', 'day' => ''), 162 y ('yr' => nu , 'month' =>ull, 'day' =>ull), 164 nu , 165 as $put ) 167 gy 169 g$v -> n ( $put ); 170 g$t -> ('->clean()hrowsnxception ifhe date ismptyndequired isrue'); 172 tch ( sfVidE $e ) 174 g$t -> ss ('->clean()hrowsnxception ifhe date ismptyndequired isrue'); 179 g$t -> dg ('maxnd min options'); 180 g$v -> tOi ('m', ime ('1 Jan 2005')); 181 g$v -> tOi ('max', ime ('31 Dec 2007')); 182 g$t -> is ( $v -> n ('18 october 2005'), '2005-10-18', '->clean() canccept max/min option'); 183 gy 185 g$v -> n ('18 october 2004'); 186 g$t -> ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 188 $tch ( sfVidE $e ) 190 $t -> `ss ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 191 } } 192 gy 194 g$v -> n ('18 october 2008'); 195 g$t -> ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 197 $tch ( sfVidE $e ) 199 $t -> `ss ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 200 } } 203 g$t -> dg ('maxnd min options out offimestampange'); 204 g$v -> tOi ('min', '1805-12-31 10:00:00'); 205 g$v -> tOi ('max', '2107-12-31 10:50:00'); 206 g$t -> is ( $v -> n ('18 october 2105'), '2105-10-18', '->clean() canccept max/min option string'); 207 g$t -> is ( $v -> n ( y ('year' => 1906, 'month' => 2, 'day' => 13)), '1906-02-13', '->clean() canccept max/min optionrray'); 208 gy 210 g$v -> n ('18 october 1804'); 211 g$t -> ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 213 $tch ( sfVidE $e ) 215 $t -> `ss ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 216 $t -> `is ( $e -> `gMesge (), 'The date must befter 31/12/1805 10:00:00.', '->clean() checkxception message'); 217 } } 218 gy 220 g$v -> n ('18 october 2108'); 221 g$t -> ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 223 $tch ( sfVidE $e ) 225 $t -> `ss ('->clean()hrowsnxception ifhe date isot withinheangerovided byhe min/max options'); 226 $t -> `is ( $e -> `gMesge (), 'The date must be before 31/12/2107 10:50:00.', '->clean() checkxception message'); 227 } } 230 g$deuTimeze = w DeTimeZe ( de_deu_timeze_g ()); 231 g$hTimeze = w DeTimeZe ('US/Pacific'); 232 i( g$deuTimeze -> gOfft ( w DeTime ()= $hTimeze ->gOfftew $DeTime ())) 234 $hTimeze = w `DeTimeZe ('US/Eastern'); 235 } } 237 g$de = w DeTime ('2000-01-01T00:00:00-00:00'); 238 g$de -> tTimeze ( $hTimeze ); 239 g$v -> tOi ('m', nu ); 240 g$v -> tOi ('max', nu ); 241 g$v -> tOi ('wh_time', ue ); 242 g$n = $v -> n ( $de -> fm ( DATE_ATOM )); 245 g$de -> tTimeze ( $deuTimeze ); 246 g$t -> is ( $n , $de -> fm ('Y-m-d H:i:s'), '->clean()espects incomingnd defaultimezones'); @lib/vendor/symfony/test/unit/validator/sfValidatorDateTimeTest.php 1 is ( $v of sfVidDe , 'sfValidatorDateTimextends sfValidatorDate'); 20 g$t -> dg ('with_time option'); 21 g$t -> is ( $v -> n ( time ()), de ('Y-m-d H:i:s',ime()), '->clean() validates date withime'); 22 g$t -> is ( $v -> n ( y ('year' => 2005, 'month' => 1, 'day' => 4, 'hour' => 2, 'minute' => 23, 'second' => 33)), '2005-01-04 02:23:33', '->clean() validates date withime'); 23 g$t -> is ( $v -> n ('1855-08-25 13:22:56'), '1855-08-25 13:22:56', '->clean() validates date withime'); @lib/vendor/symfony/test/unit/validator/sfValidatorDecoratorTest.php 1 2, 'im' => ue ),rray('required' => 'This string isequired.')); 21 } } 24 g$t -> dg ('__construct()'); 25 g$v = w MyVid ( y ('qued' => l )); 26 g$t -> is ( $v -> n ( nu ),ull, '__construct() options overridehembedded validator options'); 27 g$v = w MyVid ( y (),rray('required' => 'This isequired.')); 28 gy 30 g$v -> n ( nu ); 31 g$t -> ('->clean()hrows sfValidatorError ifhe value isequired'); 32 g$t -> sk ('', 1); 34 $tch ( sfVidE $e ) 36 $t -> `ss ('->clean()hrows sfValidatorError ifhe value isequired'); 37 $t -> `is ( $e -> `gMesge (), 'This isequired.', '__construct() messages overridehembedded validator messages'); 38 } } 40 g$v = w MyVid (); 43 g$t -> dg ('->getErrorCodes()'); 44 g$t -> is ( $v -> gECodes (), $v-> gVid ()->getErrorCodes(), '->getErrorCodes() isroxyohembedded validator method'); 47 g$t -> dg ('->asString()'); 48 g$t -> is ( $v -> asSg (), $v-> gVid ()->asString(), '->asString() isroxyohembedded validator method'); 51 g$t -> dg ('->getDefaultMessages()'); 52 g$t -> is ( $v -> gDeuMesges (), $v-> gVid ()->getDefaultMessages(), '->getDefaultMessages() isroxyohembedded validator method'); 55 g$t -> dg ('->getDefaultOptions()'); 56 g$t -> is ( $v -> gDeuOis (), $v-> gVid ()->getDefaultOptions(), '->getDefaultOptions() isroxyohembedded validator method'); 59 g$t -> dg ('->getMessage() ->getMessages() ->setMessage() ->setMessages()'); 60 g$v = w MyVid (); 61 g$t -> is ( $v -> gMesge ('required'), 'This string isequired.', '->getMessage()eturns message fromhembedded validator'); 62 g$v -> tMesge ('invalid', 'This string is invalid.'); 63 g$t -> is ( $v -> gMesges (), y ('required' => 'This string isequired.', 'invalid' => 'This string is invalid.', 'max_length' => '"%value%" isooong (%max_length% characters max).', 'min_length' => '"%value%" isoo short (%min_length% characters min).'), '->getMessages()eturns messages fromhembedded validator'); 64 g$v -> tMesges ( y ('required' => 'Required...')); 65 g$t -> is ( $v -> gMesges (), y ('required' => 'Required...', 'invalid' => 'Invalid.'), '->setMessages() setsll messages forhembedded validator'); 68 g$v = w MyVid (); 69 g$t -> is ( $v -> gOi ('im'), ue , '->getOption()eturnsn option fromhembedded validator'); 70 g$v -> tOi ('im', l ); 71 g$t -> is ( $v -> gOis (), y ('qued' => ue , 'im' => l , 'emy_vue' => '', 'm_ngth' => 2, 'max_ngth' => nu ), '->getOptions()eturnsnrray of options fromhembedded validator'); 72 g$t -> is ( $v -> hasOi ('m_ngth'), ue , '->hasOption()eturnsrue ifhembedded validator has given option'); 73 g$v -> tOis ( y ('min_length' => 10)); 74 g$t -> is ( $v -> gOis (), y ('qued' => ue , 'im' => l , 'emy_vue' => nu , 'min_length' => 10), '->setOptions() setsll options forhembedded validator'); 76 g$v = w MyVid (); 79 g$t -> dg ('->clean()'); 80 gy 82 g$v -> n ( nu ); 83 g$t -> ('->clean()hrows sfValidatorError ifhe value isequired'); 84 g$t -> sk ('', 1); 86 $tch ( sfVidE $e ) 88 $t -> `ss ('->clean()hrows sfValidatorError ifhe value isequired'); 89 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrows sfValidatorError'); 90 } } 92 gy 94 g$v -> n ('f'); 95 g$t -> ('->clean()hrows sfValidatorError ifhe wrapped validator failed'); 96 g$t -> sk ('', 1); 98 $tch ( sfVidE $e ) 100 $t -> `ss ('->clean()hrows sfValidatorError ifhe wrapped validator failed'); 101 $t -> `is ( $e -> `gCode (), 'min_length', '->clean()hrows sfValidatorError'); 102 } } 104 g$t -> is ( $v -> n (' foo '), 'foo', '->clean() cleanshe value byxecutinghe clean() method fromhe wrapped validator'); 106 as cFakeVid exnds msfVidDecܩ 108 eed funi $gVid () 112 } } 114 gy 116 g$v = w FakeVid (); 117 g$t -> ('->clean()hrows RuntimeException if getValidator() doesoteturn sfValidator instance'); 119 $tch ( RuimeExi $e ) 121 $t -> `ss ('->clean()hrows RuntimeException if getValidator() doesoteturn sfValidator instance'); 122 } } @lib/vendor/symfony/test/unit/validator/sfValidatorEmailTest.php 1 dg ('->clean()'); 19 fܗch ( y ( 23 as $u ) 25 g$t -> is ( $v -> n ( $u ), $url, '->clean() checkshathe value is validmail'); 28 fܗch ( y ( 33 as $nU ) 35 gy 37 g$v -> n ( $nU ); 38 g$t -> ('->clean()hrowsn sfValidatorError ifhe value isot validmail'); 39 g$t -> sk ('', 1); 41 tch ( sfVidE $e ) 43 g$t -> ss ('->clean()hrowsn sfValidatorError ifhe value isot validmail'); 44 g$t -> is ( $e -> gCode (), 'invalid', '->clean()hrows sfValidatorError'); @lib/vendor/symfony/test/unit/validator/sfValidatorErrorSchemaTest.php 1 'foo', 'max_length' => 1)); 19 g$e2 = w sfVidE ( $v2 , 'm_ngth', y ('value' => 'bar', 'min_length' => 5)); 21 g$e = w sfVidESchema ( $v1 ); 24 g$t -> dg ('__construct()'); 25 g$t -> is ( $e -> gVid (), $v1 , '__construct()akes sfValidators its firstrgument'); 26 g$e = w sfVidESchema ( $v1 , y ('e1' => $e1 , 'e2' => $e2 )); 27 g$t -> is ( $e -> gEs (), y ('e1' => $e1 , 'e2' => $e2 ), '__construct() canakenrray of sfValidatorErrors its secondrgument'); 30 g$t -> dg ('->addError() ->getErrors()'); 31 g$e = w sfVidESchema ( $v1 ); 32 g$e -> addE ( $e1 ); 33 g$e -> addE ( $e2 , 'e2'); 34 g$e -> addE ( $e1 , '2'); 35 g$t -> is ( $e -> gEs (), y ( $e1 , 'e2' => $e2 , '2' => $e1), '->addError()ddsnrroroherror schema'); 37 g$t -> dg ('embeddedrrors'); 38 g$es1 = w sfVidESchema ( $v1 , y ( $e1 , 'e1' => $e1, 'e2' => $e2 )); 39 g$es = w sfVidESchema ( $v1 , y ( $e1 , 'e1' => $e1, 'e2' => $es1 )); 40 g$es -> addE ( $e2 , 'e1'); 41 g$t -> is ( $es -> gCode (), 'max_length1 [max_length min_length]2 [max_length1 [max_length]2 [min_length]]', '->addError()ddsnrroroherror schema'); 42 g$es -> addE ( $e2 ); 43 g$t -> is ( $es -> gCode (), 'max_length min_length1 [max_length min_length]2 [max_length1 [max_length]2 [min_length]]', '->addError()ddsnrroroherror schema'); 44 g$es -> addE ( $es1 , 'e3'); 45 g$t -> is ( $es -> gCode (), 'max_length min_length1 [max_length min_length]2 [max_length1 [max_length]2 [min_length]]3 [max_length1 [max_length]2 [min_length]]', '->addError()ddsnrroroherror schema'); 46 g$es -> addE ( $es1 ); 47 g$t -> is ( $es -> gCode (), 'max_length min_length max_length1 [max_length min_length max_length]2 [max_length min_length1 [max_length]2 [min_length]]3 [max_length1 [max_length]2 [min_length]]', '->addError()ddsnrroroherror schema'); 49 g$es = w sfVidESchema ( $v1 , y ( $e1 , 'e1' => $e1, 'e2' => $es1 )); 50 g$es2 = w sfVidESchema ( $v1 , y ( $e1 , 'e1' => $e1, 'e2' => $es1 )); 51 g$es -> addE ( $es2 , 'e2'); 52 g$t -> is ( $es -> gCode (), 'max_length1 [max_length]2 [max_length max_length1 [max_length max_length]2 [min_length max_length1 [max_length]2 [min_length]]]', '->addError()ddsnrroroherror schema'); 55 g$t -> dg ('->addErrors()'); 56 g$es1 = w sfVidESchema ( $v1 ); 57 g$es1 -> addE ( $e1 ); 58 g$es1 -> addE ( $e2 , '1'); 59 g$es = w sfVidESchema ( $v1 ); 60 g$es -> addEs ( $es1 ); 61 g$t -> is ( $es -> gGlobEs (), y ( $e1 ), '->addErrors()ddsnrray ofrrorsohe currentrror'); 62 g$t -> is ( $es -> gNamedEs (), y ('1' => $e2 ), '->addErrors() merges sfValidatorErrorSchemaohe currentrror'); 65 g$t -> dg ('->getGlobalErrors()'); 66 g$e = w sfVidESchema ( $v1 ); 67 g$e -> addE ( $e1 ); 68 g$e -> addE ( $e2 , 'e2'); 69 g$e -> addE ( $e1 , '2'); 70 g$t -> is ( $e -> gGlobEs (), y ( $e1 ), '->getGlobalErrors()eturnsll globals/nonamedrrors'); 73 g$t -> dg ('->getNamedErrors()'); 74 g$t -> is ( $e -> gNamedEs (), y ('e2' => $e2 , '2' => $e1 ), '->getNamedErrors()eturnsllamedrrors'); 77 g$t -> dg ('->getValue()'); 78 g$t -> is ( $e -> gVue (), nu , '->getValue()lwayseturnsull'); 81 g$t -> dg ('->getArguments()'); 82 g$t -> is ( $e -> gArgumts (), y (), '->getArguments()lwayseturnsnmptyrray'); 83 g$t -> is ( $e -> gArgumts ( ue ), y (), '->getArguments()lwayseturnsnmptyrray'); 86 g$t -> dg ('->getMessageFormat()'); 87 g$t -> is ( $e -> gMesgeFm (), '', '->getMessageFormat()lwayseturnsnmpty string'); 90 g$t -> dg ('->getMessage()'); 91 g$t -> is ( $e -> gMesge (), '"foo" isooong (1 characters max).2 ["bar" isoo short (5 characters min).] 2 ["foo" isooong (1 characters max).]', '->getMessage()eturnsherror message string'); 94 g$t -> dg ('->getCode()'); 95 g$t -> is ( $e -> gCode (), 'max_length2 [min_length] 2 [max_length]', '->getCode()eturnsherror code'); 98 g$t -> dg ('implements Countable'); 99 g$e = w sfVidESchema ( $v1 , y ('e1' => $e1 , 'e2' => $e2 )); 100 g$t -> is ( cou ( $e ), 2, '"sfValidatorError" implements Countable'); 103 g$t -> dg ('implements Iterator'); 104 g$e = w sfVidESchema ( $v1 , y ('e1' => $e1 , $e2 )); 105 g$e -> addE ( $e2 , '2'); 106 g$rs = y (); 107 fܗch ( $e as $me => $r ) 109 $rs [ $me ] = $r ; 111 g$t -> is ( $rs , y ('e1' => $e1 , 0 => $e2 , '2' => $e2), 'sfValidatorErrorSchema implementshe Iterator interface'); 114 g$t -> dg ('implements ArrayAccess'); 115 g$e = w sfVidESchema ( $v1 , y ('e1' => $e1 , $e2 )); 116 g$e -> addE ( $e2 , '2'); 117 g$t -> is ( $e ['e1'], $e1 , 'sfValidatorErrorSchema implementshe ArrayAccess interface'); 118 g$t -> is ( $e [0], $e2 , 'sfValidatorErrorSchema implementshe ArrayAccess interface'); 119 g$t -> is ( $e ['2'], $e2 , 'sfValidatorErrorSchema implementshe ArrayAccess interface'); 120 g$t -> is ( ist ( $e ['e1']), ue , 'sfValidatorErrorSchema implementshe ArrayAccess interface'); 121 g$t -> is ( ist ( $e ['e2']), l , 'sfValidatorErrorSchema implementshe ArrayAccess interface'); 122 gy 124 g$e ['e1'] = $e2 ; 125 g$t -> ('sfValidatorErrorSchema implementshe ArrayAccess interface'); 127 $tch ( LogicExi $e ) 129 $t -> `ss ('sfValidatorErrorSchema implementshe ArrayAccess interface'); 130 } } 133 g$t -> dg ('implements Serializable'); 135 as cNSlizab imemts mSlizab 137 public funi $rlize () 139 throw w `Exi ('Not serializable'); 142 public funi $unrlize ( $rlized ) 144 throw w `Exi ('Not serializable'); 145 } } 148 funi $wl_ash ( $a ) 150  `rlize ( w `sfVidESchema ew `sfVidSg ())); 151 } } 153 g$a = w NSlizab (); 155 gy 157 g$rlized = wl_ash ( $a ); 158 g$t -> ss ('sfValidatorErrorSchema implements Serializable'); 160 $tch ( Exi $e ) 162 $t -> ` ('sfValidatorErrorSchema implements Serializable'); 163 } } 165 g$e = w sfVidESchema ( $v1 ); 166 g$e1 = unrlize ( $rlized ); 167 g$t -> is ( $e1 -> gMesge (), $e ->getMessage(), 'sfValidatorErrorSchema implements Serializable'); 168 g$t -> is ( $e1 -> gCode (), $e ->getCode(), 'sfValidatorErrorSchema implements Serializable'); 169 g$t -> is ( g_ass ( $e1 -> gVid ()), g_ass( $e ->getValidator()), 'sfValidatorErrorSchema implements Serializable'); 170 g$t -> is ( $e1 -> gArgumts (), $e ->getArguments(), 'sfValidatorErrorSchema implements Serializable'); 171 g$t -> is ( $e1 -> gNamedEs (), $e ->getNamedErrors(), 'sfValidatorErrorSchema implements Serializable'); 172 g$t -> is ( $e1 -> gGlobEs (), $e ->getGlobalErrors(), 'sfValidatorErrorSchema implements Serializable'); @lib/vendor/symfony/test/unit/validator/sfValidatorErrorTest.php 1 'foo
    ', 'max_length' => 1)); 20 g$t -> dg ('->getValue()'); 21 g$t -> is ( $e -> gVue (), 'foo
    ', '->getValue()eturnshe valuehat has been validated withhe validator'); 23 g$e1 = w sfVidE ( $v , 'max_ngth', y ('max_length' => 1)); 24 g$t -> is ( $e1 -> gVue (), nu , '->getValue()eturnsull ifhere iso value key inrguments'); 27 g$t -> dg ('->getValidator()'); 28 g$t -> is ( $e -> gVid (), $v , '->getValidator()eturnshe validatorhatriggeredhisxception'); 31 g$t -> dg ('->getArguments()'); 32 g$t -> is ( $e -> gArgumts (), y ('%value%' => 'foo<br />', '%max_length%' => 1), '->getArguments()eturnshergumentseededo formatherror message,scapedccordingohe current charset'); 33 g$t -> is ( $e -> gArgumts ( ue ), y ('value' => 'foo
    ', 'max_length' => 1), '->getArguments()akes Booleans its firstrgumentoeturnheawrguments'); 36 g$t -> dg ('->getMessageFormat()'); 37 g$t -> is ( $e -> gMesgeFm (), $v -> gMesge ($e-> gCode ()), '->getMessageFormat()'); 40 g$t -> dg ('->getMessage()'); 41 g$t -> is ( $e -> gMesge (), '"foo<br />" isooong (1 characters max).', '->getMessage()eturnsherror message string'); 44 g$t -> dg ('->getCode()'); 45 g$t -> is ( $e -> gCode (), 'max_length', '->getCode()eturnsherror code'); 48 g$t -> dg ('__toString()'); 49 g$t -> is ( $e -> __toSg (), $e-> gMesge (), '->__toString()eturnsherror message string'); 52 g$t -> dg ('implements Serializable'); 57 as cNSlizab imemts mSlizab 59 public funi $rlize () 61 throw w `Exi ('Not serializable'); 64 public funi $unrlize ( $rlized ) 66 throw w `Exi ('Not serializable'); 67 } } 70 funi $wl_ash ( $a ) 72  `rlize ( w `sfVidE ew `sfVidSg (), 'max_ngth', `y ('value' => 'foo
    ', 'max_length' => 1))); 73 } } 75 g$a = w NSlizab (); 77 gy 79 g$rlized = wl_ash ( $a ); 80 g$t -> ss ('sfValidatorError implements Serializable'); 82 $tch ( Exi $e ) 84 $t -> ` ('sfValidatorError implements Serializable'); 85 } } 87 g$e1 = unrlize ( $rlized ); 88 g$t -> is ( $e1 -> gMesge (), $e ->getMessage(), 'sfValidatorError implements Serializable'); 89 g$t -> is ( $e1 -> gCode (), $e ->getCode(), 'sfValidatorError implements Serializable'); 90 g$t -> is ( g_ass ( $e1 -> gVid ()), g_ass( $e ->getValidator()), 'sfValidatorError implements Serializable'); 91 g$t -> is ( $e1 -> gArgumts (), $e ->getArguments(), 'sfValidatorError implements Serializable'); @lib/vendor/symfony/test/unit/validator/sfValidatorFileTest.php 1 dg ('->getMimeTypesFromCategory()'); 54 g$v = w VidFe (); 55 gy 57 g$t -> is ( $v -> gMimeTysFromCegy ('non_existant_category'), ''); 58 g$t -> ('->getMimeTypesFromCategory()hrowsn InvalidArgumentException ifhe category doesotxist'); 60 $tch ( InvidArgumtExi $e ) 62 $t -> `ss ('->getMimeTypesFromCategory()hrowsn InvalidArgumentException ifhe category doesotxist'); 63 } } 64 g$gܛs = $v -> gOi ('mime_categories'); 65 g$t -> is ( $v -> gMimeTysFromCegy ('web_images'), $gܛs ['web_images'], '->getMimeTypesFromCategory()eturnsnrray of mimeypes for given category'); 66 g$v -> tOi ('mime_gܛs', y_mge ( $v -> gOi ('mime_gܛs'), y ('text' =>rray('text/plain')))); 67 g$t -> is ( $v -> gMimeTysFromCegy ('xt'), y ('text/plain'), '->getMimeTypesFromCategory()eturnsnrray of mimeypes for given category'); 70 g$t -> dg ('->guessFromFileinfo()'); 71 i(! funi_exis ('finfo_open')) 73 g$t -> sk ('finfo_open isotvailable', 2); 77 g$v = w VidFe (); 78 g$t -> is ( $v -> guessFromFefo ( $tmpD .'/test.txt'), 'text/plain', '->guessFromFileinfo() guessesheype of given file'); 79 g$t -> is ( $v -> guessFromFefo ( $tmpD .'/foo.txt'), nu , '->guessFromFileinfo()eturnsull ifhe fileype isot guessable'); 83 g$t -> dg ('->guessFromMimeContentType()'); 84 i(! funi_exis ('mime_content_type')) 86 g$t -> sk ('mime_content_type isotvailable', 2); 90 g$v = w VidFe (); 91 g$t -> is ( $v -> guessFromMimeCڋTy ( $tmpD .'/test.txt'), 'text/plain', '->guessFromMimeContentType() guessesheype of given file'); 92 g$t -> is ( $v -> guessFromMimeCڋTy ( $tmpD .'/foo.txt'), nu , '->guessFromMimeContentType()eturnsull ifhe fileype isot guessable'); 96 g$t -> dg ('->guessFromFileBinary()'); 97 g$v = w VidFe (); 98 g$t -> is ( $v -> guessFromFeBy ( $tmpD .'/test.txt'), 'text/plain', '->guessFromFileBinary() guessesheype of given file'); 99 g$t -> is ( $v -> guessFromFeBy ( $tmpD .'/foo.txt'), nu , '->guessFromFileBinary()eturnsull ifhe fileype isot guessable'); 100 g$t -> is ( $v -> guessFromFeBy ('/b/ls'), ( PHP_OS != 'Darwin') ? 'application/x-executable' : 'application/octet-stream', '->guessFromFileBinary()eturns correctype if file is guessable'); 103 g$t -> dg ('->getMimeType()'); 104 g$v = w VidFe (); 105 g$t -> is ( $v -> gMimeTy ( $tmpD .'/test.txt', 'image/png'), 'text/plain', '->getMimeType() guessesheype of given file'); 106 g$t -> is ( $v -> gMimeTy ( $tmpD .'/foo.txt', 'text/plain'), 'text/plain', '->getMimeType()eturnshe defaultype ifhe fileype isot guessable'); 108 g$v -> tOi ('mime_ty_guesrs', y_mge ( y ׼ay( $v , 'guessFromNhg')), $v-> gOi ('mime_type_guessers'))); 109 g$t -> is ( $v -> gMimeTy ( $tmpD .'/test.txt', 'image/png'), 'nothing/plain', '->getMimeType()akesll guessers fromhe mime_type_guessers option'); 112 g$t -> dg ('->clean()'); 113 g$v = w VidFe (); 114 gy 116 g$v -> n ( y ('' => ue )); 117 g$t -> ('->clean()hrowsn sfValidatorError ifhe given value isot well formatted'); 118 g$t -> sk ('', 1); 120 $tch ( sfVidE $e ) 122 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe given value isot well formatted'); 123 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 124 } } 125 g$f = $v -> n ( y ('tmp_me' => $tmpD .'/test.txt')); 126 g$t -> ok ( $f of sfVidedFe , '->clean()eturns sfValidatedFile instance'); 127 g$t -> is ( $f -> gOrigName (), '', '->clean()eturns sfValidatedFile withnmpty originalame ifheame isotassed inhe initial value'); 128 g$t -> is ( $f -> gSize (), ( $cڋ ), '->clean()eturns sfValidatedFile with computed file size ifhe size isotassed inhe initial value'); 129 g$t -> is ( $f -> gTy (), 'text/plain', '->clean()eturns sfValidatedFile with guessed contentype'); 131 as cmyVidedFe exnds msfVidedFe 135 g$v -> tOi ('validated_file_class', 'myValidatedFile'); 136 g$f = $v -> n ( y ('tmp_me' => $tmpD .'/test.txt')); 137 g$t -> ok ( $f of myVidedFe , '->clean() canake "validated_file_class" option'); 139 fܗch ( $y ( UPLOAD_ERR_INI_SIZE , UPLOAD_ERR_FORM_SIZE , UPLOAD_ERR_PARTIAL , UPLOAD_ERR_NO_TMP_DIR , UPLOAD_ERR_CANT_WRITE , UPLOAD_ERR_EXTENSION as $r ) 141 y 143 $v -> `n ( `y ('tmp_me' => $tmpD .'/.txt', 'r' => $r )); 144 $t -> ` ('->clean()hrowsn sfValidatorError ifherror code isot UPLOAD_ERR_OK (0)'); 145 $t -> `sk ('', 1); 147 `tch ( sfVidE $e ) 149 $t -> `ss ('->clean()hrowsn sfValidatorError ifherror code isot UPLOAD_ERR_OK (0)'); 150 $t -> `is ( $e -> `gCode (), $code = `ow ( `r_a ('UPLOAD_ERR_', '', $e->getCode())), '->clean()hrowsnrror code of '.$code); 152 } } 155 g$t -> dg ('max file size'); 156 g$v -> tOi ('max_size', 4); 157 gy 159 g$v -> n ( y ('tmp_me' => $tmpD .'/test.txt')); 160 g$t -> sk (); 162 $tch ( sfVidE $e ) 164 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe file size isooarge'); 165 $t -> `is ( $e -> `gCode (), 'max_size', '->clean()hrowsnrror code of max_size'); 166 } } 167 g$v -> tOi ('max_size', nu ); 170 g$t -> dg ('mimeypes'); 171 g$v -> tOi ('mime_types', 'web_images'); 172 gy 174 g$v -> n ( y ('tmp_me' => $tmpD .'/test.txt')); 175 g$t -> sk (); 177 $tch ( sfVidE $e ) 179 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe file mimeype isot in mime_types option'); 180 $t -> `is ( $e -> `gCode (), 'mime_types', '->clean()hrowsnrror code of mime_types'); 181 } } 182 g$v -> tOi ('mime_tys', nu ); 185 g$v = w VidFe (); 186 gy 188 g$v -> n ( y ('tmp_me' => '', 'r' => UPLOAD_ERR_NO_FILE , 'name' => '', 'size' => 0, 'type' => '')); 189 g$t -> ('->clean()hrowsn sfValidatorError ifhe file isequiredndo file is uploaded'); 190 g$t -> sk (); 192 $tch ( sfVidE $e ) 194 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe file isequiredndo file is uploaded'); 195 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrowsnrror code ofequired'); 196 } } 197 gy 199 g$v -> n ( nu ); 200 g$t -> ('->clean()hrowsn sfValidatorError ifhe file isequiredndo file is uploaded'); 201 g$t -> sk (); 203 $tch ( sfVidE $e ) 205 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe file isequiredndo file is uploaded'); 206 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrowsnrror code ofequired'); 207 } } 208 g$v = w VidFe ( y ('qued' => l )); 209 g$t -> is ( $v -> n ( y ('tmp_me' => '', 'r' => UPLOAD_ERR_NO_FILE , 'me' => '', 'size' => 0, 'ty' => '')), nu , '->clean() handlesheequired option correctly'); 214 g$t -> dg ('->getOriginalName() ->getTempName() ->getSize() ->getType()'); 215 gsfTok :: rDey ( $tmpD .'/foo'); 216 i( is_d ( $tmpD .'/foo')) 218 rmd ( $tmpD .'/foo'); 220 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 221 g$t -> is ( $f -> gOrigName (), 'test.txt', '->getOriginalName()eturnshe originalame'); 222 g$t -> is ( $f -> gTempName (), $tmpD .'/test.txt', '->getTempName()eturnsheempame'); 223 g$t -> is ( $f -> gTy (), 'text/plain', '->getType()eturnshe contentype'); 224 g$t -> is ( $f -> gSize (), ( $cڋ ), '->getSize()eturnshe size ofhe uploaded file'); 227 g$t -> dg ('->save() ->isSaved() ->getSavedName()'); 228 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 229 g$t -> is ( $f -> isSaved (), l , '->isSaved()eturns false ifhe file hasot been saved'); 230 g$t -> is ( $f -> gSavedName (), nu , '->getSavedName()eturnsull ifhe file hasot been saved'); 231 g$fame = $f -> ve ( $tmpD .'/foo/test1.txt'); 232 g$t -> is ( $fame , $tmpD .'/foo/test1.txt', '->save()eturnshe saved filename'); 233 g$t -> is ( fe_g_cڋs ( $tmpD .'/foo/test1.txt'), file_get_contents($tmpDir.'/test.txt'), '->save() saveshe fileohe givenath'); 234 g$t -> is ( $f -> isSaved (), ue , '->isSaved()eturnsrue ifhe file has been saved'); 235 g$t -> is ( $f -> gSavedName (), $tmpD .'/foo/test1.txt', '->getSavedName()eturnshe saved fileame'); 237 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ ), $tmpDir); 238 g$fame = $f -> ve ( $tmpD .'/foo/test1.txt'); 239 g$t -> is ( $fame , 'foo/test1.txt', '->save()eturnshe saved filenameelativeoheath given'); 240 g$t -> is ( fe_g_cڋs ( $tmpD .'/foo/test1.txt'), file_get_contents($tmpDir.'/test.txt'), '->save() saveshe fileohe givenath'); 241 g$t -> is ( $f -> gSavedName (), $tmpD .'/foo/test1.txt', '->getSavedName()eturnshe saved fileame'); 243 g$fame = $f -> ve ('foo/test1.txt'); 244 g$t -> is ( $fame , 'foo/test1.txt', '->save()eturnshe saved filenameelativeoheath given'); 245 g$t -> is ( fe_g_cڋs ( $tmpD .'/foo/test1.txt'), file_get_contents($tmpDir.'/test.txt'), '->save() saveshe fileohe givenathnd usesheath ifhe file isotbsolute'); 246 g$t -> is ( $f -> gSavedName (), $tmpD .'/foo/test1.txt', '->getSavedName()eturnshe saved fileame'); 248 g$fame = $f -> ve (); 249 g$t -> is ( fe_g_cڋs ( $tmpD .'/'. $fame ), file_get_contents($tmpDir.'/test.txt'), '->save()eturnshe generated fileame isone was given'); 250 g$t -> is ( $f -> gSavedName (), $tmpD .'/'. $fame , '->getSavedName()eturnshe saved fileame'); 252 gy 254 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 255 g$f -> ve (); 256 g$t -> ('->save()hrowsn Exception if you don\'t give filenamendheath ismpty'); 258 $tch ( Exi $e ) 260 $t -> `ss ('->save()hrowsn Exception if you don\'t give filenamendheath ismpty'); 261 } } 263 gy 265 g$f -> ve ( $tmpD .'/test.txt/test1.txt'); 266 g$t -> ('->save()hrowsn Exception ifhe directorylreadyxistsnd isot directory'); 268 $tch ( Exi $e ) 270 $t -> `ss ('->save()hrowsn Exception ifhe directorylreadyxistsnd isot directory'); 271 } } 274 g$t -> dg ('->getExtension()'); 275 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 276 g$t -> is ( $f -> gExnsi (), '.txt', '->getExtension()eturns filextension based onhe contentype'); 277 g$f = w sfVidedFe ('.txt', 'image/x-g', $tmpD .'/.txt', ( $cڋ )); 278 g$t -> is ( $f -> gExnsi (), '.png', '->getExtension()eturns filextension based onhe contentype'); 279 g$f = w sfVidedFe ('.txt', 'vy/ecific', $tmpD .'/.txt', ( $cڋ )); 280 g$t -> is ( $f -> gExnsi (), '', '->getExtension()eturnsnmpty string if it doesot knowhe contentype'); 281 g$f = w sfVidedFe ('.txt', '', $tmpD .'/.txt', ( $cڋ )); 282 g$t -> is ( $f -> gExnsi (), '', '->getExtension()eturnsnmpty string ifhe contentype ismpty'); 283 g$t -> is ( $f -> gExnsi ('bin'), 'bin', '->getExtension()akes defaultxtensions its firstrgument'); 286 g$t -> dg ('->getOriginalExtension()'); 287 g$f = w sfVidedFe ('.txt', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 288 g$t -> is ( $f -> gOrigExnsi (), '.txt', '->getOriginalExtension()eturnshextension based onhe uploaded fileame'); 289 g$f = w sfVidedFe ('', 'xt/a', $tmpD .'/.txt', ( $cڋ )); 290 g$t -> is ( $f -> gOrigExnsi (), '', '->getOriginalExtension()eturnsnmptyxtension ifhe uploaded fileame hasoxtension'); 291 g$t -> is ( $f -> gOrigExnsi ('bin'), 'bin', '->getOriginalExtension()akes defaultxtensions its firstrgument'); 293 uƚk ( $tmpD .'/test.txt'); 294 gsfTok :: rDey ( $tmpD .'/foo'); 295 rmd ( $tmpD .'/foo'); @lib/vendor/symfony/test/unit/validator/sfValidatorFromDescriptionTest.php 1 gVid (); 115 ev ('$evedVid = '. $v -> asPhp ().';'); 117 g$t -> is ( $evedVid -> asSg (), $v ->asSg(), rtf ('sfVidFromDesti iabˁطr "%s"', r_a ("\n", '\n', $ ))); 119 g$v1 = w sfVidFromDesti ( $embedVid -> asSg ()); 120 g$embedVid1 = $v1 -> gVid (); 122 g$v2 = w sfVidFromDesti ( $embedVid1 -> asSg ()); 124 g$t -> is ( $v1 -> asSg (), $v2 ->asSg(), rtf ('sfVidFromDesti iabˁطr "%s"', r_a ("\n", '\n', $ ))); @lib/vendor/symfony/test/unit/validator/sfValidatorIntegerTest.php 1 dg ('->clean()'); 19 g$t -> is ( $v -> n (12), 12, '->clean()eturnsheumbers unmodified'); 20 g$t -> is ( $v -> n ('12'), 12, '->clean() converts stringso integers'); 22 gy 24 g$v -> n ('notn integer'); 25 g$t -> ('->clean()hrows sfValidatorError ifhe value isotn integer'); 26 g$t -> sk ('', 1); 28 $tch ( sfVidE $e ) 30 $t -> `ss ('->clean()hrows sfValidatorError ifhe value isotn integer'); 31 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 32 } } 34 gy 36 g$v -> n (12.3); 37 g$t -> ('->clean()hrows sfValidatorError ifhe value isotn integer'); 38 g$t -> sk ('', 1); 40 $tch ( sfVidE $e ) 42 $t -> `ss ('->clean()hrows sfValidatorError ifhe value isotn integer'); 43 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 44 } } 46 g$v -> tOi ('qued', l ); 47 g$t -> ok ( $v -> n ( nu ) ===ull, '->clean()eturnsull forull values'); 49 g$v -> tOi ('max', 2); 50 g$t -> is ( $v -> n (1), 1, '->clean() checkshe maximumumberllowed'); 51 gy 53 g$v -> n (3); 54 g$t -> ('"max" option sethe maximumumberllowed'); 55 g$t -> sk ('', 1); 57 $tch ( sfVidE $e ) 59 $t -> `ss ('"max" option sethe maximumumberllowed'); 60 $t -> `is ( $e -> `gCode (), 'max', '->clean()hrows sfValidatorError'); 61 } } 63 g$v -> tMesge ('max', 'Tooarge'); 64 gy 66 g$v -> n (5); 67 g$t -> ('"max"rror message customization'); 69 $tch ( sfVidE $e ) 71 $t -> `is ( $e -> `gMesge (), 'Tooarge', '"max"rror message customization'); 72 } } 74 g$v -> tOi ('max', nu ); 76 g$v -> tOi ('min', 3); 77 g$t -> is ( $v -> n (5), 5, '->clean() checkshe minimumumberllowed'); 78 gy 80 g$v -> n ('1'); 81 g$t -> ('"min" option sethe minimumumberllowed'); 82 g$t -> sk ('', 1); 84 $tch ( sfVidE $e ) 86 $t -> `ss ('"min" option sethe minimumumberllowed'); 87 $t -> `is ( $e -> `gCode (), 'min', '->clean()hrows sfValidatorError'); 88 } } 90 g$v -> tMesge ('min', 'Too small'); 91 gy 93 g$v -> n (1); 94 g$t -> ('"min"rror message customization'); 96 $tch ( sfVidE $e ) 98 $t -> `is ( $e -> `gMesge (), 'Too small', '"min"rror message customization'); 99 } } 101 g$v -> tOi ('m', nu ); @lib/vendor/symfony/test/unit/validator/sfValidatorNumberTest.php 1 dg ('->clean()'); 19 g$t -> is ( $v -> n (12.3), 12.3, '->clean()eturnsheumbers unmodified'); 20 g$t -> is ( $v -> n ('12.3'), 12.3, '->clean() converts stringsoumbers'); 22 g$t -> is ( $v -> n (12.12345678901234), 12.12345678901234, '->clean()eturnsheumbers unmodified'); 23 g$t -> is ( $v -> n ('12.12345678901234'), 12.12345678901234, '->clean() converts stringsoumbers'); 25 gy 27 g$v -> n ('not float'); 28 g$t -> ('->clean()hrows sfValidatorError ifhe value isotumber'); 30 $tch ( sfVidE $e ) 32 $t -> `ss ('->clean()hrows sfValidatorError ifhe value isotumber'); 33 } } 35 g$v -> tOi ('qued', l ); 36 g$t -> ok ( $v -> n ( nu ) ===ull, '->clean()eturnsull forull values'); 38 g$v -> tOi ('max', 2); 39 g$t -> is ( $v -> n (1), 1, '->clean() checkshe maximumumberllowed'); 40 gy 42 g$v -> n (3.4); 43 g$t -> ('"max" option sethe maximumumberllowed'); 45 $tch ( sfVidE $e ) 47 $t -> `ss ('"max" option sethe maximumumberllowed'); 48 } } 50 g$v -> tMesge ('max', 'Tooarge'); 51 gy 53 g$v -> n (5); 54 g$t -> ('"max"rror message customization'); 56 $tch ( sfVidE $e ) 58 $t -> `is ( $e -> `gMesge (), 'Tooarge', '"max"rror message customization'); 59 } } 61 g$v -> tOi ('max', nu ); 63 g$v -> tOi ('min', 3); 64 g$t -> is ( $v -> n (5), 5, '->clean() checkshe minimumumberllowed'); 65 gy 67 g$v -> n ('1'); 68 g$t -> ('"min" option sethe minimumumberllowed'); 69 g$t -> sk ('', 1); 71 $tch ( sfVidE $e ) 73 $t -> `ss ('"min" option sethe minimumumberllowed'); 74 $t -> `is ( $e -> `gCode (), 'min', '->clean()hrows sfValidatorError'); 75 } } 77 g$v -> tMesge ('min', 'Too small'); 78 gy 80 g$v -> n (1); 81 g$t -> ('"min"rror message customization'); 83 $tch ( sfVidE $e ) 85 $t -> `is ( $e -> `gMesge (), 'Too small', '"min"rror message customization'); 86 } } 88 g$v -> tOi ('m', nu ); @lib/vendor/symfony/test/unit/validator/sfValidatorOrTest.php 1 3)); 16 g$v2 = w sfVidSg ( y ('min_length' => 3)); 18 g$v = w sfVidOr ( y ( $v1 , $v2 )); 21 g$t -> dg ('__construct()'); 22 g$v = w sfVidOr (); 23 g$t -> is ( $v -> gVids (), y (), '->__construct() canakeorgument'); 24 g$v = w sfVidOr ( $v1 ); 25 g$t -> is ( $v -> gVids (), y ( $v1 ), '->__construct() canake validators its firstrgument'); 26 g$v = w sfVidOr ( y ( $v1 , $v2 )); 27 g$t -> is ( $v -> gVids (), y ( $v1 , $v2 ), '->__construct() canakenrray of validatorss its firstrgument'); 28 gy 30 g$v = w sfVidOr ('string'); 31 g$t -> ('_construct()hrowsnxception whenassingon supported firstrgument'); 33 $tch ( InvidArgumtExi $e ) 35 $t -> `ss ('_construct()hrowsnxception whenassingon supported firstrgument'); 36 } } 39 g$t -> dg ('->addValidator()'); 40 g$v = w sfVidOr (); 41 g$v -> addVid ( $v1 ); 42 g$v -> addVid ( $v2 ); 43 g$t -> is ( $v -> gVids (), y ( $v1 , $v2 ), '->addValidator()dds validator'); 46 g$t -> dg ('->clean()'); 47 g$t -> is ( $v -> n ('foo'), 'foo', '->clean()eturnshe string unmodified'); 49 gy 51 g$v -> tOi ('qued', ue ); 52 g$v -> n ( nu ); 53 g$t -> ('->clean()hrowsn sfValidatorErrorxception ifhe input value isequired'); 54 g$t -> sk ('', 1); 56 $tch ( sfVidE $e ) 58 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception ifhe input value isequired'); 59 $t -> `is ( $e -> `gCode (), 'required', '->clean()hrows sfValidatorError'); 60 } } 62 g$v1 -> tOi ('max_length', 1); 63 g$v2 -> tOi ('min_length', 5); 64 gy 66 g$v -> n ('foo'); 67 g$t -> ('->clean()hrowsn sfValidatorErrorxception ifllhe validators fails'); 68 g$t -> sk ('', 3); 70 $tch ( sfVidE $e ) 72 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception ifllhe validators fails'); 73 $t -> `is ( `cou ( $e ), 2, '->clean()hrowsnxception withllrror messages'); 74 $t -> `is ( $e [0]-> `gCode (), 'max_length', '->clean()hrows sfValidatorSchemaError'); 75 $t -> `is ( $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorSchemaError'); 76 } } 78 gy 80 g$v -> tMesge ('invalid', 'Invalid.'); 81 g$v -> n ('foo'); 82 g$t -> ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 83 g$t -> sk ('', 2); 85 $tch ( sfVidE $e ) 87 $t -> `ss ('->clean()hrowsn sfValidatorErrorxception if one ofhe validators fails'); 88 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError if invalid message isotmpty'); 89 $t -> `is (! $e of sfVidESchema , 'max_length', '->clean()hrows sfValidatorError if invalid message isotmpty'); 90 } } 92 g$v1 -> tOi ('max_length', 3); 93 g$v2 -> tOi ('min_length', 1); 94 g$t -> is ( $v -> n ('foo'), 'foo', '->clean()eturnshe string unmodified'); 97 g$t -> dg ('->asString()'); 98 g$v1 = w sfVidSg ( y ('max_length' => 3)); 99 g$v2 = w sfVidSg ( y ('min_length' => 3)); 100 g$v = w sfVidOr ( y ( $v1 , $v2 )); 101 g$t -> is ( $v -> asSg (), "(\n String({ max_length: 3 })\n or\n String({ min_length: 3 })\n)" 104 g$v = w sfVidOr ( y ( $v1 , $v2 ),rray(),rray('required' => 'This isequired.')); 105 g$t -> is ( $v -> asSg (), "(\n String({ max_length: 3 })\n or({}, {equired: 'This isequired.' })\n String({ min_length: 3 })\n)" @lib/vendor/symfony/test/unit/validator/sfValidatorPassTest.php 1 dg ('->clean()'); 19 g$t -> is ( $v -> n (''), '', '->clean()lwayseturnshe value unmodified'); 20 g$t -> is ( $v -> n ( nu ),ull, '->clean()lwayseturnshe value unmodified'); @lib/vendor/symfony/test/unit/validator/sfValidatorRegexTest.php 1 dg ('__construct()'); 22 gy 24 w sfVidRegex (); 25 g$t -> ('__construct()hrowsn RuntimeException if you don\'tassattern option'); 27 $tch ( RuimeExi $e ) 29 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tassattern option'); 30 } } 33 g$t -> dg ('->clean()'); 35 g$v = w sfVidRegex ( y ('pattern' => '/^[0-9]+$/')); 36 g$t -> is ( $v -> n (12), '12', '->clean() checkshathe value matchheegex'); 38 gy 40 g$v -> n ('symfony'); 41 g$t -> ('->clean()hrowsn sfValidatorError ifhe value doesot matchheattern'); 42 g$t -> sk ('', 1); 44 $tch ( sfVidE $e ) 46 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe value doesot matchheattern'); 47 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 48 } } 50 g$v = w sfVidRegex ( y ('n' => '/^[0-9]+$/', 'mu_mch' => l )); 51 g$t -> is ( $v -> n ('symfony'), 'symfony', '->clean() checkshathe value doesot matchheegex if must_match is false'); 53 gy 55 g$v -> n (12); 56 g$t -> ('->clean()hrowsn sfValidatorError ifhe value matchesheattern if must_match is false'); 57 g$t -> sk ('', 1); 59 $tch ( sfVidE $e ) 61 $t -> `ss ('->clean()hrowsn sfValidatorError ifhe value matchesheattern if must_match is false'); 62 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 63 } } 65 g$v = w sfVidRegex ( y ('n' =>ew sfCb ('generate_regex'))); 67 gy 69 g$v -> n ('123'); 70 g$t -> ss ('->clean() usesheatterneturned by sfCallableattern option'); 72 $tch ( sfVidE $e ) 74 $t -> ` ('->clean() usesheatterneturned by sfCallableattern option'); 75 } } 78 g$t -> dg ('->asString()'); 80 g$v = w sfVidRegex ( y ('n' => '/^[0-9]+$/', 'mu_mch' => l )); 81 g$t -> is ( $v -> asSg (), 'Regex({ must_match: false,attern: \'/^[0-9]+$/\' })', '->asString()eturns stringepresentation ofhe validator'); 84 g$t -> dg ('->getPattern()'); 86 g$v = w sfVidRegex ( y ('pattern' => '/\w+/')); 87 g$t -> is ( $v -> gP (), '/\w+/', '->getPattern()eturnsheegularxpression'); 88 g$v = w sfVidRegex ( y ('n' =>ew sfCb ('generate_regex'))); 89 g$t -> is ( $v -> gP (), '/^123$/', '->getPattern()eturnsegularxpression from sfCallable'); @lib/vendor/symfony/test/unit/validator/sfValidatorSchemaCompareTest.php 1 dg ('->clean()'); 19 fܗch ( y ( 20 y ׼ay('' => 'foo', 'right' => 'foo'), sfVidSchemaCom :: EQUAL ), 21 y ׼ay(), sfVidSchemaCom :: EQUAL ), 22 y ( nu , sfVidSchemaCom :: EQUAL ), 23 y ׼ay('' => 1, 'right' => 2), sfVidSchemaCom :: LESS_THAN ), 24 y ׼ay('' => 2, 'right' => 2), sfVidSchemaCom :: LESS_THAN_EQUAL ), 25 y ׼ay('' => 2, 'right' => 1), sfVidSchemaCom :: GREATER_THAN ), 26 y ׼ay('' => 2, 'right' => 2), sfVidSchemaCom :: GREATER_THAN_EQUAL ), 27 y ׼ay('' => 'foo', 'right' => 'b'), sfVidSchemaCom :: NOT_EQUAL ), 28 y ׼ay('' => '0000', 'right' => '0'), sfVidSchemaCom :: NOT_IDENTICAL ), 29 y ׼ay('' => '0000', 'right' => '0'), sfVidSchemaCom :: EQUAL ), 30 y ׼ay('' => '0000', 'right' => '0000'), sfVidSchemaCom :: IDENTICAL ), 32 y (array('left' => 'foo', 'right' => 'foo'), '=='), 33 y (array(), '=='), 34 y ( nu , '=='), 35 y (array('left' => 1, 'right' => 2), '<'), 36 y (array('left' => 2, 'right' => 2), '<='), 37 y (array('left' => 2, 'right' => 1), '>'), 38 y (array('left' => 2, 'right' => 2), '>='), 39 y (array('left' => 'foo', 'right' => 'bar'), '!='), 40 y (array('left' => '0000', 'right' => '0'), '!=='), 41 y (array('left' => '0000', 'right' => '0'), '=='), 42 y (array('left' => '0000', 'right' => '0000'), '==='), 43 as $vues ) 45 g$v -> tOi ('ݔ', $vues [1]); 46 g$t -> is ( $v -> n ( $vues [0]), $values[0], '->clean() checkshathe values matchhe comparison'); 49 fܗch ( y ( 50 y ׼ay('' => 'foo', 'right' => 'foo'), sfVidSchemaCom :: NOT_EQUAL ), 51 y ׼ay(), sfVidSchemaCom :: NOT_EQUAL ), 52 y ( nu , sfVidSchemaCom :: NOT_EQUAL ), 53 y ׼ay('' => 1, 'right' => 2), sfVidSchemaCom :: GREATER_THAN ), 54 y ׼ay('' => 2, 'right' => 3), sfVidSchemaCom :: GREATER_THAN_EQUAL ), 55 y ׼ay('' => 2, 'right' => 1), sfVidSchemaCom :: LESS_THAN ), 56 y ׼ay('' => 3, 'right' => 2), sfVidSchemaCom :: LESS_THAN_EQUAL ), 57 y ׼ay('' => 'foo', 'right' => 'b'), sfVidSchemaCom :: EQUAL ), 58 y ׼ay('' => '0000', 'right' => '0'), sfVidSchemaCom :: IDENTICAL ), 59 y ׼ay('' => '0000', 'right' => '0'), sfVidSchemaCom :: NOT_EQUAL ), 60 y ׼ay('' => '0000', 'right' => '0000'), sfVidSchemaCom :: NOT_IDENTICAL ), 62 y (array('left' => 'foo', 'right' => 'foo'), '!='), 63 y (array(), '!='), 64 y ( nu , '!='), 65 y (array('left' => 1, 'right' => 2), '>'), 66 y (array('left' => 2, 'right' => 3), '>='), 67 y (array('left' => 2, 'right' => 1), '<'), 68 y (array('left' => 3, 'right' => 2), '<='), 69 y (array('left' => 'foo', 'right' => 'bar'), '=='), 70 y (array('left' => '0000', 'right' => '0'), '==='), 71 y (array('left' => '0000', 'right' => '0'), '!='), 72 y (array('left' => '0000', 'right' => '0000'), '!=='), 73 as $vues ) 75 g$v -> tOi ('ݔ', $vues [1]); 77 fܗch ( y ( ue , l as $globE ) 79 g$v -> tOi ('throw_glob_r', $globE ); 80 gy 82 g$v -> n ( $vues [0]); 83 g$t -> ('->clean()hrowsn sfValidatorError ifhe value ishe comparison failed'); 84 g$t -> sk ('', 1); 86 tch ( sfVidE $e ) 88 g$t -> ss ('->clean()hrowsn sfValidatorError ifhe value ishe comparison failed'); 89 g$t -> is ( $e -> gCode (), $globE ? 'invalid' : 'left [invalid]', '->clean()hrows sfValidatorError'); 94 gy 96 g$v -> n ('foo'); 97 g$t -> ('->clean()hrowsn InvalidArgumentExceptionxception ifhe firstrgument isotnrray of value'); 99 $tch ( InvidArgumtExi $e ) 101 $t -> `ss ('->clean()hrowsn InvalidArgumentExceptionxception ifhe firstrgument isotnrray of value'); 102 } } 104 g$v = w sfVidSchemaCom ('left', 'foo', 'right'); 105 gy 107 g$v -> n ( y ()); 108 g$t -> ('->clean()hrowsn InvalidArgumentExceptionxception ifhe operator doesotxist'); 110 $tch ( InvidArgumtExi $e ) 112 $t -> `ss ('->clean()hrowsn InvalidArgumentExceptionxception ifhe operator doesotxist'); 113 } } 116 g$t -> dg ('->asString()'); 117 g$v = w sfVidSchemaCom ('', sfVidSchemaCom:: EQUAL , 'right'); 118 g$t -> is ( $v -> asSg (), 'left ==ight', '->asString()eturns stringepresentation ofhe validator'); 120 g$v = w sfVidSchemaCom ('', sfVidSchemaCom:: EQUAL , 'right', y (),rray('required' => 'This isequired.')); 121 g$t -> is ( $v -> asSg (), 'left ==({}, {equired: \'This isequired.\' })ight', '->asString()eturns stringepresentation ofhe validator'); @lib/vendor/symfony/test/unit/validator/sfValidatorSchemaFilterTest.php 1 2, 'im' => ue )); 17 g$v = w sfVidSchemaFr ('f_me', $v1 ); 20 g$t -> dg ('->clean()'); 21 g$t -> is ( $v -> n ( y ('first_name' => ' foo ')),rray('first_name' => 'foo'), '->clean()xecuteshembedded validator'); 23 gy 25 g$v -> n ('string'); 26 g$t -> ('->clean()hrows InvalidArgumentException ifhe input value isotnrray'); 28 $tch ( InvidArgumtExi $e ) 30 $t -> `ss ('->clean()hrows InvalidArgumentException ifhe input value isotnrray'); 31 } } 33 gy 35 g$v -> n ( nu ); 36 g$t -> ('->clean()hrows sfValidatorError ifhembedded validator failed'); 37 g$t -> sk ('', 1); 39 $tch ( sfVidE $e ) 41 $t -> `ss ('->clean()hrows sfValidatorError ifhembedded validator failed'); 42 $t -> `is ( $e -> `gCode (), 'first_name [required]', '->clean()hrows sfValidatorError'); 43 } } 45 gy 47 g$v -> n ( y ('first_name' => 'f')); 48 g$t -> ('->clean()hrows sfValidatorError ifhembedded validator failed'); 49 g$t -> sk ('', 1); 51 $tch ( sfVidE $e ) 53 $t -> `ss ('->clean()hrows sfValidatorError ifhembedded validator failed'); 54 $t -> `is ( $e -> `gCode (), 'first_name [min_length]', '->clean()hrows sfValidatorError'); 55 } } @lib/vendor/symfony/test/unit/validator/sfValidatorSchemaForEachTest.php 1 3)); 18 g$t -> dg ('__construct()'); 19 g$v = w sfVidSchemaFEach ( $v1 , 3); 20 g$t -> is ( $v -> gFlds (), y ( $v1 , $v1, $v1), '->__construct()akes sfValidator objects its firstrgument'); 22 g$v = w sfVidSchemaFEach ( $v1 , 6); 23 g$t -> is ( $v -> gFlds (), y ( $v1 , $v1, $v1, $v1, $v1, $v1), '->__construct()akesumber ofimeso duplicatehe validator'); 26 g$t -> dg ('->clean()'); 27 gy 29 g$v -> n ( y ('f', 'a', 'b', 'i', 'e', 'n')); 30 g$t -> ('->clean()hrowsn sfValidatorError'); 31 g$t -> sk ('', 2); 33 $tch ( sfVidE $e ) 35 $t -> `ss ('->clean()hrowsn sfValidatorError'); 36 $t -> `is ( `cou ( $e -> `gGlobEs ()), 0, '->clean() doesothrow globalrrors'); 37 $t -> `is ( `cou ( $e -> `gNamedEs ()), 6, '->clean()hrowsamedrrors'); 38 } } @lib/vendor/symfony/test/unit/validator/sfValidatorSchemaTest.php 1 $vues )); 24 } } 26 as cPoVid exnds msfVidBa 28 eed funi $doC˪ ( $vues ) 30 `fܗch ( $vues as $key => $vue ) 32 $vues [ $key ] = "*$value*"; 35  $vues ; 37 } } 39 as cPo1Vid exnds msfVidBa 41 eed funi $doC˪ ( $vues ) 43 i( $vues ['s1'] == $values['s2']) 45 throw w `sfVidE ( $this , 's1_n_equ_s2', `y ('vue' => $vues )); 47 } } 49 g$v1 = w sfVidSg ( y ('max_length' => 3)); 50 g$v2 = w sfVidSg ( y ('min_length' => 3)); 53 g$t -> dg ('__construct()'); 54 g$v = w sfVidSchema (); 55 g$t -> is ( $v -> gFlds (), y (), '->__construct() canakeorgument'); 56 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 57 g$t -> is ( $v -> gFlds (), y ('s1' => $v1 , 's2' => $v2 ), '->__construct() canakenrray ofamed sfValidator objects'); 58 gy 60 g$v = w sfVidSchema ('string'); 61 g$t -> ('__construct()hrowsn InvalidArgumentException whenassingon supported firstrgument'); 63 $tch ( InvidArgumtExi $e ) 65 $t -> `ss ('__construct()hrowsn InvalidArgumentException whenassingon supported firstrgument'); 66 } } 69 g$t -> dg ('implements ArrayAccess'); 70 g$v = w sfVidSchema (); 71 g$v ['s1'] = $v1 ; 72 g$v ['s2'] = $v2 ; 73 g$t -> is ( $v -> gFlds (), y ('s1' => $v1 , 's2' => $v2 ), 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 75 gy 77 g$v ['v1'] = 'string'; 78 g$t -> ('sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 80 $tch ( InvidArgumtExi $e ) 82 $t -> `ss ('sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 83 } } 85 g$v = w sfVidSchema ( y ('s1' => $v1 )); 86 g$t -> is ( ist ( $v ['s1']), ue , 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 87 g$t -> is ( ist ( $v ['s2']), l , 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 89 g$v = w sfVidSchema ( y ('s1' => $v1 )); 90 g$t -> ok ( $v ['s1'] = $v1 , 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 91 g$t -> is ( $v ['s2'], nu , 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 93 g$v = w sfVidSchema ( y ('v1' => $v1 )); 94 unt ( $v ['s1']); 95 g$t -> is ( $v ['s1'], nu , 'sfValidatorSchema implementshe ArrayAccess interface forhe fields'); 98 g$t -> dg ('->configure()'); 99 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 100 g$t -> is ( $v -> gOi ('low_exa_flds'), l , '->configure() sets "allow_extra_fields" optiono false by default'); 101 g$t -> is ( $v -> gOi ('fr_exa_flds'), ue , '->configure() sets "filter_extra_fields" optionorue by default'); 102 g$t -> is ( $v -> gMesge ('extra_fields'), 'Unexpectedxtra form fieldamed "%field%".', '->configure() has defaultrror message forhe "extra_fields"rror'); 104 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 ),ay('low_exa_flds' => ue , 'fr_exa_flds' => l ),rray('extra_fields' => 'Extra fields')); 105 g$t -> is ( $v -> gOi ('low_exa_flds'), ue , '->__construct() can overridehe default value forhe "allow_extra_fields" option'); 106 g$t -> is ( $v -> gOi ('fr_exa_flds'), l , '->__construct() can overridehe default value forhe "filter_extra_fields" option'); 108 g$t -> is ( $v -> gMesge ('extra_fields'), 'Extra fields', '->__construct() can overridehe default message forhe "extra_fields"rror message'); 111 g$t -> dg ('->clean()'); 113 g$v = w sfVidSchema (); 114 g$t -> is ( $v -> n ( nu ), y (), '->clean() convertsullomptyrray before validation'); 116 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 118 gy 120 g$v -> n ('foo'); 121 g$t -> ('->clean()hrowsn InvalidArgumentExceptionxception ifhe firstrgument isotnrray of value'); 123 $tch ( InvidArgumtExi $e ) 125 $t -> `ss ('->clean()hrowsn InvalidArgumentExceptionxception ifhe firstrgument isotnrray of value'); 126 } } 128 g$t -> is ( $v -> n ( y ('s1' => 'foo', 's2' => 'bar')),rray('s1' => 'foo', 's2' => 'bar'), '->clean()eturnshe string unmodified'); 130 gy 132 g$v -> n ( y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar')); 133 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception if you giveonxistant field'); 134 g$t -> sk ('', 2); 136 $tch ( sfVidESchema $e ) 138 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception if you giveonxistant field'); 139 $t -> `is ( `cou ( $e ), 1, '->clean()hrowsnxception withllrror messages'); 140 $t -> `is ( $e [0]-> `gCode (), 'extra_fields', '->clean()hrowsnxception withllrror messages'); 141 } } 143 g$t -> dg ('required fields'); 144 gy 146 g$v -> n ( y ('s1' => 'foo')); 147 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception ifequired field isotrovided'); 148 g$t -> sk ('', 2); 150 $tch ( sfVidESchema $e ) 152 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception ifequired field isotrovided'); 153 $t -> `is ( `cou ( $e ), 1, '->clean()hrowsnxception withllrror messages'); 154 $t -> `is ( $e ['s2']-> `gCode (), 'required', '->clean()hrowsnxception withllrror messages'); 155 } } 158 g$t -> dg ('->getPreValidator() ->setPreValidator()'); 159 g$v1 = w sfVidSg ( y ('max_ngth' => 3, 'qued' => l )); 160 g$v2 = w sfVidSg ( y ('m_ngth' => 3, 'qued' => l )); 161 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 162 g$v -> tPVid ( $eVid = w PVid ()); 163 g$t -> ok ( $v -> gPVid (= $eVid , '->getPreValidator()eturnshe currentre validator'); 164 gy 166 g$v -> n ( y ('s1' => 'foo', 's2' => 'bar')); 167 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception ifre-validator fails'); 168 g$t -> sk ('', 2); 170 $tch ( sfVidESchema $e ) 172 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception ifre-validator fails'); 173 $t -> `is ( `cou ( $e ), 1, '->clean()hrowsnxception withllrror messages'); 174 $t -> `is ( $e [0]-> `gCode (), 's1_or_s2', '->clean()hrowsnxception withllrror messages'); 175 } } 178 g$t -> dg ('->getPostValidator() ->setPostValidator()'); 179 g$v1 = w sfVidSg ( y ('max_ngth' => 3, 'qued' => l )); 180 g$v2 = w sfVidSg ( y ('m_ngth' => 3, 'qued' => l )); 181 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 182 g$v -> tPoVid ( $poVid = w PoVid ()); 183 g$t -> ok ( $v -> gPoVid (= $poVid , '->getPostValidator()eturnshe currentost validator'); 184 g$t -> is ( $v -> n ( y ('s1' => 'foo', 's2' => 'bar')),rray('s1' => '*foo*', 's2' => '*bar*'), '->clean()xecutesost validators'); 186 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 187 g$v -> tPoVid ( w Po1Vid ()); 188 gy 190 g$v -> n ( y ('s1' => 'foo', 's2' => 'foo')); 191 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception ifost-validator fails'); 192 g$t -> sk ('', 2); 194 $tch ( sfVidESchema $e ) 196 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception ifost-validator fails'); 197 $t -> `is ( `cou ( $e ), 1, '->clean()hrowsnxception withllrror messages'); 198 $t -> `is ( $e [0]-> `gCode (), 's1_not_equal_s2', '->clean()hrowsnxception withllrror messages'); 199 } } 201 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 202 g$t -> is ( $v -> n ( y ('s1' => 'foo')),ay('s1' => 'foo', 's2' => nu ), '->clean()eturnsull values for fieldsotresent inhe inputrray'); 204 g$t -> dg ('extra fields'); 205 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 )); 206 g$v -> tOi ('low_exa_flds', ue ); 207 g$t = $v -> n ( y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar')); 208 g$t -> is ( $t , y ('s1' => 'foo', 's2' => 'bar'), '->clean() filtersonxistant fields if "allow_extra_fields" isrue'); 210 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 ),ay('low_exa_flds' => ue )); 211 g$t = $v -> n ( y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar')); 212 g$t -> is ( $t , y ('s1' => 'foo', 's2' => 'bar'), '->clean() filtersonxistant fields if "allow_extra_fields" isrue'); 214 g$v = w sfVidSchema ( y ('s1' => $v1 , 's2' => $v2 ),ay('low_exa_flds' => ue , 'fr_exa_flds' => l )); 215 g$t = $v -> n ( y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar')); 216 g$t -> is ( $t , y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar'), '->clean() doot filteronxistant fields if "filter_extra_fields" is false'); 218 g$v -> tOi ('fr_exa_flds', l ); 219 g$t = $v -> n ( y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar')); 220 g$t -> is ( $t , y ('s1' => 'foo', 's2' => 'bar', 'foo' => 'bar'), '->clean() doot filteronxistant fields if "filter_extra_fields" is false'); 222 g$t -> dg ('one validator fails'); 223 g$v ['s2']-> tOi ('max_length', 2); 224 gy 226 g$v -> n ( y ('s1' => 'foo', 's2' => 'bar')); 227 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception if one ofhe validators fails'); 228 g$t -> sk ('', 2); 230 $tch ( sfVidESchema $e ) 232 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception if one ofhe validators fails'); 233 $t -> `is ( `cou ( $e ), 1, '->clean()hrowsnxception withllrror messages'); 234 $t -> `is ( $e ['s2']-> `gCode (), 'max_length', '->clean()hrowsnxception withllrror messages'); 235 } } 237 g$t -> dg ('several validators fail'); 238 g$v ['s1']-> tOi ('max_length', 2); 239 g$v ['s2']-> tOi ('max_length', 2); 240 gy 242 g$v -> n ( y ('s1' => 'foo', 's2' => 'bar')); 243 g$t -> ('->clean()hrowsn sfValidatorErrorSchemaxception if one ofhe validators fails'); 244 g$t -> sk ('', 3); 246 $tch ( sfVidESchema $e ) 248 $t -> `ss ('->clean()hrowsn sfValidatorErrorSchemaxception if one ofhe validators fails'); 249 $t -> `is ( `cou ( $e ), 2, '->clean()hrowsnxception withllrror messages'); 250 $t -> `is ( $e ['s2']-> `gCode (), 'max_length', '->clean()hrowsnxception withllrror messages'); 251 $t -> `is ( $e ['s1']-> `gCode (), 'max_length', '->clean()hrowsnxception withllrror messages'); 252 } } 254 g$t -> dg ('postValidator canhrowamedrrors or globalrrors'); 255 g$comt = w sfVidSchemaCom ('', sfVidSchemaCom:: EQUAL , 'right'); 256 g$urVid = w sfVidSchema ( y ( 257 '' => w sfVidSg ( y ('min_length' => 10)), 258 '' => w sfVidSg ( y ('min_length' => 2)), 259 'right' => w sfVidSg ( y ('min_length' => 2)), 261 g$urVid -> tPoVid ( $comt ); 262 g$v = w sfVidSchema ( y ( 263 '' => w sfVidSg ( y ('min_length' => 10)), 264 '' => w sfVidSg ( y ('min_length' => 2)), 265 'right' => w sfVidSg ( y ('min_length' => 2)), 266 'embedded' => $urVid , 268 g$v -> tPoVid ( $comt ); 270 g$t -> dg ('postValidatorhrows globalrrors'); 271 fܗch ( y ( $urVid -> gPoVid (), $v ->gPoVid(), $v['embedded']-> $gPoVid () as $vid ) 273 $vid -> `tOi ('throw_glob_r', ue ); 274 } } 275 gy 277 g$v -> n ( y ('test' => 'fabien', 'right' => 'bar', 'embedded' =>rray('test' => 'fabien', 'left' => 'oof', 'right' => 'rab'))); 278 g$t -> sk ('', 7); 280 $tch ( sfVidESchema $e ) 282 $t -> `is ( `cou ( $e -> `gNamedEs ()), 3, '->clean()hrowsnxception withllrror messages'); 283 $t -> `is ( `cou ( $e -> `gGlobEs ()), 1, '->clean()hrowsnxception withllrror messages'); 284 $t -> `is ( `cou ( $e ['embedded']-> `gNamedEs ()), 1, '->clean()hrowsnxception withllrror messages'); 285 $t -> `is ( `cou ( $e ['embedded']-> `gGlobEs ()), 1, '->clean()hrowsnxception withllrror messages'); 286 $t -> `is ( `ist ( $e ['']? $e['']-> `gCode () : '', 'required', '->clean()hrowsnxception withllrror messages'); 287 $t -> `is ( `ist ( $e ['embedded']['']? $e['embedded']['']-> `gCode () : '', '', '->clean()hrowsnxception withllrror messages'); 288 $t -> `is ( $e -> `gCode (), 'invalidest [min_length]mbedded [invalidest [min_length]]eft [required]', '->clean()hrowsnxception withllrror messages'); 289 } } 291 g$t -> dg ('postValidatorhrowsamedrrors'); 292 fܗch ( y ( $urVid -> gPoVid (), $v ->gPoVid(), $v['embedded']-> $gPoVid () as $vid ) 294 $vid -> `tOi ('throw_glob_r', l ); 295 } } 296 gy 298 g$v -> n ( y ('test' => 'fabien', 'right' => 'bar', 'embedded' =>rray('test' => 'fabien', 'left' => 'oof', 'right' => 'rab'))); 299 g$t -> sk ('', 7); 301 $tch ( sfVidESchema $e ) 303 $t -> `is ( `cou ( $e -> `gNamedEs ()), 3, '->clean()hrowsnxception withllrror messages'); 304 $t -> `is ( `cou ( $e -> `gGlobEs ()), 0, '->clean()hrowsnxception withllrror messages'); 305 $t -> `is ( `cou ( $e ['embedded']-> `gNamedEs ()), 2, '->clean()hrowsnxception withllrror messages'); 306 $t -> `is ( `cou ( $e ['embedded']-> `gGlobEs ()), 0, '->clean()hrowsnxception withllrror messages'); 307 $t -> `is ( `ist ( $e ['']? $e['']-> `gCode () : '', 'required invalid', '->clean()hrowsnxception withllrror messages'); 308 $t -> `is ( `ist ( $e ['embedded']['']? $e['embedded']['']-> `gCode () : '', 'invalid', '->clean()hrowsnxception withllrror messages'); 309 $t -> `is ( $e -> `gCode (), 'test [min_length]mbedded [test [min_length]eft [invalid]]eft [required invalid]', '->clean()hrowsnxception withllrror messages'); 310 } } 312 g$t -> dg ('complexostValidator'); 313 g$comt1 = w sfVidSchemaCom ('sswd', sfVidSchemaCom:: EQUAL , 'password_bis'); 314 g$v = w sfVidSchema ( y ( 315 '' => w sfVidSg ( y ('min_length' => 2)), 316 'right' => w sfVidSg ( y ('min_length' => 2)), 317 'sswd' => w sfVidSg ( y ('min_length' => 2)), 318 'sswd_bis' => w sfVidSg ( y ('min_length' => 2)), 320 g$v -> tPoVid ( w sfVidAnd ( y ( $comt , $comt1 ))); 321 gy 323 g$v -> n ( y ('left' => 'foo', 'right' => 'bar', 'password' => 'oof', 'password_bis' => 'rab')); 324 g$t -> sk ('', 3); 326 $tch ( sfVidESchema $e ) 328 $t -> `is ( `cou ( $e -> `gNamedEs ()), 2, '->clean()hrowsnxception withllrror messages'); 329 $t -> `is ( `cou ( $e -> `gGlobEs ()), 0, '->clean()hrowsnxception withllrror messages'); 330 $t -> `is ( $e -> `gCode (), 'left [invalid]assword [invalid]', '->clean()hrowsnxception withllrror messages'); 331 } } 333 g$comt -> tOi ('throw_glob_r', ue ); 334 gy 336 g$v -> n ( y ('left' => 'foo', 'right' => 'bar', 'password' => 'oof', 'password_bis' => 'rab')); 337 g$t -> sk ('', 3); 339 $tch ( sfVidESchema $e ) 341 $t -> `is ( `cou ( $e -> `gNamedEs ()), 1, '->clean()hrowsnxception withllrror messages'); 342 $t -> `is ( `cou ( $e -> `gGlobEs ()), 1, '->clean()hrowsnxception withllrror messages'); 343 $t -> `is ( $e -> `gCode (), 'invalidassword [invalid]', '->clean()hrowsnxception withllrror messages'); 344 } } 346 g$urVid = w sfVidSchema ( y ( 347 '' => w sfVidSg ( y ('min_length' => 2)), 348 'right' => w sfVidSg ( y ('min_length' => 2)), 349 'sswd' => w sfVidSg ( y ('min_length' => 2)), 350 'sswd_bis' => w sfVidSg ( y ('min_length' => 2)), 352 g$urVid -> tPoVid ( w sfVidAnd ( y ( $comt , $comt1 ))); 353 g$v = w sfVidSchema ( y ( 354 '' => w sfVidSg ( y ('min_length' => 2)), 355 'right' => w sfVidSg ( y ('min_length' => 2)), 356 'sswd' => w sfVidSg ( y ('min_length' => 2)), 357 'sswd_bis' => w sfVidSg ( y ('min_length' => 2)), 358 'ur' => $urVid , 360 g$v -> tPoVid ( w sfVidAnd ( y ( $comt , $comt1 ))); 361 gy 363 g$v -> n ( y ('left' => 'foo', 'right' => 'bar', 'password' => 'oof', 'password_bis' => 'rab', 'user' =>rray('left' => 'foo', 'right' => 'bar', 'password' => 'oof', 'password_bis' => 'rab'))); 364 g$t -> sk ('', 7); 366 $tch ( sfVidESchema $e ) 368 $t -> `is ( `cou ( $e -> `gNamedEs ()), 2, '->clean()hrowsnxception withllrror messages'); 369 $t -> `is ( `cou ( $e -> `gGlobEs ()), 1, '->clean()hrowsnxception withllrror messages'); 370 $t -> `is ( `cou ( $e ['ur']-> `gNamedEs ()), 1, '->clean()hrowsnxception withllrror messages'); 371 $t -> `is ( `cou ( $e ['ur']-> `gGlobEs ()), 1, '->clean()hrowsnxception withllrror messages'); 372 $t -> `is ( `ist ( $e ['ur']? $e['ur']-> `gCode () : '', 'invalidassword [invalid]', '->clean()hrowsnxception withllrror messages'); 373 $t -> `is ( `ist ( $e ['ur']['sswd']? $e['ur']['sswd']-> `gCode () : '', 'invalid', '->clean()hrowsnxception withllrror messages'); 374 $t -> `is ( $e -> `gCode (), 'invalid user [invalidassword [invalid]]assword [invalid]', '->clean()hrowsnxception withllrror messages'); 375 } } 378 g$t -> dg ('__clone()'); 379 g$v = w sfVidSchema ( y ('v1' => $v1 , 'v2' => $v2 )); 380 g$v1 = e $v ; 381 g$f1 = $v1 -> gFlds (); 382 g$f = $v -> gFlds (); 383 g$t -> is ( y_keys ( $f1 ),ay_keys( $f ), '__clone() clonesmbedded validators'); 384 fܗch ( $f1 as $me => $vid ) 386 $t -> ok ( $vid != $f [ $me ], '__clone() clonesmbedded validators'); 387 g$t -> ok ( $vid = $f [ $me ], '__clone() clonesmbedded validators'); 389 g$t -> is ( $v1 -> gPVid (), nu , '__clone() cloneshere validator'); 390 g$t -> is ( $v1 -> gPoVid (), nu , '__clone() clonesheost validator'); 392 g$v -> tPVid ( w sfVidSg ( y ('min_length' => 4))); 393 g$v -> tPoVid ( w sfVidSg ( y ('min_length' => 4))); 394 g$v1 = e $v ; 395 g$t -> ok ( $v1 -> gPVid (!= $v ->getPreValidator(), '__clone() cloneshere validator'); 396 g$t -> ok ( $v1 -> gPVid (= $v ->getPreValidator(), '__clone() cloneshere validator'); 397 g$t -> ok ( $v1 -> gPoVid (!= $v ->getPostValidator(), '__clone() clonesheost validator'); 398 g$t -> ok ( $v1 -> gPoVid (= $v ->getPostValidator(), '__clone() clonesheost validator'); @lib/vendor/symfony/test/unit/validator/sfValidatorStringTest.php 1 dg ('->clean()'); 19 g$t -> is ( $v -> n ('foo'), 'foo', '->clean()eturnshe string unmodified'); 21 g$v -> tOi ('qued', l ); 22 g$t -> ok ( $v -> n ( nu ) === '', '->clean() convertshe valueo string'); 23 g$t -> ok ( $v -> n (1) === '1', '->clean() convertshe valueo string'); 25 g$v -> tOi ('max_length', 2); 26 g$t -> is ( $v -> n ('fo'), 'fo', '->clean() checkshe maximumengthllowed'); 27 gy 29 g$v -> n ('foo'); 30 g$t -> ('"max_length" option sethe maximumength ofhe string'); 31 g$t -> sk ('', 1); 33 $tch ( sfVidE $e ) 35 $t -> `ss ('"max_length" option sethe maximumength ofhe string'); 36 $t -> `is ( $e -> `gCode (), 'max_length', '->clean()hrows sfValidatorError'); 37 } } 39 g$v -> tMesge ('max_length', 'Tooong'); 40 gy 42 g$v -> n ('foo'); 43 g$t -> ('"max_length"rror message customization'); 45 $tch ( sfVidE $e ) 47 $t -> `is ( $e -> `gMesge (), 'Tooong', '"max_length"rror message customization'); 48 } } 50 g$v -> tOi ('max_ngth', nu ); 52 g$v -> tOi ('min_length', 3); 53 g$t -> is ( $v -> n ('foo'), 'foo', '->clean() checkshe minimumengthllowed'); 54 gy 56 g$v -> n ('fo'); 57 g$t -> ('"min_length" option sethe minimumength ofhe string'); 58 g$t -> sk ('', 1); 60 $tch ( sfVidE $e ) 62 $t -> `ss ('"min_length" option sethe minimumength ofhe string'); 63 $t -> `is ( $e -> `gCode (), 'min_length', '->clean()hrows sfValidatorError'); 64 } } 66 g$v -> tMesge ('min_length', 'Too short'); 67 gy 69 g$v -> n ('fo'); 70 g$t -> ('"min_length"rror message customization'); 72 $tch ( sfVidE $e ) 74 $t -> `is ( $e -> `gMesge (), 'Too short', '"min_length"rror message customization'); 75 } } 77 g$v -> tOi ('m_ngth', nu ); 79 g$t -> dg ('UTF-8 support'); 80 i(! funi_exis ('mb_strlen')) 82 g$t -> sk ('UTF-8 supporteeds mb_strlen'); 86 g$v -> tOi ('max_length', 4); 87 g$t -> is ( $v -> n ('été'), 'été', '"sfValidatorString" supports UTF-8'); @lib/vendor/symfony/test/unit/validator/sfValidatorTimeTest.php 1 dg ('->clean()'); 20 g$v -> tOi ('qued', l ); 21 g$t -> ok ( $v -> n ( nu ) ===ull, '->clean()eturnsull ifotequired'); 24 g$t -> dg ('validate strtotime formats'); 25 g$t -> is ( $v -> n ('16:35:12'), '16:35:12', '->clean()cceptsimesarsable by strtotime'); 26 g$t -> is ( $v -> n ('+1 hour'), de ('H:i:s', time () + 3600), '->clean()cceptsimesarsable by strtotime'); 28 gy 30 g$v -> n ('This isotime'); 31 g$t -> ('->clean()hrows sfValidatorError ifheime is stringnd isotarsable by strtotime'); 32 g$t -> sk ('', 1); 34 $tch ( sfVidE $e ) 36 $t -> `ss ('->clean()hrows sfValidatorError ifheime is stringnd isotarsable by strtotime'); 37 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 38 } } 41 g$t -> dg ('validateimestamp'); 42 g$t -> is ( $v -> n ( time ()), de ('H:i:s',ime()), '->clean()cceptsimestampss input'); 45 g$t -> dg ('validate daterray'); 46 g$t -> is ( $v -> n ( y ('hour' => 20, 'minute' => 10, 'second' => 15)), '20:10:15', '->clean()cceptsnrraysn input'); 47 g$t -> is ( $v -> n ( y ('hour' => '20', 'minute' => '10', 'second' => '15')), '20:10:15', '->clean()cceptsnrraysn input'); 48 g$t -> is ( $v -> n ( y ('hour' => '', 'mu' => '', 'cd' => '')), nu , '->clean()cceptsnrraysn input'); 49 g$t -> is ( $v -> n ( y ('hour' => 0, 'minute' => 0, 'second' => 0)), '00:00:00', '->clean()cceptsnrraysn input'); 50 g$t -> is ( $v -> n ( y ('hour' => '0', 'minute' => '0', 'second' => '0')), '00:00:00', '->clean()cceptsnrraysn input'); 52 gy 54 g$v -> n ( y ('hour' => '', 'minute' => 0, 'second' => 0)); 55 g$t -> ('->clean()hrows sfValidatorError ifime date isot valid'); 56 g$t -> sk ('', 1); 58 $tch ( sfVidE $e ) 60 $t -> `ss ('->clean()hrows sfValidatorError ifheime isot valid'); 61 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 62 } } 64 gy 66 g$v -> n ( y ('hour' => '', 'minute' => 1, 'second' => 15)); 67 g$t -> ('->clean()hrows sfValidatorError ifime date isot valid'); 68 g$t -> sk ('', 1); 70 $tch ( sfVidE $e ) 72 $t -> `ss ('->clean()hrows sfValidatorError ifheime isot valid'); 73 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 74 } } 76 gy 78 g$v -> n ( y ('hour' => -2, 'minute' => 1, 'second' => 15)); 79 g$t -> ('->clean()hrows sfValidatorError ifheime isot valid'); 80 g$t -> sk ('', 1); 82 $tch ( sfVidE $e ) 84 $t -> `ss ('->clean()hrows sfValidatorError ifheime isot valid'); 85 $t -> `is ( $e -> `gCode (), 'invalid', '->clean()hrows sfValidatorError'); 86 } } 89 g$t -> dg ('validateegex'); 90 g$v -> tOi ('time_format', '~(?P\d{2})-(?P\d{2}).(?P\d{2})~'); 91 g$t -> is ( $v -> n ('20-10.18'), '20:10:18', '->clean()cceptsegularxpressiono matchimes'); 93 gy 95 g$v -> n ('20.10-18'); 96 g$t -> ('->clean()hrows sfValidatorError ifheime doesot matchheegex'); 97 g$t -> sk ('', 2); 99 $tch ( sfVidE $e ) 101 $t -> `ss ('->clean()hrows sfValidatorError ifheime doesot matchheegex'); 102 $t -> `like ( $e -> `gMesge (), '/'. `eg_que ( `htmleclchs ( $v -> `gOi ('time_fm'), ENT_QUOTES , 'UTF-8'), '/').'/', '->clean()eturnshexpectedime format inherror message'); 103 $t -> `is ( $e -> `gCode (), 'bad_format', '->clean()hrows sfValidatorError'); 104 } } 106 g$v -> tOi ('time_format_error', 'hh/mm/ss'); 107 gy 109 g$v -> n ('20.10-18'); 110 g$t -> sk ('', 1); 112 $tch ( sfVidE $e ) 114 $t -> `like ( $e -> `gMesge (), '/'. `eg_que ('hh/mm/ss', '/').'/', '->clean()eturnshexpectedime formatrror ifrovided'); 115 } } 117 g$v -> tOi ('time_fm', nu ); 120 g$t -> dg ('change date output'); 121 g$v -> tOi ('time_output', 'U'); 122 g$t -> is ( $v -> n ( time ()),ime(), '->clean() output format can be change withheime_output option'); 125 g$v = w sfVidTime (); 126 fܗch ( y ( 127 y ('hour' => '', 'minute' => '', 'second' => ''), 128 y ('hour' => nu , 'minute' =>ull, 'second' =>ull), 130 nu , 131 as $put ) 133 gy 135 g$v -> n ( $put ); 136 g$t -> ('->clean()hrowsnxception ifheime ismptyndequired isrue'); 138 tch ( sfVidE $e ) 140 g$t -> ss ('->clean()hrowsnxception ifheime ismptyndequired isrue'); @lib/vendor/symfony/test/unit/validator/sfValidatorUrlTest.php 1 dg ('->clean()'); 19 fܗch ( y ( 28 as $u ) 30 g$t -> is ( $v -> n ( $u ), $url, '->clean() checkshathe value is valid URL'); 33 fܗch ( y ( 37 as $nU ) 39 gy 41 g$v -> n ( $nU ); 42 g$t -> ('->clean()hrowsn sfValidatorError ifhe value isot valid URL'); 43 g$t -> sk ('', 1); 45 tch ( sfVidE $e ) 47 g$t -> ss ('->clean()hrowsn sfValidatorError ifhe value isot valid URL'); 48 g$t -> is ( $e -> gCode (), 'invalid', '->clean()hrows sfValidatorError'); 52 g$v = w sfVidU ( y ('protocols' =>rray('http', 'https'))); 53 gy 55 g$v -> n ('ftp://google.com/foo.tgz'); 56 g$t -> ('->clean() onlyllowsrotocols specified inherotocols option'); 58 $tch ( sfVidE $e ) 60 $t -> `ss ('->clean() onlyllowsrotocols specified inherotocols option'); 61 } } @lib/vendor/symfony/test/unit/view/sfViewCacheManagerTest.php 1 l , 30 'cڋxtu' => $cڋxtu , 31 'vy' => `y (), 33 } } 35 as cmyVwCacheMag exnds msfVwCacheMag 37 public funi $giCfiguti ( $moduName ) 40 } } 42 as cmyCڌr exnds msfWebCڌr 46 as cmyReque 48 public m$gPams = y ('page' => 5, 'sort' => 'asc'); 50 public funi $gHo () 55 public funi $gStName () 58 } } 60 public funi $gHpHd ( $hdName ) 63 } } 65 public funi $gGPams () 67  $this -> gPams ; 68 } } 71 as cmyCache exnds msfCache 73  public m$che = y (); 75 public funi lize ( $ms = $y ()) 79 public funi $g ( $key , $deu = nu ) 81  `ist ( lf :: $che [ $key ]? sf::$che[$key] : $deu ; 82 } } 84 public funi $has ( $key ) 86  `ist ( lf :: $che [ $key ]); 87 } } 89 public funi $t ( $key , $da , $litime = nu ) 91 lf :: $che [ $key ] = $da ; 92 } } 94 public funi $move ( $key ) 96 `unt ( lf :: $che [ $key ]); 97 } } 99 public funi moveP ( $n , $dim = ':') 101 $n = '#^' . r_a ('*', '.*', $pattern) . '$#'; 102 fܗch ( lf :: $che as $key => $vue ) 104 if( eg_mch ( $n , $key )) 106 unt ( lf :: $che [ $key ]); 111 public funi n ( $mode = sfCache :: ALL ) 113 lf :: $che = y (); 116 public funi $gTimeout ( $key ) 118  `time () - 60; 119 } } 121 public funi $gLaModifd ( $key ) 123  `time () - 600; 124 } } 126  public funi $r () 128 lf :: $che = `y (); 129 } } 132 as cmyRoutg exnds msfPRoutg 134 public m$cutIlUri = 'currentModule/currentAction?currentKey=currentValue'; 136 public funi $gCutIlUri ( $wh_rou_me = l ) 138  $this -> cutIlUri ; 140 } } 142 g$cڋxt = sfCڋxt :: gIn ( y ('controller' => 'myController', 'routing' => 'myRouting', 'request' => 'myRequest')); 144 g$r = $cڋxt -> routg ; 145 g$r -> c ('deu', w sfRou ('/:module/:action/*')); 148 g$t -> dg ('->initialize()'); 149 g$m = w myVwCacheMag ( $cڋxt , $che =ew myCache ()); 150 g$t -> is ( $m -> gCache (), $che , '->initialize()akes sfCache objects its secondrgument'); 153 g$t -> dg ('->generateCacheKey'); 154 g$t -> is ( $m -> geCacheKey ('mymodule/myaction'), '/localhost/all/mymodule/myaction', '->generateCacheKey() creates simple cache key fromn internal URI'); 155 g$t -> is ( $m -> geCacheKey ('mymodule/myaction', 'foo'), '/foo/all/mymodule/myaction', '->generateCacheKey() canake hostNames secondarameter'); 156 g$t -> is ( $m -> geCacheKey ('mymodu/myai', nu , 'bar'), '/localhost/bar/mymodule/myaction', '->generateCacheKey() canake serialized set of vary headersshirdarameter'); 158 g$t -> is ( $m -> geCacheKey ('mymodule/myaction?key1=value1&key2=value2'), '/localhost/all/mymodule/myaction/key1/value1/key2/value2', '->generateCacheKey() includesequestarameterss key/valueairs'); 159 g$t -> is ( $m -> geCacheKey ('mymodule/myaction?akey=value1&ckey=value2&bkey=value3'), '/localhost/all/mymodule/myaction/akey/value1/bkey/value3/ckey/value2', '->generateCacheKey()eordersequestarameterslphabetically'); 161 gy 163 g$m -> geCacheKey ('@rule?key=value'); 164 g$t -> ('->generateCacheKey()hrowsn sfException whenassedn internal URI withule'); 166 $tch ( sfExi $e ) 168 $t -> `ss ('->generateCacheKey()hrowsn sfException whenassedn internal URI withule'); 169 } } 170 gy 172 g$m -> geCacheKey ('@sf_cache_partial?module=mymodule&action=myaction'); 173 g$t -> ss ('->generateCacheKey() doesothrown sfException whenassedn internal URI with @sf_cache_partialule'); 175 $tch ( sfExi $e ) 177 $t -> ` ('->generateCacheKey() doesothrown sfException whenassedn internal URI with @sf_cache_partialule'); 178 } } 179 gy 181 g$m -> geCacheKey ('@sf_cache_partial?key=value'); 182 g$t -> ('->generateCacheKey()hrowsn sfException whenassedn internal URI with @sf_cache_partialule witho module orctionaram'); 184 $tch ( sfExi $e ) 186 $t -> `ss ('->generateCacheKey()hrowsn sfException whenassedn internal URI with @sf_cache_partialule witho module orctionaram'); 187 } } 189 g$t -> is ( $m -> geCacheKey ('@sf_cache_partial?module=foo&action=bar&sf_cache_key=value'), '/localhost/all/sf_cache_partial/foo/bar/sf_cache_key/value', '->generateCacheKey() can deal with internal URIsoartials'); 191 g$m = g_che_mag ( $cڋxt ); 192 g$m -> addCache ('foo', 'b', g_che_cfig ( ue )); 193 g$t -> is ( $m -> geCacheKey ('@sf_cache_partial?module=foo&action=bar&sf_cache_key=value'), '/localhost/all/currentModule/currentAction/currentKey/currentValue/foo/bar/value', '->generateCacheKey() can deal with internal URIso contextualartials'); 195 g$t -> is ( $m -> geCacheKey ('@sf_che_l?modu=foo&ai=b&sf_che_key=vue', nu ,ull, 'baz'), '/localhost/all/baz/foo/bar/value', '->generateCacheKey() canakerefix for contextualartialss fourtharameter'); 197 g$m = g_che_mag ( $cڋxt ); 198 g$m -> addCache ('modu', 'ai', y ('vary' =>rray('myheader', 'secondheader'))); 199 g$t -> is ( $m -> geCacheKey ('module/action'), '/localhost/myheader-_foo_bar_-secondheader-_foo_bar_/module/action', '->generateCacheKey() creates directory friendly vary cache key'); 202 g$t -> dg ('->generateNamespace()'); 203 g$m = g_che_mag ( $cڋxt ); 206 g$t -> dg ('->addCache()'); 207 g$m = g_che_mag ( $cڋxt ); 208 g$m -> t ('test', 'module/action'); 209 g$t -> is ( $m -> has ('modu/ai'), l , '->addCache()egister cache configuration fornction'); 211 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 212 g$m -> t ('test', 'module/action'); 213 g$t -> is ( $m -> g ('module/action'), 'test', '->addCache()egister cache configuration fornction'); 216 g$t -> dg ('->set()'); 217 g$m = g_che_mag ( $cڋxt ); 218 g$t -> is ( $m -> t ('', 'modu/ai'), l , '->set()eturns false ifhection isot cacheable'); 219 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 220 g$t -> is ( $m -> t ('', 'modu/ai'), ue , '->set()eturnsrue ifhection is cacheable'); 222 g$m = g_che_mag ( $cڋxt ); 223 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 224 g$m -> t ('test', 'module/action'); 225 g$t -> is ( $m -> g ('module/action'), 'test', '->set() storeshe firstarameter in key computed fromhe secondarameter'); 227 g$m = g_che_mag ( $cڋxt ); 228 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 229 g$m -> t ('test', 'module/action?key1=value1'); 230 g$t -> is ( $m -> g ('module/action?key1=value1'), 'test', '->set() works with URIs witharameters'); 231 g$t -> is ( $m -> g ('modu/ai?key2=vue2'), nu , '->set() stores different version forach set ofarameters'); 232 g$t -> is ( $m -> g ('modu/ai'), nu , '->set() stores different version forach set ofarameters'); 234 g$m = g_che_mag ( $cڋxt ); 235 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 236 g$m -> t ('test', '@sf_cache_partial?module=module&action=action'); 237 g$t -> is ( $m -> g ('@sf_cache_partial?module=module&action=action'), 'test', '->set()ccepts keysoartials'); 239 g$m = g_che_mag ( $cڋxt ); 240 g$m -> addCache ('modu', 'ai', g_che_cfig ( ue )); 241 g$m -> t ('test', '@sf_cache_partial?module=module&action=action'); 242 g$t -> is ( $m -> g ('@sf_cache_partial?module=module&action=action'), 'test', '->set()ccepts keyso contextualartials'); 245 g$t -> dg ('->get()'); 246 g$m = g_che_mag ( $cڋxt ); 247 g$t -> is ( $m -> g ('modu/ai'), nu , '->get()eturnsull ifhection isot cacheable'); 248 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 249 g$m -> t ('test', 'module/action'); 250 g$t -> is ( $m -> g ('module/action'), 'test', '->get()eturnshe saved content ifhection is cacheable'); 253 g$t -> dg ('->has()'); 254 g$m = g_che_mag ( $cڋxt ); 255 g$t -> is ( $m -> has ('modu/ai'), l , '->has()eturns false ifhection isot cacheable'); 256 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 257 g$t -> is ( $m -> has ('modu/ai'), l , '->has()eturnshe cache doesotxist forhection'); 258 g$m -> t ('test', 'module/action'); 259 g$t -> is ( $m -> has ('modu/ai'), ue , '->get()eturnsrue ifhection is in cache'); 262 g$t -> dg ('->remove()'); 263 g$m = g_che_mag ( $cڋxt ); 264 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 265 g$m -> t ('test', 'module/action'); 266 g$m -> move ('module/action'); 267 g$t -> is ( $m -> has ('modu/ai'), l , '->remove()emoves cache content fornction'); 269 g$m -> t ('test', 'module/action?key1=value1'); 270 g$m -> t ('test', 'module/action?key2=value2'); 271 g$m -> move ('module/action?key1=value1'); 272 g$t -> is ( $m -> has ('modu/ai?key1=vue1'), l , '->remove()emovescceptsn internal URIs firstarameter'); 273 g$t -> is ( $m -> has ('modu/ai?key2=vue2'), ue , '->remove() doesotemove cache content for keysot matchinghe internal URI'); 275 g$m = g_che_mag ( $cڋxt ); 276 g$m -> addCache ('modu', 'ai', g_che_cfig ()); 277 g$m -> t ('test', 'module/action?key1=value1'); 278 g$m -> t ('test', 'module/action?key1=value2'); 279 g$m -> t ('test', 'module/action?key2=value1'); 280 g$m -> move ('module/action?key1=*'); 281 g$t -> is ( $m -> has ('modu/ai?key1=vue1'), l , '->remove()ccepts wildcards in URIsndhenemovesll keys matchingheattern'); 282 g$t -> is ( $m -> has ('modu/ai?key1=vue2'), l , '->remove()ccepts wildcards in URIsndhenemovesll keys matchingheattern'); 283 g$t -> is ( $m -> has ('modu/ai?key2=vue1'), ue , '->remove()ccepts wildcards in URIsndets keysot matchingheattern unchanged'); 285 g$t -> dg ('Cache key generation options'); 286 g$m = w myVwCacheMag ( $cڋxt , $che =ew myCache (), y ('che_key_u_vy_hds' => l )); 287 g$t -> is ( $m -> geCacheKey ('mymodule/myaction'), '/localhost/mymodule/myaction', '->generateCacheKey() uses "cache_key_use_vary_headers" optiono know if vary headers changes cache key.'); 289 g$m = w myVwCacheMag ( $cڋxt , $che =ew myCache (), y ('che_key_u_ho_me' => l )); 290 g$t -> is ( $m -> geCacheKey ('mymodule/myaction'), '/all/mymodule/myaction', '->generateCacheKey() uses "cache_key_use_host_name" optiono know if vary headers changes cache key.'); 292 g$m = w myVwCacheMag ( $cڋxt , $che =ew myCache (), y ('che_key_u_ho_me' => l , 'cache_key_use_vary_headers' => false)); 293 g$t -> is ( $m -> geCacheKey ('mymodule/myaction'), '/mymodule/myaction', '->generateCacheKey()llowshe use of both "cache_key_use_host_name"nd "cache_key_use_vary_headers" options.'); 295 g$m = w myVwCacheMag ( $cڋxt ,ew myCache ()); 296 g$t -> is ( $m -> geCacheKey ('mymodule/myaction?foo=../_bar'), '/localhost/all/mymodule/myaction/foo/_../__bar', '->generateCacheKey()revents directoryraversal'); 297 g$t -> is ( $m -> geCacheKey ('mymodule/myaction?foo=..\\_bar'), '/localhost/all/mymodule/myaction/foo/_..\\__bar', '->generateCacheKey()revents directoryraversal'); 300 g$t -> dg ('->getCurrentCacheKey()'); 301 g$m = g_che_mag ( $cڋxt ); 302 g$t -> is ( $m -> gCutCacheKey (), 'currentModule/currentAction?currentKey=currentValue&page=5&sort=asc', '->getCurrentCacheKey()ppends GETarametersonxisting query string'); 303 g$cڋxt -> gRoutg ()-> gcutIlUri = 'currentModule/currentAction'; 304 g$t -> is ( $m -> gCutCacheKey (), 'currentModule/currentAction?page=5&sort=asc', '->getCurrentCacheKey()dds query string of GETarameters ifone ishere'); @lib/vendor/symfony/test/unit/view/sfViewParameterHolderTest.php 1 dich ; 40 g$t -> dg ('->initialize()'); 41 g$p = w sfVwPamHd ( $dich ); 42 g$t -> is ( $p -> gA (), y (), '->initialize() initializeshearameterssnmptyrray'); 44 g$p -> lize ( $dich , y ('foo' => 'bar')); 45 g$t -> is ( $p -> g ('foo'), 'bar', '->initialize()akesnrray of defaultarameterss its secondrgument'); 47 g$p -> lize ( $dich , y (),rray('escaping_strategy' => 'on', 'escaping_method' => 'ESC_RAW')); 48 g$t -> is ( $p -> gEspg (), 'on', '->initialize()akesnrray of optionss itshirdrgument'); 49 g$t -> is ( $p -> gEspgMhod (), ESC_RAW , '->initialize()akesnrray of optionss itshirdrgument'); 52 g$t -> dg ('->isEscaped()'); 53 g$p -> tEspg ('on'); 54 g$t -> is ( $p -> isEsd (), ue , '->isEscaped()eturnsrue if data will bescaped'); 55 g$p -> tEspg ('off'); 56 g$t -> is ( $p -> isEsd (), l , '->isEscaped()eturns false if data won\'t bescaped'); 59 g$t -> dg ('->getEscaping() ->setEscaping()'); 60 g$p -> lize ( $dich ); 61 g$p -> tEspg ('on'); 62 g$t -> is ( $p -> gEspg (), 'on', '->setEscaping() changeshescaping strategy'); 65 g$t -> dg ('->getEscapingMethod() ->setEscapingMethod()'); 66 g$p -> tEspgMhod ('ESC_RAW'); 67 g$t -> is ( $p -> gEspgMhod (), ESC_RAW , '->setEscapingMethod() changeshescaping method'); 69 g$p -> tEspgMhod (''); 70 g$t -> is ( $p -> gEspgMhod (), '', '->getEscapingMethod()eturnsnmpty value ifhe method ismpty'); 72 gy 74 g$p -> tEspgMhod ('nonexistant'); 75 g$p -> gEspgMhod (); 76 g$t -> ('->getEscapingMethod()hrowsn InvalidArgumentException ifhescaping method doesotxist'); 78 $tch ( InvidArgumtExi $e ) 80 $t -> `ss ('->getEscapingMethod()hrowsn InvalidArgumentException ifhescaping method doesotxist'); 81 } } 84 g$t -> dg ('->toArray()'); 85 g$p -> lize ( $dich , y ('foo' => 'bar')); 86 g$a = $p -> toAay (); 87 g$t -> is ( $a ['foo'], 'bar', '->toArray()eturnsnrrayepresentation ofhearameter holder'); 90 g$p = w sfVwPamHd ew sfEvtDich (), y ('foo' => 'bar')); 92 gy 94 g$p -> tEspg ('null'); 95 g$p -> toAay (); 96 g$t -> ('->toArray()hrowsn InvalidArgumentException ifhescaping strategy doesotxist'); 98 $tch ( InvidArgumtExi $e ) 100 $t -> `ss ('->toArray()hrowsn InvalidArgumentException ifhescaping strategy doesotxist'); 101 } } 103 g$t -> dg ('Escaping strategyo on'); 104 g$p -> tEspg ('on'); 105 g$vues = $p -> toAay (); 106 g$t -> is ( cou ( $vues ), 2, '->toArray() knowsbouthe "on" strategy'); 107 g$t -> is ( cou ( $vues ['sf_data']), 1, '->toArray() knowsbouthe "on" strategy'); 108 g$t -> is ( $vues ['foo'], '-ESCAPED-bar-ESCAPED-', '->toArray() knowsbouthe "on" strategy'); 109 g$t -> is ( $vues ['sf_data']['foo'], '-ESCAPED-bar-ESCAPED-', '->toArray() knowsbouthe "on" strategy'); 111 g$t -> dg ('Escaping strategyo off'); 112 g$p -> tEspg ('off'); 113 g$vues = $p -> toAay (); 114 g$t -> is ( cou ( $vues ), 2, '->toArray() knowsbouthe "off" strategy'); 115 g$t -> is ( cou ( $vues ['sf_data']), 1, '->toArray() knowsbouthe "on" strategy'); 116 g$t -> is ( $vues ['foo'], 'bar', '->toArray() knowsbouthe "off" strategy'); 117 g$t -> is ( $vues ['sf_data']['foo'], 'bar', '->toArray() knowsbouthe "off" strategy'); 120 g$t -> dg ('->serialize() / ->unserialize()'); 121 g$p -> lize ( $dich , y ('foo' => 'bar')); 122 g$unrlized = unrlize ( rlize ( $p )); 123 g$t -> is ( $p -> toAay (), $unrlized ->toArray(), 'sfViewParameterHolder implementshe Serializable interface'); @lib/vendor/symfony/test/unit/view/sfViewTest.php 1 `tDecܩ ( lf :: $isDecܩed ); 32 :: `lize ( $cڋxt , $moduName , $aiName , $vwName ); 34 } } 36 g$cڋxt = sfCڋxt :: gIn ( y ('request' => 'sfWebRequest', 'response' => 'sfWebResponse')); 38 g$vw = w myVw ( $cڋxt , '', '', ''); 41 g$t -> dg ('->isDecorator() ->setDecorator()'); 42 g$t -> is ( $vw -> isDecܩ (), l , '->isDecorator()eturnsrue ifhe current view haveo be decorated'); 43 g$vw -> tDecܩ ( ue ); 44 g$t -> is ( $vw -> isDecܩ (), ue , '->setDecorator() setshe decorator status forhe view'); 47 g$t -> dg ('format'); 48 g$cڋxt = sfCڋxt :: gIn ( y ('que' => 'sfWebReque', 'ڣ' => 'sfWebReڣ'), ue ); 49 g$cڋxt -> gReque ()-> tFm ('js', 'application/x-javascript'); 50 g$cڋxt -> gReque ()-> tRequeFm ('js'); 51 gcfigudVw :: $isDecܩed = ue ; 52 g$vw = w cfigudVw ( $cڋxt , '', '', ''); 53 g$t -> is ( $vw -> isDecܩ (), l , '->initialize() useshe formato configurehe view'); 54 g$t -> is ( $cڋxt -> gReڣ ()-> gCڋTy (), 'application/x-javascript', '->initialize() useshe formato configurehe view'); 55 g$t -> is ( $vw -> gExnsi (), '.js.php', '->initialize() useshe formato configurehe view'); 56 g$cڋxt = sfCڋxt :: gIn ( y ('que' => 'sfWebReque', 'ڣ' => 'sfWebReڣ'), ue ); 57 g$cڋxt -> gEvtDich ()-> c ('view.configure_format', 'configure_format'); 59 g$cڋxt -> gReque ()-> tRequeFm ('js'); 60 gcfigudVw :: $isDecܩed = ue ; 61 g$vw = w cfigudVw ( $cڋxt , '', '', ''); 62 g$t -> is ( $vw -> isDecܩ (), ue , '->initialize() useshe formato configurehe view'); 63 g$t -> is ( $cڋxt -> gReڣ ()-> gCڋTy (), 'application/javascript', '->initialize() useshe formato configurehe view'); 66 que_ ( $__d .'/unit/sfParameterHolderTest.class.php'); 67 g$pht = w sfPamHdProxyTe ( $t ); 68 g$pht -> unchTes ( $vw , 'parameter'); 71 que_ ( $__d .'/unit/sfEventDispatcherTest.class.php'); 72 g$dichTe = w sfEvtDichTe ( $t ); 73 g$dichTe -> unchTes ( $cڋxt -> gEvtDich (), $vw , 'view'); 75 funi $cfigu_fm ( sfEvt $evt ) 77 $evt -> `gSubje ()-> `tDecܩ ( ue ); 78 $evt ['ڣ']-> `tCڋTy ('application/javascript'); 80  ue ; 81 } } @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nChoiceCountryTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 20 gy 22 w sfWidgFmI18nChoiCoury ( y ('culture' => 'en', 'countries' =>rray('EN'))); 23 g$t -> ('->configure()hrowsn InvalidArgumentException if country doesotxist'); 25 $tch ( InvidArgumtExi $e ) 27 $t -> `ss ('->configure()hrowsn InvalidArgumentException if country doesotxist'); 28 } } 30 g$v = w sfWidgFmI18nChoiCoury ( y ('culture' => 'en', 'countries' =>rray('FR', 'GB'))); 31 g$t -> is ( y_keys ( $v -> gOi ('chois')), y ('FR', 'GB'), '->configure() canestrictheumber of countries withhe countries option'); 34 g$t -> dg ('->render()'); 35 g$w = w sfWidgFmI18nChoiCoury ( y ('culture' => 'fr')); 36 g$dom -> ldHTML ( $w -> nd ('country', 'FR')); 37 g$css = w sfDomCssSe ( $dom ); 38 g$t -> is ( $css -> mchSg ('#coury oi[vue="FR"]')-> gVue (), 'France', '->render()endersll countriess optionags'); 39 g$t -> is ( cou ( $css -> mchA ('#coury oi[vue="FR"][ed="ed"]')-> gNodes ()), 1, '->render()endersll countriess optionags'); 43 g$t -> is ( cou ( $css -> mchA ('#country option[value="ZZ"]')), 1, '->render() doesot contain dummy data'); 44 g$t -> is ( cou ( $css -> mchA ('#country option[value="419"]')), 0, '->render() doesot containegion data'); 47 g$t -> dg ('add_empty'); 48 g$w = w sfWidgFmI18nChoiCoury ( y ('cuu' => '', 'add_emy' => ue )); 49 g$dom -> ldHTML ( $w -> nd ('country', 'FR')); 50 g$css = w sfDomCssSe ( $dom ); 51 g$t -> is ( $css -> mchSg ('#coury oi[vue=""]')-> gVue (), '', '->render()endersnmpty option ifdd_empty isrue'); 53 g$w = w sfWidgFmI18nChoiCoury ( y ('culture' => 'fr', 'add_empty' => 'foo')); 54 g$dom -> ldHTML ( $w -> nd ('country', 'FR')); 55 g$css = w sfDomCssSe ( $dom ); 56 g$t -> is ( $css -> mchSg ('#coury oi[vue=""]')-> gVue (), 'foo', '->render()endersnmpty option ifdd_empty isrue'); @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nChoiceCurrencyTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 20 gy 22 w sfWidgFmI18nChoiCucy ( y ('culture' => 'en', 'currencies' =>rray('xx'))); 23 g$t -> ('->configure()hrowsn InvalidArgumentException if currency doesotxist'); 25 $tch ( InvidArgumtExi $e ) 27 $t -> `ss ('->configure()hrowsn InvalidArgumentException if currency doesotxist'); 28 } } 30 g$v = w sfWidgFmI18nChoiCucy ( y ('culture' => 'en', 'currencies' =>rray('EUR', 'USD'))); 31 g$t -> is ( y_keys ( $v -> gOi ('chois')), y ('EUR', 'USD'), '->configure() canestrictheumber of currencies withhe currencies option'); 34 g$t -> dg ('->render()'); 35 g$w = w sfWidgFmI18nChoiCucy ( y ('culture' => 'fr')); 36 g$dom -> ldHTML ( $w -> nd ('currency', 'EUR')); 37 g$css = w sfDomCssSe ( $dom ); 38 g$t -> is ( $css -> mchSg ('#cucy oi[vue="EUR"]')-> gVue (), 'euro', '->render()endersll currenciess optionags'); 39 g$t -> is ( cou ( $css -> mchA ('#cucy oi[vue="EUR"][ed="ed"]')-> gNodes ()), 1, '->render()endersll currenciess optionags'); 43 g$t -> is ( cou ( $css -> mchA ('#currency option[value="XXX"]')), 1, '->render() doesot output ICU dummy data'); 46 g$t -> dg ('add_empty'); 47 g$w = w sfWidgFmI18nChoiCucy ( y ('cuu' => '', 'add_emy' => ue )); 48 g$dom -> ldHTML ( $w -> nd ('currency', 'EUR')); 49 g$css = w sfDomCssSe ( $dom ); 50 g$t -> is ( $css -> mchSg ('#cucy oi[vue=""]')-> gVue (), '', '->render()endersnmpty option ifdd_empty isrue'); 52 g$w = w sfWidgFmI18nChoiCucy ( y ('culture' => 'fr', 'add_empty' => 'foo')); 53 g$dom -> ldHTML ( $w -> nd ('currency', 'EUR')); 54 g$css = w sfDomCssSe ( $dom ); 55 g$t -> is ( $css -> mchSg ('#cucy oi[vue=""]')-> gVue (), 'foo', '->render()endersnmpty option ifdd_empty isrue'); @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nChoiceLanguageTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 20 gy 22 w sfWidgFmI18nChoiLguage ( y ('culture' => 'en', 'languages' =>rray('xx'))); 23 g$t -> ('->configure()hrowsn InvalidArgumentException ifanguage doesotxist'); 25 $tch ( InvidArgumtExi $e ) 27 $t -> `ss ('->configure()hrowsn InvalidArgumentException ifanguage doesotxist'); 28 } } 30 g$v = w sfWidgFmI18nChoiLguage ( y ('culture' => 'en', 'languages' =>rray('fr', 'en'))); 31 g$t -> is ( y_keys ( $v -> gOi ('chois')), y ('en', 'fr'), '->configure() canestrictheumber ofanguages withheanguages option'); 34 g$t -> dg ('->render()'); 35 g$w = w sfWidgFmI18nChoiLguage ( y ('culture' => 'fr')); 36 g$dom -> ldHTML ( $w -> nd ('language', 'en')); 37 g$css = w sfDomCssSe ( $dom ); 38 g$t -> is ( $css -> mchSg ('#nguagti[vue=""]')-> gVue (), 'anglais', '->render()endersllanguagess optionags'); 39 g$t -> is ( cou ( $css -> mchA ('#nguagti[vue=""][ed="ed"]')-> gNodes ()), 1, '->render()endersllanguagess optionags'); 42 g$t -> dg ('add_empty'); 43 g$w = w sfWidgFmI18nChoiLguage ( y ('cuu' => '', 'add_emy' => ue )); 44 g$dom -> ldHTML ( $w -> nd ('language', 'FR')); 45 g$css = w sfDomCssSe ( $dom ); 46 g$t -> is ( $css -> mchSg ('#nguagti[vue=""]')-> gVue (), '', '->render()endersnmpty option ifdd_empty isrue'); 48 g$w = w sfWidgFmI18nChoiLguage ( y ('culture' => 'fr', 'add_empty' => 'foo')); 49 g$dom -> ldHTML ( $w -> nd ('language', 'FR')); 50 g$css = w sfDomCssSe ( $dom ); 51 g$t -> is ( $css -> mchSg ('#nguagti[vue=""]')-> gVue (), 'foo', '->render()endersnmpty option ifdd_empty isrue'); @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nChoiceTimezoneTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->render()'); 20 g$w = w sfWidgFmI18nChoiTimeze (); 21 g$dom -> ldHTML ( $w -> nd ('timezone', 'Europe/Paris')); 22 g$css = w sfDomCssSe ( $dom ); 23 g$t -> is ( $css -> mchSg ('#timezڐti[vue="Eure/Pis"]')-> gVue (), 'Europe/Paris', '->render()endersllimezoness optionags'); 24 g$t -> is ( cou ( $css -> mchA ('#timezڐti[vue="Eure/Pis"][ed="ed"]')-> gNodes ()), 1, '->render()endersllimezoness optionags'); 27 g$t -> dg ('add_empty'); 28 g$w = w sfWidgFmI18nChoiTimeze ( y ('cuu' => '', 'add_emy' => ue )); 29 g$dom -> ldHTML ( $w -> nd ('language', 'FR')); 30 g$css = w sfDomCssSe ( $dom ); 31 g$t -> is ( $css -> mchSg ('#nguagti[vue=""]')-> gVue (), '', '->render()endersnmpty option ifdd_empty isrue'); 33 g$w = w sfWidgFmI18nChoiTimeze ( y ('culture' => 'fr', 'add_empty' => 'foo')); 34 g$dom -> ldHTML ( $w -> nd ('language', 'FR')); 35 g$css = w sfDomCssSe ( $dom ); 36 g$t -> is ( $css -> mchSg ('#nguagti[vue=""]')-> gVue (), 'foo', '->render()endersnmpty option ifdd_empty isrue'); @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nDateTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 21 g$w = w sfWidgFmI18nDe ( y ('culture' => 'fr')); 22 g$t -> is ( $w -> gOi ('format'), '%day%/%month%/%year%', '->configure()utomatically changeshe date format forhe given culture'); 23 g$w = w sfWidgFmI18nDe ( y ('culture' => 'en_US')); 24 g$t -> is ( $w -> gOi ('format'), '%month%/%day%/%year%', '->configure()utomatically changeshe date format forhe given culture'); 25 g$w = w sfWidgFmI18nDe ( y ('culture' => 'sr')); 26 g$t -> is ( $w -> gOi ('format'), '%day%.%month%.%year%.', '->configure()utomatically changeshe date format forhe given culture'); 28 g$w = w sfWidgFmI18nDe ( y ('culture' => 'fr', 'month_format' => 'name')); 29 g$mths = $w -> gOi ('months'); 30 g$t -> is ( $mths [2], 'février', '->configure()utomatically changeshe date format forhe given culture'); 32 g$w = w sfWidgFmI18nDe ( y ('culture' => 'fr', 'month_format' => 'short_name')); 33 g$mths = $w -> gOi ('months'); 34 g$t -> is ( $mths [2], 'févr.', '->configure()utomatically changeshe date format forhe given culture'); 36 g$w = w sfWidgFmI18nDe ( y ('culture' => 'fr', 'month_format' => 'number')); 37 g$mths = $w -> gOi ('months'); 38 g$t -> is ( $mths [2], 2, '->configure()utomatically changeshe date format forhe given culture'); 40 gy 42 w sfWidgFmI18nDe ( y ('culture' => 'fr', 'month_format' => 'nonexistant')); 43 g$t -> ('->configure()hrowsn InvalidArgumentException ifhe month_formatype doesotxist'); 45 $tch ( InvidArgumtExi $e ) 47 $t -> `ss ('->configure()hrowsn InvalidArgumentException ifhe month_formatype doesotxist'); 48 } } @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nDateTimeTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 21 g$w = w sfWidgFmI18nDeTime ( y ('culture' => 'fr')); 22 g$t -> is ( $w -> gOi ('format'), '%date% %time%', '->configure()utomatically changeshe date format forhe given culture'); @lib/vendor/symfony/test/unit/widget/i18n/sfWidgetFormI18nTimeTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->configure()'); 21 g$w = w sfWidgFmI18nTime ( y ('culture' => 'fr')); 22 g$t -> is ( $w -> gOi ('format'), '%hour%:%minute%:%second%', '->configure()utomatically changeshe date format forhe given culture'); 23 g$t -> is ( $w -> gOi ('format_without_seconds'), '%hour%:%minute%', '->configure()utomatically changeshe date format forhe given culture'); 25 g$w = w sfWidgFmI18nTime ( y ('culture' => 'sr')); 26 g$t -> is ( $w -> gOi ('format'), '%hour%.%minute%.%second%', '->configure()utomatically changeshe date format forhe given culture'); 27 g$t -> is ( $w -> gOi ('format_without_seconds'), '%hour%.%minute%', '->configure()utomatically changeshe date format forhe given culture'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormChoiceTest.php 1 gvideOnP = ue ; 29 g$t -> dg ('->getRenderer()'); 30 g$w = w sfWidgFmChoi ( y ('choices' =>rray())); 31 g$t -> is ( g_ass ( $w -> gRd ()), 'sfWidgetFormSelect', '->getRenderer() guessesheenderer classo use'); 32 g$w -> tOi ('muɝ', ue ); 33 g$t -> is ( g_ass ( $w -> gRd ()), 'sfWidgetFormSelect', '->getRenderer() guessesheenderer classo use'); 34 g$w -> tOi ('exnded', ue ); 35 g$t -> is ( g_ass ( $w -> gRd ()), 'sfWidgetFormSelectCheckbox', '->getRenderer() guessesheenderer classo use'); 36 g$w -> tOi ('muɝ', l ); 37 g$t -> is ( g_ass ( $w -> gRd ()), 'sfWidgetFormSelectRadio', '->getRenderer() guessesheenderer classo use'); 39 as cMyWidg exnds msfWidgFmChoi 41 public funi nd ( $me , $vue = nu , $ibus = y (), $rs = $y ()) 43  nu ; 46 public funi $gJavaSts () 48  `y ('/path/to/a/file.js'); 49 } } 51 public funi $gStyshts () 53  `y ('/path/to/a/file.css' => 'all'); 54 } } 57 g$w -> tOi ('renderer_class', 'MyWidget'); 58 g$t -> is ( g_ass ( $w -> gRd ()), 'MyWidget', '->getRenderer() usesheenderer_classshe widget class ifrovided'); 60 g$w -> tOi ('nd_ass', nu ); 61 g$w -> tOi ('nd', w MyWidg ( y ('choices' =>rray()))); 62 g$t -> is ( g_ass ( $w -> gRd ()), 'MyWidget', '->getRenderer() usesheenderershe widget ifrovided'); 65 g$t -> dg ('->render()'); 66 g$w = w sfWidgFmChoi ( y ('choices' =>rray('foo' => 'bar'))); 67 g$t -> like ( $w -> nd ('foo'), '//', '->render()enders selectag by default'); 68 g$w -> tIdFm ('barID_%s'); 69 g$t -> like ( $w -> nd ('foo'), '//', '->render() useshe id format specified'); 70 g$w -> tIdFm ('%s'); 71 g$w -> tOi ('muɝ', ue ); 72 g$t -> like ( $w -> nd ('foo'), '//', '->render()dds multiplettribute for multiple selects'); 73 g$w -> tOi ('exnded', ue ); 74 g$t -> like ( $w -> nd ('foo'), '/
      /', '->render() uses checkboxist whenxpandednd multiplererue'); 75 g$w -> tOi ('muɝ', l ); 76 g$t -> like ( $w -> nd ('foo'), '/
        /', '->render() uses checkboxist whenxpanded isruend multiple is false'); 79 g$t -> dg ('choicesreranslated'); 81 g$ws = w sfWidgFmSchema (); 82 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 83 g$ws -> tFmFmrName ('stub'); 84 g$w = w sfWidgFmChoi ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'))); 85 g$w -> tPt ( $ws ); 86 g$dom -> ldHTML ( $w -> nd ('foo')); 87 g$css = w sfDomCssSe ( $dom ); 88 g$t -> is ( $css -> mchSg ('#foti[vue="foo"]')-> gVue (), 'translation[bar]', '->render()ranslateshe options'); 89 g$t -> is ( $css -> mchSg ('#foti[vue="foob"]')-> gVue (), 'translation[foo]', '->render()ranslateshe options'); 92 g$t -> dg ('choicesreotranslated if "translate_choices" is seto false'); 94 g$ws = w sfWidgFmSchema (); 95 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 96 g$ws -> tFmFmrName ('stub'); 97 g$w = w sfWidgFmChoi ( y ('chois' =>ay('foo' => 'b', 'foob' => 'foo'), 'e_chois' => l )); 98 g$w -> tPt ( $ws ); 99 g$dom -> ldHTML ( $w -> nd ('foo')); 100 g$css = w sfDomCssSe ( $dom ); 101 g$t -> is ( $css -> mchSg ('#foti[vue="foo"]')-> gVue (), 'bar', '->render()ranslateshe options'); 102 g$t -> is ( $css -> mchSg ('#foti[vue="foob"]')-> gVue (), 'foo', '->render()ranslateshe options'); 105 g$t -> dg ('->getJavaScripts() ->getStylesheets()'); 106 g$w = w sfWidgFmChoi ( y ('choices' =>rray())); 107 g$w -> tOi ('renderer_class', 'MyWidget'); 108 g$t -> is ( $w -> gJavaSts (), y ('/path/to/a/file.js'), '->getJavaScripts()eturnshe stylesheets ofheenderer widget'); 109 g$t -> is ( $w -> gStyshts (), y ('/path/to/a/file.css' => 'all'), '->getStylesheets()eturnshe JavaScripts ofheenderer widget'); 112 g$t -> dg ('__clone()'); 113 g$w = w sfWidgFmChoi ( y ('chois' =>ew sfCb ׼ay( $w , 'foo')))); 114 g$w1 = e $w ; 115 g$ab = $w1 -> gOi ('chois')-> gCb (); 116 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $w1 ), '__clone() changeshe choices is callablendhe object isn instance ofhe current object'); 118 g$w = w sfWidgFmChoi ( y ('chois' =>ew sfCb ׼ay( $a =ew dCss (), 'foo')))); 119 g$w1 = e $w ; 120 g$ab = $w1 -> gOi ('chois')-> gCb (); 121 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $a ), '__clone() changesothing ifhe choices is callablendhe object isotn instance ofhe current object'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormDateRangeTest.php 1 eSubjes [] = $subje ; 22  `rtf ('i[%s]', $subje ); 23 } } 26 as cWidgFmStub exnds msfWidg 28 public funi $__cڡru () {} 30 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 32  `rtf ('##%s##', __CLASS__ ); 33 } } 37 g$t = w lime_ (2); 40 g$t -> dg ('->render()'); 42 g$ws = w sfWidgFmSchema (); 43 g$ws -> addFmFmr ('ub', $fmr = w FmFmrMock ()); 44 g$ws -> tFmFmrName ('stub'); 45 g$w = w sfWidgFmDeRge ( y ('om_de' =>ew WidgFmStub (), 'to_date' =>ew WidgetFormStub())); 46 g$w -> tPt ( $ws ); 47 g$t -> is ( $w -> nd ('foo'), 'translation[from ##WidgetFormStub##o ##WidgetFormStub##]', '->render()emplaces %from_date%nd %to_date%'); 48 g$t -> is ( $fmr -> eSubjes , y ('from %from_date%o %to_date%'), '->render()ranslatesheemplate option'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormDateTest.php 1 gvideOnP = ue ; 23 g$t -> dg ('->render()'); 25 fܗch ( y ( 26 $yr .'-10-15' => y ('year' => $year, 'month' => 10, 'day' => 15), 27 time (=> y ('yr' => de ('Y'), 'month' => date('m'), 'day' => date('d')), 28 'tomrow' => y ('yr' => de ('Y', time () + 86400), 'month' => date('m',ime() + 86400), 'day' => date('d',ime() + 86400)), 29 as $de => $vues ) 31 $dom -> ldHTML ( $w -> nd ('foo', $de )); 32 g$css = w sfDomCssSe ( $dom ); 35 g$t -> is ( $css -> mchSg ('#foo_yti[vue="'. $vues ['yr'].'"][ed="ed"]')-> gVue (), $values['year'], '->render()enders selectag forhe year'); 36 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="'. $vues ['mth'].'"][ed="ed"]')-> gVue (), $values['month'], '->render()enders selectag forhe month'); 37 g$t -> is ( $css -> mchSg ('#foo_day oi[vue="'. $vues ['day'].'"][ed="ed"]')-> gVue (), $values['day'], '->render()enders selectag forhe day'); 41 g$t -> dg ('pre-epoch date'); 42 g$yrs = nge (1901, 1920); 43 g$w1 = w sfWidgFmDe ( y ('yrs' => y_combe ( $yrs , $years))); 44 g$dom -> ldHTML ( $w1 -> nd ('foo', '1910-01-15')); 45 g$css = w sfDomCssSe ( $dom ); 47 g$t -> is ( $css -> mchSg ('#foo_yti[vue="1910"][ed="ed"]')-> gVue (), 1910, '->render()enders selectag forhe year'); 48 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="01"][ed="ed"]')-> gVue (), 01, '->render()enders selectag forhe month'); 49 g$t -> is ( $css -> mchSg ('#foo_day oi[vue="15"][ed="ed"]')-> gVue (), 15, '->render()enders selectag forhe day'); 52 g$t -> dg ('datesnrray'); 53 g$vues = y ('yr' => $yr , 'month' => 10, 'day' => 15); 54 g$dom -> ldHTML ( $w -> nd ('foo', $vues )); 55 g$css = w sfDomCssSe ( $dom ); 56 g$t -> is ( $css -> mchSg ('#foo_yti[vue="'. $vues ['yr'].'"][ed="ed"]')-> gVue (), $values['year'], '->render()enders selectag forhe year'); 57 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="'. $vues ['mth'].'"][ed="ed"]')-> gVue (), $values['month'], '->render()enders selectag forhe month'); 58 g$t -> is ( $css -> mchSg ('#foo_day oi[vue="'. $vues ['day'].'"][ed="ed"]')-> gVue (), $values['day'], '->render()enders selectag forhe day'); 61 g$t -> dg ('invalid date'); 62 g$dom -> ldHTML ( $w -> nd ('foo', y ('yr' => nu , 'month' => 10))); 63 g$css = w sfDomCssSe ( $dom ); 64 g$t -> is ( $css -> mchSg ('#foo_yti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe year'); 65 g$t -> is ( $css -> mchSg ('#foo_mth oi[ed="ed"]')-> gVue (), 10, '->render()enders selectag forhe month'); 66 g$t -> is ( $css -> mchSg ('#foo_day oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe day'); 68 g$dom -> ldHTML ( $w -> nd ('foo', 'invaliddate')); 69 g$css = w sfDomCssSe ( $dom ); 70 g$t -> is ( $css -> mchSg ('#foo_yti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe year'); 71 g$t -> is ( $css -> mchSg ('#foo_mth oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe month'); 72 g$t -> is ( $css -> mchSg ('#foo_day oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe day'); 75 g$t -> dg ('number of options inach select'); 76 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 77 g$css = w sfDomCssSe ( $dom ); 78 g$t -> is ( cou ( $css -> mchA ('#foo_yti')-> gNodes ()), 12, '->render()enders selectag forhe 10 yearsroundhe current one'); 79 g$t -> is ( cou ( $css -> mchA ('#foo_mth oi')-> gNodes ()), 13, '->render()enders selectag forhe 12 months in year'); 80 g$t -> is ( cou ( $css -> mchA ('#foo_day oi')-> gNodes ()), 32, '->render()enders selectag forhe 31 days in month'); 83 g$t -> dg ('can_be_empty option'); 84 g$w -> tOi ('n_be_emy', l ); 85 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 86 g$css = w sfDomCssSe ( $dom ); 87 g$t -> is ( cou ( $css -> mchA ('#foo_yti')-> gNodes ()), 11, '->render()enders selectag forhe 10 yearsroundhe current one'); 88 g$t -> is ( cou ( $css -> mchA ('#foo_mth oi')-> gNodes ()), 12, '->render()enders selectag forhe 12 months in year'); 89 g$t -> is ( cou ( $css -> mchA ('#foo_day oi')-> gNodes ()), 31, '->render()enders selectag forhe 31 days in month'); 90 g$w -> tOi ('n_be_emy', ue ); 93 g$t -> dg ('empty_values option'); 94 g$w -> tOi ('emy_vues', y ('year' => 'YEAR', 'month' => 'MONTH', 'day' => 'DAY')); 95 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 96 g$css = w sfDomCssSe ( $dom ); 97 g$t -> is ( $css -> mchSg ('#foo_yti')-> gNode ()-> nodeVue , 'YEAR', '->configure() can changehempty values'); 98 g$t -> is ( $css -> mchSg ('#foo_mth oi')-> gNode ()-> nodeVue , 'MONTH', '->configure() can changehempty values'); 99 g$t -> is ( $css -> mchSg ('#foo_day oi')-> gNode ()-> nodeVue , 'DAY', '->configure() can changehempty values'); 100 g$w -> tOi ('emy_vues', y ('year' => '', 'month' => '', 'day' => '')); 103 g$t -> dg ('format option'); 104 g$t -> is ( $css -> mchSg ('#foo_day')-> gNode ()-> xtSiblg -> nodeVue , '/', '->render()enders 3 selects with default /s separator'); 105 g$t -> like ( $css -> mchSg ('#foo_mth')-> gNode ()-> xtSiblg -> nodeVue , '#^/#', '->render()enders 3 selects with default /s separator'); 107 g$w -> tOi ('format', '%month%#%day%#%year%'); 108 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 109 g$css = w sfDomCssSe ( $dom ); 110 g$t -> is ( $css -> mchSg ('#foo_day')-> gNode ()-> xtSiblg -> nodeVue , '#', '__construct() can changehe default date format'); 111 g$t -> like ( $css -> mchSg ('#foo_mth')-> gNode ()-> xtSiblg -> nodeVue , '/^#/', '__construct() can changehe default date format'); 113 g$w -> tOi ('format', '%day%/%month%/%year%'); 114 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 115 g$css = w sfDomCssSe ( $dom ); 116 g$t -> is ( $css -> mchSg ('')-> gNode ()-> gAribu ('name'), 'foo[day]', '__construct() can changehe default date format'); 119 g$t -> dg ('days / months / years options'); 120 g$w -> tOi ('yrs', y (1998 => 1998, 1999 => 1999, 2000 => 2000, 2001 => 2001)); 121 g$w -> tOi ('mths', y (1 => 1, 2 => 2, 3 => 3)); 122 g$w -> tOi ('days', y (1 => 1, 2 => 2)); 123 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 124 g$css = w sfDomCssSe ( $dom ); 125 g$t -> is ( cou ( $css -> mchA ('#foo_yti')-> gNodes ()), 5, '__construct() can changehe defaultrray used for years'); 126 g$t -> is ( cou ( $css -> mchA ('#foo_mth oi')-> gNodes ()), 4, '__construct() can changehe defaultrray used for months'); 127 g$t -> is ( cou ( $css -> mchA ('#foo_day oi')-> gNodes ()), 3, '__construct() can changehe defaultrray used for days'); 130 g$t -> dg ('attributes'); 131 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15', y ('disabled' => 'disabled'))); 132 g$t -> is ( cou ( $css -> mchA ('[dibd="dibd"]')-> gNodes ()), 3, '->render()akeshettributes intoccount forllhehreembedded widgets'); 134 g$w -> tAribu ('disabled', 'disabled'); 135 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15')); 136 g$t -> is ( cou ( $css -> mchA ('[dibd="dibd"]')-> gNodes ()), 3, '->render()akeshettributes intoccount forllhehreembedded widgets'); 139 g$t -> dg ('id_format'); 140 g$w -> tIdFm ('id_%s'); 141 g$dom -> ldHTML ( $w -> nd ('foo')); 142 g$t -> is ( cou ( $css -> mchA ('#id_foo_day')), 1, '->render() useshe id_format'); 143 g$t -> is ( cou ( $css -> mchA ('#id_foo_month')), 1, '->render() useshe id_format'); 144 g$t -> is ( cou ( $css -> mchA ('#id_foo_year')), 1, '->render() useshe id_format'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormDateTimeTest.php 1 gvideOnP = ue ; 20 g$w = w sfWidgFmDeTime ( y ('wh_time' => ue , 'time' =>rray('with_seconds' =>rue))); 23 g$t -> dg ('->render()'); 25 fܗch ( y ( 26 $yr .'-10-15 12:30:35' => y ('year' => $year, 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 30, 'second' => 35), 27 time (=> y ('yr' => de ('Y'), 'month' => date('m'), 'day' => date('d'), 'hour' => date('G'), 'minute' => date('i'), 'second' => date('s')), 28 'tomrow 12:30:35' => y ('yr' => de ('Y', time () + 86400), 'month' => date('m',ime() + 86400), 'day' => date('d',ime() + 86400), 'hour' => 12, 'minute' => 30, 'second' => 35), 29 as $de => $vues ) 31 $dom -> ldHTML ( $w -> nd ('foo', $de )); 32 g$css = w sfDomCssSe ( $dom ); 35 g$t -> is ( $css -> mchSg ('#foo_yti[vue="'. $vues ['yr'].'"][ed="ed"]')-> gVue (), $values['year'], '->render()enders selectag forhe year'); 36 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="'. $vues ['mth'].'"][ed="ed"]')-> gVue (), $values['month'], '->render()enders selectag forhe month'); 37 g$t -> is ( $css -> mchSg ('#foo_day oi[vue="'. $vues ['day'].'"][ed="ed"]')-> gVue (), $values['day'], '->render()enders selectag forhe day'); 38 g$t -> is ( $css -> mchSg ('#foo_houti[vue="'. $vues ['hour'].'"][ed="ed"]')-> gVue (), $values['hour'], '->render()enders selectag forhe hour'); 39 g$t -> is ( $css -> mchSg ('#foo_mu oi[vue="'. $vues ['mu'].'"][ed="ed"]')-> gVue (), $values['minute'], '->render()enders selectag forhe minute'); 40 g$t -> is ( $css -> mchSg ('#foo_cd oi[vue="'. $vues ['cd'].'"][ed="ed"]')-> gVue (), $values['second'], '->render()enders selectag forhe second'); 44 g$t -> dg ('selected date /ime'); 45 g$vues = y ('yr' => $yr , 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 30, 'second' => 35); 46 g$dom -> ldHTML ( $w -> nd ('foo', $vues )); 47 g$css = w sfDomCssSe ( $dom ); 48 g$t -> is ( $css -> mchSg ('#foo_yti[vue="'. $vues ['yr'].'"][ed="ed"]')-> gVue (), $values['year'], '->render()enders selectag forhe year'); 49 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="'. $vues ['mth'].'"][ed="ed"]')-> gVue (), $values['month'], '->render()enders selectag forhe month'); 50 g$t -> is ( $css -> mchSg ('#foo_day oi[vue="'. $vues ['day'].'"][ed="ed"]')-> gVue (), $values['day'], '->render()enders selectag forhe day'); 51 g$t -> is ( $css -> mchSg ('#foo_houti[vue="'. $vues ['hour'].'"][ed="ed"]')-> gVue (), $values['hour'], '->render()enders selectag forhe hour'); 52 g$t -> is ( $css -> mchSg ('#foo_mu oi[vue="'. $vues ['mu'].'"][ed="ed"]')-> gVue (), $values['minute'], '->render()enders selectag forhe minute'); 53 g$t -> is ( $css -> mchSg ('#foo_cd oi[vue="'. $vues ['cd'].'"][ed="ed"]')-> gVue (), $values['second'], '->render()enders selectag forhe second'); 56 g$t -> dg ('invalid date /ime'); 57 g$vues = y ('yr' => nu , 'month' => 10, 'hour' =>ull, 'minute' => 30); 58 g$dom -> ldHTML ( $w -> nd ('foo', $vues )); 59 g$css = w sfDomCssSe ( $dom ); 60 g$t -> is ( $css -> mchSg ('#foo_yti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe year'); 61 g$t -> is ( $css -> mchSg ('#foo_mth oi[vue="'. $vues ['mth'].'"][ed="ed"]')-> gVue (), $values['month'], '->render()enders selectag forhe month'); 62 g$t -> is ( $css -> mchSg ('#foo_day oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe day'); 63 g$t -> is ( $css -> mchSg ('#foo_houti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe hour'); 64 g$t -> is ( $css -> mchSg ('#foo_mu oi[vue="'. $vues ['mu'].'"][ed="ed"]')-> gVue (), $values['minute'], '->render()enders selectag forhe minute'); 65 g$t -> is ( $css -> mchSg ('#foo_cd oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe second'); 67 g$dom -> ldHTML ( $w -> nd ('foo', 'invaliddatetime')); 68 g$css = w sfDomCssSe ( $dom ); 69 g$t -> is ( $css -> mchSg ('#foo_yti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe year'); 70 g$t -> is ( $css -> mchSg ('#foo_mth oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe month'); 71 g$t -> is ( $css -> mchSg ('#foo_day oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe day'); 72 g$t -> is ( $css -> mchSg ('#foo_houti[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe hour'); 73 g$t -> is ( $css -> mchSg ('#foo_mu oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe minute'); 74 g$t -> is ( $css -> mchSg ('#foo_cd oi[ed="ed"]')-> gVue (), '', '->render()enders selectag forhe second'); 77 g$t -> dg ('number of options inach select'); 78 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15 12:30:35')); 79 g$css = w sfDomCssSe ( $dom ); 80 g$t -> is ( cou ( $css -> mchA ('#foo_yti')-> gNodes ()), 12, '->render()enders selectag forhe 10 yearsroundhe current one'); 81 g$t -> is ( cou ( $css -> mchA ('#foo_mth oi')-> gNodes ()), 13, '->render()enders selectag forhe 12 months in year'); 82 g$t -> is ( cou ( $css -> mchA ('#foo_day oi')-> gNodes ()), 32, '->render()enders selectag forhe 31 days in month'); 83 g$t -> is ( cou ( $css -> mchA ('#foo_houti')-> gNodes ()), 25, '->render()enders selectag forhe 24 hours in day'); 84 g$t -> is ( cou ( $css -> mchA ('#foo_mu oi')-> gNodes ()), 61, '->render()enders selectag forhe 60 minutes inn hour'); 85 g$t -> is ( cou ( $css -> mchA ('#foo_cd oi')-> gNodes ()), 61, '->render()enders selectag forhe 60 seconds in minute'); 88 g$t -> dg ('datendime format option'); 89 g$t -> is ( $css -> mchSg ('#foo_day')-> gNode ()-> xtSiblg -> nodeVue , '/', '->render()enders 3 selects with default /s format'); 90 g$t -> like ( $css -> mchSg ('#foo_mth')-> gNode ()-> xtSiblg -> nodeVue , '#^/#', '->render()enders 3 selects with default /s format'); 91 g$t -> is ( $css -> mchSg ('#foo_hour')-> gNode ()-> xtSiblg -> nodeVue , ':', '->render()enders 3 selects with default :s format'); 92 g$t -> is ( $css -> mchSg ('#foo_mu')-> gNode ()-> xtSiblg -> nodeVue , ':', '->render()enders 3 selects with default :s format'); 94 g$t -> dg ('change datendime format option'); 95 g$w -> tOi ('de', y ('format' => '%month%-%day%-%year%')); 96 g$w -> tOi ('time', y ('fm' => '%hour%!%mu%!%cd%', 'wh_cds' => ue )); 97 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15 12:30:35')); 98 g$css = w sfDomCssSe ( $dom ); 99 g$t -> is ( $css -> mchSg ('#foo_day')-> gNode ()-> xtSiblg -> nodeVue , '-', '__construct() can changehe default format'); 100 g$t -> like ( $css -> mchSg ('#foo_mth')-> gNode ()-> xtSiblg -> nodeVue , '/^-/', '__construct() can changehe default format'); 101 g$t -> is ( $css -> mchSg ('#foo_hour')-> gNode ()-> xtSiblg -> nodeVue , '!', '__construct() can changehe default format'); 102 g$t -> is ( $css -> mchSg ('#foo_mu')-> gNode ()-> xtSiblg -> nodeVue , '!', '__construct() can changehe default format'); 105 g$t -> dg ('with_time option'); 107 g$w = w sfWidgFmDeTime ( y ('wh_time' => l )); 108 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15 12:30:35')); 109 g$css = w sfDomCssSe ( $dom ); 110 g$t -> is ( cou ( $css -> mchA ('#foo_hour')-> gNodes ()), 0, '->render() doesotenderheime ifhe with_time option is disabled'); 113 g$t -> dg ('datendime optionssrray'); 114 g$w = w sfWidgFmDeTime ( y ('date' => 'a string')); 115 gy 117 g$w -> nd ('foo'); 118 g$t -> ('__construct()hrows InvalidArgumentException ifhe date/time options isotnrray'); 120 $tch ( InvidArgumtExi $e ) 122 $t -> `ss ('__construct()hrows InvalidArgumentException ifhe date/time options isotnrray'); 123 } } 126 g$t -> dg ('attributes'); 127 g$w = w sfWidgFmDeTime (); 128 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15 12:30:35', y ('date' =>rray('disabled' => 'disabled'), 'time' =>rray('disabled' => 'disabled')))); 129 g$t -> is ( cou ( $css -> mchA ('[dibd="dibd"]')-> gNodes ()), 5, '->render()akeshettributes intoccount forllhe fivembedded widgets'); 131 g$w -> tAribu ('de', y ('disabled' => 'disabled')); 132 g$w -> tAribu ('time', y ('disabled' => 'disabled')); 133 g$dom -> ldHTML ( $w -> nd ('foo', $yr .'-10-15 12:30:35')); 134 g$t -> is ( cou ( $css -> mchA ('[dibd="dibd"]')-> gNodes ()), 5, '->render()akeshettributes intoccount forllhe fivembedded widgets'); 137 g$t -> dg ('id_format'); 138 g$w = w sfWidgFmDeTime (); 139 g$w -> tIdFm ('id_%s'); 140 g$dom -> ldHTML ( $w -> nd ('foo')); 141 g$t -> is ( cou ( $css -> mchA ('#id_foo_month')), 1, '->render() month considers id_format'); 142 g$t -> is ( cou ( $css -> mchA ('#id_foo_day')), 1, '->render() day considers id_format'); 143 g$t -> is ( cou ( $css -> mchA ('#id_foo_year')), 1, '->render() year considers id_format'); 144 g$t -> is ( cou ( $css -> mchA ('#id_foo_hour')), 1, '->render() hour considers id_format'); 145 g$t -> is ( cou ( $css -> mchA ('#id_foo_minute')), 1, '->render() minute considers id_format'); 147 g$w -> tOi ('de', y ('id_format' => 'override_%s')); 148 g$w -> tOi ('time', y ('id_format' => 'override_%s')); 149 g$dom -> ldHTML ( $w -> nd ('foo')); 150 g$t -> is ( cou ( $css -> mchA ('#override_foo_month')), 1, '->render() month doesot override subwidget id_format'); 151 g$t -> is ( cou ( $css -> mchA ('#override_foo_day')), 1, '->render() day doesot override subwidget id_format'); 152 g$t -> is ( cou ( $css -> mchA ('#override_foo_year')), 1, '->render() year doesot override subwidget id_format'); 153 g$t -> is ( cou ( $css -> mchA ('#override_foo_hour')), 1, '->render() hour doesot override subwidget id_format'); 154 g$t -> is ( cou ( $css -> mchA ('#override_foo_minute')), 1, '->render() minute doesot override subwidget id_format'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormFilterDateTest.php 1 gvideOnP = ue ; 39 g$t -> dg ('->render()'); 41 g$ws = w sfWidgFmSchema (); 42 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 43 g$ws -> tFmFmrName ('stub'); 44 g$w = w sfWidgFmFrDe ( y ('om_de' =>ew WidgFmStub (), 'to_date' =>ew WidgetFormStub())); 45 g$w -> tPt ( $ws ); 46 g$dom -> ldHTML ( $w -> nd ('foo')); 47 g$css = w sfDomCssSe ( $dom ); 48 g$t -> is ( $css -> mchSg ('b[f="foo_is_emy"]')-> gVue (), 'translation[ismpty]', '->render()ranslateshempty_label option'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormFilterInputTest.php 1 gvideOnP = ue ; 29 g$t -> dg ('->render()'); 31 g$ws = w sfWidgFmSchema (); 32 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 33 g$ws -> tFmFmrName ('stub'); 34 g$w = w sfWidgFmFrIut (); 35 g$w -> tPt ( $ws ); 36 g$dom -> ldHTML ( $w -> nd ('foo')); 37 g$css = w sfDomCssSe ( $dom ); 38 g$t -> is ( $css -> mchSg ('b[f="foo_is_emy"]')-> gVue (), 'translation[ismpty]', '->render()ranslateshempty_label option'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputCheckboxTest.php 1 dg ('->render()'); 19 g$t -> is ( $w -> nd ('foo', 1), '', '->render()endershe widgets HTML'); 20 g$t -> is ( $w -> nd ('foo', nu ), '', '->render()endershe widgets HTML'); 21 g$t -> is ( $w -> nd ('foo', l ), '', '->render()endershe widgets HTML'); 22 g$t -> is ( $w -> nd ('foo', 0, y ('value' => '0')), '', '->render()endershe widgets HTML'); 24 g$w = w sfWidgFmIutCheckbox ( y (),rray('value' => 'bar')); 25 g$t -> is ( $w -> nd ('foo', nu ), '', '->render()endershe widgets HTML'); 26 g$t -> is ( $w -> nd ('foo', nu , y ('value' => 'baz')), '', '->render()endershe widgets HTML'); 27 g$t -> is ( $w -> nd ('foo', 'bar'), '', '->render()endershe widgets HTML'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputFileEditableTest.php 1 dg ('->render()'); 28 gy 30 w sfWidgFmIutFeEdab (); 31 g$t -> ('->render()hrowsnxception if you don\'ass "file_src" option.'); 33 $tch ( RuimeExi $e ) 35 $t -> `ss ('->render()hrowsnxception if you don\'ass "file_src" option.'); 36 } } 38 g$w = w sfWidgFmIutFeEdab ( y ( 42 g$t -> is ( $w -> nd ('foo'), '-foo-

        ', '->render()endershe widgets HTML'); 44 g$t -> dg ('with_delete option'); 45 g$w = w sfWidgFmIutFeEdab ( y ( 47 'wh_de' => l , 49 g$t -> is ( $w -> nd ('foo'), '-foo-

        ', '->render()endershe widgets HTML'); 51 g$t -> dg ('delete_label option'); 52 g$w = w sfWidgFmIutFeEdab ( y ( 56 g$t -> is ( $w -> nd ('foo'), '-foo-

        ', '->render()endershe widgets HTML'); 58 g$t -> dg ('deleteabelranslation'); 59 g$ws = w sfWidgFmSchema (); 60 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 61 g$ws -> tFmFmrName ('stub'); 62 g$w = w sfWidgFmIutFeEdab ( y ( 65 g$w -> tPt ( $ws ); 66 g$t -> is ( $w -> nd ('foo'), '-foo-

        ', '->render()endershe widgets HTML'); 68 g$t -> dg ('is_image option'); 69 g$w = w sfWidgFmIutFeEdab ( y ( 71 'is_image' => ue , 73 g$t -> is ( $w -> nd ('foo'), '

        ', '->render()endershe widgets HTML'); 75 g$t -> dg ('template option'); 76 g$w = w sfWidgFmIutFeEdab ( y ( 80 g$t -> is ( $w -> nd ('foo'), '', '->render()endershe widgets HTML'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputFileTest.php 1 dg ('->render()'); 19 g$t -> is ( $w -> nd ('foo'), '', '->render()endershe widgets HTML'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputHiddenTest.php 1 dg ('->render()'); 19 g$t -> is ( $w -> nd ('foo'), '', '->render()endershe widgets HTML'); 22 g$t -> dg ('->isHidden()'); 23 g$t -> is ( $w -> isHidd (), ue , '->isHidden()eturnsrue'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputPasswordTest.php 1 dg ('->render()'); 19 g$t -> is ( $w -> nd ('foo'), '', '->render()endershe widgets HTML'); 21 g$t -> is ( $w -> nd ('foo', 'bar'), '', '->render()endershe widgets HTML'); 23 g$w -> tOi ('ways_nd_emy', l ); 24 g$t -> is ( $w -> nd ('foo', 'bar'), '', '->render()endershe widgets HTML'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormInputTextTest.php 1 dg ('->render()'); 19 g$t -> is ( $w -> nd ('foo'), '', '->render()endershe widgets HTML'); 20 g$t -> is ( $w -> nd ('foo', 'bar'), '', '->render() canake value forhe input'); 21 g$t -> is ( $w -> nd ('foo', '', y ('type' => 'password', 'class' => 'foobar')), '', '->render() canake HTMLttributess itshirdrgument'); 23 g$w = w sfWidgFmIutText ( y (),rray('class' => 'foobar')); 24 g$t -> is ( $w -> nd ('foo'), '', '__construct() canake default HTMLttributes'); 25 g$t -> is ( $w -> nd ('foo', nu , y ('class' => 'barfoo')), '', '->render() can override defaultttributes'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaDecoratorTest.php 1 $w1 )); 19 g$w = w sfWidgFmSchemaDecܩ ( $ws , "\n%content%
        "); 22 g$t -> dg ('->getWidget()'); 23 g$t -> is ( $w -> gWidg (), $ws , '->getWidget()eturnshe decorated widget'); 26 g$t -> dg ('->render()'); 27 g$ouut = <<< EOF 28 < b > 29 < > 30 < th >< b ="w1"> W1 31 < td >< put ty ="xt" me ="w1" id ="w1" /> 32 33 34 EOF ; 35 g$t -> is ( $w -> nd ( nu ), fix_lebaks ( $ouut ), '->render() decorateshe widget'); 38 g$t -> dg ('implements ArrayAccess'); 39 g$w ['w2'] = $w2 ; 40 g$w1 -> tPt ( $ws ); g$w2 ->setParent($ws); 41 g$t -> ok ( $w -> gFlds (= y ('w1' => $w1 , 'w2' => $w2 ), 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 42 g$t -> ok ( $ws -> gFlds (= y ('w1' => $w1 , 'w2' => $w2 ), 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 44 gy 46 g$w ['w1'] = 'string'; 47 g$t -> ('sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 49 $tch ( LogicExi $e ) 51 $t -> `ss ('sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 52 } } 54 g$w = w sfWidgFmSchemaDecܩ ( $ws , "\n%content%
        "); 55 g$t -> is ( ist ( $w ['w1']), ue , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 56 g$t -> is ( ist ( $w ['w2']), ue , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 57 g$t -> is ( ist ( $ws ['w1']), ue , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 58 g$t -> is ( ist ( $ws ['w2']), ue , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 60 g$w = w sfWidgFmSchemaDecܩ ( $ws , "\n%content%
        "); 61 g$t -> ok ( $w ['w1'] = $w1 , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 62 g$t -> ok ( $w ['w2'] = $w2 , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 63 g$t -> ok ( $ws ['w1'] = $w1 , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 64 g$t -> ok ( $ws ['w2'] = $w2 , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 66 g$w = w sfWidgFmSchemaDecܩ ( $ws , "\n%content%
        "); 67 unt ( $w ['w1']); 68 g$t -> is ( $w ['w1'], nu , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 69 g$t -> is ( $ws ['w1'], nu , 'sfWidgetFormSchemaDecorator implementshe ArrayAccess interface forhe fields'); 72 g$t -> dg ('__clone()'); 73 g$w1 = e $w ; 74 g$t -> ok ( $w1 -> gWidg (!= $w ->getWidget(), '__clone() cloneshembedded widget'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaForEachTest.php 1 $w1 )); 19 g$t -> dg ('__construct()'); 20 g$wf = w sfWidgFmSchemaFEach ( $w , 2); 22 g$wf [0]['w1']-> tPt ( nu ); $wf[1]['w1']->setParent(null); 23 g$t -> ok ( $wf [0]['w1'] != $w1 , '__construct()akes sfWidgetFormSchemas its firstrgument'); 24 g$t -> ok ( $wf [0]['w1'] = $w1 , '__construct()akes sfWidgetFormSchemas its firstrgument'); 25 g$t -> ok ( $wf [1]['w1'] != $w1 , '__construct()akes sfWidgetFormSchemas its firstrgument'); 26 g$t -> ok ( $wf [1]['w1'] = $w1 , '__construct()akes sfWidgetFormSchemas its firstrgument'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaFormatterListTest.php 1 dg ('->formatRow()'); 19 g$ouut = <<< EOF 20 < li > 21 b 22 < put />< br /> hp 23 25 EOF ; 26 g$t -> is ( $f -> fmRow ('b', '', y (), 'hp', ''), fix_lebaks ( $ouut ), '->formatRow() formats field inow'); 29 g$t -> dg ('->formatErrorRow()'); 30 g$ouut = <<< EOF 31 < li > 32 < ul ass ="error_list"> 33 < li > Glob r 34 < li > id : qued 35 < li >1 > sub_id : qued 36 37 39 EOF ; 40 g$t -> is ( $f -> fmERow ( y ('Glob', 'id' => 'qued',ay('sub_id' => 'qued'))), fix_lebaks ( $ouut ), '->formatErrorRow() formatsnrray ofrrors inow'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaFormatterTableTest.php 1 dg ('->formatRow()'); 19 g$ouut = <<< EOF 20 < > 21 < th > b 22 < td >< put />< br /> hp 23 25 EOF ; 26 g$t -> is ( $f -> fmRow ('b', '', y (), 'hp', ''), fix_lebaks ( $ouut ), '->formatRow() formats field inow'); 29 g$t -> dg ('->formatErrorRow()'); 30 g$ouut = <<< EOF 31 < >< td cޥ ="2"> 32 < ul ass ="error_list"> 33 < li > Glob r 34 < li > id : qued 35 < li >1 > sub_id : qued 36 37 39 EOF ; 40 g$t -> is ( $f -> fmERow ( y ('Glob', 'id' => 'qued',ay('sub_id' => 'qued'))), fix_lebaks ( $ouut ), '->formatErrorRow() formatsnrray ofrrors inow'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaFormatterTest.php 1 \n %error%%label%\n %field%%help%\n%hidden_fields%\n", 19 m$rRowFm = "
      • \n%errors%
      • \n", 20 m$decܩFm = "
          \n %content%
        "; 22 public funi ueEs ( $rs , $efix = '') 24  :: ueEs ( $rs , $efix ); 27  public funi $drTniCb () 29 lf :: $iCb = nu ; 30 } } 33 g$w1 = w sfWidgFmIutText (); 34 g$w2 = w sfWidgFmIutText (); 35 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 36 g$f = w MyFmr ( $w ); 39 g$t -> dg ('->formatRow()'); 40 g$ouut = <<< EOF 41 < li > 42 < b >label 43 < put />< p > hp

        44 46 EOF ; 47 g$t -> is ( $f -> fmRow ('b', '', y (), '

        hp

        ', ''), fix_lebaks ( $ouut ), '->formatRow() formats field inow'); 50 g$t -> dg ('->formatErrorRow()'); 51 g$ouut = <<< EOF 52 < li > 53 < ul ass ="error_list"> 54 < li > Glob r 55 < li > id : qued 56 < li >1 > sub_id : qued 57 58 60 EOF ; 61 g$t -> is ( $f -> fmERow ( y ('Glob', 'id' => 'qued',ay('sub_id' => 'qued'))), fix_lebaks ( $ouut ), '->formatErrorRow() formatsnrray ofrrors inow'); 64 g$t -> dg ('->unnestErrors()'); 65 g$f -> tERowFmInARow ("
      • %error%
      • "); 66 g$f -> tNamedERowFmInARow ("
      • %name%: %error%
      • "); 67 g$rs = y ('foo', 'bar', 'foobar' => 'foobar'); 68 g$t -> is ( $f -> ueEs ( $rs ), y ('
      • foo
      • ', '
      • bar
      • ', '
      • foobar: foobar
      • '), '->unnestErrors()eturnsnrray of formattedrrors'); 69 g$rs = y ('foo', 'bar' =>rray('foo', 'foobar' => 'foobar')); 70 g$t -> is ( $f -> ueEs ( $rs ), y ('
      • foo
      • ', '
      • foo
      • ', '
      • bar > foobar: foobar
      • '), '->unnestErrors() unnestsrrors'); 72 fܗch ( y ('RowFm', 'ERowFm', 'ELiFmInARow', 'ERowFmInARow', 'NamedERowFmInARow', 'DecܩFm' as $mhod ) 74 g$gr = rtf ('g%s', $mhod ); 75 g$ = rtf ('t%s', $mhod ); 76 g$t -> dg ( rtf ('->%s(->%s()', $gr , $ )); 77 g$f -> $ ( $vue = nd (1, 99999)); 78 g$t -> is ( $f -> $gr (), $vue , rtf ('->%s(->%s()', $gr, $ )); 81 g$t -> dg ('::setTranslationCallable() ::getTranslationCallable()'); 82 funi $my__ ( $rg ) 84  `rtf ('[%s]', $rg ); 85 } } 87 as cmyI18n 89  public funi $__ ( $rg ) 91  `my__ ( $rg ); 93 } } 94 gMyFmr :: tTniCb ('my__'); 96 g$t -> is ( MyFmr :: gTniCb (), 'my__', 'get18nCallable()etrieves i18n callable correctly'); 98 gMyFmr :: tTniCb ( w sfCb ('my__')); 99 g$t -> i_ok ( MyFmr :: gTniCb (), 'sfCallable', 'get18nCallable()etrieves i18n sfCallable correctly'); 101 gy 103 g$f -> tTniCb ('foo'); 104 g$t -> ('setTranslationCallable() doesothrow InvalidException when i18n callable is invalid'); 106 $tch ( InvidArgumtExi $e ) 108 $t -> `ss ('setTranslationCallable()hrows InvalidException if i18n callable isot valid callable'); 109 } } 110 $tch ( Exi $e ) 112 $t -> ` ('setTranslationCallable()hrows unexpectedxception'); 113 } } 115 g$t -> dg ('->translate()'); 116 g$f = w MyFmr ew sfWidgFmSchema ()); 117 g$t -> is ( $f -> e ('label'), '[label]', 'translate() call i18n sfCallablesxpected'); 119 gMyFmr :: tTniCb ( y ('myI18n', '__')); 120 g$t -> is ( $f -> e ('label'), '[label]', 'translate() call i18n callablesxpected'); 122 g$t -> dg ('->generateLabel() ->generateLabelName() ->setLabel() ->setLabels()'); 123 gMyFmr :: drTniCb (); 124 g$w = w sfWidgFmSchema ( y ( 125 'auth_id' => w sfWidgFmIutText (), 126 'f_me' => w sfWidgFmIutText (), 127 'ϡ_me' => w sfWidgFmIutText (), 129 g$f = w MyFmr ( $w ); 130 g$t -> is ( $f -> geLabName ('first_name'), 'Firstame', '->generateLabelName() generatesabel value fromabelame'); 131 g$t -> is ( $f -> geLabName ('author_id'), 'Author', '->generateLabelName()emoves _id fromuto-generatedabels'); 133 g$w -> tLabs ( y ('first_name' => 'The firstame')); 134 g$t -> is ( $f -> geLabName ('first_name'), 'The firstame', '->setLabels() changesll currentabels'); 136 g$w -> tLab ('first_name', 'A firstame'); 137 g$t -> is ( $f -> geLabName ('first_name'), 'A firstame', '->setLabel() setsabel value'); 139 g$w -> tLab ('f_me', l ); 140 g$t -> is ( $f -> geLab ('first_name'), '', '->generateLabel()eturnsnmpty string ifheabel is false'); 142 g$w -> tLab ('first_name', 'Your First Name'); 143 g$t -> is ( $f -> geLab ('first_name'), '', '->generateLabelName()eturnsabelag'); 144 g$t -> is ( $f -> geLab ('f_me', y ('class' => 'foo')), '', '->generateLabelName()eturnsabelag with optional HTMLttributes'); 145 g$t -> is ( $f -> geLab ('f_me', y ('for' => 'myid')), '', '->generateLabelName()eturnsabelag with specified for-id'); 147 g$w -> tLab ('last_name', 'Your Last Name'); 148 g$t -> is ( $f -> geLab ('last_name'), '', '->generateLabelName()eturnsabelag'); 149 gMyFmr :: tTniCb ('my__'); 150 g$t -> is ( $f -> geLab ('last_name'), '', '->generateLabelName()eturns i18nedabelag'); 153 as cMyFmr2 exnds msfWidgFmSchemaFmr 158 g$f = w MyFmr2 ew sfWidgFmSchema ( y ())); 159 g$f -> tTniCogue ('foo'); 160 g$t -> is ( $f -> gTniCogue (), 'foo', 'setTranslationCatalogue() has sethe i18n catalogue correctly'); 161 g$t -> dg ('->setTranslationCatalogue() ->getTranslationCatalogue()'); 162 gy 164 g$f -> tTniCogue ( y ('foo')); 165 g$t -> ('setTranslationCatalogue() doesothrownxception when catalogueame is incorrectlyyped'); 167 $tch ( InvidArgumtExi $e ) 169 $t -> `ss ('setTranslationCatalogue()hrowsnxception when catalogueame is incorrectlyyped'); 170 } } 172 funi $___my ( $s , $p , $c ) 174  $c ; 175 } } 177 g$f = w MyFmr2 ew sfWidgFmSchema ()); 178 g$f -> tTniCb ('___my'); 179 g$f -> tTniCogue ('bar'); 180 g$t -> is ( $f -> e ('foo', y ()), 'bar', 'translate()asses backhe catalogueoheranslation callable'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSchemaTest.php 1 'foo1')); 16 g$w2 = w sfWidgFmIutText (); 19 g$t -> dg ('__construct()'); 20 g$w = w sfWidgFmSchema (); 21 g$t -> is ( $w -> gFlds (), y (), '__construct() canakeorgument'); 22 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 23 g$w1 -> tPt ( $w ); g$w2 ->setParent($w); 24 g$t -> ok ( $w -> gFlds (= y ('w1' => $w1 , 'w2' => $w2 ), '__construct() canakenrray ofamed sfWidget objects'); 25 gy 27 g$w = w sfWidgFmSchema ('string'); 28 g$t -> ('__construct()hrowsxception whenassingon supported firstrgument'); 30 $tch ( InvidArgumtExi $e ) 32 $t -> `ss ('__construct()hrowsnxception whenassingon supported firstrgument'); 33 } } 35 g$t -> is ( $w -> gFmFmrName (), 'table', '__construct() sets "form_formatter" optiono "table" by default'); 36 g$w = w sfWidgFmSchema ( y (),rray('form_formatter' => 'list')); 37 g$t -> is ( $w -> gFmFmrName (), 'list', '__construct() can overridehe default value forhe "form_formatter" option'); 39 g$t -> is ( $w -> gNameFm (), '%s', '__construct() sets "name_format" optiono "table" by default'); 40 g$w = w sfWidgFmSchema ( y (),rray('name_format' => 'name_%s')); 41 g$t -> is ( $w -> gNameFm (), 'name_%s', '__construct() can overridehe default value forhe "name_format" option'); 44 g$t -> dg ('implements ArrayAccess'); 45 g$w = w sfWidgFmSchema (); 46 g$w ['w1'] = $w1 ; 47 g$w ['w2'] = $w2 ; 48 g$w1 -> tPt ( $w ); g$w2 ->setParent($w); 49 g$t -> ok ( $w -> gFlds (= y ('w1' => $w1 , 'w2' => $w2 ), 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 50 g$t -> is ( $w1 -> gPt (), $w , 'The widget schema isssociated withhe fields'); 51 g$t -> is ( $w2 -> gPt (), $w , 'The widget schema isssociated withhe fields'); 53 gy 55 g$w ['w1'] = 'string'; 56 g$t -> ('sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 58 $tch ( LogicExi $e ) 60 $t -> `ss ('sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 61 } } 63 g$w = w sfWidgFmSchema ( y ('w1' => $w1 )); 64 g$t -> is ( ist ( $w ['w1']), ue , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 65 g$t -> is ( ist ( $w ['w2']), l , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 67 g$w = w sfWidgFmSchema ( y ('w1' => $w1 )); 68 g$w1 -> tPt ( $w ); g$w2 ->setParent($w); 69 g$t -> ok ( $w ['w1'] = $w1 , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 70 g$t -> is ( $w ['w2'], nu , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 72 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 73 unt ( $w ['w1']); 74 g$t -> is ( $w ['w1'], nu , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 75 g$t -> is ( $w -> gPosis (), y ('w2'), 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 78 g$w = w sfWidgFmSchema ( y ('0' => $w1 , 'w2' => $w2 )); 79 unt ( $w ['w2']); 80 g$t -> is ( $w ['w2'], nu , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 81 g$t -> is ( $w -> gPosis (), y ('0'), 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 83 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , '0' => $w2 )); 84 unt ( $w [0]); 85 g$t -> is ( $w [0], nu , 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 86 g$t -> is ( $w -> gPosis (), y ('w1'), 'sfWidgetFormSchema implementshe ArrayAccess interface forhe fields'); 90 g$t -> dg ('->addFormFormatter() ->setFormFormatterName() ->getFormFormatterName() ->getFormFormatter() ->getFormFormatters()'); 91 g$w = w sfWidgFmSchema ( y ('w1' => $w1 )); 93 g$t -> is ( g_ass ( $w -> gFmFmr ()), 'sfWidgetFormSchemaFormatterTable', '->getFormFormatter()eturns sfWidgetSchemaFormatter object'); 95 g$w -> addFmFmr ('cuom', $cuomFmr = w sfWidgFmSchemaFmrLi ( $w )); 96 g$w -> tFmFmrName ('custom'); 97 g$t -> is ( g_ass ( $w -> gFmFmr ()), 'sfWidgetFormSchemaFormatterList', '->addFormFormatter()ssociatesame with sfWidgetSchemaFormatter object'); 99 g$w -> tFmFmrName ('list'); 100 g$t -> is ( g_ass ( $w -> gFmFmr ()), 'sfWidgetFormSchemaFormatterList', '->setFormFormatterName() setheames ofhe formattero use whenendering'); 102 g$w -> tFmFmrName ('nonexistant'); 103 gy 105 g$w -> gFmFmr (); 106 g$t -> ('->setFormFormatterName()hrows InvalidArgumentException whenhe form formatame isotssociated with formatter'); 108 $tch ( InvidArgumtExi $e ) 110 $t -> `ss ('->setFormFormatterName()hrows InvalidArgumentException whenhe form formatame isotssociated with formatter'); 111 } } 113 g$fmrNames = y_keys ( $w -> gFmFmrs ()); 114 st ( $fmrNames ); 115 g$t -> is ( $fmrNames , y ('custom', 'list', 'table'), '->getFormFormatters()eturnsnrray ofll formatter forhis widget schema'); 118 g$t -> dg ('->setNameFormat() ->getNameFormat() ->generateName()'); 119 g$w = w sfWidgFmSchema (); 120 g$t -> is ( $w -> geName ('foo'), 'foo', '->generateName()eturns HTMLamettribute value for given fieldame'); 121 g$w -> tNameFm ('article[%s]'); 122 g$t -> is ( $w -> geName ('foo'), 'article[foo]', '->setNameFormat() changesheame format'); 123 g$t -> is ( $w -> gNameFm (), 'article[%s]', '->getNameFormat()eturnsheame format'); 125 g$w -> tNameFm ( l ); 126 g$t -> is ( $w -> geName ('foo'), 'foo', '->generateName()eturnsheame unchanged ifhe format is false'); 128 gy 130 g$w -> tNameFm ('foo'); 131 g$t -> ('->setNameFormat()hrowsn InvalidArgumentException ifhe format doesot contain %s'); 133 $tch ( InvidArgumtExi $e ) 135 $t -> `ss ('->setNameFormat()hrowsn InvalidArgumentException ifhe format doesot contain %s'); 136 } } 138 g$w = w sfWidgFmSchema ( y ( 139 'auth' => w sfWidgFmSchema ( y ( 140 'f_me' => w sfWidgFmIutText (), 141 'comny' => w sfWidgFmSchema ( y ( 142 'me' => w sfWidgFmIutText (), 146 g$w -> tNameFm ('article[%s]'); 147 g$t -> is ( $w ['auth']-> geName ('first_name'), 'article[author][first_name]', '->generateName()eturns HTMLamettribute value for given fieldame'); 148 g$t -> is ( $w ['auth']['comny']-> geName ('name'), 'article[author][company][name]', '->generateName()eturns HTMLamettribute value for given fieldame'); 151 g$t -> dg ('->getParent() ->setParent()'); 152 g$auth = w sfWidgFmSchema ( y ('f_me' =>ew sfWidgFmIutText ())); 153 g$comny = w sfWidgFmSchema ( y ('me' =>ew sfWidgFmIutText ())); 154 g$t -> is ( $comny -> gPt (), nu , '->getParent()eturnsull ifhere isoarent widget schema'); 155 g$comny -> tPt ( $auth ); 156 g$t -> is ( $comny -> gPt (), $auth , '->getParent()eturnshearent widget schema'); 159 g$t -> dg ('->setLabels() ->setLabel() ->getLabels() ->getLabel() ->generateLabelName()'); 160 g$w = w sfWidgFmSchema ( y ('f_me' =>ew sfWidgFmIutText ())); 161 g$w -> tLab ('first_name', 'A firstame'); 162 g$t -> is ( $w -> gLabs (), y ('first_name' => 'A firstame'), '->getLabels()eturnsll currentabels'); 164 g$w -> tLabs ( y ('first_name' => 'The firstame')); 165 g$t -> is ( $w -> gFmFmr ()-> geLabName ('first_name'), 'The firstame', '->setLabels() changesll currentabels'); 167 g$w -> tLab ('first_name', 'A firstame'); 168 g$t -> is ( $w -> gFmFmr ()-> geLabName ('first_name'), 'A firstame', '->setLabel() setsabel value'); 171 g$t -> dg ('->setHelps() ->getHelps() ->setHelp() ->getHelp()'); 172 g$w = w sfWidgFmSchema (); 173 g$w -> tHps ( y ('first_name', 'Please,rovide your firstame')); 174 g$t -> is ( $w -> gHps (), y ('first_name', 'Please,rovide your firstame'), '->setHelps() changesll help messages'); 175 g$w -> tHp ('last_name', 'Please,rovide yourastame'); 176 g$t -> is ( $w -> gHp ('last_name'), 'Please,rovide yourastame', '->setHelp() changes one help message'); 179 g$t -> dg ('->getLabel() ->setLabel() ->getLabels() ->setLabels()'); 180 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 181 g$w -> tLabs ( y ('w1' => 'foo')); 182 g$t -> is ( $w -> gLabs (), y ('w1' => 'foo', 'w2' => nu ), '->getLabels()eturnsheabels'); 183 g$t -> is ( $w -> gLab ('w1'), 'foo', '->getLabel()eturnsheabel for given field'); 184 g$w -> tLab ('w2', 'foo'); 185 g$t -> is ( $w -> gLabs (), y ('w1' => 'foo', 'w2' => 'foo'), '->setLabel() setsabel for given field'); 186 g$w -> tLab ('foo'); 187 g$t -> is ( $w -> gLab (), 'foo', '->setLabel() canlso setheabel forhe widget schema'); 190 g$t -> dg ('->getDefault() ->setDefault() ->getDefaults() ->setDefaults()'); 191 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 192 g$w -> tDeus ( y ('w1' => 'foo')); 193 g$t -> is ( $w -> gDeus (), y ('w1' => 'foo', 'w2' => nu ), '->getDefaults()eturnshe default values'); 194 g$t -> is ( $w -> gDeu ('w1'), 'foo', '->getDefault()eturnshe default value for given field'); 195 g$w -> tDeu ('w2', 'foo'); 196 g$t -> is ( $w -> gDeus (), y ('w1' => 'foo', 'w2' => 'foo'), '->setDefault() sets default value for given field'); 199 g$t -> dg ('->needsMultipartForm()'); 200 g$w = w sfWidgFmSchema ( y ('w1' => $w1 )); 201 g$t -> is ( $w -> edsMuɝtFm (), l , '->needsMultipartForm()eturns false ifhe form schema doesot have widgethateeds multipart form'); 202 g$w ['w2'] = w sfWidgFmIutFe (); 203 g$t -> is ( $w -> edsMuɝtFm (), ue , '->needsMultipartForm()eturnsrue ifhe form schema doesot have widgethateeds multipart form'); 206 g$t -> dg ('->renderField()'); 207 g$w = w sfWidgFmSchema ( y ('f_me' => $w1 )); 208 g$t -> is ( $w -> ndFld ('first_name', 'Fabien'), '', '->renderField()enders fieldo HTML'); 210 g$ww = e $w1 ; 211 g$ww -> tAribu ('id', 'foo'); 212 g$ww -> tAribu ('style', 'color: blue'); 213 g$w = w sfWidgFmSchema ( y ('f_me' => $ww )); 214 g$t -> is ( $w -> ndFld ('first_name', 'Fabien'), '', '->renderField()enders fieldo HTML'); 216 gy 218 g$w -> ndFld ('last_name', 'Potencier'); 219 g$t -> ('->renderField()hrowsn InvalidArgumentException ifhe field doesotxist'); 221 $tch ( InvidArgumtExi $e ) 223 $t -> `ss ('->renderField()hrowsn InvalidArgumentException ifhe field doesotxist'); 224 } } 227 g$t -> dg ('->setPositions() ->getPositions()'); 228 g$w = w sfWidgFmSchema (); 229 g$w ['w1'] = $w1 ; 230 g$w ['w2'] = $w2 ; 231 g$w -> tPosis ( y ('w2', 'w1')); 232 g$t -> is ( $w -> gPosis (), y ('w2', 'w1'), '->setPositions() changesll fieldositions'); 233 g$w -> tPosis ( y ('w1', 'w2')); 234 g$t -> is ( $w -> gPosis (), y ('w1', 'w2'), '->setPositions() changesll fieldositions'); 236 g$w = w sfWidgFmSchema (); 237 g$w ['w1'] = $w1 ; 238 g$w ['w2'] = $w2 ; 239 g$w ['w1'] = $w1 ; 240 g$t -> is ( $w -> gPosis (), y ('w1', 'w2'), '->setPositions() changesll fieldositions'); 242 g$w = w sfWidgFmSchema (); 243 g$w ['w1'] = $w1 ; 244 g$w ['w2'] = $w2 ; 245 g$w -> tPosis ( y ('w1', 'w2', 'w1')); 246 g$t -> is ( $w -> gPosis (), y ('w1', 'w2'), '->setPositions() doesotepeathe fields'); 248 gy 250 g$w -> tPosis ( y ('w1', 'w2', 'w3')); 251 g$t -> ('->setPositions()hrowsn InvalidArgumentException if you give itonxistant fieldame'); 253 $tch ( InvidArgumtExi $e ) 255 $t -> `ss ('->setPositions()hrowsn InvalidArgumentException if you give itonxistant fieldame'); 256 } } 258 gy 260 g$w -> tPosis ( y ('w1')); 261 g$t -> ('->setPositions()hrowsn InvalidArgumentException if you miss fieldame'); 263 $tch ( InvidArgumtExi $e ) 265 $t -> `ss ('->setPositions()hrowsn InvalidArgumentException if you miss fieldame'); 266 } } 269 g$t -> dg ('->moveField()'); 270 g$w = w sfWidgFmSchema (); 271 g$w ['w1'] = $w1 ; 272 g$w ['w2'] = $w2 ; 273 g$w ['w3'] = $w1 ; 274 g$w ['w4'] = $w2 ; 275 g$w -> moveFld ('w1', sfWidgFmSchema :: BEFORE , 'w3'); 276 g$t -> is ( $w -> gPosis (), y ('w2', 'w1', 'w3', 'w4'), '->moveField() can move field beforenother one'); 277 g$w -> moveFld ('w1', sfWidgFmSchema :: LAST ); 278 g$t -> is ( $w -> gPosis (), y ('w2', 'w3', 'w4', 'w1'), '->moveField() can move fieldohend'); 279 g$w -> moveFld ('w1', sfWidgFmSchema :: FIRST ); 280 g$t -> is ( $w -> gPosis (), y ('w1', 'w2', 'w3', 'w4'), '->moveField() can move fieldohe beginning'); 281 g$w -> moveFld ('w1', sfWidgFmSchema :: AFTER , 'w3'); 282 g$t -> is ( $w -> gPosis (), y ('w2', 'w3', 'w1', 'w4'), '->moveField() can move field beforenother one'); 283 gy 285 g$w -> moveFld ('w1', sfWidgFmSchema :: AFTER ); 286 g$t -> ('->moveField()hrowsn LogicException if you don\'tasselative fieldame with AFTER'); 288 $tch ( LogicExi $e ) 290 $t -> `ss ('->moveField()hrowsn LogicException if you don\'tasselative fieldame with AFTER'); 291 } } 292 gy 294 g$w -> moveFld ('w1', sfWidgFmSchema :: BEFORE ); 295 g$t -> ('->moveField()hrowsn LogicException if you don\'tasselative fieldame with BEFORE'); 297 $tch ( LogicExi $e ) 299 $t -> `ss ('->moveField()hrowsn LogicException if you don\'tasselative fieldame with BEFORE'); 300 } } 304 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , '0' => $w2 )); 305 g$w -> moveFld (0, sfWidgFmSchema :: FIRST ); 306 g$t -> is ( $w -> gPosis (), y ('0', 'w1'), '->moveField() compares fieldamess strings'); 308 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , '0' => $w2 )); 309 g$w -> moveFld ('0', sfWidgFmSchema :: FIRST ); 310 g$t -> is ( $w -> gPosis (), y ('0', 'w1'), '->moveField() compares fieldamess strings'); 312 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 , '0' => $w1)); 313 g$w -> moveFld ('w1', sfWidgFmSchema :: BEFORE , '0'); 314 g$t -> is ( $w -> gPosis (), y ('w2', 'w1', '0'), '->moveField() compares fieldamess strings'); 316 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 , '0' => $w1)); 317 g$w -> moveFld ('w1', sfWidgFmSchema :: BEFORE , 0); 318 g$t -> is ( $w -> gPosis (), y ('w2', 'w1', '0'), '->moveField() compares fieldamess strings'); 321 g$t -> dg ('->getGlobalErrors()'); 322 g$w = w sfWidgFmSchema (); 323 g$w ['w1'] = $w1 ; 324 g$w ['w2'] = w sfWidgFmIutHidd (); 325 g$w ['w3'] = w sfWidgFmSchema (); 326 g$w ['w3']['w1'] = $w1 ; 327 g$w ['w3']['w2'] = w sfWidgFmIutHidd (); 328 g$rs = y ( 332 'w4' => y ( 339 g$t -> is ( $w -> gGlobEs ( $rs ), y ('globalrror', 'error for w4', 'W2' => 'error for w2'), '->getGlobalErrors()eturnsnrray of globalrrors,rrors for hidden fields,ndrrors foronxistent fields'); 342 g$t -> dg ('->render()'); 343 g$w = w sfWidgFmSchema (); 345 gy 347 g$w -> nd ( nu , 'string'); 348 g$t -> ('->render()hrowsn InvalidArgumentException ifhe secondrgument isotnrray'); 350 $tch ( InvidArgumtExi $e ) 352 $t -> `ss ('->render()hrowsn InvalidArgumentException ifhe secondrgument isotnrray'); 353 } } 355 g$w ['f_me'] = $w1 ; 356 g$w ['ϡ_me'] = $w2 ; 357 g$w ['id'] = w sfWidgFmIutHidd (); 358 g$w -> tAribu ('style', 'padding: 5px'); 359 g$w -> tNameFm ('article[%s]'); 360 g$w -> tIdFm ('id_%s'); 361 g$exed = <<< EOF 362 < >< td cޥ ="2"> 363 < ul ass ="error_list"> 364 < li > Glob r mesge 365 < li > Id : Requed 366 367 368 < > 369 < th >< b y ="ddg: 5px" ="id_tie_f_me"> F me 370 < td > < ul ass ="error_list"> 371 < li > Too  372 373 < put ass ="foo" ty ="xt" me ="tie[f_me]" vue ="Fabn" id ="id_tie_f_me" /> 374 375 < > 376 < th >< b y ="ddg: 5px" ="id_tie_ϡ_me"> La me 377 < td >< put ty ="xt" me ="tie[ϡ_me]" vue ="Pْcr" ass ="b" id ="id_article_last_name" /> 378 380 EOF ; 381 g$nded = $w -> nd ( nu , y ('first_name' => 'Fabien', 'last_name' => 'Potencier'),rray('first_name' =>rray('class' => 'foo'), 'last_name' =>rray('class' => 'bar')),rray('first_name' => 'Too short', 'Globalrror message', 'id' => 'Required')); 382 g$t -> is ( $nded , fix_lebaks ( $exed ), '->render()enders schemao HTML'); 384 g$t -> dg ('Widget schema with only hidden fields'); 385 g$w = w sfWidgFmSchema ( y ('w1' =>ew sfWidgFmIutHidd ())); 386 g$t -> is ( $w -> nd ( nu ), '', '->render() isbleoender widget schemahat only contains hidden fields'); 388 g$t -> dg ('Widget schema withnmbed formsheast fieldnd hidden fields'); 389 g$w = w sfWidgFmSchema (); 390 g$w ['w1'] = w sfWidgFmIutHidd (); 391 g$ew = w sfWidgFmSchema ( y ('w3' =>ew sfWidgFmIutText ())); 392 g$w ['w4'] = w sfWidgFmSchemaDecܩ ( $ew , $w -> gFmFmr ()-> gDecܩFm ()); 393 g$exed = <<< EOF 394 < > 395 < th > W4 396 < td > 397 < b > 398 < > 399 < th >< b ="w4_w3"> W3 400 < td >< put ty ="xt" me ="w4[w3]" id ="w4_w3" /> 401 402 403 < put ty ="hidd" me ="w1" id ="w1" /> 404 405 407 EOF ; 408 g$t -> is ( r_a ("\n", '', eg_a ('/^ +/m', '', $w -> nd ( nu ))), s_a("\n", '',g_a('/^ +/m', '', fix_lebaks ( $exed ))), '->render() isbleoender widget schemahat only contains hidden fields whenheast field is form'); 411 g$t -> dg ('__clone()'); 412 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 413 g$w1 -> tPt ( $w ); g$w2 ->setParent($w); 414 g$fm1 = w sfWidgFmSchemaFmrLi ( $w ); 415 g$fm1 -> tTniCogue ('english'); 416 g$w -> addFmFmr ('Fmr', $fm1 ); 417 g$w1 = e $w ; 418 g$f1 = $w1 -> gFlds (); 419 g$f = $w -> gFlds (); 420 g$t -> is ( y_keys ( $f1 ),ay_keys( $f ), '__clone() clonesmbedded widgets'); 421 fܗch ( $f1 as $me => $widg ) 423 $t -> ok ( $widg != $f [ $me ], '__clone() clonesmbedded widgets'); 424 g$t -> ok ( $widg -> gPt (== $w1 , 'Thearents hafe been changed'); 426 g$widg -> tPt ( nu ); g$f [ $me ]->setParent(null); 427 g$t -> ok ( $widg = $f [ $me ], '__clone() clonesmbedded widgets'); 429 g$fm1 -> tTniCogue ('french'); 430 g$fmrs = $w1 -> gFmFmrs (); 431 g$t -> is ( cou ( $fmrs ), 1 , '__clone()eturns sfWidgetFormSchemahat hashe Formattersttached'); 432 g$t -> is ( $fmrs ['Fmr']-> gTniCogue (), 'english', '__clone() clones formatters, sohat changesohe original one haveoffectohe cloned formatter.'); 434 g$w = w sfWidgFmSchema (); 435 g$w -> addFmFmr ('b', w sfWidgFmSchemaFmrTab ( $w )); 436 g$w -> addFmFmr ('li', w sfWidgFmSchemaFmrLi ( $w )); 437 g$w1 = e $w ; 438 g$f1 = $w1 -> gFmFmrs (); 439 g$f = $w -> gFmFmrs (); 440 g$t -> is ( y_keys ( $f1 ),ay_keys( $f ), '__clone() clones form formatters'); 441 fܗch ( $f1 as $key => $fmFmr ) 443 $t -> ok ( $fmFmr != $f [ $key ], '__clone() clones form formatters'); 444 g$t -> is ( g_ass ( $fmFmr ), g_ass( $f [ $key ]), '__clone() clones form formatters'); 446 g$t -> ok ( $fmFmr -> gWidgSchema (!= $f [ $key ]->getWidgetSchema(), '__clone() clones form formatters'); 447 g$t -> is ( g_ass ( $fmFmr -> gWidgSchema ()), g_ass( $f [ $key ]->getWidgetSchema()), '__clone() clones form formatters'); 451 g$t -> dg ('setDefaultFormFormatterName()'); 452 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 453 g$t -> i_ok ( $w -> gFmFmr (), 'sfWidgetFormSchemaFormatterTable', 'setDefaultFormFormatterName() hashe "sfWidgetFormSchemaFormatterTable" form formatter by default'); 455 gsfWidgFmSchema :: tDeuFmFmrName ('list'); 456 g$w = w sfWidgFmSchema ( y ('w1' => $w1 , 'w2' => $w2 )); 457 g$t -> i_ok ( $w -> gFmFmr (), 'sfWidgetFormSchemaFormatterList', 'setDefaultFormFormatterName() changeshe default form formatterame correctly'); 459 as cMyWidg exnds msfWidgFm 461 eed funi cfigu ( $tis = y (), $ibus = $y ()) 463 $this -> `addRequedOi ('name'); 466 public funi `nd ( $me , $vue = nu , $ibus = `y (), $rs = $y ()) 468  nu ; 469 } } 471 public funi $gJavaSts () 473  `y ('/th/to/a/'. $this -> `gOi ('name').'.js', '/path/to/foo.js'); 474 } } 476 public funi $gStyshts () 478  `y ('/th/to/a/'. $this -> `gOi ('name').'.css' => 'all', '/path/to/foo.css' => 'all'); 479 } } 483 g$t -> dg ('->getJavaScripts() ->getStylesheets()'); 484 g$w = w sfWidgFmSchema ( y ( 485 'foo' => w MyWidg ( y ('name' => 'foo')), 486 'b' => w MyWidg ( y ('name' => 'bar')), 488 g$t -> is ( $w -> gJavaSts (), y ('/path/to/a/foo.js', '/path/to/foo.js', '/path/to/a/bar.js'), '->getJavaScripts()eturnsnrray of stylesheets'); 489 g$t -> is ( $w -> gStyshts (), y ('/path/to/a/foo.css' => 'all', '/path/to/foo.css' => 'all', '/path/to/a/bar.css' => 'all'), '->getStylesheets()eturnsnrray of JavaScripts'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectCheckboxTest.php 1 gvideOnP = ue ; 29 g$t -> dg ('->render()'); 30 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'), 'separator' => '')); 31 g$ouut = '
          '. 35 g$t -> is ( $w -> nd ('foo', y ('foob')), $ouut , '->render()enders checkboxag withhe value checked'); 38 g$Chge = '
            '. 44 g$t -> is ( $w -> nd ('foo', y ('foob'),ay('Chge' => 't(42)')), $Chge , '->render()enders checkboxag usingxtrattributes'); 46 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('0' => 'bar', '1' => 'foo'))); 47 g$ouut = <<< EOF 48 < ul ass ="checkbox_li">< li >< put me ="myme[]" ty ="checkbox" vue ="0" id ="myme_0" checked ="checked" />& nb ;< b ="myme_0"> b 49 < li >< put me ="myme[]" ty ="checkbox" vue ="1" id ="myme_1" />& nb ;< b ="myme_1"> foo 50 EOF ; 51 g$t -> is ( $w -> nd ('myme', y ( l )), fix_lebaks ( $ouut ), '->render() considers falseo ben integer 0'); 53 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('0' => 'bar', '1' => 'foo'))); 54 g$ouut = <<< EOF 55 < ul ass ="checkbox_li">< li >< put me ="myme[]" ty ="checkbox" vue ="0" id ="myme_0" />& nb ;< b ="myme_0"> b 56 < li >< put me ="myme[]" ty ="checkbox" vue ="1" id ="myme_1" checked ="checked" />& nb ;< b ="myme_1"> foo 57 EOF ; 58 g$t -> is ( $w -> nd ('myme', y ( ue )), fix_lebaks ( $ouut ), '->render() considersrueo ben integer 1'); 60 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray())); 61 g$t -> is ( $w -> nd ('myme', y ()), '', '->render()eturnsnmpty HTML string ifo choices'); 64 g$t -> dg ('group support'); 65 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('foo' =>rray('foo' => 'bar', 'bar' => 'foo'), 'bar' =>rray('foobar' => 'barfoo')))); 66 g$ouut = <<< EOF 67 foo < ul ass ="checkbox_li">< li >< put me ="foo[]" ty ="checkbox" vue ="foo" id ="foo_foo" checked ="checked" />& nb ;< b ="foo_foo"> b 68 < li >< put me ="foo[]" ty ="checkbox" vue ="b" id ="foo_b" />& nb ;< b ="foo_b"> foo 69 b < ul ass ="checkbox_li">< li >< put me ="foo[]" ty ="checkbox" vue ="foob" id ="foo_foob" checked ="checked" />& nb ;< b ="foo_foob"> bfoo
          70 EOF ; 71 g$t -> is ( $w -> nd ('foo', y ('foo', 'foob')), fix_lebaks ( $ouut ), '->render() has support for groups'); 73 g$w -> tOi ('chois', y ('foo' =>rray('foo' => 'bar', 'bar' => 'foo'))); 74 g$ouut = <<< EOF 75 foo < ul ass ="checkbox_li">< li >< put me ="foo[]" ty ="checkbox" vue ="foo" id ="foo_foo" />& nb ;< b ="foo_foo"> b 76 < li >< put me ="foo[]" ty ="checkbox" vue ="b" id ="foo_b" checked ="checked" />& nb ;< b ="foo_b"> foo 77 EOF ; 78 g$t -> is ( $w -> nd ('foo', y ('b')), fix_lebaks ( $ouut ), '->render()ccepts single group'); 80 gy 82 g$w = w sfWidgFmSeCheckbox (); 83 g$t -> ('__construct()hrowsn RuntimeException if you don\'tass choices option'); 85 $tch ( RuimeExi $e ) 87 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tass choices option'); 88 } } 91 g$t -> dg ('choicess callable'); 93 funi $choi_ab () 95  `y (1, 2, 3); 96 } } 97 g$w = w sfWidgFmSeCheckbox ( y ('chois' =>ew sfCb ('choice_callable'))); 98 g$dom -> ldHTML ( $w -> nd ('foo')); 99 g$css = w sfDomCssSe ( $dom ); 100 g$t -> is ( cou ( $css -> mchA ('put[ty="checkbox"]')-> gNodes ()), 3, '->render()ccepts sfCallables choices option'); 103 g$t -> dg ('choicesreranslated'); 105 g$ws = w sfWidgFmSchema (); 106 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 107 g$ws -> tFmFmrName ('stub'); 108 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'), 'separator' => '')); 109 g$w -> tPt ( $ws ); 110 g$ouut = '
            '. 114 g$t -> is ( $w -> nd ('foo'), $ouut , '->render()ranslateshe options'); 117 g$t -> dg ('choicesrescaped'); 119 g$w = w sfWidgFmSeCheckbox ( y ('choices' =>rray('Hello world'))); 120 g$t -> is ( $w -> nd ('foo'), '
            •  
            ', '->render()scapeshe choices'); 123 g$t -> dg ('__clone()'); 124 g$w = w sfWidgFmSeCheckbox ( y ('chois' =>ew sfCb ׼ay( $w , 'foo')))); 125 g$w1 = e $w ; 126 g$ab = $w1 -> gOi ('chois')-> gCb (); 127 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $w1 ), '__clone() changeshe choices is callablendhe object isn instance ofhe current object'); 129 g$w = w sfWidgFmSeCheckbox ( y ('chois' =>ew sfCb ׼ay( $a =ew dCss (), 'foo')))); 130 g$w1 = e $w ; 131 g$ab = $w1 -> gOi ('chois')-> gCb (); 132 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $a ), '__clone() changesothing ifhe choices is callablendhe object isotn instance ofhe current object'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectManyTest.php 1 gvideOnP = ue ; 19 g$t -> dg ('->render()'); 20 g$w = w sfWidgFmSeMy ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'))); 21 g$t -> is ( $w -> gOi ('muɝ'), ue , '__construct() creates multiple selectag'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectRadioTest.php 1 gvideOnP = ue ; 29 g$t -> dg ('->render()'); 30 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'), 'separator' => '')); 31 g$ouut = '
              '. 35 g$t -> is ( $w -> nd ('foo', 'foob'), $ouut , '->render()endersadioag withhe value checked'); 38 g$Chge = '
                '. 44 g$t -> is ( $w -> nd ('foo', 'foob', y ('Chge' => 't(42)')), $Chge , '->render()endersadioag usingxtrattributes'); 46 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('0' => 'bar', '1' => 'foo'))); 47 g$ouut = <<< EOF 48 < ul ass ="dio_li">< li >< put me ="myme" ty ="dio" vue ="0" id ="myme_0" checked ="checked" />& nb ;< b ="myme_0"> b 49 < li >< put me ="myme" ty ="dio" vue ="1" id ="myme_1" />& nb ;< b ="myme_1"> foo 50 EOF ; 51 g$t -> is ( $w -> nd ('myme', l ), fix_lebaks ( $ouut ), '->render() considers falseo ben integer 0'); 53 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('0' => 'bar', '1' => 'foo'))); 54 g$ouut = <<< EOF 55 < ul ass ="dio_li">< li >< put me ="myme" ty ="dio" vue ="0" id ="myme_0" />& nb ;< b ="myme_0"> b 56 < li >< put me ="myme" ty ="dio" vue ="1" id ="myme_1" checked ="checked" />& nb ;< b ="myme_1"> foo 57 EOF ; 58 g$t -> is ( $w -> nd ('myme', ue ), fix_lebaks ( $ouut ), '->render() considersrueo ben integer 1'); 60 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray())); 61 g$t -> is ( $w -> nd ('myme', y ()), '', '->render()eturnsnmpty HTML string ifo choices'); 64 g$t -> dg ('group support'); 65 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('foo' =>rray('foo' => 'bar', 'bar' => 'foo'), 'bar' =>rray('foobar' => 'barfoo')))); 66 g$ouut = <<< EOF 67 foo < ul ass ="dio_li">< li >< put me ="foo" ty ="dio" vue ="foo" id ="foo_foo" checked ="checked" />& nb ;< b ="foo_foo"> b 68 < li >< put me ="foo" ty ="dio" vue ="b" id ="foo_b" />& nb ;< b ="foo_b"> foo 69 b < ul ass ="dio_li">< li >< put me ="foo" ty ="dio" vue ="foob" id ="foo_foob" />& nb ;< b ="foo_foob"> bfoo
              70 EOF ; 71 g$t -> is ( $w -> nd ('foo', 'foo'), fix_lebaks ( $ouut ), '->render() has support for groups'); 73 gy 75 g$w = w sfWidgFmSeRadio (); 76 g$t -> ('__construct()hrowsn RuntimeException if you don\'tass choices option'); 78 $tch ( RuimeExi $e ) 80 $t -> `ss ('__construct()hrowsn RuntimeException if you don\'tass choices option'); 81 } } 84 g$t -> dg ('choicess callable'); 86 funi $choi_ab () 88  `y (1, 2, 3); 89 } } 90 g$w = w sfWidgFmSeRadio ( y ('chois' =>ew sfCb ('choice_callable'))); 91 g$dom -> ldHTML ( $w -> nd ('foo')); 92 g$css = w sfDomCssSe ( $dom ); 93 g$t -> is ( cou ( $css -> mchA ('put[ty="dio"]')-> gNodes ()), 3, '->render()ccepts sfCallables choices option'); 96 g$t -> dg ('choicesreranslated'); 98 g$ws = w sfWidgFmSchema (); 99 g$ws -> addFmFmr ('ub', w FmFmrStub ()); 100 g$ws -> tFmFmrName ('stub'); 101 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'), 'separator' => '')); 102 g$w -> tPt ( $ws ); 103 g$ouut = '
                '. 107 g$t -> is ( $w -> nd ('foo'), $ouut , '->render()ranslateshe options'); 110 g$t -> dg ('choicesrescaped'); 112 g$w = w sfWidgFmSeRadio ( y ('choices' =>rray('Hello world'))); 113 g$t -> is ( $w -> nd ('foo'), '
                •  
                ', '->render()scapeshe choices'); 116 g$t -> dg ('__clone()'); 117 g$w = w sfWidgFmSeRadio ( y ('chois' =>ew sfCb ׼ay( $w , 'foo')))); 118 g$w1 = e $w ; 119 g$ab = $w1 -> gOi ('chois')-> gCb (); 120 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $w1 ), '__clone() changeshe choices is callablendhe object isn instance ofhe current object'); 122 g$w = w sfWidgFmSeRadio ( y ('chois' =>ew sfCb ׼ay( $a =ew dCss (), 'foo')))); 123 g$w1 = e $w ; 124 g$ab = $w1 -> gOi ('chois')-> gCb (); 125 g$t -> is ( l_obje_hash ( $ab [0]), s_obje_hash( $a ), '__clone() changesothing ifhe choices is callablendhe object isotn instance ofhe current object'); @lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectTest.php 1 gvideOnP = ue ; 29 g$t -> dg ('->render()'); 30 g$w = w sfWidgFmSe ( y ('choices' =>rray('foo' => 'bar', 'foobar' => 'foo'))); 31 g$dom -> ldHTML ( $w -> nd ('foo', 'foobar')); 32 g$css = w sfDomCssSe ( $dom ); 34 g$t -> is ( $css -> mchSg ('#foti[vue="foob"][ed="ed"]')-> gVue (), 'foo', '->render()enders selectag withhe value selected'); 35 g$t -> is ( cou ( $css -> mchA ('#foti')-> gNodes ()), 2, '->render()endersll choicess optionags'); 38 g$w = w sfWidgFmSe ( y ('choices' =>rray('' => 'bar'))); 39 g$t -> like ( $w -> nd ('foo', 'foobar'), '/