Using PHP 5.3 namespaces (Doctrine2) with Zend Framework classes -


itemprop = "text">

I have a situation where my theory model, posted , is being in the name space < Code> applications \ organizations \ / code> and I want to try implementing Zend_Acl_Resource_Interface . I get an error

Fatal error: Interfaces 'applications \ units \ Zend_Acl_Resource_Interface' was not found in D: \ Projects \ Websites \ php \ ZendFram ework \ LearningZF \ library \ Application \ Entities \ Post. Php on line 8

  namespace application \ body; Use the proposed extension \ NestedSet \ Node; / ** * @Entity @Table (name = "post") * Applying / class post node, Zend_Acl_Resource_Interface { 

update

If I try < Serious error: Interface did not get in 'Zend_Acl_Resource_Interface' D: \ Projects \ websites \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \ Php \ ZendFramework \ LearningZF \ library \ application \ entities \ post.php line 8 on

Whether you're using or stable one, eg 1.10? ZF is your autoloader setup to load classes with naming scheme

You can use the conversion tool ZF Devs namespace to use to convert ZF :?


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -