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 | |
App::uses('AppModel', 'Model'); | |
/** | |
* ImagemTipoImovel Model | |
* | |
* @property TipoImovel $TipoImovel | |
*/ | |
class ImagemTipoImovel extends AppModel { | |
public $displayField = 'imagem'; |
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 | |
App::uses('AppModel', 'Model'); | |
/** | |
* Categoria Model | |
* | |
* @property Categorias $Categorias | |
* @property Marca $Marca | |
* @property Veiculo $Veiculo | |
* @property Opcionai $Opcionai | |
* @property Plano $Plano |
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
app/Controller/AnunciosController.php (line 668) | |
Array | |
( | |
[Anuncio] => Array | |
( | |
[contrato_id] => 13358 | |
[planos] => 13358 | |
[tipo] => 4 | |
[model] => motos |
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 | |
App::uses('AppModel', 'Model'); | |
/** | |
* Anuncio Model | |
* | |
* @property Contrato $Contrato | |
* @property Veiculo $Veiculo | |
* @property AnuncioFoto $AnuncioFoto | |
*/ | |
class Anuncio extends AppModel { |
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 | |
/** | |
* This is core configuration file. | |
* | |
* Use it to configure core behavior of Cake. | |
* | |
* PHP 5 | |
* | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
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
# Second message | |
E: linux-image-3.5.0-2-generic: subprocess installed post-installation script returned error exit status 2 | |
E: linux-image-3.5.0-3-generic: subprocess installed post-installation script returned error exit status 2 | |
E: linux-image-extra-3.5.0-3-generic: dependency problems - leaving unconfigured | |
E: linux-image-generic: dependency problems - leaving unconfigured | |
E: linux-generic: dependency problems - leaving unconfigured | |
E: linux-image-extra-3.5.0-2-generic: dependency problems - leaving unconfigured | |
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 | |
// in core.php | |
Configure::write('Config.language', 'cpp'); | |
// in app/Locale/cpp/LC_MESSAGES/default.po | |
#: /cake/libs/view/helpers/form.php:1661 | |
msgid "February" | |
msgstr "Fevereiro" |
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
jQuery(function($j) { | |
$j("input#submit_busca") | |
.click( | |
function() { | |
uf_de = $j('#resultado_busca select#uf_de').val(); | |
cidade_de = $j('#resultado_busca select#cidade_de') | |
.val(); | |
uf_para = $j('#resultado_busca select#uf_para').val(); | |
cidade_para = $j('#resultado_busca select#cidade_para') |
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
teste gist |