Code Context <p class="comment2">
<?php $i2++; ?>
<?=
$viewFile = '/home/users/2/weblike.jp-tennsaku/web/haizinn/src/Template/Element/random_data.ctp'
$dataForView = [
'_serialize' => [
(int) 0 => 'haikus'
],
'haiku' => object(Cake\ORM\Entity) {
'[new]' => true,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Haikus'
},
'tree' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT haikus.id AS "haikus__id", haikus.haiku AS "haikus__haiku", haikus.title AS "haikus__title", haikus.comment AS "haikus__comment", haikus.parent_no AS "haikus__parent_no", haikus.score AS "haikus__score", haikus.created AS "haikus__created", haikus.story AS "haikus__story", haikus.no AS "haikus__no", haikus.person_id AS "haikus__person_id", people.id AS "people__id", people.name AS "people__name", people.age AS "people__age", people.sex AS "people__sex" FROM haikus Haikus INNER JOIN people People ON People.id = (Haikus.person_id) WHERE (Haikus.rght < :c0 AND Haikus.lft > :c1) ORDER BY Haikus.lft ASC',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [
[maximum depth reached]
],
'repository' => object(App\Model\Table\HaikusTable) {}
},
'count_treeList' => (int) 11,
'HaikusOrigin' => object(Cake\ORM\Entity) {
'id' => (int) 348,
'title' => '俳句添削道場の機能追加について、ご意見をください。',
'haiku' => '',
'comment' => 'こんにちは。
俳句添削道場を開発、運営しています、かぎろいです。
俳句添削道場
https://weblike-tennsaku.ssl-lolipop.jp/haiku/corrections
実は、俳句添削道場に新しい機能をつけようかなと考えています。
「褒めてください」
にチェックを入れて投稿すると、プログラムによって、必ず1つは、内容を褒めるコメントが付くというものです。
一つもコメントがつかない投句もありますので、創作のモチベーションをあげるために、このような機能はどうかなと考えました。
他にも、なにか良いアイディアがありましたら、提案していただけるとありがたいです。
私の技術でできる範囲のことに限られますが(^_^;)
よろしくお願いします!',
'person_id' => (int) 1,
'category' => '8',
'people' => [
[maximum depth reached]
],
'haikus' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Haikus'
},
'random_data' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT haikus.id AS "haikus__id", haikus.haiku AS "haikus__haiku", haikus.title AS "haikus__title", haikus.score AS "haikus__score", haikus.created AS "haikus__created", haikus.comment AS "haikus__comment", haikus.person_id AS "haikus__person_id", haikus.rs AS "haikus__rs", haikus.excellent AS "haikus__excellent", haikus.parent_title AS "haikus__parent_title", haikus.category AS "haikus__category", people.id AS "people__id", people.name AS "people__name" FROM haikus Haikus INNER JOIN people People ON People.id = (Haikus.person_id) WHERE ((parent_id) IS NULL AND haikus.id != :c0) ORDER BY random() LIMIT 3',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\HaikusTable) {}
},
'excellent' => (int) 3,
'id' => (int) 0,
'headerTitle' => '俳句クラブ『今日の一句』。俳人友達の交流掲示板',
'title' => '「俳句添削道場の機能追加について、ご意見をください。」の返信一覧。俳句クラブ『今日の一句』。俳人友達の交流掲示板',
'title2' => '俳句クラブ『今日の一句』',
'description' => '「俳句添削道場の機能追加について、ご意見をください。」の返信一覧。俳句を趣味にしている人同士のコミュニティです。最近の出来事などの雑談と一緒に「今日の一句」を投稿して、俳人仲間と交流しましょう!お題を出しての投句、俳句についての質問、創作の相談、俳句大会の情報交換などもできます。',
'site_name' => '俳句クラブ『今日の一句』。俳人友達の交流掲示板',
'meta' => (int) 1,
'advertisements' => true,
'nondisplay' => [],
'h2' => '他の相談一覧'
]
$_serialize = [
(int) 0 => 'haikus'
]
$haiku = object(Cake\ORM\Entity) {
'haikus' => [
'id' => '689',
'haiku' => '紙ヒコーキ薄暑の海のスレスレを',
'title' => '夢を描いたテストの裏 1教科目',
'score' => '0',
'created' => '2023-07-04 08:16:15',
'comment' => '俳句を気軽に楽しみたいので、この場をお借りします
19(ジューク)というアーティストが好きなので、最初の一句はそれにちなんだ一句にしました',
'person_id' => '70',
'rs' => '1',
'excellent' => null,
'parent_title' => null,
'category' => '6'
],
'people' => [
'id' => '70',
'name' => 'ミュー'
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Haikus'
}
$tree = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT haikus.id AS "haikus__id", haikus.haiku AS "haikus__haiku", haikus.title AS "haikus__title", haikus.comment AS "haikus__comment", haikus.parent_no AS "haikus__parent_no", haikus.score AS "haikus__score", haikus.created AS "haikus__created", haikus.story AS "haikus__story", haikus.no AS "haikus__no", haikus.person_id AS "haikus__person_id", people.id AS "people__id", people.name AS "people__name", people.age AS "people__age", people.sex AS "people__sex" FROM haikus Haikus INNER JOIN people People ON People.id = (Haikus.person_id) WHERE (Haikus.rght < :c0 AND Haikus.lft > :c1) ORDER BY Haikus.lft ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Haikus__id' => 'integer',
'Haikus.id' => 'integer',
'id' => 'integer',
'Haikus__parent_id' => 'integer',
'Haikus.parent_id' => 'integer',
'parent_id' => 'integer',
'Haikus__person_id' => 'integer',
'Haikus.person_id' => 'integer',
'person_id' => 'integer',
'Haikus__title' => 'string',
'Haikus.title' => 'string',
'title' => 'string',
'Haikus__haiku' => 'text',
'Haikus.haiku' => 'text',
'haiku' => 'text',
'Haikus__comment' => 'text',
'Haikus.comment' => 'text',
'comment' => 'text',
'Haikus__parent_comment' => 'text',
'Haikus.parent_comment' => 'text',
'parent_comment' => 'text',
'Haikus__category' => 'text',
'Haikus.category' => 'text',
'category' => 'text',
'Haikus__lft' => 'integer',
'Haikus.lft' => 'integer',
'lft' => 'integer',
'Haikus__rght' => 'integer',
'Haikus.rght' => 'integer',
'rght' => 'integer',
'Haikus__origin' => 'integer',
'Haikus.origin' => 'integer',
'origin' => 'integer',
'Haikus__origin_title' => 'text',
'Haikus.origin_title' => 'text',
'origin_title' => 'text',
'Haikus__parent_title' => 'text',
'Haikus.parent_title' => 'text',
'parent_title' => 'text',
'Haikus__ip' => 'text',
'Haikus.ip' => 'text',
'ip' => 'text',
'Haikus__user_ip' => 'text',
'Haikus.user_ip' => 'text',
'user_ip' => 'text',
'Haikus__rs' => 'integer',
'Haikus.rs' => 'integer',
'rs' => 'integer',
'Haikus__score' => 'integer',
'Haikus.score' => 'integer',
'score' => 'integer',
'Haikus__no' => 'integer',
'Haikus.no' => 'integer',
'no' => 'integer',
'Haikus__parent_no' => 'integer',
'Haikus.parent_no' => 'integer',
'parent_no' => 'integer',
'Haikus__story' => 'integer',
'Haikus.story' => 'integer',
'story' => 'integer',
'Haikus__excellent' => 'integer',
'Haikus.excellent' => 'integer',
'excellent' => 'integer',
'Haikus__writer' => 'integer',
'Haikus.writer' => 'integer',
'writer' => 'integer',
'Haikus__created' => 'datetime',
'Haikus.created' => 'datetime',
'created' => 'datetime',
'Haikus__modified' => 'datetime',
'Haikus.modified' => 'datetime',
'modified' => 'datetime',
'People__id' => 'integer',
'People.id' => 'integer',
'People__name' => 'text',
'People.name' => 'text',
'name' => 'text',
'People__email' => 'text',
'People.email' => 'text',
'email' => 'text',
'People__sex' => 'text',
'People.sex' => 'text',
'sex' => 'text',
'People__age' => 'integer',
'People.age' => 'integer',
'age' => 'integer',
'People__sendmail' => 'integer',
'People.sendmail' => 'integer',
'sendmail' => 'integer',
'People__created' => 'datetime',
'People.created' => 'datetime',
'People__modified' => 'text',
'People.modified' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'People' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [
'for' => '348'
],
'repository' => object(App\Model\Table\HaikusTable) {}
}
$count_treeList = (int) 11
$HaikusOrigin = object(Cake\ORM\Entity) {
'id' => (int) 348,
'title' => '俳句添削道場の機能追加について、ご意見をください。',
'haiku' => '',
'comment' => 'こんにちは。
俳句添削道場を開発、運営しています、かぎろいです。
俳句添削道場
https://weblike-tennsaku.ssl-lolipop.jp/haiku/corrections
実は、俳句添削道場に新しい機能をつけようかなと考えています。
「褒めてください」
にチェックを入れて投稿すると、プログラムによって、必ず1つは、内容を褒めるコメントが付くというものです。
一つもコメントがつかない投句もありますので、創作のモチベーションをあげるために、このような機能はどうかなと考えました。
他にも、なにか良いアイディアがありましたら、提案していただけるとありがたいです。
私の技術でできる範囲のことに限られますが(^_^;)
よろしくお願いします!',
'person_id' => (int) 1,
'category' => '8',
'people' => [
'id' => '1',
'name' => 'かぎろい',
'age' => '30',
'sex' => '男性'
],
'haikus' => [
'created' => '2019-05-21 16:19:10'
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Haikus'
}
$random_data = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT haikus.id AS "haikus__id", haikus.haiku AS "haikus__haiku", haikus.title AS "haikus__title", haikus.score AS "haikus__score", haikus.created AS "haikus__created", haikus.comment AS "haikus__comment", haikus.person_id AS "haikus__person_id", haikus.rs AS "haikus__rs", haikus.excellent AS "haikus__excellent", haikus.parent_title AS "haikus__parent_title", haikus.category AS "haikus__category", people.id AS "people__id", people.name AS "people__name" FROM haikus Haikus INNER JOIN people People ON People.id = (Haikus.person_id) WHERE ((parent_id) IS NULL AND haikus.id != :c0) ORDER BY random() LIMIT 3',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Haikus__id' => 'integer',
'Haikus.id' => 'integer',
'id' => 'integer',
'Haikus__parent_id' => 'integer',
'Haikus.parent_id' => 'integer',
'parent_id' => 'integer',
'Haikus__person_id' => 'integer',
'Haikus.person_id' => 'integer',
'person_id' => 'integer',
'Haikus__title' => 'string',
'Haikus.title' => 'string',
'title' => 'string',
'Haikus__haiku' => 'text',
'Haikus.haiku' => 'text',
'haiku' => 'text',
'Haikus__comment' => 'text',
'Haikus.comment' => 'text',
'comment' => 'text',
'Haikus__parent_comment' => 'text',
'Haikus.parent_comment' => 'text',
'parent_comment' => 'text',
'Haikus__category' => 'text',
'Haikus.category' => 'text',
'category' => 'text',
'Haikus__lft' => 'integer',
'Haikus.lft' => 'integer',
'lft' => 'integer',
'Haikus__rght' => 'integer',
'Haikus.rght' => 'integer',
'rght' => 'integer',
'Haikus__origin' => 'integer',
'Haikus.origin' => 'integer',
'origin' => 'integer',
'Haikus__origin_title' => 'text',
'Haikus.origin_title' => 'text',
'origin_title' => 'text',
'Haikus__parent_title' => 'text',
'Haikus.parent_title' => 'text',
'parent_title' => 'text',
'Haikus__ip' => 'text',
'Haikus.ip' => 'text',
'ip' => 'text',
'Haikus__user_ip' => 'text',
'Haikus.user_ip' => 'text',
'user_ip' => 'text',
'Haikus__rs' => 'integer',
'Haikus.rs' => 'integer',
'rs' => 'integer',
'Haikus__score' => 'integer',
'Haikus.score' => 'integer',
'score' => 'integer',
'Haikus__no' => 'integer',
'Haikus.no' => 'integer',
'no' => 'integer',
'Haikus__parent_no' => 'integer',
'Haikus.parent_no' => 'integer',
'parent_no' => 'integer',
'Haikus__story' => 'integer',
'Haikus.story' => 'integer',
'story' => 'integer',
'Haikus__excellent' => 'integer',
'Haikus.excellent' => 'integer',
'excellent' => 'integer',
'Haikus__writer' => 'integer',
'Haikus.writer' => 'integer',
'writer' => 'integer',
'Haikus__created' => 'datetime',
'Haikus.created' => 'datetime',
'created' => 'datetime',
'Haikus__modified' => 'datetime',
'Haikus.modified' => 'datetime',
'modified' => 'datetime',
'People__id' => 'integer',
'People.id' => 'integer',
'People__name' => 'text',
'People.name' => 'text',
'name' => 'text',
'People__email' => 'text',
'People.email' => 'text',
'email' => 'text',
'People__sex' => 'text',
'People.sex' => 'text',
'sex' => 'text',
'People__age' => 'integer',
'People.age' => 'integer',
'age' => 'integer',
'People__sendmail' => 'integer',
'People.sendmail' => 'integer',
'sendmail' => 'integer',
'People__created' => 'datetime',
'People.created' => 'datetime',
'People__modified' => 'text',
'People.modified' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'People' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\HaikusTable) {}
}
$excellent = (int) 3
$id = (int) 0
$headerTitle = '俳句クラブ『今日の一句』。俳人友達の交流掲示板'
$title = '「俳句添削道場の機能追加について、ご意見をください。」の返信一覧。俳句クラブ『今日の一句』。俳人友達の交流掲示板'
$title2 = '俳句クラブ『今日の一句』'
$description = '「俳句添削道場の機能追加について、ご意見をください。」の返信一覧。俳句を趣味にしている人同士のコミュニティです。最近の出来事などの雑談と一緒に「今日の一句」を投稿して、俳人仲間と交流しましょう!お題を出しての投句、俳句についての質問、創作の相談、俳句大会の情報交換などもできます。'
$site_name = '俳句クラブ『今日の一句』。俳人友達の交流掲示板'
$meta = (int) 1
$advertisements = true
$nondisplay = []
$h2 = '他の相談一覧'
$i2 = null
include - APP/Template/Element/random_data.ctp, line 13
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598
Cake\View\View::element() - CORE/src/View/View.php, line 706
include - APP/Template/Haikus/tree.ctp, line 31
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88