Отчет сканера AI-Bolit v20171003: /home/petun/web/mgmt.prostovkusnovyksa.ru/ (1/1)
Скрипт бесплатный только для личного некоммерческого использования. Есть коммерческая лицензия (пункт №11).
Затрачено времени: 3 m . Сканирование начато 12-10-2017 в 21:00:26, сканирование завершено 12-10-2017 в 21:03:53
Всего проверено 1890 директорий и 7665 файлов. Использовано памяти при сканировании: 8.05 Mb.
Сводный отчет
Исполняемых файлов6
Пропущенных больших файлов18
Символических ссылок3
Скрытых файлов34
Рекламных ссылок и кодов1
Обращаем внимание, что обнаруженные файлы не всегда являются вирусами и хакерскими скриптами. Сканер старается минимизировать число ложных обнаружений, но это не всегда возможно, так как найденный фрагмент может встречаться как во вредоносных скриптах, так и в обычных.
Обращаем внимание на то, что большинство CMS без дополнительной защиты рано или поздно взламывают.

Компания "Ревизиум" предлагает услугу превентивной защиты сайта от взлома с использованием уникальной процедуры "цементирования сайта". Подробно на странице услуги.

Лучшее лечение — это профилактика.

Критические замечания
Вирусы и вредоносные скрипты не обнаружены.
Символические ссылки (symlinks) (3)
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/bin/codecept
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/bin/yiic
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/bin/phpunit
Обнаружены сигнатуры исполняемых файлов unix и нехарактерных скриптов. Они могут быть вредоносными файлами (6)
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/guzzlehttp/guzzle/docs/conf.py
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/yiisoft/yii/tests/travis/postgresql-setup.sh
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/yiisoft/yii/tests/travis/mysql-setup.sh
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/yiisoft/yii/tests/travis/memcache-setup.sh
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/doctrine/instantiator/.travis.install.sh
/home/petun/web/mgmt.prostovkusnovyksa.ru/provision/bootstrap.sh
Предупреждения
Дорвеи, реклама, спам-ссылки, редиректы
ПутьИзменение свойствИзменение содержимогоРазмерCRC32
1…pinfo_array(){static$phpinfo_array=array();if(empty($phpinfo_array)){ob_start(); phpinfo();$phpinfo=ob_get_contents();ob_end_clean();$phpinfo_array=explode("\n"
16/12/2014 21:24:56
16/12/2014 21:24:56
32.50 Kb
2689761c2a83543af0ac1fd04564ed55e36dc323
x
1418765096
id_z2955499
Скрытые файлы (34)
/home/petun/web/mgmt.prostovkusnovyksa.ru/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/codeception/codeception/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/yii-usermanager/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/yii-listmanager/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/yii-image-resizer/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/yii-yamap-picker/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/yii-bootstrap-gii-templates/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/petun/fiasapi/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/crisu83/yii-composer/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/crisu83/yii-workflow/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/malyshev/yii-debug-toolbar/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpnode__/yiipassword/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpunit/phpunit/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpunit/phpunit-mock-objects/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpunit/php-token-stream/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpunit/php-code-coverage/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpnode/yiipassword/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/yiisoft/yii/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/yiisoft/yii/demos/phonebook/flex/.settings
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/sebastian/global-state/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/sebastian/exporter/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/sebastian/environment/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/sebastian/diff/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/sebastian/comparator/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/css-selector/Symfony/Component/CssSelector/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/console/Symfony/Component/Console/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/yaml/Symfony/Component/Yaml/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/finder/Symfony/Component/Finder/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/dom-crawler/Symfony/Component/DomCrawler/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/symfony/browser-kit/Symfony/Component/BrowserKit/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/doctrine/instantiator/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/vendor/phpdocumentor/reflection-docblock/.git
/home/petun/web/mgmt.prostovkusnovyksa.ru/app/modules/auth/.git
Большие файлы (больше чем 600.00 Kb). Пропущено
ПутьИзменение свойствИзменение содержимогоРазмерCRC32
16/12/2014 21:23:51
16/12/2014 21:23:51
7.14 Mb
44f76d7524d181a6b30d51585d302265de11bc94
x
1418765031
id_z2864412
16/12/2014 21:26:58
16/12/2014 21:26:58
740.64 Kb
46276ef4db38ba244382da86b3a9f6602b65407b
x
1418765218
id_z6872418
16/12/2014 21:26:58
16/12/2014 21:26:58
50.00 Mb
46276ef4db38ba244382da86b3a9f6602b65407b
x
1418765218
id_z3535754
16/12/2014 21:24:56
16/12/2014 21:24:56
1.51 Mb
cb71bf44fa1af8dee9a53a053f615c505262854c
x
1418765096
id_z7916271
16/12/2014 21:26:42
16/12/2014 21:26:42
17.58 Mb
72346dba5669fa771033baa60993784244adb294
x
1418765202
id_z1506053
16/12/2014 21:26:42
16/12/2014 21:26:42
1.33 Mb
72346dba5669fa771033baa60993784244adb294
x
1418765202
id_z4022503
16/12/2014 21:26:03
16/12/2014 21:26:03
793.46 Kb
7a6e4cca654b6d2d9cbe77a071cd9b1040bcc041
x
1418765163
id_z1388742
16/12/2014 21:25:54
16/12/2014 21:25:54
2.59 Mb
aaa9f2d4fb328f237a7957c288cb60dfbff08847
x
1418765154
id_z8175067
16/12/2014 21:25:22
16/12/2014 21:25:22
27.23 Mb
50ebe999016f0c99772d12d928cd400a968d3f8b
x
1418765122
id_z2721704
16/12/2014 21:25:22
16/12/2014 21:25:22
1.81 Mb
50ebe999016f0c99772d12d928cd400a968d3f8b
x
1418765122
id_z4597208
16/12/2014 21:25:23
16/12/2014 21:25:23
682.44 Kb
9af9f73252b0901db010f086b7e13965be853e52
x
1418765123
id_z3513122
16/12/2014 21:25:23
16/12/2014 21:25:23
622.55 Kb
92c568ad07d10a3c6ef700d8dc6c065afffde82b
x
1418765123
id_z4677203
16/12/2014 21:25:42
16/12/2014 21:25:42
1.22 Mb
eef7e8ac803b6f3dd23cbe5e8804bf401fe6d848
x
1418765142
id_z2671626
16/12/2014 21:25:37
16/12/2014 21:25:37
1.18 Mb
2139ab52e22b44f25e71122f639e2bf31f57101f
x
1418765137
id_z7147996
16/12/2014 21:38:43
16/12/2014 21:38:43
3.13 Mb
1e328cc6912d66bd79a0e38d1469ca3ddb86bf8b
x
1418765923
id_z4941886
28/03/2017 15:33:39
28/03/2017 15:33:39
1.00 Mb
fe25c7cdf3b20a60ccbe60245a6b4ff00a136669
x
1490715219
id_z6961896
28/03/2017 15:33:39
20/10/2015 16:22:56
1.00 Mb
fe25c7cdf3b20a60ccbe60245a6b4ff00a136669
x
1445358176
id_z5176351
12/10/2017 15:49:56
12/10/2017 15:49:56
658.70 Kb
fe25c7cdf3b20a60ccbe60245a6b4ff00a136669
x
1507823396
id_z4054822
В не .php файле содержится стартовая сигнатура PHP кода. Возможно, там вредоносный код
ПутьИзменение свойствИзменение содержимогоРазмерCRC32
1…g=['browser'=>'firefox'];protected$requiredFields=['url'];?>``` You should not p erform validation if `url` was set.Module would perform it for you,so you could
16/12/2014 21:26:58
16/12/2014 21:26:58
2.59 Kb
bef7895074399bc5cf9fe3641d4b80d2c0be64bd
x
1418765218
id_z7837991
1…s code inside of it.``` php<?php namespace Codeception\Module;class TestHelper e xtends \Codeception\Module{function_before($test){$this->getModule('ZF1')->db->
16/12/2014 21:26:58
16/12/2014 21:26:58
14.38 Kb
cf64fe958563c3dfabd21b870e6a20031f456097
x
1418765218
id_z5148247
1… if a queue/tube is NOT empty of all messages ```php<?php $I->dontSeeEmptyQueue(' default');?>``` * `param string`$queue Queue Name###dontSeeQueueExists Check if
16/12/2014 21:26:58
16/12/2014 21:26:58
5.20 Kb
8f0d571ced98ce8ca7e0dbf68921a75f7f9ad9ae
x
1418765218
id_z1119691
1…>haveInDatabase('users',array('login'=>'user'.sq($i),'email'=>'user'.sq($i).'ema il.com');}?>```<p>&nbsp;</p><div class="alert alert-warning">Module reference i
16/12/2014 21:26:58
16/12/2014 21:26:58
1.51 Kb
323804fa3515c8bbdebbab0c6880858c8a3bd9e1
x
1418765218
id_z5039738
1…`RoboFile.php`.```php<?php class RoboFile extends \Robo\Tasks{}?>``` Install `co deception/robo-paracept` via Composer and include it into your RoboFile.Each pu
16/12/2014 21:26:58
16/12/2014 21:26:58
10.67 Kb
76e1e00eff26f2e86851892935c3c1b46cf8c7be
x
1418765218
id_z4670486
1…ed tests will look like this: ```php<?php use frontend\AcceptanceTester;$I=new A cceptanceTester($scenario);?>``` Once each of your applications(bundles) has it
16/12/2014 21:26:58
16/12/2014 21:26:58
11.80 Kb
7695d411a710e7d0e154599d9f0eebaaf622ac3d
x
1418765218
id_z5160955
1 
16/12/2014 21:26:58
16/12/2014 21:26:58
14.97 Kb
f633695c2750126e646aba0ba8eb05d9bdb54363
x
1418765218
id_z1687473
1…p<?php namespace Codeception\Module;class FunctionalHelper extends \Codeception\ Module{}?>``` As for actions,everything is quite simple.Every action you define
16/12/2014 21:26:58
16/12/2014 21:26:58
12.43 Kb
b3a1f5760c0646fe5e643599ad2405f2b5d658a6
x
1418765218
id_z6157065
1…data within a bootstrap file.###Per Test Fixtures If you want to create special database record for one test,you can use [`haveInDatabase`](http://codeception.
16/12/2014 21:26:58
16/12/2014 21:26:58
6.26 Kb
10b16af0372cf18830aa2f7db5f92a8961156907
x
1418765218
id_z3294917
1…ame CestName ``` The generated file will look like this: ```php<?php class Basic Cest{public function_before(\AcceptanceTester$I){}public function_after(\Accept
16/12/2014 21:26:58
16/12/2014 21:26:58
17.62 Kb
7a00434f3691310492faa3c00f7d32b49210757c
x
1418765218
id_z2420146
1…vis');$user->save();$this->assertEquals('Miles Davis',$user->getFullName());$thi s->unitTester->seeInDatabase('users',array('name'=>'Miles','surname'=>'Davis'))
16/12/2014 21:26:58
16/12/2014 21:26:58
6.05 Kb
034cddcbfd293d25259fac8a67c78346a861f75e
x
1418765218
id_z2952387
1…ch can be used in tests.You can learn more about accessing framework you use by checking *Public Properties* section in the reference for the corresponding mod
16/12/2014 21:26:58
16/12/2014 21:26:58
8.34 Kb
45717bfa5c5ebaf2a65695b31e7edbccf91ffd21
x
1418765218
id_z6058202
1…erate:test` command will look like this: ```php<?php use Codeception\Util\Stub;c lass ExampleTest extends \Codeception\TestCase\Test{protected$tester;protected
16/12/2014 21:26:58
16/12/2014 21:26:58
8.76 Kb
4a154f5c063cb983740ec5f280135aa8bae55e82
x
1418765218
id_z4284558
1…'autosave'=>false));Stub::construct('User',array('autosave'=>false),array('name' =>'davert));?>``` Accepts either name of class or object of that class ``` php<
16/12/2014 21:26:58
16/12/2014 21:26:58
11.02 Kb
b3055f557bc005fbc12643d864ae85fcf57686a8
x
1418765218
id_z8824805
1…sic class to store data in global array and use it in Cests/Tests.```php<?php Fi xtures::add('user1',['name'=>'davert']);Fixtures::get('user1');?>```####*public
16/12/2014 21:26:58
16/12/2014 21:26:58
874 b
a21665eda8c04863addb74b4a5ead555f904cf3b
x
1418765218
id_z8593956
1…th selectors.You can mix up CSS and XPath selectors here.```php<?php use \Codece ption\Util\Locator;$I->see('Title',Locator::combine('h1','h2','h3'));?>``` This
16/12/2014 21:26:58
16/12/2014 21:26:58
3.20 Kb
fb84da28504fd0eb6722c992a0a82546c8b26b70
x
1418765218
id_z3200828
1… extends \Codeception\Module{public function seeResponseIsHtml(){$response=$this ->getModule('REST')->response;\PHPUnit_Framework_Assert::assertRegex('·^<!DOCTY
16/12/2014 21:26:58
16/12/2014 21:26:58
6.41 Kb
d58ee1139108e46bd151e6ec6f06ebb93642c740
x
1418765218
id_z1330858
1…form/complex');$this->module->submitForm('form',array('password'=>'123456'));$fo rm=data::get('form');$this->assertEquals('123456',$form['password']);}?>``` The
16/12/2014 21:26:58
16/12/2014 21:26:58
5.08 Kb
c32ffc2dafffcc336f13f780aeeb115a467e69c1
x
1418765218
id_z3616459
1 <?php class php55Test extends PHPUnit_Framework_TestCase{public function testOf
16/12/2014 21:26:58
16/12/2014 21:26:58
227 b
316d9ded253b843cf2d4964cf04ce35c86a98094
x
1418765218
id_z3589570
1…t::items('delivery_methods'));?><?php echo$form->textFieldControlGroup($model->p rofile,'email',array('span'=>5,'maxlength'=>45));?>``` ············ **eventOnUs
16/12/2014 21:24:59
16/12/2014 21:24:59
1.99 Kb
9bc5d6412121aac3a66eb0cefaeffaefad5dbc7c
x
1418765099
id_z8505926
1…ting framework out there with minimal effort.##A simple example ```php<?php clas s UserTest extends PHPUnit_Framework_TestCase{private$prophet;public function t
16/12/2014 21:26:06
17/11/2014 16:23:49
14.00 Kb
4fcba2382b5378a0fb117d1014988aa367cb979f
x
1416241429
id_z5338163
1…y;public function__construct(MessageFactoryInterface$messageFactory){$this->mess ageFactory=$messageFactory;}public function send(TransactionInterface$transacti
16/12/2014 21:25:28
05/10/2014 19:29:14
8.95 Kb
61c063da75be3d2ba5484874979bb8211b10a44f
x
1412537354
id_z7186778
1…ontent;?>········· ············· ··· ·· ·········· ·········· `$content` ······· ········· ···················· ···················· ··························.
16/12/2014 21:25:23
16/12/2014 21:25:23
9.37 Kb
7aa52192f38161c868bb82dc3d249b00b22b7be2
x
1418765123
id_z3019047
1…· ··············,······ ···· [CForm] ················ ················ ········· · `__toString`,·· ·········· ························ ·········· `render()`,···
16/12/2014 21:25:23
16/12/2014 21:25:23
22.36 Kb
688b06860c1a06f189580ccd30512e859fb3c1cf
x
1418765123
id_z1015366
1…d>··· ·················· ······················ ················ ··············· · --------------------------------------- ········ ······ ············ ········
16/12/2014 21:25:23
16/12/2014 21:25:23
11.55 Kb
31be07ad3b613ece30c7e7a35b589dc311c44ca0
x
1418765123
id_z8858405
1…hp`: ··· [php]<?php return array('sample1'=>array('title'=>'················ ··· ······· 1','content'=>'·········· ·················· ············ 1','createTim
16/12/2014 21:25:23
16/12/2014 21:25:23
7.86 Kb
08f27e5695c3971d9b90a7833635e539d5a50d57
x
1418765123
id_z1167043
1… ··· [php]<div class="form"><?php echo CHtml::beginForm();?><?php echo CHtml::er rorSummary($model);?><div class="row"><?php echo CHtml::activeLabel($model,'use
16/12/2014 21:25:23
16/12/2014 21:25:23
4.84 Kb
eeda99ee84370a8ff75e843c6adabb0ac6c2b2ad
x
1418765123
id_z4957252
1…kin` ·········· ······ ················ `classic`.··················,·· ········ ············ ········ ·························· ············ ············ ····
16/12/2014 21:25:23
16/12/2014 21:25:23
16.55 Kb
e8f8590c979caa944583abd32d50d0765263f3c5
x
1418765123
id_z6820301
1…··············· ······················ ······················ ········.········· · ···················· ············ ················ ················ ·········
16/12/2014 21:25:23
16/12/2014 21:25:23
19.37 Kb
198a50f16f5641867c26a88c076be0fbc5e66127
x
1418765123
id_z5343394
1…cho CHtml::beginForm();?><table><tr><th>········</th><th>················</th><t h>··················</th><th>········</th></tr><?php foreach($items as$i=>$item
16/12/2014 21:25:23
16/12/2014 21:25:23
3.42 Kb
046cb948a384b72806fdbd1ec3cd444dad211ae4
x
1418765123
id_z8012075
1…····· ·· `<?php echo expression?>`.`<%statement%>` ··· ·· `<?php statement?>`.·· ··············: ··· [php]<%=CHtml::textField($name,'value');%><%foreach($models
16/12/2014 21:25:23
16/12/2014 21:25:23
7.93 Kb
338b42a5b13c21f9eab466b2a37b9f1fd6654d68
x
1418765123
id_z7104618
1…x.··· [php]......header here......<?php echo$content;?>......footer here......·· · la variable `$content` contient le rendu de la vue.Le gabarit(Layout) est app
16/12/2014 21:25:23
16/12/2014 21:25:23
5.30 Kb
aee1e91ebe0fb3e4c10353d100ee9df07e1fc54a
x
1418765123
id_z4181384
1…m`.··· [php]<div class="form"><?php echo CHtml::beginForm();?><?php echo CHtml:: errorSummary($model);?><div class="row"><?php echo CHtml::activeLabel($model,'u
16/12/2014 21:25:23
16/12/2014 21:25:23
3.69 Kb
7015fe2ddab121b4473b2d6bfdce852666fca85e
x
1418765123
id_z4160321
1…"form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th >Count</th><th>Description</th></tr><?php foreach($items as$i=>$item):?><tr><td
16/12/2014 21:25:23
16/12/2014 21:25:23
2.53 Kb
eca4164eba08492e8a41e9aac55560bf7d8a290d
x
1418765123
id_z7224309
1…· [php]......header here......<?php echo$content;?>......footer here......··· en donde `$content` contiene el resultado de la presentaci··n de la vista conteni
16/12/2014 21:25:23
16/12/2014 21:25:23
5.72 Kb
701890af061c880dcaa8fbd66f21fcc623ab1359
x
1418765123
id_z8221122
1…·alho aqui......<?php echo$content;?>......rodap·· aqui......··· No trecho acima `$content` cont··m o conte··do renderizado da vis··o.O Layout ·· implicitament
16/12/2014 21:25:23
16/12/2014 21:25:23
5.44 Kb
87369a8c9460f2b9badfb209b758369f11e675a4
x
1418765123
id_z7830808
1…class="form"><?php echo CHtml::beginForm();?><?php echo CHtml::errorSummary($mod el);?><div class="row"><?php echo CHtml::activeLabel($model,'username');?><?php
16/12/2014 21:25:23
16/12/2014 21:25:23
3.86 Kb
2cb3d09a9e7a625429b44a2e3e52b907fb0bc328
x
1418765123
id_z3385264
1…cho CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th>Count</th><th >Description</th></tr><?php foreach($items as$i=>$item):?><tr><td><?php echo CH
16/12/2014 21:25:23
16/12/2014 21:25:23
2.48 Kb
6d9a3b85ba3cd0a188a35740520ae21b17b2fb10
x
1418765123
id_z8908595
1…......header here......<?php echo$content;?>......footer here......··· d··r `$co ntent` inneh··ller renderingsresultatet f··r vyn.Layout blir underf··rst··tt ap
16/12/2014 21:25:23
16/12/2014 21:25:23
5.21 Kb
003e448317d17c6716db1ef0c6b03b486ae54f45
x
1418765123
id_z4987872
1…r en str··ngrepresentation av formul··robjektet.Specificera formul··relement --- ------------------------ N··r formul··rbyggaren anv··nds skiftar huvuddelen av
16/12/2014 21:25:23
16/12/2014 21:25:23
17.13 Kb
26c12165c1affa0ba4f3dc34cc633705652d5b90
x
1418765123
id_z5680181
1…oogleApi::load('jquery.metadata.js'));?>......</head>···<div class="revision">$I d: topics.performance.txt 2890 2011-01-18 15:58:34Z qiang.xue$</div
16/12/2014 21:25:23
16/12/2014 21:25:23
7.89 Kb
97a370a9e0f96651233b2d1e12b0425052e246b9
x
1418765123
id_z2328741
1…· [php]<?php return array('sample1'=>array('title'=>'test post 1','content'=>'te st post content 1','createTime'=>1230952187,'authorId'=>1,),'sample2'=>array('t
16/12/2014 21:25:23
16/12/2014 21:25:23
5.03 Kb
61317b3c0b56dc1c1dbc78084178a690bd36c634
x
1418765123
id_z6940259
1…p]<div class="form"><?php echo CHtml::beginForm();?><?php echo CHtml::errorSumma ry($model);?><div class="row"><?php echo CHtml::activeLabel($model,'username');
16/12/2014 21:25:23
16/12/2014 21:25:23
3.73 Kb
40cb78280ec5bc45037190dd2c877e9cb5e34f61
x
1418765123
id_z2738382
1…n,medan den andra anv··nder `classic`-skin: ··· [php]<?php $this->widget('CLinkPa ger');?><?php $this->widget('CLinkPager',array('skin'=>'classic'));?>··· Om vi s
16/12/2014 21:25:23
16/12/2014 21:25:23
11.34 Kb
f9d03cb24f3e1f902bf1e4b1959ca9ef3784886c
x
1418765123
id_z5613299
1…··ngligg··ra skilda upps··ttningar variabler i sina kodmallar.V··nligen l··s nog grannt beskrivningarna i standardkodmallarna.###Skapa nya kodgeneratorer I dett
16/12/2014 21:25:23
16/12/2014 21:25:23
14.10 Kb
30086af34438e6fdfe7b999d19ba925cc5c0cb25
x
1418765123
id_z6765064
1…php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th>Count</t h><th>Description</th></tr><?php foreach($items as$i=>$item):?><tr><td><?php ec
16/12/2014 21:25:23
16/12/2014 21:25:23
2.42 Kb
fd55a0aa55281f0c07b772b19290ff3d3482d9ce
x
1418765123
id_z2332338
1…?php echo expression?>`;medan sats-taggen `<%statement%>` ··vers··tts till `<?ph p statement?>`.Till exempel,··· [php]<%=CHtml::textField($name,'value');%><%for
16/12/2014 21:25:23
16/12/2014 21:25:23
5.54 Kb
4e2e2eca75c0fffbd0f24bb82f35bd391227e47e
x
1418765123
id_z7814127
1…··················.··· [php]......header here......<?php echo$content;?>......fo oter here......··· ········· `$content` ·······································
16/12/2014 21:25:23
16/12/2014 21:25:23
4.56 Kb
95bfa0fd6545fdf9862eb35b6a02e56321e59a8b
x
1418765123
id_z7095922
1…················· `render()` ··················································· ········· ·················· ------------------------ ·························
16/12/2014 21:25:23
16/12/2014 21:25:23
14.75 Kb
ca1a93806da6d713c71c1ddd3492a6dadee151fb
x
1418765123
id_z4948797
1…p]<head><?php echo CGoogleApi::init();?><?php echo CHtml::script(CGoogleApi::loa d('jquery','1.3.2')."\n".CGoogleApi::load('jquery.ajaxqueue.js')."\n".CGoogleAp
16/12/2014 21:25:23
16/12/2014 21:25:23
6.66 Kb
f0582c83c9574a8316da94ec8f749653f3e6e1ee
x
1418765123
id_z2403697
1…p` ··················.··· [php]<?php return array('sample1'=>array('title'=>'tes t post 1','content'=>'test post content 1','createTime'=>1230952187,'authorId'=
16/12/2014 21:25:23
16/12/2014 21:25:23
4.27 Kb
deac5e07f5527c8ea0dd96ebe8baa2a89dd78007
x
1418765123
id_z6601847
1…· `LoginForm` ············ ··· [php]<div class="form"><?php echo CHtml::beginFor m();?><?php echo CHtml::errorSummary($model);?><div class="row"><?php echo CHtm
16/12/2014 21:25:23
16/12/2014 21:25:23
3.35 Kb
445f2eae77b3ac56556487c664967b75e9f23987
x
1418765123
id_z1286960
1…s specified as `classic`.For example,in the following view code,the first pager will use the `default` skin while the second the `classic` skin: ··· [php]<?php
16/12/2014 21:25:23
16/12/2014 21:25:23
10.79 Kb
da918fa97acb982f977779e8138cc211591c38d6
x
1418765123
id_z8590476
1…····· `$labels`································································· ···············································································
16/12/2014 21:25:23
16/12/2014 21:25:23
12.73 Kb
1f5e658c887d3da4d115a0bfb56fc0085bd75757
x
1418765123
id_z8620895
1…div class="form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Pri ce</th><th>Count</th><th>Description</th></tr><?php foreach($items as$i=>$item)
16/12/2014 21:25:23
16/12/2014 21:25:23
2.27 Kb
73db95139d72eb18e883415050f700f999b91bf5
x
1418765123
id_z1302326
1….....header qui......<?php echo$content;?>......footer qui......··· dove `$conte nt` memorizza il risultato della rappresentazione della view.Il layout ·· appli
16/12/2014 21:25:23
16/12/2014 21:25:23
5.66 Kb
921ff4f16129ba570b40f0b8a8fff2d6edf6c1a7
x
1418765123
id_z8448881
1…············......<?php echo$content;?>......··················......··· ······· ·····`$content` ·······························································
16/12/2014 21:25:23
16/12/2014 21:25:23
7.17 Kb
2a2a3a97302022d52fb5a1c032484bd87b1fd5b2
x
1418765123
id_z8787938
1…····: ········· `echo$form;` ····················· `echo$form->render();` ······ ············>········· [CForm] ··· `__toString` ·······························
16/12/2014 21:25:23
16/12/2014 21:25:23
19.47 Kb
1149fc2b73978440648b7dac1c472a15d701753d
x
1418765123
id_z5259579
1…·· [php]<head><?php echo CGoogleApi::init();?><?php echo CHtml::script(CGoogleAp i::load('jquery','1.3.2')."\n".CGoogleApi::load('jquery.ajaxqueue.js')."\n".CGo
16/12/2014 21:25:23
16/12/2014 21:25:23
10.29 Kb
55a6c1762eef9fbe45dea9847b70fa6197db90e4
x
1418765123
id_z6269181
1…······································· ··· [php]<?php return array('sample1'=>a rray('title'=>'test post 1','content'=>'test post content 1','createTime'=>1230
16/12/2014 21:25:23
16/12/2014 21:25:23
6.67 Kb
ede1cf442d5a16aef500403b7b164f995dc4d920
x
1418765123
id_z5131332
1…···························· ··· [php]<div class="form"><?php echo CHtml::beginF orm();?><?php echo CHtml::errorSummary($model);?><div class="row"><?php echo CH
16/12/2014 21:25:23
16/12/2014 21:25:23
4.42 Kb
31066c2e71aec66ed2173f2ef6d1bac126240ee9
x
1418765123
id_z4271654
1…············································`default` ··· `classic` ········· ·· ······················ `skin` ·················································
16/12/2014 21:25:23
16/12/2014 21:25:23
14.85 Kb
4420683106bb7ddbb3c4841806402620e30fb77b
x
1418765123
id_z4373798
1…··············································································· ···············································································
16/12/2014 21:25:23
16/12/2014 21:25:23
19.28 Kb
5adef0d28966e60ac82f1545662a0a2aafbd8dba
x
1418765123
id_z8312716
1…div class="form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Pri ce</th><th>Count</th><th>Description</th></tr><?php foreach($items as$i=>$item)
16/12/2014 21:25:23
16/12/2014 21:25:23
2.80 Kb
55d5da80a33b99eb538a51f8afba855c16183011
x
1418765123
id_z7431975
1…ression%>` ···························`<?php echo expression?>` ················ ········ `<%statement%>` ···························`<?php statement?>` ·······
16/12/2014 21:25:23
16/12/2014 21:25:23
6.55 Kb
d25bf9b97b47ca9b8e976a3bcecf5706bb54c7fb
x
1418765123
id_z2598106
1…··· [php]......header hier......<?php echo$content;?>......footer hier......··· wobei `$content` das Renderergebnis des eigentlichen Views enth··lt.Ein Layout
16/12/2014 21:25:23
16/12/2014 21:25:23
5.23 Kb
935195bc1666a488519706635794dff9be17a83d
x
1418765123
id_z7533838
1…tige HTML-Formular,zur··ckgeliefert.Angeben der Formularelemente --------------- ------------- Verwendet man den Form-Builder,verlagert sich der T··tigkeitsschw
16/12/2014 21:25:23
16/12/2014 21:25:23
16.40 Kb
5bbe9d7f72c9f300814d132bc54dd42078ce8332
x
1418765123
id_z6262783
1…::load('jquery.ajaxqueue.js')."\n".CGoogleApi::load('jquery.metadata.js'));?>... ...</head>···<div class="revision">$Id: topics.performance.txt 2890 2011-01-18
16/12/2014 21:25:23
16/12/2014 21:25:23
8.35 Kb
0e15c104dcfb036ad712a1baedd0f691db561e8e
x
1418765123
id_z4983370
1…espeichert werden: ··· [php]<?php return array('sample1'=>array('title'=>'test b eitrag 1','content'=>'test beitrag inhalt 1','createTime'=>1230952187,'authorId
16/12/2014 21:25:23
16/12/2014 21:25:23
4.83 Kb
df74347d6cd1f754e05a590c0cc57566018bbe83
x
1418765123
id_z7442433
1…?php echo CHtml::beginForm();?><?php echo CHtml::errorSummary($model);?><div cla ss="row"><?php echo CHtml::activeLabel($model,'username');?><?php echo CHtml::a
16/12/2014 21:25:23
16/12/2014 21:25:23
3.49 Kb
200f65ee2ce70c1078a7913f302a8879cba90126
x
1418765123
id_z2250654
1…der Zweite die Skin `classic`: ··· [php]<?php $this->widget('CLinkPager');?><?php  $this->widget('CLinkPager',array('skin'=>'classic'));?>··· Eigenschaften,die di
16/12/2014 21:25:23
16/12/2014 21:25:23
11.12 Kb
e2c45986d1cc7a013e502a86f8c9a9d09918e801
x
1418765123
id_z1663551
1…tellt und k··nnen sich je nach Generator unterscheiden.Lesen Sie daher die Besch reibung in den Standardvorlagen genau durch.###Neue Generatoren erstellen In di
16/12/2014 21:25:23
16/12/2014 21:25:23
12.61 Kb
0a1beeb0f17d52731404386d1daa7ac42df6e786
x
1418765123
id_z8771174
1…nForm();?><table><tr><th>Name</th><th>Preis</th><th>Anzahl</th><th>Beschreibung< /th></tr><?php foreach($items as$i=>$item):?><tr><td><?php echo CHtml::activeTe
16/12/2014 21:25:23
16/12/2014 21:25:23
2.40 Kb
eeba26baa5be0c1f123434da4b8f4c5cdcba8c32
x
1418765123
id_z8190914
1… wird zu `<?php echo Ausdruck?>` ··bersetzt,w··hrend `<%Anweisung%>` zu `<?php A nweisung?>` ··bersetzt wird.So wird ··· [php]<%=CHtml::textField($name,'value')
16/12/2014 21:25:23
16/12/2014 21:25:23
5.26 Kb
a83384cf41f199ac7979b256151c33e3e44329fa
x
1418765123
id_z3401934
1…: ··· [php]......header here......<?php echo$content;?>......footer here......·· · where `$content` stores the rendering result of the view.Layout is implicitly
16/12/2014 21:25:23
16/12/2014 21:25:23
5.00 Kb
f5b296fd147d6c0a09008e758e82f7f6448d080f
x
1418765123
id_z5384473
1…s the string representation of the form object.Specifying Form Elements -------- ---------------- Using the form builder,the majority of our effort is shifted f
16/12/2014 21:25:23
16/12/2014 21:25:23
15.74 Kb
6f200c35f872d7c280160a9eee5df6f6d47974c7
x
1418765123
id_z5955977
1…ry','1.3.2')."\n".CGoogleApi::load('jquery.ajaxqueue.js')."\n".CGoogleApi::load( 'jquery.metadata.js'));?>......</head>··· Symlinking assets ----------------- I
16/12/2014 21:25:23
16/12/2014 21:25:23
7.73 Kb
cb43562a35417719621d833e6bf945469794b866
x
1418765123
id_z4734272
1…···················· ··· [php]......header here......<?php echo$content;?>...... footer here......··· ········· `$content` ·····································
16/12/2014 21:25:23
16/12/2014 21:25:23
4.56 Kb
5d2d4b31ff89683a34362cdd1d402cde0c6e6b08
x
1418765123
id_z4198599
1…···················· `render()` ················································ ········· ·················· ------------------------ ·························
16/12/2014 21:25:23
16/12/2014 21:25:23
14.72 Kb
fc69d40a15debc21f4a9f4d8e1e03beffe951c4a
x
1418765123
id_z4051899
1…ad><?php echo CGoogleApi::init();?><?php echo CHtml::script(CGoogleApi::load('jq uery','1.3.2')."\n".CGoogleApi::load('jquery.ajaxqueue.js')."\n".CGoogleApi::lo
16/12/2014 21:25:23
16/12/2014 21:25:23
6.64 Kb
851b9a286c182cb5c6a65021a7f04d9ab82a0dfe
x
1418765123
id_z8683069
1…····· `Post.php` ····················· ··· [php]<?php return array('sample1'=>ar ray('title'=>'test post 1','content'=>'test post content 1','createTime'=>12309
16/12/2014 21:25:23
16/12/2014 21:25:23
4.37 Kb
5da6324142755e5fadb8f312d44562a32286f81f
x
1418765123
id_z5602297
1…· `LoginForm` ············ ··· [php]<div class="form"><?php echo CHtml::beginFor m();?><?php echo CHtml::errorSummary($model);?><div class="row"><?php echo CHtm
16/12/2014 21:25:23
16/12/2014 21:25:23
3.32 Kb
887c2dfb0653e542441b312ac93449b8b5a42841
x
1418765123
id_z1653746
1… ··· [CLinkPager] ······························································ ···························· `default` ······························ `classic`
16/12/2014 21:25:23
16/12/2014 21:25:23
10.21 Kb
366c3666b50d25c25508c5bdebf8086938350129
x
1418765123
id_z8970030
1…·········· `$labels`···························································· ···············································································
16/12/2014 21:25:23
16/12/2014 21:25:23
12.54 Kb
e8d3260bd4f92580f9491ab47cdcf6ec7b654c92
x
1418765123
id_z5192773
1…div class="form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Pri ce</th><th>Count</th><th>Description</th></tr><?php foreach($items as$i=>$item)
16/12/2014 21:25:23
16/12/2014 21:25:23
2.25 Kb
297b2511a21cd8f820abb80a15b46935147fe442
x
1418765123
id_z1274641
1… `Post.php`: ··· [php]<?php return array('sample1'=>array('title'=>'test post 1' ,'content'=>'test post content 1','createTime'=>1230952187,'authorId'=>1,),'sam
16/12/2014 21:25:23
16/12/2014 21:25:23
4.70 Kb
a6f3366c1c2d75b92969f329a544e5f31ad07e61
x
1418765123
id_z1272356
1…stance.··· [php]<div class="form"><?php echo CHtml::beginForm();?><?php echo CHt ml::errorSummary($model);?><div class="row"><?php echo CHtml::activeLabel($mode
16/12/2014 21:25:23
16/12/2014 21:25:23
3.45 Kb
04d05531323639763ea1bd8e4381f8301d03c960
x
1418765123
id_z4641653
1…ntent;?>············· ··············· ··· ·········· `$content` ············ ··· ··············· ···················· ··························.·········· ····
16/12/2014 21:25:23
16/12/2014 21:25:23
9.33 Kb
a8b950ada17eb5d8a1435afdc9513bd2f3028100
x
1418765123
id_z1062579
1…······ ················,······ ······ [CForm] ·················· ··············· ·····>·········· `__toString`,·· ·············· ···················· ··········
16/12/2014 21:25:23
16/12/2014 21:25:23
22.87 Kb
59418c98ce60e2679f764c4c6b8112a0e3589666
x
1418765123
id_z5531936
1… ············ ······ ················ ------------------------------------------ -- ········ ······ ············ ···················· ···················· ·····
16/12/2014 21:25:23
16/12/2014 21:25:23
12.45 Kb
b65b054405340852177d7b0c72237af065c2f1d4
x
1418765123
id_z1910833
1….php`: ··· [php]<?php return array('sample1'=>array('title'=>'················ · ··········· 1','content'=>'···················· ················ ············ 1
16/12/2014 21:25:23
16/12/2014 21:25:23
8.19 Kb
0db70198805800d6cbe49bcab87733d41fa8049f
x
1418765123
id_z5193911
1…p]<div class="form"><?php echo CHtml::beginForm();?><?php echo CHtml::errorSumma ry($model);?><div class="row"><?php echo CHtml::activeLabel($model,'username');
16/12/2014 21:25:23
16/12/2014 21:25:23
4.87 Kb
442edbf4f50c327fa488a5bef16c27d9d7b7432f
x
1418765123
id_z8803590
1…········ ················ `classic`.················,·· ·················· ····· ··· ·························· ············ ············ ·········· ···········
16/12/2014 21:25:23
16/12/2014 21:25:23
16.60 Kb
81877ee1dee6e479ca4805d241730e77f280ef19
x
1418765123
id_z5284631
1…················ ·················· ············ ····················.·········· ······················ ·············· ················ ················ ······
16/12/2014 21:25:23
16/12/2014 21:25:23
20.30 Kb
385e8c1212505be96dfa7169818f06968292e3ce
x
1418765123
id_z4506627
1…cho CHtml::beginForm();?><table><tr><th>······</th><th>··················</th><t h>····················</th><th>················</th></tr><?php foreach($items a
16/12/2014 21:25:23
16/12/2014 21:25:23
3.62 Kb
7a062e25528b81eb22f5060ef6bf876f0ad26599
x
1418765123
id_z7235564
1…` ··· ·· `<?php statement?>`.·· ··············: ··· [php]<%=CHtml::textField($na me,'value');%><%foreach($models as$model):%>··· ·························· ·· ·
16/12/2014 21:25:23
16/12/2014 21:25:23
8.35 Kb
9efd3a99d1f73dafc1b06a703936b3ce3898a5a1
x
1418765123
id_z6882738
1…· [php]......header di sini......<?php echo$content;?>......footer di sini...... ··· dengan `$content` menyimpan hasil render view konten.Layout secara implisit
16/12/2014 21:25:23
16/12/2014 21:25:23
5.25 Kb
fee801b4d35b689d323d97255f22250da8c83c44
x
1418765123
id_z3040465
1…alikan hasilnya sebagai string yang berisi objek form.Menspesifikasi Elemen Form -------------------------- Ketika menggunakan sebuah form builder,tugas utama
16/12/2014 21:25:23
16/12/2014 21:25:23
16.61 Kb
cb42f156bde7d0ebaa623a3b741d1f25b6999b21
x
1418765123
id_z4498346
1…ery','1.3.2')."\n".CGoogleApi::load('jquery.ajaxqueue.js')."\n".CGoogleApi::load ('jquery.metadata.js'));?>......</head>···<div class="revision">$Id: topics.per
16/12/2014 21:25:23
16/12/2014 21:25:23
7.60 Kb
2f437838c9881c81be92f6c399a2154f2b99d179
x
1418765123
id_z2866108
1… `Post.php`: ··· [php]<?php return array('sample1'=>array('title'=>'test post 1' ,'content'=>'test post content 1','createTime'=>1230952187,'authorId'=>1,),'sam
16/12/2014 21:25:23
16/12/2014 21:25:23
5.19 Kb
a8e5fc080fe9adeda70f76ca6f2eb136eba7dae6
x
1418765123
id_z1482897
1…inForm`.··· [php]<div class="form"><?php echo CHtml::beginForm();?><?php echo CH tml::errorSummary($model);?><div class="row"><?php echo CHtml::activeLabel($mod
16/12/2014 21:25:23
16/12/2014 21:25:23
3.66 Kb
91ea1ecb3c82019535a5b651ebfbf852c15425d0
x
1418765123
id_z5749001
1… pada kode view di bawah,pager pertama akan menggunakan skin `default` dan pager yang kedua akan menggunakan skin `classic`: ··· [php]<?php $this->widget('CLink
16/12/2014 21:25:23
16/12/2014 21:25:23
11.70 Kb
c3aff05639a363ea34e91a128588b1c4da613459
x
1418765123
id_z3529659
1…nerator kode yang bersangkutan.Generator kode yang berbeda akan menghasilkan var iabel-variable yang berbeda di templat kode.Silahkan baca dengan teliti deskrip
16/12/2014 21:25:23
16/12/2014 21:25:23
14.48 Kb
fdc84d53028461d2989a7c95463668335626099e
x
1418765123
id_z1254071
1…form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th> Count</th><th>Description</th></tr><?php foreach($items as$i=>$item):?><tr><td>
16/12/2014 21:25:23
16/12/2014 21:25:23
2.39 Kb
4578b568e6cfa8303f209e1b502b21b1721e6740
x
1418765123
id_z4939914
1…ahkan ke dalam `<?php echo expression?>`;sementara tag pernyataan `<%statement%> ` menjadi `<?php statement?>`.Sebagai contoh,··· [php]<%=CHtml::textField($name
16/12/2014 21:25:23
16/12/2014 21:25:23
5.52 Kb
58490d327e27274d22d506b4c62481049380a322
x
1418765123
id_z5931593
1…..nag····wek......<?php echo$content;?>......stopka......··· gdzie `$content` pr zechowuje wynik generowania widoku.Widok jest domy··lnie stosowany podczas wo··
16/12/2014 21:25:23
16/12/2014 21:25:23
5.51 Kb
43176784c0158ae71d4368326f967ace7b6167ff
x
1418765123
id_z5638544
1…d·· `render()` i zwraca jej rezultat w postaci ··a··cucha b··d··cego>reprezentac j·· formularza obiektu.Definiowanie element··w formularza ---------------------
16/12/2014 21:25:23
16/12/2014 21:25:23
18.19 Kb
484758248d435946c31178fe66b1f9e04be925e3
x
1418765123
id_z1895891
1…js')."\n".CGoogleApi::load('jquery.metadata.js'));?>......</head>···<div class=" revision">$Id: topics.performance.txt 2890 2011-01-18 15:58:34Z qiang.xue$</div
16/12/2014 21:25:23
16/12/2014 21:25:23
8.54 Kb
cd9335fb8742370423eccc22d4fa309081a4afcf
x
1418765123
id_z1665864
1…st.php`: ··· [php]<?php return array('sample1'=>array('title'=>'test post 1','co ntent'=>'test post content 1','createTime'=>1230952187,'authorId'=>1,),'sample2
16/12/2014 21:25:23
16/12/2014 21:25:23
5.50 Kb
e0935e8a09d791c50081d0484943aa6e5b78f416
x
1418765123
id_z8837144
1…]<div class="yiiForm"><?php echo CHtml::beginForm();?><?php echo CHtml::errorSum mary($user);?><div class="simple"><?php echo CHtml::activeLabel($user,'username
16/12/2014 21:25:23
16/12/2014 21:25:23
3.79 Kb
1323149bf82826fa72c3d3197971a9fdcf889221
x
1418765123
id_z4947791
1…ie u··ywa·· sk··rki `default` gdy za·· drugi u··yje sk··rki `classic`: ··· [php] <?php $this->widget('CLinkPager');?><?php $this->widget('CLinkPager',array('skin'
16/12/2014 21:25:23
16/12/2014 21:25:23
12.40 Kb
b4984432f952ed547756989f2a6f3df2fff10657
x
1418765123
id_z1348933
1…atory kodu.R····ne generatory kodu mog·· dostarcza·· r····ne zestawy zmiennych w swoich szablonach kodu.Prze··led·· uwa··nie opisy w domy··lnym szablonie.###Tw
16/12/2014 21:25:23
16/12/2014 21:25:23
14.65 Kb
8ef9016bd15507563f00d5a0774c7424b1bcf56e
x
1418765123
id_z5439441
1… CHtml::beginForm();?><table><tr><th>Nazwa</th><th>Cena</th><th>Ilo····</th><th> Opis</th></tr><?php foreach($items as$i=>$item):?><tr><td><?php echo CHtml::act
16/12/2014 21:25:23
16/12/2014 21:25:23
2.61 Kb
78d31e1ca34c45b81c684707f7f4cb240ab7cd21
x
1418765123
id_z5601538
1…hp echo expression?>`;natomiast tag z wyra··eniem `<%statement%>` jest t··umaczo ny na `<?php statement?>`.Na przyk··ad: ··· [php]<%=CHtml::textField($name,'val
16/12/2014 21:25:23
16/12/2014 21:25:23
5.95 Kb
863fa2d6487981150ae14e04b158e1cf11a6b4ab
x
1418765123
id_z1318963
1…·alho aqui......<?php echo$content;?>......rodap·· aqui......··· No trecho acima `$content` cont··m o conte··do renderizado da vis··o.O Layout ·· implicitament
16/12/2014 21:25:23
16/12/2014 21:25:23
5.70 Kb
730b6116d9ea7d8a4bf33e7f09e4f0b3d232babb
x
1418765123
id_z1632213
1…: ··· [php]<?php return array('exemplo1'=>array('titulo'=>'post de testes 1','co nteudo'=>'conte··do do post de testes 1','dataCriacao'=>1230952187,'autorId'=>1
16/12/2014 21:25:23
16/12/2014 21:25:23
5.18 Kb
f5d1257a897d4adb5ebd70f8f86c311bea3c7d03
x
1418765123
id_z5876180
1…class="form"><?php echo CHtml::beginForm();?><?php echo CHtml::errorSummary($mod el);?><div class="row"><?php echo CHtml::activeLabel($model,'username');?><?php
16/12/2014 21:25:23
16/12/2014 21:25:23
3.86 Kb
2cb3d09a9e7a625429b44a2e3e52b907fb0bc328
x
1418765123
id_z1591319
1…cho CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th>Count</th><th >Description</th></tr><?php foreach($items as$i=>$item):?><tr><td><?php echo CH
16/12/2014 21:25:23
16/12/2014 21:25:23
2.48 Kb
6d9a3b85ba3cd0a188a35740520ae21b17b2fb10
x
1418765123
id_z5273866
1…ici se defineste header-ul......<?php echo$content;?>......aici se defineste foo ter-ul......··· `$content` contine rezultatul generat pentru un view.Layout est
16/12/2014 21:25:23
16/12/2014 21:25:23
5.33 Kb
159fafe4467aec5b1dff4b8504bbe79d60ef7a62
x
1418765123
id_z5938759
1…`.··· [php]<div class="yiiForm"><?php echo CHtml::form();?><?php echo CHtml::err orSummary($user);?><div class="simple"><?php echo CHtml::activeLabel($user,'use
16/12/2014 21:25:23
16/12/2014 21:25:23
2.62 Kb
b092d8f2f43d98d4feba13ce0954335e9f0c57bd
x
1418765123
id_z6123255
1…m"><?php echo CHtml::form();?><table><tr><th>Name</th><th>Price</th><th>Count</t h><th>Description</th></tr><?php foreach($items as$i=>$item):?><tr><td><?php ec
16/12/2014 21:25:23
16/12/2014 21:25:23
2.41 Kb
166baa1da6db0227ec3731ef012e618db6ab79fb
x
1418765123
id_z6184699
1…de,the first pager will use the `default` skin while the second the `classic` sk in: ··· [php]<?php $this->widget('CLinkPager');?><?php $this->widget('CLinkPager'
16/12/2014 21:25:23
16/12/2014 21:25:23
10.98 Kb
9d3aec6f280d61b376a73ad543515e29a6852846
x
1418765123
id_z2132669
1… code generators may provide different set of variables in their code templates. Please read the description in the default code templates carefully.###Creating
16/12/2014 21:25:23
16/12/2014 21:25:23
13.42 Kb
c42a3061d5253d928137afe1a158d1f8f3c15145
x
1418765123
id_z5926844
1…form"><?php echo CHtml::beginForm();?><table><tr><th>Name</th><th>Price</th><th> Count</th><th>Description</th></tr><?php foreach($items as$i=>$item):?><tr><td>
16/12/2014 21:25:23
16/12/2014 21:25:23
2.22 Kb
c48b22536c0c6ef1a4dd44775944e9985712939a
x
1418765123
id_z2469330
1…anslated into `<?php echo expression?>`;while the statement tag `<%statement%>` to `<?php statement?>`.For example,··· [php]<%=CHtml::textField($name,'value');
16/12/2014 21:25:23
16/12/2014 21:25:23
5.21 Kb
1c8a8ac0363fb0371cd15183f976bc915c06165d
x
1418765123
id_z5639297
1 
16/12/2014 21:25:23
16/12/2014 21:25:23
14.33 Kb
84509aa6a1c0f57da7f014fbafd2d90d551425bf
x
1418765123
id_z4162408
1…<ul><li><?php echo CHtml::link('Create New Post',array('post/create'));?></li><l i><?php echo CHtml::link('Manage Posts',array('post/admin'));?></li><li><?php e
16/12/2014 21:25:23
16/12/2014 21:25:23
4.31 Kb
7213cff20d6918acb8d23019b46128f997cea942
x
1418765123
id_z8352068
1…p echo CHtml::link('················ ·········· ··········',array('post/create') );?></li><li><?php echo CHtml::link('···················· ················',arr
16/12/2014 21:25:23
16/12/2014 21:25:23
6.61 Kb
5b6087f5803d7194902a503b3219e541e395b54b
x
1418765123
id_z7679762
1…ist($model,'status',Lookup::items('PostStatus'));?>··· ·· ···················· · ······· ······ ·················· ············ ················ ···············
16/12/2014 21:25:23
16/12/2014 21:25:23
5.84 Kb
5f617e1ecff19ceb5ea319e5f8ec93b7faf49710
x
1418765123
id_z7660755
1…······· ··········: ··· [php]<?php class UserIdentity extends CUserIdentity{priv ate$_id;public function authenticate(){$username=strtolower($this->username);$u
16/12/2014 21:25:23
16/12/2014 21:25:23
9.00 Kb
0c64452b6394b8e30d5b366598c51e95af424ba6
x
1418765123
id_z2218175
1…View'=>'_view','template'=>"{items}\n{pager}",));?>··· ·········· ·············· ······,···· ······ ················ ············ ·············· ···· ··········
16/12/2014 21:25:23
16/12/2014 21:25:23
6.50 Kb
5e686243ffea76d1c336ab9b00ee446971e129a8
x
1418765123
id_z8162659
1…omments"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount. 'comment(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,
16/12/2014 21:25:23
16/12/2014 21:25:23
7.82 Kb
5a3477f5025620ff811629752467c85a5b4e5670
x
1418765123
id_z4409755
1…p]<ul><li><?php echo CHtml::link('Create New Post',array('post/create'));?></li> <li><?php echo CHtml::link('Manage Posts',array('post/admin'));?></li><li><?php
16/12/2014 21:25:23
16/12/2014 21:25:23
4.65 Kb
e7ecedee852db630fa5955de7de2bfe727423f0c
x
1418765123
id_z4747835
1…echo$form->dropDownList($model,'status',Lookup::items('PostStatus'));?>··· En es te llamada `Lookup::items('PostStatus')` recuperamos la lista de los posibles e
16/12/2014 21:25:23
16/12/2014 21:25:23
4.53 Kb
c3b08eb27d6b950f0525b1bcbf6257426c07749e
x
1418765123
id_z8416731
1… `UserIdentity` de la siguiente forma,··· [php]<?php class UserIdentity extends CUserIdentity{private$_id;public function authenticate(){$username=strtolower($
16/12/2014 21:25:23
16/12/2014 21:25:23
6.66 Kb
8fe88373a2f20efe9a987719bb7c691ffa06fdf0
x
1418765123
id_z8349670
1…ay('dataProvider'=>$dataProvider,'itemView'=>'_view','template'=>"{items}\n{page r}",));?>··· Usamos [CListView] para mostrar la lista de posts.Este widget requ
16/12/2014 21:25:23
16/12/2014 21:25:23
5.18 Kb
2f93c09d9c2a593ab24822f42d6e309eefb73379
x
1418765123
id_z1679427
1…k('Create New Post',array('post/create'));?></li><li><?php echo CHtml::link('Man age Posts',array('post/admin'));?></li><li><?php echo CHtml::link('Approve Comm
16/12/2014 21:25:23
16/12/2014 21:25:23
4.24 Kb
28d9cfc6b1a4cbbb4edb57a9c2032853695d4eb9
x
1418765123
id_z5055274
1…ist($model,'status',Lookup::items('PostStatus'));?>··· ························· ·············· `Lookup::items('PostStatus')` ······························ ···
16/12/2014 21:25:23
16/12/2014 21:25:23
4.08 Kb
8cb471ddc0ae215e0ded677d4c1d8d71d52b4693
x
1418765123
id_z1245561
1…········ `UserIdentity` ··················,··· [php]<?php class UserIdentity ext ends CUserIdentity{private$_id;public function authenticate(){$username=strtolo
16/12/2014 21:25:23
16/12/2014 21:25:23
5.64 Kb
191e92bc5bd21508908c51fbe58763ed9be3c59f
x
1418765123
id_z2345292
1…late'=>"{items}\n{pager}",));?>··· ······································· [CLis tView] ········································································
16/12/2014 21:25:23
16/12/2014 21:25:23
4.82 Kb
1b1916c80ae9190baec6640fdde4b73ce1ad1c18
x
1418765123
id_z4892418
1…if($model->commentCount>=1):?><h3><?php echo$model->commentCount.'comment(s)';?> </h3><?php $this->renderPartial('_comments',array('post'=>$model,'comments'=>$mo
16/12/2014 21:25:23
16/12/2014 21:25:23
5.15 Kb
343fc402797b167f9202cf7f0f0593fa16f4f184
x
1418765123
id_z5193352
1…ho$form->dropDownList($model,'status',Lookup::items('PostStatus'));?>··· In the above,we call `Lookup::items('PostStatus')` to bring back the list of post stat
16/12/2014 21:25:23
16/12/2014 21:25:23
4.14 Kb
bf083e1c43d5643be9fee6d084668ae8ec029d83
x
1418765123
id_z2694226
1…ify the `UserIdentity` class as follows,··· [php]<?php class UserIdentity extend s CUserIdentity{private$_id;public function authenticate(){$username=strtolower
16/12/2014 21:25:23
16/12/2014 21:25:23
6.12 Kb
0671a750c13a9502681968d87976791d9663eff4
x
1418765123
id_z1331858
1…········· ··· [php]<ul><li><?php echo CHtml::link('························',arr ay('post/create'));?></li><li><?php echo CHtml::link('···············',array('p
16/12/2014 21:25:23
16/12/2014 21:25:23
5.79 Kb
f7ac4027bfbdd3df71fc22c4efa8cb5445e76c31
x
1418765123
id_z1794890
1…······· ··· [php]<?php echo$form->dropDownList($model,'status',Lookup::items('Po stStatus'));?>··· ·····························································
16/12/2014 21:25:23
16/12/2014 21:25:23
5.11 Kb
d1895ec30329954cd62b304c69eb74d67f0990ae
x
1418765123
id_z3013189
1…rIdentity` ················································ ··· [php]<?php class UserIdentity extends CUserIdentity{private$_id;public function authenticate(){
16/12/2014 21:25:23
16/12/2014 21:25:23
7.93 Kb
f0fa1f9be3ba5f3894c838fe18c27c4eb777c9c4
x
1418765123
id_z1964071
1…·······</h1><?php endif;?><?php $this->widget('zii.widgets.CListView',array('data Provider'=>$dataProvider,'itemView'=>'_view','template'=>"{items}\n{pager}",));
16/12/2014 21:25:23
16/12/2014 21:25:23
5.89 Kb
6062fb40952e6d9fa6af208642d3a41744dfe044
x
1418765123
id_z6671070
1… id="comments"><?php if($model->commentCount>=1):?><h3><?php echo$model->comment Count.'··················';?></h3><?php $this->renderPartial('_comments',array('
16/12/2014 21:25:23
16/12/2014 21:25:23
7.26 Kb
69d594b86a846c11ef57ed7630de895f503a10ac
x
1418765123
id_z3604509
1… echo CHtml::link('·············· ·········· ············',array('post/create')) ;?></li><li><?php echo CHtml::link('···················· ················',arra
16/12/2014 21:25:23
16/12/2014 21:25:23
6.62 Kb
0bbf9acb0f6611278626e21e96c1b1ebdbcd9ff4
x
1418765123
id_z6237937
1…·· ·· ······················ ········ ······ ·················· ············ ··· ············· ························ ·········· `Lookup::items('PostStatus')`
16/12/2014 21:25:23
16/12/2014 21:25:23
6.07 Kb
b89e20adfc5b32af4965331814a1349444d79637
x
1418765123
id_z3609828
1…······ ··············: ··· [php]<?php class UserIdentity extends CUserIdentity{p rivate$_id;public function authenticate(){$username=strtolower($this->username)
16/12/2014 21:25:23
16/12/2014 21:25:23
9.12 Kb
20ad1556272a25702cee51017a5b3f0929c93824
x
1418765123
id_z8727765
1… ············ ·············· ···· ···················· [CListView].········ ···· ········ ···················· ······················ ······ ···················
16/12/2014 21:25:23
16/12/2014 21:25:23
6.88 Kb
f06b458b91c65eb48d762e013bdfd9d0f8b81ec0
x
1418765123
id_z3422636
1…omments"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount. 'comment(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,
16/12/2014 21:25:23
16/12/2014 21:25:23
7.75 Kb
2561dda9860174f9b086e150940b5c1eae718d91
x
1418765123
id_z4742498
1…]<ul><li><?php echo CHtml::link('Create New Post',array('post/create'));?></li>< li><?php echo CHtml::link('Manage Posts',array('post/admin'));?></li><li><?php
16/12/2014 21:25:23
16/12/2014 21:25:23
4.56 Kb
080ba1aad610883f08d8cd43dce1fbd578d7ba03
x
1418765123
id_z5654608
1…form->dropDownList($model,'status',Lookup::items('PostStatus'));?>··· Di atas,ki ta memanggil `Lookup::items('PostStatus')` untuk membawa daftar status post.Kem
16/12/2014 21:25:23
16/12/2014 21:25:23
4.42 Kb
fc0407358f22bec06868762d7214d56ddb6aed55
x
1418765123
id_z4891966
1…asi kelas `UserIdentity` sebagai berikut,··· [php]<?php class UserIdentity exten ds CUserIdentity{private$_id;public function authenticate(){$username=strtolowe
16/12/2014 21:25:23
16/12/2014 21:25:23
6.37 Kb
8853c5c621cebfa61859224278d4a5d828f4f23a
x
1418765123
id_z1381794
1…ataProvider'=>$dataProvider,'itemView'=>'_view','template'=>"{items}\n{pager}",) );?>··· Harap diingat bahwa contoh di atas kita menggunakan [CListView] untuk m
16/12/2014 21:25:23
16/12/2014 21:25:23
5.27 Kb
787d51332f997de6a128cc6b121f77e8b9dc7e3b
x
1418765123
id_z8817017
1…ts"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount.'comm ent(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,'comm
16/12/2014 21:25:23
16/12/2014 21:25:23
5.38 Kb
6d5f42950a8d27dc139e43de671bfb11a68bc1cf
x
1418765123
id_z4244034
1…echo CHtml::link('Create New Post',array('post/create'));?></li><li><?php echo C Html::link('Manage Posts',array('/admin'));?></li><li><?php echo CHtml::link('A
16/12/2014 21:25:23
16/12/2014 21:25:23
4.78 Kb
33619f9a922f1cd1769c1821dce856163ddde351
x
1418765123
id_z8061556
1…orm->dropDownList($model,'status',Lookup::items('PostStatus'));?>··· W powy··szy m kodzie wywo··ujemy `Lookup::items('PostStatus')` aby zwr··ci·· list·· status·
16/12/2014 21:25:23
16/12/2014 21:25:23
4.90 Kb
346a61ae99a65ee682de8754b45da29596df6f79
x
1418765123
id_z7477771
1…`UserIdentity` w nast··puj··cy spos··b: ··· [php]<?php class UserIdentity extend s CUserIdentity{private$_id;public function authenticate(){$username=strtolower
16/12/2014 21:25:23
16/12/2014 21:25:23
6.95 Kb
57f425df622102f5dbe084575cc5d3661c1a27d5
x
1418765123
id_z5462209
1…er'=>$dataProvider,'itemView'=>'_view','template'=>"{items}\n{pager}",));?>··· Z auwa··,··e w powy··szym kodzie u··ywamy [CListView] do wy··wietlenia listy wiad
16/12/2014 21:25:23
16/12/2014 21:25:23
5.63 Kb
fc8958f6b3f526bf4406df6a1521928b423d0476
x
1418765123
id_z7224215
1…ents"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount.'co mment(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,'co
16/12/2014 21:25:23
16/12/2014 21:25:23
6.82 Kb
997b454f1bc28a0dda7196b8b9ca0fe6682b8c21
x
1418765123
id_z2887526
1…'dataProvider'=>$dataProvider,'itemView'=>'_view','template'=>"{items}\n{pager}" ,));?>··· Note that in the above,we use [CListView] to display the post list.Th
16/12/2014 21:25:23
16/12/2014 21:25:23
4.82 Kb
b03e4c167487f84ebfffd2c329a82d80976ec5f2
x
1418765123
id_z1210043
1…ts"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount.'come nt··rio(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,'
16/12/2014 21:25:23
16/12/2014 21:25:23
5.68 Kb
959dd78b339d69dad5a490e6b7f7ec5d0f75c87c
x
1418765123
id_z6640946
1…ts"><?php if($model->commentCount>=1):?><h3><?php echo$model->commentCount.'comm ent(s)';?></h3><?php $this->renderPartial('_comments',array('post'=>$model,'comm
16/12/2014 21:25:23
16/12/2014 21:25:23
5.91 Kb
cc919665ce52429c1fd89fc68fcca347d1d3de46
x
1418765123
id_z2237196
1…d_clean();if(!defined('STDOUT')){define('STDOUT',fopen('php://stdout','wb'));def ine('STDERR',fopen('php://stderr','wb'));}require_once 'Text/Highlighter/Genera
16/12/2014 21:25:23
16/12/2014 21:25:23
4.64 Kb
de36ebda5ce31ee0e5e72f4e239f3ecbd237bb95
x
1418765123
id_z1889471
1…erate -x php.xml -x xml.xml -d /some/dir/ Renderers=========Introduction ------- ----- Text_Highlighter supports renderes.Using renderers,you can get output in
16/12/2014 21:25:23
16/12/2014 21:25:23
17.50 Kb
234328657805823279d9773729987afba88327b0
x
1418765123
id_z2696220
1…mple usage:</p><pre><![CDATA[<?php header('Content-type: text/html;charset=utf-8 ');echo '<?xml version="1.0" encoding="UTF-8"?>';?><!DOCTYPE html PUBLIC "-//W3
16/12/2014 21:25:23
16/12/2014 21:25:23
2.77 Kb
d2bf2430f8900fbed95c4c76397c82a41196cb11
x
1418765123
id_z2482757
1#!/usr/bin/env php< ?php require_once(dirname(__FILE__).'/yiic.php')
16/12/2014 21:25:23
16/12/2014 21:25:23
71 b
86de0f39cfbc821ba1314c27e3e1d19644d660a7
x
1418765123
id_z3234764
1#!/usr/bin/env php< ?php require_once(dirname(__FILE__).'/yiic.php')
16/12/2014 21:25:23
16/12/2014 21:25:23
71 b
86de0f39cfbc821ba1314c27e3e1d19644d660a7
x
1418765123
id_z6588638
1…ty to export PHP variables for visualization.##Usage Exporting: ```php<?php use SebastianBergmann\Exporter\Exporter;$exporter=new Exporter;print$exporter->expo
16/12/2014 21:25:57
16/12/2014 21:25:57
2.81 Kb
57e95d47d27eb6289456fa27c0dca0a5c521867f
x
1418765157
id_z6676109
1…0.*"}}##Usage ```php<?php use SebastianBergmann\Environment\Runtime;$runtime=new Runtime;var_dump($runtime->getNameWithVersion());var_dump($runtime->getName())
16/12/2014 21:25:46
16/12/2014 21:25:46
2.00 Kb
b584267b1a96b7677a21a9de4feba485007e4079
x
1418765146
id_z4928990
1…example that shows the basic usage:<?php $version=new SebastianBergmann\Version(' 3.7.10','/usr/local/src/phpunit');var_dump($version->getVersion());?>string(18)
16/12/2014 21:25:45
07/03/2014 15:35:33
2.06 Kb
c40fcc10099f5c2ae30555859b533d8551402de9
x
1394206533
id_z6920497
1…des the functionality to compare PHP values for equality.##Usage ```php<?php use SebastianBergmann\Comparator\Factory;use SebastianBergmann\Comparator\Comparis
16/12/2014 21:25:58
16/12/2014 21:25:58
1.10 Kb
6b15ced01b1ae82e2ba30eea71f2da91ab28c4ff
x
1418765158
id_z7470999
1value:< ?php echo 1 + 2 + 3?
16/12/2014 21:25:38
16/12/2014 21:25:38
31 b
a70d561702443968ea8891edf82e33ff3405b6d7
x
1418765138
id_z6942180
1#!/usr/bin/env php< ?php require_once(dirname(__FILE__).'/yiic.php')
16/12/2014 21:23:51
16/12/2014 21:23:51
72 b
86de0f39cfbc821ba1314c27e3e1d19644d660a7
x
1418765031
id_z7884568
Подозрение на дорвей
ПутьИзменение свойствИзменение содержимогоРазмерCRC32
-
-
-
x
id_z5122505