Fordnox

Life is about trust

Subscribe to Fordnox
Technorati
del.icio.us
January-10-10

Default Zend Framework Layout

posted by Andrius
< ?php echo $this->doctype() ?>
<html>
<head>
    < ?php echo $this->headTitle() ?>
    < ?php echo $this->headLink() ?>
    < ?php echo $this->headStyle() ?>
</head>
<body>
    < ?php echo $this->layout()->content ?>
    < ?php echo $this->headScript() ?>
</body>
</html>
August-2-09

Preparing for ZFC exam

posted by Andrius
November-13-08

Zend Framework Soap server

posted by Andrius

Thanks for great explanation Viktorai Agejevai

Server class has function:

/**
* @desc Get Product info by product_id
* @param int $product_id
* @return array
*/
public function getProduct($product_id)
{
	$result = array(
		"product_id"=>$product_id,
		"title"=>'Product Title'
		);
	return $result;
}

Client get response:


	
	  product_id
	  2
	
	
	  title
	  Product Title
	

I want this response to be like this:


	
2

	

How do i do that ?