Class tabela

Description

Located in /tabela.php (line 12)


	
			
Method Summary
void __construct (string $tabela)
void __destruct ()
void delete ([string $where = null])
boolean findField (string $field)
void get (string[] $campos, [string $where = null], [ $order = null])
array getAllData ()
db getCon ()
string getSQL ()
string getType (string $field)
void insert ()
bool result ()
void save ()
void setData (array $data)
void setTabela (string $tabela)
void update (string $where)
void validate ()
string __get (string $name)
void __set (string $name, string $value)
Methods
Constructor __construct (line 71)
void __construct (string $tabela)
  • string $tabela: O nome da tabela. Table name
Destructor __destruct (line 294)
void __destruct ()
delete (line 230)
void delete ([string $where = null])
  • string $where: Parametros SQL para a exclusao. SQL parameters
findField (line 394)
boolean findField (string $field)
  • string $field: Nome do campo
get (line 124)
void get (string[] $campos, [string $where = null], [ $order = null])
  • string[] $campos: Array com o nome dos campos a serem buscados. An array whit the field names
  • string $where: Parametros SQL para a pesquisa. SQL query parameters
  • $order
getAllData (line 366)
array getAllData ()
getCon (line 113)
db getCon ()
getSQL (line 357)
string getSQL ()
getType (line 407)
  • return: Tipo do campo
string getType (string $field)
  • string $field: Nome do campo
insert (line 168)
void insert ()
result (line 148)
bool result ()
save (line 284)
void save ()
setData (line 380)
void setData (array $data)
  • array $data: Array com os dados. Deve ser o $_GET ou o $_POST
setTabela (line 103)
void setTabela (string $tabela)
  • string $tabela: Nome da tabela. Table name
update (line 198)
void update (string $where)
  • string $where: Parametros SQL para a alteracao. SQL parameters to make the update
validate (line 304)
void validate ()
__get (line 268)
  • return: Valor do atributo. Attribute's value.
string __get (string $name)
  • string $name: Nome do atributo. Attribute's name
__set (line 252)
void __set (string $name, string $value)
  • string $name: Nome do atributo. Attribute's name
  • string $value: Valor do atributo. Attribute's value

Documentation generated on Thu, 18 Oct 2007 13:50:30 -0300 by phpDocumentor 1.3.2