コード例 #1
0
ファイル: restservice.php プロジェクト: mrdeadmouse/u136006
 function __construct($ownerTypeID, \CUser $user = null)
 {
     $this->ownerTypeID = CCrmOwnerType::IsDefined($ownerTypeID) ? $ownerTypeID : CCrmOwnerType::Undefined;
     parent::__construct(CCrmOwnerType::ResolveUserFieldEntityID($this->ownerTypeID), $user);
     $this->setNamePrefix('crm');
 }
コード例 #2
0
ファイル: userfield.php プロジェクト: DarneoStudio/bitrix
 /**
  * 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);
 }