This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Auto Complete-jQuery-UI</title> | |
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css"> | |
<link rel="stylesheet" type="text/css" href="css/jquery-ui.theme.css"> | |
</head> | |
<body> | |
<div class="ui-widget"> | |
<input type="text" id="nometeste"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Application_Form_Teste extends Zend_Form | |
{ | |
public function init() | |
{ | |
$this->setName('fornecedor'); | |
$this->setAttrib('class', 'form-horizontal'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Arquivo forms/validate/Cnpj.php | |
*/ | |
class Validate_Cnpj extends Zend_Validate_Abstract | |
{ | |
const CNPJ_INVALIDO = "cnpj_invalido"; | |
protected $_messageTemplates = array ( |