Exemplo n.º 1
0
 function __construct($ownerTypeID, \CUser $user = null)
 {
     $this->ownerTypeID = CCrmOwnerType::IsDefined($ownerTypeID) ? $ownerTypeID : CCrmOwnerType::Undefined;
     parent::__construct(CCrmOwnerType::ResolveUserFieldEntityID($this->ownerTypeID), $user);
     $this->setNamePrefix('crm');
 }
Exemplo n.º 2
0
 /**
  * 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);
 }