Fix : Error on fetchAll on line

This commit is contained in:
Lucas Marcouiller 2021-10-22 11:55:21 +02:00
parent 0f6cafb719
commit b3f15167dc

View File

@ -111,4 +111,20 @@ abstract class CommonObjectLine extends CommonObject
return -1;
}
}
/**
* Empty function to prevent errors on call of this function must be overload if usefull
*
* @param string $sortorder Sort Order
* @param string $sortfield Sort field
* @param int $limit offset limit
* @param int $offset offset limit
* @param array $filter filter array
* @param string $filtermode filter mode (AND or OR)
* @return int <0 if KO, >0 if OK
*/
public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = 0, array $filter = array(), $filtermode = 'AND')
{
return 0;
}
}