PHP Classes

errors in AllThis.php

Recommend this page to a friend!

      PHP JSON DB Class  >  All threads  >  errors in AllThis.php  >  (Un) Subscribe thread alerts  
Subject:errors in AllThis.php
Summary:wrong line 75
Messages:3
Author:Stefan Drugda
Date:2015-10-19 10:06:21
 

  1. errors in AllThis.php   Reply   Report abuse  
Picture of Stefan Drugda Stefan Drugda - 2015-10-19 10:06:21
in line 75-76 AllThis.php
missing:
$User->getRelative("Adress");

  2. Re: errors in AllThis.php   Reply   Report abuse  
Picture of Maicon gonçalez Maicon gonçalez - 2015-10-19 12:58:21 - In reply to message 1 from Stefan Drugda
Sorry,
getRelative

will get the models related to the current model! If there does not return the error.
I will fix the example. Thank you!

  3. Re: errors in AllThis.php   Reply   Report abuse  
Picture of Maicon gonçalez Maicon gonçalez - 2015-10-19 13:50:56 - In reply to message 1 from Stefan Drugda
Updated examples and repaired a small bug! Thank you.

Relative get - is not required, you may decide to use or not. Even if you there is related data!

Sorry my bad english!