Hi,
how can i get the video-id of a just uploaded Youtube movie?
I'm using this code:
$yt = new Zend_Gdata_YouTube($httpClient);
// create a new Zend_Gdata_YouTube_VideoEntry object
$myVideoEntry = new Zend_Gdata_YouTube_VideoEntry();
// create a new Zend_Gdata_App_MediaFileSource object
$filesource = $yt->newMediaFileSource('mytestm...
In terms of project scale, doctrine vs zend-db-table speed and performance, when should I use doctrine inside Zend project, and when zend-db-table?
...
Hi,
Does anyone know how many questions you can get wrong in the Zend PHP Certification Exam without failing it? It doesn't say anywhere on the Zend site it just says you can either pass it or fail it(I figured as much myself).
...
I want to run Zend site under an alias on WAMP. I am able to setup alias, but when I copy a working Zend site there and modify .htaccess to include "RewriteBase /alias", it still does not work. Error messages tell me that controller not found. Mainly this is what happen:
I have: server.com/alias
With Zend file structure inside (applicat...
Hi
I'm new to php and I'm using xampp, eclipse pdt, xdebug. I've set xdebug so that I can debug my site on apache but when I click 'debug as web page' in the eclipse ide only the breakpoint in the public/index.php and in the views get hit. If I put a breakpoin here
public function indexAction()
{
// action body
$this->view->s ...
Hi, is it possible (if not then whats the easiest way to) transfer a site created on a local server using zend framework to a hosted server by an isp. Is it even possible to create a site using the zend framework on an isp's server.
...
I started getting the following error today, but don't know why and what caused it.
[31-May-2010 03:52:10] PHP Fatal error: Cannot run code from this file in conjunction with non encoded files in ZendFramework-1.10.5/library/Zend/Validate/Hostname/Com.php on line 547
I'm using zend framework version 1.10.5; although version 1.09 also ...
I made a menu with zend_navigation, using an ini file.
That work well. If I look at the code, i see that zend has added a class, to the ul element.
With a name that i use in my ini file.
But now I want to add also a id to the ul element.
How can I do this?
protected function _initNavigation()
{
$this->bootstrap('layout');
$lay...
0
I am trying to debug php CLI using Zend Studio. My problem: I can't get user input from keyboard.
This is part of code (method in some class):
public function getInput($promt = null, $defaultValue = null) {
if(!isset($promt)){
$promt = self::$DEFAULT_PROMPT;
}
echo $promt;
$stdin = fopen ( "php://stdin", "r" ...
Hi,
i simply can't find a solution to my problem!
The quantity field worked as it should. After a few months of programming on the whole shop, i wanted to test the quantity field and recognized that it doesn't function.
I only can add one product to the cart although i typed “3” in the quantity field.
I didn’t change anything in produ...
Hi sorry if this is a naive question, but what did people do before mvc frameworks became so popular? All you hear of nowadays, and im talking php here, are mvc, Zend etc but what did developers do beforehand?
Are there some developers who use the mvc pattern but without a framework - if so how do they do this and is it really complica...
I have a schedule controller with four actions:
class ScheduleController extends Zend_Controller_Action {
public function indexAction(){ ... }
public function viewAction(){ ... }
public function addAction(){ ... }
public function deleteAction(){ ... }
}
So I've set up Zend_Navigation with an array like so:
array...
Hi all
i have the codes below
class ReservationController extends Zend_Controller_Action
{
public function init()
{
}
public function indexAction()
{
$this->_helper->viewRenderer->setNoRender();
$this->_helper->layout->disableLayout();
$soap = new Zend_Rest_Server();
$soap->setClass...
Hi There,
I am trying to write a commenting system with Zend and Mootools, basically mootools provides and modalbox and Zend processes the comment etc. My issue is that I cannot get the ID of the post that the user is commenting on to move from Javscript to PHP. I think it is because the Modal window is an iFrame essentially. Below is...
We have a site built in Zend Framework and we're using the Zend Soap client.
I'm having trouble with one of the soap requests:
It's expecting data in this form
<CustomerForm>
<CustomerFormRow>
<CuisineType>3</CuisineType>
<CuisineRestaurant>True</CuisineRestaurant>
<Nu...
I have a Zend Controller that serves files to users
I have used Noginn SendFile action helper to do the actual streaming of the file, but the code simply uses readfile($path) to place the content of the file into the buffer after setting the MIME and content type etc
The problem is that the file that arrives down the pipe has an extra ...
hi there
when i build my web site it was handling only one interface but now i need to handle many interface
i can detect which site to communicate and isolate it from other sites but i stuck with this :
all the sites have the same views ...
is there are a way so i can rander from the same controller different views .. something like...
Hi there!
I'm using Zend framework, and most of the action controller that I have return XML response.
In order to do this, I have to initialize context switching and provide URL suffix "?format=xml" to call each action.
Is there any way to make this default? So I don't have to add this suffix each URL?
Regards, Andree.
...
Hi,
In zend project have rules default for calling classes that say to put folder class structure before class name.
Example: class Application_Model_DbTable_Albums means:
that this class inside folders: Application->Model->DBTable,
if its called Just class Albums he will be unrecognized.
How Can be Zend application be configured fo...
routes.info.route = "info"
routes.info.defaults.module = "default"
routes.info.defaults.controller = "index"
routes.info.defaults.action = "info"
http://localhost/info/
Exception information:
Message: Invalid controller specified (info)
Request Parameters:
array (
'controller' => 'info',
'action' => 'index',
'module' => 'd...