Questions tagged as 'zend'

1
answer

How to insert style into a Zend_Form_Element_Select element?

How can I insert a style into a option element using Zend_Form? I'm using Zend Framework 1 .     
asked by 20.01.2014 / 20:47
4
answers

Permission error when trying to access database [closed]

   Error: SQLSTATE [28000] [1045] Access denied for user 'root' @ 'localhost'   (using password: YES)     
asked by 06.02.2014 / 21:19
1
answer

Problem creating "Zend_Session"

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...
asked by 24.01.2014 / 00:05
1
answer

How to populate a select or checkbox dynamically using annotations in the Zend Form ZF 2?

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...
asked by 13.07.2015 / 21:40
2
answers

Problems with layout in Zend

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...
asked by 17.12.2013 / 20:16
1
answer

Correct syntax for SELECT and INNER JOIN in Zend

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...
asked by 19.11.2014 / 20:38
2
answers

Update in Zend 2

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...
asked by 24.02.2014 / 23:08
3
answers

Error performing a database query

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',...
asked by 31.01.2014 / 00:09
1
answer

What will be the difference between Zend Framework 3 and Zend Expressive?

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...
asked by 21.07.2016 / 01:16
1
answer

Run PHP application (Zend Framework) on the server

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...
asked by 15.04.2015 / 03:57