Simple port to work with KO3. Includes the minimal required Zend Framework. The only modified file is Zend/Amf/Server.php to use Kohana::auto_load instead of the ZendPluginLoader.
I will eventually add some examples.
-
This module uses the Zend Autoloader in the vendor directory and may conflict with other modules using the same autoloader...
-
I made the AMF endpoint controller so that you can easily extend it to add your own setClassMap() in the action_index() function, i.e.
class Controller_Gateway extends Controller_Amf { public function action_index() { $this->server->setClassMap ( '{actionscript package name}', '{php class name}' ); } }
-
I extended Request to check for an AMF request.
Request::is_amf()