application/Espo/Core/Utils/Metadata.php
public function getAll($isJSON = false, $reload = false)
    {
        if ($reload) {
            $this->init($reload);
        }

        if ($isJSON) {
            return Json::encode($this->data);
        }
        return $this->data;
    }
public function getAll($isJSON = false, $reload = false)
    {
        if ($reload) {
            $this->init($reload);
        }

        if ($isJSON) {
            return Json::encode($this->data);
        }
        return $this->data;
    }
public function getAll ( $ isJSON = false , $ reload = false ) { if ( $ reload ) { $ this -> init ( $ reload ) ; } if ( $ isJSON ) { return Json :: encode ( $ this -> data ) ; } return $ this -> data ; }
Get All Metadata context

@param $isJSON
@param bool $reload

@return json | array
Get All Metadata context