[ Expand All ] [ Collapse All ] - [ Properties (17) ] [ Methods (5) ] - [ Legend ]

yellowpages Class v. 1.0

yellowpages

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

yellowpages

Authoranthony
Copyright2003 Copyright (c) green-box 2003
Properties implemented by yellowpages
public method ACTIVITY

public method CITY

public method COUNTRY

public method DATE_CREA

public method DATE_FORMAT

public method EMAIL

public method FAX

public method ID

public method LAST_MODIFY

public method NAME

public method PHONE

public method POSTAL_CODE

public method STATUT

public method STREET

public method TDB_YELLOWPAGES

public method THEME

public method WEBSITE

Methods implemented by yellowpages
private method _checkEmailValidity

PHPinteger _checkEmailValidity(string $email)

yellowpages::_checkEmailValidity() Vérification de la grammaire du mail

Arguments

Return

1 ou 0

public method AddYellowPages

PHPinteger AddYellowPages(array $table_pages, object $sql_object)

yellowpages::AddYellowPages() Ajout d'une nouvelle entreprise dans l'annuaire

Arguments

Return

$last_id

public method CheckDataIntegrity

PHPboolean CheckDataIntegrity(unknown $table)

yellowpages::CheckDataIntegrity() Vérification des données d'une entreprise

Arguments

Return

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

public method DeleteYellowPages

PHPboolean DeleteYellowPages(integer $ID, object $sql_object)

yellowpages::StateYellowPages() modification du statut d'une organisation

Arguments

Return

$result

function StateYellowPages($ID, $state, $sql_object) { if (is_numeric($ID)) { $this->ID = $ID; } $this->STATUT = $state;

$requete = "UPDATE " . $this->TDB_YELLOWPAGES . " set yellowp_statut='" . $this->STATUT . "' WHERE yellowp_id=" . $this->ID . ";"; $result = $sql_object->DBQuery($requete); return $result; }

yellowpages::DeleteYellowPages() suppression d'une organisatione

$result

public method ModifyYellowPages

PHPboolean ModifyYellowPages(integer $ID, array $table_pages, object $sql_object)

yellowpages::ModifyYellowPages() modification d'une organisation

Arguments

Return

$result

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