Permalink
Browse files

добавил счетчик количества просмотров проектов

  • Loading branch information...
1 parent 62d0388 commit 88931d8c304a2e91e636766c8473e9a8a9c71977 @FladeX committed Jan 3, 2012
View
2 apps/frontend/modules/project/templates/showSuccess.php
@@ -35,7 +35,7 @@
</tr>
<tr>
<td>Просмотров:</td>
- <td class="value">83 / 15 пользователей</td>
+ <td class="value"><?php echo ($projects->getViewsGuests() + $projects->getViewsUsers()) ?> / <?php echo $projects->getViewsUsers() ?> пользователей</td>
</tr>
<tr>
<td>Претендентов:</td>
View
14 config/doctrine/schema.yml
@@ -71,13 +71,15 @@ bids:
projects:
actAs: { Timestampable: ~ }
columns:
- author_id: { type: integer, notnull: true }
- title: { type: string(255), notnull: true }
- text: { type: string(4000), notnull: false }
- price: { type: integer, notnull: false }
- status: { type: integer, notnull: true, default: 0 }
+ author_id: { type: integer, notnull: true }
+ title: { type: string(255), notnull: true }
+ text: { type: string(4000), notnull: false }
+ price: { type: integer, notnull: false }
+ views_users: { type: integer, notnull: false }
+ views_guests: { type: integer, notnull: false }
+ status: { type: integer, notnull: true, default: 0 }
relations:
- users: { onDelete: CASCADE, local: author_id, foreign: id, foreignAlias: users }
+ users: { onDelete: CASCADE, local: author_id, foreign: id, foreignAlias: users }
users:
actAs: { Timestampable: ~ }
View
4 data/fixtures/projects.yml
@@ -4,9 +4,13 @@ projects:
title: Автофорум
text: Posting for auto-forum. I need topics about sport-cars like Porshe, Ferrari, Lamborgini, etc.
price: 42
+ views_users: 20
+ views_guests: 529
status: 1
second_project:
author_id: 1
title: Спамспам Спам
text: This is spam. Don't approve this project
+ views_users: 3
+ views_guests: 0
status: 0
View
2 data/sql/schema.sql
@@ -2,7 +2,7 @@ CREATE TABLE badges (id BIGINT AUTO_INCREMENT, user_id BIGINT NOT NULL, badges_i
CREATE TABLE bids (id BIGINT AUTO_INCREMENT, user_id BIGINT NOT NULL, project_id BIGINT NOT NULL, text TEXT, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX project_id_idx (project_id), INDEX user_id_idx (user_id), PRIMARY KEY(id)) ENGINE = INNODB;
CREATE TABLE login_history (id BIGINT AUTO_INCREMENT, user_id BIGINT NOT NULL, user_ip VARCHAR(255) NOT NULL, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX user_id_idx (user_id), PRIMARY KEY(id)) ENGINE = INNODB;
CREATE TABLE payments (id BIGINT AUTO_INCREMENT, sum FLOAT(18, 2) NOT NULL, user_id BIGINT NOT NULL, type VARCHAR(255) NOT NULL, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX user_id_idx (user_id), PRIMARY KEY(id)) ENGINE = INNODB;
-CREATE TABLE projects (id BIGINT AUTO_INCREMENT, author_id BIGINT NOT NULL, title VARCHAR(255) NOT NULL, text TEXT, price BIGINT, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX author_id_idx (author_id), PRIMARY KEY(id)) ENGINE = INNODB;
+CREATE TABLE projects (id BIGINT AUTO_INCREMENT, author_id BIGINT NOT NULL, title VARCHAR(255) NOT NULL, text TEXT, price BIGINT, views_users BIGINT, views_guests BIGINT, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX author_id_idx (author_id), PRIMARY KEY(id)) ENGINE = INNODB;
CREATE TABLE reports (id BIGINT AUTO_INCREMENT, user_id BIGINT NOT NULL, project_id BIGINT NOT NULL, posting_name VARCHAR(255) NOT NULL, posting_password VARCHAR(255) NOT NULL, posting_messages BIGINT NOT NULL, posting_date DATETIME NOT NULL, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX project_id_idx (project_id), INDEX user_id_idx (user_id), PRIMARY KEY(id)) ENGINE = INNODB;
CREATE TABLE reviews (id BIGINT AUTO_INCREMENT, author_id BIGINT NOT NULL, recepient_id BIGINT NOT NULL, text TEXT NOT NULL, type TINYINT(1) DEFAULT '1' NOT NULL, status BIGINT DEFAULT 0 NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX recepient_id_idx (recepient_id), PRIMARY KEY(id)) ENGINE = INNODB;
CREATE TABLE search_history (id BIGINT AUTO_INCREMENT, query VARCHAR(255) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB;
View
50 lib/filter/doctrine/base/BaseprojectsFormFilter.class.php
@@ -13,23 +13,27 @@
public function setup()
{
$this->setWidgets(array(
- 'author_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('users'), 'add_empty' => true)),
- 'title' => new sfWidgetFormFilterInput(array('with_empty' => false)),
- 'text' => new sfWidgetFormFilterInput(),
- 'price' => new sfWidgetFormFilterInput(),
- 'status' => new sfWidgetFormFilterInput(array('with_empty' => false)),
- 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
- 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
+ 'author_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('users'), 'add_empty' => true)),
+ 'title' => new sfWidgetFormFilterInput(array('with_empty' => false)),
+ 'text' => new sfWidgetFormFilterInput(),
+ 'price' => new sfWidgetFormFilterInput(),
+ 'views_users' => new sfWidgetFormFilterInput(),
+ 'views_guests' => new sfWidgetFormFilterInput(),
+ 'status' => new sfWidgetFormFilterInput(array('with_empty' => false)),
+ 'created_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
+ 'updated_at' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
));
$this->setValidators(array(
- 'author_id' => new sfValidatorDoctrineChoice(array('required' => false, 'model' => $this->getRelatedModelName('users'), 'column' => 'id')),
- 'title' => new sfValidatorPass(array('required' => false)),
- 'text' => new sfValidatorPass(array('required' => false)),
- 'price' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
- 'status' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
- 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
- 'updated_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
+ 'author_id' => new sfValidatorDoctrineChoice(array('required' => false, 'model' => $this->getRelatedModelName('users'), 'column' => 'id')),
+ 'title' => new sfValidatorPass(array('required' => false)),
+ 'text' => new sfValidatorPass(array('required' => false)),
+ 'price' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
+ 'views_users' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
+ 'views_guests' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
+ 'status' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
+ 'created_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
+ 'updated_at' => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
));
$this->widgetSchema->setNameFormat('projects_filters[%s]');
@@ -49,14 +53,16 @@ public function getModelName()
public function getFields()
{
return array(
- 'id' => 'Number',
- 'author_id' => 'ForeignKey',
- 'title' => 'Text',
- 'text' => 'Text',
- 'price' => 'Number',
- 'status' => 'Number',
- 'created_at' => 'Date',
- 'updated_at' => 'Date',
+ 'id' => 'Number',
+ 'author_id' => 'ForeignKey',
+ 'title' => 'Text',
+ 'text' => 'Text',
+ 'price' => 'Number',
+ 'views_users' => 'Number',
+ 'views_guests' => 'Number',
+ 'status' => 'Number',
+ 'created_at' => 'Date',
+ 'updated_at' => 'Date',
);
}
}
View
36 lib/form/doctrine/base/BaseprojectsForm.class.php
@@ -15,25 +15,29 @@
public function setup()
{
$this->setWidgets(array(
- 'id' => new sfWidgetFormInputHidden(),
- 'author_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('users'), 'add_empty' => false)),
- 'title' => new sfWidgetFormInputText(),
- 'text' => new sfWidgetFormTextarea(),
- 'price' => new sfWidgetFormInputText(),
- 'status' => new sfWidgetFormInputText(),
- 'created_at' => new sfWidgetFormDateTime(),
- 'updated_at' => new sfWidgetFormDateTime(),
+ 'id' => new sfWidgetFormInputHidden(),
+ 'author_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('users'), 'add_empty' => false)),
+ 'title' => new sfWidgetFormInputText(),
+ 'text' => new sfWidgetFormTextarea(),
+ 'price' => new sfWidgetFormInputText(),
+ 'views_users' => new sfWidgetFormInputText(),
+ 'views_guests' => new sfWidgetFormInputText(),
+ 'status' => new sfWidgetFormInputText(),
+ 'created_at' => new sfWidgetFormDateTime(),
+ 'updated_at' => new sfWidgetFormDateTime(),
));
$this->setValidators(array(
- 'id' => new sfValidatorChoice(array('choices' => array($this->getObject()->get('id')), 'empty_value' => $this->getObject()->get('id'), 'required' => false)),
- 'author_id' => new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('users'))),
- 'title' => new sfValidatorString(array('max_length' => 255)),
- 'text' => new sfValidatorString(array('max_length' => 4000, 'required' => false)),
- 'price' => new sfValidatorInteger(array('required' => false)),
- 'status' => new sfValidatorInteger(array('required' => false)),
- 'created_at' => new sfValidatorDateTime(),
- 'updated_at' => new sfValidatorDateTime(),
+ 'id' => new sfValidatorChoice(array('choices' => array($this->getObject()->get('id')), 'empty_value' => $this->getObject()->get('id'), 'required' => false)),
+ 'author_id' => new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('users'))),
+ 'title' => new sfValidatorString(array('max_length' => 255)),
+ 'text' => new sfValidatorString(array('max_length' => 4000, 'required' => false)),
+ 'price' => new sfValidatorInteger(array('required' => false)),
+ 'views_users' => new sfValidatorInteger(array('required' => false)),
+ 'views_guests' => new sfValidatorInteger(array('required' => false)),
+ 'status' => new sfValidatorInteger(array('required' => false)),
+ 'created_at' => new sfValidatorDateTime(),
+ 'updated_at' => new sfValidatorDateTime(),
));
$this->widgetSchema->setNameFormat('projects[%s]');
View
42 lib/model/doctrine/base/Baseprojects.class.php
@@ -9,24 +9,30 @@
* @property string $title
* @property string $text
* @property integer $price
+ * @property integer $views_users
+ * @property integer $views_guests
* @property integer $status
* @property users $users
* @property Doctrine_Collection $projects
*
- * @method integer getAuthorId() Returns the current record's "author_id" value
- * @method string getTitle() Returns the current record's "title" value
- * @method string getText() Returns the current record's "text" value
- * @method integer getPrice() Returns the current record's "price" value
- * @method integer getStatus() Returns the current record's "status" value
- * @method users getUsers() Returns the current record's "users" value
- * @method Doctrine_Collection getProjects() Returns the current record's "projects" collection
- * @method projects setAuthorId() Sets the current record's "author_id" value
- * @method projects setTitle() Sets the current record's "title" value
- * @method projects setText() Sets the current record's "text" value
- * @method projects setPrice() Sets the current record's "price" value
- * @method projects setStatus() Sets the current record's "status" value
- * @method projects setUsers() Sets the current record's "users" value
- * @method projects setProjects() Sets the current record's "projects" collection
+ * @method integer getAuthorId() Returns the current record's "author_id" value
+ * @method string getTitle() Returns the current record's "title" value
+ * @method string getText() Returns the current record's "text" value
+ * @method integer getPrice() Returns the current record's "price" value
+ * @method integer getViewsUsers() Returns the current record's "views_users" value
+ * @method integer getViewsGuests() Returns the current record's "views_guests" value
+ * @method integer getStatus() Returns the current record's "status" value
+ * @method users getUsers() Returns the current record's "users" value
+ * @method Doctrine_Collection getProjects() Returns the current record's "projects" collection
+ * @method projects setAuthorId() Sets the current record's "author_id" value
+ * @method projects setTitle() Sets the current record's "title" value
+ * @method projects setText() Sets the current record's "text" value
+ * @method projects setPrice() Sets the current record's "price" value
+ * @method projects setViewsUsers() Sets the current record's "views_users" value
+ * @method projects setViewsGuests() Sets the current record's "views_guests" value
+ * @method projects setStatus() Sets the current record's "status" value
+ * @method projects setUsers() Sets the current record's "users" value
+ * @method projects setProjects() Sets the current record's "projects" collection
*
* @package posting
* @subpackage model
@@ -56,6 +62,14 @@ public function setTableDefinition()
'type' => 'integer',
'notnull' => false,
));
+ $this->hasColumn('views_users', 'integer', null, array(
+ 'type' => 'integer',
+ 'notnull' => false,
+ ));
+ $this->hasColumn('views_guests', 'integer', null, array(
+ 'type' => 'integer',
+ 'notnull' => false,
+ ));
$this->hasColumn('status', 'integer', null, array(
'type' => 'integer',
'notnull' => true,
View
162 log/frontend_dev.log
@@ -3730,3 +3730,165 @@ Jan 03 16:51:39 symfony [info] {sfWebDebugLogger} Action "project/index" 8.87 ms
Jan 03 16:51:39 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
Jan 03 16:51:39 symfony [info] {sfWebDebugLogger} View "Success" for "project/index" 7.13 ms (1)
Jan 03 16:51:39 symfony [info] {sfWebResponse} Send content (39300 o)
+Jan 03 16:55:10 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/1 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '1',)
+Jan 03 16:55:10 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 16:55:10 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 16:55:10 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 16:55:10 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 16:55:10 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (1)
+Jan 03 16:55:10 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 16:55:10 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 16:55:10 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:55:10 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:55:10 symfony [info] {main} Get slot "title"
+Jan 03 16:55:10 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 16:55:10 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 16:55:10 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 16:55:10 symfony [info] {sfWebDebugLogger} Configuration 1.21 ms (9)
+Jan 03 16:55:10 symfony [info] {sfWebDebugLogger} Factories 5.59 ms (1)
+Jan 03 16:55:10 symfony [info] {sfWebDebugLogger} Action "project/show" 9.80 ms (1)
+Jan 03 16:55:10 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 16:55:10 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 5.39 ms (1)
+Jan 03 16:55:10 symfony [info] {sfWebResponse} Send content (38871 o)
+Jan 03 16:59:06 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/1 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '1',)
+Jan 03 16:59:06 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 16:59:06 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 16:59:06 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 16:59:06 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 16:59:06 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (1)
+Jan 03 16:59:06 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 16:59:06 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 16:59:06 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:06 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:06 symfony [info] {main} Get slot "title"
+Jan 03 16:59:06 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 16:59:06 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 16:59:06 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 16:59:06 symfony [info] {sfWebDebugLogger} Configuration 1.21 ms (9)
+Jan 03 16:59:06 symfony [info] {sfWebDebugLogger} Factories 5.12 ms (1)
+Jan 03 16:59:06 symfony [info] {sfWebDebugLogger} Action "project/show" 9.92 ms (1)
+Jan 03 16:59:06 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 16:59:06 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 5.05 ms (1)
+Jan 03 16:59:06 symfony [info] {sfWebResponse} Send content (39195 o)
+Jan 03 16:59:49 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/1 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '1',)
+Jan 03 16:59:49 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 16:59:49 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 16:59:49 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 16:59:49 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 16:59:49 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (1)
+Jan 03 16:59:49 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 16:59:49 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 16:59:49 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:49 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:49 symfony [info] {main} Get slot "title"
+Jan 03 16:59:49 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 16:59:49 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 16:59:49 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 16:59:49 symfony [info] {sfWebDebugLogger} Configuration 1.23 ms (9)
+Jan 03 16:59:49 symfony [info] {sfWebDebugLogger} Factories 5.16 ms (1)
+Jan 03 16:59:49 symfony [info] {sfWebDebugLogger} Action "project/show" 12.47 ms (1)
+Jan 03 16:59:49 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 16:59:49 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 5.71 ms (1)
+Jan 03 16:59:49 symfony [info] {sfWebResponse} Send content (39197 o)
+Jan 03 16:59:55 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/2 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '2',)
+Jan 03 16:59:55 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 16:59:55 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 16:59:55 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 16:59:55 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 16:59:55 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (2)
+Jan 03 16:59:55 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 16:59:55 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 16:59:55 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:55 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 16:59:55 symfony [info] {main} Get slot "title"
+Jan 03 16:59:55 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 16:59:55 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 16:59:55 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 16:59:55 symfony [info] {sfWebDebugLogger} Configuration 3.23 ms (9)
+Jan 03 16:59:55 symfony [info] {sfWebDebugLogger} Factories 6.12 ms (1)
+Jan 03 16:59:55 symfony [info] {sfWebDebugLogger} Action "project/show" 9.97 ms (1)
+Jan 03 16:59:55 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 16:59:55 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 5.48 ms (1)
+Jan 03 16:59:56 symfony [info] {sfWebResponse} Send content (39057 o)
+Jan 03 17:00:00 symfony [info] {sfPatternRouting} Match route "default_index" (/:module) for /project with parameters array ( 'module' => 'project', 'action' => 'index',)
+Jan 03 17:00:00 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 17:00:00 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 17:00:00 symfony [info] {projectActions} Call "projectActions->executeIndex()"
+Jan 03 17:00:00 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 17:00:00 symfony [info] {Doctrine_Connection_Mysql} query : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p - ()
+Jan 03 17:00:00 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/indexSuccess.php"
+Jan 03 17:00:00 symfony [info] {main} Set slot "title"
+Jan 03 17:00:00 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 17:00:00 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:00 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:00 symfony [info] {main} Get slot "title"
+Jan 03 17:00:00 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 17:00:00 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 17:00:00 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 17:00:00 symfony [info] {sfWebDebugLogger} Configuration 1.32 ms (9)
+Jan 03 17:00:00 symfony [info] {sfWebDebugLogger} Factories 5.24 ms (1)
+Jan 03 17:00:00 symfony [info] {sfWebDebugLogger} Action "project/index" 8.12 ms (1)
+Jan 03 17:00:00 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 17:00:00 symfony [info] {sfWebDebugLogger} View "Success" for "project/index" 7.72 ms (1)
+Jan 03 17:00:00 symfony [info] {sfWebResponse} Send content (39594 o)
+Jan 03 17:00:02 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/1 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '1',)
+Jan 03 17:00:02 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 17:00:02 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 17:00:02 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 17:00:02 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 17:00:02 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (1)
+Jan 03 17:00:02 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 17:00:02 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 17:00:02 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:02 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:02 symfony [info] {main} Get slot "title"
+Jan 03 17:00:02 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 17:00:02 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 17:00:02 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 17:00:02 symfony [info] {sfWebDebugLogger} Configuration 1.43 ms (9)
+Jan 03 17:00:02 symfony [info] {sfWebDebugLogger} Factories 17.64 ms (1)
+Jan 03 17:00:02 symfony [info] {sfWebDebugLogger} Action "project/show" 12.29 ms (1)
+Jan 03 17:00:02 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 17:00:02 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 6.63 ms (1)
+Jan 03 17:00:02 symfony [info] {sfWebResponse} Send content (39165 o)
+Jan 03 17:00:31 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/*) for /project/show/id/1 with parameters array ( 'module' => 'project', 'action' => 'show', 'id' => '1',)
+Jan 03 17:00:31 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 17:00:31 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 17:00:31 symfony [info] {projectActions} Call "projectActions->executeShow()"
+Jan 03 17:00:31 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 17:00:31 symfony [info] {Doctrine_Connection_Statement} execute : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p WHERE (p.id = ?) LIMIT 1 - (1)
+Jan 03 17:00:31 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/showSuccess.php"
+Jan 03 17:00:31 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 17:00:31 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:31 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:31 symfony [info] {main} Get slot "title"
+Jan 03 17:00:31 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 17:00:31 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 17:00:31 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 17:00:31 symfony [info] {sfWebDebugLogger} Configuration 1.39 ms (9)
+Jan 03 17:00:31 symfony [info] {sfWebDebugLogger} Factories 8.41 ms (1)
+Jan 03 17:00:31 symfony [info] {sfWebDebugLogger} Action "project/show" 17.40 ms (1)
+Jan 03 17:00:31 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 17:00:31 symfony [info] {sfWebDebugLogger} View "Success" for "project/show" 7.18 ms (1)
+Jan 03 17:00:31 symfony [info] {sfWebResponse} Send content (39196 o)
+Jan 03 17:00:41 symfony [info] {sfPatternRouting} Match route "default_index" (/:module) for /project with parameters array ( 'module' => 'project', 'action' => 'index',)
+Jan 03 17:00:41 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter"
+Jan 03 17:00:41 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter"
+Jan 03 17:00:41 symfony [info] {projectActions} Call "projectActions->executeIndex()"
+Jan 03 17:00:41 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - ()
+Jan 03 17:00:41 symfony [info] {Doctrine_Connection_Mysql} query : SELECT p.id AS p__id, p.author_id AS p__author_id, p.title AS p__title, p.text AS p__text, p.price AS p__price, p.views_users AS p__views_users, p.views_guests AS p__views_guests, p.status AS p__status, p.created_at AS p__created_at, p.updated_at AS p__updated_at FROM projects p - ()
+Jan 03 17:00:41 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/modules/project/templates/indexSuccess.php"
+Jan 03 17:00:41 symfony [info] {main} Set slot "title"
+Jan 03 17:00:41 symfony [info] {main} Set slot "breadcrumbs"
+Jan 03 17:00:41 symfony [info] {sfPHPView} Decorate content with "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:41 symfony [info] {sfPHPView} Render "/www/posting/apps/frontend/templates/layout.php"
+Jan 03 17:00:41 symfony [info] {main} Get slot "title"
+Jan 03 17:00:41 symfony [info] {main} Get slot "breadcrumbs"
+Jan 03 17:00:41 symfony [info] {sfWebResponse} Send status "HTTP/1.1 200 OK"
+Jan 03 17:00:41 symfony [info] {sfWebResponse} Send header "Content-Type: text/html; charset=utf-8"
+Jan 03 17:00:41 symfony [info] {sfWebDebugLogger} Configuration 1.31 ms (9)
+Jan 03 17:00:41 symfony [info] {sfWebDebugLogger} Factories 5.30 ms (1)
+Jan 03 17:00:41 symfony [info] {sfWebDebugLogger} Action "project/index" 8.25 ms (1)
+Jan 03 17:00:41 symfony [info] {sfWebDebugLogger} Database (Doctrine) 0.01 ms (2)
+Jan 03 17:00:41 symfony [info] {sfWebDebugLogger} View "Success" for "project/index" 7.15 ms (1)
+Jan 03 17:00:41 symfony [info] {sfWebResponse} Send content (39594 o)

0 comments on commit 88931d8

Please sign in to comment.