function __construct($ownerTypeID, \CUser $user = null) { $this->ownerTypeID = CCrmOwnerType::IsDefined($ownerTypeID) ? $ownerTypeID : CCrmOwnerType::Undefined; parent::__construct(CCrmOwnerType::ResolveUserFieldEntityID($this->ownerTypeID), $user); $this->setNamePrefix('crm'); }
/** * Returns list of user fields in Legacy way * * @param mixed[] Order array. * @param mixed[] Filter array. * * @return DBResult */ public function getList($order = array(), $filter = array()) { return parent::getList($order, $filter); }