wingmingchan / php7-cascade-ws-ns Goto Github PK
View Code? Open in Web Editor NEWThe reusable code library for Cascade web services written in PHP 7.
The reusable code library for Cascade web services written in PHP 7.
When attempting to retrieve a format with via soap and the following call:
$f = a\Format::getFormat( $service, $id );
I receive the following error:
Fatal error: Uncaught Error: Using $this when not in object context in php7-cascade-ws-ns/cascade_ws_ns7/asset_classes/Format.class.php:129
Is this local to my instance of cascade server or an issue with the library in general or maybe I should be doing this in a different manner now? This code did work as expected in the past (previous version of cascade server and previous version of your library) but I am now experiencing the error above.
Hi, Wing!!! I noticed in cascade_ws_ns7_8.8 that on creating an asset, the debug utility dump method was called. I had a look, and in my copy of the code I added the following on line 3591 to match your convention:
if( self::DEBUG ) { u\DebugUtility::dump( $std ); }
I hope you're well!
Thanks,
Mark
Hi, Wing!
I'm using your sync example, and it's fantastic! I was getting a null service exception when running $instances->updateMetadatasetContainer() and noticed that the MetadataSet.class.php called for a new DynamicMetadataFieldDefinition in two places where the service wasn't being passed in. I've attached the updated code. Thanks again for all you do!
MetadataSet.class.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.