Overview
packages
Classes

Class Crown

|- class Crown extends YurtPart
Defined in line 18 of file yurtparts/Crown.php.

Overview

Instance fields$gamma_deg
Inherited from YurtPart : $yurt
Static methods
Instance methodstoHtml() main() plank()
Inherited from YurtPart : __construct()

Summary

Instance fields
- $gamma_deg Variable used to exchange data between main() and plank()
Instance methods
+ toHtml($params = '')
- main() Generates a table withe crown's main data
- plank() Generates an image with the measures to cut a round piece of wood

Details

Instance fields

private $gamma_deg
Variable used to exchange data between main() and plank()
Defined in line 21 of file yurtparts/Crown.php

Instance methods

public function toHtml( $params = '')
Parameters
$params Can be 'main' or 'plank'
'main' returns the html code of a table with crown's main data.
'plank' returns an image with the measures of the plank.
Defined in line 28 of file yurtparts/Crown.php
private function main( )
Generates a table withe crown's main data
Defined in line 38 of file yurtparts/Crown.php
private function plank( )
Generates an image with the measures to cut a round piece of wood
Defined in line 153 of file yurtparts/Crown.php