Add php files
This commit is contained in:
25
include/ECM/open_flash_chart2/php-ofc-library/ofc_shape.php
Executable file
25
include/ECM/open_flash_chart2/php-ofc-library/ofc_shape.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class shape_point
|
||||
{
|
||||
function shape_point( $x, $y )
|
||||
{
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
}
|
||||
}
|
||||
|
||||
class shape
|
||||
{
|
||||
function shape( $colour )
|
||||
{
|
||||
$this->type = "shape";
|
||||
$this->colour = $colour;
|
||||
$this->values = array();
|
||||
}
|
||||
|
||||
function append_value( $p )
|
||||
{
|
||||
$this->values[] = $p;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user