[ Expand All ] [ Collapse All ] - [ Properties (15) ] [ Methods (9) ] - [ Legend ]

scale Class v. 1.0

scale

Class pour gerer l'echelle geographique create : 23/09/03 last_modify : 25/03/04 Copyright (C) 2003 Green-box

scale

Authorsimon
Copyright2003 Copyright (c) green-box 2003
Properties implemented by scale
public method ALL_REC

tableau contenant les fils d'échelles

public method COMMENT

public method DATE_CREA

public method DATE_FORMAT

public method DENOMINATION

public method DEPENDENCIES

public method DEPTH_TABLE

tableau contenant les profondeurs d'échelles

public method ID

public method INHABITANTSNUM

public method LAST_MODIFY

public method ROOT

public method SON_TABLE

tableau contenant les fils d'échelles

public method STATUT

public method SURFACE

public method TDB_SCALE

Methods implemented by scale
public method AddScale

PHPinteger AddScale(array $table_scale, object $sql_object)

scale::AddScale() Ajout d'une echelle

Arguments

Return

$last_id

public method CheckDataIntegrity

PHPboolean CheckDataIntegrity(array $table_scale)

scale::CheckDataIntegrity() Vérification des données d'une echelle

Arguments

Return

si vrai renvoie true sinon message d'erreurs (string)

public method DeleteScale

PHPinteger DeleteScale(integer $ID, object $sql_object, string $type, integer $ID_new)

scale::DeleteScale() suppression d'une echelle

Arguments

Return

$affected // nombre de ressources affectées par les changements

public method getAllRecord

PHPvoid getAllRecord(unknown $sql_object)

scale::getAllRecord() Obtention de toutes les échelles.

Arguments

public method getMaxDepth

PHParray getMaxDepth(unknown $id, unknown $sql_object)

scale::getMaxDepth() obtention de la profondeur max d'une échelle ( par rapport a ses filles )

Arguments

Return

$return_table contennat profondeur et échelle d'exclusion

public method getScaleDepthAndSon

PHPvoid getScaleDepthAndSon(unknown $table, unknown $id)

scale::getScaleDepthAndSon() obtention des fils et profondeur ( récursif ) par rapport à une échelle données stockage dans des tableaux respectifs.

Arguments

public method ModifyScale

PHPboolean ModifyScale(integer $ID, array $table_scale, object $sql_object)

scale::ModifyScale() modification d'une echelle

Arguments

Return

$result

public method StateScale

PHPboolean StateScale(integer $ID, string $state, object $sql_object)

scale::StateScale() modification du statut d'une échelle

Arguments

Return

$result

public method update_all_dependencies

PHPvoid update_all_dependencies(unknown $table, unknown $depth, unknown $id, unknown $sql_object)

scale::update_all_dependencies() Mise à jour de l'ensemble des échelles filles par rapport à ul'échelle courante.

Arguments

Generated by PHPEdit - http://www.phpedit.net/ - Copyright © 1999-2003 - Sébastien Hordeaux