[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Image/Graph/Layout/ -> Matrix.php (sommaire)

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: Matrix.php,v 1.8 2005/08/24 20:35:58 nosey Exp $
Poids: 201 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Layout.php

Définit 1 class

Image_Graph_Layout_Matrix:: (6 méthodes):
  Image_Graph_Layout_Matrix()
  _pushEdges()
  getEntry()
  setEntry()
  _updateCoords()
  _done()


Classe: Image_Graph_Layout_Matrix  - X-Ref

Layout for displaying elements in a matix.

Image_Graph_Layout_Matrix($rows, $cols, $autoCreate = true)   X-Ref
Image_Graph_Layout_Matrix [Constructor]

param: int $rows The number of rows
param: int $cols The number of cols
param: bool $autoCreate Specifies whether the matrix should automatically

_pushEdges($row, $col)   X-Ref
Pushes the edges on the specified position in the matrix

param: int $row The row
param: int $col The column

getEntry($row, $col)   X-Ref
Get the area on the specified position in the matrix

param: int $row The row
param: int $col The column
return: Image_Graph_Layout The element of position ($row, $col) in the

setEntry($row, $col, &$element)   X-Ref
Get the area on the specified position in the matrix

param: int $row The row
param: int $col The column
param: Image_Graph_Layout $element The element to set in the position

_updateCoords()   X-Ref
Update coordinates


_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