News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stanislav Malyshev's Blog:
Adding new extensions to Zend Studio
September 08, 2010 @ 08:32:31

In a new post to his blog Stanislav Malyshev talks about how Zend Studio users can get the tool to recognize new extensions by adding in stubs with PHPDocumentor markup.

If you have some extension, create stub file with PHPDOC descriptions [...] for each extension function, Studio will know to pick it up. You can put this file into Studio's prototypes directory - easiest way to find it is just write something like chdir() anywhere, select the name and press F3, the directory of the file that you'll get is the one you need.

Not wanting to have to generate all of the stubs himself, he created the Reflector script that will, when pointed at an extension, create the stub file with definitions for each method it can use. There's also the generator script that's a part of Zend Studio that works similarly.

0 comments voice your opinion now!
zendstudio extension reflection docblock


blog comments powered by Disqus

Similar Posts

PHP Women: Article Competition (Best Practices)

Mark Karpeles' Blog: proctitle: a new step for pinetd

Marcelo Araujo's Blog: my first extension - filter_ptBR

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard

Ilia Alshanetsky's Blog: Taking suggestions for the filter extension


Community Events





Don't see your event here?
Let us know!


opinion list podcast api install package release tips language symfony laravel update deployment library introduction series interview framework community zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework