dolibarr 21.0.0-beta
Deprecated List
Member address
Member Adherent::send_an_email ($text, $subject, $filename_list=array(), $mimetype_list=array(), $mimefilename_list=array(), $addr_cc="", $addr_bcc="", $deliveryreceipt=0, $msgishtml=-1, $errors_to='', $moreinheader='')
since V18
Member Canvas::doActions (&$action='view', $id=0)
Use the doActions of hooks instead of this. This function is called if you add a doActions class inside your canvas. Try to not do that and add action code into a hook instead.
Member Categorie::getFilterJoinQuery ($type, $rowIdName)
search on some categories must be done using a WHERE EXISTS or NOT EXISTS and not a LEFT JOIN. @TODO Replace with getWhereQuery($type, $searchCategoryList)
Member Categorie::getFilterSelectQuery ($type, $rowIdName, $searchList)
search on some categories must be done using a WHERE EXISTS or NOT EXISTS and not a LEFT JOIN
Member ChargeSociales::set_paid ($user)
Member ChargeSociales::set_unpaid ($user)
Member checkVal ($out='', $check='alphanohtml', $filter=null, $options=null)
Member Commande::set_date_livraison ($user, $delivery_date, $notrigger=0)
Use setDeliveryDate
Member Commande::set_remise ($user, $remise, $notrigger=0)
Use setDiscount() instead.
Member Commande::STATUS_ACCEPTED
Member CommandeFournisseur::set_date_livraison ($user, $delivery_date, $notrigger=0)
Use setDeliveryDate
Member CommonInvoice::TYPE_PROFORMA
Remove this. A "proforma invoice" is an order with a look of invoice, not an invoice !
Member CommonNumRefGenerator::getNom ($langs)
Use getName() instead
Member CommonObject::fetch_barcode ()
Use fetchBarCode()
Member CommonObject::fetch_project ()
Member CommonObject::fetch_projet ()
Member CommonObject::setDeliveryAddress ($id)
Member CommonObject::update_note_public ($note)
Member CommonOrderLine::$price
Member Conf::$projet
Use project
Member Contact::setProspectLevel (User $user)
Use update function instead
Member Context::generateNewToken ()
see main
Member Context::getRootUrl ($controller='', $moreParams='', $addToken=true)
see getControllerUrl()
Member Contrat::update_statut ($user)
This function will never be used. Status of a contract is status of its lines.
Member description
Member dol_fiche_end ($notab=0)
Use print dol_get_fiche_end() instead
Member dol_fiche_head ($links=array(), $active='0', $title='', $notab=0, $picto='', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limittoshow=0, $moretabssuffix='')
Use print dol_get_fiche_head() instead
Member dol_string_is_good_iso ($s, $clean=0)
Duplicate of ascii_check()
Member DolibarrDebugBar::getRenderer ()
Use getJavascriptRenderer
Member dolNumberToWord ($numero, $langs, $numorcurrency='number')
Member Expedition::set_date_livraison ($user, $delivery_date)
Use setDeliveryDate
Member ExpenseReport::set_paid ($id, $fuser, $notrigger=0)
Member ExpenseReport::set_unpaid ($fuser, $notrigger=0)
File explorer_withredoc.php
Old explorer. Not using Swagger. See instead explorer in htdocs/api/index.php.
Member Facture::set_canceled ($user, $close_code='', $close_note='')
Member Facture::set_paid ($user, $close_code='', $close_note='')
Member Facture::set_remise ($user, $remise, $notrigger=0)
Member Facture::set_unpaid ($user)
Member FactureFournisseur::set_paid ($user, $close_code='', $close_note='')
Member FactureFournisseur::set_unpaid ($user)
Member FactureFournisseurRec::$amount
Member fieldLabel ($langkey, $fieldkey, $fieldrequired=0)
Form::editfieldkey
Member Form::form_confirm ($page, $title, $question, $action, $formquestion=array(), $selectedchoice="", $useajax=0, $height=170, $width=500)
Member Form::select_conditions_paiements ($selected=0, $htmlname='condid', $filtertype=-1, $addempty=0, $noinfoadmin=0, $morecss='', $deposit_percent=-1, $noprint=0)
Use getSelectConditionsPaiements() instead and handle noprint locally.
Member Form::select_currency ($selected='', $htmlname='currency_id')
Member Form::select_date ($set_time='', $prefix='re', $h=0, $m=0, $empty=0, $form_name="", $d=1, $addnowlink=0, $nooutput=0, $disabled=0, $fullday=0, $addplusone='', $adddateof='')
Member Form::select_users ($selected='', $htmlname='userid', $show_empty=0, $exclude=null, $disabled=0, $include='', $enableonly=array(), $force_entity='0')
Use select_dolusers instead
Member FormBarCode::form_barcode_type ($page, $selected=0, $htmlname='barcodetype_id')
Member FormBarCode::select_barcode_type ($selected=0, $htmlname='barcodetype_id', $useempty=0)
Member FormCompany::select_forme_juridique ($selected=0, $country_codeid=0, $filter='')
Use print xxx->select_juridicalstatus instead
Member FormFile::show_documents ($modulepart, $modulesubdir, $filedir, $urlsource, $genallowed, $delallowed=0, $modelselected='', $allowgenifempty=1, $forcenomultilang=0, $iconPDF=0, $notused=0, $noform=0, $param='', $title='', $buttonlabel='', $codelang='')
Use print xxx->showdocuments() instead.
Member FormMail::show_form ($addfileaction='addfile', $removefileaction='removefile')
Member FormOther::select_color ($set_color='', $prefix='f_color', $form_name='', $showcolorbox=1, $arrayofcolors=[])
Use selectColor()
Member FormOther::select_year ($selected='', $htmlname='yearid', $useempty=0, $min_year=10, $max_year=5, $offset=0, $invert=0, $option='', $morecss='valignmiddle maxwidth75imp', $addjscombo=false)
Member FormProduct::select_measuring_units ($name='measuring_units', $measuring_style='', $selected='0', $adddefault=0, $mode=0)
Member FormSetupItem::reloadValueFromConf ()
Member FormSetupItem::setTypeFromTypeString ($type)
this setTypeFromTypeString came deprecated because it exists only for manage setup conversion
Member getTimelineIcon ($actionstatic, &$histo, $key)
Use actioncomm->getPictoType() instead
File json.lib.php

