[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
Image_Graph - PEAR PHP OO Graph Rendering Utility. PHP versions 4 and 5
Author: | Jesper Veggerby <pear.nosey@veggerby.dk> |
Copyright: | Copyright (C) 2003, 2004 Jesper Veggerby Hansen |
License: | http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 |
Version: | CVS: $Id: Horizontal.php,v 1.11 2006/02/28 22:48:07 nosey Exp $ |
Poids: | 186 lignes (6 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Layout.php |
Image_Graph_Layout_Horizontal:: (4 méthodes):
Image_Graph_Layout_Horizontal()
_getAbsolute()
_split()
_done()
Classe: Image_Graph_Layout_Horizontal - X-Ref
Layout for displaying two elements side by side.Image_Graph_Layout_Horizontal(& $part1, & $part2, $percentage = 50) X-Ref |
HorizontalLayout [Constructor] param: Image_Graph_Element $part1 The 1st part of the layout param: Image_Graph_Element $part2 The 2nd part of the layout param: int $percentage The percentage of the layout to split at |
_getAbsolute(&$part) X-Ref |
Gets the absolute size of one of the parts. param: string $part The name of the part - auto_part(1|2) return: int The number of pixels the edge should be pushed |
_split() X-Ref |
Splits the layout between the parts, by the specified percentage |
_done() X-Ref |
Output the layout to the canvas return: bool Was the output 'good' (true) or 'bad' (false). |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |