AMF-Perl
view release on metacpan or search on metacpan
doc/examples/sql/DataGlue.as view on Meta::CPAN
// test w/ combobox, listbox, tree, chart?
_global.DataGlue = function(dataProvider)
{
this.dataProvider = dataProvider;
}
// specify a format string for each line of text
_global.DataGlue.bindFormatStrings = function (dataConsumer, dataProvider, labelString, dataString)
{
var proxy = new DataGlue(dataProvider);
lib/AMF/Perl/Util/RemotingService.pm view on Meta::CPAN
foreach my $key (keys %{$self->methodTable})
{
my $method = $self->methodTable->{$key};
if ($method->{"access"} eq "remote" && $key ne "__describeService")
{
push @functions, {
"description" => $method->{"description"},
"name" => $key,
"version" => "1.0",
"returns" => "testing",
#"arguments" => {}
};
}
}
$description->{"functions"} = \@functions;
return $description;
}
1;
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 1.t'
#########################
# change 'tests => 1' to 'tests => last_test_to_print';
use Test;
BEGIN { plan tests => 1 };
use AMF::Perl;
ok(1); # If we made it this far, we're ok.
#########################
# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.
( run in 0.261 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )