$a = new textFilter(); $a->getText($text); if (!empty($_POST['filterglyphs'])) { $a->madefrom($_POST['filterglyphs']); } if (!empty($_POST['having'])) { $a->having($_POST['having']); } if (!empty($_POST['also_having'])) { $a->having($_POST['also_having']); } if (!empty($_POST['also_having_more'])) { $a->having($_POST['also_having_more']); } if (!empty($_POST['not_having'])) { $a->not_having($_POST['not_having']); } if (!empty($_POST['also_not_having'])) { $a->not_having($_POST['also_not_having']); } if (!empty($_POST['starting'])) { $a->starting($_POST['starting']); } if (!empty($_POST['ending'])) { $a->ending($_POST['ending']); } $a->randomize(); $a->max($_POST['max']); if ($_POST['sentence'] == "yes") { $a->sentencecase(); }
$a->having($_POST['having_one']); } if (!empty($_POST['having_two'])) { $a->having($_POST['having_two']); } if (!empty($_POST['having_three'])) { $a->having($_POST['having_three']); } if (!empty($_POST['having_four'])) { $a->having($_POST['having_four']); } if (!empty($_POST['having_five'])) { $a->having($_POST['having_five']); } if (!empty($_POST['not_having_one'])) { $a->not_having($_POST['not_having_one']); } if (!empty($_POST['not_having_two'])) { $a->not_having($_POST['not_having_two']); } if (!empty($_POST['not_having_three'])) { $a->not_having($_POST['not_having_three']); } if (!empty($_POST['not_having_four'])) { $a->not_having($_POST['not_having_four']); } if (!empty($_POST['starting'])) { $a->starting($_POST['starting']); } if (!empty($_POST['ending'])) { $a->ending($_POST['ending']);