This file contains hidden or 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 | |
| namespace Api\PostProcessor; | |
| use JMS\Serializer\SerializerBuilder; | |
| use JMS\Serializer\SerializationContext; | |
| /** | |
| * Classe concreta que retorna JSON | |
| * |
This file contains hidden or 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 | |
| namespace Api\PostProcessor; | |
| use JMS\Serializer\SerializerBuilder; | |
| use JMS\Serializer\SerializationContext; | |
| /** | |
| * Classe concreta que retorna JSON | |
| * |
This file contains hidden or 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
| #include<stdio.h> | |
| #include<conio.h> | |
| main() { | |
| int pP; | |
| printf("Digite o peso dos peixes\n"); | |
| scanf("%d",&pP); | |
| if(pP > 50){ | |
| clrscr(); | |
| int E; |
This file contains hidden or 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 | |
| namespace Application\View\Helper; | |
| use Zend\View\Helper\AbstractHelper; | |
| use Zend\ServiceManager\ServiceLocatorAwareInterface; | |
| use Zend\ServiceManager\ServiceLocatorInterface; | |
| /** | |
| * Retorna o recurso sendo acessado |
This file contains hidden or 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 | |
| return array( | |
| 'controllers' => array( | |
| 'invokables' => array( | |
| 'Aluno\Controller\Aluno' => 'Aluno\Controller\AlunoController', | |
| ), | |
| ), | |
| 'router' => array( | |
| 'routes' => array( |
This file contains hidden or 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 | |
| namespace Aluno\Model; | |
| use Zend\InputFilter\Factory as InputFactory; | |
| use Zend\InputFilter\InputFilter; | |
| use Zend\InputFilter\InputFilterAwareInterface; | |
| use Zend\InputFilter\InputFilterInterface; | |
| class Aluno | |
| { |
This file contains hidden or 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 | |
| namespace Aluno\Model; | |
| use Zend\Db\TableGateway\TableGateway; | |
| use Zend\Db\Adapter\Adapter; | |
| use Zend\Db\ResultSet\ResultSet; | |
| class AlunoTable | |
| { | |
| protected $tableGateway; |
This file contains hidden or 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 | |
| /** | |
| * Zend Framework (http://framework.zend.com/) | |
| * | |
| * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository | |
| * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | |
| * @license http://framework.zend.com/license/new-bsd New BSD License | |
| */ | |
| namespace Aluno; |
This file contains hidden or 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 | |
| $title = 'Alunos'; | |
| $this->headTitle($title); | |
| ?> | |
| <h1><?=$this->escapeHtml($title)?></h1> | |
| <p> | |
| <a href="<?=$this->url('aluno', array('action'=>'add'))?>">Novo aluno</a> | |
| </p> | |
| <table class="table"> |
This file contains hidden or 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 | |
| namespace Aluno\Form; | |
| use Zend\Form\Form; | |
| class AlunoForm extends Form | |
| { | |
| public function __construct($name = null) | |
| { | |
| parent::__construct('aluno'); |