14.04.2013 Views

Instituto Chico Mendes Manual dos componentes do SIAL - ICMBio

Instituto Chico Mendes Manual dos componentes do SIAL - ICMBio

Instituto Chico Mendes Manual dos componentes do SIAL - ICMBio

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TFile<br />

<strong>Manual</strong> <strong><strong>do</strong>s</strong> <strong>componentes</strong> <strong>do</strong> <strong>SIAL</strong><br />

@param string[] $elements<br />

Retorno:<br />

void<br />

Versão: 1.1.1<br />

Exceção:<br />

\br\gov\icmbio\sial\exception\IllegalArgumentException<br />

Componente ValueObject para manter arquivos<br />

Package:<br />

br.gov.imcbio.sial.lang<br />

Namespace:<br />

br\gov\icmbio\sial\lang\TFile<br />

Camadas de utilização:<br />

Controller<br />

Business<br />

Model<br />

Persist<br />

Méto<strong><strong>do</strong>s</strong>:<br />

Página<br />

28 / 236<br />

Data<br />

04/02/2012<br />

public function __construct ($name = NULL, $type = NULL, $source = NULL,<br />

$error = NULL, $size = NULL)<br />

Méto<strong>do</strong> construtor. Cria o cache para o objeto TFile.<br />

@param string $name<br />

@param string $type<br />

@param string $source<br />

@param integer $error<br />

@param integer $size<br />

Exceção:<br />

\br\gov\icmbio\sial\exception\<strong>SIAL</strong>Exception<br />

public function getName ()<br />

Méto<strong>do</strong> que retorna o nome <strong>do</strong> objeto TFile.<br />

Retorno:<br />

string<br />

Exceção:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!