NYCPHP Meetup

NYPHP.org

[nycphp-talk] Zend

Tim Lieberman tim_lists at o2group.com
Mon Feb 15 15:37:38 EST 2010


Assuming you're talking about the Zend Framework, and not some product.

Unless you bootstrap the autoloading, you'll generally need to include  
the appropriate class files.  This assumes that the "Zend" directory  
(top of the class hierarchy) is in your include_path

<?PHP
include_once 'Zend/Db/Table.php';

$myTable = new Zend_Db_Table(...);
?>


-Tim

On Feb 15, 2010, at 2:04 PM, Kahlil Haynes wrote:

> If you have Zend installed on your server, can you call zend methods  
> and instantiate objects in any script or is there some extra step  
> you need to access Zend from PHP. Thanks.
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation




More information about the talk mailing list