oneDArray

Navigation:  Development > Function Reference > InformationSet >

oneDArray

Previous pageReturn to chapter overviewNext page

Return date in a one dimensional array format.

 

App::InformationSet(NAME)->oneDArray([SKEY],[SVAL])

 

For example:
 
$data = App::InformationSet('blogpost')->oneDArray("id","title");
pre($data);
 
/*Array
(
   [1] => How to Install appRain
   [2] => Work with Page and UI Hooks
   [3] => Application and Addons  
   [4] => Learn how to create a Helper
   [5] => Interface Builder and Admin Panel Links
   [6] => Boot Router
)*/