[Cartoweb-users] Send data from client to server part in a Plugin
Alexandre Saunier
alexandre.saunier at camptocamp.com
Wed Jul 19 04:37:19 EDT 2006
Hello,
you have defined class ExportFileResult inside of class ExportFileRequest!
That seems quite illegal! ;)
See code below.
Jacolin Yves wrote:
> Here the content of the ExportFile.php in common directory :
>
> <?php
> require_once(CARTOWEB_HOME . 'common/CwSerializable.php');
>
> class ExportFileRequest extends CwSerializable {
>
> /**
> * filepath of the zip
> * @var string
> */
> public $filepath;
>
> /**
> * @see CwSerializable::unserialize()
> */
> public function unserialize($struct) {
> $this->filepath = self::unserializeValue($struct, 'filepath',
> 'ExportFile');
> }
>
> /**
> * Result
> * @package Plugins
> */
> class ExportFileResult {}
>
> }
> ?>
More information about the Cartoweb-users
mailing list