Comments for Remember the code? http://code.neox.net a place where I store my secret powerful coding snippets, or just to remember how to do things Tue, 27 Mar 2012 04:19:08 -0500 http://wordpress.org/?v=2.8 hourly 1 Comment on Eclipse PDT Code Completion and Zend Framework by Anthony http://code.neox.net/2009/03/10/eclipse-pdt-code-completion-and-zend-framework/comment-page-1/#comment-6074 Anthony Tue, 27 Mar 2012 04:19:08 +0000 http://code.neox.net/?p=38#comment-6074 Perfect! Just want to say thank you for finding this out. Your option 3 worked well for a project that was using WSDL generated classes and saved me a heap of time! Perfect! Just want to say thank you for finding this out. Your option 3 worked well for a project that was using WSDL generated classes and saved me a heap of time!

]]>
Comment on Eclipse PDT Code Completion and Zend Framework by ninos http://code.neox.net/2009/03/10/eclipse-pdt-code-completion-and-zend-framework/comment-page-1/#comment-116 ninos Fri, 19 Feb 2010 08:17:56 +0000 http://code.neox.net/?p=38#comment-116 Thanks, that worked :D Thanks, that worked :D

]]>
Comment on Eclipse PDT Code Completion and Zend Framework by HanaDaddy http://code.neox.net/2009/03/10/eclipse-pdt-code-completion-and-zend-framework/comment-page-1/#comment-114 HanaDaddy Thu, 18 Feb 2010 17:22:41 +0000 http://code.neox.net/?p=38#comment-114 How about this? <pre lang="php"> class MyObject { var $member; public function MyObject() { } } /** * return a list of MyObjects * * @param int $int * @return mixed $ret */ function testf (){ $arr=array(new MyObject(),new MyObject()); return $arr; } $ret=testf(); for ($i=1; $i < 2; $i++){ /* @var $obj MyObject */ $obj=$ret[$i]; $obj-> //Here the code completion works for me } </pre> How about this?

class MyObject {
 
	var $member;
 
	public function MyObject() {
 
 
	}
}
 
 
 
/**
* return a list of MyObjects
*
* @param int $int
* @return mixed $ret
*/
function testf (){
 
	$arr=array(new MyObject(),new MyObject());
 
	return $arr;
}
 
 
$ret=testf();
 
for ($i=1; $i < 2; $i++){
 
	/* @var $obj MyObject */
	$obj=$ret[$i];
 
	$obj->  //Here the code completion works for me 
}
]]>
Comment on Eclipse PDT Code Completion and Zend Framework by ninos http://code.neox.net/2009/03/10/eclipse-pdt-code-completion-and-zend-framework/comment-page-1/#comment-113 ninos Thu, 18 Feb 2010 06:30:24 +0000 http://code.neox.net/?p=38#comment-113 Hi, How can you specify the object type within an array? say for example, a method returns an array of MyObject, how would you write that in the doc help comments? I tried /** * return a list of MyObjects * * @param int $int * @return Array[MyObject] */ Hi,
How can you specify the object type within an array?

say for example, a method returns an array of MyObject, how would you write that in the doc help comments?

I tried
/**
* return a list of MyObjects
*
* @param int $int
* @return Array[MyObject]
*/

]]>
Comment on Eclipse PDT Code Completion and Zend Framework by HanaDaddy http://code.neox.net/2009/03/10/eclipse-pdt-code-completion-and-zend-framework/comment-page-1/#comment-87 HanaDaddy Tue, 27 Oct 2009 20:31:59 +0000 http://code.neox.net/?p=38#comment-87 That's a great tip ! Thank you Roy. That’s a great tip ! Thank you Roy.

]]>