/** * Creates an enumeration on this Tenant * @deprecated Please create a SingleInstance or MultipleInstance property instead. * @param unknown $name * @param string $description * @param string $choices * @return \PhoenixSNS\Objects\TenantEnumeration */ public function CreateEnumeration($name, $description = null, $choices = null) { global $MySQL; if ($choices == null) { $choices = array(); } $item = new TenantEnumeration($name, $description, $choices); $item->Tenant = $this; $item->Choices = $choices; $item->Update(); return $item; }