PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of John Doe   Classicus   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: An example
Class: Classicus
Generate ancient Latin words in different forms
Author: By
Last change:
Date: 19 years ago
Size: 637 bytes
 

Contents

Class file image Download
<?php
// Output in output.html
include("classicus2.php");
$c = new classicus();
ob_start();
?>
Lupus:<br>
<?php print_r($c->znw("Lupus")); ?>

Corpus-corpora iratus:<br>
<?php print_r($c->bnw("Corpus","Iratus",1,"o","Corpora")); ?>

Fortis:<br>
<?php print_r($c->vtrap("Fortis")); ?>

Corpus-corpora iratus comparasion: <br>
<?php print_r($c->btrap("Corpus","Iratus",1,"o","Corpora")); ?>

Currere:
<?php print_r($c->ww("Currere",1)); ?>

Roman for 10
<?php print_r($c->dec2roman(10)); ?>

Decimal for X
<?php print_r($c->roman2dec("X"));?>

<?php
$x
= ob_get_contents(); ob_end_clean();
echo(
nl2br($x));
?>