Posts Tagged ‘zend framework’

Default Zend Framework Layout

No Comments »
< ?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>

Preparing for ZFC exam

1 Comment »

Decided to write this post, because no information on the Google returns with query “Preparing for Zend framework exam”, about what peaople are actually studying before taking Zend Framework sertification exam. Some of them shared their thoughts “after” passing exam.

http://www.dragonbe.com/2008/10/zend-framework-certified-engineer.html
http://www.techfounder.net/2008/12/30/zend-framework-certification
http://www.ibuildings.com/resources/newsletter/archive/february-09/zend-framework
http://zendstyle.wordpress.com/2009/05/28/zend-framework-exam/
http://zendstyle.wordpress.com/2009/06/03/advices-for-the-zf-exam/
http://friendfeed.com/aurelijus/096c9312/yay-just-passed-zend-framework-certification

So I would like to share my practice “before” taking ZFC exam. Read the rest of this entry »


Zend Framework Soap server

3 Comments »

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 ?