Example #1
0
 static function getProfessions($parent_id)
 {
     $profession = new professions();
     return self::sdgJSONencode($profession->retCategorysByParentIds($parent_id, array('id', 'name')));
 }