As the attached image I can not use the span when I move to the Cake pattern. Can someone help me, pfv.
<div class='col-md-12'>
<div class="input-group" >
<!-- Span Bootstrap -->
<span class="input-group-addon" i...
I would like to know how to call a method of a component that I created in CakePHP 3 on all controllers, as well as Auth that checks whether the user is logged in or not on all controllers. However I also want to be able to call another method o...
I'm learning about cakephp and would like some help.
I have to do the sum of a column in my table (Use Postgres).
I'm trying to use the sum () function of the cake itself.
My controller
use Cake\ORM\TableRegistry;
public function ind...
My controller has the following verification:
$this->loadModel('User');
$this->loadModel('Conta');
$this->loadModel('Unidade');
$this->loadModel('Periodicidade');
$this->loadModel('AgendamentoFinanceir...
I have a problem with my CakePHP , I am completely new to this framework and my erro is as follows:
2017-05-01 10:09:45 Error: [MissingControllerException] Controller class PagesController could not be found.
E...
I have two distinct database clients and tickets .
Where in the clients_tickets table of the clients database a configuration is stored that I need to access certain values in tickets . So I tried to use construct of cakephp...
I have a model called doctor who belongs to a city, and belongs to a specialty code:
App::uses('AppModel', 'Model');
class Medico extends AppModel {
public $belongsTo = array(
'Cidade' => array(
'className' => 'Cidade',...
In my database I have some fields with type Date. Therefore the data is stored in '2016-01-23' format.
However, when I retrieve this data to display it in VIEW, it appears in '23 / 01/16 'format and needs to be left in '23 / 01/2016' format.
I k...