Hi

Trying to make a tooling-provider of my own, but when I run zf --help,
they do not show up.

I tried the examples from
http://framework.zend.com/wiki/display/ZFDEV/Zend_Tool+Developer+Tutorial+Part1

Made the file /usr/share/php5/My/HelloProvider.php with this content:
<?php 
 
class My_HelloProvider implements Zend_Tool_Framework_Provider_Interface
{ 
    public function say() 
    { 
        echo 'Hello World!'; 
    } 
} 

When I run

zf show phpinfo|grep "include_" 

i get this output:

include_path =>
/home/gartneri/hosts/zf_tools:.:/usr/share/php5:/usr/share/php5/PEAR =>
.:/usr/share/php5:/usr/share/php5/PEAR
safe_mode_include_dir => no value => no value

As far as I can see /usr/share/php5 is indeed in my include_path.

But running zf --help does not list the Hello-provider.

What does it take to get zf to list my own providers?

zf show version gives:
Zend Framework Version: 1.10.2

-- 
Mads Lie Jensen - [email protected] - ICQ #25478403
Gartneriet - http://www.gartneriet.dk/

Reply via email to