File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212use Contentstack \Contentstack ;
1313include_once "../src/index.php " ;
1414
15- $ stack = Contentstack::Stack ('***REMOVED*** ' , '***REMOVED*** ' , 'mobile ' );
15+ $ stack = Contentstack::Stack ('<API-KEY> ' , '<ACCESS-TOKEN> ' , '<DEVELOPMENT> ' );
1616
1717try {
18- $ result = $ stack ->ContentType ('ctwithallfields ' )->Query ()->addParam ('include_dimensions ' , 'true ' )->toJSON ()->find ();
18+ // $result = $stack->ContentType('ctwithallfields')->Query()->addParam('include_dimensions', 'true')->toJSON()->find();
1919 // $result = $stack->ContentType('ctwithallfields')->Query()->addParam('include_dimensions', true)->toJSON()->find();
2020 //$result = $stack->ContentType('ctwithallfields')->Query()->includeCount('include_dimensions', true)->toJSON()->find();
2121 //$result = $stack->ContentType('ctwithallfields')->Entry('blt8d1ab7600ba4c2b4')->addParam('include_dimensions', true)->toJSON()->fetch();
You can’t perform that action at this time.
0 commit comments