Zend-framework Questions
Ad
how to get the number of weeks of current year using Zend_Date class
How can we get number of weeks of current year, for example if it's 2009 there are 53 weeks and 2010 has 52
How to get the number of weeks in a particular year? Also how to get the current year using zend?
1 <?php 2 // get number weeks of year for 2008 3 // result 52 4 echo date("w", mktime(0,0,0,12,28,2008)); 5 ?>
Zend_Db: How to get the number of rows from a table?
I want to find out how many rows are in a table. the database that i am using is a mysql database. i already have a db_table class that i am using
Zend Framework how to get the number of item in the loop ? partialLoop partialCounter and?
I want to to make a particular processing for the last item of a partialloop, the
How to implement a sidebar in Zend Framework
How do i implement a sidebar in zend framework? i know that i can use a placeholder or something similar in zend_layout, but how do i
Best practice creating dynamic sidebar with zend framework
What is best practice to create dynamic sidebar or other non content layout places with zend framework. at this moment i created controller witch
Zend Framework: setting a Zend_Form_Element form field to be required, how do I change the validator used to ensure that the element is not blank
When using a zend_form, the only way to validate that an input is not left blank is to do
How can I use Tier Pricing with Configurable Products? (Magento 1.4+)
How can i use/setup tier pricing with configurable products? (magento 1.4+) there was an extension to do this but i think
What happens to the Zend Framework routing tables when you change the site to a subfolder?
Does anyone know exactly what happens when you change your zend site at, say, foo.com/ to foo.com/subfolder/ ? i notice
Is there a function in Zend Framework to handle file uploads?
Zend framework makes development a lot easier; for instance there is a getpost function from the zend_http that handles post parameters.
Ad
Using Zend_Filter_Input, are Filters or Validators processed first?
When using zend_filter_input, are filters or validators processed first?
Custom Filters/Validators in Zend Framework
I have a zend framework application structure as below: /application /library /zend /core /filter
Error with the ZF tool while setting up the GuestBook Application
Iam trying to set up the guestbook application which comes with zend framework tutorial , iam following the steps one by one, however when
How to solve the case when users surf to index.php
In zend framework, using the mvc, if a user surf explicitly to
Reply to email, see old email content/reference. Do I have to add it manually?
I am unsing zend-mail to reply to emails and laravel-imap to retrieve emails. i found that i need to set email headers
How to make parameter optional in Zend Framework Router
I would like to know the .ini config file setup to make a route wherein the page number parameter is optional so that
Zend Router overwrites post variables from form
We are using the zend router and it seems that its overwriting the parameters that are sent by forms. the only parameters that arrive to the
Why am I getting a router error for a static route?
I have in my bootstrap public function initroutes() { $router = new zend_controller_router_rewrite(); $route = new
How to specify a dynamic default for a key in a router, Zend Framework
This question is linked to this one
adding a Route to the a Router in Zend Framework
I am using the mod-rewrite router. i am trying to add a route to the router that will convert the following url:
How to detect negative number in Zend Framework Router Regex
I have the following .ini configuration working fine for positive integers, but not negative integers. routes.nd.type =
Ad
Add Zend_Navigation to the View with old legacy bootstrap
I've been struggling with zend_navigation all weekend, and now i have another problem, which i believe has been the cause of a lot of my
How does Module bootstrap work for default module?
I've setup my application with two modules, one for admin and other for the rest of application called default. then i've created a bootstrap file
zendframework baseUrl view helper in bootstrap
My website uses the zend framework and runs in a sub folder, for example:
Using application.ini for configuring Zend_Application Bootstrap
I have written custom resources for my zend_application bootstrap. in
Weird issue with Zend_Framework bootstrap
I am trying to setup the zend framework on a windows machine and i get this error: fatal error: class
Zend Framework - get front controller from bootstrap?
I'm trying to implement routes into my bootstrap file with this code ; protected function _initroutes() { $router =
How to register Zend_Log in the bootstrap of a ZF 1.8+ application?
So i want to start logging in my zend framework application. i want to register the logger somewhere in my bootstrap so that i can easily access
How to access URL parameters in bootstrap
I'm trying to capture a url parameter in my bootstrap file but after several attempts i'm not able to do it. i've tried this but it does
How to Retrieve the Request Object in the Bootstrap File? Zend Framework/PHP
Anybody know how to retrieve the request object in the bootstrap file of zend framework mvc. just trying to repopulate a form that is included on
How to bootstrap Zend_Test_PHPUnit_ControllerTestCase with Zend_Application?
I am used to writing unit tests in zend framework 1.9 using phpunit_framework_testcase for my application. now i am trying to
Is there a way to redirect the browser from the bootstrap in Zend Framework?
I need to redirect according to some conditions in the bootstrap file. it is done after the front controller and routes are defined. how
Ad
Checking for empty values when saving into multiple tables with ZF2
I'm using zf2 and mysql, but the question is platform-independent. i have a data transfer object organization that gets hydrated from
Namespace/Mymodule/Block/Item.php file code not accessible on frontend after adding through xml
I am working on a module e.g "mymodule", in which i need to filter the results. i.e. for partners i created
How can I initialize Zend_Form_Element_Select with a config array?
I tried: $form->addelement( 'select', 'salutation', array( 'required' => true, 'options' =>
Change Routing in Zend Framework for SEO
I am new to zend framework and using framework 2.0 , and i want user friendly url for my site. right now my url for contact us page is
Print vs Screen layout in Zend Framework
I am using a 'skins' approach to loading css into my zend framework site. from layout.phtml:
Can I set the Database adapter to use permanently from within a Zend_Db_Table_Abstract Class?
I have 2 databases that my site uses including a central user database that relates to other site-specific databases. sometimes it is
How to use dompdf within Zend-Framework?
I have the following code inside my controller but i can't open the pdf it produces. $html = "<html><head><meta
Could not retrieve a valid Token response from Token URL + Twitter API
I am doing the login using twitter in my zend framework application. but after authenticating from twitter it showing the following error :
Accessing product and category information from a custom PHP script in Magento
What i'm trying to do is gain access to all of my product and category information in a particular store from a custom php script in magento. i
Zend_Mail and =0D=0A=3D=3D=3D=3D=3D
I'm writing a help desk pipe handler to pipe incoming e-mails as helpdesk ticket replies. some e-mails are coming in perfectly fine, others are
How to find "FooBar" when seaching "Foo Bar" in Zend Lucene
I'm building a search function for a php website using zend lucene and i'm having a problem. my web site is a shop director (something like that).
Ad
Install ZF2 modules on windows 7 by using composer.json
I have just started to explore zf2 and trying to install modules. have downloaded zip for zfcadmin and zfcuser and added them manually but no
Dynamically include .js files from Zend_Controller_Action?
I came across the case where depending on the execution path i may need to invoke an inclusion of .js file from controller. is there a nice way of
Zend error SQLSTATE[HY000] [1045]
I am having trouble with zend framework and connection with database, i'm trying to create a login, the table is created, and the code apparently
'PDOException' with message 'SQLSTATE[HY000] [2002] zend framework
Any one plz tell me why i am getting this error ?? firstly my internet connection was good today its not good so i am getting this error.how can i
"SQLSTATE[HY000]: General error" in Zend Framework
I've been working in zend framework for over a year now, but i've never encountered this issue. i am developing on my local machine running php
How to connect MSSQL database with the Zend Framework 3 in windows 7 machine?
I'm trying to connect mssql database with zend framework 3. but i have connected mssql with normal php code in my windows machine. for
Rewrite problem, /controller/action instead of /folder/file.php
I have a script of calling kcfinder. window.open('/kcfinder/browse.php?type=files', ...); it must open a window
Do I have to use .ini configuration with Zend Framework?
I am learning zend framework recently. i followed zend framework quickstart and...it was great. one thing i did not like was using .ini file to
Unable to Connect error with Zend_Rest_Client on localhost
I am using zend_rest_client to connect zend_rest_server, everything seems to be alright, but when i try to
Route-problem regarding Url-encoded Umlauts (using the Zend-framework)
Today i stumbled about a problem which seems to be a bug in the zend-framework. given the following route: <test>
How to generate pdf files _with_ utf-8 multibyte characters using Zend Framework
I've got a "little" problem with zend framework zend_pdf class. multibyte characters are stripped from generated pdf files. e.g. when i write
Ad
PHP Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message '501 <>: missing or malformed local part
Hi guys all of a sudden i'm getting this error in my zend program where i am trying to send an email. i have no idea whats wrong here :(
PHP - Google translation version 2 is not working with PHP curl, what is causing 403 return error?
I have the zf first old function working before but somehow zf it was failing, and then i made the unittest module. i am trying to use the
Zend 2 challenge :How to configure Zend Framework 2 to hold generic template outside a module?
I am new to zf 2 and just trying to render generic layout outside a module's view directory. at the moment ,i have a module "categories"
Zend Framework: Fatal error when trying to use Zend Mail Transport to send multiple emails with attachments
I don't totally understand how all this works, but i'm getting this error: fatal error: allowed memory size of 8388608 bytes exhausted
com_create_guid() is not defined : returns fatal error
I am using php 5 on my dedicated linux server 5.2.6 (cli) (built: may 7 2008 01:11:22) copyright (c) 1997-2008 the php
Zend Framework 3 - Meta tags weirdly escaped - impact on canonical url?
I got the following source code generated by zend framework 3 headmeta view helper: <meta http-equiv="x-ua-compatible"
What is the correct approach to the single sql query cache in ZF2?
I look through the documentation for zenddb, and i can not find any answers on how to cache individual queries (rowset objects). i know
Ad
Blog Categories
Ad