Created
October 4, 2017 20:54
-
-
Save gustvvo/0bbf127c109c7ea4b65141dfab71e5c7 to your computer and use it in GitHub Desktop.
Listar Grupos de trabajo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CModule::IncludeModule("socialnetwork"); | |
$res1 = array(); | |
$res = CSocNetGroup::GetList( | |
$arOrder = array("ID" => "DESC"), | |
$arFilter = array("CLOSED" => "N"), | |
$arGroupBy = false, | |
$arNavStartParams = false, | |
$arSelectFields = array() | |
); | |
while($ar = $res->Fetch()) | |
{ | |
array_push($res1,$ar["NAME"]); | |
//echo count($ar)."<br>"; | |
echo '<pre>';print_r($ar);echo '</pre>'; | |
} | |
//echo "<pre>"; print_r($res1);echo "</pre>"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment