if.php class file