[^/\\.]+)(?:(?:/(?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
php
4
gsfCfig
::
add
(
y
(
13 'sf_u_daba' =>
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
php
6
li
(
$ass
,
$ms
(
y
sfCfig
::
g
('sf_rendering_filter',rray('sfRenderingFilter',rray (
8
g$fr
=
w
$ass
(
sfCڋxt
::
gIn
(),
$ms
);
9
g$this
->(
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
php
4
gsfCfig
::
add
(
y
(
5 'mod_deu_abd' =>
ue
,
@cache/companyfront/dev/config/modules_default_config_security.yml.php
1
php
4
g$this
->
gcury
=
y
(
6
y
(
7 'is_cu' =>
l
,
@cache/companyfront/dev/config/modules_default_config_view.yml.php
1
php
4
g$ڣ
=
$this
->
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
php
3
que_
dme
(
__FILE__
).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
4
gsfCeAutd
::();
6 as
cProjeCfiguti
exnds
msfProjeCfiguti
8
public
funi
$tup
()
10
$this
->
`abPlugs
('sfDoctrinePlugin');
11
$this
->
`abPlugs
('sfDoctrineGuardPlugin');
13
}
}
@lib/filter/doctrine/AdDescriptionFormFilter.class.php
1
php
11 as
cAdDestiFmFr
exnds
mBaAdDestiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/AdFormFilter.class.php
1
php
11 as
cAdFmFr
exnds
mBaAdFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/BaseFormFilterDoctrine.class.php
1
php
11
ab
cs
cBaFmFrDore
exnds
msfFmFrDore
13
public
funi
$tup
()
16
}
}
@lib/filter/doctrine/CityFormFilter.class.php
1
php
11 as
cCyFmFr
exnds
mBaCyFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/CompanyCategoryDescriptionFormFilter.class.php
1
php
11 as
cComnyCegyDestiFmFr
exnds
mBaComnyCegyDestiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/CompanyCategoryFormFilter.class.php
1
php
11 as
cComnyCegyFmFr
exnds
mBaComnyCegyFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/CompanyDescriptionFormFilter.class.php
1
php
11 as
cComnyDestiFmFr
exnds
mBaComnyDestiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/CompanyFormFilter.class.php
1
php
11 as
cComnyFmFr
exnds
mBaComnyFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/CountryFormFilter.class.php
1
php
11 as
cCouryFmFr
exnds
mBaCouryFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/GeneralCategoryDescriptionFormFilter.class.php
1
php
11 as
cGCegyDestiFmFr
exnds
mBaGCegyDestiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/GeneralCategoryFormFilter.class.php
1
php
11 as
cGCegyFmFr
exnds
mBaGCegyFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/LanguageFormFilter.class.php
1
php
11 as
cLguageFmFr
exnds
mBaLguageFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/OfficeAdsFormFilter.class.php
1
php
11 as
cOffiAdsFmFr
exnds
mBaOffiAdsFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/OfficeFormFilter.class.php
1
php
11 as
cOffiFmFr
exnds
mBaOffiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/RegionFormFilter.class.php
1
php
11 as
cRegiFmFr
exnds
mBaRegiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/UserBasketFormFilter.class.php
1
php
11 as
cUrBaskFmFr
exnds
mBaUrBaskFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/base/BaseAdDescriptionFormFilter.class.php
1
php
11
ab
cs
cBaAdDestiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaAdFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaCyFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaComnyCegyDestiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaComnyCegyFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaComnyDestiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaComnyFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaCouryFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaGCegyDestiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaGCegyFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaLguageFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaOffiAdsFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaOffiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaRegiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBaUrBaskFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBasfGudGroupFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBasfGudPmissiFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11
ab
cs
cBasfGudUrFmFr
exnds
mBaFmFrDore
13
public
funi
$tup
()
15
$this
->
`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
php
11 as
csfGudGroupFmFr
exnds
mPlugsfGudGroupFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/sfDoctrineGuardPlugin/sfGuardPermissionFormFilter.class.php
1
php
11 as
csfGudPmissiFmFr
exnds
mPlugsfGudPmissiFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/filter/doctrine/sfDoctrineGuardPlugin/sfGuardUserFormFilter.class.php
1
php
11 as
csfGudUrFmFr
exnds
mPlugsfGudUrFmFr
13
public
funi
$cfigu
()
16
}
}
@lib/form/BaseForm.class.php
1
php
11 as
cBaFm
exnds
msfFmSymfy
@lib/form/doctrine/AdDescriptionForm.class.php
1
php
11 as
cAdDestiFm
exnds
mBaAdDestiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/AdForm.class.php
1
php
11 as
cAdFm
exnds
mBaAdFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/BaseFormDoctrine.class.php
1
php
11
ab
cs
cBaFmDore
exnds
msfFmDore
13
public
funi
$tup
()
16
}
}
@lib/form/doctrine/CityForm.class.php
1
php
11 as
cCyFm
exnds
mBaCyFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/CompanyCategoryDescriptionForm.class.php
1
php
11 as
cComnyCegyDestiFm
exnds
mBaComnyCegyDestiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/CompanyCategoryForm.class.php
1
php
11 as
cComnyCegyFm
exnds
mBaComnyCegyFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/CompanyDescriptionForm.class.php
1
php
11 as
cComnyDestiFm
exnds
mBaComnyDestiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/CompanyForm.class.php
1
php
11 as
cComnyFm
exnds
mBaComnyFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/CountryForm.class.php
1
php
11 as
cCouryFm
exnds
mBaCouryFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/GeneralCategoryDescriptionForm.class.php
1
php
11 as
cGCegyDestiFm
exnds
mBaGCegyDestiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/GeneralCategoryForm.class.php
1
php
11 as
cGCegyFm
exnds
mBaGCegyFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/LanguageForm.class.php
1
php
11 as
cLguageFm
exnds
mBaLguageFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/OfficeAdsForm.class.php
1
php
11 as
cOffiAdsFm
exnds
mBaOffiAdsFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/OfficeForm.class.php
1
php
11 as
cOffiFm
exnds
mBaOffiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/RegionForm.class.php
1
php
11 as
cRegiFm
exnds
mBaRegiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/UserBasketForm.class.php
1
php
11 as
cUrBaskFm
exnds
mBaUrBaskFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/base/BaseAdDescriptionForm.class.php
1
php
13
ab
cs
cBaAdDestiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaAdFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaCyFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaComnyCegyDestiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaComnyCegyFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaComnyDestiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaComnyFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaCouryFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaGCegyDestiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaGCegyFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaLguageFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaOffiAdsFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaOffiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaRegiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBaUrBaskFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBasfGudGroupFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBasfGudPmissiFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
13
ab
cs
cBasfGudUrFm
exnds
mBaFmDore
15
public
funi
$tup
()
17
$this
->
`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
php
11 as
csfGudGroupFm
exnds
mPlugsfGudGroupFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardPermissionForm.class.php
1
php
11 as
csfGudPmissiFm
exnds
mPlugsfGudPmissiFm
13
public
funi
$cfigu
()
16
}
}
@lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardUserForm.class.php
1
php
11 as
csfGudUrFm
exnds
mPlugsfGudUrFm
13
public
funi
$cfigu
()
16
}
}
@lib/model/doctrine/Ad.class.php
1
php
13 as
cAd
exnds
mBaAd
@lib/model/doctrine/AdDescription.class.php
1
php
13 as
cAdDesti
exnds
mBaAdDesti
@lib/model/doctrine/AdDescriptionTable.class.php
1
php
8 as
cAdDestiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('AdDescription');
19
}
}
@lib/model/doctrine/AdTable.class.php
1
php
8 as
cAdTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Ad');
19
}
}
@lib/model/doctrine/City.class.php
1
php
13 as
cCy
exnds
mBaCy
@lib/model/doctrine/CityTable.class.php
1
php
8 as
cCyTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('City');
19
}
}
@lib/model/doctrine/Company.class.php
1
php
13 as
cComny
exnds
mBaComny
@lib/model/doctrine/CompanyCategory.class.php
1
php
13 as
cComnyCegy
exnds
mBaComnyCegy
@lib/model/doctrine/CompanyCategoryDescription.class.php
1
php
13 as
cComnyCegyDesti
exnds
mBaComnyCegyDesti
@lib/model/doctrine/CompanyCategoryDescriptionTable.class.php
1
php
8 as
cComnyCegyDestiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('CompanyCategoryDescription');
19
}
}
@lib/model/doctrine/CompanyCategoryTable.class.php
1
php
8 as
cComnyCegyTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('CompanyCategory');
19
}
}
@lib/model/doctrine/CompanyDescription.class.php
1
php
13 as
cComnyDesti
exnds
mBaComnyDesti
@lib/model/doctrine/CompanyDescriptionTable.class.php
1
php
8 as
cComnyDestiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('CompanyDescription');
19
}
}
@lib/model/doctrine/CompanyTable.class.php
1
php
8 as
cComnyTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Company');
19
}
}
@lib/model/doctrine/Country.class.php
1
php
13 as
cCoury
exnds
mBaCoury
@lib/model/doctrine/CountryTable.class.php
1
php
8 as
cCouryTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Country');
19
}
}
@lib/model/doctrine/GeneralCategory.class.php
1
php
13 as
cGCegy
exnds
mBaGCegy
@lib/model/doctrine/GeneralCategoryDescription.class.php
1
php
13 as
cGCegyDesti
exnds
mBaGCegyDesti
@lib/model/doctrine/GeneralCategoryDescriptionTable.class.php
1
php
8 as
cGCegyDestiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('GeneralCategoryDescription');
19
}
}
@lib/model/doctrine/GeneralCategoryTable.class.php
1
php
8 as
cGCegyTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('GeneralCategory');
19
}
}
@lib/model/doctrine/Language.class.php
1
php
13 as
cLguage
exnds
mBaLguage
@lib/model/doctrine/LanguageTable.class.php
1
php
8 as
cLguageTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Language');
19
}
}
@lib/model/doctrine/Office.class.php
1
php
13 as
cOffi
exnds
mBaOffi
@lib/model/doctrine/OfficeAds.class.php
1
php
13 as
cOffiAds
exnds
mBaOffiAds
@lib/model/doctrine/OfficeAdsTable.class.php
1
php
8 as
cOffiAdsTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('OfficeAds');
19
}
}
@lib/model/doctrine/OfficeTable.class.php
1
php
8 as
cOffiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Office');
19
}
}
@lib/model/doctrine/Region.class.php
1
php
13 as
cRegi
exnds
mBaRegi
@lib/model/doctrine/RegionTable.class.php
1
php
8 as
cRegiTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('Region');
19
}
}
@lib/model/doctrine/UserBasket.class.php
1
php
13 as
cUrBask
exnds
mBaUrBask
@lib/model/doctrine/UserBasketTable.class.php
1
php
8 as
cUrBaskTab
exnds
mDore_Tab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('UserBasket');
19
}
}
@lib/model/doctrine/base/BaseAd.class.php
1
php
36
ab
cs
cBaAd
exnds
msfDoreRecd
38
public
funi
$tTabDefi
()
40
$this
->
`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
php
39
ab
cs
cBaAdDesti
exnds
msfDoreRecd
41
public
funi
$tTabDefi
()
43
$this
->
`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
php
27
ab
cs
cBaCy
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
36
ab
cs
cBaComny
exnds
msfDoreRecd
38
public
funi
$tTabDefi
()
40
$this
->
`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
php
33
ab
cs
cBaComnyCegy
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
33
ab
cs
cBaComnyCegyDesti
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
30
ab
cs
cBaComnyDesti
exnds
msfDoreRecd
32
public
funi
$tTabDefi
()
34
$this
->
`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
php
27
ab
cs
cBaCoury
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
24
ab
cs
cBaGCegy
exnds
msfDoreRecd
26
public
funi
$tTabDefi
()
28
$this
->
`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
php
33
ab
cs
cBaGCegyDesti
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
33
ab
cs
cBaLguage
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
39
ab
cs
cBaOffi
exnds
msfDoreRecd
41
public
funi
$tTabDefi
()
43
$this
->
`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
php
27
ab
cs
cBaOffiAds
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
27
ab
cs
cBaRegi
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
27
ab
cs
cBaUrBask
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
27
ab
cs
cBasfGudFgPasswd
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
33
ab
cs
cBasfGudGroup
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
27
ab
cs
cBasfGudGroupPmissi
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
33
ab
cs
cBasfGudPmissi
exnds
msfDoreRecd
35
public
funi
$tTabDefi
()
37
$this
->
`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
php
27
ab
cs
cBasfGudRemembKey
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
69
ab
cs
cBasfGudUr
exnds
msfDoreRecd
71
public
funi
$tTabDefi
()
73
$this
->
`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
php
27
ab
cs
cBasfGudUrGroup
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
27
ab
cs
cBasfGudUrPmissi
exnds
msfDoreRecd
29
public
funi
$tTabDefi
()
31
$this
->
`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
php
13 as
csfGudFgPasswd
exnds
mPlugsfGudFgPasswd
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardForgotPasswordTable.class.php
1
php
8 as
csfGudFgPasswdTab
exnds
mPlugsfGudFgPasswdTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardForgotPassword');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardGroup.class.php
1
php
13 as
csfGudGroup
exnds
mPlugsfGudGroup
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardGroupPermission.class.php
1
php
13 as
csfGudGroupPmissi
exnds
mPlugsfGudGroupPmissi
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardGroupPermissionTable.class.php
1
php
8 as
csfGudGroupPmissiTab
exnds
mPlugsfGudGroupPmissiTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardGroupPermission');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardGroupTable.class.php
1
php
8 as
csfGudGroupTab
exnds
mPlugsfGudGroupTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardGroup');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardPermission.class.php
1
php
13 as
csfGudPmissi
exnds
mPlugsfGudPmissi
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardPermissionTable.class.php
1
php
8 as
csfGudPmissiTab
exnds
mPlugsfGudPmissiTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardPermission');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardRememberKey.class.php
1
php
13 as
csfGudRemembKey
exnds
mPlugsfGudRemembKey
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardRememberKeyTable.class.php
1
php
8 as
csfGudRemembKeyTab
exnds
mPlugsfGudRemembKeyTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardRememberKey');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUser.class.php
1
php
13 as
csfGudUr
exnds
mPlugsfGudUr
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUserGroup.class.php
1
php
13 as
csfGudUrGroup
exnds
mPlugsfGudUrGroup
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUserGroupTable.class.php
1
php
8 as
csfGudUrGroupTab
exnds
mPlugsfGudUrGroupTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardUserGroup');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUserPermission.class.php
1
php
13 as
csfGudUrPmissi
exnds
mPlugsfGudUrPmissi
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUserPermissionTable.class.php
1
php
8 as
csfGudUrPmissiTab
exnds
mPlugsfGudUrPmissiTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardUserPermission');
19
}
}
@lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUserTable.class.php
1
php
8 as
csfGudUrTab
exnds
mPlugsfGudUrTab
15
public
funi
$gIn
()
17
Dore_Ce
::
`gTab
('sfGuardUser');
19
}
}
@lib/vendor/symfony/data/bin/changelog.php
1
php
20
que_
dme
(
__FILE__
).'/../../lib/task/sfFilesystem.class.php';
22 i(!
$ist
(
$gv
[1]))
24
echo
"You mustrovideevisionange (-r123:456)\n";
25
`ex
(1);
26
}
}
28 i(!
$ist
(
$gv
[2]))
30
echo
"You mustrovideepositoryath (/branches/1.4)\n";
31
`ex
(1);
32
}
}
34
g$fesyem
=
w
sfFesyem
();
36
li
(
$out
,
$r
$fesyem
->
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
php
3
funi
$is_i
()
5 !
`ist
(
$_SERVER
['HTTP_HOST']);
6
}
}
11
funi
check
(
$boޗn
,
$mesge
,
$hp
= '',
$l
=
l
)
13
echo
$boޗn
? " OK " :
rtf
("[[%s]] ",
$l
? ' ERROR ' : 'WARNING');
14
echo
rtf
("$mesge%s\n",
$boޗn
? '' : ': FAILED');
16 i(!
g$boޗn
)
18
gecho
" *** $help ***\n";
19 i(
g$l
)
21
d
("You must fixhisroblem beforeesuminghe check.\n");
31
funi
$g_i_th
()
33 i(
$th
=
`g_cfg_v
('cfg_file_path'))
35
$th
;
39
}
}
41 i(!
$is_i
())
43
echo
'';
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
php
20
que_
(
dme
(
__FILE__
).'/../../lib/exception/sfException.class.php');
21
que_
(
dme
(
__FILE__
).'/../../lib/task/sfFilesystem.class.php');
22
que_
(
dme
(
__FILE__
).'/../../lib/util/sfFinder.class.php');
23
que_
(
dme
(
__FILE__
).'/../../lib/vendor/lime/lime.php');
25 i(!
$ist
(
$gv
[1]))
27
throw
w
`Exi
('You mustrovide versionrefix.');
28
}
}
30 i(!
$ist
(
$gv
[2]))
32
throw
w
`Exi
('You mustrovide stability status (alpha/beta/stable).');
33
}
}
35
g$aby
=
$gv
[2];
37
g$fesyem
=
w
sfFesyem
();
39 i((
g$aby
='ba' ||
$aby
='pha'&&
cou
(
exode
('.',
$gv
[1])) < 2)
41
g$vsi_efix
=
$gv
[1];
43
li
(
$su
$fesyem
->
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
php
3
g$this
->
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
php
21
ab
cs
csfAi
exnds
msfCompڒt
23
eed
24
m$cury
=
y
();
35
public
funi
$lize
(
$cڋxt
,
$moduName
,
$aiName
)
37
::
`lize
(
$cڋxt
,
$moduName
,
$aiName
);
40 i(
$fe
=
$cڋxt
->
`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
php
22 as
csfAiSck
24
eed
25
m$ack
=
y
();
36
public
funi
$addEry
(
$moduName
,
$aiName
,
$aiIn
)
39
$aiEry
=
w
`sfAiSckEry
(
$moduName
,
$aiName
,
$aiIn
);
41
$this
->
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
php
21 as
csfAiSckEry
23
eed
24
m$aiIn
=
nu
,
25
m$aiName
=
nu
,
26
m$moduName
=
nu
,
27
m$ei
=
nu
;
36
public
funi
$__cڡru
(
$moduName
,
$aiName
,
$aiIn
)
38
$this
->
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
php
21
ab
cs
csfAis
exnds
msfAi
37
public
funi
$execu
(
$que
)
40
$aiToRun
= 'execu'.
`ucf
(
$this
->
`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
php
19
ab
cs
csfCompڒt
21
eed
22
m$moduName
= '',
23
m$aiName
= '',
24
m$cڋxt
=
nu
,
25
m$dich
=
nu
,
26
m$que
=
nu
,
27
m$ڣ
=
nu
,
28
m$vHd
=
nu
,
29
m$quePamHd
=
nu
;
36
public
funi
$__cڡru
(
$cڋxt
,
$moduName
,
$aiName
)
38
$this
->
`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
php
19
ab
cs
csfCompڒts
exnds
msfCompڒt
26
public
funi
$execu
(
$que
)
28
throw
w
`sfInliziExi
('sfComponents initialization failed.');
30
}
}
@lib/vendor/symfony/lib/addon/sfData.class.php
1
php
20
ab
cs
csfDa
22
eed
23
m$deCutDa
=
ue
,
24
m$obje_ns
=
y
();
32
public
funi
$tDeCutDa
(
$boޗn
)
34
$this
->
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
php
19
ab
ass
sfPag
imemts
gIt
,
gCouab
21
eed
22
g$ge
= 1,
23
g$maxPPage
= 0,
24
g$ϡPage
= 1,
25
g$nbResus
= 0,
26
g$ass
= '',
27
g$bName
= '',
28
g$objes
=
nu
,
29
g$curs
= 1,
30
g$ms
=
y
(),
31
g$cutMaxLk
= 1,
32
g$mHd
=
nu
,
33
g$maxRecdLim
=
l
,
36
g$sus
=
nu
,
37
g$susCou
= 0;
45
public
funi
__cڡru
(
$ass
,
$maxPPage
= 10)
47
$this
->
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
php
22 as
csfAutd
24
eed
25
m$eshCache
=
l
,
26
m$
=
nu
;
28
eed
29
m$ovrid
=
y
(),
30
m$ass
=
y
();
32
eed
funi
$__cڡru
()
41
public
funi
$gIn
()
43 i(!
`ist
(
lf
::
$
))
45
lf
::
$
=
w
`sfAutd
();
48
lf
::
$
;
49
}
}
56
public
funi
()
58
`i_t
('unserialize_callback_func', 'spl_autoload_call');
60 i(
l
==
`l_autd_gi
(
`y
(
lf
::
`gIn
(), 'autoload')))
62
throw
w
`sfExi
(
`rtf
('Ubˁػgi %s::autdutdg mhod.',
`g_ass
(
lf
::
`gIn
())));
64
}
}
71
public
funi
$uegi
()
73
`l_autd_uegi
(
`y
(
lf
::
`gIn
(), 'autoload'));
74
}
}
82
public
funi
$tCssPh
(
$ass
,
$th
)
84
$ass
=
`ow
($class);
86
$this
->
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
php
19 as
csfAutdAga
21
eed
22
m$
=
nu
;
24
eed
25
m$gied
=
l
,
26
m$lded
=
l
;
33
public
funi
$gIn
()
35 i(
nu
==
lf
::
$
)
37
lf
::
$
=
w
`lf
();
40
lf
::
$
;
46
eed
funi
$__cڡru
()
48
}
}
57
public
funi
$autd
(
$ass
)
60 i(
$this
->
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
php
14
defe
('SYMFONY_VERSION', '1.4.18-DEV');
28 as
csfCeAutd
30
eed
31
m$gied
=
l
,
32
m$
=
nu
;
34
eed
35
m$baD
=
nu
;
37
eed
funi
$__cڡru
()
39
$this
->
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
php
22 as
csfSimeAutd
24
eed
25
m$gied
=
l
,
26
m$
=
nu
;
28
eed
29
m$cheFe
=
nu
,
30
m$cheLded
=
l
,
31
m$cheChged
=
l
,
32
m$ds
=
y
(),
33
m$fes
=
y
(),
34
m$ass
=
y
(),
35
m$ovrid
=
y
();
37
eed
funi
$__cڡru
(
$cheFe
=
nu
)
39 i(
nu
!=
$cheFe
)
41
$this
->
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
php
19 as
csfAPCCache
exnds
msfCache
30
public
funi
lize
(
$tis
=
$y
())
32
::
`lize
(
$tis
);
34 i(!
`funi_exis
('c_e'|| !
`i_g
('apc.enabled'))
36
throw
w
`sfInliziExi
('You must have APC installedndnabledo use sfAPCCache class.');
43
public
funi
$g
(
$key
,
$deu
=
nu
)
45
$vue
=
$this
->
`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
php
19
ab
cs
csfCache
21 cڡ
mOLD
= 1;
22 cڡ
mALL
= 2;
23 cڡ
mSEPARATOR
= ':';
25
eed
26
m$tis
=
y
();
33
public
funi
__cڡru
(
$tis
=
$y
())
35
$this
->
`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
php
19 as
csfEAc˿tCache
exnds
msfCache
30
public
funi
lize
(
$tis
=
$y
())
32
::
`lize
(
$tis
);
34 i(!
`funi_exis
('c˿t_put'|| !
`i_g
('eaccelerator.enable'))
36
throw
w
`sfInliziExi
('You must have EAccelerator installedndnabledo use sfEAcceleratorCache class (orerhaps you forgotodd --with-eaccelerator-shared-memory when installing).');
43
public
funi
$g
(
$key
,
$deu
=
nu
)
45
$vue
=
`c˿t_g
(
$this
->
`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
php
19 as
csfFeCache
exnds
msfCache
21 cڡ
mREAD_DATA
= 1;
22 cڡ
mREAD_TIMEOUT
= 2;
23 cڡ
mREAD_LAST_MODIFIED
= 4;
25 cڡ
mEXTENSION
= '.cache';
38
public
funi
lize
(
$tis
=
$y
())
40
::
`lize
(
$tis
);
42 i(!
$this
->
`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
php
19 as
csfFuniCache
21
eed
m$che
=
nu
;
28
public
funi
$__cڡru
(
sfCache
$che
)
30
$this
->
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
php
19 as
csfMemcheCache
exnds
msfCache
21
eed
22
m$memche
=
nu
;
41
public
funi
lize
(
$tis
=
$y
())
43
::
`lize
(
$tis
);
45 i(!
`ass_exis
('Memcache'))
47
throw
w
`sfInliziExi
('You must have memcache installedndnabledo use sfMemcacheCache class.');
50 i(
$this
->
`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
php
19 as
csfNoCache
exnds
msfCache
24
public
funi
$g
(
$key
,
$deu
=
nu
)
26
$deu
;
32
public
funi
$has
(
$key
)
34
l
;
35
}
}
40
public
funi
$t
(
$key
,
$da
,
$litime
=
nu
)
42
ue
;
43
}
}
48
public
funi
$move
(
$key
)
50
ue
;
51
}
}
56
public
funi
$moveP
(
$n
)
58
ue
;
59
}
}
64
public
funi
n
(
$mode
=
lf
::
ALL
)
66
ue
;
72
public
funi
$gLaModifd
(
$key
)
75
}
}
80
public
funi
$gTimeout
(
$key
)
83
}
}
@lib/vendor/symfony/lib/cache/sfSQLiteCache.class.php
1
php
19 as
csfSQLeCache
exnds
msfCache
21
eed
22
m$dbh
=
nu
,
23
m$daba
= '';
36
public
funi
lize
(
$tis
=
$y
())
38 i(!
`exnsi_lded
('SQLite') && !extension_loaded('pdo_SQLite'))
40
throw
w
`sfCfigutiExi
('sfSQLiteCache classeeds "sqlite" or "pdo_sqlite"xtensiono beoaded.');
43
::
`lize
(
$tis
);
45 i(!
$this
->
`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
php
19 as
csfXCacheCache
exnds
msfCache
30
public
funi
lize
(
$tis
=
$y
())
32
::
`lize
(
$tis
);
34 i(!
`funi_exis
('xcache_set'))
36
throw
w
`sfInliziExi
('You must have XCache installedndnabledo use sfXCacheCache class.');
39 i(!
`i_g
('xcache.var_size'))
41
throw
w
`sfInliziExi
('You must sethe "xcache.var_size" variableo value greaterhan 0o use sfXCacheCache class.');
48
public
funi
$g
(
$key
,
$deu
=
nu
)
51
$t
=
$this
->
`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
php
11
que_
(
dme
(
__FILE__
).'/../autoload/sfCoreAutoload.class.php');
12
gsfCeAutd
::();
14
gy
16
g$dich
=
w
sfEvtDich
();
17
g$logg
=
w
sfCommdLogg
(
$dich
);
19
g$iti
=
w
sfSymfyCommdAliti
(
$dich
,
nu
,
y
('symfy_lib_d' =>
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
php
19 as
csfAnsiCFmr
exnds
msfFmr
21
eed
22
m$ys
=
y
(
23 'ERROR' =>
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
php
19
ab
cs
csfCommdAliti
21
eed
22
m$commdMag
=
nu
,
23
m$a
=
l
,
24
m$vbo
=
ue
,
25
m$nowre
=
l
,
26
m$me
= 'UNKNOWN',
27
m$vsi
= 'UNKNOWN',
28
m$sks
=
y
(),
29
m$cutTask
=
nu
,
30
m$dich
=
nu
,
31
m$tis
=
y
(),
32
m$fmr
=
nu
;
41
public
funi
__cڡru
(
sfEvtDich
$dich
,
sfFmr
$fmr
=
nu
,
$tis
=
$y
())
43
$this
->
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
php
19 as
csfCommdArgumt
21 cڡ
mREQUIRED
= 1;
22 cڡ
mOPTIONAL
= 2;
24 cڡ
mIS_ARRAY
= 4;
26
eed
27
m$me
=
nu
,
28
m$mode
=
nu
,
29
m$deu
=
nu
,
30
m$hp
= '';
40
public
funi
__cڡru
(
$me
,
$mode
=
nu
,
$hp
= '',
$deu
=ull)
42 i(
nu
==
$mode
)
44
$mode
=
lf
::
OPTIONAL
;
46 i(
is_rg
(
$mode
||
m$mode
> 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
php
19 as
csfCommdArgumtS
21
eed
22
m$gumts
=
y
(),
23
m$quedCou
= 0,
24
m$hasAnAayArgumt
=
l
,
25
m$hasOiڮ
=
l
;
32
public
funi
__cڡru
(
$gumts
=
$y
())
34
$this
->
`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
php
19 as
csfCommdArgumtsExi
exnds
msfCommdExi
@lib/vendor/symfony/lib/command/sfCommandException.class.php
1
php
19 as
csfCommdExi
exnds
msfExi
@lib/vendor/symfony/lib/command/sfCommandLogger.class.php
1
php
18 as
csfCommdLogg
exnds
msfCseLogg
26
public
funi
lize
(
sfEvtDich
$dich
,
$tis
=
$y
())
28
$dich
->
`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
php
19 as
csfCommdMag
21
eed
22
m$gumts
= '',
23
m$rs
=
y
(),
24
m$tiS
=
nu
,
25
m$gumtS
=
y
(),
26
m$tiVues
=
y
(),
27
m$gumtVues
=
y
(),
28
m$rdArgumtVues
=
y
();
36
public
funi
$__cڡru
(
sfCommdArgumtS
$gumtS
=
nu
,
sfCommdOiS
$tiS
=ull)
38 i(
nu
==
$gumtS
)
40
$gumtS
=
w
`sfCommdArgumtS
();
42
$this
->
`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
php
19 as
csfCommdOi
21 cڡ
mPARAMETER_NONE
= 1;
22 cڡ
mPARAMETER_REQUIRED
= 2;
23 cڡ
mPARAMETER_OPTIONAL
= 4;
25 cڡ
mIS_ARRAY
= 8;
27
eed
28
m$me
=
nu
,
29
m$shtcut
=
nu
,
30
m$mode
=
nu
,
31
m$deu
=
nu
,
32
m$hp
= '';
43
public
funi
__cڡru
(
$me
,
$shtcut
=
nu
,
$mode
=u,
$hp
= '',
$deu
=ull)
45 i('--' =
subr
(
$me
, 0, 2))
47
m$me
=
subr
(
$me
, 2);
50 i(
emy
(
$shtcut
))
52
m$shtcut
=
nu
;
55 i(
mnu
!=
$shtcut
)
57 i('-' =
$shtcut
[0])
59
$shtcut
=
subr
($shortcut, 1);
63 i(
mnu
==
$mode
)
65
$mode
=
lf
::
PARAMETER_NONE
;
67 i(
is_rg
(
$mode
||
m$mode
> 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
php
19 as
csfCommdOiS
21
eed
22
m$tis
=
y
(),
23
m$shtcuts
=
y
();
30
public
funi
__cڡru
(
$tis
=
$y
())
32
$this
->
`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
php
19 as
csfFmr
21
eed
22
m$size
=
nu
;
24
funi
$__cڡru
(
$maxLeSize
=
nu
)
26 i(
nu
==
$maxLeSize
)
28 i(
`funi_exis
('shell_exec'))
31
$maxLeSize
=
`y_dig
(
`im
(
`shl_exec
('ucޠ2>&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
php
19 as
csfSymfyCommdAliti
exnds
msfCommdAliti
21
eed
m$skFes
=
y
();
26
public
funi
$cfigu
()
28 i(!
`ist
(
$this
->
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
php
19
ab
cs
csfAlitiCfiguti
exnds
mProjeCfiguti
21
eed
22
m$ceLded
=
l
,
23
m$ldedHrs
=
y
();
25
eed
26
m$cfigCache
=
nu
,
27
m$iti
=
nu
,
28
m$vmt
=
nu
,
29
m$debug
=
l
,
30
m$cfig
=
y
(),
31
m$che
=
nu
;
41
public
funi
$__cڡru
(
$vmt
,
$debug
,
$roD
=
nu
,
sfEvtDich
$dich
=ull)
43
$this
->
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
php
20 as
csfAutdCfigHdr
exnds
msfYamlCfigHdr
32
public
funi
$execu
(
$cfigFes
)
35
$this
->
`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
php
19 as
csfCacheCfigHdr
exnds
msfYamlCfigHdr
21
eed
22
m$cheCfig
=
y
();
35
public
funi
$execu
(
$cfigFes
)
38
$this
->
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
php
22 as
csfCompeCfigHdr
exnds
msfYamlCfigHdr
34
public
funi
$execu
(
$cfigFes
)
37
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
40
$da
= '';
43
`fܗch
(
$cfig
as
$fe
)
45 i(!
`is_adab
(
$fe
))
48
throw
w
`sfPExi
(
`rtf
('Cfiguti f"%s" scifnexi uėdab f"%s".',
$cfigFes
[0],
$fe
));
51
$cڋs
=
`fe_g_cڋs
(
$fe
);
54 i(!
sfCfig
::
`g
('sf_debug'))
56
$cڋs
=
sfTok
::
`rCommts
($contents);
65
$cڋs
=
sfTok
::
`eg
($cڋs,
`y
('/^\s*<\?(php)?/m' => '',
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
php
19 as
csfCfig
21
eed
22
m$cfig
=
y
();
32
public
funi
$g
(
$me
,
$deu
=
nu
)
34
`ist
(
lf
::
$cfig
[
$me
]? sf::$cfig[$me] :
$deu
;
44
public
funi
$has
(
$me
)
46
`y_key_exis
(
$me
,
lf
::
$cfig
);
47
}
}
57
public
funi
$t
(
$me
,
$vue
)
59
lf
::
$cfig
[
$me
] =
$vue
;
60
}
}
70
public
funi
add
(
$ms
=
$y
())
72
lf
::
$cfig
=
`y_mge
(lf::$cfig,
$ms
);
73
}
}
80
public
funi
$gA
()
82
lf
::
$cfig
;
83
}
}
88
public
funi
$r
()
90
lf
::
$cfig
=
`y
();
91
}
}
@lib/vendor/symfony/lib/config/sfConfigCache.class.php
1
php
23 as
csfCfigCache
25
eed
26
m$cfiguti
=
nu
,
27
m$hdrs
=
y
(),
28
m$urHdrs
=
y
();
35
public
funi
$__cڡru
(
sfAlitiCfiguti
$cfiguti
)
37
$this
->
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
php
23
ab
cs
csfCfigHdr
25
eed
26
m$mHd
=
nu
;
33
public
funi
$__cڡru
(
$ms
=
nu
)
35
$this
->
`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
php
23 as
csfDabaCfigHdr
exnds
msfYamlCfigHdr
35
public
funi
$execu
(
$cfigFes
)
37
`li
(
$udes
,
$da
$this
->
`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
php
18 as
csfDefeEnvmtCfigHdr
exnds
msfYamlCfigHdr
30
public
funi
$execu
(
$cfigFes
)
33
$efix
=
`ow
(
$this
->
`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
php
22 as
csfFayCfigHdr
exnds
msfYamlCfigHdr
34
public
funi
$execu
(
$cfigFes
)
37
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
40
$udes
=
`y
();
41
$s
=
`y
();
44
$ܛs
=
`y
('view_cache_manager', 'logger', 'i18n', 'controller', 'request', 'response', 'routing', 'storage', 'user', 'view_cache', 'mailer');
47
`fܗch
(
$ܛs
as
$y
)
50
$keys
=
$cfig
[
$y
];
52 i(!
`ist
(
$keys
['class']))
55
throw
w
`sfPExi
(
`rtf
('Cfiguti f"%s" scifgy "%s" wh missg cskey.',
$cfigFes
[0],
$y
));
58
$ass
=
$keys
['class'];
60 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');",
$keys
['file']);
74
$ms
=
`y
();
75 i(
`ist
(
$keys
['param']))
77 i(!
`is_y
(
$keys
['param']))
79
throw
w
`InvidArgumtExi
(
`rtf
('Th"m" key f܁h"%s" fay mu bay ( %s).',
$ass
,
$cfigFes
[0]));
82
$ms
=
$keys
['param'];
86
$y
)
89
$s
[] =
`rtf
(" \$assfCfig::g('sf_y_cڌr', '%s');\ \$this->ܛ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_mgeay('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 \$assay_mgeay(\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_mgeay('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
php
21 as
csfFrCfigHdr
exnds
msfYamlCfigHdr
33
public
funi
$execu
(
$cfigFes
)
36
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
39
$da
=
`y
();
40
$udes
=
`y
();
42
$executi
=
l
;
43
$ndg
=
l
;
46
`fܗch
(
$cfig
as
$gy
=>
$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
php
19 as
csfGCfigHdr
exnds
msfYamlCfigHdr
32
public
funi
$execu
(
$cfigFes
)
35
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
36 i(!
$cfig
)
41 i(!
`ist
(
$cfig
['generator']))
43
throw
w
`sfPExi
(
`rtf
('Cfiguti f"%s" mu scify g sei.',
`ist
(
$cfigFes
[1]) ? $configFiles[1] : $configFiles[0]));
46
$cfig
= $config['generator'];
48 i(!
`ist
(
$cfig
['class']))
50
throw
w
`sfPExi
(
`rtf
('Cfiguti f"%s" mu scify g csi undhg sei.',
`ist
(
$cfigFes
[1]) ? $configFiles[1] : $configFiles[0]));
53
`fܗch
(
`y
('flds', 'li', 'ed'
as
$i
)
55 i(
`ist
(
$cfig
[
$i
]))
57
throw
w
`sfPExi
(
`rtf
('Cfiguti f"%s" c scify "%s" sei buly undhm sei.',
`ist
(
$cfigFes
[1]? $cfigFes[1] : $cfigFes[0],
$i
));
62
$gMag
=
w
`sfGMag
(
sfCڋxt
::
`gIn
()->
`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
php
19
ab
cs
csfPlugCfiguti
21
eed
22
m$cfiguti
=
nu
,
23
m$dich
=
nu
,
24
m$me
=
nu
,
25
m$roD
=
nu
;
34
public
funi
$__cڡru
(
sfProjeCfiguti
$cfiguti
,
$roD
=
nu
,
$me
=ull)
36
$this
->
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
php
19 as
csfPlugCfigutiGic
exnds
msfPlugCfiguti
24
public
funi
$lize
()
26
l
;
28
}
}
@lib/vendor/symfony/lib/config/sfProjectConfiguration.class.php
1
php
19 as
csfProjeCfiguti
21
eed
22
m$roD
=
nu
,
23
m$symfyLibD
=
nu
,
24
m$dich
=
nu
,
25
m$ugs
=
y
(),
26
m$ugPhs
=
y
(),
27
m$ovriddPlugPhs
=
y
(),
28
m$ugCfigutis
=
y
(),
29
m$ugsLded
=
l
;
31
eed
32
m$aive
=
nu
;
40
public
funi
$__cڡru
(
$roD
=
nu
,
sfEvtDich
$dich
=ull)
42 i(
nu
==
lf
::
$aive
||
$this
of
sfAlitiCfiguti
)
44
lf
::
$aive
=
$this
;
47
$this
->
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
php
20 as
csfRoCfigHdr
exnds
msfYamlCfigHdr
32
public
funi
$execu
(
$cfigFes
)
35
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
38
$moduLev
= (
$this
->
`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
php
17 as
csfRoutgCfigHdr
exnds
msfYamlCfigHdr
29
public
funi
$execu
(
$cfigFes
)
31
$tis
=
$this
->
`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
php
19 as
csfSecuryCfigHdr
exnds
msfYamlCfigHdr
32
public
funi
$execu
(
$cfigFes
)
35
$cfig
=
lf
::
`gCfiguti
(
$cfigFes
);
38
$tv
=
`rtf
("
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
php
20
ab
cs
csfYamlCfigHdr
exnds
msfCfigHdr
22
eed
23
m$yamlCfig
=
nu
;
32
public
funi
$rYamls
(
$cfigFes
)
34
$cfig
=
`y
();
35
`fܗch
(
$cfigFes
as
$cfigFe
)
38
$vues
=
`y
();
39
`fܗch
(
lf
::
`rYaml
(
$cfigFe
as
$v
=>
$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
php
19 as
cdeuAis
exnds
msfAis
25
public
funi
$execuIndex
()
33
public
funi
$execuModu
()
35
}
}
41
public
funi
$execuE404
()
43
}
}
49
public
funi
$execuSecu
()
51
}
}
57
public
funi
$execuLog
()
59
}
}
65
public
funi
$execuDibd
()
67
}
}
@lib/vendor/symfony/lib/controller/default/templates/defaultLayout.php
1
2 <
html
gxms
="hp://www.w3.g/1999/xhtml"
xml
:
ng
="en"ang="en">
3 <
hd
>
5
php
ude_hp_mas
() ?>
6
php
ude_mas
() ?>
7
php
ude_t
() ?>
8
php
u_ysht
('/sf/sf_default/css/screen.css', 'last') ?>
9
php
ude_yshts
() ?>
10
php
ude_javasts
() ?>
12 <
lk
gl
="shtcuic"
hf
="/favicon.ico" />
14
18
hd
>
19 <
body
>
20 <
div
ass
="sfTContainer">
21
php
echo
lk_to
(
image_g
('/sf/sf_deu/images/sfTLogo.g',
y
('alt' => 'symfony PHP Framework', 'class' => 'sfTLogo', 'size' => '186x39')), 'http://www.symfony-project.org/') ?>
22
php
echo
g$sf_cڋ
?>
23
gdiv
>
24
gbody
>
25
ghtml
>
@lib/vendor/symfony/lib/controller/default/templates/disabledSuccess.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTAlert">
4
php
echo
image_g
('/sf/sf_deu/images/ics/dibd48.g',
y
('alt' => 'module disabled', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
5 <
div
ass
="sfTMessageWrap">
6 <
h1
>
This
Modu
is
Uvaab
7 <
h5
>
This
modu
has
bn
dibd
.
8
div
>
9
div
>
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">
php
echo
lk_to
('GtHomage', '@homage'?>
gli
>
17
gul
>
18
gdd
>
19
gdl
>
@lib/vendor/symfony/lib/controller/default/templates/error404Success.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTAlert">
4
php
echo
image_g
('/sf/sf_deu/images/ics/nl48.g',
y
('alt' => 'pageot found', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
5 <
div
ass
="sfTMessageWrap">
6 <
h1
>
Os
!
Page
N
Found
7 <
h5
>
The
rv
tued
a
404
ڣ
.
8
div
>
9
div
>
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
php
echo
`ma_to
('[ema]'?>
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
php
echo
`ma_to
('[ema]'?>
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">
php
echo
`lk_to
('Goo Homepage', '@homepage') ?>
25
ul
>
26
dd
>
27
dl
>
@lib/vendor/symfony/lib/controller/default/templates/indexSuccess.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTMessage">
4
php
echo
image_g
('/sf/sf_deu/images/ics/ok48.g',
y
('alt' => '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
div
>
9
div
>
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
.
gdd
>
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">
php
echo
lk_to
('L mܐomhldocumti', 'hp://www.symfy-oje.g/doc'?>
gli
>
23
gul
>
24
gdd
>
25
gdl
>
@lib/vendor/symfony/lib/controller/default/templates/loginSuccess.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTLock">
4
php
echo
image_g
('/sf/sf_deu/images/ics/lock48.g',
y
('alt' => 'loginequired', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
5 <
div
ass
="sfTMessageWrap">
6 <
h1
>
Log
Requed
7 <
h5
>
This
ge
is
n
public
.
8
div
>
9
div
>
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">
php
echo
lk_to
('Proedlog',
sfCfig
::
g
('sf_login_module').'/'.sfConfig::get('sf_login_action')) ?>
18 <
li
ass
="sfTLkMesge"><
a
hf
="javast:hiy.go(-1)">
Back
to
evious
ge
19
ul
>
20
dd
>
21
dl
>
@lib/vendor/symfony/lib/controller/default/templates/moduleSuccess.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTMessage">
4
php
echo
image_g
('/sf/sf_deu/images/ics/ok48.g',
y
('alt' => '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
div
>
9
div
>
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
/
php
echo
sfCڋxt
::
gIn
()->
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
gli
>
19 <
li
gass
="sfTCMesge">
Cuomize
the
<
code
>
mes
/
dexSucss
.
php
me
20 <
li
ass
="sfTLkMesge">
php
echo
lk_to
('L mܐomhldocumti', 'hp://www.symfy-oje.g/doc'?>
gli
>
21
gul
>
22
gdd
>
23
gdl
>
@lib/vendor/symfony/lib/controller/default/templates/secureSuccess.php
1
php
decܩe_wh
(
dme
(
__FILE__
).'/defaultLayout.php') ?>
3 <
div
gass
="sfTMessageContainer sfTLock">
4
php
echo
image_g
('/sf/sf_deu/images/ics/lock48.g',
y
('alt' => 'credentialsequired', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
5 <
div
ass
="sfTMessageWrap">
6 <
h1
>
Cdtls
Requed
7 <
h5
>
This
ge
is
a
ried
.
8
div
>
9
div
>
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
ul
>
22
dd
>
23
dl
>
@lib/vendor/symfony/lib/controller/sfController.class.php
1
php
21
ab
cs
csfCڌr
23
eed
24
m$cڋxt
=
nu
,
25
m$dich
=
nu
,
26
m$cڌrCss
=
y
(),
27
m$ndMode
=
sfVw
::
RENDER_CLIENT
,
28
m$maxFwds
= 5;
35
public
funi
$__cڡru
(
$cڋxt
)
37
$this
->
`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
php
23 as
csfFrtWebCڌr
exnds
msfWebCڌr
30
public
funi
$dich
()
32
y
35
sfFr
::
$frCd
=
`y
();
38
$que
=
$this
->
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
php
21
ab
cs
csfWebCڌr
exnds
msfCڌr
31
public
funi
gU
(
$ms
=
y
(),
$absu
=
l
)
33
$rou
= '';
34
m$agmt
= '';
36 i(
is_rg
(
$ms
))
39 i(
eg_mch
('#^[a-z][a-z0-9\+.\-]*\://#i',
$ms
))
41
m$ms
;
45 i(0 ==
os
(
$ms
, '/'))
47
m$ms
;
50 i(
m$ms
== '#')
52
$ms
;
56 i(
ml
!=(
$pos
=
os
(
$ms
, '#')))
58
m$agmt
=
subr
(
$ms
,
$pos
+ 1);
59
m$ms
=
subr
(
$ms
, 0,
$pos
);
62
li
(
$rou
,
$ms
$this
->
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
php
22
ab
cs
csfDaba
24
eed
25
m$mHd
=
nu
,
26
m$ci
=
nu
,
27
m$sour
=
nu
;
34
public
funi
__cڡru
(
$ms
=
$y
())
36
$this
->
`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
php
23 as
csfDabaMag
25
eed
26
m$cfiguti
=
nu
,
27
m$dabas
=
y
();
34
public
funi
__cڡru
(
sfProjeCfiguti
$cfiguti
,
$tis
=
$y
())
36
$this
->
`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
php
29 as
csfMySQLDaba
exnds
msfDaba
36
public
funi
$c
()
38
$daba
=
$this
->
`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
php
16 as
csfMySQLiDaba
exnds
msfMySQLDaba
28
eed
funi
$gCMhod
(
$rsit
)
40
eed
funi
$Daba
(
$daba
)
42 (
$daba
!
nu
&& !@
`mysqli__db
(
$this
->
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
php
23 as
csfPDODaba
exnds
msfDaba
30
public
funi
$c
()
32 i(!
$d
=
$this
->
`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
php
30 as
csfPogSQLDaba
exnds
msfDaba
37
public
funi
$c
()
39
$daba
=
$this
->
`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
php
19 as
csfDebug
26
public
funi
$symfyInfoAsAay
()
28
`y
(
29 'vsi' =>
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
php
19 as
csfTim
21
eed
22
m$tTime
=
nu
,
23
m$tٮTime
=
nu
,
24
m$me
= '',
25
m$s
= 0;
32
public
funi
__cڡru
(
$me
= '')
34
$this
->
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
php
19 as
csfTimMag
21
public
m$tims
=
y
();
32
public
funi
$gTim
(
$me
)
34 i(!
`ist
(
lf
::
$tims
[
$me
]))
36
lf
::
$tims
[
$me
] =
w
`sfTim
($name);
39
lf
::
$tims
[
$me
]->
`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
php
19 as
csfWebDebug
21
eed
22
m$dich
=
nu
,
23
m$logg
=
nu
,
24
m$tis
=
y
(),
25
m$ls
=
y
();
39
public
funi
__cڡru
(
sfEvtDich
$dich
,
sfVLogg
$logg
,
y
$tis
=
$y
())
41
$this
->
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ڋ
, '