Code Monkey home page Code Monkey logo

Comments (5)

msyk avatar msyk commented on June 26, 2024

@myurtsev, thanks for reporting.

So, why don't you use the getPortalNames() and setPortalName() methods? As far as my code shows, the portalName property is private.

from fmdataapi.

myurtsev avatar myurtsev commented on June 26, 2024

Sorry, 'portalName' was a bad example. I mean the data in "portalData", not the private property.

In my case, I tried:

$record->programmas_PROGRAMMA_FOTOS

Schermafbeelding 2019-07-03 om 09 55 19

from fmdataapi.

msyk avatar msyk commented on June 26, 2024

Sorry, I can't get the reason so far. The error message 'Trying to get property 'portalDataInfo' of non-object' means to access the portalDataInfo property, but the all portalDataInfo property access are doing after checking to exist the portalDataInfo property.

If you don't mind, could you show me your code and FMDB?

from fmdataapi.

myurtsev avatar myurtsev commented on June 26, 2024

$show = $fmdb->web_shows->query( array(array('slug' => $slug, "showOnWeb"=>1)) );

When I dump $show, it shows all the data including the portal data. Then when I try to get the portal data:

$show->programmas_PROGRAMMA_FOTOS

It throws the error mentioned above.

from fmdataapi.

msyk avatar msyk commented on June 26, 2024

@myurtsev Sorry for late. Could you check to contain the 'portalDataInfo' property in the 'data' property of $show variable?

from fmdataapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.