I'm trying to create a session in Zend as follows:
if (isset($_POST['login'])) {
Zend_Session::start();
$session = new Zend_Session_Namespace();
$login = explode('-', $_POST['login']);
$codigo = $login[1];
$banco = $admi...
I learned to do this with fixed values, eg:
@Annotation\Type("Zend\Form\Element\Select")
@Annotation\Options({"label":"Cidade"})
@Annotation\Attributes({"options":{"1":"São Paulo","2":"Rio de Janeiro"}})
However, how do I put these options...
I have a view that is formed by a layout different from the default one in my project, so it looks like this:
public function init() {
//Colocando o layout default
$this->_helper->layout->setLayout('layout_paginas');
}
But...
I think it's a simple question, but because I do not know 50% of Zend I'm breaking my head, so here it goes:
$sql = $db->select()
->distinct()
->from(array('cli' => 'fc_cblcli'),array('codigo','tipo','nome'))
->join...
I'm studying Zend Framework 2 and am needing a hand to do an update on two tables that are related. Come on.
I have the table entries with the fields:
id_entrada id_notafiscal
and in the fiscal_notes table the fields:
id_nota...
I'm using Zend and I have the following function:
public function getChamado($id) {
try {
$cols = array(
'id', 'titulo', 'descricao', 'fk_status', 'fk_local',
'fk_tipo', 'created', 'modified', 'finished', 'fk_usuario',...
Hello everyone, I'm wondering, in zend framework 2 although its components can be downloaded separately, normally I used a skeleton already available on zend's own website. Will zend framework 3 follow the same schema? Or you will be required to...
I'm already clear that I'm not a PHP programmer but Java, but I have to upload an application from my company to an instance in AWS (Amazon Web Services).
Well, I'm having a hard time, because it's the first time I work with projects
PHP. I h...