俺俺ブロガー様のコメント欄感想をPHPで書いてみる
俺俺ブロガー様のコメント応対の印象はこんな感じ。
PHP:
-
require_once('Ore_Sama.php');
-
require_once('Ore_Bible.php');
-
require_once('OREORE_BROTHERS.php');
-
-
abstract class Blogger
-
{
-
abstract private $blog;
-
private $realName;
-
private $handleName;
-
}
-
-
class OREORE_Blogger extends Blogger
-
{
-
public $o_ore;
-
private $blog;
-
private $a_cliche;
-
-
-
function __const()
-
{
-
$this->o_ore = new Ore_Sama();
-
$this->blog = $this->o_ore->get_ore_blog();
-
$this->handle_name = OREORE_BROTHERS::get_kakoii_handle_name();
-
}
-
-
-
function add_cliche($phrase){
-
foreach($phrase as $value) {
-
$this->add_cliche($phrase);
-
}
-
} else if($this->o_ore->standard($phrase)) {
-
$this->cliche[] = $phrase;
-
$result = TRUE;
-
} else {
-
$result = FALSE;
-
}
-
return $result;
-
}
-
-
-
function response($comment)
-
{
-
if($o_ore->is_difficult($comment)) {
-
} else {
-
for($i=0; $i <ORE_STYLE; $i++) {
-
}
-
}
-
return $result;
-
}
-
}
-
-
$o_oreoreBlogger = new OREORE_Blogger();
-
-
//コメントしてみた場合の反応
-
-
//テンプレ回答を増やす
-
$o_oreoreBlogger->add_cliche('いかしたフレーズ');