Use native PHP json module

Use native PHP json module

Member Ldap::close ()
ldap_close is an alias of ldap_unbind, so use unbind() instead.
Member Loan::set_started ($user)
Member mod_arctic::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_delivery_saphir::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_facture_fournisseur_cactus::getNumRef ($objsoc, $objforref, $mode='next')
see getNextValue
Member mod_facture_fournisseur_tulip::getNumRef ($objsoc, $objforref, $mode='next')
see getNextValue
Member mod_facture_mars::getNumRef ($objsoc, $objforref, $mode='next')
see getNextValue
Member mod_facture_mercure::getNumRef ($objsoc, $objforref, $mode='next')
see getNextValue
Member mod_facture_terre::getNumRef ($objsoc, $objforref, $mode='next')
see getNextValue
Member mod_pacific::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_propale_marbre::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_supplier_proposal_marbre::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_takepos_ref_simple::getNumRef ($objsoc, $objforref)
see getNextValue
Member mod_takepos_ref_universal::getNumRef ($objsoc, $objforref)
see getNextValue
Member name
Use $company
Member Paiement::valide ($user=null)
Member position
Use $position
Member print_fiche_titre ($title, $mesg='', $picto='generic', $pictoisfullpath=0, $id='')
Use print load_fiche_titre instead
Member print_titre ($title)
Use load_fiche_titre instead
Member Product::setPriceExpression ($expression_id)
Use Product::update instead
Member Propal::availability ($availability_id, $notrigger=0)
use set_availability
Member Propal::demand_reason ($demand_reason_id, $notrigger=0)
use set_demand_reason
Member Propal::set_date_livraison ($user, $delivery_date, $notrigger=0)
Use setDeliveryDate
Member ref

Use $ref_customer

Use $ref_customer

Member Salary::set_paid ($user)
Use setPaid()
Member Societe::set_as_client ()
Use setAsCustomer() instead
Member status

Use $status

Use $status

use status

Member Stripe::createPaymentStripe ($amount, $currency, $origin, $item, $source, $customer, $account, $status=0, $usethirdpartyemailforreceiptemail=0, $capture=true)
Member SupplierProposal::set_date_livraison ($user, $delivery_date)
Use setDeliveryDate
Member Translate::getCurrencyAmount ($currency_code, $amount)
Use method price to output a price
Member type
Member User::getrights ($moduletag='', $forcereload=0)
Use loadRights
Member UserGroup::getrights ($moduletag='')
TODO Remove this method. It has a name conflict with getRights() in CommonObject and was replaced in v20 with loadRights()
Member vCard::setLabel ($postoffice="", $extended="", $street="", $city="", $region="", $zip="", $country="", $type="HOME")