php - Accessing a specific object by name/number? -


i'm returning data, , testing return using var_dump($this);. returns following:

object(reportingservice)#333 (2) {   ["_arrerrors"]=>   array(0) {   }   ["namews"]=>   string(14) "reportingstuff" } {"arrmessages":[{"_strmessage":"example.","_strtype":"valid","_strmodule":null}],"arrcontent":{"issuccess":"1","statistics":"<div id=\"entities\"> 

what trying access namews property of object, cannot seem so.

what i've tried:

var_dump($this[0]->namews); 

use following:

$this->namews; 

you find more information in manual setting , getting object properties


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -