예제 #1
0
 /**
  * Enter description here...
  *
  * @param array $RecordSet
  * @return UserCollection
  */
 private function doLoad($RecordSet)
 {
     $ContentCollection = new ContentCollection();
     foreach ($RecordSet as $Row) {
         // i_ID, i_Menue_ID, i_Command_ID, s_Name, i_Option_ID, i_Group_ID
         $ContentCollection->add(new Content($Row['i_ID'], $Row['s_Name'], $Row['i_Position'], $Row['i_Menue_ID'], $Row['i_ContentGroup_ID'], $Row['i_View_ID'], $Row['i_Command_ID']));
     }
     return $ContentCollection;
 }